1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1003],{21690:function(t,e,r){"use strict";r.d(e,{Z:function(){return MyAccountLayout_MyAccountLayout}});var n=r(70302),o=r(75559),c=r(7655),a=r(16268),i=r(86677),s=r(89842),u=r.n(s),l=r(21809),p=r(17182),Nav=t=>{var{items:e}=t,r=(0,i.useRouter)().pathname;return(0,p.tZ)("ul",{className:u().nav,children:e.map(t=>{var{route:e,title:n}=t;return(0,p.tZ)("li",{className:u().navItem,"data-is-selected":r.includes(e),children:(0,p.tZ)(c.Z,{href:e,tabIndex:0,children:n})},e)})})},MyAccountMenu_MyAccountMenu=t=>{var{avatarImageUrl:e,accountName:r,items:n}=t,{isDesktop:o}=(0,l.Z)();return(0,p.BX)("div",{className:u().menu,children:[o?(0,p.BX)("div",{className:u().account,children:[(0,p.BX)("div",{className:u().avatarContainer,children:[e?(0,p.tZ)("img",{className:u().avatar,src:e}):(0,p.tZ)("span",{className:u().avatar,children:null==r?void 0:r[0]}),(0,p.tZ)("h2",{children:r})]}),(0,p.tZ)(a.Z,{className:u().switchButton,variant:"secondary",size:"small",children:"Switch"})]}):null,(0,p.tZ)(Nav,{items:n})]})},d=[o.d3],MyAccountLayout_MyAccountLayout=t=>{var{children:e,accountName:r,isRepresentative:o=!0}=t,c=o?n.Z:n.Z.filter(t=>{var{route:e}=t;return!d.includes(e)});return(0,p.BX)("section",{className:u().layout,children:[(0,p.tZ)(MyAccountMenu_MyAccountMenu,{accountName:r,items:c}),(0,p.tZ)("div",{"data-fs-account-layout-content":!0,children:e})]})}},94648:function(t,e,r){"use strict";r.d(e,{Z:function(){return y}});var n=r(90849),o=r(86677),c=r(29935),a=r(21179),i=r(92659),s=r(42354),u=r(77945),l=r.n(u),p={EmptyState:r(83510).Z},d=r(66548),f=r(17182);function ownKeys(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(r),!0).forEach(function(e){(0,n.Z)(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var useErrorState=()=>{var t,{query:{errorId:e,fromUrl:r},pathname:n,asPath:c}=(0,o.useRouter)();return{errorId:e,fromUrl:null!==(t=null!=r?r:c)&&void 0!==t?t:n}};function EmptyState_EmptyState(t){var e,r,n,o,{title:u,titleIcon:p,children:d,subtitle:y,errorState:_,showLoader:b=!1}=t,{EmptyState:v}=(0,i.r3)(),{errorId:h,fromUrl:O}=useErrorState(),j=null!=p&&p.icon?(0,f.tZ)(c.Z,{name:null==p?void 0:p.icon,"aria-label":null==p?void 0:p.alt,width:56,height:56,weight:"thin"}):v.props.titleIcon;return(0,f.tZ)(s.Z,{className:"".concat(l().section," section-empty-state"),children:(0,f.BX)(v.Component,_objectSpread(_objectSpread({bkgColor:"light"},v.props),{},{title:null!=u?u:v.props.title,titleIcon:j,children:[!!y&&(0,f.tZ)("h2",{children:y}),!!(null!=_&&null!==(e=_.errorId)&&void 0!==e&&e.show)&&(0,f.tZ)("p",{children:"".concat(null==_?void 0:null===(r=_.errorId)||void 0===r?void 0:r.description," ").concat(h)}),!!(null!=_&&null!==(n=_.fromUrl)&&void 0!==n&&n.show)&&(0,f.tZ)("p",{children:"".concat(null==_?void 0:null===(o=_.fromUrl)||void 0===o?void 0:o.description," ").concat(O)}),b&&(0,f.tZ)(a.Z,{}),d]}))})}EmptyState_EmptyState.$componentKey="EmptyState";var y=(0,d.B)("EmptyState",EmptyState_EmptyState,p)},79582:function(t,e,r){"use strict";r.d(e,{C:function(){return i}});var n=r(90849),o={section:"EmptyState"},c=r(66548),a=r(94648);function ownKeys(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(r),!0).forEach(function(e){(0,n.Z)(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEac
1h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var i=(0,c.v)(_objectSpread(_objectSpread(_objectSpread({},o),o),{},{Section:a.Z}))},28473:function(t,e,r){"use strict";r.r(e),r.d(e,{__N_SSP:function(){return j},default:function(){return _403}});var n=r(90849),o=r(17486),c=r(15542),a=r(21690),i=r(1152),s=r(59555),u=r(79582),l=r(81383),p=r(95828),d=r(55732),f=r(50581),y=r(98637),_=r(90194),b=r(63411);function ownKeys(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(r),!0).forEach(function(e){(0,n.Z)(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var useRefreshToken=(t,e)=>{var{0:r,1:n}=(0,f.useState)(!1);return(0,f.useEffect)(()=>{var r;(r=(0,d.Z)(function*(){if(t){if((0,y.Z)()){n(!0);return}var r,o=null!==(r=_.Qf.read())&&void 0!==r?r:_.Qf.readInitial();try{var c=yield(0,b.z)();if((0,b.N)(c)){var a=String(Math.floor(new Date(null==c?void 0:c.refreshAfter).getTime()/1e3));_.Qf.set(_objectSpread(_objectSpread({},o),{},{refreshAfter:a}));var i=e||"/pvt/account",s=new URL(i,window.location.origin);s.searchParams.set("_refresh",Date.now().toString()),window.location.href=s.toString()}else yield(0,_.TP)(o),n(!0)}catch(t){console.error("Error during refresh token process:",t),yield(0,_.TP)(o),n(!0)}}}),function(){return r.apply(this,arguments)})()},[t,e]),{shouldShow403:r}},v=r(26884),h=r(17182);function _403_ownKeys(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function _403_objectSpread(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?_403_ownKeys(Object(r),!0).forEach(function(e){(0,n.Z)(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_403_ownKeys(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var O=_403_objectSpread(_403_objectSpread(_403_objectSpread({},i.Z),p.Z),l.Z),j=!0,_403=function(t){var{globalSections:e,accountName:r,needsRefreshToken:n,fromPage:i}=t,{sections:l,settings:p}=null!=e?e:{sections:[],settings:{}},{shouldShow403:d}=useRefreshToken(n,i);return n&&!d?(console.info("Refreshing authentication..."),(0,h.tZ)(h.HY,{})):(0,h.tZ)(v.ZP,{context:{globalSettings:p},children:(0,h.BX)(s.ZP,{globalSections:l,components:O,children:[(0,h.tZ)(o.PB,{noindex:!0,nofollow:!0}),(0,h.tZ)(a.Z,{accountName:r,children:(0,h.tZ)(u.C,{title:"Unauthorized Access",titleIcon:{icon:"ShoppingCart",alt:"Shopping Cart"},subtitle:"You don't have permission to access this page.",showLoader:!1,children:(0,h.tZ)(c.Z,{variant:"secondary",href:"/pvt/account",children:"Back to Account"})})})]})})}},429:function(t,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pvt/account/403",function(){return r(28473)}])},89842:function(t){t.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"}},77945:function(t){t.exports={section:"section_section__KG_b8",load:"section_load__DKeod"}}},function(t){t.O(0,[8033,8639,6407,2888,179],function(){return t(t.s=429)}),_N_E=t.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.