PageSourceSearch

https://www.staplesadvantage.com/ele-lpd/_next/static/chunks/3200-a2c61abcd4a4cdd5.js

js staplesadvantage.com collected 2026-10-02 17:07:17 UTC 809,413 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3200,4721],{51068:function(n){var e=1;function t(n){var e=[];for(var t in n)e.push(encodeURIComponent(t)+"="+encodeURIComponent(n[t]));return e.join("&")}n.exports=function(n){return new Promise(function(r,o){var i=document.createElement("script"),a=n.url;if(n.params){var s=t(n.params);s&&(a+=(a.indexOf("?")>=0?"&":"?")+s)}function l(){i&&(i.onload=i.onreadystatechange=i.onerror=null,i.parentNode&&i.parentNode.removeChild(i),i=null)}i.async=!0;var c="axiosJsonpCallback"+e++,u=window[c],p=!1;window[c]=function(n){window[c]=u,p||r({data:n,status:200})};var d={_:new Date().getTime()};d[n.callbackParamName||"callback"]=c,a+=(a.indexOf("?")>=0?"&":"?")+t(d),i.onload=i.onreadystatechange=function(){(!i.readyState||/loaded|complete/.test(i.readyState))&&l()},i.onerror=function(){l(),o(Error("Network Error"))},n.cancelToken&&n.cancelToken.promise.then(function(n){i&&(p=!0,o(n))}),i.src=a,document.head.appendChild(i)})}},63012:function(n,e,t){var r=t(97786),o=t(10611),i=t(71811);n.exports=function(n,e,t){for(var a=-1,s=e.length,l={};++a<s;){var c=e[a],u=r(n,c);t(u,c)&&o(l,i(c,n),u)}return l}},10107:function(n){n.exports=function(n,e,t,r,o){return o(n,function(n,o,i){t=r?(r=!1,n):e(t,n,o,i)}),t}},47415:function(n,e,t){var r=t(29932);n.exports=function(n,e){return r(e,function(e){return n[e]})}},5512:function(n,e,t){var r=t(42118);n.exports=function(n,e){for(var t=n.length;t--&&r(e,n[t],0)>-1;);return t}},89817:function(n,e,t){var r=t(42118);n.exports=function(n,e){for(var t=-1,o=n.length;++t<o&&r(e,n[t],0)>-1;);return t}},94654:function(n,e,t){var r=t(21078),o=t(35161);n.exports=function(n,e){return r(o(n,e),1)}},64721:function(n,e,t){var r=t(42118),o=t(98612),i=t(47037),a=t(40554),s=t(52628),l=Math.max;n.exports=function(n,e,t,c){n=o(n)?n:s(n),t=t&&!c?a(t):0;var u=n.length;return t<0&&(t=l(u+t,0)),i(n)?t<=u&&n.indexOf(e,t)>-1:!!u&&r(n,e,t)>-1}},3651:function(n,e,t){var r=t(42118),o=t(40554),i=Math.max;n.exports=function(n,e,t){var a=null==n?0:n.length;if(!a)return -1;var s=null==t?0:o(t);return s<0&&(s=i(a+s,0)),r(n,e,s)}},35937:function(n,e,t){var r=t(29932),o=t(67206),i=t(63012),a=t(46904);n.exports=function(n,e){if(null==n)return{};var t=r(a(n),function(n){return[n]});return e=o(e),i(n,t,function(n,t){return e(n,t[0])})}},54061:function(n,e,t){var r=t(62663),o=t(89881),i=t(67206),a=t(10107),s=t(1469);n.exports=function(n,e,t){var l=s(n)?r:a,c=arguments.length<3;return l(n,i(e,4),t,c,o)}},92742:function(n,e,t){var r=t(80531),o=t(27561),i=t(40180),a=t(5512),s=t(89817),l=t(83140),c=t(79833);n.exports=function(n,e,t){if((n=c(n))&&(t||void 0===e))return o(n);if(!n||!(e=r(e)))return n;var u=l(n),p=l(e),d=s(u,p),f=a(u,p)+1;return i(u,d,f).join("")}},52628:function(n,e,t){var r=t(47415),o=t(3674);n.exports=function(n){return null==n?[]:r(n,o(n))}},42221:function(n,e,t){"use strict";t.r(e),e.default={image:"Image-module__image"}},61834:function(n,e,t){"use strict";t.d(e,{y:function(){return a}}),t(85893);var r=t(67294),o=t(45697),i=t.n(o);let a=r.createContext();i().bool,i().any},87651:function(n,e,t){"use strict";var r=t(85893),o=t(67294),i=t(45697),a=t.n(i),s=t(61834);let l=n=>{let[e,t]=(0,o.useState)(!1),i=(0,o.useRef)(null),a=(0,o.useRef)(null),l=(0,o.useContext)(s.y),c=l&&l.isBot,{useContentVisibility:u,placeholderHeight:p,placeholder:d=null,children:f,onloadDelayMs:m,observerConf:g,...h}=n,b=()=>{a.current&&a.current.disconnect&&(a.current.disconnect(),a.current=null)};return(0,o.useEffect)(()=>{let n=null;return e||(n=setTimeout(()=>{"undefined"!=typeof IntersectionObserver?(a.current=new IntersectionObserver(n=>{n.forEach(n=>{let{isIntersecting:e,intersectionRatio:r}=n;(e||r>0)&&t(!0)})},g),a.current&&a.current.observe&&i.current&&a.current.observe(i.current)):t(!0)},m)),()=>clearTimeout(n)},[]),(0,o.useEffect)(()=>{e&&b()},[e]),(0,r.jsx)("div",{id:"observer-id-temp",style:{display:"block",minHeight:e||c?void 0:p,contentVisibility:u&&!c?e?"visible":"hidden":void 0},ref:i,...h,children:u||c?f:e?f:d})};l.contextType=s.y,l.defaultProps={children:{},onloadDelayMs:0,placeholder:null,placeholderHeight:0,observerConf:{root:null,rootMargin:"0px 0px 50px 0px"},useContentVisibility:!1},l.propTypes={children:a().any,placeholder:a().node,placeholderHeight:a().number,onloadDelayMs:a().number,observerConf:a().object,useContentVisibility:a().bool},e.Z=l},42916:function(n,e,t){"use strict";t.r(e),e.default=n=>{if("complete"!==document.readyState){let e=t=>{n(),t.currentTarget.removeEventListener(t.type,e)};window.addEventListener("load",e)}else n()}},16064:function(n,e,t){"use strict";t.r(e),t.d(e,{postMessageEventsToMobileApp:function(){return a},triggerCustomEvent:function(){return i}});var r=t(27361),o=t.n(r);let i=function(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=new CustomEvent(n,{bubble:!0,cancelable:!0,detail:e});window.dispatchEvent(t)},a=function(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};
1try{let t=o()(window,"navigator.userAgent",""),r={message:n,data:e};if(t.indexOf("staples_somni_ios_app")>-1&&window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.somniapp)window.webkit.messageHandlers.somniapp.postMessage(r);else{let{hostname:n,port:e,protocol:t}=window.location;if(window.parent&&n.endsWith("staples.com")){let o="".concat(t,"//").concat("app",".").concat(n).concat(e?":".concat(e):"");window.parent.postMessage(r,o)}}}catch(n){console.debug("Unable to postMessage about navigation or page change")}};e.default=i},3200:function(n,e,t){"use strict";t.d(e,{Z:function(){return nd}});var r=t(85893),o=t(67294),i=t(45697),a=t.n(i),s=t(27361),l=t.n(s),c=t(41609),u=t.n(c),p=t(2664),d=t(89531),f=t(42847),m=t(38999),g=t(77399),h=t(42916),b=t(16064);let x=n=>{let{consumer:e,breakpoint:t,adobeAnalyticsPayload:i,CISdata:a,userInfo:s,JWT:l,renderedTopHat:c,contextVariables:p,fullfillmentCenter:m,visitorDetails:g,newHeader:x}=n,[y,w]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let n=p.hyphenatedLocale||"",r=p.currency||"",o=g.email||"",f=g.directCustomerNumber||"",y=l&&l.keepMeSignIn||!1,S=l&&l.firstTimeLogin||!1,C=l&&l.isLoginSucess||!1,I=l&&l.isMobileAPP||!1;d.Z.visit({locale:n,currency:r,dcn:f,customerEmail:o,isMobileApp:I,newHeader:x,...p,JWT:l,userInfo:s,CISdata:a,tophatData:c,consumer:e,adobeAnalyticsPayload:i,breakpoint:t,fullfillmentCenter:m,keepMeSignIn:y,firstTimeLogin:S,isLoginSucess:C}),(0,b.default)("STAPLES_DLO_LOADED"),(0,h.default)(()=>{d.Z.getAnalyticsServiceInstance({...p,JWT:l,userInfo:s,CISdata:a,tophatData:c,consumer:e,adobeAnalyticsPayload:i,breakpoint:t,fullfillmentCenter:m}).then(n=>{d.Z.updateExperienceType(),i&&!u()(i)&&(p&&p.isSBA&&Array.isArray(i)&&i.length>0?i.forEach(e=>{e&&!u()(e)&&e.displayProposition&&!u()(e.displayProposition)&&n.invokeAdapter({methodType:"reportMbox",model:{type:"MBOX",payload:i,displayProposition:e.displayProposition||{}}})}):n.invokeAdapter({methodType:"reportMbox",model:{type:"MBOX",payload:i}})),n.headerObjectLoaded(),w(!0)})})},[]),(0,o.useEffect)(()=>{y&&!u()(c)&&d.Z.populateTophatDLO(c,t)},[c,t,y]),(0,r.jsx)(o.Fragment,{children:p.isSBA?null:(0,r.jsx)("input",{type:"hidden",id:"sparxToken",value:"".concat((0,f.getCookie)("EDDIE_CUSTOMER_TOKEN"))})})};var y=(0,p.connect)((n,e)=>({contextVariables:(0,m.gg)(n),fullfillmentCenter:(0,m.kq)(n),JWT:(0,m.fn)(n),loggedIn:(0,m.v9)(n),userInfo:(0,m.bG)(n),channelType:l()(n,"headerState.JWT.routeType",""),webToggleList:(0,g.s1)(n),CISdata:e.CISData||(0,m.o1)(n),consumer:(0,m.S4)(n),breakpoint:(0,g.tU)(n),adobeAnalyticsPayload:(0,m.UB)(n),renderedTopHat:(0,m.U3)(n),visitorDetails:(0,m.Vb)(n),newHeader:(0,m._6)(n)}),null)(x);x.defaultProps={adobeAnalyticsPayload:[],breakpoint:"",CISdata:{},consumer:{},contextVariables:{hyphenatedLocale:"",currency:"",isSBA:!1},fullfillmentCenter:"",JWT:{},newHeader:!1,renderedTopHat:[],userInfo:{},visitorDetails:{directCustomerNumber:"",email:""}},x.propTypes={adobeAnalyticsPayload:a().array,breakpoint:a().string,CISdata:a().object,consumer:a().object,contextVariables:{hyphenatedLocale:a().string,currency:a().string,isSBA:a().bool},fullfillmentCenter:a().string,JWT:a().object,newHeader:a().bool,renderedTopHat:a().array,userInfo:a().object,visitorDetails:{directCustomerNumber:a().string,email:a().string}};var w=t(23566),S=t(35161),C=t.n(S),I=t(87465),v=t(8823),T=t(37340),_=t(19521),O=t(8462),D=t(27896),E=t(94511);function A(){let n=(0,T._)(["\n    display: inline-flex;\n    margin-left: 0.2rem;\n    .topText {\n      font-size: 12px;\n    }\n    &:first-child, &:last-child {\n      margin-left: 0;\n    }\n"]);return A=function(){return n},n}function L(){let n=(0,T._)(["\n  color: ",";\n  font-family: ",";\n  font-size: 12px;\n  font-weight: 300;\n  letter-spacing: 0;\n  line-height: 20px;\n  border-top: 1px solid rgb(221, 221, 221);\n  text-align: center;\n  padding: 32px 0;\n  @media all and (min-width: ","px) and (max-width: ","px) {\n    padding-bottom: 25px;\n  }\n  @media all and (max-width: ","px) {\n    padding: 25px 16px 24px 16px;\n  }\n  ","\n"]);return L=function(){return n},n}function M(){let n=(0,T._)(["\n  height: 10px;\n  display: block;\n  background: #F1F8FF;\n"]);return M=function(){return n},n}function k(){let n=(0,T._)(["\n  padding: 0 4px;\n  overflow-x: hidden; \n  .bottomrightspace {\n    display: inline-block;\n    font-size: 12px;\n  }\n  .sectionFourFooterFeedback {\n    display: inline-block;\n    color: "," !important;\n    font-family: ",";\n    font-size: 12px !important;\n    a {\n      color: "," !important;\n      font-family: ",";\n      font-size: 12px;\n    }\n}\n"]);return k=function(){return n},n}function R(){let n=(0,T._)(["\n  border-right: 1px solid ",";\n  margin: 3px 6px;\n  &:last-of-type {\n    border: none;\n  }\n"]);return R=function(){return n},n}let P=_.default.div.withConfig({componentId:"sc-7272eaf6-0"})(A()),N=_.default.div.withConfig({componentId:"sc-7272eaf6-1"})(L(),D.colors.black,E.typography.type.motiva_light,O.BREAKPOINTS.sm+1,O.BREAKPOINTS.md,O.BREAKPOINTS.sm,n=>{if(n.sectionOrCopyFooter)return"\n        border-top: none;\n      "}),B=_.default.span.withConfig({componentId:"sc-7272eaf6-2"})(M()),j=_.default.nav.withConfig({componentId:"sc-7272eaf6-3"})(k(),D.colors.black,E.typography.type.motiva_light,D.colors.black,E.typography.type.motiva_light),H=_.default.span.withConfig({componentId:"sc-7272eaf6-4"})(R(),D.colors.black),F=n=>{let{segmentCode:e,accountInfo:t,siteVariables:i,routeDetails:a,breakpoint:s,footerData:c,copyRightFooter:p,openHeaderLogin:f,toggleMarketoDrawer:m,domain:g}=n,h=l()(c,"section4",[]),b=l()(c,"section3",[]),x=l()(c,"section2",[]),y=(n,e)=>{let{navTextData:t}=e;if(void 0!==n&&n.stopPropagation&&n.stopPropagation(),!u()(t)){let n=(0,v.zy)(t)||l()(t,"headliner[0].headlinertext","")||l()(t,"ariaLabel","");d.Z.invokeAdapter({methodType:"navTrack",model:{type:"FOOTER",value:[n]}})}},S=(n,e,t)=>{if(n.stopPropagation(),e){let{destinationURL:r,destinationReplaceURL:o}=e,[{actionType:i}]=(0,v.v2)(e),a=I.Qoz[i];if("FEEDBACK"===a){(0,v.Tp)("ft_s4_feedback_Qualtrics",n);return}("LOGIN"===a||"LOGIN"===t)&&f?f({openDrawer:!0,destinationURL:o||r,isCreateAccount:!1}):("MARKETO"===a||"MARKETO"===t)&&m?m(!0):"AD-CHOICES"===a?(0,v.mD)(n):"TRUST-ARC"===a&&(0,v.IK)(n)}},T=l=>{let c=[];return l.length>0&&C()(l,(l,u)=>{let[{actionType:p}]=(0,v.v2)(l),d=I.Qoz[p];(0,v.Z1)({item:l,userData:{...a,...t},siteVariables:i,segmentCode:e,domain:g,breakpoint:s})&&c.push((0,r.jsxs)(o.Fragment,{children:[(0,r.jsx)(w.Z,{actionTypeHandler:S,...n,id:"ft_s4_".concat((0,v.FE)(l)),isIdNeeded:!0,parentclassStyle:"FEEDBACK"===d?"sectionFourFooterFeedback":"bottomrightspace",isPermissionLimitCheckedAtParent:!0,dispatchAnalytics:y,navTextData:l},"footersection4".concat(u)),(0,r.jsx)(H,{})]},u))}),c},_=(0,o.useMemo)(()=>{let c=[];return u()(h)||C()(h,(u,p)=>
1{if((0,v.Z1)({item:u,userData:{...a,...t},siteVariables:i,segmentCode:e,domain:g,breakpoint:s})){let e=l()(u,"navigationTextSubOption[0].navigationTextSubOptionItems",[]),t=T(e);c.push((0,r.jsxs)(o.Fragment,{children:[l()(u,"headliner",[]).length>0?(0,r.jsx)(P,{children:(0,o.createElement)(w.Z,{...n,id:"ft_s4_".concat((0,v.FE)(u)),key:p,parentclassStyle:"topText",isPermissionLimitCheckedAtParent:!0,dispatchAnalytics:y,navTextData:u})}):null,t.length>0?(0,r.jsx)(j,{"aria-label":"footer",children:t}):null]}))}}),c},[h,g]);return u()(_)?null:(0,r.jsxs)(o.Fragment,{children:[p?(0,r.jsx)(B,{}):null,p||u()(x)&&u()(b)?(0,r.jsx)(N,{sectionOrCopyFooter:p||u()(x)&&u()(b),children:_}):(0,r.jsx)(N,{children:_})]})};F.defaultProps={accountInfo:{},breakpoint:"lg",copyRightFooter:!1,domain:"",footerData:{},openHeaderLogin:()=>{},routeDetails:{},section1:{},segmentCode:"",siteVariables:{},toggleMarketoDrawer:()=>{}},F.propTypes={accountInfo:a().object,breakpoint:a().string,copyRightFooter:a().bool,domain:a().string,footerData:a().object,openHeaderLogin:a().func,routeDetails:a().object,section1:a().object,segmentCode:a().string,siteVariables:a().object,toggleMarketoDrawer:a().func};var U=t(87651),W=t(65958),z=t(24187);function Y(){let n=(0,T._)(["\n  display: flex;\n  align-content: center;\n  justify-content: center;\n"]);return Y=function(){return n},n}function K(){let n=(0,T._)(["\n  ","\n  background: ",";\n  color: ",";\n  z-index: 2;\n  height: 44px;\n  width: 100%;\n  bottom: 0px;\n  position: fixed;\n  align-items: center;\n  animation: openFromBottom 1s !important;\n  animation-timing-function: ease-in;\n  outline: none !important;\n"]);return K=function(){return n},n}function $(){let n=(0,T._)(["\n  ","\n  align-self: center;\n  flex-direction: row;\n"]);return $=function(){return n},n}function G(){let n=(0,T._)(["\n  ","\n  align-self: center;\n  padding-right: 11px;\n"]);return G=function(){return n},n}function V(){let n=(0,T._)(["\n  ","\n  color: ",";\n  font-family: ",";\n  font-weight: 700;\n  font-size: 14px;\n  line-height: 20px;\n  align-self: center;\n"]);return V=function(){return n},n}let Q=(0,_.css)(Y()),q=_.default.div.withConfig({componentId:"sc-491bd462-0"})(K(),Q,D.colors.staples_blue,D.colors.black),Z=_.default.div.withConfig({componentId:"sc-491bd462-1"})($(),Q),J=_.default.div.withConfig({componentId:"sc-491bd462-2"})(G(),Q),X=_.default.div.withConfig({componentId:"sc-491bd462-3"})(V(),Q,D.colors.black,E.typography.type.motiva),nn=()=>(0,r.jsxs)(o.Fragment,{children:[(0,r.jsx)("div",{role:"alert","aria-label":"Customer service impersonate mode, to exit, sign out",style:{paddingBottom:"45px"}}),(0,r.jsx)(q,{children:(0,r.jsxs)(Z,{children:[(0,r.jsx)(J,{children:(0,r.jsx)(z.Icon,{name:"warning-triangle",size:20,color:"black"})}),(0,r.jsx)(X,{children:"CSR Impersonate mode"})]})})]});nn.defaultProps={accountInfo:{},breakpoint:"lg",mainLogo:{},routeDetails:{},segmentCode:"",siteVariables:{},userInfo:{}},nn.propTypes={accountInfo:a().object,breakpoint:a().string,routeDetails:a().object,segmentCode:a().string,siteVariables:a().object,userInfo:a().object};var ne=t(5152),nt=t.n(ne);let nr=nt()(()=>Promise.all([t.e(1188),t.e(5333),t.e(4253)]).then(t.bind(t,73354)),{loadableGenerated:{webpack:()=>[73354]}}),no=n=>{let{accountInfo:e,breakpoint:t,csrUserId:i,dispatchRequiredCookiesModal:a}=n,{isLoggedIn:s,isOmniMobileApp:l}=e,c=n=>{a(n)};return l?null:(0,r.jsxs)(o.Fragment,{children:[(0,r.jsx)(U.Z,{placeholderHeight:640,children:(0,r.jsx)(nr,{...n,setRequiredCookieModalOptions:c})}),(0,r.jsx)(F,{...n,setRequiredCookieModalOptions:c}),s&&("lg"===t||"md"===t)&&i?(0,r.jsx)(nn,{}):null]})};var ni=(0,p.connect)(n=>({footerData:(0,m.tX)(n),sectionThreeItems:(0,m.Ig)(n),mainLogo:(0,m.oQ)(n),siteVariables:(0,m.gg)(n),routeDetails:(0,m.Iq)(n),breakpoint:(0,g.tU)(n),accountInfo:(0,g.fn)(n),segmentCode:(0,g.tv)(n),getopenSections:(0,m.h6)(n),customerNo:(0,g.Yp)(n),userInfo:(0,m.bG)(n),csrUserId:(0,g.R3)(n),routePrefix:(0,m.Y6)(n)}),n=>({openHeaderLogin:e=>{n((0,W.openHeaderLogin)(e))},toggleMarketoDrawer:e=>{n((0,W.openMarketoDrawer)(e))},dispatchRequiredCookiesModal:e=>{n((0,W.setRequiredCookiesModalOptions)(e))}}))(no);no.defaultProps={accountInfo:{},breakpoint:"lg",csrUserId:"",dispatchRequiredCookiesModal:()=>{},isLoggedIn:!1,isOmniMobileApp:!1,routePrefix:"/ele-lpd",sectionThreeItems:{},siteVariables:{}},no.propTypes={accountInfo:a().object,breakpoint:a().string,csrUserId:a().string,dispatchRequiredCookiesModal:a().func,isLoggedIn:a().bool,isOmniMobileApp:a().bool,routePrefix:a().string,
1sectionThreeItems:a().object,siteVariables:a().object};let na=n=>{let{type:e,page:t,domain:o}=n;return(0,r.jsxs)("div",{id:"footerContainer",role:"contentinfo",style:{clear:"both"},children:[(0,r.jsx)("div",{id:"skippedFooterLink"}),(0,r.jsx)(ni,{type:e,page:t,domain:o}),(0,r.jsx)(y,{})]})};na.defaultProps={domain:"",page:{},type:{}},na.propTypes={domain:a().string,page:a().object,type:a().object};var ns=t(35953);let nl={position:"relative",height:"50px",width:"50px",border:"7px solid #000",borderRadius:"50%",borderTop:"7px solid #f3f3f3",animation:"page-spinner 2s linear infinite",minHeight:"50px",minWidth:"50px"},nc={height:"calc(100vh - 160px)",padding:"200px 0",margin:"auto",display:"flex",justifyContent:"center"};var nu=()=>(0,r.jsxs)("div",{style:nc,children:[(0,r.jsx)("style",{children:"\n      /* Safari */\n      @-webkit-keyframes page-spinner {\n        0% { -webkit-transform: rotate(0deg); }\n        100% { -webkit-transform: rotate(360deg); }\n      }\n\n      @keyframes page-spinner {\n        0% { transform: rotate(0deg); }\n        100% { transform: rotate(360deg); }\n      }\n    "}),(0,r.jsx)("div",{style:nl})]});let np=n=>{let{children:e,isLogoOnlyHeader:t,disableSticky:o,spaLoading:i}=n;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ns.Z,{...t&&{type:"logo_only_clickable"},disableSticky:o}),i?(0,r.jsx)(nu,{}):(0,r.jsx)(r.Fragment,{children:e}),(0,r.jsx)(na,{})]})};np.defaultProps={children:null,isLogoOnlyHeader:!1,disableSticky:!1,spaLoading:!1},np.propTypes={children:a().node,isLogoOnlyHeader:a().bool,disableSticky:a().bool,spaLoading:a().bool};var nd=np},63670:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return R}});var r={};t.r(r),t.d(r,{exclude:function(){return L},extract:function(){return T},parse:function(){return _},parseUrl:function(){return D},pick:function(){return A},stringify:function(){return O},stringifyUrl:function(){return E}});var o=t(85893),i=t(67294),a=t(41664),s=t.n(a),l=t(45697),c=t.n(l),u=t(40360),p=t(11987);let d=RegExp("(%[a-f0-9]{2})+","gi"),f=/^[a-f\d]{2}$/i;function m(n,e){if(37!==n.codePointAt(e)||e+3>n.length)return;let t=n.slice(e+1,e+3);if(f.test(t))return{byte:Number.parseInt(t,16),next:e+3}}function g(n,e){if(!("string"==typeof n&&"string"==typeof e))throw TypeError("Expected the arguments to be of type `string`");if(""===n||""===e)return[];let t=n.indexOf(e);return -1===t?[]:[n.slice(0,t),n.slice(t+e.length)]}let h=n=>null==n,b=n=>encodeURIComponent(n).replaceAll(/[!'()*]/g,n=>"%".concat(n.charCodeAt(0).toString(16).toUpperCase())),x=Symbol("encodeFragmentIdentifier");function y(n){if("string"!=typeof n||1!==n.length)throw TypeError("arrayFormatSeparator must be single character string")}function w(n,e){return e.encode?e.strict?b(n):encodeURIComponent(n):n}function S(n,e){return e.decode?function(n){if("string"!=typeof n)throw TypeError(`Expected \`encodedURI\` to be of type \`string\`, got \`${typeof n}\``);try{return decodeURIComponent(n)}catch{return function(n){let e={"%FE%FF":"��","%FF%FE":"��"},t=d.exec(n);for(;t;){try{e[t[0]]=decodeURIComponent(t[0])}catch{let n=function(n){try{return decodeURIComponent(n)}catch{let r="",o=0;for(;o<n.length;){var e,t;if(37!==n.codePointAt(o)){r+=n.charAt(o),o++;continue}let i=m(n,o);if(!i){r+=n.charAt(o),o++;continue}let a=(e=i.byte)<=127?1:e>=194&&e<=223?2:e>=224&&e<=239?3:e>=240&&e<=244?4:0;if(0===a){r+=n.slice(o,o+3),o+=3;continue}let s=i.next,l=!0;for(let e=1;e<a;e++){let e=m(n,s);if(!e||!((t=e.byte)>=128&&t<=191)){l=!1;break}s=e.next}if(l){let e=n.slice(o,s);try{r+=decodeURIComponent(e),o=s;continue}catch{}}r+=n.slice(o,o+3),o+=3}return r}}(t[0]);n!==t[0]&&(e[t[0]]=n)}t=d.exec(n)}e["%C2"]="�";let r=Object.keys(e);for(let t of r)n=n.replace(RegExp(t,"g"),e[t]);return n}(n)}}(n):n}function C(n){let e=n.indexOf("#");return -1!==e&&(n=n.slice(0,e)),n}function I(n){let e=n.indexOf("?");return -1===e?n:n.slice(0,e)}function v(n,e,t){return"string"===t&&"string"==typeof n?n:"function"==typeof t&&"string"==typeof n?t(n):"boolean"===t&&null===n||("boolean"===t&&null!==n&&("true"===n.toLowerCase()||"false"===n.toLowerCase())?"true"===n.toLowerCase():"boolean"===t&&null!==n&&("1"===n.toLowerCase()||"0"===n.toLowerCase())?"1"===n.toLowerCase():"string[]"===t&&"none"!==e.arrayFormat&&"string"==typeof n?[n]:"number[]"!==t||"none"===e.arrayFormat||Number.isNaN(Number(n))||"string"!=typeof n||""===n.trim()?"number"!==t||Number.isNaN(Number(n))||"string"!=typeof n||""===n.trim()?e.parseBooleans&&null!==n&&("true"===n.toLowerCase()||"false"===n.toLowerCase())?"true"===n.toLowerCase():e.parseNumbers&&!Number.isNaN(Number(n))&&"string"==typeof n&&""!==n.trim()?Number(n):n:Number(n):[Number(n)])}function T(n){n=C(n);let e=n.indexOf("?");return -1===e?"":n.slice(e+1)}function _(n,e){y((e={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,types:Object.create(null),...e}).arrayFormatSeparator);let t=function(n){let e;switch(n.arrayFormat){case"index":return(n,t,r)=>{if(e=/\[(\d*)]$/.exec(n),n=n.replace(/\[\d*]$/,""),!e){r[n]=t;return}void 0===r[n]&&(r[n]={}),r[n][e[1]]=t};case"bracket":return(n,t,r)=>{if(e=/(\[])$/.exec(n),n=n.replace(/\[]$/,""),!e){r[n]=t;return}if(void 0===r[n]){r[n]=[t];return}if(!Array.isArray(r[n])){r[n]=[r[n],t];return}r[n].push(t)};case"colon-list-separator":return(n,t,r)=>{if(e=/(:list)$/.exec(n),n=n.replace(/:list$/,""),!e){r[n]=t;return}if(void 0===r[n]){r[n]=[t];return}if(!Array.isArray(r[n])){r[n]=[r[n],t];return}r[n].push(t)};case"comma":case"separator":return(e,t,r)=>{let o="string"==typeof t&&t.includes(n.arrayFormatSeparator),i=o?t.split(n.arrayFormatSeparator).map(e=>S(e,n)):null===t?t:S(t,n);r[e]=i};case"bracket-separator":return(e,t,r)=>{let o=/(\[])$/.test(e);
1if(e=e.replace(/\[]$/,""),!o){r[e]=t?S(t,n):t;return}let i=null===t?[]:S(t,n).split(n.arrayFormatSeparator);if(void 0===r[e]){r[e]=i;return}for(let n of(Array.isArray(r[e])||(r[e]=[r[e]]),i))r[e].push(n)};default:return(n,e,t)=>{if(void 0===t[n]){t[n]=e;return}if(Array.isArray(t[n])){t[n].push(e);return}t[n]=[t[n],e]}}}(e),r=Object.create(null);if("string"!=typeof n||!(n=n.trim().replace(/^[?#&]/,""))||/^&+$/.test(n))return r;let o=0,i=n.indexOf("&");-1===i&&(i=n.length);for(let a=i;a<=n.length;a++){if(a<n.length&&"&"!==n[a])continue;if(a===o){o=a+1;continue}let i=n.slice(o,a),s=e.decode?i.replaceAll("+"," "):i,[l,c]=g(s,"=");void 0===l&&(l=s),c=void 0===c?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?c:S(c,e),t(S(l,e),c,r),o=a+1}for(let[n,t]of Object.entries(r))if("object"==typeof t&&null!==t&&"string"!==e.types[n])for(let[r,o]of Object.entries(t)){let i=e.types[n],a="function"==typeof i?i:i?i.replace("[]",""):void 0;t[r]=v(o,e,a)}else"object"==typeof t&&null!==t&&"string"===e.types[n]?r[n]=Object.values(t).join(e.arrayFormatSeparator):r[n]=v(t,e,e.types[n]);return!1===e.sort?r:(!0===e.sort?Object.keys(r).sort():Object.keys(r).sort(e.sort)).reduce((n,e)=>{let t=r[e];return n[e]=t&&"object"==typeof t&&!Array.isArray(t)?function n(e){return Array.isArray(e)?e.sort():"object"==typeof e?n(Object.keys(e)).sort((n,e)=>Number(n)-Number(e)).map(n=>e[n]):e}(t):t,n},Object.create(null))}function O(n,e){if(!n)return"";y((e={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...e}).arrayFormatSeparator);let t=t=>e.skipNull&&h(n[t])||e.skipEmptyString&&""===n[t],r=function(n){switch(n.arrayFormat){case"index":return e=>(t,r)=>{let o=t.length;return void 0===r||n.skipNull&&null===r||n.skipEmptyString&&""===r||(null===r?t.push([w(e,n),"[",o,"]"].join("")):t.push([w(e,n),"[",w(o,n),"]=",w(r,n)].join(""))),t};case"bracket":return e=>(t,r)=>(void 0===r||n.skipNull&&null===r||n.skipEmptyString&&""===r||(null===r?t.push([w(e,n),"[]"].join("")):t.push([w(e,n),"[]=",w(r,n)].join(""))),t);case"colon-list-separator":return e=>(t,r)=>(void 0===r||n.skipNull&&null===r||n.skipEmptyString&&""===r||(null===r?t.push([w(e,n),":list="].join("")):t.push([w(e,n),":list=",w(r,n)].join(""))),t);case"comma":case"separator":case"bracket-separator":{let e="bracket-separator"===n.arrayFormat?"[]=":"=";return t=>(r,o)=>(void 0===o||n.skipNull&&null===o||n.skipEmptyString&&""===o||((o=null===o?"":o,0===r.length)?r.push([w(t,n),e,w(o,n)].join("")):r.push(w(o,n))),r)}default:return e=>(t,r)=>(void 0===r||n.skipNull&&null===r||n.skipEmptyString&&""===r||(null===r?t.push(w(e,n)):t.push([w(e,n),"=",w(r,n)].join(""))),t)}}(e),o={};for(let[e,r]of Object.entries(n))t(e)||(o[e]=r);let i=Object.keys(o);return!1!==e.sort&&i.sort(e.sort),i.map(t=>{let o=n[t];if(e.replacer&&void 0===(o=e.replacer(t,o))||void 0===o)return"";if(null===o)return w(t,e);if(Array.isArray(o)){if(0===o.length&&"bracket-separator"===e.arrayFormat)return w(t,e)+"[]";let n=o;e.replacer&&(n=o.map((n,r)=>e.replacer("".concat(t,"[").concat(r,"]"),n)).filter(n=>void 0!==n));let i=n.reduce(r(t),[]),a=["comma","separator","bracket-separator"].includes(e.arrayFormat)?e.arrayFormatSeparator:"&";return i.join(a)}return w(t,e)+"="+w(o,e)}).filter(n=>n.length>0).join("&")}function D(n,e){e={decode:!0,...e};let[t,r]=g(n,"#");return void 0===t&&(t=n),{url:I(null!=t?t:""),query:_(T(n),e),...e&&e.parseFragmentIdentifier&&r?{fragmentIdentifier:S(r,e)}:{}}}function E(n,e){e={encode:!0,strict:!0,[x]:!0,...e};let t=I(C(n.url))||"",r=T(n.url),o={..._(r,{sort:!1,...e}),...n.query},i=O(o,e);i&&(i="?".concat(i));let a=function(n){let e="",t=n.indexOf("#");return -1!==t&&(e=n.slice(t)),e}(n.url);if("string"==typeof n.fragmentIdentifier&&(a="#".concat(n.fragmentIdentifier),e[x])){let n=new URL("https://query-string.invalid");n.hash=a,a=n.hash}return"".concat(t).concat(i).concat(a)}function A(n,e,t){t={parseFragmentIdentifier:!0,[x]:!1,...t};let{url:r,query:o,fragmentIdentifier:i}=D(n,t);return E({url:r,query:function(n,e){let t={};if(Array.isArray(e))for(let r of e){let e=Object.getOwnPropertyDescriptor(n,r);e?.enumerable&&Object.defineProperty(t,r,e)}else for(let r of Reflect.ownKeys(n)){let o=Object.getOwnPropertyDescriptor(n,r);if(o.enumerable){let i=n[r];e(r,i,n)&&Object.defineProperty(t,r,o)}}return t}(o,e),fragmentIdentifier:i},t)}function L(n,e,t){if(Array.isArray(e)){let r=new Set(e);return A(n,n=>!r.has(n),t)}return A(n,(n,t)=>!e(n,t),t)}let M=n=>{let{pathname:e}=n?(0,p.parse)(n):{};return!!e&&e.indexOf("/stores")>=0},k=n=>{let{href:e,...t}=n,a=(0,i.useContext)(u.D),l=(0,i.useMemo)(()=>{let{tenantId:n,referrerPath:t}=a,o="sdc"===n?"jumpUrl":"TARGET";if(e){let n=RegExp(/((\/idm\/?$)|((\/idm\/tpsLogin\/?)$)|((\/account\/bc\/?)$))/,"g"),{pathname:i}=(0,p.parse)(e),{pathname:a}=(0,p.parse)(t);if("/"!==a&&n.test(i)){let[,n=""]=e.split("?");if(n){let i=r.parse(n);if(!i[o])return"".concat(e,"&").concat(o,"=").concat(encodeURIComponent(t))}return"".concat(e,"?").concat(o,"=").concat(encodeURIComponent(t))}}return e},[e,a]);return!l||M(l)?(0,o.jsx)("a",{...t,href:l}):(0,o.jsx)(s(),{...t,href:l})};k.defaultProps={href:""},k.propTypes={href:c().string};var R=k},13991:function(n,e){"use strict";var t,r;
1Object.defineProperty(e,"__esModule",{value:!0}),function(n,e){for(var t in e)Object.defineProperty(n,t,{enumerable:!0,get:e[t]})}(e,{PrefetchKind:function(){return t},ACTION_REFRESH:function(){return o},ACTION_NAVIGATE:function(){return i},ACTION_RESTORE:function(){return a},ACTION_SERVER_PATCH:function(){return s},ACTION_PREFETCH:function(){return l},ACTION_FAST_REFRESH:function(){return c},ACTION_SERVER_ACTION:function(){return u}});let o="refresh",i="navigate",a="restore",s="server-patch",l="prefetch",c="fast-refresh",u="server-action";(r=t||(t={})).AUTO="auto",r.FULL="full",r.TEMPORARY="temporary",("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),n.exports=e.default)},81516:function(n,e,t){"use strict";function r(n,e,t,r){return!1}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getDomainLocale",{enumerable:!0,get:function(){return r}}),t(82387),("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),n.exports=e.default)},95569:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return w}});let r=t(10260),o=r._(t(67294)),i=t(14532),a=t(83353),s=t(61410),l=t(79064),c=t(370),u=t(69955),p=t(24224),d=t(80508),f=t(81516),m=t(64266),g=t(13991),h=new Set;function b(n,e,t,r,o,i){if(!i&&!(0,a.isLocalURL)(e))return;if(!r.bypassPrefetchedCheck){let o=void 0!==r.locale?r.locale:"locale"in n?n.locale:void 0,i=e+"%"+t+"%"+o;if(h.has(i))return;h.add(i)}let s=i?n.prefetch(e,o):n.prefetch(e,t,r);Promise.resolve(s).catch(n=>{})}function x(n){return"string"==typeof n?n:(0,s.formatUrl)(n)}let y=o.default.forwardRef(function(n,e){let t,r;let{href:s,as:h,children:y,prefetch:w=null,passHref:S,replace:C,shallow:I,scroll:v,locale:T,onClick:_,onMouseEnter:O,onTouchStart:D,legacyBehavior:E=!1,...A}=n;t=y,E&&("string"==typeof t||"number"==typeof t)&&(t=o.default.createElement("a",null,t));let L=o.default.useContext(u.RouterContext),M=o.default.useContext(p.AppRouterContext),k=null!=L?L:M,R=!L,P=!1!==w,N=null===w?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:B,as:j}=o.default.useMemo(()=>{if(!L){let n=x(s);return{href:n,as:h?x(h):n}}let[n,e]=(0,i.resolveHref)(L,s,!0);return{href:n,as:h?(0,i.resolveHref)(L,h):e||n}},[L,s,h]),H=o.default.useRef(B),F=o.default.useRef(j);E&&(r=o.default.Children.only(t));let U=E?r&&"object"==typeof r&&r.ref:e,[W,z,Y]=(0,d.useIntersection)({rootMargin:"200px"}),K=o.default.useCallback(n=>{(F.current!==j||H.current!==B)&&(Y(),F.current=j,H.current=B),W(n),U&&("function"==typeof U?U(n):"object"==typeof U&&(U.current=n))},[j,U,B,Y,W]);o.default.useEffect(()=>{k&&z&&P&&b(k,B,j,{locale:T},{kind:N},R)},[j,B,z,T,P,null==L?void 0:L.locale,k,R,N]);let $={ref:K,onClick(n){E||"function"!=typeof _||_(n),E&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(n),k&&!n.defaultPrevented&&function(n,e,t,r,i,s,l,c,u,p){let{nodeName:d}=n.currentTarget,f="A"===d.toUpperCase();if(f&&(function(n){let e=n.currentTarget,t=e.getAttribute("target");return t&&"_self"!==t||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.nativeEvent&&2===n.nativeEvent.which}(n)||!u&&!(0,a.isLocalURL)(t)))return;n.preventDefault();let m=()=>{let n=null==l||l;"beforePopState"in e?e[i?"replace":"push"](t,r,{shallow:s,locale:c,scroll:n}):e[i?"replace":"push"](r||t,{forceOptimisticNavigation:!p,scroll:n})};u?o.default.startTransition(m):m()}(n,k,B,j,C,I,v,T,R,P)},onMouseEnter(n){E||"function"!=typeof O||O(n),E&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(n),k&&(P||!R)&&b(k,B,j,{locale:T,priority:!0,bypassPrefetchedCheck:!0},{kind:N},R)},onTouchStart(n){E||"function"!=typeof D||D(n),E&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(n),k&&(P||!R)&&b(k,B,j,{locale:T,priority:!0,bypassPrefetchedCheck:!0},{kind:N},R)}};if((0,l.isAbsoluteUrl)(j))$.href=j;else if(!E||S||"a"===r.type&&!("href"in r.props)){let n=void 0!==T?T:null==L?void 0:L.locale,e=(null==L?void 0:L.isLocaleDomain)&&(0,f.getDomainLocale)(j,n,null==L?void 0:L.locales,null==L?void 0:L.domainLocales);$.href=e||(0,m.addBasePath)((0,c.addLocale)(j,n,null==L?void 0:L.defaultLocale))}return E?o.default.cloneElement(r,$):o.default.createElement("a",{...A,...$},t)}),w=y;("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esMo
1dule",{value:!0}),Object.assign(e.default,e),n.exports=e.default)},80508:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useIntersection",{enumerable:!0,get:function(){return l}});let r=t(67294),o=t(10029),i="function"==typeof IntersectionObserver,a=new Map,s=[];function l(n){let{rootRef:e,rootMargin:t,disabled:l}=n,c=l||!i,[u,p]=(0,r.useState)(!1),d=(0,r.useRef)(null),f=(0,r.useCallback)(n=>{d.current=n},[]);(0,r.useEffect)(()=>{if(i){if(c||u)return;let n=d.current;if(n&&n.tagName){let r=function(n,e,t){let{id:r,observer:o,elements:i}=function(n){let e;let t={root:n.root||null,margin:n.rootMargin||""},r=s.find(n=>n.root===t.root&&n.margin===t.margin);if(r&&(e=a.get(r)))return e;let o=new Map,i=new IntersectionObserver(n=>{n.forEach(n=>{let e=o.get(n.target),t=n.isIntersecting||n.intersectionRatio>0;e&&t&&e(t)})},n);return e={id:t,observer:i,elements:o},s.push(t),a.set(t,e),e}(t);return i.set(n,e),o.observe(n),function(){if(i.delete(n),o.unobserve(n),0===i.size){o.disconnect(),a.delete(r);let n=s.findIndex(n=>n.root===r.root&&n.margin===r.margin);n>-1&&s.splice(n,1)}}}(n,n=>n&&p(n),{root:null==e?void 0:e.current,rootMargin:t});return r}}else if(!u){let n=(0,o.requestIdleCallback)(()=>p(!0));return()=>(0,o.cancelIdleCallback)(n)}},[c,t,e,u,d.current]);let m=(0,r.useCallback)(()=>{p(!1)},[]);return[f,u,m]}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),n.exports=e.default)},95677:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(n,e){for(var t in e)Object.defineProperty(n,t,{enumerable:!0,get:e[t]})}(e,{noSSR:function(){return a},default:function(){return s}});let r=t(10260),o=(t(67294),r._(t(8976)));function i(n){return{default:(null==n?void 0:n.default)||n}}function a(n,e){return delete e.webpack,delete e.modules,n(e)}function s(n,e){let t=o.default,r={loading:n=>{let{error:e,isLoading:t,pastDelay:r}=n;return null}};n instanceof Promise?r.loader=()=>n:"function"==typeof n?r.loader=n:"object"==typeof n&&(r={...r,...n}),r={...r,...e};let s=r.loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?t({...r,loader:()=>null!=s?s().then(i):Promise.resolve(i(()=>null))}):(delete r.webpack,delete r.modules,a(t,r))}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),n.exports=e.default)},92254:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"LoadableContext",{enumerable:!0,get:function(){return i}});let r=t(10260),o=r._(t(67294)),i=o.default.createContext(null)},8976:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return f}});let r=t(10260),o=r._(t(67294)),i=t(92254),a=[],s=[],l=!1;function c(n){let e=n(),t={loading:!0,loaded:null,error:null};return t.promise=e.then(n=>(t.loading=!1,t.loaded=n,n)).catch(n=>{throw t.loading=!1,t.error=n,n}),t}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:n,_opts:e}=this;n.loading&&("number"==typeof e.delay&&(0===e.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},e.delay)),"number"==typeof e.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},e.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(n=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(n){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...n},this._callbacks.forEach(n=>n())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(n){return this._callbacks.add(n),()=>{this._callbacks.delete(n)}}constructor(n,e){this._loadFn=n,this._opts=e,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function p(n){return function(n,e){let t=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},e),r=null;function a(){if(!r){let e=new u(n,t);r={getCurrentValue:e.getCurrentValue.bind(e),subscribe:e.subscribe.bind(e),retry:e.retry.bind(e),promise:e.promise.bind(e)}}return r.promise()}if(!l){let n=t.webpack?t.webpack():t.modules;n&&s.push(e=>{for(let t of n)if(e.includes(t))return a()})}function c(n,e){!function(){a();let n=o.default.useContext(i.LoadableContext);
1n&&Array.isArray(t.modules)&&t.modules.forEach(e=>{n(e)})}();let s=o.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return o.default.useImperativeHandle(e,()=>({retry:r.retry}),[]),o.default.useMemo(()=>{var e;return s.loading||s.error?o.default.createElement(t.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:r.retry}):s.loaded?o.default.createElement((e=s.loaded)&&e.default?e.default:e,n):null},[n,s])}return c.preload=()=>a(),c.displayName="LoadableComponent",o.default.forwardRef(c)}(c,n)}function d(n,e){let t=[];for(;n.length;){let r=n.pop();t.push(r(e))}return Promise.all(t).then(()=>{if(n.length)return d(n,e)})}p.preloadAll=()=>new Promise((n,e)=>{d(a).then(n,e)}),p.preloadReady=n=>(void 0===n&&(n=[]),new Promise(e=>{let t=()=>(l=!0,e());d(s,n).then(t,t)})),window.__NEXT_PRELOADREADY=p.preloadReady;let f=p},79393:function(n,e,t){"use strict";function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.CircleIcon=m;var o,i=(o=t(45697))&&o.__esModule?o:{default:o},a=u(t(67294)),s=t(75435),l=t(99903),c=t(24187);function u(n,e){if("function"==typeof WeakMap)var t=new WeakMap,o=new WeakMap;return(u=function(n,e){if(!e&&n&&n.__esModule)return n;var i,a,s={__proto__:null,default:n};if(null===n||"object"!=r(n)&&"function"!=typeof n)return s;if(i=e?o:t){if(i.has(n))return i.get(n);i.set(n,s)}for(var l in n)"default"!==l&&({}).hasOwnProperty.call(n,l)&&((a=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(n,l))&&(a.get||a.set)?i(s,l,a):s[l]=n[l]);return s})(n,e)}function p(){return(p=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n}).apply(null,arguments)}function d(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(t=t.call(n)).next,0===e){if(Object(t)!==t)return;l=!1}else for(;!(l=(r=i.call(t)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(n){c=!0,o=n}finally{try{if(!l&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(n,e)||function(n,e){if(n){if("string"==typeof n)return f(n,e);var t=({}).toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?f(n,e):void 0}}(n,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t<e;t++)r[t]=n[t];return r}function m(n){var e=n.id,t=n.name,r=n.size,o=void 0===r?40:r,i=n.color,u=void 0===i?"color_black":i,f=n.iconColor,m=void 0===f?null:f,g=n.invert,h=void 0!==g&&g,b=n.hover,x=void 0!==b&&b,y=n.shadow,w=n.customCSS,S=n.animation,C=void 0===S?null:S,I=n.stopAnimation,v=d((0,a.useState)(["",""]),2),T=v[0],_=v[1],O=d((0,a.useState)(!1),2),D=O[0],E=O[1],A=(0,a.useCallback)(function(){E(!D),_([T[1],T[0]])},[T,D]);return(0,a.useEffect)(function(){var n="color_t_white_900"===m||"transparent"===m?"color_white":m,e="color_t_white_900"===u||"transparent"===u?"color_white":u;_([n,e]),h&&_([e,n])},[u,m,h]),a.default.createElement(l.Circle,p({size:o,color:T[1],name:t,iconColor:T[0],customCSS:void 0===w?null:w,border:"color_t_white_900"===u&&"color_white"===T[1]||"transparent"===u&&"color_white"===T[1],shadow:void 0!==y&&y,id:void 0===e?null:e},x&&{onMouseEnter:A,onMouseLeave:A},{"data-sui":!0}),null!=C?a.default.createElement(s.AnimatedIcon,{animation:C,stopAnimation:void 0!==I&&I},a.default.createElement(c.Icon,{name:t,color:T[0],size:o})):a.default.createElement(c.Icon,{name:t,color:T[0],size:o}))}
1m.propTypes={id:i.default.string,name:i.default.string.isRequired,size:i.default.number,color:i.default.string,iconColor:i.default.string,invert:i.default.bool,hover:i.default.bool,shadow:i.default.bool,customCSS:i.default.string,animation:i.default.oneOf(["spin","pulse","shake","bounce"]),stopAnimation:i.default.bool}},99903:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.loyaltyIcons=e.Circle=void 0;var r,o=(r=t(19521))&&r.__esModule?r:{default:r},i=t(27896),a=t(83552),s=t(96139);e.Circle=o.default.div.withConfig({componentId:"sc-1uy696s-0"})(["display:flex;align-items:center;justify-content:center;background-color:",";border:",";border-radius:50%;height:","px;width:","px;",";",";&:focus{outline:2px dashed ",";}"],function(n){return(0,s.brandColor)(n.color,n.theme)},function(n){return n.border?"2px solid ".concat(a.tokens[n.iconColor]||i.colors[n.iconColor]):"none"},function(n){return c(n.size,n.name)},function(n){return c(n.size,n.name)},function(n){return n.shadow?"box-shadow: 0 0 6px rgba(155, 155, 155, 0.7);":""},function(n){return n.customCSS?n.customCSS:""},a.tokens.color_border_focus);var l=e.loyaltyIcons=["technology","print-services","shipping-supplies","paper-supplies","office-supplies-tool","chairs-furniture","ink-toner","food-breakroom","cleaning-supplies-tool"],c=function(n,e){return l.includes(e)?1.05*n:2*n}},53558:function(n,e,t){"use strict";function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.Logo=g;var o,i=(o=t(45697))&&o.__esModule?o:{default:o},a=f(t(67294)),s=t(19521),l=t(40874),c=t(8462),u=t(24187),p=t(96139),d=["name","height","width","color","disabled"];function f(n,e){if("function"==typeof WeakMap)var t=new WeakMap,o=new WeakMap;return(f=function(n,e){if(!e&&n&&n.__esModule)return n;var i,a,s={__proto__:null,default:n};if(null===n||"object"!=r(n)&&"function"!=typeof n)return s;if(i=e?o:t){if(i.has(n))return i.get(n);i.set(n,s)}for(var l in n)"default"!==l&&({}).hasOwnProperty.call(n,l)&&((a=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(n,l))&&(a.get||a.set)?i(s,l,a):s[l]=n[l]);return s})(n,e)}function m(){return(m=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n}).apply(null,arguments)}function g(n){var e,t=n.name,r=n.height,o=void 0===r?null:r,i=n.width,f=void 0===i?null:i,g=n.color,h=n.disabled,b=function(n,e){if(null==n)return{};var t,r,o=function(n,e){if(null==n)return{};var t={};for(var r in n)if(({}).hasOwnProperty.call(n,r)){if(-1!==e.indexOf(r))continue;t[r]=n[r]}return t}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(r=0;r<i.length;r++)t=i[r],-1===e.indexOf(t)&&({}).propertyIsEnumerable.call(n,t)&&(o[t]=n[t])}return o}(n,d),x=(0,c.exists)(l.oversizeIcons[t])?l.oversizeIcons[t]:null,y=null===(e=(0,a.useContext)(s.ThemeContext))||void 0===e?void 0:e.name;if(!x)return a.default.createElement(u.Icon,{"data-sui":!0,name:"no-image",color:"color_gray_200",size:o||f});var w=o||f*(x.viewHeight/x.viewWidth),S=f||o*(x.viewWidth/x.viewHeight),C=(0,c.exists)(l.oversizeIcons[t].pathColorsByTheme)?l.oversizeIcons[t].pathColorsByTheme[y]:(0,c.exists)(l.oversizeIcons[t].pathColors)?l.oversizeIcons[t].pathColors:null,I=(0,c.exists)(l.oversizeIcons[t].strokeColors)?l.oversizeIcons[t].strokeColors:null,v=(0,c.exists)(l.oversizeIcons[t].strokeWidth)?l.oversizeIcons[t].strokeWidth:null;return a.default.createElement(p.Svg,m({viewBox:"0 0 ".concat(x.viewWidth," ").concat(x.viewHeight),block:"true",focusable:!1,"aria-hidden":!0,style:(0,c.exists)(l.oversizeIcons[t].style)?l.oversizeIcons[t].style:null,color:void 0===g?"color_icon_primary":g,height:w,width:S,disabled:void 0!==h&&h},b,{"data-sui":!0}),a.default.createElement("g",{fillRule:"evenodd"},l.oversizeIcons[t].paths.map(function(n,e){return a.default.createElement("path",{key:e,d:n,fill:null!==C?C[e]:"inherit",stroke:I&&I[e]?I[e]:void 0,strokeWidth:v&&v[e]?v[e]:void 0})})))}g.propTypes={name:i.default.string.isRequired,height:i.default.number,width:i.default.number,color:i.default.string,disabled:i.default.bool}},10350:function(n,e,t){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),e.Image=void 0;var r=p(t(45697)),o=u(t(67294)),i=t(80242),a=t(10530),s=p(t(85894)),l=p(t(42221)),c=t(60949);function u(n,e){if("function"==typeof WeakMap)var t=new WeakMap,r=new WeakMap;return(u=function(n,e){if(!e&&n&&n.__esModule)return n;var o,i,a={__proto__:null,default:n};if(null===n||"object"!=f(n)&&"function"!=typeof n)return a;if(o=e?r:t){if(o.has(n))return o.get(n);o.set(n,a)}for(var s in n)"default"!==s&&({}).hasOwnProperty.call(n,s)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(n,s))&&(i.get||i.set)?o(a,s,i):a[s]=n[s]);return a})(n,e)}function p(n){return n&&n.__esModule?n:{default:n}}function d(){return(d=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n}).apply(null,arguments)}function f(n){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function m(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})),t.push.apply(t,r)}return t}function g(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?m(Object(t),!0).forEach(function(e){var r,o;r=e,o=t[e],(r=function(n){var e=function(n,e){if("object"!=f(n)||!n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var r=t.call(n,e||"default");if("object"!=f(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(n)}(n,"string");return"symbol"==f(e)?e:e+""}(r))in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):m(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))})}return n}var h=l.default.image;(e.Image=(0,o.forwardRef)(function(){var n,e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.srcMedia,l=void 0===r?[]:r,u=t.images,p=void 0===u?[]:u,m=t.altText,b=void 0===m?"":m,x=t.src,y=void 0===x?"":x,w=t.ariaLabelledby,S=void 0===w?"":w,C=t.ariaLabel,I=void 0===C?"":C,v=t.width,T=void 0===v?"":v,_=t.height,O=void 0===_?"":_,D=t.tabIndex,E=void 0===D?null:D,A=t.lazyload,L=void 0===A||A,M=t.parentLoaded,k=t.isInPictureTag,R=void 0!==k&&k,P=t.onImgLoad,N=void 0===P?null:P,B=t.id,j=void 0===B?null:B,H=t.customCSS,F=void 0===H?null:H,U=t.className,W=arguments.length>1?arguments[1]:void 0,z=(0,i.shouldUseMigratedComponentStyles)(),Y=(0,a.useScopedCustomCSS)(h,z?F:null),K=[h,void 0===U?"":U,Y].filter(Boolean).join(" "),$=g(g({},T&&{"--sui-image-width":T}),O&&{"--sui-image-height":O}),G="object"===f(p)?p.join(", "):p,V=y?{src:y}:{},Q=(0,o.useRef)(null),q=(0,o.useCallback)(function(n){Q.current=n},[Q]),Z=(0,o.useCallback)(function(n){W&&"function"==typeof W&&W(n)},[W]),J=(0,s.default)();return((0,o.useEffect)(function(){window.picturefill&&Q.current&&!R&&window.picturefill({reevaluate:!0,elements:[Q.current]})},[Q,G,y,R]),!L||void 0!==M&&M||J)?(V.srcSet=G,V["data-srcset"]=G,V["data-sizes"]=l.length>0?l.join(" ,"):"auto",V.sizes=l.length>0?l.join(", "):null):V.src=(n=T||0,e=O||0,"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 ".concat(n," ").concat(e,"'%3E%3C/svg%3E")),(L?(V.loading="lazy",V.decoding="async"):V.decoding="sync",Object.assign(V,{width:T,height:O},g({},S&&{"aria-labelledby":S}),g({},I&&{"aria-label":I}),g({},E&&{tabIndex:E})),z)?o.default.createElement("img",d({alt:b},V,{id:j,className:K,"data-sui":!0,style:Object.keys($).length?$:void 0,onLoad:function(n){return N?N(n,!0):null},onError:function(n){return N?N(n,!1):null},ref:function(n){Z(n),q(n)}})):o.default.createElement(c.Img,d({alt:b},V,{id:j,"data-sui":!0,customCSS:F,onLoad:function(n){return N?N(n,!0):null},onError:function(n){return N?N(n,!1):null},ref:function(n){Z(n),q(n)}}))})).propTypes={images:r.default.arrayOf(r.default.string),lazyload:r.default.bool,srcMedia:r.default.array,altText:r.default.string,ariaLabelledby:r.default.string,ariaLabel:r.default.string,width:r.default.string,height:r.default.string,tabIndex:r.default.string,src:r.default.string,id:r.default.string,customCSS:r.default.oneOfType([r.default.string,r.default.object,r.default.array]),className:r.default.string,parentLoaded:r.default.bool,isInPictureTag:r.default.bool,onImgLoad:r.default.func}},60949:function(n,e,t){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),e.Img=void 0;var r,o=(r=t(19521))&&r.__esModule?r:{default:r};e.Img=o.default.img.withConfig({componentId:"sc-971pib-0"})(["display:block;width:",";height:",";transition:opacity 0.2s;",";"],function(n){return n.width||"100%"},function(n){return n.height||"auto"},function(n){return n.customCSS?n.customCSS:""})},85894:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=t(67294);function o(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t<e;t++)r[t]=n[t];return r}var i=!1;"loading"in HTMLImageElement.prototype&&(i=!0),e.default=function(){var n,e=function(n){if(Array.isArray(n))return n}(n=(0,r.useState)(!1))||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(t=t.call(n)).next,0===e){if(Object(t)!==t)return;l=!1}else for(;!(l=(r=i.call(t)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(n){c=!0,o=n}finally{try{if(!l&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(n,2)||function(n,e){if(n){if("string"==typeof n)return o(n,e);var t=({}).toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(n,e):void 0}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),t=e[0],a=e[1];return(0,r.useEffect)(function(){!t&&i&&a(i)},[]),t}},59290:function(n,e,t){"use strict";function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.ToastBar=m;var o,i=(o=t(45697))&&o.__esModule?o:{default:o},a=u(t(67294)),s=t(24187),l=t(48750),c=["children","delay","onClose","variant","customCSS","id","marginTop","showAnimation","hideAnimation","secondLineMsg","ariaLabel"];function u(n,e){if("function"==typeof WeakMap)var t=new WeakMap,o=new WeakMap;return(u=function(n,e){if(!e&&n&&n.__esModule)return n;var i,a,s={__proto__:null,default:n};if(null===n||"object"!=r(n)&&"function"!=typeof n)return s;if(i=e?o:t){if(i.has(n))return i.get(n);i.set(n,s)}for(var l in n)"default"!==l&&({}).hasOwnProperty.call(n,l)&&((a=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(n,l))&&(a.get||a.set)?i(s,l,a):s[l]=n[l]);return s})(n,e)}function p(){return(p=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n}).apply(null,arguments)}function d(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t<e;t++)r[t]=n[t];return r}var f={info:{name:"check-circle",color:"color_icon_inverse"},warning:{name:"warning-triangle",color:"color_icon_primary"},failure:{name:"warning-triangle",color:"color_icon_inverse"},success:{name:"check-circle",color:"color_icon_primary"}};function m(n){var e,t=n.children,r=void 0===t?"":t,o=n.delay,i=void 0===o?5e3:o,u=n.onClose,m=void 0===u?function(){}:u,g=n.variant,h=void 0===g?"success":g,b=n.customCSS,x=n.id,y=n.marginTop,w=n.showAnimation,S=void 0===w?1500:w,C=n.hideAnimation,I=void 0===C?2500:C,v=n.secondLineMsg,T=void 0===v?"":v,_=n.ariaLabel,O=void 0===_?"":_,D=function(n,e){if(null==n)return{};var t,r,o=function(n,e){if(null==n)return{};var t={};for(var r in n)if(({}).hasOwnProperty.call(n,r)){if(-1!==e.indexOf(r))continue;t[r]=n[r]}return t}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(r=0;r<i.length;r++)t=i[r],-1===e.indexOf(t)&&({}).propertyIsEnumerable.call(n,t)&&(o[t]=n[t])}return o}(n,c),E=function(n){if(Array.isArray(n))return n}(e=(0,a.useState)(!0))||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(t=t.call(n)).next,0===e){if(Object(t)!==t)return;l=!1}else for(;!(l=(r=i.call(t)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(n){c=!0,o=n}
1finally{try{if(!l&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,2)||function(n,e){if(n){if("string"==typeof n)return d(n,e);var t=({}).toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?d(n,e):void 0}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),A=E[0],L=E[1],M=(0,a.useRef)(null),k=(0,a.useRef)(null);return(0,a.useEffect)(function(){return M.current=setTimeout(function(){L(!1)},i+S),k.current=setTimeout(function(){m()},i+I),function(){clearTimeout(M.current),clearTimeout(k.current)}},[i,I,m,S]),a.default.createElement(l.StyledToastBar,p({},D,{"data-sui":!0,variant:h,showAnimation:S,hideAnimation:I,visible:A,role:"alert",customCSS:void 0===b?null:b,id:void 0===x?"":x,marginTop:void 0===y?null:y,"aria-label":O}),a.default.createElement(l.IconWrapper,null,a.default.createElement(s.Icon,{name:f[h].name,size:20,color:f[h].color})),a.default.createElement("span",O&&{"aria-hidden":!0},r,T.length>=10&&a.default.createElement(a.default.Fragment,null,a.default.createElement("br",null),a.default.createElement(l.LongerMsgStyle,null,T))),T.length<10&&a.default.createElement(l.ShorterMsgStyle,null,T))}
1m.propTypes={children:i.default.oneOfType([i.default.arrayOf(i.default.node),i.default.node,i.default.string]),delay:i.default.number,onClose:i.default.func,variant:i.default.oneOf(["success","failure","warning","info"]),customCSS:i.default.string,id:i.default.string,marginTop:i.default.number,showAnimation:i.default.number,hideAnimation:i.default.number,secondLineMsg:i.default.string,ariaLabel:i.default.string}},48750:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StyledToastBar=e.StyledBtn=e.ShorterMsgStyle=e.LongerMsgStyle=e.IconWrapper=void 0;var r,o=(r=t(19521))&&r.__esModule?r:{default:r},i=t(82143),a=t(83552),s=function(n){switch(n){case"success":return a.tokens.color_green_200;case"warning":return a.tokens.color_yellow_600;case"failure":return a.tokens.color_red_600;default:return a.tokens.color_blue_300}};e.StyledToastBar=o.default.div.withConfig({componentId:"sc-kmyxhf-0"})(["color:",";padding:12px;margin-top:","px;font-size:16px;font-weight:normal;background-color:",";animation:",";animation-duration:","ms;left:0;right:0;top:0;position:fixed;width:100%;z-index:11000;display:flex;justify-content:center;align-items:center;span{margin-left:12px;}",";"],function(n){return"warning"===n.variant||"success"===n.variant?a.tokens.color_text_primary:a.tokens.color_text_inverse},function(n){return n.marginTop},function(n){return s(n.variant)},function(n){return n.visible?(0,i.expandToastBar)():(0,i.collapseToastBar)()},function(n){return n.visible?n.showAnimation:n.hideAnimation},function(n){return n.customCSS?n.customCSS:""}),e.StyledBtn=o.default.div.withConfig({componentId:"sc-kmyxhf-1"})(["  background:transparent;border:0;display:flex;padding-left:10px;min-width:",";",""],function(n){return"sm"===n.width?"75px":"auto"},function(n){return n.underline&&{"text-decoration":"underline"}}),e.IconWrapper=o.default.div.withConfig({componentId:"sc-kmyxhf-2"})(["min-width:21px;"]),e.LongerMsgStyle=o.default.div.withConfig({componentId:"sc-kmyxhf-3"})(["width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"]),e.ShorterMsgStyle=o.default.div.withConfig({componentId:"sc-kmyxhf-4"})(["text-indent:5px;"])},80242:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.shouldUseMigratedComponentStyles=e.USE_MIGRATED_COMPONENT_STYLES_BY_DEFAULT=void 0;var r=t(53396),o=e.USE_MIGRATED_COMPONENT_STYLES_BY_DEFAULT=!1,i=["false","0","off","styled-components"],a=["true","1","on","scss"],s=function(n){if("undefined"==typeof document||!document.cookie)return"";var e=document.cookie.split(";").map(function(n){return n.trim()}).find(function(e){return e.startsWith("".concat(n,"="))});return e?decodeURIComponent(e.slice(n.length+1)).toLowerCase():""};e.shouldUseMigratedComponentStyles=function(){var n=s(r.COMPONENT_STYLE_MIGRATION_COOKIE);return!i.includes(n)&&(!!a.includes(n)||o)}},10530:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useScopedCustomCSS=e.scopeCustomCSS=void 0;var r=t(67294);function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var i="sui-custom-css",a=new Map,s=function(n){for(var e=0,t=0;t<n.length;t+=1)e=(e<<5)-e+n.charCodeAt(t)|0;return Math.abs(e).toString(36)},l=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"string"==typeof n?n:Array.isArray(n)?n.map(function(n){return l(n)}).join(""):n&&"object"===o(n)?Object.keys(n).map(function(e){var t=n[e];return null==t||"boolean"==typeof t||"function"==typeof t?"":"".concat(e.replace(/^ms/,"-ms").replace(/[A-Z]/g,function(n){return"-".concat(n.toLowerCase())}),": ").concat(t,";")}).join(" "):""},c=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return l(n).trim()},u=function(n,e){for(var t=0,r=e;r<n.length;r+=1)if("{"===n[r]&&(t+=1),"}"===n[r]&&0==(t-=1))return r;return -1},p=function(n){var e=n.lastIndexOf(";");return -1===e?{declarations:"",selector:n.trim()}:{declarations:n.slice(0,e+1).trim(),selector:n.slice(e+1).trim()}},d=function(n,e){return e.split(",").map(function(e){var t=e.trim();return t.includes("&")?t.replace(/&/g,n):"".concat(n," ").concat(t)}).join(", ")},f=function(n,e){return e?n?"".concat(n,"\n").concat(e):e:n},m=function(n,e){return e.trim()?"".concat(n," { ").concat(e.trim()," }"):""},g=e.scopeCustomCSS=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=c(e);if(!t)return"";for(var r="",o=0;o<t.length;){var i=t.indexOf("{",o);if(-1===i){r=f(r,m(n,t.slice(o)));break}var a=u(t,i);if(-1===a){r=f(r,m(n,p(t.slice(o,i)).declarations));break}var s=p(t.slice(o,i)),l=s.declarations,h=s.selector;r=f(r,m(n,l));var b=t.slice(i+1,a);h.startsWith("@")?r=f(r,"".concat(h," {\n").concat(g(n,b),"\n}")):h&&(r=f(r,g(d(n,h),b))),o=a+1}return r},h=function(){if("undefined"==typeof document)return null;var n=document.getElementById(i);return n||((n=document.createElement("style")).id=i,n.setAttribute("data-sui-custom-css","true"),document.head.appendChild(n)),n},b=function(){var n=h();if(n){if(0===a.size){n.remove();return}n.textContent=Array.from(a.values()).map(function(n){return n.css}).join("\n")}};e.useScopedCustomCSS=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=c(e),o=s("".concat(n,":").concat(t)),i=t?"".concat(n,"--custom-").concat(o):"",l=(0,r.useMemo)(function(){return g(".".concat(i),t)},[i,t]);return(0,r.useEffect)(function(){if(t&&l){var n=a.get(i);return a.set(i,{css:l,count:n?n.count+1:1}),b(),function(){var n=a.get(i);n&&n.count>1?a.set(i,{css:n.css,count:n.count-1}):a.delete(i),b()}}},[i,t,l]),i}},32293:function(n,e,t){"use strict";t.r(e),t.d(e,{createSelector:function(){return s},createSelectorCreator:function(){return a},createStructuredSelector:function(){return l},defaultEqualityCheck:function(){return o},defaultMemoize:function(){return i}});var r="NOT_FOUND",o=function(n,e){return n===e};function i(n,e){var t,i="object"==typeof e?e:{equalityCheck:e},a=i.equalityCheck,s=void 0===a?o:a,l=i.maxSize,c=void 0===l?1:l,u=i.resultEqualityCheck,p=function(n,e){if(null===n||null===e||n.length!==e.length)return!1;for(var t=n.length,r=0;r<t;r++)if(!s(n[r],e[r]))return!1;return!0},d=1===c?{get:function(n){return t&&p(t.key,n)?t.value:r},put:function(n,e){t={key:n,value:e}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}:function(n,e){var t=[];function o(n){var o=t.findIndex(function(t){return e(n,t.key)});if(o>-1){var i=t[o];return o>0&&(t.splice(o,1),t.unshift(i)),i.value}return r}return{get:o,put:function(e,i){o(e)===r&&(t.unshift({key:e,value:i}),t.length>n&&t.pop())},getEntries:function(){return t},clear:function(){t=[]}}}(c,p);function f(){var e=d.get(arguments);if(e===r){if(e=n.apply(null,arguments),u){var t=d.getEntries().find(function(n){return u(n.value,e)});t&&(e=t.value)}d.put(arguments,e)}return e}return f.clearCache=function(){return d.clear()},f}function a(n){for(var e=arguments.length,t=Array(e>1?e-1:0),r=1;r<e;r++)t[r-1]=arguments[r];return function(){for(var e,r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=0,s={memoizeOptions:void 0},l=o.pop();if("object"==typeof l&&(s=l,l=o.pop()),"function"!=typeof l)throw Error("createSelector expects an output function after the inputs, but received: ["+typeof l+"]");var c=s.memoizeOptions,u=void 0===c?t:c,p=Array.isArray(u)?u:[u],d=function(n){var e=Array.isArray(n[0])?n[0]:n;if(!e.every(function(n){return"function"==typeof n}))throw Error("createSelector expects all input-selectors to be functions, but received the following types: ["+e.map(function(n){return"function"==typeof n?"function "+(n.name||"unnamed")+"()":typeof n}).join(", ")+"]");return e}(o),f=n.apply(void 0,[function(){return a++,l.apply(null,arguments)}].concat(p)),m=n(function(){for(var n=[],t=d.length,r=0;r<t;r++)n.push(d[r].apply(null,arguments));return e=f.apply(null,n)});return Object.assign(m,{resultFunc:l,memoizedResultFunc:f,dependencies:d,lastResult:function(){return e},recomputations:function(){return a},resetRecomputations:function(){return a=0}}),m}}var s=a(i),l=function(n,e){if(void 0===e&&(e=s),"object"!=typeof n)throw Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof n);var t=Object.keys(n);return e(t.map(function(e){return n[e]}),function(){for(var n=arguments.length,e=Array(n),r=0;r<n;r++)e[r]=arguments[r];return e.reduce(function(n,e,r){return n[t[r]]=e,n},{})})}},98659:function(n,e,t){"use strict";t.d(e,{FI:function(){return s},Fd:function(){return i},Nv:function(){return o},Ys:function(){return a}});var r=t(8462);let o=(n,e)=>"xxs"===n?"@media all and (max-width: ".concat(r.BREAKPOINTS[n],"px) {\n            ").concat(e,"\n          }"):"xs"===n?"@media all and (min-width: ".concat(r.BREAKPOINTS.xxs+1,"px) and (max-width: ").concat(r.BREAKPOINTS[n],"px) {\n            ").concat(e,"\n          }"):"sm"===n?"@media all and (min-width: ".concat(r.BREAKPOINTS.xs+1,"px) and (max-width: ").concat(r.BREAKPOINTS[n],"px) {\n            ").concat(e,"\n          }"):"md"===n?"@media all and (min-width: ".concat(r.BREAKPOINTS.sm+1,"px) and (max-width: ").concat(r.BREAKPOINTS[n],"px) {\n            ").concat(e,"\n          }"):"lg"===n?"@media all and (min-width: ".concat(r.BREAKPOINTS.md+1,"px) {\n            ").concat(e,"\n          }"):"",i=n=>"".concat(o("xs",n),";").concat(o("xxs",n),";"),a=n=>"".concat(o("lg",n),";").concat(o("md",n),";"),s=n=>"".concat(o("sm",n),";").concat(i(n),";")},89531:function(n,e,t){"use strict";var r=t(27361),o=t.n(r),i=t(57557),a=t.n(i),s=t(41609),l=t.n(s),c=t(23560),u=t.n(c),p=t(36968),d=t.n(p),f=t(28583),m=t.n(f),g=t(45220),h=t.n(g),b=t(60586),x=t.n(b),y=t(42847),w=t(8823),S=t(87465);let C=new class{_isAnalyticsAvailable(){return void 0!==x().ae&&!!x().ae&&!!x().ae.adapter&&!!x().ae.adapter.contentloaded&&!!x().ae.adapter.contentloading}_isAnalyticsObjectReady(){return this._isAnalyticsAvailable()?Promise.resolve(C):new Promise(n=>{let e=()=>{window.removeEventListener("STAPLES_ANALYTICS_LOADED",e),n(C)};window.addEventListener("STAPLES_ANALYTICS_LOADED",e)})}getInstance(){return this._isAnalyticsObjectReady()}getAnalyticsServiceInstance(n){return this.instanceOptions={tenant:o()(n,"tenant.fullName","StaplesDotCom"),isSBA:n.isSBA,isProd:n&&n.isProd||!1,JWT:o()(n,"JWT",{}),userInfo:o()(n,"userInfo",{}),CISdata:n.CISdata,tophatData:n.tophatData,consumer:n.consumer,breakpoint:n.breakpoint,isLoggedIn:n.isLoggedIn,adobeAnalyticsPayload:n.adobeAnalyticsPayload,fullfillmentCenter:n.fullfillmentCenter},this.getInstance(this.instanceOptions)}invokeAdapter(n){if(!C)throw"analytics instance is not available";if(l()(n)||h()(n))throw"analytics model is not available";switch(n.methodType){case"linkTrack":this._linkTrack(n.model);break;case"formTrack":this._formTrack(n.model);break;case"pfmTrack":this._pfmTrack(n.model);break;case"openQuickView":this._openQuickView(n.model);break;case"navTrack":this._navTrack(n.model);break;case"addToCart":case"pickUpToday":case"seePriceInCart":{let e=a()(n.model,["locator","cartTotal"]),t=this._ctaInit(e),r=Object.assign(n.model,{ctaId:t}),i=o()(window,"location.hostname");if(i.indexOf("staplesadvantage")>-1){let n=setInterval(()=>{x()&&x().Analytics&&x().Analytics.global&&x().Analytics.global.cart&&void 0!=x().Analytics.global.cart.response&&""!=x().Analytics.global.cart.response&&(this._ctaResponse(r),clearInterval(n))},100)}else{let n=setInterval(()=>{x()&&x().scResponse&&x().scResponse.response&&x().scResponse.response.message&&(this._ctaResponse(r),clearInterval(n))},100)}break}case"bopis":{let e=setInterval(()=>{x()&&x().scResponse&&x().scResponse.response&&x().scResponse.response.message&&(this._bopisInitiate(n.bopisModel),clearInterval(e))},100);break}case"bundlerRedirect":{let e=a()(n.model,["locator","cartTotal"]),t=this._ctaInit(e),r=Object.assign(n.model,{ctaIdForBundler:t});this._ctaResponse(r);break}case"approveDecline":this._approveDecline(n.model);break;case"reportMbox":this._reportMboxToAnalytics(n.model);break;case"storeState":this._storeStateAnalytics(n.model);break;case"handlingFeeLoad":this._handlingFeeLoad(n.model);break;case"bannerImpression":this._bannerImpression(n.model)}}_bannerImpression(n){if(u()(o()(x(),"ae.adapter.bannerImpression")))try{x().ae.adapter.bannerImpression(n)}catch(n){throw Error(n.message)}}_bopisInitiate(n){if(u()(o()(x(),"ae.adapter.BopisInitiate")))try{x().ae.adapter.BopisInitiate(n)}catch(n){}}_storeStateAnalytics(n){if(u()(o()(x(),"ae.adapter.storeState")))try{x().ae.adapter.storeState(n)}catch(n){}}
1_openQuickView(n){if(u()(o()(x(),"ae.adapter.quickViewDrawer")))try{x().ae.adapter.quickViewDrawer(n)}catch(n){console.error("FAILED to call _quickViewDrawer!",n)}}_navTrack(n){try{x().ae.adapter.navTrack(n)}catch(n){}}_offerSubscribeTrack(n){try{x().ae.adapter.subscribe({type:"ATTENTIVE_SIGNUP_FORM",message:"success",payload:n})}catch(n){}}_handleSuccess(n){let e={message:n.message,type:"ATTENTIVE_SIGNUP_FORM",payload:n};try{window.ae.adapter.handleSuccess(e)}catch(e){window.ae.adapter.handleSuccess({message:"error",type:"ATTENTIVE_SIGNUP_FORM",payload:n})}}_pfmTrack(n){try{x().ae.adapter.pfmTrack(n)}catch(n){}}updateExperienceType(){try{x().Analytics.global.visitor=x().Analytics.global.visitor||{},x().Analytics.global.visitor.expType="Nextjs"}catch(n){}}_linkTrack(n){if(u()(o()(x(),"ae.adapter.linkTrack")))try{let e=Object.assign({},n);x().ae.adapter.linkTrack(e)}catch(n){}}_formTrack(n){if(u()(o()(x(),"ae.adapter.formTrack")))try{let e=Object.assign({},n);x().ae.adapter.formTrack(e)}catch(n){throw Error(n.message)}}_handlingFeeLoad(n){if(u()(o()(x(),"ae.adapter.handlingFeeLoad")))try{x().ae.adapter.handlingFeeLoad(n)}catch(n){throw Error(n.message)}}_ctaInit(n){let e;if(u()(o()(x(),"ae.adapter.ctaInit")))try{let t=x().ae.adapter.ctaInit(n);e=t}catch(n){}return e}feedbackInit(n,e){if(u()(o()(x(),"ae.adapter.feedbackInit")))try{x().ae.adapter.feedbackInit(n,e)}catch(n){}}chatInit(n){let{label:e,isBDR:t,chatLineOfBusiness:r}=n;return!!u()(o()(x(),"ae.adapter.chatInit"))&&(x().ae.adapter.chatInit({label:e,isBDR:t,chatLineOfBusiness:r}),!0)}_ctaResponse(n){if(u()(o()(x(),"ae.adapter.ctaResponse")))try{x().ae.adapter.ctaResponse(n)}catch(n){}}_approveDecline(n){if(u()(o()(x(),"ae.adapter.approvalCards")))try{x().ae.adapter.approvalCards(n)}catch(n){}}_reportMboxToAnalytics(n){if(u()(o()(x(),"ae.adapter.mboxResponse")))try{x().window.ae.adapter.mboxResponse(n)}catch(n){throw Error(n.message)}}contentLoading(){if(u()(o()(x(),"ae.adapter.contentloading")))try{x().ae.adapter.contentloading()}catch(n){}}getCustomerType(n){let e=o()(n,"JWT.routeType",""),t=o()(n,"JWT.flowType","");if("MVP"===t&&"Ediv"!==e)return"MVP";if("sba"===e){let e=o()(n,"JWT.sessionIPA.permissionDetail.globalPermission",[]);if(e.indexOf("G_AL")>-1)return"link";if(e.indexOf("G_ALP")>-1)return"linkPlus"}return e}getHeadlinerTexts(n,e){let t=o()(n,"xs"===e?"extraSmallHeadliner":"md"===e?"mediumHeadliner":"sm"===e?"smallHeadliner":"largeHeadliner",[]),r=(0,w.zy)({headliner:t});return r}populateTophatDLO(n,e){try{let t=[],r=[];l()(n)||(t="lg"===e||"md"===e?n.desktop:n.mobile,l()(t)||t.map((t,i)=>{let a={slot:i+1,topHatType:n.tophatConsumerType,icid:o()(t,"destinationURL","").split("icid=")[1]||"No ICID",text:this.getHeadlinerTexts(t,e)};r.push(a)})),x().Analytics=x().Analytics||{},x().Analytics.global=x().Analytics.global||{},x().Analytics.global.visitor=x().Analytics.global.visitor||{},x().Analytics.global.visitor.topHat=r}catch(n){console.error("FAILED to populate tophat object",n)}}returnCustomerType(n){if(n){let{isSBA:e,JWT:t,CISdata:r}=n;if(e){let n=o()(t,"sessionIPA.membershipDetail.membershipProgram","");return"SELECT"===n?"Select":"PREMIUM"===n?"Premium":""}{let n=o()(r,"custAttrbs.SEGMENTCODE")||o()(r,"custAttrbs.segmentCode","1_UNIDENTIFIED");return"26_LOYALTY_ELT"===n||"27_LOYALTY_ELT"===n?"Elite":"21_TIER_BEST_CUST_PLUS"===n||"22_TIER_BEST_CUST_NOPLUS"===n?"Best":""}}return""}visit(n){let{locale:e,currency:t,dcn:r,customerEmail:i,isMobileApp:a,zipCode:s=(0,y.getCookie)("zipcode"),keepMeSignIn:c,firstTimeLogin:u,isLoginSucess:p,newHeader:d,...f}=n;try{let n=o()(f,"isLoggedIn",!1),m=o()(f,"JWT.sessionIPA.permissionDetail.globalPermission",[]),g=o()(f,"JWT.sessionIPA.permissionDetail.sessionData.accountCustomerName");if(x().Analytics=x().Analytics||{},x().Analytics.global=x().Analytics.global||{},x().Analytics.global.visitor={},x().Analytics.global.visitor.headerType="ux2",x().Analytics.global.visitor.xdeviceid=o()(f,"JWT.xdeviceID",""),x().Analytics.global.visitor.customerType=this.returnCustomerType(f),x().Analytics.global.visitor.loggedin=n,x().Analytics.global.visitor.fullfillmentCenter=o()(f,"fullfillmentCenter",""),f.isSBA)x().Analytics.global.version={spec:"2.0.0",dlospec:"2.0.0"},x().Analytics.global.visitor.group=o()(f,"JWT.userType",""),x().Analytics.global.visitor.isNewHeader=!!d,x().Analytics.global.visitor.fsid=o()(f,"fullfillmentCenter",""),x().Analytics.global.visitor.shiptozipcode=o()(f,"JWT.sessionIPA.permissionDetail.deprecableRequestFields.shippingZip",""),x().Analytics.global.visitor.master=o()(f,"JWT.accountNumber",""),x().Analytics.global.visitor.div=o()(f,"JWT.division",""),x().Analytics.global.visitor.userid=o()(f,"JWT.user_name",""),x().Analytics.global.visitor.contracttype=o()(f,"JWT.contractType",""),x().Analytics.global.visitor.salestype="",x().Analytics.global.visitor.visitor_status=o()(f,"JWT.isLoggedIn",!1)?"registered":"guest",x().Analytics.global.visitor.type=this.getCustomerType(f),x().Analytics.global.visitor.billto=o()(f,"JWT.billToId",""),x().Analytics.global.visitor.shipto=o()(f,"JWT.shipToId",""),x().Analytics.global.visitor.email=o()(f,"userInfo.contact.email",""),x().Analytics.global.visitor.accountstatus=(0,w.Yj)(f.JWT,S.zqw,"HC")?"healthcare":"non-healthcare",x().Analytics.global.visitor.isWholeSalerAllowed=m.includes("G_WS")?"Y":"N",x().Analytics.global.visitor.contractOnly=m.includes("G_IOC")?"N":"Y",x().Analytics.global.visitor.coreContract=o()(f,"JWT.sessionIPA.contractList",[]).filter(n=>n.contract.visibleOnStaplesAdvantage).map(n=>n.contract.contractId),x().Analytics.global.visitor.isMarketPriceEnabled=o()(f,"JWT.sessionIPA.permissionDetail.activePriceMethods",[]).includes("MPI"),x().Analytics.global.visitor.isOnContractFilterEnabled=m.includes("G_CSE"),x().Analytics.global.visitor.isBopisEnabled=m.includes("G_BOP"),x().Analytics.global.visitor.newUserID=o()(f,"JWT.sub",""),x().Analytics.global.visitor.blockType=m.includes("G_BIO")||m.
1includes("G_IBV")?"G":"H",x().Analytics.global.visitor.sortPermission=o()(f,"JWT.sessionIPA.permissionDetail.otherPermission",[]).find(n=>-1!==n.indexOf("SEARCH_")),x().Analytics.global.visitor.marketingAttributes={...o()(f,"JWT.sessionIPA.permissionDetail.sessionData.marketingAttributes",{})},g&&(x().Analytics.global.visitor.accountCustomerName=g);else{x().Analytics.global.version={spec:"1.0.5",dlospec:"1.0.5"},x().Analytics.global.visitor.vis_status=n?"registered":"guest",x().Analytics.global.visitor.loginsuccess=!!(p&&n),x().Analytics.global.visitor.isNewHeader=!!d,x().Analytics.global.visitor.keepmesignin=!!c&&!!n,x().Analytics.global.visitor.firsttimelogin=!!u&&!!n;let e=l()(o()(x(),"Analytics.global.visitor.kyd"))?{...o()(f,"CISdata",{})}:o()(x(),"Analytics.global.visitor.kyd"),t=this.formatCISData({...e});if(l()(t)){let n=localStorage.getItem("cisinfo");l()(n)?x().Analytics.global.visitor.kyd={}:x().Analytics.global.visitor.kyd=n}else x().Analytics.global.visitor.kyd=t;try{l()(t)||(localStorage.removeItem("cisinfo"),localStorage.setItem("cisinfo",JSON.stringify({cisData:t.CISResponse})))}catch(n){console.error("Error in updating local storage for CIS Data",n)}}r&&(x().Analytics.global.visitor.dcn=r),i&&(x().Analytics.global.visitor.email=i),e&&(x().Analytics.global.visitor.language=e.toLowerCase()),t&&(x().Analytics.global.visitor.currency=t),x().Analytics.global.visit={},x().Analytics.global.visit.domain=o()(x(),"location.host"),x().Analytics.global.visit.device=o()(x(),"navigator.userAgent"),x().Analytics.global.visit.isProd=f.isProd,x().Analytics.global.visit.isMobileApp=a||o()(f,"JWT.isMobileApp",!1),f.isSBA&&(x().Analytics.global.visit.salesregion=o()(f,"JWT.sessionIPA.permissionDetail.sessionData.accountSalesRegionName",""),x().Analytics.global.visit.salescoverage=o()(f,"JWT.sessionIPA.permissionDetail.sessionData.accountSalesRegionCoverage","")),s&&(x().Analytics.global.visit.zipcode=s);let h=(0,y.getCookie)("jsessionid");h&&(x().Analytics.global.visit.jsessionid=h);let b=(0,y.getCookie)("geocode");if(!l()(b)){let n;-1!=b.indexOf("%2C")?n=b.split("%2C"):-1!=b.indexOf(",")&&(n=b.split(",")),x().Analytics.global.visit.lat=n[0],x().Analytics.global.visit.lng=n[1]}}catch(n){}}_updatePageName(n){try{o()(x(),"Analytics.traffic")?m()(x().Analytics.traffic,{pagename:n}):d()(x(),"Analytics.traffic",{pagename:n})}catch(n){}}contentLoaded(){if(u()(o()(x(),"ae.adapter.contentloaded")))try{x().ae.adapter.contentloaded()}catch(n){}}headerObjectLoaded(){u()(o()(x(),"ae.adapter.headerObjectLoaded"))&&x().ae.adapter.headerObjectLoaded()}safeStringify(n){try{return JSON.stringify(n)}catch(n){return{}}}isCustomerMemberWithinXDays(n,e){if(e=e||90,""!=n){let t=new Date(n),r=new Date,o=r.getTime()-t.getTime();return Math.floor(o/864e5)<e}}atLeastOneSKUSelected(n){return parseInt(n=n||0)>0}formatCISData(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{let{CISResponse:e={},custAttrbs:t={}}=n;if(!l()(e))return n;if(!l()(t)){let{ORCHID:e,orchid:r,UBAS:o,ubas:i,MEMBERSHIP:a,membership:s,hvc:c,...u}=t,p=e||r||o||i||{},d=a||s||{},f={...u};return f.CISResponse={orchidData:p,membershipData:d,segmentID:n.custAttrbs.SEGMENTCODE||n.custAttrbs.segmentCode||"1_UNIDENTIFIED","UBAS-DCN":n.custAttrbs["UBAS-DCN"]||n.custAttrbs["ubas-dcn"]||(c?{hvc:c}:{})||{},isV2:!0,rewardsNo:(!l()(p)&&p.rewardsNo?this.safeStringify(p.rewardsNo):n.custAttrbs.rewardsNo)||""},f.customersegmentID=(!l()(p)&&p.segmentID?p.segmentID:n.custAttrbs.SEGMENTCODE||n.custAttrbs.segmentCode)||"1_UNIDENTIFIED",f.customersegment=(!l()(p)&&p.tierSegment?p.tierSegment:n.custAttrbs.tierSegment)||"",f.rewardsno=(!l()(p)&&p.rewardsNo?this.safeStringify(p.rewardsNo):this.safeStringify(n.custAttrbs.rewardsNo))||"",f.rewardstier=(!l()(p)&&p.rewardsTierCd?p.rewardsTierCd:n.custAttrbs.rewardsTierCd)||"",f.dcn=(!l()(p)&&p.customerNo?p.customerNo:n.custAttrbs.customerNo)||"",f.customertype=(!l()(p)&&p.businessConsumerFlag?p.businessConsumerFlag:n.custAttrbs.businessConsumerFlag)||"",f.dcnstatus=(!l()(p)&&p.customerNo?p.customerNo:n.custAttrbs.customerNo)||"",f.zoneid=(!l()(p)&&p.zoneId?p.zoneId:n.custAttrbs.zoneId)||"",f.suffixcode=(!l()(p)&&p.suffixCodes?this.safeStringify(p.suffixCodes):this.safeStringify(n.custAttrbs.suffixCodes))||"",f.industryvertical=(!l()(p)&&p.industryVertical?p.industryVertical:n.custAttrbs.industryVertical)||"",f.companysize=(!l()(p)&&p.
1companySize?p.companySize:n.custAttrbs.companySize)||"",f.companysizecode=(!l()(p)&&p.companySizeCode?p.companySizeCode:n.custAttrbs.companySizeCode)||"",f.companysizedesc=(!l()(p)&&p.companySizeDesc?p.companySizeDesc:n.custAttrbs.companySizeDesc)||"",f.crosschannel=(!l()(p)&&p.crossChannel?p.crossChannel:n.custAttrbs.crossChannel)||"",l()(d)?f.newcustomer=n.custAttrbs.memberSinceDate?this.isCustomerMemberWithinXDays(n.custAttrbs.memberSinceDate,90):"":(f.newcustomer=this.isCustomerMemberWithinXDays(d.memberSinceDate,90)||"",f.programskucount=d.skuCount||"",f.programskuselection=this.atLeastOneSKUSelected(d.skuCount),f.expirationDate=d.expirationDate||""),f}return{}}catch(n){return{}}}searchBox(n){try{return x().ae.adapter.searchBox(n)}catch(n){console.error("failed to call analytics searchBox Method: ".concat(n))}}callAnalyticsAdapter(n){l()(n)||this.getAnalyticsServiceInstance({}).then(e=>{e.invokeAdapter(n)})}constructor(){}};e.Z=C},517:function(n,e,t){"use strict";t.d(e,{X:function(){return o}});var r=t(67294);let o=n=>{let[e,t]=(0,r.useState)(!1),o=(0,r.useRef)(null),i=()=>t(!0),a=()=>t(!1);return(0,r.useEffect)(()=>{let e=o.current;if(e&&n)return e.addEventListener("mouseover",i),e.addEventListener("mouseout",a),e.addEventListener("touchstart",i),e.addEventListener("touchend",a),()=>{e.removeEventListener("mouseover",i),e.removeEventListener("mouseout",a),e.removeEventListener("touchstart",i),e.removeEventListener("touchend",a)}}),[o,e]}},95039:function(n,e,t){"use strict";t.d(e,{D:function(){return o}});var r=t(67294);let o=n=>{let e=(0,r.useRef)();return(0,r.useEffect)(()=>{e.current=n}),e.current}},35953:function(n,e,t){"use strict";t.d(e,{Z:function(){return w_}});var r=t(85893),o=t(27361),i=t.n(o),a=t(67294),s=t(2664),l=t(65958),c=t(77399),u=t(38999),p=t(3674),d=t.n(p),f=t(35937),m=t.n(f),g=t(54061),h=t.n(g),b=t(13218),x=t.n(b),y=t(70846),w=t(39566),S=t(41609),C=t.n(S),I=t(13311),v=t.n(I),T=t(45697),_=t.n(T),O=t(23279),D=t.n(O),E=t(35161),A=t.n(E),L=t(40927),M=t.n(L),
1k=t(5152),R=t.n(k),P=t(24187),N=t(45073),B=t(87465),j=t(23566),H=t(30340),F=t(89531),U=t(8823),W=t(37340),z=t(19521),Y=t(27896);function K(){let n=(0,W._)(["\n        &:focus {\n            outline: none !important;\n        }\n    "]);return K=function(){return n},n}function $(){let n=(0,W._)(["\n         height: 100%;\n    "]);return $=function(){return n},n}function G(){let n=(0,W._)(["\n         height: 100%;\n         display: flex;\n         justify-content: space-between;\n         align-items: center;\n         flex-direction: column;\n      "]);return G=function(){return n},n}function V(){let n=(0,W._)(["\n        padding: 8px 12px;\n         &:hover{\n             background: ",";\n             border-radius: 28px;\n             cursor: pointer;\n         }\n      "]);return V=function(){return n},n}function Q(){let n=(0,W._)(["\n    &:focus {\n        outline: 1px dashed ",";\n        outline-offset: 1px;\n    }\n    ","\n     ","\n      ","\n      ","\n      \n"]);return Q=function(){return n},n}function q(){let n=(0,W._)(["\n  font-size: 13px;\n  font-weight: normal;\n  letter-spacing: 0;\n  line-height: 20px;\n"]);return q=function(){return n},n}let Z=z.default.div.withConfig({componentId:"sc-f9cebc07-0"})(Q(),Y.colors.black,n=>{let{$styledprop:e}=n;return i()(e,"disableOutline")&&(0,z.css)(K())},n=>{let{$styledprop:e}=n;return i()(e,"newSAHeaderHamburgerIconBorder")&&(0,z.css)($())},n=>{let{$styledprop:e}=n;return i()(e,"subHeaderNavItem")&&(0,z.css)(G())},n=>{let{$styledprop:e}=n;return i()(e,"newDotComHeaderHover")&&(0,z.css)(V(),Y.colors.light_gray_1)}),J=z.default.div.withConfig({componentId:"sc-f9cebc07-1"})(q());var X=t(12091);let nn=n=>{let{children:e,menuItem:t,ariaLabel:o,ariaExpanded:a,role:s,tabIndex:l,noOutline:c,newSaHeader:u,siteVariables:p,breakpoint:d,subHeader:f,bottomLeftContent:m}=n,{hoverType:g,hoverContent:h}=t;return(0,r.jsx)(Z,{$styledprop:{disableOutline:c,newSAHeaderHamburgerIconBorder:u&&p.isSBA&&("sm"===d||"xs"===d),newDotComHeaderHover:u&&p.isCOM&&m&&f,subHeaderNavItem:u&&p.isSBA&&f},onMouseDown:U.ZA,onKeyDown:U.M,onKeyUp:U.M,onTouchStart:n=>(0,U.ZA)(n),...null!==s&&{role:s},...null!==o&&{"aria-label":o},...null!==a&&{"aria-expanded":a},..."-1"!==l&&{tabIndex:l},children:"tooltip"===g&&i()(h,"[0].headlinertext","")?(0,r.jsx)(X.Tooltip,{id:i()(h,"[0].headlinertext"),triggerElement:e,position:"bottom",maxWidth:300,minWidth:30,children:(0,r.jsx)(J,{children:i()(h,"[0].headlinertext","")})}):e})};nn.defaultProps={accountInfo:{isLoggedIn:!1},actionTypeHandler:"",ariaExpanded:!1,ariaLabel:"",bottomLeftContent:!1,breakpoint:"lg",children:"",headerType:"",menuItem:{hoverType:"",hoverContent:[],navigationPopUp:[]},newSaHeader:!1,noOutline:!1,role:null,routeDetails:{routeId:"",routeType:""},segmentCode:{},siteVariables:{isProd:!1,isSBA:!1,isCOM:!0},subHeader:!1,tabIndex:"-1",type:""},nn.propTypes={accountInfo:{isLoggedIn:_().bool},actionTypeHandler:_().string,ariaExpanded:_().bool,ariaLabel:_().string,bottomLeftContent:_().bool,breakpoint:_().string,children:_().node,headerType:_().string,menuItem:_().shape({hoverContent:_().array,hoverType:_().string,navigationPopUp:_().array}),newSaHeader:_().bool,noOutline:_().bool,role:_().string,routeDetails:_().shape({routeId:_().string,routeType:_().string}),segmentCode:_().object,siteVariables:_().shape({isCOM:_().bool,isProd:_().bool,isSBA:_().bool}),subHeader:_().bool,tabIndex:_().string,type:_().string};let ne=R()(()=>Promise.all([t.e(3498),t.e(2859),t.e(1667),t.e(5867),t.e(9182),t.e(9941),t.e(9195),t.e(2089),t.e(1376),t.e(6131),t.e(8154),t.e(2311),t.e(5600),t.e(9425),t.e(9375)]).then(t.bind(t,99425)),{loadableGenerated:{webpack:()=>[99425]}}),nt=R()(()=>Promise.all([t.e(6131),t.e(6644)]).then(t.bind(t,41005)),{loadableGenerated:{webpack:()=>[41005]}}),nr=R()(()=>Promise.all([t.e(9623),t.e(8374)]).then(t.bind(t,39623)),{loadableGenerated:{webpack:()=>[39623]}}),no=R()(()=>Promise.all([t.e(6366),t.e(3904)]).then(t.bind(t,66366)),{loadableGenerated:{webpack:()=>[66366]}}),ni=R()(()=>Promise.all([t.e(3701),t.e(9424),t.e(1188),t.e(2859),t.e(3702),t.e(4853),t.e(1667),t.e(8653),t.e(8683),t.e(7360),t.e(8507),t.e(3753),t.e(2724),t.e(8101),t.e(5867),t.e(9182),t.e(6219),t.e(1376),t.e(5666),t.e(7037),t.e(5580),t.e(1780),t.e(3637),t.e(1797),t.e(7609)]).then(t.bind(t,1797)),{loadableGenerated:{webpack:()=>[1797]}}),na=R()(()=>Promise.all([t.e(2859),t.e(2598)]).then(t.bind(t,92910)),{loadableGenerated:{webpack:()=>[92910]}}),ns=R()(()=>Promise.all([t.e(3702),t.e(9941),t.e(9195),t.e(4398),t.e(9865),t.e(5647)]).then(t.bind(t,66944)),{loadableGenerated:{webpack:()=>[66944]}}),nl=R()(()=>Promise.all([t.e(3702),t.e(9941),t.e(9195),t.e(4398),t.e(1759),t.e(5522)]).then(t.bind(t,45356)),{loadableGenerated:{webpack:()=>[45356]}}),nc=R()(()=>Promise.all([t.e(3702),t.e(9941),t.e(9195),t.e(4398),t.e(8154),t.e(3108),t.e(9539)]).then(t.bind(t,23804)),{loadableGenerated:{webpack:()=>[23804]}}),nu=R()(()=>Promise.all([t.e(3702),t.e(1667),t.e(5867),t.e(9182),t.e(9941),t.e(9195),t.e(4398),t.e(6131),t.e(8154),t.e(5600),t.e(9885),t.e(5852)]
1).then(t.bind(t,17238)),{loadableGenerated:{webpack:()=>[17238]}}),np=R()(()=>Promise.all([t.e(3702),t.e(1667),t.e(5867),t.e(9182),t.e(9941),t.e(9195),t.e(4398),t.e(6131),t.e(8154),t.e(5600),t.e(9885),t.e(5852)]).then(t.bind(t,82028)),{loadableGenerated:{webpack:()=>[82028]}}),nd=n=>{let{menuItem:e,siteVariables:t,ComponentToLoad:o,accountInfo:i,breakpoint:s}=n,{actionOverridesByGroup:l}=e,{isCOM:c}=t,[{actionType:u}]=(0,U.v2)(e),p=!C()(l)&&(0,U.QJ)({actionOverridesByGroup:l,accountInfo:i,breakpoint:s}),d=p||B.Qoz[u],f=(0,a.useMemo)(()=>{switch(d){case"MEGA-MENU":return ne;case"SB-FLEXIBLE-MENU":return ns;case"IMAGE-MENU":return nt;case"CART":if(c)return ni;return null;case"EMPTY-ZIP-CODE-DRAWER":case"ACTIVE-ZIP-CODE-DRAWER":return na;case"LISTS":case"TEXT-MENU":return nr;case"SB-MOBILE-MENU":return nl;case"MOBILE-MENU":return no;case"2-COLUMN-MEGA-MENU":return nc;case"SB-SHOP-FLEXIBLE-MENU":return nu;case"MOBILE-SHOP-MENU":return np}},[u,c,d]);return o?(0,r.jsx)(o,{...n}):f?(0,r.jsx)(f,{...n}):null};nd.defaultProps={accountInfo:{},breakpoint:"xs",ComponentToLoad:null,loading:!1,menuFlyoutLoaded:!1,menuItem:{actionOverridesByGroup:_().array,actionType:"",design:""},setMenuFlyoutLoaded:()=>{},siteVariables:{isCOM:!1}},nd.propTypes={accountInfo:_().object,breakpoint:_().string,ComponentToLoad:_().func,loading:_().bool,menuFlyoutLoaded:_().bool,menuItem:_().shape({actionOverridesByGroup:_().array,actionType:_().string,design:_().string}),setMenuFlyoutLoaded:_().func,siteVariables:_().shape({isCOM:_().bool})};var nf=t(42847),nm=t(8462),ng=t(94511),nh=t(98659),nb=t(63670);function nx(){let n=(0,W._)(["\n        border-color: "," !important;\n        color: "," !important;\n    "]);return nx=function(){return n},n}function ny(){let n=(0,W._)(["\n            font-size: 12px !important;\n            font-weight: 300;\n        "]);return ny=function(){return n},n}function nw(){let n=(0,W._)(["\n            font-size: 12px;\n            line-height: 22px;\n            letter-spacing: 0.01em;\n            font-weight: 300;\n            font-family: "," !important;\n            color: inherit;\n        "]);return nw=function(){return n},n}function nS(){let n=(0,W._)(["\n        font-size: 12px !important;\n        line-height: 22px;\n        letter-spacing: 0.01em !important;\n        font-weight: 300;\n        padding-bottom: 11px !important;\n        font-family: "," !important;\n        ","\n        ","\n    "]);return nS=function(){return n},n}function nC(){let n=(0,W._)(["\n        padding-bottom: 11px;\n    "]);return nC=function(){return n},n}function nI(){let n=(0,W._)(["\n        padding-bottom: 3px;\n    "]);return nI=function(){return n},n}function nv(){let n=(0,W._)(["\n            font-size: 14px;\n        "]);return nv=function(){return n},n}function nT(){let n=(0,W._)(["\n        font-family: ",";\n        cursor: pointer;\n        font-size: 14px;\n        outline: none;\n        padding-bottom: 7px;\n        letter-spacing: 0.43px;\n        border-bottom: 2px solid "," !important;\n        ","\n        "," {\n            padding-left: 6px;\n        }\n    "]);return nT=function(){return n},n}function n_(){let n=(0,W._)(["\n            font-size: 14px;\n        "]);return n_=function(){return n},n}function nO(){let n=(0,W._)(["\n        font-family: ",";\n        cursor: pointer;\n        font-size: 14px;\n        outline: none;\n        border-bottom-width: 2px;\n        border-bottom-style: solid;\n        padding-bottom: 7px;\n        letter-spacing: 0.43px;\n        ","\n        "," {\n            padding-left: 6px;\n        }\n    "]);return nO=function(){return n},n}function nD(){let n=(0,W._)(["\n            font-size: 14px;\n        "]);return nD=function(){return n},n}function nE(){let n=(0,W._)(["\n        font-size: ","px;\n        letter-spacing: 0.43px;\n        font-family: ",";\n        ","\n    "]);return nE=function(){return n},n}function nA(){let n=(0,W._)(["\n        &:hover {\n            color: "," !important;\n        }\n    "]);return nA=function(){return n},n}function nL(){let n=(0,W._)(["\n        &:hover {\n            text-decoration: underline;\n        }\n    "]);return nL=function(){return n},n}function nM(){let n=(0,W._)(["\n        text-decoration: underline !important;\n    "]);return nM=function(){return n},n}function nk(){let n=(0,W._)(["\n        text-decoration: none !important;\n    "]);return nk=function(){return n},n}function nR(){let n=(0,W._)(["\n        & * {\n            white-space: nowrap !important;\n        }\n    "]);return nR=function(){return n},n}function nP(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n"]);return nP=function(){return n},n}function nN(){let n=(0,W._)([""]);return nN=function(){return n},n}function nB(){let n=(0,W._)(["\n    font-family: ",";\n    font-size: 16px;\n    letter-spacing: 0;\n    text-align: center;\n"]);return nB=function(){return n},n}function nj(){let n=(0,W._)(["\n        color: "," !important;\n    "]);return nj=function(){return n},n}function nH(){let n=(0,W._)(["\n    display: inline-flex;\n    height: 44px;\n    width: 44px;
1\n    align-items: center;\n    justify-content: center;\n    position: relative;\n    ","\n"]);return nH=function(){return n},n}function nF(){let n=(0,W._)(["\n        height: 5px;\n        margin-top: 15px;\n    "]);return nF=function(){return n},n}function nU(){let n=(0,W._)(["\n        background-color: "," !important;\n    "]);return nU=function(){return n},n}function nW(){let n=(0,W._)(["\n    display: block;\n    height: 4px;\n    background-color: ",";\n    margin: 0 auto;\n    border-top-left-radius: 25px;\n    border-top-right-radius: 25px;\n    margin-top: 14px;\n    ","\n    ","\n"]);return nW=function(){return n},n}function nz(){let n=(0,W._)(["\n    cursor: pointer;\n    &:hover {\n        color: "," !important;\n    }\n    &:focus {\n        outline: 1px dashed ",";\n        outline-offset: 1px;\n    }\n"]);return nz=function(){return n},n}function nY(){let n=(0,W._)(["\n        font-size: 14px;\n    "]);return nY=function(){return n},n}function nK(){let n=(0,W._)(["\n    outline: none;\n    font-family: ",";\n    cursor: pointer;\n    font-size: 14px;\n    outline: none;\n    letter-spacing: 0.43px;\n    ","\n    "," {\n        padding-left: 6px;\n    }\n    &:focus {\n      outline: none;\n    }\n    &:hover {\n      color: "," !important;\n    }\n"]);return nK=function(){return n},n}function n$(){let n=(0,W._)(["\n        margin-top: 12px;\n    "]);return n$=function(){return n},n}function nG(){let n=(0,W._)(["\n        background-color: ",";\n    "]);return nG=function(){return n},n}function nV(){let n=(0,W._)(["\n    ","\n    ","\n"]);return nV=function(){return n},n}function nQ(){let n=(0,W._)(["\n            padding-top: 7px;\n        "]);return nQ=function(){return n},n}function nq(){let n=(0,W._)(["\n        margin-left: 0;\n        ","\n    "]);return nq=function(){return n},n}function nZ(){let n=(0,W._)(["\n        margin-left: 12px;\n    "]);return nZ=function(){return n},n}function nJ(){let n=(0,W._)(["\n        margin-left: 16px;\n    "]);return nJ=function(){return n},n}function nX(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return nX=function(){return n},n}function n0(){let n=(0,W._)(["\n            margin-left: 0;\n        "]);return n0=function(){return n},n}function n1(){let n=(0,W._)(["\n        display: block;\n        margin-left: 0;\n        ",";\n        ",";\n    "]);return n1=function(){return n},n}function n2(){let n=(0,W._)(["\n        outline: none;\n        a {\n            &:active {\n                outline: none;\n            }\n        }\n    "]);return n2=function(){return n},n}function n6(){let n=(0,W._)(["\n            margin-top: 10px;\n            display: block;\n        "]);return n6=function(){return n},n}function n4(){let n=(0,W._)(["\n         ",";\n    "]);return n4=function(){return n},n}function n5(){let n=(0,W._)(["\n            padding-top: 6px !important;\n        "]);return n5=function(){return n},n}function n3(){let n=(0,W._)(["\n        &:hover {\n            a {\n                color: "," !important;\n            }\n        }\n        ",";\n    "]);return n3=function(){return n},n}function n8(){let n=(0,W._)(["\n        padding-top: 6px !important;\n    "]);return n8=function(){return n},n}function n7(){let n=(0,W._)(["\n        height: 44px;\n        width: 44px;\n        margin-top: 10px;\n        display: block;\n        &:focus {\n            outline: none !important;\n        }\n    "]);return n7=function(){return n},n}function n9(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n"]);return n9=function(){return n},n}function en(){let n=(0,W._)(["\n            font-size: 14px;\n        "]);return en=function(){return n},n}function ee(){let n=(0,W._)(["\n        font-family: ",";\n        cursor: pointer;\n        font-size: 14px;\n        outline: none;\n        letter-spacing: 0.43px;\n        outline: none;\n        &:focus {\n            outline: none;\n        }\n        ",";\n        "," {\n            padding-left: 6px;\n        }\n    "]);return ee=function(){return n},n}function et(){let n=(0,W._)(["\n      padding: 8px 10px;\n       &:hover{\n            border-radius: 18px;\n            background-color: rgba(0, 0, 0, 0.09);\n       }\n    "]);return et=function(){return n},n}function er(){let n=(0,W._)(["\n                    text-decoration: underline;\n                "]);return er=function(){return n},n}function eo(){let n=(0,W._)(["\n        font-family: ",";\n        font-size: 16px;\n        display: flex;\n        cursor: pointer;\n        font-weight: 500;\n        line-height: 24px;\n        outline: none !important;\n        &:focus {\n            outline: none;\n        }\n        &:hover {\n            "," {\n                ","\n            }\n        }\n        "," {\n          padding-left: 6px;\n          position: relative;\n        }\n    "]);return eo=function(){return n},n}function ei(){let n=(0,W._)(["\n                    text-decoration: none !important;\n                "]);return ei=function(){return n},n}function ea(){let n=(0,W._)(["\n                visibility: hidden;\n            "]);return ea=function(){return n},n}function es(){let n=(0,W._)(["\n                display: none;\n            "]);return es=function(){return n},n}function el(){let n=(0,W._)(["\n        font-family: ",";\n        color: inherit;\n        padding: 6px 10px;\n        &:hover {\n            border-radius: 18px;\n            background-color: rgba(0, 0, 0, 0.09);\n            "," {\n                visibility: visible;\n            }\n            "," {\n                ","\n            }\n        }\n        "," {\n            ","\n            ","\n            padding-left: 6px;\n            position: relative;\n        }\n    "]);return el=function(){return n},n}function ec(){let n=(0,W._)(["\n                font-size: 12px;\n                padding-bottom: 9.8px !important;\n                border-width: 4px;\n                border-bottom-style: solid;\n                color: ",";\n            "]);return ec=function(){return n},n}function eu(){let n=(0,W._)(["\n        font-size: 12px;\n        "," {\n            ","\n        }\n    "]);return eu=function(){return n},n}function ep(){let n=(0,W._)(["\n            font-size: 14px;\n        "]);return ep=function(){return n},n}function ed(){let n=(0,W._)(["\n        font-family: ",";\n        cursor: pointer;\n        font-size: 14px;\n        outline: none;\n        letter-spacing: 0.43px;\n        ","\n        "," {\n            padding-left: 6px;\n        }\n        &:focus {\n            outline: none !important;\n        }\n        &:hover {\n            color: ",";\n        }\n    "]);return ed=function(){return n},n}function ef(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n"]);return ef=function(){return n},n}function em(){let n=(0,W._)(["\n        position: fixed;\n        top: 0;\n        left: 0;\n        bottom: 0;\n        width: 100%;\n        z-index: 10001;\n        visibility: hidden;\n        outline: none;\n    "]);return em=function(){return n},n}function eg(){let n=(0,W._)(["\n        width: 480px;\n        transition: width 0.2s cubic-bezier(1, 0.01, 0.01, 1) 0s;\n        visibility: visible;\n        right: 0;\n    "]);return eg=function(){return n},n}function eh(){let n=(0,W._)(["\n            width: 90vw;\n        "]);return eh=function(){return n},n}function eb(){let n=(0,W._)(["\n        &:focus {\n            outline: none !important;\n        }\n        ","\n    "]);return eb=function(){return n},n}
1function ex(){let n=(0,W._)(["\n                margin-top: -1px !important;\n                right: -12px;\n                position: relative;\n            "]);return ex=function(){return n},n}function ey(){let n=(0,W._)(["\n                margin-top: -1px !important;\n                right: -12px;\n                position: relative;\n            "]);return ey=function(){return n},n}function ew(){let n=(0,W._)(["\n                margin-top: -1px !important;\n                right: -8px;\n                position: relative;\n            "]);return ew=function(){return n},n}function eS(){let n=(0,W._)(["\n                transition: top 0.8s cubic-bezier(0.3, 0.85, 0, 1);\n            "]);return eS=function(){return n},n}function eC(){let n=(0,W._)(["\n                &:hover {\n                    cursor: default !important;\n                }\n            "]);return eC=function(){return n},n}function eI(){let n=(0,W._)(["\n                width: 936px;\n                min-width: 788px;\n                "]);return eI=function(){return n},n}function ev(){let n=(0,W._)(["\n            transition: top 0.3s cubic-bezier(0.3, 0.85, 0, 1);\n            transform-origin: top;\n        "]);return ev=function(){return n},n}function eT(){let n=(0,W._)(["\n                width: calc(100vw - 25px) !important;\n            "]);return eT=function(){return n},n}function e_(){let n=(0,W._)(["\n            @media screen and (max-width: 1260px) and (min-width: 1025px) {\n                width: calc(100vw - 25px) !important;\n            }\n            ","\n            @media screen and (max-width: 959px) and (min-width: 821px) {\n                width: calc(100vw - 25px) !important;\n            }\n        "]);return e_=function(){return n},n}function eO(){let n=(0,W._)(["\n            width: 821px;\n            max-width: 1088px;\n            min-width: 821px;\n            overflow-y: hidden !important;\n            overflow-x: hidden !important;\n        "]);return eO=function(){return n},n}function eD(){let n=(0,W._)(["\n            outline: none;\n        "]);return eD=function(){return n},n}function eE(){let n=(0,W._)(["\n        transition: top 0.3s cubic-bezier(0.3, 0.85, 0, 1);\n        position: absolute;\n        z-index: -1;\n        top: -1000px;\n        transform-origin: top;\n        .minicartstyles__dropDownContentShowCart {\n            ","\n            ","\n            ","\n        }\n        &.cart-wrapper {\n            right: 0 !important;\n            ","\n        }\n        &.text-menu-wrapper,\n        &.lists-wrapper {\n            width: 288px;\n            background: ",";\n            margin: 0 auto;\n            display: block;\n            color: ",";\n            border-radius: 0 0 8px 8px;\n            outline: none;\n            top: -616px;\n            overflow: hidden;\n            transition: top 0.5s cubic-bezier(0.3, 0.85, 0, 1);\n            ","\n        }\n        &.mega-menu-wrapper {\n            width: 1088px;\n            max-width: 1088px;\n            min-width: 936px;\n            max-height: 616px;\n            outline: none;\n            overflow: hidden;\n            @media screen and (max-width: 1260px) and (min-width:  ","px) {\n                width: 936px;\n            }\n            ","\n            @media screen and (max-width: 959px) and (min-width: ","px) {\n                width: 788px;\n            }\n        }\n        ","\n        ","\n        ","\n        &.image-menu-wrapper,\n        .featured-image-1-wrapper {\n            width: 540px;\n            background-color: ",";\n            max-height: 408px;\n            overflow-x: hidden;\n            overflow-y: hidden;\n            border-bottom-left-radius: 8px;\n            border-bottom-right-radius: 8px;\n            outline: none;\n            &:hover {\n                cursor: default !important;\n            }\n            .ps__rail-y {\n                opacity: 0.6 !important;\n                width: 11px !important;\n                background-color: #F3F3F3;\n                &:hover {\n                    opacity: 0.6 !important;\n                    background-color: #F3F3F3;\n                    width: 11px !important;\n                    .ps__thumb-y {\n                        width: 6px !important;\n                    }\n                }\n            }\n            .ps__thumb-y {\n                margin-left: 2px;\n            }\n            :global(.ps--scrolling-y > .ps__rail-y) {\n                opacity: 0.6 !important;\n                background-color: #F3F3F3;\n                width: 11px;\n            }\n        }\n        &.featured-image-1-wrapper {\n            max-height: 450px;\n            width: 930px;\n            max-width: 930px !important;\n        \n            @media screen and (max-width: ","px) {\n                min-width: 796px !important;\n            }\n        }\n        ","\n    "]);return eE=function(){return n},n}function eA(){let n=(0,W._)(["\n        left: 0;\n        top: 40px;\n    "]);return eA=function(){return n},n}function eL(){let n=(0,W._)(["\n    color: "," !important;\n    ","\n    ","\n    ","\n    ","\n    ","\n    &.text-menu-loaderWrapper {\n        padding: 100px;\n    }\n"]);return eL=function(){return n},n}function eM(){let n=(0,W._)(["\n        width: 100%; !important;\n    "]);return eM=function(){return n},n}function ek(){let n=(0,W._)(["\n    background: ",";\n    border-bottom-left-radius: 10px;\n    border-bottom-right-radius: 10px;\n    width: 301px;\n    height: 100%;\n    position: absolute;\n    top: 0;\n    left: 0;\n    &.text-menu-loadingContent {\n        width: 288px;\n        padding: 100px;\n    }\n    &.featured-image-1-loadingContent {\n        width: 100%;\n    }\n    ","\n"]);return ek=function(){return n},n}function eR(){let n=(0,W._)(["\n    position: absolute;\n    top: 40%;\n    left: calc(50% - 24px);\n"]);return eR=function(){return n},n}function eP(){let n=(0,W._)(["\n        border-color: "," !important;\n        color: "," !important;\n    "]);return eP=function(){return n},n}function eN(){let n=(0,W._)(["\n        margin: 0 auto;\n        border-radius: 50%;\n        height: 24px !important;\n        width: 24px !important;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        &:hover{\n         background-color:none !important\n        }\n    "]);return eN=function(){return n},n}function eB(){let n=(0,W._)(["\n        position: relative;\n        top: -2px;\n    "]);return eB=function(){return n},n}function ej(){let n=(0,W._)(["\n        background-color: rgba(0, 0, 0, 0.09);\n        margin: 0 auto;\n        border-radius: 50%;\n        height: 44px;\n        width: 44px;\n        display: flex;\n        justify-content: center;\n        >
1 div:not(",") {\n          margin-top: 10px;\n        }\n    "]);return ej=function(){return n},n}function eH(){let n=(0,W._)(["\n        height: 44px;\n        width: 44px;\n        justify-content: center;\n        display: flex;\n    "]);return eH=function(){return n},n}function eF(){let n=(0,W._)(["\n        line-height: 20px;\n        background-color: transparent;\n        border-radius: 0;\n        width: 24px;\n        height: 24px;\n        > div:not(",") {\n            margin-top: 0 !important;\n        }\n    "]);return eF=function(){return n},n}function eU(){let n=(0,W._)(["\n        line-height: 20px;\n        background-color: rgba(0, 0, 0, 0.09);\n        border-radius: 50%;\n        margin-top: -12px;\n    "]);return eU=function(){return n},n}function eW(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n"]);return eW=function(){return n},n}function ez(){let n=(0,W._)(["\n    position: absolute;\n    border-radius: 50%;\n    right:0;\n    border-color: ",";\n    height: 20px;\n    width: 20px;\n    display: block;\n    border: 2px solid ",";\n    background: ",";\n    color: ",";\n    text-align: center;\n    top: -3px;\n    padding-top: 2px;\n    font-size: 11px;\n    font-family: ",";\n    font-weight: 500;\n     "]);return ez=function(){return n},n}function eY(){let n=(0,W._)(["\n    top: 6px;\n"]);return eY=function(){return n},n}function eK(){let n=(0,W._)(["\n        right: 10px !important; \n    "]);return eK=function(){return n},n}function e$(){let n=(0,W._)(["\n        margin-top: 9px;\n        top: -3px;\n    "]);return e$=function(){return n},n}function eG(){let n=(0,W._)(["\n            margin-top: 0;\n        "]);return eG=function(){return n},n}function eV(){let n=(0,W._)(["\n        ","\n         top: -3px;\n    "]);return eV=function(){return n},n}function eQ(){let n=(0,W._)(["\n        width: 28px !important;\n        right: 2px !important;\n        border-radius: 12px !important;\n    "]);return eQ=function(){return n},n}function eq(){let n=(0,W._)(["\n        border: 1px solid "," !important;\n    "]);return eq=function(){return n},n}function eZ(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n"]);return eZ=function(){return n},n}function eJ(){let n=(0,W._)(["\n        margin-top: 9px;\n    "]);return eJ=function(){return n},n}function eX(){let n=(0,W._)(["margin-top: 0;"]);return eX=function(){return n},n}function e0(){let n=(0,W._)(["top: -13px;"]);return e0=function(){return n},n}function e1(){let n=(0,W._)(["top: -13px;"]);return e1=function(){return n},n}function e2(){let n=(0,W._)(["\n        ","\n        ","\n        ","\n        margin-top: 10px;\n    "]);return e2=function(){return n},n}function e6(){let n=(0,W._)(["\n        width: 28px !important;\n        right: 2px !important;\n        border-radius: 12px !important;\n    "]);return e6=function(){return n},n}function e4(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    ","\n"]);return e4=function(){return n},n}function e5(){let n=(0,W._)(["\n        color: "," !important;\n    "]);return e5=function(){return n},n}function e3(){let n=(0,W._)(["\n        border-color: "," !important;\n        color: "," !important;\n    "]);return e3=function(){return n},n}function e8(){let n=(0,W._)(["\n        margin-top: -6px;\n         & * {\n            white-space: nowrap !important;\n        }\n    "]);return e8=function(){return n},n}function e7(){let n=(0,W._)(["\n            font-size: 12px;\n            line-height: 20px;\n            letter-spacing: 0.01em;\n            font-weight: 300;\n            font-family: ",";\n            color: inherit;\n        "]);return e7=function(){return n},n}function e9(){let n=(0,W._)(["\n            font-size: 12px !important;\n            font-weight: 300;\n        "]);return e9=function(){return n},n}function tn(){let n=(0,W._)(["\n        font-size: 12px;\n        line-height: 20px;\n        letter-spacing: 0.01em !important;\n        font-weight: 300;\n        padding-bottom: 11px !important;\n        font-family: ",";\n        ","\n        ","\n    "]);return tn=function(){return n},n}function te(){let n=(0,W._)(["\n        padding-bottom: 11px;\n    "]);return te=function(){return n},n}function tt(){let n=(0,W._)(["\n        padding-bottom: 3px;\n    "]);return tt=function(){return n},n}function tr(){let n=(0,W._)(["\n            font-size: 14px;\n        "]);return tr=function(){return n},n}function to(){let n=(0,W._)(["\n        font-family: ",";\n        cursor: pointer;\n        font-size: 14px;\n        outline: none;\n        padding-bottom: 7px;\n        letter-spacing: 0.43px;\n        border-bottom: 2px solid "," !important;\n        ","\n        "," {\n            padding-left: 6px;\n        }\n    "]);return to=function(){return n},n}function ti(){let n=(0,W._)(["\n            font-size: 14px;\n        "]);return ti=function(){return n},n}function ta(){let n=(0,W._)(["\n        font-family: ",";\n        cursor: pointer;\n        font-size: 14px;\n        outline: none;\n        border-bottom-width: 2px;\n        border-bottom-style: solid;\n        padding-bottom: 7px;\n        letter-spacing: 0.43px;\n        ","\n        "," {\n            padding-left: 6px;\n        }\n    "]);return ta=function(){return n},n}function ts(){let n=(0,W._)(["\n        line-height: 20px;\n        background-color: transparent;\n        border-radius: 0;\n        width: 24px;\n        height: 24px;\n        >
1 div:not(",") {\n            margin-top: 0 !important;\n        }\n    "]);return ts=function(){return n},n}function tl(){let n=(0,W._)(["\n        white-space: nowrap;\n        font-size: 12px;\n        margin-top: 0;\n        margin-left: 12px;\n    "]);return tl=function(){return n},n}function tc(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n"]);return tc=function(){return n},n}function tu(){let n=(0,W._)(["\n        margin-top: 9px;\n    "]);return tu=function(){return n},n}function tp(){let n=(0,W._)(["\n            margin-top: 0;\n        "]);return tp=function(){return n},n}function td(){let n=(0,W._)(["\n        ","\n        margin-top: 10px;\n    "]);return td=function(){return n},n}function tf(){let n=(0,W._)(["\n        border: 1px solid "," !important;\n    "]);return tf=function(){return n},n}function tm(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    ","\n"]);return tm=function(){return n},n}function tg(){let n=(0,W._)(["\n            margin-left: 6px !important;\n            font-family: ",";\n            letter-spacing: 0.01em;\n        "]);return tg=function(){return n},n}function th(){let n=(0,W._)(["\n    font-family: ",";\n    font-size: 12px !important;\n    "," {\n        ","\n    }\n"]);return th=function(){return n},n}function tb(){let n=(0,W._)(["\n                margin-left: 6px;\n            "]);return tb=function(){return n},n}function tx(){let n=(0,W._)(["\n            margin-left: 8px;\n            ","\n        "]);return tx=function(){return n},n}function ty(){let n=(0,W._)(["\n                color: ",";\n            "]);return ty=function(){return n},n}function tw(){let n=(0,W._)(["\n    cursor: pointer;\n    position: relative;\n    display: flex;\n    align-items: center;\n    font-size: 14px;\n    letter-spacing: 0.43px;\n    font-family: ",";\n    outline: none;\n    "," {\n        ","\n    }\n    &:hover {\n        "," {\n            ","\n        }\n        color: "," !important;\n    }\n"]);return tw=function(){return n},n}function tS(){let n=(0,W._)(["\n            display: block;\n        "]);return tS=function(){return n},n}function tC(){let n=(0,W._)(["\n            display: block;\n            height: 4px;\n            background-color: ",";\n            width: 40px;\n            margin: 0 auto;\n            border-top-left-radius: 25px;\n            border-top-right-radius: 25px;\n            margin-top: 3px;\n        "]);return tC=function(){return n},n}function tI(){let n=(0,W._)(["margin-top: 16px;"]);return tI=function(){return n},n}function tv(){let n=(0,W._)(["margin-top: 3px;"]);return tv=function(){return n},n}function tT(){let n=(0,W._)(["\n            margin-top: 7px;\n            ","\n        "]);return tT=function(){return n},n}function t_(){let n=(0,W._)(["\n                margin-top: 7px;\n            "]);return t_=function(){return n},n}function tO(){let n=(0,W._)(["\n            ","\n        "]);return tO=function(){return n},n}function tD(){let n=(0,W._)(["\n                margin-top: 4px;\n            "]);return tD=function(){return n},n}function tE(){let n=(0,W._)(["\n            margin-top: 7px;\n            ","\n        "]);return tE=function(){return n},n}function tA(){let n=(0,W._)(["\n            background-color: ",";\n        "]);return tA=function(){return n},n}function tL(){let n=(0,W._)(["\n    display: block;\n    align-items: center;\n    text-align: center;\n    justify-content: center;\n    margin-top: 6px;\n    outline: none;\n    cursor: pointer;\n    &:focus {\n        outline: none;\n    }\n    span {\n        display: flex;\n        align-items: center;\n        text-align: center;\n        justify-content: center;\n        line-height: 15px;\n    }\n    "," {\n        ","\n    }\n    "," {\n        ","\n        ","\n        ","\n        ","\n        ","\n    }\n"]);return tL=function(){return n},n}function tM(){let n=(0,W._)(["\n        margin-top: 10px !important;\n    "]);return tM=function(){return n},n}function tk(){let n=(0,W._)(["\n            outline: none;\n            & * {\n                outline: none;\n            }\n        "]);return tk=function(){return n},n}function tR(){let n=(0,W._)(["\n                outline: 1px dashed ",";\n            "]);return tR=function(){return n},n}function tP(){let n=(0,W._)(["\n            "," {\n                div {\n                    outline: 1px dashed "," !important;\n                }\n            }\n        "]);return tP=function(){return n},n}function tN(){let n=(0,W._)(["\n        margin-top: -3px;\n    "]);return tN=function(){return n},n}function tB(){let n=(0,W._)(["\n        margin-top: 10px;\n    "]);return tB=function(){return n},n}function tj(){let n=(0,W._)(["\n                margin-top: 7px;\n            "]);return tj=function(){return n},n}function tH(){let n=(0,W._)(["\n                margin-top: 3px;\n            "]);return tH=function(){return n},n}function tF(){let n=(0,W._)(["\n            margin-top: 6px;\n            ",";\n            ",";\n        "]);return tF=function(){return n},n}function tU(){let n=(0,W._)(["\n    margin-top: 9px !important;\n    ","\n    "," {\n        ","\n    }\n    &:focus {\n        outline: none;\n        "," {\n            ","\n        }\n        ","\n    }\n    ",";\n    ",";\n\n    "," {\n        ","\n    }\n    ","\n"]);return tU=function(){return n},n}function tW(){let n=(0,W._)(["\n            margin-top: 0px;\n        "]);return tW=function(){return n},n}function tz(){let n=(0,W._)(["\n                    margin-top: 16px !important;\n                "]);return tz=function(){return n},n}function tY(){let n=(0,W._)(["\n                margin-top: 4px;\n                ",";\n            "]);return tY=function(){return n},n}function tK(){let n=(0,W._)(["\n        ",";\n        "," {\n            ","\n        }\n    "]);return tK=function(){return n},n}function t$(){let n=(0,W._)(["\n    margin-top: 17px;\n    ","\n    ","\n"]);return t$=function(){return n},n}function tG(){let n=(0,W._)(["\n                margin-left: 6px;\n            "]);return tG=function(){return n},n}function tV(){let n=(0,W._)(["\n            margin-left: 8px;\n            ","\n        "]);return tV=function(){return n},n}function tQ(){let n=(0,W._)(["\n    cursor: pointer;\n    position: relative;\n    display: flex;
1\n    align-items: center;\n    font-size: 14px;\n    letter-spacing: 0.43px;\n    font-family: ",";\n    outline: none;\n    "," {\n        ","\n    }\n"]);return tQ=function(){return n},n}function tq(){let n=(0,W._)(["\n            display: flex !important;\n        "]);return tq=function(){return n},n}function tZ(){let n=(0,W._)(["\n                        background-color: transparent;\n                        border-radius: 0;\n                        width: auto;\n                        height: auto;\n                        > div:not(",") {\n                            margin-top: 0 !important;\n                        }\n                    "]);return tZ=function(){return n},n}function tJ(){let n=(0,W._)(["\n                "," {\n                    ","\n                }\n            "]);return tJ=function(){return n},n}function tX(){let n=(0,W._)(["\n        margin-top: 0 !important;\n        "," {\n            ","\n        }\n    "]);return tX=function(){return n},n}function t0(){let n=(0,W._)(["\n            width: auto !important;\n            margin-top: 13px !important;\n        "]);return t0=function(){return n},n}function t1(){let n=(0,W._)(["\n    "," {\n        ","\n    }\n    ","\n\n    "," {\n        ","\n    }\n    ","\n"]);return t1=function(){return n},n}function t2(){let n=(0,W._)(["\n        margin-top: 0 !important;\n    "]);return t2=function(){return n},n}function t6(){let n=(0,W._)(["\n                margin-right: 0;\n            "]);return t6=function(){return n},n}function t4(){let n=(0,W._)(["\n            margin-right: 12px;\n            ","\n        "]);return t4=function(){return n},n}function t5(){let n=(0,W._)(["\n    margin-top: 4px !important;\n    ","\n    "," {\n        ","\n    }\n    ","\n"]);return t5=function(){return n},n}function t3(){let n=(0,W._)(["\n        margin-top: 0px;\n    "]);return t3=function(){return n},n}function t8(){let n=(0,W._)(["\n            margin-top: 0 !important;\n        "]);return t8=function(){return n},n}function t7(){let n=(0,W._)(["\n                    margin-top: 11px;\n                "]);return t7=function(){return n},n}function t9(){let n=(0,W._)(["\n                ",";\n            "]);return t9=function(){return n},n}function rn(){let n=(0,W._)(["\n        ","\n        "," {\n            ","\n        }\n    "]);return rn=function(){return n},n}function re(){let n=(0,W._)(["\n    margin-top: 20px;\n    display: block;\n    ","\n    ","\n"]);return re=function(){return n},n}function rt(){let n=(0,W._)(["\n    display: flex;\n    align-items: center;\n    text-align: center;\n    justify-content: center;\n    margin-top: 6px;\n    height: 100%;\n    outline: none;\n    cursor: pointer;\n    span {\n        display: flex;\n        align-items: center;\n        text-align: center;\n        justify-content: center;\n        line-height: 15px;\n    }\n"]);return rt=function(){return n},n}function rr(){let n=(0,W._)(["\n            margin-top: -3px;\n        "]);return rr=function(){return n},n}function ro(){let n=(0,W._)(["\n            margin-top: 10px;\n        "]);return ro=function(){return n},n}function ri(){let n=(0,W._)(["\n                    margin-top: 7px;\n                "]);return ri=function(){return n},n}function ra(){let n=(0,W._)(["\n                    margin-top: 3px;\n                "]);return ra=function(){return n},n}function rs(){let n=(0,W._)(["\n                margin-top: 6px;\n                ",";\n                ",";\n            "]);return rs=function(){return n},n}function rl(){let n=(0,W._)(["\n        ",";\n        ",";\n\n        "," {\n            ","\n        }\n    "]);return rl=function(){return n},n}function rc(){let n=(0,W._)(["\n        margin-top: 9px;\n    "]);return rc=function(){return n},n}function ru(){let n=(0,W._)(["\n                            background-color: rgba(0, 0, 0, 0.09);\n                            border-radius: 50%;\n                            height: 44px;\n                            width: 44px;\n                            justify-content: center;\n                            display: flex;\n                            margin: 0 auto;\n                            > div {\n                                margin-top: 4px;\n                            }\n                        "]);return ru=function(){return n},n}function rp(){let n=(0,W._)(["\n            &, & * {\n                outline: none;\n                &:hover {\n                    "," {\n                        ","\n                    }\n                }\n            }\n        "]);return rp=function(){return n},n}function rd(){let n=(0,W._)(["\n                        div {\n                            outline: 1px dashed ",";\n                        }\n                    "]);return rd=function(){return n},n}function rf(){let n=(0,W._)(["\n                "," {\n                    ","\n                }\n            "]);return rf=function(){return n},n}function rm(){let n=(0,W._)(["\n    ","\n    margin-top: 9px;\n    display: flex;\n    height: 44px;\n    ","\n    ","\n    "," {\n        ","\n    }\n    \n    &:focus {\n        outline: none;\n        "," {\n            ","\n        }\n    }\n"]);return rm=function(){return n},n}function rg(){let n=(0,W._)(["\n        margin-top: 0px;\n    "]);return rg=function(){return n},n}function rh(){let n=(0,W._)(["\n                margin-top: 16px;\n            "]);return rh=function(){return n},n}function rb(){let n=(0,W._)(["\n            margin-top: 4px;\n            ",";\n        "]);return rb=function(){return n},n}function rx(){let n=(0,W._)(["\n    margin-top: 17px;\n    ","\n    ",";\n    "," {\n        ","\n    }\n"]);return rx=function(){return n},n}function ry(){let n=(0,W._)(["\n        margin-top: 0 !important;\n    "]);return ry=function(){return n},n}function rw(){let n=(0,W._)(["\n        margin-top: 0 !important;\n    "]);return rw=function(){return n},n}function rS(){let n=(0,W._)(["\n    ","\n    margin-top: 4px !important;\n    ","\n    ","\n"]);return rS=function(){return n},n}function rC(){let n=(0,W._)(["\n        margin-top: 4px;\n    "]);return rC=function(){return n},n}function rI(){let n=(0,W._)(["\n    margin-top: 20px;\n    display: block;\n    ","\n"]);return rI=function(){return n},n}function rv(){let n=(0,W._)(["\n            &:hover {\n                border-radius: 50%;\n                background-color: rgba(0, 0, 0, 0.09);\n            }\n        "]);return rv=function(){return n},n}function rT(){let n=(0,W._)(["\n        ",";\n    "]);return rT=function(){return n},n}function r_(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n"]);return r_=function(){return n},n}function rO(){let n=(0,W._)(["\n            &:hover {\n                border-radius: 50%;\n                background-color: rgba(0, 0, 0, 0.09);\n            }\n        "]);return rO=function(){return n},n}function rD(){let n=(0,W._)(["\n        ",";\n    "]);return rD=function(){return n},n}function rE(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    \n"]);return rE=function(){return n},n}function rA(){let n=(0,W._)(["\n                color: ",";\n                border-width: 4px;\n                border-bottom-style: solid;\n                padding-bottom: 9.8px !important;\n            "]);return rA=function(){return n},n}function rL(){let n=(0,W._)(["\n        font-size: 12px;\n        ",", "," {\n            ","\n        }\n    "]);return rL=function(){return n},n}function rM(){let n=(0,W._)(["\n        align-content: center;\n    "]);return rM=function(){return n},n}function rk(){let n=(0,W._)(["\n                    border-radius: 50%;\n                    margin: 0 auto;\n                    &:hover{\n                        background-color: rgba(0, 0, 0, 0.09);\n                    }\n                    >
1 div:not(",") {\n                        margin-top: 4px;\n                    }\n                "]);return rk=function(){return n},n}function rR(){let n=(0,W._)(["\n            display: block;\n        "]);return rR=function(){return n},n}function rP(){let n=(0,W._)(["\n        display: block;\n        height: 100%;\n        &:focus {\n            outline: none;\n        }\n        &:hover {\n            "," {\n                ","\n            }\n            > div {\n                margin-top: 10px !important;\n            }\n        }\n        ","\n    "]);return rP=function(){return n},n}function rN(){let n=(0,W._)(["\n                        margin-top: 4px;\n                    "]);return rN=function(){return n},n}function rB(){let n=(0,W._)(["\n                & ~ "," {\n                    ","\n                }\n            "]);return rB=function(){return n},n}function rj(){let n=(0,W._)(["\n            display: flex;\n            ","\n        "]);return rj=function(){return n},n}function rH(){let n=(0,W._)(["\n                & span {\n                    line-height: 20px;\n                }\n            "]);return rH=function(){return n},n}function rF(){let n=(0,W._)(["\n        ",";\n        span {\n            line-height: 20px;\n        }\n        "," {\n            ","\n        }\n    "]);return rF=function(){return n},n}function rU(){let n=(0,W._)(["\n                    width: 44px;\n                    height: 44px;\n                "]);return rU=function(){return n},n}function rW(){let n=(0,W._)(["\n                    margin-top: 7px;\n                "]);return rW=function(){return n},n}function rz(){let n=(0,W._)(["\n            position: relative;\n            "," {\n                ","\n            }\n            & ~ "," {\n                ","\n            }\n        "]);return rz=function(){return n},n}function rY(){let n=(0,W._)(["\n                    margin-top: 7px;\n                "]);return rY=function(){return n},n}function rK(){let n=(0,W._)(["\n            & ~ "," {\n                ","\n            }\n        "]);return rK=function(){return n},n}function r$(){let n=(0,W._)(["\n        ","\n        ","\n    "]);return r$=function(){return n},n}function rG(){let n=(0,W._)(["\n        margin-top: 8px;\n    "]);return rG=function(){return n},n}function rV(){let n=(0,W._)(["\n                margin-top: 8px !important;\n            "]);return rV=function(){return n},n}function rQ(){let n=(0,W._)(["\n        padding: 8px 10px;\n        &:hover {\n            border-radius: 18px;\n            background-color: rgba(0, 0, 0, 0.09);\n        }\n        & ~ "," {\n            ","\n        }\n    "]);return rQ=function(){return n},n}function rq(){let n=(0,W._)(["\n    ","\n\n    ","\n\n    ","\n    ","\n    ","\n    ","\n    ","\n"]);return rq=function(){return n},n}function rZ(){let n=(0,W._)(["\n    margin-top: 12px;\n    text-align: center;\n    font-family: ",";\n    button.button__sparq {\n        width: auto !important;\n    }\n"]);return rZ=function(){return n},n}function rJ(){let n=(0,W._)(["\n    &:last-child {\n        margin-top: 4px;\n    }\n    margin-top: 12px;\n    text-align: center;\n    font-family: ",";\n    button.button__sparq {\n        width: auto !important;\n    }\n    button {\n        margin: 0;\n        height: 38px;\n    }\n    span.headlinerText {\n        font-weight: 400;\n    }\n"]);return rJ=function(){return n},n}function rX(){let n=(0,W._)(["\n    padding: 16px;\n    font-weight: normal;\n    font-size: 14px;\n    line-height: 14px;\n    display: flex;\n    flex-flow: column;\n    align-content: center;
1\n    align-items: center;\n    align-self: center;\n    gap: 12px;\n    text-align: center;\n"]);return rX=function(){return n},n}function r0(){let n=(0,W._)(["\n        flex-grow: 0;\n        margin-right: 12px;\n        &:focus {\n            outline: none !important;\n        }\n    "]);return r0=function(){return n},n}function r1(){let n=(0,W._)(["\n        width: 68px;\n        margin-right: 12px;\n    "]);return r1=function(){return n},n}function r2(){let n=(0,W._)(["\n    width: 44px;\n    height: 44px;\n    margin-top: 0;\n    margin-left: 12px !important;\n    margin-right: 12px;\n    margin-bottom: 12px;\n    border-radius: 50%;\n    position: relative;\n    outline: none;\n    &:focus {\n        outline: 1px dashed ",";\n    }\n    ",";\n    ","\n"]);return r2=function(){return n},n}function r6(){let n=(0,W._)(["\n        svg {\n            fill: "," !important;\n        }\n    "]);return r6=function(){return n},n}function r4(){let n=(0,W._)(["\n        svg {\n            fill: "," !important;\n        }\n    "]);return r4=function(){return n},n}function r5(){let n=(0,W._)(["\n    ","\n\n    ","\n"]);return r5=function(){return n},n}function r3(){let n=(0,W._)([""]);return r3=function(){return n},n}function r8(){let n=(0,W._)([""]);return r8=function(){return n},n}function r7(){let n=(0,W._)([""]);return r7=function(){return n},n}function r9(){let n=(0,W._)([""]);return r9=function(){return n},n}function on(){let n=(0,W._)(["\n        color: ",";\n    "]);return on=function(){return n},n}function oe(){let n=(0,W._)(["\n        color: ",";\n    "]);return oe=function(){return n},n}function ot(){let n=(0,W._)(["\n    letter-spacing: 0.05em;\n    font-weight: 500;\n    ","\n    ","\n"]);return ot=function(){return n},n}function or(){let n=(0,W._)([""]);return or=function(){return n},n}function oo(){let n=(0,W._)([""]);return oo=function(){return n},n}function oi(){let n=(0,W._)([""]);return oi=function(){return n},n}function oa(){let n=(0,W._)(["\n            margin-left: 6px;\n        "]);return oa=function(){return n},n}function os(){let n=(0,W._)(["\n                max-width: 137px;\n            "]);return os=function(){return n},n}function ol(){let n=(0,W._)(["\n        font-family: ",";\n        font-size: 12px !important;\n        ",", "," {\n            margin-left: 6px !important;\n            font-family: ",";\n            letter-spacing: 0.01em;\n        }\n        "," {\n            font-family: ",";\n            font-size: 10px;\n            line-height: 14px;\n            color: "," !important;\n            margin-left: 0 !important;\n            padding-top: 1px !important;\n            letter-spacing: 0.05em;\n            "," {\n                font-weight: 400;\n            }\n        }\n      \n        "," {\n            max-width: 140px;\n            white-space: nowrap;\n            overflow: hidden;\n            font-size: 12px;\n            display: inline-block;\n            line-height: 14px;\n            letter-spacing: 0.01em;\n            color: "," !important;\n            font-family: ",";\n            ","\n        }\n        "," {\n            font-family: ",";\n            font-size: 12px;\n            line-height: 14px;\n            letter-spacing: 0.01em;\n            color: "," !important;\n        }\n    "]);return ol=function(){return n},n}function oc(){let n=(0,W._)(["\n    cursor: pointer;\n    position: relative;\n    display: flex;\n    align-items: center;\n    font-size: 14px;\n    letter-spacing: 0.43px;\n    font-family: ",";\n    outline: none;\n    ",", ",", ",", "," {\n        margin-left: 8px;\n        ","\n    }\n\n    ","\n"]);return oc=function(){return n},n}function ou(){let n=(0,W._)(["\n        color: "," !important;\n    "]);return ou=function(){return n},n}function op(){let n=(0,W._)(["\n                margin-top: 10px;\n            "]);return op=function(){return n},n}function od(){let n=(0,W._)(["\n                    display: none;\n                "]);return od=function(){return n},n}function of(){let n=(0,W._)(["\n            margin-top: 14px !important;\n        "]);return of=function(){return n},n}function om(){let n=(0,W._)(["\n        margin-left: 0 !important;\n        margin-top: 0 !important;\n        font-family: ",";\n        "," {\n            ",";\n        }\n        "," {\n            "," {\n                ","\n            }\n        }\n        ",";\n    "]);return om=function(){return n},n}function og(){let n=(0,W._)(["\n            margin-top: 0;\n        "]);return og=function(){return n},n}function oh(){let n=(0,W._)(["\n        margin-top: 22px;\n        ","\n    "]);return oh=function(){return n},n}function ob(){let n=(0,W._)(["\n        outline: none;\n        &:focus {\n            outline: none;\n        }\n        span.popup-component__tooltiptext_sparq {\n            display: none;\n        }\n    "]);return ob=function(){return n},n}function ox(){let n=(0,W._)(["\n        outline: none !important;\n        margin-top: 22px;\n        margin-left: 32px;\n        &:focus {\n        outline: none;\n        }\n    "]);return ox=function(){return n},n}function oy(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return oy=function(){return n},n}function ow(){let n=(0,W._)(["\n            margin-left: 0;\n        "]);return ow=function(){return n},n}function oS(){let n=(0,W._)(["\n        outline: none;\n        margin-left: 32px;\n        margin-top: 22px;\n        position: relative;\n        ",";\n        ","\n        &:focus {\n            outline: 1px dashed ",";\n        }\n        span.popup-component__tooltiptext_sparq {\n            display: none;\n        }\n    "]);return oS=function(){return n},n}function oC(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return oC=function(){return n},n}function oI(){let n=(0,W._)(["\n        position: relative;\n        margin-left: 16px;\n        display: flex;\n        align-items: center;\n        ","\n        "," {\n            padding-left: 6px;\n        }\n        &:focus {\n            outline: 1px dashed ",";\n        }\n    "]);return oI=function(){return n},n}function ov(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return ov=function(){return n},n}function oT(){let n=(0,W._)(["\n        outline: none;\n        position: relative;\n        margin-left: 27px;\n        display: flex;\n        align-items: center;\n        ","\n        "," {\n            padding-left: 6px;\n        }\n        &:focus {\n            outline: none;\n        }\n    "]);return oT=function(){return n},n}function o_(){let n=(0,W._)(["\n        outline: none;\n        &:focus {\n            outline: none;\n        }\n    "]);return o_=function(){return n},n}function oO(){let n=(0,W._)(["\n            width: 40px;\n            margin-right: 0;\n        "]);return oO=function(){return n},n}function oD(){let n=(0,W._)(["\n        ","\n        ","\n    "]);return oD=function(){return n},n}function oE(){let n=(0,W._)(["\n            width: 44px !important;\n            margin-right: 0;\n        "]);return oE=function(){return n},n}function oA(){let n=(0,W._)(["\n        ","\n        ","\n    "]);return oA=function(){return n},n}function oL(){let n=(0,W._)(["\n        ","\n        &:focus {\n            outline: 1px dashed ",";\n        }\n    "]);return oL=function(){return n},n}function oM(){let n=(0,W._)(["\n            width: auto;\n            height: auto;\n            margin: 12px 0 0 10px;\n            min-width: 44px;\n        "]);return oM=function(){return n},n}function ok(){let n=(0,W._)(["\n                margin-right: 0;\n                margin-left: 0;\n            "]);return ok=function(){return n},n}function oR(){let n=(0,W._)(["\n            margin-right: 15px !important;\n            ",";\n        "]);return oR=function(){return n},n}function oP(){let n=(0,W._)(["\n        ",";\n        ","\n    "]);return oP=function(){return n},n}function oN(){let n=(0,W._)(["\n        display: none !important;\n    "]);return oN=function(){return n},n}function oB(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return oB=function(){return n},n}function oj(){let n=(0,W._)(["\n            margin-left: 0;\n        "]);return oj=function(){return n},n}function oH(){let n=(0,W._)(["\n        margin-left: 16px;\n        position: relative;\n        ",";\n        ","\n    "]);return oH=function(){return n},n}
1function oF(){let n=(0,W._)(["\n        margin-top: 1px !important;\n    "]);return oF=function(){return n},n}function oU(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return oU=function(){return n},n}function oW(){let n=(0,W._)(["\n            margin-left: 0;\n        "]);return oW=function(){return n},n}function oz(){let n=(0,W._)(["\n        margin-left: 16px;\n        position: relative;\n        ",";\n        ","\n        &:focus {\n            outline: 1px dashed ",";\n        }\n    "]);return oz=function(){return n},n}function oY(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return oY=function(){return n},n}function oK(){let n=(0,W._)(["\n            margin-left: 0;\n        "]);return oK=function(){return n},n}function o$(){let n=(0,W._)(["\n        outline: none;\n        height: 100%;\n        margin-left: 32px;\n        position: relative;\n        ",";\n        ","\n        &:focus {\n            outline: 1px dashed ",";\n            & > "," {\n                outline: 1px dashed ",";\n            }\n        }\n    "]);return o$=function(){return n},n}function oG(){let n=(0,W._)(["\n        outline: none;\n        a:focus {\n            outline: 1px dashed ",";\n        }\n        a:hover, span:hover {\n          text-decoration: none !important;\n        }\n    "]);return oG=function(){return n},n}function oV(){let n=(0,W._)(["\n                margin-left: 0px;\n            "]);return oV=function(){return n},n}function oQ(){let n=(0,W._)(["\n        border-left: 1px solid ",";\n        padding-left: 12px !important;\n        margin-left: 18px !important;\n        "," {\n            ","\n        }\n    "]);return oQ=function(){return n},n}function oq(){let n=(0,W._)(["\n        border-right: 1px solid ",";\n        padding-right: 12px !important;\n        margin-right: 2px !important;\n    "]);return oq=function(){return n},n}function oZ(){let n=(0,W._)(["\n            margin-left: 13px !important;\n        "]);return oZ=function(){return n},n}function oJ(){let n=(0,W._)(["\n        &:first-of-type {\n            margin-left: 24px !important;\n        }\n        ","\n    "]);return oJ=function(){return n},n}function oX(){let n=(0,W._)(["\n        width: 40px !important;\n        margin: 0 !important;\n    "]);return oX=function(){return n},n}function o0(){let n=(0,W._)(["\n    ","\n    outline: none;\n    &:focus {\n        outline: none;\n    }\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n\n    ","\n    ","\n\n    ","\n\n    ","\n\n    ","\n\n    ","\n\n    ","\n\n    ","\n\n    ","\n\n    ","\n\n    ","\n\n    ","\n    \n    .Bold {\n        font-family: ",";\n        font-weight: 500;\n    }\n    .Underline {\n        text-decoration: underline;\n    }\n    .Italics {\n        font-style: italic;\n    }\n    .dropshadow {\n        &:hover {\n          box-shadow: rgba(120, 140, 155, 0.7) 0 0 5px;\n        }\n    }\n    .noBlueOutlineOnFocus {\n        outline: none !important;\n        &:focus {\n            outline: none !important;\n        }\n    }\n"]);return o0=function(){return n},n}let o1=z.default.span.withConfig({componentId:"sc-59bd6725-0"})(nP(),n=>{let{$styledprop:e}=n;return i()(e,"borderColor")&&(0,z.css)(nx(),Y.colors["primary"===i()(e,"borderColor")?"brand":i()(e,"borderColor")],Y.colors["primary"===i()(e,"borderColor")?"brand":i()(e,"borderColor")])},n=>{let{$styledprop:e}=n;return i()(e,"dotcomsubTextMenuItem")&&(0,z.css)(nS(),ng.typography.type.motiva,(i()(e,"subTextMenuItemClick")||i()(e,"subTextMenuItems"))&&(0,nh.Nv)("md",(0,z.css)(ny())),(i()(e,"subTextMenuItemClick")||i()(e,"subTextMenuItems"))&&(0,nh.Nv)("lg",(0,z.css)(nw(),ng.typography.type.motiva)))},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemClickSBAAlongWithCoLogo")&&(0,z.css)(nC())},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemClickSBA")&&(0,z.css)(nI())},n=>{let{$styledprop:e}=n;return i()(e,"hiTouchSubTextMenuItemClick")&&(0,z.css)(nT(),ng.typography.type.motiva_light,Y.colors.hitouch_orange,(0,nh.Nv)("md",(0,z.css)(nv())),o2)},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemClick")&&(0,z.css)(nO(),ng.typography.type.motiva_light,(0,nh.Nv)("md",(0,z.css)(n_())),o2)},n=>{let{$styledprop:e}=n;return(i()(e,"subTextMenuItems")||i()(e,"hitSubTextMenuItems"))&&(0,z.css)(nE(),i()(e,"dotcomsubTextMenuItem")?12:14,ng.typography.type.motiva_light,(0,nh.Nv)("md",(0,z.css)(nD())))},n=>{let{$styledprop:e}=n;return i()(e,"hitSubTextMenuItems")&&(0,z.css)(nA(),Y.colors.link_blue)},n=>{let{$styledprop:e}=n;return!i()(e,"subHeader")&&(0,z.css)(nL())},n=>{let{$styledprop:e}=n;return i()(e,"addUnderline")&&(0,z.css)(nM())},n=>{let{$styledprop:e}=n;return i()(e,"removeUnderline")&&(0,z.css)(nk())},n=>{let{$styledprop:e}=n;return i()(e,"primaryHeaderHeadliner")&&(0,z.css)(nR())}),o2=z.default.span.withConfig({componentId:"sc-59bd6725-1"})(nN()),o6=z.default.div.withConfig({componentId:"sc-59bd6725-2"})(nB(),ng.typography.type.motiva_medium),o4=z.default.div.withConfig({componentId:"sc-59bd6725-3"})(nH(),n=>{let{$styledprop:e}=n;return i()(e,"fontColor")&&(0,z.css)(nj(),Y.colors["primary"===i()(e,"fontColor")?"brand":i()(e,"fontColor")
1])}),o5=z.default.span.withConfig({componentId:"sc-59bd6725-4"})(nW(),Y.colors.white,(0,nh.Nv)("md",(0,z.css)(nF())),n=>{let{$styledprop:e}=n;return i()(e,"invertedIconBorder")&&(0,z.css)(nU(),Y.colors.black)}),o3=z.default.span.withConfig({componentId:"sc-59bd6725-5"})(nz(),Y.colors.brand,Y.colors.black),o8=z.default.div.withConfig({componentId:"sc-59bd6725-6"})(nK(),ng.typography.type.motiva_light,(0,nh.Nv)("md",(0,z.css)(nY())),o2,n=>{let{$styledprop:e}=n;return i()(e,"isEmptyZipCodeDrawer")?Y.colors.brand:Y.colors.black}),o7=z.default.span.withConfig({componentId:"sc-59bd6725-7"})(nV(),n=>{let{$styledprop:e}=n;return i()(e,"sbaHamburgerIconBorder")&&(0,z.css)(n$())},n=>{let{$styledprop:e}=n;return i()(e,"invertedIconBorder")&&(0,z.css)(nG(),Y.colors.black)}),o9=z.default.span.withConfig({componentId:"sc-59bd6725-8"})(n9(),n=>{let{$styledprop:e}=n;return i()(e,"menuItemIconWithText")&&(0,z.css)(nq(),(0,nh.Nv)("sm",(0,z.css)(nQ())))},n=>{let{$styledprop:e}=n;return(i()(e,"sbaMenuItemIcon")||i()(e,"dotcomMenuItemIcon"))&&(0,z.css)(nZ())},n=>{let{$styledprop:e}=n;return i()(e,"textDestionationMenuRight")&&(0,z.css)(nJ())},n=>{let{$styledprop:e}=n;return(i()(e,"textDestionationMenuRight")||i()(e,"textDestionationMenu"))&&(0,z.css)(n1(),(0,nh.Nv)("md",(0,z.css)(nX())),(0,nh.FI)((0,z.css)(n0())))},n=>{let{$styledprop:e}=n;return i()(e,"primaryHeadliner")&&(0,z.css)(n2())},n=>{let{$styledprop:e}=n;return i()(e,"rightTopContentWithTextmenu")&&(0,z.css)(n4(),(0,nh.Nv)("md",(0,z.css)(n6())))},n=>{let{$styledprop:e}=n;return i()(e,"hiTouchTopleftwithIcon")&&(0,z.css)(n3(),Y.colors.ink_blue,(0,nh.Nv)("sm",(0,z.css)(n5())))},n=>{let{$styledprop:e}=n;return i()(e,"topleftwithIcon")&&(0,nh.Nv)("sm",(0,z.css)(n8()))},n=>{let{$styledprop:e}=n;return i()(e,"toprighttextMenu")&&(0,z.css)(n7())}),ie=z.default.div.withConfig({componentId:"sc-59bd6725-9"})(ef(),n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItem")&&(0,z.css)(ee(),ng.typography.type.motiva_light,(0,nh.Nv)("md",(0,z.css)(en())),o2)},n=>{let{$styledprop:e}=n;return i()(e,"newSAHeader")&&(0,z.css)(et())},n=>{let{$styledprop:e}=n;return i()(e,"textMenuItem")&&(0,z.css)(eo(),ng.typography.type.motiva_medium,o1,!i()(e,"subHeader")&&(0,z.css)(er()),o2)},n=>{let{$styledprop:e}=n;return i()(e,"dotcomtextMenuItem")&&(0,z.css)(el(),ng.typography.type.motiva,o2,o1,!i()(e,"subHeader")&&(0,z.css)(ei()),o2,(0,nh.Ys)((0,z.css)(ea())),(0,nh.Fd)((0,z.css)(es())))},n=>{let{$styledprop:e}=n;return i()(e,"rewardsSubTextMenuItem")&&(0,z.css)(eu(),o1,(i()(e,"subTextMenuItems")||i()(e,"subTextMenuItemClick"))&&(0,z.css)(ec(),Y.colors.black))},n=>{let{$styledprop:e}=n;return i()(e,"hiTouchSubTextMenuItem")&&(0,z.css)(ed(),ng.typography.type.motiva_light,(0,nh.Nv)("md",(0,z.css)(ep())),o2,Y.colors.link_blue)}),it=z.default.div.withConfig({componentId:"sc-59bd6725-10"})(eL(),Y.colors.black,n=>{let{$styledprop:e}=n;return i()(e,"drawerComponentWrapper")&&(0,z.css)(em())},n=>{let{$styledprop:e}=n;return i()(e,"drawerComponentWrapper")&&i()(e,"drawerComponentWrapperActive")&&(0,z.css)(eg())},n=>{let{$styledprop:e}=n;return i()(e,"dotcomCartMenuWrapper")&&(0,z.css)(eb(),(0,nh.Fd)((0,z.css)(eh())))},n=>{let{$styledprop:e}=n;return i()(e,"flyoutComponentWrapper")&&(0,z.css)(eE(),(0,nh.Nv)("sm",(0,z.css)(ex())),(0,nh.Nv)("xs",(0,z.css)(ey())),(0,nh.Nv)("xxs",(0,z.css)(ew())),i()(e,"flyoutComponentWrapperActive")&&(0,z.css)(eS()),Y.colors.white,Y.colors.black,i()(e,"flyoutComponentWrapperActive")&&(0,z.css)(eC()),nm.BREAKPOINTS.md,(0,nh.Nv)("md",(0,z.css)(eI())),nm.BREAKPOINTS.sm+1,i()(e,"flyoutComponentWrapperActive")&&(0,z.css)(ev()),i()(e,"ideasWrapper")&&(0,z.css)(e_(),(0,nh.Nv)("md",(0,z.css)(eT()))),i()(e,"worklifeflyoutWrapper")&&(0,z.css)(eO()),Y.colors.white,nm.BREAKPOINTS.md,i()(e,"subheaderWrapper")&&(0,z.css)(eD()))},n=>{let{$styledprop:e}=n;return i()(e,"defaultOpenMenu")&&(0,z.css)(eA())}),ir=z.default.div.withConfig({componentId:"sc-59bd6725-11"})(ek(),Y.colors.white,n=>{let{$styledprop:e}=n;return i()(e,"isOrdersMegaMenu")&&(0,z.css)(eM())}),io=z.default.div.withConfig({componentId:"sc-59bd6725-12"})(eR()),ii=z.default.span.withConfig({componentId:"sc-59bd6725-13"})(eW(),n=>{let{$styledprop:e}=n;return i()(e,"borderColor")&&(0,z.css)(eP(),Y.colors["primary"===i()(e,"borderColor")?"brand":i()(e,"borderColor")],Y.colors["primary"===i()(e,"borderColor")?"brand":i()(e,"borderColor")])},n=>{let{$styledprop:e}=n;return i()(e,"newSAHeader")&&(0,z.css)(eN())},n=>{let{$styledprop:e}=n;return i()(e,"subHeaderIcon")&&(0,z.css)(eB())},n=>{let{$styledprop:e}=n;return i()(e,"clickdropshadowIcon")&&(0,z.css)(ej(),o4)},n=>{let{$styledprop:e}=n;return i()(e,"mobileHide")&&i()(e,"iconDropDownRight")&&(0,z.css)(eH())},n=>{let{$styledprop:e}=n;
1return!i()(e,"accountIcon")&&!i()(e,"isCartMenu")&&i()(e,"comMenuItemIcon")&&(i()(e,"iconDropDownRight")||i()(e,"clickdropshadowIcon"))&&(0,nh.Nv)("lg",(0,z.css)(eF(),o4))},n=>{let{$styledprop:e}=n;return(i()(e,"isCartMenu")||i()(e,"accountIcon"))&&i()(e,"comMenuItemIcon")&&i()(e,"clickdropshadowIcon")&&(0,nh.Nv)("lg",(0,z.css)(eU()))}),ia=(0,z.css)(ez(),Y.colors.white,Y.colors.white,Y.colors.white,Y.colors.black,ng.typography.type.motiva_medium),is=(0,z.css)(eY()),il=z.default.span.withConfig({componentId:"sc-59bd6725-14"})(eZ(),(0,nh.Fd)((0,z.css)(eK())),n=>{let{$styledprop:e}=n;return(i()(e,"hitCartMenuItems")||i()(e,"cartMenuItemsCountClick")||i()(e,"cartMenuItemsCount")||i()(e,"cartMenuItems"))&&ia},n=>{let{$styledprop:e}=n;return(i()(e,"hitCartMenuItems")||i()(e,"cartMenuItemsCountClick")||i()(e,"cartMenuItemsCount")||i()(e,"cartMenuItems"))&&is},n=>{let{$styledprop:e}=n;return(i()(e,"cartMenuItemsClick")||i()(e,"cartMenuItemsCountClick"))&&(0,z.css)(e$())},n=>{let{$styledprop:e}=n;return i()(e,"cartMenuItemClicked")&&(0,z.css)(eV(),(0,nh.Nv)("lg",(0,z.css)(eG())))},n=>{let{$styledprop:e}=n;return(i()(e,"cartMenuItemsCountClick")||i()(e,"cartMenuItemsCount"))&&(0,z.css)(eQ())},n=>{let{$styledprop:e}=n;return i()(e,"hitCartMenuItems")&&(0,z.css)(eq(),Y.colors.black)}),ic=z.default.span.withConfig({componentId:"sc-59bd6725-15"})(e4(),n=>{let{$styledprop:e}=n;return(i()(e,"cartMenuItemsCountClick")||i()(e,"cartMenuItemsCount")||i()(e,"cartMenuItems"))&&ia},n=>{let{$styledprop:e}=n;return(i()(e,"cartMenuItemsClick")||i()(e,"cartMenuItemsCountClick"))&&(0,z.css)(eJ())},n=>{let{$styledprop:e}=n;return i()(e,"cartMenuItemClicked")&&(0,z.css)(e2(),(0,nh.Nv)("lg",(0,z.css)(eX())),(0,nh.Nv)("md",(0,z.css)(e0())),(0,nh.FI)((0,z.css)(e1())))},n=>{let{$styledprop:e}=n;return(i()(e,"cartMenuItemsCountClick")||i()(e,"cartMenuItemsCount"))&&(0,z.css)(e6())}),iu=z.default.span.withConfig({componentId:"sc-59bd6725-16"})(tc(),n=>{let{$styledprop:e}=n;return i()(e,"fontColor")&&(0,z.css)(e5(),Y.colors["primary"===i()(e,"fontColor")?"brand":i()(e,"fontColor")])},n=>{let{$styledprop:e}=n;return i()(e,"borderColor")&&(0,z.css)(e3(),Y.colors["primary"===i()(e,"borderColor")?"brand":i()(e,"borderColor")],Y.colors["primary"===i()(e,"borderColor")?"brand":i()(e,"borderColor")])},n=>{let{$styledprop:e}=n;return i()(e,"textPositionOnClick")&&(0,z.css)(e8())},n=>{let{$styledprop:e}=n;return i()(e,"dotcomsubTextMenuItem")&&(0,z.css)(tn(),ng.typography.type.motiva,i()(e,"subTextMenuItemClick")&&(0,nh.Nv)("lg",(0,z.css)(e7(),ng.typography.type.motiva)),i()(e,"subTextMenuItemClick")&&(0,nh.Nv)("md",(0,z.css)(e9())))},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemClickSBAAlongWithCoLogo")&&(0,z.css)(te())},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemClickSBA")&&(0,z.css)(tt())},n=>{let{$styledprop:e}=n;return i()(e,"hiTouchSubTextMenuItemClick")&&(0,z.css)(to(),ng.typography.type.motiva_light,Y.colors.hitouch_orange,(0,nh.Nv)("md",(0,z.css)(tr())),o2)},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemClick")&&(0,z.css)(ta(),ng.typography.type.motiva_light,(0,nh.Nv)("md",(0,z.css)(ti())),o2)},n=>{let{$styledprop:e}=n;return i()(e,"comMenuItemIcon")&&(i()(e,"iconDropDownRight")||i()(e,"clickdropshadowIcon"))&&(0,nh.Nv)("lg",(0,z.css)(ts(),o4))},n=>{let{$styledprop:e}=n;return i()(e,"comMenuItemIcon")&&i()(e,"textPositionOnClick")&&(0,z.css)(tl())}),ip=z.default.span.withConfig({componentId:"sc-59bd6725-17"})(tm(),n=>{let{$styledprop:e}=n;return(i()(e,"hitCartMenuItems")||i()(e,"cartMenuItems"))&&ia},n=>{let{$styledprop:e}=n;return i()(e,"cartMenuItemsClick")&&(0,z.css)(tu())},n=>{let{$styledprop:e}=n;return i()(e,"cartMenuItemClicked")&&(0,z.css)(td(),(0,nh.Nv)("lg",(0,z.css)(tp())))},n=>{let{$styledprop:e}=n;return i()(e,"hitCartMenuItems")&&(0,z.css)(tf(),Y.colors.black)}),id=n=>(0,z.css)(th(),ng.typography.type.motiva,iu,i()(n,"subTextPosition")&&(0,z.css)(tg(),ng.typography.type.motiva)),im=n=>(0,z.css)(tw(),ng.typography.type.motiva_light,iu,i()(n,"subTextPosition")&&(0,z.css)(tx(),(0,nh.Nv)("md",(0,z.css)(tb()))),iu,i()(n,"subTextPosition")&&(0,z.css)(ty(),Y.colors.link_blue),Y.colors.link_blue),ig=n=>(0,z.css)(tL(),iu,!i()(n,"subTextPosition")&&(0,z.css)(tS()),o7,(i()(n,"mainHeaderTextBorder")||i()(n,"mainHeaderIconBorder")||i()(n,"mainHeaderCartIconBorder"))&&(0,z.css)(tC(),Y.colors.white),i()(n,"mainHeaderIconBorder")&&(0,z.css)(tT(),(0,nh.FI)(i()(n,"sbaHamburgerIconBorder")?(0,z.css)(tI()):(0,z.css)(tv()))),i()(n,"sbaUserIconBorder")&&(0,z.css)(tO(),(0,nh.Ys)((0,z.css)(t_()))),i()(n,"mainHeaderCartIconBorder")&&(0,z.css)(tE(),(0,nh.FI)((0,z.css)(tD()))),i()(n,"invertedIconBorder")&&(0,z.css)(tA(),Y.colors.black)),ih=n=>(0,z.css)(tU(),(0,nh.Nv)("md",(0,z.css)(tM())),iE,i()(n,"cartBubbleIcon")&&(0,z.css)(tk()),iE,!i()(n,"cartBubbleIcon")&&(0,z.css)(tR(),Y.colors.black),i()(n,"cartMenuItemIcon")&&i()(n,"clickdropshadowIcon")&&i()(n,"cartBubbleIcon")&&(0,z.css)(tP(),ii,Y.colors.black),(0,nh.Nv)("lg",(0,z.css)(tN())),(0,nh.Nv)("md",(0,z.css)(tB())),o7,i()(n,"mainHeaderIconBorder")&&(0,z.css)(tF(),(0,nh.Ys)((0,z.css)(tj())
1),(0,nh.FI)((0,z.css)(tH()))),ig(n)),ib=n=>(0,z.css)(t$(),i()(n,"dotcomtextMenuItemWrapper")&&(0,z.css)(tK(),(0,nh.FI)((0,z.css)(tW())),o7,i()(n,"mainHeaderIconBorder")&&(0,z.css)(tY(),(0,nh.FI)((0,z.css)(tz())))),ig(n)),ix=n=>(0,z.css)(tQ(),ng.typography.type.motiva_light,iu,i()(n,"subTextPosition")&&(0,z.css)(tV(),(0,nh.Nv)("md",(0,z.css)(tG())))),iy=n=>(0,z.css)(t1(),iu,!i()(n,"subTextPosition")&&(0,z.css)(tq()),(0,nh.Nv)("lg",(0,z.css)(tX(),iE,i()(n,"dotcomobilehide")&&(0,z.css)(tJ(),ii,i()(n,"dotcomobilehide")&&(0,z.css)(tZ(),o4)))),o7,i()(n,"mainHeaderTextBorder")&&(0,z.css)(t0()),ig(n)),iw=n=>(0,z.css)(t5(),(0,nh.FI)((0,z.css)(t2())),iu,!i()(n,"subTextPosition")&&(0,z.css)(t4(),(0,nh.Nv)("sm",(0,z.css)(t6()))),ig(n)),iS=n=>(0,z.css)(re(),(0,nh.FI)((0,z.css)(t3())),i()(n,"comMenuItemIcon")&&(0,z.css)(rn(),(0,nh.Nv)("lg",(0,z.css)(t8())),o7,i()(n,"mainHeaderIconBorder")&&(0,z.css)(t9(),(0,nh.Nv)("md",(0,z.css)(t7()))))),iC=(0,z.css)(rt()),iI=n=>(0,z.css)(rm(),iC,i()(n,"comMenuItemIcon")&&(0,z.css)(rl(),(0,nh.Nv)("lg",(0,z.css)(rr())),(0,nh.Nv)("md",(0,z.css)(ro())),o7,i()(n,"mainHeaderIconBorder")&&(0,z.css)(rs(),(0,nh.Ys)((0,z.css)(ri())),(0,nh.FI)((0,z.css)(ra())))),(0,nh.Nv)("sm",(0,z.css)(rc())),iE,i()(n,"cartBubbleIcon")&&(0,z.css)(rp(),ii,i()(n,"iconDropDownRight")&&(0,z.css)(ru())),iE,(i()(n,"cartBubbleIcon")||i()(n,"mobileHide"))&&(0,z.css)(rf(),ii,i()(n,"iconDropDownRight")&&(0,z.css)(rd(),Y.colors.black))),iv=n=>(0,z.css)(rx(),iC,(0,nh.FI)((0,z.css)(rg())),o7,i()(n,"mainHeaderIconBorder")&&(0,z.css)(rb(),(0,nh.FI)((0,z.css)(rh())))),iT=n=>(0,z.css)(rS(),iC,(0,nh.FI)((0,z.css)(ry())),i()(n,"comMenuItemIcon")&&(0,nh.Nv)("lg",(0,z.css)(rw()))),i_=(0,z.css)(rI(),(0,nh.Nv)("sm",(0,z.css)(rC()))),iO=(0,z.default)(nb.default).withConfig({componentId:"sc-59bd6725-18"})(r_(),n=>{let{$styledprop:e}=n;return i()(e,"rightIconPositionDropShadowClick")&&ih(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightIconPositionClick")&&ib(e)},n=>{let{$styledprop:e}=n;return i()(e,"dotcomiconPositionClick")&&iy(e)},n=>{let{$styledprop:e}=n;return i()(e,"iconPositionClick")&&iw(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightmenuItemsClick")&&iS(e)},n=>{let{$styledprop:e}=n;return i()(e,"dotcomIconPosition")&&id(e)},n=>{let{$styledprop:e}=n;return i()(e,"hiTouchSubIconPosition")&&im(e)},n=>{let{$styledprop:e}=n;return i()(e,"subIconPosition")&&ix(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightIconPositionDropShadow")&&iI(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightmenuItems")&&i_},n=>{let{$styledprop:e}=n;return i()(e,"rightIconPosition")&&iv(e)},n=>{let{$styledprop:e}=n;return i()(e,"iconPosition")&&iT(e)},n=>{let{$styledprop:e}=n;return i()(e,"comMenuItemIconOnly")&&(0,z.css)(rT(),(0,nh.Nv)("lg",(0,z.css)(rv())))}),iD=z.default.div.withConfig({componentId:"sc-59bd6725-19"})(rE(),n=>{let{$styledprop:e}=n;return i()(e,"rightIconPositionDropShadowClick")&&ih(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightIconPositionClick")&&ib(e)},n=>{let{$styledprop:e}=n;return i()(e,"dotcomiconPositionClick")&&iy(e)},n=>{let{$styledprop:e}=n;return i()(e,"iconPositionClick")&&iw(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightmenuItemsClick")&&iS(e)},n=>{let{$styledprop:e}=n;return i()(e,"dotcomIconPosition")&&id(e)},n=>{let{$styledprop:e}=n;return i()(e,"hiTouchSubIconPosition")&&im(e)},n=>{let{$styledprop:e}=n;return i()(e,"subIconPosition")&&ix(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightIconPositionDropShadow")&&iI(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightmenuItems")&&i_},n=>{let{$styledprop:e}=n;return i()(e,"rightIconPosition")&&iv(e)},n=>{let{$styledprop:e}=n;return i()(e,"iconPosition")&&iT(e)},n=>{let{$styledprop:e}=n;return i()(e,"comMenuItemIconOnly")&&(0,z.css)(rD(),(0,nh.Nv)("lg",(0,z.css)(rO())))}),iE=z.default.div.withConfig({componentId:"sc-59bd6725-20"})(rq(),n=>{let{$styledprop:e}=n;return i()(e,"rewardsSubIconText")&&(0,z.css)(rL(),iu,ii,i()(e,"subTextPosition")&&(0,z.css)(rA(),Y.colors.black))},n=>{let{$styledprop:e}=n;return i()(e,"dotcomwithoutText")&&(0,z.css)(rM())},n=>{let{$styledprop:e}=n;return i()(e,"mobileHide")&&(0,z.css)(rP(),ii,i()(e,"iconDropDownRight")&&(0,z.css)(rk(),o4),(0,nh.Fd)((0,z.css)(rR())))},n=>{let{$styledprop:e}=n;return(i()(e,"dotcomobilehide")||i()(e,"dotcomobiledropshadowHide"))&&(0,z.css)(rF(),(0,nh.Nv)("lg",(0,z.css)(rj(),i()(e,"comMenuItemIcon")&&(0,z.css)(rB(),o7,i()(e,"mainHeaderIconBorder")&&(0,z.css)(rN())))),iu,i()(e,"textPositionOnClick")&&(0,z.css)(rH()))},n=>{let{$styledprop:e}=n;return i()(e,"comMenuItemIcon")&&(0,z.css)(r$(),i()(e,"cartBubbleIcon")&&(0,z.css)(rz(),ii,i()(e,"iconDropDownRight")&&(0,z.css)(rU()),o7,i()(e,"mainHeaderIconBorder")&&(0,nh.Ys)((0,z.css)(rW()))),i()(e,"accountIcon")&&(0,z.css)(rK(),o7,i()(e,"mainHeaderIconBorder")&&(0,nh.Ys)((0,z.css)(rY()))))},n=>{let{$styledprop:e}=n;return i()(e,"dotcomobilehide")&&(0,z.css)(rG())},n=>{let{$styledprop:e}=n;return i()(e,"dotcomobiledropshadowHide")&&(0,z.css)(rQ(),o7,i()(e,"dotcomobiledropshadowHide")&&(0,z.css)(rV()))}),iA=(0,z.css)(rZ(),ng.typography.type.motiva),iL=(0,z.css)(rJ(),ng.typography.type.motiva),iM=z.default.div.withConfig({componentId:"sc-59bd6725-21"})(rX()),ik=(0,z.css)(r2(),Y.colors.black,(0,nh.Nv)("sm",(0,z.css)(r0())),(0,nh.Fd)((0,z.css)(r1()))),iR=z.default.span.withConfig({componentId:"sc-59bd6725-22"})(r5(),n=>{let{$styledprop:e}=n;return i()(e,"iconOpen")&&(0,z.css)(r6(),i()(e,"isCom")?i()(e,"closingSoon")?Y.colors.medium_orange_2:Y.colors.medium_forest_1:"#96C93F")},n=>{let{$styledprop:e}=n;return!i()(e,"iconOpen")&&(0,z.css)(r4(),i()(e,"isCom")?Y.colors.negative:Y.colors.brand)}),iP=z.default.span.withConfig({componentId:"sc-59bd6725-23"})(r3()),iN=z.default.span.withConfig({componentId:"sc-59bd6725-24"})(r8()),iB=z.default.span.withConfig({componentId:"sc-59bd6725-25"})(r7()),ij=z.default.div.withConfig({componentId:"sc-59bd6725-26"})(r9()),iH=z.default.span.withConfig({componentId:"sc-59bd6725-27"})(ot(),n=>{let{$styledprop:e}=n;return i()(e,"storeOpenText")&&(0,z.css)(on(),i()(e,"closingSoon")?Y.colors.medium_orange_2:Y.colors.medium_forest_1)},n=>{let{$styledprop:e}=n;return i()(e,"storeClosedText")&&(0,z.css)(oe(),Y.colors.negative)}),iF=z.default.span.withConfig({componentId:"sc-59bd6725-28"})(or()),iU=z.default.span.withConfig({componentId:"sc-59bd6725-29"})(oo()),iW=z.default.span.withConfig({componentId:"sc-59bd6725-30"})(oi()),iz=z.default.div.withConfig({componentId:"sc-59bd6725-31"})(oc(),ng.typography.type.motiva_light,iP,ij,iU,iW,(0,nh.Nv)("md",(0,z.css)(oa())),n=>{let{$styledprop:e}=n;return i()(e,"dotcomIconPosition")&&(0,z.css)(ol(),ng.typography.type.motiva,iP,ij,ng.typography.type.motiva,ij,ng.typography.type.motiva,Y.colors.black,iF,iN,Y.colors.black,ng.typography.type.motiva,(0,nh.Nv)("md",(0,z.css)(os())),iB,ng.typography.type.motiva,Y.colors.black)}),iY=z.default.div.withConfig({componentId:"sc-59bd6725-32"})(o0(),n=>{let{$styledprop:e}=n;return i()(e,"color")&&(0,z.css)(ou(),Y.colors["primary"===i()(e,"color")?"brand":i()(e,"color")])},n=>{let{$styledprop:e}=n;return i()(e,"dotcomtextMenuItemWrapper")&&(0,z.css)(om(),ng.typography.type.motiva,o5,(0,nh.Ys)((0,z.css)(op())),ie,o2,!i()(e,"subHeader")&&(0,nh.Fd)((0,z.css)(od())),i()(e,"addHover
1Effect")&&(0,nh.Ys)((0,z.css)(of())))},n=>{let{$styledprop:e}=n;return i()(e,"addHoverEffect")&&(0,z.css)(oh(),(0,nh.FI)((0,z.css)(og())))},n=>{let{$styledprop:e}=n;return i()(e,"menuItemFlyoutOpen")&&(0,z.css)(ob())},n=>{let{$styledprop:e}=n;return i()(e,"textMenuItemDestinationMenu")&&(0,z.css)(ox())},n=>{let{$styledprop:e}=n;return i()(e,"textMenuItemWrapperClick")&&(0,z.css)(oS(),(0,nh.Nv)("md",(0,z.css)(oy())),(0,nh.FI)((0,z.css)(ow())),Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"subMenuItemIconWithText")&&(0,z.css)(oI(),(0,nh.Nv)("md",(0,z.css)(oC())),o2,Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"menuItemIconWithText")&&(0,z.css)(oT(),(0,nh.Nv)("md",(0,z.css)(ov())),o2)},n=>{let{$styledprop:e}=n;return i()(e,"sbaMenuItemIcon")&&ik},n=>{let{$styledprop:e}=n;return i()(e,"leftMenuItemIcon")&&(0,z.css)(o_())},n=>{let{$styledprop:e}=n;return i()(e,"dotcomMenuItemIcon")&&(0,z.css)(oD(),ik,(0,nh.FI)((0,z.css)(oO())))},n=>{let{$styledprop:e}=n;return i()(e,"dotcomMenuCartItemIcon")&&(0,z.css)(oA(),ik,(0,nh.FI)((0,z.css)(oE())))},n=>{let{$styledprop:e}=n;return i()(e,"menuItemIcon")&&(0,z.css)(oL(),ik,Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"comMenuItemIcon")&&(0,z.css)(oP(),(0,nh.Nv)("lg",(0,z.css)(oM())),i()(e,"cartMenuItemIcon")&&(0,z.css)(oR(),(0,nh.Nv)("sm",(0,z.css)(ok()))))},n=>{let{$styledprop:e}=n;return i()(e,"hideInSmallBucket")&&(0,nh.FI)((0,z.css)(oN()))},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemWrapperClick")&&(0,z.css)(oH(),(0,nh.Nv)("md",(0,z.css)(oB())),(0,nh.FI)((0,z.css)(oj())))},n=>{let{$styledprop:e}=n;return(i()(e,"subHeaderDotcomTextDestinationMenu")||i()(e,"dotcomTextDestinationMenuWithIcon"))&&(0,z.css)(oF())},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemWrapper")&&(0,z.css)(oz(),(0,nh.Nv)("md",(0,z.css)(oU())),(0,nh.FI)((0,z.css)(oW())),Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"textMenuItemWrapper")&&(0,z.css)(o$(),(0,nh.Nv)("md",(0,z.css)(oY())),(0,nh.FI)((0,z.css)(oK())),Y.colors.black,ie,Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"addLinkHover")&&(0,z.css)(oG(),Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"leftDivider")&&(0,z.css)(oQ(),Y.colors.neutral_gray,o9,i()(e,"leftDivider")&&(0,nh.Nv)("md",(0,z.css)(oV())))},n=>{let{$styledprop:e}=n;return i()(e,"rightDivider")&&(0,z.css)(oq(),Y.colors.neutral_gray)},n=>{let{$styledprop:e}=n;return i()(e,"dotcomsubTextMenuWrapper")&&(0,z.css)(oJ(),(0,nh.Ys)((0,z.css)(oZ())))},n=>{let{$styledprop:e}=n;return i()(e,"sbaHamburgerMenuIcon")&&(0,z.css)(oX())},ng.typography.type.motiva_medium),iK=n=>"".concat(n,"_").concat(Math.floor(9e4*Math.random()+1e4)),i$=R()(()=>Promise.all([t.e(3701),t.e(1188),t.e(2859),t.e(3702),t.e(4853),t.e(1667),t.e(8653),t.e(8683),t.e(7360),t.e(8507),t.e(3753),t.e(2724),t.e(8101),t.e(5867),t.e(9182),t.e(1376),t.e(5666),t.e(7037),t.e(1780),t.e(1585)]).then(t.bind(t,72409)),{loadableGenerated:{webpack:()=>[72409]}}),iG=R()(()=>Promise.all([t.e(6219),t.e(7517),t.e(4926)]).then(t.bind(t,54648)),{loadableGenerated:{webpack:()=>[54648]}}),iV=(n,e)=>{try{F.Z.invokeAdapter({methodType:e?"storeState":"navTrack",model:n||{},headerType:"UX2"})}catch(n){console.error("exception in navigation text menu Analytics",n)}},iQ=(n,e,t,r,o)=>{let a=o&&i()(o,"address.city",""),s=o&&i()(o,"address.state","");void 0!==n&&n.stopPropagation&&n.stopPropagation();let l=[],[{actionType:c}]=(0,U.v2)(e),u="STORE-LOCATOR"===B.Qoz[c];c&&"CART"===B.Qoz[c]?l.push("Mini Cart"):l.push((0,U.zy)(e)||i()(e,"headliner.headlinertext","")||e.ariaLabel||i()(e,"navTextData.ariaLabel",""));let p={type:"HEADER",headerType:"UX2",value:l,link:i()(e,"destinationReplaceURL","")||i()(e,"destinationURL","")||""};if(t&&(p.headerVersion="mobile"),u){let n={type:"SET_STORE",payload:{setstore:!!r,text:a&&s?"".concat(a,", ").concat(s):"Store"}};iV(n,u);return}iV(p)},iq=n=>n&&n.length>0?n.map((n,e)=>(0,r.jsx)(H.Z,{headliner:n},e)):[],iZ=(n,e)=>{let t=t=>{if(!(0,U.G5)(t))return;let r=Array.from(e.querySelectorAll('button:not([tabindex="-1"]), a:not([tabindex="-1"]), input:not([tabindex="-1"]), select, textarea, * [tabindex]:not
1([tabindex="-1"]):not([class*="ps__thumb"])'));if(r.length>0&&n){let n=r[0],e=r[r.length-1];if(t.shiftKey){if(document.activeElement===n)e.focus(),t.preventDefault();else if(!t.isTrusted){let n=r.indexOf(document.activeElement);n>-1&&r[n-1]&&r[n-1].focus()}}else if(document.activeElement===e)n.focus(),t.preventDefault();else if(!t.isTrusted){let n=r.indexOf(document.activeElement);n>-1&&r[n+1]&&r[n+1].focus()}}};return e&&e.addEventListener("keydown",t,!0),()=>{e&&e.removeEventListener("keydown",t,!0)}},iJ=n=>{let{topRightContent:e,menuItem:t,fontColor:o,subHeader:i,subFontHoverColor:s,renderComponent:l,sbaCartCount:c,siteVariables:u,messageCountSba:p,breakpoint:d,routeDetails:f,accountInfo:m,dotcomCartCount:g,appendActiveClass:h,cologoExists:b,customerName:x,isLogoOnlyHeader:y,newSAHeader:w}=n,{icon:S,headliner:I,destinationURL:v,destinationReplaceURL:T,targetWindow:_,treatmentType:O,iconOverridesByGroup:D,design:E}=t,[{actionType:A,actionIcon:L}]=(0,U.v2)(t),M="CART"===B.Qoz[A],k="MOBILE-MENU"===B.Qoz[A],R="MESSAGES"===B.gsc[L],N="CART"===B.Qoz[A],j=f&&f.isWhiteLabel,H=(f&&f.routeId)===B.cVK,F=(f&&f.routeType)===B.o27,W=iq(I),z=!C()(D)&&(0,U.N8)({iconOverridesByGroup:D,accountInfo:m,customerName:x}),Y=B.JDr[E],K="ONE"===Y||"WORKLIFE"===Y||"IDEAS"===Y||"DYNAMIC-FLYOUT-BAR"===Y||"DEALS"===Y||"TEXT-LIST"===Y||"MOBILE"==Y||"REWARDS-TEXT-MENU"===Y||"FEATURED-IMAGE-1"===Y||"ORDERS-API-MEGA-MENU"===Y,$=(f&&f.routeId)===B.cVK,G=S&&!i&&u.isCOM,V=z||S,{isLoggedIn:Q}=m,q={mainHeaderCartIconBorder:C()(W)&&M&&u.isSBA,mainHeaderIconBorder:C()(W)&&(!M||!u.isSBA),mainHeaderTextBorder:!C()(W),sbaUserIconBorder:C()(W)&&u.isSBA&&(!k||!("sm"===d||"xs"===d)),invertedIconBorder:H||F,sbaHamburgerIconBorder:C()(W)&&u.isSBA&&k&&("sm"===d||"xs"===d),dotcomtextMenuItemWrapper:u.isCOM&&!e},Z={dotcomsubTextMenuItem:u.isCOM&&i,subTextMenuItemClickSBAAlongWithCoLogo:i&&u.isSBA&&b,subTextMenuItemClickSBA:i&&u.isSBA&&!b,subTextPosition:i,textPositionOnClick:!i,hiTouchSubTextMenuItemClick:i&&K&&h&&H,subTextMenuItemClick:i&&K&&h&&!H,borderColor:(!h&&"DYNAMIC-FLYOUT-BAR"===Y||i&&K&&h)&&s,fontColor:!h&&!i&&"DYNAMIC-FLYOUT-BAR"!==Y&&o,comMenuItemIcon:G},J={rewardsSubIconText:"DYNAMIC-FLYOUT-BAR"===Y,dotcomobiledropshadowHide:w||u.isCOM&&!M&&!i&&!C()(W)&&"dropshadow"===O,dotcomobilehide:u.isCOM&&!M&&!i&&!C()(W)&&"dropshadow"!==O,dotcomwithoutText:u.isCOM&&!M&&!i&&C()(W)&&e,mainHeaderTextBorder:!C()(W),mobileHide:!M,cartBubbleIcon:M},X={clickdropshadowIcon:"dropshadow"===O&&l,iconDropDownRight:"dropshadow"===O&&!l,subHeaderIcon:i&&!w,comMenuItemIcon:G,borderColor:i&&!w&&"DYNAMIC-FLYOUT-BAR"===Y&&s,mobileHide:!M,accountIcon:Q&&("account"===V||"customerName"===V),isCartMenu:M,newSAHeader:w},nn=(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)(iE,{tabIndex:"-1",$styledprop:{...J,...Z,...X,...q,...w},children:[(0,r.jsx)(ii,{$styledprop:{...X,...w},children:"customerName"===z?(0,r.jsx)(o4,{$styledprop:{fontColor:!i&&o},children:(0,r.jsx)(o6,{children:x})}):(0,r.jsx)(P.Icon,{name:z||S,size:i?u.isCOM&&"lg"===d||"md"===d?14:16:24,color:o})}),M&&u.isSBA&&Number(c)?(0,r.jsx)(il,{$styledprop:{hitCartMenuItems:j||F,cartMenuItems:!j&&!F,cartMenuItemsCountClick:c>99&&l,cartMenuItemsCount:c>99&&!l,cartMenuItemClicked:l&&C()(W)&&u.isCOM,cartMenuItemsClick:l&&C()(W)&&!u.isCOM},children:c>99?"99+":c}):M&&u.isCOM&&g?(0,r.jsx)(ic,{$styledprop:{cartMenuItems:!0,cartMenuItemClicked:l&&C()(W)&&u.isCOM,cartMenuItemsClick:l&&C()(W)&&!u.isCOM,cartMenuItemsCountClick:g>99&&l,cartMenuItemsCount:g>99&&!l},children:g>99?"99+":g}):null,!C()(W)&&(0,r.jsx)(iu,{$styledprop:Z,children:W}),("lg"===d||"md"===d)&&R&&u.isSBA&&p>
10?(0,r.jsx)(ip,{$styledprop:{hitCartMenuItems:j||F,cartMenuItems:!j&&!F,cartMenuItemClicked:l&&C()(W)&&u.isCOM,cartMenuItemsClick:l&&C()(W)&&!u.isCOM},children:p}):null,i&&K&&!w&&(0,r.jsx)(o2,{children:(0,r.jsx)(P.Icon,{ariaLabel:"flyout",name:l?"caret_up":"caret_down",size:u.isCOM?6:9,color:o})})]}),l&&"drawer"!==_&&(0,r.jsx)(o7,{$styledprop:q})]}),ne={dotcomIconPosition:u.isCOM&&i,hiTouchSubIconPosition:i&&$,subIconPosition:i&&!$,rightIconPositionDropShadowClick:!i&&l&&C()(W)&&"dropshadow"===O,rightIconPositionClick:!i&&l&&C()(W)&&"dropshadow"!==O,dotcomiconPositionClick:!i&&l&&!C()(W)&&u.isCOM,iconPositionClick:!i&&l&&!C()(W)&&!u.isCOM,rightmenuItemsClick:!i&&l&&"dropshadow"!==O,rightIconPositionDropShadow:!i&&!l&&C()(W)&&"dropshadow"===O,rightIconPosition:!i&&!l&&C()(W)&&"dropshadow"!==O,iconPosition:!i&&!l&&!C()(W),rightmenuItems:!i&&!l&&C()(W)&&"dropshadow"!==O,subTextPosition:i,cartBubbleIcon:M,cartMenuItemIcon:S&&!i&&N,comMenuItemIconOnly:C()(W)&&S&&!i&&u.isCOM&&y,renderComponent:l,...q,...J,...X};return(0,r.jsx)(a.Fragment,{children:v||T?(0,r.jsx)(iO,{href:M?null:T||v,$styledprop:ne,target:"new-page"===_?"_blank":"_self",children:nn}):(0,r.jsx)(iD,{$styledprop:ne,children:nn})})},iX=n=>{let{menuItem:e,fontColor:t,subHeader:o,renderComponent:i,subFontHoverColor:a,routeDetails:s,breakpoint:l,appendActiveClass:c,siteVariables:u,cologoExists:p,newSAHeader:d}=n,{headliner:f,treatmentType:m}=e,g=B.JDr[e.design],h=(s&&s.routeId)===B.cVK,b=iq(f),x="sm"===l||"xs"===l,y=(0,U.b1)(),w={subTextMenuItems:o&&!c&&!h,subTextMenuItemClick:o&&c&&!h,hitSubTextMenuItems:o&&!c&&h,addUnderline:!o&&x&&y&&c,removeUnderline:!o&&x&&y&&!c,subHeader:o,newSAHeader:d};return(0,r.jsxs)(ie,{"aria-hidden":"true",$styledprop:{hiTouchSubTextMenuItem:o&&h,subTextMenuItem:o&&!h,textMenuItem:!o,dotcomtextMenuItem:u.isCOM&&!o&&!x,rewardsSubTextMenuItem:"DYNAMIC-FLYOUT-BAR"===g,...w},className:m,tabIndex:"-1",children:[(0,r.jsx)(o1,{$styledprop:{dotcomsubTextMenuItem:u.isCOM&&o,subTextMenuItemClickSBAAlongWithCoLogo:o&&u.isSBA&&p,subTextMenuItemClickSBA:o&&u.isSBA&&!p,hiTouchSubTextMenuItemClick:o&&c&&h,borderColor:o&&c?a:"DYNAMIC-FLYOUT-BAR"!==g||c?"":a,primaryHeaderHeadliner:!o,...w},style:{...!o&&{letterSpacing:"0.3px"}},children:b}),("ONE"===g||"WORKLIFE"===g||"IDEAS"===g||"DYNAMIC-FLYOUT-BAR"===g||"DEALS"===g||"TEXT-LIST"===g||"MOBILE"==g||"REWARDS-TEXT-MENU"===g||"FEATURED-IMAGE-1"===g)&&!d&&(0,r.jsx)(o2,{children:(0,r.jsx)(P.Icon,{name:i?"caret_up":"caret_down",size:u.isCOM&&o?6:9,color:t})})]})},i0=n=>{let{ref:e,componentRendererRef:t,designType:r,isMegaMenu:o,isCartMenu:i,isListMenu:a,isMobileMenu:s,isTextMenu:l,isImageMenu:c,appendActiveClass:u,parentRef:p,isDrawerComponent:d,calculateLeft:f,calculateHeight:m,onResize:g,bottomLeftContent:h,ariaLabel:b,isSolutionsMegaMenu:x}=n,y=e.current&&e.current.getBoundingClientRect(),w=t.current&&t.current.getBoundingClientRect(),S=p&&p.current&&p.current.getBoundingClientRect();if(y&&w&&S){let n=y.left,e=y.right,p=w.width,b=w.height,C=window.innerWidth,I=window.innerHeight;if("FEATURED-IMAGE-1"===r&&window.innerWidth>=1024&&(t.current.style.width="930px"),f){if(s)t.current.style.left="-".concat(n,"px");else if("FEATURED-IMAGE-1"===r&&window.innerWidth<=1024)t.current.style.left="-".concat(Math.abs(n),"px"),t.current.style.width="".concat(Math.abs(window.innerWidth-25),"px");else if(n+p>C&&w.width>0&&!d){if(e+25>window.innerWidth)t.current.style.right="0px",t.current.style.left="auto";else{let e="".concat(C-(n+p+25),"px");t.current.style.left=e}}else if(!o&&!i&&!d){let n=0;n=y.left>p/2?"-".concat(Math.abs((p-y.width)/2),"px"):"-".concat(Math.abs(y.left),"px"),t.current.style.left=n}!d&&!s&&o&&n+p<C&&w.width>0&&(t.current.style.left=h?"-20px":"-76px")}if(u?!d&&t&&t.current&&t.current.style&&(t.current.style.top="".concat(S.bottom-y.top,"px")):!d&&s&&I&&!g?t.current.style.top="-".concat(Math.abs(I-S.bottom),"px"):s||(t.current.style.top=null),m){let n=Math.abs(I-S.bottom),e=null;if(o)e="WORKLIFE"===r?n<319?"".concat(n,"px"):"319px":"ORDERS-API-MEGA-MENU"===r?n<311?"".concat(n,"px"):"311px":n<616?"".concat(n,"px"):"616px";else if(x)e=n<436?"".concat(n,"px"):"436px";else if(l||a){if(d)return;e=n<=b?"".concat(n,"px"):"auto"}else c&&(e="FEATURED-IMAGE-1"===r?n<450?"".concat(n,"px"):"450px":n<408?"".concat(n,"px"):"408px");t.current.style.height=e}}},i1=(n,e)=>{let t=D()(n=>e(n),500);n&&n.current&&e&&(n.current.addEventListener("mouseenter",n=>{t(n)}),n.current.addEventListener("mouseleave",()=>{t.cancel&&t.cancel()}))},i2=n=>{let e=(0,a.useRef)();return(0,a.useEffect)(()=>{e.current=n}),e.current},i6=n=>{let e=i()(n,"permissionlimit",[]),t=e.length>0&&-1!=e.indexOf("OpenMenu");return t},i4=n=>{let{headerData:e,menuItem:t,fontColor:o,subHeader:s,subFontHoverColor:l,siteVariables:c,routeDetails:u,checkYourStoreData:p,yourStoreSection:d,primaryStoreObject:f,routePrefix:g,accountInfo:h,breakpoint:b,toggleMiniCart:x,headerType:y,showMiniCart:w,sbaCartCount:S,messageCountSba:I,getCart:v,topRightContent:T,showLoginDrawer:_,automationID:O,type:D,permissionApplied:E,segmentCode:L,parentRef:k,changeParentStyle:R,closeSearchFlyout:H,setSmallScreen:F,setActiveBackgroun
1d:W,bottomLeftContent:z,dotcomCartCount:Y,toggleHeaderFlyoutStatus:K,toOpenMenuFlyout:$,openHeaderMenuFlyout:G,openMenuLinkRef:V,isNewSBAMINICart:Q,menuItemsInstanceHandler:q,menuItemInstances:Z,stickyHeader:J,openSTSModal:X,openADDShipToDrawer:ne,rewardsNumber:nt,defaultOpenState:nr,router:no,isBudgetCenterOverlayOpened:ni,isMessagesOverlayOpened:na,cologoExists:ns,customerName:nl,zipCode:nc,toggleMarketoDrawer:nu,toOpenMarketoDrawer:np,shippingState:nm,shippingCity:ng,domain:nh,openListsDrawer:nb,showCreateList:nx,setRequiredCookieModalOptions:ny,openRewardsSignupDrawer:nw,openLoyaltyEnrollmentDrawer:nS,loyaltyEnrollmentDrawerOptions:nC,rewardsDrawerOptions:nI,qoDrawerOptions:nv,openLoyaltyOffersDrawer:nT,openLoyaltySKUOffersDrawer:n_,loyaltyOffersDrawerOptions:nO,openStoreLocatorDrawer:nD,openLoyaltyBPCDrawer:nE,openLoyaltyBPCDrawerOptions:nA,navigationPopUp:nL,newSAHeader:nM,tpvCartClick:nk,supressHeaderClick:nR}=n,{isLoggedIn:nP}=h,{openRewardsDrawer:nN}=nI,nB=nC&&nC.openLoyaltyEnrollmentDrawer,nj=nO&&nO.openLoyaltyOffersDrawer,nH=nA&&nA.openLoyaltyBPCDrawer,nF=nO&&nO.openLoyaltySKUOffersDrawer,{showQODrawer:nU}=nv,nW="sm"===b||"xs"===b,nz=u&&u.isWhiteLabel,nY=(u&&u.routeType)===B.o27,nK=e.topNavigationColor||"white",{isProd:n$,isSBA:nG}=c,nV=!nG&&(0,U.Br)(L),nQ=(0,U.v2)(t),nq=i()(nQ,"[0].actionchatLineOfBusiness",""),[{actionType:nZ}]=nQ,nJ="LOYALTY-REWARDS-POINTS"===B.Qoz[nZ],[nX,n0]=(0,a.useState)(nr),[n1,n2]=(0,a.useState)(nr),[n6,n4]=(0,a.useState)(!1),[n5,n3]=(0,a.useState)(!1),[n8,n7]=(0,a.useState)(!1),[n9,en]=(0,a.useState)({}),[ee,et]=(0,a.useState)(!1),[er,eo]=(0,a.useState)({}),[ei,ea]=(0,a.useState)(!1),[es,el]=(0,a.useState)(!1),[ec,eu]=(0,a.useState)(!1),[ep,ed]=(0,a.useState)(!1),[ef,em]=(0,a.useState)(!1),[eg,eh]=(0,a.useState)(!1),[eb,ex]=(0,a.useState)({}),[ey,ew]=(0,a.useState)({}),[eS,eC]=(0,a.useState)([]),[eI,ev]=(0,a.useState)({}),eT=(0,a.useRef)(null),e_=(0,a.useRef)(null),eO="1_UNIDENTIFIED"===L,eD=(0,a.useRef)(null),eE=(0,a.useRef)(),eA=(0,a.useRef)(!1),eL=(0,a.useRef)(!1),eM=(0,a.useRef)(!1),{icon:ek,ariaLabel:eR,targetWindow:eP,design:eN,treatmentType:eB,headliner:ej,actionOverridesByGroup:eH,metadata:eF}=t,eU=i()(eF,"childAPIToggle",!1)&&i()(eF,"id",""),eW=nL&&!C()(nL),ez=(0,a.useRef)("".concat(iK("".concat((eR||"").trim(),"_Item")))),eY="TEXT-DESTINATION-MENU"===B.Qoz[nZ],eK="STAPLESCONNECT"===B.Qoz[nZ],e$="drawer"===eP,eG="STORE-LOCATOR"===B.Qoz[nZ],eV="CART"===B.Qoz[nZ],eQ="CHAT"===B.Qoz[nZ],eq=eN&&"WORKLIFE"===B.JDr[eN],eZ=eN&&"ORDERS-API-MEGA-MENU"===B.JDr[eN],eJ="MEGA-MENU"===B.Qoz[nZ],eX="SB-FLEXIBLE-MENU"===B.Qoz[nZ],e0="MOBILE-MENU"===B.Qoz[nZ],e1="TEXT-MENU"===B.Qoz[nZ]||"LISTS"===B.Qoz[nZ],e2="IMAGE-MENU"===B.Qoz[nZ],e6="LISTS"===B.Qoz[nZ],e4="SHIPTO"===B.Qoz[nZ],e5="MARKETO"===B.Qoz[nZ],e3="EMPTY-ZIP-CODE-DRAWER"===B.Qoz[nZ],e8="ACTIVE-ZIP-CODE-DRAWER"===B.Qoz[nZ]&&!C()(nc),e7="ACTIVE-ZIP-CODE-DRAWER"===B.Qoz[nZ]||"EMPTY-ZIP-CODE-DRAWER"===B.Qoz[nZ],e9="divider-left"===eB,tn=(0,U.b1)(),te=(0,U.jy)(y,D),{tpvHeader:tt,isLogoOnlyHeader:tr}=te,to=i2(b),ti=i2(na),ta=i2(ni),[ts,tl]=(0,a.useState)(!1),tc=s&&i()(t,"icon",!1),tu=(0,U.VN)(h,"ZIP_CODE"),tp=eN&&"IDEAS"===B.JDr[eN],td=i2(np),tf=i2(nU),tm=i2(nN),tg=i2(nB),th=i2(nj),tb=i2(nH),tx=i2(nF),ty=(0,a.useRef)({openTimeoutId:-1,closeTimeoutId:-1}),tw=iq(ej);(0,a.useEffect)(()=>{if(eW){if(ef)ty&&ty.current&&(-1!==ty.current.openTimeoutId&&clearTimeout(ty.current.openTimeoutId),-1!==ty.current.closeTimeoutId&&clearTimeout(ty.current.closeTimeoutId));else{let n=(0,nf.getSessionStorage)("headerPopOverState");e1&&("lg"===b||"md"===b)&&!nP&&!nX&&ty&&ty.current&&!n&&(ty.current.openTimeoutId=setTimeout(()=>{ed(!0)},1500))}}},[ef,b,eW,e1,nX,nP,nL]),(0,a.useEffect)(()=>{ep&&((0,nf.setSessionStorage)("headerPopOverState","rendered"),ty.current.closeTimeoutId=setTimeout(()=>{ed(!1)},12e3))},[ep]);let tS=(0,a.useCallback)(()=>{if(eW&&e1){let e=[];return A()(nL,(t,r)=>{C()(i()(t,"navigationPopUpItems",[]))||A()(i()(t,"navigationPopUpItems",[]),(t,o)=>{let i=C()(t.action);(0,U.Z1)({item:t,userData:{...u,...h},siteVariables:c,segmentCode:L,domain:nh,breakpoint:b,headerTypes:(0,U.jy)(y,D)})&&e.push((0,a.createElement)(j.Z,{...n,key:"popupItem_".concat(r,"_").concat(o),accountInfo:h,breakpoint:b,routeDetails:u,isPermissionLimitCheckedAtParent:!0,customCss:eO?iL:iA,navTextData:t,actionTypeHandler:tE,isIdNeeded:i,id:"popupItemContainer",headerType:y,type:D,signInPopup:!0,dispatchAnalytics:iQ,setRequiredCookieModalOptions:ny,primaryStoreObject:f,...n}))})}),(0,r.jsxs)(iM,{ref:e_,id:"popupItemContainer",children:[" ",e," "]})}},[nL,e1,u,h,c,L,b,u,nh,y,D,er]),tC=(0,a.useCallback)(()=>{let n=!1,e=(0,U.v2)(t,!0);return e&&!C()(i()(e,"[1]",{}))&&(n="DOTCOM-SIGN-IN-POPUP"===B.Qoz[i()(e,"[1].actionType","")]),n},[t,nL]);(0,a.useEffect)(()=>{let n=(0,U.b1)(),e=()=>(0,U._$)({callback:eo,rewardsID:nt,routePrefix:g}),t=ez.current;if((0,U.Dy)(),tT(t,!1),eV&&te.fullHeader){let{requestIdleCallback:n}=(0,U.Jv)();n(()=>v())}c&&c.isSBA&&eV&&!n&&i1(eT,tI);let r="STORE-LOCATOR"===B.Qoz[nZ];r&&p&&(window.YourStore={},window.YourStore.setupYourStoreMenu=p,p(nP)),nJ&&nt&&nV&&(n4(!0),(0,U.i2)(g,nt).then(n=>
1{n4(!1),n&&eo(n),(0,U.Ok)(),document.addEventListener(B.eSr,e)}).catch(n=>{console.error(n),n4(!1)}));let o=()=>{r&&p?(window.YourStore={},window.YourStore.setupYourStoreMenu=p,p(nP)):tv()},i=n=>{if(e_&&e_.current&&!e_.current.contains(n.target)&&(ed(!1),em(!0)),eT&&eT.current&&eT.current.contains(n.target)){"emptyWrapperContainer"===n.target.getAttribute("id")&&(tv(),n.stopPropagation());return}eA.current&&tv()},a=e=>{!eV&&eA.current&&e&&e.target&&e.target.closest&&e.target.closest("#cartMenuHolder")&&!n&&!c.isCOM&&(e.stopPropagation(),tv())},s=n=>{let e=n.which||n.keyCode,t="Escape"===n.key||27===e;t&&eA.current&&(tv(!0),n.preventDefault())};return document.addEventListener("mouseover",a),document.addEventListener("keydown",s,!0),document.addEventListener("click",i,!0),window.addEventListener("spaTransitionEnd",o),()=>{document.removeEventListener("click",i,!0),document.removeEventListener("mouseover",a),document.removeEventListener("keydown",s,!0),window.removeEventListener("spaTransitionEnd",o),document.removeEventListener(B.eSr,e),tT(t,!1,!0)}},[]);let tI=n=>{let e=B.Qoz[nZ];if("CART"===e){if(tt)return;H(!0),eT&&eT.current&&eT.current.contains(n.target)&&!nX&&n2(!0)}},tv=n=>{if(s&&n1&&eu(!1),n2(!1),nW&&F&&F(1),eT&&eT.current&&eT.current.firstElementChild){if(n)eT.current.firstElementChild.classList.remove("noBlueOutlineOnFocus");else{eT.current.firstElementChild.classList.add("noBlueOutlineOnFocus");return}e$?setTimeout(()=>{eT.current.firstElementChild.focus()},100):eT.current.firstElementChild.focus()}};(0,a.useEffect)(()=>{let n=("sm"===to||"xs"===to)&&("md"===b||"lg"===b)||("md"===to||"lg"===to)&&("sm"===b||"xs"===b);eV&&n1&&n&&n2(!1)},[b]),(0,a.useEffect)(()=>{$&&i6(t)&&to===b&&(eT&&eT.current&&eT.current.firstElementChild&&eT.current.firstElementChild.focus(),n2(!0))},[$]),(0,a.useEffect)(()=>{n5&&nX&&(i0({ref:eT,componentRendererRef:eE,designType:B.JDr[eN],isMegaMenu:eJ,isCartMenu:eV,isMobileMenu:e0,isImageMenu:e2,isTextMenu:e1,appendActiveClass:n1,parentRef:k,isDrawerComponent:e$,calculateLeft:!1,smallBucket:nW,isListMenu:e6,calculateHeight:!nr,assignHeight:ea,bottomLeftContent:z,ariaLabel:eR,isSolutionsMegaMenu:eX}),ea&&ea(!0))},[n5]),(0,a.useEffect)(()=>{n1&&e6&&!n6?(i0({ref:eT,componentRendererRef:eE,designType:B.JDr[eN],isMegaMenu:eJ,isCartMenu:eV,isMobileMenu:e0,isImageMenu:e2,isTextMenu:e1,appendActiveClass:n1,parentRef:k,isDrawerComponent:e$,calculateLeft:!1,smallBucket:nW,isListMenu:e6,calculateHeight:!nr,assignHeight:ea,bottomLeftContent:z,ariaLabel:eR,isSolutionsMegaMenu:eX}),el(!0)):!n1&&e6&&el(!1)},[n9,n1,e6,n6]),(0,a.useEffect)(()=>{let{requestIdleCallback:n}=(0,U.Jv)();if(n(()=>{i0({ref:eT,componentRendererRef:eE,designType:B.JDr[eN],isMegaMenu:eJ,isCartMenu:eV,isMobileMenu:e0,isImageMenu:e2,isTextMenu:e1,appendActiveClass:n1,parentRef:k,isDrawerComponent:e$,calculateLeft:!nr,smallBucket:nW,isListMenu:e6,calculateHeight:!nr,assignHeight:ea,bottomLeftContent:z,isSolutionsMegaMenu:eX})}),!n1&&eM.current){tl(!1);let n=eV?100:eG?0:200;setTimeout(()=>{nU||e$||nB||nj||nH||nF||(0,U.XY)({scrollOff:!1,parentRef:k,stickyHeader:J}),eV&&c.isSBA&&w&&x&&x(),eA.current=!1,n0(!1),nW&&F&&F(1),eG&&R(!1,e$,!1,s)},n),ei&&ea&&ea(!1)}else if(n1){let n=!C()(m()(Z));n?setTimeout(()=>{R(!0,e$,!1,s),eV&&c.isSBA&&!w&&x&&x(),eA.current=!0,n0(!0)},201):(R(!0,e$,!1,s),eV&&c.isSBA&&!w&&x&&x(),eA.current=!0,n0(!0)),tT(ez.current,!0)}if(!n1&&$&&i6(t)&&G&&eM.current){if(to===b&&V&&V.current){let n=V.current;setTimeout(()=>{n.focus()},250)}G(!1,null)}eM.current=!0},[n1]),(0,a.useEffect)(()=>{(void 0!==td&&td!==np||void 0!==tf&&tf!==nU||void 0!==tm&&tm!==nN||void 0!==tg&&tg!==nB||void 0!==th&&th!==nj||void 0!==tb&&tb!==nH||void 0!==tx&&tx!==nF)&&(np||nU||nN||nB||nj||nH||nF?(0,U.XY)({scrollOff:!0,parentRef:k,stickyHeader:J}):(0,U.XY)({scrollOff:!1,parentRef:k,stickyHeader:J}))},[nN,nU,np,nB,nj,nH,nF]),(0,a.useEffect)(()=>{let n=eJ||eX||e0||e1||e2||e6||eV&&c.isCOM||eV&&c.isSBA&&Q||e$;nX&&((0,U.XY)({scrollOff:n,parentRef:k,stickyHeader:J}),e7||W({background:!nR,componentRendererRef:eE,subheader:s,isDrawerComponent:e$,isCartMenuItem:eV,isLoginDrawer:""}),K(!0)),!nX&&eL.current&&tT(ez.current,!1),eL.current=!0;let e=()=>{eT&&eE&&!e$&&setTimeout(()=>{i0({ref:eT,componentRendererRef:eE,designType:B.JDr[eN],isMegaMenu:eJ,isCartMe
1nu:eV,isMobileMenu:e0,isTextMenu:e1,isImageMenu:e2,appendActiveClass:n1,parentRef:k,isDrawerComponent:e$,calculateLeft:!0,smallBucket:nW,isListMenu:e6,calculateHeight:n1,assignHeight:ea,onResize:!0,bottomLeftContent:z,isSolutionsMegaMenu:eX})},500)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[nX]),(0,a.useEffect)(()=>{ts&&!tn&&tI&&c.isSBA&&eV&&tI({target:eT.current})},[ts]),(0,a.useEffect)(()=>{(void 0===ta||ta===ni)&&(void 0===ti||ti===na)||(ni||na?(0,U.XY)({scrollOff:!0,parentRef:k,stickyHeader:J}):nU||nN||np||(0,U.XY)({scrollOff:!1,parentRef:k,stickyHeader:J}))},[ni,na]);let tT=(n,e,t)=>{let r={};r[n]=e,q(r,t)},t_=(0,a.useCallback)((n,e,t,r,o,a,s,l)=>{let c=null,[{actionIcon:u}]=(0,U.v2)(a),p="ACCOUNT"===B.gsc[u];return n&&e&&!C()(t)?c="Your store: ".concat(i()(t,"address.city","")," ").concat(i()(t,"storeStatus","")):o?c="".concat(eR,", Items in cart ").concat(l):p&&s?c="".concat(eR,", ").concat(I," message").concat(I>1?"s":""):!T&&r||(c="".concat(eR)),c},[eG,d,f,eY,eV,t,nG,Y]),tO=(0,a.useCallback)(n=>{let{menuItem:e,fontColor:t,subHeader:r,renderComponent:o,subFontHoverColor:i,loader:a,messageCountSba:s,breakpoint:l,backgroundColor:u,routeDetails:p,accountInfo:d,dotcomCartCount:f,appendActiveClass:m,cologoExists:g,customerName:h,newSAHeader:b}=n;return iJ({menuItem:e,topRightContent:T,fontColor:t,subHeader:r,sbaCartCount:S,subFontHoverColor:i,renderComponent:o,loader:a,siteVariables:c,accountInfo:d,breakpoint:l,messageCountSba:s,backgroundColor:u,routeDetails:p,dotcomCartCount:f,appendActiveClass:m,customerName:h,cologoExists:g,rewardsData:er,isLogoOnlyHeader:tr,newSAHeader:b})},[t,o,s,nX,l,n6,h,c,b,S,nK,u,Y,n1,ns,nl,T,nM]),tD=(0,a.useCallback)(n=>{let{menuItem:e,fontColor:t,subHeader:r,renderComponent:o,subFontHoverColor:i,loader:a,routeDetails:s,siteVariables:l,appendActiveClass:c,cologoExists:u,newSAHeader:p}=n;return iX({menuItem:e,fontColor:t,subHeader:r,renderComponent:o,subFontHoverColor:i,loader:a,accountInfo:h,siteVariables:l,breakpoint:b,routeDetails:s,appendActiveClass:c,cologoExists:u,newSAHeader:p})},[t,o,s,nX,l,n6,h,c,b,u,n1,ns,nM]),tE=(n,e,t)=>{if(n&&n.stopPropagation&&n.stopPropagation(),e){let{destinationURL:n,destinationReplaceURL:r}=e,[{actionType:o}]=(0,U.v2)(e),i=B.Qoz[o];("LOGIN"===i||"LOGIN"===t||"CREATE-ACCOUNT"===i)&&_&&_(r||n,"CREATE-ACCOUNT"===i),("MARKETO"===i||"MARKETO"===t)&&nu&&nu(!0),("LOYALTY-ENROLLMENT-DRAWER"===i||"LOYALTY-ENROLLMENT-DRAWER"===t)&&nS&&nS(!0),("LOYALTY-OFFERS-DRAWER"===i||"LOYALTY-OFFERS-DRAWER"===t)&&nT&&nT(!0),("LOYALTY-OFFER-ACTIVATION-DRAWER"===i||"LOYALTY-OFFER-ACTIVATION-DRAWER"===t)&&nT&&n_(!0),("LOYALTY-BONUS-CATEGORIES-DRAWER"===i||"LOYALTY-BONUS-CATEGORIES-DRAWER"===t)&&nE&&nE(!0),tv&&tv()}};if(E||(0,U.Z1)({item:t,userData:{...u,...h},siteVariables:c,segmentCode:L,domain:nh,breakpoint:b,rewardsData:er,headerTypes:te})){let e=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=[],t=n=>{if(Array.isArray(n)){n.forEach(t);return}if(!n||"object"!=typeof n)return;let r=i()(n,"navigationImageBanner",[]);C()(r)||r.forEach(n=>{let t=i()(n,"persMbxHdr",[]);C()(t)||e.push(...t.filter(Boolean))}),Object.values(n).forEach(t)};return t(n),[...new Set(e)]},p=async function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(C()(n))return{};let e=await M().post("/ele-lpd/api/sparxProxy/getAdobeMBoxData",{mboxName:n,clientSideAnalytics:!0}),t=i()(e,"data.adobeResponse.FlexibleBannerConfigurator",[]);return t.reduce((n,e)=>{let t=i()(e,"mboxName")||i()(e,"displayProposition.scope")||"";return t&&(n[t]=e),n},{})},m=(n,r)=>{n&&n.stopPropagation&&n.stopPropagation();let o=B.Qoz[nZ],a=eN&&"REWARDS-TEXT-MENU"===B.JDr[eN],s="LISTS-DRAWER"===o,l=!C()(eH)&&(0,U.QJ)({actionOverridesByGroup:eH,accountInfo:h}),m="BDR_CHAT"===o;if(!(eY||e8&&!r||eE&&eE.current&&eE.current.contains(n.target)||e_&&e_.current&&e_.current.contains(n.target))){if((e3||e8&&r)&&et(!0),"CHAT"===o||m){n8?(0,U.vh)(eR,m,nq):(n4(!0),(0,U.KU)(n$).then(()=>{n4(!1),n7(!0),(0,U.vh)(eR,m,nq)}).catch(()=>{n4(!1)})),iQ(n,t,nW);return}if("FEEDBACK"===o){(0,U.Tp)("header_feedback_Qualtrics",n),iQ(n,t,nW);return}if("LISTS"===o)g&&!n1&&(n4(!0),M().post("".concat(g,"/api/sparxProxy/getList
1CardData")).then(n=>{n4(!1),n.data.listsData&&en(n.data.listsData)}).catch(n=>{console.error(n),n4(!1)}));else if("CART"===o){if(c.isSBA&&!n1&&tn){if(c.isSBA){setTimeout(()=>{n2(!0)},100),n.preventDefault();return}n2(!n1),n.preventDefault();return}if((c.isCOM||tn)&&!n1){iQ(n,t,nW),setTimeout(()=>{n2(!0)},100),n.preventDefault();return}let e=i()(t,"destinationReplaceURL","")||i()(t,"destinationURL","");if(e){iQ(n,t,nW),n2(!n1),nR?nk(n):no.pushRoute(e);return}}else if(("LOGIN"===o||"LOGIN"===l||"CREATE-ACCOUNT"===o)&&_){let n=i()(t,"destinationReplaceURL","")||i()(t,"destinationURL","");setTimeout(()=>{_(s?null:n,"CREATE-ACCOUNT"===o,s&&{successCallBack:()=>(0,U.SX)({openListsDrawer:nb,isLoggedIn:nP,openCreateListDrawer:nx,routePrefix:g}),openLoginDrawer:!0})},400)}else if(s){(0,U.SX)({openListsDrawer:nb,isLoggedIn:nP,openCreateListDrawer:nx,routePrefix:g}),iQ(n,t,nW);return}else(a||nJ)&&nt&&nV&&!n1?(n4(!0),(0,U.i2)(g,nt).then(n=>{n4(!1),n&&eo(n)}).catch(n=>{console.error(n),n4(!1)})):"STORE-LOCATOR"===o&&nD&&nD(eT);("MARKETO"===o||"MARKETO"===l)&&nu&&nu(!0),n2(!n1),!n1&&i()(eF,"childAPIToggle",!1)&&i()(eF,"id","")&&C()(eb)&&(eh(!0),M().post("/ele-lpd/api/common/lpdProxy-common/getMenuContent",{id:i()(eF,"id",""),routeDetails:u,siteVariables:c}).then(n=>{if(n&&!C()(i()(n,"[0]",{}))){let t=i()(n,"[0].navigationFlyouts",{});ex(i()(n,"data[0]",{}));let r=e(t);if(!C()(r))return p(r)}return{}}).then(n=>{ev(n||{})}).catch(n=>{console.error("Error in Menu + Adobe flow",n),ev({})}).finally(()=>{eh(!1)})),iQ(n,t,nW,eG&&d&&!C()(f),f)}},x=(n,e)=>{if((13===n.charCode||13===n.which||13===n.keyCode)&&m(n,e),(0,U.G5)(n)&&nX&&n.shiftKey&&eE&&eE.current&&eT&&eT.current&&eT.current.firstElementChild&&document.activeElement===eT.current.firstElementChild){if(eJ)eD&&eD.current&&eD.current.lastElementChild&&eD.current.lastElementChild.firstElementChild&&(eD.current.lastElementChild.firstElementChild.focus(),n.preventDefault());else{let e=Array.from(eE.current.querySelectorAll('button:not([tabindex="-1"]), a:not([tabindex="-1"]), input:not([tabindex="-1"]), select, textarea, * [tabindex]:not([tabindex="-1"]):not([class^="ps__thumb"])'));if(e.length>0){let t=e[e.length-1];t.focus(),n.preventDefault()}else tv&&tv(!0)}}},w=()=>{let n=0;if(k&&k.current){let e=k.current.getBoundingClientRect(),t=e.top;e.top<0&&e.height>t&&(t=e.height-Math.abs(t)),n=e.top<0&&e.height>t?t:t+e.height}return n};if(e7&&!tu||e7&&tu&&("ACTIVE-ZIP-CODE-DRAWER"===B.Qoz[nZ]&&C()(nc)||"EMPTY-ZIP-CODE-DRAWER"===B.Qoz[nZ]&&!C()(nc)))return null;let v={},E=!1;if(eG&&d&&!C()(f)){E=!0;let n=f.storeStatus||"",e=f.storeStatusTime||"",t=f.address||{},r=t.city||"",o=t.state||"",i=f.closingSoon,a=i&&c.isCOM?"CLOSING SOON":n;c.isCOM&&(a=a.toUpperCase()),v={storeStatus:n,storeStatusTime:e,address:t,city:r,state:o,isStoreOpen:"Open"===n,closingSoon:i,storeStatusText:a}}let A=!e4&&!e9&&!tc&&!T;return(0,r.jsxs)(iY,{ref:eT,$styledprop:{color:ec&&s?l:o,dotcomtextMenuItemWrapper:c.isCOM&&!T,menuItemFlyoutOpen:nX,subMenuItemIconWithText:ek&&s&&c.isSBA,menuItemIconWithText:ek&&s&&!c.isSBA,sbaMenuItemIcon:ek&&!s&&"CART"===B.Qoz[nZ]&&c.isSBA,dotcomMenuCartItemIcon:ek&&!s&&"CART"===B.Qoz[nZ]&&c.isCOM,leftMenuItemIcon:ek&&!s&&!("CART"===B.Qoz[nZ]&&c.isSBA)&&!T,dotcomMenuItemIcon:ek&&!s&&c.isCOM&&!T,menuItemIcon:ek&&!s&&(!c.isCOM||T),comMenuItemIcon:ek&&!s&&c.isCOM,cartMenuItemIcon:ek&&!s&&eV,hideInSmallBucket:ek&&!s&&T&&c.isSBA&&!eV,subTextMenuItemWrapperClick:!ek&&nX&&s,textMenuItemWrapperClick:!ek&&nX&&!s,subHeaderDotcomTextDestinationMenu:!ek&&!nX&&eY&&s&&c.isCOM,textMenuItemDestinationMenu:!ek&&!nX&&(eY||e5)&&!(eY&&s&&c.isCOM),subTextMenuItemWrapper:!ek&&!nX&&s&&!(eY||e5),textMenuItemWrapper:!ek&&!nX&&!s&&!(eY||e5),addLinkHover:s&&eY,addHoverEffect:!s&&!ek&&!(eY||e5),leftDivider:e9,textDestionationMenu:A&&z,rightDivider:!e9&&"divider-right"===eB,dotcomsubTextMenuWrapper:c.isCOM&&s,dotcomTextDestinationMenuWithIcon:ek&&eY&&s&&c.isCOM,sbaHamburgerMenuIcon:ek&&e0&&nW&&c.isSBA&&C()(tw),subHeader:s},id:eV?"cartMenuHolder":O,onClick:m,onKeyUp:n=>{(13===n.charCode||13===n.which||13===n.keyCode||9===n.charCode||9===n.which||9===n.keyCode)&&eT&&eT.current&&eT.current.firstElementChild.classList.remove("noBlueOutlineOnFocus"),(0,U.G5)(n)&&tl(!0)},onKeyDown:n=>{x(n)},...s&&{onMouseEnter:()=>{eu(!0)},onMouseLeave:()=>{eu(!1)}},children:[(0,r.jsxs)(nn,{...n,actionTypeHandler:tE,menuItem:t,noOutline:e4,role:eV&&c.isCOM?"button":eY?null:"link",ariaLabel:t_(eG,d,f,eY,eV,t,nG,Y),tabIndex:eY||e4||e8?"-1":"0",ariaExpanded:eY||eQ||e4||e5?null:nX,children:[eY||e4||e5||eK?(0,r.jsx)(o9,{$styledprop:{textDestionationMenuRight:A&&!z&&s,textDestionationMenuTop:A&&!z&&!s,textDestionationMenu:A&&z,rightTopContentWithTextmenu:T&&eY&&c.isCOM,toprighttextMenu:!e4&&!e9&&!tc&&T&&!c.isCOM,primaryHeadliner:!s,hiTouchTopleftwithIcon:z&&u.routeId===B.cVK,topleftwithIcon:z&&u.routeId!==B.cVK,menuItemIconWithText:ek&&s&&!c.isSBA,menuItemIconWithTextRight:ek&&s&&!c.isSBA&&!z,sbaMenuItemIcon:ek&&!s&&"CART"===B.Qoz[nZ]&&c.isSBA,dotcomMenuItemIcon:ek&&!s&&c.isCOM&&!T,dotcomMenuCartItemIcon:ek&&!s&&"CART"===B.Qoz[nZ]&&c.isCOM},children:(0,r.jsx)(j.Z,{accountInfo:h,siteVariables:c,breakpoint:b,routeDetails:u,righttexticonwrapper:!!T,color:o,isPermissionLimitCheckedAtParent:!0,navTextData:t,actionTypeHandler:tE,primaryHeader:!s,headerType:y,type:D,subHeader:s,subHeaderMenuWithIcon:tc,dispatchAnalytics:iQ,isTextDestinationMenuItem:!0,openSTSModal:X,openADDShipToDrawer:ne,tabindex:e4?-1:0,bottomLeftContent:z,primaryStoreObject:f,setRequiredCookieModalOptions:ny})}):e7?(0,r.jsxs)(o8,{$styledprop:{isEmptyZipCodeDrawer:e3},children:[tw,C()(nc)?null:(0,r.jsxs)(o3,{tabIndex:"0",onMouseDown:U.ZA,onClick:n=>m(n,!0),onKeyUp:U.M,onKeyDown:n=>{x(n,!0)},children:["\xa0","lg"===b?"".concat(ng&&"undefined"!==ng?(0,U.v_)(ng,11):nc,", ").concat(nm):"md"===b?ng&&"undefined"!==ng?(0,U.v_)(ng,11):nc:"".concat(ng&&"undefined"!==ng?ng:nc,", ").concat(nm)]})]}):E?(0,r.jsx)(a.Fragment,{children:(0,r.jsxs)(iz,{$styledprop:{dotcomIconPosition:c.isCOM},children:[(0,r.jsx)(iR,{$styledprop:{closingSoon:v.isStoreOpen&&v.closingSoon,iconOpen:v.isStoreOpen,isCom:c.isCOM},children:(0,r.jsx)(P.Icon,{ariaLabel:ek,name:ek,id:"location",size:16})}),c.isCOM?(0,r.jsx)(a.Fragment,{children:(0,r.jsxs)(iP,{children:[("lg"===b||"md"===b)&&(0,r.jsxs)("span",{style:{display:"flex"},children:[(0,r.jsx)(iN,{children:(0,U.v_)(v.city,18)}),"md"===b?null:(0,r.jsxs)(iB,{children:[", ",v.state]})]}),(0,r.jsxs)(ij,{children:[(0,r.jsx)(iH,{$styledprop:{closingSoon:v.isStoreOpen&&v.closingSoon,storeOpenText:v.isStoreOpen,storeClosedText:!v.isStoreOpen},children:v.storeStatusText}
1),"\xa0\xb7\xa0",(0,r.jsx)(iF,{children:v.isStoreOpen?v.storeStatusTime.replace("pm"," pm").trim():v.storeStatusTime.replace("am"," am").trim()})]})]})}):(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(iU,{children:"lg"===b?"".concat((0,U.v_)(i()(f,"address.city",""),12),", ").concat(i()(f,"address.state","")):"".concat((0,U.v_)(i()(f,"address.city",""),12))}),"lg"===b&&(0,r.jsx)(iW,{children:i()(f,"storeStatus","")})]})]})}):ek?tO({menuItem:t,accountInfo:h,fontColor:o,subHeader:s,renderComponent:nX,loader:n6,subFontHoverColor:l,siteVariables:c,sbaCartCount:S,breakpoint:b,messageCountSba:I,backgroundColor:nK,routeDetails:u,dotcomCartCount:Y,appendActiveClass:n1,cologoExists:ns,customerName:nl,newSAHeader:nM}):tD({menuItem:t,fontColor:o,subHeader:s,renderComponent:nX,loader:n6,subFontHoverColor:l,accountInfo:h,siteVariables:c,breakpoint:b,routeDetails:u,appendActiveClass:n1,cologoExists:ns,newSAHeader:nM}),!s&&nX&&!e$&&!T&&(!nW||c.isSBA)&&!(ek&&e0&&nW&&c.isSBA&&C()(tw))&&(0,r.jsx)(o5,{$styledprop:{invertedIconBorder:nz||nY}})]}),e1&&eW&&tC()&&("lg"===b||"md"===b)&&!nP?(0,r.jsx)(iG,{component:tS(),bgColor:"primary",haveTabIndex:!1,openPopUp:ep,parentRef:eT,breakpoint:b}):null,eY||eQ||e4||e5?null:(0,r.jsxs)(it,{ref:eE,...nX&&{"aria-label":"".concat(eR," menu")},$styledprop:{drawerComponentWrapper:e$||nW&&eG,flyoutComponentWrapper:!(e$||nW&&eG),ideasWrapper:tp,drawerComponentWrapperActive:n1&&(e$||nW&&eG),flyoutComponentWrapperActive:n1&&!(e$||nW&&eG),worklifeflyoutWrapper:eq,subheaderWrapper:s,loaderFlyoutWrapper:n6,dotcomCartMenuWrapper:eV&&c.isCOM,defaultOpenMenu:nr},className:"".concat("".concat(eN,"-wrapper")," ").concat("".concat(nZ,"-wrapper")," ").concat(eg?"".concat(nZ,"-loaderWrapper"):""),id:eJ?"".concat(nZ,"_wrapper_design").concat(eN,"_").concat(eR):"".concat(nZ,"_wrapper_").concat(eP,"_").concat(eR),children:[nX&&(eV&&c.isSBA&&!tt?(0,r.jsx)(i$,{headingColor:"light_gray_1",headingTextColor:"black",headerHeight:w(),shadow:!0,showIcon:!1,loggedIn:nP,closeMiniCartFlyout:tv,type:D||y}):(0,r.jsx)(nd,{...n,adobeDataMap:eI,renderChildComponent:!eU||!C()(eb),callAnalyticsModule:iV,callZipCodeDrawer:ee,handleElementFocus:iZ,unMountComponentRenderer:tv,loading:n6,routePrefix:g,navigationMenuData:n9,rewardsData:er,parentRef:eT,navMainParentWrapperRef:k,megaMenuUlRef:eD,openRewardsSignupDrawer:nw,openLoyaltyEnrollmentDrawer:nS,openLoyaltyOffersDrawer:nT,openLoyaltyBPCDrawer:nE,openLoyaltySKUOffersDrawer:n_,componentRendererWrapperRef:eE,headerHeight:w(),showingMC:!0,userType:nP?"REGISTERED":"GUEST",openLoginDrawer:n=>{let{isCreateAccount:e,destinationURL:t,...r}=n;tv&&tv(),_&&setTimeout(()=>{_(t,e,r)},400)},closeMiniCartFlyout:tv,setMenuFlyoutLoaded:n3,menuFlyoutLoaded:n5,heightAssigned:ei,calculateFlyoutPosition:i0,updatedScroll:es,toDisableScroll:()=>{setTimeout(()=>{(0,U.XY)({scrollOff:!0,parentRef:k,stickyHeader:J})},100)},primaryStoreObject:f,mobileMenuContent:ey,setMobileMenuContent:ew,menuItem:C()(eb)?t:eb,...eZ?{recentOrderData:eS,setRecentOrderData:eC}:{}})),eg?(0,r.jsx)(ir,{$styledprop:{isOrdersMegaMenu:eZ},className:"".concat("".concat(eN,"-loadingContent")," ").concat("".concat(nZ,"-loadingContent")," "),children:(0,r.jsxs)(io,{children:[" ",(0,r.jsx)(N.Spinner,{size:"sm"})]})}):null]})]})}return null};var i5=(0,w.withRouter)(i4);i4.defaultProps={accountInfo:{},activeScreen:1,automationID:"",bottomLeftContent:!1,breakpoint:"xs",changeParentStyle:()=>{},checkYourStoreData:()=>{},closeSearchFlyout:()=>{},closeSetYourStoreDrawer:()=>{},closeYourStoreDrawer:()=>{},cologoExists:!1,customerName:"",defaultOpenState:!1,domain:"",dotcomCartCount:0,fontColor:"",getCart:()=>{},headerData:{topNavigationColor:"primary"},headerFlyoutStatus:!1,headerType:"",isBudgetCenterOverlayOpened:!1,isMessagesOverlayOpened:!1,isNewSBAMINICart:!1,loadedActions:!1,loyaltyEnrollmentDrawerOptions:{},loyaltyOffersDrawerOptions:{},menuItem:{actionIcon:"",actionOverridesByGroup:[],actionType:"",ariaLabel:"",design:"",destinationURL:"",headliner:"",icon:!1,metadata:{},navigationPopUp:[],targetWindow:"",treatmentType:""},menuItemInstances:{},menuItemsInstanceHandler:()=>{},messageCountSba:0,navigationPopUp:[],newSAHeader:!1,openADDShipToDrawer:()=>{},openHeaderMenuFlyout:()=>{},openListsDrawer:()=>{},openLoyaltyBPCDrawer:()=>{},openLoyaltyBPCDrawerOptions:{},openLoyaltyEnrollmentDrawer:()=>{},openLoyaltyOffersDrawer:()=>{},openLoyaltySKUOffersDrawer:()=>{},openMenuLinkRef:null,openRewardsSignupDrawer:()=>{},openSetYourStoreDrawer:()=>{},openStoreLocatorDrawer:()=>{},openSTSModal:()=>{},openYourStoreDrawer:()=>{},parentRef:null,permissionApplied:!1,primaryStoreObject:{},qoDrawerOptions:{},rewardsDrawerOptions:{},rewardsNumber:"",routeDetails:{isWhiteLabel:!1,routeId:"",routeType:""},routePrefix:"/ele-lpd",sbaCartCount:0,segmentCode:"",setActiveBackgroun
1d:()=>{},setMobileFlyoutScrollTop:()=>{},setRequiredCookieModalOptions:()=>{},setSmallScreen:()=>{},setYourStoreDropdown:!1,shippingCity:"",shippingState:"",showCreateList:!1,showDotcomMiniCart:!1,showLoginDrawer:()=>{},showMiniCart:!1,siteVariables:{isProd:!1,isSBA:!1,isCOM:!0},stickyHeader:!1,storeLocatorParentRef:null,subFontHoverColor:"",subHeader:!1,subHeaderMenuWithIcon:!1,supressHeaderClick:!1,toggleHeaderFlyoutStatus:()=>{},toggleMarketoDrawer:()=>{},toggleMiniCart:()=>{},toOpenMarketoDrawer:!1,toOpenMenuFlyout:!1,topLeftContent:!1,topRightContent:!1,tpvCartClick:()=>{},type:"",yourStoreDropdown:!1,yourStoreSection:!1,zipCode:""},i4.propTypes={accountInfo:_().object,activeScreen:_().number,automationID:_().string,bottomLeftContent:_().bool,breakpoint:_().string,changeParentStyle:_().func,checkYourStoreData:_().func,closeSearchFlyout:_().func,closeSetYourStoreDrawer:_().func,closeYourStoreDrawer:_().func,cologoExists:_().bool,customerName:_().string,defaultOpenState:_().bool,domain:_().string,dotcomCartCount:_().number,fontColor:_().string,getCart:_().func,headerData:_().shape({topNavigationColor:_().string}),headerFlyoutStatus:_().bool,headerType:_().string,isBudgetCenterOverlayOpened:_().bool,isMessagesOverlayOpened:_().bool,isNewSBAMINICart:_().bool,loadedActions:_().bool,loyaltyEnrollmentDrawerOptions:_().object,loyaltyOffersDrawerOptions:_().object,menuItem:_().shape({actionIcon:_().string,actionOverridesByGroup:_().array,actionType:_().string,ariaLabel:_().string,design:_().string,headliner:_().array,icon:_().string,metadata:_().object,navigationPopUp:_().array,targetWindow:_().string,treatmentType:_().string}),menuItemInstances:_().object,menuItemsInstanceHandler:_().func,messageCountSba:_().number,navigationPopUp:_().array,newSAHeader:_().bool,openADDShipToDrawer:_().func,openHeaderMenuFlyout:_().func,openListsDrawer:_().func,openLoyaltyBPCDrawer:_().bool,openLoyaltyBPCDrawerOptions:_().object,openLoyaltyEnrollmentDrawer:_().func,openLoyaltyOffersDrawer:_().func,openLoyaltySKUOffersDrawer:_().func,openMenuLinkRef:_().oneOfType([_().func,_().shape({current:_().elementType})]),openRewardsSignupDrawer:_().func,openSetYourStoreDrawer:_().func,openStoreLocatorDrawer:_().func,openSTSModal:_().func,openYourStoreDrawer:_().func,parentRef:_().oneOfType([_().func,_().shape({current:_().elementType})]),permissionApplied:_().bool,primaryStoreObject:_().object,qoDrawerOptions:_().object,rewardsDrawerOptions:_().object,rewardsNumber:_().string,routeDetails:_().shape({isWhiteLabel:_().bool,routeId:_().string,routeType:_().string}),routePrefix:_().string,router:_().object.isRequired,sbaCartCount:_().number,segmentCode:_().string,setActiveBackground:_().func,setMobileFlyoutScrollTop:_().func,setRequiredCookieModalOptions:_().func,setSmallScreen:_().func,setYourStoreDropdown:_().bool,shippingCity:_().string,shippingState:_().string,showCreateList:_().bool,showDotcomMiniCart:_().bool,showLoginDrawer:_().func,showMiniCart:_().bool,siteVariables:_().shape({isCOM:_().bool,isProd:_().bool,isSBA:_().bool}),stickyHeader:_().bool,storeLocatorParentRef:_().oneOfType([_().func,_().shape({current:_().elementType})]),subFontHoverColor:_().string,subHeader:_().bool,subHeaderMenuWithIcon:_().bool,supressHeaderClick:_().bool,toggleHeaderFlyoutStatus:_().func,toggleMarketoDrawer:_().func,toggleMiniCart:_().func,toOpenMarketoDrawer:_().bool,toOpenMenuFlyout:_().bool,topLeftContent:_().bool,topRightContent:_().bool,tpvCartClick:_().func,type:_().string,yourStoreDropdown:_().bool,yourStoreSection:_().bool,zipCode:_().string},iJ.defaultProps={accountInfo:{},backgroundColor:"primary",breakpoint:"xs",cologoExists:!1,dotcomCartCount:0,fontColor:"",loader:!1,menuItem:{actionIcon:"",actionType:"",destinationURL:"",headliner:"",icon:!0,targetWindow:"",treatmentType:"",iconOverridesByGroup:""},messageCountSba:0,renderComponent:!0,routeDetails:{routeId:"",routeType:""},sbaCartCount:0,showDotcomMiniCart:!1,siteVariables:{isCOM:!0,isSBA:!1},subFontHoverColor:"",subHeader:""},iJ.propTypes={accountInfo:_().object,backgroundColor:_().string,breakpoint:_().string,cologoExists:_().bool,dotcomCartCount:_().number,fontColor:_().string,loader:_().bool,menuItem:_().shape({actionIcon:_().string,actionType:_().string,ariaLabel:_().string,destinationURL:_().string,headliner:_().string,icon:_().bool,iconOverridesByGroup:_().array,targetWindow:_().string,treatmentType:_().string}),messageCountSba:_().number,renderComponent:_().bool,routeDetails:_().shape({routeId:_().string,routeType:_().string}),sbaCartCount:_().number,showDotcomMiniCart:_().bool,siteVariables:_().shape({isCOM:_().bool,isSBA:_().bool}
1),subFontHoverColor:_().string,subHeader:_().string},iX.defaultProps={cologoExists:!1,fontColor:"",menuItem:{actionIcon:"",actionOverridesByGroup:[],actionType:"",design:"",headliner:"",icon:!0,navigationPopUp:[],treatmentType:""},renderComponent:!0,routeDetails:{isWhiteLabel:!1,routeId:"",routeType:""},siteVariables:{},subFontHoverColor:"",subHeader:""},iX.propTypes={cologoExists:_().bool,fontColor:_().string,menuItem:_().shape({actionIcon:_().string,actionOverridesByGroup:_().array,actionType:_().string,design:_().string,headliner:_().string,icon:_().bool,navigationPopUp:_().array,treatmentType:_().string}),renderComponent:_().bool,routeDetails:_().shape({isWhiteLabel:!1,routeId:_().string,routeType:_().string}),siteVariables:_().object,subFontHoverColor:_().string,subHeader:_().string};var i3=t(79393),i8=t(53558);function i7(){let n=(0,W._)(["\n            font-size: 16px;\n            font-weight: 500;\n        "]);return i7=function(){return n},n}function i9(){let n=(0,W._)(["\n            font-size: 14px;\n            line-height: 20px;\n            font-weight: 500;\n            font-family: "," !important;\n            color: inherit;\n        "]);return i9=function(){return n},n}function an(){let n=(0,W._)(["\n        font-size: 16px;\n        line-height: 24px ;\n        font-weight: 500px;\n        font-family: "," !important;\n        ","\n        ","\n    "]);return an=function(){return n},n}function ae(){let n=(0,W._)(["\n            font-size: 14px;\n        "]);return ae=function(){return n},n}function at(){let n=(0,W._)(["\n        font-family: ",";\n        cursor: pointer;\n        font-size: 14px;\n        outline: none;\n        ","\n        "," {\n            padding-left: 0px;\n        }\n    "]);return at=function(){return n},n}function ar(){let n=(0,W._)(["\n            font-size: 14px;\n        "]);return ar=function(){return n},n}function ao(){let n=(0,W._)(["\n        font-size: 14px;\n        line-height: 20px;\n        letter-spacing: 0.43px;\n        font-family: ",";\n        ","\n    "]);return ao=function(){return n},n}function ai(){let n=(0,W._)(["\n        text-decoration: underline !important;\n    "]);return ai=function(){return n},n}function aa(){let n=(0,W._)(["\n        text-decoration: none !important;\n    "]);return aa=function(){return n},n}function as(){let n=(0,W._)(["\n        & * {\n            white-space: nowrap !important;\n        }\n    "]);return as=function(){return n},n}function al(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n"]);return al=function(){return n},n}function ac(){let n=(0,W._)(["\n    width: 24px;\n    height: 24px;\n    justify-content: center !important;\n"]);return ac=function(){return n},n}function au(){let n=(0,W._)(["\n    font-family: ",";\n    font-weight: 700;\n    font-size: 16px;\n    letter-spacing: 0;\n    text-align: center;\n    line-height: 24px;\n\n"]);return au=function(){return n},n}function ap(){let n=(0,W._)(["\n        color: "," !important;\n    "]);return ap=function(){return n},n}function ad(){let n=(0,W._)(["\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    position: relative;\n    ","\n"]);return ad=function(){return n},n}function af(){let n=(0,W._)(["\n        height: 5px;\n        margin-top: 15px;\n    "]);return af=function(){return n},n}function am(){let n=(0,W._)(["\n    display: block;\n    height: 4px;\n    background-color: ",";\n    margin: 0 auto;\n    position: absolute;\n    width: 75%;\n    border-top-left-radius: 25px;\n    border-top-right-radius: 25px;\n    ","\n"]);return am=function(){return n},n}function ag(){let n=(0,W._)(["\n    cursor: pointer;\n    &:hover {\n        color: "," !important;\n    }\n    &:focus {\n        outline: 1px dashed ",";\n        outline-offset: 1px;\n    }\n"]);return ag=function(){return n},n}function ah(){let n=(0,W._)(["\n        font-size: 14px;\n    "]);return ah=function(){return n},n}function ab(){let n=(0,W._)(["\n    outline: none;\n    font-family: ",";\n    cursor: pointer;\n    font-size: 14px;\n    outline: none;\n    letter-spacing: 0.43px;\n    ","\n    "," {\n        padding-left: 0px;\n    }\n    &:focus {\n      outline: none;\n    }\n    &:hover {\n      color: "," !important;\n    }\n"]);return ab=function(){return n},n}function ax(){let n=(0,W._)(["\n    width: 100% !important;\n    position: absolute;\n"]);return ax=function(){return n},n}function ay(){let n=(0,W._)(["\n        margin-left: 1px;\n        height:inherit;\n        display: inline-block;\n    "]);return ay=function(){return n},n}function aw(){let n=(0,W._)(["\n        margin-left: 1px;\n        height:inherit;\n        display: flex;\n    "]);return aw=function(){return n},n}function aS(){let n=(0,W._)(["\n        margin-left: 12px;\n    "]);return aS=function(){return n},n}function aC(){let n=(0,W._)(["\n        margin-left: 16px;\n    "]);return aC=function(){return n},n}function aI(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return aI=function(){return n},n}function av(){let n=(0,W._)(["\n            margin-left: 0;\n        "]);return av=function(){return n},n}function aT(){let n=(0,W._)(["\n        display: block;\n        margin-left: 0;\n        ",";\n        ",";\n    "]);return aT=function(){return n},n}function a_(){let n=(0,W._)(["\n        outline: none;\n        a {\n            &:active {\n                outline: none;\n            }\n        }\n    "]);return a_=function(){return n},n}function aO(){let n=(0,W._)(["\n            margin-top: 10px;\n            display: block;\n        "]);return aO=function(){return n},n}function aD(){let n=(0,W._)(["\n         ",";\n    "]);return aD=function(){return n},n}function aE(){let n=(0,W._)(["\n            padding-top: 6px !important;\n        "]);return aE=function(){return n},n}function aA(){let n=(0,W._)(["\n        &:hover {\n            a {\n                color: "," !important;\n            }\n        }\n        ",";\n    "]);return aA=function(){return n},n}function aL(){let n=(0,W._)(["\n        padding-top: 6px !important;\n    "]);return aL=function(){return n},n}function aM(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n"]);return aM=function(){return n},n}function ak(){let n=(0,W._)(["\n            font-size: 14px;\n        "]);return ak=function(){return n},n}function aR(){let n=(0,W._)(["\n        font-family: ",";\n        cursor: pointer;\n        font-size: 14px;\n        outline: none;\n        letter-spacing: 0.43px;\n        outline: none;\n        &:focus {\n            outline: none;\n        }\n        ",";\n        "," {\n            padding-left: 0px;\n        }\n    "]);return aR=function(){return n},n}function aP(){let n=(0,W._)(["\n        padding: 10px 16px;\n        display: flex;\n        font-family: ",";\n        font-size: 12px;\n        font-style: normal;\n        font-weight: 500;\n        line-height: 16px;\n        outline: none !important;\n        align-items: center;\n        justify-content: center;\n        &:focus {\n            outline: none;\n        }\n        &:hover {\n            cursor: pointer;\n            border-radius: 28px;\n            background: ",";\n        }\n        "," {\n          margin-left: 2px;\n          align-content: center;\n        }\n    "]);return aP=function(){return n},n}function aN(){let n=(0,W._)(["\n                visibility: hidden;\n            "]);return aN=function(){return n},n}function aB(){let n=(0,W._)(["\n                display: none;\n            "]);return aB=function(){return n},n}function aj(){let n=(0,W._)(["\n        color: inherit;\n        &:hover {\n            "," {\n                visibility: visible;\n            }\n        }\n        "," {\n            ","\n            ","\n            padding-left: 6px;\n            position: relative;\n        }\n    "]);return aj=function(){return n},n}function aH(){let n=(0,W._)(["\n        font-family: ",";\n        color: inherit;\n        font-size: 16px;\n         "," {\n             font-size: 16px;\n         }\n    "]);return aH=function(){return n},n}function aF(){let n=(0,W._)(["\n                font-size: 12px;\n                padding-bottom: 9.8px !important;\n                border-width: 4px;\n                border-bottom-style: solid;\n                color: ",";\n            "]);return aF=function(){return n},n}function aU(){let n=(0,W._)(["\n        font-size: 12px;\n        "," {\n            ","\n        }\n    "]);return aU=function(){return n},n}function aW(){let n=(0,W._)(["\n    \n    ","\n    ","\n    ","\n    ","\n    ","\n"]);return aW=function(){return n},n}function az(){let n=(0,W._)(["\n        position: fixed;\n        top: 0;\n        left: 0;\n        bottom: 0;\n        width: 100%;\n        z-index: 10001;\n        visibility: hidden;\n        outline: none;\n    "]);return az=function(){return n},n}function aY(){let n=(0,W._)(["\n        width: 480px;\n        transition: width 0.2s cubic-bezier(1, 0.01, 0.01, 1) 0s;\n        visibility: visible;\n        right: 0;\n    "]);return aY=function(){return n},n}function aK(){let n=(0,W._)(["\n            width: 90vw;\n        "]);return aK=function(){return n},n}function a$(){let n=(0,W._)(["\n        &:focus {\n            outline: none !important;\n        }\n        ","\n    "]);return a$=function(){return n},n}function aG(){let n=(0,W._)(["\n        position: absolute;  \n        left: -15px !important;\n    "]);return aG=function(){return n},n}function aV(){let n=(0,W._)(["\n               left: -270px;\n        "]);return aV=function(){return n},n}function aQ(){let n=(0,W._)(["\n       left: -222px;\n         ","\n    "]);return aQ=function(){return n},n}function aq(){let n=(0,W._)(["\n         left: -170px !important;\n        "]);return aq=function(){return n},n}function aZ(){let n=(0,W._)(["\n        position: absolute;\n        ","\n    "]);return aZ=function(){return n},n}function aJ(){let n=(0,W._)(["\n        max-height: 694px;\n    "]);return aJ=function(){return n},n}
1function aX(){let n=(0,W._)(["\n                margin-top: -1px !important;\n                right: -12px;\n                position: relative;\n            "]);return aX=function(){return n},n}function a0(){let n=(0,W._)(["\n                margin-top: -1px !important;\n                right: -12px;\n                position: relative;\n            "]);return a0=function(){return n},n}function a1(){let n=(0,W._)(["\n                margin-top: -1px !important;\n                right: -8px;\n                position: relative;\n            "]);return a1=function(){return n},n}function a2(){let n=(0,W._)(["\n                transition: top 0.8s cubic-bezier(0.3, 0.85, 0, 1);\n            "]);return a2=function(){return n},n}function a6(){let n=(0,W._)(["\n                &:hover {\n                    cursor: default !important;\n                }\n            "]);return a6=function(){return n},n}function a4(){let n=(0,W._)(["\n                right: 0px;\n                left: auto;\n                "]);return a4=function(){return n},n}function a5(){let n=(0,W._)(["\n                ","\n            "]);return a5=function(){return n},n}function a3(){let n=(0,W._)(["\n                width: 936px;\n                min-width: 788px;\n                "]);return a3=function(){return n},n}function a8(){let n=(0,W._)(["\n            transition: top 0.3s cubic-bezier(0.3, 0.85, 0, 1);\n            transform-origin: top;\n        "]);return a8=function(){return n},n}function a7(){let n=(0,W._)(["\n                width: calc(100vw - 25px) !important;\n            "]);return a7=function(){return n},n}function a9(){let n=(0,W._)(["\n            @media screen and (max-width: 1260px) and (min-width: 1025px) {\n                width: calc(100vw - 25px) !important;\n            }\n            ","\n            @media screen and (max-width: 959px) and (min-width: 821px) {\n                width: calc(100vw - 25px) !important;\n            }\n        "]);return a9=function(){return n},n}function sn(){let n=(0,W._)(["\n            width: 821px;\n            max-width: 1088px;\n            min-width: 821px;\n            overflow-y: hidden !important;\n            overflow-x: hidden !important;\n        "]);return sn=function(){return n},n}function se(){let n=(0,W._)(["\n            outline: none;\n        "]);return se=function(){return n},n}function st(){let n=(0,W._)(["\n        transition: top 0.3s cubic-bezier(0.3, 0.85, 0, 1);\n        position: absolute;\n        z-index: -1;\n        top: -1000px;\n        transform-origin: top;\n        .minicartstyles__dropDownContentShowCart {\n            ","\n            ","\n            ","\n        }\n        &.cart-wrapper {\n            right: 0 !important;\n            ","\n        }\n        &.text-menu-wrapper,\n        &.lists-wrapper {\n            width: 323px;\n            background: ",";\n            margin: 0 auto;\n            display: block;\n            color: ",";\n            border-radius: 0 0 8px 8px;\n            outline: none;\n            top: -616px;\n            overflow: hidden;\n            transition: top 0.5s cubic-bezier(0.3, 0.85, 0, 1);\n            ","\n        }\n        &.text-menu-wrapper {\n            ","\n        }        \n        &.mega-menu-wrapper {\n            width: 1088px;\n            max-width: 1088px;\n            min-width: 936px;\n            max-height: 616px;\n            outline: none;\n            overflow: hidden;\n            @media screen and (max-width: 1260px) and (min-width:  ","px) {\n                width: 936px;\n            }\n            ","\n            @media screen and (max-width: 959px) and (min-width: ","px) {\n                width: 788px;\n            }\n        }\n        &.sb-shop-menu-wrapper {\n            width: 1344px;\n            max-width: 1344px;\n            min-width: 1344px;\n            max-height: 616px;\n            outline: none;\n            overflow: hidden;\n            @media screen and (max-width: 1368px) and (min-width: 1108px) {\n                width: 1083px;\n                min-width: 1083px;\n            }\n            @media screen and (max-width: 1107px) and (min-width: 821px) {\n                width: 796px;\n                min-width: 796px;\n            }\n            \n        }\n        ","\n        ","\n        ","\n        &.image-menu-wrapper,\n        .featured-image-1-wrapper {\n            width: 540px;\n            background-color: ",";\n            max-height: 408px;\n            overflow-x: hidden;\n            overflow-y: hidden;\n            border-bottom-left-radius: 8px;\n            border-bottom-right-radius: 8px;\n            outline: none;\n            &:hover {\n                cursor: default !important;\n            }\n            .ps__rail-y {\n                opacity: 0.6 !important;\n                width: 11px !important;\n                background-color: #F3F3F3;\n                &:hover {\n                    opacity: 0.6 !important;\n                    background-color: #F3F3F3;\n                    width: 11px !important;\n                    .ps__thumb-y {\n                        width: 6px !important;\n                    }\n                }\n            }\n            .ps__thumb-y {\n                margin-left: 2px;\n            }\n            :global(.ps--scrolling-y > .ps__rail-y) {\n                opacity: 0.6 !important;\n                background-color: #F3F3F3;\n                width: 11px;\n            }\n        }\n        &.featured-image-1-wrapper {\n            max-height: 450px;\n            width: 930px;\n            max-width: 930px !important;\n        \n            @media screen and (max-width: ","px) {\n                min-width: 796px !important;\n            }\n        }\n        ","\n    "]);return st=function(){return n},n}function sr(){let n=(0,W._)(["\n        left: 0;\n        top: 40px;\n    "]);return sr=function(){return n},n}function so(){let n=(0,W._)(["\n    color: "," !important;\n    ","\n    ","\n    ","\n    \n      ","\n    \n    ","    \n    ","\n     ","\n    ","\n    ","\n    &.text-menu-loaderWrapper {\n        padding: 100px;\n    }\n"]);return so=function(){return n},n}function si(){let n=(0,W._)(["\n        width: 100%; !important;\n    "]);return si=function(){return n},n}function sa(){let n=(0,W._)(["\n    background: ",";\n    border-bottom-left-radius: 10px;\n    border-bottom-right-radius: 10px;\n    width: 301px;\n    height: 100%;\n    position: absolute;\n    top: 0;\n    left: 0;\n    &.text-menu-loadingContent {\n        width: 288px;\n        padding: 100px;\n    }\n    &.featured-image-1-loadingContent {\n        width: 100%;\n    }\n    ","\n"]);return sa=function(){return n},n}function ss(){let n=(0,W._)(["\n    position: absolute;\n    top: 40%;\n    left: calc(50% - 24px);\n"]);return ss=function(){return n},n}function sl(){let n=(0,W._)(["\n        position: relative;\n        top: -2px;\n    "]);return sl=function(){return n},n}function sc(){let n=(0,W._)(["\n    justify-content: center;\n    display: flex;\n    ","\n    \n    \n"]);return sc=function(){return n},n}function su(){let n=(0,W._)(["\n    position: absolute;\n    border-radius: 50%;\n    right:0;\n    border-color: ",";\n    height: 20px;
1\n    width: 20px;\n    display: block;\n    border: 2px solid ",";\n    background: ",";\n    color: ",";\n    text-align: center;\n    top: -3px;\n    font-size: 11px;\n    font-family: ",";\n    font-weight: 700;\n    &:hover {\n        cursor: pointer;\n    }\n     "]);return su=function(){return n},n}function sp(){let n=(0,W._)(["\n        width: 30px;\n        height: 20px;\n        border-radius: 8px;\n        font-size: 11px;\n        font-style: normal;\n        font-weight: 700;\n        right: -12px;\n    "]);return sp=function(){return n},n}function sd(){let n=(0,W._)(["\n    justify-content: center !important;\n    ","\n\n    ","\n"]);return sd=function(){return n},n}function sf(){let n=(0,W._)(["\n        color: "," !important;\n    "]);return sf=function(){return n},n}function sm(){let n=(0,W._)(["\n        margin-top: -6px;\n         & * {\n            white-space: nowrap !important;\n        }\n    "]);return sm=function(){return n},n}function sg(){let n=(0,W._)(["\n            font-size: 14px;\n            line-height: 20px;\n            letter-spacing: 0.01em;\n            font-weight: 500;\n            font-family: ",";\n            border-bottom-style: none;\n            padding-bottom: 0;\n            color: inherit;\n        "]);return sg=function(){return n},n}function sh(){let n=(0,W._)(["\n        font-size: 16px !important;\n        line-height: 24px !important;\n        letter-spacing: 0.01em !important;\n        font-weight: 400;\n        font-family: ",";\n        ","\n    "]);return sh=function(){return n},n}function sb(){let n=(0,W._)(["\n         font-size: 16px;\n         font-weight: 400;\n         line-height: 24px;\n     "]);return sb=function(){return n},n}function sx(){let n=(0,W._)(["\n            font-size: 14px;\n        "]);return sx=function(){return n},n}function sy(){let n=(0,W._)(["\n        font-family: ",";\n        cursor: pointer;\n        font-size: 14px;\n        outline: none;\n        ","\n        "," {\n            padding-left: 0px;\n        }\n    "]);return sy=function(){return n},n}function sw(){let n=(0,W._)(["\n        white-space: nowrap;\n        font-size: 12px;\n        margin-top: 0;\n        padding-right:8px;\n    "]);return sw=function(){return n},n}function sS(){let n=(0,W._)(["\n    padding-left: 8px;\n    font-size: 12px;\n    font-style: normal;\n    font-weight: 500;\n    line-height: 16px;\n    ","\n    ","\n    ","\n     ","\n    ","\n   \n    ","\n"]);return sS=function(){return n},n}function sC(){let n=(0,W._)(["\n            color: "," !important;\n    "]);return sC=function(){return n},n}function sI(){let n=(0,W._)(["\n    font-size: 12px;\n    font-style: normal;\n    font-weight: 300;\n    line-height: 16px;\n    display: flex;\n    ","\n\n\n"]);return sI=function(){return n},n}function sv(){let n=(0,W._)(["\n    display: flex;\n    font-size: 12px;\n    font-style: normal;\n    font-weight: 500;\n    line-height: 16px;\n"]);return sv=function(){return n},n}function sT(){let n=(0,W._)(["\n    width:32px;\n    height: 32px;\n    border-radius: 50%;\n    background: ",";\n    align-content: center;\n    svg {\n        margin: auto;\n    }\n"]);return sT=function(){return n},n}function s_(){let n=(0,W._)(["\n            font-family: ",";\n            letter-spacing: 0.01em;\n        "]);return s_=function(){return n},n}function sO(){let n=(0,W._)(["\n    font-family: ",";\n    font-size: 14px !important;\n    "," {\n        ","\n    }\n"]);return sO=function(){return n},n}function sD(){let n=(0,W._)(["\n            display: block;\n        "]);return sD=function(){return n},n}function sE(){let n=(0,W._)(["\n            display: block;\n            height: 4px;\n            background-color: ",";\n            margin: 0 auto;\n            border-top-left-radius: 25px;\n            border-top-right-radius: 25px;\n            width: 100% !important;\n            margin-top: 10px;\n        "]);return sE=function(){return n},n}function sA(){let n=(0,W._)(["\n            margin-top: 14px;\n        "]);return sA=function(){return n},n}function sL(){let n=(0,W._)(["\n            margin-top: 14px;\n        "]);return sL=function(){return n},n}function sM(){let n=(0,W._)(["\n            margin-top: 12px;\n        "]);return sM=function(){return n},n}function sk(){let n=(0,W._)(["\n            margin-top: -2px !important;\n        "]);return sk=function(){return n},n}function sR(){let n=(0,W._)(["\n            margin-top: 22px !important;\n            left: -8px;\n        "]);return sR=function(){return n},n}function sP(){let n=(0,W._)(["\n                margin-top: 8px !important;\n            "]);return sP=function(){return n},n}function sN(){let n=(0,W._)(["\n                margin-top: -4px !important;\n            "]);return sN=function(){return n},n}function sB(){let n=(0,W._)(["\n            margin-top: 12px !important;\n            "," \n             ","\n        "]);return sB=function(){return n},n}function sj(){let n=(0,W._)(["\n    display: block;
1\n    align-items: center;\n    text-align: center;\n    justify-content: center;\n    margin-top: 6px;\n    outline: none;\n    cursor: pointer;\n    &:focus {\n        outline: none;\n    }\n    span {\n        display: flex;\n        align-items: center;\n        text-align: center;\n        justify-content: flex-start;\n    }\n    "," {\n        ","\n    }\n    "," {\n        ","\n\n        ","\n        ","\n        ","\n        ","\n        ","\n\n         "," \n    }\n"]);return sj=function(){return n},n}function sH(){let n=(0,W._)(["\n                margin-left: 6px;\n            "]);return sH=function(){return n},n}function sF(){let n=(0,W._)(["\n            //margin-left: 8px;\n            ","\n        "]);return sF=function(){return n},n}function sU(){let n=(0,W._)(["\n    cursor: pointer;\n    position: relative;\n    display: flex;\n    align-items: center;\n    font-size: 14px;\n    letter-spacing: 0.43px;\n    font-family: ",";\n    outline: none;\n    "," {\n        ","\n    }\n"]);return sU=function(){return n},n}function sW(){let n=(0,W._)(["\n                        background-color: transparent;\n                        border-radius: 0;\n                        width: auto;\n                        height: auto;\n                        > div:not(",") {\n                            margin-top: 0 !important;\n                        }\n                    "]);return sW=function(){return n},n}function sz(){let n=(0,W._)(["\n                "," {\n                    ","\n                }\n            "]);return sz=function(){return n},n}function sY(){let n=(0,W._)(["\n                width: 100% !important;\n                margin-top: 6px !important;\n            "]);return sY=function(){return n},n}function sK(){let n=(0,W._)(["\n        margin-top: 0 !important;\n        "," {\n            ","\n        }\n        "," {\n            ","\n        }\n        \n    "]);return sK=function(){return n},n}function s$(){let n=(0,W._)(["\n                        background-color: transparent;\n                        border-radius: 0;\n                        width: auto;\n                        height: auto;\n                        > div:not(",") {\n                            margin-top: 0 !important;\n                        }\n                    "]);return s$=function(){return n},n}function sG(){let n=(0,W._)(["\n                "," {\n                    ","\n                }\n            "]);return sG=function(){return n},n}function sV(){let n=(0,W._)(["\n        margin-top: 0 !important;\n        "," {\n            ","\n        }\n    "]);return sV=function(){return n},n}function sQ(){let n=(0,W._)(["\n        margin-top: 0 !important;\n    "]);return sQ=function(){return n},n}function sq(){let n=(0,W._)(["\n        margin-top: 0 !important;\n    "]);return sq=function(){return n},n}function sZ(){let n=(0,W._)(["\n    \n    ","\n    ","\n     ","\n\n    ","\n\n    ","\n"]);return sZ=function(){return n},n}function sJ(){let n=(0,W._)(["\n        margin-top: 0px;\n    "]);return sJ=function(){return n},n}function sX(){let n=(0,W._)(["\n            margin-top: 0 !important;\n        "]);return sX=function(){return n},n}function s0(){let n=(0,W._)(["\n                    margin-top: 11px;\n                "]);return s0=function(){return n},n}function s1(){let n=(0,W._)(["\n                ",";\n            "]);return s1=function(){return n},n}function s2(){let n=(0,W._)(["\n        ","\n        "," {\n            ","\n        }\n    "]);return s2=function(){return n},n}function s6(){let n=(0,W._)(["\n    margin-top: 20px;\n    display: block;\n    ","\n    ","\n"]);return s6=function(){return n},n}function s4(){let n=(0,W._)(["\n    display: flex;\n    align-items: center;\n    text-align: center;\n    justify-content: center;\n    margin-top: 6px;\n    height: 100%;\n    outline: none;\n    cursor: pointer;\n    span {\n        display: flex;\n        align-items: center;\n        text-align: center;\n        justify-content: flex-start;\n        line-height: 15px;\n    }\n"]);return s4=function(){return n},n}function s5(){let n=(0,W._)(["\n        margin-top: 0px;\n    "]);return s5=function(){return n},n}function s3(){let n=(0,W._)(["\n                margin-top: 16px;\n            "]);return s3=function(){return n},n}function s8(){let n=(0,W._)(["\n            margin-top: 4px;\n            ",";\n        "]);return s8=function(){return n},n}function s7(){let n=(0,W._)(["\n    margin-top: 17px;\n    ","\n    ",";\n    "," {\n        ","\n    }\n"]);return s7=function(){return n},n}function s9(){let n=(0,W._)(["\n        margin-top: 0 !important;\n    "]);return s9=function(){return n},n}function ln(){let n=(0,W._)(["\n        margin-top: 0 !important;\n    "]);return ln=function(){return n},n}function le(){let n=(0,W._)(["\n    margin-top: 0 !important;\n    ","\n    ","\n    ","\n"]);return le=function(){return n},n}function lt(){let n=(0,W._)(["\n        margin-top: 4px;\n    "]);return lt=function(){return n},n}function lr(){let n=(0,W._)(["\n    margin-top: 20px;\n    display: block;\n    ","\n"]);return lr=function(){return n},n}function lo(){let n=(0,W._)(["\n            &:hover {\n                border-radius: 50%;\n                background-color: rgba(0, 0, 0, 0.09);\n            }\n        "]);return lo=function(){return n},n}function li(){let n=(0,W._)(["\n        ",";\n    "]);return li=function(){return n},n}function la(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n\n"]);return la=function(){return n},n}function ls(){let n=(0,W._)(["\n            &:hover {\n                border-radius: 50%;\n                background-color: rgba(0, 0, 0, 0.09);\n            }\n        "]);return ls=function(){return n},n}function ll(){let n=(0,W._)(["\n        ",";\n    "]);return ll=function(){return n},n}function lc(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","    \n"]);return lc=function(){return n},n}function lu(){let n=(0,W._)(["\n        padding : 0;\n    "]);return lu=function(){return n},n}function lp(){let n=(0,W._)(["\n            border-radius: 12px;\n            padding: 8px 12px;\n        "]);return lp=function(){return n},n}function ld(){let n=(0,W._)(["\n        padding: 8px 0;\n        border-radius: none;\n        background: none;\n        \n        ",";\n\n        &:hover {\n            background: none !important;\n        }\n    "]);return ld=function(){return n},n}function lf(){let n=(0,W._)(["\n        background: ",";\n    "]);return lf=function(){return n},n}function lm(){let n=(0,W._)(["\n                  margin-top: 12px !important;\n                "]);return lm=function(){return n},n}function lg(){let n=(0,W._)(["\n                outline: 1px dashed ",";\n            "]);return lg=function(){return n},n}function lh(){let n=(0,W._)(["\n            "," {\n                div {\n                    outline: 1px dashed "," !important;\n                }\n            }\n        "]);return lh=function(){return n},n}function lb(){let n=(0,W._)(["\n            padding: 10px;\n            position: relative;\n            &:hover {\n                border-radius: 50%;\n                background: ",";\n            }\n            & ~ "," {\n                margin-top: 10px !important;\n                @media all and (max-width: 1025px) {\n                  margin-top: 14px !important;\n                }\n                ","\n            }\n       \n    &:focus {\n        outline: none;\n        "," {\n            ","\n        }\n        ","\n    }\n    "]);return lb=function(){return n},n}function lx(){let n=(0,W._)(["\n        align-content: center;\n    "]);return lx=function(){return n},n}function ly(){let n=(0,W._)(["\n        display: flex;\n        height: 100%;\n        &:focus {\n            outline: none;\n        }\n    "]);return ly=function(){return n},n}function lw(){let n=(0,W._)(["\n                        margin-top: 0px;\n                    "]);return lw=function(){return n},n}function lS(){let n=(0,W._)(["\n                & ~ "," {\n                    ","\n                }\n            "]);return lS=function(){return n},n}function lC(){let n=(0,W._)(["\n            display: flex;\n            ","\n        "]);return lC=function(){return n},n}function lI(){let n=(0,W._)(["\n                & span {\n                    line-height: 16px;\n                }\n            "]);return lI=function(){return n},n}function lv(){let n=(0,W._)(["\n        ",";\n        span {\n            line-height: 16px;\n        }\n        "," {\n            ","\n        }\n    "]);return lv=function(){return n},n}function lT(){let n=(0,W._)(["\n        &:hover {\n            border-radius: 12px;\n            background-color: ",";\n        }\n    "]);return lT=function(){return n},n}function l_(){let n=(0,W._)(["\n            @media all and (min-width: 1025px) {\n                background: "," !important;\n            }\n        "]);return l_=function(){return n},n}function lO(){let n=(0,W._)(["\n        padding: 0px !important;\n     "]);return lO=function(){return n},n}function lD(){let n=(0,W._)(["\n                    margin-top: 7px;\n                "]);return lD=function(){return n},n}function lE(){let n=(0,W._)(["\n            & ~ "," {\n                ","\n            }\n        "]);return lE=function(){return n},n}function lA(){let n=(0,W._)(["\n            & ~ "," {\n                margin-top: 10px;\n            }\n        "]);return lA=function(){return n},n}function lL(){let n=(0,W._)(["\n        \n        ","\n        ","\n    "]);return lL=function(){return n},n}function lM(){let n=(0,W._)(["\n        padding: 8px 12px;\n        min-height: 48px;\n    "]);return lM=function(){return n},n}function lk(){let n=(0,W._)(["\n    padding: 10px 16px;
1\n    align-items: center;\n    outline: none;\n            & * {\n                outline: none;\n            }\n    ",";\n   \n    \n    ","\n\n     ",";\n\n\n    ","\n\n    ","\n\n    ","\n    ","\n    ","\n\n    &:hover {\n        ","; \n    }\n    \n\n     ","\n    ","\n\n     ",";\n"]);return lk=function(){return n},n}function lR(){let n=(0,W._)(["\n    margin-top: 12px;\n    text-align: center;\n    font-family: ",";\n    button.button__sparq {\n        width: auto !important;\n    }\n"]);return lR=function(){return n},n}function lP(){let n=(0,W._)(["\n    &:last-child {\n        margin-top: 4px;\n    }\n    margin-top: 12px;\n    text-align: center;\n    font-family: ",";\n    button.button__sparq {\n        width: auto !important;\n    }\n    button {\n        margin: 0;\n        height: 38px;\n    }\n    span.headlinerText {\n        font-weight: 400;\n    }\n"]);return lP=function(){return n},n}function lN(){let n=(0,W._)(["\n    padding: 16px;\n    font-weight: normal;\n    font-size: 14px;\n    line-height: 14px;\n    display: flex;\n    flex-flow: column;\n    align-content: center;
1\n    align-items: center;\n    align-self: center;\n    gap: 12px;\n    text-align: center;\n"]);return lN=function(){return n},n}function lB(){let n=(0,W._)(["\n        flex-grow: 0;\n        margin-right: 12px;\n        &:focus {\n            outline: none !important;\n        }\n    "]);return lB=function(){return n},n}function lj(){let n=(0,W._)(["\n        width: 68px;\n        margin-right: 12px;\n    "]);return lj=function(){return n},n}function lH(){let n=(0,W._)(["\n    width: 44px;\n    height: 44px;\n    margin-top: 0;\n    margin-right: 12px;\n    margin-bottom: 12px;\n    border-radius: 50%;\n    position: relative;\n    outline: none;\n    &:focus {\n        outline: 1px dashed ",";\n    }\n    ",";\n    ","\n"]);return lH=function(){return n},n}function lF(){let n=(0,W._)(["\n        display :'flex'  \n"]);return lF=function(){return n},n}function lU(){let n=(0,W._)([""]);return lU=function(){return n},n}function lW(){let n=(0,W._)([""]);return lW=function(){return n},n}function lz(){let n=(0,W._)(["\n font-size: 12px;\n font-weight: 300;\n line-height: 16px;\n font-family: ",";   \n"]);return lz=function(){return n},n}function lY(){let n=(0,W._)(["\n                    display: none;\n                "]);return lY=function(){return n},n}function lK(){let n=(0,W._)(["\n            margin-top: 0 !important;\n        "]);return lK=function(){return n},n}function l$(){let n=(0,W._)(["\n\n        margin-left: 0 !important;\n        margin-top: 0 !important;\n        font-family: ",";\n        "," {\n            margin-top: 16px;\n        }\n        "," {\n            "," {\n                ","\n            }\n        }\n        ",";\n    "]);return l$=function(){return n},n}function lG(){let n=(0,W._)(["\n            margin-top: 0;\n        "]);return lG=function(){return n},n}function lV(){let n=(0,W._)(["\n        margin-top: 22px;\n        ","\n    "]);return lV=function(){return n},n}function lQ(){let n=(0,W._)(["\n        outline: none;\n        width: inherit;\n        &:focus {\n            outline: none;\n        }\n        span.popup-component__tooltiptext_sparq {\n            display: none;\n        }\n    "]);return lQ=function(){return n},n}function lq(){let n=(0,W._)(["\n        outline: none !important;\n        margin-top: 22px;\n        margin-left: 32px;\n        &:focus {\n        outline: none;\n        }\n    "]);return lq=function(){return n},n}function lZ(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return lZ=function(){return n},n}function lJ(){let n=(0,W._)(["\n            margin-left: 0;\n        "]);return lJ=function(){return n},n}function lX(){let n=(0,W._)(["\n        outline: none;\n        margin-left: 32px;\n        margin-top: 22px;\n        position: relative;\n        ",";\n        ","\n        &:focus {\n            outline: 1px dashed ",";\n        }\n        span.popup-component__tooltiptext_sparq {\n            display: none;\n        }\n    "]);return lX=function(){return n},n}function l0(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return l0=function(){return n},n}function l1(){let n=(0,W._)(["\n        position: relative;\n        margin-left: 16px;\n        display: flex;\n        align-items: center;\n        ","\n        "," {\n            padding-left: 0px;\n        }\n        &:focus {\n            outline: 1px dashed ",";\n        }\n    "]);return l1=function(){return n},n}function l2(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return l2=function(){return n},n}function l6(){let n=(0,W._)(["\n        outline: none;\n        position: relative;\n        margin-left: 27px;\n        display: flex;\n        align-items: center;\n        ","\n        "," {\n            padding-left: 0px;\n        }\n        &:focus {\n            outline: none;\n        }\n    "]);return l6=function(){return n},n}function l4(){let n=(0,W._)(["\n        outline: none;\n        &:focus {\n            outline: none;\n        }\n    "]);return l4=function(){return n},n}function l5(){let n=(0,W._)(["\n            width: 40px;\n            margin-right: 0;\n        "]);return l5=function(){return n},n}function l3(){let n=(0,W._)(["\n        ","\n        ","\n    "]);return l3=function(){return n},n}function l8(){let n=(0,W._)(["\n            margin-right: 0;\n        "]);return l8=function(){return n},n}function l7(){let n=(0,W._)(["\n        ","\n        ","\n    "]);return l7=function(){return n},n}function l9(){let n=(0,W._)(["\n        ","\n        &:focus {\n            outline: 1px dashed ",";\n        }\n    "]);return l9=function(){return n},n}function cn(){let n=(0,W._)(["\n            width: auto;\n            height: auto;\n            margin: 12px 0 0 10px;\n            min-width: 44px;\n            \n        "]);return cn=function(){return n},n}function ce(){let n=(0,W._)(["\n            width: auto;\n            height: auto;\n            margin: 12px 0 0 10px;\n            min-width: 44px;\n        "]);return ce=function(){return n},n}function ct(){let n=(0,W._)(["\n                margin: 0;\n                min-width: unset;\n                padding-right: 24px;\n            "]);return ct=function(){return n},n}function cr(){let n=(0,W._)(["\n            width: auto;\n            height: auto;\n            margin: 0 !important;\n            min-width: 44px;\n            ","\n        "]);return cr=function(){return n},n}function co(){let n=(0,W._)(["\n                margin: 0;\n                min-width: unset;\n                padding-right: 24px;\n            "]);return co=function(){return n},n}function ci(){let n=(0,W._)(["\n            width: auto;\n            height: auto;\n            margin: 0 !important;\n            min-width: 44px;\n            ","\n        "]);return ci=function(){return n},n}function ca(){let n=(0,W._)(["\n                margin-right: 0;\n                margin-left: 0;\n            "]);return ca=function(){return n},n}function cs(){let n=(0,W._)(["\n            ",";\n        "]);return cs=function(){return n},n}function cl(){let n=(0,W._)(["\n        width: auto;\n        height: auto;\n        ",";\n        ",";\n        ",";\n        ",";\n        ","\n    "]);return cl=function(){return n},n}function cc(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return cc=function(){return n},n}function cu(){let n=(0,W._)(["\n            margin-left: 0;\n        "]);return cu=function(){return n},n}function cp(){let n=(0,W._)(["\n        margin-left: 16px;\n        position: relative;\n        ",";\n        ","\n    "]);return cp=function(){return n},n}
1function cd(){let n=(0,W._)(["\n        margin-top: 1px !important;\n    "]);return cd=function(){return n},n}function cf(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return cf=function(){return n},n}function cm(){let n=(0,W._)(["\n            margin-left: 0;\n        "]);return cm=function(){return n},n}function cg(){let n=(0,W._)(["\n        margin-left: 16px;\n        position: relative;\n        ",";\n        ","\n        &:focus {\n            outline: 1px dashed ",";\n        }\n    "]);return cg=function(){return n},n}function ch(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return ch=function(){return n},n}function cb(){let n=(0,W._)(["\n            margin-left: 0;\n        "]);return cb=function(){return n},n}function cx(){let n=(0,W._)(["\n        outline: none;\n        height: 100%;\n        margin-left: 32px;\n        position: relative;\n        ",";\n        ","\n        &:focus {\n            outline: 1px dashed ",";\n            & > "," {\n                outline: 1px dashed ",";\n            }\n        }\n    "]);return cx=function(){return n},n}function cy(){let n=(0,W._)(["\n        outline: none;\n        a:focus {\n            outline: 1px dashed ",";\n        }\n        a:hover, span:hover {\n          text-decoration: none !important;\n        }\n    "]);return cy=function(){return n},n}function cw(){let n=(0,W._)(["\n                margin-left: 0px;\n            "]);return cw=function(){return n},n}function cS(){let n=(0,W._)(["\n        border-left: 1px solid ",";\n        padding-left: 12px !important;\n        margin-left: 18px !important;\n        "," {\n            ","\n        }\n    "]);return cS=function(){return n},n}function cC(){let n=(0,W._)(["\n        border-right: 1px solid ",";\n        padding-right: 12px !important;\n        margin-right: 2px !important;\n    "]);return cC=function(){return n},n}function cI(){let n=(0,W._)(["\n            margin: 0 !important;\n        "]);return cI=function(){return n},n}function cv(){let n=(0,W._)(["\n        ","\n    "]);return cv=function(){return n},n}function cT(){let n=(0,W._)(["\n    outline: none;\n    display: flex;\n    align-items: center;\n    &:focus {\n        outline: none;\n    }\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n\n    ","\n    ","\n\n\n    ","\n\n    ","\n\n    ","\n\n    ","\n\n    ","\n\n    ","\n\n    ","\n\n\n    ","\n    \n    \n    \n    .Bold {\n        font-family: ",";\n        font-weight: 500;\n    }\n    .Underline {\n        text-decoration: underline;\n    }\n    .Italics {\n        font-style: italic;\n    }\n    .dropshadow {\n        &:hover {\n          box-shadow: rgba(120, 140, 155, 0.7) 0 0 5px;\n        }\n    }\n    .noBlueOutlineOnFocus {\n        outline: none !important;\n        &:focus {\n            outline: none !important;\n        }\n    }\n     margin-top: 0 !important;\n\n"]);return cT=function(){return n},n}let c_=z.default.span.withConfig({componentId:"sc-c81ac867-0"})(al(),n=>{let{$styledprop:e}=n;return i()(e,"dotcomsubTextMenuItem")&&(0,z.css)(an(),ng.typography.type.motiva,(i()(e,"subTextMenuItemClick")||i()(e,"subTextMenuItems"))&&(0,nh.Nv)("md",(0,z.css)(i7())),(i()(e,"subTextMenuItemClick")||i()(e,"subTextMenuItems"))&&(0,nh.Nv)("lg",(0,z.css)(i9(),ng.typography.type.motiva)))},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemClick")&&(0,z.css)(at(),ng.typography.type.motiva_light,(0,nh.Nv)("md",(0,z.css)(ae())),cO)},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItems")&&(0,z.css)(ao(),ng.typography.type.motiva_light,(0,nh.Nv)("md",(0,z.css)(ar())))},n=>{let{$styledprop:e}=n;return i()(e,"addUnderline")&&(0,z.css)(ai())},n=>{let{$styledprop:e}=n;return i()(e,"removeUnderline")&&(0,z.css)(aa())},n=>{let{$styledprop:e}=n;return i()(e,"primaryHeaderHeadliner")&&(0,z.css)(as())}),cO=z.default.span.withConfig({componentId:"sc-c81ac867-1"})(ac()),cD=z.default.div.withConfig({componentId:"sc-c81ac867-2"})(au(),ng.typography.type.motiva),cE=z.default.div.withConfig({componentId:"sc-c81ac867-3"})(ad(),n=>{let{$styledprop:e}=n;return i()(e,"fontColor")&&(0,z.css)(ap(),Y.colors["primary"===i()(e,"fontColor")?"brand":i()(e,"fontColor")
1])}),cA=z.default.span.withConfig({componentId:"sc-c81ac867-4"})(am(),Y.colors.staples_red,(0,nh.Nv)("md",(0,z.css)(af()))),cL=z.default.span.withConfig({componentId:"sc-c81ac867-5"})(ag(),Y.colors.brand,Y.colors.black),cM=z.default.div.withConfig({componentId:"sc-c81ac867-6"})(ab(),ng.typography.type.motiva_light,(0,nh.Nv)("md",(0,z.css)(ah())),cO,n=>{let{$styledprop:e}=n;return i()(e,"isEmptyZipCodeDrawer")?Y.colors.brand:Y.colors.black}),ck=z.default.span.withConfig({componentId:"sc-c81ac867-7"})(ax()),cR=z.default.span.withConfig({componentId:"sc-c81ac867-8"})(aM(),n=>{let{$styledprop:e}=n;return i()(e,"menuItemIconWithText")&&(0,z.css)(ay())},n=>{let{$styledprop:e}=n;return i()(e,"dotcomBottonRightIcon")&&(0,z.css)(aw())},n=>{let{$styledprop:e}=n;return(i()(e,"sbaMenuItemIcon")||i()(e,"dotcomMenuItemIcon"))&&(0,z.css)(aS())},n=>{let{$styledprop:e}=n;return i()(e,"textDestionationMenuRight")&&(0,z.css)(aC())},n=>{let{$styledprop:e}=n;return(i()(e,"textDestionationMenuRight")||i()(e,"textDestionationMenu"))&&(0,z.css)(aT(),(0,nh.Nv)("md",(0,z.css)(aI())),(0,nh.FI)((0,z.css)(av())))},n=>{let{$styledprop:e}=n;return i()(e,"primaryHeadliner")&&(0,z.css)(a_())},n=>{let{$styledprop:e}=n;return i()(e,"rightTopContentWithTextmenu")&&(0,z.css)(aD(),(0,nh.Nv)("md",(0,z.css)(aO())))},n=>{let{$styledprop:e}=n;return i()(e,"hiTouchTopleftwithIcon")&&(0,z.css)(aA(),Y.colors.ink_blue,(0,nh.Nv)("sm",(0,z.css)(aE())))},n=>{let{$styledprop:e}=n;return i()(e,"topleftwithIcon")&&(0,nh.Nv)("sm",(0,z.css)(aL()))}),cP=z.default.div.withConfig({componentId:"sc-c81ac867-9"})(aW(),n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItem")&&(0,z.css)(aR(),ng.typography.type.motiva_light,(0,nh.Nv)("md",(0,z.css)(ak())),cO)},n=>{let{$styledprop:e}=n;return i()(e,"mainMenuItem")&&(0,z.css)(aP(),ng.typography.type.motiva,Y.colors[i()(e,"menuColor","dark_red")],cO)},n=>{let{$styledprop:e}=n;return i()(e,"mainMenuItemNotSm")&&(0,z.css)(aj(),cO,cO,(0,nh.Ys)((0,z.css)(aN())),(0,nh.Fd)((0,z.css)(aB())))},n=>{let{$styledprop:e}=n;return i()(e,"dotcombottomRighttextMenuItem")&&(0,z.css)(aH(),ng.typography.type.motiva,c_)},n=>{let{$styledprop:e}=n;return i()(e,"rewardsSubTextMenuItem")&&(0,z.css)(aU(),c_,(i()(e,"subTextMenuItems")||i()(e,"subTextMenuItemClick"))&&(0,z.css)(aF(),Y.colors.black))}),cN=z.default.div.withConfig({componentId:"sc-c81ac867-10"})(so(),Y.colors.black,n=>{let{$styledprop:e}=n;return i()(e,"drawerComponentWrapper")&&(0,z.css)(az())},n=>{let{$styledprop:e}=n;return i()(e,"drawerComponentWrapper")&&i()(e,"drawerComponentWrapperActive")&&(0,z.css)(aY())},n=>{let{$styledprop:e}=n;return i()(e,"dotcomCartMenuWrapper")&&(0,z.css)(a$(),(0,nh.Fd)((0,z.css)(aK())))},n=>{let{$styledprop:e}=n;return i()(e,"shopMenuFlyoutComponentWrapper")&&(0,z.css)(aG())},n=>{let{$styledprop:e}=n;return i()(e,"serviceMenutreatmentType")&&(0,z.css)(aQ(),(0,nh.Nv)("md",(0,z.css)(aV())))},n=>{let{$styledprop:e}=n;return i()(e,"ordersmegaMenu")&&(0,z.css)(aZ(),(0,nh.FI)((0,z.css)(aq())))},n=>{let{$styledprop:e}=n;return i()(e,"accountMenu")&&(0,z.css)(aJ())},n=>{let{$styledprop:e}=n;return i()(e,"flyoutComponentWrapper")&&(0,z.css)(st(),(0,nh.Nv)("sm",(0,z.css)(aX())),(0,nh.Nv)("xs",(0,z.css)(a0())),(0,nh.Nv)("xxs",(0,z.css)(a1())),i()(e,"flyoutComponentWrapperActive")&&(0,z.css)(a2()),Y.colors.white,Y.colors.black,i()(e,"flyoutComponentWrapperActive")&&(0,z.css)(a6()),(i()(e,"rewardsTextMenu")||i()(e,"isTextList"))&&(0,z.css)(a5(),(0,nh.Nv)("xs",(0,z.css)(a4()))),nm.BREAKPOINTS.md,(0,nh.Nv)("md",(0,z.css)(a3())),nm.BREAKPOINTS.sm+1,i()(e,"flyoutComponentWrapperActive")&&(0,z.css)(a8()),i()(e,"ideasWrapper")&&(0,z.css)(a9(),(0,nh.Nv)("md",(0,z.css)(a7()))),i()(e,"worklifeflyoutWrapper")&&(0,z.css)(sn()),Y.colors.white,nm.BREAKPOINTS.md,i()(e,"subheaderWrapper")&&(0,z.css)(se()))},n=>{let{$styledprop:e}=n;return i()(e,"defaultOpenMenu")&&(0,z.css)(sr())}),cB=z.default.div.withConfig({componentId:"sc-c81ac867-11"})(sa(),Y.colors.white,n=>{let{$styledprop:e}=n;return i()(e,"isOrdersMegaMenu")&&(0,z.css)(si())}),cj=z.default.div.withConfig({componentId:"sc-c81ac867-12"})(ss()),cH=z.default.span.withConfig({componentId:"sc-c81ac867-13"})(sc(),n=>{let{$styledprop:e}=n;return i()(e,"subHeaderIcon")&&(0,z.css)(sl())}),cF=(0,z.css)(su(),Y.colors.white,Y.colors.white,Y.colors.white,Y.colors.black,ng.typography.type.motiva),cU=z.default.span.withConfig({componentId:"sc-c81ac867-14"})(sd(),n=>{let{$styledprop:e}=n;return i()(e,"cartMenuItems")&&cF},n=>{let{$styledprop:e}=n;return i()(e,"cartMenuItemsLargeCount")&&(0,z.css)(sp())}),cW=z.default.div.withConfig({componentId:"sc-c81ac867-15"})(sS(),n=>{let{$styledprop:e}=n;return i()(e,"fontColor")&&(0,z.css)(sf(),Y.colors["primary"===i()(e,"fontColor")?"brand":i()(e,"fontColor")
1])},n=>{let{$styledprop:e}=n;return i()(e,"textPositionOnClick")&&(0,z.css)(sm())},n=>{let{$styledprop:e}=n;return i()(e,"dotcomsubTextMenuItem")&&(0,z.css)(sh(),ng.typography.type.motiva,i()(e,"subTextMenuItemClick")&&(0,nh.Nv)("lg",(0,z.css)(sg(),ng.typography.type.motiva)))},n=>{let{$styledprop:e}=n;return i()(e,"dotcomRightsubTextMenuItem")&&(0,z.css)(sb())},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemClick")&&(0,z.css)(sy(),ng.typography.type.motiva_light,(0,nh.Nv)("md",(0,z.css)(sx())),cO)},n=>{let{$styledprop:e}=n;return i()(e,"mainNavMenuItemIcon")&&i()(e,"textPositionOnClick")&&(0,z.css)(sw())}),cz=z.default.div.withConfig({componentId:"sc-c81ac867-16"})(sI(),n=>{let{$styledprop:e}=n;return i()(e,"fontColor")&&(0,z.css)(sC(),Y.colors["primary"===i()(e,"fontColor")?"brand":i()(e,"fontColor")])}),cY=z.default.div.withConfig({componentId:"sc-c81ac867-17"})(sv()),cK=z.default.div.withConfig({componentId:"sc-c81ac867-18"})(sT(),Y.colors.light_gray_2),c$=n=>(0,z.css)(sO(),ng.typography.type.motiva,cW,i()(n,"subTextPosition")&&(0,z.css)(s_(),ng.typography.type.motiva)),cG=n=>(0,z.css)(sj(),cW,!i()(n,"subTextPosition")&&(0,z.css)(sD()),ck,(i()(n,"mainHeaderTextBorder")||i()(n,"mainHeaderIconBorder"))&&(0,z.css)(sE(),Y.colors.white),(0,nh.Nv)("md",(0,z.css)(sA())),(0,nh.Nv)("sm",(0,z.css)(sL())),(0,nh.Nv)("xs",(0,z.css)(sM())),i()(n,"notLgBottomBarMenuItem")&&(0,z.css)(sk()),i()(n,"isMobileMenu")&&(0,z.css)(sR()),i()(n,"isRewardsMenuItem")&&(0,z.css)(sB(),(0,nh.Nv)("lg",(0,z.css)(sP())),(0,nh.Nv)("xs",(0,z.css)(sN())))),cV=n=>(0,z.css)(sU(),ng.typography.type.motiva_light,cW,i()(n,"subTextPosition")&&(0,z.css)(sF(),(0,nh.Nv)("md",(0,z.css)(sH())))),cQ=n=>(0,z.css)(sZ(),(0,nh.Nv)("lg",(0,z.css)(sK(),c6,i()(n,"dotcomobilehide")&&(0,z.css)(sz(),cH,i()(n,"dotcomobilehide")&&(0,z.css)(sW(),cE)),ck,i()(n,"mainHeaderTextBorder")&&(0,z.css)(sY()))),(0,nh.Nv)("md",(0,z.css)(sV(),c6,i()(n,"dotcomobilehide")&&(0,z.css)(sG(),cH,i()(n,"dotcomobilehide")&&(0,z.css)(s$(),cE)))),(0,nh.Nv)("sm",(0,z.css)(sQ())),(0,nh.Nv)("xs",(0,z.css)(sq())),cG(n)),cq=n=>(0,z.css)(s6(),(0,nh.FI)((0,z.css)(sJ())),i()(n,"mainNavMenuItemIcon")&&(0,z.css)(s2(),(0,nh.Nv)("lg",(0,z.css)(sX())),ck,i()(n,"mainHeaderIconBorder")&&(0,z.css)(s1(),(0,nh.Nv)("md",(0,z.css)(s0()))))),cZ=(0,z.css)(s4()),cJ=n=>(0,z.css)(s7(),cZ,(0,nh.FI)((0,z.css)(s5())),ck,i()(n,"mainHeaderIconBorder")&&(0,z.css)(s8(),(0,nh.FI)((0,z.css)(s3())))),cX=n=>(0,z.css)(le(),cZ,(0,nh.FI)((0,z.css)(s9())),i()(n,"mainNavMenuItemIcon")&&(0,nh.Nv)("lg",(0,z.css)(ln()))),c0=(0,z.css)(lr(),(0,nh.Nv)("sm",(0,z.css)(lt()))),c1=(0,z.default)(nb.default).withConfig({componentId:"sc-c81ac867-19"})(la(),n=>{let{$styledprop:e}=n;return i()(e,"dotcomiconPositionClick")&&cQ(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightmenuItemsClick")&&cq(e)},n=>{let{$styledprop:e}=n;return i()(e,"dotcomIconPosition")&&c$(e)},n=>{let{$styledprop:e}=n;return i()(e,"subIconPosition")&&cV(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightmenuItems")&&c0},n=>{let{$styledprop:e}=n;return i()(e,"rightIconPosition")&&cJ(e)},n=>{let{$styledprop:e}=n;return i()(e,"iconPosition")&&cX(e)},n=>{let{$styledprop:e}=n;return i()(e,"comMenuItemIconOnly")&&(0,z.css)(li(),(0,nh.Nv)("lg",(0,z.css)(lo())))}),c2=z.default.div.withConfig({componentId:"sc-c81ac867-20"})(lc(),n=>{let{$styledprop:e}=n;return i()(e,"dotcomiconPositionClick")&&cQ(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightmenuItemsClick")&&cq(e)},n=>{let{$styledprop:e}=n;return i()(e,"dotcomIconPosition")&&c$(e)},n=>{let{$styledprop:e}=n;return i()(e,"subIconPosition")&&cV(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightmenuItems")&&c0},n=>{let{$styledprop:e}=n;return i()(e,"rightIconPosition")&&cJ(e)},n=>{let{$styledprop:e}=n;return i()(e,"iconPosition")&&cX(e)},n=>{let{$styledprop:e}=n;return i()(e,"comMenuItemIconOnly")&&(0,z.css)(ll(),(0,nh.Nv)("lg",(0,z.css)(ls())))}),c6=z.default.div.withConfig({componentId:"sc-c81ac867-21"})(lk(),n=>{let{$styledprop:e}=n;return i()(e,"isMobileMenu")&&(0,z.css)(lu())},n=>{let{$styledprop:e}=n;return i()(e,"isStoreMenuItem")&&(0,z.css)(ld(),(0,nh.Nv)("lg",(0,z.css)(lp())))},n=>{let{$styledprop:e}=n;return i()(e,"overLayColor")&&(0,z.css)(lf(),i()(e,"isStoreMenuItem")?Y.colors[i()(e,"overLayColor","dark_red")]:"none")},n=>{let{$styledprop:e}=n;return i()(e,"cartBubbleIcon")&&(0,z.css)(lb(),Y.colors[i()(e,"menuColor","dark_red")],ck,(0,nh.Nv)("xs",(0,z.css)(lm())),c6,!i()(e,"cartBubbleIcon")&&(0,z.css)(lg(),Y.colors.black),i()(e,"cartMenuItemIcon")&&i()(e,"clickdropshadowIcon")&&i()(e,"cartBubbleIcon")&&(0,z.css)(lh(),cH,Y.colors.black))},n=>{let{$styledprop:e}=n;return i()(e,"dotcomwithoutText")&&(0,z.css)(lx())},n=>{let{$styledprop:e}=n;return!i()(e,"cartBubbleIcon")&&(0,z.css)(ly())},n=>{let{$styledprop:e}=n;return(i()(e,"dotcomobilehide")||i()(e,"dotcomobiledropshadowHide"))&&(0,z.css)(lv(),(0,nh.Nv)("lg",(0,z.css)(lC(),i()(e,"mainNavMenuItemIcon")&&(0,z.css)(lS(),ck,i()(e,"mainHeaderIconBorder")&&(0,z.css)(lw())))),cW,i()(e,"textPositionOnClick")&&(0,z.css)(lI()))},n=>{let{$styledprop:e}=n;return i()(e,"dotcomobiledropshadowHide")&&(0,z.css)(lT(),Y.colors.dark_red)},n=>{let{$styledprop:e}=n;return i()(e,"menuColor")&&(0,z.css)(l_(),Y.colors[i()(e,"menuColor","dark_red")])},n=>{let{$styledprop:e}=n;return i()(e,"dotcombottomLeftBar")&&(0,z.css)(lO())},n=>{let{$styledprop:e}=n;return i()(e,"mainNavMenuItemIcon")&&(0,z.css)(lL(),i()(e,"accountIcon")&&(0,z.css)(lE(),ck,i()(e,"mainHeaderIconBorder")&&(0,nh.Ys)((0,z.css)(lD()))),i()(e,"cartBubbleIcon")&&(0,z.css)(lA(),ck))},n=>{let{$styledprop:e}=n;return i()(e,"isRewardsMenuItem")&&(0,z.css)(lM())}),c4=(0,z.css)(lR(),ng.typography.type.motiva),c5=(0,z.css)(lP(),ng.typography.type.motiva),c3=z.default.div.withConfig({componentId:"sc-c81ac867-22"})(lN()),c8=(0,z.css)(lH(),Y.colors.black,(0,nh.Nv)("sm",(0,z.css)(lB())),(0,nh.Fd)((0,z.css)(lj()))),c7=z.default.span.withConfig({componentId:"sc-c81ac867-23"})(lF()),c9=z.default.span.withConfig({componentId:"sc-c81ac867-24"})(lU()),un=z.default.span.withConfig({componentId:"sc-c81ac867-25"})(lW()),ue=z.default.span.withConfig({componentId:"sc-c81ac867-26"})(lz(),ng.typography.type.motiva),ut=z.default.div.withConfig({componentId:"sc-c81ac867-27"})(cT(),n=>{let{$styledprop:e}=n;return i()(e,"dotcomtextMenuItemWrapper")&&(0,z.css)(l$(),ng.typography.type.motiva,cA,cP,cO,!i()(e,"subHeader")&&(0,nh.Fd)((0,z.css)(lY())),i()(e,"addHover
1Effect")&&(0,nh.Ys)((0,z.css)(lK())))},n=>{let{$styledprop:e}=n;return i()(e,"addHoverEffect")&&(0,z.css)(lV(),(0,nh.FI)((0,z.css)(lG())))},n=>{let{$styledprop:e}=n;return i()(e,"menuItemFlyoutOpen")&&(0,z.css)(lQ())},n=>{let{$styledprop:e}=n;return i()(e,"textMenuItemDestinationMenu")&&(0,z.css)(lq())},n=>{let{$styledprop:e}=n;return i()(e,"textMenuItemWrapperClick")&&(0,z.css)(lX(),(0,nh.Nv)("md",(0,z.css)(lZ())),(0,nh.FI)((0,z.css)(lJ())),Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"subMenuItemIconWithText")&&(0,z.css)(l1(),(0,nh.Nv)("md",(0,z.css)(l0())),cO,Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"menuItemIconWithText")&&(0,z.css)(l6(),(0,nh.Nv)("md",(0,z.css)(l2())),cO)},n=>{let{$styledprop:e}=n;return i()(e,"leftMenuItemIcon")&&(0,z.css)(l4())},n=>{let{$styledprop:e}=n;return i()(e,"dotcomMenuItemIcon")&&(0,z.css)(l3(),c8,(0,nh.FI)((0,z.css)(l5())))},n=>{let{$styledprop:e}=n;return i()(e,"dotcomMenuCartItemIcon")&&(0,z.css)(l7(),c8,(0,nh.FI)((0,z.css)(l8())))},n=>{let{$styledprop:e}=n;return i()(e,"menuItemIcon")&&(0,z.css)(l9(),c8,Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"mainNavMenuItemIcon")&&(0,z.css)(cl(),(0,nh.Nv)("lg",(0,z.css)(cn())),(0,nh.Nv)("md",(0,z.css)(ce())),(0,nh.Nv)("sm",(0,z.css)(cr(),n=>{let{$styledprop:e}=n;return i()(e,"isSBMobileMenu")&&(0,z.css)(ct())})),(0,nh.Nv)("xs",(0,z.css)(ci(),n=>{let{$styledprop:e}=n;return i()(e,"isSBMobileMenu")&&(0,z.css)(co())})),i()(e,"cartMenuItemIcon")&&(0,z.css)(cs(),(0,nh.Nv)("sm",(0,z.css)(ca()))))},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemWrapperClick")&&(0,z.css)(cp(),(0,nh.Nv)("md",(0,z.css)(cc())),(0,nh.FI)((0,z.css)(cu())))},n=>{let{$styledprop:e}=n;return(i()(e,"subHeaderDotcomTextDestinationMenu")||i()(e,"dotcomTextDestinationMenuWithIcon"))&&(0,z.css)(cd())},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemWrapper")&&(0,z.css)(cg(),(0,nh.Nv)("md",(0,z.css)(cf())),(0,nh.FI)((0,z.css)(cm())),Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"textMenuItemWrapper")&&(0,z.css)(cx(),(0,nh.Nv)("md",(0,z.css)(ch())),(0,nh.FI)((0,z.css)(cb())),Y.colors.black,cP,Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"addLinkHover")&&(0,z.css)(cy(),Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"leftDivider")&&(0,z.css)(cS(),Y.colors.neutral_gray,cR,i()(e,"leftDivider")&&(0,nh.Nv)("md",(0,z.css)(cw())))},n=>{let{$styledprop:e}=n;return i()(e,"rightDivider")&&(0,z.css)(cC(),Y.colors.neutral_gray)},n=>{let{$styledprop:e}=n;return i()(e,"topLeftContent")&&(0,z.css)(cv(),(0,nh.Ys)((0,z.css)(cI())))},ng.typography.type.motiva_medium),ur=n=>"".concat(n,"_").concat(Math.floor(9e4*Math.random()+1e4)),uo=R()(()=>Promise.all([t.e(3701),t.e(1188),t.e(2859),t.e(3702),t.e(4853),t.e(1667),t.e(8653),t.e(8683),t.e(7360),t.e(8507),t.e(3753),t.e(2724),t.e(8101),t.e(5867),t.e(9182),t.e(1376),t.e(5666),t.e(7037),t.e(1780),t.e(1585)]).then(t.bind(t,72409)),{loadableGenerated:{webpack:()=>[72409]}}),ui=R()(()=>Promise.all([t.e(6219),t.e(7517),t.e(4926)]).then(t.bind(t,54648)),{loadableGenerated:{webpack:()=>[54648]}}),ua=(n,e)=>{try{F.Z.invokeAdapter({methodType:e?"storeState":"navTrack",model:n||{},headerType:"UX2"})}catch(n){console.error("exception in navigation text menu Analytics",n)}},us=(n,e,t,r,o)=>{let a=o&&i()(o,"address.city",""),s=o&&i()(o,"address.state","");void 0!==n&&n.stopPropagation&&n.stopPropagation();let l=[],[{actionType:c}]=(0,U.v2)(e),u="STORE-LOCATOR"===B.Qoz[c];c&&"CART"===B.Qoz[c]?l.push("Mini Cart"):l.push((0,U.zy)(e)||i()(e,"headliner.headlinertext","")||e.ariaLabel||i()(e,"navTextData.ariaLabel",""));let p={type:"HEADER",headerType:"UX2",value:l,link:i()(e,"destinationReplaceURL","")||i()(e,"destinationURL","")||""};if(t&&(p.headerVersion="mobile"),u){let n={type:"SET_STORE",payload:{setstore:!!r,text:a&&s?"".concat(a,", ").concat(s):"Store"}};ua(n,u);return}ua(p)},ul=n=>n&&n.length>0?n.map((n,e)=>(0,r.jsx)(H.Z,{headliner:n},e)):[],uc=(n,e)=>{let t=t=>{if(!(0,U.G5)(t))return;let r=Array.from(e.querySelectorAll('button:not([tabindex="-1"]), a:not([tabindex="-1"]), input:not([tabindex="-1"]), select, textarea, * [tabindex]:not
1([tabindex="-1"]):not([class*="ps__thumb"])'));if(r.length>0&&n){let n=r[0],e=r[r.length-1];if(t.shiftKey){if(document.activeElement===n)e.focus(),t.preventDefault();else if(!t.isTrusted){let n=r.indexOf(document.activeElement);n>-1&&r[n-1]&&r[n-1].focus()}}else if(document.activeElement===e)n.focus(),t.preventDefault();else if(!t.isTrusted){let n=r.indexOf(document.activeElement);n>-1&&r[n+1]&&r[n+1].focus()}}};return e&&e.addEventListener("keydown",t,!0),()=>{e&&e.removeEventListener("keydown",t,!0)}},uu=n=>{let{topRightContent:e,menuItem:t,fontColor:o,overLayColor:s,subHeader:l,subFontHoverColor:c,renderComponent:u,siteVariables:p,routeDetails:d,accountInfo:f,dotcomCartCount:m,appendActiveClass:g,customerName:h,isLogoOnlyHeader:b,newSaHeader:x,storeMenuObj:y,storeMenu:w,bottomLeftNavigationOptionItems:S,bottomRightNavigationOptionItems:I,customerFullName:v,isRewardsEligible:T,rewardsData:_,notLgBottomBarMenuItem:O}=n,{icon:D,headliner:E,destinationURL:A,destinationReplaceURL:L,targetWindow:M,treatmentType:k,iconOverridesByGroup:R,design:N,subHeadliner:j,menuColor:H}=t,[{actionType:F}]=(0,U.v2)(t),W="CART"===B.Qoz[F],z="SB-MOBILE-MENU"===B.Qoz[F],Y=i()(_,"loyaltyRewards.accounts[0].walletInfo.balances.current",0),K="STORE-LOCATOR"===B.Qoz[F],$="CART"===B.Qoz[F],G=(d&&d.routeId)===B.cVK,V=ul(E),Q=ul(j),q=(null==v?void 0:v.trim().split(/\s+/)[0])||v,Z=q&&q.length>18?"".concat(q.substring(0,18),"..."):q,J=B.JDr[N],X="ONE"===J||"FLEXIBLE"===J||"WORKLIFE"===J||"IDEAS"===J||"DYNAMIC-FLYOUT-BAR"===J||"DEALS"===J||"TEXT-LIST"===J||"MOBILE"==J||"REWARDS-TEXT-MENU"===J||"FEATURED-IMAGE-1"===J||"ORDERS-API-MEGA-MENU"===J,nn=N&&"REWARDS-TEXT-MENU"===B.JDr[N],ne=!C()(R)&&(0,U.N8)({iconOverridesByGroup:R,accountInfo:f,customerName:h,isRewardsEligible:T,newDotcomHeader:!0,isRewardsMenuItem:nn}),nt=D&&!l&&p.isCOM,nr=ne||D,{isLoggedIn:no}=f,ni={mainHeaderIconBorder:C()(V),mainHeaderTextBorder:!C()(V),notLgBottomBarMenuItem:O,dotcomtextMenuItemWrapper:p.isCOM&&!e,isMobileMenu:z,isRewardsMenuItem:nn},na={dotcomsubTextMenuItem:p.isCOM&&l&&S,dotcomRightsubTextMenuItem:p.isCOM&&l&&I,subTextPosition:l,textPositionOnClick:!l,subTextMenuItemClick:l&&X&&g&&!G,borderColor:(!g&&"DYNAMIC-FLYOUT-BAR"===J||l&&X&&g)&&c,fontColor:!g&&!l&&"DYNAMIC-FLYOUT-BAR"!==J&&o,mainNavMenuItemIcon:nt,dotcomTextNode:x&&D&&S},ns={dotcomobiledropshadowHide:!K&&!W&&!l&&!C()(V)&&"dropshadow"===k,dotcomobilehide:p.isCOM&&!W&&!l&&!C()(V)&&"dropshadow"!==k,dotcombottomLeftBar:p.isCOM&&l&&(S||I),dotcomwithoutText:p.isCOM&&!W&&!l&&C()(V)&&e,mainHeaderTextBorder:!C()(V),mobileHide:!W,cartBubbleIcon:W,isStoreMenuItem:K,overLayColor:s,menuColor:H,isMobileMenu:z,isRewardsMenuItem:nn},nl={clickdropshadowIcon:"dropshadow"===k&&u,iconDropDownRight:"dropshadow"===k&&!u,subHeaderIcon:l&&!x,mainNavMenuItemIcon:nt,borderColor:l&&!x&&"DYNAMIC-FLYOUT-BAR"===J&&c,mobileHide:!W,accountIcon:no&&("account"===nr||"customerName"===nr),isCartMe
1nu:W,newSaHeader:x},nc=(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)(c6,{tabIndex:"-1",$styledprop:{...ns,...na,...nl,...ni,...x},children:[(0,r.jsx)(cH,{$styledprop:{...nl,...x},children:K?(0,r.jsx)(cK,{children:"themed-logo"===k?(0,r.jsx)(i8.Logo,{height:24,id:"storLocatorIcon",name:D}):(0,r.jsx)(P.Icon,{size:24,id:"storLocatorIcon",name:D})}):nn&&ne&&no&&T?(0,r.jsx)(i3.CircleIcon,{color:"transparent",iconColor:"yellow",name:ne,size:12}):nn&&h&&!no?(0,r.jsx)(cE,{$styledprop:{fontColor:!l&&o},children:(0,r.jsx)(cD,{children:h})}):(0,r.jsx)(P.Icon,{name:ne||D,size:l?p.isCOM?20:16:K?32:24,color:nn&&ne&&no&&T?"light_orange":o})}),W&&p.isCOM?(0,r.jsx)(cU,{$styledprop:{cartMenuItems:!0,cartMenuItemsLargeCount:m>99},children:m>99?"99+":m}):null,!C()(V)&&(0,r.jsxs)(cW,{$styledprop:na,children:[nn&&q&&no?(0,r.jsxs)(cY,{children:[" ",V,"\xa0",(0,r.jsx)("span",{children:Z})]}):V,C()(Q)||w?T&&nn&&Y>0&&no?(0,r.jsxs)(cz,{children:[" ","".concat(Y," points")," "]}):null:(0,r.jsx)(cz,{$styledprop:na,children:Q}),K&&!l?w?(0,r.jsxs)(c7,{children:[(0,r.jsx)(c9,{children:(0,U.v_)(y.city,18)}),(0,r.jsxs)(un,{children:[", ",y.state]})," "]}):(0,r.jsx)(ue,{children:"Find a store near you"}):null]}),W||K||I||z?null:(0,r.jsx)(cO,{children:(0,r.jsx)(P.Icon,{ariaLabel:"flyout",name:u?"mini-caret-up":"mini-caret-down",size:24,color:o})})]}),u&&"drawer"!==M&&(0,r.jsx)(ck,{$styledprop:ni})]}),nu={dotcomIconPosition:p.isCOM&&l,subIconPosition:l,dotcomiconPositionClick:!l&&u&&p.isCOM,iconPositionClick:!l&&u&&!C()(V)&&!p.isCOM,rightmenuItemsClick:!l&&u&&"dropshadow"!==k,bottomLeftHover:l&&S,rightIconPosition:!l&&!u&&C()(V)&&"dropshadow"!==k,iconPosition:!l&&!u&&!C()(V),rightmenuItems:!l&&!u&&C()(V)&&"dropshadow"!==k,subTextPosition:l,cartBubbleIcon:W,cartMenuItemIcon:D&&!l&&$,comMenuItemIconOnly:C()(V)&&D&&!l&&p.isCOM&&b,renderComponent:u,...ni,...ns,...nl};return(0,r.jsx)(a.Fragment,{children:A||L?(0,r.jsx)(c1,{href:W?null:L||A,$styledprop:nu,target:"new-page"===M?"_blank":"_self",children:nc}):(0,r.jsx)(c2,{$styledprop:nu,children:nc})})},up=n=>{let{menuItem:e,fontColor:t,subHeader:o,renderComponent:i,subFontHoverColor:s,breakpoint:l,appendActiveClass:c,siteVariables:u,newSaHeader:p,bottomRightNavigationOptionItems:d}=n,{headliner:f,subHeadliner:m,treatmentType:g}=e,h=B.JDr[e.design],b=ul(f),x=ul(m),y="sm"===l||"xs"===l,w=(0,U.b1)(),S={subTextMenuItems:o&&!c,subTextMenuItemClick:o&&c,addUnderline:!o&&y&&w&&c,removeUnderline:!o&&y&&w&&!c,subHeader:o,newSaHeader:p};return(0,r.jsx)(a.Fragment,{children:(0,r.jsxs)(cP,{"aria-hidden":"true",$styledprop:{subTextMenuItem:o,mainMenuItem:!o,mainMenuItemNotSm:u.isCOM&&!o&&!y,dotcombottomRighttextMenuItem:u.isCOM&&o&&d,rewardsSubTextMenuItem:"DYNAMIC-FLYOUT-BAR"===h,...S},className:g,tabIndex:"-1",children:[(0,r.jsx)(c_,{$styledprop:{dotcomsubTextMenuItem:u.isCOM&&o,borderColor:o&&c?s:"DYNAMIC-FLYOUT-BAR"!==h||c?"":s,primaryHeaderHeadliner:!o,...S},style:{...!o&&{letterSpacing:"0.3px"}},children:b}),!C()(x)&&(0,r.jsxs)("div",{id:"subtext-node",children:[" ",x]}),("ONE"===h||"WORKLIFE"===h||"IDEAS"===h||"DYNAMIC-FLYOUT-BAR"===h||"DEALS"===h||"TEXT-LIST"===h||"MOBILE"==h||"REWARDS-TEXT-MENU"===h||"FEATURED-IMAGE-1"===h)&&(0,r.jsx)(cO,{children:(0,r.jsx)(P.Icon,{name:i?"mini-caret-up":"mini-caret-down",size:24,color:t})})]})})},ud=n=>{let{ref:e,componentRendererRef:t,designType:r,isMegaMenu:o,isCartMenu:i,isListMenu:a,isMobileMenu:s,isSBMobileMenu:l,isTextMenu:c,isImageMenu:u,appendActiveClass:p,parentRef:d,isDrawerComponent:f,calculateLeft:m,calculateHeight:g,onResize:h,bottomLeftContent:b,ariaLabel:x,isSolutionsMegaMenu:y,isShopFlexibleMenu:w,renderComponent:S}=n,C=e.current&&e.current.getBoundingClientRect(),I=t.current&&t.current.getBoundingClientRect(),v=d&&d.current&&d.current.getBoundingClientRect();if(C&&I&&v){let n=C.left,e=C.right,d=I.width,x=I.height,S=window.innerWidth,T=window.innerHeight;if("FEATURED-IMAGE-1"===r&&window.innerWidth>=1024&&(t.current.style.width="930px"),m){if(s)t.current.style.left="-".concat(n,"px");else if("FEATURED-IMAGE-1"===r&&window.innerWidth<=1024)t.current.style.left="-".concat(Math.abs(n),"px"),t.current.style.width="".concat(Math.abs(window.innerWidth-25),"px");else if(n+d>S&&I.width>0&&!f){if(e+25>window.innerWidth)t.current.style.right="0px",t.current.style.left="auto";else{let e="".concat(S-(n+d+25),"px");t.current.style.left=e}}else if(o||i||f||w||y){if(!f&&(!s||!l)&&(o||w)&&I.width>0&&d>0&&n>0){if(b){let e=n-25<50;if(e)t.current.style.left="-9px";else{let e=n-20,r=n+d+25<S;if(r&&e>=0)t.current.style.left="-".concat(e,"px");else if(!r){let r=n+d+25-S;t.current.style.left="-".concat(e+r,"px")}}}else t.current.style.left="-76px"}}else{let n=0;n=C.left>d/2?"-".concat(Math.abs((d-C.width)/2),"px"):"-".concat(Math.abs(C.left),"px"),t.current.style.left=n}}if(p?!f&&t&&t.current&&t.current.style&&(t.current.style.top="".concat(v.bottom-C.top,"px")):!f&&s&&T&&!h?t.current.style.top="-".concat(Math.abs(T-v.bottom),"px"):s||(t.current.style.top=null),g){let n=Math.abs(T-v.bottom),e=null;if(o||w)e="WORKLIFE"===r?n<319?"".concat(n,"px"):"319px":"ORDERS-API-MEGA-MENU"===r?n<328?"".concat(n,"px"):"328px":n<616?"".concat(n,"px"):"616px";else if(y)e=n<436?"".concat(n,"px"):"436px";else if(c||a){if(f)return;e=Math.floor(n)<=Math.ceil(x)?"".concat(n,"px"):"auto"}else u&&(e="FEATURED-IMAGE-1"===r?n<450?"".concat(n,"px"):"450px":n<408?"".concat(n,"px"):"408px");t.current.style.height=e}}},uf=(n,e)=>{let t=D()(n=>e(n),500);n&&n.current&&e&&(n.current.addEventListener("mouseenter",n=>{t(n)}),n.current.addEventListener("mouseleave",()=>{t.cancel&&t.cancel()}))},um=n=>{let e=(0,a.useRef)();return(0,a.useEffect)(()=>{e.current=n}),e.current},ug=n=>{let e=i()(n,"permissionlimit",[]),t=e.length>0&&-1!=e.indexOf("OpenMenu");return t},uh=n=>{let{headerData:e,menuItem:t,fontColor:o,overLayColor:s,subHeader:l,subFontHoverColor:c,siteVariables:u,routeDetails:p,checkYourStoreData:d,yourStoreSection:f,primaryStoreObject:g,routePrefix:h,accountInfo:b,breakpoint:x,toggleMiniCart:y,headerType:w,showMiniCart:S,sbaCartCount:I,messageCountSba:v,getCart:T,topRightContent:_,showLoginDrawer:O,automationID:D,type:E,permissionApplied:L,segmentCode:k,parentRef:R,changeParentStyle:P,closeSearchFlyout:H,setSmallScreen:F,setActiveBackgroun
1d:W,bottomLeftContent:z,dotcomCartCount:Y,toggleHeaderFlyoutStatus:K,toOpenMenuFlyout:$,openHeaderMenuFlyout:G,openMenuLinkRef:V,isNewSBAMINICart:Q,menuItemsInstanceHandler:q,menuItemInstances:Z,stickyHeader:J,openSTSModal:X,openADDShipToDrawer:ne,rewardsNumber:nt,defaultOpenState:nr,router:no,isBudgetCenterOverlayOpened:ni,isMessagesOverlayOpened:na,cologoExists:ns,customerName:nl,zipCode:nc,toggleMarketoDrawer:nu,toOpenMarketoDrawer:np,shippingState:nm,shippingCity:ng,domain:nh,openListsDrawer:nb,showCreateList:nx,setRequiredCookieModalOptions:ny,openRewardsSignupDrawer:nw,openLoyaltyEnrollmentDrawer:nS,loyaltyEnrollmentDrawerOptions:nC,rewardsDrawerOptions:nI,qoDrawerOptions:nv,openLoyaltyOffersDrawer:nT,openLoyaltySKUOffersDrawer:n_,loyaltyOffersDrawerOptions:nO,openStoreLocatorDrawer:nD,openLoyaltyBPCDrawer:nE,openLoyaltyBPCDrawerOptions:nA,navigationPopUp:nL,newSaHeader:nM,tpvCartClick:nk,supressHeaderClick:nR,bottomLeftNavigationOptionItems:nP,bottomRightNavigationOptionItems:nN,topLeftContent:nB,customerFullName:nj,notLgBottomBarMenuItem:nH,mainNdSubRef:nF}=n,{isLoggedIn:nU}=b,{openRewardsDrawer:nW}=nI,nz=nC&&nC.openLoyaltyEnrollmentDrawer,nY=nO&&nO.openLoyaltyOffersDrawer,nK=nA&&nA.openLoyaltyBPCDrawer,n$=nO&&nO.openLoyaltySKUOffersDrawer,{showQODrawer:nG}=nv,nV="sm"===x||"xs"===x,nQ=e.topNavigationColor||"white",{isProd:nq,isSBA:nZ}=u,nJ=(0,U.Br)(k),nX=(0,U.v2)(t),n0=i()(nX,"[0].actionchatLineOfBusiness",""),[{actionType:n1}]=nX,n2="LOYALTY-REWARDS-POINTS"===B.Qoz[n1],[n6,n4]=(0,a.useState)(nr),[n5,n3]=(0,a.useState)(nr),[n8,n7]=(0,a.useState)(!1),[n9,en]=(0,a.useState)(!1),[ee,et]=(0,a.useState)(!1),[er,eo]=(0,a.useState)({}),[ei,ea]=(0,a.useState)(!1),[es,el]=(0,a.useState)({}),[ec,eu]=(0,a.useState)(!1),[ep,ed]=(0,a.useState)(!1),[ef,em]=(0,a.useState)(!1),[eg,eh]=(0,a.useState)(!1),[eb,ex]=(0,a.useState)(!1),[ey,ew]=(0,a.useState)(!1),[eS,eC]=(0,a.useState)({}),[eI,ev]=(0,a.useState)({}),[eT,e_]=(0,a.useState)([]),[eO,eD]=(0,a.useState)({}),[eE,eA]=(0,a.useState)(!1),[eL,eM]=(0,a.useState)({}),ek=(0,a.useRef)(null),eR=(0,a.useRef)(null),eP="1_UNIDENTIFIED"===k,eN=(0,a.useRef)(null),eB=(0,a.useRef)(),ej=(0,a.useRef)(!1),eH=(0,a.useRef)(!1),eF=(0,a.useRef)(!1),{icon:eU,ariaLabel:eW,targetWindow:ez,design:eY,treatmentType:eK,headliner:e$,actionOverridesByGroup:eG,metadata:eV}=t,eQ=eY&&"REWARDS-TEXT-MENU"===B.JDr[eY],eq=eY&&"TEXT-LIST"===B.JDr[eY],eZ=!C()(eG)&&(0,U.QJ)({actionOverridesByGroup:eG,accountInfo:b,breakpoint:x}),eJ=eZ||B.Qoz[n1],eX=i()(eV,"childAPIToggle",!1)&&i()(eV,"id",""),e0=nL&&!C()(nL),e1=(0,a.useRef)("".concat(ur("".concat((eW||"").trim(),"_Item")))),e2="TEXT-DESTINATION-MENU"===eJ,e6="drawer"===ez,e4="STORE-LOCATOR"===eJ,e5="CART"===eJ,e3="CHAT"===eJ,e8=eY&&"WORKLIFE"===B.JDr[eY],e7=eY&&"ORDERS-API-MEGA-MENU"===B.JDr[eY],e9="MEGA-MENU"===eJ,tn="SB-FLEXIBLE-MENU"===eJ,te="MOBILE-MENU"===eJ,tt="SB-MOBILE-MENU"===eJ,tr="TEXT-MENU"===eJ||"LISTS"===eJ,to="IMAGE-MENU"===eJ,ti="LISTS"===eJ,ta="SHIPTO"===eJ,ts="MARKETO"===eJ,tl="SB-SHOP-FLEXIBLE-MENU"===eJ,tc="EMPTY-ZIP-CODE-DRAWER"===eJ,tu="ACTIVE-ZIP-CODE-DRAWER"===eJ&&!C()(nc),tp="ACTIVE-ZIP-CODE-DRAWER"===eJ||"EMPTY-ZIP-CODE-DRAWER"===eJ,td="MOBILE-SHOP-MENU"===eJ,tf="divider-left"===eK,tm=(0,U.b1)(),tg=(0,U.jy)(w,E),{tpvHeader:th,isLogoOnlyHeader:tb}=tg,tx=um(x),ty=um(na),tw=um(ni),[tS,tC]=(0,a.useState)(!1),tI=l&&i()(t,"icon",!1),tv=(0,U.VN)(b,"ZIP_CODE"),tT=eY&&"IDEAS"===B.JDr[eY],t_=um(np),tO=um(nG),tD=um(nW),tE=um(nz),tA=um(nY),tL=um(nK),tM=um(n$),tk=(0,a.useRef)({openTimeoutId:-1,closeTimeoutId:-1}),tR=ul(e$);(0,a.useEffect)(()=>{if(e0){if(eb)tk&&tk.current&&(-1!==tk.current.openTimeoutId&&clearTimeout(tk.current.openTimeoutId),-1!==tk.current.closeTimeoutId&&clearTimeout(tk.current.closeTimeoutId));else{let n=(0,nf.getSessionStorage)("headerPopOverState");tr&&("lg"===x||"md"===x)&&!nU&&!n6&&tk&&tk.current&&!n&&(tk.current.openTimeoutId=setTimeout(()=>{eh(!0)},1500))}}},[eb,x,e0,tr,n6,nU,nL]),(0,a.useEffect)(()=>{eg&&((0,nf.setSessionStorage)("headerPopOverState","rendered"),tk.current.closeTimeoutId=setTimeout(()=>{eh(!1)},12e3))},[eg]);let tP=(0,a.useCallback)(()=>
1{if(e0&&tr){let e=[];return A()(nL,(t,r)=>{C()(i()(t,"navigationPopUpItems",[]))||A()(i()(t,"navigationPopUpItems",[]),(t,o)=>{let i=C()(t.action);(0,U.Z1)({item:t,userData:{...p,...b},siteVariables:u,segmentCode:k,domain:nh,breakpoint:x,headerTypes:(0,U.jy)(w,E)})&&e.push((0,a.createElement)(j.Z,{...n,key:"popupItem_".concat(r,"_").concat(o),accountInfo:b,breakpoint:x,routeDetails:p,isPermissionLimitCheckedAtParent:!0,customCss:eP?c5:c4,navTextData:t,actionTypeHandler:tz,isIdNeeded:i,id:"popupItemContainer",headerType:w,type:E,signInPopup:!0,dispatchAnalytics:us,setRequiredCookieModalOptions:ny,primaryStoreObject:g,...n}))})}),(0,r.jsxs)(c3,{ref:eR,id:"popupItemContainer",children:[" ",e," "]})}},[nL,tr,p,b,u,k,x,p,nh,w,E,es]),tN=(0,a.useCallback)(()=>{let n=!1,e=(0,U.v2)(t,!0);return e&&!C()(i()(e,"[1]",{}))&&(n="DOTCOM-SIGN-IN-POPUP"===B.Qoz[i()(e,"[1].actionType","")]),n},[t,nL]);(0,a.useEffect)(()=>{let n=(0,U.b1)(),e=e1.current;if((0,U.Dy)(),tH(e,!1),e5&&tg.fullHeader){let{requestIdleCallback:n}=(0,U.Jv)();n(()=>T())}u&&u.isSBA&&e5&&!n&&uf(ek,tB);let t="STORE-LOCATOR"===B.Qoz[n1];t&&d&&(window.YourStore=window.YourStore||{},window.YourStore.setupYourStoreMenu=d),nt&&nJ&&eQ&&(n7(!0),(0,U.i2)(h,nt).then(n=>{n7(!1),n&&el(n)}).catch(n=>{console.error(n),n7(!1)}));let r=()=>{t&&d?(window.YourStore=window.YourStore||{},window.YourStore.setupYourStoreMenu=d,d(nU)):tj()},o=n=>{if(eR&&eR.current&&!eR.current.contains(n.target)&&(eh(!1),ex(!0)),ek&&ek.current&&ek.current.contains(n.target)){"emptyWrapperContainer"===n.target.getAttribute("id")&&(tj(),n.stopPropagation());return}ej.current&&tj()},i=e=>{!e5&&ej.current&&e&&e.target&&e.target.closest&&e.target.closest("#cartMenuHolder")&&!n&&!u.isCOM&&(e.stopPropagation(),tj())},a=n=>{let e=n.which||n.keyCode,t="Escape"===n.key||27===e;t&&ej.current&&(tj(!0),n.preventDefault())};return document.addEventListener("mouseover",i),document.addEventListener("keydown",a,!0),document.addEventListener("click",o,!0),window.addEventListener("spaTransitionEnd",r),()=>{document.removeEventListener("click",o,!0),document.removeEventListener("mouseover",i),document.removeEventListener("keydown",a,!0),window.removeEventListener("spaTransitionEnd",r),tH(e,!1,!0)}},[]),(0,a.useEffect)(()=>{if(f&&!C()(g)){let n=g.storeStatus||"",e=g.storeStatusTime||"",t=g.address||{},r=t.city||"",o=t.state||"",i="Open"===n,a=g.closingSoon,s=a&&u.isCOM?"CLOSING SOON":n;eD({storeStatus:n,storeStatusTime:e,address:t,city:r,state:o,isStoreOpen:i,closingSoon:a,storeStatusText:s=s.toUpperCase()}),eA(!0)}},[g,f]);let tB=n=>{let e=B.Qoz[n1];if("CART"===e){if(th)return;H(!0),ek&&ek.current&&ek.current.contains(n.target)&&!n6&&n3(!0)}},tj=n=>{if(l&&n5&&em(!1),n3(!1),nV&&F&&F(1),ek&&ek.current&&ek.current.firstElementChild){if(n)ek.current.firstElementChild.classList.remove("noBlueOutlineOnFocus");else{ek.current.firstElementChild.classList.add("noBlueOutlineOnFocus");return}e6?setTimeout(()=>{ek.current.firstElementChild.focus()},100):ek.current.firstElementChild.focus()}};(0,a.useEffect)(()=>{n5&&tj()},[x]),(0,a.useEffect)(()=>{$&&ug(t)&&tx===x&&(ek&&ek.current&&ek.current.firstElementChild&&ek.current.firstElementChild.focus(),n3(!0))},[$]),(0,a.useEffect)(()=>{n9&&n6&&(ud({ref:ek,componentRendererRef:eB,designType:B.JDr[eY],isMegaMenu:e9,isCartMenu:e5,isMobileMenu:te,isSBMobileMenu:tt,isImageMenu:to,isTextMenu:tr,appendActiveClass:n5,parentRef:R,isDrawerComponent:e6,calculateLeft:!1,smallBucket:nV,isListMenu:ti,calculateHeight:!nr,assignHeight:eu,bottomLeftContent:z,ariaLabel:eW,isSolutionsMegaMenu:tn,isShopFlexibleMenu:tl,renderComponent:n6}),eu&&eu(!0))},[n9]),(0,a.useEffect)(()=>{R.current&&R.current&&n6&&"lg"!==x?R.current.style.zIndex="999":!n6&&R.current&&(R.current.style.zIndex="unset")},[n6,R,x]),(0,a.useEffect)(()=>{n5&&ti&&!n8?(ud({ref:ek,componentRendererRef:eB,designType:B.JDr[eY],isMegaMenu:e9,isCartMenu:e5,isMobileMenu:te,isSBMobileMenu:tt,isImageMenu:to,isTextMenu:tr,appendActiveClass:n5,parentRef:R,isDrawerComponent:e6,calculateLeft:!1,smallBucket:nV,isListMenu:ti,calculateHeight:!nr,assignHeight:eu,bottomLeftContent:z,ariaLabel:eW,isSolutionsMegaMenu:tn,isShopFlexibleMenu:tl,renderComponent:n6}),ed(!0)):!n5&&ti&&ed(!1)},[er,n5,ti,n8]),(0,a.useEffect)(()=>{let{requestIdleCallback:n}=(0,U.Jv)();if(n(()=>{ud({ref:ek,componentRendererRef:eB,designType:B.JDr[eY],isMegaMenu:e9,isCartMe
1nu:e5,isMobileMenu:te,isSBMobileMenu:tt,isImageMenu:to,isTextMenu:tr,appendActiveClass:n5,parentRef:R,isDrawerComponent:e6,calculateLeft:!nr,smallBucket:nV,isListMenu:ti,calculateHeight:!nr,assignHeight:eu,bottomLeftContent:z,isSolutionsMegaMenu:tn,isShopFlexibleMenu:tl,renderComponent:n6})}),!n5&&eF.current){tC(!1);let n=e5?100:e4?0:200;setTimeout(()=>{nG||e6||nz||nY||nK||n$||(0,U.XY)({scrollOff:!1,parentRef:nF||R,stickyHeader:J}),e5&&u.isSBA&&S&&y&&y(),ej.current=!1,n4(!1),nV&&F&&F(1),e4&&P(!1,e6,!1,l)},n),ec&&eu&&eu(!1)}else if(n5){let n=!C()(m()(Z));n?setTimeout(()=>{P(!0,e6,!1,l),e5&&u.isSBA&&!S&&y&&y(),ej.current=!0,n4(!0)},201):(P(!0,e6,!1,l),e5&&u.isSBA&&!S&&y&&y(),ej.current=!0,n4(!0)),tH(e1.current,!0)}if(!n5&&$&&ug(t)&&G&&eF.current){if(tx===x&&V&&V.current){let n=V.current;setTimeout(()=>{n.focus()},250)}G(!1,null)}eF.current=!0},[n5]),(0,a.useEffect)(()=>{(void 0!==t_&&t_!==np||void 0!==tO&&tO!==nG||void 0!==tD&&tD!==nW||void 0!==tE&&tE!==nz||void 0!==tA&&tA!==nY||void 0!==tL&&tL!==nK||void 0!==tM&&tM!==n$)&&(np||nG||nW||nz||nY||nK||n$?(0,U.XY)({scrollOff:!0,parentRef:nF||R,stickyHeader:J}):(0,U.XY)({scrollOff:!1,parentRef:nF||R,stickyHeader:J}))},[nW,nG,np,nz,nY,nK,n$]),(0,a.useEffect)(()=>{let n=e9||tl||tn||te||tr||to||ti||e5&&u.isCOM||e5&&u.isSBA&&Q||e6||tt||td;n6&&((0,U.XY)({scrollOff:n,parentRef:nF||R,stickyHeader:J}),tp||W({background:!nR,componentRendererRef:eB,subheader:l,isDrawerComponent:e6,isCartMenuItem:e5,isLoginDrawer:"",notLgBottomBarMenuItem:nH}),K(!0)),!n6&&eH.current&&tH(e1.current,!1),eH.current=!0;let e=()=>{ek&&eB&&!e6&&setTimeout(()=>{ud({ref:ek,componentRendererRef:eB,designType:B.JDr[eY],isMegaMenu:e9,isCartMenu:e5,isMobileMenu:te,isSBMobileMenu:tt,isTextMenu:tr,isImageMenu:to,appendActiveClass:n5,parentRef:R,isDrawerComponent:e6,calculateLeft:!0,smallBucket:nV,isListMenu:ti,calculateHeight:n5,assignHeight:eu,onResize:!0,bottomLeftContent:z,isSolutionsMegaMenu:tn,isShopFlexibleMenu:tl})},500)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[n6,nH]),(0,a.useEffect)(()=>{tS&&!tm&&tB&&u.isSBA&&e5&&tB({target:ek.current})},[tS]),(0,a.useEffect)(()=>{(void 0===tw||tw===ni)&&(void 0===ty||ty===na)||(ni||na?(0,U.XY)({scrollOff:!0,parentRef:nF||R,stickyHeader:J}):nG||nW||np||(0,U.XY)({scrollOff:!1,parentRef:nF||R,stickyHeader:J}))},[ni,na]);let tH=(n,e,t)=>{let r={};r[n]=e,q(r,t)},tF=(0,a.useCallback)((n,e,t,r,o,a,s,l)=>{let c=null,[{actionIcon:u}]=(0,U.v2)(a),p="ACCOUNT"===B.gsc[u];return n&&e&&!C()(t)?c="Your store: ".concat(i()(t,"address.city","")," ").concat(i()(t,"storeStatus","")):o?c="".concat(eW,", Items in cart ").concat(l):p&&s?c="".concat(eW,", ").concat(v," message").concat(v>1?"s":""):!_&&r||(c="".concat(eW)),c},[e4,f,g,e2,e5,t,nZ,Y,eE,eO]),tU=(0,a.useCallback)(n=>{let{menuItem:e,fontColor:t,overLayColor:r,subHeader:o,renderComponent:i,subFontHoverColor:a,loader:s,messageCountSba:l,breakpoint:c,backgroundColor:p,routeDetails:d,accountInfo:f,dotcomCartCount:m,appendActiveClass:g,cologoExists:h,customerName:b,newSaHeader:x,storeMenu:y,storeMenuObj:w,bottomLeftNavigationOptionItems:S,bottomRightNavigationOptionItems:C,customerFullName:v,isRewardsEligible:T,rewardsData:O,notLgBottomBarMenuItem:D}=n;return uu({menuItem:e,topRightContent:_,fontColor:t,overLayColor:r,subHeader:o,sbaCartCount:I,subFontHoverColor:a,renderComponent:i,loader:s,siteVariables:u,accountInfo:f,breakpoint:c,messageCountSba:l,backgroundColor:p,routeDetails:d,dotcomCartCount:m,appendActiveClass:g,customerName:b,cologoExists:h,rewardsData:O,isLogoOnlyHeader:tb,newSaHeader:x,storeMenu:y,storeMenuObj:w,bottomLeftNavigationOptionItems:S,bottomRightNavigationOptionItems:C,customerFullName:v,isRewardsEligible:T,notLgBottomBarMenuItem:D})},[t,o,s,l,n6,c,n8,b,u,x,I,nQ,p,Y,n5,ns,nl,_,nM,f,g,eE,eO,nj,nJ,es,nH]),tW=(0,a.useCallback)(n=>{let{menuItem:e,fontColor:t,overLayColor:r,subHeader:o,renderComponent:i,subFontHoverColor:a,loader:s,routeDetails:l,siteVariables:c,appendActiveClass:u,cologoExists:p,newSaHeader:d,bottomNavigationFontColor:f,bottomRightNavigationOptionItems:m,customerFullName:g,isRewardsEligible:h,rewardsData:y,notLgBottomBarMenuItem:w}=n;return up({menuItem:e,fontColor:t,overLayColor:r,subHeader:o,renderComponent:i,subFontHoverColor:a,loader:s,accountInfo:b,siteVariables:c,breakpoint:x,routeDetails:l,appendActiveClass:u,cologoExists:p,newSaHeader:d,bottomNavigationFontColor:f,bottomRightNavigationOptionItems:m,customerFullName:g,isRewardsEligible:h,rewardsData:y,notLgBottomBarMenuItem:w})},[t,o,s,l,n6,c,n8,b,u,x,p,n5,ns,nM,nj,nJ,es,nH]),tz=(n,e,t)=>{if(n&&n.stopPropagation&&n.stopPropagation(),e){let{destinationURL:n,destinationReplaceURL:r}=e,[{actionType:o}]=(0,U.v2)(e),i=B.Qoz[o];("LOGIN"===i||"LOGIN"===t||"CREATE-ACCOUNT"===i)&&O&&O(r||n,"CREATE-ACCOUNT"===i),("MARKETO"===i||"MARKETO"===t)&&nu&&nu(!0),("LOYALTY-ENROLLMENT-DRAWER"===i||"LOYALTY-ENROLLMENT-DRAWER"===t)&&nS&&nS(!0),("LOYALTY-OFFERS-DRAWER"===i||"LOYALTY-OFFERS-DRAWER"===t)&&nT&&nT(!0),("LOYALTY-OFFER-ACTIVATION-DRAWER"===i||"LOYALTY-OFFER-ACTIVATION-DRAWER"===t)&&nT&&n_(!0),("LOYALTY-BONUS-CATEGORIES-DRAWER"===i||"LOYALTY-BONUS-CATEGORIES-DRAWER"===t)&&nE&&nE(!0),tj&&tj()}};if(L||(0,U.Z1)({item:t,userData:{...p,...b},siteVariables:u,segmentCode:k,domain:nh,breakpoint:x,rewardsData:es,headerTypes:tg})){let e=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=[],t=n=>
1{if(Array.isArray(n)){n.forEach(t);return}if(!n||"object"!=typeof n)return;let r=i()(n,"navigationImageBanner",[]);C()(r)||r.forEach(n=>{let t=i()(n,"persMbxHdr",[]);C()(t)||e.push(...t.filter(Boolean))}),Object.values(n).forEach(t)};return t(n),[...new Set(e)]},a=async function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(C()(n))return{};let e=await M().post("/ele-lpd/api/sparxProxy/getAdobeMBoxData",{mboxName:n,clientSideAnalytics:!0}),t=i()(e,"data.adobeResponse.FlexibleBannerConfigurator",[]);return t.reduce((n,e)=>{let t=i()(e,"mboxName")||i()(e,"displayProposition.scope")||"";return t&&(n[t]=e),n},{})},d=(n,r)=>{n&&n.stopPropagation&&n.stopPropagation();let o=B.Qoz[n1],s=eY&&"REWARDS-TEXT-MENU"===B.JDr[eY],l="LISTS-DRAWER"===o,c="BDR_CHAT"===o;if(!(e2||tu&&!r||eB&&eB.current&&eB.current.contains(n.target)||eR&&eR.current&&eR.current.contains(n.target))){if((tc||tu&&r)&&ea(!0),"CHAT"===o||c){ee?(0,U.vh)(eW,c,n0):(n7(!0),(0,U.KU)(nq).then(()=>{n7(!1),et(!0),(0,U.vh)(eW,c,n0)}).catch(()=>{n7(!1)})),us(n,t,nV);return}if("FEEDBACK"===o){(0,U.Tp)("header_feedback_Qualtrics",n),us(n,t,nV);return}if("LISTS"===o)h&&!n5&&(n7(!0),M().post("".concat(h,"/api/sparxProxy/getListCardData")).then(n=>{n7(!1),n.data.listsData&&eo(n.data.listsData)}).catch(n=>{console.error(n),n7(!1)}));else if("CART"===o){if(u.isSBA&&!n5&&tm){if(u.isSBA){setTimeout(()=>{n3(!0)},100),n.preventDefault();return}n3(!n5),n.preventDefault();return}if((u.isCOM||tm)&&!n5){us(n,t,nV),setTimeout(()=>{n3(!0)},100),n.preventDefault();return}let e=i()(t,"destinationReplaceURL","")||i()(t,"destinationURL","");if(e){us(n,t,nV),n3(!n5),nR?nk(n):no.pushRoute(e);return}}else if(("LOGIN"===o||"LOGIN"===eZ||"CREATE-ACCOUNT"===o)&&O){let n=i()(t,"destinationReplaceURL","")||i()(t,"destinationURL","");setTimeout(()=>{O(l?null:n,"CREATE-ACCOUNT"===o,l&&{successCallBack:()=>(0,U.SX)({openListsDrawer:nb,isLoggedIn:nU,openCreateListDrawer:nx,routePrefix:h}),openLoginDrawer:!0})},400)}else if(l){(0,U.SX)({openListsDrawer:nb,isLoggedIn:nU,openCreateListDrawer:nx,routePrefix:h}),us(n,t,nV);return}else(s||n2)&&nt&&nJ&&!n5?(n7(!0),(0,U.i2)(h,nt).then(n=>{n7(!1),n&&el(n)}).catch(n=>{console.error(n),n7(!1)})):"STORE-LOCATOR"===o&&nD&&nD(ek);("MARKETO"===o||"MARKETO"===eZ)&&nu&&nu(!0),n3(!n5),!n5&&i()(eV,"childAPIToggle",!1)&&i()(eV,"id","")&&C()(eS)&&(ew(!0),M().post("/ele-lpd/api/common/lpdProxy-common/getMenuContent",{id:i()(eV,"id",""),routeDetails:p,siteVariables:u}).then(n=>{if(n&&!C()(i()(n,"data[0]",{}))){let t=i()(n,"data[0].navigationFlyouts",{});eC(i()(n,"data[0]",{}));let r=e(t);if(!C()(r))return a(r)}return{}}).then(n=>{eM(n||{})}).catch(n=>{console.error(n),eM({})}).finally(()=>{ew(!1)})),us(n,t,nV,e4&&f&&!C()(g),g)}},m=(n,e)=>{if((13===n.charCode||13===n.which||13===n.keyCode)&&d(n,e),(0,U.G5)(n)&&n6&&n.shiftKey&&eB&&eB.current&&ek&&ek.current&&ek.current.firstElementChild&&document.activeElement===ek.current.firstElementChild){if(e9)eN&&eN.current&&eN.current.lastElementChild&&eN.current.lastElementChild.firstElementChild&&(eN.current.lastElementChild.firstElementChild.focus(),n.preventDefault());else{let e=Array.from(eB.current.querySelectorAll('button:not([tabindex="-1"]), a:not([tabindex="-1"]), input:not([tabindex="-1"]), select, textarea, * [tabindex]:not([tabindex="-1"]):not([class^="ps__thumb"])'));if(e.length>0){let t=e[e.length-1];t.focus(),n.preventDefault()}else tj&&tj(!0)}}},y=()=>{let n=0;if(R&&R.current){let e=R.current.getBoundingClientRect(),t=e.top;e.top<0&&e.height>t&&(t=e.height-Math.abs(t)),n=e.top<0&&e.height>t?t:t+e.height}return n};if(tp&&!tv||tp&&tv&&("ACTIVE-ZIP-CODE-DRAWER"===B.Qoz[n1]&&C()(nc)||"EMPTY-ZIP-CODE-DRAWER"===B.Qoz[n1]&&!C()(nc)))return null;let S=!ta&&!tf&&!tI&&!_;return(0,r.jsxs)(ut,{ref:ek,$styledprop:{color:ef&&l?c:o,overLayColor:s,dotcomtextMenuItemWrapper:u.isCOM&&!_,menuItemFlyoutOpen:n6,subMenuItemIconWithText:eU&&l&&u.isSBA,menuItemIconWithText:eU&&l&&!u.isSBA,sbaMenuItemIcon:eU&&!l&&"CART"===B.Qoz[n1]&&u.isSBA,dotcomMenuCartItemIcon:eU&&!l&&"CART"===B.Qoz[n1]&&u.isCOM,leftMenuItemIcon:eU&&!l&&!("CART"===B.Qoz[n1]&&u.isSBA)&&!_,dotcomMenuItemIcon:eU&&!l&&u.isCOM&&!_,menuItemIcon:eU&&!l&&(!u.isCOM||_),mainNavMenuItemIcon:eU&&!l&&u.isCOM,cartMenuItemIcon:eU&&!l&&e5,subTextMenuItemWrapperClick:!eU&&n6&&l,textMenuItemWrapperClick:!eU&&n6&&!l,subHeaderDotcomTextDestinationMenu:!eU&&!n6&&e2&&l&&u.isCOM,textMenuItemDestinationMenu:!eU&&!n6&&(e2||ts)&&!(e2&&l&&u.isCOM),subTextMenuItemWrapper:!eU&&!n6&&l&&!(e2||ts),textMenuItemWrapper:!eU&&!n6&&!l&&!(e2||ts),addLinkHover:l&&e2,addHover
1Effect:!l&&!eU&&!(e2||ts),leftDivider:tf,textDestionationMenu:S&&z,rightDivider:!tf&&"divider-right"===eK,dotcomsubTextMenuWrapper:u.isCOM&&l,dotcomTextDestinationMenuWithIcon:eU&&e2&&l&&u.isCOM,subHeader:l,topLeftContent:nB,isSBMobileMenu:tt},id:e5?"cartMenuHolder":D,onClick:d,onKeyUp:n=>{(13===n.charCode||13===n.which||13===n.keyCode||9===n.charCode||9===n.which||9===n.keyCode)&&ek&&ek.current&&ek.current.firstElementChild.classList.remove("noBlueOutlineOnFocus"),(0,U.G5)(n)&&tC(!0)},onKeyDown:n=>{m(n)},...l&&{onMouseEnter:()=>{em(!0)},onMouseLeave:()=>{em(!1)}},children:[(0,r.jsxs)(nn,{...n,actionTypeHandler:tz,menuItem:t,noOutline:ta,role:e5&&u.isCOM?"button":e2?null:"link",ariaLabel:tF(e4,f,g,e2,e5,t,nZ,Y),tabIndex:e2||ta||tu?"-1":"0",ariaExpanded:e2||e3||ta||ts?null:n6,children:[e2||ta||ts||"STAPLESCONNECT"===eJ?(0,r.jsx)(cR,{$styledprop:{textDestionationMenuRight:S&&!z&&l,textDestionationMenuTop:S&&!z&&!l,textDestionationMenu:S&&z,rightTopContentWithTextmenu:_&&e2&&u.isCOM,primaryHeadliner:!l,hiTouchTopleftwithIcon:z&&p.routeId===B.cVK,topleftwithIcon:z&&p.routeId!==B.cVK,menuItemIconWithText:eU&&l&&!u.isSBA,menuItemIconWithTextRight:eU&&l&&!u.isSBA&&!z,sbaMenuItemIcon:eU&&!l&&"CART"===B.Qoz[n1]&&u.isSBA,dotcomMenuItemIcon:eU&&!l&&u.isCOM&&!_,dotcomMenuCartItemIcon:eU&&!l&&"CART"===B.Qoz[n1]&&u.isCOM,dotcomBottonRightIcon:eU&&nN&&u.isCOM},children:(0,r.jsx)(j.Z,{...n,accountInfo:b,siteVariables:u,breakpoint:x,routeDetails:p,righttexticonwrapper:!!_,color:o,isPermissionLimitCheckedAtParent:!0,navTextData:t,actionTypeHandler:tz,primaryHeader:!l,customIconSize:nN&&20,headerType:w,type:E,subHeader:l,subHeaderMenuWithIcon:tI,dispatchAnalytics:us,isTextDestinationMenuItem:!0,openSTSModal:X,openADDShipToDrawer:ne,tabindex:ta?-1:0,bottomLeftContent:z,bottomRightContent:nN,primaryStoreObject:g,setRequiredCookieModalOptions:ny})}):tp?(0,r.jsxs)(cM,{$styledprop:{isEmptyZipCodeDrawer:tc},children:[tR,C()(nc)?null:(0,r.jsxs)(cL,{tabIndex:"0",onMouseDown:U.ZA,onClick:n=>d(n,!0),onKeyUp:U.M,onKeyDown:n=>{m(n,!0)},children:["\xa0","lg"===x?"".concat(ng&&"undefined"!==ng?(0,U.v_)(ng,11):nc,", ").concat(nm):"md"===x?ng&&"undefined"!==ng?(0,U.v_)(ng,11):nc:"".concat(ng&&"undefined"!==ng?ng:nc,", ").concat(nm)]})]}):eU?tU({menuItem:t,accountInfo:b,fontColor:o,overLayColor:s,subHeader:l,renderComponent:n6,loader:n8,subFontHoverColor:c,siteVariables:u,sbaCartCount:I,breakpoint:x,messageCountSba:v,backgroundColor:nQ,routeDetails:p,dotcomCartCount:Y,appendActiveClass:n5,cologoExists:ns,customerName:nl,newSaHeader:nM,storeMenu:eE,storeMenuObj:eO,bottomLeftNavigationOptionItems:nP,bottomRightNavigationOptionItems:nN,customerFullName:nj,isRewardsEligible:nJ,rewardsData:es,notLgBottomBarMenuItem:nH}):tW({menuItem:t,fontColor:o,overLayColor:s,subHeader:l,renderComponent:n6,loader:n8,subFontHoverColor:c,accountInfo:b,siteVariables:u,breakpoint:x,routeDetails:p,appendActiveClass:n5,cologoExists:ns,newSaHeader:nM,bottomRightNavigationOptionItems:nN,customerFullName:nj,isRewardsEligible:nJ,rewardsData:es}),l&&n6&&!e6&&!_&&!C()(tR)&&(0,r.jsx)(cA,{})]}),tr&&e0&&tN()&&("lg"===x||"md"===x)&&!nU?(0,r.jsx)(ui,{component:tP(),bgColor:"primary",haveTabIndex:!1,openPopUp:eg,parentRef:ek,newSaHeader:nM,breakpoint:x}):null,e2||e3||ta||ts?null:(0,r.jsxs)(cN,{ref:eB,...n6&&{"aria-label":"".concat(eW," menu")},$styledprop:{drawerComponentWrapper:e6||nV&&e4,flyoutComponentWrapper:!(e6||nV&&e4),ideasWrapper:tT,drawerComponentWrapperActive:n5&&(e6||nV&&e4),flyoutComponentWrapperActive:n5&&!(e6||nV&&e4),worklifeflyoutWrapper:e8,subheaderWrapper:l,loaderFlyoutWrapper:n8,dotcomCartMenuWrapper:e5&&u.isCOM,defaultOpenMenu:nr,serviceMenutreatmentType:"services-menu"===eK,rewardsTextMenu:eQ,isTextList:eq,shopMenuFlyoutComponentWrapper:tt&&nV&&!e7,ordersmegaMenu:e7&&nV,accountMenu:"REWARDS-TEXT-MENU"===B.JDr[eY]&&nM&&u.isCOM&&_},className:"".concat("".concat(eY&&eY,"-wrapper")," ").concat("".concat(eJ&&eJ.toLowerCase(),"-wrapper")," ").concat(ey?"".concat(n1&&n1,"-loaderWrapper"):""),id:e9?"".concat(n1,"_wrapper_design").concat(eY,"_").concat(eW):"".concat(n1,"_wrapper_").concat(ez,"_").concat(eW),children:[n6&&(e5&&u.isSBA&&!th?(0,r.jsx)(uo,{headingColor:"light_gray_1",headingTextColor:"black",headerHeight:y(),shadow:!0,showIcon:!1,loggedIn:nU,closeMiniCartFlyout:tj,type:E||w}):(0,r.jsx)(nd,{...n,adobeDataMap:eL,renderChildComponent:!eX||!C()(eS),callAnalyticsModule:ua,callZipCodeDrawer:ei,isOverrid
1denActionTypemenuiTem:eZ,handleElementFocus:uc,unMountComponentRenderer:tj,loading:n8,routePrefix:h,navigationMenuData:er,rewardsData:es,parentRef:ek,navMainParentWrapperRef:R,megaMenuUlRef:eN,openRewardsSignupDrawer:nw,openLoyaltyEnrollmentDrawer:nS,openLoyaltyOffersDrawer:nT,openLoyaltyBPCDrawer:nE,openLoyaltySKUOffersDrawer:n_,componentRendererWrapperRef:eB,headerHeight:y(),showingMC:!0,userType:nU?"REGISTERED":"GUEST",openLoginDrawer:n=>{let{isCreateAccount:e,destinationURL:t,...r}=n;tj&&tj(),O&&setTimeout(()=>{O(t,e,r)},400)},closeMiniCartFlyout:tj,setMenuFlyoutLoaded:en,menuFlyoutLoaded:n9,heightAssigned:ec,calculateFlyoutPosition:ud,updatedScroll:ep,toDisableScroll:()=>{setTimeout(()=>{(0,U.XY)({scrollOff:!0,parentRef:nF||R,stickyHeader:J})},100)},primaryStoreObject:g,mobileMenuContent:eI,setMobileMenuContent:ev,menuItem:C()(eS)?t:eS,...e7?{recentOrderData:eT,setRecentOrderData:e_}:{}})),ey?(0,r.jsx)(cB,{$styledprop:{isOrdersMegaMenu:e7},className:"".concat("".concat(eY,"-loadingContent")," ").concat("".concat(n1,"-loadingContent")," "),children:(0,r.jsxs)(cj,{children:[" ",(0,r.jsx)(N.Spinner,{size:"sm"})]})}):null]})]})}return null};var ub=(0,w.withRouter)(uh);function ux(){let n=(0,W._)(["\n    margin-left: 19px;\n    padding-right: 12px;\n  "]);return ux=function(){return n},n}function uy(){let n=(0,W._)(["\n        padding-right: 2px;\n    "]);return uy=function(){return n},n}function uw(){let n=(0,W._)(["\n        margin-left: 8px;\n    "]);return uw=function(){return n},n}function uS(){let n=(0,W._)(["\n          margin-left: 12px;\n       "]);return uS=function(){return n},n}function uC(){let n=(0,W._)(["\n        padding: 0;\n        ",";\n    "]);return uC=function(){return n},n}function uI(){let n=(0,W._)(["\n  display: flex;\n  height: 100%;\n  align-self: flex-end;\n  margin-left: 15px;\n  padding-right: 8px;\n  ",";\n\n    ","\n    \n    ","\n    ","\n\n  @media print {\n    display: none;\n  }\n"]);return uI=function(){return n},n}uh.defaultProps={accountInfo:{},activeScreen:1,automationID:"",bottomLeftContent:!1,bottomLeftItemIndex:0,bottomLeftNavigationOptionItems:!1,bottomRightNavigationOptionItems:!1,breakpoint:"xs",changeParentStyle:()=>{},checkYourStoreData:()=>{},closeSearchFlyout:()=>{},closeSetYourStoreDrawer:()=>{},closeYourStoreDrawer:()=>{},cologoExists:!1,customerFullName:"",customerName:"",defaultOpenState:!1,domain:"",dotcomCartCount:0,fontColor:"",getCart:()=>{},headerData:{topNavigationColor:"primary"},headerFlyoutStatus:!1,headerType:"",isBudgetCenterOverlayOpened:!1,isMessagesOverlayOpened:!1,isNewSBAMINICart:!1,loadedActions:!1,loyaltyEnrollmentDrawerOptions:{},loyaltyOffersDrawerOptions:{},mainNdSubRef:null,menuItem:{actionIcon:"",actionOverridesByGroup:[],actionType:"",ariaLabel:"",design:"",destinationURL:"",headliner:"",icon:!1,metadata:{},navigationPopUp:[],targetWindow:"",treatmentType:""},menuItemInstances:{},menuItemsInstanceHandler:()=>{},messageCountSba:0,navigationPopUp:[],newSaHeader:!1,notLgBottomBarMenuItem:!1,openADDShipToDrawer:()=>{},openHeaderMenuFlyout:()=>{},openListsDrawer:()=>{},openLoyaltyBPCDrawer:()=>{},openLoyaltyBPCDrawerOptions:{},openLoyaltyEnrollmentDrawer:()=>{},openLoyaltyOffersDrawer:()=>{},openLoyaltySKUOffersDrawer:()=>{},openMenuLinkRef:null,openRewardsSignupDrawer:()=>{},openSetYourStoreDrawer:()=>{},openStoreLocatorDrawer:()=>{},openSTSModal:()=>{},openYourStoreDrawer:()=>{},overLayColor:"",parentRef:null,permissionApplied:!1,primaryStoreObject:{},qoDrawerOptions:{},rewardsDrawerOptions:{},rewardsNumber:"",routeDetails:{isWhiteLabel:!1,routeId:"",routeType:""},routePrefix:"/ele-lpd",sbaCartCount:0,segmentCode:"",setActiveBackground:()=>{},setMobileFlyoutScrollTop:()=>{},setRequiredCookieModalOptions:()=>{},setSmallScreen:()=>{},setYourStoreDropdown:!1,shippingCity:"",shippingState:"",showCreateList:!1,showDotcomMiniCart:!1,showLoginDrawer:()=>{},showMiniCart:!1,siteVariables:{isProd:!1,isSBA:!1,isCOM:!0},stickyHeader:!1,storeLocatorParentRef:null,subFontHoverColor:"",subHeader:!1,subHeaderMenuWithIcon:!1,supressHeaderClick:!1,toggleHeaderFlyoutStatus:()=>{},toggleMarketoDrawer:()=>{},toggleMiniCart:()=>{},toOpenMarketoDrawer:!1,toOpenMenuFlyout:!1,topLeftContent:!1,top
1RightContent:!1,tpvCartClick:()=>{},type:"",yourStoreDropdown:!1,yourStoreSection:!1,zipCode:""},uh.propTypes={accountInfo:_().object,activeScreen:_().number,automationID:_().string,bottomLeftContent:_().bool,bottomLeftItemIndex:_().number,bottomLeftNavigationOptionItems:_().bool,bottomRightNavigationOptionItems:_().bool,breakpoint:_().string,changeParentStyle:_().func,checkYourStoreData:_().func,closeSearchFlyout:_().func,closeSetYourStoreDrawer:_().func,closeYourStoreDrawer:_().func,cologoExists:_().bool,customerFullName:_().string,customerName:_().string,defaultOpenState:_().bool,domain:_().string,dotcomCartCount:_().number,fontColor:_().string,getCart:_().func,headerData:_().shape({topNavigationColor:_().string}),headerFlyoutStatus:_().bool,headerType:_().string,isBudgetCenterOverlayOpened:_().bool,isMessagesOverlayOpened:_().bool,isNewSBAMINICart:_().bool,loadedActions:_().bool,loyaltyEnrollmentDrawerOptions:_().object,loyaltyOffersDrawerOptions:_().object,mainNdSubRef:_().oneOfType([_().func,_().shape({current:_().elementType})]),menuItem:_().shape({actionIcon:_().string,actionOverridesByGroup:_().array,actionType:_().string,ariaLabel:_().string,design:_().string,headliner:_().array,icon:_().string,metadata:_().object,navigationPopUp:_().array,targetWindow:_().string,treatmentType:_().string}),menuItemInstances:_().object,menuItemsInstanceHandler:_().func,messageCountSba:_().number,navigationPopUp:_().array,newSaHeader:_().bool,notLgBottomBarMenuItem:_().bool,openADDShipToDrawer:_().func,openHeaderMenuFlyout:_().func,openListsDrawer:_().func,openLoyaltyBPCDrawer:_().bool,openLoyaltyBPCDrawerOptions:_().object,openLoyaltyEnrollmentDrawer:_().func,openLoyaltyOffersDrawer:_().func,openLoyaltySKUOffersDrawer:_().func,openMenuLinkRef:_().oneOfType([_().func,_().shape({current:_().elementType})]),openRewardsSignupDrawer:_().func,openSetYourStoreDrawer:_().func,openStoreLocatorDrawer:_().func,openSTSModal:_().func,openYourStoreDrawer:_().func,overLayColor:_().string,parentRef:_().oneOfType([_().func,_().shape({current:_().elementType})]),permissionApplied:_().bool,primaryStoreObject:_().object,qoDrawerOptions:_().object,rewardsDrawerOptions:_().object,rewardsNumber:_().string,routeDetails:_().shape({isWhiteLabel:_().bool,routeId:_().string,routeType:_().string}),routePrefix:_().string,router:_().object.isRequired,sbaCartCount:_().number,segmentCode:_().string,setActiveBackground:_().func,setMobileFlyoutScrollTop:_().func,setRequiredCookieModalOptions:_().func,setSmallScreen:_().func,setYourStoreDropdown:_().bool,shippingCity:_().string,shippingState:_().string,showCreateList:_().bool,showDotcomMiniCart:_().bool,showLoginDrawer:_().func,showMiniCart:_().bool,siteVariables:_().shape({isCOM:_().bool,isProd:_().bool,isSBA:_().bool}),stickyHeader:_().bool,storeLocatorParentRef:_().oneOfType([_().func,_().shape({current:_().elementType})]),subFontHoverColor:_().string,subHeader:_().bool,subHeaderMenuWithIcon:_().bool,supressHeaderClick:_().bool,toggleHeaderFlyoutStatus:_().func,toggleMarketoDrawer:_().func,toggleMiniCart:_().func,toOpenMarketoDrawer:_().bool,toOpenMenuFlyout:_().bool,topLeftContent:_().bool,topRightContent:_().bool,tpvCartClick:_().func,type:_().string,yourStoreDropdown:_().bool,yourStoreSection:_().bool,zipCode:_().string},uu.defaultProps={accountInfo:{},backgroundColor:"primary",breakpoint:"xs",cologoExists:!1,dotcomCartCount:0,fontColor:"",loader:!1,menuItem:{actionIcon:"",actionType:"",destinationURL:"",headliner:"",icon:!0,targetWindow:"",treatmentType:"",iconOverridesByGroup:""},messageCountSba:0,overLayColor:"",renderComponent:!0,routeDetails:{routeId:"",routeType:""},sbaCartCount:0,showDotcomMiniCart:!1,siteVariables:{isCOM:!0,isSBA:!1},subFontHoverColor:"",subHeader:""},uu.propTypes={accountInfo:_().object,backgroundColor:_().string,breakpoint:_().string,cologoExists:_().bool,dotcomCartCount:_().number,fontColor:_().string,loader:_().bool,menuItem:_().shape({actionIcon:_().string,actionType:_().string,ariaLabel:_().string,destinationURL:_().string,headliner:_().string,icon:_().bool,iconOverridesByGroup:_().array,targetWindow:_().string,treatmentType:_().string}),messageCountSba:_().number,overLayColor:_().string,renderComponent:_().bool,routeDetails:_().shape({routeId:_().string,routeType:_().string}),sbaCartCount:_().number,showDotcomMiniCart:_().bool,siteVariables:_().shape({isCOM:_().bool,isSBA:_().bool}
1),subFontHoverColor:_().string,subHeader:_().string},up.defaultProps={cologoExists:!1,fontColor:"",menuItem:{actionIcon:"",actionOverridesByGroup:[],actionType:"",design:"",headliner:"",icon:!0,navigationPopUp:[],treatmentType:""},overLayColor:"",renderComponent:!0,routeDetails:{isWhiteLabel:!1,routeId:"",routeType:""},siteVariables:{},subFontHoverColor:"",subHeader:""},up.propTypes={cologoExists:_().bool,fontColor:_().string,menuItem:_().shape({actionIcon:_().string,actionOverridesByGroup:_().array,actionType:_().string,design:_().string,headliner:_().string,icon:_().bool,navigationPopUp:_().array,treatmentType:_().string}),overLayColor:_().string,renderComponent:_().bool,routeDetails:_().shape({isWhiteLabel:!1,routeId:_().string,routeType:_().string}),siteVariables:_().object,subFontHoverColor:_().string,subHeader:_().string};let uv=z.default.div.withConfig({componentId:"sc-e03ea456-0"})(uI(),(0,nh.Fd)((0,z.css)(ux())),n=>{let{$styledprop:e}=n;return i()(e,"isCOM",!1)&&(0,nh.Fd)((0,z.css)(uy()))},n=>{let{$styledprop:e}=n;return i()(e,"isCOM",!1)&&(0,nh.Nv)("lg",(0,z.css)(uw()))},n=>{let{$styledprop:e}=n;return i()(e,"isCOM",!1)&&i()(e,"newSaHeader",!1)&&(0,z.css)(uC(),(0,nh.Nv)("lg",(0,z.css)(uS())))});function uT(n){let{headerData:e,fontColor:t,showLoginDrawer:o,openRewardsSignupDrawer:i,openLoyaltyEnrollmentDrawer:s,openLoyaltyOffersDrawer:l,siteVariables:c,breakpoint:u,showMiniCart:p,sbaCartCount:d,messageCountSba:f,budgetCenterDetails:m,showBCOverlay:g,budgetBalanceLevel:h,type:b,routeDetails:x,accountInfo:y,headerType:w,dotcomCartCount:S,segmentCode:I,toOpenMenuFlyout:T,menuItemInstances:_,stickyHeader:O,isBudgetCenterOverlayOpened:D,isMessagesOverlayOpened:E,customerName:A,domain:L,openLoyaltyBPCDrawer:M,fetchNavigationPopup:k,navigationPopUp:R,tpvCartClick:P,supressHeaderClick:N,newSaHeader:j}=n,H=(0,a.useRef)(null),{topNavigationOptionsRight:F}=e,W=(0,U.jy)(w,b);(0,a.useEffect)(()=>{if(F){let n=v()(F,n=>{if((0,U.Z1)({item:n,userData:{...x,...y},siteVariables:c,segmentCode:I,domain:L,breakpoint:u,headerTypes:W})){let{design:e}=n;return e&&"SIGN-IN-POPUP"===B.JDr[e]}return!1});n&&k(n)}},[F,k]);let z=(0,a.useMemo)(()=>F&&F.map((e,r)=>{if((0,U.Z1)({item:e,userData:{...x,...y},siteVariables:c,segmentCode:I,domain:L,breakpoint:u,headerTypes:W})){let{design:p}=e,d=p&&"SIGN-IN-POPUP"===B.JDr[p];return d?null:j&&c.isCOM?(0,a.createElement)(ub,{...n,permissionApplied:!0,key:r,menuItem:e,showLoginDrawer:o,openRewardsSignupDrawer:i,openLoyaltyEnrollmentDrawer:s,openLoyaltyOffersDrawer:l,openLoyaltyBPCDrawer:M,fontColor:t,breakpoint:u,topRightContent:!0,automationID:"top_right_menu_item_".concat(r),navigationPopUp:R,tpvCartClick:P,supressHeaderClick:N}):(0,a.createElement)(i5,{...n,permissionApplied:!0,key:r,menuItem:e,showLoginDrawer:o,openRewardsSignupDrawer:i,openLoyaltyEnrollmentDrawer:s,openLoyaltyOffersDrawer:l,openLoyaltyBPCDrawer:M,fontColor:t,breakpoint:u,topRightContent:!0,automationID:"top_right_menu_item_".concat(r),navigationPopUp:R,tpvCartClick:P,supressHeaderClick:N})}}),[F,t,u,p,d,f,m,g,h,w,b,S,T,_,O,y,W,o,x,I,c,D,E,A,R,j]);return(0,r.jsx)(a.Fragment,{children:(0,r.jsx)(uv,{$styledprop:{isCOM:c.isCOM,newSaHeader:j},ref:H,children:!C()(z)&&z})})}function u_(){let n=(0,W._)(["\n    margin-left: 0;\n  "]);return u_=function(){return n},n}function uO(){let n=(0,W._)(["\n    margin-left: 17px !important;\n  "]);return uO=function(){return n},n}function uD(){let n=(0,W._)(["\n    align-self: center;\n    margin: 0 24px !important;\n    \n    @media all and (max-width: ","px) {\n      justify-content: space-between;\n      margin: 0 16px !important;\n    }\n  "]);return uD=function(){return n},n}function uE(){let n=(0,W._)(["\n  font-family: ",";\n  font-size: 16px;\n  display: flex;\n  margin-left: 10px;\n  margin-right: 12px;\n\n  &:focus {\n    outline: none;\n  }\n\n  ",";\n\n  ","\n  ","\n\n  @media print {\n    display: none;\n  }\n"]);return uE=function(){return n},n}uT.defaultProps={accountInfo:{flowType:"",isLoggedIn:!1},breakpoint:"",budgetBalanceLevel:"",budgetCenterDetails:"",customerName:"",domain:"",dotcomCartCount:0,fetchNavigationPopup:()=>{},fontColor:"",headerData:{topNavigationOptionsRight:[]},headerType:"",isBudgetCenterOverlayOpened:!1,isMessagesOverlayOpened:!1,loadedActions:!1,menuItemInstances:{},messageCountSba:0,navigationPopUp:[],newSaHeader:!1,openLoyaltyBPCDrawer:()=>{},openLoyaltyEnrollmentDrawer:()=>{},openLoyaltyOffersDrawer:()=>{},openRewardsSignupDrawer:()=>{},routeDetails:{routeType:"sdc",routeId:"sdc"},sbaCartCount:0,segmentCode:"",showBCOverlay:!1,showLoginDrawer:()=>{},showMiniCart:!1,siteVariables:{isCOM:!1,isSBA:!1},stickyHeader:!1,supressHeaderClick:!1,toOpenMenuFlyout:!1,tpvCartClick:()=>{},type:"",userInfo:{}},uT.propTypes={accountInfo:_().shape({flowType:_().string,isLoggedIn:_().bool}),breakpoint:_().string,budgetBalanceLevel:_().string,budgetCenterDetails:_().string,customerName:_().string,domain:_().string,dotcomCartCount:_().number,fetchNavigationPopup:_().func,fontColor:_().string,headerData:_().shape({topNavigationOptionsRight:_().array}),headerType:_().string,isBudgetCenterOverlayOpened:_().bool,isMessagesOverlayOpened:_().bool,loadedActions:_().bool,menuItemInstances:_().object,messageCountSba:_().number,navigationPopUp:_().array,newSaHeader:_().bool,openLoyaltyBPCDrawer:_().func,openLoyaltyEnrollmentDrawer:_().func,openLoyaltyOffersDrawer:_().func,openRewardsSignupDrawer:_().func,routeDetails:_().shape({routeId:_().string,routeType:_().string}
1),sbaCartCount:_().number,segmentCode:_().string,showBCOverlay:_().string,showLoginDrawer:_().func,showMiniCart:_().bool,siteVariables:_().shape({isCOM:_().bool,isSBA:_().bool}),stickyHeader:_().bool,supressHeaderClick:_().bool,toOpenMenuFlyout:_().bool,tpvCartClick:_().func,type:_().string,userInfo:_().object};let uA=z.default.div.withConfig({componentId:"sc-c72095c8-0"})(uE(),ng.typography.type.motiva_medium,(0,nh.Ys)((0,z.css)(u_())),n=>{let{$styledprop:e}=n;return i()(e,"isCOM",!1)&&(0,z.css)(uO())},n=>{let{$styledprop:e}=n;return i()(e,"isCOM",!1)&&i()(e,"newSaHeader",!1)&&(0,z.css)(uD(),nm.BREAKPOINTS.xs)}),uL=n=>{let{headerData:e,fontColor:t,showLoginDrawer:o,type:i,headerType:s,breakpoint:l,siteVariables:c,accountInfo:u,routeDetails:p,segmentCode:d,toOpenMenuFlyout:f,menuItemInstances:m,stickyHeader:g,isBudgetCenterOverlayOpened:h,isMessagesOverlayOpened:b,domain:x,primaryStoreObject:y,newSaHeader:w,yourStoreSection:S,isLoggedIn:I,spaLoadingState:v,checkYourStoreData:T,overLayColor:_}=n,{topNavigationOptionsLeft:O}=e,D=(0,U.jy)(s,i);(0,a.useEffect)(()=>{T&&(window.YourStore={},window.YourStore.setupYourStoreMenu=T,T(I))},[v]);let E=(0,a.useMemo)(()=>{let e=[];return O&&O.map((i,a)=>{(0,U.Z1)({item:i,userData:{...p,...u},siteVariables:c,segmentCode:d,domain:x,breakpoint:l,headerTypes:D})&&e.push(w&&c.isCOM?(0,r.jsx)(ub,{...n,menuItem:i,fontColor:t,showLoginDrawer:o,permissionApplied:!0,automationID:"top_left_menu_item_".concat(a),topLeftContent:!0,primaryStoreObject:y,overLayColor:_},a):(0,r.jsx)(i5,{...n,menuItem:i,fontColor:t,showLoginDrawer:o,permissionApplied:!0,automationID:"top_left_menu_item_".concat(a),topLeftContent:!0,primaryStoreObject:y},a))}),e},[O,t,i,s,c,l,u,d,f,m,g,h,b,w,y,S,_]);return(0,r.jsx)(a.Fragment,{children:(0,r.jsx)(uA,{$styledprop:{isCOM:c.isCOM,newSaHeader:w,newDotcomHeader:w&&c.isCOM},children:!C()(E)&&E})})};uL.defaultProps={accountInfo:{accountNumber:"",billToId:"",division:"",shipToId:"",isLoggedIn:!1,flowType:""},breakpoint:"",budgetBalanceLevel:"",budgetCenterDetails:"",checkYourStoreData:()=>{},domain:"",fontColor:"",headerData:{topNavigationOptionsLeft:[]},headerType:"",isBudgetCenterOverlayOpened:!1,isLoggedIn:!1,isMessagesOverlayOpened:!1,loadedActions:!1,menuItemInstances:{},newSaHeader:!1,overLayColor:"",primaryStoreObject:{},routeDetails:{routeType:"sdc",routeId:"sdc"},segmentCode:"",showBCOverlay:"",showLoginDrawer:()=>{},siteVariables:{isCOM:!0,isSBA:!1},spaLoadingState:!1,stickyHeader:!1,toOpenMenuFlyout:!1,type:"",yourStoreSection:!1},uL.propTypes={accountInfo:_().shape({accountNumber:_().string,billToId:_().string,division:_().string,flowType:_().string,isLoggedIn:_().bool,shipToId:_().string}),breakpoint:_().string,budgetBalanceLevel:_().string,budgetCenterDetails:_().string,checkYourStoreData:_().func,domain:_().string,fontColor:_().string,headerData:_().shape({topNavigationOptionsLeft:_().array}),headerType:_().string,isBudgetCenterOverlayOpened:_().bool,isLoggedIn:_().bool,isMessagesOverlayOpened:_().bool,loadedActions:_().bool,menuItemInstances:_().object,newSaHeader:_().bool,overLayColor:_().string,primaryStoreObject:_().object,routeDetails:_().shape({routeId:_().string,routeType:_().string}),segmentCode:_().string,showBCOverlay:_().string,showLoginDrawer:_().func,siteVariables:_().shape({isCOM:_().bool,isSBA:_().bool}),spaLoadingState:_().bool,stickyHeader:_().bool,toOpenMenuFlyout:_().bool,type:_().string,yourStoreSection:_().bool};var uM=t(45578),uk=t.n(uM),uR=t(18446),uP=t.n(uR),uN=t(51068),uB=t.n(uN),uj=t(66561);let uH=n=>{let e=[],t=[];if(n.description&&n.description.specification){let e=n.description.specification.find(n=>"Series or Collection"===n.name)||{};e.value&&t.push(e.value);let r=n.description.specification.find(n=>"Family Model #"===n.name)||{};r.value&&t.push(r.value)}let r=t.join(" ");return n.brandName&&e.push(n.brandName),r&&e.push(r),{term:e.join(" "),brandName:n.brandName,seriesName:r,imageUrl:n.image}},uF=async(n,e)=>{try{let t=e?"/itfux/common/itf/compatibleInkSkus?skus=".concat(encodeURI(n)):"/sba-itfux/common/api/itf/compatibleInkSKus?skus=".concat(encodeURI(n)),r=await M().get(t),o=!C()(r)&&r.data&&r.data.reduce(function(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return[...n,...e.classNameSKUs&&e.classNameSKUs.map(n=>({className:e.className,sku:n}))]},[]);return sessionStorage.setItem("compatibleSkus",JSON.stringify(o)),o}catch(n){return console.log(n),[]}},uU=async n=>{try{let e=await M().all(n.map(n=>{let{brandName:e,seriesName:t,imageUrl:r}=n;return M().post("/itfux/session/api/myprinter/addnewprinter",{brandName:e,seriesName:t,imageUrl:r,de
1scription:"Previously Purchased Printer",activeFlag:"Y",withCredentials:!0,isPastPurchase:!0,markForDelete:!1}).catch(n=>{console.log(n)})}));return e.map(n=>n.data).filter(n=>!!n)}catch(n){return console.log(n),[]}},uW=async(n,e)=>{let t=await uz(n),r=e.filter(n=>"CL167883"===n.catalogId).map(n=>uH(n)),o=r.filter(n=>{let{term:e}=n;return!t.some(n=>n.printerName.toLowerCase()===e.toLowerCase())}),i=[];if(t.length<12&&!C()(o)&&(await M().all(o.map(n=>M().get("/itfux/common/itf/isPrinterClassProxy?term=".concat(n.term)).then(e=>e&&e.data?(e.data.isPrinterClass&&i.push(n),e.data):null).catch(n=>console.log(n)))),!C()(i))){let e=i.slice(0,12-t.length);if(!C()(e)){let r=await uU(e);if(!C()(r)){let e=[...r,...t];sessionStorage.setItem("savedPrinters",JSON.stringify(e));let o=e.filter(n=>!n.markForDelete).map(n=>{let{seriesName:e}=n;return e});await uF(o,n)}}}},uz=async n=>{let e=JSON.parse((0,nf.getSessionStorage)("savedPrinters"));if(C()(e)){let t=n?"/itfux/session/api/myprinter/getallprinters":"/sba-itfux/session/api/myprinter/getallprinters/".concat(Date.now()),r=await M().get(t);e=r.data,sessionStorage.setItem("savedPrinters",JSON.stringify(e))}return e},uY=async n=>{let e=JSON.parse((0,nf.getSessionStorage)("compatibleSkus"));if(!C()(e))return e;let t=await uz(n),r=[];if(!C()(t)){let e=t.map(n=>{let{seriesName:e}=n;return e});try{r=await uF(e,n)}catch(n){r=[]}}return r};var uK=t(668),u$=function(n){let e=(0,a.useRef)();return(0,a.useEffect)(()=>{e.current=n}),e.current},uG=function(n,e){let[t,r]=a.useState(n);return a.useEffect(()=>{let t=setTimeout(()=>{r(n)},e);return()=>{clearTimeout(t)}},[n,e]),t},uV=function(n,e){let[t,r]=(0,a.useState)(()=>{try{{let t=window.localStorage.getItem(n);return t?JSON.parse(t):e}}catch(n){return console.log(n),e}});return[t,e=>{try{let o=e instanceof Function?e(t):e;r(o),window.localStorage.setItem(n,JSON.stringify(o))}catch(n){console.log(n)}}]},uQ=t(25670);function uq(){let n=(0,W._)(["\n      border: 1px solid rgb(150, 150, 151) !important;\n    "]);return uq=function(){return n},n}function uZ(){let n=(0,W._)(["\n          max-width: 670px;\n        "]);return uZ=function(){return n},n}function uJ(){let n=(0,W._)(["\n  background: rgb(255, 255, 255);\n  border-radius: 10px !important;\n  border-style: none !important;\n  color: #444;\n  height: 40px;\n  padding: ",";\n  font-size: 16px;\n  width: 100%;\n  text-overflow: ellipsis;\n\n  &::-ms-clear {\n    display: none !important;\n  }\n  &:focus {\n    outline: 0;\n  }\n  &:focus-visible {\n    outline: 1px dashed ",";\n  }\n  &::placeholder {\n    font-size: 14px !important;\n  }\n  ","\n  ","\n  ","\n  ","\n"]);return uJ=function(){return n},n}function uX(){let n=(0,W._)(["\n          margin-right: 16px !important;\n          width: auto !important;\n        "]);return uX=function(){return n},n}function u0(){let n=(0,W._)(["\n      ","\n    "]);return u0=function(){return n},n}function u1(){let n=(0,W._)(["\n      position: relative;\n      min-width: 195px;\n      width: 100%;\n    "]);return u1=function(){return n},n}function u2(){let n=(0,W._)(["\n      max-width: auto;\n      min-width: 288px;\n      width: 100%;\n    "]);return u2=function(){return n},n}function u6(){let n=(0,W._)(["\n    max-width: auto;\n    min-width: 111px;\n    width: 100%;\n  "]);return u6=function(){return n},n}function u4(){let n=(0,W._)(["\n        max-width: 472px;\n      "]);return u4=function(){return n},n}function u5(){let n=(0,W._)(["\n        max-width: 784px;\n      "]);return u5=function(){return n},n}function u3(){let n=(0,W._)(["\n            max-width: 784px;\n            min-width: 307px;\n            width: 100%;\n          "]);return u3=function(){return n},n}function u8(){let n=(0,W._)(["\n          @media (min-width: 1441px) {\n            width: 100%;\n            min-width: 307px;\n            max-width: 1200px;\n          "]);return u8=function(){return n},n}function u7(){let n=(0,W._)(["\n          max-width: 748px;\n          min-width: 368px;\n          width: 100%;\n        "]);return u7=function(){return n},n}function u9(){let n=(0,W._)(["\n        max-width: 517px;\n        min-width: 111px;\n        width: 100%;\n      "]);return u9=function(){return n},n}function pn(){let n=(0,W._)(["\n        margin-right: 0 !important;\n        ","\n      ","\n      }\n      ","\n      ","\n      ","\n    "]);return pn=function(){return n},n}function pe(){let n=(0,W._)(["\n    ","\n\n    ","\n    ","\n"]);return pe=function(){return n},n}function pt(){let n=(0,W._)(["\n  position: relative;\n  display: flex;\n  flex-direction: row;\n  align-self: flex-end;\n  transition: all 0.2s linear;\n  float: right;\n\n  @media print {\n    display: none;\n  }\n\n  .closeIcon {\n    cursor: pointer;\n    position: absolute;\n    right: 40px;\n    margin: 10px auto;\n    display: inline-block;\n  }\n\n  ","\n\n  ","\n\n  \n  ","\n  ","\n  ","\n\n  ",""]);return pt=function(){return n},n}function pr(){let n=(0,W._)(["\n  z-index: 101;\n"]);return pr=function(){return n},n}function po(){let n=(0,W._)(["\n            right: 116px;\n          "]);return po=function(){return n},n}function pi(){let n=(0,W._)(["\n            right: 100px;\n          "]);return pi=function(){return n},n}function pa(){let n=(0,W._)(["\n        ","\n        ","\n      "]);return pa=function(){return n},n}function ps(){let n=(0,W._)(["\n  && {\n    ","\n\n    ","\n  }\n"]);return ps=function(){return n},n}function pl(){let n=(0,W._)(["\n    top: 50%;\n    right: 6px;\n    transform: translateY(-50%);\n    background: ",";\n    padding: 6px;\n    border-radius: 8px;\n    line-height: 1;\n    height: auto;\n  "]);return pl=function(){return n},n}function pc(){let n=(0,W._)(["\n    margin: 10px auto;\n  "]);return pc=function(){return n},n}function pu(){let n=(0,W._)(["\n          right: 86px;\n        "]);return pu=function(){return n},n}function pp(){let n=(0,W._)(["\n          right: 68px;\n        "]);return pp=function(){return n},n}function pd(){let n=(0,W._)(["\n      ","\n      ","\n    "]);return pd=function(){return n},n}function pf(){let n=(0,W._)(["\n    cursor: pointer;\n    position: absolute;\n    right: 8px;\n  ","\n  ","\n\n  ","\n   &:focus {\n    outline: none;\n  }\n  &:focus-visible {\n    outline: 1px dashed "," !important;\n  }\n"]);return pf=function(){return n},n}function pm(){let n=(0,W._)(["\n      color: ",";\n    "]);return pm=function(){return n},n}function pg(){let n=(0,W._)(["\n      display: block;\n      margin-right: 16px;\n      margin-left: 16px;\n    "]);return pg=function(){return n},n}function ph(){let n=(0,W._)(["\n      display: block;\n      margin-left: 10px;\n      margin-right: 10px;\n    "]);return ph=function(){return n},n}function pb(){let n=(0,W._)(["\n  width: 46px;\n  margin: auto;\n  cursor: pointer;\n  display: none;\n  ","\n  ","\n  ","\n"]);return pb=function(){return n},n}function px(){let n=(0,W._)(["\n    top: ",";\n\n    ","\n\n    ","\n  "]);return px=function(){return n},n}function py(){let n=(0,W._)(["\n  position: absolute;\n  bottom: 0;\n  left: 0;\n  right: 0;\n  width: 100%;\n  height: 100vh;\n  background-color: rgba(0, 0, 0, 0.5);\n  z-index: 100;\n  ","\n\n"]);return py=function(){return n},n}let pw=z.default.input.withConfig({componentId:"sc-9f26f767-0"})(uJ(),n=>{let{newSAHeader:e,isCOM:t}=n;return e?t?"8px 0 8px 12px":"6px 0 6px 12px":"10px 60px 11px 16px"},Y.colors.black,n=>{let{showBorderAndDefaultIcon:e}=n;return e&&(0,z.css)(uq())},n=>{let{query:e}=n;
1return"padding-right: ".concat(e?90:40,"px;")},n=>{let{isExpanded:e,newSAHeader:t,isCOM:r}=n;return e&&"\n      max-width: ".concat(t&&r?"none":"784px",";\n      outline: 0 !important;\n      ").concat((0,nh.Nv)("sm",(0,z.css)(uZ())),"\n    ")},n=>{let{newSAHeader:e,isCOM:t}=n;return e&&t?"\n      font-weight: 300;\n      line-height: 24px;\n  ":""}),pS=z.default.div.withConfig({componentId:"sc-9f26f767-1"})(pt(),n=>{let{slimHeader:e,newSAHeader:t}=n;return e&&!t&&(0,z.css)(u0(),(0,nh.Fd)((0,z.css)(uX())))},(0,nh.Nv)("lg",(0,z.css)(u1())),n=>{let{newSAHeader:e,isCOM:t}=n;return(0,nh.Nv)("md","\n      position: relative;\n      max-width: ".concat(e&&t?"none":"302px",";\n      min-width: 132px;\n      width: 100%;\n    "))},(0,nh.Nv)("sm",(0,z.css)(u2())),(0,nh.Fd)((0,z.css)(u6())),n=>{let{isExpanded:e,newSAHeader:t,isCOM:r}=n;return(0,z.css)(pe(),!(t&&r)&&(0,nh.Nv)("lg",(0,z.css)(u4())),t&&r&&(0,nh.Nv)("lg",(0,z.css)(u5())),e&&(0,z.css)(pn(),(0,nh.Nv)("lg",(0,z.css)(u3())),t&&r&&(0,z.css)(u8()),(0,nh.Nv)("md","\n          max-width: ".concat(t&&r?"none":"648px",";\n          min-width: 237px;\n          width: 100%;\n        ")),(0,nh.Nv)("sm",(0,z.css)(u7())),(0,nh.Fd)((0,z.css)(u9()))))}),pC=(0,z.css)(pr()),pI=z.default.span.withConfig({componentId:"sc-9f26f767-2"})(ps(),n=>{let{isExpanded:e}=n;return e&&(0,z.css)(pa(),(0,nh.Nv)("sm",(0,z.css)(po())),(0,nh.Fd)((0,z.css)(pi())))},(0,nh.FI)(pC)),pv=z.default.span.withConfig({componentId:"sc-9f26f767-3"})(pf(),n=>{let{newSAHeader:e,isCOM:t}=n;return e?(0,z.css)(pl(),t?"none":"black"):(0,z.css)(pc())},n=>{let{isExpanded:e}=n;return e&&(0,z.css)(pd(),(0,nh.Nv)("sm",(0,z.css)(pu())),(0,nh.Fd)((0,z.css)(pp())))},(0,nh.FI)(pC),Y.colors.black),pT=z.default.div.withConfig({componentId:"sc-9f26f767-4"})(pb(),n=>{let{newSAHeader:e,isRouteSBA:t,isCOM:r}=n;return e&&(0,z.css)(pm(),r||"sba"===t?Y.colors.white:Y.colors.black)},(0,nh.Nv)("sm",(0,z.css)(pg())),(0,nh.Fd)((0,z.css)(ph()))),p_=z.default.div.withConfig({componentId:"sc-9f26f767-5"})(py(),n=>{let{newSAHeader:e,isCOM:t,isGuyBrown:r}=n,o=e&&t,i=r?"62px":o?"72px":e?"60px":"64px",a=r?"62px":o?"124px":"60px",s=o?"124px":"0";return(0,z.css)(px(),i,o&&(0,nh.Nv)("md","top: ".concat(s,";")),(0,nh.FI)("top: ".concat(a,";")))});var pO=function(n){let{isCOM:e,pastSearches:t}=n,[r,o]=(0,a.useState)([]),i=C()(t),s=async()=>{let{data:n}=await M().get(e?"/searchux/common/api/v1/trendingTerms":"/sbaSearch/common/api/trendingTerms");return n},l=()=>{let n=(0,nf.getSessionStorage)("trendingTerms");if(!n)return null;try{return JSON.parse(n)}catch(n){return null}},c=async()=>{try{let n=l();if(!C()(n)){o(n);return}let e=await s();o(e),sessionStorage.trendingTerms=JSON.stringify(e)}catch(n){console.log("Error in fetching Trending searches",n)}};return(0,a.useEffect)(()=>{i&&c()},[i]),[r,o]},pD=t(1469),pE=t.n(pD);let pA="searchByFilterTerms";var pL=n=>{let{query:e,isCOM:t,isSRCHSBF:r,accountInfo:o,isExpanded:s}=n,[l,c]=(0,a.useState)([]),u=t?"/searchux/common/api/v1/searchByFilters":"/sbaSearch/common/api/searchByFilters",p=()=>{try{return JSON.parse((0,nf.getSessionStorage)(pA)||"[]")}catch(n){return[]}},d=async n=>{let{data:e}=await M().get(u,{params:{query:n}});return e},f=async()=>{try{let n=p();if(n.length>0)return;let e=await d("*"),t=i()(e,"terms",[]);pE()(t)&&(0,nf.setSessionStorage)(pA,JSON.stringify(t.filter(Boolean).map(n=>n.toLowerCase())))}catch(n){console.log("Error in fetching search by filter terms",n)}},m=async n=>{try{var e;let t=null==n?void 0:null===(e=n.trim())||void 0===e?void 0:e.toLowerCase();if(!t){c([]);return}let r=p();if(!r.includes(t)){c([]);return}c([]);let o=await d(t);c(i()(o,"filters",[]))}catch(n){console.log("Error in fetching search by filters",n),c([])}},g=(0,a.useCallback)(D()(m,500),[]);return(0,a.useEffect)(()=>{let{isLoggedIn:n=!1}=o||{},e=t||!t&&n&&(0,U.hC)(o,"MINI_SEARCH");s&&r&&e&&f()},[s]),(0,a.useEffect)(()=>{let{isLoggedIn:n=!1}=o||{},i=e&&e.length<=20&&e.length>=3&&r,a=t||!t&&n&&(0,U.hC)(o,"MINI_SEARCH");i&&a?g(e):c([])},[e]),[l]};let pM=R()(()=>Promise.all([t.e(1667),t.e(5867),t.e(9182),t.e(9941),t.e(9195),t.e(6131),t.e(7673),t.e(5756)]).then(t.bind(t,39805)
1),{loadableGenerated:{webpack:()=>[39805]}});var pk=(0,s.connect)(n=>({viewId:(0,u.kq)(n),customerEmailAddress:(0,c.oL)(n),renderedTopHat:(0,u.U3)(n)}),n=>({setPastPurchasesV2Available:()=>{n((0,l.setPastPurchaseAvailable)())},setCompatibleInkSKus:e=>{n((0,l.setCompatibleInkSKus)(e))}}))((0,w.withRouter)(function(n){var e;let{siteVariables:t={},accountInfo:o={},headerData:s,headerType:l,type:c,atcType:u,searchFlyoutClosed:p,searchConfig:d={},parentRef:f,stickyHeader:m,searchTerm:g,setPastPurchasesV2Available:h,consumer:b,setCompatibleInkSKus:x,viewId:y,customerEmailAddress:w,newSAHeader:S,renderedTopHat:I,breakpoint:v}=n,{slimHeader:T}=(0,U.jy)(l,c),{isCOM:_}=t,{isLoggedIn:O}=o,D="1"===(0,nf.getCookie)("SEARCHPP"),E="1"===(0,nf.getCookie)("SRCHSIP"),A="1"===(0,nf.getCookie)("SRCHSBF"),[L,k]=(0,a.useState)(n.searchTerm||""),[R,N]=(0,a.useState)([]),[j,H]=(0,a.useState)([]),[W,z]=(0,a.useState)(!1),[Y,K]=(0,a.useState)([]),[$,G]=(0,a.useState)("false"),[V,Q]=(0,a.useState)(!1),[q,Z]=(0,a.useState)(!0),[J,X]=(0,a.useState)(!1),[nn,ne]=(0,a.useState)(0),[nt,nr]=uV("searchHistory",[]),[no]=(0,uj.Z)({query:L,isCOM:_,isLoggedIn:O,setPastPurchasesV2Available:h,isSEARCHPP:D}),[ni]=pO({isCOM:_,pastSearches:nt}),[na]=pL({isCOM:_,query:L,isSRCHSBF:A,accountInfo:o,isExpanded:W}),ns=uG(L,200),nl=u$(Y),nc=(0,a.useRef)(null),nu=(0,a.useRef)(null),np=(0,a.useRef)(void 0),nd=(0,a.useRef)(void 0),nm=(0,a.useRef)(!1),ng=M().create(),nh=M().CancelToken,nb="Ediv"===n.routeDetails.routeType||n.routeDetails.isWhiteLabel;(0,a.useLayoutEffect)(()=>{nu.current&&ne(nu.current.getBoundingClientRect().bottom)},[W,V]),(0,a.useEffect)(()=>{uP()(Y,nl)||C()(Y)||nC(Y),C()(Y)&&H([])},[Y]),(0,a.useEffect)(()=>((W||V)&&(document.addEventListener("mousedown",nS),document.body.style.overflowX="hidden"),()=>{document.removeEventListener("mousedown",nS),document.body.style.overflowX="visible"}),[W,V]),(0,a.useEffect)(()=>{if(C()(L)&&C()(R))return;(null==ns?void 0:ns.length)<3&&(H([]),K([]));let n=R.find(n=>n.active);n&&L===n.displayText||nI()},[ns]),(0,a.useEffect)(()=>{C()(R)&&(H([]),K([]))},[R.length]),(0,a.useEffect)(()=>{p&&nx(!0)},[p]),(0,a.useEffect)(()=>{B.yR0[b]?g&&k(g):k("")},[g,b]),(0,a.useEffect)(()=>{C()(R)&&!C()(j)&&H([])},[j.length]),(0,a.useEffect)(()=>{no.length&&_&&J&&!nm.current&&(uW(_,no),nm.current=!0)},[no,J]),(0,a.useEffect)(()=>{O&&(async()=>{await uz(_),X(!0);let n=await uY(_);x(n)})()},[]);let nx=e=>{z(!1),N(n=>n.map(n=>({...n,active:!1}))),n.handleSearchbarExpanded(!1),n.closeSearchFlyout(!1),e&&nc.current.blur()},ny=()=>{n.closeSearchFlyout(!1),Q(!0)},nw=async()=>{let e="",t=i()(R,"[0].displayText",""),r=i()(nc,"current.value","").trim();if(C()(r)||r.length===B.vLz)return;let o={};_&&E&&(o=await (0,uQ.M_)(r));let a=R.findIndex(n=>n.active);e=C()(R)?_?(0,uK.QI)({searchTerm:r,queryCategory:o}):(0,uK.Mb)(r):-1!==a?_?(0,uK.QI)({searchTerm:r,isAutoCompleteResult:!0,queryCategory:o}):(0,uK.Mb)(r):_?(0,uK.QI)({searchTerm:r,topSuggestion:t,queryCategory:o}):(0,uK.Mb)(r);let s=(0,uQ.IH)("SEARCH","MANUAL",{term:i()(nc,"current.value")});F.Z.searchBox(s),(0,uQ.wt)("suggest","submit",{q:r}),k(r),nr(uk()([{term:r},...nt],"term")),n.router.pushRoute(e),nx(!0)},nS=n=>{let e=null==nu?void 0:nu.current;e&&!e.contains(n.target)&&nx(!0)},nC=async n=>{nd.current&&nd.current(),G(!0);try{let{data:e}=await M().post("/".concat(_?"searchux":"sbaSearch","/api/productTileProxy/getProductTileData"),{serviceContext:{...(0,uQ.pw)(t,o,_),...!_&&{requestFlag:!0}},query:{skus:n,inputs:{brandTransformationSwitch:!0,sparq:!0,pageType:"search"}}},{cancelToken:new nh(function(n){nd.current=n})});nd.current=void 0,e=_?e.filter(n=>!C()(n.actionLabel)&&"skuSet"!==n.actionLabel&&!no.find(e=>{let{itemId:t}=e;return n.itemId===t})):e.filter(n=>!no.find(e=>{let{itemId:t}=e;return n.itemId===t})),H([...e]),G(!1)}catch(n){nd.current=void 0,H([]),G(!1)}},nI=async()=>{np.current&&np.current();let n=(0,uQ.Z9)({searchConfig:d,query:L,isCOM:_});try{let e=await ng.get(n,{cancelToken:new nh(function(n){np.current=n}),adapter:uB(),withCredentials:!0}),t=(0,uQ.DK)(e);t=t.slice(0,(0,uQ.wK)()),np.current=void 0,N(t);let r=_||O&&(0,U.hC)(o,"MINI_SEARCH");if(L.length>=3&&r){let n=(0,uQ.pc)(e,_);K([...n])}}catch(n){np.current=void 0,console.log("Error in fetching autocomplete suggestions",n)}},nv=()=>{k(""),N([])},nT=()=>{nw(),nx(!0)},n_=n=>{var e,t,r;
1let o=document.getElementById("flyoutLeftContent"),i=null==o?void 0:o.querySelectorAll("li a");if(i.length){if(C()(R))n&&(null===(t=i[0])||void 0===t||t.focus());else{let t;let r=R.findIndex(n=>n.active);t=n?r<R.length-1?r+1:0:r>0?r-1:R.length-1,N(n=>n.map((n,e)=>({...n,active:e===t})));let o=(null===(e=R[t])||void 0===e?void 0:e.displayText)||"";o&&k(o)}}else null===(r=document.getElementById("right-sponsored-banner"))||void 0===r||r.focus();Z(!1)};return(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)(pS,{slimHeader:T||"toast"===u,isExpanded:W,newSAHeader:S,isCOM:_,ref:nu,role:"search",children:[(0,r.jsx)(pw,{showBorderAndDefaultIcon:nb,query:L,newSAHeader:S,isExpanded:W,isCOM:_,ref:nc,role:"combobox","aria-autocomplete":"list","aria-expanded":!C()(R),"aria-controls":"combo-list","aria-activedescendant":(0,uQ.OY)(R),type:"text",id:"searchInput",placeholder:(0,uQ.Sb)(_,n.routeDetails),"aria-label":"Type to Search. ".concat(C()(R)?"":"Use the down arrow to hear suggestions."),value:L,onChange:e=>{let{value:t}=e.target;W||(z(!0),n.handleSearchbarExpanded(!0)),k(t)},autoCorrect:"off",autoCapitalize:"off",autoComplete:"off",onFocus:e=>{z(!0),n.handleSearchbarExpanded(!0),Q(!1),Z(!0)},onKeyDown:n=>{switch(n.key){case"Enter":n.preventDefault(),nT();break;case"ArrowDown":n.preventDefault(),n_(!0);break;case"ArrowUp":n.preventDefault(),n_(!1);break;case"Escape":n.preventDefault(),nx();break;case"Tab":n.shiftKey?nx():ny()}}}),L&&(0,r.jsx)(pI,{isExpanded:W,className:"closeIcon",tabIndex:"0","aria-label":"delete text in search bar",role:"button",onClick:()=>{nv(),nc.current.focus()},onKeyDown:n=>{(0,uQ.Vq)(n)&&(n.preventDefault(),nv(),nc.current.focus())},onFocus:()=>Z(!0),children:(0,r.jsx)(P.Icon,{name:"close",size:20,color:"dark_gray_1"})}),(0,r.jsx)(pv,{isExpanded:W,newSAHeader:S,isCOM:t.isCOM,tabIndex:"0","aria-label":"search",role:"button",onClick:nw,onKeyDown:e=>{(0,uQ.Vq)(e)&&(e.preventDefault(),nw()),"Tab"!==e.key&&9!==e.keyCode||e.shiftKey||(z(!1),n.handleSearchbarExpanded(!1),Q(!1))},onFocus:()=>Z(!0),children:(0,r.jsx)(P.Icon,{name:"search",size:S?16:20,color:S?t.isCOM?"brand":"white":nb?"black":"brand"})}),W&&(0,r.jsx)(pT,{onClick:()=>{nx(),nv()},onKeyDown:n=>{(0,uQ.Vq)(n)&&(n.preventDefault(),nx())},tabIndex:"0",newSAHeader:S,isRouteSBA:n.routeDetails.routeType,isCOM:_,children:"Cancel"}),W&&!V&&(0,r.jsx)(pM,{topPos:nn,customerEmailAddress:w,isLoadingResults:$,query:L,suggestions:R,searchResults:j,pastSearches:nt,pastPurchases:no,trendingTerms:ni,clearStorage:()=>{window.localStorage.removeItem("searchHistory"),nr([])},handleAutocompleteClick:n=>{let{source:e,autocomplete:t}=n,r=i()(nc,"current.value"),o=(0,uQ.IH)("SEARCH",e,{autocomplete:t,term:r});F.Z.searchBox(o),(0,uQ.wt)("suggest","click",{aq:r,q:t}),nr(uk()([{term:t},...nt],"term")),k(t),nx(!0)},isCOM:_,headerData:s,isLoggedIn:O,setQuery:k,atcType:u,handleCloseFlyout:nx,stickyHeader:m,parentRef:f,accountInfo:o,isAdaFlyoutHidden:q,siteVariables:t,showRVCarousel:(()=>{if(_)return!0;let{routeType:e="",routeId:t=""}=n.routeDetails;return O&&(0,U.hC)(o,"SPARX_PRODUCT_RECOMMENDATION_ON_SACOM")&&"sba"===e&&"sba"===t})(),newSAHeader:S,renderedTopHat:I,breakpoint:v,searchByFilters:na})]}),W&&!V&&(0,r.jsx)(p_,{id:"overlay",newSAHeader:S,isCOM:_,isGuyBrown:(null===(e=n.routeDetails)||void 0===e?void 0:e.routeId)==="GBP",style:{height:(0,uQ.RW)(f)}})]})}));function pR(){let n=(0,W._)(["\n  width: 100%;\n  position: absolute;\n  background-color: rgba(0, 0, 0, .5);\n  transform: translate3d(0, 0, 0);\n  opacity: 0;\n  transition: opacity .2s;\n  left: 0;\n  top: 32px;\n  display: none;\n  visibility: hidden;\n"]);return pR=function(){return n},n}function pP(){let n=(0,W._)(["\n  width: 100%;\n  position: absolute;\n  background-color: rgba(0, 0, 0, .5);\n  transform: translate3d(0, 0, 0);\n  opacity: 0;\n  transition: opacity .2s;\n  left: 0;\n  top: 60px !important;\n  display: none;\n  visibility: hidden;\n"]);return pP=function(){return n},n}function pN(){let n=(0,W._)(["\n  width: 100%;\n  position: absolute;\n  background-color: rgba(0, 0, 0, .5);\n  transform: translate3d(0, 0, 0);\n  opacity: 0;\n  transition: opacity .2s;\n  left: 0;\n  top: 64px !important;\n  display: none;\n  visibility: hidden;\n"]);return pN=function(){return n},n}function pB(){let n=(0,W._)(["\n    opacity: 1;\n    visibility: visible;\n    display: block;\n    transition: opacity .2s;\n"]);return pB=function(){return n},n}function pj(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    height: ",";\n    top: ",";\n"]);return pj=function(){return n},n}function pH(){let n=(0,W._)(["\n        top: 40px !important;\n    "]);return pH=function(){return n},n}function pF(){let n=(0,W._)(["top: 56px;"]);return pF=function(){return n},n}function pU(){let n=(0,W._)(["\n        z-index: 9999;\n        top: -124px !important;\n    "]);return pU=function(){return n},n}function pW(){let n=(0,W._)(["\n        top: 72px;\n    "]);return pW=function(){return n},n}function pz(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    height: ",";\n    top: 64px;\n    ",";\n    ","\n    ","\n"]);return pz=function(){return n},n}let pY=(0,z.css)(pR()),pK=(0,z.css)(pP()),p$=(0,z.css)(pN()),pG=(0,z.css)(pB()),pV=z.default.div.withConfig({componentId:"sc-5426b6e5-0"})(pj(),n=>{let{$styledprop:e}=n;return i()(e,"newSAHeader")?pK:pY},n=>{let{$styledprop:e}=n;return i()(e,"newDotComHeader")?p$:pY},n=>{let{$styledprop:e}=n;return i()(e,"activebackground")&&pG},n=>{let{$styledprop:e}=n;return i()(e,"height")},n=>{let{$styledprop:e}=n;return i()(e,"top")}),pQ=z.default.div.withConfig({componentId:"sc-5426b6e5-1"})(pz(),pY,n=>{let{$styledprop:e}=n;return i()(e,"newSAHeader")&&(0,z.css)(pH())},n=>{let{$styledprop:e}=n;return i()(e,"activebackground")&&pG},n=>{let{$styledprop:e}=n;return i()(e,"height")},(0,nh.FI)((0,z.css)(pF())),n=>{let{$styledprop:e}=n;
1return i()(e,"drawerBackground")&&(0,z.css)(pU())},n=>{let{$styledprop:e}=n;return i()(e,"newDotComHeader")&&(0,z.css)(pW())}),pq=n=>{let{backgroundSettings:e,cologoExists:t,parentRef:o,newSAHeader:i,siteVariables:s}=n,{background:l,subheader:c,drawer:u,isLoginDrawer:p,isCOM:d}=e,f=()=>{if("undefined"!=typeof document&&document.documentElement&&document.body.scrollHeight&&o&&o.current){let n=Math.abs(document.documentElement.scrollHeight-document.documentElement.clientHeight)>0,e=o.current.getBoundingClientRect();return n?"".concat(document.body.scrollHeight-e.bottom,"px"):"".concat(document.documentElement.clientHeight-e.bottom,"px")}return"loginDrawer"===p&&"undefined"!=typeof document&&document.documentElement&&document.body.scrollHeight?"".concat(document.body.scrollHeight,"px"):null};return(0,r.jsx)(a.Fragment,{children:c?(0,r.jsx)(pV,{$styledprop:{newSAHeader:i,activebackground:l,newDotComHeader:i&&s.isCOM,height:"".concat(l?f():"0px"),top:u&&l?"-124px":d?"40px":t?"48px":"32px"},style:{...!(u&&l)&&{zIndex:"".concat(l?-2:-1)}}}):(0,r.jsx)(pQ,{$styledprop:{activebackground:l,newSAHeader:i,newDotComHeader:i&&s.isCOM,drawerBackground:u&&l,height:"".concat(l?f():"0px")},style:{...!(u&&l)&&{zIndex:"".concat(l?-2:-1)}}})})};function pZ(){let n=(0,W._)(["\n      margin: 0;\n    "]);return pZ=function(){return n},n}function pJ(){let n=(0,W._)(["\n  font-family: ",";\n  font-size: 16px;\n  display: flex;\n  margin-top: 16px;\n\n  &:focus {\n    outline: none;\n  }\n\n  @media print {\n    display: none;\n  }\n  ","\n"]);return pJ=function(){return n},n}pq.defaultProps={backgroundSettings:{background:!1,componentRendererRef:null,drawer:!1,isCOM:!1,isLoginDrawer:"",subheader:!1},cologoExists:!1,newSAHeader:!1,parentRef:null,siteVariables:{}},pq.propTypes={backgroundSettings:_().shape({background:_().bool,componentRendererRef:_().oneOfType([_().func,_().shape({current:_().elementType})]),drawer:_().bool,isCOM:_().bool,isLoginDrawer:_().string,subheader:_().bool}),cologoExists:_().bool,newSAHeader:_().bool,parentRef:_().shape({current:_().elementType}),siteVariables:_().object};let pX=z.default.div.withConfig({componentId:"sc-6cab94a8-0"})(pJ(),ng.typography.type.motiva_medium,n=>{let{$styledprop:e}=n;return i()(e,"newDotcomHeader",!1)&&(0,z.css)(pZ())}),p0=R()(()=>Promise.all([t.e(2859),t.e(2598)]).then(t.bind(t,92910)),{loadableGenerated:{webpack:()=>[92910]}}),p1=R()(()=>Promise.all([t.e(9623),t.e(8374)]).then(t.bind(t,39623)),{loadableGenerated:{webpack:()=>[39623]}}),p2=n=>{let{isLoggedIn:e,headerData:t,fontColor:o,showLoginDrawer:i,breakpoint:s,yourStoreSection:l,primaryStoreObject:c,checkYourStoreData:u,changeParentStyle:p,gusSTSModalOpen:d,toOpenMenuFlyout:f,menuItemInstances:m,stickyHeader:g,showCreateList:h,routePrefix:b,type:x,headerType:y,customerFullName:w,spaLoadingState:S,zipCode:I,shippingState:v,shippingCity:T,openRewardsSignupDrawer:_,openLoyaltyEnrollmentDrawer:O,openLoyaltyOffersDrawer:D,openLoyaltySKUOffersDrawer:E,openLoyaltyBPCDrawer:A,newDotcomHeader:L}=n,{mobileMenu:k}=t,[R,P]=(0,a.useState)(1),[N,B]=(0,a.useState)([]),[j,H]=(0,a.useState)(!1),[W,z]=(0,a.useState)(!1),[Y,K]=(0,a.useState)(null),[$,G]=(0,a.useState)(!1),[V,Q]=(0,a.useState)({}),[q,Z]=(0,a.useState)({}),[J,X]=(0,a.useState)(!1),[nn,ne]=(0,a.useState)(!1),nt="sm"===s||"xs"===s,nr=(n,e)=>{n&&1===n&&B([]),P(n),e?z(!0):z(!1)},no=n=>{p&&p(n,!0),H(n)},ni=()=>{p&&p(!1,!0),H(!1)};(0,a.useEffect)(()=>{u&&(window.YourStore={},window.YourStore.setupYourStoreMenu=u,u(e))},[S]);let na=n=>{B(e=>e.concat([n])),z(!1)},ns=()=>{B(n=>{if(n.length>1){let e=n.slice(0,n.length-1);return z(!0),e}if(1===n.length)return nr(1,!0),z(!0),[]})},nl=n=>{setTimeout(()=>{K(n),G(!0)},300)},nc=()=>{X(!0),M().post("".concat(b,"/api/sparxProxy/getListCardData")).then(n=>{X(!1),n&&n.data&&n.data.listsData&&Q(n.data.listsData)}).catch(n=>{console.error(n),X(!1)})},nu=n=>{ne(!0),(0,U.i2)(b,n).then(n=>{ne(!1),n&&Z(n)}).catch(n=>{console.error(n),ne(!1)})},np=(0,a.useMemo)(()=>(k||[]).map((e,t)=>L?(0,r.jsx)(ub,{...n,setSmallScreen:nr,setActiveNavTextData:na,activeNavTextData:N,removeActiveNextData:ns,goingBack:W,activeScreen:R,openRewardsSignupDrawer:_,openLoyaltyEnrollmentDrawer:O,openLoyaltyOffersDrawer:D,openLoyaltyBPCDrawer:A,openLoyaltySKUOffersDrawer:E,smallBucket:!0,menuItem:e,fontColor:o,showZipCodeDrawer:no,showLoginDrawer:i,yourStoreSection:l,closeZipCodeeDrawerForMobile:ni,automationID:"top_left_mobile_menu_item_".concat(t),openTextMenuDrawer:nl,primaryStoreObject:c,showCreateList:h,getListDataForMobile:nc,mobileListsData:V,mobileListLoader:J,mobileRewardsLoader:nn,getRewardsDataForMobile:nu,mobileRewardsData:q},t):(0,a.createElement)(i5,{...n,setSmallScreen:nr,setActiveNavTextData:na,activeNavTextData:N,removeActiveNextData:ns,goingBack:W,activeScreen:R,key:t,openRewardsSignupDrawer:_,openLoyaltyEnrollmentDrawer:O,openLoyaltyOffersDrawer:D,openLoyaltyBPCDrawer:A,openLoyaltySKUOffersDrawer:E,smallBucket:!0,menuItem:e,fontColor:o,showZipCodeDrawer:no,showLoginDrawer:i,yourStoreSection:l,closeZipCodeeDrawerForMobile:ni,automationID:"top_left_mobile_menu_item_".concat(t),openTextMenuDrawer:nl,primaryStoreObject:c,showCreateList:h,getListDataForMobile:nc,mobileListsData:V,mobileListLoader:J,mobileRewardsLoader:nn,getRewardsDataForMobile:nu,mobileRewardsData:q})),[k,o,R,N,s,l,c,W,d,f,m,g,V,J,q,nn,x,y,w,I,v,T]);return(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(pX,{style:L?{}:{margin:"16px 0px 0px 0px"},$styledprop:{newDotcomHeader:L},children:nt&&!C()(np)&&np}),$&&!C()(Y)?(0,r.jsx)(p1,{...n,menuItem:Y,onCloseTextMenuDrawer:()=>{K(null),G(!1)},callAnalyticsModule:n=>{try{n&&(n.headerVersion="mobile"),F.Z.invokeAdapter({methodType:"navTrack",model:n||{},headerType:"UX2"})}catch(n){console.error("exception in navigation text menu Analytics",n)}},smallBucket:!0}):null,j?(0,r.jsx)(p0,{...n,closeStoreDrawerForMobile:ni,smallBucket:!0,callZipCodeDrawer:j}):null]})};p2.defaultProps={accountInfo:{isTimeout:!1,flowType:"",isLoggedIn:"",shipToId:""},breakpoint:"",changeParentStyle:()=>{},checkYourStoreData:()=>{},customerFullName:"",domain:"",fontColor:"",gusSTSModalOpen:!1,headerData:{bottomBarLeft:[],bottomBarRight:[],mobileMenu:[],storeLocator:[],topNavigationOptionsLeft:[],topNavigationOptionsRight:[]},headerType:"",isLoggedIn:!1,menuItemInstances:{},newDotcomHeader:!1,openLoyaltyBPCDrawer:()=>{},openLoyaltyEnrollmentDrawer:()=>{},openLoyaltyOffersDrawer:()=>{},openLoyaltySKUOffersDrawer:()=>{},openRewardsSignupDrawer:()=>{},primaryStoreObject:{},routeDetails:{},routePrefix:"/ele-lpd",segmentCode:"",setYourStoreDropdown:!1,shippingCity:"",shippingState:"",showCreateList:()=>{},showLoginDrawer:()=>{},siteVariables:{},spaLoadingState:!1,stickyHeader:!1,toOpenMenuFlyout:!1,type:"",yourStoreDropdown:!1,yourStoreSection:!1,zipCode:""},p2.propTypes={accountInfo:_().shape({flowType:_().string,isLoggedIn:_().string,isTimeout:_().bool,shipToId:_().string}),breakpoint:_().string,changeParentStyle:_().func,checkYourStoreData:_().func,customerFullName:_().string,domain:_().string,fontColor:_().string,gusSTSModalOpen:_().bool,headerData:_().shape({bottomBarLeft:_().array,bottomBarRight:_().array,mobileMenu:_().array,storeLocator:_().array,topNavigationOptionsLeft:_().array,topNavigationOptionsRight:_().array}),headerType:_().string,isLoggedIn:_().bool,menuItemInstances:_().object,newDotcomHeader:_().bool,openLoyaltyBPCDrawer:_().func,openLoyaltyEnrollmentDrawer:_().func,openLoyaltyOffersDrawer:_().func,openLoyaltySKUOffersDrawer:_().func,openRewardsSignupDrawer:_().func,primaryStoreObject:_().object,routeDetails:_().object,routePrefix:_().string,
1segmentCode:_().string,setYourStoreDropdown:_().bool,shippingCity:_().string,shippingState:_().string,showCreateList:_().func,showLoginDrawer:_().func,siteVariables:_().object,spaLoadingState:_().bool,stickyHeader:_().bool,toOpenMenuFlyout:_().bool,type:_().string,yourStoreDropdown:_().bool,yourStoreSection:_().bool,zipCode:_().string};var p6=t(95039);function p4(){let n=(0,W._)(["\n  ","\n   ","\n"]);return p4=function(){return n},n}function p5(){let n=(0,W._)(["\n   ","\n   ","\n"]);return p5=function(){return n},n}function p3(){let n=(0,W._)(["\n    font-family: ",";\n    height: ",";\n    width: 100%;\n    @media all and (max-width: ","px) {\n      height: ",";\n    }\n"]);return p3=function(){return n},n}function p8(){let n=(0,W._)(["\n  ","\n    ","\n   ","\n  ","\n  ","\n  ","\n"]);return p8=function(){return n},n}function p7(){let n=(0,W._)(["\n    display: flex;\n    width: 100%;\n    outline: none;\n    @media print {\n      background-color: white !important;\n      border-bottom: 1px solid #E7E7E7;\n    }\n    ","\n"]);return p7=function(){return n},n}function p9(){let n=(0,W._)(["\n\n  ","\n"]);return p9=function(){return n},n}function dn(){let n=(0,W._)(["\n    margin: 18px 0 0 29px;\n    cursor: pointer;\n"]);return dn=function(){return n},n}function de(){let n=(0,W._)(["\n  display: block;\n  @media all and (max-width: ","px) {\n      display: none;\n  }\n"]);return de=function(){return n},n}function dt(){let n=(0,W._)(["\n    flex: auto;\n    padding: 12px 0;\n    @media screen and (max-width: ","px) {\n      padding: 10px 0;\n    }\n    ","\n    ","\n"]);return dt=function(){return n},n}let dr="64px",di="60px",da={headerNavWrapper:"\n      font-family: ".concat(ng.typography.type.motiva,";\n      height: ").concat(dr,";\n      display: flex;\n      position: relative;\n      @media print {\n        background-color: white !important;\n        box-shadow: none !important;\n      }\n      @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n        height: ").concat(di,";\n        box-shadow: unset;\n        position: relative;\n      }\n      width: 100%;\n  "),boxShadow:"\n      box-shadow: 0 13px 21px -9px rgba(0, 0, 0, .2)!important;\n  ",headerLogo:"\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n          display: none;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          margin-right: 18px;\n          display: block;\n        }\n        @media print {\n          display: none;\n        }\n  ")},ds=z.default.div.withConfig({componentId:"sc-3ac07b16-0"})(p4(),n=>n.$isEdiversity?n.$searchExpanded?"\n          display: none;\n        ":"\n          display: none;\n          @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n            display: block;\n            margin-top: 16px !important;\n            margin-left: 32px;\n          }\n          @media all and (min-width: ").concat(nm.BREAKPOINTS.sm+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.md,"px) {\n            display: block;\n            margin-top: 16px !important;\n            margin-left: 32px;\n          }\n          @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n            display: block;\n            margin-top: 13px !important;\n            margin-left: 12px !important;\n            padding-right: 13px !important;\n            height: 32px;\n          }\n          @media all and (max-width: ").concat(nm.BREAKPOINTS.xs,"px) {\n            display: none;\n          }\n          @media print {\n            display: block !important;\n            border-right: none !important;\n          }\n        "):n.$isWhiteLabel?"\n      display: none;\n      @media print {\n          display: block;\n        }\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n          display: block;\n          ").concat(n=>n.$searchExpanded&&"\n            display: none;\n          ","\n        }\n        margin-top: 21px;\n        margin-left: 26px;\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.sm+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.md,"px) {\n          display: block;\n          ").concat(n=>n.$searchExpanded&&"\n            display: none;\n          ","\n          margin-top: 22px;\n          margin-left: 32px;\n        }\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.xs+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          margin-top: 18px;\n          margin-left: 16px;\n        }\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.xs,"px) {\n          margin-top: 18px;\n          margin-left: 10px;\n        }\n\n      "):n.$isCOM?"\n        display: none;\n        margin-left: 24px;\n        margin-top: 21px;\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n          display: block;\n        }\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.sm+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.md,"px) {\n          margin-top: 22px;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          margin-top: 18px;\n        }\n        @media print {\n          display: block;\n        }\n      "):n.$showNewlogo?"\n        display: none;\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n          display: block;\n          margin-left: 24px;\n          margin-top:13px;\n          @media print {\n            margin-top: 0 !important;\n          }\n        }\n        @media print {\n          display: block;\n        }\n      "):"\n        margin-top: 21px;\n        margin-left: 26px;\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.sm+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.md,"px) {\n          margin-top: 22px;\n          margin-left: 32px;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          margin-top: 18px;\n          margin-left: 16px;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.xs,"px) {\n          margin-top: 18px;\n          margin-left: 10px;\n        }\n        display: none;\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.md+1,"px) {\n          display: block;\n        }\n        @media print {\n          display: block;\n        }\n      "),n=>n.$searchExpanded&&"\n    display: none!important;\n  "),dl=z.default.div.withConfig({componentId:"sc-3ac07b16-1"})(p5(),n=>n.$isEdiversity?n.$searchExpanded?"\n          display: none;\n          margin: auto;\n        ":"\n          @media all and (min-width: ".concat(nm.BREAKPOINTS.xs+1,"px) {\n            display: none;\n          }\n\n          @media all and (max-width: ").concat(nm.BREAKPOINTS.xs,"px)\n            display: block;
1\n            border-right: none;\n            margin-left: 12px !important;\n            margin-top: 16px !important;\n            margin-right: 12px !important;\n            padding-right: 0 !important;\n          }\n          @media print {\n            display: none !important;\n            border-right: none;\n          }\n        "):n.$isWhiteLabel?"\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n          display: none;\n        }\n        \n        margin-top: 21px;\n        margin-left: 26px;\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.sm+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.md,"px) {\n          display: none;\n          margin-top: 22px;\n          margin-left: 32px;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          margin-right: 18px;\n          display: block;\n          margin-top: 23px;\n          margin-left: 16px;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.xs,"px) {\n          margin-top: 23px;\n          margin-left: 10px;\n        }\n        ").concat(n=>n.$searchExpanded&&"\n          display: block;\n          margin-top: 21px;\n        ","\n        @media print {\n          display: none;\n        }\n      "):n.$isCOM?"\n        margin-top: 21px;\n        margin-left: 24px;\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n          display: none;\n        }\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.sm+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.md,"px) {\n          margin-top: 22px;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          margin-top: 18px;\n          margin-left: 16px;\n          margin-right: 18px;\n          display: block;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.xs,"px) {\n          margin-top: 18px;\n          margin-left: 10px;\n        }\n        @media print {\n          display: none;\n        }\n      "):n.$showNewlogo?"\n        margin-top: 13px;\n        margin-left: 24px;\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n          display: none;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          display: block;\n          margin-right: 18px;\n        }\n        @media print {\n          display: none;\n        }\n      "):"\n        margin-top: 21px;\n        margin-left: 26px;\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n          display: none;\n        }\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.sm+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.md,"px) {\n          margin-top: 22px;\n          margin-left: 32px;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          margin-right: 18px;\n          margin-left: 16px;\n          display: block;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.xs,"px) {\n          margin-right: 18px;\n          margin-left: 10px;\n        }\n        @media print {\n          display: none;\n        }\n      "),n=>n.$searchExpanded&&"\n      display: block!important;\n  "),dc=z.default.div.withConfig({componentId:"sc-3ac07b16-2"})(p3(),ng.typography.type.motiva,dr,nm.BREAKPOINTS.sm,di),du=z.default.div.withConfig({componentId:"sc-3ac07b16-3"})(p8(),n=>n.$edivHitouch?"\n        ".concat(da.headerNavWrapper,"\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          ").concat(da.boxShadow,"\n        }\n      "):"\n        ".concat(da.headerNavWrapper,"\n      "),n=>n.$fontColor&&"\n    color: ".concat(Y.colors[n.$fontColor],";\n  "),n=>n.$backgroundColor&&"\n    background-color: ".concat(Y.colors["primary"==n.$backgroundColor?"brand":n.$backgroundColor]," !important; \n    // In ele-ui we have primary color but in staples ui primary is not available for temp fix if it's primary then updating to brand. Need to check with business\n  "),n=>n.$headerDropShadow?"\n        ".concat(da.boxShadow,"\n      "):n.$subHeaderIsShown?void 0:n.$headerDropShadow?"\n          ".concat(da.boxShadow,"\n          z-index: 99;\n      "):"\n          ".concat(da.boxShadow,"\n      "),n=>n.$isSticky&&"\n      position: fixed!important;\n      top: -".concat(dr,";\n      @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n        top: -").concat(di,";\n      }\n      left: 0;\n      right: 0;\n      z-index: 9996;\n      transition: top 250ms linear;\n  "),n=>n.$addBoxShadow&&"\n    ".concat(da.boxShadow,"\n  ")),dp=z.default.div.withConfig({componentId:"sc-3ac07b16-4"})(p7(),n=>n.$backgroundColor&&"\n      background-color: ".concat(Y.colors["primary"==n.$backgroundColor?"brand":n.$backgroundColor]," !important; \n    ")),dd=z.default.span.withConfig({componentId:"sc-3ac07b16-5"})(p9(),n=>n.$isCOM?"\n            display: none;\n            @media all and (max-width: ".concat(nm.BREAKPOINTS.sm,"px) {\n              margin-left: 10px;\n              display: block;\n            }\n      "):n.$isEdiversity?"\n          display: none;\n          @media all and (max-width: ".concat(nm.BREAKPOINTS.sm,"px) {\n            margin-left: 18px;\n            margin-right: 0;\n            display: block;\n          }\n          @media all and (max-width: ").concat(nm.BREAKPOINTS.xs,"px) {\n            margin-left: 16px;\n            margin-right: 0;\n            display: block;\n          }\n      "):"\n          display: none;\n          @media all and (max-width: ".concat(nm.BREAKPOINTS.sm,"px) {\n              margin-left: 22px;\n              margin-right: 0;\n              display: block;\n          }\n      ")),df=z.default.div.withConfig({componentId:"sc-3ac07b16-6"})(dn()),dm=z.default.nav.withConfig({componentId:"sc-3ac07b16-7"})(de(),nm.BREAKPOINTS.sm),dg=z.default.div.withConfig({componentId:"sc-3ac07b16-8"})(dt(),nm.BREAKPOINTS.sm,n=>n.$searchExpanded&&"\n        margin-left: 1rem; \n    ",n=>n.$isEdiversity&&n.$searchExpanded&&"\n        @media screen and (max-width: ".concat(nm.BREAKPOINTS.sm,"px) {\n          margin-left: 12px;\n        }\n    "));function dh(n){let[e,t]=(0,a.useState)(!1),[o,s]=(0,a.useState)(!1),[l,c]=(0,a.useState)(null),[u,p]=(0,a.useState)(!1),d=(0,a.useRef)(null),f=(0,a.useRef)({timeoutId:-1}),{showStoreLocatorDrawer:m,headerData:g,siteVariables:b,breakpoint:x,searchExpanded:w,routeDetails:S,headerType:I,consumer:v,type:T,accountInfo:_,disableSticky:O,backgroundSettings:D,registerRef:E,subHeaderIsShown:A,isNewSBAMINICart:L,changeParentStyle:M,headerDropShadow:k,segmentCode:R,domain:N,page:j,spaLoadingState:H,router:W,openRewardsSignupDrawer:z,openLoyaltyEnrollmentDrawer:Y,openLoyaltyOffersDrawer:K,openLoyaltyBPCDrawer:$,openLoyaltySKUOffersDrawer:G,tpvHeaderLogoClick:V,supressHeaderClick:Q,tpvCartClick:q}=n,Z=(0,p6.D)(m),J=g&&g.topNavigationColor||"primary",X=g&&g.topNavigationFontColor||"white",nn="sm"===x||"xs"===x,ne=I===B.I1O||T===B.I1O||I===B.lhI||T===B.lhI,nt=I===B.sie||T===B.sie,nr=I===B.zWM||T===B.zWM,{routeType:no,routeId:ni,isWhiteLabel:na}=S,ns=(no===B.o27||na)&&ne,nl=no===B.o27||na,{isLoggedIn:nc,flowType:nu}
1=_,{subheader:np,isCartMenuItem:nd,drawer:nf}=D,nm=0,ng=!(no===B.o27||ni===B.yIw||b.isCOM||ni===B.cVK)&&(nu===B.fUn&&no!==B.o27||ni===B.KfC||"sba"===no&&"sba"===ni),nh=nn&&w&&("sba"===no&&"sba"===ni||b.isCOM),nb=n=>(0,U.Z1)({item:n,userData:{...S,..._},siteVariables:b,segmentCode:R,domain:N,breakpoint:x,page:j,headerTypes:(0,U.jy)(I,T)}),nx=n=>{try{if("/"===i()(window,"location.pathname",""))return!0;if(-1!=i()(window,"location.pathname","").indexOf("SuperCategory")&&n&&-1!=n.indexOf("?")){let e=/^(.*)\?{1}(.*)$/g.exec(n);if(e&&e[2]){let n=e[2].split("&"),{name:t}=h()(n,(n,e)=>{let t=e.split("=");return n[t[0]]=t[1],n},{});return!!t&&"guest-homepage"===t}}return!1}catch(n){return!1}};(0,a.useEffect)(()=>{void 0!==m&&Z!==m&&(m?(0,U.XY)({scrollOff:!0,parentRef:d,stickyHeader:e}):(0,U.XY)({scrollOff:!1,parentRef:d,stickyHeader:e}))},[m]),(0,a.useEffect)(()=>{i()(_,"isMobileAPP",!1)&&H&&p(!1),i()(_,"isMobileAPP",!1)&&!H&&(-1!==f.current.timeoutId&&(clearTimeout(f.current.timeoutId),f.current.timeoutId=-1),f.current.timeoutId=setTimeout(()=>{let n=g&&i()(g,"mobileApp",[]),{isLoggedIn:e}=_,t=!!b.isSBA&&!e&&nx(i()(window,"location.search",""));n.filter(n=>{let[{actionType:e}]=(0,U.v2)(n),r=B.Qoz[e];!C()(n)&&nb(n)&&"MOBILE_APP_BACK"===r&&i()(window,"history.state.idx",0)&&!t?c(n):c(null)}),p(!0)},500))},[g,S,_,b,R,N,j,I,T,H]);let ny=()=>{if(d&&d.current){let n=d.current.getBoundingClientRect(),e=n&&n.height||0;if(window.pageYOffset>nm){let n=window.pageYOffset-nm;return e>n?"-".concat(Math.abs(e-n),"px"):0}}return 0},nw=()=>{if(d&&d.current){if(!nm){let n=d.current.getBoundingClientRect(),e=d.current&&d.current.parentElement?d.current.parentElement.offsetTop:0,t=n&&(n.height||0);nm=e+t}if(window.pageYOffset>nm)d.current.style.top=ny();else{d.current.style.top=null;let n=d.current.getBoundingClientRect(),e=d.current&&d.current.parentElement?d.current.parentElement.offsetTop:0,t=n&&(n.height||0);nm=e+t}t(window.pageYOffset>nm),s(window.pageYOffset>nm)}};(0,a.useEffect)(()=>{if("SKU"===B.V7_[v]||O)t(!1);else{let n=()=>nw();nw();let e=document.querySelectorAll(".skip-to__wrapper"),t=Array.from(e);return e&&t.map(e=>e.addEventListener("blur",n)),window.addEventListener("scroll",n),()=>{window.removeEventListener("scroll",n),e&&t.map(e=>e.removeEventListener("blur",n))}}},[x,O,v]),(0,a.useEffect)(()=>{E({ref:{mainWrapperRef:d}})},[]);let nS=(n,e)=>{let t={type:n||"HEADER",headerType:"UX2",value:e||[]};nn&&(t.headerVersion="mobile");try{F.Z.invokeAdapter({methodType:"navTrack",model:t||{},headerType:"UX2"})}catch(n){console.error("exception in navigation text menu Analytics",n)}},nC=!np&&!nf&&(!nd||!!b.isCOM||!!L),nI=()=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(ds,{$isEdiversity:no===B.o27,$searchExpanded:w,$isWhiteLabel:na,$isCOM:b.isCOM,$showNewlogo:ng,children:(0,r.jsx)(y.Z,{logoData:g.logo,tpvHeaderLogoClick:V,isTPVHeader:nt,showNewlogo:ng,siteVariables:b,channelType:no,channelId:ni,isWhiteLabel:na,loggedIn:nc,searchExpanded:w,mainHeader:!1,supressHeaderClick:Q,callAnalytics:nS,id:"sparq_staples_logo",...n})}),(0,r.jsx)(dl,{$isEdiversity:no===B.o27,$searchExpanded:w,$isWhiteLabel:na,$isCOM:b.isCOM,$showNewlogo:ng,children:(0,r.jsx)(y.Z,{logoData:g.logoMobile,showNewlogo:ng,siteVariables:b,channelType:no,channelId:ni,isWhiteLabel:na,loggedIn:nc,searchExpanded:w,mainHeader:!0,isTPVHeader:nt,breakpoint:x,callAnalytics:nS,id:"sparq_staples_logo_mobile",...n})})]});return(0,r.jsx)(dc,{children:(0,r.jsxs)(du,{$isSticky:e,$addBoxShadow:o,$edivHitouch:nl,$isCOM:b.isCOM,$headerDropShadow:k,$subHeaderIsShown:A,$fontColor:X,$backgroundColor:J,$addHeaderDropShadow:ns||!A&&(nt||ne||nr),ref:d,children:[(0,r.jsxs)(dp,{$backgroundColor:J,children:[(0,r.jsx)(a.Fragment,{children:w?null:nn?(0,r.jsx)(dd,{$isCOM:b.isCOM,$isEdiversity:no===B.o27,children:(0,r.jsx)(p2,{...n,changeParentStyle:M,parentRef:d,openRewardsSignupDrawer:z,openLoyaltyEnrollmentDrawer:Y,openLoyaltyOffersDrawer:K,openLoyaltyBPCDrawer:$,openLoyaltySKUOffersDrawer:G,stickyHeader:e,isLoggedIn:nc,fontColor:X})}):null}),(0,r.jsx)(a.Fragment,{children:i()(_,"isMobileAPP",!1)?u?!C()(l)&&i()(l,"icon","")?(0,r.jsx)(df,{onClick:()=>{W&&W.back&&W.back()},children:(0,r.jsx)(P.Icon,{name:i()(l,"icon",""),size:24,color:"white"})}):nI():null:nh?null:nI()}),(0,r.jsx)(a.Fragment,{children:w?null:nn?null:(0,r.jsx)(dm,{"aria-label":"main",children:(0,r.jsx)(uL,{...n,changeParentStyle:M,parentRef:d,stickyHeader:e,fontColor:X})})}),(0,r.jsx)(dg,{$searchExpanded:w,$isEdiversity:no===B.o27,children:ne||nt?null:(0,r.jsx)(pk,{...n,fontColor:X,stickyHeader:e,parentRef:d,headerData:g})}),w&&("xs"===x||"sm"===x)?null:(0,r.jsx)("nav",{"aria-label":"secondary",children:(0,r.jsx)(uT,{...n,changeParentStyle:M,parentRef:d,tpvCartClick:q,openRewardsSignupDrawer:z,openLoyaltyEnrollmentDrawer:Y,openLoyaltyOffersDrawer:K,openLoyaltyBPCDrawer:$,supressHeaderClick:Q,openLoyaltySKUOffersDrawer:G,stickyHeader:e,fontColor:X})})]}),nC?(0,r.jsx)(pq,{backgroundSettings:D,parentRef:d}):null]})})}let db=(0,w.withRouter)(dh);dh.defaultProps={accountInfo:{flowType:"",isLoggedIn:!1}
1,backgroundSettings:{drawer:!1,subheader:!1,isCartMenuItem:!1},breakpoint:"",changeParentStyle:()=>{},consumer:"",customerName:"",disableSticky:!1,domain:!1,headerData:{topNavigationColor:"",topNavigationFontColor:"",logo:{},logoMobile:{}},headerDropShadow:!1,headerType:"",isNewSBAMINICart:!1,isSparqHeader:!0,openLoyaltyBPCDrawer:()=>{},openLoyaltyEnrollmentDrawer:()=>{},openLoyaltyOffersDrawer:()=>{},openLoyaltySKUOffersDrawer:()=>{},openRewardsSignupDrawer:()=>{},page:"",primaryStoreObject:{},registerRef:()=>{},routeDetails:{routeType:"",routeId:"",isWhiteLabel:!1},router:{back:()=>{}},searchExpanded:!1,segmentCode:"",showDotcomMiniCart:!1,showStoreLocatorDrawer:!1,siteVariables:{},spaLoadingState:!1,subHeaderIsShown:!1,supressHeaderClick:!1,tpvCartClick:()=>{},tpvHeaderLogoClick:()=>{},type:""},dh.propTypes={accountInfo:_().shape({flowType:_().string,isLoggedIn:_().bool}),backgroundSettings:_().shape({drawer:_().bool,isCartMenuItem:_().bool,subheader:_().bool}),breakpoint:_().string,changeParentStyle:_().func,consumer:_().string,customerName:_().string,disableSticky:_().bool,domain:_().bool,headerData:_().shape({logo:_().object,logoMobile:_().object,topNavigationColor:_().string,topNavigationFontColor:_().string}),headerDropShadow:_().bool,headerType:_().string,isNewSBAMINICart:_().bool,isSparqHeader:_().bool,openLoyaltyBPCDrawer:_().func,openLoyaltyEnrollmentDrawer:_().func,openLoyaltyOffersDrawer:_().func,openLoyaltySKUOffersDrawer:_().func,openRewardsSignupDrawer:_().func,page:_().string,primaryStoreObject:_().object,registerRef:_().func,routeDetails:_().shape({isWhiteLabel:_().bool,routeId:_().string,routeType:_().string}),router:_().shape({back:_().func}),searchExpanded:_().bool,segmentCode:_().string,showDotcomMiniCart:_().bool,showStoreLocatorDrawer:_().bool,siteVariables:_().object,spaLoadingState:_().bool,subHeaderIsShown:_().bool,supressHeaderClick:_().bool,tpvCartClick:_().func,tpvHeaderLogoClick:_().func,type:_().string};var dx={threepplogo:"co-logo__threepplogo",newSAHeader:"co-logo__newSAHeader"};let dy=n=>{let{cologoPath:e,isNewSAHeader:t}=n;return(0,r.jsx)(a.Fragment,{children:e?(0,r.jsx)("div",{className:"".concat(dx.threepplogo," ").concat(t?dx.newSAHeader:""),children:(0,r.jsx)("img",{decoding:"async",loading:"lazy",src:e,alt:"Cologo"})}):null})};function dw(){let n=(0,W._)(["\n    border-radius: 0;\n    height: 32px;\n    box-shadow: 0 13px 21px -9px rgba(0, 0, 0, .2);\n    display: flex;\n    width: 100%;\n    flex-direction: row;\n    vertical-align: middle;\n    align-items: center;\n    position: relative;\n    line-height: normal;\n    margin-bottom: 0;\n    @media all and (max-width: ","px) {\n      display: block;\n    }\n    @media print {\n      display: none;\n    }\n  ","\n\n  ",";\n\n  ",";\n"]);return dw=function(){return n},n}function dS(){let n=(0,W._)(["\n    display: flex;\n    align-items: center;\n    width: 100%;\n    height: 100%;\n    padding: 0;\n    &:focus {\n      outline: none;\n    }\n    ","\n"]);return dS=function(){return n},n}function dC(){let n=(0,W._)(["\n  display: flex;\n  justify-content: flex-start;\n  flex-grow: 1;\n  letter-spacing: .43px;\n  align-items: center;\n  @media all and (max-width: ","px) {\n    justify-content: center !important;\n  }\n"]);return dC=function(){return n},n}function dI(){let n=(0,W._)(["\n  display: flex;\n  justify-content: flex-end;\n  flex-grow: 2;\n  align-items: center;\n  padding: 0 28px 0 25px;\n  @media all and (min-width: ","+1) and (max-width: ","px) {\n    padding-left: 0;\n    padding-right: 20px;\n  }\n  @media all and (max-width: ","px) {\n    display: none;\n    padding-right: 0;\n  }\n"]);return dI=function(){return n},n}dy.defaultProps={cologoPath:"",isNewSAHeader:!1},dy.propTypes={cologoPath:_().string,isNewSAHeader:_().bool};let dv=z.default.div.withConfig({componentId:"sc-e853dfd3-0"})(dw(),nm.BREAKPOINTS.sm,n=>n.$cologoExists&&"\n    height: 48px;\n    align-items: center;\n    vertical-align: middle;\n    padding-right: 0;  \n  ",n=>n.$isCOM&&"\n    height: 46px;\n    transition: margin 0.1s cubic-bezier(0.3, 0.85, 0, 1);\n  ",n=>n.$headerDropShadow&&"\n      z-index: 99;\n      ".concat(n.$bottomNavigationFontColor&&"color: ".concat(Y.colors[n.$bottomNavigationFontColor],";"),"\n      ").concat(n.$bottomNavigationColor&&"background-color: ".concat(Y.colors[n.$bottomNavigationColor]," !important;"),"\n  ")),dT=z.default.div.withConfig({componentId:"sc-e853dfd3-1"})(dS(),n=>n.$bottomNavigationColor?"background-color: ".concat(Y.colors[n.$bottomNavigationColor]," !important;"):""),d_=z.default.div.withConfig({componentId:"sc-e853dfd3-2"})(dC(),nm.BREAKPOINTS.sm),dO=z.default.nav.withConfig({componentId:"sc-e853dfd3-3"})(dI(),nm.BREAKPOINTS.sm,nm.BREAKPOINTS.md,nm.BREAKPOINTS.sm),dD=n=>{let{children:e,toggleSubStatus:t}=n;return(0,a.useEffect)(()=>{t(!0)},[]),(0,r.jsx)(r.Fragment,{children:e})};function dE(n){let e=(0,a.useRef)(null),{headerData:t,breakpoint:o,siteVariables:i,accountInfo:s,routeDetails:l,checkYourStoreData:c,yourStoreSection:u,backgroundSettings:p,primaryStoreObject:d,routePrefix:f,setYourStoreDropdown:m,yourStoreDropdown:g,type:h,headerType:b,segmentCode:x,cologoExists:y,cologoPath:w,registerRef:S,toOpenMenuFlyout:I,menuItemInstances:v,headerDropShadow:T,changeParentStyle:_,isMessagesOverlayOpened:O,isBudgetCenterOverlayOpened:D,loginStatus:E,zipCode:A,shippingState:L,shippingCity:M,domain:k,toggleSubStatus:R}=n,P=t.bottomNavigationFontColorHover||"primary",{bottomBarRight:N,bottomNavigationFontColor:B,bottomNavigationColor:j,bottomBarLeft:H}=t,{shipToId:F}=s,W=(0,U.jy)(b,h),{tpvHeader:z}=W,{subheader:Y,isRewardsMenu:K,drawer:$}=p,G="xs"===o||"sm"===o;(0,a.useEffect)(()=>{S({ref:{subWrapperRef:e}})},[]);let V=(0,a.useMemo)(()=>{let t=[];return N&&N.map((r,p)=>{(0,U.Z1)({item:r,userData:{...l,...s},siteVariables:i,segmentCode:x,domain:k,breakpoint:o,headerTypes:W})&&t.push((0,a.createElement)(i5,{...n,key:p,menuItem:r,zipCode:A,shippingState:L,shippingCity:M,subHeader:!0,subFontHoverColor:P,changeParentStyle:_,siteVariables:i,checkYourStoreData:c,fontColor:B,yourStoreSection:u,yourStoreDropdown:g,setYourStoreDropdown:m,parentRef:e,primaryStoreObject:d,breakpoint:o,routePrefix:f,permissionApplied:!0,automationID:"bottom_right_menu_item_".concat(p)}))}),t},[N,i,d,A,L,M,u,g,c,m,o,s,W,x,I,v,F,O,D,E,k]),Q=(0,a.useMemo)(()=>{let t=[];return H&&H.map((a,c)=>{(0,U.Z1)({item:a,userData:{...l,...s},siteVariables:i,segmentCode:x,domain:k,breakpoint:o,headerTypes:W})&&t.push((0,r.jsx)(i5,{...n,menuItem:a,subHeader:!0,subFontHoverColor:P,fontColor:B,changeParentStyle:_,routePrefix:f,parentRef:e,breakpoint:o,permissionApplied:!0,automationID:"bottom_left_menu_item_".concat(c),bottomLeftContent:!0,primaryStoreObject:d},c))}),t},[H,o,s,i,W,x,I,v,F,D,O,E,k]);if((0,a.useEffect)(()=>{let n=n=>{if(n.shiftKey){let t=n.which||n.keyCode,r="Tab"===n.key||9===t;if(r&&e&&e.current&&e.current.contains(document.activeElement)){let n=parseInt(window.getComputedStyle(e.current).marginTop);if(n){let t=e.current.offsetTop;window.scrollTo(0,t-n)}}}};return document.addEventListener("keyup",n,!0),document.addEventListener("keydown",n,!0),()=>{document.removeEventListener("keyup",n,!0),document.removeEventListener("keydown",n,!0)}},[]),C()(Q)&&C()(V)){if(!i.isSBA||!y||z||G)return null}else if(C()(Q)&&G)return null;return(0,r.jsx)(dD,{toggleSubStatus:R,children:(0,r.jsxs)(dv,{$cologoExists:i.isSBA&&y,$isCOM:i.isCOM,$headerDropShadow:T,$bottomNavigationFontColor:B,$bottomNavigationColor:j,ref:e,children:[(0,r.jsxs)(dT,{$bottomNavigationColor:j,children:[G?null:y&&w&&(0,r.jsx)(dy,{cologoPath:w}),!C()(Q)&&(0,r.jsx)(d_,{children:Q}),G?null:(0,r.jsx)(dO,{"aria-label":"account",children:!C()(V)&&V})]}),G||!Y||K||$?null:(0,r.jsx)(pq,{backgroundSettings:p,parentRef:e})]})})}dE.defaultProps={accountInfo:{accountNumber:"",billToId:"",division:"",rewardsMenuCloseState:!1,shipToId:"",isLoggedIn:!1,flowType:""},backgroundSettings:{drawer:!1,isRewardsMenu:!1,subheader:!1},breakpoint:"",changeParentStyle:()=>{},checkYourStoreData:()=>{},cologoExists:!1,cologoPath:"",domain:"",gusSTSModalOpen:!1,headerData:{},headerDropShadow:!1,headerType:"",isBudgetCenterOverlayOpened:!1,isMessagesOverlayOpened:!1,isNewSBAMINICart:!1,loginStatus:"close",menuItemInstances:{},primaryStoreObject:{},registerRef:()=>{},routeDetails:{routeType:"sdc",routeId:"sdc"},routePrefix:"/ele-lpd",segmentCode:"",setYourStoreDropdown:!1,shippingCity:"",shippingState:"",siteVariables:{isSBA:!1,isCOM:!1},toggleSubStatus:()=>{},toOpenMenuFlyout:!1,type:"",userInfo:{},yourStoreDropdown:!1,yourStoreSection:!1,zipCode:""},dE.propTypes={accountInfo:_().shape({accountNumber:_().string,billToId:_().string,division:_().string,flowType:_().string,isLoggedIn:_().bool,rewardsMenuCloseState:_().bool,shipToId:_().string}),backgroundSettings:_().shape({drawer:_().bool,isRewardsMenu:_().bool,subheader:_().bool}),breakpoint:_().string,changeParentStyle:_().func,checkYourStoreData:_().func,cologoExists:_().bool,cologoPath:_().string,domain:_().string,gusSTSModalOpen:_().bool,headerData:_().object,headerDropShadow:_().bool,headerType:_().string,isBudgetCenterOverlayOpened:_().bool,isMessagesOverlayOpened:_().bool,isNewSBAMINICart:_().bool,loginStatus:_().string,menuItemInstances:_().object,primaryStoreObject:_().object,registerRef:_().func,routeDetails:_().shape({routeId:_().string,routeType:_().string}
1),routePrefix:_().string,segmentCode:_().string,setYourStoreDropdown:_().bool,shippingCity:_().string,shippingState:_().string,siteVariables:_().shape({isCOM:_().bool,isSBA:_().bool}),toggleSubStatus:_().func,toOpenMenuFlyout:_().bool,type:_().string,userInfo:_().object,yourStoreDropdown:_().bool,yourStoreSection:_().bool,zipCode:_().string},dD.propTypes={children:_().node,toggleSubStatus:_().func},dD.defaultProps={children:null,toggleSubStatus:()=>{}};var dA=t(86038);let dL=n=>{let{saveBreakPoint:e}=n;return(0,r.jsx)(dA.Breakpoint,{onBreakpointChange:e})};var dM=(0,s.connect)(null,(n,e)=>({saveBreakPoint:t=>{let r=e&&e.breakpoint||"";r!==t&&n((0,l.sparqHeaderBreakPoint)("xxs"===t?"xs":t))}}))(dL);function dk(){let n=(0,W._)(["\n    font-family: ",";\n    position: absolute;\n    border-radius: 25px !important;\n    border: none;\n    background-color: "," !important;\n    text-decoration: underline;\n    font-size: 12px;\n    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5);\n    padding: 8px 20px;\n    width: 207px;\n    height: 32px;\n    margin: 7px 19px 13px;\n    outline-width: 2px;\n    opacity: 0;\n    z-index: -100;\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    &:focus, &:active {\n      position: static;\n      cursor: pointer;\n      opacity: 1;\n      z-index: initial;\n      outline: 1px dashed ",";\n    }\n"]);return dk=function(){return n},n}dL.defaultProps={breakpoint:"",saveBreakPoint:()=>{}},dL.propTypes={breakpoint:_().string,saveBreakPoint:_().func};let dR=z.default.div.withConfig({componentId:"sc-4a93bb6b-0"})(dk(),ng.typography.type.motiva,Y.colors.white,Y.colors.black);var dP=t(94654),dN=t.n(dP),dB=t(59704),dj=t.n(dB);let dH=(n,e,t)=>{n.preventDefault();let r=document.querySelector(e);if(r){if(r.setAttribute("tabindex",0),r.style.outline="none",r.focus(),r.scrollIntoView(),e.indexOf("main")>0&&"SKU"!==B.V7_[t]){let n=document.querySelector(".header-nav-main-wrapper__headerNavWrapper"),e=n.getBoundingClientRect().height,t=window.getComputedStyle?window.getComputedStyle(n):n.currentStyle;window.scrollBy(0,-1*Math.abs(e-5-(parseInt(t.marginTop)||0)+(parseInt(t.marginBottom)||0)))}r.setAttribute("tabindex",-1)}},dF=n=>n&&dN()(n,n=>(n&&n.navigationTextSubOption&&n.navigationTextSubOption||[]).flatMap(n=>n.navigationTextSubOptionItems||[])).find(n=>n.action&&dj()(n.action,n=>"accessibility"===n.actionType)),dU=(n,e,t)=>{n.stopPropagation(),("Enter"===n.nativeEvent.key||" "===n.nativeEvent.key||"Spacebar"===n.nativeEvent.key)&&dH(n,e,t)},dW=n=>{let e="Skip to ".concat(n.where),t=dF(n.footerDataSectionTwo),o=i()(t,"destinationURL"),a=i()(t,"targetWindow","same-page"),s=i()(t,"headliner[0]",[]),l=(0,U.iQ)(s),c=(n,e)=>{"same-page"===e?window.open(n,"_self"):window.open(n,"_blank")};return o?(0,r.jsx)(dR,{role:"link","aria-label":e,tabIndex:"0",onClick:()=>{c(o,a)},onKeyDown:n=>{"Enter"===n.key&&c(o,a)},children:l}):n.where?(0,r.jsx)(dR,{tabIndex:"0",role:"link","aria-label":e,onKeyDown:e=>dU(e,n.cssSelector,n.consumer),onClick:e=>dH(e,n.cssSelector,n.consumer),children:e}):null};dW.propTypes={accessibility:_().object,consumer:_().string,cssSelector:_().string.isRequired,where:_().string.isRequired},dW.defaultProps={consumer:""};let dz=n=>{let e=(0,U.zy)(n);return e},dY=n=>{let e=[],t=C()(n)?[]:n.filter(n=>{let[{actionType:e}]=(0,U.v2)(n);return"mega-menu"===e});return t.forEach(n=>{let t=i()(n,"navigationFlyouts",[]);t.forEach(n=>{e.push(i()(n,"navigationFlyoutsItems",[]))})}),e.reduce((n,e)=>e.concat(n),[])},dK=(n,e)=>{let t=n?n.destinationReplaceURL||n.destinationURL:"",o=n?dz(n):"";return(0,r.jsx)("li",{children:t?(0,r.jsx)(nb.default,{href:t,rel:n.seoTag,"aria-label":n.ariaLabel,target:n.targetWindow,children:o}):o},"seo-item-".concat(e))},d$=n=>i()(n,"dstntnURL",""),dG=n=>i()(n,"arLbl",""),dV=n=>i()(n,"seoTag",""),dQ=n=>i()(n,"hdlnrTxt",""),dq=n=>{let e=i()(n,"trgtWndw","");return"new-page"===e?"_blank":"same-page"===e?"_self":void 0},dZ=(n,e)=>{let t=d$(n),o=dQ(n);return t||o?(0,r.jsx)("li",{children:t?(0,r.jsx)(nb.default,{href:t,rel:dV(n),"aria-label":dG(n),target:dq(n),children:o}):o},e):null},dJ=(n,e)=>{let t=d$(n),o=dQ(n),a=i()(n,"seoL3Links",[]),s=pE()(a)&&a.length>0;return t||o||s?(0,r.jsxs)("li",{children:[t?(0,r.jsx)(nb.default,{href:t,rel:dV(n),"aria-label":dG(n),target:dq(n),children:o}):o,s&&(0,r.jsx)("ul",{children:a.map((n,t)=>C()(n)?null:dZ(n,"".concat(e,"-l3-").concat(t)))})]},e):null},dX=(n,e)=>{let t=d$(n),o=dQ(n),a=i()(n,"seoL2Links",[]),s=pE()(a)&&a.length>0;return t||o||s?(0,r.jsxs)("li",{children:[t?(0,r.jsx)(nb.default,{href:t,rel:dV(n),"aria-label":dG(n),target:dq(n),children:o}):o,s&&(0,r.jsx)("ul",{children:a.map((n,t)=>C()(n)?null:dJ(n,"".concat(e,"-l2-").concat(t)))})]},e):null},d0=n=>
1{let{topNavigationOptionsLeft:e,topNavigationOptionsRight:t,bottomBarLeft:o,bottomBarRight:a,seoL1Links:s,headerHierarchyLinks:l}=i()(n,"headerData",{}),c=i()(l,"seoL1Links",[]),u=[dY(e),dY(t),dY(o),dY(a)].reduce((n,e)=>e.concat(n),[]),p=pE()(c)&&c.length>0,d=pE()(s)&&s.length>0,f=pE()(u)&&u.length>0;if(!p&&!d&&!f)return null;if(p)return(0,r.jsx)("div",{tabIndex:"-1",children:(0,r.jsx)("ul",{style:{display:"none"},children:c.map((n,e)=>C()(n)?null:dX(n,"seo-l1-".concat(e)))})});let m=d?s:u;return(0,r.jsx)("div",{tabIndex:"-1",children:(0,r.jsx)("ul",{style:{display:"none"},children:m.map((n,e)=>C()(n)?null:dK(n,e))})})};d0.propTypes={headerData:_().object},d0.defaultProps={headerData:{}};var d1=t(23147),d2={tophatContainer:"top-hat__tophatContainer",tophatContainerisCOM:"top-hat__tophatContainerisCOM",tophatnavigationtext:"top-hat__tophatnavigationtext",tophatnavigationtextIsCom:"top-hat__tophatnavigationtextIsCom",divider:"top-hat__divider","tophat-desktop":"top-hat__tophat-desktop",largeText:"top-hat__largeText",mediumText:"top-hat__mediumText","tophat-mobile":"top-hat__tophat-mobile",smallText:"top-hat__smallText",smallTextIsCom:"top-hat__smallTextIsCom",extraSmallText:"top-hat__extraSmallText"},d6=t(50361),d4=t.n(d6);let d5=n=>{let{consumer:e,breakpoint:t,headerType:o,type:s,accountInfo:l,topHatRef:c,addSkuAndCouponToCart:u,routeDetails:p,siteVariables:d,segmentCode:f,registerRef:m,navigationTopHatDesktopGlobal:g,navigationTopHatMobileGlobal:h,navigationTopHatDesktopCart:b,navigationTopHatMobileCart:x,navigationTopHatDesktopHomepage:y,navigationTopHatMobileHomepage:S,domain:I,storeTopHatData:v,templatizedDesktopTopHat:T,templatizedMobileTopHat:_,openLoyaltySKUOffersDrawer:O,rewardsNumber:D,showLoginDrawer:E,openLoyaltyBPCDrawer:A,openListsDrawer:L,showCreateList:M,routePrefix:k,openStoreLocatorDrawer:R,openADDShipToDrawer:P,toggleMarketoDrawer:N,toggleQu
1ickOrderDrawer:H,toggleLoyaltyEnrollmentDrawer:W,openMessageModal:z}=n,K=B.V7_[e],{isLoggedIn:$}=l,G=(0,U.jy)(o,s),V=(0,a.useRef)("G"),Q=!d.isSBA||(0,U.VN)(l,"TOP_HAT_AD"),q=(n,e)=>{let{navTextData:t,index:r,headlinerText:o}=e,{ariaLabel:a}=t;n.stopPropagation();let s={methodType:"linkTrack",model:{headerType:"UX2",link:i()(t,"headlinerdestinationURL","")?i()(t,"headlinerdestinationURL",""):i()(t,"destinationURL",""),type:"TOP_HAT",payload:{slot:r+1,topHatType:V.current,text:o||(0,U.zy)(t)||a||""}}};i()(t,"headlinerdestinationURL","")?s.model.payload.icid=i()(t,"headlinerdestinationURL","").split("icid=")[1]||"No ICID":s.model.payload.icid=i()(t,"destinationURL","").split("icid=")[1]||"No ICID",F.Z.invokeAdapter(s)},Z=(n,e,t)=>{let{CouponCodes:r,Sku:o,target:i,theme:a}=e,s=(0,U.Gp)(e,l,p,f);(0,U.ay)({e:n,data:e,isProd:d.isProd,openADDShipToDrawer:P,isOverriddenActionType:t,loyaltyBPCDrawerHandler:()=>A(!0),loyaltyEnrollmentDrawerHandler:()=>W(!0),itemdestinationUrl:s,feedbackQualtricMetric:"header_feedback_Qualtrics",isAddToCartAction:!t&&(!C()(r)||!C()(o)),addSkuAndCouponToCart:()=>u({e:n,getDestUrl:s,offerCouponCodes:r,offerSkus:o,target:i,theme:a}),loginDrawerHandler:(t,s,c,d)=>E(d?null:s,c,{...C()(r)&&C()(o)?d?{successCallBack:()=>(0,U.SX)({openListsDrawer:L,isLoggedIn:$,openCreateListDrawer:M,routePrefix:k}),openLoginDrawer:!0}:{}:{successCallBack:()=>{let{CouponCodes:t,Sku:r}=e,o=(0,U.Gp)(e,l,p,f);u({e:n,getDestUrl:o,offerCouponCodes:t,offerSkus:r,target:i,theme:a,onSuccessCB:()=>w.default&&w.default.reload&&w.default.reload(),onFailureCB:()=>w.default&&w.default.reload&&w.default.reload()})}}}),listsDrawerHandler:()=>(0,U.SX)({openListsDrawer:L,isLoggedIn:$,openCreateListDrawer:M,routePrefix:k}),openStoreLocatorDrawerHandler:()=>
1R(c),showCreateList:M,marketoDrawerHandler:N,toggleQuickOrderDrawer:H,openMessageModal:z})},J=(e,i,a)=>{let s=[];return"desktop"===i?C()(e[B.oUQ])||"lg"!==t?C()(e[B.Tg0])||(e.headliner=e[B.Tg0],s.push((0,r.jsx)("div",{className:d2.mediumText,children:(0,r.jsx)(j.Z,{...n,actionTypeHandler:Z,addSkuAndCouponToCart:u,parentclassStyle:d2.tophatnavigationtext,navTextData:e,dispatchAnalytics:q,headerType:o,type:i,index:a,rewardsNumber:D,openLoyaltySKUOffersDrawer:O,isPermissionLimitCheckedAtParent:!0,isTopHat:!0,topHatcouponCode:e.CouponCodes,topHatSku:e.Sku})}))):(e.headliner=e[B.oUQ],s.push((0,r.jsx)("div",{className:d2.largeText,children:(0,r.jsx)(j.Z,{...n,actionTypeHandler:Z,addSkuAndCouponToCart:u,parentclassStyle:d2.tophatnavigationtext,navTextData:e,dispatchAnalytics:q,headerType:o,type:i,index:a,rewardsNumber:D,openLoyaltySKUOffersDrawer:O,isPermissionLimitCheckedAtParent:!0,isTopHat:!0,topHatcouponCode:e.CouponCodes,topHatSku:e.Sku})}))):C()(e[B.ToP])||"sm"!==t?C()(e[B.Qap])||(e.headliner=e[B.Qap],s.push((0,r.jsx)("div",{className:d2.extraSmallText,children:(0,r.jsx)(j.Z,{...n,actionTypeHandler:Z,addSkuAndCouponToCart:u,parentclassStyle:"".concat(d2.tophatnavigationtext,"  ").concat(d.isCOM?d2.tophatnavigationtextIsCom:null," "),navTextData:e,dispatchAnalytics:q,headerType:o,type:i,index:a,rewardsNumber:D,openLoyaltySKUOffersDrawer:O,isPermissionLimitCheckedAtParent:!0,isTopHat:!0,topHatcouponCode:e.CouponCodes,topHatSku:e.Sku})}))):(e.headliner=e[B.ToP],s.push((0,r.jsx)("div",{className:"".concat(d2.smallText,"  ").concat(d.isCOM?d2.smallTextIsCom:null," "),children:(0,r.jsx)(j.Z,{...n,actionTypeHandler:Z,addSkuAndCouponToCart:u,parentclassStyle:"".concat(d2.tophatnavigationtext,"  ").concat(d.isCOM?d2.tophatnavigationtextIsCom:null," "),navTextData:e,dispatchAnalytics:q,headerType:o,type:i,index:a,rewardsNumber:D,openLoyaltySKUOffersDrawer:O,isPermissionLimitCheckedAtParent:!0,isTopHat:!0,topHatcouponCode:e.CouponCodes,topHatSku:e.Sku})}))),s},X=(n,e)=>{let r="";return"desktop"===e?C()(n[B.oUQ])||"lg"!==t?C()(n[B.Tg0])||"md"!==t||(r=n.mediumBackgroundColor):r=n.largeBackgroundColor:C()(n[B.ToP])||"sm"!==t?C()(n[B.Qap])||"xs"!==t||(r=n.extraSmallBackgroundColor):r=n.smallBackgroundColor,r},nn=(n,e)=>{let o=[],i=[],s=[];if(!C()(n)){let c=n&&n.length,u=[];if(c>0){let c=d4()(n);return c.map((n,r)=>{if(!(s.length>2)||"lg"!==t){if(r>=2&&"md"===t)return!1;if((0,U.rM)(n,G)&&(0,U.Z1)({item:n,userData:{...p,...l},siteVariables:d,segmentCode:f,domain:I,breakpoint:t,headerTypes:G})){let t=J(n,e,r);!C()(t)&&(s.push(n),o.push(t),i.length<1&&i.push(X(n,e,r)||"light_gray_2"))}}}),C()(o)||o.map((n,e)=>{let t=o&&o.length;u.push((0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(d1.Column,{spanXS:12,noMargin:!0,spanSM:12,spanMD:1===t?12:6,spanLG:1===t?12:2===t?6:4,children:n}),t>1?(0,r.jsx)("span",{className:"".concat(d2.divider)}):null]},"tophat_".concat(e)))}),{tophat:u,renderedTopHatObj:s,topHatColor:i.length>0&&i[0]?i[0]:"light_gray_2"}}}return{tophat:[],renderedTopHatObj:[],topHatColor:"light_gray_2"}},{desktop:ne,mobile:nt}=(0,a.useMemo)(()=>{let n={desktop:C()(T)?nn(g,"desktop"):nn(T,"desktop"),mobile:C()(_)?nn(h,"mobile"):nn(_,"mobile")};return"CART"===K?(C()(b)||(V.current="C",n.desktop=nn(b,"desktop")),C()(x)||(V.current="C",n.mobile=nn(x,"mobile"))):"HOME"!==K||(C()(y)||(V.current="H",n.desktop=nn(y,"desktop")),C()(S)||(V.current="H",n.mobile=nn(S,"mobile"))),n},[K,h,g,b,x,y,S,t,G,p,l,d,f,I,G]);(0,a.useEffect)(()=>{m({ref:{topHatRef:c}})},[]);let{renderedTopHatObj:nr}=ne,{renderedTopHatObj:no}=nt;return(0,a.useEffect)(()=>{C()(nr)&&C()(no)||v({desktop:C()(nr)?{}:nr,mobile:C()(no)?{}:no,tophatConsumerType:V.current})},[nr,no,V,v]),(0,r.jsx)(a.Fragment,{children:Q?(0,r.jsxs)("div",{ref:c,style:{position:"relative"},children:[!C()(ne)&&!C()(i()(ne,"tophat"))&&(0,r.jsx)("div",{style:{backgroundColor:Y.colors[i()(ne,"topHatColor","light_gray_2")]},className:"".concat(d2.tophatContainer," ").concat(d2["tophat-desktop"]," "),children:i()(ne,"tophat")},"top_hat_container_desktop"),!C()(nt)&&!C()(i()(nt,"tophat"))&&(0,r.jsx)("div",{style:{backgroundColor:Y.colors[i()(nt,"topHatColor","light_gray_2")]},className:"".concat(d2.tophatContainer," ").concat(d.isCOM?d2.tophatContainerisCOM:null,"  ").concat(d2["tophat-mobile"]),children:i()(nt,"tophat")},"top_hat_container_mobile")]}):null})};d5.defaultProps={accountInfo:{flowType:!1,isLoggedIn:!1,isOmniMobileApp:!1,shipToId:""},addSkuAndCouponToCart:()=>{},breakpoint:"xs",consumer:"",domain:"",headerType:"",isLoggedIn:!1,navigationTopHatDesktopCart:[],navigationTopHatDesktopGlobal:[],navigationTopHatDesktopHomepage:[],navigationTopHatMobileCart:[],navigationTopHatMobileGlobal:[],navigationTopHatMobileHomepage:[],openADDShipToDrawer:()=>{},openListsDrawer:()=>{},openLoyaltyBPCDrawer:()=>{},openLoyaltySKUOffersDrawer:()=>{},openMessageModal:()=>{},openStoreLocatorDrawer:()=>{},registerRef:()=>{},rewardsNumber:"",routeDetails:{routeType:"sdc",routeId:"sdc"},routePrefix:"/ele-lpd",segmentCode:"",showCreateList:()=>{},showLoginDrawer:()=>{},siteVariables:{isCOM:!1,isProd:!1,isSBA:!1},storeTopHatData:()=>{},templatizedDesktopTopHat:[],templatizedMobileTopHat:[],toggleLoyaltyEnrollmentDrawer:()=>{},toggleMarketoDrawer:()=>{}
1,toggleQuickOrderDrawer:()=>{},topHatRef:()=>{},type:""},d5.propTypes={accountInfo:_().shape({flowType:_().string,isLoggedIn:_().bool,isOmniMobileApp:_().bool,shipToId:_().string}),addSkuAndCouponToCart:_().func,breakpoint:_().string,consumer:_().string,domain:_().string,headerType:_().string,isLoggedIn:_().bool,navigationTopHatDesktopCart:_().array,navigationTopHatDesktopGlobal:_().array,navigationTopHatDesktopHomepage:_().array,navigationTopHatMobileCart:_().array,navigationTopHatMobileGlobal:_().array,navigationTopHatMobileHomepage:_().array,openADDShipToDrawer:_().func,openListsDrawer:_().func,openLoyaltyBPCDrawer:_().func,openLoyaltySKUOffersDrawer:_().func,openMessageModal:_().func,openStoreLocatorDrawer:_().func,registerRef:_().func,rewardsNumber:_().string,routeDetails:_().shape({routeId:_().string,routeType:_().string}),routePrefix:_().string,segmentCode:_().string,showCreateList:_().func,showLoginDrawer:_().func,siteVariables:_().shape({isCOM:_().bool,isProd:_().bool,isSBA:_().bool}),storeTopHatData:_().func,templatizedDesktopTopHat:_().array,templatizedMobileTopHat:_().array,toggleLoyaltyEnrollmentDrawer:_().func,toggleMarketoDrawer:_().func,toggleQuickOrderDrawer:_().func,topHatRef:null,type:_().string};var d3=t(11163),d8=t(88235),d7=function(){let n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=(0,s.useDispatch)();(0,a.useEffect)(()=>{n&&(window.loyaltyEnroll=n=>{let t={type:"@euf/ele-hf/HF_OPEN_LOYALTY_ENROLLMENT_DRAWER",payload:{...n,openLoyaltyEnrollmentDrawer:!0}};e(t)},window.loyaltyMissingPoints=n=>{let t={type:"@euf/ele-hf/HF_OPEN_LOYALTY_MISSING_POINTS_DRAWER",payload:{...n,openLoyaltyMissingPointsDrawer:!0}};e(t)},window.loyaltyOnboarding=n=>{let t={type:"@euf/ele-hf/HF_OPEN_SLP_ONBOARDING_DRAWER",payload:{...n,openSLPOnboardingDrawer:!0}};e(t)},window.loyaltyOffers=n=>{let t={type:"@euf/ele-hf/HF_OPEN_LOYALTY_OFFERS_DRAWER",payload:{...n,openLoyaltyOffersDrawer:!0}};e(t)},window.loyaltySkuOffers=n=>{let t={type:"@euf/ele-hf/HF_OPEN_LOYALTY_SKU_OFFERS_DRAWER",payload:{...n,openLoyaltySKUOffersDrawer:!0}};e(t)},window.loyaltyBonusPointsCategories=n=>{let t={type:"@euf/ele-hf/HF_OPEN_LOYALTY_BPC_DRAWER",payload:{...n,openLoyaltyBPCDrawer:!0}};e(t)},window.loyaltyHowToDrawer=n=>{let t={type:"@euf/ele-hf/HF_OPEN_LOYALTY_HOW_TO_DRAWER",payload:{...n,openLoyaltyHowToDrawer:!0}};e(t)})},[n])};let d9=a.useLayoutEffect;var fn=t(59290);function fe(){let n=(0,W._)(["\n    width: 100%;\n    background-color: ",";\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    overflow: hidden;\n    transition: opacity 0.5s ease, transform 0.5s ease, max-height 0.5s ease, margin 0.5s ease;\n    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.10);\n    opacity: ",";\n    transform: ",";\n    max-height: ",";\n    pointer-events: ",";\n    gap: 24px;\n    padding: 1px;\n    cursor: ",";\n    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.10);\n    @media print {\n      display: none;\n    }\n    &:hover {\n     .ctaLink{\n      text-decoration: none;\n     }\n    }\n    .marketing-bar{\n      width: 100%;\n      padding: 15px 23px;\n      display: flex;\n      justify-content: space-between;\n      align-items: center;\n      gap: 24px;\n      &:focus {\n       outline-offset: 0;\n     }\n    }\n"]);return fe=function(){return n},n}function ft(){let n=(0,W._)(["\n    background: none;\n    border: none;\n    cursor: poiner;\n    padding: 0;\n"]);return ft=function(){return n},n}function fr(){let n=(0,W._)(["\nwidth: 24px;\nheight: 100%;\n"]);return fr=function(){return n},n}function fo(){let n=(0,W._)(["\n     display: flex;\n     justify-content: flex-start;\n     align-items: center;\n     min-height: 24px;\n    "]);return fo=function(){return n},n}function fi(){let n=(0,W._)(["\n     display: flex;\n     justify-content: flex-start;\n     align-items: center;\n     min-height: 24px;\n    "]);return fi=function(){return n},n}function fa(){let n=(0,W._)(["\n           display: none;\n        "]);return fa=function(){return n},n}function fs(){let n=(0,W._)(["\n    display: flex;\n    justify-content: center;
1\n    align-items: flex-start;\n    width: 100%;\n    gap: 8px;\n    max-height: 40px;\n    min-height: 28px;\n    ",";\n   ",";\n    svg {\n         ",";\n    };\n"]);return fs=function(){return n},n}function fl(){let n=(0,W._)(["\n   color: ",";\n   text-decoration: underline;\n    line-height: 20px;\n "]);return fl=function(){return n},n}function fc(){let n=(0,W._)(["\n    font-weight: bold;\n    font-size: 16px;\n    font-style: normal;\n    font-weight: 400;\n    color: ",";\n    letter-spacing: 0.16px;\n    height: 100%;\n    .marketing-bar-text{\n     line-height: 20px;\n    }\n"]);return fc=function(){return n},n}let fu=z.default.div.withConfig({componentId:"sc-abcf61c-0"})(fe(),n=>{let{$bgColor:e}=n;return"".concat(Y.colors[e])||Y.colors.light_yellow_2},n=>n.isVisible?1:0,n=>n.isVisible?"translateY(0)":"translateY(-20px)",n=>n.isVisible?"200px":"0",n=>n.isVisible?"auto":"none",n=>n.$isLinkEnabled?"pointer":"default"),fp=z.default.button.withConfig({componentId:"sc-abcf61c-1"})(ft()),fd=z.default.div.withConfig({componentId:"sc-abcf61c-2"})(fr()),ff=z.default.div.withConfig({componentId:"sc-abcf61c-3"})(fs(),(0,nh.Nv)("sm",(0,z.css)(fo())),(0,nh.Fd)((0,z.css)(fi())),(0,nh.Fd)((0,z.css)(fa()))),fm=z.default.span.withConfig({componentId:"sc-abcf61c-4"})(fl(),n=>{let{$color:e}=n;return"".concat(Y.colors[e])||Y.colors.link_blue}),fg=z.default.div.withConfig({componentId:"sc-abcf61c-5"})(fc(),Y.colors.black);var fh=t(92759);let fb=n=>{let{marketingBarData:e,breakpoint:t,accountInfo:o,showLoginDrawer:s,openStoreLocatorDrawer:l,showCreateList:c,openADDShipToDrawer:u,toggleQuickOrderDrawer:p,addSkuAndCouponToCart:d,toggleMarketoDrawer:f,openMessageModal:m,openLoyaltyBPCDrawer:g,routeDetails:h,siteVariables:b,segmentCode:x,openRewardsSignupDrawer:y,toggleLoyaltyEnrollmentDrawer:w,openLoyaltySKUOffersDrawer:S,setRequiredCookieModalOptions:I,page:v}=n,[T,_]=(0,a.useState)(!1),[O,D]=(0,a.useState)(!0),E=i()(e,"[0]",{}),A=i()(e,"[0].Banners",[]),L=i()(e,"[0].mktBarDism",""),M=["xs","sm"].includes(t),k=(0,a.useMemo)(()=>(0,U.Z1)({item:E,userData:{...h,...o},siteVariables:b,segmentCode:x,page:v,breakpoint:t}),[E,h,o,b,t,v,x]),R=(0,a.useMemo)(()=>!k||C()(A)?{}:A.find(n=>(0,U.Z1)({item:n,userData:{...h,...o},siteVariables:b,segmentCode:x,page:v,breakpoint:t}))||{},[A,k,o,h,b,x,v,t]),{ActionLandingPageOverrideByUserGroup:N,cta:j,headliner:H,iconColor:W,icon:z,destinationAnchorId:Y,destinationTarget:K,ariaLabel:$,backgroundColor:G,ctaThemecolor:V}=R,Q=(0,U.Gp)(R,o,h,x),[{actionType:q}]=(0,U.v2)(R),{CouponCodes:Z,Sku:J,target:X,theme:nn}=R,ne=!C()(N)&&(0,U._4)({ActionLandingPageOverrideByUserGroup:N,accountInfo:o,routeDetails:h,siteVariables:b,breakpoint:t}),nt=()=>{localStorage.setItem(B._n7,Date.now().toString()),localStorage.setItem(B.ARs,L),nr(!0,$),D(!1)},nr=function(n,e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";F.Z._linkTrack({type:"GENERIC_LINK",payload:{linkTo:t,text:n?"MarketingBar:".concat(e,":close"):"MarketingBar:".concat(e)}})};(0,a.useEffect)(()=>{let n=localStorage.getItem(B._n7),t=localStorage.getItem(B.ARs),r=t!==L,i=Date.now()-Number.parseInt(n,10)>2592e5;(!n||r)&&(i=!0),!C()(e)&&k&&!C()(R)&&(0,uQ.EX)(!1,o)&&i?_(!0):_(!1)},[e,L,k,o,R]);let no=(n,e,t)=>{(0,U.ay)({e:n,data:e,itemdestinationUrl:Q,isOverriddenActionType:t,openRewardsSignupDrawer:y,loyaltyBPCDrawerHandler:()=>g(!0),loyaltyEnrollmentDrawerHandler:()=>w(!0),isAddToCartAction:!t&&(!C()(Z)||!C()(J)),loginDrawerHandler:s,openStoreLocatorDrawer:l,openLoyaltyDetailsDrawer:S,openRequiredCookiesModal:I,addSkuAndCouponToCart:()=>d({e:n,destinationUrl:Q,offerCouponCodes:Z,offerSkus:J,target:X,theme:nn}),openADDShipToDrawer:u,showCreateList:c,marketoDrawerHandler:f,toggleQuickOrderDrawer:p,openMessageModal:m})},ni=Q||ne||q||Y;return T?(0,r.jsx)(fu,{isVisible:O,$bgColor:G,children:(0,r.jsxs)(nb.default,{href:Q||null,target:"existing"===K?"_self":"_blank",tabindex:ni?0:-1,onClick:n=>{nr(!1,$,Q),(ne||!C()(q)||Z)&&no(n,R,ne)},className:"marketing-bar",children:[(0,r.jsxs)(ff,{children:[!M&&!C()(z)&&(0,r.jsx)(fd,{children:(0,r.jsx)(P.Icon,{name:z,size:24,color:W})}),(0,r.jsxs)(fg,{children:[(0,r.jsx)(fh.default,{parentStyle:"marketing-bar-text",headlinerText:H})," ",(0,r.jsx)(fm,{$color:V,className:"ctaLink",children:j})]})]}),(0,r.jsx)(fp,{onClick:n=>{n.preventDefault(),n.stopPropagation(),nt()},children:(0,r.jsx)(P.Icon,{name:"close",size:24,color:"black"})})]})}):null};function fx(){let n=(0,W._)(["\n        font-family: "," !important;\n        font-weight: 500 !important;\n        font-style: normal !important;\n      "]);return fx=function(){return n},n}function fy(){let n=(0,W._)(["\n        font-family: "," !important;\n        font-weight: 300 !important;\n        font-style: normal !important;\n      "]);return fy=function(){return n},n}function fw(){let n=(0,W._)(["\n        font-family: "," !important;\n        font-weight: 400 !important;\n        font-style: normal !important;\n      "]);return fw=function(){return n},n}function fS(){let n=(0,W._)(["\n  height: 4px;\n  width: calc(100% - 36px);\n  margin-right: 10px;\n"]);return fS=function(){return n},n}function fC(){let n=(0,W._)([" \n      border: none !important;\n      padding-bottom: 0px !important;\n     span{\n        ",";\n        font-size: 16px;\n        line-height: 24px;\n        color: ",";\n        font-weight: 500 !important;\n        &:hover {\n          color: ",";\n       }\n     }\n    "]);return fC=function(){return n},n}function fI(){let n=(0,W._)(["\n        border-color: "," !important;\n        color: "," !important;\n    "]);return fI=function(){return n},n}function fv(){let n=(0,W._)(["\n        padding-bottom: 11px;\n    "]);return fv=function(){return n},n}function fT(){let n=(0,W._)(["\n        padding-bottom: 3px;\n    "]);return fT=function(){return n},n}function f_(){let n=(0,W._)(["\n            font-size: 14px;\n        "]);return f_=function(){return n},n}function fO(){let n=(0,W._)(["\n        ",";\n        cursor: pointer;\n        font-size: 14px;\n        outline: none;\n        padding-bottom: 7px;\n        letter-spacing: 0.43px;\n        //border-bottom: 2px solid "," !important;\n        ","\n    \n    "]);return fO=function(){return n},n}function fD(){let n=(0,W._)(["\n            font-size: 14px;\n        "]);return fD=function(){return n},n}function fE(){let n=(0,W._)(["\n        ",";\n        cursor: pointer;\n        font-size: 14px;\n        outline: none;\n        border-bottom-width: 2px;\n        padding-bottom: 7px;\n        letter-spacing: 0.43px;\n        ","\n    \n    "]);return fE=function(){return n},n}function fA(){let n=(0,W._)(["\n            font-size: 14px;\n        "]);return fA=function(){return n},n}function fL(){let n=(0,W._)(["\n        font-size: 14px;\n        letter-spacing: 0.43px;\n        ",";\n        ","\n    "]);return fL=function(){return n},n}function fM(){let n=(0,W._)(["\n        &:hover {\n            color: "," !important;\n        }\n    "]);return fM=function(){return n},n}function fk(){let n=(0,W._)(["\n        &:hover {\n            text-decoration: underline;\n        }\n    "]);return fk=function(){return n},n}function fR(){let n=(0,W._)(["\n        text-decoration: underline !important;\n    "]);return fR=function(){return n},n}function fP(){let n=(0,W._)(["\n        text-decoration: none !important;\n    "]);return fP=function(){return n},n}function fN(){let n=(0,W._)(["\n        & * {\n            white-space: nowrap !important;\n        }\n    "]);return fN=function(){return n},n}function fB(){let n=(0,W._)(["\n    ","\n   \n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n"]);return fB=function(){return n},n}function fj(){let n=(0,W._)(["\n        width: 24px;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n    "]);return fj=function(){return n},n}function fH(){let n=(0,W._)(["\n                margin-bottom: 4px;\n            "]);return fH=function(){return n},n}function fF(){let n=(0,W._)(["\n            @media screen and (max-width: 1024px) {\n                position: absolute;\n                right: -6px;\n                bottom: 0px;\n                background: white;\n                border-radius: 100%;\n                width: 18px;\n                height: 18px;\n                border: 2px solid ",";\n            }\n        "]);return fF=function(){return n},n}function fU(){let n=(0,W._)(["\n        @media screen and (min-width: 1025px) {\n            opacity: 1;\n            align-self: flex-end;\n            transition: opacity 0.2s ease;\n\n            ","\n        }\n\n        ","\n    "]);return fU=function(){return n},n}function fW(){let n=(0,W._)(["\n    @media screen and (min-width: 1025px) {\n        opacity: 0;\n        width: 24px;\n        height: 24px;\n    }\n\n     ","\n    \n    ","\n"]);return fW=function(){return n},n}function fz(){let n=(0,W._)(["\n    ",";\n    font-size: 14px;\n    letter-spacing: 0;\n    text-align: center;\n"]);return fz=function(){return n},n}function fY(){let n=(0,W._)(["\n        color: "," !important;\n    "]);return fY=function(){return n},n}function fK(){let n=(0,W._)(["\n    display: inline-flex;\n    height: 40px;
1\n    align-items: center;\n    justify-content: center;\n    position: relative;\n    ","\n"]);return fK=function(){return n},n}function f$(){let n=(0,W._)(["\n        height: 5px;\n    "]);return f$=function(){return n},n}function fG(){let n=(0,W._)(["\n        background-color: "," !important;\n    "]);return fG=function(){return n},n}function fV(){let n=(0,W._)(["\n    display: block;\n    height: 4px;\n    background-color:  ",";\n    margin: 0 !important;\n    border-top-left-radius: 25px;\n    border-top-right-radius: 25px;\n    ","\n    ","\n"]);return fV=function(){return n},n}function fQ(){let n=(0,W._)(["\n\n  @media (max-width: 1024px) {\n    display: none;\n  }\n\n"]);return fQ=function(){return n},n}function fq(){let n=(0,W._)(["\n    cursor: pointer;\n    color: ",";\n    &:focus {\n        outline: 1px dashed ",";\n        outline-offset: 1px;\n    }\n"]);return fq=function(){return n},n}function fZ(){let n=(0,W._)(["\n        font-size: 14px;\n    "]);return fZ=function(){return n},n}function fJ(){let n=(0,W._)(["\n    \n    display: flex; \n    align-items: center; \n    gap: 10px; \n    outline: none;\n    ",";\n    cursor: pointer;\n    font-size: 14px;\n    letter-spacing: 0.43px;\n    color: ",";\n    ","\n    @media (min-width: 1025px) {\n    margin-right: 22px;\n    padding: 4px 10px 4px 0;\n    margin-top: -4px;\n    }\n    &:focus {\n      outline: none;\n    }\n    &:hover {\n      border-radius: 50%;\n      background-color: rgba(0, 0, 0, 0.09);\n      @media (min-width: 1025px) {\n        border-radius: 12px;\n    }\n    }\n"]);return fJ=function(){return n},n}function fX(){let n=(0,W._)(["\n        margin-top: 12px;\n    "]);return fX=function(){return n},n}function f0(){let n=(0,W._)(["\n        background-color: ",";\n    "]);return f0=function(){return n},n}function f1(){let n=(0,W._)(["\n            display: inline-block;\n            height: 100%;\n            background-color: ",";\n            width: 30px;\n            margin: 0 auto;\n            border-top-left-radius: 25px;\n            border-top-right-radius: 25px;\n            margin-top: 0px !important;\n    "]);return f1=function(){return n},n}function f2(){let n=(0,W._)(["\n            display: inline-block;\n            height: 4px;\n            background-color: ",";\n            width: calc(100% - 32px);\n            border-top-left-radius: 25px;\n            border-top-right-radius: 25px;\n            position: absolute;\n           @media screen and (max-width: ","px) {\n                width: 100%;\n            }\n    "]);return f2=function(){return n},n}function f6(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n     ","\n"]);return f6=function(){return n},n}function f4(){let n=(0,W._)(["\n        margin-left: 12px;\n    "]);return f4=function(){return n},n}function f5(){let n=(0,W._)(["\n        margin-left: 16px;\n    "]);return f5=function(){return n},n}function f3(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return f3=function(){return n},n}function f8(){let n=(0,W._)(["\n            margin-left: 0;\n        "]);return f8=function(){return n},n}function f7(){let n=(0,W._)(["\n        display: block;\n        margin-left: 0;\n        ",";\n        ",";\n    "]);return f7=function(){return n},n}function f9(){let n=(0,W._)(["\n        outline: none;\n        a {\n            &:active {\n                outline: none;\n            }\n        }\n    "]);return f9=function(){return n},n}function mn(){let n=(0,W._)(["\n            padding-top: 6px !important;\n        "]);return mn=function(){return n},n}function me(){let n=(0,W._)(["\n        &:hover {\n            a {\n                color: "," !important;\n            }\n        }\n        ",";\n    "]);return me=function(){return n},n}function mt(){let n=(0,W._)(["\n        padding-top: 6px !important;\n    "]);return mt=function(){return n},n}function mr(){let n=(0,W._)(["\n        height: 40px;\n        margin-top: 0px;\n        display: block;\n        &:focus {\n            outline: none !important;\n        }\n    "]);return mr=function(){return n},n}function mo(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n"]);return mo=function(){return n},n}function mi(){let n=(0,W._)(["\n        width: 100%;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        height: 100%;\n"]);return mi=function(){return n},n}function ma(){let n=(0,W._)(["\n          &:hover {\n            background-color: transparent !important;\n          }\n        "]);return ma=function(){return n},n}function ms(){let n=(0,W._)(["\n          font-size: 14px;\n        "]);return ms=function(){return n},n}function ml(){let n=(0,W._)(["\n      padding: 10px 16px;\n      &:hover {\n        background-color: ",";\n      }\n      ",";\n\n      ",";\n      cursor: pointer;\n      font-size: 14px;\n      outline: none;\n      letter-spacing: 0.43px;\n      outline: none;\n      &:focus {\n        outline: none;\n      }\n      ",";\n    "]);return ml=function(){return n},n}function mc(){let n=(0,W._)(["\n      width: 100%;\n      display: flex;\n      justify-content: center;\n      align-items: center;\n      padding: 10px 8px 10px 16px;\n      border-radius: 28px;\n      line-height: 24px;\n      font-size: 16px !important;\n      height: 44px;\n      margin-top: 4px;\n    "]);return mc=function(){return n},n}function mu(){let n=(0,W._)(["\n            text-decoration: underline;\n          "]);return mu=function(){return n},n}function mp(){let n=(0,W._)(["\n      ",";\n      font-size: 14px;\n      display: flex;\n      cursor: pointer;\n      line-height: 24px;\n      outline: none !important;\n      &:focus {\n        outline: none;\n      }\n      &:hover {\n        "," {\n          ","\n        }\n      }\n    "]);return mp=function(){return n},n}function md(){let n=(0,W._)(["\n          font-size: 12px;\n          padding-bottom: 9.8px !important;\n          border-width: 4px;\n          border-bottom-style: solid;\n          color: ",";\n        "]);return md=function(){return n},n}function mf(){let n=(0,W._)(["\n      font-size: 12px;\n      "," {\n        ","\n      }\n    "]);return mf=function(){return n},n}function mm(){let n=(0,W._)(["\n          font-size: 14px;\n        "]);return mm=function(){return n},n}function mg(){let n=(0,W._)(["\n      ",";\n      cursor: pointer;\n      font-size: 14px;\n      outline: none;\n      letter-spacing: 0.43px;\n      ","\n\n      &:focus {\n        outline: none !important;\n      }\n      &:hover {\n        background-color: ",";\n      }\n    "]);return mg=function(){return n},n}function mh(){let n=(0,W._)(["\n  ","\n\n  ","\n\n    ","\n\n    ","\n    ","\n"]);return mh=function(){return n},n}function mb(){let n=(0,W._)(["\n        position: fixed;\n        top: 0;\n        left: 0;\n        bottom: 0;\n        width: 100%;\n        z-index: 10001;\n        visibility: hidden;\n        outline: none;\n    "]);return mb=function(){return n},n}function mx(){let n=(0,W._)(["\n        width: 480px;\n        transition: width 0.2s cubic-bezier(1, 0.01, 0.01, 1) 0s;\n        visibility: visible;\n        right: 0;\n    "]);return mx=function(){return n},n}
1function my(){let n=(0,W._)(["\n                margin-top: -1px !important;\n                right: -12px;\n                position: relative;\n            "]);return my=function(){return n},n}function mw(){let n=(0,W._)(["\n                margin-top: -1px !important;\n                right: -12px;\n                position: relative;\n            "]);return mw=function(){return n},n}function mS(){let n=(0,W._)(["\n                margin-top: -1px !important;\n                right: -8px;\n                position: relative;\n            "]);return mS=function(){return n},n}function mC(){let n=(0,W._)(["\n                transition: top 0.8s cubic-bezier(0.3, 0.85, 0, 1);\n            "]);return mC=function(){return n},n}function mI(){let n=(0,W._)(["\n                &:hover {\n                    cursor: default !important;\n                }\n            "]);return mI=function(){return n},n}function mv(){let n=(0,W._)(["\n                    right: 0px;\n                    left: auto;\n                    "]);return mv=function(){return n},n}function mT(){let n=(0,W._)(["\n                    ","\n                "]);return mT=function(){return n},n}function m_(){let n=(0,W._)(["\n                width: 936px;\n                min-width: 788px;\n                "]);return m_=function(){return n},n}function mO(){let n=(0,W._)(["\n            transition: top 0.3s cubic-bezier(0.3, 0.85, 0, 1);\n            transform-origin: top;\n        "]);return mO=function(){return n},n}function mD(){let n=(0,W._)(["\n                width: calc(100vw - 25px) !important;\n            "]);return mD=function(){return n},n}function mE(){let n=(0,W._)(["\n            @media screen and (max-width: 1260px) and (min-width: 1025px) {\n                width: calc(100vw - 25px) !important;\n            }\n            ","\n            @media screen and (max-width: 959px) and (min-width: 821px) {\n                width: calc(100vw - 25px) !important;\n            }\n        "]);return mE=function(){return n},n}function mA(){let n=(0,W._)(["\n            min-width: 570px !important;\n            max-height: 526px;\n        "]);return mA=function(){return n},n}function mL(){let n=(0,W._)(["\n            width: 821px;\n            max-width: 1088px;\n            min-width: 821px;\n            overflow-y: hidden !important;\n            overflow-x: hidden !important;\n        "]);return mL=function(){return n},n}function mM(){let n=(0,W._)(["\n            outline: none;\n        "]);return mM=function(){return n},n}function mk(){let n=(0,W._)(["\n        transition: top 0.3s cubic-bezier(0.3, 0.85, 0, 1);\n        position: absolute;\n        z-index: -1;\n        top: -1000px;\n        transform-origin: top;\n        .minicartstyles__dropDownContentShowCart {\n            ","\n            ","\n            ","\n        }\n        &.cart-wrapper {\n            right: 0 !important;\n            ","\n        }\n        &.text-menu-wrapper,\n        &.lists-wrapper {\n            width: 288px;\n            background: ",";\n            margin: 0 auto;\n            display: block;\n            color: ",";\n            border-radius: 0 0 8px 8px;\n            outline: none;\n            top: -616px;\n            overflow: hidden;\n            transition: top 0.5s cubic-bezier(0.3, 0.85, 0, 1);\n            ","\n        }\n        &.text-menu-wrapper {\n            ","\n        }\n        &.mega-menu-wrapper {\n            width: 1088px;\n            max-width: 1088px;\n            min-width: 936px;\n            max-height: 616px;\n            outline: none;\n            overflow: hidden;\n            @media screen and (max-width: 1260px) and (min-width:  ","px) {\n                width: 936px;\n            }\n            ","\n            @media screen and (max-width: 959px) and (min-width: ","px) {\n                width: 788px;\n            }\n        }\n        &.sb-shop-menu-wrapper {\n            width: 1344px;\n            max-width: 1344px;\n            min-width: 1344px;\n            max-height: 616px;\n            outline: none;\n            overflow: hidden;\n            @media screen and (max-width: 1368px) and (min-width: 1108px) {\n                width: 1083px;\n                min-width: 1083px;\n            }\n            @media screen and (max-width: 1107px) and (min-width: 821px) {\n                width: 796px;\n                min-width: 796px;\n            }\n            \n        }\n        ","\n        ","\n        ","\n        ","\n        &.image-menu-wrapper,\n        .featured-image-1-wrapper {\n            width: 540px;\n            background-color: ",";\n            max-height: 408px;\n            overflow-x: hidden;\n            overflow-y: hidden;\n            border-bottom-left-radius: 8px;\n            border-bottom-right-radius: 8px;\n            outline: none;\n            &:hover {\n                cursor: default !important;\n            }\n            .ps__rail-y {\n                opacity: 0.6 !important;\n                width: 11px !important;\n                background-color: #F3F3F3;\n                &:hover {\n                    opacity: 0.6 !important;\n                    background-color: #F3F3F3;\n                    width: 11px !important;\n                    .ps__thumb-y {\n                        width: 6px !important;\n                    }\n                }\n            }\n            .ps__thumb-y {\n                margin-left: 2px;\n            }\n            :global(.ps--scrolling-y > .ps__rail-y) {\n                opacity: 0.6 !important;\n                background-color: #F3F3F3;\n                width: 11px;\n            }\n        }\n        &.featured-image-1-wrapper {\n            max-height: 450px;\n            width: 930px;\n            max-width: 930px !important;\n        \n            @media screen and (max-width: ","px) {\n                min-width: 796px !important;\n            }\n        }\n        ","\n    "]);return mk=function(){return n},n}function mR(){let n=(0,W._)(["\n        left: 0;\n        top: 40px;\n    "]);return mR=function(){return n},n}function mP(){let n=(0,W._)(["\n    color: "," !important;\n    ","\n    ","\n    ","\n    ","\n    &.text-menu-loaderWrapper {\n        padding: 100px;\n    }\n"]);return mP=function(){return n},n}function mN(){let n=(0,W._)(["\n        width: 100%; !important;\n    "]);return mN=function(){return n},n}function mB(){let n=(0,W._)(["\n        width: 100%; !important;\n    "]);return mB=function(){return n},n}function mj(){let n=(0,W._)(["\n    background: ",";\n    border-bottom-left-radius: 10px;\n    border-bottom-right-radius: 10px;\n    width: 301px;\n    height: 100%;\n    position: absolute;\n    top: 0;\n    left: 0;\n    &.text-menu-loadingContent {\n        width: 288px;\n        padding: 100px;\n    }\n    &.featured-image-1-loadingContent {\n        width: 100%;\n    }\n    ","\n     ","\n"]);return mj=function(){return n},n}function mH(){let n=(0,W._)(["\n    position: absolute;\n    top: 40%;\n    left: calc(50% - 24px);\n"]);return mH=function(){return n},n}function mF(){let n=(0,W._)(["\n        border-color: "," !important;\n        color: "," !important;\n    "]);return mF=function(){return n},n}function mU(){let n=(0,W._)(["\n        // this is cart BG\n        background-color: rgba(0, 0, 0, 0.09);\n        margin: 0 auto;\n        border-radius: 50%;\n        height: 40px;\n        width: 40px;\n        display: flex;\n        justify-content: center;\n        >
1 div:not(",") {\n          margin-top: 0px;\n        }\n    "]);return mU=function(){return n},n}function mW(){let n=(0,W._)(["\n        height: 40px;\n        width: 40px;\n        justify-content: center;\n        display: flex;\n    "]);return mW=function(){return n},n}function mz(){let n=(0,W._)(["\n        align-self: center;\n        height: 40px !important;\n        width: 40px !important;\n    "]);return mz=function(){return n},n}function mY(){let n=(0,W._)(["\n        width: 40px !important;\n    "]);return mY=function(){return n},n}function mK(){let n=(0,W._)(["\n    margin: 0 auto;\n    border-radius: 50%;\n    height: 40px !important;\n    width: 24px !important;\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    &:hover{\n      background-color:none !important\n    }\n    ","\n    ","\n    ","\n    ","\n    ","\n"]);return mK=function(){return n},n}function m$(){let n=(0,W._)(["\n    position: absolute;\n    border-radius: 50%;\n    right:0;\n    border-color: ",";\n    height: 20px;\n    width: 20px;\n    display: block;\n    border: 2px solid ",";\n    background: ",";\n    color: ",";\n    text-align: center;\n    top: -3px;\n    padding-top: 2px;\n    font-size: 11px;\n    ",";\n     "]);return m$=function(){return n},n}function mG(){let n=(0,W._)(["\n        margin-top: 0px;\n    "]);return mG=function(){return n},n}function mV(){let n=(0,W._)(["\n        margin-top: 0px;\n        top: -3px;\n       ","\n    "]);return mV=function(){return n},n}function mQ(){let n=(0,W._)(["\n        width: 28px !important;\n        right: 2px !important;\n        border-radius: 12px !important;\n    "]);return mQ=function(){return n},n}function mq(){let n=(0,W._)(["\n        border: 1px solid "," !important;\n    "]);return mq=function(){return n},n}function mZ(){let n=(0,W._)(["\n    ","\n    ","\n    \n    ","\n    ","\n"]);return mZ=function(){return n},n}function mJ(){let n=(0,W._)(["\n  height: 4px;\n  width: 100%;\n  display: flex;\n  justify-content: center;\n"]);return mJ=function(){return n},n}function mX(){let n=(0,W._)(["\n            display: none;\n         "]);return mX=function(){return n},n}function m0(){let n=(0,W._)(["\n        border: none !important;\n        color: "," !important;\n        ","\n        span{\n        ",";\n        white-space: nowrap;\n       }\n    "]);return m0=function(){return n},n}function m1(){let n=(0,W._)(["\n                span {\n                   max-width: 82px;\n                }\n                span : nth-child(2) {\n                    line-height: 20px;\n                    justify-content: flex-start;\n                    overflow:hidden;\n                    text-overflow: ellipsis;\n                    display: block;\n                }\n            "]);return m1=function(){return n},n}function m2(){let n=(0,W._)(["\n       max-width: 82px;\n           ","\n    "]);return m2=function(){return n},n}function m6(){let n=(0,W._)(["\n        color: "," !important;\n    "]);return m6=function(){return n},n}function m4(){let n=(0,W._)(["\n        border-color: "," !important;\n        color: "," !important;\n    "]);return m4=function(){return n},n}function m5(){let n=(0,W._)(["\n        margin-top: -6px;\n         & * {\n            white-space: nowrap !important;\n        }\n    "]);return m5=function(){return n},n}function m3(){let n=(0,W._)(["\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        color: ",";\n        padding-bottom: 0px !important;\n        margin-left: 0px !important;\n        ",";\n        font-size: 14px;\n        font-style: normal;\n        line-height: 24px;    \n    "]);return m3=function(){return n},n}function m8(){let n=(0,W._)(["\n        padding-bottom: 11px;\n    "]);return m8=function(){return n},n}function m7(){let n=(0,W._)(["\n        padding-bottom: 3px;\n    "]);return m7=function(){return n},n}function m9(){let n=(0,W._)(["\n            font-size: 14px;\n        "]);return m9=function(){return n},n}function gn(){let n=(0,W._)(["\n        ",";\n        cursor: pointer;\n        font-size: 14px;\n        outline: none;\n        padding-bottom: 7px;\n        letter-spacing: 0.43px;\n\n        ","\n    \n    "]);return gn=function(){return n},n}function ge(){let n=(0,W._)(["\n            font-size: 14px;\n        "]);return ge=function(){return n},n}function gt(){let n=(0,W._)(["\n        ",";\n        cursor: pointer;\n        font-size: 14px;\n        outline: none;\n        border-bottom-width: 2px;\n        border-bottom-style: solid;\n        padding-bottom: 7px;\n        letter-spacing: 0.43px;\n        ","\n    \n    "]);return gt=function(){return n},n}function gr(){let n=(0,W._)(["\n        margin-left: 0;\n        flex-direction: column;
1\n        align-items: baseline !important;\n        \n        span {\n            font-size: 14px;\n            ",";\n            line-height: 20px !important;\n            white-space: nowrap;\n        }\n\n        #subtext-node {\n            span {\n                font-size: 14px;\n                line-height: 20px !important;\n                white-space: nowrap;\n                ",";\n            }\n        }\n        #subtext-node {\n            font-size: 14px;\n            line-height: 20px !important;\n            white-space: nowrap;\n            ",";\n        }\n    "]);return gr=function(){return n},n}function go(){let n=(0,W._)(["\n\n ","\n    \n    ","\n\n    ","\n    ","\n    ","\n     ","\n   \n    ","\n    ","\n    ","\n    ","\n\n    ","\n"]);return go=function(){return n},n}function gi(){let n=(0,W._)(["\n        margin-top: 0px;\n    "]);return gi=function(){return n},n}function ga(){let n=(0,W._)(["\n        border: 1px solid "," !important;\n    "]);return ga=function(){return n},n}function gs(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n"]);return gs=function(){return n},n}function gl(){let n=(0,W._)(["\n                margin-left: 6px;\n            "]);return gl=function(){return n},n}function gc(){let n=(0,W._)(["\n            margin-left: 8px;\n            ","\n        "]);return gc=function(){return n},n}function gu(){let n=(0,W._)(["\n                color: ",";\n            "]);return gu=function(){return n},n}function gp(){let n=(0,W._)(["\n    cursor: pointer;\n    position: relative;\n    display: flex;\n    align-items: center;\n    font-size: 14px;\n    letter-spacing: 0.43px;\n    ",";\n    outline: none;\n    "," {\n        ","\n    }\n    &:hover {\n        "," {\n            ","\n        }\n        color: "," !important;\n    }\n"]);return gp=function(){return n},n}function gd(){let n=(0,W._)(["\n            display: block;\n            height: 4px;\n            background-color:  "," ;\n            width: 32px;\n            margin: 0 auto;\n            border-top-left-radius: 25px;\n            border-top-right-radius: 25px;\n            margin-top: 12px;\n            \n            @media (max-width: 1024px) {\n                margin-top: 12px;\n            }\n        "]);return gd=function(){return n},n}function gf(){let n=(0,W._)(["\n            width: 75%;\n            margin-top: 8px;\n            \n            @media (max-width: 1024px) {\n                width: 32px;\n                margin-top: 12px;\n            }\n        "]);return gf=function(){return n},n}function gm(){let n=(0,W._)(["margin-top: 16px;"]);return gm=function(){return n},n}function gg(){let n=(0,W._)(["margin-top: 3px;"]);return gg=function(){return n},n}function gh(){let n=(0,W._)(["\n            margin-top: 12px;\n            ","\n        "]);return gh=function(){return n},n}function gb(){let n=(0,W._)(["\n                margin-top: 12px;\n            "]);return gb=function(){return n},n}function gx(){let n=(0,W._)(["\n            ","\n        "]);return gx=function(){return n},n}function gy(){let n=(0,W._)(["\n                margin-top: 12px;\n            "]);return gy=function(){return n},n}function gw(){let n=(0,W._)(["\n            margin-top: 12px;\n            ","\n        "]);return gw=function(){return n},n}function gS(){let n=(0,W._)(["\n            background-color: ",";\n        "]);return gS=function(){return n},n}function gC(){let n=(0,W._)(["\n    display: block;\n    align-items: center;\n    text-align: center;\n    justify-content: center;\n    outline: none;\n    cursor: pointer;\n    &:focus {\n        outline: none;\n    }\n    span {\n        display: flex;\n        align-items: center;\n        text-align: center;\n        justify-content: center;\n        line-height: 15px;\n    }\n    "," {\n        ","\n\n        ","\n        ","\n        ","\n        ","\n        ","\n    }\n"]);return gC=function(){return n},n}function gI(){let n=(0,W._)(["\n        margin-top: 0px !important;\n    "]);return gI=function(){return n},n}function gv(){let n=(0,W._)(["\n            outline: none;\n            & * {\n                outline: none;\n            }\n        "]);return gv=function(){return n},n}function gT(){let n=(0,W._)(["\n                outline: 1px dashed ",";\n            "]);return gT=function(){return n},n}function g_(){let n=(0,W._)(["\n            "," {\n                div {\n                    outline: 1px dashed "," !important;\n                }\n            }\n        "]);return g_=function(){return n},n}function gO(){let n=(0,W._)(["\n        margin-top: 0;\n    "]);return gO=function(){return n},n}function gD(){let n=(0,W._)(["\n        margin-top: 0px;\n    "]);return gD=function(){return n},n}function gE(){let n=(0,W._)(["\n                margin-top: 20px;\n            "]);return gE=function(){return n},n}function gA(){let n=(0,W._)(["\n                margin-top: 20px;\n            "]);return gA=function(){return n},n}function gL(){let n=(0,W._)(["\n            ",";\n            ",";\n        "]);return gL=function(){return n},n}function gM(){let n=(0,W._)(["\n    ","\n    "," {\n        ","\n    }\n    &:focus {\n        outline: none;\n        "," {\n            ","\n        }\n        ","\n    }\n    ",";\n    ",";\n\n    "," {\n        ","\n    }\n    ","\n"]);return gM=function(){return n},n}function gk(){let n=(0,W._)(["\n    margin-top: 17px;\n    \n    ","\n"]);return gk=function(){return n},n}function gR(){let n=(0,W._)(["\n                margin-left: 6px;\n            "]);return gR=function(){return n},n}function gP(){let n=(0,W._)(["\n            margin-left: 8px;\n            ","\n        "]);return gP=function(){return n},n}function gN(){let n=(0,W._)(["\n    cursor: pointer;\n    position: relative;\n    display: flex;
1\n    align-items: center;\n    font-size: 14px;\n    letter-spacing: 0.43px;\n    ",";\n    outline: none;\n    "," {\n        ","\n    }\n"]);return gN=function(){return n},n}function gB(){let n=(0,W._)(["\n        margin-top: 0 !important;\n    "]);return gB=function(){return n},n}function gj(){let n=(0,W._)(["\n                margin-right: 0;\n            "]);return gj=function(){return n},n}function gH(){let n=(0,W._)(["\n            ","\n        "]);return gH=function(){return n},n}function gF(){let n=(0,W._)(["\n    ","\n    "," {\n        ","\n    }\n    ","\n"]);return gF=function(){return n},n}function gU(){let n=(0,W._)(["\n    display: block;\n    align-items: center;\n    text-align: center;\n    justify-content: center;\n    height: 100%;\n    outline: none;\n    cursor: pointer;\n    span {\n        display: flex;\n        align-items: center;\n        text-align: center;\n        justify-content: center;\n        line-height: 15px;\n    }\n"]);return gU=function(){return n},n}function gW(){let n=(0,W._)(["\n        margin-top: 0px;\n    "]);return gW=function(){return n},n}function gz(){let n=(0,W._)(["\n                            background-color: rgba(0, 0, 0, 0.09);\n                            border-radius: 50%;\n                            justify-content: center;\n                            display: flex;\n                            margin: 0 auto;\n                            > div {\n                                margin-top: 4px;\n                            }\n                        "]);return gz=function(){return n},n}function gY(){let n=(0,W._)(["\n            &, & * {\n                outline: none;\n                &:hover {\n                    "," {\n                        ","\n                    }\n                }\n            }\n        "]);return gY=function(){return n},n}function gK(){let n=(0,W._)(["\n                        div {\n                            outline: 1px dashed ",";\n                        }\n                    "]);return gK=function(){return n},n}function g$(){let n=(0,W._)(["\n                "," {\n                    ","\n                }\n            "]);return g$=function(){return n},n}function gG(){let n=(0,W._)(["\n    ","\n    margin-top: 0px;\n    display: flex;\n    height: 40px;\n    ","\n    "," {\n        ","\n    }\n    \n    &:focus {\n        outline: none;\n        "," {\n            ","\n        }\n    }\n"]);return gG=function(){return n},n}function gV(){let n=(0,W._)(["\n  display: flex;\n  flex-direction: column;\n  justify-content: space-between;\n  margin-top: 0px;\n  height: 100%;\n"]);return gV=function(){return n},n}function gQ(){let n=(0,W._)(["\n        margin-top: 0px;\n    "]);return gQ=function(){return n},n}function gq(){let n=(0,W._)(["\n                margin-top: 16px;\n            "]);return gq=function(){return n},n}function gZ(){let n=(0,W._)(["\n            margin-top: 4px;\n            ",";\n        "]);return gZ=function(){return n},n}function gJ(){let n=(0,W._)(["\n    margin-top: 17px;\n    ","\n    ",";\n    "," {\n        ","\n    }\n"]);return gJ=function(){return n},n}function gX(){let n=(0,W._)(["\n        margin-top: 0 !important;\n    "]);return gX=function(){return n},n}function g0(){let n=(0,W._)(["\n    ","\n    ","\n"]);return g0=function(){return n},n}function g1(){let n=(0,W._)(["\n        margin-top: 0px;\n    "]);return g1=function(){return n},n}function g2(){let n=(0,W._)(["\n    display: block;\n    ","\n"]);return g2=function(){return n},n}function g6(){let n=(0,W._)(["\n        margin-top: 4px;\n    "]);return g6=function(){return n},n}function g4(){let n=(0,W._)(["\n    display: block;\n    ","\n"]);return g4=function(){return n},n}function g5(){let n=(0,W._)(["\n        display: flex !important;\n        justify-content: center;\n        align-items: center;\n        height: 100%\n    "]);return g5=function(){return n},n}function g3(){let n=(0,W._)(["\n        @media (min-width: 801px) {\n            border-left: 1px solid ",";\n            padding-left: 24px !important;\n        }\n    "]);return g3=function(){return n},n}function g8(){let n=(0,W._)(["\n                color: ",";\n                border-width: 4px;\n                border-bottom-style: solid;\n            "]);return g8=function(){return n},n}function g7(){let n=(0,W._)(["\n        font-size: 12px;\n        ",", "," {\n            ","\n        }\n    "]);return g7=function(){return n},n}function g9(){let n=(0,W._)(["\n        @media (min-width: 821px) {\n            // icon border left\n            height: 40px !important;\n            position: relative;\n\n            &::before {\n                content: '';\n                position: absolute;\n                transform: translateY(-50%);\n                left: -16px;\n                top: 50%;\n                height: 34px;\n                width: 1px;\n                background-color: ",";\n            }\n        }\n    "]);return g9=function(){return n},n}function hn(){let n=(0,W._)(["\n                    border-radius: 50%;\n                    margin: 0 auto;\n                    @media (max-width: 1024px) {\n                        &:hover{\n                            background-color: rgba(0, 0, 0, 0.09);\n                        }\n                    }\n                    >
1 div:not(",") {\n                        margin-top: 0px;\n                    }\n                "]);return hn=function(){return n},n}function he(){let n=(0,W._)(["\n            display: block;\n        "]);return he=function(){return n},n}function ht(){let n=(0,W._)(["\n        display: flex;\n        height: 100%;\n        &:focus {\n            outline: none;\n        }\n        &:hover {\n            "," {\n                ","\n            }\n            > div {\n                margin-top: 0px !important;\n            }\n        }\n        ","\n    "]);return ht=function(){return n},n}function hr(){let n=(0,W._)(["\n            display: flex;\n        "]);return hr=function(){return n},n}function ho(){let n=(0,W._)(["\n                display: none;\n            "]);return ho=function(){return n},n}function hi(){let n=(0,W._)(["\n                display: none;\n            "]);return hi=function(){return n},n}function ha(){let n=(0,W._)(["\n        ",";\n        span {\n            line-height: 20px;\n            ","\n              ","\n            \n        }\n        "," {\n        \n        }\n    "]);return ha=function(){return n},n}function hs(){let n=(0,W._)(["\n                margin-top: 8px !important;\n            "]);return hs=function(){return n},n}function hl(){let n=(0,W._)(["\n        padding: 4px 2px 4px 0;\n        margin-right: 6px;\n        margin-top: -4px;\n        &:hover {\n            border-radius: 12px;\n            // main menu hover color\n            background-color: rgba(0, 0, 0, 0.09);\n        }\n        & ~ "," {\n            ","\n        }\n    "]);return hl=function(){return n},n}function hc(){let n=(0,W._)(["\n                margin-top: 8px !important;\n            "]);return hc=function(){return n},n}function hu(){let n=(0,W._)(["\n        border-radius: 12px;\n        // main menu comp rendered color\n        background-color: rgba(0, 0, 0, 0.09);\n\n        & ~ "," {\n            ","\n        }\n    "]);return hu=function(){return n},n}function hp(){let n=(0,W._)(["\n        padding: 4px 2px 4px 0;\n        margin-right: 6px;\n        margin-top: -4px;\n    "]);return hp=function(){return n},n}function hd(){let n=(0,W._)(["\n            padding: 4px 10px 4px 0;\n            margin-top: -4px;\n            // margin-right: 16px;\n            margin-right: 22px;\n        "]);return hd=function(){return n},n}function hf(){let n=(0,W._)(["\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        gap: 10px;\n    "]);return hf=function(){return n},n}function hm(){let n=(0,W._)(["\n          padding: 0px;\n          &:hover {\n            background-color: transparent;\n        }\n        "]);return hm=function(){return n},n}function hg(){let n=(0,W._)(["\n        height: fit-content;\n        padding: 2px 16px;\n        border-radius: 28px;\n        margin-top: 4px;\n        &:hover {\n             background-color: ",";\n        }\n        ","\n    "]);return hg=function(){return n},n}function hh(){let n=(0,W._)(["\n        display: flex;\n        flex-direction: row;\n    "]);return hh=function(){return n},n}function hb(){let n=(0,W._)(["\n    ","\n\n    \n    ","\n    ","\n\n    ",";\n\n    ","\n    ","\n    ","\n    ","\n    ","\n    @media (min-width: 1024px) {\n        ","\n    }\n    ","\n    ","\n    ","\n"]);return hb=function(){return n},n}function hx(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    height: 100%;\n    "," {\n      margin-top: 0px;\n    }\n"]);return hx=function(){return n},n}function hy(){let n=(0,W._)(["\n            &:hover {\n                border-radius: 50%;\n                background-color: rgba(0, 0, 0, 0.09);\n            }\n        "]);return hy=function(){return n},n}function hw(){let n=(0,W._)(["\n        ",";\n    "]);return hw=function(){return n},n}function hS(){let n=(0,W._)(["\n        height: 100%;\n        display: flex;\n        flex-direction: column;\n    "]);return hS=function(){return n},n}function hC(){let n=(0,W._)(["\n        height: 100%;\n    "]);return hC=function(){return n},n}function hI(){let n=(0,W._)(["\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n     ","\n    ","\n     ","\n    ","\n"]);return hI=function(){return n},n}function hv(){let n=(0,W._)(["\n    margin-top: 12px;\n    text-align: center;\n    ",";\n    button.button__sparq {\n        width: auto !important;\n    }\n"]);return hv=function(){return n},n}function hT(){let n=(0,W._)(["\n    &:last-child {\n        margin-top: 4px;\n    }\n    margin-top: 12px;\n    text-align: center;\n    ",";\n    button.button__sparq {\n        width: auto !important;\n    }\n    button {\n        margin: 0;\n        height: 38px;\n    }\n    span.headlinerText {\n    }\n"]);return hT=function(){return n},n}function h_(){let n=(0,W._)(["\n    padding: 16px;\n    font-size: 14px;\n    line-height: 14px;\n    display: flex;\n    flex-flow: column;
1\n    align-content: center;\n    align-items: center;\n    align-self: center;\n    gap: 12px;\n    text-align: center;\n"]);return h_=function(){return n},n}function hO(){let n=(0,W._)(["\n        flex-grow: 0;\n        &:focus {\n            outline: none !important;\n        }\n    "]);return hO=function(){return n},n}function hD(){let n=(0,W._)(["\n        width: fit-content;\n        margin-right: 0;\n    "]);return hD=function(){return n},n}function hE(){let n=(0,W._)(["\n    height: 40px;\n    margin-top: 0;\n    border-radius: 50%;\n    position: relative;\n    outline: none;\n    &:focus {\n        outline: 1px dashed ",";\n    }\n    @media (max-width: 1024px) {\n        width: 44px;\n    }\n    ",";\n    ","\n"]);return hE=function(){return n},n}function hA(){let n=(0,W._)(["\n        svg {\n            fill: '#96C93F' !important;\n        }\n    "]);return hA=function(){return n},n}function hL(){let n=(0,W._)(["\n        svg {\n            fill: "," !important;\n        }\n    "]);return hL=function(){return n},n}function hM(){let n=(0,W._)(["\n    ","\n\n    ","\n"]);return hM=function(){return n},n}function hk(){let n=(0,W._)([""]);return hk=function(){return n},n}function hR(){let n=(0,W._)([""]);return hR=function(){return n},n}function hP(){let n=(0,W._)(["\n            margin-left: 6px;\n        "]);return hP=function(){return n},n}function hN(){let n=(0,W._)(["\n    cursor: pointer;\n    position: relative;\n    display: flex;\n    align-items: center;\n    font-size: 14px;\n    letter-spacing: 0.43px;\n    ",";\n    outline: none;\n    ",", "," {\n        margin-left: 8px;\n        ","\n    }\n"]);return hN=function(){return n},n}function hB(){let n=(0,W._)(["\n        pointer-events: none !important;\n    "]);return hB=function(){return n},n}function hj(){let n=(0,W._)(["\n        color: "," !important;\n    "]);return hj=function(){return n},n}function hH(){let n=(0,W._)(["\n            display: none;\n        "]);return hH=function(){return n},n}function hF(){let n=(0,W._)(["\n        ","\n    "]);return hF=function(){return n},n}function hU(){let n=(0,W._)(["\n            display: none;\n        "]);return hU=function(){return n},n}function hW(){let n=(0,W._)(["\n        ","\n    "]);return hW=function(){return n},n}function hz(){let n=(0,W._)(["\n        margin-left: 0px !important;\n        height: 100%;\n    "]);return hz=function(){return n},n}function hY(){let n=(0,W._)(["\n        height: 100%; \n    "]);return hY=function(){return n},n}function hK(){let n=(0,W._)(["\n        height: 100%;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n    "]);return hK=function(){return n},n}function h$(){let n=(0,W._)(["\n            margin-top: 0;\n        "]);return h$=function(){return n},n}function hG(){let n=(0,W._)(["\n        margin-top: 22px;\n        ","\n    "]);return hG=function(){return n},n}function hV(){let n=(0,W._)(["\n        outline: none;\n        &:focus {\n            outline: none;\n        }\n        span.popup-component__tooltiptext_sparq {\n            display: none;\n        }\n    "]);return hV=function(){return n},n}function hQ(){let n=(0,W._)(["\n        outline: none !important;\n        margin-top: 22px;\n        margin-left: 32px;\n        &:focus {\n        outline: none;\n        }\n    "]);return hQ=function(){return n},n}function hq(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return hq=function(){return n},n}function hZ(){let n=(0,W._)(["\n            margin-left: 0;\n        "]);return hZ=function(){return n},n}function hJ(){let n=(0,W._)(["\n        outline: none;\n        margin-left: 32px;\n        margin-top: 22px;\n        position: relative;\n        ",";\n        ","\n        &:focus {\n            outline: 1px dashed ",";\n        }\n        span.popup-component__tooltiptext_sparq {\n            display: none;\n        }\n    "]);return hJ=function(){return n},n}function hX(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return hX=function(){return n},n}function h0(){let n=(0,W._)(["\n        position: relative;\n        margin-left: 0px;\n        display: flex;\n        align-items: center;\n        ","\n    \n        &:focus {\n            outline: 1px dashed ",";\n        }\n    "]);return h0=function(){return n},n}function h1(){let n=(0,W._)(["\n        outline: none;\n        &:focus {\n            outline: none;\n        }\n    "]);return h1=function(){return n},n}function h2(){let n=(0,W._)(["\n        ","\n        &:focus {\n            outline: 1px dashed ",";\n        }\n    "]);return h2=function(){return n},n}function h6(){let n=(0,W._)(["\n        display: none !important;\n    "]);return h6=function(){return n},n}function h4(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return h4=function(){return n},n}function h5(){let n=(0,W._)(["\n            margin-left: 0;\n        "]);return h5=function(){return n},n}function h3(){let n=(0,W._)(["\n        margin-left: 16px;\n        position: relative;\n        ",";\n        ","\n    "]);return h3=function(){return n},n}function h8(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return h8=function(){return n},n}function h7(){let n=(0,W._)(["\n            margin-left: 0;\n        "]);return h7=function(){return n},n}function h9(){let n=(0,W._)(["\n        margin-left: 16px;\n        position: relative;\n        ",";\n        ","\n        &:focus {\n            outline: 1px dashed ",";\n        }\n    "]);return h9=function(){return n},n}function bn(){let n=(0,W._)(["\n            margin-left: 12px;\n        "]);return bn=function(){return n},n}function be(){let n=(0,W._)(["\n            margin-left: 0;\n        "]);return be=function(){return n},n}function bt(){let n=(0,W._)(["\n        outline: none;\n        height: 100%;\n        margin-left: 32px;\n        position: relative;\n        ",";\n        ","\n        &:focus {\n            outline: 1px dashed ",";\n            & > "," {\n                outline: 1px dashed ",";\n            }\n        }\n    "]);return bt=function(){return n},n}function br(){let n=(0,W._)(["\n        outline: none;\n        a:focus {\n            outline: 1px dashed ",";\n        }\n        a:hover, span:hover {\n          text-decoration: none !important;\n        }\n    "]);return br=function(){return n},n}function bo(){let n=(0,W._)(["\n                margin-left: 0px;\n            "]);return bo=function(){return n},n}function bi(){let n=(0,W._)(["\n        "," {\n            ","\n        }\n    "]);return bi=function(){return n},n}function ba(){let n=(0,W._)(["\n        border-right: 1px solid ",";\n        padding-right: 12px !important;\n        margin-right: 2px !important;\n    "]);return ba=function(){return n},n}function bs(){let n=(0,W._)(["\n        width: 40px !important;\n        margin: 0 !important;\n    "]);return bs=function(){return n},n}function bl(){let n=(0,W._)(["\n        @media(min-width: 1025px) {\n            margin-left: 8px;\n        }\n    "]);return bl=function(){return n},n}function bc(){let n=(0,W._)(["\n    ","\n    ","\n    outline: none;\n    &:focus {\n        outline: none;\n    }\n    ","\n        ","\n   \n   ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    \n    ","\n    ","\n    \n    ","\n\n    ","\n\n    ","\n\n\n    ","\n\n    ","\n\n    ","\n\n    ","\n\n    ","\n\n    ","\n    \n    ","\n    \n    .Bold {\n        ",";\n    }\n    .Underline {\n        text-decoration: underline;\n    }\n    .Italics {\n        font-style: italic;\n    }\n    .dropshadow {\n        &:hover {\n          box-shadow: rgba(120, 140, 155, 0.7) 0 0 5px;\n        }\n    }\n    .noBlueOutlineOnFocus {\n        outline: none !important;\n        &:focus {\n            outline: none !important;\n        }\n    }\n\n"]);return bc=function(){return n},n}fb.defaultProps={accountInfo:{},addSkuAndCouponToCart:()=>{},breakpoint:"lg",marketingBarData:[],openADDShipToDrawer:()=>{},openLoyaltyBPCDrawer:()=>{},openLoyaltySKUOffersDrawer:()=>{},openMessageModal:()=>{},openRewardsSignupDrawer:()=>{},openStoreLocatorDrawer:()=>{},page:"",routeDetails:{routeType:"sdc",routeId:"sdc"},segmentCode:"",setRequiredCookieModalOptions:()=>{},showCreateList:()=>{},showLoginDrawer:()=>{},siteVariables:{isCOM:!0,isSBA:!1},toggleLoyaltyEnrollmentDrawer:()=>{},toggleMarketoDrawer:()=>{}
1,toggleQuickOrderDrawer:()=>{}},fb.propTypes={accountInfo:_().object,addSkuAndCouponToCart:_().func,breakpoint:_().string,marketingBarData:_().array,openADDShipToDrawer:_().func,openLoyaltyBPCDrawer:_().func,openLoyaltySKUOffersDrawer:_().func,openMessageModal:_().func,openRewardsSignupDrawer:_().func,openStoreLocatorDrawer:_().func,page:_().string,routeDetails:_().shape({routeId:_().string,routeType:_().string}),segmentCode:_().string,setRequiredCookieModalOptions:_().func,showCreateList:_().func,showLoginDrawer:_().func,siteVariables:_().shape({isCOM:_().bool,isSBA:_().bool}),toggleLoyaltyEnrollmentDrawer:_().func,toggleMarketoDrawer:_().func,toggleQuickOrderDrawer:_().func};let bu=n=>{switch(n){case"motiva_medium":return(0,z.css)(fx(),ng.typography.type.motiva_medium);case"motiva_light":return(0,z.css)(fy(),ng.typography.type.motiva_light);default:return(0,z.css)(fw(),ng.typography.type.motiva)}},bp=z.default.div.withConfig({componentId:"sc-8f3eb475-0"})(fS()),bd=z.default.span.withConfig({componentId:"sc-8f3eb475-1"})(fB(),n=>{let{$styledprop:e}=n;return i()(e,"bottomLeftNavigationOptionsMenuItemCSS")&&(0,z.css)(fC(),bu("motiva"),Y.colors[i()(e,"bottomNavigationFontColor","")],Y.colors[i()(e,"bottomNavigationFontColor","")])},n=>{let{$styledprop:e}=n;return i()(e,"borderColor")&&(0,z.css)(fI(),Y.colors["primary"===i()(e,"borderColor")?"brand":i()(e,"borderColor")],Y.colors["primary"===i()(e,"borderColor")?"brand":i()(e,"borderColor")])},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemClickSBAAlongWithCoLogo")&&(0,z.css)(fv())},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemClickSBA")&&(0,z.css)(fT())},n=>{let{$styledprop:e}=n;return i()(e,"hiTouchSubTextMenuItemClick")&&(0,z.css)(fO(),bu("motiva_light"),Y.colors.hitouch_orange,(0,nh.Nv)("md",(0,z.css)(f_())))},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemClick")&&(0,z.css)(fE(),bu("motiva_light"),(0,nh.Nv)("md",(0,z.css)(fD())))},n=>{let{$styledprop:e}=n;return(i()(e,"subTextMenuItems")||i()(e,"hitSubTextMenuItems"))&&(0,z.css)(fL(),bu("motiva_light"),(0,nh.Nv)("md",(0,z.css)(fA())))},n=>{let{$styledprop:e}=n;return i()(e,"hitSubTextMenuItems")&&(0,z.css)(fM(),Y.colors.link_blue)},n=>{let{$styledprop:e}=n;return!i()(e,"subHeader")&&(0,z.css)(fk())},n=>{let{$styledprop:e}=n;return i()(e,"addUnderline")&&(0,z.css)(fR())},n=>{let{$styledprop:e}=n;return i()(e,"removeUnderline")&&(0,z.css)(fP())},n=>{let{$styledprop:e}=n;return i()(e,"primaryHeaderHeadliner")&&(0,z.css)(fN())}),bf=z.default.span.withConfig({componentId:"sc-8f3eb475-2"})(fW(),n=>{let{$styledprop:e}=n;return i()(e,"bottomBarLeft")&&(0,z.css)(fj())},n=>{let{$styledprop:e}=n;return i()(e,"showCaret")&&(0,z.css)(fU(),n=>{let{$styledprop:e}=n;return i()(e,"iconTextNode")&&(0,z.css)(fH())},n=>{let{$styledprop:e}=n;return i()(e,"iconTextNode")&&(0,z.css)(fF(),Y.colors.light_gray_2)})}),bm=z.default.div.withConfig({componentId:"sc-8f3eb475-3"})(fz(),bu("motiva")),bg=z.default.div.withConfig({componentId:"sc-8f3eb475-4"})(fK(),n=>{let{$styledprop:e}=n;return i()(e,"fontColor")&&(0,z.css)(fY(),Y.colors["primary"===i()(e,"fontColor")?"brand":i()(e,"fontColor")])}),bh=z.default.span.withConfig({componentId:"sc-8f3eb475-5"})(fV(),n=>{let{$styledprop:e}=n;return i()(e,"bottomNavigationFontColor","")},(0,nh.Nv)("md",(0,z.css)(f$())),n=>{let{$styledprop:e}=n;return i()(e,"invertedIconBorder")&&(0,z.css)(fG(),Y.colors.black)}),bb=z.default.span.withConfig({componentId:"sc-8f3eb475-6"})(fQ()),bx=z.default.span.withConfig({componentId:"sc-8f3eb475-7"})(fq(),Y.colors.black,Y.colors.black),by=z.default.div.withConfig({componentId:"sc-8f3eb475-8"})(fJ(),bu("motiva_light"),Y.colors.black,(0,nh.Nv)("md",(0,z.css)(fZ()))),bw=z.default.span.withConfig({componentId:"sc-8f3eb475-9"})(f6(),n=>{let{$styledprop:e}=n;return i()(e,"sbaHamburgerIconBorder")&&(0,z.css)(fX())},n=>{let{$styledprop:e}=n;return i()(e,"invertedIconBorder")&&(0,z.css)(f0(),Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"newSAHeaderHamburgerIconBorder")&&(0,z.css)(f1(),Y.colors.white)},n=>{let{$styledprop:e}=n;return i()(e,"RightNavigationOptionsMenuItemCSS")&&(0,z.css)(f2(),Y.colors[i()(e,"newSADivi
1derColor","")],nm.BREAKPOINTS.xs)}),bS=z.default.span.withConfig({componentId:"sc-8f3eb475-10"})(mo(),n=>{let{$styledprop:e}=n;return i()(e,"saMainNavCartMenuItemIcon")&&(0,z.css)(f4())},n=>{let{$styledprop:e}=n;return i()(e,"textDestionationMenuRight")&&(0,z.css)(f5())},n=>{let{$styledprop:e}=n;return(i()(e,"textDestionationMenuRight")||i()(e,"textDestionationMenu"))&&(0,z.css)(f7(),(0,nh.Nv)("md",(0,z.css)(f3())),(0,nh.FI)((0,z.css)(f8())))},n=>{let{$styledprop:e}=n;return i()(e,"primaryHeadliner")&&(0,z.css)(f9())},n=>{let{$styledprop:e}=n;return i()(e,"hiTouchTopleftwithIcon")&&(0,z.css)(me(),Y.colors.ink_blue,(0,nh.Nv)("sm",(0,z.css)(mn())))},n=>{let{$styledprop:e}=n;return i()(e,"topleftwithIcon")&&(0,nh.Nv)("sm",(0,z.css)(mt()))},n=>{let{$styledprop:e}=n;return i()(e,"toprighttextMenu")&&(0,z.css)(mr())}),bC=z.default.div.withConfig({componentId:"sc-8f3eb475-11"})(mi()),bI=z.default.div.withConfig({componentId:"sc-8f3eb475-12"})(mh(),n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItem")&&(0,z.css)(ml(),Y.colors[i()(e,"bottombarHoverColor")],(0,nh.Nv)("xs",(0,z.css)(ma())),bu("motiva_light"),(0,nh.Nv)("md",(0,z.css)(ms())))},n=>{let{$styledprop:e}=n;return i()(e,"bottomBarLeft")&&(0,z.css)(mc())},n=>{let{$styledprop:e}=n;return i()(e,"textMenuItem")&&(0,z.css)(mp(),bu("motiva"),bd,!i()(e,"subHeader")&&(0,z.css)(mu()))},n=>{let{$styledprop:e}=n;return i()(e,"rewardsSubTextMenuItem")&&(0,z.css)(mf(),bd,(i()(e,"subTextMenuItems")||i()(e,"subTextMenuItemClick"))&&(0,z.css)(md(),Y.colors.black))},n=>{let{$styledprop:e}=n;return i()(e,"hiTouchSubTextMenuItem")&&(0,z.css)(mg(),bu("motiva_light"),(0,nh.Nv)("md",(0,z.css)(mm())),Y.colors[i()(e,"bottombarHoverColor")])}),bv=z.default.div.withConfig({componentId:"sc-8f3eb475-13"})(mP(),Y.colors.black,n=>{let{$styledprop:e}=n;return i()(e,"drawerComponentWrapper")&&(0,z.css)(mb())},n=>{let{$styledprop:e}=n;return i()(e,"drawerComponentWrapper")&&i()(e,"drawerComponentWrapperActive")&&(0,z.css)(mx())},n=>{let{$styledprop:e}=n;return i()(e,"flyoutComponentWrapper")&&(0,z.css)(mk(),(0,nh.Nv)("sm",(0,z.css)(my())),(0,nh.Nv)("xs",(0,z.css)(mw())),(0,nh.Nv)("xxs",(0,z.css)(mS())),i()(e,"flyoutComponentWrapperActive")&&(0,z.css)(mC()),Y.colors.white,Y.colors.black,i()(e,"flyoutComponentWrapperActive")&&(0,z.css)(mI()),i()(e,"isTextList")&&(0,z.css)(mT(),(0,nh.Nv)("xs",(0,z.css)(mv()))),nm.BREAKPOINTS.md,(0,nh.Nv)("md",(0,z.css)(m_())),nm.BREAKPOINTS.sm+1,i()(e,"flyoutComponentWrapperActive")&&(0,z.css)(mO()),i()(e,"ideasWrapper")&&(0,z.css)(mE(),(0,nh.Nv)("md",(0,z.css)(mD()))),i()(e,"twoColDesign")&&(0,z.css)(mA()),i()(e,"worklifeflyoutWrapper")&&(0,z.css)(mL()),Y.colors.white,nm.BREAKPOINTS.md,i()(e,"subheaderWrapper")&&(0,z.css)(mM()))},n=>{let{$styledprop:e}=n;return i()(e,"defaultOpenMenu")&&(0,z.css)(mR())}),bT=z.default.div.withConfig({componentId:"sc-8f3eb475-14"})(mj(),Y.colors.white,n=>{let{$styledprop:e}=n;return i()(e,"isOrdersMegaMenu")&&(0,z.css)(mN())},n=>{let{$styledprop:e}=n;return i()(e,"twoColDesign")&&(0,z.css)(mB())}),b_=z.default.div.withConfig({componentId:"sc-8f3eb475-15"})(mH()),bO=z.default.span.withConfig({componentId:"sc-8f3eb475-16"})(mK(),n=>{let{$styledprop:e}=n;return i()(e,"borderColor")&&(0,z.css)(mF(),Y.colors["primary"===i()(e,"borderColor")?"brand":i()(e,"borderColor")],Y.colors["primary"===i()(e,"borderColor")?"brand":i()(e,"borderColor")])},n=>{let{$styledprop:e}=n;return i()(e,"clickdropshadowIcon")&&(0,z.css)(mU(),bg)},n=>{let{$styledprop:e}=n;return i()(e,"mobileHide")&&i()(e,"iconDropDownRight")&&(0,z.css)(mW()
1)},n=>{let{$styledprop:e}=n;return i()(e,"topRightContent")&&(0,z.css)(mz())},n=>{let{$styledprop:e}=n;return i()(e,"deliveryZipCodeDrawer")&&(0,z.css)(mY())}),bD=n=>(0,z.css)(m$(),Y.colors[i()(n,"cartCountBG","brand")],Y.colors[i()(n,"cartCountBG","brand")],Y.colors[i()(n,"cartCountBG","brand")],Y.colors[i()(n,"cartCountFontColor","white")],bu("motiva_medium")),bE=z.default.span.withConfig({componentId:"sc-8f3eb475-17"})(mZ(),n=>{let{$styledprop:e}=n;return(i()(e,"hitCartMenuItems")||i()(e,"cartMenuItemsCountClick")||i()(e,"cartMenuItemsCount")||i()(e,"cartMenuItems"))&&bD(e)},n=>{let{$styledprop:e}=n;return(i()(e,"cartMenuItemsClick")||i()(e,"cartMenuItemsCountClick"))&&(0,z.css)(mV(),(0,nh.FI)((0,z.css)(mG())))},n=>{let{$styledprop:e}=n;return(i()(e,"cartMenuItemsCountClick")||i()(e,"cartMenuItemsCount"))&&(0,z.css)(mQ())},n=>{let{$styledprop:e}=n;return i()(e,"hitCartMenuItems")&&(0,z.css)(mq(),Y.colors.black)}),bA=z.default.div.withConfig({componentId:"sc-8f3eb475-18"})(mJ()),bL=z.default.span.withConfig({componentId:"sc-8f3eb475-19"})(go(),n=>{let{$styledprop:e}=n;return i()(e,"bottomRightNavigationOptionsMenuItemCSS")&&(0,z.css)(m0(),Y.colors[i()(e,"bottombarFontColor","")],(0,nh.Fd)((0,z.css)(mX())),bu("motiva"))},n=>{let{$styledprop:e}=n;return i()(e,"accountmenuCSS")&&(0,z.css)(m2(),i()(e,"textPositionOnClick")&&(0,z.css)(m1()))},n=>{let{$styledprop:e}=n;return i()(e,"fontColor")&&(0,z.css)(m6(),Y.colors["primary"===i()(e,"fontColor")?"brand":i()(e,"fontColor")])},n=>{let{$styledprop:e}=n;return i()(e,"borderColor")&&(0,z.css)(m4(),Y.colors["primary"===i()(e,"borderColor")?"brand":i()(e,"borderColor")],Y.colors["primary"===i()(e,"borderColor")?"brand":i()(e,"borderColor")])},n=>{let{$styledprop:e}=n;return i()(e,"textPositionOnClick")&&!i()(e,"menuItemIcon")&&(0,z.css)(m5())},n=>{let{$styledprop:e}=n;return i()(e,"TextNodeSpanPositionBottom")&&(0,z.css)(m3(),Y.colors.white,bu("motiva"))},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemClickSBAAlongWithCoLogo")&&(0,z.css)(m8())},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemClickSBA")&&(0,z.css)(m7())},n=>{let{$styledprop:e}=n;return i()(e,"hiTouchSubTextMenuItemClick")&&(0,z.css)(gn(),bu("motiva_light"),(0,nh.Nv)("md",(0,z.css)(m9())))},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemClick")&&(0,z.css)(gt(),bu("motiva_light"),(0,nh.Nv)("md",(0,z.css)(ge())))},n=>{let{$styledprop:e}=n;return i()(e,"menuItemIcon")&&(0,z.css)(gr(),bu("motiva_medium"),bu("motiva_light"),bu("motiva_light"))}),bM=z.default.span.withConfig({componentId:"sc-8f3eb475-20"})(gs(),n=>{let{$styledprop:e}=n;return(i()(e,"hitCartMenuItems")||i()(e,"cartMenuItems"))&&bD(e)},n=>{let{$styledprop:e}=n;return i()(e,"cartMenuItemsClick")&&(0,z.css)(gi())},n=>{let{$styledprop:e}=n;return i()(e,"hitCartMenuItems")&&(0,z.css)(ga(),Y.colors.black)}),bk=n=>(0,z.css)(gp(),bu("motiva_light"),bL,i()(n,"subTextPosition")&&(0,z.css)(gc(),(0,nh.Nv)("md",(0,z.css)(gl()))),bL,i()(n,"subTextPosition")&&(0,z.css)(gu(),Y.colors.link_blue),Y.colors.link_blue),bR=n=>(0,z.css)(gC(),bw,(i()(n,"mainHeaderTextBorder")||i()(n,"mainHeaderIconBorder")||i()(n,"mainHeaderCartIconBorder"))&&(0,z.css)(gd(),Y.colors[i()(n,"newSADividerTopColor")]),i()(n,"menuItemIcon")&&(0,z.css)(gf()),i()(n,"mainHeaderIconBorder")&&(0,z.css)(gh(),(0,nh.FI)(i()(n,"sbaHamburgerIconBorder")?(0,z.css)(gm()):(0,z.css)(gg()))),i()(n,"sbaUserIconBorder")&&(0,z.css)(gx(),(0,nh.Ys)((0,z.css)(gb()))),i()(n,"mainHeaderCartIconBorder")&&(0,z.css)(gw(),(0,nh.FI)((0,z.css)(gy()))),i()(n,"invertedIconBorder")&&(0,z.css)(gS(),Y.colors.black)),bP=n=>(0,z.css)(gM(),(0,nh.Nv)("md",(0,z.css)(gI())),b$,i()(n,"cartBubbleIcon")&&(0,z.css)(gv()),b$,!i()(n,"cartBubbleIcon")&&(0,z.css)(gT(),Y.colors.black),i()(n,"cartMenuItemIcon")&&i()(n,"clickdropshadowIcon")&&i()(n,"cartBubbleIcon")&&(0,z.css)(g_(),bO,Y.colors.black),(0,nh.Nv)("lg",(0,z.css)(gO())),(0,nh.Nv)("md",(0,z.css)(gD())),bw,i()(n,"mainHeaderIconBorder")&&(0,z.css)(gL(),(0,nh.Ys)((0,z.css)(gE())),(0,nh.FI)((0,z.css)(gA()))),bR(n)),bN=n=>(0,z.css)(gk(),bR(n)),bB=n=>(0,z.css)(gN(),bu("motiva_light"),bL,i()(n,"subTextPosition")&&(0,z.css)(gP(),(0,nh.Nv)("md",(0,z.css)(gR())))),bj=n=>(0,z.css)(gF(),(0,nh.FI)((0,z.css)(gB())),bL,!i()(n,"subTextPosition")&&(0,z.css)(gH(),(0,nh.Nv)("sm",(0,z.css)(gj()))),bR(n)),bH=(0,z.css)(gU()),bF=n=>
1(0,z.css)(gG(),bH,(0,nh.Nv)("sm",(0,z.css)(gW())),b$,i()(n,"cartBubbleIcon")&&(0,z.css)(gY(),bO,i()(n,"iconDropDownRightNewSA")&&(0,z.css)(gz())),b$,(i()(n,"cartBubbleIcon")||i()(n,"mobileHide"))&&(0,z.css)(g$(),bO,i()(n,"iconDropDownRight")&&(0,z.css)(gK(),Y.colors.black))),bU=()=>(0,z.css)(gV()),bW=n=>(0,z.css)(gJ(),bH,(0,nh.FI)((0,z.css)(gQ())),bw,i()(n,"mainHeaderIconBorder")&&(0,z.css)(gZ(),(0,nh.FI)((0,z.css)(gq())))),bz=()=>(0,z.css)(g0(),bH,(0,nh.FI)((0,z.css)(gX()))),bY=()=>(0,z.css)(g2(),(0,nh.FI)((0,z.css)(g1()))),bK=(0,z.css)(g4(),(0,nh.Nv)("sm",(0,z.css)(g6()))),b$=z.default.div.withConfig({componentId:"sc-8f3eb475-21"})(hb(),n=>{let{$styledprop:e}=n;return i()(e,"newSAHeaderHamburgerIconBorder")&&(0,z.css)(g5())},n=>{let{$styledprop:e}=n;return i()(e,"isCartMenu")&&i()(e,"isNewHeaderNavUserToolabar")&&(0,z.css)(g3(),Y.colors.neutral_gray)},n=>{let{$styledprop:e}=n;return i()(e,"rewardsSubIconText")&&(0,z.css)(g7(),bL,bO,i()(e,"subTextPosition")&&(0,z.css)(g8(),Y.colors.black))},n=>{let{$styledprop:e}=n;return i()(e,"cartBubbleIcon")&&(0,z.css)(g9(),Y.colors.light_gray_1)},n=>{let{$styledprop:e}=n;return i()(e,"mobileHide")&&(0,z.css)(ht(),bO,i()(e,"iconDropDownRight")&&(0,z.css)(hn(),bg),(0,nh.Fd)((0,z.css)(he())))},n=>{let{$styledprop:e}=n;return i()(e,"saMobiledropshadowHide")&&(0,z.css)(ha(),(0,nh.Nv)("lg",(0,z.css)(hr())),(0,nh.Nv)("md",(0,z.css)(ho())),(0,nh.Nv)("sm",(0,z.css)(hi())),bL)},n=>{let{$styledprop:e}=n;return i()(e,"saMobiledropshadowHide")&&(0,z.css)(hl(),bw,i()(e,"saMobiledropshadowHide")&&(0,z.css)(hs()))},n=>{let{$styledprop:e}=n;return i()(e,"showBgTopRightContent")&&(0,z.css)(hu(),bw,i()(e,"showBgTopRightContent")&&(0,z.css)(hc()))},n=>{let{$styledprop:e}=n;return i()(e,"showBgTopRightContent")&&(0,z.css)(hp())},n=>{let{$styledprop:e}=n;return i()(e,"topRightContentCaret")&&(0,z.css)(hd())},n=>{let{$styledprop:e}=n;return!i()(e,"menuItemIcon")&&(0,z.css)(hf())},n=>{let{$styledprop:e}=n;return i()(e,"bottomRightContent")&&(0,z.css)(hg(),Y.colors[i()(e,"bottombarHoverColor")],(0,nh.Nv)("xs",(0,z.css)(hm())))},n=>{let{$styledprop:e}=n;return i()(e,"menuItemIcon")&&(0,z.css)(hh())}),bG=(0,z.default)(nb.default).withConfig({componentId:"sc-8f3eb475-22"})(hx(),n=>{let{$styledprop:e}=n;return i()(e,"rightIconPositionDropShadowClick")&&bP(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightIconPositionClick")&&bN(e)},n=>{let{$styledprop:e}=n;return i()(e,"iconPositionClick")&&bj(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightmenuItemsClick")&&bY(e)},n=>{let{$styledprop:e}=n;return i()(e,"hiTouchSubIconPosition")&&bk(e)},n=>{let{$styledprop:e}=n;return i()(e,"subIconPosition")&&bB(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightIconPositionDropShadow")&&bF(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightmenuItems")&&bK},n=>{let{$styledprop:e}=n;return i()(e,"rightIconPosition")&&bW(e)},n=>{let{$styledprop:e}=n;return i()(e,"iconPosition")&&bz(e)},b$),bV=z.default.div.withConfig({componentId:"sc-8f3eb475-23"})(hI(),n=>{let{$styledprop:e}=n;return i()(e,"rightIconPositionDropShadowClick")&&bP(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightIconPositionClick")&&bN(e)},n=>{let{$styledprop:e}=n;return i()(e,"iconPositionClick")&&bj(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightmenuItemsClick")&&bY(e)},n=>{let{$styledprop:e}=n;return i()(e,"hiTouchSubIconPosition")&&bk(e)},n=>{let{$styledprop:e}=n;return i()(e,"subIconPosition")&&bB(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightIconPositionDropShadow")&&bF(e)},n=>{let{$styledprop:e}=n;return i()(e,"rightmenuItems")&&bK},n=>{let{$styledprop:e}=n;return i()(e,"rightIconPosition")&&bW(e)},n=>{let{$styledprop:e}=n;return i()(e,"iconPosition")&&bz(e)},n=>{let{$styledprop:e}=n;return i()(e,"newSAHeaderHamburgerIconBorder")&&bU(e)},n=>{let{$styledprop:e}=n;return i()(e,"comMenuItemIconOnly")&&(0,z.css)(hw(),(0,nh.Nv)("lg",(0,z.css)(hy())))},n=>{let{$styledprop:e}=n;return i()(e,"RightNavigationOptionsMenuItemCSS")&&(0,z.css)(hS())},n=>{let{$styledprop:e}=n;return i()(e,"topLeftMobileNavigationOptionsMenuItemCSS")&&(0,z.css)(hC())}),bQ=(0,z.css)(hv(),bu("motiva")),bq=(0,z.css)(hT(),bu("motiva")),bZ=z.default.div.withConfig({componentId:"sc-8f3eb475-24"})(h_()),bJ=(0,z.css)(hE(),Y.colors.black,(0,nh.Nv)("sm",(0,z.css)(hO())),(0,nh.Fd)((0,z.css)(hD()))),bX=z.default.span.withConfig({componentId:"sc-8f3eb475-25"})(hM(),n=>{let{$styledprop:e}=n;return i()(e,"iconOpen")&&(0,z.css)(hA())},n=>{let{$styledprop:e}=n;return!i()(e,"iconOpen")&&(0,z.css)(hL(),Y.colors.brand)}),b0=z.default.span.withConfig({componentId:"sc-8f3eb475-26"})(hk()),b1=z.default.span.withConfig({componentId:"sc-8f3eb475-27"})(hR()),b2=z.default.div.withConfig({componentId:"sc-8f3eb475-28"})(hN(),bu("motiva_light"),b0,b1,(0,nh.Nv)("md",(0,z.css)(hP()))),b6=z.default.div.withConfig({componentId:"sc-8f3eb475-29"})(bc(),n=>{let{$styledprop:e}=n;return i()(e,"topRightNoActionItems")&&(0,z.css)(hB())},n=>{let{$styledprop:e}=n;return i()(e,"color")&&(0,z.css)(hj(),Y.colors["primary"===i()(e,"color")?"brand":i()(e,"color")])},n=>i()(n,"subSAMenuItemWithIcon")&&!i()(n,"saMainNavCartMenuItemIcon")&&(0,z.css)(hF(),(0,nh.FI)((0,z.css)(hH()))),n=>i()(n,"hideInSmallBucket")&&(0,z.css)(hW(),(0,nh.FI)((0,z.css)(hU()))),n=>{let{$styledprop:e}=n;return i()(e,"bottomLeftNavigationOptionsMenuItemCSS")&&(0,z.css)(hz
1())},n=>{let{$styledprop:e}=n;return i()(e,"bottomRightNavigationOptionsMenuItemCSS")&&(0,z.css)(hY())},n=>{let{$styledprop:e}=n;return i()(e,"topLeftMobileNavigationOptionsMenuItemCSS")&&(0,z.css)(hK())},n=>{let{$styledprop:e}=n;return i()(e,"addHoverEffect")&&(0,z.css)(hG(),(0,nh.FI)((0,z.css)(h$())))},n=>{let{$styledprop:e}=n;return i()(e,"menuItemFlyoutOpen")&&(0,z.css)(hV())},n=>{let{$styledprop:e}=n;return i()(e,"textMenuItemDestinationMenu")&&(0,z.css)(hQ())},n=>{let{$styledprop:e}=n;return i()(e,"textMenuItemWrapperClick")&&(0,z.css)(hJ(),(0,nh.Nv)("md",(0,z.css)(hq())),(0,nh.FI)((0,z.css)(hZ())),Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"subSAMenuItemWithIcon")&&(0,z.css)(h0(),(0,nh.Nv)("md",(0,z.css)(hX())),Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"saMainNavCartMenuItemIcon")&&bJ},n=>{let{$styledprop:e}=n;return i()(e,"topLeftMenuItemIcon")&&(0,z.css)(h1())},n=>{let{$styledprop:e}=n;return i()(e,"menuItemIcon")&&(0,z.css)(h2(),bJ,Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"hideInSmallBucket")&&(0,nh.FI)((0,z.css)(h6()))},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemWrapperClick")&&(0,z.css)(h3(),(0,nh.Nv)("md",(0,z.css)(h4())),(0,nh.FI)((0,z.css)(h5())))},n=>{let{$styledprop:e}=n;return i()(e,"subTextMenuItemWrapper")&&(0,z.css)(h9(),(0,nh.Nv)("md",(0,z.css)(h8())),(0,nh.FI)((0,z.css)(h7())),Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"textMenuItemWrapper")&&(0,z.css)(bt(),(0,nh.Nv)("md",(0,z.css)(bn())),(0,nh.FI)((0,z.css)(be())),Y.colors.black,bI,Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"addLinkHover")&&(0,z.css)(br(),Y.colors.black)},n=>{let{$styledprop:e}=n;return i()(e,"leftDivider")&&(0,z.css)(bi(),bS,i()(e,"leftDivider")&&(0,nh.Nv)("md",(0,z.css)(bo())))},n=>{let{$styledprop:e}=n;return i()(e,"rightDivider")&&(0,z.css)(ba(),Y.colors.neutral_gray)},n=>{let{$styledprop:e}=n;return i()(e,"sbaHamburgerMenuIcon")&&(0,z.css)(bs())},n=>{let{$styledprop:e}=n;return i()(e,"isCartMenuItem")&&(0,z.css)(bl())},bu("motiva")),b4=n=>"".concat(n,"_").concat(Math.floor(9e4*Math.random()+1e4)),b5=R()(()=>Promise.all([t.e(3701),t.e(1188),t.e(2859),t.e(3702),t.e(4853),t.e(1667),t.e(8653),t.e(8683),t.e(7360),t.e(8507),t.e(3753),t.e(2724),t.e(8101),t.e(5867),t.e(9182),t.e(1376),t.e(5666),t.e(7037),t.e(1780),t.e(1585)]).then(t.bind(t,72409)),{loadableGenerated:{webpack:()=>[72409]}}),b3=R()(()=>Promise.all([t.e(6219),t.e(7517),t.e(4926)]).then(t.bind(t,54648)),{loadableGenerated:{webpack:()=>[54648]}}),b8=(n,e)=>{try{F.Z.invokeAdapter({methodType:e?"storeState":"navTrack",model:n||{},headerType:"UX2"})}catch(n){console.error("exception in navigation text menu Analytics",n)}},b7=(n,e,t,r,o)=>{let a=o&&i()(o,"address.city",""),s=o&&i()(o,"address.state","");void 0!==n&&n.stopPropagation&&n.stopPropagation();let l=[],[{actionType:c}]=(0,U.v2)(e),u="STORE-LOCATOR"===B.Qoz[c];c&&"CART"===B.Qoz[c]?l.push("Mini Cart"):l.push((0,U.zy)(e)||i()(e,"headliner.headlinertext","")||e.ariaLabel||i()(e,"navTextData.ariaLabel",""));let p={type:"HEADER",headerType:"UX2",value:l,link:i()(e,"destinationReplaceURL","")||i()(e,"destinationURL","")||""};if(t&&(p.headerVersion="mobile"),u){let n={type:"SET_STORE",payload:{setstore:!!r,text:a&&s?"".concat(a,", ").concat(s):"Store"}};b8(n,u);return}b8(p)},b9=n=>n&&n.length>0?n.map((n,e)=>(0,r.jsx)(H.Z,{headliner:n},e)):[],xn=(n,e)=>{let t=t=>{if(!(0,U.G5)(t))return;let r=Array.from(e.querySelectorAll('button:not([tabindex="-1"]), a:not([tabindex="-1"]), input:not([tabindex="-1"]), select, textarea, * [tabindex]:not([tabindex="-1"]):not([class*="ps__thumb"])'));if(r.length>0&&n){let n=r[0],e=r[r.length-1];if(t.shiftKey){if(document.activeElement===n)e.focus(),t.preventDefault();else if(!t.isTrusted){let n=r.indexOf(document.activeElement);n>-1&&r[n-1]&&r[n-1].focus()}}else if(document.activeElement===e)n.focus(),t.preventDefault();else if(!t.isTrusted){let n=r.indexOf(document.activeElement);n>-1&&r[n+1]&&r[n+1].focus()}}};return e&&e.addEventListener("keydown",t,!0),()=>{e&&e.removeEventListener("keydown",t,!0)}},xe=n=>{let{menuItem:e,fontColor:t,subHeader:o,subFontHoverColor:s,renderComponent:l,sbaCartCount:c,siteVariables:u,messageCountSba:p,breakpoint:d,smallBucket:f,routeDetails:m,accountInfo:g,appendActiveClass:h,cologoExists:b,customerName:x,isShipToMenu:y,userInfo:w,hover:S,topRightContent:I,listsCountDisplay:v,approvalsCountDisplay:T,newSaHeader:_,bottomNavigationColor:O,bottomNavigationFontColor:D,isMarketingMessage:E,topRightNavigationOptionItems:A,bottomRightNavigationOptionItems:L,topLeftMobileNavItem:M,bottomNavigationFontColorHover:k}=n,{icon:R,headliner:N,destinationURL:j,destinationReplaceURL:H,targetWindow:F,treatmentType:W,iconOverridesByGroup:z,de
1sign:Y,subHeadliner:K}=e,[{actionType:$,actionIcon:G}]=(0,U.v2)(e),V="CART"===B.Qoz[$],Q="MOBILE-MENU"===B.Qoz[$]||"SB-MOBILE-MENU"===B.Qoz[$],q="CREATE-LIST"===B.Qoz[$],Z="flyout"===F,J="MESSAGES"===B.gsc[G],X="CART"===B.Qoz[$],nn=m&&m.isWhiteLabel,ne=(m&&m.routeId)===B.cVK,nt=(m&&m.routeType)===B.o27,nr=b9(N),no=b9(K),{isLoggedIn:ni,shipToId:na}=g,ns=y?f?na:(0,U.v_)(na,12):q&&I&&v>0?1===Number(v)?"".concat(v," Saved List"):"".concat(v," Saved Lists"):no,nl=!C()(z)&&(0,U.N8)({iconOverridesByGroup:z,accountInfo:g,customerName:x}),nc=B.JDr[Y],nu="ONE"===nc||"WORKLIFE"===nc||"IDEAS"===nc||"DYNAMIC-FLYOUT-BAR"===nc||"DEALS"===nc||"TEXT-LIST"===nc||"MOBILE"==nc||"REWARDS-TEXT-MENU"===nc||"FEATURED-IMAGE-1"===nc||"ORDERS-API-MEGA-MENU"===nc,np=(m&&m.routeId)===B.cVK,nd=nl||R,nm=Y&&"ORDERS-API-MEGA-MENU"===B.JDr[Y],ng=(0,nf.getParsedLocalStorage)("approvalsCount"),nh=ng&&ng.value,nb=i()(w,"contact.firstName",""),nx={mainHeaderCartIconBorder:C()(nr)&&V,mainHeaderIconBorder:C()(nr)&&!V,mainHeaderTextBorder:!C()(nr),sbaUserIconBorder:C()(nr)&&u.isSBA&&(!Q||!("sm"===d||"xs"===d)),invertedIconBorder:ne||nt,sbaHamburgerIconBorder:C()(nr)&&u.isSBA&&Q&&("sm"===d||"xs"===d),newSAHeaderHamburgerIconBorder:_&&Q&&u.isSBA&&("sm"===d||"xs"===d)&&!A,RightNavigationOptionsMenuItemCSS:_&&u.isSBA&&o&&L,newSADividerColor:_&&u.isSBA&&L?D:"",newSADividerTopColor:_&&u.isSBA&&A?O:""},ny={subTextMenuItemClickSBAAlongWithCoLogo:o&&u.isSBA&&b,subTextMenuItemClickSBA:o&&u.isSBA&&!b,subTextPosition:o,textPositionOnClick:!o&&!E,hiTouchSubTextMenuItemClick:o&&nu&&h&&ne,subTextMenuItemClick:o&&nu&&h&&!ne,borderColor:(!L&&!h&&"DYNAMIC-FLYOUT-BAR"===nc||o&&nu&&h&&!L)&&s,fontColor:!L&&!h&&!o&&"DYNAMIC-FLYOUT-BAR"!==nc&&t,menuItemIcon:R&&!o&&I},nw={TextNodeSpanPositionBottom:!C()(nr)&&o&&u.isSBA&&_&&L,bottomRightNavigationOptionsMenuItemCSS:_&&u.isSBA&&o&&L,accountmenuCSS:_&&u.isSBA&&_&&"account"===nd,bottombarFontColor:_&&u.isSBA&&D},nS={rewardsSubIconText:"DYNAMIC-FLYOUT-BAR"===nc,saMobiledropshadowHide:!V&&!o&&!C()(nr)&&"dropshadow"===W&&"lg"===d,showBgTopRightContent:!V&&!o&&!C()(nr)&&"dropshadow"===W&&l&&"lg"===d&&I,mainHeaderTextBorder:!C()(nr),mobileHide:!V,cartBubbleIcon:V,menuItemIcon:R&&!o&&I,topRightContentCaret:!V&&!o&&!nu&&"lg"===d&&!Z,bottomRightContent:o&&L,bottombarHoverColor:o&&L?k:""},nC={clickdropshadowIcon:"dropshadow"===W&&l&&V,iconDropDownRight:"dropshadow"===W&&!l&&!L,iconDropDownRightNewSA:"dropshadow"===W&&l,mobileHide:!V,accountIcon:ni&&("account"===nd||"customerName"===nd),isCartMenu:V,topRightContent:I},nI={hiTouchSubIconPosition:o&&np,subIconPosition:o&&!np,subTextPosition:o,rightIconPositionDropShadowClick:!o&&l&&C()(nr)&&"dropshadow"===W,rightIconPositionDropShadowNewSA:!o&&l&&C()(nr)&&"dropshadow"===W,rightIconPositionClick:!o&&l&&C()(nr)&&"dropshadow"!==W,rightIconPositionDropShadow:!o&&!l&&C()(nr)&&"dropshadow"===W,rightmenuItemsClick:!o&&l&&"dropshadow"!==W,rightmenuItems:!o&&!l&&C()(nr)&&"dropshadow"!==W,rightIconPosition:!o&&!l&&C()(nr)&&"dropshadow"!==W,iconPositionClick:!o&&l&&!C()(nr),iconPosition:!o&&!l&&!C()(nr),cartBubbleIcon:V,cartMenuItemIcon:R&&!o&&X,bottomRightNavigationOptionsMenuItemCSS:_&&u.isSBA&&o&&L,topLeftMobileNavigationOptionsMenuItemCSS:_&&u.isSBA&&o&&M,topRightNavigationmenuItemCSS:_&&u.isSBA&&A,renderComponent:l,...nx,...nS,...nC},nv=(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(bC,{children:(0,r.jsxs)(b$,{tabIndex:"-1",$styledprop:{...nS,...ny,...nC,...nx,...nw,isCartMe
1nu:V},children:[(0,r.jsx)(bO,{$styledprop:{...nC},children:"customerName"===nl?(0,r.jsx)(bg,{$styledprop:{fontColor:!o&&t},children:(0,r.jsx)(bm,{children:x})}):(0,r.jsx)(P.Icon,{name:nl||R,size:24,color:o?D:I?t:"black"})}),V&&u.isSBA&&c?(0,r.jsx)(bE,{$styledprop:{hitCartMenuItems:nn||nt,cartMenuItems:!nn&&!nt,cartMenuItemsCountClick:c>99&&l,cartMenuItemsCount:c>99&&!l,cartMenuItemsClick:l&&C()(nr),cartCountBG:O,cartCountFontColor:D},children:c>99?"99+":0===c?"0":c}):null,!C()(nr)&&("lg"===d||("md"===d||"sm"===d)&&L)&&(0,r.jsxs)(bL,{$styledprop:{...ny,...nw},children:["account"===nd?(0,r.jsxs)("span",{children:[nr,"\xa0",(0,r.jsx)("span",{children:nb})]}):(0,r.jsx)("span",{children:nr}),(0,r.jsxs)("div",{id:"subtext-node",children:[" ",nm&&T>0?1==T||1==nh?(0,r.jsx)("span",{children:"".concat(T," Pending Approval")}):(0,r.jsx)("span",{children:"".concat(T," Pending Approvals")}):ns]})]}),("lg"===d||"md"===d)&&J&&u.isSBA&&p>0?(0,r.jsx)(bM,{$styledprop:{hitCartMenuItems:nn||nt,cartMenuItems:!nn&&!nt,cartMenuItemsClick:l&&C()(nr)},children:p}):null,!y&&!V&&I&&Z&&(0,r.jsx)(bf,{$styledprop:{showCaret:l||S,iconTextNode:I},children:(l||S)&&(0,r.jsx)(P.Icon,{ariaLabel:"flyout",name:l?"caret_up":S?"caret_down":"",size:9,color:I?"black":"white"})})]})}),(0,r.jsx)(bA,{children:l&&"drawer"!==F&&(0,r.jsx)(bw,{$styledprop:nx})})]});return(0,r.jsx)(a.Fragment,{children:j||H?(0,r.jsx)(bG,{href:V?null:H||j,$styledprop:nI,target:"new-page"===F?"_blank":"_self",children:nv}):(0,r.jsx)(bV,{$styledprop:nI,children:nv})})},xt=n=>{let{menuItem:e,subHeader:t,subFontHoverColor:o,renderComponent:i,hover:s,routeDetails:l,breakpoint:c,appendActiveClass:u,siteVariables:p,cologoExists:d,isMarketingMessage:f,isMobileMenu:m,newSaHeader:g,bottomRightNavigationOptionItems:h,bottomLeftNavigationOptionItems:b,isDrawerComponent:x,topRightContent:y,smallBucket:w,icon:S,isWhiteLabel:I,isEDiv:v,bottomNavigationFontColor:T,bottomNavigationFontColorHover:_}=n,{headliner:O,treatmentType:D}=e,E=B.JDr[e.design],A=(l&&l.routeId)===B.cVK,L=b9(O),M="sm"===c||"xs"===c,k=(0,U.b1)(),R={subTextMenuItems:t&&!u&&!A,subTextMenuItemClick:t&&u&&!A,hitSubTextMenuItems:t&&!u&&A,addUnderline:!t&&M&&k&&u,bottomBarLeft:t&&!M&&b,bottombarHoverColor:t&&!M&&b?_:"",subHeader:t};return(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(bC,{children:(0,r.jsxs)(bI,{"aria-hidden":"true",$styledprop:{hiTouchSubTextMenuItem:t&&A,subTextMenuItem:t&&!A,textMenuItem:!t,rewardsSubTextMenuItem:"DYNAMIC-FLYOUT-BAR"===E,...R},className:D,tabIndex:"-1",children:[(0,r.jsx)(bd,{$styledprop:{subTextMenuItemClickSBAAlongWithCoLogo:t&&p.isSBA&&d,subTextMenuItemClickSBA:t&&p.isSBA&&!d,hiTouchSubTextMenuItemClick:t&&u&&A,borderColor:t&&u&&!b?o:"DYNAMIC-FLYOUT-BAR"!==E||u||b?"":o,primaryHeaderHeadliner:!t&&!f,bottomNavigationFontColor:T,bottomLeftNavigationOptionsMenuItemCSS:g&&p.isSBA&&t&&b,bottomRightNavigationOptionsMenuItemCSS:g&&p.isSBA&&t&&h,...R},children:L}),t&&b&&(0,r.jsx)(bf,{$styledprop:{showCaret:i||s,...R},children:(i||s)&&(0,r.jsx)(P.Icon,{ariaLabel:"flyout",name:i?"caret_up":s?"caret_down":"",size:9,color:T||"white"})})]})}),(0,r.jsx)(bp,{children:i&&!x&&!y&&(!w||p.isSBA)&&!(S&&m&&w&&p.isSBA&&C()(L))&&(0,r.jsx)(bh,{$styledprop:{invertedIconBorder:I||v,bottomNavigationFontColor:T}})})]})},xr=n=>{let{ref:e,componentRendererRef:t,designType:r,isMegaMenu:o,isCartMenu:i,isListMenu:a,isMobileMenu:s,isTextMenu:l,isImageMenu:c,appendActiveClass:u,parentRef:p,isDrawerComponent:d,calculateLeft:f,isWhiteLabel:m,isEDiv:g,calculateHeight:h,onResize:b,bottomLeftContent:x,ariaLabel:y,isShopFlexibleMenu:w,isSolutionsMenu:S}=n,C=e.current&&e.current.getBoundingClientRect(),I=t.current&&t.current.getBoundingClientRect(),v=p&&p.current&&p.current.getBoundingClientRect();if(C&&I&&v){let n=C.left,e=C.right,p=I.width,y=I.height,T=window.innerWidth,_=window.innerHeight;if("FEATURED-IMAGE-1"===r&&window.innerWidth>=1024&&(t.current.style.width="930px"),f){if(s)t.current.style.left="-".concat(n,"px");else if("FEATURED-IMAGE-1"===r&&window.innerWidth<=1024)t.current.style.left="-".concat(Math.abs(n),"px"),t.current.style.width="".concat(Math.abs(window.innerWidth-25),"px");else if(n+p>T&&I.width>0&&!d){if(e+25>window.innerWidth)t.current.style.right="0px",t.current.style.left="auto";else{let e="".concat(T-(n+p+25),"px");t.current.style.left=e}}else if(!o&&!i&&!d&&!w&&!S){let n=0;n=C.left>p/2?"-".concat(Math.abs((p-C.width)/2),"px"):"-".concat(Math.abs(C.left),"px"),t.current.style.left=n}if(!d&&!s){let e=n-25<50;(o||w||S)&&n+p<T&&I.width>0&&(t.current.style.left=x?S||e?"-1px":m||g?"0px":"-20px":"-76px")}}if(u?!d&&t&&t.current&&t.current.style&&(t.current.style.top="".concat(v.bottom-C.top,"px")):!d&&s&&_&&!b?t.current.style.top="-".concat(Math.abs(_-v.bottom),"px"):s||(t.current.style.top=null),h){let n=Math.abs(_-v.bottom),e=null;if(o||w)e="WORKLIFE"===r?n<319?"".concat(n,"px"):"319px":"ORDERS-API-MEGA-MENU"===r?n<311?"".concat(n,"px"):"311px":n<616?"".concat(n,"px"):"616px";else if(S)e=n<436?"".concat(n,"px"):"436px";else if("TWO-COLUMN"===r)e=n<526?"".concat(n,"px"):"526px";else if(l||a){if(d)return;e=n<=y?"".concat(n,"px"):"auto"}else c&&(e="FEATURED-IMAGE-1"===r?n<450?"".concat(n,"px"):"450px":n<408?"".concat(n,"px"):"408px");t.current.style.height=e}}},xo=(n,e)=>{let t=D()(n=>e(n),500);n&&n.current&&e&&(n.current.addEventListener("mouseenter",n=>{t(n)}),n.current.addEventListener("mouseleave",()=>{t.cancel&&t.cancel()}))},xi=n=>{let e=(0,a.useRef)();return(0,a.useEffect)(()=>{e.current=n}),e.current},xa=n=>{let e=i()(n,"permissionlimit",[]),t=e.length>0&&-1!=e.indexOf("OpenMenu");return t},xs=n=>{let{headerData:e,menuItem:t,fontColor:o,subHeader:s,subFontHoverColor:l,siteVariables:c,routeDetails:u,checkYourStoreData:p,yourStoreSection:d,primaryStoreObject:f,routePrefix:g,accountInfo:h,breakpoint:b,toggleMiniCart:x,headerType:y,showMiniCart:w,sbaCartCount:S,messageCountSba:I,getCart:v,topRightContent:T,showLoginDrawer:_,automationID:O,type:D,permissionApplied:E,segmentCode:L,parentRef:k,changeParentStyle:R,closeSearchFlyout:H,setSmallScreen:F,setActiveBackgroun
1d:W,bottomLeftContent:z,dotcomCartCount:Y,toggleHeaderFlyoutStatus:K,toOpenMenuFlyout:$,openHeaderMenuFlyout:G,openMenuLinkRef:V,isNewSBAMINICart:Q,menuItemsInstanceHandler:q,menuItemInstances:Z,stickyHeader:J,openSTSModal:X,openADDShipToDrawer:ne,rewardsNumber:nt,defaultOpenState:nr,router:no,isBudgetCenterOverlayOpened:ni,isMessagesOverlayOpened:na,cologoExists:ns,customerName:nl,zipCode:nc,toggleMarketoDrawer:nu,toOpenMarketoDrawer:np,shippingState:nm,shippingCity:ng,domain:nh,openListsDrawer:nb,showCreateList:nx,setRequiredCookieModalOptions:ny,openRewardsSignupDrawer:nw,openLoyaltyEnrollmentDrawer:nS,loyaltyEnrollmentDrawerOptions:nC,rewardsDrawerOptions:nI,qoDrawerOptions:nv,openLoyaltyOffersDrawer:nT,openLoyaltySKUOffersDrawer:n_,loyaltyOffersDrawerOptions:nO,openStoreLocatorDrawer:nD,openLoyaltyBPCDrawer:nE,openLoyaltyBPCDrawerOptions:nA,navigationPopUp:nL,tpvCartClick:nM,supressHeaderClick:nk,userInfo:nR,listsCount:nP,approvalsCount:nN,newSaHeader:nB,topRightNavigationOptionItems:nj,bottomRightNavigationOptionItems:nH,bottomLeftNavigationOptionItems:nF,topLeftMobileNavItem:nU}=n,{isLoggedIn:nW}=h,{openRewardsDrawer:nz}=nI,nY=nC&&nC.openLoyaltyEnrollmentDrawer,nK=nO&&nO.openLoyaltyOffersDrawer,n$=nA&&nA.openLoyaltyBPCDrawer,nG=nO&&nO.openLoyaltySKUOffersDrawer,{showQODrawer:nV}=nv,nQ="sm"===b||"xs"===b,nq=u&&u.isWhiteLabel,nZ=(u&&u.routeType)===B.o27,{bottomNavigationColor:nJ,bottomNavigationFontColor:nX,topNavigationColor:n0="white",bottomNavigationFontColorHover:n1}=e,{isProd:n2,isSBA:n6}=c,n4=!n6&&(0,U.Br)(L),n5=(0,U.v2)(t),n3=i()(n5,"[0].actionchatLineOfBusiness",""),[{actionType:n8}]=n5,n7="LOYALTY-REWARDS-POINTS"===B.Qoz[n8],[n9,en]=(0,a.useState)(nr),[ee,et]=(0,a.useState)(nr),[er,eo]=(0,a.useState)(!1),[ei,ea]=(0,a.useState)(!1),[es,el]=(0,a.useState)(!1),[ec,eu]=(0,a.useState)({}),[ep,ed]=(0,a.useState)(!1),[ef,em]=(0,a.useState)({}),[eg,eh]=(0,a.useState)(!1),[eb,ex]=(0,a.useState)(!1),[ey,ew]=(0,a.useState)(!1),[eS,eC]=(0,a.useState)(!1),[eI,ev]=(0,a.useState)(!1),[eT,e_]=(0,a.useState)(!1),[eO,eD]=(0,a.useState)({}),[eE,eA]=(0,a.useState)({}),[eL,eM]=(0,a.useState)([]),[ek,eR]=(0,a.useState)({}),eP=(0,a.useRef)(null),eN=(0,a.useRef)(null),eB="1_UNIDENTIFIED"===L,ej=(0,a.useRef)(null),eH=(0,a.useRef)(),eF=(0,a.useRef)(!1),eU=(0,a.useRef)(!1),eW=(0,a.useRef)(!1),{icon:ez,ariaLabel:eY,targetWindow:eK,design:e$,treatmentType:eG,headliner:eV,actionOverridesByGroup:eQ,metadata:eq}=t,eZ=i()(eq,"childAPIToggle",!1)&&i()(eq,"id",""),eJ="marketing-message"===i()(eq,"name",""),eX=nL&&!C()(nL),e0=(0,a.useRef)("".concat(b4("".concat((eY||"").trim(),"_Item")))),e1="TEXT-DESTINATION-MENU"===B.Qoz[n8],e2="button"===i()(t,"ctaCompoundctaType",""),e6="STAPLESCONNECT"===B.Qoz[n8],e4="drawer"===eK,e5="STORE-LOCATOR"===B.Qoz[n8],e3="CART"===B.Qoz[n8],e8="CHAT"===B.Qoz[n8],e7=e$&&"WORKLIFE"===B.JDr[e$],e9=e$&&"TEXT-LIST"===B.JDr[e$],tn=e$&&"ORDERS-API-MEGA-MENU"===B.JDr[e$],te="MEGA-MENU"===B.Qoz[n8],tt="SB-SHOP-FLEXIBLE-MENU"===B.Qoz[n8],tr="SB-FLEXIBLE-MENU"===B.Qoz[n8],to="MOBILE-MENU"===B.Qoz[n8]||"SB-MOBILE-MENU"===B.Qoz[n8],ti="TEXT-MENU"===B.Qoz[n8]||"LISTS"===B.Qoz[n8],ta="IMAGE-MENU"===B.Qoz[n8],ts="LISTS"===B.Qoz[n8],tl="SHIPTO"===B.Qoz[n8],tc="MARKETO"===B.Qoz[n8],tu=e$&&"TWO-COLUMN"===B.JDr[e$],tp="EMPTY-ZIP-CODE-DRAWER"===B.Qoz[n8],td="ACTIVE-ZIP-CODE-DRAWER"===B.Qoz[n8]&&!C()(nc),tf="ACTIVE-ZIP-CODE-DRAWER"===B.Qoz[n8]||"EMPTY-ZIP-CODE-DRAWER"===B.Qoz[n8],tm="divider-left"===eG,tg=(0,U.b1)(),th=(0,U.jy)(y,D),{tpvHeader:tb,isLogoOnlyHeader:tx}=th,ty=xi(b),tw=xi(na),tS=xi(ni),[tC,tI]=(0,a.useState)(!1),tv=s&&i()(t,"icon",!1),tT=(0,U.VN)(h,"ZIP_CODE"),t_=e$&&"IDEAS"===B.JDr[e$],tO=xi(np),tD=xi(nV),tE=xi(nz),tA=xi(nY),tL=xi(nK),tM=xi(n$),tk=xi(nG),tR=(0,nf.getParsedLocalStorage)("listsCount"),tP=nP||tR&&tR.value,tN=(0,nf.getParsedLocalStorage)("approvalsCount"),tB=nN||tN&&tN.value,tj=(0,a.useRef)({openTimeoutId:-1,closeTimeoutId:-1}),tH=b9(eV);(0,a.useEffect)(()=>{if(eX){if(eI)tj&&tj.current&&(-1!==tj.current.openTimeoutId&&clearTimeout(tj.current.openTimeoutId),-1!==tj.current.closeTimeoutId&&clearTimeout(tj.current.closeTimeoutId));else{let n=(0,nf.getSessionStorage)("headerPopOverState");"lg"!==b&&"md"!==b||nW||n9||!tj||!tj.current||n||(tj.current.openTimeoutId=setTimeout(()=>{eC(!0)},1500))}}},[eI,b,eX,ti,n9,nW,nL]),(0,a.useEffect)(()=>{eS&&((0,nf.setSessionStorage)("headerPopOverState","rendered"),tj.current.closeTimeoutId=setTimeout(()=>{eC(!1)},12e3))},[eS]);let tF=(0,a.useCallback)(()=>
1{if(eX){let e=[];return A()(nL,(t,r)=>{C()(i()(t,"navigationPopUpItems",[]))||A()(i()(t,"navigationPopUpItems",[]),(t,o)=>{let i=C()(t.action);(0,U.Z1)({item:t,userData:{...u,...h},siteVariables:c,segmentCode:L,domain:nh,breakpoint:b,headerTypes:(0,U.jy)(y,D)})&&e.push((0,a.createElement)(j.Z,{...n,key:"popupItem_".concat(r,"_").concat(o),accountInfo:h,breakpoint:b,routeDetails:u,isPermissionLimitCheckedAtParent:!0,customCss:eB?bq:bQ,navTextData:t,actionTypeHandler:tV,isIdNeeded:i,id:"popupItemContainer",headerType:y,type:D,signInPopup:!0,dispatchAnalytics:b7,setRequiredCookieModalOptions:ny,primaryStoreObject:f,...n}))})}),(0,r.jsxs)(bZ,{ref:eN,id:"popupItemContainer",children:[" ",e," "]})}},[nL,ti,u,h,c,L,b,u,nh,y,D,ef]),tU=(0,a.useCallback)(()=>{let n=!1,e=(0,U.v2)(t,!0);return e&&!C()(i()(e,"[0]",{}))&&(n="SA-SIGN-IN-POPUP"===B.Qoz[i()(e,"[0].actionType","")]),n},[t,nL]);(0,a.useEffect)(()=>{let n=(0,U.b1)(),e=()=>(0,U._$)({callback:em,rewardsID:nt,routePrefix:g}),t=e0.current;if((0,U.Dy)(),tY(t,!1),e3&&th.fullHeader){let{requestIdleCallback:n}=(0,U.Jv)();n(()=>v())}c&&c.isSBA&&e3&&!n&&xo(eP,tW);let r="STORE-LOCATOR"===B.Qoz[n8];r&&p&&(window.YourStore={},window.YourStore.setupYourStoreMenu=p,p(nW)),n7&&nt&&n4&&(eo(!0),(0,U.i2)(g,nt).then(n=>{eo(!1),n&&em(n),(0,U.Ok)(),document.addEventListener(B.eSr,e)}).catch(n=>{console.error(n),eo(!1)}));let o=()=>{r&&p?(window.YourStore={},window.YourStore.setupYourStoreMenu=p,p()):tz()},i=n=>{if(eN&&eN.current&&!eN.current.contains(n.target)&&(eC(!1),ev(!0)),eP&&eP.current&&eP.current.contains(n.target)){"emptyWrapperContainer"===n.target.getAttribute("id")&&(tz(),n.stopPropagation());return}eF.current&&tz()},a=e=>{!e3&&eF.current&&e&&e.target&&e.target.closest&&e.target.closest("#cartMenuHolder")&&!n&&(e.stopPropagation(),tz())},s=n=>{let e=n.which||n.keyCode,t="Escape"===n.key||27===e;t&&eF.current&&(tz(!0),n.preventDefault())};return document.addEventListener("mouseover",a),document.addEventListener("keydown",s,!0),document.addEventListener("click",i,!0),window.addEventListener("spaTransitionEnd",o),()=>{document.removeEventListener("click",i,!0),document.removeEventListener("mouseover",a),document.removeEventListener("keydown",s,!0),window.removeEventListener("spaTransitionEnd",o),document.removeEventListener(B.eSr,e),tY(t,!1,!0)}},[]);let tW=n=>{let e=B.Qoz[n8];if("CART"===e){if(tb)return;H(!0),eP&&eP.current&&eP.current.contains(n.target)&&!n9&&et(!0)}},tz=n=>{if(s&&ee&&ew(!1),et(!1),nQ&&F&&F(1),eP&&eP.current&&eP.current.firstElementChild){if(n)eP.current.firstElementChild.classList.remove("noBlueOutlineOnFocus");else{eP.current.firstElementChild.classList.add("noBlueOutlineOnFocus");return}e4?setTimeout(()=>{eP.current.firstElementChild.focus()},100):eP.current.firstElementChild.focus()}};(0,a.useEffect)(()=>{let n=("sm"===ty||"xs"===ty)&&("md"===b||"lg"===b)||("md"===ty||"lg"===ty)&&("sm"===b||"xs"===b);e3&&ee&&n&&et(!1)},[b]),(0,a.useEffect)(()=>{$&&xa(t)&&ty===b&&(eP&&eP.current&&eP.current.firstElementChild&&eP.current.firstElementChild.focus(),et(!0))},[$]),(0,a.useEffect)(()=>{ei&&n9&&(xr({ref:eP,componentRendererRef:eH,designType:B.JDr[e$],isMegaMenu:te,isCartMenu:e3,isMobileMenu:to,isImageMenu:ta,isTextMenu:ti,appendActiveClass:ee,parentRef:k,isDrawerComponent:e4,calculateLeft:!1,smallBucket:nQ,isListMenu:ts,calculateHeight:!nr,assignHeight:eh,bottomLeftContent:z,ariaLabel:eY,isShopFlexibleMenu:tt,isSolutionsMenu:tr,isWhiteLabel:nq,isEDiv:nZ}),eh&&eh(!0))},[ei]),(0,a.useEffect)(()=>{ee&&ts&&!er?(xr({ref:eP,componentRendererRef:eH,designType:B.JDr[e$],isMegaMenu:te,isCartMenu:e3,isMobileMenu:to,isImageMenu:ta,isTextMenu:ti,appendActiveClass:ee,parentRef:k,isDrawerComponent:e4,calculateLeft:!1,smallBucket:nQ,isListMenu:ts,calculateHeight:!nr,assignHeight:eh,bottomLeftContent:z,ariaLabel:eY,isShopFlexibleMenu:tt,isSolutionsMenu:tr,isWhiteLabel:nq,isEDiv:nZ}),ex(!0)):!ee&&ts&&ex(!1)},[ec,ee,ts,er]),(0,a.useEffect)(()=>{let{requestIdleCallback:n}=(0,U.Jv)();if(n(()=>{xr({ref:eP,componentRendererRef:eH,designType:B.JDr[e$],isMegaMenu:te,isCartMenu:e3,isMobileMenu:to,isImageMenu:ta,isTextMenu:ti,appendActiveClass:ee,parentRef:k,isDrawerComponent:e4,calculateLeft:!nr,smallBucket:nQ,isListMenu:ts,calculateHeight:!nr,assignHeight:eh,bottomLeftContent:z,isShopFlexibleMenu:tt,isSolutionsMenu:tr,isWhiteLabel:nq,isEDiv:nZ})}),!ee&&eW.current){tI(!1);let n=e3?100:e5?0:200;setTimeout(()=>
1{nV||e4||nY||nK||n$||nG||(0,U.XY)({scrollOff:!1,parentRef:k,stickyHeader:J}),e3&&c.isSBA&&w&&x&&x(),eF.current=!1,en(!1),nQ&&F&&F(1),e5&&R(!1,e4,!1,s)},n),eg&&eh&&eh(!1)}else if(ee){let n=!C()(m()(Z));n?setTimeout(()=>{R(!0,e4,!1,s),e3&&c.isSBA&&!w&&x&&x(),eF.current=!0,en(!0)},201):(R(!0,e4,!1,s),e3&&c.isSBA&&!w&&x&&x(),eF.current=!0,en(!0)),tY(e0.current,!0)}if(!ee&&$&&xa(t)&&G&&eW.current){if(ty===b&&V&&V.current){let n=V.current;setTimeout(()=>{n.focus()},250)}G(!1,null)}eW.current=!0},[ee]),(0,a.useEffect)(()=>{(void 0!==tO&&tO!==np||void 0!==tD&&tD!==nV||void 0!==tE&&tE!==nz||void 0!==tA&&tA!==nY||void 0!==tL&&tL!==nK||void 0!==tM&&tM!==n$||void 0!==tk&&tk!==nG)&&(np||nV||nz||nY||nK||n$||nG?(0,U.XY)({scrollOff:!0,parentRef:k,stickyHeader:J}):(0,U.XY)({scrollOff:!1,parentRef:k,stickyHeader:J}))},[nz,nV,np,nY,nK,n$,nG]),(0,a.useEffect)(()=>{let n=te||to||ti||ta||ts||e3&&c.isSBA&&Q||e4||tu||tt||tr;n9&&((0,U.XY)({scrollOff:n,parentRef:k,stickyHeader:J}),tf||W({background:!nk,componentRendererRef:eH,subheader:s,isDrawerComponent:e4,isCartMenuItem:e3,isLoginDrawer:""}),K(!0)),!n9&&eU.current&&tY(e0.current,!1),eU.current=!0;let e=()=>{eP&&eH&&!e4&&setTimeout(()=>{xr({ref:eP,componentRendererRef:eH,designType:B.JDr[e$],isMegaMenu:te,isCartMenu:e3,isMobileMenu:to,isTextMenu:ti,isImageMenu:ta,appendActiveClass:ee,parentRef:k,isDrawerComponent:e4,calculateLeft:!0,smallBucket:nQ,isListMenu:ts,calculateHeight:ee,assignHeight:eh,onResize:!0,bottomLeftContent:z,isShopFlexibleMenu:tt,isSolutionsMenu:tr,isWhiteLabel:nq,isEDiv:nZ})},500)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[n9]),(0,a.useEffect)(()=>{tC&&!tg&&tW&&c.isSBA&&e3&&tW({target:eP.current})},[tC]),(0,a.useEffect)(()=>{(void 0===tS||tS===ni)&&(void 0===tw||tw===na)||(ni||na?(0,U.XY)({scrollOff:!0,parentRef:k,stickyHeader:J}):nV||nz||np||(0,U.XY)({scrollOff:!1,parentRef:k,stickyHeader:J}))},[ni,na]);let tY=(n,e,t)=>{let r={};r[n]=e,q(r,t)},tK=(0,a.useCallback)((n,e,t,r,o,a,s,l)=>{let c=null,[{actionIcon:u}]=(0,U.v2)(a),p="ACCOUNT"===B.gsc[u];return n&&e&&!C()(t)?c="Your store: ".concat(i()(t,"address.city","")," ").concat(i()(t,"storeStatus","")):o?c="".concat(eY,", Items in cart ").concat(l):p&&s?c="".concat(eY,", ").concat(I," message").concat(I>1?"s":""):!T&&r||(c="".concat(eY)),c},[e5,d,f,e1,e3,t,n6,Y]),t$=(0,a.useCallback)(n=>{let{menuItem:e,fontColor:t,subHeader:r,renderComponent:o,subFontHoverColor:i,loader:a,messageCountSba:s,breakpoint:l,smallBucket:u,backgroundColor:p,routeDetails:d,accountInfo:f,dotcomCartCount:m,appendActiveClass:g,cologoExists:h,customerName:b,isShipToMenu:x,userInfo:y,hover:w,topRightContent:C,listsCountDisplay:I,approvalsCountDisplay:v,bottomNavigationFontColor:T,isMarketingMessage:_,topRightNavigationOptionItems:O,bottomRightNavigationOptionItems:D,bottomLeftNavigationOptionItems:E,topLeftMobileNavItem:A,bottomNavigationColor:L,newSaHeader:M}=n;return xe({menuItem:e,topRightContent:C,fontColor:t,subHeader:r,sbaCartCount:S,subFontHoverColor:i,renderComponent:o,loader:a,siteVariables:c,accountInfo:f,breakpoint:l,smallBucket:u,messageCountSba:s,backgroundColor:p,routeDetails:d,dotcomCartCount:m,appendActiveClass:g,customerName:b,cologoExists:h,rewardsData:ef,isLogoOnlyHeader:tx,isShipToMenu:x,userInfo:y,hover:w,listsCountDisplay:I,approvalsCountDisplay:v,newSaHeader:M,topRightNavigationOptionItems:O,bottomRightNavigationOptionItems:D,bottomLeftNavigationOptionItems:E,topLeftMobileNavItem:A,bottomNavigationColor:L,bottomNavigationFontColor:T,isMarketingMessage:_,bottomNavigationFontColorHover:n1})},[t,o,s,n9,l,er,h,c,b,S,n0,u,Y,ee,ns,nl,T,tl,nR,ey,tP,tB,nB,nj,nH,nF,nU]),tG=(0,a.useCallback)(n=>{let{menuItem:e,fontColor:t,subHeader:r,renderComponent:o,subFontHoverColor:i,loader:a,routeDetails:s,siteVariables:l,appendActiveClass:c,cologoExists:u,isShipToMenu:p,shippingCity:d,shippingState:f,userInfo:m,hover:g,newSaHeader:x,topRightNavigationOptionItems:y,bottomRightNavigationOptionItems:w,bottomLeftNavigationOptionItems:S,isDrawerComponent:C,topRightContent:I,smallBucket:v,icon:T,isMobileMenu:_,isWhiteLabel:O,isEDiv:D}=n;return xt({menuItem:e,fontColor:t,subHeader:r,renderComponent:o,subFontHoverColor:i,loader:a,accountInfo:h,siteVariables:l,breakpoint:b,routeDetails:s,appendActiveClass:c,cologoExists:u,isShipToMenu:p,shippingCity:d,shippingState:f,userInfo:m,hover:g,newSaHeader:x,topRightNavigationOptionItems:y,bottomRightNavigationOptionItems:w,bottomLeftNavigationOptionItems:S,isDrawerComponent:C,topRightContent:I,smallBucket:v,icon:T,isMobileMenu:_,isWhiteLabel:O,isEDiv:D,isMarketingMessage:eJ,bottomNavigationFontColor:nX,bottomNavigationFontColorHover:n1})},[t,o,s,n9,l,er,h,c,b,u,ee,ns,tl,ng,nm,nR,to,ey,nB,eJ,nj,nH,nF,e4,T,nQ,ez,to,nq,nZ]),tV=(n,e,t)=>{if(n&&n.stopPropagation&&n.stopPropagation(),e){let{destinationURL:n,destinationReplaceURL:r}=e,[{actionType:o}]=(0,U.v2)(e),i=B.Qoz[o];("LOGIN"===i||"LOGIN"===t||"CREATE-ACCOUNT"===i)&&_&&_(r||n,"CREATE-ACCOUNT"===i),("MARKETO"===i||"MARKETO"===t)&&nu&&nu(!0),("LOYALTY-ENROLLMENT-DRAWER"===i||"LOYALTY-ENROLLMENT-DRAWER"===t)&&nS&&nS(!0),("LOYALTY-OFFERS-DRAWER"===i||"LOYALTY-OFFERS-DRAWER"===t)&&nT&&nT(!0),("LOYALTY-OFFER-ACTIVATION-DRAWER"===i||"LOYALTY-OFFER-ACTIVATION-DRAWER"===t)&&nT&&n_(!0),("LOYALTY-BONUS-CATEGORIES-DRAWER"===i||"LOYALTY-BONUS-CATEGORIES-DRAWER"===t)&&nE&&nE(!0),tz&&tz()}};if(E||(0,U.Z1)({item:t,userData:{...u,...h},siteVariables:c,segmentCode:L,domain:nh,breakpoint:b,rewardsData:ef,headerTypes:th})){let e=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=[],t=n=>
1{if(Array.isArray(n)){n.forEach(t);return}if(!n||"object"!=typeof n)return;let r=i()(n,"navigationImageBanner",[]);C()(r)||r.forEach(n=>{let t=i()(n,"persMbxHdr",[]);C()(t)||e.push(...t.filter(Boolean))}),Object.values(n).forEach(t)};return t(n),[...new Set(e)]},p=async function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(C()(n))return{};let e=await M().post("/ele-lpd/api/sparxProxy/getAdobeMBoxData",{mboxName:n,clientSideAnalytics:!0}),t=i()(e,"data.adobeResponse.FlexibleBannerConfigurator",[]);return t.reduce((n,e)=>{let t=i()(e,"mboxName")||i()(e,"displayProposition.scope")||"";return t&&(n[t]=e),n},{})},m=(r,o)=>{r&&r.stopPropagation&&r.stopPropagation();let a=B.Qoz[n8],s=e$&&"REWARDS-TEXT-MENU"===B.JDr[e$],l="LISTS-DRAWER"===a||"CREATE-LIST"===a,m=!C()(eQ)&&(0,U.QJ)({actionOverridesByGroup:eQ,accountInfo:h}),b=(0,U.Gp)(t,h,u,L),x="BDR_CHAT"===a;if(!(e1||td&&!o||eH&&eH.current&&eH.current.contains(r.target)||eN&&eN.current&&eN.current.contains(r.target))){if(tl){n.openSTSModal&&n.openSTSModal();return}if((tp||td&&o)&&ed(!0),"CHAT"===a||x){es?(0,U.vh)(eY,x,n3):(eo(!0),(0,U.KU)(n2).then(()=>{eo(!1),el(!0),(0,U.vh)(eY,x,n3)}).catch(()=>{eo(!1)})),b7(r,t,nQ);return}if("FEEDBACK"===a){(0,U.Tp)("header_feedback_Qualtrics",r),b7(r,t,nQ);return}if("LISTS"===a)g&&!ee&&(eo(!0),M().post("".concat(g,"/api/sparxProxy/getListCardData")).then(n=>{eo(!1),n.data.listsData&&eu(n.data.listsData)}).catch(n=>{console.error(n),eo(!1)}));else if("CREATE-LIST"===a){if(tP>0){no.pushRoute(b);return}if(nx){nx(!0);return}}else if("CART"===a){if(c.isSBA&&!ee&&tg){if(c.isSBA){setTimeout(()=>{et(!0)},100),r.preventDefault();return}et(!ee),r.preventDefault();return}if(tg&&!ee){b7(r,t,nQ),setTimeout(()=>{et(!0)},100),r.preventDefault();return}let n=i()(t,"destinationReplaceURL","")||i()(t,"destinationURL","");if(n){b7(r,t,nQ),et(!ee),nk?nM(r):no.pushRoute(n);return}}else if(("LOGIN"===a||"LOGIN"===m||"CREATE-ACCOUNT"===a)&&_){let n=i()(t,"destinationReplaceURL","")||i()(t,"destinationURL","");setTimeout(()=>{_(l?null:n,"CREATE-ACCOUNT"===a,l&&{successCallBack:()=>(0,U.SX)({openListsDrawer:nb,isLoggedIn:nW,openCreateListDrawer:nx,routePrefix:g}),openLoginDrawer:!0})},400)}else if(l){(0,U.SX)({openListsDrawer:nb,isLoggedIn:nW,openCreateListDrawer:nx,routePrefix:g}),b7(r,t,nQ);return}else(s||n7)&&nt&&n4&&!ee?(eo(!0),(0,U.i2)(g,nt).then(n=>{eo(!1),n&&em(n)}).catch(n=>{console.error(n),eo(!1)})):"STORE-LOCATOR"===a&&nD&&nD(eP);("MARKETO"===a||"MARKETO"===m)&&nu&&nu(!0),et(!ee),!ee&&i()(eq,"childAPIToggle",!1)&&i()(eq,"id","")&&C()(eO)&&(e_(!0),M().post("/ele-lpd/api/common/lpdProxy-common/getMenuContent",{id:i()(eq,"id",""),routeDetails:u,siteVariables:c}).then(n=>{if(n&&!C()(i()(n,"data[0]",{}))){let t=i()(n,"data[0].navigationFlyouts",{});eD(i()(n,"data[0]",{}));let r=e(t);if(!C()(r))return p(r)}return{}}).then(n=>{eR(n||{})}).catch(n=>{console.error(n),eR({})}).finally(()=>{e_(!1)})),b7(r,t,nQ,e5&&d&&!C()(f),f)}},x=(n,e)=>{if((13===n.charCode||13===n.which||13===n.keyCode)&&m(n,e),(0,U.G5)(n)&&n9&&n.shiftKey&&eH&&eH.current&&eP&&eP.current&&eP.current.firstElementChild&&document.activeElement===eP.current.firstElementChild){if(te||tt||tr)ej&&ej.current&&ej.current.lastElementChild&&ej.current.lastElementChild.firstElementChild&&(ej.current.lastElementChild.firstElementChild.focus(),n.preventDefault());else{let e=Array.from(eH.current.querySelectorAll('button:not([tabindex="-1"]), a:not([tabindex="-1"]), input:not([tabindex="-1"]), select, textarea, * [tabindex]:not([tabindex="-1"]):not([class^="ps__thumb"])'));if(e.length>0){let t=e[e.length-1];t.focus(),n.preventDefault()}else tz&&tz(!0)}}},w=()=>{let n=0;if(k&&k.current){let e=k.current.getBoundingClientRect(),t=e.top;e.top<0&&e.height>t&&(t=e.height-Math.abs(t)),n=e.top<0&&e.height>t?t:t+e.height}return n};if(tf&&!tT||tf&&tT&&("ACTIVE-ZIP-CODE-DRAWER"===B.Qoz[n8]&&C()(nc)||"EMPTY-ZIP-CODE-DRAWER"===B.Qoz[n8]&&!C()(nc)))return null;let v={},E=!1;if(e5&&d&&!C()(f)){E=!0;let n=f.storeStatus||"",e=f.storeStatusTime||"",t=f.address||{},r=t.city||"",o=t.state||"",i=f.closingSoon;v={storeStatus:n,storeStatusTime:e,address:t,city:r,state:o,isStoreOpen:"Open"===n,closingSoon:i,storeStatusText:n}}let A=!tl&&!tm&&!tv&&!T,R=eJ&&["sm","md","lg"].includes(b),H=!eJ&&(e1||e2||tc||e6)||R,F=i()(t,"action[0]",{});return(0,r.jsxs)(b6,{ref:eP,$styledprop:{menuItemFlyoutOpen:n9,subSAMenuItemWithIcon:ez&&s&&c.isSBA,saMainNavCartMenuItemIcon:ez&&!s&&"CART"===B.Qoz[n8]&&c.isSBA,topLeftMenuItemIcon:ez&&!s&&!("CART"===B.Qoz[n8]&&c.isSBA)&&!T,menuItemIcon:ez&&!s&&T,cartMenuItemIcon:ez&&!s&&e3,topRightCTAContentLoggedOut:!ez&&e2&&!s&&!eJ&&!nW,isCartMe
1nuItem:e3,hideInSmallBucket:ez&&!s&&("xs"==b||"sm"===b)&&c.isSBA&&!e3,subTextMenuItemWrapperClick:!ez&&n9&&s,textMenuItemWrapperClick:!ez&&n9&&!s&&nW,textMenuItemDestinationMenu:!ez&&!n9&&(e1||tc)&&!(e1&&s)&&nW,subTextMenuItemWrapper:!ez&&!n9&&s&&!(e1||tc),textMenuItemWrapper:!ez&&!n9&&!s&&!(e1||tc)&&nW,addLinkHover:s&&e1,addHoverEffect:!s&&!ez&&!(e1||tc)&&nW,leftDivider:tm,textDestionationMenu:A&&z,rightDivider:!tm&&"divider-right"===eG,sbaHamburgerMenuIcon:ez&&to&&nQ&&c.isSBA&&C()(tH),subHeader:s,newSAHeaderHamburgerIconBorder:nB&&c.isSBA&&("sm"===b||"xs"===b)&&!nj,bottomRightNavigationOptionsMenuItemCSS:nB&&c.isSBA&&s&&nH,bottomLeftNavigationOptionsMenuItemCSS:nB&&c.isSBA&&s&&nF,topLeftMobileNavigationOptionsMenuItemCSS:nB&&c.isSBA&&s&&nU,topRightNoActionItems:nB&&c.isSBA&&nj&&!nW&&!t.destinationURL&&C()(F)},id:e3?"cartMenuHolder":O,onClick:m,onKeyUp:n=>{(13===n.charCode||13===n.which||13===n.keyCode||9===n.charCode||9===n.which||9===n.keyCode)&&eP&&eP.current&&eP.current.firstElementChild.classList.remove("noBlueOutlineOnFocus"),(0,U.G5)(n)&&tI(!0)},onKeyDown:n=>{x(n)},...(s||T)&&{onMouseEnter:()=>{ew(!0)},onMouseLeave:()=>{ew(!1)}},children:[(0,r.jsx)(nn,{...n,actionTypeHandler:tV,menuItem:t,role:e1?null:"link",ariaLabel:tK(e5,d,f,e1,e3,t,n6,Y),tabIndex:e1||td||e2?"-1":"0",ariaExpanded:e1||e8||tl||tc?null:n9,children:H?(0,r.jsx)(bS,{$styledprop:{textDestionationMenuRight:A&&!z&&s,textDestionationMenuTop:A&&!z&&!s,textDestionationMenu:A&&z,toprighttextMenu:!tl&&!tm&&!tv&&T&&nW,primaryHeadliner:!s,hiTouchTopleftwithIcon:z&&u.routeId===B.cVK,topleftwithIcon:z&&u.routeId!==B.cVK,saMainNavCartMenuItemIcon:ez&&!s&&"CART"===B.Qoz[n8]&&c.isSBA,isCtaButtonTopRight:e2&&!s},children:(0,r.jsx)(j.Z,{accountInfo:h,siteVariables:c,breakpoint:b,routeDetails:u,righttexticonwrapper:!!T,color:o,isPermissionLimitCheckedAtParent:!0,navTextData:t,actionTypeHandler:tV,primaryHeader:!s,headerType:y,type:D,subHeader:s,subHeaderMenuWithIcon:tv,dispatchAnalytics:b7,isTextDestinationMenuItem:!0,openSTSModal:X,openADDShipToDrawer:ne,tabindex:tl?-1:0,bottomLeftContent:z,primaryStoreObject:f,setRequiredCookieModalOptions:ny,isMarketingMessage:eJ,newSaHeader:!0,topRightContent:T&&!s,isTopRightCTA:!nW&&T&&e2})}):tf?(0,r.jsxs)(by,{$styledprop:{isEmptyZipCodeDrawer:tp},onMouseDown:U.ZA,onClick:n=>m(n,!0),onKeyUp:U.M,onKeyDown:n=>{x(n,!0)},children:[ez&&(0,r.jsx)(bO,{$styledprop:{deliveryZipCodeDrawer:!0},children:(0,r.jsx)(P.Icon,{name:ez,size:24,color:o})}),(0,r.jsxs)(bb,{children:[tH,C()(nc)?null:(0,r.jsxs)(bx,{tabIndex:"0",children:[(0,r.jsx)("br",{}),"lg"===b?"".concat(ng&&"undefined"!==ng?(0,U.v_)(ng,11):nc,", ").concat(nm):"md"===b?ng&&"undefined"!==ng?(0,U.v_)(ng,11):nc:"".concat(ng&&"undefined"!==ng?ng:nc,", ").concat(nm)]})]})]}):E?(0,r.jsx)(a.Fragment,{children:(0,r.jsxs)(b2,{children:[(0,r.jsx)(bX,{$styledprop:{closingSoon:v.isStoreOpen&&v.closingSoon,iconOpen:v.isStoreOpen},children:(0,r.jsx)(P.Icon,{ariaLabel:ez,name:ez,id:"location",size:16})}),(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(b0,{children:"lg"===b?"".concat((0,U.v_)(i()(f,"address.city",""),12),", ").concat(i()(f,"address.state","")):"".concat((0,U.v_)(i()(f,"address.city",""),12))}),"lg"===b&&(0,r.jsx)(b1,{children:i()(f,"storeStatus","")})]})]})}):eJ?null:ez?t$({menuItem:t,accountInfo:h,fontColor:o,subHeader:s,renderComponent:n9,loader:er,subFontHoverColor:l,siteVariables:c,sbaCartCount:S,breakpoint:b,smallBucket:nQ,messageCountSba:I,backgroundColor:n0,routeDetails:u,dotcomCartCount:Y,appendActiveClass:ee,cologoExists:ns,customerName:nl,isShipToMenu:tl,userInfo:nR,hover:ey,topRightContent:T,listsCountDisplay:tP,approvalsCountDisplay:tB,newSaHeader:nB,topRightNavigationOptionItems:nj,bottomRightNavigationOptionItems:nH,bottomLeftNavigationOptionItems:nF,bottomNavigationColor:nJ,bottomNavigationFontColor:nX,isMarketingMessage:eJ}):tG({menuItem:t,fontColor:o,subHeader:s,renderComponent:n9,loader:er,subFontHoverColor:l,accountInfo:h,siteVariables:c,breakpoint:b,routeDetails:u,appendActiveClass:ee,cologoExists:ns,isShipToMenu:tl,shippingCity:ng,shippingState:nm,userInfo:nR,hover:ey,newSaHeader:nB,topRightNavigationOptionItems:nj,bottomRightNavigationOptionItems:nH,bottomLeftNavigationOptionItems:nF,isMarketingMessage:eJ})}),eX&&tU()&&("lg"===b||"md"===b)&&!nW?(0,r.jsx)(b3,{component:tF(),bgColor:"primary",haveTabIndex:!1,openPopUp:eS,parentRef:eP,breakpoint:b}):null,e1||e8||tl||tc?null:(0,r.jsxs)(bv,{ref:eH,...n9&&{"aria-label":"".concat(eY," menu")},$styledprop:{drawerComponentWrapper:e4||nQ&&e5,flyoutComponentWrapper:!(e4||nQ&&e5),ideasWrapper:t_,twoColDesign:tu,drawerComponentWrapperActive:ee&&(e4||nQ&&e5),flyoutComponentWrapperActive:ee&&!(e4||nQ&&e5),worklifeflyoutWrapper:e7,subheaderWrapper:s,loaderFlyoutWrapper:er,defaultOpenMenu:nr,isTextList:e9},className:"".concat("".concat(e$,"-wrapper")," ").concat("".concat(n8,"-wrapper")," ").concat(eT?"".concat(n8,"-loaderWrapper"):""),id:te?"".concat(n8,"_wrapper_design").concat(e$,"_").concat(eY):"".concat(n8,"_wrapper_").concat(eK,"_").concat(eY),children:[n9&&(e3&&c.isSBA&&!tb?(0,r.jsx)(b5,{headingColor:"light_gray_1",headingTextColor:"black",headerHeight:w(),shadow:!0,showIcon:!1,loggedIn:nW,closeMiniCartFlyout:tz,type:D||y}):(0,r.jsx)(nd,{...n,adobeDataMap:ek,renderChildComponent:!eZ||!C()(eO),callAnalyticsModule:b8,listsCountDisplay:tP,callZipCodeDrawer:ep,handleElementFocus:xn,unMountComponentRenderer:tz,loading:er,routePrefix:g,navigationMenuData:ec,rewardsData:ef,parentRef:eP,navMainParentWrapperRef:k,megaMenuUlRef:ej,openRewardsSignupDrawer:nw,openLoyaltyEnrollmentDrawer:nS,openLoyaltyOffersDrawer:nT,openLoyaltyBPCDrawer:nE,openLoyaltySKUOffersDrawer:n_,componentRendererWrapperRef:eH,headerHeight:w(),showingMC:!0,userType:nW?"REGISTERED":"GUEST",openLoginDrawer:n=>{let{isCreateAccount:e,destinationURL:t,...r}=n;tz&&tz(),_&&setTimeout(()=>{_(t,e,r)},400)},closeMiniCartFlyout:tz,setMenuFlyoutLoaded:ea,menuFlyoutLoaded:ei,heightAssigned:eg,calculateFlyoutPosition:xr,updatedScroll:eb,toDisableScroll:()=>{setTimeout(()=>
1{(0,U.XY)({scrollOff:!0,parentRef:k,stickyHeader:J})},100)},primaryStoreObject:f,mobileMenuContent:eE,setMobileMenuContent:eA,menuItem:C()(eO)?t:eO,...tn?{recentOrderData:eL,setRecentOrderData:eM}:{}})),eT?(0,r.jsx)(bT,{$styledprop:{isOrdersMegaMenu:tn,twoColDesign:tu},className:"".concat("".concat(e$,"-loadingContent")," ").concat("".concat(n8,"-loadingContent")," "),children:(0,r.jsxs)(b_,{children:[" ",(0,r.jsx)(N.Spinner,{size:"sm"})]})}):null]})]})}return null};var xl=(0,w.withRouter)(xs);function xc(){let n=(0,W._)(["\n    border-radius: 0;\n    height: 60px;\n    display: flex;\n    width: 100%;\n    flex-direction: row;\n    vertical-align: middle;\n    align-items: center;\n    position: relative;\n    line-height: normal;\n    box-shadow: 0 13px 21px -9px rgba(0, 0, 0, .2);\n    margin-bottom: 0;\n    @media all and (max-width: ","px) {\n      display: block;\n    }\n    @media print {\n      display: none;\n    }\n\n     ","\n\n  ",";\n"]);return xc=function(){return n},n}function xu(){let n=(0,W._)(["\n    padding: 0px 12px;\n  "]);return xu=function(){return n},n}function xp(){let n=(0,W._)(["\n    padding: 0px 14px;\n  "]);return xp=function(){return n},n}function xd(){let n=(0,W._)(["\n    display: flex;\n    align-items: center;\n    width: 100%;\n    height: 100%;\n    padding: 0px 8px;\n    &:focus {\n      outline: none;\n    }\n    ","\n\n   ","\n   ","\n"]);return xd=function(){return n},n}function xf(){let n=(0,W._)(["\n  display: flex;\n  justify-content: flex-start;\n  flex-grow: 1;\n  letter-spacing: .43px;\n  align-items: center;\n  height: 100%;\n  gap: 8px;\n  @media all and (max-width: ","px) {\n    justify-content: center !important;\n  }\n"]);return xf=function(){return n},n}function xm(){let n=(0,W._)(["\n  display: flex;\n  justify-content: flex-end;\n  flex-grow: 0;\n  align-items: center;\n  padding-left: 16px;\n  height: 100%;\n  gap:8px;\n  @media all and (max-width: ","px) {\n    gap: 16px;\n  }\n  @media all and (min-width: ","+1) and (max-width: ","px) {\n    padding-left: 0;\n    padding-right: 20px;\n  }\n  @media all and (max-width: ","px) {\n    padding-right: 0;\n  }\n"]);return xm=function(){return n},n}function xg(){let n=(0,W._)(["\n    flex: auto;\n    @media screen and (max-width: ","px) {\n      padding: 10px 0;\n    }\n    ","\n    ","\n"]);return xg=function(){return n},n}function xh(){let n=(0,W._)(["\n\n  ","\n"]);return xh=function(){return n},n}xs.defaultProps={accountInfo:{},activeScreen:1,approvalsCount:0,automationID:"",bottomLeftContent:!1,bottomLeftNavigationOptionItems:!1,bottomRightNavigationOptionItems:!1,breakpoint:"xs",changeParentStyle:()=>{},checkYourStoreData:()=>{},closeSearchFlyout:()=>{},closeSetYourStoreDrawer:()=>{},closeYourStoreDrawer:()=>{},cologoExists:!1,customerName:"",defaultOpenState:!1,domain:"",dotcomCartCount:0,fontColor:"",getCart:()=>{},headerData:{bottomNavigationColor:"",bottomNavigationFontColor:"",topNavigationColor:"primary",bottomNavigationFontColorHover:""},headerFlyoutStatus:!1,headerType:"",isBudgetCenterOverlayOpened:!1,isMessagesOverlayOpened:!1,isNewSBAMINICart:!1,listsCount:0,loadedActions:!1,loyaltyEnrollmentDrawerOptions:{},loyaltyOffersDrawerOptions:{},menuItem:{actionIcon:"",actionOverridesByGroup:[],actionType:"",ariaLabel:"",design:"",destinationURL:"",headliner:"",icon:!1,metadata:{},navigationPopUp:[],targetWindow:"",treatmentType:""},menuItemInstances:{},menuItemsInstanceHandler:()=>{},messageCountSba:0,navigationPopUp:[],newSaHeader:!1,openADDShipToDrawer:()=>{},openHeaderMenuFlyout:()=>{},openListsDrawer:()=>{},openLoyaltyBPCDrawer:()=>{},openLoyaltyBPCDrawerOptions:{},openLoyaltyEnrollmentDrawer:()=>{},openLoyaltyOffersDrawer:()=>{},openLoyaltySKUOffersDrawer:()=>{},openMenuLinkRef:null,openRewardsSignupDrawer:()=>{},openSetYourStoreDrawer:()=>{},openStoreLocatorDrawer:()=>{},openSTSModal:()=>{},openYourStoreDrawer:()=>{},parentRef:null,permissionApplied:!1,primaryStoreObject:{},qoDrawerOptions:{},rewardsDrawerOptions:{},rewardsNumber:"",routeDetails:{isWhiteLabel:!1,routeId:"",routeType:""},routePrefix:"/ele-lpd",sbaCartCount:0,segmentCode:"",setActiveBackgroun
1d:()=>{},setIsTopRightFlyoutOpen:()=>{},setMobileFlyoutScrollTop:()=>{},setRequiredCookieModalOptions:()=>{},setSmallScreen:()=>{},setYourStoreDropdown:!1,shippingCity:"",shippingState:"",showCreateList:()=>{},showDotcomMiniCart:!1,showLoginDrawer:()=>{},showMiniCart:!1,siteVariables:{isProd:!1,isSBA:!1,isCOM:!0},stickyHeader:!1,storeLocatorParentRef:null,subFontHoverColor:"",subHeader:!1,subHeaderMenuWithIcon:!1,supressHeaderClick:!1,toggleHeaderFlyoutStatus:()=>{},toggleMarketoDrawer:()=>{},toggleMiniCart:()=>{},toOpenMarketoDrawer:!1,toOpenMenuFlyout:!1,topLeftContent:!1,topLeftMobileNavItem:!1,topRightContent:!1,topRightNavigationOptionItems:!1,tpvCartClick:()=>{},type:"",userInfo:{},yourStoreDropdown:!1,yourStoreSection:!1,zipCode:""},xs.propTypes={accountInfo:_().object,activeScreen:_().number,approvalsCount:_().number,automationID:_().string,bottomLeftContent:_().bool,bottomLeftNavigationOptionItems:_().bool,bottomRightNavigationOptionItems:_().bool,breakpoint:_().string,changeParentStyle:_().func,checkYourStoreData:_().func,closeSearchFlyout:_().func,closeSetYourStoreDrawer:_().func,closeYourStoreDrawer:_().func,cologoExists:_().bool,customerName:_().string,defaultOpenState:_().bool,domain:_().string,dotcomCartCount:_().number,fontColor:_().string,getCart:_().func,headerData:_().shape({bottomNavigationColor:_().string,bottomNavigationFontColor:_().string,bottomNavigationFontColorHover:_().string,topNavigationColor:_().string}),headerFlyoutStatus:_().bool,headerType:_().string,isBudgetCenterOverlayOpened:_().bool,isMessagesOverlayOpened:_().bool,isNewSBAMINICart:_().bool,listsCount:_().number,loadedActions:_().bool,loyaltyEnrollmentDrawerOptions:_().object,loyaltyOffersDrawerOptions:_().object,menuItem:_().shape({actionIcon:_().string,actionOverridesByGroup:_().array,actionType:_().string,ariaLabel:_().string,design:_().string,destinationURL:_().string,headliner:_().array,icon:_().string,metadata:_().object,navigationPopUp:_().array,targetWindow:_().string,treatmentType:_().string}),menuItemInstances:_().object,menuItemsInstanceHandler:_().func,messageCountSba:_().number,navigationPopUp:_().array,newSaHeader:_().bool,openADDShipToDrawer:_().func,openHeaderMenuFlyout:_().func,openListsDrawer:_().func,openLoyaltyBPCDrawer:_().bool,openLoyaltyBPCDrawerOptions:_().object,openLoyaltyEnrollmentDrawer:_().func,openLoyaltyOffersDrawer:_().func,openLoyaltySKUOffersDrawer:_().func,openMenuLinkRef:_().oneOfType([_().func,_().shape({current:_().elementType})]),openRewardsSignupDrawer:_().func,openSetYourStoreDrawer:_().func,openStoreLocatorDrawer:_().func,openSTSModal:_().func,openYourStoreDrawer:_().func,parentRef:_().oneOfType([_().func,_().shape({current:_().elementType})]),permissionApplied:_().bool,primaryStoreObject:_().object,qoDrawerOptions:_().object,rewardsDrawerOptions:_().object,rewardsNumber:_().string,routeDetails:_().shape({isWhiteLabel:_().bool,routeId:_().string,routeType:_().string}),routePrefix:_().string,router:_().object.isRequired,sbaCartCount:_().number,segmentCode:_().string,setActiveBackground:_().func,setIsTopRightFlyoutOpen:_().func,setMobileFlyoutScrollTop:_().func,setRequiredCookieModalOptions:_().func,setSmallScreen:_().func,setYourStoreDropdown:_().bool,shippingCity:_().string,shippingState:_().string,showCreateList:_().func,showDotcomMiniCart:_().bool,showLoginDrawer:_().func,showMiniCart:_().bool,siteVariables:_().shape({isCOM:_().bool,isProd:_().bool,isSBA:_().bool}),stickyHeader:_().bool,storeLocatorParentRef:_().oneOfType([_().func,_().shape({current:_().elementType})]),subFontHoverColor:_().string,subHeader:_().bool,subHeaderMenuWithIcon:_().bool,supressHeaderClick:_().bool,toggleHeaderFlyoutStatus:_().func,toggleMarketoDrawer:_().func,toggleMiniCart:_().func,toOpenMarketoDrawer:_().bool,toOpenMenuFlyout:_().bool,topLeftContent:_().bool,topLeftMobileNavItem:_().bool,topRightContent:_().bool,topRightNavigationOptionItems:_().bool,tpvCartClick:_().func,type:_().string,userInfo:_().object,yourStoreDropdown:_().bool,yourStoreSection:_().bool,zipCode:_().string},xe.defaultProps={accountInfo:{},backgroundColor:"primary",breakpoint:"xs",cologoExists:!1,dotcomCartCount:0,fontColor:"",loader:!1,menuItem:{actionIcon:"",actionType:"",destinationURL:"",headliner:"",icon:!0,targetWindow:"",treatmentType:"",iconOverridesByGroup:""},messageCountSba:0,renderComponent:!0,routeDetails:{routeId:"",routeType:""},sbaCartCount:0,showDotcomMiniCart:!1,siteVariables:{isCOM:!0,isSBA:!1},subFontHoverColor:"",subHeader:""},xe.propTypes={accountInfo:_().object,backgroundColor:_().string,breakpoint:_().string,cologoExists:_().bool,dotcomCartCount:_().number,fontColor:_().string,loader:_().bool,menuItem:_().shape({actionIcon:_().string,actionType:_().string,ariaLabel:_().string,destinationURL:_().string,headliner:_().string,icon:_().bool,iconOverridesByGroup:_().array,targetWindow:_().string,treatmentType:_().string}),messageCountSba:_().number,renderComponent:_().bool,routeDetails:_().shape({routeId:_().string,routeType:_().string}),sbaCartCount:_().number,showDotcomMiniCart:_().bool,siteVariables:_().shape({isCOM:_().bool,isSBA:_().bool}
1),subFontHoverColor:_().string,subHeader:_().string},xt.defaultProps={cologoExists:!1,fontColor:"",menuItem:{actionIcon:"",actionOverridesByGroup:[],actionType:"",design:"",headliner:"",icon:!0,navigationPopUp:[],treatmentType:""},renderComponent:!0,routeDetails:{isWhiteLabel:!1,routeId:"",routeType:""},siteVariables:{},subFontHoverColor:"",subHeader:""},xt.propTypes={cologoExists:_().bool,fontColor:_().string,menuItem:_().shape({actionIcon:_().string,actionOverridesByGroup:_().array,actionType:_().string,design:_().string,headliner:_().string,icon:_().bool,navigationPopUp:_().array,treatmentType:_().string}),renderComponent:_().bool,routeDetails:_().shape({isWhiteLabel:!1,routeId:_().string,routeType:_().string}),siteVariables:_().object,subFontHoverColor:_().string,subHeader:_().string};let xb=z.default.div.withConfig({componentId:"sc-8448d539-0"})(xc(),nm.BREAKPOINTS.sm,n=>n.$bottomNavigationColor&&"\n    background-color: ".concat(Y.colors["primary"==n.$bottomNavigationColor?"brand":n.$bottomNavigationColor]," !important; \n    // In ele-ui we have primary color but in staples ui primary is not available for temp fix if it's primary then updating to brand. Need to check with business\n  "),n=>n.$headerDropShadow&&"\n      z-index: 99;\n      ".concat(n.$bottomNavigationFontColor&&"color: ".concat(Y.colors[n.$bottomNavigationFontColor],";"),"\n      ").concat(n.$bottomNavigationColor&&"background-color: ".concat(Y.colors[n.$bottomNavigationColor]," !important;"),"\n  ")),xx=z.default.div.withConfig({componentId:"sc-8448d539-1"})(xd(),n=>n.$bottomNavigationColor?"background-color: ".concat(Y.colors[n.$bottomNavigationColor]," !important;"):"",(0,nh.Nv)("xs",(0,z.css)(xu())),(0,nh.Nv)("sm",(0,z.css)(xp()))),xy=z.default.div.withConfig({componentId:"sc-8448d539-2"})(xf(),nm.BREAKPOINTS.sm),xw=z.default.nav.withConfig({componentId:"sc-8448d539-3"})(xm(),nm.BREAKPOINTS.xs,nm.BREAKPOINTS.sm,nm.BREAKPOINTS.md,nm.BREAKPOINTS.sm),xS=z.default.div.withConfig({componentId:"sc-8448d539-4"})(xg(),nm.BREAKPOINTS.sm,n=>n.$searchExpanded&&"\n        margin-left: 1rem; \n    ",n=>n.$isEdiversity&&n.$searchExpanded&&"\n        @media screen and (max-width: ".concat(nm.BREAKPOINTS.sm,"px) {\n          margin-left: 12px;\n        }\n    ")),xC=z.default.span.withConfig({componentId:"sc-8448d539-5"})(xh(),n=>n.$isCOM?"\n            display: none;\n            @media all and (max-width: ".concat(nm.BREAKPOINTS.sm,"px) {\n              margin-left: 10px;\n              display: block;\n            }\n      "):(n.$isEdiversity,"\n          display: none;\n          @media all and (max-width: ".concat(nm.BREAKPOINTS.sm,"px) {\n              margin-left: 0px;\n              margin-right: 0;\n              display: flex;\n              height: 100%;\n              padding-right: 12px;\n          }\n      ")));function xI(){let n=(0,W._)(["\n  font-family: ",";\n  font-size: 16px;\n  display: flex;\n  margin-top: 16px;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  width: 24px;\n  &:focus {\n    outline: none;\n  }\n\n  @media print {\n    display: none;\n  }\n"]);return xI=function(){return n},n}let xv=z.default.div.withConfig({componentId:"sc-d8915923-0"})(xI(),ng.typography.type.motiva_medium),xT=R()(()=>Promise.all([t.e(2859),t.e(2598)]).then(t.bind(t,92910)),{loadableGenerated:{webpack:()=>[92910]}}),x_=R()(()=>Promise.all([t.e(9623),t.e(8374)]).then(t.bind(t,39623)),{loadableGenerated:{webpack:()=>[39623]}}),xO=n=>{let{isLoggedIn:e,headerData:t,fontColor:o,showLoginDrawer:i,breakpoint:s,yourStoreSection:l,primaryStoreObject:c,checkYourStoreData:u,changeParentStyle:p,gusSTSModalOpen:d,toOpenMenuFlyout:f,menuItemInstances:m,stickyHeader:g,showCreateList:h,routePrefix:b,type:x,headerType:y,customerFullName:w,spaLoadingState:S,zipCode:I,shippingState:v,shippingCity:T,openRewardsSignupDrawer:_,openLoyaltyEnrollmentDrawer:O,openLoyaltyOffersDrawer:D,openLoyaltySKUOffersDrawer:E,openLoyaltyBPCDrawer:A,listsCount:L}=n,{mobileMenu:k}=t,[R,P]=(0,a.useState)(1),[N,B]=(0,a.useState)([]),[j,H]=(0,a.useState)(!1),[W,z]=(0,a.useState)(!1),[Y,K]=(0,a.useState)(null),[$,G]=(0,a.useState)(!1),[V,Q]=(0,a.useState)({}),[q,Z]=(0,a.useState)({}),[J,X]=(0,a.useState)(!1),[nn,ne]=(0,a.useState)(!1),nt="sm"===s||"xs"===s,nr=(n,e)=>{n&&1===n&&B([]),P(n),e?z(!0):z(!1)},no=n=>{p&&p(n,!0),H(n)},ni=()=>{p&&p(!1,!0),H(!1)};(0,a.useEffect)(()=>{u&&(window.YourStore={},window.YourStore.setupYourStoreMenu=u,u(e))},[S]);let na=n=>{B(e=>e.concat([n])),z(!1)},ns=()=>{B(n=>{if(n.length>1){let e=n.slice(0,n.length-1);return z(!0),e}if(1===n.length)return nr(1,!0),z(!0),[]})},nl=n=>{setTimeout(()=>{K(n),G(!0)},300)},nc=()=>
1{X(!0),M().post("".concat(b,"/api/sparxProxy/getListCardData")).then(n=>{X(!1),n&&n.data&&n.data.listsData&&Q(n.data.listsData)}).catch(n=>{console.error(n),X(!1)})},nu=n=>{ne(!0),(0,U.i2)(b,n).then(n=>{ne(!1),n&&Z(n)}).catch(n=>{console.error(n),ne(!1)})},np=(0,a.useMemo)(()=>(k||[]).map((e,t)=>(0,a.createElement)(xl,{...n,setSmallScreen:nr,setActiveNavTextData:na,activeNavTextData:N,removeActiveNextData:ns,goingBack:W,activeScreen:R,key:t,openRewardsSignupDrawer:_,openLoyaltyEnrollmentDrawer:O,listsCount:L,openLoyaltyOffersDrawer:D,openLoyaltyBPCDrawer:A,openLoyaltySKUOffersDrawer:E,smallBucket:!0,menuItem:e,fontColor:o,showZipCodeDrawer:no,showLoginDrawer:i,yourStoreSection:l,closeZipCodeeDrawerForMobile:ni,automationID:"top_left_mobile_menu_item_".concat(t),openTextMenuDrawer:nl,primaryStoreObject:c,showCreateList:h,getListDataForMobile:nc,mobileListsData:V,mobileListLoader:J,mobileRewardsLoader:nn,getRewardsDataForMobile:nu,mobileRewardsData:q,topLeftMobileNavItem:!0})),[k,o,L,R,N,s,l,c,W,d,f,m,g,V,J,q,nn,x,y,w,I,v,T]);return(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(xv,{style:{margin:"0px"},children:nt&&!C()(np)&&np}),$&&!C()(Y)?(0,r.jsx)(x_,{...n,menuItem:Y,onCloseTextMenuDrawer:()=>{K(null),G(!1)},callAnalyticsModule:n=>{try{n&&(n.headerVersion="mobile"),F.Z.invokeAdapter({methodType:"navTrack",model:n||{},headerType:"UX2"})}catch(n){console.error("exception in navigation text menu Analytics",n)}},smallBucket:!0}):null,j?(0,r.jsx)(xT,{...n,closeStoreDrawerForMobile:ni,smallBucket:!0,callZipCodeDrawer:j}):null]})};xO.defaultProps={accountInfo:{isTimeout:!1,flowType:"",isLoggedIn:"",shipToId:""},breakpoint:"",changeParentStyle:()=>{},checkYourStoreData:()=>{},customerFullName:"",domain:"",fontColor:"",gusSTSModalOpen:!1,headerData:{bottomBarLeft:[],bottomBarRight:[],mobileMenu:[],storeLocator:[],topNavigationOptionsLeft:[],topNavigationOptionsRight:[]},headerType:"",isLoggedIn:!1,listsCount:"",menuItemInstances:{},openLoyaltyBPCDrawer:()=>{},openLoyaltyEnrollmentDrawer:()=>{},openLoyaltyOffersDrawer:()=>{},openLoyaltySKUOffersDrawer:()=>{},openRewardsSignupDrawer:()=>{},primaryStoreObject:{},routeDetails:{},routePrefix:"/ele-lpd",segmentCode:"",setYourStoreDropdown:!1,shippingCity:"",shippingState:"",showCreateList:()=>{},showLoginDrawer:()=>{},siteVariables:{},spaLoadingState:!1,stickyHeader:!1,toOpenMenuFlyout:!1,type:"",yourStoreDropdown:!1,yourStoreSection:!1,zipCode:""},xO.propTypes={accountInfo:_().shape({flowType:_().string,isLoggedIn:_().string,isTimeout:_().bool,shipToId:_().string}),breakpoint:_().string,changeParentStyle:_().func,checkYourStoreData:_().func,customerFullName:_().string,domain:_().string,fontColor:_().string,gusSTSModalOpen:_().bool,headerData:_().shape({bottomBarLeft:_().array,bottomBarRight:_().array,mobileMenu:_().array,storeLocator:_().array,topNavigationOptionsLeft:_().array,topNavigationOptionsRight:_().array}),headerType:_().string,isLoggedIn:_().bool,listsCount:_().string,menuItemInstances:_().object,openLoyaltyBPCDrawer:_().func,openLoyaltyEnrollmentDrawer:_().func,openLoyaltyOffersDrawer:_().func,openLoyaltySKUOffersDrawer:_().func,openRewardsSignupDrawer:_().func,primaryStoreObject:_().object,routeDetails:_().object,routePrefix:_().string,segmentCode:_().string,setYourStoreDropdown:_().bool,shippingCity:_().string,shippingState:_().string,showCreateList:_().func,showLoginDrawer:_().func,siteVariables:_().object,spaLoadingState:_().bool,stickyHeader:_().bool,toOpenMenuFlyout:_().bool,type:_().string,yourStoreDropdown:_().bool,yourStoreSection:_().bool,zipCode:_().string};let xD=n=>{let{children:e,toggleSubStatus:t}=n;return(0,a.useEffect)(()=>{t(!0)},[]),(0,r.jsx)(r.Fragment,{children:e})};function xE(n){let e=(0,a.useRef)(null),{headerData:t,breakpoint:o,searchExpanded:i,siteVariables:l,accountInfo:c,routeDetails:u,checkYourStoreData:p,yourStoreSection:d,backgroundSettings:f,primaryStoreObject:m,routePrefix:g,setYourStoreDropdown:h,yourStoreDropdown:b,type:x,headerType:y,segmentCode:w,cologoExists:S,registerRef:I,toOpenMenuFlyout:v,menuItemInstances:T,headerDropShadow:_,changeParentStyle:O,isMessagesOverlayOpened:D,isBudgetCenterOverlayOpened:E,loginStatus:A,zipCode:L,shippingState:M,shippingCity:k,domain:R,toggleSubStatus:P,openRewardsSignupDrawer:N,openLoyaltyEnrollmentDrawer:j,openLoyaltyOffersDrawer:H,openLoyaltyBPCDrawer:F,openLoyaltySKUOffersDrawer:W}
1=n,z=(0,s.useSelector)(n=>n.headerState.hideBottomBar),Y=(0,s.useDispatch)(),{routeType:K}=u,$=t.bottomNavigationFontColorHover||"primary",{bottomBarRight:G,bottomNavigationFontColor:V,bottomNavigationColor:Q,bottomBarLeft:q}=t,{shipToId:Z}=c,J=y===B.I1O||x===B.I1O||y===B.lhI||x===B.lhI,X=y===B.sie||x===B.sie,nn=t&&t.topNavigationFontColor||"white",ne=(0,U.jy)(y,x),{subheader:nt}=f,{tpvHeader:nr}=ne,no="xs"===o||"sm"===o;(0,a.useEffect)(()=>{I({ref:{subWrapperRef:e}})},[]);let ni=(0,a.useMemo)(()=>{let t=[],r=G?G.filter(n=>"xsm-quick-links"!==n.design):[];return r&&r.map((r,i)=>{(0,U.Z1)({item:r,userData:{...u,...c},siteVariables:l,segmentCode:w,domain:R,breakpoint:o,headerTypes:ne})&&t.push((0,a.createElement)(xl,{...n,key:i,menuItem:r,zipCode:L,shippingState:M,shippingCity:k,subHeader:!0,subFontHoverColor:$,changeParentStyle:O,siteVariables:l,checkYourStoreData:p,fontColor:V,yourStoreSection:d,yourStoreDropdown:b,setYourStoreDropdown:h,parentRef:e,primaryStoreObject:m,breakpoint:o,routePrefix:g,permissionApplied:!0,newSAHeader:!0,automationID:"bottom_right_menu_item_".concat(i),bottomRightNavigationOptionItems:!0}))}),t},[G,l,m,L,M,k,d,b,p,h,o,c,ne,w,v,T,Z,D,E,A,R]),na=(0,a.useMemo)(()=>{let t=[];return q&&q.map((i,a)=>{(0,U.Z1)({item:i,userData:{...u,...c},siteVariables:l,segmentCode:w,domain:R,breakpoint:o,headerTypes:ne})&&t.push((0,r.jsx)(xl,{...n,menuItem:i,subHeader:!0,subFontHoverColor:$,fontColor:V,changeParentStyle:O,routePrefix:g,parentRef:e,breakpoint:o,permissionApplied:!0,automationID:"bottom_left_menu_item_".concat(a),bottomLeftContent:!0,primaryStoreObject:m,bottomLeftNavigationOptionItems:!0},a))}),t},[q,o,c,l,ne,w,v,T,Z,E,D,A,R]);return((0,a.useEffect)(()=>{let n=n=>{if(n.shiftKey){let t=n.which||n.keyCode,r="Tab"===n.key||9===t;if(r&&e&&e.current&&e.current.contains(document.activeElement)){let n=parseInt(window.getComputedStyle(e.current).marginTop);if(n){let t=e.current.offsetTop;window.scrollTo(0,t-n)}}}};return document.addEventListener("keyup",n,!0),document.addEventListener("keydown",n,!0),()=>{document.removeEventListener("keyup",n,!0),document.removeEventListener("keydown",n,!0)}},[]),(0,a.useEffect)(()=>{C()(na)&&C()(ni)&&!z&&Y({type:"UPDATE_HEADER_BOTTOMBAR_STATE",payload:{hideBottomBar:!0}})},[na,ni,z,Y]),C()(na)&&C()(ni)&&(!l.isSBA||!S||nr||no))?null:(0,r.jsx)(xD,{toggleSubStatus:P,children:(0,r.jsxs)(xb,{$cologoExists:l.isSBA&&S,$isCOM:l.isCOM,$headerDropShadow:_,$bottomNavigationFontColor:V,$bottomNavigationColor:Q,ref:e,children:[(0,r.jsxs)(xx,{$bottomNavigationColor:Q,children:[no?i||J?null:(0,r.jsx)(xC,{$isCOM:l.isCOM,$isEdiversity:K===B.o27,children:(0,r.jsx)(xO,{...n,changeParentStyle:O,parentRef:e,subHeader:!0,openRewardsSignupDrawer:N,openLoyaltyEnrollmentDrawer:j,openLoyaltyOffersDrawer:H,openLoyaltyBPCDrawer:F,openLoyaltySKUOffersDrawer:W,fontColor:nn})}):null,!C()(na)&&!no&&!i&&(0,r.jsx)(xy,{children:na}),(0,r.jsx)(xS,{$searchExpanded:i,$isEdiversity:K===B.o27,children:J||X?null:(0,r.jsx)(pk,{...n,fontColor:nn,newSAHeader:!0,parentRef:e,headerData:t})}),i&&no?null:(0,r.jsx)(xw,{"aria-label":"account",children:!C()(ni)&&ni})]}),nt?(0,r.jsx)(pq,{backgroundSettings:f,newSAHeader:!0,parentRef:e}):null]})})}function xA(){let n=(0,W._)(["\n    padding-right: 12px;\n    gap: 12px;\n\n    @media (min-width: 601px) and (max-width: 1024px) {\n      gap: 12px;\n    }\n\n    @media (min-width: 821px) {\n      padding-right: 24px;\n    }\n  "]);return xA=function(){return n},n}function xL(){let n=(0,W._)(["\n    margin-left: 19px;\n  "]);return xL=function(){return n},n}function xM(){let n=(0,W._)(["\n        padding-right: 2px;\n    "]);return xM=function(){return n},n}function xk(){let n=(0,W._)(["\n        margin-left: 8px;\n    "]);return xk=function(){return n},n}function xR(){let n=(0,W._)(["\n  display: flex;\n  height: 100%;\n  align-items: center;\n  margin-left: 12px;\n  padding-right: 8px;\n  padding-right: 12px;\n\n  @media (min-width: 601px) and (max-width: 1024px) {\n    gap: 32px;\n  }\n\n  @media (min-width: 821) {\n    padding-right: 24px;\n  }\n\n  @media (min-width: 1440px) {\n  }\n\n  ","\n  ",";\n\n    ","\n\n    ","\n\n  @media print {\n    display: none;\n  }\n"]);return xR=function(){return n},n}xE.defaultProps={accountInfo:{accountNumber:"",billToId:"",division:"",rewardsMenuCloseState:!1,shipToId:"",isLoggedIn:!1,flowType:""},backgroundSettings:{drawer:!1,isRewardsMenu:!1,subheader:!1},breakpoint:"",changeParentStyle:()=>{},checkYourStoreData:()=>{},cologoExists:!1,cologoPath:"",domain:"",gusSTSModalOpen:!1,headerData:{},headerDropShadow:!1,headerType:"",isBudgetCenterOverlayOpened:!1,isMessagesOverlayOpened:!1,isNewSBAMINICart:!1,loginStatus:"close",menuItemInstances:{},openLoyaltyBPCDrawer:()=>{},openLoyaltyEnrollmentDrawer:()=>{},openLoyaltyOffersDrawer:()=>{},openLoyaltySKUOffersDrawer:()=>{},openRewardsSignupDrawer:()=>{},primaryStoreObject:{},registerRef:()=>{},routeDetails:{routeType:"sdc",routeId:"sdc"},routePrefix:"/ele-lpd",searchExpanded:!1,segmentCode:"",setYourStoreDropdown:!1,shippingCity:"",shippingState:"",siteVariables:{isSBA:!1,isCOM:!1},toggleSubStatus:()=>{},toOpenMenuFlyout:!1,type:"",userInfo:{},yourStoreDropdown:!1,yourStoreSection:!1,zipCode:""},xE.propTypes={accountInfo:_().shape({accountNumber:_().string,billToId:_().string,division:_().string,flowType:_().string,isLoggedIn:_().bool,rewardsMenuCloseState:_().bool,shipToId:_().string}),backgroundSettings:_().shape({drawer:_().bool,isRewardsMenu:_().bool,subheader:_().bool}),breakpoint:_().string,changeParentStyle:_().func,checkYourStoreData:_().func,cologoExists:_().bool,cologoPath:_().string,domain:_().string,gusSTSModalOpen:_().bool,headerData:_().object,headerDropShadow:_().bool,headerType:_().string,isBudgetCenterOverlayOpened:_().bool,isMessagesOverlayOpened:_().bool,isNewSBAMINICart:!1,loginStatus:_().string,menuItemInstances:_().object,openLoyaltyBPCDrawer:_().func,openLoyaltyEnrollmentDrawer:_().func,openLoyaltyOffersDrawer:_().func,openLoyaltySKUOffersDrawer:_().func,openRewardsSignupDrawer:_().func,primaryStoreObject:_().object,registerRef:_().func,routeDetails:_().shape({routeId:_().string,routeType:_().string}
1),routePrefix:_().string,searchExpanded:_().bool,segmentCode:_().string,setYourStoreDropdown:_().bool,shippingCity:_().string,shippingState:_().string,siteVariables:_().shape({isCOM:_().bool,isSBA:_().bool}),toggleSubStatus:_().func,toOpenMenuFlyout:_().bool,type:_().string,userInfo:_().object,yourStoreDropdown:_().bool,yourStoreSection:_().bool,zipCode:_().string},xD.propTypes={children:_().node,toggleSubStatus:_().func},xD.defaultProps={children:null,toggleSubStatus:()=>{}};let xP=z.default.div.withConfig({componentId:"sc-f1859b20-0"})(xR(),n=>{let{$styledprop:e}=n;return!i()(e,"isLoggedIn")&&(0,z.css)(xA())},(0,nh.Fd)((0,z.css)(xL())),n=>{let{$styledprop:e}=n;return i()(e,"isCOM",!1)&&(0,nh.Fd)((0,z.css)(xM()))},n=>{let{$styledprop:e}=n;return i()(e,"isCOM",!1)&&(0,nh.Nv)("lg",(0,z.css)(xk()))});function xN(n){let{headerData:e,fontColor:t,showLoginDrawer:o,openRewardsSignupDrawer:i,openLoyaltyEnrollmentDrawer:s,openLoyaltyOffersDrawer:l,siteVariables:c,breakpoint:u,showMiniCart:p,sbaCartCount:d,messageCountSba:f,budgetCenterDetails:m,showBCOverlay:g,budgetBalanceLevel:h,type:b,routeDetails:x,accountInfo:y,headerType:w,dotcomCartCount:S,segmentCode:I,toOpenMenuFlyout:T,menuItemInstances:_,stickyHeader:O,isBudgetCenterOverlayOpened:D,isMessagesOverlayOpened:E,customerName:A,domain:L,openLoyaltyBPCDrawer:M,fetchNavigationPopup:k,navigationPopUp:R,tpvCartClick:P,supressHeaderClick:N,listsCount:j,newSaHeader:H,yourStoreSection:F,primaryStoreObject:W,approvalsCount:z}=n,Y=(0,a.useRef)(null),{topNavigationOptionsRight:K}=e,$=(0,U.jy)(w,b);(0,a.useEffect)(()=>{if(K){let n=v()(K,n=>{if((0,U.Z1)({item:n,userData:{...x,...y},siteVariables:c,segmentCode:I,domain:L,breakpoint:u,headerTypes:$})){let{design:e}=n;return e&&"SIGN-IN-POPUP"===B.JDr[e]}return!1});n&&k(n)}},[K,k]);let G=(0,a.useMemo)(()=>K&&K.map((e,r)=>{if((0,U.Z1)({item:e,userData:{...x,...y},siteVariables:c,segmentCode:I,domain:L,breakpoint:u,headerTypes:$})){let{design:c}=e,p=c&&"SIGN-IN-POPUP"===B.JDr[c];return p?null:(0,a.createElement)(xl,{...n,listsCount:j,approvalsCount:z,permissionApplied:!0,key:r,menuItem:e,showLoginDrawer:o,openRewardsSignupDrawer:i,openLoyaltyEnrollmentDrawer:s,openLoyaltyOffersDrawer:l,openLoyaltyBPCDrawer:M,fontColor:t,breakpoint:u,topRightContent:!0,automationID:"top_right_menu_item_".concat(r),navigationPopUp:R,tpvCartClick:P,supressHeaderClick:N,topRightNavigationOptionItems:!0})}}),[K,j,z,t,u,p,d,f,m,g,h,w,b,S,T,_,O,y,$,o,x,I,c,D,E,A,R,F,W]);return(0,r.jsx)(a.Fragment,{children:(0,r.jsx)(xP,{$styledprop:{isCOM:c.isCOM,isLoggedIn:y.isLoggedIn,newSAheader:H&&c.isSBA},ref:Y,children:!C()(G)&&G})})}function xB(){let n=(0,W._)(["\n  ","\n"]);return xB=function(){return n},n}function xj(){let n=(0,W._)(["\n   ","\n   ","\n"]);return xj=function(){return n},n}function xH(){let n=(0,W._)(["\n  ","\n    ","\n   ","\n  ","\n  ","\n  ","\n"]);return xH=function(){return n},n}function xF(){let n=(0,W._)(["\n     ","\n  \n  ","\n \n  ","\n"]);return xF=function(){return n},n}function xU(){let n=(0,W._)(["\n    display: flex;\n    width: 100%;\n    outline: none;\n    font-family: ",";\n    height: 72px;\n    @media print {\n      background-color: white !important;\n      border-bottom: 1px solid #E7E7E7;\n    }\n    ","\n"]);return xU=function(){return n},n}function xW(){let n=(0,W._)(["\n\n  ","\n"]);return xW=function(){return n},n}function xz(){let n=(0,W._)(["\n    margin: 18px 0 0 29px;\n    cursor: pointer;\n"]);return xz=function(){return n},n}function xY(){let n=(0,W._)(["\n  display: block;\n  @media all and (max-width: ","px) {\n      display: none;\n  }\n"]);return xY=function(){return n},n}function xK(){let n=(0,W._)(["\n  flex: 1 1 auto;\n  display: flex;\n  justify-content: flex-end;\n"]);return xK=function(){return n},n}function x$(){let n=(0,W._)(["\n  height: ",";\n"]);return x$=function(){return n},n}xN.defaultProps={accountInfo:{flowType:"",isLoggedIn:!1},approvalsCount:0,breakpoint:"",budgetBalanceLevel:"",budgetCenterDetails:"",customerName:"",domain:"",dotcomCartCount:0,fetchNavigationPopup:()=>{},fontColor:"",headerData:{topNavigationOptionsRight:[]},headerType:"",isBudgetCenterOverlayOpened:!1,isMessagesOverlayOpened:!1,listsCount:0,loadedActions:!1,menuItemInstances:{},messageCountSba:0,navigationPopUp:[],newSaHeader:"",openLoyaltyBPCDrawer:()=>{},openLoyaltyEnrollmentDrawer:()=>{},openLoyaltyOffersDrawer:()=>{},openRewardsSignupDrawer:()=>{},primaryStoreObject:{},routeDetails:{routeType:"sdc",routeId:"sdc"},sbaCartCount:0,segmentCode:"",showBCOverlay:!1,showLoginDrawer:()=>{},showMiniCart:!1,siteVariables:{isCOM:!1,isSBA:!1},stickyHeader:!1,supressHeaderClick:!1,toOpenMenuFlyout:!1,tpvCartClick:()=>{},type:"",userInfo:{},yourStoreSection:!1},xN.propTypes={accountInfo:_().shape({flowType:_().string,isLoggedIn:_().bool}),approvalsCount:_().number,breakpoint:_().string,budgetBalanceLevel:_().string,budgetCenterDetails:_().string,customerName:_().string,domain:_().string,dotcomCartCount:_().number,fetchNavigationPopup:_().func,fontColor:_().string,headerData:_().shape({topNavigationOptionsRight:_().array}),headerType:_().string,isBudgetCenterOverlayOpened:_().bool,isMessagesOverlayOpened:_().bool,listsCount:_().number,loadedActions:_().bool,menuItemInstances:_().object,messageCountSba:_().number,navigationPopUp:_().array,newSaHeader:_().string,openLoyaltyBPCDrawer:_().func,openLoyaltyEnrollmentDrawer:_().func,openLoyaltyOffersDrawer:_().func,openRewardsSignupDrawer:_().func,primaryStoreObject:_().array,routeDetails:_().shape({routeId:_().string,routeType:_().string}
1),sbaCartCount:_().number,segmentCode:_().string,showBCOverlay:_().string,showLoginDrawer:_().func,showMiniCart:_().bool,siteVariables:_().shape({isCOM:_().bool,isSBA:_().bool}),stickyHeader:_().bool,supressHeaderClick:_().bool,toOpenMenuFlyout:_().bool,tpvCartClick:_().func,type:_().string,userInfo:_().object,yourStoreSection:_().bool};let xG="180px",xV={headerNavWrapper:"\n      font-family: ".concat(ng.typography.type.motiva,";\n\n      display: flex;\n      flex-direction: column;\n      position: relative;\n      @media print {\n        background-color: white !important;\n        box-shadow: none !important;\n      }\n      @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n\n        box-shadow: unset;\n        position: relative;\n      }\n      width: 100%;\n  "),boxShadow:"\n      box-shadow: 0 13px 21px -9px rgba(0, 0, 0, .2)!important;\n  ",headerLogo:"\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n          display: none;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          margin-right: 18px;\n          display: block;\n        }\n        @media print {\n          display: none;\n        }\n  ")},xQ=z.default.div.withConfig({componentId:"sc-cc90658b-0"})(xB(),n=>n.$isEdiversity?n.$searchExpanded?"\n          display: none;\n        ":"\n          display: none;\n          margin-top: 19px !important;\n          margin-bottom: 19px;\n          @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n            display: block;\n            margin-left: 24px;\n            margin-right: 16px;\n          }\n          @media all and (min-width: ").concat(nm.BREAKPOINTS.sm+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.md,"px) {\n            display: block;\n            margin-left: 32px;\n            margin-left: 26px;\n            margin-right: 16px;\n          }\n          @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n            display: block;\n            margin-left: 12px !important;\n            margin-left: 14px !important;\n            padding-right: 16px !important;\n            height: 32px;\n          }\n          @media all and (max-width: ").concat(nm.BREAKPOINTS.xs,"px) {\n            display: none;\n          }\n          @media print {\n            display: block !important;\n            border-right: none !important;\n          }\n        "):n.$isWhiteLabel?"\n      display: none;\n      margin-top: auto;\n      margin-bottom: auto;\n      margin-right: 16px;\n\n      @media print {\n          display: block;\n        }\n\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n           display: block;\n           margin-left: 24px;\n          ").concat(n=>n.$searchExpanded&&"\n            display: none;\n          ","\n        }\n\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.sm+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.md,"px) {\n          display: block;\n          margin-left: 26px;\n          ").concat(n=>n.$searchExpanded&&"\n            display: none;\n          ","\n        }\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.xs+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          margin-left: 14px;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.xs,"px) {\n          margin-left: 12px;\n        }\n      "):n.$showNewlogo?"\n         display: none;\n         margin-top: 19px;\n         margin-bottom: 19px;\n         @media all and (min-width: ".concat(nm.BREAKPOINTS.sm+1,"px) {\n          display: block;\n          margin-left: 26px;\n          margin-right: 12px;\n          @media print {\n           margin-top: 0 !important;\n          }\n        }\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.md+1,"px) {\n          margin-left: 24px;\n        }\n        @media print {\n          display: block;\n        }\n      "):"\n        margin-top: 21px;\n        margin-left: 26px;\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.sm+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.md,"px) {\n          margin-top: 22px;\n          margin-left: 32px;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          margin-top: 18px;\n          margin-left: 16px;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.xs,"px) {\n          margin-top: 18px;\n          margin-left: 10px;\n        }\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.md+1,"px) {\n          display: block;\n        }\n        @media print {\n          display: block;\n        }\n      ")),xq=z.default.div.withConfig({componentId:"sc-cc90658b-1"})(xj(),n=>n.$isEdiversity?n.$searchExpanded?"\n          display: none;\n          margin: auto;\n        ":"\n          @media all and (min-width: ".concat(nm.BREAKPOINTS.xs+1,"px) {\n            display: none;\n          }\n\n          @media all and (max-width: ").concat(nm.BREAKPOINTS.xs,"px) {\n            display: block;
1\n            border-right: none;\n            margin-left: 12px !important;\n            margin-top: 19px !important;\n            margin-bottom: 19px;\n            margin-right: 16px !important;\n            padding-right: 0 !important;\n          }\n          @media print {\n            display: none !important;\n            border-right: none;\n          }\n        "):n.$isWhiteLabel?"\n        margin-right: 16px;\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n          display: none;\n        }\n\n        margin-top: 21px;\n        margin-left: 26px;\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.sm+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.md,"px) {\n          display: none;\n          margin-top: 22px;\n          margin-left: 32px;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          display: block;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.xs,"px) {\n          margin-left: 12px;\n          margin-top: auto;\n          margin-bottom: auto;\n\n        }\n        ").concat(n=>n.$searchExpanded&&"\n          display: block;\n          margin-top: 21px;\n        ","\n        @media print {\n          display: none;\n        }\n\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.xs+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          margin-top: auto;\n          margin-bottom: auto;\n          margin-left: 14px;\n        }\n\n      "):n.$showNewlogo?"\n          margin-top: 19px;\n          margin-bottom: 19px;\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.sm+1,"px) {\n          display: none;\n        }\n       @media all and (min-width: ").concat(nm.BREAKPOINTS.xs+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.sm,"px){\n          display: block;\n          margin-left: 14px;\n        }\n\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.xs,"px) {\n          display: block;\n          margin-left: 12px;\n        }\n        @media print {\n          display: none;\n        }\n      "):"\n        margin-top: 21px;\n        margin-left: 26px;\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n          display: none;\n        }\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.sm+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.md,"px) {\n          margin-top: 22px;\n          margin-left: 32px;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          margin-right: 18px;\n          margin-left: 16px;\n          display: block;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.xs,"px) {\n          margin-right: 18px;\n          margin-left: 10px;\n        }\n        @media print {\n          display: none;\n        }\n      "),n=>n.$searchExpanded&&"\n      display: block!important;\n  "),xZ=z.default.div.withConfig({componentId:"sc-cc90658b-2"})(xH(),n=>n.$edivHitouch?"\n        ".concat(xV.headerNavWrapper,"\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          ").concat(xV.boxShadow,"\n        }\n      "):"\n        ".concat(xV.headerNavWrapper,"\n      "),n=>n.$fontColor&&"\n    color: ".concat(Y.colors[n.$fontColor],";\n  "),n=>n.$backgroundColor&&"\n    background-color: ".concat(Y.colors["primary"==n.$backgroundColor?"brand":n.$backgroundColor]," !important; \n    // In ele-ui we have primary color but in staples ui primary is not available for temp fix if it's primary then updating to brand. Need to check with business\n  "),n=>n.$headerDropShadow?"\n        ".concat(xV.boxShadow,"\n      "):n.$subHeaderIsShown?void 0:n.$headerDropShadow?"\n          ".concat(xV.boxShadow,"\n          z-index: 99;\n      "):"\n          ".concat(xV.boxShadow,"\n      "),n=>n.$isSticky&&"\n      position: fixed !important;\n      top: -".concat(n.$newDotcomHeader&&"72px",";\n      @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n        top: -").concat(n.$newDotcomHeader&&xG,";\n      }\n      @media all and (max-width: ").concat(nm.BREAKPOINTS.md,"px) {\n        top: -").concat(n.$newDotcomHeader&&xG,";\n      }\n      left: 0;\n      right: 0;\n      z-index: 9996;\n      transition: ").concat(n.$newDotcomHeader&&"top 250ms linear",";\n  "),n=>n.$addBoxShadow&&"\n    ".concat(xV.boxShadow,"\n  ")),xJ=z.default.div.withConfig({componentId:"sc-cc90658b-3"})(xF(),xV.headerNavWrapper,n=>n.$headerDropShadow?"\n        ".concat(xV.boxShadow,"\n      "):n.$subHeaderIsShown?void 0:n.$headerDropShadow?"\n          ".concat(xV.boxShadow,"\n          z-index: 99;\n      "):"\n          ".concat(xV.boxShadow,"\n      "),n=>n.$addBoxShadow&&"\n    ".concat(xV.boxShadow,"\n  ")),xX=z.default.div.withConfig({componentId:"sc-cc90658b-4"})(xU(),ng.typography.type.motiva,n=>n.$backgroundColor&&"\n      background-color: ".concat(Y.colors["primary"==n.$backgroundColor?"brand":n.$backgroundColor]," !important; \n    "));z.default.span.withConfig({componentId:"sc-cc90658b-5"})(xW(),n=>n.$isEdiversity?"\n          display: none;\n          @media all and (max-width: ".concat(nm.BREAKPOINTS.sm,"px) {\n            margin-left: 18px;\n            margin-right: 0;\n            display: block;\n          }\n          @media all and (max-width: ").concat(nm.BREAKPOINTS.xs,"px) {\n            margin-left: 16px;\n            margin-right: 0;\n            display: block;\n          }\n      "):"\n          display: none;\n          @media all and (max-width: ".concat(nm.BREAKPOINTS.sm,"px) {\n              margin-left: 22px;\n              margin-right: 0;\n              display: block;\n          }\n      ")),z.default.div.withConfig({componentId:"sc-cc90658b-6"})(xz());let x0=z.default.nav.withConfig({componentId:"sc-cc90658b-7"})(xY(),nm.BREAKPOINTS.sm),x1=z.default.nav.withConfig({componentId:"sc-cc90658b-8"})(xK()),x2=z.default.div.withConfig({componentId:"sc-cc90658b-9"})(x$(),n=>{let{$dotcom:e,$height:t}=n;return e?"".concat(Math.min(t,72),"px"):"".concat(t||132,"px")});function x6(n){let[e,t]=(0,a.useState)(null),[o,s]=(0,a.useState)(!1),l=(0,a.useRef)(null),c=(0,a.useRef)({timeoutId:-1}),{headerData:u,siteVariables:p,breakpoint:d,routeDetails:f,headerType:m,type:g,accountInfo:b,backgroundSettings:x,isNewSBAMINICart:w,changeParentStyle:S,segmentCode:I,domain:v,page:T,spaLoadingState:_,router:O,openRewardsSignupDrawer:D,openLoyaltyEnrollmentDrawer:E,openLoyaltyOffersDrawer:A,openLoyaltyBPCDrawer:L,openLoyaltySKUOffersDrawer:M,tpvHeaderLogoClick:k,supressHeaderClick:R,cologoExists:P,cologoPath:N,checkYourStoreData:j}=n,H=u&&u.topNavigationColor||"primary",W=u&&u.topNavigationFontColor||"white",z="sm"===d||"xs"===d,Y=m===B.sie||g===B.sie,{routeType:K,routeId:$,isWhiteLabel:G}=f,{isLoggedIn:V,flowType:Q}
1=b,{subheader:q,isCartMenuItem:Z,drawer:J}=x,X=!(K===B.o27||$===B.yIw||p.isCOM||$===B.cVK)&&(Q===B.fUn&&K!==B.o27||$===B.KfC||"sba"===K&&"sba"===$);(0,a.useEffect)(()=>{j&&(window.YourStore={},window.YourStore.setupYourStoreMenu=j,j(V))},[_]);let nn=n=>(0,U.Z1)({item:n,userData:{...f,...b},siteVariables:p,segmentCode:I,domain:v,breakpoint:d,page:T,headerTypes:(0,U.jy)(m,g)}),ne=n=>{try{if("/"===i()(window,"location.pathname",""))return!0;if(-1!=i()(window,"location.pathname","").indexOf("SuperCategory")&&n&&-1!=n.indexOf("?")){let e=/^(.*)\?{1}(.*)$/g.exec(n);if(e&&e[2]){let n=e[2].split("&"),{name:t}=h()(n,(n,e)=>{let t=e.split("=");return n[t[0]]=t[1],n},{});return!!t&&"guest-homepage"===t}}return!1}catch(n){return!1}};(0,a.useEffect)(()=>{i()(b,"isMobileAPP",!1)&&_&&s(!1),i()(b,"isMobileAPP",!1)&&!_&&(-1!==c.current.timeoutId&&(clearTimeout(c.current.timeoutId),c.current.timeoutId=-1),c.current.timeoutId=setTimeout(()=>{let n=u&&i()(u,"mobileApp",[]),{isLoggedIn:e}=b,r=!!p.isSBA&&!e&&ne(i()(window,"location.search",""));n.filter(n=>{let[{actionType:e}]=(0,U.v2)(n),o=B.Qoz[e];!C()(n)&&nn(n)&&"MOBILE_APP_BACK"===o&&i()(window,"history.state.idx",0)&&!r?t(n):t(null)})},500))},[u,f,b,p,I,v,T,m,g,_]);let nt=(n,e)=>{let t={type:n||"HEADER",headerType:"UX2",value:e||[]};z&&(t.headerVersion="mobile");try{F.Z.invokeAdapter({methodType:"navTrack",model:t||{},headerType:"UX2"})}catch(n){console.error("exception in navigation text menu Analytics",n)}},nr=!q&&!J&&(!Z||!!p.isCOM||!!w);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(xX,{$backgroundColor:H,ref:l,children:[(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(xQ,{$isEdiversity:K===B.o27,$isWhiteLabel:G,$isCOM:p.isCOM,$showNewlogo:X,children:(0,r.jsx)(y.Z,{logoData:u.logo,tpvHeaderLogoClick:k,isTPVHeader:Y,showNewlogo:X,siteVariables:p,channelType:K,channelId:$,isWhiteLabel:G,loggedIn:V,mainHeader:!1,supressHeaderClick:R,callAnalytics:nt,id:"sparq_staples_logo",newSaHeader:!0,...n})}),(0,r.jsx)(xq,{$isEdiversity:K===B.o27,$isWhiteLabel:G,$isCOM:p.isCOM,$showNewlogo:X,children:(0,r.jsx)(y.Z,{logoData:u.logoMobile,showNewlogo:X,siteVariables:p,channelType:K,channelId:$,isWhiteLabel:G,loggedIn:V,mainHeader:!1,isTPVHeader:Y,breakpoint:d,callAnalytics:nt,id:"sparq_staples_logo_mobile",newSaHeader:!0,...n})})]}),P&&N&&(0,r.jsx)(dy,{isNewSAHeader:!0,cologoPath:N})]}),(0,r.jsx)(a.Fragment,{children:z?null:(0,r.jsx)(x0,{"aria-label":"main",children:(0,r.jsx)(uL,{...n,changeParentStyle:S,parentRef:l,fontColor:W})})}),(0,r.jsx)(x1,{children:(0,r.jsx)("nav",{"aria-label":"secondary",children:(0,r.jsx)(xN,{...n,changeParentStyle:S,parentRef:l,openRewardsSignupDrawer:D,openLoyaltyEnrollmentDrawer:E,openLoyaltyOffersDrawer:A,openLoyaltyBPCDrawer:L,openLoyaltySKUOffersDrawer:M,fontColor:W,newhf:!0})})})]}),nr?(0,r.jsx)(pq,{backgroundSettings:x,parentRef:l}):null]})}let x4=(0,w.withRouter)(x6);function x5(){let n=(0,W._)(["\n  ","\n   ","\n  ","\n"]);return x5=function(){return n},n}function x3(){let n=(0,W._)(["\n   ","\n   ","\n  ","\n"]);return x3=function(){return n},n}function x8(){let n=(0,W._)(["\n    font-family: ",";\n    height: ",";\n    width: 100%;\n    @media all and (max-width: ","px) {\n      height: auto;\n    }\n    @media all and (max-width: ","px) {\n      height: auto;\n    }\n"]);return x8=function(){return n},n}function x7(){let n=(0,W._)(["\n  padding: 12px 24px;\n  @media all and (max-width: ","px) {\n      padding: 0;\n  }\n  justify-content: center;\n  align-items: center;\n  ",";\n    ","\n   ","\n  ","\n  ","\n"]);return x7=function(){return n},n}function x9(){let n=(0,W._)(["\n    display: flex;\n    justify-content: center;
1\n    align-items: center;\n    width: 100%;\n    outline: none;\n    @media print {\n      background-color: white !important;\n      border-bottom: 1px solid #E7E7E7;\n    }\n    ","\n"]);return x9=function(){return n},n}function yn(){let n=(0,W._)(["\n    display: block;\n    justify-content: center;\n    align-items: center;\n    width: 100%;\n    outline: none;\n    @media print {\n      background-color: white !important;\n      border-bottom: 1px solid #E7E7E7;\n    }\n    ","\n    @media all and (max-width: ","px) {\n      padding: 12px 16px 16px 16px;\n    }\n    ","\n"]);return yn=function(){return n},n}function ye(){let n=(0,W._)(["\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    width: 100%;\n    outline: none;\n    @media print {\n      background-color: white !important;\n      border-bottom: 1px solid #E7E7E7;\n    }\n    ","\n    ","\n"]);return ye=function(){return n},n}function yt(){let n=(0,W._)(["\n    display: block;\n"]);return yt=function(){return n},n}function yr(){let n=(0,W._)(["\n    display: block;\n    \n    ","\n"]);return yr=function(){return n},n}function yo(){let n=(0,W._)(["\n    display: flex;\n    \n"]);return yo=function(){return n},n}function yi(){let n=(0,W._)(["\n    display: flex;\n    justify-content : space-between;\n    \n"]);return yi=function(){return n},n}function ya(){let n=(0,W._)(["\n    display: block;\n    height: 40px;\n    @media all and (max-width: ","px) {\n      padding: 0 16px 12px;\n      height: 56px;\n      background-color: #c00 !important;\n    }\n"]);return ya=function(){return n},n}function ys(){let n=(0,W._)(["\n\n  ","\n"]);return ys=function(){return n},n}function yl(){let n=(0,W._)(["\n    margin: 18px 0 0 29px;\n    cursor: pointer;\n"]);return yl=function(){return n},n}function yc(){let n=(0,W._)(["\n  display: flex;\n  @media all and (max-width: ","px) {\n    display: block;\n  }\n  @media all and (max-width: ","px) {\n    width: 100%\n  }\n"]);return yc=function(){return n},n}function yu(){let n=(0,W._)(["\n    flex: auto;\n    padding: 0;\n    @media screen and (max-width: ","px) {\n      padding: 0;\n    }\n    ","\n"]);return yu=function(){return n},n}x6.defaultProps={accountInfo:{flowType:"",isLoggedIn:!1},backgroundSettings:{drawer:!1,subheader:!1,isCartMenuItem:!1},breakpoint:"",changeParentStyle:()=>{},checkYourStoreData:!1,cologoExists:!1,cologoPath:"",consumer:"",customerName:"",disableSticky:!1,domain:!1,headerData:{topNavigationColor:"",topNavigationFontColor:"",logo:{},logoMobile:{}},headerDropShadow:!1,headerType:"",isNewSBAMINICart:!1,isSparqHeader:!0,listsCount:0,openLoyaltyBPCDrawer:()=>{},openLoyaltyEnrollmentDrawer:()=>{},openLoyaltyOffersDrawer:()=>{},openLoyaltySKUOffersDrawer:()=>{},openRewardsSignupDrawer:()=>{},page:"",primaryStoreObject:{},registerRef:()=>{},routeDetails:{routeType:"",routeId:"",isWhiteLabel:!1},router:{back:()=>{}},searchExpanded:!1,segmentCode:"",showDotcomMiniCart:!1,showStoreLocatorDrawer:!1,siteVariables:{},spaLoadingState:!1,subHeaderIsShown:!1,supressHeaderClick:!1,tpvHeaderLogoClick:()=>{},type:""},x6.propTypes={accountInfo:_().shape({flowType:_().string,isLoggedIn:_().bool}),backgroundSettings:_().shape({drawer:_().bool,isCartMenuItem:_().bool,subheader:_().bool}),breakpoint:_().string,changeParentStyle:_().func,checkYourStoreData:_().bool,cologoExists:_().bool,cologoPath:_().string,consumer:_().string,customerName:_().string,disableSticky:_().bool,domain:_().bool,headerData:_().shape({logo:_().object,logoMobile:_().object,topNavigationColor:_().string,topNavigationFontColor:_().string}),headerDropShadow:_().bool,headerType:_().string,isNewSBAMINICart:_().bool,isSparqHeader:_().bool,listsCount:_().number,openLoyaltyBPCDrawer:_().func,openLoyaltyEnrollmentDrawer:_().func,openLoyaltyOffersDrawer:_().func,openLoyaltySKUOffersDrawer:_().func,openRewardsSignupDrawer:_().func,page:_().string,primaryStoreObject:_().object,registerRef:_().func,routeDetails:_().shape({isWhiteLabel:_().bool,routeId:_().string,routeType:_().string}),router:_().shape({back:_().func}
1),searchExpanded:_().bool,segmentCode:_().string,showDotcomMiniCart:_().bool,showStoreLocatorDrawer:_().bool,siteVariables:_().object,spaLoadingState:_().bool,subHeaderIsShown:_().bool,supressHeaderClick:_().bool,tpvHeaderLogoClick:_().func,type:_().string};let yp="72px",yd={headerNavWrapper:"\n      font-family: ".concat(ng.typography.type.motiva,";\n      height: ").concat(yp,";\n      display: flex;\n      position: relative;\n      @media print {\n        background-color: white !important;\n        box-shadow: none !important;\n      }\n      @media all and (max-width: ").concat(nm.BREAKPOINTS.md,"px) {\n        height: auto;\n        box-shadow: unset;\n        position: relative !important;\n      }\n      @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n        height: auto;\n        box-shadow: unset;\n        position: relative;\n      }\n      width: 100%;\n  "),headerLogo:"\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n          display: none;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          margin-right: 18px;\n          display: block;\n        }\n        @media print {\n          display: none;\n        }\n  ")},yf=z.default.div.withConfig({componentId:"sc-c71017c5-0"})(x5(),n=>n.$isWhiteLabel?"\n      display: none;\n      @media print {\n          display: block;\n        }\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n          display: block;\n          ").concat(n=>n.$searchExpanded&&"\n            display: none;\n          ","\n        }\n        margin-top: 21px;\n        margin-left: 26px;\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.sm+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.md,"px) {\n          display: block;\n          ").concat(n=>n.$searchExpanded&&"\n            display: none;\n          ","\n          margin-top: 22px;\n          margin-left: 32px;\n        }\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.xs+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          margin-top: 18px;\n          margin-left: 16px;\n        }\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.xs,"px) {\n          margin-top: 18px;\n          margin-left: 10px;\n        }\n\n      "):n.$isCOM?"\n        display: none;\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n          display: block;\n        }\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.sm+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.md,"px) {\n          display: block;\n          margin-top: 0;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          display: block;\n          margin-top: 0;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.xs,"px) {\n          display: none;\n          margin-top: 0;\n        }\n        @media print {\n          display: block;\n        }\n      "):void 0,n=>n.$searchExpanded&&"\n    @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n      display: none !important;\n    }\n    \n  "),n=>n.$isLogoOnlyORTPV&&"\n    @media all and (max-width: ".concat(nm.BREAKPOINTS.xs,"px) {\n          display: block;\n          margin-top: 0;\n        }\n  ")),ym=z.default.div.withConfig({componentId:"sc-c71017c5-1"})(x3(),n=>n.$isWhiteLabel?"\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n          display: none;\n        }\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.sm+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.md,"px) {\n          display: none;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n         \n          display: block;\n        }\n        ").concat(n=>n.$searchExpanded&&"\n          display: block;\n        ","\n        @media print {\n          display: none;\n        }\n      "):n.$isCOM?"\n        @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n          display: none;\n        }\n        @media all and (min-width: ").concat(nm.BREAKPOINTS.sm+1,"px) and (max-width: ").concat(nm.BREAKPOINTS.md,"px) {\n          display: none;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.sm,"px) {\n          margin: auto;\n          display: none;\n        }\n        @media all and (max-width: ").concat(nm.BREAKPOINTS.xs,"px) {\n          margin: auto;\n          display: block;\n        }\n        @media print {\n          display: none;\n        }\n      "):void 0,n=>n.$searchExpanded&&"\n      @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n        display: block; !important;\n      }\n  "),n=>n.$isLogoOnlyORTPV&&"\n    @media all and (max-width: ".concat(nm.BREAKPOINTS.xs,"px) {\n          display: none;\n      }\n  ")),yg=z.default.div.withConfig({componentId:"sc-c71017c5-2"})(x8(),ng.typography.type.motiva,yp,nm.BREAKPOINTS.md,nm.BREAKPOINTS.sm),yh=z.default.div.withConfig({componentId:"sc-c71017c5-3"})(x7(),nm.BREAKPOINTS.md,()=>"\n      ".concat(yd.headerNavWrapper,"\n    "),n=>n.$fontColor&&"\n    color: ".concat(Y.colors[n.$fontColor],";\n  "),n=>n.$backgroundColor&&"\n    background-color: ".concat(Y.colors["primary"==n.$backgroundColor?"brand":n.$backgroundColor]," !important; \n    // In ele-ui we have primary color but in staples ui primary is not available for temp fix if it's primary then updating to brand. Need to check with business\n  "),n=>
1n.$headerDropShadow?"\n        ".concat(yd.boxShadow,"\n      "):n.$subHeaderIsShown?void 0:n.$headerDropShadow?"\n          ".concat(yd.boxShadow,"\n          z-index: 99;\n      "):"\n          ".concat(yd.boxShadow,"\n      "),n=>n.$addBoxShadow&&"\n    ".concat(yd.boxShadow,"\n  ")),yb=z.default.div.withConfig({componentId:"sc-c71017c5-4"})(x9(),n=>n.$backgroundColor&&"\n      background-color: ".concat(Y.colors["primary"==n.$backgroundColor?"brand":n.$backgroundColor]," !important; \n    ")),yx=z.default.div.withConfig({componentId:"sc-c71017c5-5"})(yn(),n=>n.$backgroundColor&&"\n      background-color: ".concat(Y.colors["primary"==n.$backgroundColor?"brand":n.$backgroundColor]," !important; \n    "),nm.BREAKPOINTS.md,n=>n.$isLogoOnlyORTPV&&"\n      @media all and (max-width: ".concat(nm.BREAKPOINTS.md,"px) {\n        padding: 12px 16px;\n      } \n    ")),yy=z.default.div.withConfig({componentId:"sc-c71017c5-6"})(ye(),n=>n.$backgroundColor&&"\n      background-color: ".concat(Y.colors["primary"==n.$backgroundColor?"brand":n.$backgroundColor]," !important; \n    "),n=>n.$isLogoOnlyORTPV&&"\n      height: 48px !important; \n    "),yw=z.default.div.withConfig({componentId:"sc-c71017c5-7"})(yt()),yS=z.default.div.withConfig({componentId:"sc-c71017c5-8"})(yr(),n=>n.$overLayColor&&"\n      background-color: ".concat(Y.colors[n.$overLayColor]," !important; \n    ")),yC=z.default.div.withConfig({componentId:"sc-c71017c5-9"})(yo()),yI=z.default.div.withConfig({componentId:"sc-c71017c5-10"})(yi()),yv=z.default.div.withConfig({componentId:"sc-c71017c5-11"})(ya(),nm.BREAKPOINTS.md),yT=z.default.span.withConfig({componentId:"sc-c71017c5-12"})(ys(),n=>{if(n.$isCOM)return"\n            display: none;\n            @media all and (max-width: ".concat(nm.BREAKPOINTS.sm,"px) {\n              display: block;\n            }\n      ")}),y_=z.default.div.withConfig({componentId:"sc-c71017c5-13"})(yl()),yO=z.default.nav.withConfig({componentId:"sc-c71017c5-14"})(yc(),nm.BREAKPOINTS.md,nm.BREAKPOINTS.sm),yD=z.default.div.withConfig({componentId:"sc-c71017c5-15"})(yu(),nm.BREAKPOINTS.sm,n=>n.$searchExpanded&&"\n      @media all and (min-width: ".concat(nm.BREAKPOINTS.md+1,"px) {\n        margin-left: 1rem;\n      }\n    "));function yE(n){let[e,t]=(0,a.useState)(null),[o,s]=(0,a.useState)(!1),l=(0,a.useRef)(null),c=(0,a.useRef)(null),u=(0,a.useRef)({timeoutId:-1}),{showStoreLocatorDrawer:p,headerData:d,siteVariables:f,breakpoint:m,searchExpanded:g,routeDetails:b,headerType:x,type:w,accountInfo:S,backgroundSettings:I,subHeaderIsShown:v,isNewSBAMINICart:T,changeParentStyle:_,headerDropShadow:O,segmentCode:D,domain:E,page:A,spaLoadingState:L,router:M,openRewardsSignupDrawer:k,openLoyaltyEnrollmentDrawer:R,openLoyaltyOffersDrawer:N,openLoyaltyBPCDrawer:j,openLoyaltySKUOffersDrawer:H,tpvHeaderLogoClick:W,supressHeaderClick:z,tpvCartClick:Y,newSaHeader:K,parentRef:$,isSticky:G}=n,V=(0,p6.D)(p),Q=d&&d.topNavigationColor||"primary",q=d&&d.topNavigationFontColor||"white",Z=d&&d.ovlClr||"dark_red",J="sm"===m||"xs"===m,X="lg"!==m,nn=x===B.I1O||w===B.I1O||x===B.lhI||w===B.lhI,ne=x===B.sie||w===B.sie,{routeType:nt,routeId:nr,isWhiteLabel:no}=b,{isLoggedIn:ni}=S,{subheader:na,isCartMenuItem:ns,drawer:nl,notLgBottomBarMenuItem:nc}=I,nu=J&&g&&("sba"===nt&&"sba"===nr||f.isCOM),np=n=>(0,U.Z1)({item:n,userData:{...b,...S},siteVariables:f,segmentCode:D,domain:E,breakpoint:m,page:A,headerTypes:(0,U.jy)(x,w)}),nd=n=>{try{if("/"===i()(window,"location.pathname",""))return!0;if(-1!=i()(window,"location.pathname","").indexOf("SuperCategory")&&n&&-1!=n.indexOf("?")){let e=/^(.*)\?{1}(.*)$/g.exec(n);if(e&&e[2]){let n=e[2].split("&"),{name:t}=h()(n,(n,e)=>{let t=e.split("=");return n[t[0]]=t[1],n},{});return!!t&&"guest-homepage"===t}}return!1}catch(n){return!1}};(0,a.useEffect)(()=>{void 0!==p&&V!==p&&(p?(0,U.XY)({scrollOff:!0,parentRef:$,stickyHeader:G}):(0,U.XY)({scrollOff:!1,parentRef:$,stickyHeader:G}))},[p,G]),(0,a.useEffect)(()=>{i()(S,"isMobileAPP",!1)&&L&&s(!1),i()(S,"isMobileAPP",!1)&&!L&&(-1!==u.current.timeoutId&&(clearTimeout(u.current.timeoutId),u.current.timeoutId=-1),u.current.timeoutId=setTimeout(()=>
1{let n=d&&i()(d,"mobileApp",[]),{isLoggedIn:e}=S,r=!!f.isSBA&&!e&&nd(i()(window,"location.search",""));n.filter(n=>{let[{actionType:e}]=(0,U.v2)(n),o=B.Qoz[e];!C()(n)&&np(n)&&"MOBILE_APP_BACK"===o&&i()(window,"history.state.idx",0)&&!r?t(n):t(null)}),s(!0)},500))},[d,b,S,f,D,E,A,x,w,L]);let nf=(n,e)=>{let t={type:n||"HEADER",headerType:"UX2",value:e||[]};J&&(t.headerVersion="mobile");try{F.Z.invokeAdapter({methodType:"navTrack",model:t||{},headerType:"UX2"})}catch(n){console.error("exception in navigation text menu Analytics",n)}},nm=!na&&!nc&&!nl&&(!ns||!!f.isCOM||!!T),ng=()=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(yf,{$searchExpanded:g,$isWhiteLabel:no,$isCOM:f.isCOM,$isLogoOnlyORTPV:nn||ne,children:(0,r.jsx)(y.Z,{logoData:d.logo,tpvHeaderLogoClick:W,isTPVHeader:ne,siteVariables:f,channelType:nt,channelId:nr,isWhiteLabel:no,loggedIn:ni,searchExpanded:g,mainHeader:!1,supressHeaderClick:z,callAnalytics:nf,id:"sparq_staples_logo",newDotcomHeader:!0,...n})}),(0,r.jsx)(ym,{$searchExpanded:g,$isWhiteLabel:no,$isCOM:f.isCOM,$isLogoOnlyORTPV:nn||ne,children:(0,r.jsx)(y.Z,{logoData:d.logoMobile,siteVariables:f,channelType:nt,channelId:nr,isWhiteLabel:no,loggedIn:ni,searchExpanded:g,mainHeader:!0,isTPVHeader:ne,breakpoint:m,callAnalytics:nf,id:"sparq_staples_logo_mobile",newDotcomHeader:!0,...n})})]});return(0,r.jsxs)(yg,{children:[(0,r.jsxs)(yh,{$isSticky:G,$isCOM:f.isCOM,$headerDropShadow:O,$subHeaderIsShown:v,$fontColor:q,$backgroundColor:Q,ref:l,children:[X?(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(yx,{$backgroundColor:Q,$isLogoOnlyORTPV:nn||ne,children:(0,r.jsx)(yw,{children:(0,r.jsxs)(yy,{$isLogoOnlyORTPV:nn||ne,children:[(0,r.jsxs)(yC,{children:[(0,r.jsx)(a.Fragment,{children:J?(0,r.jsx)(yT,{$isCOM:f.isCOM,children:(0,r.jsx)(p2,{...n,changeParentStyle:_,parentRef:l,openRewardsSignupDrawer:k,openLoyaltyEnrollmentDrawer:R,openLoyaltyOffersDrawer:N,openLoyaltyBPCDrawer:j,openLoyaltySKUOffersDrawer:H,stickyHeader:G,isLoggedIn:ni,fontColor:q,newDotcomHeader:!0,mainNdSubRef:$})}):null}),(0,r.jsx)(a.Fragment,{children:i()(S,"isMobileAPP",!1)?o?!C()(e)&&i()(e,"icon","")?(0,r.jsx)(y_,{onClick:()=>{M&&M.back&&M.back()},children:(0,r.jsx)(P.Icon,{name:i()(e,"icon",""),size:24,color:"white"})}):ng():null:ng()})]}),(0,r.jsx)("nav",{"aria-label":"secondary",children:(0,r.jsx)(uT,{...n,changeParentStyle:_,parentRef:l,mainNdSubRef:$,tpvCartClick:Y,openRewardsSignupDrawer:k,openLoyaltyEnrollmentDrawer:R,openLoyaltyOffersDrawer:N,openLoyaltyBPCDrawer:j,supressHeaderClick:z,openLoyaltySKUOffersDrawer:H,stickyHeader:G,fontColor:q,newSaHeader:K})})]})})})," "]}):(0,r.jsxs)(yb,{$backgroundColor:Q,children:[(0,r.jsx)(a.Fragment,{children:i()(S,"isMobileAPP",!1)?o?!C()(e)&&i()(e,"icon","")?(0,r.jsx)(y_,{onClick:()=>{M&&M.back&&M.back()},children:(0,r.jsx)(P.Icon,{name:i()(e,"icon",""),size:24,color:"white"})}):ng():null:nu?null:ng()}),(0,r.jsx)(a.Fragment,{children:g?null:J?null:(0,r.jsx)(yO,{"aria-label":"main",children:(0,r.jsx)(uL,{...n,changeParentStyle:_,parentRef:l,mainNdSubRef:$,stickyHeader:G,fontColor:q,isLoggedIn:ni,overLayColor:Z})})}),(0,r.jsx)(yD,{$searchExpanded:g,children:nn||ne?null:(0,r.jsx)(pk,{...n,newSAHeader:!0,fontColor:q,stickyHeader:G,parentRef:l,headerData:d})}),(0,r.jsx)("nav",{"aria-label":"secondary",children:(0,r.jsx)(uT,{...n,changeParentStyle:_,parentRef:l,mainNdSubRef:$,tpvCartClick:Y,openRewardsSignupDrawer:k,openLoyaltyEnrollmentDrawer:R,openLoyaltyOffersDrawer:N,openLoyaltyBPCDrawer:j,supressHeaderClick:z,openLoyaltySKUOffersDrawer:H,stickyHeader:G,fontColor:q,newSaHeader:K})})]}),nm?(0,r.jsx)(pq,{backgroundSettings:I,parentRef:l}):null]}),X?nn||ne?null:(0,r.jsx)(yv,{children:(0,r.jsx)(yD,{$searchExpanded:g,children:(0,r.jsx)(pk,{...n,newSAHeader:!0,fontColor:q,stickyHeader:G,parentRef:l,headerData:d})})}):null,X?(0,r.jsx)(yS,{$overLayColor:Z,ref:c,children:(0,r.jsx)(yI,{children:(0,r.jsx)(yO,{"aria-label":"main",children:(0,r.jsx)(uL,{...n,changeParentStyle:_,parentRef:c,mainNdSubRef:$,stickyHeader:G,fontColor:q,isLoggedIn:ni,overLayColor:Z,notLgBottomBarMenuItem:!0})})})}):null,nc?(0,r.jsx)(pq,{backgroundSettings:I,parentRef:c}):null]})}let yA=(0,w.withRouter)(yE);function yL(){let n=(0,W._)(["\n    border-radius: 0;\n    height: 64px;\n    display: flex;\n    width: 100%;\n    flex-direction: row;\n    vertical-align: middle;
1\n    align-items: center;\n    overflow: visible;\n    position: relative;\n    line-height: normal;\n    box-shadow: 0 13px 21px -9px rgba(0, 0, 0, .2);\n    margin-bottom: 0;\n    @media all and (max-width: ","px) {\n      display: block;\n    }\n    @media print {\n      display: none;\n    }\n\n     ","\n\n  ",";\n"]);return yL=function(){return n},n}function yM(){let n=(0,W._)(["\n    display: flex;\n    align-items: center;\n    width: 100%;\n    height: 100%;\n    padding: 4px 16px;\n    overflow: visible; // Ensures arrows are not clipped\n    position: relative;\n    min-width: 0;\n    &:focus {\n      outline: none;\n    }\n    ","\n     ","\n"]);return yM=function(){return n},n}function yk(){let n=(0,W._)(["\n  flex: 1 1 0%;\n  min-width: 0;\n  color: black;\n  height: 48px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  padding: 6px 0;\n"]);return yk=function(){return n},n}function yR(){let n=(0,W._)(["\n  display: flex;\n  align-items: center;\n  gap: 24px;\n  padding: 2px;\n"]);return yR=function(){return n},n}function yP(){let n=(0,W._)(["\n  display: flex;\n  width: auto;\n  flex-shrink: 0;\n  height: 20px;\n  justify-content: flex-start;\n  letter-spacing: .43px;\n  align-items: center;\n  height: 100%;\n  color: black;\n  @media all and (max-width: ","px) {\n    justify-content: center !important;\n  }\n    @media all and (max-width: ","px) {\n    & > span:nth-child(n+2) {\n      display: none !important;\n    }\n  }\n"]);return yP=function(){return n},n}function yN(){let n=(0,W._)(["\n  display: inline-flex;\n  align-items: center;\n  height: 32px;\n  border-radius: 24px;\n  color: ",";\n  font-size: 14px;\n  cursor: pointer;\n  height: 40px;\n  margin-right: 8px;\n  &:last-of-type {\n    margin-right: 0;\n  }\n"]);return yN=function(){return n},n}function yB(){let n=(0,W._)(["\n  display: flex;\n  justify-content: flex-end;\n  flex-grow: 0;\n  align-items: center;\n  height: 100%;\n  gap:8px;\n  color: black;\n  @media all and (max-width: ","px) {\n    gap: 16px;\n  }\n  @media all and (min-width: ","+1) and (max-width: ","px) {\n    padding-left: 0;\n    padding-right: 20px;\n  }\n  @media all and (max-width: ","px) {\n    padding-right: 0;\n  }\n"]);return yB=function(){return n},n}function yj(){let n=(0,W._)(["\n\n  ","\n"]);return yj=function(){return n},n}yE.defaultProps={accountInfo:{flowType:"",isLoggedIn:!1},backgroundSettings:{drawer:!1,subheader:!1,isCartMenuItem:!1,notLgBottomBarMenuItem:!1},breakpoint:"",changeParentStyle:()=>{},consumer:"",customerName:"",disableSticky:!1,domain:!1,headerData:{ovlClr:"",topNavigationColor:"",topNavigationFontColor:"",logo:{},logoMobile:{}},headerDropShadow:!1,headerType:"",isNewSBAMINICart:!1,isSparqHeader:!0,isSticky:!1,newSaHeader:!1,openLoyaltyBPCDrawer:()=>{},openLoyaltyEnrollmentDrawer:()=>{},openLoyaltyOffersDrawer:()=>{},openLoyaltySKUOffersDrawer:()=>{},openRewardsSignupDrawer:()=>{},page:"",parentRef:null,primaryStoreObject:{},registerRef:()=>{},routeDetails:{routeType:"",routeId:"",isWhiteLabel:!1},router:{back:()=>{}},searchExpanded:!1,segmentCode:"",showDotcomMiniCart:!1,showStoreLocatorDrawer:!1,siteVariables:{},spaLoadingState:!1,subHeaderIsShown:!1,supressHeaderClick:!1,tpvCartClick:()=>{},tpvHeaderLogoClick:()=>{},type:""},yE.propTypes={accountInfo:_().shape({flowType:_().string,isLoggedIn:_().bool}),backgroundSettings:_().shape({drawer:_().bool,isCartMenuItem:_().bool,notLgBottomBarMenuItem:_().bool,subheader:_().bool}),breakpoint:_().string,changeParentStyle:_().func,consumer:_().string,customerName:_().string,disableSticky:_().bool,domain:_().bool,headerData:_().shape({logo:_().object,logoMobile:_().object,ovlClr:_().string,topNavigationColor:_().string,topNavigationFontColor:_().string}),headerDropShadow:_().bool,headerType:_().string,isNewSBAMINICart:_().bool,isSparqHeader:_().bool,isSticky:_().bool,newSaHeader:_().bool,openLoyaltyBPCDrawer:_().func,openLoyaltyEnrollmentDrawer:_().func,openLoyaltyOffersDrawer:_().func,openLoyaltySKUOffersDrawer:_().func,openRewardsSignupDrawer:_().func,page:_().string,parentRef:_().oneOfType([_().func,_().shape({current:_().elementType})]),primaryStoreObject:_().object,registerRef:_().func,routeDetails:_().shape({isWhiteLabel:_().bool,routeId:_().string,routeType:_().string}),router:_().shape({back:_().func}
1),searchExpanded:_().bool,segmentCode:_().string,showDotcomMiniCart:_().bool,showStoreLocatorDrawer:_().bool,siteVariables:_().object,spaLoadingState:_().bool,subHeaderIsShown:_().bool,supressHeaderClick:_().bool,tpvCartClick:_().func,tpvHeaderLogoClick:_().func,type:_().string};let yH=z.default.div.withConfig({componentId:"sc-dc0fd719-0"})(yL(),nm.BREAKPOINTS.sm,n=>n.$bottomNavigationColor&&"\n    background-color: ".concat(Y.colors["primary"==n.$bottomNavigationColor?"brand":n.$bottomNavigationColor]," !important; \n    // In ele-ui we have primary color but in staples ui primary is not available for temp fix if it's primary then updating to brand. Need to check with business\n  "),n=>n.$headerDropShadow&&"\n      z-index: 99;\n      ".concat(n.$bottomNavigationFontColor&&"color: ".concat(Y.colors[n.$bottomNavigationFontColor],";"),"\n      ").concat(n.$bottomNavigationColor&&"background-color: ".concat(Y.colors[n.$bottomNavigationColor]," !important;"),"\n  ")),yF=z.default.div.withConfig({componentId:"sc-dc0fd719-1"})(yM(),n=>n.$bottomNavigationColor?"background-color: ".concat(Y.colors[n.$bottomNavigationColor]," !important;"):"",n=>n.$isCOMNewSA?"padding: 0px":""),yU=z.default.div.withConfig({componentId:"sc-dc0fd719-2"})(yk());z.default.div.withConfig({componentId:"sc-dc0fd719-3"})(yR());let yW=z.default.div.withConfig({componentId:"sc-dc0fd719-4"})(yP(),nm.BREAKPOINTS.sm,nm.BREAKPOINTS.xs),yz=z.default.span.withConfig({componentId:"sc-dc0fd719-5"})(yN(),Y.colors.black);z.default.nav.withConfig({componentId:"sc-dc0fd719-6"})(yB(),nm.BREAKPOINTS.xs,nm.BREAKPOINTS.sm,nm.BREAKPOINTS.md,nm.BREAKPOINTS.sm),z.default.span.withConfig({componentId:"sc-dc0fd719-7"})(yj(),n=>n.$isCOM?"\n            display: none;\n            @media all and (max-width: ".concat(nm.BREAKPOINTS.sm,"px) {\n              margin-left: 10px;\n              display: block;\n            }\n      "):(n.$isEdiversity,"\n          display: none;\n          @media all and (max-width: ".concat(nm.BREAKPOINTS.sm,"px) {\n              margin-left: 0px;\n              margin-right: 0;\n              display: flex;\n              height: 100%;\n              padding-right: 12px;\n          }\n      ")));var yY=t(85503);let yK=n=>{let{children:e,toggleSubStatus:t}=n;return(0,a.useEffect)(()=>{t(!0)},[]),(0,r.jsx)(r.Fragment,{children:e})},y$=n=>{let{style:e,className:t}=n;return(0,r.jsx)("div",{className:t||"header-divider-comp",style:{width:"1px",height:"18px",backgroundColor:"black",margin:"0 12px",display:"inline-block",...e},role:"separator","aria-orientation":"vertical"})};function yG(n){let e=(0,a.useRef)(null),{headerData:t,breakpoint:o,siteVariables:i,accountInfo:l,routeDetails:c,checkYourStoreData:u,yourStoreSection:p,backgroundSettings:d,primaryStoreObject:f,routePrefix:m,setYourStoreDropdown:g,yourStoreDropdown:h,headerType:b,segmentCode:x,cologoExists:y,registerRef:w,headerDropShadow:S,changeParentStyle:I,loginStatus:v,zipCode:T,shippingState:_,shippingCity:O,domain:D,toggleSubStatus:E,newSaHeader:A,parentRef:L,isSticky:M}=n,k=(0,s.useSelector)(n=>n.headerState.hideBottomBar),R=(0,s.useDispatch)(),P=(0,a.useRef)(!1),N=(0,a.useRef)(o),B=t.bottomNavigationFontColorHover||"primary",{bottomBarRight:j,bottomNavigationFontColor:H,bottomNavigationColor:W,bottomBarLeft:z}=t,Y=(0,U.jy)(b,n.type),{subheader:K}=d,[$,G]=(0,a.useState)(1),[V,Q]=(0,a.useState)([]),[q,Z]=(0,a.useState)(!1);(0,a.useEffect)(()=>{w({ref:{subWrapperRef:e}})},[]);let J=(n,e)=>{n&&1===n&&Q([]),G(n),e?Z(!0):Z(!1)},X=n=>{Q(e=>e.concat([n])),Z(!1)},nn=()=>{Q(n=>{if(n.length>1){let e=n.slice(0,n.length-1);return Z(!0),e}if(1===n.length)return J(1,!0),Z(!0),[]})},ne=(0,a.useMemo)(()=>{let t=[],s=j?j.filter(n=>"xsm-quick-links"!==n.design):[];return s.forEach((s,d)=>{(0,U.Z1)({item:s,userData:{...c,...l},siteVariables:i,segmentCode:x,domain:D,breakpoint:o,headerTypes:Y})&&t.push(A&&i.isCOM?(0,r.jsx)(ub,{...n,menuItem:s,zipCode:T,shippingState:_,shippingCity:O,subHeader:!0,subFontHoverColor:B,changeParentStyle:I,siteVariables:i,checkYourStoreData:u,fontColor:H,yourStoreSection:p,yourStoreDropdown:h,setYourStoreDropdown:g,parentRef:e,mainNdSubRef:L,isSticky:M,primaryStoreObject:f,breakpoint:o,routePrefix:m,permissionApplied:!0,newSAHeader:!0,automationID:"bottom_right_menu_item_".concat(d),bottomRightNavigationOptionItems:!0},d):(0,a.createElement)(xl,{...n,key:d,menuItem:s,zipCode:T,shippingState:_,shippingCity:O,subHeader:!0,subFontHoverColor:B,changeParentStyle:I,siteVariables:i,checkYourStoreData:u,fontColor:H,yourStoreSection:p,yourStoreDropdown:h,setYourStoreDropdown:g,parentRef:e,primaryStoreObject:f,breakpoint:o,routePrefix:m,permissionApplied:!0,newSAHeader:!0,automationID:"bottom_right_menu_item_".concat(d),bottomRightNavigationOptionItems:!0}))}),t}
1,[j,i,f,T,_,O,p,h,u,g,o,l,Y,x,v,D,M]),nt=(0,a.useMemo)(()=>{let t=[];return(z&&z.forEach((a,s)=>{(0,U.Z1)({item:a,userData:{...c,...l},siteVariables:i,segmentCode:x,domain:D,breakpoint:o,headerTypes:Y})&&t.push((0,r.jsx)(yz,{children:A&&i.isCOM?(0,r.jsx)(ub,{...n,menuItem:a,activeScreen:$,setSmallScreen:J,setActiveNavTextData:X,activeNavTextData:V,removeActiveNextData:nn,goingBack:q,subHeader:!0,subFontHoverColor:B,fontColor:H,changeParentStyle:I,routePrefix:m,parentRef:e,mainNdSubRef:L,breakpoint:o,permissionApplied:!0,automationID:"bottom_left_menu_item_".concat(s),bottomLeftContent:!0,primaryStoreObject:f,bottomLeftNavigationOptionItems:!0,isSticky:M}):(0,r.jsx)(xl,{...n,menuItem:a,subHeader:!0,subFontHoverColor:B,fontColor:H,changeParentStyle:I,routePrefix:m,parentRef:e,breakpoint:o,permissionApplied:!0,automationID:"bottom_left_menu_item_".concat(s),bottomLeftContent:!0,primaryStoreObject:f,bottomLeftNavigationOptionItems:!0})},s))}),"xs"===o&&t.length>=1)?t[0]:t},[z,o,l,i,Y,x,v,D,$,q,M]);return((0,a.useEffect)(()=>{C()(nt)&&C()(ne)&&!k&&R({type:"UPDATE_HEADER_BOTTOMBAR_STATE",payload:{hideBottomBar:!0}})},[nt,ne,k,R]),(0,a.useEffect)(()=>{N.current!==o&&(P.current=!1,N.current=o)},[o]),C()(nt)&&C()(ne)&&(!i.isSBA||!y))?null:(0,r.jsx)(yK,{toggleSubStatus:E,children:(0,r.jsxs)(yH,{$cologoExists:i.isSBA&&y,$isCOM:i.isCOM,$headerDropShadow:S,$bottomNavigationFontColor:H,$bottomNavigationColor:W,ref:e,children:[(0,r.jsxs)(yF,{$bottomNavigationColor:W,children:[!C()(nt)&&(0,r.jsxs)(yW,{children:[nt,!C()(nt)&&!C()(ne)&&(0,r.jsx)(y$,{})]}),(0,r.jsx)(yU,{children:(0,r.jsx)(yY.OffsetCarousel,{arrowSize:"sm",customCSS:"padding-top: 4px; #header-OffsetCarousel-right-list { align-items: center; }",tabIndex:-1,gap:24,enableScroll:!1,scrollableBreakpoints:[""],focusable:!1,variant:"light",arrowPosition:"out",showArrows:"lg"==o||"md"==o,onArrowClick:()=>{if(!P.current)try{F.Z.invokeAdapter({methodType:"navTrack",model:{type:"HEADER",value:["chevron"],headerType:"UX2",link:""},headerType:"UX2"}),P.current=!0}catch(n){console.error("exception in dotcom header nav sub text Analytics",n)}},id:"header-OffsetCarousel-right",children:ne})})]}),K?(0,r.jsx)(pq,{siteVariables:i,backgroundSettings:d,newSAHeader:!0,parentRef:e}):null]})})}function yV(n){let{backgroundSettings:e}=n,[t,o]=(0,a.useState)(!1),[i,s]=(0,a.useState)(0),[l,c]=(0,a.useState)(!1),u=(0,a.useRef)(null),p=(0,a.useRef)(null),d=(0,a.useRef)(null),f=(0,a.useRef)(null),{showStoreLocatorDrawer:m,headerData:g,topHatRef:h,siteVariables:b,breakpoint:x,routeDetails:y,headerType:w,consumer:S,type:I,disableSticky:v,registerRef:T,subHeaderIsShown:_,changeParentStyle:O}=n,D=(0,p6.D)(m),E=g&&g.topNavigationColor||"primary",A=g&&g.topNavigationFontColor||"white",L=w===B.I1O||I===B.I1O||w===B.lhI||I===B.lhI,M=w===B.sie||I===B.sie,k=w===B.zWM||I===B.zWM,{routeType:R,isWhiteLabel:P}=y,N=(R===B.o27||P)&&L,j=R===B.o27||P,H=(0,a.useRef)(0);(0,a.useEffect)(()=>{void 0!==m&&D!==m&&(m?(0,U.XY)({scrollOff:!0,parentRef:u,stickyHeader:t}):(0,U.XY)({scrollOff:!1,parentRef:u,stickyHeader:t}))},[m]);let F=()=>{if(u&&u.current){let n=u.current.getBoundingClientRect(),e=n&&n.height||0;if(window.pageYOffset>H.current){let n=window.pageYOffset-H.current;return e>n?"-".concat(Math.abs(e-n),"px"):0}}return 0},W=()=>{if(!u.current)return;let n=window.pageYOffset||document.documentElement.scrollTop,e=u.current.getBoundingClientRect();window.pageYOffset<=H.current&&b.isCOM&&(H.current=e.top+n+e.height);let r=b.isCOM&&window.innerHeight<=500,i=!1;if(r)i=!1;else{let n;if(!C()(h.current)){let e=h.current.getBoundingClientRect();n=e.height>10?e.height:0}i=b.isSBA?window.pageYOffset>=n:window.pageYOffset>=n+e.height}i&&!t&&s(u.current.offsetHeight);let a=b.isSBA?window.pageYOffset>H.current:i;o(i),c(a),i?u.current.style.top=b.isSBA?"0px":F():u.current.style.top=null};return(0,a.useEffect)(()=>{if("SKU"===B.V7_[S]||v)o(!1);else{if(u.current){let n=u.current.getBoundingClientRect(),e=window.pageYOffset||document.documentElement.scrollTop;b.isSBA?H.current=n.top+e:H.current=n.top+e+n.height}let n=()=>W();W();let e=document.querySelectorAll(".skip-to__wrapper"),t=Array.from(e);return e&&t.map(e=>e.addEventListener("blur",n)),window.addEventListener("scroll",n),()=>{window.removeEventListener("scroll",n),e&&t.map(e=>e.removeEventListener("blur",n))}}},[x,v,S]),(0,a.useEffect)(()=>{T({ref:{mainWrapperRef:p,subWrapperRef:b.isCOM?f:d}})},[b.isCOM]),(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)(xZ,{$isSticky:t,$addBoxShadow:l,$edivHitouch:j,$isCOM:b.
1isCOM,$subHeaderIsShown:_,ref:u,$fontColor:A,$backgroundColor:E,$newDotcomHeader:b.isCOM,$addHeaderDropShadow:N||!_&&(M||L||k),children:[(0,r.jsx)("div",{ref:p,children:b.isCOM?(0,r.jsx)(yA,{...n,changeParentStyle:O,parentRef:u,backgroundSettings:e,isSticky:t}):(0,r.jsx)(x4,{...n,changeParentStyle:O,parentRef:u,backgroundSettings:e,isSticky:t})}),b.isSBA?(0,r.jsx)("div",{ref:d,children:(0,r.jsx)(xE,{...n,parentRef:u,backgroundSettings:e})}):null]}),t&&(0,r.jsx)(x2,{$height:i,dotcom:b.isCOM}),b.isCOM?(0,r.jsx)(xJ,{$addBoxShadow:l,$isCOM:b.isCOM,$subHeaderIsShown:_,$newDotcomHeader:b.isCOM,children:(0,r.jsx)("div",{ref:f,children:(0,r.jsx)(yG,{...n,parentRef:u,backgroundSettings:e})})}):null]})}function yQ(){let n=(0,W._)(["\n  position: fixed;\n  top: 0;\n  left: 0;\n  width: 100vw;\n  height: 100vh;\n  display: flex;\n  -webkit-box-pack: center;\n  justify-content: center;\n  -webkit-box-align: center;\n  align-items: center;\n  z-index: 65535;\n  visibility: visible;\n  opacity: 1;\n  background-color: rgba(0, 0, 0, 0.5);\n  transition: opacity 500ms;\n"]);return yQ=function(){return n},n}yG.defaultProps={accountInfo:{accountNumber:"",billToId:"",division:"",rewardsMenuCloseState:!1,shipToId:"",isLoggedIn:!1,flowType:""},backgroundSettings:{drawer:!1,isRewardsMenu:!1,subheader:!1},breakpoint:"",changeParentStyle:()=>{},checkYourStoreData:()=>{},cologoExists:!1,cologoPath:"",domain:"",headerData:{},headerDropShadow:!1,headerType:"",isSticky:!1,loginStatus:"close",newSaHeader:!1,parentRef:null,primaryStoreObject:{},registerRef:()=>{},routeDetails:{routeType:"sdc",routeId:"sdc"},routePrefix:"/ele-lpd",searchExpanded:!1,segmentCode:"",setYourStoreDropdown:!1,shippingCity:"",shippingState:"",siteVariables:{isSBA:!1,isCOM:!1},toggleSubStatus:()=>{},type:"",userInfo:{},yourStoreDropdown:!1,yourStoreSection:!1,zipCode:""},yG.propTypes={accountInfo:_().shape({accountNumber:_().string,billToId:_().string,division:_().string,flowType:_().string,isLoggedIn:_().bool,rewardsMenuCloseState:_().bool,shipToId:_().string}),backgroundSettings:_().shape({drawer:_().bool,isRewardsMenu:_().bool,subheader:_().bool}),breakpoint:_().string,changeParentStyle:_().func,checkYourStoreData:_().func,cologoExists:_().bool,cologoPath:_().string,domain:_().string,headerData:_().object,headerDropShadow:_().bool,headerType:_().string,isSticky:_().bool,loginStatus:_().string,newSaHeader:_().bool,parentRef:_().oneOfType([_().func,_().shape({current:_().elementType})]),primaryStoreObject:_().object,registerRef:_().func,routeDetails:_().shape({routeId:_().string,routeType:_().string}),routePrefix:_().string,searchExpanded:_().bool,segmentCode:_().string,setYourStoreDropdown:_().bool,shippingCity:_().string,shippingState:_().string,siteVariables:_().shape({isCOM:_().bool,isSBA:_().bool}),toggleSubStatus:_().func,type:_().string,userInfo:_().object,yourStoreDropdown:_().bool,yourStoreSection:_().bool,zipCode:_().string},yK.propTypes={children:_().node,toggleSubStatus:_().func},yK.defaultProps={children:null,toggleSubStatus:()=>{}},y$.defaultProps={className:"",style:{}},y$.propTypes={className:_().string,style:_().object},yV.defaultProps={backgroundSettings:{},breakpoint:"",changeParentStyle:()=>{},consumer:"",disableSticky:!1,headerData:{topNavigationColor:"primary",topNavigationFontColor:"white"},headerDropShadow:!1,headerType:"",isFlyoutActive:!1,registerRef:()=>{},routeDetails:{isWhiteLabel:!1,routeType:""},showStoreLocatorDrawer:!1,siteVariables:{},subHeaderIsShown:!1,topHatRef:()=>{},type:""},yV.propTypes={backgroundSettings:_().object,breakpoint:_().string,changeParentStyle:_().func,consumer:_().string,disableSticky:_().bool,headerData:_().shape({topNavigationColor:_().string,topNavigationFontColor:_().string}),headerDropShadow:_().bool,headerType:_().string,isFlyoutActive:_().bool,registerRef:_().func,routeDetails:_().shape({isWhiteLabel:_().bool,routeType:_().string}),showStoreLocatorDrawer:_().bool,siteVariables:_().object,subHeaderIsShown:_().bool,topHatRef:null,type:_().string};let yq=z.default.div.withConfig({componentId:"sc-dace2353-0"})(yQ()),yZ=n=>{let{action:e}=n;return"hide"===e||""===e?null:(0,r.jsx)(yq,{children:(0,r.jsx)(N.Spinner,{size:"lg"})})};yZ.propTypes={action:_().string.isRequired},yZ.defaultProps={action:""};let yJ=null,yX=R()(()=>t.e(1535).then(t.bind(t,47151)),{loadableGenerated:{webpack:()=>[47151]}}),y0=R()(()=>t.e(6842).then(t.bind(t,6842)),{loadableGenerated:{webpack:()=>[6842]}}),y1=R()(()=>Promise.all([t.e(1188),t.e(1582),t.e(2740),t.e(3180)]).then(t.bind(t,42740)),{loadableGenerated:{webpack:()=>[42740]}}),y2=R()(()=>t.e(6911).then(t.bind(t,6911)),{loadableGenerated:{webpack:()=>[6911]}}),y6=R()(()=>Promise.all([t.e(3498),t.e(1857),t.e(1412),t.e(3702),t.e(1667),t.e(8653),t.e(5867),t.e(9182),t.e(6219),t.e(5364),t.e(9526)]).then(t.bind(t,93887)),{loadableGenerated:{webpack:()=>[93887]}}),y4=R()(()=>Promise.all([t.e(2859),t.e(2089),t.e(7043),t.e(3154)]).then(t.bind(t,63154)),{loadableGenerated:{webpack:()=>[63154]}}),y5=R()(()=>Promise.all([t.e(7043),t.e(8291)]).then(t.bind(t,28291)),{loadableGenerated:{webpack:()=>[28291]}}),y3=R()(()=>t.e(6030).then(t.bind(t,6030)),{loadableGenerated:{webpack:()=>[6030]}}),y8=R()(()=>Promise.all([t.e(2859),t.e(8960)]).then(t.bind(t,90497)),{loadableGenerated:{webpack:()=>[90497]}}),y7=R()(()=>Promise.all([t.e(3702),t.e(1667),t.e(8653),t.e(5867),t.e(6219),t.e(3995),t.e(9261)]).then(t.bind(t,53995)),{loadableGenerated:{webpack:()=>[53995]}}),y9=R()(()=>Promise.all([t.e(1252),t.e(7171)]).then(t.bind(t,69439)),{loadableGenerated:{webpack:()=>[69439]}}),wn=R()(()=>Promise.all([t.e(1252),t.e(7383)]).then(t.bind(t,24137)),{loadableGenerated:{webpack:()=>[24137]}}),we=R()(()=>Promise.all([t.e(1188),t.e(2859),t.e(3702),t.e(4853),t.e(8653),t.e(8683),t.e(7360),t.e(8507),t.e(3753),t.e(2724),t.e(8101),t.e(4059),t.e(2511),t.e(5599),t.e(7162)]).then(t.bind(t,65599)),{loadableGenerated:{webpack:()=>[65599]}}),wt=R()(()=>Promise.all([t.e(2859),t.e(2089),t.e(5580),t.e(6550)]).then(t.bind(t,30530)),{loadableGenerated:{webpack:()=>[30530]}}),wr=R()(()=>Promise.all([t.e(1188),t.e(2859),t.e(3702),t.e(4853),t.e(8653),t.e(8683),t.e(7360),t.e(8507),t.e(3753),t.e(2724),t.e(8101),t.e(4059),t.e(2411),t.e(9034),t.e(350)]).then(t.bind(t,18233)),{loadableGenerated:{webpack:()=>[18233]}}),wo=R()(()=>Promise.all([t.e(1188),t.e(2859),t.e(3702),t.e(4853),t.e(8653),t.e(8683),t.e(7360),t.e(8507),t.e(3753),t.e(2724),t.e(8101),t.e(4059),t.e(2411),t.e(2711),t.e(948),t.e(8231)]).then(t.bind(t,69980)),{loadableGenerated:{webpack:()=>[69980]}}),wi=R()(()=>Promise.all([t.e(1188),t.e(2859),t.e(3702),t.e(4853),t.e(8653),t.e(8683),t.e(7360),t.e(8507),t.e(3753),t.e(2724),t.e(8101),t.e(4059),t.e(2511),t.e(2411),t.e(2711),t.e(5599),t.e(4309)]).then(t.bind(t,88905)),{loadableGenerated:{webpack:()=>[88905]}}),wa=R()(()=>Promise.all([t.e(2859),t.e(1667),t.e(8507),t.e(5867),t.e(9182),t.e(2089),t.e(5580),t.e(3637),t.e(1252),t.e(9109),t.e(8594)]).then(t.bind(t,56808)),{loadableGenerated:{webpack:()=>[56808]}}),ws=R()(()=>Promise.all([t.e(3701),t.e(9424),t.e(1188),t.e(2859),t.e(3702),t.e(4853),t.e(1667),t.e(8653),t.e(8683),t.e(7360),t.e(8507),t.e(3753),t.e(2724),t.e(8101),t.e(5867),t.e(9182),t.e(1582),t.e(2089),t.e(2740),t.e(6219),t.e(1376),t.e(5666),t.e(7037),t.e(5580),t.e(1735),t.e(1780),t.e(3637),t.e(3995),t.e(9109),t.e(1797),t.e(7517),t.e(3350),t.e(4519)]).then(t.bind(t,73161)),{loadableGenerated:{webpack:()=>[73161]}}),wl=R()(()=>t.e(7005).then(t.bind(t,97005)),{loadableGenerated:{webpack:()=>[97005]}}),wc=R()(()=>t.e(661).then(t.bind(t,2187)),{loadableGenerated:{webpack:()=>[2187]}}),wu=R()(()=>Promise.all([t.e(1188),t.e(2859),t.e(3702),t.e(4853),t.e(8653),t.e(8683),t.e(7360),t.e(8507),t.e(3753),t.e(2724),t.e(8101),t.e(4059),t.e(5369)]).then(t.bind(t,99247)),{loadableGenerated:{webpack:()=>[99247]}}),wp=R()(()=>Promise.all([t.e(1188),t.e(2859),t.e(3702),t.e(4853),t.e(8653),t.e(8683),t.e(7360),t.e(8507),t.e(3753),t.e(2724),t.e(8101),t.e(4059),t.e(9034),t.e(8318)]).then(t.bind(t,28222)),{loadableGenerated:{webpack:()=>[28222]}}),wd=R()(()=>Promise.all([t.e(1188),t.e(2859),t.e(3702),t.e(4853),t.e(8653),t.e(8683),t.e(7360),t.e(8507),t.e(3753),t.e(2724),t.e(8101),t.e(4059),t.e(2511),t.e(3796)]).then(t.bind(t,57596)
1),{loadableGenerated:{webpack:()=>[57596]}}),wf=R()(()=>Promise.all([t.e(3702),t.e(4853),t.e(9941),t.e(9195),t.e(4398),t.e(1184),t.e(6747),t.e(2549),t.e(8965)]).then(t.bind(t,6131)),{loadableGenerated:{webpack:()=>[6131]}}),wm=R()(()=>t.e(3992).then(t.bind(t,92364)),{loadableGenerated:{webpack:()=>[92364]}}),wg=R()(()=>Promise.all([t.e(6219),t.e(7517),t.e(4926)]).then(t.bind(t,17517)),{loadableGenerated:{webpack:()=>[17517]},ssr:!1}),wh=R()(()=>t.e(6077).then(t.bind(t,36077)),{loadableGenerated:{webpack:()=>[36077]},ssr:!1}),wb=R()(()=>t.e(7340).then(t.bind(t,87340)),{loadableGenerated:{webpack:()=>[87340]},ssr:!1}),wx=R()(()=>Promise.resolve().then(t.bind(t,74618)),{loadableGenerated:{webpack:()=>[74618]},ssr:!1}),wy=R()(()=>Promise.all([t.e(3702),t.e(2144)]).then(t.bind(t,22144)),{loadableGenerated:{webpack:()=>[22144]}}),ww=R()(()=>Promise.all([t.e(2859),t.e(9357),t.e(7187)]).then(t.bind(t,45344)),{loadableGenerated:{webpack:()=>[45344]}}),wS=R()(()=>Promise.all([t.e(1188),t.e(2859),t.e(3702),t.e(4853),t.e(8653),t.e(8683),t.e(7360),t.e(8507),t.e(3753),t.e(2724),t.e(8101),t.e(4059),t.e(2511),t.e(2567)]).then(t.bind(t,12113)),{loadableGenerated:{webpack:()=>[12113]}}),wC=async()=>{let{toggleMiniCart:n,getCart:e,addToCart:r}=await t.e(4675).then(t.bind(t,1241));return{toggleMiniCart:n,getCart:e,addToCart:r}},wI=n=>{let e=(0,d3.useRouter)(),[o,s]=(0,a.useState)({showLogin:!1,redirectionURL:null,createAccount:!1,loginProps:null}),[l,c]=(0,a.useState)(!1),u=(0,a.useRef)(!1),p=(0,a.useRef)(null),[f,g]=(0,a.useState)([]),[b,x]=(0,a.useState)({}),[y,S]=(0,a.useState)(!1),[I,v]=(0,a.useState)(!1),[T,_]=(0,a.useState)(!1),[O,D]=(0,a.useState)({background:!1,isCOM:!1,drawer:!1,componentRendererRef:null,subHeader:!1,isCartMenuItem:!1,isRewardsMenu:!1,notLgBottomBarMenuItem:!1}),[E,A]=(0,a.useState)(!1),L=(0,a.useRef)({tophatRef:null,mainWrapperRef:null,subWrapperRef:null}),[k,P]=(0,a.useState)({toastMessage:"",showToast:!1}),[j,H]=(0,a.useState)(null),[F,W]=(0,a.useState)("close"),[z,Y]=(0,a.useState)({tandcFlag:!1}),K=(0,a.useRef)({}),$=(0,a.useRef)(null),G=(0,a.useRef)(null),V=(0,a.useRef)(!1),{showLogin:Q,redirectionURL:q,createAccount:Z,loginProps:J}=o,{siteVariables:X,type:nn,headerType:ne,routePrefix:nt,consumer:nr,headerFlyoutStatus:no,toggleHeaderFlyoutAction:ni,gusSTSModalOpen:na,searchExpanded:ns,listCreatedHeader:nl,headerLoginDrawerInfo:nc,closeHeaderLoginDrawer:nu,toOpenHeaderLoginDrawer:np,headerDropShadow:nd,headerData:nm,routeDetails:ng,segmentCode:nh,accountInfo:nb,breakpoint:nx,dispatchADDShipToDrawer:ny,addShipToOpen:nw,listsDrawerOptions:nS,premiumDrawerOptions:nC,rewardsNumber:nI,footerDataSectionTwo:nv,isBudgetCenterOverlayOpened:nT,isMessagesOverlayOpened:n_,zipCode:nO,openPTDrawer:nD,openLoyaltyMissingPointsDrawerOptions:nE,PTDrawerOptions:nA,closePTDrawer:nL,closePremiumEnrollDrawer:nM,toOpenMarketoDrawer:nk,backgroundEnabled:nR,shippingState:nP,shippingCity:nN,marketoData:nB,atcDrawerOptions:nj,openATCDrawer:nH,closeATCDrawer:nF,openARCDrawer:nU,closeARSDrawer:nW,toggleQuickOrderDrawer:nz,qoDrawerOptions:nY,openRewardsSignupDrawer:nK,dispatchRequiredCookiesModal:n$,requiredCookieModalOptions:nG,setYourStoreDropdown:nV,yourStoreDropdown:nQ,openHeaderLoginDrawer:nq,pageMarketoData:nZ,openSetYourStoreDrawer:nJ,openYourStoreDrawer:nX,closeSetYourStoreDrawer:n0,closeYourStoreDrawer:n1,loyaltyEnrollmentDrawerOptions:n2,giftCardBalanceCheckDrawerOptions:n6,openLoyaltyBPCDrawerOptions:n4,toggleLoyaltyEnrollmentDrawer:n5,toggleGiftCardBalanceCheckDrawer:n3,slpOnboardingDrawerOptions:n8,toggleSLPOnboardingDrawer:n7,loyaltyOffersDrawerOptions:n9,loyaltySKUOffersDrawerOptions:en,toggleLoyaltyOffersDrawer:ee,toggleLoyaltySKUOffersDrawer:et,toggleMissingPointsDrawer:er,termsAndConditionsDrawerOptions:eo,toggleTermsAndConditionsDrawer:ei,qvdDrawerOptions:ea,closeQVDDrawer:es,openQVDDrawer:el,dotcomARSDrawerOptions:ec,saARSDrawerOptions:eu,toggleDotcomARSDrawer:ep,toggleSAARSDrawer:ed,toggleBPCLoyaltyDrawer:ef,userVariables:em,cidParameter:eg,atc:eh,userInfo:eb,newSaHeader:ex,marketingBarData:ey,tpvHeaderLogoClick:ew,supressHeaderClick:eS,tpvCartClick:eC,fetchListsCount:eI,isRefreshLists:ev,listsCount:eT,openListsDrawer:e_,fetchApprovalsCount:eO,isRefreshApprovals:eD,approvalsCount:eE,isApprover:eA,warrantyDrawerOptions:eL,closeWarrantyDrawer:eM,pageOverlaySpinner:ek,page:eR}=n,{storeLocator:eP}=nm,{routeType:eN}=ng,{flowType:eB,isLoggedIn:ej,shipToId:eH,isOmniMobileApp:eF}=nb,{showListsDrawer:eU}=nS,{showEnrollmentDrawer:eW}=nC,{openLoyaltyEnrollmentDrawer:ez}=n2,{openGiftCardBalanceCheckDrawer:eY}=n6,{openLoyaltyBPCDrawer:eK}=n4,{openSLPOnboardingDrawer:e$}=n8,{openLoyaltyMissingPointsDrawer:eG}=nE,{openTermsAndConditionsDrawer:eV}=eo,{openLoyaltyOffersDrawer:eQ}=n9,{openLoyaltySKUOffersDrawer:eq}=en,{showQODrawer:eZ}=nY,eJ="OCP"===B.V7_[nr],eX="HOME"===B.V7_[nr],e0=(0,U.jy)(ne,nn),{fullHeader:e1,tpvHeader:e2,logoHeader:e6,slimHeader:e4}=e0,{isDrawerClicked:e5,drawerCloseCallback:e3}=ec,{isDrawerOpen:e8,onDrawerClosed:e7}=eu,{showDrawer:e9,onClose:tn}=eL,te=eN===B.o27&&eB===B.fUn||!ej||!eH||e6||e4||e2,tt={shipToId:i()(nb,"shipToId",""),billToId:i()(nb,"billToId",""),accountNumber:i()(nb,"accountNumber",""),division:i()(nb,"division","")},{tandcFlag:tr,...to}=z,ti=ne===B.sie||nn===B.sie,ta=n=>{"HOME"===B.V7_[nr]&&no!==n&&ni(n)},ts=n=>{n$(n)},tl=ne===B.I1O||nn===B.I1O||ne===B.lhI||nn===B.lhI,tc=(0,a.useCallback)(n=>{null!==n&&I&&(setTimeout(()=>ta(!0),201),n.click()),S(!1),v(!1)},[I]);d7(X&&X.isCOM),(0,a.useEffect)(()=>
1{if(X&&!tl){let{isSBA:n}=X;n?(0,d8.configureCCUI)({selectors:{cart:n=>i()(n,"cartState"),acc:n=>i()(n,"accountState"),atl:n=>i()(n,"atlState"),atc:n=>i()(n,"atcState")}}):(0,d8.configureCCUI)({selectors:{cart:n=>i()(n,"cartState"),acc:n=>i()(n,"accountState"),atl:n=>i()(n,"atlState")}})}return()=>{window.animator=null}},[X,tl]),(0,a.useEffect)(()=>{(nV||nQ)&&td()},[nV,nQ]);let tu=(0,a.useRef)(null);(0,a.useEffect)(()=>{if(ex&&!X.isCOM){let n=i()(eb,"id",0),e=null!==tu.current&&tu.current!==n;tu.current=n;let t=i()(nb,"listCountLocalExpiry",864e5);ej||(0,nf.addItemLocalStorage)("listsCount","");let r=(0,nf.getParsedLocalStorage)("listsCount");(!(0,nf.isStorageValueFresh)({key:"listsCount",maxAgeMs:t,isRefresh:ev})||e)&&(ev||C()(i()(r,"value",""))&&ej||e)&&eI({siteVariables:X,isListsCount:!0}).catch(n=>{console.log(n)})}},[ev,eT,ej,eb.id]),(0,a.useEffect)(()=>{ex&&X.isCOM&&!ej&&(0,nf.addItemLocalStorage)("arsCardData",{})},[ej]),(0,a.useEffect)(()=>{if(ex&&!X.isCOM){let n=i()(nb,"approvalsCountLocalExpiry",864e5);ej||(0,nf.addItemLocalStorage)("approvalsCount","");let e=(0,nf.getParsedLocalStorage)("approvalsCount");!(0,nf.isStorageValueFresh)({key:"approvalsCount",maxAgeMs:n,isRefresh:eD})&&(eD||C()(i()(e,"value","")))&&ej&&eA&&eO({siteVariables:X,isApprovalsCount:!0}).catch(n=>{console.error(n)})}},[eD,eE,ej]),(0,a.useEffect)(()=>{nk&&tm()},[nk]),(0,a.useEffect)(()=>{var n;let t=function(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1};!e.shallow&&G&&G.current&&G.current.focus()};window.loginDrawer=n=>{nq(n)},null==e||null===(n=e.events)||void 0===n||n.on("routeChangeComplete",t);try{let n=(n,e)=>{let t=new RegExp("(^|,|%2C)".concat(e,"($|,|%2C)")),r=t.test(n);return r},e=(n=>{n=n.replace(/[[]/,"\\[").replace(/[\]]/,"\\]");let e=new RegExp("[\\?&]".concat(n,"=([^&#]*)")),t=e.exec(window.location.search);return null===t?"":t[1].replace(/\+/g," ")})("onLoad");(n(e,"showMessage")||n(e,"newUserMessage")||n(e,"hideMessage"))&&_(!0)}catch(n){console.error("HF - Exception while reading onLoad query param",n),_(!0)}return()=>{var n;s({showLogin:!1,createAccount:!1,redirectionURL:null,loginProps:null}),null==e||null===(n=e.events)||void 0===n||n.off("routeChangeComplete",t)}},[]),(0,a.useEffect)(()=>{y&&(nl(!1),yJ||(yJ=R()(()=>Promise.all([t.e(1188),t.e(1582),t.e(2740),t.e(1735),t.e(2055)]).then(t.bind(t,91492)),{loadableGenerated:{webpack:()=>[91492]}})),v(!0))},[y]),(0,a.useEffect)(()=>{eU&&nl(!1)},[eU]),(0,a.useEffect)(()=>{let n=na||ns||nT||n_;no!==n&&ta(n),ns&&tg(!1,!1,!1,!0)},[na,ns,nT,n_]),(0,a.useEffect)(()=>{eJ&&(0,U.qn)(nI)},[eJ,nI]),(0,a.useEffect)(()=>{nD&&tw({background:nR,componentRendererRef:null,subheader:!1,isDrawerComponent:!0,isCartMenuItem:!1,isLoginDrawer:"loginDrawer"})},[nD]),d9(()=>{(0,nf.removeSessionStorageItem)("headerPopOverState"),X&&X.isSBA&&eg&&(0,U.Nz)(eg);try{let n=(0,nf.getSessionStorage)("termsAndConditionsInfo");if(!C()(n)){let{termsAndConditionAccepted:e,...t}=JSON.parse(n);e&&"N"===e&&Y({...t,tandcFlag:!0})}}catch(n){console.error("HF - Exception while reading terms and conditions session storage",n)}},[]);let tp=n=>{n&&n.current&&($.current=n.current),nJ(n),nX(n)},td=()=>{let n=C()(f)?eP:f;!C()(n)&&i()(n,"[0].metadata.childAPIToggle",!1)&&i()(n,"[0].metadata.id","")?(c(!0),M().post("/ele-lpd/api/common/lpdProxy-common/getMenuContent",{id:i()(n,"[0].metadata.id",""),routeDetails:ng,siteVariables:X}).then(n=>{c(!1),n&&!C()(i()(n,"data",{}))&&g(i()(n,"data",{}))}).catch(n=>{console.error(n),c(!1)})):C()(n)||i()(n,"[0].metadata.childAPIToggle",!1)||g(n)},tf=n=>{u&&!u.current&&!C()(n)&&i()(n,"metadata.childAPIToggle",!1)&&i()(n,"metadata.id","")&&(u.current=!0,M().post("/ele-lpd/api/common/lpdProxy-common/getMenuContent",{id:i()(n,"metadata.id",""),routeDetails:ng,siteVariables:X}).then(n=>{n&&!C()(i()(n,"data[0].navigationPopUp",{}))&&H(i()(n,"data[0].navigationPopUp",{}))}).catch(n=>{console.error(n)}))},tm=()=>{let n=C()(b)?nB:b;!C()(n)&&i()(n,"metadata.childAPIToggle",!1)&&i()(n,"metadata.id","")?(c(!0),M().post("/ele-lpd/api/common/lpdProxy-common/getMenuContent",{id:i()(n,"metadata.id",""),routeDetails:ng,siteVariables:X}).then(n=>{c(!1),n&&!C()(i()(n,"data[0]",{}))&&x(i()(n,"data[0]",{}))}).catch(n=>{console.error(n),c(!1)})):C()(n)||i()(n,"metadata.childAPIToggle",!1)||x(n)},tg=(n,e,t,r)=>{tS({update:!0,param:n,isDrawer:e,isSub:r,isRewardsMenu:t})},th=function(n,e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{overrideOCPRedirect:r=!1}=t;W("open"),s({showLogin:!0,createAccount:!!e,redirectionURL:eJ&&!r?"/":n||null,loginProps:t}),tS({update:!0,param:!0,isDrawer:!0}),ta(!0)};(0,a.useEffect)(()=>
1{if(np&&nc&&!C()(nc)){let{redirectURL:n,isCreateAccount:e,...t}=nc;th(n,e,t)}},[np]);let tb=()=>{ny()},tx=()=>{nK()},ty=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ei({...n,openTermsAndConditionsDrawer:!0})},tw=n=>{let{background:e,componentRendererRef:t,subheader:r,isDrawerComponent:o,isCartMenuItem:i,isLoginDrawer:a,isRewardsMenu:s,notLgBottomBarMenuItem:l}=n;D({background:e,drawer:o,isCOM:X.isCOM,isCartMenuItem:i,componentRendererRef:t,subheader:r,isLoginDrawer:a,isRewardsMenu:s,notLgBottomBarMenuItem:l})},tS=n=>{let{ref:e,update:t,param:r,isDrawer:o,isSub:i,isRewardsMenu:a}=n;t?(0,U.sT)({references:L.current,ActiveFlag:r,breakpoint:nx,isSub:i,isDrawer:o,isRewardsMenu:a}):L.current={...L.current,...e}},tC=n=>{"cancel"!==n&&nl(!0),ta(!1)},tI=(n,e)=>{if(!C()(n)&&!C()(d()(n))&&!C()(K.current)){let e=d()(n)[0],t={...K.current};delete t[e];let r=!C()(m()(t));void 0===K.current[e]||n[e]||r||K.current[e]===n[e]||(ta(!1),tg(!1,!1,!1,!0),tw({background:!1}))}if(e){delete K.current[d()(n)[0]],K.current={...K.current};return}K.current={...K.current,...n}},tv=n=>{let e=i()(n,"cartInfo.items",[]),t=e.map(n=>{let e={};return e.sku=n.itemId||"",e.qty=n.qty||"",e.revenue=n.priceInfo&&n.priceInfo.finalPriceBeforeBasketCoupons?n.priceInfo.finalPriceBeforeBasketCoupons:"",e});return t},tT=(n,e)=>C()(n)&&!C()(e)?1===e.length?B.iKQ.ONLY_COUPON:B.iKQ.MULTIPLE_COUPON:!C()(n)&&C()(e)?1===n.length?B.iKQ.ONLY_SKU:B.iKQ.MULTIPLE_SKU:C()(n)||C()(e)?void 0:1===n.length&&1===e.length?B.iKQ.ONLY_COUPON_SKU:1===n.length&&e.length>1?B.iKQ.MULTIPLE_COUPON_ONE_SKU:n.length>1&&1===e.length?B.iKQ.ONE_COUPON_MULTIPLE_SKU:B.iKQ.MULTIPLE_COUPON_MULTIPLE_SKU,t_=(n,e)=>{n&&("new window"===e?window.open(n,e):w.default.pushRoute(n))},tO=n=>{let{getDestUrl:e,offerCouponCodes:t,offerSkus:r,data:o,target:a}=n;try{let{response:n}=o,e=tv(n),t={message:"SUCCESS",type:"ADD_TO_CART",cartId:i()(n,"cartInfo.cartId",""),cartInit:i()(n,"cartInfo.newCart",!1),payload:{items:e||[],couponCode:i()(n,"cartInfo.coupons[0].code",""),couponAmt:i()(n,"cartInfo.coupons[0].discountAmount.value",""),locator:{primary:"Tophat",secondary:""}}};window&&window.ae&&window.ae.adapter&&window.ae.adapter.ctaResponse&&window.ae.adapter.ctaResponse(t)}catch(n){console.error("exception in across-banners add to cart analytics call",n)}if(e)"new window"===a?window.open(e,a):w.default.pushRoute(e);else if(C()(r)){let n=tT(r,t);P({toastMessage:n,showToast:!0})}},tD=n=>{let{e,getDestUrl:t,offerCouponCodes:r,offerSkus:o,target:i,theme:a,onSuccessCB:s,onFailureCB:l}=n;e.stopPropagation(),eh({items:C()(o)?[]:h()(o,(n,e)=>(e&&n.push({itemId:e,qty:1,shippingInfo:{deliveryType:"STA"}}),n),[]),overlay:!C()(o),toast:!1,spinner:!0,coupons:r?r.map(Number):"",successCallBack:n=>{tO({data:n,getDestUrl:t,offerCouponCodes:r,offerSkus:o,target:i,theme:a}),s&&s()},failureCallBack:()=>{t_(t,i),l&&l()}})};return(0,r.jsxs)("header",{id:"sparqHeaderContainer",children:[!eF&&(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)("div",{tabIndex:"-1",id:"resetFocus",ref:G}),(0,r.jsx)(dW,{where:"main content",cssSelector:'*[role="main"]',consumer:n.consumer}),(0,r.jsx)(dW,{where:"footer",cssSelector:"#skippedFooterLink",consumer:n.consumer}),(0,r.jsx)(dW,{where:"accessibility",cssSelector:'*[role="main"]',consumer:n.consumer,footerDataSectionTwo:nv}),(0,r.jsx)(d5,{...n,showCreateList:S,openADDShipToDrawer:tb,showLoginDrawer:th,openTermsAndConditionsModal:ty,addSkuAndCouponToCart:tD,setRequiredCookieModalOptions:ts,openStoreLocatorDrawer:tp,openLoyaltyBPCDrawer:ef,openLoyaltySKUOffersDrawer:n=>et(n),rewardsNumber:nI,registerRef:tS,topHatRef:p}),ex?(0,r.jsx)(yV,{...n,zipcode:nO,setActiveBackground:tw,backgroundSettings:O,changeParentStyle:tg,showCreateList:S,showLoginDrawer:th,registerRef:tS,topHatRef:p,isNewSBAMINICart:!0,menuItemsInstanceHandler:tI,menuItemInstances:K.current,openRewardsSignupDrawer:tx,openADDShipToDrawer:tb,openLoyaltyBPCDrawer:ef,toggleHeaderFlyoutStatus:ta,openLoyaltyEnrollmentDrawer:()=>n5(!0),openLoyaltyOffersDrawer:()=>ee(!0),openLoyaltySKUOffersDrawer:()=>et(!0),openTermsAndConditionsModal:ty,openStoreLocatorDrawer:tp,setRequiredCookieModalOptions:ts,showStoreLocatorDrawer:nV||nQ,shippingState:nP,shippingCity:nN,toggleSubStatus:A,headerDropShadow:nd||eX,loginStatus:F,openListsDrawer:e_,tpvHeaderLogoClick:ew,isTPVHeader:ti,subHeaderIsShown:E,openGiftCardBalanceCheckDrawer:()=>n3(!0),fetchNavigationPopup:tf,navigationPopUp:j}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(db,{...n,zipcode:nO,tpvHeaderLogoClick:ew,isTPVHeader:ti,setA
1ctiveBackground:tw,backgroundSettings:O,changeParentStyle:tg,showCreateList:S,showLoginDrawer:th,registerRef:tS,subHeaderIsShown:E,isNewSBAMINICart:!0,menuItemsInstanceHandler:tI,menuItemInstances:K.current,openRewardsSignupDrawer:tx,openADDShipToDrawer:tb,openLoyaltyBPCDrawer:ef,toggleHeaderFlyoutStatus:ta,openLoyaltyEnrollmentDrawer:()=>n5(!0),openGiftCardBalanceCheckDrawer:()=>n3(!0),openLoyaltyOffersDrawer:()=>ee(!0),openLoyaltySKUOffersDrawer:()=>et(!0),openTermsAndConditionsModal:ty,setRequiredCookieModalOptions:ts,openStoreLocatorDrawer:tp,showStoreLocatorDrawer:nV||nQ,fetchNavigationPopup:tf,navigationPopUp:j}),(0,r.jsx)(dE,{...n,setActiveBackground:tw,zipcode:nO,shippingState:nP,shippingCity:nN,changeParentStyle:tg,backgroundSettings:O,showCreateList:S,showLoginDrawer:th,registerRef:tS,toggleSubStatus:A,isNewSBAMINICart:!0,menuItemsInstanceHandler:tI,menuItemInstances:K.current,headerDropShadow:nd||eX,toggleHeaderFlyoutStatus:ta,loginStatus:F,openLoyaltyBPCDrawer:ef,openADDShipToDrawer:tb,openStoreLocatorDrawer:tp,setRequiredCookieModalOptions:ts,openTermsAndConditionsModal:ty,supressHeaderClick:eS,tpvCartClick:eC,navigationPopUp:j})]}),e1&&(0,r.jsx)(d0,{headerData:n.headerData})]}),!C()(ey)&&(0,r.jsx)(fb,{...n,marketingBarData:ey,breakpoint:nx,page:eR,accountInfo:nb,routeDetails:ng,siteVariables:X,segmentCode:nh,showLoginDrawer:th,openStoreLocatorDrawer:tp,showStoreLocatorDrawer:nV||nQ,showCreateList:S,openADDShipToDrawer:tb,addSkuAndCouponToCart:tD,setRequiredCookieModalOptions:ts,openLoyaltyBPCDrawer:ef,openLoyaltySKUOffersDrawer:()=>et(!0),openTermsAndConditionsModal:ty,openRewardsSignupDrawer:tx,toggleLoyaltyEnrollmentDrawer:n5}),(nV||nQ)&&!C()(f)&&(0,r.jsx)(wc,{...n,showStoreLocatorDrawer:nV||nQ,unMountComponentRenderer:()=>{n0(),n1(),$&&$.current&&$.current.firstElementChild&&setTimeout(()=>{$.current.firstElementChild.classList.add("noBlueOutlineOnFocus"),$.current.firstElementChild.focus()},100)},storeLocatorData:f[0],isCOM:X.isCOM}),(0,r.jsx)(dM,{breakpoint:nx}),!X.isSBA&&ej&&(0,r.jsx)(yX,{isLoggedIn:ej,openARSDrawer:ep}),!X.isSBA&&(0,r.jsx)("div",{id:"sparq-login-drawer",children:Q&&(0,r.jsx)(y0,{renderType:"slideIn",fromPage:"header",slideInFlow:Z?"createAccount":"login",sliderTitleTxt:Z?"Create account":"Sign in",successRedirection:q,openSlideIn:Q,closeSlideIn:function(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{termsAndConditionAccepted:t,...r}=e;"loginSuccess"===n?W("success"):W("close"),"N"===t&&(V.current=!0,Y({...r,tandcFlag:!0})),s({showLogin:!1,createAccount:!1,redirectionURL:null,loginProps:null}),tS({update:!0,param:!1,isDrawer:!0}),ta(!1),np&&(nc&&!C()(nc)&&nc.refToLink&&nc.refToLink.current&&nc.refToLink.current.focus&&nc.refToLink.current.focus(),nu())},reloadFlag:!0,showBorder:!1,showSelfService:!0,...J})}),yJ&&(0,r.jsx)(yJ,{page:"header",closeCallBack:tC,children:(0,r.jsx)("span",{ref:tc})}),eU&&(0,r.jsx)(y1,{closeCreateCallback:tC,...nS}),X.isSBA&&nw?(0,r.jsx)(y4,{successCallBack:n=>{n&&P({toastMessage:n,showToast:!0})}}):null,!X.isSBA||te?null:y5&&(0,r.jsx)(y5,{showModal:!0,userSelectedInfo:tt}),(0,r.jsx)(wg,{}),!nk||C()(b)&&C()(nZ)?null:(0,r.jsx)(y8,{...n,menuItem:C()(nZ)?b:nZ,showDataloader:l}),nH&&(0,r.jsx)(y7,{...nj,closeDrawerCallback:nF,children:(0,r.jsx)(wf,{accountInfo:nb,analyticsLocation:"atcDrawer",breakpoint:nx,consumer:"atcdrawer",arrPosition:"in",routeDetails:ng,routePrefix:nt,segmentCode:nh,showErrorMessage:!0,siteVariables:X,userVariables:em})}),eW&&(0,r.jsx)(y2,{apiProxy:nt,...nC,onClose:nM}),nU&&(X.isCOM?(0,r.jsx)(y9,{isDrawerOpen:nU,onDrawerClosed:nW}):(0,r.jsx)(wn,{isDrawerOpen:nU,onDrawerClosed:nW})),eZ&&(0,r.jsx)(y6,{...nY,closeDrawer:()=>{nz(!1)}}),nG&&nG.showModal&&(0,r.jsx)(wm,{showModal:nG.showModal,modalOptions:nG.modalOptions,siteVariables:X,setRequiredCookieModalOptions:ts,breakpoint:nx}),ez&&(0,r.jsx)(we,{...n2,showDrawer:ez,apiProxy:"rewards",onSuccess:()=>n7(!0),onClose:()=>n5(!1)}),eY&&(0,r.jsx)(wt,{...n6,showDrawer:eY,onClosed:()=>n3(!1)}),eK&&(0,r.jsx)(wp,{...n4,apiProxy:"rewards",showDrawer:eK,onClose:()=>ef(!1)}),eG&&(0,r.jsx)(wu,{...nE,apiProxy:"rewards",showDrawer:eG,onClose:()=>er(!1)}),eV&&(0,r.jsx)(wS,{...eo,apiProxy:"rewards",showDrawer:eV,onClose:()=>ei(!1)}),e$&&(0,r.jsx)(wr,{...n8,apiProxy:"rewards",showDrawer:e$,onClose:()=>n7(!1),includeWelcome:!0}),eQ&&(0,r.jsx)(wo,{...n9,apiProxy:"rewards",showDrawer:eQ,onClose:()=>ee(!1)}),eq&&(0,r.jsx)(wi,{...en,apiProxy:"rewards",showDrawer:eq,onClose:()=>et(!1)}),e5&&(0,r.jsx)(wa,{...ec,drawerCloseCallback:()=>{ep(!1),e3&&"function"==typeof e3&&e3()}}),e8&&(0,r.jsx)(ws,{...eu,onDrawerClosed:()=>{ed(!1),e7&&"function"==typeof e7&&e7()}}),tr&&(0,r.jsx)(wd,{apiProxy:"rewards",showModal:tr,...to,onCloseSuccess:()=>{(0,nf.removeSessionStorageItem)("termsAndConditionsInfo"),w.default&&w.default.reload&&V&&V.current&&w.default.reload()}}),e9&&(0,r.jsx)(wy,{...eL,onClose:n=>{eM(),tn&&"function"==typeof tn&&tn(n)},dispatchATCCallback:eh,breakpoint:nx}),ek&&(0,r.jsx)(yZ,{action:ek}),el&&(0,r.jsx)(wl,{...ea,closeDrawer:es}),nD&&(0,r.jsx)("div",{id:"productTileDrawer",children:(0,r.jsx)(y3,{...nA,closeDrawerCallback:nL})}),k.showToast?(0,r.jsx)(fn.ToastBar,{variant:"success",onClose:()=>{P({toastMessage:"",showToast:!1})},children:k.toastMessage}):null,X.isCOM&&(0,r.jsx)(ww,{routePrefix:nt,breakpoint:nx}),l?(0,r.jsxs)("div",{style:{position:"absolute",zIndex:9999,left:"50%"},children:[" ",(0,r.jsx)(N.Spinner,{size:"sm"})]}):null,X.isSBA&&ej&&(0,r.jsxs)(a.Fragment,{children:[(T||n_)&&(0,r.jsxs)("div",{style:{visibility:"hidden",height:0,width:0,position:"absolute",left:"-999px"},children:[" ",(0,r.jsx)(wh,{userSelectedInfo:eb})]}),tl||ti||eN===B.fUn||eN===B.o27&&eB===B.fUn?null:wb&&(0,r.jsx)(wb,{}),nT&&(0,r.jsx)(wx,{consumer:"header"})]})]})};var wv=(0,s.connect)((n,e)=>({budgetCenterDetails:(0,c.Xl)(n),budgetCenterOverlayBalanceLevel:(0,c.Ut)(n),showBCOverlay:(0,c.xF)(n),cologoExists:(0,u.pQ)(n),cologoPath:(0,u.Id)(n),customerName:(0,c.X9)(n),customerEmailAddress:(0,c.oL)(n),customerFullName:(0,c.k)(n),cisData:(0,u.o1)(n),listsCount:(0,u.sq)(n),isRefreshLists:(0,u.K)(n),approvalsCount:(0,u.wI)(n),isRefreshApprovals:(0,u.oR)(n),headerData:(0,u.XD)(n),zipCode:(0,u.xb)(n),shippingState:(0,u.Q3)(n),shippingCity:(0,u.Rh)(n),navigationTopHatDesktopHomepage:(0,u.T3)(n),navigationTopHatMobileHomepage:(0,u.y1)(n),navigationTopHatDesktopCart:(0,u.q2)(n),navigationTopHatMobileCart:(0,u.xZ)(n),navigationTopHatDesktopGlobal:(0,u.Rn)(n),navigationTopHatMobileGlobal:(0,u.em)(n),templatizedDesktopTopHat:(0,u.w)(n),templatizedMobileTopHat:(0,u.h$)(n),siteVariables:(0,u.gg)(n),accountInfo:(0,c.fn)(n),userInfo:(0,u.bG)(n),routeDetails:(0,u.Iq)(n),segmentCode:e.segmentCode||(0,c.tv)(n),breakpoint:(0,c.tU)(n),headerType:(0,u.sR)(n),consumer:(0,u.S4)(n),rewardsNumber:e.rewardsNumber||(0,c.q_)(n),listsDrawerOptions:(0,u.IY)(n),yourStoreSection:(0,u.u4)(n),primaryStoreObject:(0,u.Fj)(n),setYourStoreSection:(0,u.gj)(n),storeLocatorParentRef:(0,u.f0)(n),routePrefix:(0,u.Y6)(n),searchExpanded:(0,u.LX)(n),searchFlyoutClosed:(0,u.hi)(n),searchConfig:(0,u.K0)(n),showMiniCart:(0,c.ft)(n),sbaCartCount:(0,c.x7)(n),messageCountSba:(0,u.I2)(n),setYourStoreDropdown:(0,u.zQ)(n),yourStoreDropdown:(0,u.e$)(n),gusSTSM
1odalOpen:(0,u.RV)(n),dotcomCartCount:(0,c.K5)(n),toOpenMenuFlyout:(0,u.ys)(n),toOpenHeaderLoginDrawer:(0,u.IR)(n),headerLoginDrawerInfo:(0,u.Dr)(n),headerFlyoutStatus:(0,u.$m)(n),openMenuLinkRef:(0,u.m3)(n),addShipToOpen:(0,c.fl)(n),isBudgetCenterOverlayOpened:(0,c.ek)(n),isMessagesOverlayOpened:(0,c.yS)(n),PTDrawerOptions:(0,u._b)(n),openLoyaltyMissingPointsDrawerOptions:(0,u.oj)(n),termsAndConditionsDrawerOptions:(0,u.Ys)(n),openLoyaltyBPCDrawerOptions:(0,u.Bf)(n),openPTDrawer:(0,u.P7)(n),backgroundEnabled:(0,u.Xn)(n),toOpenMarketoDrawer:(0,u.h3)(n),marketoData:(0,u.WI)(n),pageMarketoData:(0,u.Nq)(n),spaLoadingState:(0,u.dU)(n),openATCDrawer:(0,u.nS)(n),atcDrawerOptions:(0,u.gl)(n),openARCDrawer:(0,u.tu)(n),premiumDrawerOptions:(0,u.Ls)(n),qoDrawerOptions:(0,u.p6)(n),rewardsDrawerOptions:(0,u.WX)(n),loyaltyEnrollmentDrawerOptions:(0,u.Kl)(n),giftCardBalanceCheckDrawerOptions:(0,u.eI)(n),slpOnboardingDrawerOptions:(0,u.ZC)(n),loyaltyOffersDrawerOptions:(0,u.HU)(n),loyaltySKUOffersDrawerOptions:(0,u.R6)(n),localBusinessDetails:(0,u.wS)(n),requiredCookieModalOptions:(0,u.Im)(n),userContact:(0,u.ok)(n),userProfile:(0,u.et)(n),dotcomARSDrawerOptions:(0,u.sf)(n),saARSDrawerOptions:(0,u.p3)(n),isMobileApp:(0,c.dQ)(n),openQVDDrawer:(0,u.BV)(n),pageOverlaySpinner:(0,u.je)(n),warrantyDrawerOptions:(0,u.k_)(n),qvdDrawerOptions:(0,u.xq)(n),userVariables:(0,u.U4)(n),cidParameter:(0,u.Wm)(n),newSaHeader:(0,u._6)(n),marketingBarData:(0,u.Ii)(n),footerDataSectionTwo:(0,u.CS)(n),isApprover:(0,u.AO)(n),sub:(0,u.x2)(n)}),(n,e)=>({handleSearchbarExpanded:e=>{n((0,l.handleSearchBarExpanded)(e))},closeSetYourStoreDrawer:()=>{n((0,l.disableSetYourStoreDropdown)())},closeYourStoreDrawer:()=>{n((0,l.disableYourStoreDropdown)())},checkYourStoreData:t=>{(0,l.checkYourStoreData)(e.routePrefix,t,e.autoStoreSelectToggle).then(e=>{n((0,l.storeCookieAvailable)(e))})},openMessageModal:()=>{setTimeout(()=>{n({type:"OPEN_MB_MODAL",payload:{}})},10)},openSetYourStoreDrawer:e=>{n((0,l.enableSetYourStoreDropdown)(e))},openYourStoreDrawer:e=>{n((0,l.enableYourStoreDropdown)(e))},toggleMiniCart:()=>{wC().then(e=>{let{toggleMiniCart:t}=e;t&&n(t())})},getCart:()=>{wC().then(e=>{let{getCart:t}=e;t&&n(t(!0))})},closeSearchFlyout:e=>{n((0,l.closeSearchFlyout)(e))},toggleHeaderFlyoutAction:e=>{setTimeout(()=>{n((0,l.headerFlyoutStatus)(e))},100)},listCreatedHeader:e=>{n((0,l.listCreatedFromHeader)(e))},fetchListsCount:e=>(0,l.fetchListCount)({...e,isListsCount:!0}).then(e=>{let{data:t}=e,r={value:t&&t.totalLists?JSON.parse(t.totalLists):"",timestamp:Date.now().toString()};(0,nf.addItemLocalStorage)("listsCount",JSON.stringify(r)),n((0,l.setListsCount)(t&&t.totalLists?t.totalLists:"",!t))}).catch(()=>{let e={value:"",timestamp:Date.now().toString()};(0,nf.addItemLocalStorage)("listsCount",JSON.stringify(e)),n((0,l.setListsCount)("",!0))}),fetchApprovalsCount:e=>(0,l.fetchApprovalsCardData)({...e,isApprovalsCount:!0}).then(e=>{let{data:t}=e;t?n((0,l.setApprovalsCount)(t.body,!1)):n((0,l.setApprovalsCount)("",!1))}).catch(()=>{n((0,l.setApprovalsCount)("",!1))}),openHeaderMenuFlyout:(e,t)=>{n((0,l.openHeaderMenu)(e,t))},closeHeaderLoginDrawer:()=>{n((0,l.openHeaderLogin)({openDrawer:!1,refToLink:null,destinationURL:null,isCreateAccount:!1}))},openHeaderLoginDrawer:e=>{n((0,l.openHeaderLogin)(e))},openSTSModal:()=>{n((0,l.openHFShipToDrawer)())},dispatchADDShipToDrawer:()=>{n({type:"GUS_OPEN_ADD_SHIPTO"})},openListsDrawer:e=>{n((0,l.openListsDrawer)(e))},closePTDrawer:()=>{n((0,l.openProductTileDrawer)(!1,{}))},toggleMarketoDrawer:e=>{n((0,l.openMarketoDrawer)(e))},storeTopHatData:e=>{n((0,l.storeTopHatData)(e))},closeATCDrawer:()=>{n((0,l.setATCDrawerOptions)(!1,{}))},closeARSDrawer:()=>{n((0,l.setARSDrawerOptions)({openARCDrawer:!1}))},closeWarrantyDrawer:()=>{n((0,l.setWarrantyDrawerOptions)({showDrawer:!1}))},toggleQuickOrderDrawer:e=>{n((0,l.openQODrawer)({showQODrawer:e}))},toggleDotcomARSDrawer:e=>{if(x()(e)&&!C()(e)){let{item:t={},isDrawerClicked:r}=e;n((0,l.OpenARSDotcomDrawer)({isDrawerClicked:r,item:t}))}else n((0,l.OpenARSDotcomDrawer)({isDrawerClicked:e}))},toggleSAARSDrawer:e=>{n((0,l.OpenARSSADrawer)({isDrawerOpen:e}))},closePremiumEnrollDrawer:()=>{n((0,l.openPremiumDrawer)({showEnrollmentDrawer:!1}))},closeRewardsDrawer:()=>{n((0,l.setRewardsDrawerOptions)({openRewardsDrawer:!1}))},toggleLoyaltyEnrollmentDrawer:e=>{n((0,l.setLoyaltyEnrollmentDrawerOptions)("boolean"==typeof e?{openLoyaltyEnrollmentDrawer:e}:e))},toggleGiftCardBalanceCheckDrawer:e=>{n((0,l.setGiftCardBalanceCheckDrawerOptions)("boolean"==typeof e?{openGiftCardBalanceCheckDrawer:e}:e))},toggleMissingPointsDrawer:e=>{n((0,l.setOpenLoyaltyMissingPointsDrawerOptions)({openLoyaltyMissingPointsDrawer:e}))},toggleTermsAndConditionsDrawer:e=>{n((0,l.setTermsAndConditionsDrawerOptions)("boolean"==typeof e?{openTermsAndConditionsDrawer:e}:e))},toggleBPCLoyaltyDrawer:e=>{n((0,l.setBPCLoyaltyDrawerOptions)("boolean"==typeof e?{openLoyaltyBPCDrawer:e}:e))},toggleSLPOnboardingDrawer:e=>{n((0,l.setSLPOnboardingDrawerOptions)({openSLPOnboardingDrawer:e}))},toggleLoyaltyOffersDrawer:e=>{n((0,l.setLoyaltyOffersDrawerOptions)("boolean"==typeof e?{openLoyaltyOffersDrawer:e}:e))},toggleLoyaltySKUOffersDrawer:e=>{n((0,l.setLoyaltySKUOffersDrawerOptions)({openLoyaltySKUOffersDrawer:e}))},openRewardsSignupDrawer:()=>{n((0,l.setRewardsDrawerOptions)({openRewardsDrawer:!0}))},dispatchRequiredCookiesModal:e=>{n((0,l.setRequiredCookiesModalOptions)(e))},closeQVDDrawer:()=>{n((0,l.setQVDDrawerOptions)(!1,{}))},atc:e=>{wC().then(t=>{let{addToCart:r}=t;r&&n(r(e))})}}))(wI);wI.defaultProps={accountInfo:{flowType:!1,isLoggedIn:!1,isOmniMobileApp:!1,shipToId:""},addShipToOpen:!1,approvalsCount:0,atc:()=>{},atcDrawerOptions:{},backgroundEnabled:!1,breakpoint:"",cidParameter:"",closeARSDrawer:()=>{},closeATCDrawer:()=>{},closeHeaderLoginDrawer:()=>{},closePremiumEnrollDrawer:()=>{},closePTDrawer:()=>{},closeQVDDrawer:()=>{},closeRewardsDrawer:()=>{},closeSetYourStoreDrawer:()=>{},closeWarrantyDrawer:()=>{},closeYourStoreDrawer:()=>{},consumer:"",customerEmailAddress:"",customerName:"",dispatchADDShipToDrawer:()=>{},dispatchRequiredCookiesModal:()=>{},domain:"",dotcomARSDrawerOptions:{},fetchApprovalsCount:()=>{},fetchListsCount:()=>{},footerDataSectionTwo:{},giftCardBalanceCheckDrawerOptions:{openGiftCardBalanceCheckDrawer:!1}
1,gusSTSModalOpen:!1,headerData:{bottomBarLeft:[],bottomBarRight:[],topNavigationColor:"",topNavigationFontColor:"",logo:{},logoMobile:{},topNavigationOptionsLeft:[],topNavigationOptionsRight:[],storeLocator:[]},headerDropShadow:!1,headerFlyoutStatus:!1,headerLoginDrawerInfo:{redirectURL:null,isCreateAccount:!1,refToLink:null},headerType:"",isApprover:!1,isBudgetCenterOverlayOpened:!1,isMessagesOverlayOpened:!1,isMobileApp:!1,isRefreshApprovals:!1,isRefreshLists:!1,listCreatedHeader:()=>{},listsCount:0,listsDrawerOptions:{showListsDrawer:!1},loyaltyEnrollmentDrawerOptions:{openLoyaltyEnrollmentDrawer:!1},loyaltyOffersDrawerOptions:{openLoyaltyOffersDrawer:!1},loyaltySKUOffersDrawerOptions:{openLoyaltySKUOffersDrawer:!1},marketingBarData:[],marketoData:{},messageCountSba:0,newSaHeader:!0,openARCDrawer:!1,openATCDrawer:!1,openHeaderLoginDrawer:()=>{},openHeaderMenuFlyout:()=>{},openListsDrawer:()=>{},openLoyaltyBPCDrawerOptions:{openLoyaltyBPCDrawer:!0},openLoyaltyMissingPointsDrawerOptions:{openLoyaltyMissingPointsDrawer:!1},openPTDrawer:!1,openQVDDrawer:!1,openRewardsDrawer:!1,openRewardsSignupDrawer:()=>{},openSetYourStoreDrawer:()=>{},openYourStoreDrawer:()=>{},page:"",pageMarketoData:{},pageOverlaySpinner:"",premiumDrawerOptions:{showEnrollmentDrawer:!1},PTDrawerOptions:{},qoDrawerOptions:{showQODrawer:!1},qvdDrawerOptions:{},requiredCookieModalOptions:{showModal:!1,modalOptions:{}},rewardsDrawerOptions:{openRewardsDrawer:!1},rewardsNumber:"",routeDetails:{routeType:"sdc",routeId:"sdc"},routePrefix:"/ele-lpd",saARSDrawerOptions:{},searchExpanded:!1,segmentCode:"",setYourStoreDropdown:!1,shippingCity:"",shippingState:"",siteVariables:{isCOM:!0,isSBA:!1},slpOnboardingDrawerOptions:{openSLPOnboardingDrawer:!1},storeLocatorParentRef:_().shape({current:{firstElementChild:{}}}),supressHeaderClick:!1,templatizedDesktopTopHat:[],templatizedMobileTopHat:[],termsAndConditionsDrawerOptions:{openTermsAndConditionsDrawer:!1},toggleBPCLoyaltyDrawer:()=>{},toggleDotcomARSDrawer:()=>{},toggleGiftCardBalanceCheckDrawer:()=>{},toggleHeaderFlyoutAction:()=>{},toggleLoyaltyEnrollmentDrawer:()=>{},toggleLoyaltyOffersDrawer:()=>{},toggleLoyaltySKUOffersDrawer:()=>{},toggleMissingPointsDrawer:()=>{}
1,toggleQuickOrderDrawer:()=>{},toggleSAARSDrawer:()=>{},toggleSLPOnboardingDrawer:()=>{},toggleTermsAndConditionsDrawer:()=>{},toOpenHeaderLoginDrawer:()=>{},toOpenMarketoDrawer:!1,tpvCartClick:()=>{},tpvHeaderLogoClick:()=>{},type:"",userContact:{},userInfo:{},userProfile:{},userVariables:{},warrantyDrawerOptions:{},yourStoreDropdown:!1,zipCode:""},wI.propTypes={accountInfo:_().shape({flowType:_().string,isLoggedIn:_().bool,isOmniMobileApp:_().bool,shipToId:_().string}),addShipToOpen:_().bool,approvalsCount:_().number,atc:_().func,atcDrawerOptions:_().object,backgroundEnabled:_().bool,breakpoint:_().string,cidParameter:_().string,closeARSDrawer:_().func,closeATCDrawer:_().func,closeHeaderLoginDrawer:_().func,closePremiumEnrollDrawer:_().func,closePTDrawer:_().func,closeQVDDrawer:_().func,closeRewardsDrawer:_().func,closeSetYourStoreDrawer:_().func,closeWarrantyDrawer:_().func,closeYourStoreDrawer:_().func,consumer:_().string,customerName:_().string,dispatchADDShipToDrawer:_().func,dispatchRequiredCookiesModal:_().func,domain:_().string,dotcomARSDrawerOptions:_().object,fetchApprovalsCount:_().func,fetchListsCount:_().func,footerDataSectionTwo:_().object,giftCardBalanceCheckDrawerOptions:_().shape({openGiftCardBalanceCheckDrawer:_().bool}),gusSTSModalOpen:_().bool,headerData:_().shape({bottomBarLeft:_().array,bottomBarRight:_().array,logo:_().object,logoMobile:_().object,storeLocator:_().array,topNavigationColor:_().string,topNavigationFontColor:_().string,topNavigationOptionsLeft:_().array,topNavigationOptionsRight:_().array}),headerDropShadow:_().bool,headerFlyoutStatus:_().bool,headerLoginDrawerInfo:_().shape({isCreateAccount:_().bool,redirectURL:_().string,refToLink:_().node}),headerType:_().string,isApprover:_().bool,isBudgetCenterOverlayOpened:_().bool,isMessagesOverlayOpened:_().bool,isMobileApp:_().bool,isRefreshApprovals:_().bool,isRefreshLists:_().bool,listCreatedHeader:_().func,listsCount:_().number,listsDrawerOptions:_().shape({showListsDrawer:_().bool}),loyaltyEnrollmentDrawerOptions:_().shape({openLoyaltyEnrollmentDrawer:_().bool}),loyaltyOffersDrawerOptions:_().shape({openLoyaltyOffersDrawer:_().bool}),loyaltySKUOffersDrawerOptions:_().shape({openLoyaltySKUOffersDrawer:_().bool}),marketingBarData:_().array,marketoData:_().object,messageCountSba:_().number,newSaHeader:_().bool,openARCDrawer:_().bool,openATCDrawer:_().bool,openHeaderLoginDrawer:_().func,openHeaderMenuFlyout:_().func,openListsDrawer:_().func,openLoyaltyBPCDrawerOptions:_().shape({openLoyaltyBPCDrawer:_().bool}),openLoyaltyMissingPointsDrawerOptions:_().shape({openLoyaltyMissingPointsDrawer:_().bool}),openPTDrawer:_().bool,openQVDDrawer:_().bool,openRewardsDrawer:_().bool,openRewardsSignupDrawer:_().func,openSetYourStoreDrawer:_().func,openYourStoreDrawer:_().func,page:_().string,pageMarketoData:_().object,pageOverlaySpinner:_().string,premiumDrawerOptions:_().shape({showEnrollmentDrawer:_().bool}),PTDrawerOptions:_().object,qoDrawerOptions:_().shape({showQODrawer:_().bool}),qvdDrawerOptions:_().object,requiredCookieModalOptions:_().shape({modalOptions:_().object,showModal:_().bool}),rewardsDrawerOptions:_().shape({openRewardsDrawer:_().bool}),rewardsNumber:_().string,routeDetails:_().shape({routeId:_().string,routeType:_().string}),routePrefix:_().string,saARSDrawerOptions:_().object,searchExpanded:_().bool,segmentCode:_().string,setYourStoreDropdown:_().bool,shippingCity:_().string,shippingState:_().string,siteVariables:_().shape({isCOM:_().bool,isSBA:_().bool}),slpOnboardingDrawerOptions:_().shape({openSLPOnboardingDrawer:_().bool}),storeLocatorParentRef:_().shape({current:{firstElementChild:_().object}}),supressHeaderClick:_().bool,templatizedDesktopTopHat:_().array,templatizedMobileTopHat:_().array,termsAndConditionsDrawerOptions:_().shape({openTermsAndConditionsDrawer:_().bool}),toggleBPCLoyaltyDrawer:_().func,toggleDotcomARSDrawer:_().func,toggleGiftCardBalanceCheckDrawer:_().func,toggleHeaderFlyoutAction:_().func,toggleLoyaltyEnrollmentDrawer:_().func,toggleLoyaltyOffersDrawer:_().func,toggleLoyaltySKUOffersDrawer:_().func,toggleMissingPointsDrawer:_().func,toggleQu
1ickOrderDrawer:_().func,toggleSAARSDrawer:_().func,toggleSLPOnboardingDrawer:_().func,toggleTermsAndConditionsDrawer:_().func,toOpenHeaderLoginDrawer:_().func,toOpenMarketoDrawer:_().bool,tpvCartClick:_().func,tpvHeaderLogoClick:_().func,type:_().string,userContact:_().object,userInfo:_().object,userProfile:_().object,userVariables:_().object,warrantyDrawerOptions:_().object,yourStoreDropdown:_().bool,zipCode:_().string};let wT=n=>{let{type:e,disableSticky:t,atcType:o,segmentCode:i,routePrefix:s,headerDropShadow:c,storeSearchRadius:u,searchTerm:p,defaultRewardsOpen:d,domain:f,page:m,tpvHeaderLogoClick:g,supressHeaderClick:h,tpvCartClick:b,autoStoreSelectToggle:x}=n,y=n=>{"object"==typeof n&&(0,l.setStoreCookieByStoreNumber)(n,s,u)};return(0,a.useEffect)(()=>{window.header=window.header||{},window.header.setStoreCookieByStoreNumber=y},[]),(0,r.jsx)(wv,{routePrefix:s,searchTerm:p,supressHeaderClick:h,tpvHeaderLogoClick:g,type:e,atcType:o,disableSticky:t,segmentCode:i,headerDropShadow:c,defaultRewardsOpen:d,domain:f,tpvCartClick:b,autoStoreSelectToggle:x,page:m})};var w_=(0,s.connect)(n=>({routePrefix:i()((0,c.fn)(n),"routePrefix"),storeSearchRadius:(0,u.s8)(n),autoStoreSelectToggle:(0,u.E8)(n)}),null)(wT);wT.defaultProps={atcType:{},autoStoreSelectToggle:!1,defaultRewardsOpen:!0,disableSticky:!1,domain:"",headerDropShadow:!1,page:"",routePrefix:"",searchTerm:"",segmentCode:"",storeSearchRadius:"20mi",supressHeaderClick:!1,tpvCartClick:()=>{},tpvHeaderLogoClick:()=>{},type:{}},wT.propTypes={atcType:_().object,autoStoreSelectToggle:_().bool,defaultRewardsOpen:_().bool,disableSticky:_().bool,domain:_().string,headerDropShadow:_().bool,page:_().string,routePrefix:_().string,searchTerm:_().string,segmentCode:_().string,storeSearchRadius:_().string,supressHeaderClick:_().bool,tpvCartClick:_().func,tpvHeaderLogoClick:_().func,type:_().object}},70846:function(n,e,t){"use strict";t.d(e,{Z:function(){return h}});var r=t(85893),o=t(41609),i=t.n(o),a=t(67294),s={staplesLogoWrapper:"logo__staplesLogoWrapper",staplesPrintimg:"logo__staplesPrintimg",staplesLogo:"logo__staplesLogo",spanStaplesLogo:"logo__spanStaplesLogo",Ediv:"logo__Ediv",EdivLogo:"logo__EdivLogo",inactiveLink:"logo__inactiveLink",sparqHeaderLogoClicked:"logo__sparqHeaderLogoClicked",hiTouchEdivstaplesLogoimg:"logo__hiTouchEdivstaplesLogoimg",sbaSparqLogoClicked:"logo__sbaSparqLogoClicked",sparqstaplesLogoWrapper:"logo__sparqstaplesLogoWrapper",sparqHiTouch:"logo__sparqHiTouch",sbastaplesLogoWrapper:"logo__sbastaplesLogoWrapper",sbastaplesLogoWrapperNewSA:"logo__sbastaplesLogoWrapperNewSA",newEdivLogoWrapper:"logo__newEdivLogoWrapper",sparqHiTouchNewSA:"logo__sparqHiTouchNewSA",sparqEdiv:"logo__sparqEdiv",sparqHomeEdiv:"logo__sparqHomeEdiv",sparqEdivMobile:"logo__sparqEdivMobile",logoWithoutHamburgerStyles:"logo__logoWithoutHamburgerStyles",staplesLogoimg:"logo__staplesLogoimg",staplesUILogo:"logo__staplesUILogo",sparqLogoNoClick:"logo__sparqLogoNoClick"},l=t(27361),c=t.n(l),u=t(87465),p=t(63670),d=t(45697),f=t.n(d),m=t(53558);let g=n=>{let{channelType:e,callAnalytics:t,edivLogo:o,logoData:l,mainHeader:d,type:f,siteVariables:g,loggedIn:h,isWhiteLabel:b,searchExpanded:x,routeDetails:y,activeScreen:w,showNewlogo:S,id:C,channelId:I,tpvHeaderLogoClick:v,isTPVHeader:T,supressHeaderClick:_,newSaHeader:O,newDotcomHeader:D}=n,E=c()(l,"color","white"),A=(0,a.useMemo)(()=>{let n="",t="";return e===u.o27&&(n="Ediv",(f===u.I1O||f===u.lhI)&&(t="EdivLogo")),"".concat(s.staplesLogo," ").concat(f===u.I1O?s.inactiveLink:null," ").concat(s[n]," ").concat(_?s.sparqLogoNoClick:"","\n                ").concat(f===u.lhI?s.logoClicable:null,"\n                ").concat(s[t])},[e,f]),L=(0,a.useCallback)(n=>{let{e,type:r,level1Item:o}=n;e.stopPropagation();let i=[];i.push(o),t&&t(r,i)},[t]),M=(0,a.useMemo)(()=>i()(o)?e===u.o27&&d?d?l&&l.defaultLogo||"":void 0:l&&l.mainlogo||"":o,[o,l,d,e]),k=(n,e)=>{if(n){let t=e?n.target:n.currentTarget;t&&t.classList&&t.classList.add("noBlueOutlineOnFocus")}},R=(0,a.useMemo)(()=>{if(g&&g.isSBA){if(!i()(f)&&f===u.I1O)return"#";if(h)return"/sahome"}else if(!i()(f)&&f===u.I1O)return"#";return"/"},[f,g,h,b,e]),P=()=>{let n=g.isSBA?38:21;return l&&({"staples-logo":D?[134,25]:[134,21],staple:D?[25,13.3]:[34,16],"header-desktop-sa-logo":O?[91,34]:[119,38]})[l.logoIcon]||["auto",n]};return(0,r.jsx)(a.Fragment,{children:(0,r.jsx)("div",{tabIndex:-1,
1className:!O&&x?S?s.sbaSparqLogoClicked:s.sparqHeaderLogoClicked:"".concat(s.sparqstaplesLogoWrapper,"  ").concat(S?O?s.sbastaplesLogoWrapperNewSA:s.sbastaplesLogoWrapper:""," \n                     ").concat(y&&y.routeType===u.o27?"".concat(O?s.newEdivLogoWrapper:d?s.sparqHomeEdiv:s.sparqEdiv,"\n                      ").concat(2===w?s.sparqEdivMobile:null):"".concat(b?O?s.sparqHiTouchNewSA:s.sparqHiTouch:s.staplesLogoWrapper)),style:{flex:e===u.o27?"inherit":"auto"},id:C,children:(0,r.jsx)(p.default,{href:_?null:R,className:A,onMouseDown:k,onKeyDown:n=>{n&&n.currentTarget&&n.currentTarget.firstElementChild&&n.currentTarget.firstElementChild.classList&&n.currentTarget.firstElementChild.classList.remove("noBlueOutlineOnFocus")},"aria-label":g&&g.isSBA?I===u.cVK?"HiTouch Homepage":i()(o)&&e!==u.o27?"Staples Homepage":"Homepage":"Staples Homepage",onClick:n=>{L({e:n,type:"HEADER",level1Item:"Staples Logo"}),T&&v&&v(n)},children:(0,r.jsxs)("span",{className:s.spanStaplesLogo,onMouseDown:k,children:[l.logoIcon?(0,r.jsx)("div",{className:s.staplesUILogo,children:(0,r.jsx)(m.Logo,{color:E,width:P()[0],height:P()[1],id:l.logoIcon,name:l.logoIcon})}):(0,r.jsx)("img",{className:b||e===u.o27?s.hiTouchEdivstaplesLogoimg:s.staplesLogoimg,src:M,alt:g&&g.isSBA?I===u.cVK?"HiTouch Homepage":i()(o)&&e!==u.o27?"Staples Homepage":"Homepage":"Staples Homepage",tabIndex:"-1"}),g&&g.isSBA&&(b||e===u.o27)?null:(0,r.jsx)("div",{className:s.staplesPrintimg,children:(0,r.jsx)(m.Logo,{color:"brand",width:S?300:146,height:S?38:40,id:S?"staples-business-advantage-logo":"staples-logo",name:S?"staples-business-advantage-logo":"staples-logo"})})]})})})})};var h=g;g.defaultProps={accountInfo:{},activeScreen:!1,breakpoint:"",callAnalytics:()=>{},channelId:"",channelType:"",edivLogo:{},id:"",isTPVHeader:!1,isWhiteLabel:!1,loggedIn:!1,logoData:{},mainHeader:!1,newDotcomHeader:!1,newSaHeader:!1,page:{},routeDetails:{},saveBreakPoint:()=>{},searchExpanded:!1,showNewlogo:!1,siteVariables:{isSBA:!1},supressHeaderClick:!1,tpvHeaderLogoClick:()=>{},type:{}},g.propTypes={accountInfo:f().object,activeScreen:f().bool,breakpoint:f().string,callAnalytics:f().func,channelId:f().str
1ing,channelType:f().string,edivLogo:f().object,id:f().string,isTPVHeader:f().bool,isWhiteLabel:f().bool,loggedIn:f().bool,logoData:f().object,mainHeader:f().bool,newDotcomHeader:f().bool,newSaHeader:f().bool,page:f().object,routeDetails:f().object,saveBreakPoint:f().func,searchExpanded:f().bool,showNewlogo:f().bool,siteVariables:{isSBA:f().bool},supressHeaderClick:f().bool,tpvHeaderLogoClick:f().func,type:f().object}},92759:function(n,e,t){"use strict";t.r(e);var r=t(85893),o=t(67294),i=t(30340),a=t(35161),s=t.n(a),l=t(41609),c=t.n(l),u=t(1469),p=t.n(u),d=t(45697),f=t.n(d),m=t(12091);let g=n=>{let{headlinerText:e,isSKU:t,tooltipContent:a,parentStyle:l,configuratorTitle:u,tooltip:d,isSmallScreen:f,isLiveTextSubHeadliner:g}=n,h=[],b=[],x=!!u&&e&&p()(e)&&!c()(e)&&d&&p()(a)&&a.length>0&&!f;return t||x?(s()(a,(e,t)=>{c()(e)||b.push((0,r.jsx)(o.Fragment,{children:(0,o.createElement)(i.Z,{...n,key:t,headliner:e})},"tooltip_".concat(t)))}),s()(e,(e,t)=>{c()(e)||h.push((0,r.jsx)(o.Fragment,{children:(0,o.createElement)(i.Z,{...n,key:t,headliner:e})},"headliner_".concat(t)))}),(0,r.jsx)(m.Tooltip,{id:"headlinerTooltip",triggerElement:h,backgroundColor:"link_blue",maxWidth:300,children:b})):(s()(e,(e,t)=>{c()(e)||h.push((0,r.jsx)(o.Fragment,{children:(0,o.createElement)(i.Z,{...n,key:t,headliner:e,parentStyle:l,isLiveTextSubHeadliner:g})},"headliner_".concat(t)))}),h)};e.default=g,g.defaultProps={configuratorTitle:!1,headlinerText:{},isLiveTextSubHeadliner:!1,isSKU:!1,isSmallScreen:!1,parentStyle:[],tooltip:{},tooltipContent:{}},g.propTypes={configuratorTitle:f().bool,headlinerText:f().object,isLiveTextSubHeadliner:f().bool,isSKU:f().bool,isSmallScreen:f().bool,parentStyle:f().object,tooltip:f().object,tooltipContent:f().object}},30340:function(n,e,t){"use strict";t.d(e,{Z:function(){return ei}});var r=t(85893),o=t(67294),i=t(27361),a=t.n(i),s=t(45697),l=t.n(s),c=t(5152),u=t.n(c),p=t(41609),d=t.n(p),f=t(87465),m=t(8823),g=t(92742),h=t.n(g),b=t(35161),x=t.n(b),y=t(94511),w=t(24187),S=t(37340),C=t(19521),I=t(27896),v=t(98659),T=t
1(63670);function _(){let n=(0,S._)(["\n    text-decoration: underline;\n  "]);return _=function(){return n},n}function O(){let n=(0,S._)(["\n    font-style: italic;\n  "]);return O=function(){return n},n}function D(){let n=(0,S._)(["\n    font-family: ",";\n    font-weight: 500;\n    ","\n  "]);return D=function(){return n},n}function E(){let n=(0,S._)(["\n    font-family: ",";\n  "]);return E=function(){return n},n}function A(){let n=(0,S._)(["\n    float: left;\n  "]);return A=function(){return n},n}function L(){let n=(0,S._)(["\n    text-align: center;\n  "]);return L=function(){return n},n}function M(){let n=(0,S._)(["\n    float: right;\n  "]);return M=function(){return n},n}function k(){let n=(0,S._)(["\n    color: "," !important;\n    cursor: pointer;\n    outline: none;\n    &:hover {\n        text-decoration: underline;\n    }\n    &:focus {\n        outline: 1px dashed ",";\n    }\n  "]);return k=function(){return n},n}function R(){let n=(0,S._)(["\n    &:hover {\n      text-decoration: none !important;\n    }\n  "]);return R=function(){return n},n}function P(){let n=(0,S._)(["\n    color: "," !important;\n    cursor: pointer;\n    outline: none;\n    font-size: 14px;\n    text-decoration: underline;\n    &:hover{\n      cursor: pointer;\n    }\n    &:focus {\n      outline: 1px dashed ",";\n    }\n  "]);return P=function(){return n},n}function N(){let n=(0,S._)(["\n    color: ",";\n    &:hover {\n      text-decoration: underline;\n    }\n  "]);return N=function(){return n},n}function B(){let n=(0,S._)(["\n    &:hover {\n      text-decoration: underline !important;\n      cursor: pointer !important;\n    }\n  "]);return B=function(){return n},n}function j(){let n=(0,S._)(["\n    &:hover {\n      text-decoration: none !important;\n    }\n  "]);return j=function(){return n},n}function H(){let n=(0,S._)(["\n    white-space: pre-wrap;\n  "]);return H=function(){return n},n}function F(){let n=(0,S._)(["\n      line-height: 16px;\n      font-size: 12px;\n    "]);return F=function(){return n},n}function U(){let n=(0,S._)(["\n    color: ",";\n    font-size: 14px;\n    font-weight: normal;\n    letter-spacing: 0;\n    line-height: 18px;\n    &:hover {\n      text-decoration: none !important;\n    }\n    ",";\n  "]);return U=function(){return n},n}function W(){let n=(0,S._)(["\n      line-height: 14px;\n      font-size: 11px;\n    "]);return W=function(){return n},n}function z(){let n=(0,S._)(["\n    font-family: ",";\n    font-size: 12px;\n    letter-spacing: 0.43px;\n    line-height: 16px;\n    &:hover {\n      text-decoration: none !important;\n    }\n    ",";\n  "]);return z=function(){return n},n}function Y(){let n=(0,S._)(["\n      font-size: 26px;\n      line-height: 26px;\n      letter-spacing: 0.9px;\n    "]);return Y=function(){return n},n}function K(){let n=(0,S._)(["\n    font-size: 28px;\n    font-family: ",";\n    letter-spacing: 1px;\n    line-height: 40px;\n    ",";\n  "]);return K=function(){return n},n}function $(){let n=(0,S._)(["\n    display: block;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    white-space: nowrap;\n  "]);return $=function(){return n},n}function G(){let n=(0,S._)(["\n          ","\n          ","\n        "]);return G=function(){return n},n}function V(){let n=(0,S._)(["\n          ","\n          ","\n        "]);return V=function(){return n},n}function Q(){let n=(0,S._)(["\n      ","\n      ","\n    "]);return Q=function(){return n},n}function q(){let n=(0,S._)(["\n      ","\n      ","\n    "]);return q=function(){return n},n}function Z(){let n=(0,S._)(["\n      ","\n      ","\n    "]);return Z=function(){return n},n}function J(){let n=(0,S._)(["\n      ","\n      ","\n    "]);return J=function(){return n},n}function X(){let n=(0,S._)(["\n      ","\n      ","\n    "]);return X=function(){return n},n}function nn(){let n=(0,S._)(["\n      ","\n      ","\n    "]);return nn=function(){return n},n}function ne(){let n=(0,S._)(["\n        ","\n        ","\n      "]);return ne=function(){return n},n}function nt(){let n=(0,S._)(["\n        ","\n        ","\n      "]);return nt=function(){return n},n}function nr(){let n=(0,S._)(["\n      ","\n      ","\n    "]);return nr=function(){return n},n}function no(){let n=(0,S._)(["\n      ","\n      ","\n    "]);return no=function(){return n},n}function ni(){let n=(0,S._)(["\n      line-height: 16px;\n  "]);return ni=function(){return n},n}function na(){let n=(0,S._)(["\n  display: inline;\n  line-height: 18px;\n  margin: auto 0;\n  ",";\n"]);return na=function(){return n},n}function ns(){let n=(0,S._)(["\n  outline: none !important;\n  &:focus {\n    outline: none !important;\n  } \n   "," \n  ","\n  ","\n  ","\n"]);return ns=function(){return n},n}function nl(){let n=(0,S._)(["\n  color: "," !important;\n  &:hover{\n    cursor: default;\n    text-decoration: none;\n  }\n"]);return nl=function(){return n},n}function nc(){let n=(0,S._)(["\n  &:hover {\n    cursor: default !important;\n  }\n"]);return nc=function(){return n},n}function nu(){let n=(0,S._)(["\n  &:hover {\n    text-decoration: none !important;\n    cursor: default !important;\n  }\n  font-family: ",";\n  font-size: 18px;\n  line-height: 24px;\n"]);return nu=function(){return n},n}function np(){let n=(0,S._)(["\n    &:after {\n      display: block;\n      content: ' ';\n    }\n  }\n"]);return np=function(){return n},n}
1function nd(){let n=(0,S._)(["\n    text-align: left;\n    .bulletListText{\n      margin-left: 16 !important;\n    } \n  }\n"]);return nd=function(){return n},n}function nf(){let n=(0,S._)(["{\n  text-align: left;\n  .bulletListText{\n    margin-left: 0 !important;\n  }\n}"]);return nf=function(){return n},n}function nm(){let n=(0,S._)(["{\n  span {\n    color: ",";\n  }\n  margin-left: 12px !important;\n  text-align: left;\n}\n"]);return nm=function(){return n},n}function ng(){let n=(0,S._)(["\n    outline: none !important;\n    display: block;\n    &:focus {\n      outline: none !important;\n    }\n"]);return ng=function(){return n},n}function nh(){let n=(0,S._)(["\n    margin-left: 8px !important;\n"]);return nh=function(){return n},n}function nb(){let n=(0,S._)(["\n    span {\n      color: ",";\n    }\n    text-align: left;\n"]);return nb=function(){return n},n}function nx(){let n=(0,S._)(["\n span {\n      color: ",";\n    }\n    text-align: left;\n    margin-left: 12px !important;\n"]);return nx=function(){return n},n}function ny(){let n=(0,S._)(["\n ","\n  ","\n  ","\n  ","\n  ","\n"]);return ny=function(){return n},n}function nw(){let n=(0,S._)(["\n  ","\n  ","\n  ","\n  ","\n   ","\n  ","\n  outline: none;\n    &:focus {\n      outline: none;\n    }\n"]);return nw=function(){return n},n}function nS(){let n=(0,S._)(["\n  ","\n  ","\n   ","\n"]);return nS=function(){return n},n}function nC(){let n=(0,S._)(["\n  ","\n  ","\n   ","\n   ","\n \n"]);return nC=function(){return n},n}function nI(){let n=(0,S._)(["\n ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n"]);return nI=function(){return n},n}function nv(){let n=(0,S._)(["\n    cursor: default !important;\n    text-decoration: none !important;\n    display: initial;\n    &:hover {\n      cursor: default !important;\n    }\n"]);return nv=function(){return n},n}function nT(){let n=(0,S._)(["\n      font-size: 12px;\n      font-family: ",";\n      margin-bottom: -2px;\n  "]);return nT=function(){return n},n}function n_(){let n=(0,S._)(["\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n            "]);return n_=function(){return n},n}function nO(){let n=(0,S._)(["\n","\n","\n","\n"]);return nO=function(){return n},n}function nD(){let n=(0,S._)(["\n  ","\n ","\n  ","\n  ","\n  ","\n  ","\n  outline: none;\n  &:focus {\n    outline: none;\n  }\n"]);return nD=function(){return n},n}function nE(){let n=(0,S._)(["\n","\n span{\n   ","\n }\n"]);return nE=function(){return n},n}function nA(){let n=(0,S._)(["\n  display: inline-flex;\n  flex-direction: column;\n  ","\n"]);return nA=function(){return n},n}function nL(){let n=(0,S._)(["\n    margin-top: 0;\n  "]);return nL=function(){return n},n}function nM(){let n=(0,S._)(["\n    background-color: "," !important;\n  "]);return nM=function(){return n},n}function nk(){let n=(0,S._)(["\n    margin-top: -8px;\n  "]);return nk=function(){return n},n}function nR(){let n=(0,S._)(["\n  height: 2px;\n  ","\n  ","\n  ",";\n"]);return nR=function(){return n},n}function nP(){let n=(0,S._)(["\n  font-family: ",";\n  font-size: 14px;\n  line-height: 22px;\n  font-weight:500;\n"]);return nP=function(){return n},n}function nN(){let n=(0,S._)(["\n        line-height: 1.3;\n    "]);return nN=function(){return n},n}function nB(){let n=(0,S._)(["\n    font-family: ",";\n    border-radius: 50%;\n    height: 20px;\n    width: 20px;\n    color: ",";\n    text-align: center;\n    margin: 0;\n    margin-left: 13px;\n    font-size: 11px;\n    font-weight: 500;\n    background: rgba(251, 201, 121, 0.3);\n    border: 2px solid rgb(251, 201, 121);\n    display: inline-flex;\n    line-height: 1;\n    justify-content: center;
1\n    align-items: center;\n    padding-left: 1px;\n    padding-top: 2px;\n   ","\n\n    ",";\n"]);return nB=function(){return n},n}let nj={Underline:(0,C.css)(_()),Italics:(0,C.css)(O()),Bold:(0,C.css)(D(),y.typography.type.motiva_medium,n=>{let{$styledprop:e}=n;return a()(e,"isTwoColumnAccountMenu",!1)&&"font-weight: 700;"}),Light:(0,C.css)(E(),y.typography.type.motiva_light),Left:(0,C.css)(A()),Center:(0,C.css)(L()),Right:(0,C.css)(M()),Hyperlink:(0,C.css)(k(),I.colors.link_blue,I.colors.black),noActionUnderlineCss:(0,C.css)(R()),footerLinkTextCss:(0,C.css)(P(),I.colors.black,I.colors.black),linkCss:(0,C.css)(N(),I.colors.link_blue),actionUnderlineCss:(0,C.css)(B()),actionButtonUnderlineCss:(0,C.css)(j()),whiteSpacePreCss:(0,C.css)(H()),rewardsubheadlinerCss:(0,C.css)(U(),I.colors.black,(0,v.Fd)((0,C.css)(F()))),rewardsMenuHeadlinerCss:(0,C.css)(z(),y.typography.type.motiva_bold,(0,v.Fd)((0,C.css)(W()))),berewardedHeadlinerCss:(0,C.css)(K(),y.typography.type.motiva_bold,(0,v.Fd)((0,C.css)(Y()))),storeInfoLinkCss:(0,C.css)($())},nH=n=>{let{headlinerstyle:e,navTextData:t,isSmallBUcket:r,subHeader:o,subHeadliner:i,isRewardsMenuText:s,rewardsUnderLineTreatment:l,headliner:c,rewardsMenuHighlightTreatment:u,rewardsBerewardedTreatment:p,isStoreInfoLink:g,subscribeLinkText:h,topHatcouponCode:b,topHatSku:x,righttexticonwrapper:y,isTwoColumnAccountMenu:w}=n,[{actionType:S}]=(0,m.v2)(t),I="";return e&&e.length>0&&e.forEach(n=>{(l||u)&&"Underline"===n||(I=h&&"Hyperlink"===n?(0,C.css)(G(),I,nj.footerLinkTextCss):(0,C.css)(V(),I,nj[n]))}),"link"===a()(t,"ctaCompoundctaType")&&(I=(0,C.css)(Q(),I,nj.linkCss)),(!f.Qoz[S]||o||r||"button"===a()(t,"ctaCompoundctaType")||d()(t.destinationReplaceURL)&&d()(t.destinationURL))&&d()(S)&&d()(x)&&d()(b)||(I=(0,C.css)(q(),I,nj[y?"noActionUnderlineCss":"actionUnderlineCss"])),f.Qoz[S]&&!o&&"budget"!==S&&"ship-to"!==S&&-1!==f.CMp.indexOf(a()(t,"targetWindow"))&&(I=(0,C.css)(Z(),I,nj[y?"noActionUnderlineCss":"actionUnderlineCss"])),!f.Qoz[S]||-1===f.CMp.indexOf(a()(t,"targetWindow"))&&d()(t.destinationReplaceURL)&&d()(t.destinationURL)||!o||w||(I=(0,C.css)(J(),I,nj.noActionUnderlineCss)),"button"===a()(t,"ctaCompoundctaType")&&(I=(0,C.css)(X(),I,nj.actionButtonUnderlineCss)),"string"==typeof a()(c,"headlinertext","")&&a()(c,"headlinertext","").match(/^\s+$/g)&&(I=(0,C.css)(nn(),I,nj.whiteSpacePreCss)),s&&(I=i?(0,C.css)(ne(),I,nj.rewardsubheadlinerCss):(0,C.css)(nt(),I,nj.rewardsMenuHeadlinerCss)),p&&(I=(0,C.css)(nr(),I,nj.berewardedHeadlinerCss)),g&&(I=(0,C.css)(no(),I,nj.storeInfoLinkCss)),I},nF=(0,C.css)(na(),(0,v.Fd)((0,C.css)(ni()))),nU=C.default.span.withConfig({componentId:"sc-fbb0b67f-0"})(ns(),n=>{let{$styledprop:e}=n;return a()(e,"configuratorTitle",!1)?"display:block":""},n=>{let{$styledprop:e}=n;return a()(e,"isTopHat",!1)&&nF},n=>{let{$styledprop:e}=n;return a()(e,"customCSS","")},n=>{let{$styledprop:e}=n;return e&&nH(e)}),nW=(0,C.css)(nl(),I.colors.black),nz=(0,C.css)(nc()),nY=(0,C.css)(nu(),y.typography.type.motiva),nK=(0,C.css)(np()),n$=(0,C.css)(nd()),nG=(0,C.css)(nf()),nV=(0,C.css)(nm(),I.colors.black),nQ=(0,C.css)(ng()),nq=(0,C.css)(nh()),nZ=(0,C.css)(nb(),I.colors.black),nJ=(0,C.css)(nx(),I.colors.black),nX=(0,C.default)(T.default).withConfig({componentId:"sc-fbb0b67f-1"})(ny(),n=>{let{$styledprop:e}=n;return a()(e,"configuratorTitle",!1)?"white-space: pre-wrap;  color: inherit !important;":""},n=>{let{$styledprop:e}=n;return a()(e,"customCSS","")},n=>{let{$styledprop:e}=n;return e&&nH(e)},n=>{let{$styledprop:e}=n;return a()(e,"supressH1",!1)&&nW},n=>{let{$styledprop:e}=n;return a()(e,"isLocalBusinessDrawer",!1)&&"\n     &:hover{\n      span{\n        cursor: pointer !important;\n      }\n     }\n  \n  "}),n0=C.default.span.withConfig({componentId:"sc-fbb0b67f-2"})(nw(),n=>{let{$styledprop:e}=n;return a()(e,"configuratorTitle",!1)?"white-space: pre-wrap;":""},n=>{let{$styledprop:e}=n;return a()(e,"supressH1",!1)&&nW},n=>{let{$styledprop:e}=n;return a()(e,"isTopHat",!1)&&nF},n=>{let{$styledprop:e}=n;return a()(e,"customCSS","")},n=>{let{$styledprop:e}=n;return a()(e,"isLocalBusinessDrawer",!1)&&"\n     &:hover{\n       cursor: pointer !important;\n     }\n  \n  "},n=>{let{$styledprop:e}=n;return e&&nH(e)}),n1=C.default.li.withConfig({componentId:"sc-fbb0b67f-3"})(nS(),n=>{let{$styledprop:e}=n;return a()(e,"customCSS","")},n=>{let{$styledprop:e}=n;return e&&nH(e)},n=>{let{$styledprop:e}=n;return a()(e,"textConfig",!1)?a()(e,"iconName",!1)?n$:nG:""}),n2=C.default.span.withConfig({componentId:"sc-fbb0b67f-4"})(nC(),n=>{let{$styledprop:e}=n;return a()(e,"customCSS","")},n=>{let{$styledprop:e}=n;return e&&nH(e)},n=>{let{$styledprop:e}=n;return a()(e,"productCardOrderedList",!1)&&nq},n=>{let{$styledprop:e}=n;return a()(e,"productCardStyle",!1)?a()(e,"iconName",!1)?nJ:nZ:nV}),n6=C.default.span.withConfig({componentId:"sc-fbb0b67f-5"})(nI(),n=>{let{$styledprop:e}=n;return a()(e,"configuratorTitle",!1)?"white-space: pre-wrap; \n ".concat(nQ):""},n=>{let{$styledprop:e}=n;return a()(e,"isTwoColumnAccountMenu",!1)&&"display: block;margin-bottom: 12px;color: ".concat(I.colors.black,";font-family: ").concat(y.typography.type.motiva_medium,";font-weight: 700;font-size:12px;line-height: 16px;")},n=>{let{$styledprop:e}=n;return(Number(a()(e,"headlinerMainGap",0))||0)>0?"display: block;":""},n=>{let{$styledprop:e}=n;return a()(e,"preserveWhiteSpace",!1)?"white-space: pre-wrap;":""},n=>{let{$styledprop:e}=n;return a()(e,"customCSS","")},n=>{let{$styledprop:e}=n;return e&&nH(e)},n=>{let{$styledprop:e}=n;return a()(e,"tooltip",!1)?nK:""},n=>{let{$styledprop:e}=n;return a()(e,"isTopHat",!1)&&nF},n=>{let{$styledprop:e}=n;return a()(e,"underlineProp",!1)&&nj.Underline},n=>{let{$styledprop:e}=n,t=Number(a()(e,"headlinerMainGap",0))||0,r=a()(e,"isLastHeadlinerMainBlock",!1);return t>0&&!r?"margin-bottom: ".concat(t,"px;"):""}),n4=(0,C.css)(nv()),n5=C.default.span.withConfig({componentId:"sc-fbb0b67f-6"})(n_(),n=>{let{$styledprop:e}=n;return a()(e,"customCSS","")},n=>{let{$styledprop:e}=n;return e&&nH(e)},n=>{let{$styledprop:e}=n;return a()(e,"textHover",!1)&&n4},n=>{let{$styledprop:e}=n;return a()(e,"noCursorPointer",!1)&&nz},n=>{let{$styledprop:e}=n;return a()(e,"isTopHat",!1)&&nF},n=>{let{$styledprop:e}=n;return a()(e,"isLocalBusinessDrawer",!1)&&"\n     &:hover{\n      text-decoration: none !important;\n      cursor: default !important;\n     }\n  \n  "},n=>{let{$styledprop:e}=n;return a()(e,"rightTopContentWithTextmenu",!1)&&(0,C.css)(nT(),y.typography.type.motiva_light)},n=>{let{$styledprop:e}=n;return a()(e,"noActionUnderlineAccount",!1)&&nY},n=>{let{$styledprop:e}=n;return a()(e,"configuratorTitle","")?"":"white-space: pre-wrap;\n  &:focus {\n      outline: none;\n    }\n  &:focus-visible {\n            outline: 1px dashed ".concat(I.colors.black," !important;\n  }")},n=>{let{$styledprop:e}=n;return a()(e,"isWelcomeTowcomeMSG",!1)&&"white-space: pre;"}),n3=C.default.h1.withConfig({componentId:"sc-fbb0b67f-7"})(nO(),n=>{let{$styledprop:e}=n;return a()(e,"configuratorTitle",!1)?"white-space: pre-wrap;":""},n=>{let{$styledprop:e}=n;return e&&nH(e)},n=>{let{$styledprop:e}=n;return a()(e,"customCSS","")}),n8=C.default.sup.withConfig({componentId:"sc-fbb0b67f-8"})(nD(),n=>{let{$styledprop:e}=n;return a()(e,"customCSS","")},n=>{let{$styledprop:e}=n;return a()(e,"configuratorTitle",!1)?"font-size: 75% !important":""},n=>{let{$styledprop:e}=n;return e&&nH(e)},n=>{let{$styledprop:e}=n;return a()(e,"textHover",!1)&&n4},n=>{let{$styledprop:e}=n;return a()(e,"noCursorPointer",!1)&&nz},n=>{let{$styledprop:e}=n;return a()(e,"isTopHat",!1)&&nF}),n7=C.default.li.withConfig({componentId:"sc-fbb0b67f-9"})(nE(),n=>{let{$styledprop:e}=n;return e&&nH(e)},nV),n9=C.default.span.withConfig({componentId:"sc-fbb0b67f-10"})(nA(),n=>{let{$styledprop:e}=n;return a()(e,"customCSS","")}),en=C.default.span.withConfig({componentId:"sc-fbb0b67f-11"})(nR(),n=>{let{iscom:e}=n;return e&&(0,C.css)(nL())},n=>{let{bg:e}=n;return e&&I.colors[e]&&(0,C.css)(nM(),I.colors[e])},(0,v.Ys)((0,C.css)(nk()))),ee=C.default.span.withConfig({componentId:"sc-fbb0b67f-12"}
1)(nP(),y.typography.type.motiva_medium),et=C.default.span.withConfig({componentId:"sc-fbb0b67f-13"})(nB(),y.typography.type.motiva_medium,I.colors.black,n=>{let{$styledprop:e}=n;return a()(e,"isTwoColumnAccountMenu",!1)&&" margin-left: 8px;font-size: 12px;line-height: 20px;font-weight: 500;height: 21px;width: 24px;"},(0,v.Fd)((0,C.css)(nN()))),er=u()(()=>t.e(8781).then(t.bind(t,38983)).then(n=>{let{Countdown:e}=n;return e}),{loadableGenerated:{webpack:()=>[38983]}}),eo=n=>{let{customCSS:e,navTextData:t,headliner:i,subHeadliner:s,parentStyle:l,parentChildStyle:c,isOverriddenActionType:u,iconColor:p,messageCountSba:g,handleTextClick:b,isMessagesText:S,renderMesagesText:C,breakpoint:I,navigationUrl:v,Drawer:T,subHeader:_,isRewardsMenuText:O,treatmentType:D,rewardsMenuColor:E,availableRewardsAmount:A,rewardsAvailableFlyout:L,isTopHat:M,headlinerSpecialCharacterOnly:k,id:R,noCursorPointer:P,siteVariables:N,isStoreInfoLink:B,searchItemText:j,footerLabels:H,subscribeLinkText:F,mobileHeadlinerTextColor:U,topHatcouponCode:W,topHatSku:z,iconSize:Y,ish1Tag:K,supressH1:$,theme:G,configuratorTitle:V,tooltip:Q,iconName:q,productCardOrderedList:Z,signInPopup:J,productCardStyle:X,textConfig:nn,charLimit:ne,isLocalBusinessDrawer:nt,preserveWhiteSpace:nr,righttexticonwrapper:no,isTextDestinationMenu:ni,isTwoColumnAccountMenu:na,isLiveTextSubHeadliner:ns,headlinerMainGap:nl}=n,[{actionType:nc}]=(0,m.v2)(t),nu="rewards-menu-underline"===D,np="rewards-menu-highlight"===D,nd="rewards-be-rewarded"===D,nf="ACCOUNT-NUMBER"===f.Qoz[nc],nm="BUDGET"===f.Qoz[nc],ng=L?"$".concat(Math.floor(parseFloat(A))," "):"",nh="WELCOME-MSG"===f.Qoz[nc],nb="sm"==I||"xs"===I,nx="CHAT"===f.Qoz[nc],ny="FEEDBACK"===f.Qoz[nc],nw="STORE-SEARCH-ERROR-MESSAGE"===f.Qoz[nc],nS="";"object"==typeof l&&l.length>0?l.map(n=>nS+="".concat(n," ")):nS=l;let nC=(n,o,l)=>(0,r.jsxs)(nU,{className:nS,$styledprop:{headlinerstyle:o,navTextData:t,isSmallBUcket:nb,subHeader:_,subHeadliner:s,isRewardsMenuText:O,rewardsUnderLineTreatment:nu,headliner:i,rewardsMenuHighlightTreatment:np,rewardsBerewardedTreatment:nd,isStoreInfoLink:B,subscribeLinkText:F,topHatcouponCode:W,topHatSku:z,isTopHat:M,customCSS:e,configuratorTitle:V},...!T||"link"===a()(t,"ctaCompoundctaType")&&{"aria-hidden":"true"},style:nb?U?{color:U}:{}:l?{color:l}:{},children:[n,(0,r.jsx)("br",{})]}),nI=(n,a,l,c,p,f)=>(0,r.jsx)(o.Fragment,{children:(0,r.jsx)(nX,{tabIndex:M&&!d()(v)?"-1":"0",$styledprop:{headlinerstyle:a,navTextData:t,isSmallBUcket:nb,subHeader:_,subHeadliner:s,isRewardsMenuText:O,rewardsUnderLineTreatment:nu,headliner:i,rewardsMenuHighlightTreatment:np,rewardsBerewardedTreatment:nd,isStoreInfoLink:B,subscribeLinkText:F,topHatcouponCode:W,topHatSku:z,supressH1:$,customCSS:e,configuratorTitle:V,isLocalBusinessDrawer:nt},className:nS,onMouseDown:m.ZA,onKeyUp:m.M,onKeyDown:m.M,...$?null:{href:c},onClick:e=>b(e,{destinationURL:c},u,n),target:"new-page"===p?"_blank":"_self",children:(0,r.jsxs)(n0,{className:nS,$styledprop:{headlinerstyle:a,navTextData:t,isSmallBUcket:nb,subHeader:_,subHeadliner:s,isRewardsMenuText:O,rewardsUnderLineTreatment:nu,headliner:i,rewardsMenuHighlightTreatment:np,rewardsBerewardedTreatment:nd,isStoreInfoLink:B,subscribeLinkText:F,topHatcouponCode:W,topHatSku:z,isTopHat:M,supressH1:$,customCSS:e,configuratorTitle:V,isLocalBusinessDrawer:nt},style:nb?U?{color:U}:{}:f?{color:f}:{},children:[l,n,M&&!k?(0,r.jsx)("span",{children:"\xa0"}):null]})})}),nv=n=>{let{headlinerMain:t,headlinerMainstyle:i}=n;if(!d()(t))return(null==i?void 0:i.indexOf("OrderedList"))!==-1||(null==i?void 0:i.indexOf("UnorderedList"))!==-1||(null==i?void 0:i.indexOf("UnOrderedList"))!==-1?(0,r.jsx)(o.Fragment,{children:(0,r.jsxs)(n1,{className:nS,$styledprop:{headlinerstyle:i,textConfig:nn,iconName:q,customCSS:e},children:[q&&(0,r.jsx)("div",{children:(0,r.jsx)(w.Icon,{color:p,size:"sm"==I||"xs"==I?Y||16:Y||20,name:q})}),(0,r.jsx)(n2,{className:c,$styledprop:{productCardOrderedList:Z,configuratorTitle:V,productCardStyle:X,iconName:q,textConfig:nn},children:nT(t)})]})}):nT(t)},nT=n=>x()(n,(l,c)=>{let{headlinerBlock:u,headlinerBlockstyle:p}=l;if(!d()(u)){let l=c===n.length-1;return(0,r.jsx)(o.Fragment,{children:(null==p?void 0:p.indexOf("Underline"))===-1||V?(null==p?void 0:p.indexOf("Line break"))!==-1?(0,r.jsxs)(n6,{className:"".concat(nS).concat(V?"lineBreakFocus":""),$styledprop:{headlinerstyle:p,navTextData:t,underlineProp:(null==p?void 0:p.indexOf("Underline"))>-1,isSmallBUcket:nb,isTwoColumnAccountMenu:na,tooltip:Q,subHeader:_,subHeadliner:s,isRewardsMenuText:O,rewardsUnderLineTreatment:nu,headliner:i,rewardsMenuHighlightTreatment:np,rewardsBerewardedTreatment:nd,isStoreInfoLink:B,subscribeLinkText:F,topHatcouponCode:W,topHatSku:z,isTopHat:M,customCSS:e,preserveWhiteSpace:nr,headlinerMainGap:nl,isLastHeadlinerMainBlock:l},...!T||"link"===a()(t,"ctaCompoundctaType")&&{"aria-hidden":"true"},style:nb?U?{color:U}:{}:a()(i,"headlinertextColor","")?{color:a()(i,"headlinertextColor","")}:{},children:[nO(u),(0,r.jsx)("br",{})]}):(0,r.jsx)(o.Fragment,{children:nO(u)}):(0,r.jsx)(o.Fragment,{children:(0,r.jsxs)(n9,{customcss:e,className:"".concat(nS),children:[nO(u),(0,r.jsx)(en,{bg:E})]})})},"headliner-main-block-".concat(c))}return[]}),n_=(n,l,c,u)=>(0,r.jsx)(o.Fragment,{children:H?(0,r.jsxs)(o.Fragment,{children:[n," "]}):(0,r.jsxs)(n5,{...!V&&{tabIndex:"-1"},id:R,$styledprop:{headlinerstyle:l,isTwoColumnAccountMenu:na,isWelcomeTowcomeMSG:nh&&na,navTextData:t,configuratorTitle:V,isSmallBUcket:nb,subHeader:_,subHeadliner:s,isRewardsMenuText:O,rewardsUnderLineTreatment:nu,headliner:i,rewardsMenuHighlightTreatment:np,rewardsBerewardedTreatment:nd,isStoreInfoLink:B,subscribeLinkText:F,topHatcouponCode:W,topHatSku:z,noActionUnderlineAccount:!J&&(nf||nh)&&N.isCOM,customCSS:e,textHover:nf||nh||nm||!v&&!nb&&T&&!nx&&!ny,isTopHat:M,noCursorPointer:P,isLocalBusinessDrawer:nt,righttexticonwrapper:no,rightTopContentWithTextmenu:no&&ni&&N.isCOM},className:"".concat(nS," ").concat(V?"":"headlinerText"),...!T||"link"===a()(t,"ctaCompoundctaType")&&{"aria-hidden":"true"},style:nb&&U?{color:U}:u?{color:u}:{},children:[c,C&&na&&g>0&&(0,r.jsxs)(r.Fragment,{children:["You have ",(0,r.jsx)("strong",{style:{fontFamily:y.typography.type.motiva_bold},children:g})," ",g>1?"messages.":"message."]}),ns&&(0,r.jsx)(er,{returnTimer:ns}),n,M&&!k?(0,r.jsx)("span",{children:"\xa0"}):null]})}),nO=(0,o.useCallback)(n=>{let a=[];return x()(n,n=>{let{headlinerstyle:l=[],headlinertext:u,headlinerMainstyle:d,headlinerMain:f,headlinerdestinationURL:b,headlinertargetWindow:x,headlinertextColor:y}=n,C=M?h()(u):"Icon_Card"==G?(0,m.v_)(u,ne):u;if(d||f)a.push(nv(n));else{let n=!0;if(!C&&M)return null;l.length>0&&((null==l?void 0:l.indexOf("Line break"))!==-1&&(a.push((0,r.jsx)(o.Fragment,{children:nu&&(null==l?void 0:l.indexOf("Underline"))!==-1?(0,r.jsx)(o.Fragment,{children:(0,r.jsxs)(n9,{className:nS,children:[nC(C,l,y),(0,r.jsx)(en,{bg:E,iscom:N.isCOM})]})}):(0,r.jsx)(o.Fragment,{children:nC(C,l,y)})})),n=!1),(null==l?void 0:l.indexOf("Hyperlink"))!==-1&&(a.push((0,r.jsx)(o.Fragment,{children:nu&&(null==l?void 0:l.indexOf("Underline"))!==-1?(0,r.jsx)(o.Fragment,{children:(0,r.jsxs)(n9,{className:nS,children:[nI(C,l,"",b,x,y),l&&(null==l?void 0:l.indexOf("Line break"))!==-1&&(null==l?void 0:l.indexOf("Hyperlink"))!==-1&&nu&&(null==l?void 0:l.indexOf("Underline"))!==-1&&(0,r.jsx)("br",{}),(0,r.jsx)(en,{bg:E,iscom:N.isCOM})]})}):(0,r.jsxs)(o.Fragment,{children:[nI(C,l,"",b,x,y),l&&(null==l?void 0:l.indexOf("Line break"))!==-1&&(null==l?void 0:l.indexOf("Hyperlink"))!==-1&&(null==l?void 0:l.indexOf("Underline"))!==-1&&(0,r.jsx)("br",{})]})})),n=!1),(null==l?void 0:l.indexOf("Superscript"))!==-1&&(a.push((0,r.jsx)(o.Fragment,{children:(0,r.jsx)(n8,{$styledprop:{headlinerstyle:l,configuratorTitle:V,navTextData:t,isSmallBUcket:nb,subHeader:_,subHeadliner:s,isRewardsMenuText:O,rewardsUnderLineTreatment:nu,headliner:i,rewardsMenuHighlightTreatment:np,rewardsBerewardedTreatment:nd,isStoreInfoLink:B,subscribeLinkText:F,topHatcouponCode:W,topHatSku:z,noActionUnderlineAccount:nf||nh,customCSS:e,textHover:nf||nh||nm||!v&&!nb&&T&&!nx&&!ny,isTopHat:M,noCursorPointer:P},className:"".concat(nS," headlinerText"),style:nb?U?{color:U}:{}:y?{color:y}:{},children:C})})),n=!1),(null==l?void 0:l.indexOf("BulletList"))!==-1&&(a.push((0,r.jsxs)(n7,{className:nS,$styledprop:{headlinerstyle:l},children:[q&&(0,r.jsx)("div",{children:(0,r.jsx)(w.Icon,{color:p,size:"sm"==I||"xs"==I?Y||16:Y||20,name:q})}),(0,r.jsx)("span",{style:y?{color:y}:{},className:"".concat(c),children:C})]})),n=!1)),n&&(K?a.push((0,r.jsx)(n3,{className:nS,$styledprop:{customCSS:e,headlinerstyle:l,configuratorTitle:V},style:y?{color:y}:null,children:u})):a.push((0,r.jsx)(o.Fragment,{children:nu&&(null==l?void 0:l.indexOf("Underline"))!==-1?(0,r.jsx)(o.Fragment,{children:(0,r.jsxs)(n9,{className:nS,$styledprop:{customCSS:e},children:[n_(C,l,ng,y),(0,r.jsx)(en,{bg:E,iscom:N.isCOM})]})}):(0,r.jsx)(o.Fragment,{children:n_(C,l,ng,y)})})),j&&nw&&a.push((0,r.jsxs)(ee,{children:["\xa0",'"'.concat(j,'".')]}))),S&&g>0&&a.push((0,r.jsx)(et,{$styledprop:{isTwoColumnAccountMenu:na},children:g}))}}),a},[t,i,u,g,I,M,j]),nD=(0,o.useCallback)(()=>{let n=[],e=a()(t,"mobileHeadliner[0]",{});return nb&&!d()(e)&&n.push(nv(e)),(nb&&d()(e)||!nb&&i&&!d()(i))&&n.push(nv(i)),n},[i,j,V]);return(0,r.jsx)(o.Fragment,{children:nD()})};eo.defaultProps={availableRewardsAmount:0,bottomLeftContent:!1,breakpoint:"",charLimit:18,configuratorTitle:!1,customCSS:"",Drawer:!1,footerLabels:!1,handleTextClick:()=>{},headliner:{},headlinerMainGap:0,headlinerSpecialCharacterOnly:!1,iconColor:"",iconName:"",iconSize:"",id:"",ish1Tag:!1,isLiveTextSubHeadliner:!1,isLocalBusinessDrawer:!1,isMessagesText:!1,isOverrid
1denActionType:"",isRewardsMenuText:!1,isStoreInfoLink:!1,isTextDestinationMenu:!1,isTopHat:!1,isTwoColumnAccountMenu:!1,messageCountSba:"",mobileHeadliner:!1,mobileHeadlinerTextColor:"",navigationUrl:"",navTextData:{},noCursorPointer:!1,parentChildStyle:[],parentStyle:[],preserveWhiteSpace:!1,productCardOrderedList:"",productCardStyle:[],renderMesagesText:!1,rewardsAvailableFlyout:!1,rewardsMenuColor:"",righttexticonwrapper:!1,searchItemText:"",signInPopup:!1,siteVariables:{},subHeader:!1,subHeadliner:!1,subscribeLinkText:!1,supressH1:!1,textConfig:"",theme:"",tooltip:"",topHatcouponCode:"",topHatSku:"",treatmentType:""},eo.propTypes={availableRewardsAmount:l().number,bottomLeftContent:l().bool,breakpoint:l().string,charLimit:l().number,configuratorTitle:l().bool,customCSS:l().string,Drawer:l().bool,footerLabels:l().bool,handleTextClick:l().func,headliner:l().object,headlinerMainGap:l().number,headlinerSpecialCharacterOnly:l().bool,iconColor:l().string,iconName:l().string,iconSize:l().string,id:l().string,ish1Tag:l().bool,isLiveTextSubHeadliner:l().bool,isLocalBusinessDrawer:l().bool,isMessagesText:l().bool,isOverriddenActionType:l().string,isRewardsMenuText:l().bool,isStoreInfoLink:l().bool,isTextDestinationMenu:l().bool,isTopHat:l().bool,isTwoColumnAccountMenu:l().bool,messageCountSba:l().number,mobileHeadliner:l().bool,mobileHeadlinerTextColor:l().string,navigationUrl:l().string,navTextData:l().object,noCursorPointer:l().bool,parentChildStyle:l().array,parentStyle:l().array,preserveWhiteSpace:l().bool,productCardOrderedList:l().string,productCardStyle:l().array,renderMesagesText:l().bool,rewardsAvailableFlyout:l().bool,rewardsMenuColor:l().string,righttexticonwrapper:l().bool,searchItemText:l().string,signInPopup:l().bool,siteVariables:l().object,subHeader:l().bool,subHeadliner:l().bool,subscribeLinkText:l().bool,supressH1:l().bool,textConfig:l().string,theme:l().string,tooltip:l().string,topHatcouponCode:l().string,topHatSku:l().string,treatmentType:l().string};var ei=n=>(0,r.jsx)(eo,{...n})},23566:function(n,e,t){"use strict";t.d(e,{V:function(){return rC},Z:function(){return rT}});var r=t(85893),o=t(67294),i=t(29542),a=t(24187),s=t(53558),l=t(79393),c=t(10350),u=t(27361),p=t.n(u),d=t(41609),f=t.n(d),m=t(8823),g=t(30340),h=t(45697),b=t.n(h),x=t(87465),y=t(92742),w=t.n(y),S=t(42847),C=t(5152),I=t.n(C),v=t(517),T=t(54061),_=t.n(T),O=t(13311),D=t.n(O),E=t(37340),A=t(19521),L=t(27896),M=t(94511),k=t(98659),R=t(63670);function P(){let n=(0,E._)(["\n  sup {\n    top: unset !important;\n    vertical-align: super !important;\n  }\n"]);return P=function(){return n},n}function N(){let n=(0,E._)(["\n    cursor: default !important;\n    text-decoration: none !important;\n    display: initial;\n    &:hover {\n      cursor: default !important;\n    }\n"]);return N=function(){return n},n}function B(){let n=(0,E._)(["\n    color: "," !important;\n    cursor: pointer;\n    outline: none;\n    &:hover {\n        text-decoration: underline;\n        .topHatHeadliner {\n            text-decoration: underline !important;\n        }\n    }\n    &:focus {\n        outline: 1px dashed ",";\n    }\n"]);return B=function(){return n},n}function j(){let n=(0,E._)(["\n  width: auto;\n  font-size: 14px;\n  color: ",";\n  font-family: ",";\n  white-space: normal;\n  cursor: pointer;\n   outline: none;\n\n  ","\n\n  \n  &:focus {\n    outline: 1px dashed ",";\n    outline-offset: 1px;\n    .iconWithTextWrapper {\n      display: inline-block;\n      &.iconWithTextWrapperTopHat {\n        display: inline-flex;\n      }\n    }\n    .iconWithTextWrapperTopHat {\n      display: inline-flex;\n    }\n  }\n  &:hover {\n    text-decoration: underline; \n  }\n  \n  &:active {\n    outline: none !important;\n  }\n"]);return j=function(){return n},n}function H(){let n=(0,E._)(["\n  font-size: 0;\n  * {\n    font-size: 14px;\n    white-space: pre-wrap;\n  }\n"]);return H=function(){return n},n}function F(){let n=(0,E._)(["\n  svg {\n    &:hover {\n      cursor: pointer !important;\n    }\n  }\n"]);return F=function(){return n},n}function U(){let n=(0,E._)(["\n  font-family: ",";\n  font-weight: 500;\n  font-size: 16px;\n  letter-spacing: 0.43px;\n  display: flex;\n  white-space: nowrap;\n  &:active {\n    outline: none;\n  }\n"]);return U=function(){return n},n}function W(){let n=(0,E._)(["\n      font-size: 12px;\n    "]);return W=function(){return n},n}function z(){let n=(0,E._)(["\n              font-size: 14px;\n          "]);return z=function(){return n},n}function Y(){let n=(0,E._)(["\n  font-size: 14px;\n  font-family: ",";\n  letter-spacing: 0.43px;\n  outline: none;\n  ",";\n  }\n  .iconWithTextWrapper {\n      &:last-of-type {\n          position: relative;\n          top:2px;\n          ",";\n      }\n      .subHeaderTextIconPosition {\n          top: -3px !important;\n      }\n  }\n"]);return Y=function(){return n},n}function K(){let n=(0,E._)(["\n        text-decoration: none;\n      "]);return K=function(){return n},n}function $(){let n=(0,E._)(["\n       padding-bottom: 0px !important;\n       padding-right: 6px !important;\n       display: flex;\n       justify-content: center;\n       align-items: center;\n    "]);return $=function(){return n},n}function G(){let n=(0,E._)(["\n          padding-right: 16px;\n          padding-bottom: 0;\n       "]);return G=function(){return n},n}function V(){let n=(0,E._)(["\n      padding-right: 4px;\n      margin-top: -3px;\n      outline: none;\n      &:focus {\n        outline: none;\n      }\n    "]);return V=function(){return n},n}function Q(){let n=(0,E._)(["\n      padding-right: 10px;\n      padding-bottom: 0;\n    "]);return Q=function(){return n},n}function q(){let n=(0,E._)(["\n      padding-right: 16px;\n      padding-bottom: 0;\n    "]);return q=function(){return n},n}function Z(){let n=(0,E._)(["\n        padding-right: 10px;\n        "]);return Z=function(){return n},n}function J(){let n=(0,E._)(["\n      padding-right: 8px;\n      padding-bottom: 4px;\n      ",";\n    "]);return J=function(){return n},n}function X(){let n=(0,E._)(["\n        padding-right: 0;\n        margin-right: 12px;\n        border-color: transparent;\n      "]);return X=function(){return n},n}function nn(){let n=(0,E._)(["\n          height: 48px;\n          min-width: 48px;\n      "]);return nn=function(){return n},n}function ne(){let n=(0,E._)(["\n      position: relative;\n      height: 56px;\n      min-width: 56px;\n      border-radius: 50%;\n      border: 2px solid;\n      display: flex;\n      justify-content: center;\n      transition: all 0.2s;\n      align-items: center;\n      ","\n      &:focus {\n          outline: none;\n      }\n      ",";\n    "]);return ne=function(){return n},n}function nt(){let n=(0,E._)(["\n        padding-right: 8px !important;\n    "]);return nt=function(){return n},n}function nr(){let n=(0,E._)(["\n       padding-bottom: 0px !important;\n       display: flex;\n       justify-content: center;\n       align-items: center;\n    "]);return nr=function(){return n},n}function no(){let n=(0,E._)(["\n        padding-right: 0px;\n        margin-top: 0px;\n      "]);return no=function(){return n},n}function ni(){let n=(0,E._)(["\n      padding-right: 12px;\n      margin-top: 0px;\n      ",";\n      &:hover {\n        box-shadow: none !important;\n        cursor: pointer !important;\n      }\n    "]);return ni=function(){return n},n}function na(){let n=(0,E._)(["\n      display: inline-flex;\n      margin: auto 0;\n      vertical-align: bottom;\n      padding-bottom: 1px;\n    "]);return na=function(){return n},n}function ns(){let n=(0,E._)(["\n      cursor: pointer !important;\n    "]);return ns=function(){return n},n}function nl(){let n=(0,E._)(["\n      display: inline-block !important;\n      width: 100%;\n    "]);return nl=function(){return n},n}
1function nc(){let n=(0,E._)(["\n          margin-top: -1px;\n      "]);return nc=function(){return n},n}function nu(){let n=(0,E._)(["\n      ","\n    "]);return nu=function(){return n},n}function np(){let n=(0,E._)(["\n      height: 44px;\n      width: 44px;\n      padding-top: 4px;\n      padding-left: 4px;\n      border-radius: 50%;\n      text-align: center;\n      justify-content: center;\n      display: flex;\n      align-items: center;\n      > div {\n        margin-top: 8px;\n      }\n      &:hover {\n        background-color: rgba(0, 0, 0, 0.09);\n        border-radius: 50%;\n        height: 44px;\n        width: 44px;\n        justify-content: center;\n        display: flex;\n        align-items: center;\n        cursor: pointer\n      }\n    "]);return np=function(){return n},n}function nd(){let n=(0,E._)(["\n      display: inline-flex;\n    "]);return nd=function(){return n},n}function nf(){let n=(0,E._)(["\n      background-color: "," !important;\n    "]);return nf=function(){return n},n}function nm(){let n=(0,E._)(["\n      display: flex;\n      align-items: center;\n      margin-right: 16px;\n      padding: 11px 11px;\n      border-radius: 50%;\n      background-color: #4D4D4F;\n      position: relative;\n      top: -1px;\n      align-self: center;\n    "]);return nm=function(){return n},n}function ng(){let n=(0,E._)(["\n      width: 32px;\n      height: 32px;\n      padding-right: 0 !important;\n      margin-right: 8px;\n      div {\n        margin: 3px 0 0 3px;\n      }\n      &:hover {\n        width: 32px;\n        height: 32px;\n        background-color: rgba(0, 0, 0, 0.09);\n        border-radius: 100%;\n        display: block;\n        transition: all .15s cubic-bezier(.15, .5, .5, 1);\n        cursor:pointer\n      }\n    "]);return ng=function(){return n},n}function nh(){let n=(0,E._)(["\n        padding-right: 8px !important;\n      "]);return nh=function(){return n},n}function nb(){let n=(0,E._)(["\n      ",";\n    "]);return nb=function(){return n},n}function nx(){let n=(0,E._)(["\n      float: left;\n    "]);return nx=function(){return n},n}function ny(){let n=(0,E._)(["\n      float: right;\n    "]);return ny=function(){return n},n}function nw(){let n=(0,E._)(["\n      text-align: center;\n    "]);return nw=function(){return n},n}function nS(){let n=(0,E._)(["\n      float: left;\n    "]);return nS=function(){return n},n}function nC(){let n=(0,E._)(["\n    padding-right: 10px;\n    outline: none;\n    &:hover {\n      cursor: ",";\n      ","\n    }\n      \n    ","\n       ","\n    ","\n    ","\n     ","\n     ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    &.subHeaderTextIconPosition {\n        position: relative;\n        top: 0;\n    }\n    &.Left {\n      float: left;\n    }\n    &.Center {\n      text-align: center;\n    }\n    &.Right {\n      float: right;\n    }\n"]);return nC=function(){return n},n}function nI(){let n=(0,E._)(["\n  .iconWithTextWrapper {\n      &:last-of-type {\n        position: relative;\n      }\n      .icon-logo {\n        padding-right: 0px !important;\n        &:hover{\n           cursor: pointer;\n        }\n      }\n  }\n  font-size: 16px !important;\n\n  line-height: 24px;\n  font-weight: 400;\n  font-family: ",";\n  color: ",";\n  "," {\n    padding-bottom: 0;\n          }\n"]);return nI=function(){return n},n}function nv(){let n=(0,E._)(["\n  .iconWithTextWrapper {\n      &:last-of-type {\n        position: relative;\n      }\n      .subHeaderTextIconPosition {\n        top:0 !important;\n      }\n  }\n  font-family: ",";\n  color: ",";\n  letter-spacing: 0.12px;\n  font-size: 12px;\n"]);return nv=function(){return n},n}function nT(){let n=(0,E._)(["\n  font-size: 16px;\n  font-weight: 300;\n  line-height: 24px;\n  color: ",";\n  padding: 6px 12px 6px 0;\n  font-family: ",";\n"]);return nT=function(){return n},n}function n_(){let n=(0,E._)(["\n        font-size: 12px;\n        line-height: 16px;\n        margin-right: 4px;\n        @media (min-width: 821px) {\n          font-size: 16px;\n          margin-right: 4px;\n          line-height: 24px;\n        }\n      "]);return n_=function(){return n},n}function nO(){let n=(0,E._)(["\n      font-family: "," !important;\n      font-weight: 500;\n      white-space: "," !important;\n      ","\n    "]);return nO=function(){return n},n}function nD(){let n=(0,E._)(["\n    white-space: nowrap !important;\n  "]);return nD=function(){return n},n}function nE(){let n=(0,E._)(["\n    display: inline-flex;\n    justify-content: center;\n    font-family: "," !important;\n    font-size: 14px;\n    font-weight: 400;\n    line-height: 20px;\n    padding-top: 4px;\n    text-align: center;\n    color: "," !important;\n    &:hover{\n     text-decoration: underline;\n    }\n"]);return nE=function(){return n},n}function nA(){let n=(0,E._)(["\n     display: block;\n  "]);return nA=function(){return n},n}function nL(){let n=(0,E._)(["\n    text-align: left;\n  "]);return nL=function(){return n},n}function nM(){let n=(0,E._)(["\n    text-align: right;\n  "]);return nM=function(){return n},n}function nk(){let n=(0,E._)(["\n    text-align: center;\n  "]);return nk=function(){return n},n}function nR(){let n=(0,E._)(["\n      margin-bottom: 10px;\n    "]);return nR=function(){return n},n}function nP(){let n=(0,E._)(["\n    ",";\n  "]);return nP=function(){return n},n}function nN(){let n=(0,E._)(["\n              border-radius: 50%;\n            "]);return nN=function(){return n},n}function nB(){let n=(0,E._)(["\n          padding: 8px 10px;\n        &:hover{\n           border-radius: 18px;\n           background-color: rgba(0, 0, 0, 0.09);\n           cursor: pointer;\n           text-decoration: none !important;\n            ",";\n       }\n  "]);return nB=function(){return n},n}function nj(){let n=(0,E._)(["\n        margin-bottom: -10px;\n    "]);return nj=function(){return n},n}function nH(){let n=(0,E._)(["\n    display: inline-block;\n    ",";\n    svg {\n      margin-left: 6px;\n      margin-top: 6px;\n    }\n  "]);return nH=function(){return n},n}function nF(){let n=(0,E._)(["\n   font-size: 14px !important;\n  "]);return nF=function(){return n},n}function nU(){let n=(0,E._)(["\n    font-size: 12px;\n  "]);return nU=function(){return n},n}function nW(){let n=(0,E._)(["\n    padding: 0 !important;\n  "]);return nW=function(){return n},n}function nz(){let n=(0,E._)(["\n   font-size: 12px !important\n   "]);return nz=function(){return n},n}function nY(){let n=(0,E._)(["\n         background-color: white;\n         border-radius: 0px;\n      "]);return nY=function(){return n},n}function nK(){let n=(0,E._)(["\n      display: inline-block;\n      border-radius: 28px;\n      &:hover {\n      background-color: ",";\n      border-radius: 28px;\n      width: fit-content !important;\n      text-decoration: none !important;\n      ","\n    }\n  "]);return nK=function(){return n},n}function n$(){let n=(0,E._)(["\n    display: block;\n    padding: 0;\n    font-size: 12px;\n    line-height: 16px;\n  "]);return n$=function(){return n},n}function nG(){let n=(0,E._)(["\n     background: "," !important;\n     border-radius: 8px;\n  "]);return nG=function(){return n},n}function nV(){let n=(0,E._)(["\n     padding: 0;\n  "]);return nV=function(){return n},n}function nQ(){let n=(0,E._)(["\n  color: inherit !important;\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n   ","\n  ","\n\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n   ","\n    ","\n  ","\n    ",";\n   ",";\n"]);return nQ=function(){return n},n}function nq(){let n=(0,E._)(["\n    text-align: left;\n  "]);return nq=function(){return n},n}function nZ(){let n=(0,E._)(["\n    text-align: right;\n  "]);return nZ=function(){return n},n}function nJ(){let n=(0,E._)(["\n    text-align: center;\n  "]);return nJ=function(){return n},n}function nX(){let n=(0,E._)(["\n    font-size: 12px;\n  "]);return nX=function(){return n},n}function n0(){let n=(0,E._)(["\n    cursor: default !important;\n  "]);return n0=function(){return n},n}function n1(){let n=(0,E._)(["\n          border-radius: 50%;\n          "]);return n1=function(){return n},n}function n2(){let n=(0,E._)([" \n    padding: 8px 10px;\n    &:hover{\n        border-radius: 18px;\n        background-color: rgba(0, 0, 0, 0.09);\n        cursor: pointer;\n        ",";\n    }\n  "]);return n2=function(){return n},n}function n6(){let n=(0,E._)(["\n    &:hover {\n      text-decoration: none !important;\n      cursor: pointer !important;\n    }\n  "]);return n6=function(){return n},n}function n4(){let n=(0,E._)(["\n    outline: none;\n    &:focus {\n      outline: none;\n    }\n    a {\n      color: ",";\n      outline: none;\n      &:focus {\n        outline: 1px dashed ",";\n      }\n      &:hover {\n        cursor: pointer;\n        text-decoration: underline;\n      }\n    }\n  "]);return n4=function(){return n},n}function n5(){let n=(0,E._)(["\n   font-size: 14px !important;\n  "]);return n5=function(){return n},n}function n3(){let n=(0,E._)(["\n      font-size: 14px !important;\n    "]);return n3=function(){return n},n}function n8(){let n=(0,E._)(["\n    ",";\n  "]);return n8=function(){return n},n}function n7(){let n=(0,E._)(["\n    display: block;\n  "]);return n7=function(){return n},n}function n9(){let n=(0,E._)(["\n    display: inline-block;\n  "]);return n9=function(){return n},n}function en(){let n=(0,E._)(["\n         background-color: white;\n         border-radius: 0px;\n      "]);return en=function(){return n},n}function ee(){let n=(0,E._)(["\n    display: block !important;\n    border-radius: 28px;\n     &:hover {\n      background-color: ",";\n      border-radius: 28px;\n      text-decoration: none !important;\n      width: fit-content !important;\n      ","\n    }\n  "]);return ee=function(){return n},n}function et(){let n=(0,E._)(["\n     padding: 0;\n  "]);return et=function(){return n},n}function er(){let n=(0,E._)(["\n     display: inline-block !important;\n     background: "," !important;\n     border-radius: 8px;\n  "]);return er=function(){return n},n}function eo(){let n=(0,E._)(["\n    display: block;\n    cursor: default;\n    outline: none !important;\n    padding-right: 0;\n    padding-left: 0;\n    &:focus {\n        outline: 1px dashed ",";\n        & > span:last-child {\n            outline: none;\n        }\n    }\n    &:hover {\n      text-decoration: none;\n    }\n  "]);return eo=function(){return n},n}function ei(){let n=(0,E._)(["\n    cursor: default;\n    text-decoration: none ;\n    display: initial;\n  "]);return ei=function(){return n},n}function ea(){let n=(0,E._)(["\n    &:hover {\n      text-decoration: none;\n    }\n    .headlinerText {\n      &:hover {\n        cursor: default;\n        text-decoration: none;\n      }\n    }\n  "]);return ea=function(){return n},n}function es(){let n=(0,E._)(["\n    .headlinerText {\n      &:hover {\n        cursor: pointer !important;\n      }\n    }\n  "]);return es=function(){return n},n}function el(){let n=(0,E._)(["\n    color: "," !important;\n  "]);return el=function(){return n},n}function ec(){let n=(0,E._)(["\n  outline: none;\n  &:focus-visible{\n    outline: 1px dashed ",";\n    outline-offset: 1px;
1  \n  }\n  color: inherit !important;\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ",";\n   ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n"]);return ec=function(){return n},n}function eu(){let n=(0,E._)(["\n      line-height: 16px;\n  "]);return eu=function(){return n},n}function ep(){let n=(0,E._)(["\n  ","\n  font-size: 14px;\n  display: inline-flex;\n  line-height: 18px;\n  margin: auto 0;\n  ",";\n"]);return ep=function(){return n},n}function ed(){let n=(0,E._)(["\n  outline: none;\n  width: 100%;\n  height: 100%;\n  display: block;\n  button {\n    width: inherit;\n  }\n  &:focus {\n    outline: none;\n  }\n"]);return ed=function(){return n},n}function ef(){let n=(0,E._)(["\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    max-height: 24px;\n  "]);return ef=function(){return n},n}function em(){let n=(0,E._)(["\n      background: "," !important; ;\n     "]);return em=function(){return n},n}function eg(){let n=(0,E._)(["\n      background: "," !important; ;\n     "]);return eg=function(){return n},n}function eh(){let n=(0,E._)(["\n    span {\n      font-family: ",";\n    }\n  "]);return eh=function(){return n},n}function eb(){let n=(0,E._)(["\n    button {\n      display: block;\n    }\n  "]);return eb=function(){return n},n}function ex(){let n=(0,E._)(["\n    float: left;\n  "]);return ex=function(){return n},n}function ey(){let n=(0,E._)(["\n    float: right;\n  "]);return ey=function(){return n},n}function ew(){let n=(0,E._)(["\n    text-align: center;\n  "]);return ew=function(){return n},n}function eS(){let n=(0,E._)(["\n  font-size: 14px;\n  outline: none;\n  display: inline-block;\n  width: 100%;\n  button {\n    outline: none;\n    margin: 0;\n    ","\n    ","\n    span {\n      pointer-events: none;\n    }\n    &:focus {\n      outline: 1px dashed ",";\n    }\n    &:active {\n      outline: none;\n    }\n  }\n  ","\n  ","\n  ","\n"]);return eS=function(){return n},n}function eC(){let n=(0,E._)(["\n      color: ",";\n    "]);return eC=function(){return n},n}function eI(){let n=(0,E._)(["\n  cursor: pointer;\n  &:focus {\n    outline: 1px dashed ",";\n    outline-offset: 1px;\n  }\n  &:hover {\n    cursor: pointer;\n    text-decoration: none;\n    ","\n  }\n"]);return eI=function(){return n},n}function ev(){let n=(0,E._)(["\n        font-size: 16px;\n        line-height: 24px;\n    "]);return ev=function(){return n},n}function eT(){let n=(0,E._)(["\n    font-size: 14px;\n    cursor: default;\n    font-family: ",";\n    ",";\n    outline: none;\n    &:focus {\n      outline: 1px dashed ",";\n    }\n    .headlinerText {\n      &:hover {\n        cursor: pointer;\n        text-decoration: none;\n      }\n    }\n  "]);return eT=function(){return n},n}function e_(){let n=(0,E._)(["\n  ","\n    position: absolute;\n    right: 6px;\n    outline: none;\n    &:focus {\n        outline: none !important;\n    }\n    &:hover {\n        cursor: pointer !important;\n    }\n"]);return e_=function(){return n},n}function eO(){let n=(0,E._)(["\n      margin-top: -1px;\n    "]);return eO=function(){return n},n}function eD(){let n=(0,E._)(["\n    ",";\n  "]);return eD=function(){return n},n}function eE(){let n=(0,E._)(["\n          text-overflow: ellipsis;\n          overflow: hidden;\n          font-weight: 700;\n    "]);return eE=function(){return n},n}function eA(){let n=(0,E._)(["\n  outline: none;\n  width: 100%;\n  display: block;\n  font-family: ",";\n  font-weight: 500;\n  &:focus {\n      outline: none;\n  }\n  ","\n    ","\n\n"]);return eA=function(){return n},n}function eL(){let n=(0,E._)(["\n      width: 65%;\n  "]);return eL=function(){return n},n}function eM(){let n=(0,E._)(["\n  width: 71%;\n  outline: none;\n  padding-left: 4px;\n  ",";\n"]);return eM=function(){return n},n}function ek(){let n=(0,E._)(["\n    font-family: ",";\n    font-weight: 400;\n    text-align: left;\n  "]);return ek=function(){return n},n}function eR(){let n=(0,E._)(["\n  ","\n"]);return eR=function(){return n},n}function eP(){let n=(0,E._)(["\n     #popupItemContainer{\n      &:hover {\n       text-decoration: none !important;\n      }\n     }\n    "]);return eP=function(){return n},n}function eN(){let n=(0,E._)(["\n          max-width: 170px;\n          white-space: nowrap;\n    "]);return eN=function(){return n},n}function eB(){let n=(0,E._)(["\n      span {\n        white-space: pre;\n        padding-left: 0px;\n      }\n    "]);return eB=function(){return n},n}function ej(){let n=(0,E._)(["\n      span:nth-child(2) {\n        font-family: ",";\n        font-size: 18px;\n        line-height: 24px;\n      }\n    "]);return ej=function(){return n},n}function eH(){let n=(0,E._)(["\n    letter-spacing: 0;\n    display: flex;\n    white-space: pre-wrap;\n    \n    ","\n    ","\n    ","\n    ","\n"]);return eH=function(){return n},n}function eF(){let n=(0,E._)(["\n    cursor: pointer;\n    display: inline-block;\n"]);return eF=function(){return n},n}function eU(){let n=(0,E._)(["\n   .headlinerText {\n      padding-right: 0px;\n    }\n    a {\n      text-decoration: none;\n    }\n  "]);return eU=function(){return n},n}function eW(){let n=(0,E._)(["\n    .headlinerText {\n      text-decoration: none !important;\n      padding-right: 10px;\n    }\n  ","\n"]);return eW=function(){return n},n}function ez(){let n=(0,E._)(["\n    text-decoration: none;\n  "]);return ez=function(){return n},n}function eY(){let n=(0,E._)(["\n    text-decoration: underline;\n    outline: none;\n    text-decoration-skip: none;\n  ","\n"]);return eY=function(){return n},n}function eK(){let n=(0,E._)(["\n      padding: 10px 0;\n  "]);return eK=function(){return n},n}function e$(){let n=(0,E._)(["\n      font-family: ",";\n      letter-spacing: 0.01em;\n      padding: 8px 0 6px 0;\n      font-size: 14px;\n      font-weight: 500;\n  "]);return e$=function(){return n},n}function eG(){let n=(0,E._)(["\n      font-size: 12px;\n      font-weight: 300;\n    "]);return eG=function(){return n},n}function eV(){let n=(0,E._)(["\n    ",";\n    ",";\n  "]);return eV=function(){return n},n}function eQ(){let n=(0,E._)(["\n  display: flex;\n  flex-flow: wrap;\n  align-self: center;\n  text-align: left;\n  ",";\n  ","\n"]);return eQ=function(){return n},n}function eq(){let n=(0,E._)(["\n    justify-content: center;
1\n    align-items: center;\n  "]);return eq=function(){return n},n}function eZ(){let n=(0,E._)(["\n    font-size: 20px;\n    letter-spacing: 0;\n    line-height: 28px;\n  "]);return eZ=function(){return n},n}function eJ(){let n=(0,E._)(["\n     gap: 4px;\n      &:hover {\n       cursor: default !important;\n      }\n  "]);return eJ=function(){return n},n}function eX(){let n=(0,E._)(["\n  display: flex;\n  flex-direction: column;\n  overflow: hidden;\n  ","\n  ","\n   ","\n"]);return eX=function(){return n},n}function e0(){let n=(0,E._)(["\n        color: "," !important;\n        font-family: "," !important;\n        font-size: 12px !important;\n        font-style: normal !important;\n        font-weight: 400 !important;\n        line-height: 18px !important;\n         span{\n         font-family: "," !important;\n          line-height: 18px;\n          display: inline-block;\n           &:hover {\n            text-decoration: none !important;\n            cursor: default !important;\n           }\n        }\n    "]);return e0=function(){return n},n}function e1(){let n=(0,E._)(["\n    font-size: 12px;\n    line-height: 16px;\n    font-family: ",";\n    font-weight: 400;\n    letter-spacing: 0;\n    color: ",";\n    span{\n        font-size: 12px !important;\n        line-height: 16px !important;\n        font-family: "," !important;\n        display: inline-block;\n        font-weight: 400 !important;\n        color: "," !important;\n        &:hover {\n          text-decoration: none !important;\n          cursor: default !important;\n        }\n     }\n  "]);return e1=function(){return n},n}function e2(){let n=(0,E._)(["\n    font-size: 16px;\n    letter-spacing: 0;\n    line-height: 24px;\n  "]);return e2=function(){return n},n}function e6(){let n=(0,E._)(["\n      padding-left: 26px;\n      padding-right: 26px;\n      font-family: ",";\n    "]);return e6=function(){return n},n}function e4(){let n=(0,E._)(["\n      line-height: 16px;\n      padding-left: 14px;\n      padding-right: 14px;\n      font-family: ",";\n    "]);return e4=function(){return n},n}function e5(){let n=(0,E._)(["\n      font-family: ",";\n      padding-left: 12px;\n      padding-right: 12px;\n    "]);return e5=function(){return n},n}function e3(){let n=(0,E._)(["\n    margin-bottom: 16px;\n    font-size: 14px;\n    line-height: 20px;\n    width: 100%;\n    font-family: ",";\n    color: ",";\n    font-weight: 300;\n    padding-left: 24px;\n    padding-right: 24px;\n    ",";\n    ",";\n    ",";\n  "]);return e3=function(){return n},n}function e8(){let n=(0,E._)(["\n      font-size: 12px;\n      line-height: 16px;\n      width: 572px;\n    "]);return e8=function(){return n},n}function e7(){let n=(0,E._)(["\n      width: 100%;\n      padding-left: 12px;\n      padding-right: 12px;\n    "]);return e7=function(){return n},n}function e9(){let n=(0,E._)(["\n    margin-bottom: 16px;\n    font-size: 12px;\n    line-height: 16px;\n    width: 714px;\n    font-family: ",";\n    ",";\n    ",";\n  "]);return e9=function(){return n},n}function tn(){let n=(0,E._)(["\n","\n     ","\n  ","\n  ","\n  ","\n"]);return tn=function(){return n},n}function te(){let n=(0,E._)(["\n        color: "," !important;\n        font-family: "," !important;\n        font-size: 14px !important;\n        font-style: normal !important;\n        font-weight: 700 !important;\n        line-height: 18px !important;\n        &:hover {\n         cursor: default;\n         }\n        span{\n          line-height: 18px;\n          font-family: "," !important;\n          display: inline-block;\n           &:hover {\n            text-decoration: none !important;\n            cursor: default !important;\n           }\n        }\n    "]);return te=function(){return n},n}function tt(){let n=(0,E._)(["\n      margin-top: 0;\n    "]);return tt=function(){return n},n}function tr(){let n=(0,E._)(["\n    display: flex;\n    align-items: center;\n    width: 100%;\n    height: inherit;\n    padding: 11px 8px;\n    position: relative;\n    overflow: hidden;\n    margin-top: -1px;\n    ",";\n  "]);return tr=function(){return n},n}function to(){let n=(0,E._)(["\n    font-size: 12px;\n    line-height: 15px;\n    font-family: ",";\n    font-weight: 500;\n    letter-spacing: 0;\n    padding-bottom: 4px;\n    color: ",";\n    span{\n       font-size: 12px !important;\n       line-height: 15px !important;\n       font-family: "," !important;\n       display: inline-block;\n       font-weight: 500 !important;\n       color: "," !important;\n       &:hover {\n         text-decoration: none !important;\n         cursor: default !important;\n       }\n     }\n  "]);return to=function(){return n},n}function ti(){let n=(0,E._)(["\n      line-height: 14px;\n    "]);return ti=function(){return n},n}function ta(){let n=(0,E._)(["\n    line-height: 16px;\n    ",";\n  "]);return ta=function(){return n},n}function ts(){let n=(0,E._)(["\n      padding-left: 26px;
1\n      padding-right: 26px;\n    "]);return ts=function(){return n},n}function tl(){let n=(0,E._)(["\n      padding-left: 14px;\n      padding-right: 14px;\n      font-size: 22px;\n    "]);return tl=function(){return n},n}function tc(){let n=(0,E._)(["\n      padding-left: 12px;\n      padding-right: 12px;\n    "]);return tc=function(){return n},n}function tu(){let n=(0,E._)(["\n    margin-bottom: 16px;\n    font-size: 26px;\n    font-family: ",";\n    font-weight: 700;\n    width: 100%;\n    padding-left: 24px;\n    padding-right: 24px;\n    ",";\n    ",";\n    ",";\n  "]);return tu=function(){return n},n}function tp(){let n=(0,E._)(["\n      width: 572px;\n      font-size: 22px;\n    "]);return tp=function(){return n},n}function td(){let n=(0,E._)(["\n      width: 100%;\n      padding-left: 12px;\n      padding-right: 12px;\n    "]);return td=function(){return n},n}function tf(){let n=(0,E._)(["\n    margin-bottom: 16px;\n    font-size: 26px;\n    font-family: ",";\n    width: 714px;\n    ",";\n    ",";\n  "]);return tf=function(){return n},n}function tm(){let n=(0,E._)(["\n ","\n  ","\n  ","\n  ","\n  ","\n  ","\n"]);return tm=function(){return n},n}function tg(){let n=(0,E._)(["\n    padding-right: 12px;\n    display: inline-flex;\n"]);return tg=function(){return n},n}function th(){let n=(0,E._)(["\n    display: inline-flex;\n    align-items: center;\n  "]);return th=function(){return n},n}function tb(){let n=(0,E._)(["\n       display: block !important;\n    "]);return tb=function(){return n},n}function tx(){let n=(0,E._)(["\n      display: flex;\n      align-items: center;\n      width: 100%;\n      height: inherit;\n      padding: 11px 8px;\n      position: relative;\n      overflow: hidden;\n    "]);return tx=function(){return n},n}function ty(){let n=(0,E._)(["\n      outline:none;\n    "]);return ty=function(){return n},n}function tw(){let n=(0,E._)(["\n      display: flex;\n      flex: auto;\n    "]);return tw=function(){return n},n}function tS(){let n=(0,E._)(["\n      display: initial !important;\n      line-height: 24px;\n      ","\n    "]);return tS=function(){return n},n}function tC(){let n=(0,E._)(["\n      display: flex;\n      align-items: center;\n      align-self: center;\n      text-align: left;\n    "]);return tC=function(){return n},n}function tI(){let n=(0,E._)(["\n      align-items: unset;\n      "]);return tI=function(){return n},n}function tv(){let n=(0,E._)(["\n      align-items: center;\n      "]);return tv=function(){return n},n}function tT(){let n=(0,E._)(["\n    ","\n      display: flex;\n    "]);return tT=function(){return n},n}function t_(){let n=(0,E._)(["\n      display: grid !important;\n      height:16px;\n    "]);return t_=function(){return n},n}function tO(){let n=(0,E._)(["\n      display: flex;\n      justify-content: center;\n      align-items: center;\n    "]);return tO=function(){return n},n}function tD(){let n=(0,E._)(["\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n    ","\n\n    ","\n    ","\n    ","\n"]);return tD=function(){return n},n}function tE(){let n=(0,E._)(["\n  display: flex;\n  &:focus {\n    outline: none;\n  }\n"]);return tE=function(){return n},n}function tA(){let n=(0,E._)(["\n    cursor: pointer;\n  "]);return tA=function(){return n},n}function tL(){let n=(0,E._)(["\n  ","\n"]);return tL=function(){return n},n}function tM(){let n=(0,E._)(["\n  width: 16px;\n  height: 16px;\n  margin-right: 8px;\n"]);return tM=function(){return n},n}function tk(){let n=(0,E._)(["\n  font-weight: 500;\n  letter-spacing: 0;\n  font-size: 16px;\n  white-space: nowrap !important;\n  line-height: 24px;\n  font-family: "," !important;\n"]);return tk=function(){return n},n}function tR(){let n=(0,E._)(["\n  font-weight: 300;\n  font-size: 14px;\n  line-height: 20px;\n  letter-spacing: 0;\n  white-space: nowrap !important;\n  font-family: ",";\n"]);return tR=function(){return n},n}function tP(){let n=(0,E._)(["\n  margin-left: 0.5rem;\n  padding-left: 0.5rem;\n   &::before {\n    content: '';\n    display: inline-block;\n    border-left: 1px solid ",";\n    height: 14px;\n    margin-right: 9px;\n    margin-left: -6px;\n    position: relative;\n    top: 2px;\n  }\n    "]);return tP=function(){return n},n}function tN(){let n=(0,E._)(["\n  font-family: "," !important;\n  letter-spacing: 0;\n  font-weight: 500;\n  font-size: 16px;\n  line-height: 24px;\n  border-left: none !important;\n  white-space: nowrap;\n  ","\n"]);return tN=function(){return n},n}let tB=(0,A.css)(P()),tj=(0,A.css)(N()),tH=(0,A.css)(B(),L.colors.link_blue,L.colors.black),tF=(0,A.css)(j(),L.colors.black,M.typography.type.motiva_light,tB,L.colors.black),tU=(0,A.css)(H()),tW=(0,A.css)(F()),tz=(0,A.css)(U(),M.typography.type.motiva_medium),tY=(0,A.css)(Y(),M.typography.type.motiva_light,(0,k.Nv)("md",(0,A.css)(W())),(0,k.Nv)("md",(0,A.css)(z()))),tK=A.default.span.withConfig({componentId:"sc-6eed879a-0"})(nC(),n=>{let{$styledprop:e}=n;return p()(e,"noAnhor",!1)?"default":"pointer"},n=>{let{$styledprop:e}=n;return p()(e,"noAnhor",!1)&&(0,A.css)(K())},n=>{let{$styledprop:e}=n;return p()(e,"textLayoutIconWrapper",!1)&&(0,A.css)($())},n=>{let{$styledprop:e}=n;return p()(e,"themedLogo",!1)&&(0,A.css)(G())},n=>{let{$styledprop:e}=n;return p()(e,"primaryHeader",!1)?(0,A.css)(V()):p()(e,"newSmallBucketTextElement",!1)||p()(e,"newFlexibleMenu",!1)||p()(e,"isSolutionsMegaMenu",!1)?(0,A.css)(Q()):p()(e,"themedLogo",!1)?(0,A.css)(q()):(0,A.css)(J(),(0,k.Nv)("sm",(0,A.css)(Z())))},n=>{let{$styledprop:e}=n;return p()(e,"circleIcon",!1)&&(0,A.css)(ne(),n=>{let{$styledprop:e}=n;return!p()(e,"primaryHeader",!1)&&(0,A.css)(X())},(0,k.Fd)((0,A.css)(nn())))},n=>{let{$styledprop:e}=n;return p()(e,"newDotComHeader",!1)&&!p()(e,"themedLogo",!1)&&(0,A.css)(nt())},n=>{let{$styledprop:e}=n;return p()(e,"textLayoutIconWrapper",!1)&&(0,A.css)(nr())},n=>{let{$styledprop:e}=n;return p()(e,"rightTopContentWithTextmenu",!1)&&(0,A.css)(ni(),(0,k.Nv)("md",(0,A.css)(no())
1))},n=>{let{$styledprop:e}=n;return p()(e,"isTopHat",!1)&&(0,A.css)(na())},n=>{let{$styledprop:e}=n;return p()(e,"circleAction",!1)&&(0,A.css)(ns())},n=>{let{$styledprop:e}=n;return p()(e,"iconLogo",!1)&&(0,A.css)(nl())},n=>{let{$styledprop:e}=n;return p()(e,"bottomLeftSubHeaderIconPosition",!1)&&(0,A.css)(nu(),(0,k.FI)((0,A.css)(nc())))},n=>{let{$styledprop:e}=n;return p()(e,"righttexticonwrapper",!1)&&(0,A.css)(np())},n=>{let{$styledprop:e}=n;return p()(e,"isTextMenu",!1)&&(0,A.css)(nd())},n=>{let{$styledprop:e}=n;return p()(e,"bg")&&L.colors[p()(e,"bg")]&&(0,A.css)(nf(),L.colors["primary"===p()(e,"bg")?"brand":p()(e,"bg")])},n=>{let{$styledprop:e}=n;return"storeLocatorDrawerIconWrapper"===p()(e,"storeClass","")&&(0,A.css)(nm())},n=>{let{$styledprop:e}=n;return p()(e,"footerSectionThree",!1)&&(0,A.css)(ng())},n=>{let{$styledprop:e}=n;return!p()(e,"primaryHeader","")&&"storeWeeklyAdd"===p()(e,"storeClass","")&&(0,A.css)(nb(),(0,k.Nv)("sm",(0,A.css)(nh())))},n=>{let{$styledprop:e}=n;return"Left"===p()(e,"alignment","")?(0,A.css)(nx()):"Right"===p()(e,"alignment","")?(0,A.css)(ny()):"Center"===p()(e,"alignment","")?(0,A.css)(nw()):""},n=>{let{$styledprop:e}=n;return p()(e,"smallBucket",!1)&&(0,A.css)(nS())}),t$=(0,A.css)(nI(),M.typography.type.motiva,L.colors.black,tK),tG=(0,A.css)(nv(),M.typography.type.motiva,L.colors.black),tV=(0,A.css)(nT(),L.colors.black,M.typography.type.motiva_light),tQ=n=>{let{isMarketingMessage:e,topRightContent:t,newSaHeader:r}=n;return t&&r?(0,A.css)(nO(),M.typography.type.motiva,e?"normal":"nowrap",e&&(0,A.css)(n_())):(0,A.css)(nD())},tq=A.default.div.withConfig({componentId:"sc-6eed879a-1"})(nE(),M.typography.type.motiva,L.colors.link_blue),tZ=(0,A.default)(R.default).withConfig({componentId:"sc-6eed879a-2"})(nQ(),tF,n=>{let{$styledprop:e}=n;return p()(e,"customCSS","")},n=>{let{$styledprop:e}=n;return p()(e,"navigationTextDrawer",!1)&&tU},n=>{let{$styledprop:e}=n;return p()(e,"navigationPrimaryText",!1)&&tz},n=>{let{$styledprop:e}=n;return"textHover"===p()(e,"hoverclass","")&&tj},n=>{let{$styledprop:e}=n;return"showCursorPointer"===p()(e,"hoverclass","")&&tW},n=>{let{$styledprop:e}=n;return"subTextDestionationMenu"===p()(e,"subHeaderClass","")&&tY},n=>{let{$styledprop:e}=n;return"dotComSubTextDestionationMenu"===p()(e,"subHeaderClass","")&&tG},n=>{let{$styledprop:e}=n;return"dotComSubTextNewDestionationMenu"===p()(e,"subHeaderClass","")&&t$},n=>{let{$styledprop:e}=n;return p()(e,"smallBucketTextElement",!1)&&tV},n=>{let{$styledprop:e}=n;return p()(e,"newDotcomNavBottomRightItems",!1)&&(0,A.css)(nA())},n=>{let{$styledprop:e}=n;return"float-left"===p()(e,"alignment","")?(0,A.css)(nL()):"float-right"===p()(e,"alignment","")?(0,A.css)(nM()):"float-center"===p()(e,"alignment","")?(0,A.css)(nk()):""},n=>{let{$styledprop:e}=n;return p()(e,"rewardsdesign",!1)&&(0,A.css)(nP(),(0,k.Nv)("sm",(0,A.css)(nR())))},n=>{let{$styledprop:e}=n;return p()(e,"rightTopContentWithTextmenu",!1)&&(0,A.css)(nB(),(0,k.Nv)("md",(0,A.css)(nN())))},n=>{let{$styledprop:e}=n;return p()(e,"footerSectionThree",!1)&&(0,A.css)(nH(),(0,k.Fd)((0,A.css)(nj())))},n=>{let{$styledprop:e}=n;return p()(e,"isOrdersMegaMenu",!1)&&(0,A.css)(nF())},n=>{let{$styledprop:e}=n;return p()(e,"isPrimarySize",!1)&&(0,A.css)(nU())},n=>{let{$styledprop:e}=n;return p()(e,"mobileMenuBottomButton",!1)&&(0,A.css)(nW())},n=>{let{$styledprop:e}=n;return p()(e,"navigationBottomHeadliner",!1)&&(0,A.css)(nz())},n=>{let{$styledprop:e}=n;return p()(e,"dotcomNewHeaderWrapper",!1)&&(0,A.css)(nK(),L.colors.light_gray_2,(0,k.FI)((0,A.css)(nY())))},n=>{let{$styledprop:e}=n;return p()(e,"themedLogo",!1)&&(0,A.css)(n$())},n=>{let{$styledprop:e}=n;return p()(e,"iconLogo",!1)&&(0,A.css)(nG(),L.colors.light_gray_2)},n=>{let{$styledprop:e}=n;return p()(e,"isOrdersMegaMenu",!1)&&(0,A.css)(nV())}),tJ=A.default.div.withConfig({componentId:"sc-6eed879a-3"})(ec(),L.colors.black,tF,n=>{let{$styledprop:e}=n;return p()(e,"navigationTextDrawer",!1)&&tU},n=>{let{$styledprop:e}=n;return p()(e,"navigationPrimaryText",!1)&&tz},n=>{let{$styledprop:e}=n;return"textHover"===p()(e,"hoverclass","")&&tj},n=>{let{$styledprop:e}=n;return"showCursorPointer"===p()(e,"hoverclass","")&&tW},n=>{let{$styledprop:e}=n;return"subTextDestionationMenu"===p()(e,"subHeaderClass","")&&tY},n=>{let{$styledprop:e}=n;return"dotComSubTextDestionationMenu"===p()(e,"subHeaderClass","")&&tG},n=>{let{$styledprop:e}=n;return"dotComSubTextNewDestionationMenu"===p()(e,"subHeaderClass","")&&t$},n=>{let{$styledprop:e}=n;return p()(e,"smallBucketTextElement",!1)&&tV},n=>{let{$styledprop:e}=n;return"float-left"===p()(e,"alignment","")?(0,A.css)(nq()):"float-right"===p()(e,"alignment","")?(0,A.css)(nZ()):"float-center"===p()(e,"alignment","")?(0,A.css)(nJ()):""},n=>{let{$styledprop:e}=n;return p()(e,"isPrimarySize",!1)&&(0,A.css)(nX())},n=>{let{$styledprop:e}=n;return p()(e,"cursorDefault",!1)&&(0,A.css)(n0())},n=>{let{$styledprop:e}=n;
1return p()(e,"rightTopContentWithTextmenu",!1)&&(0,A.css)(n2(),(0,k.Nv)("md",(0,A.css)(n1())))},n=>{let{$styledprop:e}=n;return p()(e,"righttexticonwrapper",!1)&&(0,A.css)(n6())},n=>{let{$styledprop:e}=n;return p()(e,"adChoiceLink",!1)&&(0,A.css)(n4(),L.colors.black,L.colors.black)},n=>{let{$styledprop:e}=n;return p()(e,"isOrdersMegaMenu",!1)&&(0,A.css)(n5())},n=>{let{$styledprop:e}=n;return p()(e,"isOrdersMegaMenu",!1)&&p()(e,"isQuickOrder",!1)&&(0,A.css)(n8(),(0,k.Nv)("md",(0,A.css)(n3())))},n=>{let{$styledprop:e}=n;return"navigationButtonActionText"===p()(e,"actionClass","")&&(0,A.css)(n7())},n=>{let{$styledprop:e}=n;return"navigationActionText"===p()(e,"actionClass","")&&(0,A.css)(n9())},n=>{let{$styledprop:e}=n;return p()(e,"dotcomNewHeaderWrapper",!1)&&(0,A.css)(ee(),L.colors.light_gray_2,(0,k.FI)((0,A.css)(en())))},n=>{let{$styledprop:e}=n;return p()(e,"isOrdersMegaMenu",!1)&&(0,A.css)(et())},n=>{let{$styledprop:e}=n;return p()(e,"iconLogo",!1)&&(0,A.css)(er(),L.colors.light_gray_2)},n=>{let{$styledprop:e}=n;return p()(e,"navigationTextDrawer",!1)&&(0,A.css)(eo(),L.colors.black)},n=>{let{$styledprop:e}=n;return p()(e,"navigationTextHover",!1)&&(0,A.css)(ei())},n=>{let{$styledprop:e}=n;return"noanchor"===p()(e,"cursorClass","")&&(0,A.css)(ea())},n=>{let{$styledprop:e}=n;return"rewardsSignupAvail"===p()(e,"cursorClass","")&&(0,A.css)(es())},n=>{let{$styledprop:e}=n;return p()(e,"color")&&(0,A.css)(el(),L.colors["primary"===p()(e,"color")?"brand":p()(e,"color")])},n=>{let{$styledprop:e}=n;return p()(e,"customCSS","")}),tX=A.default.span.withConfig({componentId:"sc-6eed879a-4"})(ep(),tH,(0,k.Fd)((0,A.css)(eu()))),t0=A.default.span.withConfig({componentId:"sc-6eed879a-5"})(ed()),t1=A.default.div.withConfig({componentId:"sc-6eed879a-6"})(ef()),t2=A.default.span.withConfig({componentId:"sc-6eed879a-7"})(eS(),n=>{let{$styledprop:e}=n;return p()(e,"HiTouchCtaButtonColor",!1)&&(0,A.css)(em(),L.colors.hitouch_orange)},n=>{let{$styledprop:e}=n;return p()(e,"SWSCtaButtonColor",!1)&&(0,A.css)(eg(),L.colors.navy)},L.colors.black,n=>{let{$styledprop:e}=n;return p()(e,"isTopRightCTA",!1)&&(0,A.css)(eh(),M.typography.type.motiva)},n=>{let{$styledprop:e}=n;return p()(e,"HiTouchCtaButton",!1)&&(0,A.css)(eb())},n=>{let{$styledprop:e}=n;return"Left"===p()(e,"alignment","")?(0,A.css)(ex()):"Right"===p()(e,"alignment","")?(0,A.css)(ey()):"Center"===p()(e,"alignment","")?(0,A.css)(ew()):""}),t6=A.default.span.withConfig({componentId:"sc-6eed879a-8"})(eI(),L.colors.black,n=>{let{$styledprop:e}=n;return p()(e,"HiTouchCtaButton",!1)&&(0,A.css)(eC(),L.colors.link_blue)}),t4=A.default.div.withConfig({componentId:"sc-6eed879a-9"})(eT(),M.typography.type.motiva_light,(0,k.Nv)("sm",(0,A.css)(ev())),L.colors.black),t5=A.default.span.withConfig({componentId:"sc-6eed879a-10"})(e_(),n=>{let{$styledprop:e}=n;return p()(e,"customRightCaretCSS","")}),t3=A.default.span.withConfig({componentId:"sc-6eed879a-11"})(eA(),M.typography.type.motiva_medium,n=>{let{$styledprop:e}=n;return p()(e,"isCom",!1)&&(0,A.css)(eD(),(0,k.Nv)("sm",(0,A.css)(eO())))},n=>{let{$styledprop:e}=n;return p()(e,"isTwoColumnAccountMenu",!1)&&(0,A.css)(eE())}),t8=A.default.span.withConfig({componentId:"sc-6eed879a-12"})(eM(),(0,k.Fd)((0,A.css)(eL()))),t7=A.default.span.withConfig({componentId:"sc-6eed879a-13"})(eR(),n=>{let{$styledprop:e}=n;return p()(e,"boldText",!1)&&(0,A.css)(ek(),M.typography.type.motiva_medium)}),t9=A.default.div.withConfig({componentId:"sc-6eed879a-14"})(eH(),n=>{let{$styledprop:e}=n;return p()(e,"isnewDotComsignInPopup",!1)&&(0,A.css)(eP())},n=>{let{$styledprop:e}=n;return p()(e,"isTwoColumnAccountMenu",!1)&&(0,A.css)(eN())},n=>{let{$styledprop:e}=n;return p()(e,"isTwoColumnAccountNum",!1)&&(0,A.css)(eB())},n=>{let{$styledprop:e}=n;return p()(e,"isCom",!1)&&(0,A.css)(ej(),M.typography.type.motiva)}),rn=A.default.div.withConfig({componentId:"sc-6eed879a-15"})(eF()),re=A.default.span.withConfig({componentId:"sc-6eed879a-16"})(eW(),n=>{let{$styledprop:e}=n;return p()(e,"isTwoColumnAccountMenu",!1)&&(0,A.css)(eU())}),rt=A.default.span.withConfig({componentId:"sc-6eed879a-17"})(eY(),n=>{let{$styledprop:e}=n;return p()(e,"isTwoColumnAccountMenu",!1)&&(0,A.css)(ez())}),rr=A.default.span.withConfig({componentId:"sc-6eed879a-18"})(eQ(),(0,k.Nv)("sm",(0,A.css)(eK())),n=>{let{$styledprop:e}=n;return p()(e,"isCom",!1)&&(0,A.css)(eV(),(0,k.Nv)("sm",(0,A.css)(e$(),M.typography.type.motiva_light)),(0,k.Fd)((0,A.css)(eG())))}),ro=A.default.div.withConfig({componentId:"sc-6eed879a-19"})(eX(),n=>{let{$styledprop:e}=n;return p()(e,"footerSectionWrapper","")&&(0,A.css)(eq())},n=>{let{$styledprop:e}=n;return p()(e,"isStoreLocatorDrawer","")&&(0,A.css)(eZ())},n=>{let{$styledprop:e}=n;return p()(e,"storeLocatorDrawerHeadSubContainer","")&&(0,A.css)(eJ())}),ri=A.default.div.withConfig({componentId:"sc-6eed879a-20"})(tn(),n=>{let{$styledprop:e}=n;return p()(e,"storeLocatorDrawerSubHeadLiner")&&(0,A.css)(e0(),L.colors.black,M.typography.type.motiva,M.typography.type.motiva)},n=>{let{$styledprop:e}=n;return p()(e,"themedLogo","")&&(0,A.css)(e1(),M.typography.type.motiva,L.colors.black,M.typography.type.motiva,L.colors.black)},n=>{let{$styledprop:e}=n;return p()(e,"isStoreLocatorDrawer","")&&(0,A.css)(e2())},n=>{let{$styledprop:e}=n;return p()(e,"footerSectionOneEmail","")&&(0,A.css)(e3(),M.typography.type.motiva,L.colors.black,(0,k.Nv)("md",(0,A.css)(e6(),M.typography.type.motiva_light)),(0,k.Nv)("sm",(0,A.css)(e4(),M.typography.type.motiva_light)),(0,k.Fd)((0,A.css)(e5(),M.typography.type.motiva_light)))},n=>{let{$styledprop:e}=n;return p()(e,"footerSectionOnePhone","")&&(0,A.css)(e9(),M.typography.type.motiva_light,(0,k.Nv)("sm",(0,A.css)(e8())),(0,k.Fd)((0,A.css)(e7())))}),ra=A.default.div.withConfig({componentId:"sc-6eed879a-21"})(tm(),n=>{let{$styledprop:e}=n;return p()(e,"storeLocatorDrawerHeadLiner")&&(0,A.css)(te(),L.colors.black,M.typography.type.motiva,M.typography.type.motiva)},n=>{let{$styledprop:e}=n;return"berewardedContainerDiv"===p()(e,"berewarded","")&&(0,A.css)(tr(),(0,k.Fd)((0,A.css)(tt())))},n=>{let{$styledprop:e}=n;return p()(e,"themedLogo","")&&(0,A.css)(to(),M.typography.type.motiva,L.colors.black,M.typography.type.motiva_medium,L.colors.black)},n=>{let{$styledprop:e}=n;return"rewardsMenuHeadlinerDiv"===p()(e,"berewarded","")&&(0,A.css)(ta(),(0,k.Fd)((0,A.css)(ti())))},n=>{let{$styledprop:e}=n;return p()(e,"footerSectionOneEmail",!1)&&(0,A.css)(tu(),M.typography.type.motiva_bold,(0,k.Nv)("md",(0,A.css)(ts())
1),(0,k.Nv)("sm",(0,A.css)(tl())),(0,k.Fd)((0,A.css)(tc())))},n=>{let{$styledprop:e}=n;return p()(e,"footerSectionOnePhone",!1)&&(0,A.css)(tf(),M.typography.type.motiva_bold,(0,k.Nv)("sm",(0,A.css)(tp())),(0,k.Fd)((0,A.css)(td())))}),rs=A.default.span.withConfig({componentId:"sc-6eed879a-22"})(tg()),rl={iconWithTextWrapper:tB,bottomLeftIconContentWrapper:(0,A.css)(th())},rc=A.default.span.withConfig({componentId:"sc-6eed879a-23"})(tD(),n=>{let{$styledprop:e}=n;return p()(e,"displayClass","")&&rl[p()(e,"displayClass","")]},n=>{let{$styledprop:e}=n;return p()(e,"iconLogo",!1)&&(0,A.css)(tb())},n=>{let{$styledprop:e}=n;return p()(e,"isRewardsMenuText",!1)&&(0,A.css)(tx())},n=>{let{$styledprop:e}=n;return"storeWeeklyAdd"===p()(e,"storeClass","")&&(0,A.css)(ty())},n=>{let{$styledprop:e}=n;return"storeLocatorDrawerTextIconWrapper"===p()(e,"storeClass","")&&(0,A.css)(tw())},n=>{let{$styledprop:e}=n;return p()(e,"smallBucketTextElement",!1)&&(0,A.css)(tS(),tB)},n=>{let{$styledprop:e}=n;return p()(e,"isTopHat",!1)&&(0,A.css)(tC())},n=>{let{$styledprop:e}=n;return(p()(e,"isTextMenu",!1)||p()(e,"rightTopContentWithTextmenu",!1))&&(0,A.css)(tT(),n=>{let{$styledprop:e}=n;return p()(e,"themedLogo",!1)?(0,A.css)(tI()):(0,A.css)(tv())})},n=>{let{$styledprop:e}=n;return p()(e,"loyaltyRewardsIcon",!1)&&(0,A.css)(t_())},n=>{let{$styledprop:e}=n;return p()(e,"textLayoutWrapper",!1)&&(0,A.css)(tO())}),ru=A.default.span.withConfig({componentId:"sc-6eed879a-24"})(tE()),rp=A.default.span.withConfig({componentId:"sc-6eed879a-25"})(tL(),n=>{let{$styledprop:e}=n;return p()(e,"cursorStyle",!1)&&(0,A.css)(tA())}),rd=A.default.span.withConfig({componentId:"sc-6eed879a-26"})(tM()),rf=A.default.span.withConfig({componentId:"sc-6eed879a-27"})(tk(),M.typography.type.motiva_medium),rm=A.default.span.withConfig({componentId:"sc-6eed879a-28"})(tR(),M.typography.type.motiva),rg=A.default.span.withConfig({componentId:"sc-6eed879a-29"})(tN(),M.typography.type.motiva_medium,n=>{let{newDotComHeader:e}=n;return!e&&(0,A.css)(tP(),L.colors.medium_gray_1)}),rh=I()(()=>Promise.resolve().then(t.bind(t,1012)),{loadableGenerated:{webpack:()=>[1012]}}),rb=I()(()=>Promise.all([t.e(1605),t.e(1311),t.e(4343),t.e(6966)]).then(t.bind(t,54870)),{loadableGenerated:{webpack:()=>[54870]}}),rx=n=>{try{if(n&&n.indexOf("?")){let e=/^(.*)\?{1}(.*)$/g.exec(n);if(e&&e[2]){let n=e[2].split("&"),{wid:t,hei:r}=_()(n,(n,e)=>{let t=e.split("=");return n[t[0]]=t[1],n},{});return{width:t,height:r}}}return{width:null,height:null}}catch(n){return{width:null,height:null}}},ry=(n,e,t)=>{let o=p()(n,"accountNumber","")?(0,r.jsx)(t8,{tabIndex:"-1",children:p()(n,"accountNumber","")}):null;return o?(0,r.jsxs)(t9,{$styledprop:{isTwoColumnAccountMenu:t,isTwoColumnAccountNum:o&&t},children:[e," ",o]}):null},rw=n=>{try{if(!(Math.abs(n)>=1e6))return n.toLocaleString();{let e=n/1e6;if(Number.isInteger(e))return"".concat(Math.floor(e),"M");return"".concat(e.toFixed(1),"M")}}catch(n){console.error("exception in rewards point number format",n)}},rS=n=>{let{accountInfo:e,navTextData:t,isSalesRepEmail:o,isSalesRepName:i,actionIcon:s,isSalesRepPhone:l}=n,c=p()(e,"sessionIPA.permissionDetail.sessionData.salesRepEmail",""),u=p()(e,"sessionIPA.permissionDetail.sessionData.salesRepName",""),d=p()(e,"sessionIPA.permissionDetail.sessionData.salesRepPhone",""),f=n=>(0,r.jsx)("div",{"aria-label":p()(t,"ariaLabel",""),children:(0,r.jsxs)(ru,{tabIndex:-1,children:[s?(0,r.jsx)(rd,{children:(0,r.jsx)(a.Icon,{color:"black",name:s,size:16})}):null,(0,r.jsxs)(rp,{$styledprop:{cursorStyle:l&&d},children:[" ",n," "]})]})});return o&&c?f(c):i&&u?f(u):l&&d?f(d):null},rC=n=>{let{accountInfo:e,routeDetails:t,userInfo:o,textNode:i,siteVariables:a,customerFullName:s,signInPopup:l,isTwoColumnAccountMenu:c,newSaHeader:u}=n,{routeType:d}=t,{flowType:f}=e,g=s?s.trim():"",h=l?10:18,b=(0,S.getCookie)("WelcomeMsg").trim();b&&/^("\s")+$/g.test(b.trim())&&(b="");let y=(0,S.getSessionStorage)("searchCriteria");y&&(0,S.removeSessionStorageItem)("searchCriteria");let w=p()(o,"contact.firstName",""),C=p()(o,"contact.lastName",""),I="".concat(w," ").concat(C),v=u||d!==x.fUn&&(f!==x.fUn||d!==x.o27)?w||C?(0,r.jsx)(t3,{tabIndex:"-1",$styledprop:{isCom:a.isCOM,isTwoColumnAccountMenu:c},children:(0,m.v_)(I,h)}):g?(0,r.jsx)(t7,{$styledprop:{boldText:l},children:(0,m.v_)(g,h)}):b?(0,r.jsx)(t7,{$styledprop:{boldText:l},children:b}):null:null;return v?(0,r.jsxs)(t9,{$styledprop:{isCom:a.isCOM&&!l,isTwoColumnAccountMenu:c,isnewDotComsignInPopup:u&&a.isCOM&&l},children:[i," ",v]}):null},rI=n=>{let{budgetCenterDetails:e,showBCOverlay:t,budgetBalanceLevel:i,textNode:a,navTextData:s,closeFlyout:l,isTwoColumnAccountMenu:c}=n,u=(0,o.useRef)(null);return(0,o.useEffect)(()=>{t&&rh&&u&&u.current&&u.current.firstElementChild&&u.current.firstElementChild.setAttribute("aria-hidden","true")},[]),(0,r.jsx)(o.Fragment,{children:!f()(w()(e))&&(0,r.jsx)(rn,{children:(0,r.jsx)(re,{$styledprop:{isTwoColumnAccountMenu:c},ref:u,children:t&&rh?(0,r.jsxs)(o.Fragment,{children:[a,(0,r.jsx)(rh,{consumer:"header",tabIndex:0,ariaLabel:"".concat(s.ariaLabel," ").concat(e,", select budget center"),level:i,openCallBack:l,type:"bcb",children:(0,r.jsxs)(rt,{$styledprop:{isTwoColumnAccountMenu:c},tabIndex:"-1",children:["".concat(e)," "]})})]}):(0,r.jsxs)(o.Fragment,{children:[a,(0,r.jsxs)(rt,{$styledprop:{isTwoColumnAccountMenu:c},tabIndex:"-1",children:["".concat(e)," "]})]})})})})},rv=n=>{let{navTextData:e,onCloseTextMenuDrawer:t,rightArrow:u,accountInfo:d,siteVariables:h,righttexticonwrapper:b,segmentCode:y,routeDetails:w,index:S,tabindex:C,id:I,actionTypeHandler:T,dispatchAnalytics:_,navigationTextHeadliner:O,flowType:E,budgetCenterDetails:A,showBCOverlay:L,budgetBalanceLevel:M,renderMesagesText:k,userInfo:R,welcomeMsg:P,messageCountSba:N,smallBucketTextElement:B,breakpoint:j,handleSmallBucketTextClick:H,callfromMobileHeadliner:F,color:U,iconColor:W,handleMouseHover:z,mouseEnterLeaveHandler:Y,primaryHeader:K,isPermissionLimitCheckedAtParent:$,subHeader:G,parentclassStyle:V,mobileActiveActions:Q,loading:q,headerType:Z,type:J,Drawer:X,imageMenu:nn,isTextDestinationMenuItem:ne,bottomLeftContent:nt,footerSectionThree:nr,page:no,closeFlyout:ni,openSTSModal:na,openADDShipToDrawer:ns,design:nl,circleIcon:nc,circleIconColor:nu,isRewardsMenuText:np,rewardsMenuColor:nd,rewardsData:nf,rewardsIconSize:nm,isTopHat:ng,subHeaderMenuWithIcon:nh,isTextMenu:nb,isStoreLocatorDrawer:nx,isIdNeeded:ny,customerFullName:nw,customIconSize:nS,signInPopup:nC,domain:nI,mobileMenuBottomButton:nv,triggerYourStore:nT,primaryStoreObject:n_,isStoreInfoLink:nO,setRequiredCookieModalOptions:nD,storeCloseHandler:nE,isStoreWeeklyAdd:nA,searchItemText:nL,isSalesTextItem:nM,openRewardsSignupDrawer:nk,footerSectionOneEmail:nR,footerSectionOnePhone:nP,isPrimarySize:nN,openLoyaltySKUOffersDrawer:nB,rewardsNumber:nj,mobileHeadlinerText:nH,topHatcouponCode:nF,topHatSku:nU,customCSS:nW,isLocalBusinessDrawer:nz,isTwoColumnAccountMenu:nY,isOrdersMegaMenu:nK,customRightCaretCSS:n$,isMarketingMessage:nG,topRightContent:nV,isTopRightCTA:nQ,newSaHeader:nq,levelHeading:nZ,listsCountDisplay:nJ,newSmallBucketTextElement:nX,newFlexibleMenu:n0,storeLocatorDrawer
1New:n1,newDotComHeader:n2,storeLocatorEmptyMsg:n6,makeMyStore:n4,isSolutionsMegaMenu:n5,rewardsTextMenu:n3,bottomRightContent:n8,toggleTermsAndConditionsDrawer:n7}=n,n9=(0,o.useRef)(!1),en=p()(e,"treatmentType",""),{headliner:ee,actionOverridesByGroup:et,iconOverridesByGroup:er,subHeadliner:eo,cta:ei,ctaCompoundctaTheme:ea,ctaCompoundctaThemecolor:es,ctaCompoundctaThemestyle:el}=e,ec=p()(ea,"items.color","")||es,eu=["xs","sm"].includes(j)?"sm":"md",ep=el||p()(ea,"items.styles",eu),[{actionType:ed,actionIcon:ef}]=(0,m.v2)(e),em="";!f()(V)&&"object"==typeof V&&V.length>0?V.map(n=>em+="".concat(n," ")):em=V;let eg=p()(e,"GroupOverrideURL",[]),eh=eg.length>0,eb=!f()(er)&&(0,m.N8)({iconOverridesByGroup:er,accountInfo:d}),ex=!f()(et)&&(0,m.QJ)({actionOverridesByGroup:et,accountInfo:d}),ey=e&&(e.CouponCodes&&e.CouponCodes.length>0||e.Sku&&e.Sku.length>0),ew="MESSAGES"===x.Qoz[ed]&&"button"!==p()(e,"ctaCompoundctaType"),[eS,eC]=(0,v.X)(np),[eI,ev]=(0,v.X)(!0),eT="BUDGET"===x.Qoz[ed],e_="ACCOUNT-NUMBER"===x.Qoz[ed],eO="WELCOME-MSG"===x.Qoz[ed],eD="LOGOFLYOUT"===x.Qoz[ed],eE="AD-CHOICES"===x.Qoz[ed],eA="TRUST-ARC"===x.Qoz[ed],eL="SHIPTO"
1===x.Qoz[ed],eM="LISTS-DRAWER"===x.Qoz[ed],ek="TEXT-DESTINATION-MENU"===x.Qoz[ed],eR="sm"===j||"xs"===j,eP=!eR||!B||!u,eN=!!eR&&!!B&&!eP,{shipToId:eB}=d,ej="SALES-REP-NAME"===x.Qoz[ed],eH="SALES-REP-EMAIL"===x.Qoz[ed],eF="STAPLESCONNECT"===x.Qoz[ed],eU="SALES-REP-PHONE"===x.Qoz[ed],eW="PSB-REWARDS-SIGNUP"===x.Qoz[ed],ez=p()(d,"sessionIPA.permissionDetail.sessionData.salesRepPhone"),eY="loyalty-easy-rewards"===p()(e,"treatmentType"),eK="icon-logo"===p()(e,"treatmentType"),e$="themed-logo"===p()(e,"treatmentType"),eG="header-sub-nav-image"===p()(e,"treatmentType"),eV="LOYALTY-REWARDS-POINTS"===x.Qoz[ed],eQ=p()(nf,"loyaltyRewards.accounts[0].walletInfo.balances.current",0),eq=p()(nf,"loyaltyRewards.accounts[0].walletInfo.balances.usableValue",0),eZ=p()(nH,"[0].headlinerMain[0].headlinerBlock[0].headlinertextColor",""),eJ=p()(ee,"[0].headlinerMain[0].headlinerBlock[0].headlinertextColor",""),eX=nR||nP,e0=(0,o.useMemo)(()=>(0,m.Gp)(e,d,w,y),[e,d,w,y]),e1=(0,o.useCallback)((n,e)=>{let t="LOADING_ELLIPSIS"===x.gsc[ef];return p()(n,"icon")?(0,r.jsxs)(rc,{ref:n=>{eS.current=n,eR||(eI.current=n)},$styledprop:{displayClass:nr?"":nt&&eR?"bottomLeftIconContentWrapper":nb?"":"iconWithTextWrapper",isRewardsMenuText:np,storeClass:nx?nA?"storeWeeklyAdd":"storeLocatorDrawerTextIconWrapper":"",smallBucketTextElement:B,isTopHat:ng,rightTopContentWithTextmenu:b&&ek&&h.isCOM,isTextMenu:nb,isHovered:eC,righttexticonwrapper:b,iconLogo:eK,loyaltyRewardsIcon:eY&&eQ>=0,textLayoutWrapper:n1,themedLogo:d.isLoggedIn&&e$},className:"".concat(nr||nt&&eR?"":nb?"":"iconWithTextWrapper"," ").concat(ng?"iconWithTextWrapperTopHat":""),children:[(0,r.jsx)(tK,{...!X&&{"aria-hidden":"true"},style:{transition:eC&&nc?"all .2s":""},$styledprop:{noAnhor:!eN&&!eW&&!ey&&f()(p()(n,"destinationReplaceURL",""))&&!ex,primaryHeader:K,circleIcon:nc,rightTopContentWithTextmenu:b&&ek&&h.isCOM,righttexticonwrapper:(!h.isCOM||!b)&&b,circleAction:nc&&eC&&(x.Qoz[ed]||ex),bottomLeftSubHeaderIconPosition:!K&&nt,alignment:B?null:p()(n,"alignment"),storeClass:nx?nA?"storeWeeklyAdd":"storeLocatorDrawerTextIconWrapper":"",isTopHat:ng,isTextMenu:nb,bg:eC?"black":nu,footerSectionThree:nr,smallBucket:eR,newSmallBucketTextElement:nX,isSolutionsMegaMenu:n5,newFlexibleMenu:n0,iconLogo:eK,newDotComHeader:n2,themedLogo:e$,textLayoutIconWrapper:n1},className:"".concat(en||""," ").concat(nh?" subHeaderTextIconPosition":""),children:f()(n.icon)&&nt&&!eR?null:eY?(0,r.jsx)(s.Logo,{color:"staples_red",height:18,id:"EasyRewardsLogo",name:"easy-rewards"}):eK||e$?(0,r.jsx)(s.Logo,{color:p()(n,"iconColor",""),height:e$?52:16,width:nq&&h.isCOM&&e$&&43,id:p()(n,"icon",""),name:p()(n,"icon","")}):h.isCOM&&nq&&"loyalty-easy-rewards-points"===p()(n,"treatmentType","")?(0,r.jsx)(l.CircleIcon,{color:"transparent",iconColor:"yellow",name:eb||p()(n,"icon",""),size:12}):(0,r.jsx)(a.Icon,{"aria-label":n.ariaLabel,name:eb||p()(n,"icon",""),size:-1!==nS?nS:nM?16:nt&&eR||K&&ek?24:G&&h.isCOM?14:G?16:np?nm:n6?24:20,color:eC?nu:nt?w.routeId===x.cVK?"hitouchOrange":"black":W||(e5().length>0?e5():U)})}),q&&B&&t&&Q.length>0&&Q.indexOf(-1!==x.Qoz[ed])?(0,r.jsx)(rb,{containerId:"".concat(ed,"_loading_ellipsis"),routeDetails:w}):e2(),ng&&n&&n.cta?(0,r.jsx)(tX,{children:" ".concat(n.cta)}):null]}):"button"===p()(n,"ctaCompoundctaType")?(0,r.jsx)(t2,{id:I,$styledprop:{HiTouchCtaButton:eR&&w.routeId===x.cVK,HiTouchCtaButtonColor:nq&&w.routeId===x.cVK&&"primary"==ec,SWSCtaButtonColor:nq&&w.routeId===x.yIw&&"primary"==ec,alignment:B?"":p()(n,"alignment"),isTopRightCTA:nq&&nQ},children:(0,r.jsx)(t0,{onMouseDown:n=>(0,m.ZA)(n,!0),onKeyUp:n=>(0,m.M)(n,!0),onKeyDown:n=>(0,m.M)(n,!0),children:(0,r.jsx)(i.Button,{"aria-label":n&&n.ariaLabel,tabIndex:C,id:p()(n,"ctaCompoundctaThemestyle",""),size:ep||"md",variant:ec||p()(n,"ctaCompoundctaThemecolor","primary"),customCSS:nY?"max-width: 196px;width: 100%":"",preventDefault:!1,children:ei||e2()})})}):!0===e?(0,r.jsx)(t5,{id:"caret_right",$styledprop:{customRightCaretCSS:n$},...!X&&{"aria-hidden":"true"},children:(0,r.jsx)(a.Icon,{name:"caret_right",size:8,color:"dark_gray"})}):eG&&p()(n,"imageUrl")?eG?(0,r.jsx)(t1,{children:(0,r.jsx)(c.Image,{src:n.imageUrl,...rx(n.imageUrl),alt:n.ariaLabel})}):null:e2()},[eQ,e,u,ex,Q,q,j,eC,nM,nL,nX,n0,n5]),e2=(0,o.useCallback)(()=>{let n=eo&&eo.length>0,t=[],a=[];return ee&&ee.length>0&&ee&&ee.map((n,i)=>{if(ng)n&&t.push((0,r.jsx)(o.Fragment,{children:(0,r.jsx)(g.Z,{headliner:n,availableRewardsAmount:p()(nf,"availableRewards.availableRewards"),isRewardsMenuText:np,isTwoColumnAccountMenu:nY,navTextData:e,isOverrid
1denActionType:ex,messageCountSba:N,signInPopup:nC,handleTextClick:e6,navigationUrl:e0,Drawer:X,siteVariables:h,subHeader:G,isMessagesText:ew,breakpoint:j,treatmentType:en,rewardsMenuColor:nd,isTopHat:ng,accountInfo:d,routeDetails:w,segmentCode:y,bottomLeftContent:nt,id:I,topHatSku:nU,topHatcouponCode:nF,isLocalBusinessDrawer:nz,isTextDestinationMenu:ek,headlinerSpecialCharacterOnly:!1})},"headliner_".concat(i)));else{let a="";if(n_&&n_.address){let{address:n}=n_;a="".concat(n.city,", ").concat(n.state)}a&&nO&&p()(n,"headlinerMain[0].headlinerBlock[0].headlinertext","")&&(n.headlinerMain[0].headlinerBlock[0].headlinertext=a),t.push((0,r.jsx)(o.Fragment,{children:(0,r.jsx)(g.Z,{headliner:n,siteVariables:h,customCSS:K?tQ({isMarketingMessage:nG,topRightContent:nV,newSaHeader:nq}):"",isTwoColumnAccountMenu:nY,signInPopup:nC,availableRewardsAmount:p()(nf,"availableRewards.availableRewards"),isRewardsMenuText:np,navTextData:e,isOverriddenActionType:ex,messageCountSba:N,handleTextClick:e6,navigationUrl:e0,Drawer:X,subHeader:G,isMessagesText:ew,renderMesagesText:k,breakpoint:j,treatmentType:en,rewardsMenuColor:nd,isTopHat:ng,righttexticonwrapper:b,id:I,isStoreInfoLink:nO,bottomLeftContent:nt,searchItemText:nL,subscribeLinkText:eX,mobileHeadlinerTextColor:eZ,isTextDestinationMenu:ek,isLocalBusinessDrawer:nz})},"headliner_".concat(i)))}}),eo&&eo.length>0&&eo&&eo.map((n,t)=>a.push((0,r.jsx)(o.Fragment,{children:(0,r.jsx)(g.Z,{headliner:n,siteVariables:h,isRewardsMenuText:np,navTextData:e,isTwoColumnAccountMenu:nY,isOverriddenActionType:ex,messageCountSba:N,handleTextClick:e6,subHeadliner:!0,signInPopup:nC,navigationUrl:e0,Drawer:X,subHeader:G,isMessagesText:ew,breakpoint:j,isTopHat:ng,id:I,bottomLeftContent:nt,subscribeLinkText:eX,isLocalBusinessDrawer:nz})},"subheadliner_".concat(t)))),n?(0,r.jsxs)(ro,{$styledprop:{isStoreLocatorDrawer:nx&&!nA,footerSectionWrapper:nR||nP,storeLocatorDrawerHeadSubContainer:n1},children:[!f()(t)&&(0,r.jsx)(ra,{$styledprop:{berewarded:"rewards-be-rewarded"===en?"berewardedContainerDiv":np?"rewardsMenuHeadlinerDiv":null,footerSectionOneEmail:nR,footerSectionOnePhone:nP,storeLocatorDrawerHeadLiner:n1,themedLogo:e$},children:t}),(0,r.jsx)(ri,{$styledprop:{isStoreLocatorDrawer:nx&&!nA,footerSectionOneEmail:nR,footerSectionOnePhone:nP,storeLocatorDrawerSubHeadLiner:n1,themedLogo:e$},children:a}),f()(ei)?(0,r.jsx)(r.Fragment,{}):"button"===p()(e,"ctaCompoundctaType")?(0,r.jsx)(t2,{id:I,$styledprop:{HiTouchCtaButton:eR&&w.routeId===x.cVK,HiTouchCtaButtonColor:nq&&w.routeId===x.cVK&&"primary"==ec,SWSCtaButtonColor:nq&&w.routeId===x.yIw&&"primary"==ec,alignment:B?"":p()(e,"alignment"),isTopRightCTA:nq&&nQ},children:(0,r.jsx)(t0,{onMouseDown:n=>(0,m.ZA)(n,!0),onKeyUp:n=>(0,m.M)(n,!0),onKeyDown:n=>(0,m.M)(n,!0),children:(0,r.jsx)(i.Button,{"aria-label":e&&e.ariaLabel,tabIndex:C,id:p()(e,"ctaCompoundctaThemestyle",""),size:ep||"md",variant:ec||p()(e,"ctaCompoundctaThemecolor","primary"),customCSS:nY?"max-width: 196px;width: 100%":"",preventDefault:!1,children:ei})})}):(0,r.jsx)(tq,{children:ei})]}):nq&&("loyalty-easy-rewards-points"===en||"loyalty-easy-rewards-available"===en)&&(eQ>0||eq>0)?(0,r.jsxs)(o.Fragment,{children:["loyalty-easy-rewards-points"===en&&(0,r.jsxs)(rf,{newSaHeader:!0,children:[rw(eQ)," ",(0,r.jsx)(rm,{children:"points"})]}),"loyalty-easy-rewards-available"===en&&(0,r.jsxs)(rg,{newDotComHeader:nq&&h.isCOM,children:["$",eq.toLocaleString()," ",(0,r.jsx)(rm,{children:"available"})]})]}):eV&&eQ>=0?(0,r.jsxs)(o.Fragment,{children:[(0,r.jsxs)(rf,{children:[rw(eQ)," points"]}),(0,r.jsxs)(rg,{children:["$",eq.toLocaleString()," available"]})]}):t},[ee,eo,nL,eQ]),e6=(n,e)=>{let{headlinerText:r,navTextDataParam:o,OverriddenActionType:i,levelHeading:a,design:s}=e,l=(0,m.v2)(o,!0),{CouponCodes:c,Sku:u}=o,d=!f()(c)||!f()(u),g=!f()(D()(l,n=>{let{actionType:e=""}=n;return"REQUIRED-COOKIES"===x.Qoz[e]})),b=p()(l,"[0].actionType"),y=x.Qoz[b],w="BDR_CHAT"===y,C=p()(l,"[0].actionchatLineOfBusiness","");if(_&&(ne?_(n,o,eR):_(n,{navTextData:o,navigationTextHeadliner:O,index:S,headlinerText:r,levelHeading:a,design:s})),"REQUIRED-COOKIES"===y||g){nD({showModal:!0,modalOptions:o}),nE&&nE(),X&&eR&&t(),ni(n9.current),n9.current=!1,n.preventDefault();return}if("PSB-REWARDS-SIGNUP"===y&&nk&&nk(),"TERMS-AND-CONDITIONS"===y&&n7&&n7({openTermsAndConditionsDrawer:!0}),B&&H&&H(n,o,i,"",F),(x.Qoz[b]||i||nx||d)&&T&&!B&&!eF&&T(n,o,i),"call-us"===b&&(window.open("tel:".concat(o&&o.destinationReplaceURL||o.destinationURL),"_self"),n&&n.target&&n.target.blur&&(n.target.blur(),n.stopPropagation&&n.stopPropagation(),n.preventDefault())),"sales-rep-phone"===b&&ez&&(window.open("tel:".concat(ez),"_self"),n&&n.target&&n.target.blur&&(n.target.blur(),n.stopPropagation&&n.stopPropagation(),n.preventDefault())),("CHAT"===y||w)&&(0,m.KU)(h.isProd).then(()=>{(0,m.vh)("Click here to chat live",w,C)}).catch(n=>{console.error("Error while loading chat file",n)}),!n.ctrlKey&&!n.metaKey&&("ADD-SHIPTO"===y&&(ns(),B&&ni()),eM&&B&&ni(),!(0,m.eS)({mobileMenuCickhandler:!1,OverriddenActionType:i,navTextData:o,smallBucketTextElement:B,actionType:x.Qoz[b],navigationUrl:e0}))){if("STORE-LOCATOR"==y&&nT(),"SALES-REP-NAME"===y||"SALES-REP-EMAIL"===y||"SALES-REP-PHONE"===y)return!1;if(nx&&nE&&nE(),("LOYALTY-OFFER-ACTIVATION-DRAWER"===y||"LOYALTY-OFFER-ACTIVATION-DRAWER"===ex)&&nB){let{OfferId:n,destinationUrl:e}=o;n&&nB({offerId:n,isEnrolled:!!nj,openLoyaltySKUOffersDrawer:!0,destinationUrl:e})}X&&eR&&t(),ni(n9.current),n9.current=!1}},e4=n=>{37!==n.keyCode&&37!==n.which&&"ArrowLeft"!==n.key&&(13===n.charCode||13===n.which||13===n.keyCode)&&(n.preventDefault(),n.stopPropagation(),n9.current=!0,n.target.click())},e5=()=>eR?eZ:eJ,e3=()=>{void 0!==S&&z(e,O)},e8=n=>{n.stopPropagation(),na(),ni()};if(!f()(e)&&($||(0,m.Z1)({item:e,userData:{...w,...d},siteVariables:h,segmentCode:y,domain:nI,breakpoint:j,rewardsData:nf,headerTypes:(0,m.jy)(Z,J),page:no}))){let t=()=>eO?(0,r.jsx)(o.Fragment,{children:(0,r.jsx)(rC,{textNode:e1(e,!1),isTwoColumnAccountMenu:nY,accountInfo:d,userInfo:R,siteVariables:h,routeDetails:w,welcomeMsg:P,customerFullName:nw,rewardsData:nf,flowType:E,signInPopup:nC,newSaHeader:nq})}):e_?ry(d,e1(e,!1),nY):eT?(0,r.jsx)(rI,{textNode:e1(e,!1),navTextData:e,closeFlyout:ni,budgetCenterDetails:A,showBCOverlay:L,isTwoColumnAccountMenu:nY,budgetBalanceLevel:M}):eL?eB?(0,r.jsxs)(t4,{tabIndex:"0",onClick:e8,onMouseDown:m.ZA,onTouchStart:n=>{(0,m.ZA)(n)},onKeyUp:m.M,onKeyDown:n=>{(0,m.M)(n),"Enter"===n.key&&e8(n)},children:[e1(e,!1),(0,r.jsx)(t6,{$styledprop:{hiTouchColor:p()(w,"routeId")===x.cVK},children:eR&&nq?":".concat(eB):eR?eB:(0,m.v_)(eB,12)}
1)]}):null:ej||eH||eU?(0,r.jsx)(o.Fragment,{children:(0,r.jsx)(rS,{accountInfo:d,isSalesRepName:ej,isSalesRepEmail:eH,isSalesRepPhone:eU,actionIcon:ef,navTextData:e})}):e1(e,!1),i=n=>{let e="",t=p()(n,"alignment","");return t&&("Left"===t?e+=" float-left":"Right"===t?e+=" float-right":"Center"===t?e+=" float-center":e+=" default"),e},[{actionType:a}]=(0,m.v2)(e),s=x.Qoz[a],l=p()(nf,"availableRewards"),c="rewards-menu-underline"===p()(e,"treatmentType"),g="button"===p()(e,"ctaCompoundctaType")||"link"===p()(e,"ctaCompoundctaType")||eK||e$||eY;return"STAPLESCONNECT"===s&&(e0="".concat(e0).concat(n_?n_.storeNumber:"")),(0,r.jsx)(o.Fragment,{children:f()(e0)||ex||eM||!eP?(f()(ed)||"flyout"===ed)&&eP&&!ex?(0,r.jsxs)(tJ,{ref:eI,tabIndex:ng||n.rightArrow?0:-1,className:"navigationText ".concat(em),$styledprop:{navigationTextDrawer:X,customCSS:nW,isOrdersMegaMenu:nq&&h.isCOM&&nK,righttexticonwrapper:b,rightTopContentWithTextmenu:b&&ek&&h.isCOM,hoverclass:eT||e_||eO?"textHover":null,navigationPrimaryText:K&&!G&&(!nq||!nG),subHeaderClass:G?h.isSBA?"subTextDestionationMenu":h.isCOM&&!nt?"dotComSubTextDestionationMenu":null:null,smallBucketTextElement:B,alignment:B&&i(e),isPrimarySize:nN,mobileMenuBottomButton:nv,navigationTextHover:!0,cursorClass:eN||ey?"":"noanchor",color:U,iconLogo:eK&&!G,isQuickOrder:nK&&"QUICK-ORDER"===x.Qoz[ed]},...!(f()(ed)&&!ex&&!eh||"button"===p()(e,"ctaCompoundctaType"))&&0===C&&("N/A"!==e.targetWindow||p()(e,"destinationReplaceURL","")||p()(e,"destinationURL",""))&&{tabIndex:0},onClick:!f()(ed)||ex||!eP||ey?n=>e6(n,{navTextDataParam:e,OverriddenActionType:ex,levelHeading:nZ,design:nl,listsCountDisplay:nJ}):null,style:ev?{textDecorationColor:e5()}:null,id:I&&ny?I:null,onMouseDown:m.ZA,onTouchStart:n=>{(0,m.ZA)(n)},onKeyUp:m.M,onKeyDown:n=>{(0,m.M)(n),e4(n)},onFocus:()=>e3(),onMouseOver:e3,onMouseEnter:()=>Y(!0),onMouseLeave:()=>Y(!1),children:[ng&&e&&e.imageUrl?(0,r.jsxs)(rs,{children:[(0,r.jsx)("img",{src:e.imageUrl,...rx(e.imageUrl)})," "]}):null,ng&&e&&!e.icon?null:t(),u?e1(null,u):null,ng&&e&&!e.icon?(0,r.jsxs)(rr,{children:[t(),e&&e.cta?(0,r.jsx)(tX,{children:" ".concat(e.cta)}):null]}):null]}):(0,r.jsxs)(tJ,{ref:eI,className:"navigationText ".concat(em),$styledprop:{navigationTextDrawer:X,customCSS:nW,righttexticonwrapper:b,isOrdersMegaMenu:nK,rightTopContentWithTextmenu:b&&ek&&h.isCOM,hoverclass:eT||e_||eO?"textHover":eY?"showCursorPointer":null,navigationPrimaryText:K&&!G&&(!nq||!nG),subHeaderClass:G?h.isSBA?"subTextDestionationMenu":h.isCOM&&!nt&&nq?"dotComSubTextNewDestionationMenu":"dotComSubTextDestionationMenu":null,smallBucketTextElement:B,alignment:B&&i(e),mobileMenuBottomButton:nv,cursorDefault:!K&&nt&&f()(e0)&&!nx||"N/A"===e.targetWindow&&!eN&&!nx,adChoiceLink:eE||eA,actionClass:"button"===p()(e,"ctaCompoundctaType")?"navigationButtonActionText":"navigationActionText",navigationTextHover:eD,cursorClass:!(!eN&&!eW&&!ey&&f()(p()(e,"destinationReplaceURL","")))||ex?eW?"rewardsSignupAvail":"":"noanchor",color:U,iconLogo:eK&&!G,dotcomNewHeaderWrapper:nq&&h.isCOM&&!g&&n3&&!eO,styledNewDotComHeaderAccountMenu:n2,isQuickOrder:nK&&"QUICK-ORDER"===x.Qoz[ed]},...(!(f()(ed)&&!ex&&!eh||"button"===p()(e,"ctaCompoundctaType")||eE||eA)&&("N/A"!==e.targetWindow||p()(e,"destinationReplaceURL","")||p()(e,"destinationURL","")||n4)||B&&u)&&{tabIndex:eL?-1:0},onClick:f()(ed)&&!ex&&eP||eD?null:n=>e6(n,{navTextDataParam:e,OverriddenActionType:ex,levelHeading:nZ,design:nl,listsCountDisplay:nJ}),style:ev?{textDecorationColor:e5()}:null,...nO&&!f()(n_)&&{"aria-label":"Your Store ".concat((()=>{let n="";if(n_&&n_.address){let{address:e}=n_;n="".concat(e.city,", ").concat(e.state)}return n})())},onMouseDown:m.ZA,onTouchStart:n=>{(0,m.ZA)(n)},onKeyUp:m.M,onKeyDown:n=>{(0,m.M)(n),e4(n)},...(!(f()(ed)&&!ex&&!eh||"button"===p()(e,"ctaCompoundctaType")||eE||eA)&&("N/A"!==e.targetWindow||p()(e,"destinationReplaceURL","")||p()(e,"destinationURL",""))||B&&u)&&0===C&&{role:"button"},onFocus:()=>e3(),onMouseOver:e3,onMouseEnter:()=>Y(!0),onMouseLeave:()=>Y(!1),children:[ng&&e&&e.imageUrl?(0,r.jsxs)(rs,{children:[(0,r.jsx)("img",{src:e.imageUrl,...rx(e.imageUrl)})," "]}):null,ng&&e&&!e.icon?null:t(),u?e1(null,u):null,ng&&e&&!e.icon?(0,r.jsxs)(rr,{children:[t(),e&&e.cta?(0,r.jsx)(tX,{
1children:" ".concat(e.cta)}):null]}):null]}):(0,r.jsx)(tZ,{className:"navigationText ".concat(em," ").concat(nq&&nV?"dotcomNewHeaderLink":""),$styledprop:{navigationTextDrawer:X,rewardsdesign:h.isCOM&&l&&c,footerSectionThree:nr,isOrdersMegaMenu:nq&&h.isCOM&&nK,rightTopContentWithTextmenu:b&&ek&&h.isCOM,customCSS:nW,hoverclass:e_||eO?"textHover":eY?"showCursorPointer":null,navigationPrimaryText:K&&!G&&(!nq||!nG),subHeaderClass:G?h.isSBA?"subTextDestionationMenu":h.isCOM&&!nt&&nq?"dotComSubTextNewDestionationMenu":"dotComSubTextDestionationMenu":null,smallBucketTextElement:B,alignment:B&&i(e),isPrimarySize:nN,mobileMenuBottomButton:nv,dotcomNewHeaderWrapper:nq&&h.isCOM&&!g&&n3,color:U,iconLogo:eK&&!G,themedLogo:e$,navigationBottomHeadliner:G&&nt&&ek,newDotcomNavBottomRightItems:n8},style:ev?{textDecorationColor:e5()}:null,rel:e.seoTag,"aria-label":e.ariaLabel,role:"link",onMouseOver:e3,onMouseEnter:()=>Y(!0),onMouseLeave:()=>Y(!1),tabIndex:"button"===p()(e,"ctaCompoundctaType")||nn?"-1":C,onMouseDown:m.ZA,onTouchStart:n=>{(0,m.ZA)(n)},onKeyUp:m.M,onKeyDown:n=>{(0,m.M)(n),e4(n)},onClick:n=>e6(n,{navTextDataParam:e,OverriddenActionType:ex,levelHeading:nZ,design:nl,listsCountDisplay:nJ}),href:"call-us"===ed||"create-list"===ed&&0==nJ?null:e0||null,target:"new-page"===p()(e,"targetWindow")?"_blank":null,id:I||(p()(e,"displayName")?"".concat(p()(e,"displayName"),"_").concat(S):null),children:(0,r.jsxs)(o.Fragment,{children:[ng&&e&&e.imageUrl?(0,r.jsxs)(rs,{children:[(0,r.jsx)("img",{src:e.imageUrl,...rx(e.imageUrl)})," "]}):null,ng&&e&&!e.icon?null:t(),u?e1(null,u):null,ng&&e&&!e.icon?(0,r.jsxs)(rr,{$styledprop:{isCom:h.isCOM},children:[t(),e&&e.cta?(0,r.jsx)(tX,{children:" ".concat(e.cta)}):null]}):null]})})})}return null};var rT=rv;rv.defaultProps={accountInfo:{},actionTypeHandler:()=>{},addSkuAndCouponToCart:()=>{},bottomLeftContent:!1,bottomRightContent:!1,breakpoint:"lg",budgetBalanceLevel:"",budgetCenterDetails:"",callfromMobileHeadliner:!1,cartButton:!1,circleIcon:!1,circleIconColor:"",closeFlyout:()=>{},color:"",customCSS:"",customerFullName:"",customIconSize:-1,customRightCaretCSS:"",design:"",dispatchAnalytics:()=>{},domain:"",Drawer:!1,flowType:"",footerSectionOneEmail:!1,footerSectionOnePhone:!1,footerSectionThree:!1,handleMouseHover:()=>{},handleSmallBucketTextClick:()=>{},headerType:"",iconColor:"",id:"",imageMenu:!1,index:-1,isIdNeeded:!1,isLinerNextTierHippoDataPresent:!1,isLocalBusinessDrawer:!1,isMarketingMessage:!1,isOrdersMegaMenu:!1,isPermissionLimitCheckedAtParent:!1,isPrimarySize:!1,isRewardsMenuText:!1,isSalesRepPhone:"",isSalesTextItem:!1,isSolutionsMegaMenu:!1,isStoreInfoLink:!1,isStoreLocatorDrawer:!1,isStoreWeeklyAdd:!1,isTextDestinationMenuItem:!1,isTextMenu:!1,isTopHat:!1,isTopRightCTA:!1,isTwoColumnAccountMenu:!1,levelHeading:!1,listsCountDisplay:!1,loading:!1,makeMyStore:!1,megaMenu:!0,messageCountSba:0,mobileActiveActions:[],mobileHeadlinerText:{},mobileMenuBottomButton:!1,mouseEnterLeaveHandler:()=>{},navigationTextHeadliner:[],navTextData:{},newDotComHeader:!1,newFlexibleMenu:!1,newSaHeader:!1,newSmallBucketTextElement:!1,onCloseTextMenuDrawer:()=>{},openADDShipToDrawer:()=>{},openLoyaltySKUOffersDrawer:()=>{},openRewardsSignupDrawer:()=>{},openSTSModal:()=>{},page:"",parentclassStyle:"",parentIdx:void 0,primaryHeader:!1,primaryStoreObject:{storeNumber:"",address:{city:"",state:""}},renderMesagesText:!1,rewardsData:{},rewardsIconSize:24,rewardsMenuColor:"",rewardsNumber:"",rewardsTextMenu:!1,rewardsThermometerFlag:!1,rightArrow:!1,righttexticonwrapper:!1,routeDetails:{},searchItemText:"",segmentCode:"",setRequiredCookieModalOptions:()=>{},showBCOverlay:!1,signInPopup:!1,siteVariables:{},smallBucketTextElement:!1,storeCloseHandler:()=>{},storeLocatorDrawerNew:!1,storeLocatorEmptyMsg:!1,subHeader:!1,subHeaderMenuWithIcon:!1,tabindex:0,toggleTermsAndConditionsDrawer:()=>{},topHatcouponCode:"",topHatSku:"",topRightContent:void 0,triggerYourStore:()=>{},type:"",userInfo:{},welcomeMsg:""},rv.propTypes={accountInfo:b().object,actionTypeHandler:b().func,addSkuAndCouponToCart:b().func,bottomLeftContent:b().bool,bottomRightContent:b().bool,breakpoint:b().string,budgetBalanceLevel:b().string,budgetCenterDetails:b().str
1ing,callfromMobileHeadliner:b().bool,cartButton:b().bool,circleIcon:b().bool,circleIconColor:b().string,closeFlyout:b().func,color:b().string,customCSS:b().string,customerFullName:b().string,customIconSize:b().number,customRightCaretCSS:b().string,design:b().string,dispatchAnalytics:b().func,domain:b().string,Drawer:b().bool,flowType:b().string,footerSectionOneEmail:b().bool,footerSectionOnePhone:b().bool,footerSectionThree:b().bool,handleMouseHover:b().func,handleSmallBucketTextClick:b().func,headerType:b().string,iconColor:b().string,id:b().string,imageMenu:b().bool,index:b().number,isIdNeeded:b().bool,isLinerNextTierHippoDataPresent:b().bool,isLocalBusinessDrawer:b().bool,isMarketingMessage:b().bool,isOrdersMegaMenu:b().bool,isPermissionLimitCheckedAtParent:b().bool,isPrimarySize:b().bool,isRewardsMenuText:b().bool,isSalesRepPhone:b().string,isSalesTextItem:b().bool,isSolutionsMegaMenu:b().bool,isStoreInfoLink:b().bool,isStoreLocatorDrawer:b().bool,isStoreWeeklyAdd:b().bool,isTextDestinationMenuItem:b().bool,isTextMenu:b().bool,isTopHat:b().bool,isTopRightCTA:b().bool,isTwoColumnAccountMenu:b().bool,levelHeading:b().bool,listsCountDisplay:b().bool,loading:b().bool,makeMyStore:b().bool,megaMenu:b().bool,messageCountSba:b().number,mobileActiveActions:b().array,mobileHeadlinerText:b().object,mobileMenuBottomButton:b().bool,mouseEnterLeaveHandler:b().func,navigationTextHeadliner:b().array,navTextData:b().object,newDotComHeader:b().bool,newFlexibleMenu:b().bool,newSaHeader:b().bool,newSmallBucketTextElement:b().bool,onCloseTextMenuDrawer:b().func,openADDShipToDrawer:b().func,openLoyaltySKUOffersDrawer:b().func,openRewardsSignupDrawer:b().func,openSTSModal:b().func,page:b().string,parentclassStyle:b().string,parentIdx:b().number,primaryHeader:b().bool,primaryStoreObject:b().shape({address:b().shape({city:b().str
1ing,state:b().string}),storeNumber:b().string}),renderMesagesText:b().bool,rewardsData:b().object,rewardsIconSize:b().number,rewardsMenuColor:b().string,rewardsNumber:b().string,rewardsTextMenu:b().bool,rewardsThermometerFlag:b().bool,rightArrow:b().bool,righttexticonwrapper:b().bool,routeDetails:b().object,searchItemText:b().string,segmentCode:b().string,setRequiredCookieModalOptions:b().func,showBCOverlay:b().bool,signInPopup:b().bool,siteVariables:b().object,smallBucketTextElement:b().bool,storeCloseHandler:b().func,storeLocatorDrawerNew:b().bool,storeLocatorEmptyMsg:b().bool,subHeader:b().bool,subHeaderMenuWithIcon:b().bool,tabindex:b().number,toggleTermsAndConditionsDrawer:b().func,topHatcouponCode:b().string,topHatSku:b().string,topRightContent:b().node,triggerYourStore:b().func,type:b().string,userInfo:b().object,welcomeMsg:b().string},rC.defaultProps={accountInfo:{},customerFullName:"",flowType:"",isTwoColumnAccountMenu:!1,newSaHeader:!1,rewardsData:{},routeDetails:{routeType:"sdc"},signInPopup:!1,siteVariables:{isCOM:!0,isSBA:!1},textNode:{},userInfo:{},welcomeMsg:""},rC.propTypes={accountInfo:b().object,customerFullName:b().string,flowType:b().string,isTwoColumnAccountMenu:b().bool,newSaHeader:b().bool,rewardsData:b().object,routeDetails:b().shape({routeType:b().string}),signInPopup:b().bool,siteVariables:b().shape({isCOM:b().bool,isSBA:b().bool}),textNode:b().object,userInfo:b().object,welcomeMsg:b().string},rI.defaultProps={budgetBalanceLevel:"",budgetCenterDetails:"",closeFlyout:()=>{},isTwoColumnAccountMenu:!1,navTextData:{},showBCOverlay:!1,textNode:[]},rI.propTypes={budgetBalanceLevel:b().string,budgetCenterDetails:b().string,closeFlyout:b().func,isTwoColumnAccountMenu:b().bool,navTextData:b().object,showBCOverlay:b().bool,textNode:b().array},rS.defaultProps={accountInfo:{},actionIcon:"",isSalesRepEmail:"",isSalesRepName:"",isSalesRepPhone:"",navTextData:{}},rS.propTypes={accountInfo:b().object,actionIcon:b().string,isSalesRepEmail:b().string,isSalesRepName:b().string,isSalesRepPhone:b().string,navTextData:b().object}},66561:function(n,e,t){"use strict";var r=t(67294),o=t(41609),i=t.n(o),a=t(40927),s=t.n(a),l=t(42847),c=t(23279),u=t.n(c);e.Z=function(n){let{query:e,isCOM:t,isLoggedIn:o,setPastPurchasesV2Available:a,isSEARCHPP:c}=n,[p,d]=(0,r.useState)([]),f=async n=>{let{data:e}=await s().get("".concat(t?"/searchux/session/api/v1/pastPurchaseProxy":"/sbaSearch/session/api/pastpurchase","?term=").concat(n?encodeURIComponent(n):"*"),{params:{domain:t?"com":"sba"}});return e.map((n,e)=>({...n,index:e,active:!1}))},m=()=>{let n=(0,l.getSessionStorage)("pastPurchasesV2");if(!n)return null;try{let e=JSON.parse(n);if(!Array.isArray(e))return null;return e.filter(n=>n.itemId)}catch(n){return console.error("Failed to parse purchases:",n),null}},g=async()=>{try{let n=m();if(null!==n&&i()(n))return;if(!i()(n)){d(n);return}let e=await f();d(e),sessionStorage.pastPurchasesV2=JSON.stringify(e),a()}catch(n){console.log("Error in fetching past purchases",n)}},h=async n=>{try{let e=m();if(null!==e&&i()(e))return;if(i()(n)&&!i()(e)){d(e);return}let t=await f(n);d(t),i()(n)&&(sessionStorage.pastPurchasesV2=JSON.stringify(t),a())}catch(n){console.log("Error in fetching past purchases",n)}},b=(0,r.useCallback)(u()(h,500),[]);if((0,r.useEffect)(()=>{t&&o&&!c&&g()},[o]),(0,r.useEffect)(()=>{t&&!c||!o||e&&(e.length>20||e.length<3)||b(e)},[e]),t&&!c&&!i()(e)){let n=p.filter(n=>n.title&&-1!==n.title.toLowerCase().indexOf(e.toLowerCase()));return[n=n.map((n,e)=>({...n,index:e}))]}return[p,d]}},668:function(n,e,t){"use strict";t.d(e,{Aq:function(){return c},Mb:function(){return l},QI:function(){return a},mF:function(){return s}});let r=n=>"string"==typeof n?n.trim().replace(/\s+/g," ").toLowerCase():n,o=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=n;return"+"==(e=(e=r(e)).replace(/[^a-zA-Z0-9]+/g,"+")).charAt(e.length-1)&&(e=e.slice(0,-1)),"+"==e.charAt(0)&&(e=e.slice(1)),""===e&&(e="+"),e},i=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=n;return e=e.replace(/[<>]/g," "),encodeURIComponent(e=encodeURIComponent(e=r(e)).replace("~","%7E").replace("'","%27"))},a=n=>{let{searchTerm:e,isAutoCompleteResult:t,queryCategory:r}=n,a=o(e),s=i(e),l="/".concat(a,"/directory_").concat(s);t&&(l="".concat(l,"?autocompletesearchkey=").concat(s));let c=l.includes("?")?"&":"?",{prediction:u,firstCategory:p}=r||{};return"ink"===u?l+="".concat(c,"type=k"):"printer"===u&&p&&(l+="".concat(c,"fids=Category_3A_22").concat(p,"_22|Category_3A_22Printers_22")),l},s=n=>{let{searchTerm:e="",item:t={},isCOM:r}=n,a=o(e),s=i(e),l=r?"/".concat(a,"/directory_").concat(s,"?isSearchByFilter=true"):"/search?term=".concat(encodeURIComponent(e),"&isSearchByFilter=true"),c=l.includes("?")?"&":"?",{min:u="",max:p="",fids:d=""}=t;return u&&p?l+="".concat(c,"min=").concat(u,"&max=").concat(p):d&&(l+="".concat(c,"fids=").concat(d)),l},l=n=>"/search?term=".concat(i(n)),c=n=>"/search?term=".concat(encodeURIComponent(n))},25670:function(n,e,t){"use strict";t.d(e,{DK:function(){return b},EX:function(){return C},IH:function(){return S},M_:function(){return g},OY:function(){return D},RW:function(){return I},Sb:function(){return v},Ui:function(){return T}
1,Vq:function(){return _},WN:function(){return O},Z9:function(){return h},pc:function(){return x},pw:function(){return m},wK:function(){return w},wt:function(){return y}});var r=t(21922),o=t(42847),i=t(27361),a=t.n(i),s=t(35161),l=t.n(s),c=t(41609),u=t.n(c),p=t(40927),d=t.n(p);let f=(0,o.getCookie)("zipcode")||"01702",m=(n,e,t)=>new r.default(n.tenant.fullName,n.tenant.legacy,n.hyphenatedLocale,n.channelId,n.siteId,t?f:a()(e,"sessionIPA.permissionDetail.sessionData.shipToShipZipCode",f),n.langId,n.langCd,n.storeId,{},{}),g=async n=>{try{let{data:e}=await d().get("/searchux/common/api/v1/classifyQuery?term=".concat(n));return e}catch(n){return console.log("Error in fetching classify query",n),{}}},h=n=>{let{searchConfig:e,query:t,isCOM:r}=n,i=a()(e,"autocomplete.bloomreach.baseUrl"),s={q:t,request_id:Math.floor(1e11+9e11*Math.random()),_br_uid_2:(0,o.getCookie)("_br_uid_2")||"",account_id:a()(e,"autocomplete.bloomreach.".concat(r?"dotCom":"dcm","Params.accountId")),catalog_views:a()(e,"autocomplete.bloomreach.".concat(r?"dotCom":"dcm","Params.catalogViews")),request_type:"suggest"};return"".concat(i,"?q=").concat(s.q,"&request_id=").concat(s.request_id,"&_br_uid_2=").concat(s._br_uid_2,"&account_id=").concat(s.account_id,"&catalog_views=").concat(s.catalog_views,"&request_type=").concat(s.request_type)},b=n=>a()(n,"data.suggestionGroups[0].querySuggestions",[]),x=(n,e)=>{let t=l()(a()(n,"data.suggestionGroups[0].searchSuggestions",[]),e?"pid":"PN");return[...new Set(t)]},y=(n,e,t)=>{try{if("undefined"!=typeof BrTrk&&BrTrk){let r=BrTrk.getTracker();r&&r.logEvent&&r.logEvent(n,e,t,{},!0)}if("undefined"!=typeof dcm&&dcm&&void 0!==dcm.BrTrk&&dcm.BrTrk){let r=dcm.BrTrk.getTracker();r&&r.logEvent&&r.logEvent(n,e,t,{},!0)}}catch(n){console.log("Error in tracking Search BR pixel",n)}},w=()=>window.innerWidth>=1025||window.innerWidth<=820?9:6,S=function(n,e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:n,entry:e,headerType:"ux2",payload:{...t}}},C=(n,e)=>{if(n)return!0;let t=a()(e,"sessionIPA.webToggleList",[]),r=t.find(n=>"BANNER_VISIBLE_FOR_ESPOTS_BANNERS"===n.toggleName);return!r||a()(r,"active",!0)},I=n=>{if(n&&n.current){let e=n.current.getBoundingClientRect();return"calc(100vh - ".concat(e.bottom,"px)")}return"100vh"},v=(n,e)=>{if(n)return"Search Staples";let{routeType:t,routeId:r}=e;return"sba"===t&&"sba"===r?"Search Staples Business":"Search"},T=n=>{let e=n.split(" "),t=e.map((n,e)=>0===e?n.toUpperCase():isNaN(n)?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():n);return t.join(" ")},_=n=>"Enter"===n.key||13===n.keyCode||" "===n.key||32===n.keyCode,O=n=>{let{newSAHeader:e,isCOM:t,isLoggedIn:r,renderedTopHat:o}=n;return e&&!t&&r&&!u()(o)},D=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=n.findIndex(n=>n.active);return e>=0?"option-".concat(e):void 0}},8823:function(n,e,t){"use strict";let r;t.d(e,{Br:function(){return nT},DC:function(){return nP},Dm:function(){return n$},Dy:function(){return nv},Em:function(){return nh},FE:function(){return nO},G5:function(){return ns},Gp:function(){return R},I2:function(){return nS},IK:function(){return Y},If:function(){return J},JU:function(){return nN},Jv:function(){return nV},Jw:function(){return nq},KU:function(){return $},LH:function(){return np},M:function(){return ni},N8:function(){return q},Nu:function(){return nb},Nz:function(){return nK},Ok:function(){return ng},PK:function(){return nY},QJ:function(){return nn},SX:function(){return nF},Tl:function(){return nz},Tp:function(){return W},VN:function(){return ne},XS:function(){return nR},XY:function(){return nd},YN:function(){return nQ},Yj:function(){return E},Z1:function(){return N},ZA:function(){return na},ZD:function(){return nk},_$:function(){return ny},_4:function(){return X},ay:function(){return nj},b1:function(){return nt},eS:function(){return nA},hC:function(){return L},hn:function(){return nM},i:function(){return nH},i2:function(){return nw},iQ:function(){return nl},jy:function(){return nr},mD:function(){return z},nI:function(){return nW},no:function(){return H},oq:function(){return nU},pz:function(){return nB},qJ:function(){return nG},qn:function(){return nI},r2:function(){return Z},rM:function(){return P},sT:function(){return no},v2:function(){return n_},v_:function(){return nL},vh:function(){return K},xR:function(){return Q},yr:function(){return nD},zy:function(){return nu}});var o=t(87465),i=t(64721),a=t.n(i),s=t(27361),l=t.n(s),c=t(35161),u=t.n(c),p=t(41609),d=t.n(p),f=t(13311),m=t.n(f),g=t(1469),h=t.n(g),b=t(3651),x=t.n(b),y=t(50361),w=t.n(y),S=t(91966),C=t.n(S),I=t(89531),v=t(40927),T=t.n(v),_=t(42847),O=t(89734),D=t.n(O);t(54061);let E=(n,e,t)=>{if(n){let r=l()(n,"sessionIPA.permissionDetail",{});if(!d()(r)&&!d()(r[e]))return"sessionData"===e?l()(r,"sessionData.".concat(t),""):a()(r[e],t)}return!1},A=(n,e)=>{if(n){let t=l()(n,"sessionIPA.membershipDetail.membershipProgram","NON_MEMBER");return e===t}return!1},L=(n,e)=>{if(n){var t;let r=(null==n?void 0:null===(t=n.sessionIPA)||void 0===t?void 0:t.webToggleList)||[];if(!d()(r)){let n=m()(r,n=>n.toggleName===e);if(n)return x()(l()(n,"values",[]),"Y")>-1}}return!1},M=(n,e)=>!!n&&!!e&&n.indexOf(e)>-1,k=n=>{let e=E(n,o.zqw,"HNP"),t=E(n,o.zqw,"HPP");return e&&t?"hitouchprismandnonprism":t?"hitouchprismprint":e?"hitouchnonprism":""},R=(n,e,t,r)=>{try{if(n.GroupOverrideURL&&n.GroupOverrideURL.length>0){let{isLoggedIn:i,isSpanishMode:a,consumer:s,isSboMember:c}=e,u=i?"loggedIn":"GUEST",p=E(e,o.MtU,"G_ALP")?L(e,"SA_RAMP4")?"linkPlusNewExp":"linkPlus":E(e,o.MtU,"G_AL")?"link":"",f=E(e,o.sEl,"H_AL")?"legacyApproval":E(e,o.sEl,"H_AG")?"groupApproval":"",g=E(e,o.MtU,"G_BT2")||E(e,o.MtU,"G_BT2V")?"blueTarp":E(e,o.MtU,"G_BT1")?"billTrust":"",h=l()(e,"sessionIPA.membershipDetail.membershipProgram","NON_MEMBER"),b=k(e),x=a?"SPANISH_MODE":"",y=c?"SBO":"",w={};if(e.routeType===o.o27&&e.flowType===o.RKq){if(w=n.GroupOverrideURL.filter(n=>o.bV2[n&&n.usergroups&&n.usergroups[0]]===e.routeId&&o.bV2[n&&n.usergroups&&n.usergroups[1]]===e.flowType||n&&n.usergroups&&"active-lists"===n.usergroups[0]),!d()(w))return w[0].url}else w=m()(n.GroupOverrideURL,n=>
1{if(!d()(n)&&n.usergroups&&n.usergroups.length>0)return m()(n.usergroups,n=>{let i=o.bV2[n];if(!d()(i)&&("active-lists"===i||i===u||i===p||i===f||t&&i===t.routeType||i===g||t&&i===t.routeId||e.flowType&&i===e.flowType||i===h||i===r||M(r,i)||i===b||i===x||i===s||i===y))return!0})});if(!d()(w))return w.url}return n.url||n.destinationReplaceURL||n.destinationURL||n.destinationUrl||n.disclaimerDestinationUrl}catch(n){return console.error("exception while executing userOverrideURL method in HF",n),""}},P=(n,e)=>{if(n&&n.indexes&&n.indexes.length>0){let t=m()(n.indexes,n=>"FULL"===o.Bz5[n]&&e.fullHeader||"SLIM"===o.Bz5[n]&&e.slimHeader);return!!t}return!1},N=n=>{let{item:e,userData:t,siteVariables:r,segmentCode:i,domain:a,breakpoint:s,listType:c,headerTypes:u,page:p,applySwitch:d,primaryStoreObject:f={},isFromMobileDropdown:g,frequentlyPurchasedData:h,rewardsData:b,messageCountSba:x}=n,y="rewardsInformation-slp-".concat(t&&t.rewardsNumber),S=(0,_.getSessionStorage)(y),I={};if(S)try{I=JSON.parse(S)}catch(n){I={}}let v=l()(I,"loyaltyRewards.accounts[0].isMVC",!1),T="Y"===(0,_.getCookie)("BARECHP"),O="Y"===(0,_.getCookie)("BARECCD"),D=l()(I,"loyaltyRewards.accounts[0].walletInfo.balances.current",0),E=l()(I,"loyaltyRewards.accounts[0].walletInfo.balances.usableValue",0);if(e&&e.permissionlimit&&e.permissionlimit.length>0){let n=w()(e.permissionlimit),l=[],y=n.filter(n=>o.rI5[n]||n.startsWith("NOABTEST_")),S=m()(y,n=>B(n,{userData:t,siteVariables:r,segmentCode:i,domain:a,breakpoint:s,listType:c,headerTypes:u,applySwitch:d,page:p,biaRecs:T,biaRecsCart:O,is
1FromMobileDropdown:g,frequentlyPurchasedData:h,rewardsData:b,primaryStoreObject:f}));if(S)return!1;let I=C()(n,y);if(I.length>0){let n=I.filter(n=>o.Yev[n]||n.startsWith("FLOW-ABTEST_"));if(n.length>0){let e=m()(n,n=>U(n,{userData:t,siteVariables:r,segmentCode:i,domain:a,breakpoint:s,listType:c,headerTypes:u,applySwitch:d,isFromMobileDropdown:g,frequentlyPurchasedData:h,rewardsData:b,rewardsPoints:D,availableLoyaltyRewards:E,page:p,isMVC:v}));if(!e)return!1;I=C()(I,n)}if(I.length>0){if(r&&r.isCOM)l=F(I,{userData:t,siteVariables:r,segmentCode:i,domain:a,breakpoint:s,listType:c,headerTypes:u,biaRecs:T,biaRecsCart:O,applySwitch:d,isFromMobileDropdown:g,frequentlyPurchasedData:h,page:p,rewardsData:b,primaryStoreObject:f,isMVC:v});else if((l=j(I,{userData:t,siteVariables:r,segmentCode:i,domain:a,breakpoint:s,listType:c,headerTypes:u,applySwitch:d,biaRecs:T,biaRecsCart:O,isFromMobileDropdown:g,frequentlyPurchasedData:h,messageCountSba:x,primaryStoreObject:f,page:p})).indexOf("CSR")>-1)return!1;return I.indexOf("MobileOnly")>-1?l.length===I.length:l.length>0}}}return!0},B=(n,e)=>{let{userData:t,segmentCode:r,domain:i,breakpoint:a,headerTypes:s,page:l,applySwitch:c=!1,isFromMobileDropdown:u,frequentlyPurchasedData:p,biaRecs:f,biaRecsCart:m}=e;if(n&&n.startsWith("NOABTEST_")){let e=n.replace(/^NOABTEST_/,"ABTEST_");return t&&t.abTestTokens&&t.abTestTokens[e]}if(o.rI5[n])switch(o.rI5[n]){case"NOMOBILE":return"xs"===a||"sm"===a;case"NO-TPV":return s&&s.tpvHeader;case"NO-TPVMVP":return s&&s.tpvHeader&&t&&t.flowType===o.fUn;case"NO-TPVEDIV":return s&&s.tpvHeader&&t&&t.routeType===o.o27;case"NO-TPVHITOUCH":return s&&s.tpvHeader&&t&&t.routeId===o.cVK;case"NO-LOGOONLY":return s&&s.logoHeader;case"NO-LOGOONLYMVP":return s&&s.logoHeader&&t&&t.flowType===o.fUn;case"NO-LOGOONLYEDIV":return s&&s.logoHeader&&t&&t.routeType===o.o27;case"NO-LOGOONLYHITOUCH":return s&&s.logoHeader&&t&&t.routeId===o.cVK;case"NO-SLIM":return s&&s.slimHeader;case"NO-SLIMMVP":return s&&s.slimHeader&&t&&t.flowType===o.fUn;case"NO-SLIMEDIV":return s&&s.slimHeader&&t&&t.routeType===o.o27;case"NO-SLIMHITOUCH":return s&&s.slimHeader&&t&&t.routeId===o.cVK;case"NO-SBA":return t&&t.routeId===o.LAV&&t.flowType!==o.fUn;case"NOEDIV":return t.routeType===o.o27;case"NOMVP-EDIV":return t.routeType===o.o27&&t.flowType===o.fUn;case"NOMVP-WFC":return t&&t.flowType===o.fUn&&t.routeId===o.KfC;case"NOSAML":return t&&"SAML"===t.flowType;case"NOMVP":return t&&t.routeId===o.LAV&&t.flowType===o.fUn;case"NOHITOUCH":return t&&t.routeId===o.cVK;case"NOMVPHITOUCH":return t&&t.routeId===o.cVK&&t.flowType===o.fUn;case"NO-FULL":return s&&s.fullHeader;case"NO-FULLMVP":return s&&s.fullHeader&&t&&t.flowType===o.fUn;case"NO-FULLEDIV":return s&&s.fullHeader&&t&&t.routeType===o.o27;case"NOFULLHITOUCH":return s&&s.fullHeader&&t&&t.routeId===o.cVK;case"NO-ASSOCIATES":return!t.isLoggedIn||t&&"ASC"===t.userType;case"NOPENALTYBOX":return"19_PB"===r&&d()(t.rewardsNumber);case"NO_PENALTY_BOX_WITH_REWARDS":return"19_PB"===r&&!d()(t.rewardsNumber);case"NOCART":return"cart"===i;case"NOBEP":return"9_BEP"===r||"10_BEP"===r;case"NO_ELITE":return"26_LOYALTY_ELT"===r||"27_LOYALTY_ELT"===r;case"NO_UNIDENTIFIED":return"1_UNIDENTIFIED"===r;case"NO_NEW":return"30_LOYALTY_NEW"===r;case"NO_SILVER":return"31_LOYALTY_SILVER"===r;case"NO_GOLD":return"32_LOYALTY_GOLD"===r;case"NO_BRONZE":return"33_LOYALTY_BRONZE"===r;case"NO_TIN":return"34_LOYALTY_TIN"===r;case"NO_PLATINUM":return"35_LOYALTY_PLATINUM"===r;case"NO_PLUS1":return"36_LOYALTY_PLUS1"===r;case"NO_PLUS2":return"37_LOYALTY_PLUS2"===r;case"NO_NON_REWARDS":return"2_NON_REWARDS"===r;case"NO-CHAT":return!t||!t.isLoggedIn||ne(t,"REACTIVE_CHAT");case"NO-FEEDBACK":return!ne(t,"OPINIONLABS_ENABLED");case"NO-WORKLIFE-SERVICES":return!ne(t,"HEADER_CONTENT_WORKLIFE_AND_SERVICES");case"NO-HELP":return!ne(t,"HELP_CENTER");case"NO-FOOTER":return!(t.isLoggedIn||ne(t,"FOOTER_CONTENT_FLYER_AND_OFFERINGS"));case"NO-FLYOUT-BANNER":return!ne(t,"PRODUCTS_FLYOUT_BANNERS");case"NO-FLYOUT-CATEGORIES":return!ne(t,"PRODUCTS_FLYOUT_CATEGORIES");case"NO-SHIPTO-PAGE":return"shipTo"===l;case"NO_HOME_PAGE":return t&&("homepage"===t.consumer||"SBAHomePage"===t.consumer);case"NO_GIFT_CARDS":return!ne(t,"GIFTCARD_LINK_IN_OFFICE_SUPPLIES");case"NO_MOBILE_APP":return t&&t.isMobileAPP;case"NO_PROMO":return E(t,o.zqw,"PD");case"NO_RECOMMENDATIONS":return c&&!ne(t,"SPARX_PRODUCT_RECOMMENDATION_ON_SACOM");case"NO_BANNERS":return c&&!ne(t,"BANNER_VISIBLE_FOR_ESPOTS_BANNERS");case"NO_POPULAR_CATEGORIES":return c&&!ne(t,"POPULAR_CATEGORIES_CAROUSEL");case"NO_LARGE":return"lg"===a;case"NO_MEDIUM":return"md"===a;case"NO_SMALL":return"sm"===a;case"NO_EXTRA_SMALL":return"xs"===a;case"NO_SOUTHWEST":return t&&t.routeId===o.yIw;case"NOMVP-SOUTHWEST":return t&&t.routeId===o.yIw&&t.flowType===o.fUn;case"NO-TPVSOUTHWEST":return t&&t.routeId===o.yIw&&s&&s.tpvHeader;case"NO-LOGOONLYSOUTHWEST":return t&&t.routeId===o.yIw&&s&&s.logoHeader;case"NO-SLIMSOUTHWEST":return t&&t.routeId===o.yIw&&s&&s.slimHeader;case"NO-FULLSOUTHWEST":return t&&t.routeId===o.yIw&&s&&s.fullHeader;case"NO-MOBILE-MENU":return!0===u;case"NO-QUICK-ORDER-COOKIE":return t&&t.enableQuickOrderDrawer;case"NoSA_RAMP1":return L(t,"SA_RAMP1");case"NoSA_RAMP2":return L(t,"SA_RAMP2");case"NoSA_RAMP3":return L(t,"SA_RAMP3");case"NoSA_RAMP4":return L(t,"SA_RAMP4");case"NoSA_RAMP5":return L(t,"SA_RAMP5");case"NoSA_RAMP6":return L(t,"SA_RAMP6");case"NoSA_RAMP7":return L(t,"SA_RAMP7");case"NoSA_RAMP8":return L(t,"SA_RAMP8");case"NoCME":return L(t,"CME");case"NoOME":return L(t,"OME");case"NoARE":return L(t,"ARE");case"NO_FREQUENTLY_PURCHASED":return!d()(p);case"NO_EASY_REWARDS":return t&&t.isSlp;case"NO_LOGGED_IN":return t&&t.isLoggedIn;case"NO_GUEST":return t&&!t.isLoggedIn;case"NODHPRD":return t&&t.isDHPRD;case"NODHPRDAB":return t&&t.homeRedesign;case"NOBIARECS1":return f;case"NOBIARECSCART":return m;case"NO_SLP_REWARDS":return"28_ASSOCIATE"===r&&!d()(t.rewardsNumber)||"19_PB"===r&&!d()(t.rewardsNumber)||"30_LOYALTY_NEW"===r||"31_LOYALTY_SILVER"===r||"32_LOYALTY_GOLD"===r||"33_LOYALTY_BRONZE"===r||"34_LOYALTY_TIN"===r||"35_LOYALTY_PLATINUM"===r||"36_LOYALTY_PLUS1"===r||"37_LOYALTY_PLUS2"===r||"15_PAID_BRP_PR7"===r||"16_PAID_BRP_PR7"===r||"17_PAID_BRP_PR7"===r||"18_PAID_BRP_PR7"===r;case"NO_SBO":return t&&t.isSboMember}return!1},j=(n,e)=>{let{userData:t,breakpoint:r,listType:i,headerTypes:a,frequentlyPurchasedData:s,messageCountSba:l,primaryStoreObject:c,biaRecs:u,biaRecsCart:p}=e;return n.filter(n=>{if(n&&n.startsWith("ABTEST_"))return t&&t.abTestTokens&&t.abTestTokens[n];switch(o.w9k[n]){case"LOGGEDIN":return t&&t.isLoggedIn;case"APPROVER":return E(t,o.sEl,"H_AO");case"LEGACYAPPROVER":return E(t,o.sEl,"H_AL");case"GROUPAPPROVER":return E(t,o.sEl,"H_AG");case"REPORTS":return E(t,o.sEl,"H_R");case"SPECIALORDERS":return E(t,o.MtU,"G_SE");case"CUSTOMMESSAGES":return E(t,o.sEl,"H_CM");case"LINKPLUS":return E(t,o.MtU,"G_ALP");case"LINK":return E(t,o.MtU,"G_AL");case"BREAKROOM":return E(t,o.MtU,"G_BRE");case"MANAGEBUDGETS":return E(t,o.sEl,"H_SB");case"ACCOUNTMAINTENANCE":return E(t,o.sEl,"H_SAM");case"BLUETARP":return E(t,o.MtU,"G_BT2")||E(t,o.MtU,"G_BT2V");case"BILLTRUST":return E(t,o.MtU,"G_BT1");case"PRINTMARKETING":return E(t,o.MtU,"G_PSE")||!t.isLoggedIn;case"MANAGEUSERS":return E(t,o.sEl,"H_MU");case"AUTORESTOCK":return E(t,o.sEl,"H_AR");case"SELECT":case"PREMIUM":return A(t,o.w9k[n]);case"EDITPROFILE":return E(t,o.sEl,"H_EMP");case"SERIALNUMBERLOOKUP":return E(t,o.sEl,"H_SL");case"CHANGEPASSWORD":return E(t,o.sEl,"H_CP");case"INSIDERSNETWORK":return L(t,"INSIDERSNETWORK");case"learn":return L(t,"LEARN_TAB_ACCESS")||!t.isLoggedIn;case"PROMO":return E(t,o.zqw,"PD")||!t.isLoggedIn;case"CSR":return t&&"CSR"===t.flowType;case"BOPIS":return E(t,o.MtU,"G_BOP");case"HITOUCHPRISMPRINT":return E(t,o.zqw,"HPP")&&!E(t,o.zqw,"HNP");case"HITOUCHNONPRISMPRINT":return E(t,o.zqw,"HNP")&&!E(t,o.zqw,"HPP");case"HITOUCHPRISMANDNONPRISM":return E(t,o.zqw,"HPP")&&E(t,o.zqw,"HNP");case"SIGNOUT":return L(t,"THREE_PP_LOGOUT_ENABLED");case"DEALS":return E(t,o.zqw,"DL");case"BUDGETOVERVIEW":return E(t,o.sEl,"H_EBL");case"NEW_ONLINE_INVOICING":return E(t,o.MtU,"G_CON");case"MOBILEONLY":return"xs"===r||"sm"===r;case"LOGGEDOUT":return!(t&&t.isLoggedIn);case"NOLISTS":return i&&"myList"===i;case"NOSHAREDLISTS":return i&&"sharedList"===i;case"TPV":return a&&a.tpvHeader;case"TPV-MVP":return a&&a.tpvHeader&&t&&t.flowType===o.fUn;case"TPV-EDIV":return a&&a.tpvHeader&&t&&t.routeType===o.o27;case"TPV-HITOUCH":return a&&a.tpvHeader&&t&&t.routeId===o.cVK;case"LOGOONLY":return a&&a.logoHeader;case"LOGOONLY-MVP":return a&&a.logoHeader&&t&&t.flowType===o.fUn;case"LOGOONLY-EDIV":return a&&a.logoHeader&&t&&t.routeType===o.o27;case"LOGOONLY-HITOUCH":return a&&a.logoHeader&&t&&t.routeId===o.cVK;case"SLIM":return a&&a.slimHeader;case"SLIM-MVP":return a&&a.slimHeader&&t&&t.flowType===o.fUn;case"SLIM-EDIV":return a&&a.slimHeader&&t&&t.routeType===o.o27;case"SLIM-HITOUCH":return a&&a.slimHeader&&t&&t.routeId===o.cVK;case"FULL":return a&&a.fullHeader;case"FULL-MVP":return a&&a.fullHeader&&t&&t.flowType===o.fUn;case"FULL-EDIV":return a&&a.fullHeader&&t&&t.routeType===o.o27;case"FULL-HITOUCH":return a&&a.fullHeader&&t&&t.routeId===o.cVK;case"DELAYED_DELIVERY_TOPHAT":return L(t,"ENABLE_15DAY_DELIVERY_CALENDAR_IN_CART_PAGE");case"ADDSHIPPINGLOCATION":return E(t,o.sEl,"H_SSD");case"NO_OTHER_STAPLES_SITES":return E(t,o.zqw,"SLB")||!t.isLoggedIn;
1case"SALES-REP":return E(t,"sessionData","salesRepEmail")||E(t,"sessionData","salesRepName")||E(t,"sessionData","salesRepPhone");case"QUICK-ORDER-COOKIE":return t&&t.enableQuickOrderDrawer;case"DIGITAL_ENROLLMENT":return E(t,"sessionData","accountIsDigitalEnrollment");case"HAS_FREQUENTLY_PURCHASED":return!d()(s);case"LOGGED-OUT-IDENTIFIED":return t.isLoggedIn;case"LOGGED-OUT-UNIDENTIFIED":return!t.isLoggedIn;case"REACTIVE_CHAT":return!t||!t.isLoggedIn||ne(t,"REACTIVE_CHAT");case"REPORTS_ACCESS_DISABLED":return!L(t,"REPORTS_ACCESS_DISABLED")&&!!E(t,o.sEl,"H_R");case"ACTIVE-MESSAGES":return l&&l>0&&"0"!==l;case"EMPTY-MESSAGES":return!l||0===l||"0"===l;case"STORE-ACTIVE":return!d()(c);case"BIARECS1":return u;case"BIARECSCART":return p;case"DHPRD":return t&&t.isDHPRD;case"DHPRDAB":return t&&t.homeRedesign;case"STORE-EMPTY":return d()(c);case"GIFTCARD_LINK_IN_OFFICE_SUPPLIES":return L(t,"GIFTCARD_LINK_IN_OFFICE_SUPPLIES");default:return!0}})},H=n=>{let e="";return n&&(e=h()(n)&&n.length>0?nu(n):n),e},F=(n,e)=>{let{userData:t,segmentCode:r,breakpoint:i,listType:a,headerTypes:s,primaryStoreObject:l,frequentlyPurchasedData:c,biaRecs:u,biaRecsCart:p}=e;return n.filter(n=>{if(n&&n.startsWith("ABTEST_"))return t&&t.abTestTokens&&t.abTestTokens[n];switch(o.w9k[n]){case"BEP":return"9_BEP"===r||"10_BEP"===r;case"AT_RISK":return"23_TIER_AT_RISK_HIGH_EXISTING"===r;case"UNIDENTIFIED":return"1_UNIDENTIFIED"===r;case"FREE_REWARDS":return"3_FREE_REWARDS_BSE"===r||"4_FREE_REWARDS_PMR"===r;case"NEW":return"24_LOYALTY_NEW"===r;case"LOW":return"25_LOYALTY_LOW"===r;case"ELITE":return"26_LOYALTY_ELT"===r;case"BASE":return"6_BEP_BSE"===r||"5_BEP_BSE"===r||"3_FREE_REWARDS_BSE"===r;case"PREMIER":return"8_BEP_PMR"===r||"7_BEP_PMR"===r||"4_FREE_REWARDS_PMR"===r;case"PLUS_FREE":return"11_FREE_BRP_PR6"===r||"12_FREE_BRP_PR6"===r||"13_FREE_BRP_PR6"===r||"14_FREE_BRP_PR6"===r;case"PLUS_PAID":return"15_PAID_BRP_PR7"===r||"16_PAID_BRP_PR7"===r||"17_PAID_BRP_PR7"===r||"18_PAID_BRP_PR7"===r;case"BEST_PLUS":return"21_TIER_BEST_CUST_PLUS"===r;case"BEST_NO_PLUS":return"22_TIER_BEST_CUST_NOPLUS"===r;case"SA_ACTIVE":return"20_SAA"===r;case"PENALTY_BOX":return"19_PB"===r&&d()(t.rewardsNumber);case"PENALTY_BOX_WITH_REWARDS":return"19_PB"===r&&!d()(t.rewardsNumber);case"NEW_ELITE":return"27_LOYALTY_ELT"===r;case"ASSOCIATE_REWARDS":return"28_ASSOCIATE"===r;case"LOGGEDIN":return t&&t.isLoggedIn;case"LOGGEDOUT":return!t.isLoggedIn;case"MOBILEONLY":return"xs"===i||"sm"===i;case"NOLISTS":return a&&"myList"===a;case"NOSHAREDLISTS":return a&&"sharedList"===a;case"FULL":return s&&s.fullHeader;case"SLIM":return s&&s.slimHeader;case"LOGOONLY":return s&&s.logoHeader;case"LOGGED-OUT-IDENTIFIED":return!t.isLoggedIn&&"1_UNIDENTIFIED"!==r;case"LOGGED-OUT-UNIDENTIFIED":return!t.isLoggedIn&&"1_UNIDENTIFIED"===r;case"STORE-ACTIVE":return!d()(l);case"STORE-EMPTY":return d()(l);case"QUICK-ORDER-COOKIE":return t&&t.enableQuickOrderDrawer;case"HAS_FREQUENTLY_PURCHASED":return!d()(c);case"REACTIVE_CHAT":return!t||!t.isLoggedIn||ne(t,"REACTIVE_CHAT");case"EASY_REWARDS":return t&&t.isSlp;case"SLP_REWARDS":return"28_ASSOCIATE"===r&&!d()(t.rewardsNumber)||"19_PB"===r&&!d()(t.rewardsNumber)||"30_LOYALTY_NEW"===r||"31_LOYALTY_SILVER"===r||"32_LOYALTY_GOLD"===r||"33_LOYALTY_BRONZE"===r||"34_LOYALTY_TIN"===r||"35_LOYALTY_PLATINUM"===r||"36_LOYALTY_PLUS1"===r||"37_LOYALTY_PLUS2"===r||"15_PAID_BRP_PR7"===r||"16_PAID_BRP_PR7"===r||"17_PAID_BRP_PR7"===r||"18_PAID_BRP_PR7"===r;case"DHPRD":return t&&t.isDHPRD;case"DHPRDAB":return t&&t.homeRedesign;case"BIARECS1":return u;case"BIARECSCART":return p;case"SBO":return t&&t.isSboMember;default:return!0}})},U=(n,e)=>{let{userData:t,breakpoint:r,segmentCode:i,isFromMobileDropdown:a,isMVC:s,rewardsPoints:l,availableLoyaltyRewards:c}=e;if(n&&n.startsWith("FLOW-ABTEST_")){let e=n.replace(/^FLOW-ABTEST_/,"ABTEST_");return t&&t.abTestTokens&&t.abTestTokens[e]}if(o.Yev[n])switch(o.Yev[n]){case"FLOW-MVP-EDIV":return t&&t.routeType===o.o27&&t.flowType===o.fUn;case"FLOW-MVP-HITOUCH":return t&&t.routeId===o.cVK&&t.flowType===o.fUn;case"FLOW-MVP-WFC":return t&&t.routeId===o.KfC&&t.flowType===o.fUn;case"FLOW-MVP-SOUTHWEST":return t&&t.routeId===o.yIw&&t.flowType===o.fUn;case"FLOW-SAML":return t&&"SAML"===t.flowType;case"FLOW-MOBILE-APP-ONLY":return t.isMobileAPP;case"FLOW-SPANISH":return t&&t.isSpanishMode;
1case"FLOW-ENGLISH":return t&&!t.isSpanishMode;case"FLOW-CART":return t&&"cart"===t.consumer;case"FLOW-LARGE":return"lg"===r;case"FLOW-MEDIUM":return"md"===r;case"FLOW-SMALL":return"sm"===r;case"FLOW-EXTRA-SMALL":return"xs"===r;case"FLOW-MOBILE":return!0===a;case"FLOW-ASSOCIATE-REWARDS":return"28_ASSOCIATE"===i;case"FLOW-AT-RISK":return"23_TIER_AT_RISK_HIGH_EXISTING"===i;case"FLOW-BEP":return"9_BEP"===i||"10_BEP"===i;case"FLOW-BEST-NO-PLUS":return"22_TIER_BEST_CUST_NOPLUS"===i;case"FLOW-ELITE":return"26_LOYALTY_ELT"===i;case"FLOW-LOW":return"25_LOYALTY_LOW"===i;case"FLOW-NEW-ELITE":return"27_LOYALTY_ELT"===i;case"FLOW-NON-REWARDS":return"2_NON_REWARDS"===i;case"FLOW-PENALTY-BOX":return"19_PB"===i&&d()(t.rewardsNumber);case"FLOW-PENALTY-BOX-WITH-REWARDS":return"19_PB"===i&&!d()(t.rewardsNumber);case"FLOW-PLUS-PAID":return"15_PAID_BRP_PR7"===i||"16_PAID_BRP_PR7"===i||"17_PAID_BRP_PR7"===i||"18_PAID_BRP_PR7"===i;case"FLOW-BEST-PLUS":return"21_TIER_BEST_CUST_PLUS"===i;case"FLOW-PREMIER":return"8_BEP_PMR"===i||"7_BEP_PMR"===i||"4_FREE_REWARDS_PMR"===i;case"FLOW-SA-ACTIVE":return"20_SAA"===i;case"SA_RAMP1_Flow":return L(t,"SA_RAMP1");case"SA_RAMP2_Flow":return L(t,"SA_RAMP2");case"EASY_REWARDS_MVC_FLOW":return s;case"SA_RAMP3_Flow":return L(t,"SA_RAMP3");case"SA_RAMP4_Flow":return L(t,"SA_RAMP4");case"SA_RAMP5_Flow":return L(t,"SA_RAMP5");case"SA_RAMP6_Flow":return L(t,"SA_RAMP6");case"SA_RAMP7_Flow":return L(t,"SA_RAMP7");case"SA_RAMP8_Flow":return L(t,"SA_RAMP8");case"CME_Flow":return L(t,"CME");case"OME_Flow":return L(t,"OME");case"ARE_Flow ":return L(t,"ARE");case"FLOW-EASY-REWARDS":return t&&t.isSlp;case"FLOW-UNIDENTIFIED":return"1_UNIDENTIFIED"===i;case"FLOW-NEW":return"30_LOYALTY_NEW"===i;case"FLOW-SILVER":return"31_LOYALTY_SILVER"===i;case"FLOW-GOLD":return"32_LOYALTY_GOLD"===i;case"FLOW-BRONZE":return"33_LOYALTY_BRONZE"===i;case"FLOW-TIN":return"34_LOYALTY_TIN"===i;case"FLOW-PLATINUM":return"35_LOYALTY_PLATINUM"===i;case"FLOW-PLUS1":return"36_LOYALTY_PLUS1"===i;case"FLOW-PLUS2":return"37_LOYALTY_PLUS2"===i;case"FLOW-LOGGED-IN":return t&&t.isLoggedIn;case"FLOW-ASSOCIATE-EASY-REWARDS":return"28_ASSOCIATE"===i&&!d()(t.rewardsNumber);case"FLOW-ASSOCIATE-EASY-REWARDS-EMPTY":return"28_ASSOCIATE"===i&&d()(t.rewardsNumber);case"FLOW-ASSOCIATES":return t.isLoggedIn&&"ASC"===t.userType;case"FLOW-DHPRD":return t&&t.isDHPRD;case"FLOW-DHPRDAB":return t&&t.homeRedesign;case"NO_POINTS_NO_DOLLARS_FLOW":return 0==l&&0==c&&"2_NON_REWARDS"!==i;case"SBO_FLOW":return t&&t.isSboMember}return!0},W=(n,e)=>{I.Z.feedbackInit(n,e)},z=n=>{truste&&truste.eu&&"function"==typeof truste.eu.clickListener&&truste.eu.clickListener()},Y=n=>{truste&&truste.eu&&"function"==typeof truste.eu.irmClickListener&&truste.eu.irmClickListener()},K=(n,e,t)=>{let r=I.Z.chatInit({label:n,isBDR:e,actionchatLineOfBusiness:t});if(!r){if("undefined"!=typeof FS&&window.FS.event&&window.FS.event("Chat Initiated",{domain_str:"Header",chatOption_str:n}),e)"undefined"!=typeof insideAPI&&"undefined"!=typeof insideFrontInterface&&null!=window.insideFrontInterface&&window.insideFrontInterface.openChatPane&&window.insideAPI&&null!=window.insideAPI&&window.insideAPI.post("api/visitor/set_department",{department:[8]}).then(()=>{"undefined"!=typeof insideFrontInterface&&null!=window.insideFrontInterface&&window.insideFrontInterface.openChatPane&&window.insideFrontInterface.openChatPane()}).catch(n=>{console.error("Error while setting the department",n)});else if(t){if("undefined"!=typeof insideFrontInterface&&null!=window.insideFrontInterface&&window.insideFrontInterface&&window.insideFrontInterface.openChatPane&&null!=window.insideFrontInterface.submitPrechatDepartment)try{window.insideFrontInterface.submitPrechatDepartment(t,!0)}catch(n){console.error("Error while setting the department",n)}}else"undefined"!=typeof insideFrontInterface&&null!=window.insideFrontInterface&&window.insideFrontInterface.openChatPane&&setTimeout(()=>{window.insideFrontInterface.openChatPane()},0)}},$=()=>{try{return G()}catch(n){throw console.error("Error while loading chat file",n),n}},G=()=>new Promise((n,e)=>{let t=0,r=setInterval(()=>{try{++t<2e3?(I.Z&&I.Z.chatInit||"undefined"!=typeof insideFrontInterface&&null!=window.insideFrontInterface&&window.insideFrontInterface.openChatPane)&&(clearInterval(r),n(!0)):(clearInterval(r),e("Chat failed to load in ".concat(2e3," tries !")))}catch(n){console.error("isChatLoaded ERROR!",n),clearInterval(r),e(n)}},10)}),V=n=>{let e=document.createElement("script"),t=document.getElementsByTagName("body")[0];e.type="text/javascript",e.src=n,t.appendChild(e)},Q=(n,e)=>{if(window.google&&window.google.maps){let{maps:e}=window.google;n(e)}else{let t=e?o.HAU:o.nGP;
1V("https://maps.googleapis.com/maps/api/js?key=".concat(t,"&callback=initMap&libraries=places")),window.initMap=()=>{let{maps:e}=window.google;n(e)}}},q=n=>{let{iconOverridesByGroup:e,accountInfo:t,customerName:r,isRewardsEligible:i,newDotcomHeader:a}=n;if(!d()(e)&&t){let{isLoggedIn:n}=t,s=m()(e,e=>{let{iconOverridesByGroupusergroups:s}=e,l=s&&o.PRc[s[0]];return"EASY-REWARDS-LOGO"===l?n&&a&&i:"CUSTOMER_NAME"===l?r:"GUEST"===l?t&&!t.isLoggedIn:void 0});if(!d()(s)){let{iconOverridesByGroupicon:n}=s;return n}}return""},Z=(n,e)=>{e?n.target&&n.target.classList&&n.target.classList.add("noOutline"):n.currentTarget&&n.currentTarget.classList&&n.currentTarget.classList.add("noOutline")},J=(n,e)=>{!nz(n)&&(e?n.target&&n.target.classList&&n.target.classList.remove("noOutline"):n.currentTarget&&n.currentTarget.classList&&n.currentTarget.classList.remove("noOutline"))},X=n=>{let{ActionLandingPageOverrideByUserGroup:e,accountInfo:t,routeDetails:r,siteVariables:i,breakpoint:a}=n;if(!d()(e)&&t){let n={...t,...r},s=m()(e,e=>{let{usergroups:r}=e,s=r&&r[0]&&o.PRc[r[0]];if("GUEST"===s)return t&&!t.isLoggedIn;if("LoggedIn"===s)return t&&t.isLoggedIn;if(s){let e=j(r,{userData:n,siteVariables:i,breakpoint:a});return!d()(e)}});if(!d()(s)){let{Type:n}=s;return o.Qoz[n]}}return""},nn=n=>{let{actionOverridesByGroup:e,accountInfo:t,breakpoint:r}=n;if(!d()(e)&&t){let n=m()(e,n=>{let{actionOverridesByGroupusergroups:e}=n,i=e&&o.PRc[e[0]];return"GUEST"===i?t&&!t.isLoggedIn:"FLOW-EXTRA-SMALL"===i?"xs"===r:"FLOW-SMALL"===i?"sm"===r:void 0});if(!d()(n)){let{actionOverridesByGroupactionType:e}=n;return o.Qoz[e]}}return""},ne=(n,e)=>{if(n){var t;let r=(null==n?void 0:null===(t=n.sessionIPA)||void 0===t?void 0:t.webToggleList)||[];if(!d()(r)){let n=m()(r,n=>n.toggleName===e);if(n)return x()(l()(n,"values",[]),"Y")>-1}}return!0},nt=()=>!!("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),nr=(n,e)=>{let t=n===o.I1O||e===o.I1O||n===o.lhI||e===o.lhI,r=n===o.sie||e===o.sie,i=n===o.zWM||e===o.zWM;return{logoHeader:t,slimHeader:i,tpvHeader:r,fullHeader:!(t||r||i)}},no=n=>{let{references:e,ActiveFlag:t,isDrawer:r,isSub:o}=n;e&&!d()(e)&&(e.mainWrapperRef&&e.mainWrapperRef.current&&(t?r?e.mainWrapperRef.current.style.zIndex="9998":(e.topHatRef&&e.topHatRef.current&&(e.topHatRef.current.style.zIndex="9997"),e.mainWrapperRef.current.style.zIndex="9996"):(e.mainWrapperRef.current.style.zIndex=null,e.topHatRef&&e.topHatRef.current&&(e.topHatRef.current.style.zIndex=null))),o&&e.subWrapperRef&&e.subWrapperRef.current&&(t&&o?r?e.subWrapperRef.current.style.zIndex="9998":(e.mainWrapperRef&&e.mainWrapperRef.current&&(e.mainWrapperRef.current.style.zIndex="9996"),e.subWrapperRef.current.style.zIndex="101",e.subWrapperRef&&e.subWrapperRef.current&&e.subWrapperRef.current.children&&e.subWrapperRef.current.children&&(e.subWrapperRef.current.children[0].style.boxShadow="none")):(e.subWrapperRef.current.style.zIndex=null,e.subWrapperRef&&e.subWrapperRef.current&&e.subWrapperRef.current.children&&e.subWrapperRef.current.children[0]&&(e.subWrapperRef.current.children[0].style.boxShadow="0 13px 21px -9px rgba(0, 0, 0, .2)"))))},ni=(n,e)=>{if(n){let t=e?n.target:n.currentTarget;t&&t.classList&&!("Meta"===n.key||"Control"===n.key)&&t.classList.remove("noBlueOutlineOnFocus")}},na=(n,e)=>{if(n){let t=e?n.target:n.currentTarget;t&&t.classList&&t.classList.add("noBlueOutlineOnFocus")}},ns=n=>{let e=n||window.event,t=e.which||e.keyCode;return"Tab"===e.key||9===t},nl=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e="",{headlinerMain:t}=n;return d()(t)||u()(t,n=>{let{headlinerBlock:t}=n;d()(t)||u()(t,n=>{let{headlinertext:t,headlinerMain:r}=n;d()(r)?e+=t:e+=nl(r)})}),e},nc=n=>!d()(n)&&n[0]&&(n[0].headlinerMainstyle||n[0].headlinerMain),nu=n=>{let e="",t=l()(n,"headliner",[]);return d()(t)||(nc(t)?u()(t,n=>{d()(n)||(e+=nl(n))}):u()(t,n=>{e+=l()(n,"headlinertext","")})),e},np=n=>{let e="",t=l()(n,"subHeadliner",[]);return d()(t)||(nc(t)?u()(t,n=>{d()(n)||(e+=nl(n))}):u()(t,n=>{e+=l()(n,"headlinertext","")})),e},nd=n=>
1{let{scrollOff:e,parentRef:t,stickyHeader:r}=n;if("undefined"!=typeof document&&document.body){if(e&&document.documentElement&&window&&window.innerWidth){let n=Math.abs(document.documentElement.scrollHeight-document.documentElement.clientHeight)>0;if(!n)return;let e=window.innerWidth-document.documentElement.clientWidth;e>0&&(document.body.style.paddingRight="".concat(e,"px")),document.body.style.overflowY="hidden",document.body.style["touch-action"]="none",document.body.style["overscroll-behavior"]="none",document.body.style["-webkit-overflow-scrolling"]="none",r&&t&&t.current&&t.current.style&&(t.current.style.width="calc(100% - ".concat(e,"px)"))}else document.body.style.overflowY="auto",document.body.style.paddingRight="inherit",document.body.style["touch-action"]=null,document.body.style["overscroll-behavior"]=null,document.body.style["-webkit-overflow-scrolling"]="touch",t&&t.current&&t.current.style&&(t.current.style.width=null)}},nf=n=>{let e,{name:t}=n;try{e=new Event(t)}catch(n){(e=document.createEvent("Event")).initEvent(t,!0,!0)}return e},nm=()=>nf({name:o.eSr}),ng=()=>r||(r=nm()),nh=n=>{let e,{ctrlKeyArg:t,altKeyArg:r,shiftKeyArg:o,metaKeyArg:i,keyCodeArg:a,charCodeArg:s,keyArg:l}=n;try{e=new KeyboardEvent("keydown",{key:l,code:l,keyCode:a,charCode:s,which:a,ctrlKey:!!t,altKey:!!r,shiftKey:!!o,metaKey:!!i,bubbles:!0,view:window,cancelable:!0})}catch(c){e=document.createEvent("KeyboardEvent");let n=[];t&&n.push("Control"),r&&n.push("Alt"),o&&n.push("Shift"),i&&n.push("Meta"),"undefined"!==e.initKeyboardEvent?e.initKeyboardEvent("keydown",!0,!0,window,l,0,n.join(" "),!0,""):e.initKeyEvent("keydown",!0,!0,window,!!t,!!r,!!o,!!i,a,s)}return e},nb=(n,e)=>{n.fireEvent&&n.fireEvent(e),n.dispatchEvent(e)},nx=n=>{let e=new Date;if(n){let t=Date.parse(n);if(!isNaN(t))return e-t>3e5}return!0},ny=n=>{let{callback:e,rewardsID:t,routePrefix:r}=n;nw(r,t).then(n=>{n&&e(n)}).catch(console.error)},nw=(n,e)=>{try{let t="rewardsInformation-slp-".concat(e),r=(0,_.getSessionStorage)(t);if(!d()(r)){let n=JSON.parse(r),{timeStamp:e}=n;if(!nx(e))return Promise.resolve(n)}return nC(n,e,t)}catch(n){return console.error("Exception in getRewardsInformation",n),Promise.resolve({})}},nS=function(n,e,t){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/ele-lpd";return T().post("".concat(r,"/api/sparxProxy/subscribeUserforOffers"),{emailID:n,phoneNumber:e,landingPages:t}).then(n=>n).catch(n=>{throw console.error(n),n})},nC=async(n,e,t)=>{try{if(e){let e=[T().get("".concat(n,"/api/sparxProxy/getSlpCustomerRewardsInfo")),T().get("".concat(n,"/api/sparxProxy/getAvailableRewards"))],r=await Promise.all(e),[o,i]=r;if(!d()(o.data)||!d()(i.data)){let n={rewardsInfo:{showFreeSkuNewFlag:l()(o,"data.showFreeSkuNewFlag",!1),showTierUpgradeNewFlag:l()(o,"data.showTierUpgradeNewFlag",!1),remainingAmt:l()(o,"data.remainingAmt",0),isFreeSkusEligible:l()(o,"data.isFreeSkusEligible",!1),amtSpent:l()(o,"data.amtSpent",0)},availableRewards:i.data,loyaltyRewards:o.data,timeStamp:new Date};return(0,_.setSessionStorage)(t,JSON.stringify(n)),n}}return{}}catch(n){return console.error("Exception while call rewards for rewardsID - ".concat(e)),{}}},nI=n=>{try{let e=(0,_.getLocalStorage)("cisinfo");if(!d()(e)||n){let t=JSON.parse(e),r=l()(t,"cisData.orchidData.rewardsNo","")||l()(t,"cisData.rewardsNo","")||n;r&&((0,_.removeSessionStorageItem)("rewardsInformation-slp-".concat(r)),(0,_.removeSessionStorageItem)("rewardsInformation-".concat(r)),nb(document,ng()))}}catch(n){console.error("Error while deleting rewards information in local storage",n)}},nv=()=>{"undefined"==typeof Element||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(n){let e=this;do{if(Element.prototype.matches.call(e,n))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}))},nT=n=>["3_FREE_REWARDS_BSE","4_FREE_REWARDS_PMR","5_BEP_BSE","6_BEP_BSE","7_BEP_PMR","8_BEP_PMR","15_PAID_BRP_PR7","16_PAID_BRP_PR7","17_PAID_BRP_PR7","18_PAID_BRP_PR7","24_LOYALTY_NEW","25_LOYALTY_LOW","26_LOYALTY_ELT","27_LOYALTY_ELT","28_ASSOCIATE","30_LOYALTY_NEW","31_LOYALTY_SILVER","32_LOYALTY_GOLD","33_LOYALTY_BRONZE","34_LOYALTY_TIN","35_LOYALTY_PLATINUM","36_LOYALTY_PLUS1","37_LOYALTY_PLUS2"].indexOf(n)>-1,n_=(n,e)=>{try{let t=l()(n,"ActionLandingPage",!1);if(t){let{Type:e,Icon:t,ActionLandingPage:r=[{actionType:e||"",actionIcon:t||""}]}=n,[o]=r,i={actionType:l()(o,"Type",""),actionIcon:l()(o,"Icon",""),actionchatLineOfBusiness:l()(o,"chatLineOfBusiness","")};return[i]}{let{actionType:t,actionIcon:r,action:o=[{actionType:t||"",actionIcon:r||""}]}=n;
1if(e)return o;let[i]=o;return[i]}}catch(n){return[{actionType:"",actionIcon:""}]}},nO=n=>l()(n,"ariaLabel","").trim().replace(/[^a-z\s\d][\\\\^]?/gi,"").replace(/\s+/g,"_").toLowerCase(),nD=(n,e,t)=>{let r=l()(n,"lists",[]).filter(n=>l()(n,"accessLevel","")===t);return e&&r.length>5&&r.splice(5),r},nE=n=>"ACCOUNT-NUMBER"===n||"WELCOME-MSG"===n||"BUDGET"===n||"SHIPTO"===n||"LISTS"===n,nA=n=>{let{mobileMenuCickhandler:e,OverriddenActionType:t,navTextData:r,smallBucketTextElement:o,actionType:i,navigationUrl:a,clickEvent:s}=n,c=!0;return s&&(s.ctrlKey||s.metaKey)?c:c=e?!(t||l()(r,"destinationReplaceURL",!1)||l()(r,"destinationURL",!1))&&!!d()(a)&&(!i||nE(i)):!!o||!(t||l()(r,"destinationReplaceURL",!1)||l()(r,"destinationURL",!1)||l()(r,"headlinerdestinationURL"))&&!!d()(a)&&(!i||nE(i))},nL=(n,e)=>n?e&&n.length>e?"".concat(n.substring(0,e).trim(),"..."):n:"",nM=n=>{let{providedBeaconUrl:e,topCarouselBrandShopBanner:t,breakpoint:r,windowWidth:o}=n,i=l()(t,"extraSmallDesktopData.beaconUrls[0]",""),a=l()(t,"smallDesktopData.beaconUrls[0]",""),s=l()(t,"mediumDesktopData.beaconUrls[0]",""),c=l()(t,"largeDesktopData.beaconUrls[0]",""),u="lg";return o>1024?u="lg":o<=1024&&o>820?u="md":o<=820&&o>600?u="sm":o<=600&&(u="xs"),({lg:c,md:s,sm:a,xs:i})[r]===e&&u===r},nk=(n,e)=>{let t=l()(e,"largeDesktopData.assetUrl",""),r=l()(e,"mediumDesktopData.assetUrl",""),o=l()(e,"smallDesktopData.assetUrl",""),i=l()(e,"extraSmallDesktopData.assetUrl",""),a="",s="";return"xs"===n?(a=l()(e,"extraSmallDesktopData.beaconUrls[0]",""),s=l()(e,"extraSmallDesktopData.clickUrls[0]","")):"sm"===n?(a=l()(e,"smallDesktopData.beaconUrls[0]",""),s=l()(e,"smallDesktopData.clickUrls[0]","")):"md"===n?(a=l()(e,"mediumDesktopData.beaconUrls[0]",""),s=l()(e,"mediumDesktopData.clickUrls[0]","")):"lg"===n&&(a=l()(e,"largeDesktopData.beaconUrls[0]",""),s=l()(e,"largeDesktopData.clickUrls[0]","")),{brandShopLargeImageUrl:t,brandShopMediumImageUrl:r,brandShopSmallImageUrl:o,brandShopXSmallImageUrl:i,brandShopImpBeaconUrl:a,brandShopClickBeaconUrl:s}},nR=(n,e)=>{let t=l()(n,"[0].fixedSizeDesktopImageOne",""),r=l()(n,"[0].fixedSizeDesktopImageTwo",""),o=l()(n,"[0].fixedSizeMobileImageOne",""),i=l()(n,"[0].fixedSizeMobileImageTwo",""),a=l()(n,"[0].fluidSizeDesktopImageOne",""),s=l()(n,"[0].fluidSizeMobileImageOne","");return"lg"===e||"md"===e?a||t||r:s||o||i},nP=(n,e)=>{let t=l()(n,"[0].fixedSizeDesktopImageOne",""),r=l()(n,"[0].fixedSizeDesktopImageTwo",""),o=l()(n,"[0].fixedSizeMobileImageOne",""),i=l()(n,"[0].fixedSizeMobileImageTwo",""),a=l()(n,"[0].fluidSizeDesktopImageOne",""),s=l()(n,"[0].fluidSizeMobileImageOne","");return"lg"===e?a:"md"===e?t:"sm"===e?r:"sm"===e||"xs"===e?s:o||i},nN=n=>{let e=!d()(n)&&d()(l()(n,"[0].fixedSizeDesktopImageOne",""))&&d()(l()(n,"[0].fixedSizeDesktopImageTwo",""))&&d()(l()(n,"[0].fixedSizeMobileImageOne",""))&&d()(l()(n,"[0].fixedSizeMobileImageTwo",""))&&d()(l()(n,"[0].fluidSizeDesktopImageOne",""))&&d()(l()(n,"[0].fluidSizeMobileImageOne",""));return e},nB=n=>{let{imageWidth:e,imageHeight:t,doubleSize:r}=n,o=e?r?e/2:e:null,i=t?r?t/2:t:null;return o&&i?{width:o,height:i}:{}},nj=n=>{let{e,data:t,itemdestinationUrl:r,isOverriddenActionType:i,loginDrawerHandler:a,marketoDrawerHandler:s,analyticsModule:c,isAddToCartAction:u,addSkuAndCouponToCart:p,openRewardsSignupDrawer:f,openLoyaltyDetailsDrawer:g,loyaltyDetailsDraweroptions:h,loyaltyEnrollmentDrawerHandler:b,loyaltyBPCDrawerHandler:x,openFormDrawer:y,loyaltyMissingPointsDrawerHandler:w,giftCardBalanceCheckDrawerHandler:S,openStoreLocatorDrawerHandler:C,isProd:I,openADDShipToDrawer:v,toggleQuickOrderDrawer:T,showCreateList:_,listsDrawerHandler:O,openMessageModal:D,openPremiumDrawer:E,openRequiredCookiesModal:A,openStoreLocatorDrawer:L,pageMarketoData:M,openTermsAndConditionsDrawer:k}=n;if(e.stopPropagation(),e.preventDefault(),u&&p&&"function"==typeof p){p();return}if(t){let{ariaLabel:n}=t,u=n_(t,!0),p=l()(u,"[0].actionchatLineOfBusiness",""),[{actionType:R}]=u,P=o.Qoz[R],N=!d()(m()(u,n=>{let{Type:e=""}=n;return"REQUIRED-COOKIES"===o.Qoz[e]})),B="LISTS-DRAWER"===P||"LISTS-DRAWER"===i,j="BDR_CHAT"===P||"BDR_CHAT"===i;if(("REQUIRED-COOKIES"===P||N)&&A){A({showModal:!0,modalOptions:t});return}if(("CALL-US"===P||"CALL-US"===i)&&(window.open("tel:".concat(r),"_self"),e&&e.target&&e.target.blur&&(e.target.blur(),e.stopPropagation&&e.stopPropagation(),e.preventDefault())),("FORM-DRAWER"===P||"FORM-DRAWER"===i)&&y){y({openFormDrawer:!0,selectedFormId:l()(t,"destinationAnchorId","")});return}if(("LOGIN"===P||"LOGIN"===i||"CREATE-ACCOUNT"===P)&&a){a(e,r,"CREATE-ACCOUNT"===P,B);return}if("CHAT"===P||"CHAT"===i)return $(I).then(()=>{K(n,j,p)}).catch(n=>{throw n});if("FEEDBACK"===P||"FEEDBACK"===i){W("header_feedback_Qualtrics",e,c);return}("LOYALTY-ENROLLMENT-DRAWER"===P||"LOYALTY-ENROLLMENT-DRAWER"===i)&&b?b({openLoyaltyEnrollmentDrawer:!0}):("LOYALTY-BONUS-CATEGORIES-DRAWER"===P||"LOYALTY-BONUS-CATEGORIES-DRAWER"===i)&&x?x({openLoyaltyBPCDrawer:!0}):("LOYALTY-MISSING-POINTS-DRAWER"===P||"LOYALTY-MISSING-POINTS-DRAWER"===i)&&w?w({openLoyaltyMissingPointsDrawer:!0}):("LOYALTY-OFFER-ACTIVATION-DRAWER"===P||"LOYALTY-OFFER-ACTIVATION-DRAWER"===i)&&g?g(h):"GIFT-CARDS-DRAWER"===P||"GIFT-CARDS-DRAWER"===i?S({openGiftCardBalanceCheckDrawer:!0}):("PREMIUM-ENROLLMENT"===P||"PREMIUM-ENROLLMENT"===i)&&E?E({showDrawer:!0}):("STORE-LOCATOR"===P||"STORE-LOCATOR"===i)&&L?L():B&&O?O():("TERMS-AND-CONDITIONS"===P||"TERMS-AND-CONDITIONS"===i)&&k&&k({openTermsAndConditionsDrawer:!0});("MARKETO_DRAWER"===P||"MARKETO_DRAWER"===i)&&(d()(M)?s(!0):s(!0,M)),("MARKETO"===P||"MARKETO"===i)&&s&&s(!0),("PSB-REWARDS-SIGNUP"===P||"PSB-REWARDS-SIGNUP"===i)&&f&&f(),("STORE-LOCATOR"===P||"STORE-LOCATOR"===i)&&C&&C(),("ADD-SHIPTO"===P||"ADD-SHIPTO"===i)&&v&&v(),("CREATE-LIST"===P||"CREATE-LIST"===i)&&_&&_(!0),("QUICK-ORDER"===P||"QUICK-ORDER"===i)&&T&&T(!0),("MESSAGES"===P||"MESSAGES"===i)&&D&&D()}},nH=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[{headlinerMain:[{headlinerBlock:[{headlinertext:n}],headlinerBlockstyle:[""]}],headlinerMainstyle:[""]}]},nF=n=>{let{openListsDrawer:e,isLoggedIn:t,openCreateListDrawer:r,routePrefix:o="/ele-lpd"}=n;
1T().post("".concat(o,"/api/sparxProxy/getListCardData")).then(n=>{!d()(l()(n,"data.listsData.lists"))&&e?e({showListsDrawer:!0,pageName:"header",closeDrawerCallback:()=>e({showListsDrawer:!1}),...!t&&{isRefresh:!0}}):r&&r(!0)}).catch(n=>{console.error(n),r&&r(!0)})},nU=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Banners",r=w()(e),o=w()(n);if(d()(r))return o;if(d()(o))return r;try{let{theme:n,[t]:e=[]}=o,{theme:i,[t]:a=[]}=r,s=n=>!d()(l()(n,"Monetization[0].monetizationAdUnit",""))&&!d()(l()(n,"Monetization[0].monetizationposition",[]))||!d()(l()(n,"Monetization[0].smnGAMBanneradSlotId","")),c=new Map;u()(e,n=>{let e=l()(n,"slot");c.has(e)||c.set(e,[]),c.get(e).push(n)});let p=new Map;u()(a,n=>{let e=l()(n,"slot");p.has(e)||p.set(e,[]),p.get(e).push(n)}),p.forEach((n,e)=>{let t=c.get(e)||[],r=t.some(s);r||c.set(e,n)});let f=Array.from(c.entries()).sort((n,e)=>{let[t]=n,[r]=e;return Number(t)-Number(r)}).flatMap(n=>{let[,e]=n;return e}),m="utility_card_banner"===n?f:D()(f,n=>{let{slot:e}=n;return e});return r[t]=m,r}catch(n){return console.error("Exception while merging personalized data",n),r}},nW=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];try{let t=[...e];u()(n,n=>{let r=m()(e,e=>n.slot==e.slot);d()(r)&&t.push(n)});let r=D()(t,n=>{let{slot:e}=n;return e});return r}catch(e){return console.error("Exception while merging flexible Banners data",e),n}},nz=n=>"Meta"===n.key||91===n.keyCode||"Control"===n.key||17===n.keyCode||n.ctrlKey||n.metaKey,nY=function(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;try{let{largeImageHeight:r,mediumImageHeight:o,smallImageHeight:i,extraSmallImageHeight:a,largeImageWidth:s,mediumImageWidth:l,smallImageWidth:c,extraSmallImageWidth:u}=n,p=t&&e.large?1290*(e.large/12):1440,d=t&&e.large?875*(e.large/12):1025,f=t&&e.medium?904*(e.medium/12):1024,m=t&&e.medium?701*(e.medium/12):821,g=t&&e.small?770*(e.small/12):820,h=t&&e.small?551*(e.small/12):601,b=t&&e.extraSmall?550*(e.extraSmall/12):600,x=t&&e.extraSmall?311*(e.extraSmall/12):361,y=s/p*
1d/2,w=l/f*m/2*.75,S=c/g*h/2,C=u/b*x/2,I=r/p*d/2,v=o/f*m/2*.75,T=i/g*h/2,_=a/b*x/2,O=d*r/s,D=m*o/l,E=h*i/c,A=x*a/u;return{lg:{height:I>O?O:I,width:y>d?d:y},md:{height:v>D?D:v,width:w>m?m:w},sm:{height:T>E?E:T,width:S>h?h:S},xs:{height:_>A?A:_,width:C>x?x:C}}}catch(n){return{lg:{height:0,width:0},md:{height:0,width:0},sm:{height:0,width:0},xs:{height:0,width:0}}}},nK=n=>{try{n&&((0,_.removeLocalStorageItem)("hf_cid_param_object"),(0,_.addItemLocalStorage)("hf_cid_param_object",JSON.stringify({cid:n,timestamp:new Date})))}catch(n){console.error("HF Exception while loading CID to local Storage",n)}},n$=()=>{try{let n=(0,_.getLocalStorage)("hf_cid_param_object");if(!d()(n)){let e=JSON.parse(n),{cid:t,timestamp:r}=e;if(r&&t){let n=new Date(r).getTime(),e=new Date().getTime()+2592e6;if(e>n)return t}}return""}catch(n){return console.error("HF Exception while reading CID from local Storage",n),""}},nG=n=>{if(n){let e=l()(window,"navigator.userAgent",""),t=n.replace(/\s/g,"_").toLowerCase();if(e.indexOf("staples_somni_ios_app")>-1)l()(window,"webkit.messageHandlers.somniapp")?window.webkit.messageHandlers.somniapp.postMessage({message:"navigation",route:t}):console.log("somniapp Message handler is not defined.");else{let n=l()(window,"location.hostname","");window.parent&&n.endsWith("staples.com")?window.parent.postMessage({message:"navigation",route:t},"https://".concat(n)):console.error("Unable to access parent window.")}}},nV=()=>({requestIdleCallback:window.requestIdleCallback||function(n){let e=Date.now();return setTimeout(function(){n({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})},1)},cancelIdleCallback:window.cancelIdleCallback||function(n){clearTimeout(n)}}),nQ=(n,e)=>{let{bopis:t,promo:r,brand:o=[],supercategories:i=[]}=e,a=[];return t&&(n.bopisCategories[0].selected=!0,a.push({...n.bopisCategories[0],key:"bopisCategories"})),r&&(n.promoCategories[0].selected=!0,a.push({...n.promoCategories[0],key:"promoCategories"})),n.brandCategories&&o&&o.length>0&&n.brandCategories.forEach(n=>{o.includes(Number(n.brandId))&&(n.selected=!0,a.push({...n,key:"brandCategories"}))}),n.superCategories&&i&&i.length>0&&n.superCategories.forEach(n=>{i.includes(Number(n.scatId))&&(n.selected=!0,a.push({...n,key:"superCategories"}))}),a},nq=n=>{let{tileData:e,selectedFilters:t={},siteVariables:r,isBopisDisabled:o}=n,i=n=>"Y"===n.clearance||"Y"===n.instantSavings||"Y"===n.totalSitePromo,a={},s={},c={},u=0,p=0,d=0;e.forEach(n=>{let e=n.adobeResponse||{},r="Y"===e.bopisEligible,o=i(e);r&&u++,o&&p++,r&&o&&d++;let a=e.brand;a&&(s[a]||(s[a]={name:a,count:0,bopisCount:0,promoCount:0,bopisPromoCount:0,selected:!!t.selectedBrandIds&&t.selectedBrandIds.includes(n.brandId),brandId:n.brandId}),s[a].count+=1,r&&(s[a].bopisCount+=1),o&&(s[a].promoCount+=1),r&&o&&(s[a].bopisPromoCount+=1));let f=e.superCategory,m=l()(e,"scId","").substring(2);f&&(c[f]||(c[f]={name:f,count:0,bopisCount:0,promoCount:0,bopisPromoCount:0,scatId:m,selected:!!t.selectedSCIds&&t.selectedSCIds.includes(m)}),c[f].count+=1,r&&(c[f].bopisCount+=1),o&&(c[f].promoCount+=1),r&&o&&(c[f].bopisPromoCount+=1))}),u>0&&!o&&(a.bopisCategories=[{name:"".concat(r.isSBA?"Pick up in store":"30-Minute Pickup"),promoCount:p,bopisCount:u,bopisPromoCount:d,count:u,selected:!!t.isBopisSelected}]),p>0&&(a.promoCategories=[{name:"On Promotion",promoCount:p,bopisCount:d,bopisPromoCount:d,count:p,selected:!!t.isDealsSelected}]);let f=Object.values(s).filter(n=>n.count>0);f.length>0&&(a.brandCategories=f);let m=Object.values(c).filter(n=>n.count>0);return m.length>0&&(a.superCategories=m),a}},77399:function(n,e,t){"use strict";t.d(e,{CZ:function(){return c},K5:function(){return S},R3:function(){return x},Ut:function(){return v},X9:function(){return D},Xl:function(){return C},Yp:function(){return A},dQ:function(){return u},ek:function(){return T},fl:function(){return f},fn:function(){return d},ft:function(){return y},k:function(){return E},oL:function(){return p},q_:function(){return L},s1:function(){return g},tU:function(){return h},tv:function(){return _},ws:function(){return b},x7:function(){return w}
1,xF:function(){return I},yS:function(){return m}});var r=t(32293),o=t(42847),i=t(27361),a=t.n(i),s=t(13311),l=t.n(s);let c=n=>n.siteVariables;(0,r.createSelector)(n=>a()(n,"headerState.header-index.sitesMenu"),n=>n),(0,r.createSelector)(n=>a()(n,"headerState.header-index.reorder"),n=>n),(0,r.createSelector)(n=>a()(n,"headerState.header-index.connect"),n=>n),(0,r.createSelector)(n=>a()(n,"headerState.header-index.cart"),n=>n);let u=(0,r.createSelector)(n=>a()(n,"headerState.JWT.isMobileAPP",!1),n=>n);(0,r.createSelector)(n=>a()(n,"headerState.JWT.enableTopSortExperience",!1),n=>n);let p=(0,r.createSelector)(n=>a()(n,"headerState.visitorDetails.email",""),n=>n);(0,r.createSelector)(n=>a()(n,"headerState.header-index.account"),n=>n),(0,r.createSelector)(n=>a()(n,"headerState.header-index.logo"),n=>n),(0,r.createSelector)(n=>a()(n,"headerState.header-index.bottomBarMenus"),n=>n);let d=(0,r.createSelector)(n=>a()(n,"headerState.JWT"),n=>n);(0,r.createSelector)(c,n=>n),(0,r.createSelector)(n=>a()(n,"gusReducer.customMessage"),n=>n),(0,r.createSelector)(n=>a()(n,"gusReducer.sbaOrgMessage"),n=>n);let f=(0,r.createSelector)(n=>a()(n,"gusReducer.addShipToOpen"),n=>n),m=(0,r.createSelector)(n=>a()(n,"gusReducer.modalOpenFromHeader"),n=>n),g=(0,r.createSelector)(n=>a()(n,"headerState.JWT.sessionIPA.webToggleList"),n=>n),h=(0,r.createSelector)(n=>a()(n,"headerState.breakpoint","lg"),n=>n);(0,r.createSelector)(n=>a()(n,"headerState.JWT.sessionIPA.permissionDetail.deprecableRequestFields"),n=>n);let b=(0,r.createSelector)(n=>a()(n,"headerState.JWT.xdeviceID",""),n=>n),x=(0,r.createSelector)(n=>a()(n,"headerState.JWT.csrUserId",""),n=>n);(0,r.createSelector)(n=>a()(n,"footerState.footer-index.topBarMenus"),n=>n),(0,r.createSelector)(n=>a()(n,"footerState.footer-index.middleBarMenus"),n=>n),(0,r.createSelector)(n=>a()(n,"footerState.footer-index.bottomBarMenus"),n=>n),(0,r.createSelector)([n=>n.cartState],n=>n);let y=(0,r.createSelector)(n=>a()(n,"cartState.miniCart.show",!1),n=>n),w=(0,r.createSelector)(n=>{let e=a()(n,"cartState.res.cartInfo.cartAttributes.numberOfLineItems"),t="cartCount",r="cartCountTime",i=new Date().getTime();e&&((0,o.addItemLocalStorage)(t,e),(0,o.addItemLocalStorage)(r,i));let s=(0,o.getLocalStorage)(r);return s&&s+2592e6>i&&(0,o.getLocalStorage)(t)||e},n=>n),S=(0,r.createSelector)(n=>a()(n,"cartState.res.cartInfo.cartAttributes.numberOfItems",0),n=>n),C=(0,r.createSelector)(n=>{let e=a()(n,"cartState.res.bcDetails.availableBalance",""),t=a()(n,"cartState.res.bcDetails.budgetCenter","");return t?"".concat(t," $").concat(e):""},n=>n);(0,r.createSelector)(n=>{let e=a()(n,"cartState.res.invoiceInfo.bc.level",""),t=a()(n,"cartState.res.invoiceInfo.bc.values",[]),r=a()(n,"cartState.res.invoiceInfo.bc.budgetingEnabled",!1),o=a()(n,"cartState.res.invoiceInfo.bc.isConfigured",!1);return{budgetBalanceLevel:e,showBCOverlay:t.length>0&&r&&o}},n=>n);let I=(0,r.createSelector)(n=>{let e=a()(n,"cartState.res.invoiceInfo.bc.values",[]),t=a()(n,"cartState.res.invoiceInfo.bc.budgetingEnabled",!1),r=a()(n,"cartState.res.invoiceInfo.bc.isConfigured",!1);return e.length>0&&t&&r},n=>n),v=(0,r.createSelector)(n=>a()(n,"cartState.res.invoiceInfo.bc.level",""),n=>n),T=(0,r.createSelector)(n=>"header"===a()(n,"accountState.config.consumer",""),n=>n);(0,r.createSelector)(n=>{let e=a()(n,"headerState.header-index.bottomBarMenus");return e&&e.length>0?l()(e,n=>n&&n.title&&"products"===n.title.toLowerCase()):null},n=>n),(0,r.createSelector)(n=>{let e=a()(n,"headerState.header-index.bottomBarMenus");return e&&e.length>0?l()(e,n=>n&&n.title&&"services & solutions"===n.title.toLowerCase()):null},n=>n),(0,r.createSelector)(n=>{let e=a()(n,"headerState.header-index.bottomBarMenus");return e&&e.length>0?l()(e,n=>n&&n.title&&-1!==n.title.toLowerCase().indexOf("worklife")):null},n=>n),(0,r.createSelector)(n=>{let e=a()(n,"headerState.header-index.bottomBarMenus");return e&&e.length>0?l()(e,n=>n&&n.title&&"deals"===n.title.toLowerCase()):null},n=>n),(0,r.createSelector)(n=>{let e=a()(n,"headerState.header-index.bottomBarMenus");return e&&e.length>0?l()(e,n=>n&&n.title&&"membership"===n.title.toLowerCase()):null},n=>n);let _=(0,r.createSelector)(n=>a()(n,"headerState.segmentCode",""),n=>
1n),O=(0,r.createSelector)(n=>a()(n,"headerState.CISData.custAttrbs.USERCONTACT"),n=>n),D=(0,r.createSelector)([O],n=>{try{if(n&&(n.lname||n.fname)){var e,t;let r=(null===(e=n.fname)||void 0===e?void 0:e.charAt(0))||"",o=(null===(t=n.lname)||void 0===t?void 0:t.charAt(0))||"",i="".concat(r).concat(o);return i.toUpperCase()}return""}catch(n){return""}}),E=(0,r.createSelector)([O],n=>"".concat(a()(n,"fname","")," ").concat(a()(n,"lname",""))),A=(0,r.createSelector)(n=>{let e=a()(n,"headerState.CISData.custAttrbs.UBAS.customerNo")||a()(n,"headerState.CISData.custAttrbs.ORCHID.customerNo")||a()(n,"headerState.CISData.custAttrbs.customerNo");if(e&&!isNaN(e)){e=e.replace(/.(?=\d{4,}$)/g,"X");let n=e.lastIndexOf("X");return n>-1?"".concat(e.substring(0,n+1),"-").concat(e.substring(n+1)):e}return""},n=>n),L=(0,r.createSelector)(n=>a()(n,"headerState.CISData.custAttrbs.UBAS.rewardsNo")||a()(n,"headerState.CISData.custAttrbs.ORCHID.rewardsNo[0]")||a()(n,"headerState.CISData.custAttrbs.rewardsNo")||"",n=>n)},38999:function(n,e,t){"use strict";t.d(e,{$0:function(){return X},$m:function(){return nE},AO:function(){return ee},BM:function(){return ni},BV:function(){return n0},Bf:function(){return nK},CS:function(){return O},Cg:function(){return nI},Dr:function(){return nw},E8:function(){return nt},Fj:function(){return q},HU:function(){return nV},I2:function(){return U},IR:function(){return ny},IY:function(){return nS},Ib:function(){return no},Id:function(){return Y},Ig:function(){return _},Ii:function(){return ns},Im:function(){return nG},Iq:function(){return P},Iv:function(){return el},K:function(){return nO},K0:function(){return nb},KW:function(){return es},Kl:function(){return nU},LX:function(){return W},Ls:function(){return nj},Nq:function(){return nM},P7:function(){return nk},Q3:function(){return n3},R6:function(){return nQ},RV:function(){return nx},Rh:function(){return n5},Rn:function(){return nd},S4:function(){return R},T3:function(){return nl},U3:function(){return n7},U4:function(){return em},UB:function(){return n8},Uj:function(){return eo},Vb:function(){return nD},WI:function(){return j},WX:function(){return nF},Wm:function(){return eg},XD:function(){return w},XL:function(){return v},Xn:function(){return nR},Y6:function(){return N},Ys:function(){return nY},Yt:function(){return nT},Z8:function(){return na},ZC:function(){return n$},_6:function(){return F},_b:function(){return nA},bG:function(){return k},cH:function(){return B},dU:function(){return A},dg:function(){return J},e$:function(){return Q},eI:function(){return nW},em:function(){return nf},eq:function(){return y},et:function(){return ep},f0:function(){return nn},fn:function(){return L},gg:function(){return E},gj:function(){return $},gl:function(){return nP},h$:function(){return ng},h3:function(){return nL},h6:function(){return K},hE:function(){return ei},hi:function(){return nh},jM:function(){return n9},je:function(){return n1},k_:function(){return nJ},kq:function(){return ed},m3:function(){return n6},mB:function(){return ea},nS:function(){return nN},nx:function(){return S},o1:function(){return M},oQ:function(){return D},oR:function(){return nv},oj:function(){return nz},ok:function(){return eu},p3:function(){return nZ},p6:function(){return nH},pQ:function(){return z},q2:function(){return nu},qs:function(){return ec},rs:function(){return en},s8:function(){return ne},sR:function(){return x},sf:function(){return nq},sq:function(){return n_},tF:function(){return Z},tX:function(){return T},tu:function(){return nB},u4:function(){return V},v9:function(){return H},w:function(){return nm},w8:function(){return er},wI:function(){return nC},wS:function(){return nr},x2:function(){return et},xZ:function(){return np},xb:function(){return n4},xq:function(){return nX},y1:function(){return nc},ys:function(){return n2},zQ:function(){return G}});var r=t(32293),o=t(27361),i=t.n(o),a=t(41609),s=t.n(a),l=t(35161),c=t.n(l),u=t(63105),p=t.n(u);let d=n=>n.headerState,f=n=>n.footerState,m=n=>n.siteVariables,g=n=>n.gusReducer,h=[],b={},x=(0,r.createSelector)([d],n=>i()(n,"headerType","")),y=(0,r.createSelector)([d],n=>i()(n,"globalABCampaign.featureFlag.AATCV2",!1)),w=(0,r.createSelector)([d],n=>i()(n,"sparq-index",{})),S=(0,r.createSelector)([w],n=>i()(n,"finderSearch.enabled",[])),C=(0,r.createSelector)([w],n=>i()(n,"finderSearch.DotComFinderConfig",[])),I=(0,r.createSelector)([C],n=>{let e=p()(n,n=>n.enabled),t=c()(e,n=>n.DotComFinderBanner[0]||[]);return t}),v=(0,r.createSelector)([I,(n,e)=>e],(n,e)=>{let t=p()(n,n=>n.isDefault),r=p()(n,n=>{let t=n.searchTerms&&n.searchTerms.filter(n=>n&&n.toLowerCase()===e.toLowerCase());return!s()(t)}),o=!s()(r),i=s()(r)?t:r;return{...i[0],bannerMatched:o}}),T=(0,r.createSelector)([f],n=>i()(n,"sparq-index",{})),_=(0,r.createSelector)([f],n=>i()(n,"sparq-index.section3",{})),O=(0,r.createSelector)([f],n=>i()(n,"sparq-index.section2",{})),D=(0,r.createSelector)([f],n=>i()(n,"sparq-index.logo",{})),E=(0,r.createSelector)([m],n=>n),A=(0,r.createSelector)([n=>n.spaLoading],n=>n),L=(0,r.createSelector)([d],n=>i()(n,"JWT",b)),M=(0,r.createSelector)([d],n=>i()(n,"CISData",b)),k=(0,r.createSelector)([d],n=>i()(n,"userInfo",b)),R=(0,r.createSelector)([d],n=>i()(n,"JWT.consumer",""));(0,r.createSelector)([w],n=>i()(n,"topNavigationOptionsLeft[0].navigationFlyouts",[]));let P=(0,r.createSelector)([d],n=>i()(n,"routeDetails")),N=(0,r.createSelector)([L],n=>i()(n,"routePrefix")),B=(0,r.createSelector)([L],n=>i()(n,"accountNumber"));(0,r.createSelector)([w],n=>i()(n,"topNavigationOptionsLeft[1].navigationImages")),(0,r.createSelector)([w],n=>i()(n,"topNavigationOptionsRight[0].navigationText[0].navigationTextItems",{}));let j=(0,r.createSelector)([w],n=>i()(n,"configurator[0]",b)),H=(0,r.createSelector)([d],n=>i()(n,"JWT.isLoggedIn")),F=(0,r.createSelector)([d],n=>i()(n,"isNewSAHeader"));(0,r.createSelector)([d],n=>i()(n,"openFormDrawer",!1)),(0,r.createSelector)([d],n=>i()(n,"selectedFormId",""));let U=(0,r.createSelector)([g],n=>{let e=i()(n,"customMessage.customText.loginMessage","").length>0?1:0,t=e+i()(n,"sbaOrgMessage.MessageCenterMessages",[]).length;return t}),W=(0,r.createSelector)([d],n=>i()(n,"searchExpanded",!1)),z=(0,r.createSelector)([d],n=>i()(n,"cologoExists",!1)),Y=(0,r.createSelector)([d],n=>i()(n,"cologoPath","")),K=(0,r.createSelector)([n=>n.accordionState],n=>i()(n,"openSections",b)),$=(0,r.createSelector)([d],n=>i()(n,"setYourStoreSection",!0)),G=(0,r.createSelector)([d],n=>i()(n,"setYourStoreDropdown",!1)),V=(0,r.createSelector)([d],n=>i()(n,"yourStoreSection",!1)),Q=(0,r.createSelector)([d],n=>i()(n,"yourStoreDropdown",!1)),q=(0,r.createSelector)([d],n=>i()(n,"primaryStoreObject",b)),Z=(0,r.createSelector)([d],n=>i()(n,"JWT.sessionIPA.permissionDetail.deprecableRequestFields")),J=(0,r.createSelector)([d],n=>i()(n,"invalidStore",!1)),X=(0,r.createSelector)([d],n=>i()(n,"neighborsDetails",h)),nn=(0,r.createSelector)([d],n=>i()(n,"storeLocatorParentRef",null)),ne=(0,r.createSelector)([d],n=>i()(n,"storeSearchRadius","50mi")),nt=(0,r.createSelector)([d],n=>i()(n,"JWT.enableAutoStoreSelection",!1)),nr=(0,r.createSelector)([d],n=>
1i()(n,"localBusinessDetails",h)),no=(0,r.createSelector)([d],n=>i()(n,"localBusinessloading",!1)),ni=(0,r.createSelector)([d],n=>i()(n,"approvalsData",h)),na=(0,r.createSelector)([d],n=>i()(n,"isApprovalsFetched",!1)),ns=(0,r.createSelector)([w],n=>i()(n,"marketingBar",h)),nl=(0,r.createSelector)([w],n=>s()(i()(n,"tophat.homePageDesktop",[]))?i()(n,"navigationTopHatDesktopHomepage",[]):i()(n,"tophat.homePageDesktop",[])),nc=(0,r.createSelector)([w],n=>s()(i()(n,"tophat.homePageMobile",[]))?i()(n,"navigationTopHatMobileHomepage",[]):i()(n,"tophat.homePageMobile",[])),nu=(0,r.createSelector)([w],n=>s()(i()(n,"tophat.cartDesktop",[]))?i()(n,"navigationTopHatDesktopCart",[]):i()(n,"tophat.cartDesktop",[])),np=(0,r.createSelector)([w],n=>s()(i()(n,"tophat.cartMobile",[]))?i()(n,"navigationTopHatMobileCart",[]):i()(n,"tophat.cartMobile",[])),nd=(0,r.createSelector)([w],n=>s()(i()(n,"tophat.globalDesktop",[]))?i()(n,"navigationTopHatDesktopGlobal",[]):i()(n,"tophat.globalDesktop",[])),nf=(0,r.createSelector)([w],n=>s()(i()(n,"tophat.globalMobile",[]))?i()(n,"navigationTopHatMobileGlobal",[]):i()(n,"tophat.globalMobile",[])),nm=(0,r.createSelector)([w],n=>i()(n,"tophat.NavigationTopHat",h)),ng=(0,r.createSelector)([w],n=>i()(n,"tophat.NavigationTopHatMobile",h)),nh=(0,r.createSelector)([d],n=>i()(n,"closeSearchFlyout",!1)),nb=(0,r.createSelector)([d],n=>i()(n,"searchConfig",b)),nx=(0,r.createSelector)([g],n=>i()(n,"gusSTSModalOpen",!1)),ny=(0,r.createSelector)([d],n=>i()(n,"openLoginDrawer.openDrawer",!1)),nw=(0,r.createSelector)([d],n=>i()(n,"openLoginDrawer",b)),nS=(0,r.createSelector)([d],n=>i()(n,"listsDrawerOptions",b)),nC=(0,r.createSelector)([d],n=>i()(n,"approvalsCount","")),nI=(0,r.createSelector)([d],n=>i()(n,"arsCardData",{})),nv=(0,r.createSelector)([d],n=>i()(n,"isRefreshApprovals",!1)),nT=(0,r.createSelector)([d],n=>i()(n,"isRefreshArsCardData",!1)),n_=(0,r.createSelector)([d],n=>i()(n,"listsCount","")),nO=(0,r.createSelector)([d],n=>i()(n,"isRefreshLists",!1)),nD=(0,r.createSelector)([d],n=>i()(n,"visitorDetails",b)),nE=(0,r.createSelector)([d],n=>i()(n,"headerFlyoutStatus")),nA=(0,r.createSelector)([d],n=>i()(n,"PTDrawerOptions",b)),nL=(0,r.createSelector)([d],n=>i()(n,"openMarketoDrawer",!1)),nM=(0,r.createSelector)([d],n=>i()(n,"pageMarketoData",b)),nk=(0,r.createSelector)([nA],n=>n.openPTDrawer||!1),nR=(0,r.createSelector)([nA],n=>n.backgroundEnabled||!1),nP=(0,r.createSelector)([d],n=>i()(n,"atcDrawerOptions",b)),nN=(0,r.createSelector)([nP],n=>n.openATCDrawer||!1),nB=(0,r.createSelector)([d],n=>i()(n,"arcDrawerOptions.openARCDrawer",!1)),nj=(0,r.createSelector)([d],n=>i()(n,"premiumDrawerOptions",b)),nH=(0,r.createSelector)([d],n=>i()(n,"qoDrawerOptions",b)),nF=(0,r.createSelector)([d],n=>i()(n,"rewardsDrawerOptions",b)),nU=(0,r.createSelector)([d],n=>i()(n,"loyaltyEnrollmentDrawerOptions",b)),nW=(0,r.createSelector)([d],n=>i()(n,"giftCardBalanceCheckDrawerOptions",b)),nz=(0,r.createSelector)([d],n=>i()(n,"openLoyaltyMissingPointsDrawerOptions",b)),nY=(0,r.createSelector)([d],n=>i()(n,"termsAndConditionsDrawerOptions",b)),nK=(0,r.createSelector)([d],n=>i()(n,"openLoyaltyBPCDrawerOptions",b)),n$=(0,r.createSelector)([d],n=>i()(n,"slpOnboardingDrawerOptions",b)),nG=(0,r.createSelector)([d],n=>i()(n,"requiredCookieModalOptions",b)),nV=(0,r.createSelector)([d],n=>i()(n,"loyaltyOffersDrawerOptions",b)),nQ=(0,r.createSelector)([d],n=>i()(n,"loyaltySKUOffersDrawerOptions",b)),nq=(0,r.createSelector)([d],n=>i()(n,"arsDotcomDrawerOptions",b)),nZ=(0,r.createSelector)([d],n=>i()(n,"arsSADrawerOptions",b)),nJ=(0,r.createSelector)([d],n=>i()(n,"warrantyDrawerOptions",b)),nX=(0,r.createSelector)([d],n=>i()(n,"qvdDrawerOptions",b)),n0=(0,r.createSelector)([nX],n=>n.openQVDDrawer||!1),n1=(0,r.createSelector)([d],n=>i()(n,"pageOverlaySpinner","")),n2=(0,r.createSelector)([d],n=>i()(n,"openMenuFlyout.open",!1)),n6=(0,r.createSelector)([d],n=>i()(n,"openMenuFlyout.linkRef",null)),n4=(0,r.createSelector)([d],n=>i()(n,"JWT.sessionIPA.permissionDetail.sessionData.shipToShipZipCodeOverride","")),n5=(0,r.createSelector)([d],n=>i()(n,"JWT.sessionIPA.permissionDetail.sessionData.shipToShippingCityOverride","")),n3=(0,r.createSelector)([d],n=>i()(n,"JWT.sessionIPA.permissionDetail.sessionData.shipToShippingStateOverride","")),n8=(0,r.createSelector)([d],n=>i()(n,"analyticsPayload",h)),n7=(0,r.createSelector)([d],n=>i()(n,"renderedTopHatObject",h)),n9=(0,r.createSelector)(n=>i()(n,"siteVariables.tenant.fullName","StaplesDotCom"),n=>n);(0,r.createSelector)(n=>i()(n,"headerState.recommendationCarousel",b),n=>n);let en=(0,r.createSelector)(n=>i()(n,"headerState.JWT.sessionIPA.permissionDetail.globalPermission",h),n=>n),ee=(0,r.createSelector)(n=>i()(n,"headerState.JWT.sessionIPA.permissionDetail.landingPagesPermission",[]).indexOf("H_AO")>-1,n=>n),et=(0,r.createSelector)(n=>i()(n,"headerState.JWT.sub",""),n=>n),er=(0,r.createSelector)(n=>i()(n,"headerState.JWT.enableTopSortExperience",!1),n=>n);(0,r.createSelector)([d],n=>i()(n,"skuDiscovery.skuDiscovery"));let eo=(0,r.createSelector)([d],n=>{let e=i()(n,"hotspotData.hotspotSkus",[]),t={};return e.map(n=>{t[n.itemId]=n}),t});(0,r.createSelector)([d],n=>i()(n,"recommendationCarousel")),(0,r.createSelector)([d],n=>i()(n,"solrskusData")),(0,r.createSelector)([d],n=>i()(n,"skuDiscovery.showLoader"));let ei=(0,r.createSelector)([d],n=>
1i()(n,"skuDiscovery.loadMore")),ea=(0,r.createSelector)([d],n=>i()(n,"filterData")),es=(0,r.createSelector)([d],n=>i()(n,"filterSku")),el=(0,r.createSelector)([d],n=>i()(n,"selectedFilters"));(0,r.createSelector)([d],n=>i()(n,"frequentlyPurchasedData"));let ec=(0,r.createSelector)([d],n=>i()(n,"criteoMboxes",h));(0,r.createSelector)([d],n=>i()(n,"triggerListPT",!1)),(0,r.createSelector)(n=>i()(n,"headerState.mboxLoader",b),n=>n);let eu=(0,r.createSelector)([d],n=>i()(n,"CISData.custAttrbs.USERCONTACT",b)),ep=(0,r.createSelector)(n=>i()(n,"cartState.res.userProfile.contact",b),n=>n),ed=(0,r.createSelector)([d],n=>i()(n,"fullfillmentCenterNumber","")),ef=(0,r.createSelector)([L,m,n9],(n,e,t)=>({tenant:t,..."StaplesDotCom"===t&&{user:{customerNumber:n.customerNumber,directCustomerNumber:n.dcn,emailHash:n.emailHash,fingerprint:n.fingerprint,requestId:n.requestId,...n.storeNumber&&""!==n.storeNumber&&{userInfo:{locationId:[n.storeNumber]}}},zipcode:n.zipcode||"01760"},..."StaplesAdvantage"===t&&{customerEmailAddress:i()(n,"sessionIPA.permissionDetail.sessionData.userEmail",""),user:{},zipcode:i()(n,"sessionIPA.permissionDetail.deprecableRequestFields.shippingZip","")||n.zipcode||"01760"},channelId:e.channelId,langCd:e.langCd,langId:e.langId,locale:e.hyphenatedLocale,siteId:e.siteId,storeId:e.storeId})),em=(0,r.createSelector)([L,ef],(n,e)=>({dcn:n.dcn,isLoggedIn:n.isLoggedIn,serviceContext:e})),eg=(0,r.createSelector)([L],n=>i()(n,"cidParam",""))},11987:function(n,e,t){!function(){var e={452:function(n){"use strict";n.exports=t(97334)}},r={};function o(n){var t=r[n];if(void 0!==t)return t.exports;var i=r[n]={exports:{}},a=!0;try{e[n](i,i.exports,o),a=!1}finally{a&&delete r[n]}return i.exports}o.ab="//";var i={};!function(){var n,e=(n=o(452))&&"object"==typeof n&&"default"in n?n.default:n,t=/https?|ftp|gopher|file/;function r(n){"string"==typeof n&&(n=b(n));var r,o,i,a,s,l,c,u,p,d=(o=(r=n).auth,i=r.hostname,a=r.protocol||"",s=r.pathname||"",l=r.hash||"",c=r.query||"",u=!1,o=o?encodeURIComponent(o).replace(/%3A/i,":")+"@":"",r.host?u=o+r.host:i&&(u=o+(~i.indexOf(":")?"["+i+"]":i),r.port&&(u+=":"+r.port)),c&&"object"==typeof c&&(c=e.encode(c)),p=r.search||c&&"?"+c||"",a&&":"!==a.substr(-1)&&(a+=":"),r.slashes||(!a||t.test(a))&&!1!==u?(u="//"+(u||""),s&&"/"!==s[0]&&(s="/"+s)):u||(u=""),l&&"#"!==l[0]&&(l="#"+l),p&&"?"!==p[0]&&(p="?"+p),{protocol:a,host:u,pathname:s=s.replace(/[?#]/g,encodeURIComponent),search:p=p.replace("#","%23"),hash:l});return""+d.protocol+d.host+d.pathname+d.search+d.hash}var a="http://",s=a+"w.w",l=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,c=/https?|ftp|gopher|file/;function u(n,e){var t="string"==typeof n?b(n):n;n="object"==typeof n?r(n):n;var o=b(e),i="";t.protocol&&!t.slashes&&(i=t.protocol,n=n.replace(t.protocol,""),i+="/"===e[0]||"/"===n[0]?"/":""),i&&o.protocol&&(i="",o.slashes||(i=o.protocol,e=e.replace(o.protocol,"")));var u=n.match(l);u&&!o.protocol&&(n=n.substr((i=u[1]+(u[2]||"")).length),/^\/\/[^/]/.test(e)&&(i=i.slice(0,-1)));var p=new URL(n,s+"/"),d=new URL(e,p).toString().replace(s,""),f=o.protocol||t.protocol;return f+=t.slashes||o.slashes?"//":"",!i&&f?d=d.replace(a,f):i&&(d=d.replace(a,"")),c.test(d)||~e.indexOf(".")||"/"===n.slice(-1)||"/"===e.slice(-1)||"/"!==d.slice(-1)||(d=d.slice(0,-1)),i&&(d=i+("/"===d[0]?d.substr(1):d)),d}function p(){}p.prototype.parse=b,p.prototype.format=r,p.prototype.resolve=u,p.prototype.resolveObject=u;var d=/^https?|ftp|gopher|file/,f=/^(.*?)([#?].*)/,m=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,g=/^([a-z0-9.+-]*:)?\/\/\/*/i,h=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function b(n,t,o){if(void 0===t&&(t=!1),void 0===o&&(o=!1),n&&"object"==typeof n&&n instanceof p)return n;var i=(n=n.trim()).match(f);n=i?i[1].replace(/\\/g,"/")+i[2]:n.replace(/\\/g,"/"),h.test(n)&&"/"!==n.slice(-1)&&(n+="/");var a=!/(^javascript)/.test(n)&&n.match(m),l=g.test(n),c="";a&&(d.test(a[1])||(c=a[1].toLowerCase(),n=""+a[2]+a[3]),a[2]||(l=!1,d.test(a[1])?(c=a[1],n=""+a[3]):n="//"+a[3]),3!==a[2].length&&1!==a[2].length||(c=a[1],n="/"+a[3]));var u,b=(i?i[1]:n).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),x=b&&b[1],y=new p,w="",S="";try{u=new URL(n)}catch(e){w=e,c||o||!/^\/\//.test(n)||/^\/\/.+[@.]/.test(n)||(S="/",
1n=n.substr(1));try{u=new URL(n,s)}catch(n){return y.protocol=c,y.href=c,y}}y.slashes=l&&!S,y.host="w.w"===u.host?"":u.host,y.hostname="w.w"===u.hostname?"":u.hostname.replace(/(\[|\])/g,""),y.protocol=w?c||null:u.protocol,y.search=u.search.replace(/\\/g,"%5C"),y.hash=u.hash.replace(/\\/g,"%5C");var C=n.split("#");!y.search&&~C[0].indexOf("?")&&(y.search="?"),y.hash||""!==C[1]||(y.hash="#"),y.query=t?e.decode(u.search.substr(1)):y.search.substr(1),y.pathname=S+(a?u.pathname.replace(/['^|`]/g,function(n){return"%"+n.charCodeAt().toString(16).toUpperCase()}).replace(/((?:%[0-9A-F]{2})+)/g,function(n,e){try{return decodeURIComponent(e).split("").map(function(n){var e=n.charCodeAt();return e>256||/^[a-z0-9]$/i.test(n)?n:"%"+e.toString(16).toUpperCase()}).join("")}catch(n){return e}}):u.pathname),"about:"===y.protocol&&"blank"===y.pathname&&(y.protocol="",y.pathname=""),w&&"/"!==n[0]&&(y.pathname=y.pathname.substr(1)),c&&!d.test(c)&&"/"!==n.slice(-1)&&"/"===y.pathname&&(y.pathname=""),y.path=y.pathname+y.search,y.auth=[u.username,u.password].map(decodeURIComponent).filter(Boolean).join(":"),y.port=u.port,x&&!y.host.endsWith(x)&&(y.host+=x,y.port=x.slice(1)),y.href=S?""+y.pathname+y.search+y.hash:r(y);var I=/^(file)/.test(y.href)?["host","hostname"]:[];return Object.keys(y).forEach(function(n){~I.indexOf(n)||(y[n]=y[n]||null)}),y}i.parse=b,i.format=r,i.resolve=u,i.resolveObject=function(n,e){return b(u(n,e))},i.Url=p}(),n.exports=i}()},97334:function(n){!function(){"use strict";var e={815:function(n){n.exports=function(n,t,r,o){t=t||"&",r=r||"=";var i={};if("string"!=typeof n||0===n.length)return i;var a=/\+/g;n=n.split(t);var s=1e3;o&&"number"==typeof o.maxKeys&&(s=o.maxKeys);var l=n.length;s>0&&l>s&&(l=s);for(var c=0;c<l;++c){var u,p,d,f,m=n[c].replace(a,"%20"),g=m.indexOf(r);(g>=0?(u=m.substr(0,g),p=m.substr(g+1)):(u=m,p=""),d=decodeURIComponent(u),f=decodeURIComponent(p),Object.prototype.hasOwnProperty.call(i,d))?e(i[d])?i[d].push(f):i[d]=[i[d],f]:i[d]=f}return i};var e=Array.isArray||function(n){return"[object Array]"===Object.prototype.toString.call(n)}},577:function(n){var e=function(n){switch(typeof n){case"string":return n;case"boolean":return n?"true":"false";case"number":return isFinite(n)?n:"";default:return""}};n.exports=function(n,i,a,s){return(i=i||"&",a=a||"=",null===n&&(n=void 0),"object"==typeof n)?r(o(n),function(o){var s=encodeURIComponent(e(o))+a;return t(n[o])?r(n[o],function(n){return s+encodeURIComponent(e(n))}).join(i):s+encodeURIComponent(e(n[o]))}).join(i):s?encodeURIComponent(e(s))+a+encodeURIComponent(e(n)):""};var t=Array.isArray||function(n){return"[object Array]"===Object.prototype.toString.call(n)};function r(n,e){if(n.map)return n.map(e);for(var t=[],r=0;r<n.length;r++)t.push(e(n[r],r));return t}var o=Object.keys||function(n){var e=[];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&e.push(t);return e}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}},a=!0;try{e[n](i,i.exports,r),a=!1}finally{a&&delete t[n]}return i.exports}r.ab="//";var o={};o.decode=o.parse=r(815),o.encode=o.stringify=r(577),n.exports=o}()},5152:function(n,e,t){n.exports=t(95677)},41664:function(n,e,t){n.exports=t(95569)},37340:function(n,e,t){"use strict";function r(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}t.d(e,{_:function(){return r}})}}]);

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.