1"use strict";(globalThis.webpackChunkomc_ui_2_0||=[]).push([[3739],{83739(e,a,s){s.r(a),s.d(a,{default:()=>j});var n=s(9950),r=s(14491);const t=r.Ay.div` 2 margin-top: 36px; 3 display: flex; 4 justify-content: center; 5 min-height: 500px; 6 width: 100%; 7`,l=r.Ay.div` 8 background-color: var(--white-color); 9 padding: 20px; 10 max-width: 700px; 11 height: fit-content; 12 box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); 13 .ca-contact { 14 margin-top: 10px; 15 } 16`,i=r.Ay.button` 17 display: block; 18 padding: 15px 0px 0px 0px; 19 font-weight: bold; 20 color: var(--primary-color-blue); 21`;var c=s(42087),o=s(92526),d=s(48661),x=s(87946),h=s.n(x),m=s(71316),p=s(44414);const g=e=>{let{message:a}=e;const s=(0,c.GV)(o.eS).toLocaleLowerCase(),r=(0,c.GV)(o.vY),x=(0,c.GV)(o.$J),[g]=(0,d.B)(),{logout:j}=(0,c.z4)(),I=(0,n.useMemo)(()=>(a||"").toLowerCase()===m.DS.toLowerCase(),[a]);return(0,p.jsx)(t,{"data-testid":"error-wrapper",children:(0,p.jsxs)(l,{children:[I?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("h1",{children:g("general:userInactive","User is Inactive")}),(0,p.jsxs)("span",{className:"body-text",children:[g("general:yourUsernameIsInactiveOrInvalid","Your username is inactive or invalid."),"\xa0"]}),"canada"===s?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)("span",{className:"body-text",children:[g("general:pleaseCallTheOnlineMemberCenterHelpdeskAt","Please call the Helpdesk at"),":"," "]}),[...x].reverse().map((e,a)=>{let{EMAIL:s,PHONE:n,DIVISION_INFO_LOCIZE_KEY:r,DIVISION_INFO:t}=e;return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("div",{className:"body-text ca-contact",children:[(0,p.jsxs)("div",{children:[g("general:forClientsIn")," ",g(r,t)]}),(0,p.jsxs)("div",{children:[g("general:email","Email"),":"," ",(0,p.jsx)("a",{className:"body-text",href:`mailto:${s}`,children:s})]}),(0,p.jsxs)("div",{children:[g("general:phone","Phone"),": ",(0,p.jsx)("span",{children:n})]})]},`contact-${a}`)})})]}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("span",{className:"body-text",children:g("general:inActiveSystemErrorHelpContactTeamText",{phone:h()(r,"0.PHONE","1-888-776-8598")})})," ",(0,p.jsx)("a",{className:"body-text email",href:`mailto:${h()(r,"0.EMAIL","[email protected]")}`,children:h()(r,"0.EMAIL","[email protected]")}),"."]})]}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("h1",{children:g("general:systemErrorText","System Error")}),(0,p.jsx)("span",{className:"body-text",children:g("general:systemErrorHelpText","An unexpected error has occurred in the system. Please try again.")})," ","canada"===s?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("span",{className:"body-text","data-testid":"canada-error",children:g("general:systemErrorHelpContactTeamTextCA")}),[...x].reverse().map((e,a)=>{let{EMAIL:s,PHONE:n,DIVISION_INFO_LOCIZE_KEY:r,DIVISION_INFO:t}=e;return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("div",{className:"body-text ca-contact",children:[(0,p.jsxs)("div",{children:[g("general:forClientsIn")," ",g(r,t)]}),(0,p.jsxs)("div",{children:[g("general:email","Email"),":"," ",(0,p.jsx)("a",{className:"body-text",href:`mailto:${s}`,children:s})]}),(0,p.jsxs)("div",{children:[g("general:phone","Phone"),": ",(0,p.jsx)("span",{children:n})]})]},`contact-${a}`)})})]}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("span",{className:"body-text",children:g("general:systemErrorHelpContactTeamText",{phone:h()(r,"0.PHONE","1-888-776-8598")})})," ",(0,p.jsx)("a",{className:"body-text email",href:`mailto:${h()(r,"0.EMAIL","[email protected]")}`,children:h()(r,"0.EMAIL","[email protected]")}),"."]})]}),(0,p.jsx)(i,{onClick:()=>{j()},type:"button",className:"btn btn-link body-text","data-testid":"login-btn",children:g("general:loginPageText","Login page")})]})})},j=(0,n.memo)(g)}}]);
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.