1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4872],{213:e=>{e.exports={layout:"section_layout__QJ4xs",menu:"section_menu__WKZdl",account:"section_account__YjCAC",avatarContainer:"section_avatarContainer__1RMsJ",switchButton:"section_switchButton__ul06M",nav:"section_nav__Jjee8",navItem:"section_navItem__yr27R",avatar:"section_avatar__IQLo8"}},802:(e,t,r)=>{"use strict";r.d(t,{A:()=>O});var n=r(5458),o=r(6225),c=r(9749),s=r(6068),i=r(3729),a=r(7101),l=r.n(a),u={EmptyState:c.pp},p=r(1165),d=r(6514);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){(0,n.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function h(e){var t,r,n,a,{title:u,titleIcon:p,children:f,subtitle:h,errorState:O,showLoader:v=!1}=e,{EmptyState:b}=(0,s.cH)(),{errorId:y,fromUrl:m}=(()=>{var e,{query:{errorId:t,fromUrl:r},pathname:n,asPath:c}=(0,o.useRouter)();return{errorId:t,fromUrl:null!=(e=null!=r?r:c)?e:n}})(),g=null!=p&&p.icon?(0,d.jsx)(c.In,{name:null==p?void 0:p.icon,"aria-label":null==p?void 0:p.alt,width:56,height:56,weight:"thin"}):b.props.titleIcon;return(0,d.jsx)(i.A,{className:"".concat(l().section," section-empty-state"),children:(0,d.jsxs)(b.Component,j(j({bkgColor:"light"},b.props),{},{title:null!=u?u:b.props.title,titleIcon:g,children:[!!h&&(0,d.jsx)("h2",{children:h}),!!(null!=O&&null!=(t=O.errorId)&&t.show)&&(0,d.jsx)("p",{children:"".concat(null==O||null==(r=O.errorId)?void 0:r.description," ").concat(y)}),!!(null!=O&&null!=(n=O.fromUrl)&&n.show)&&(0,d.jsx)("p",{children:"".concat(null==O||null==(a=O.fromUrl)?void 0:a.description," ").concat(m)}),v&&(0,d.jsx)(c.aH,{}),f]}))})}h.$componentKey="EmptyState";let O=(0,p.j)("EmptyState",h,u)},924:(e,t,r)=>{"use strict";r.d(t,{A:()=>j});var n=r(6120),o=r(9510),c=r(9749),s=r(6225),i=r(213),a=r.n(i),l=r(9715),u=r(6514),p=e=>{var{items:t}=e,r=(0,s.useRouter)().pathname;return(0,u.jsx)("ul",{className:a().nav,children:t.map(e=>{var{route:t,title:n}=e;return(0,u.jsx)("li",{className:a().navItem,"data-is-selected":r.includes(t),children:(0,u.jsx)(c.N_,{href:t,tabIndex:0,children:n})},t)})})};let d=e=>{var{avatarImageUrl:t,accountName:r,items:n}=e,{isDesktop:o}=(0,l.A)();return(0,u.jsxs)("div",{className:a().menu,children:[o?(0,u.jsxs)("div",{className:a().account,children:[(0,u.jsxs)("div",{className:a().avatarContainer,children:[t?(0,u.jsx)("img",{className:a().avatar,src:t}):(0,u.jsx)("span",{className:a().avatar,children:null==r?void 0:r[0]}),(0,u.jsx)("h2",{children:r})]}),(0,u.jsx)(c.$n,{className:a().switchButton,variant:"secondary",size:"small",children:"Switch"})]}):null,(0,u.jsx)(p,{items:n})]})};var f=[o.Bs];let j=e=>{var{children:t,accountName:r,isRepresentative:o=!0}=e,c=o?n.A:n.A.filter(e=>{var{route:t}=e;return!f.includes(t)});return(0,u.jsxs)("section",{className:a().layout,children:[(0,u.jsx)(d,{accountName:r,items:c}),(0,u.jsx)("div",{"data-fs-account-layout-content":!0,children:t})]})}},3984:(e,t,r)=>{"use strict";r.d(t,{G:()=>l});var n=r(5458),o={section:"EmptyState"},c=r(1165),s=r(802);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){(0,n.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var l=(0,c.a)(a(a(a({},o),o),{},{Section:s.A}))},4408:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>P,default:()=>x});var n=r(5458),o=r(1413),c=r(9749),s=r(924),i=r(1028),a=r(7877),l=r(3984),u=r(8277),p=r(4535),d=r(9731),f=r(5834),j=r(7287),h=r(6641),O=r(3865);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?v(Object(r),!0).forEach(function(t){(0,n.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var y=r(7437),m=r(6514);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(t){(0,n.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var w=_(_(_({},i.A),p.A),u.A),P=!0;let x=function(e){var{globalSections:t,accountName:r,needsRefreshToken:n,fromPage:i}=e,{sections:u,settings:p}=null!=t?t:{sections:[],settings:{}},{shouldShow403:v}=((e,t)=>{var{0:r,1:n}=(0,f.useState)(!1);return(0,f.useEffect)(()=>{var r;(r=(0,d.A)(function*(){if(e){if((0,j.e)())return void n(!0);var r,o=null!=(r=h.eA.read())?r:h.eA.readInitial();try{var c=yield(0,O.s)();if((0,O.d)(c)){var s=String(Math.floor(new Date(null==c?void 0:c.refreshAfter).getTime()/1e3));h.eA.set(b(b({},o),{},{refreshAfter:s}));var i=new URL(t||"/pvt/account",window.location.origin);i.searchParams.set("_refresh",Date.now().toString()),window.location.href=i.toString()}else yield(0,h.HK)(o),n(!0)}catch(e){console.error("Error during refresh token process:",e),yield(0,h.HK)(o),n(!0)}}}),function(){return r.apply(this,arguments)})()},[e,t]),{shouldShow403:r}})(n,i);return n&&!v?(console.info("Refreshing authentication..."),(0,m.jsx)(m.Fragment,{})):(0,m.jsx)(y.Ay,{context:{globalSettings:p},children:(0,m.jsxs)(a.Ay,{globalSections:u,components:w,children:[(0,m.jsx)(o.bV,{noindex:!0,nofollow:!0}),(0,m.jsx)(s.A,{accountName:r,children:(0,m.jsx)(l.G,{title:"Unauthorized Access",titleIcon:{icon:"ShoppingCart",alt:"Shopping Cart"},subtitle:"You don't have permission to access this page.",showLoader:!1,children:(0,m.jsx)(c.z9,{variant:"secondary",href:"/pvt/account",children:"Back to Account"})})})]})})}},7101:e=>{e.exports={section:"section_section__KG_b8",load:"section_load__DKeod"}},9582:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/pvt/account/403",function(){return r(4408)}])}},e=>{e.O(0,[959,8963,636,6593,8792],()=>e(e.s=9582)),_N_E=e.O()}]);
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.