!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=(new e.Error).stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="d3d3ad89-1043-4956-809b-3aa5c2cf6836",e._sentryDebugIdIdentifier="sentry-dbid-d3d3ad89-1043-4956-809b-3aa5c2cf6836")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6713],{53873:function(e,i,n){Promise.resolve().then(n.bind(n,61982)),Promise.resolve().then(n.bind(n,26e3)),Promise.resolve().then(n.bind(n,24513)),Promise.resolve().then(n.bind(n,97226)),Promise.resolve().then(n.bind(n,24313)),Promise.resolve().then(n.t.bind(n,65878,23)),Promise.resolve().then(n.bind(n,64739)),Promise.resolve().then(n.bind(n,96261)),Promise.resolve().then(n.bind(n,86546)),Promise.resolve().then(n.bind(n,68338)),Promise.resolve().then(n.bind(n,15462)),Promise.resolve().then(n.bind(n,45352)),Promise.resolve().then(n.bind(n,74229)),Promise.resolve().then(n.bind(n,10175)),Promise.resolve().then(n.bind(n,72277)),Promise.resolve().then(n.bind(n,42615)),Promise.resolve().then(n.bind(n,77973)),Promise.resolve().then(n.bind(n,4257)),Promise.resolve().then(n.bind(n,36095)),Promise.resolve().then(n.bind(n,47684)),Promise.resolve().then(n.bind(n,34421)),Promise.resolve().then(n.bind(n,3955)),Promise.resolve().then(n.bind(n,31573)),Promise.resolve().then(n.bind(n,60593)),Promise.resolve().then(n.bind(n,95232)),Promise.resolve().then(n.bind(n,11483)),Promise.resolve().then(n.bind(n,76230)),Promise.resolve().then(n.bind(n,65008))},61982:function(e,i,n){"use strict";var s=n(57437),t=n(25578),o=n(90111),r=n(84939),l=n(65432);i.default=e=>{let{phrases:i,dictionary:n}=e;return(0,o.j)({phrases:i,countries:n.countries}),(0,s.jsx)(r._,{phrases:i,pageTitlePhraseId:t.B.PRIVACY_POLICY_TITLE,className:"page-privacy",children:(0,s.jsx)(l.l,{headingPhraseId:t.B.PRIVACY_POLICY_TITLE,contentPhraseId:t.B.PRIVACY_POLICY_CONTENT})})}},84939:function(e,i,n){"use strict";n.d(i,{_:function(){return p}});var s,t,o=n(57437),r=n(19978),l=n(78693),d=n(80350),a=n(31691),c=n(59832),C=n(73053),h=n(15735),u=n(35751);let m=(0,o.jsx)("svg",{"data-testid":"warningIcon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19ZM12.6 12V9.99999C12.6 9.66862 12.3314 9.39999 12 9.39999C11.6687 9.39999 11.4 9.66862 11.4 9.99999V12C11.4 12.3314 11.6687 12.6 12 12.6C12.3314 12.6 12.6 12.3314 12.6 12ZM11.9965 14.6C12.1655 14.6 12.3084 14.5428 12.425 14.4285C12.5417 14.3142 12.6 14.1725 12.6 14.0035C12.6 13.8345 12.5429 13.6917 12.4285 13.575C12.3142 13.4583 12.1725 13.4 12.0035 13.4C11.8345 13.4 11.6917 13.4572 11.575 13.5715C11.4584 13.6858 11.4 13.8275 11.4 13.9965C11.4 14.1655 11.4572 14.3083 11.5715 14.425C11.6858 14.5417 11.8275 14.6 11.9965 14.6Z",fill:"#ED6C02"})}),v=(0,o.jsx)("svg",{"data-testid":"infoIcon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19ZM11.9965 9.40001C12.1655 9.40001 12.3084 9.45717 12.425 9.57149C12.5417 9.68582 12.6 9.82749 12.6 9.99649C12.6 10.1655 12.5429 10.3083 12.4285 10.425C12.3142 10.5417 12.1725 10.6 12.0035 10.6C11.8345 10.6 11.6917 10.5428 11.575 10.4285C11.4584 10.3142 11.4 10.1725 11.4 10.0035C11.4 9.83451 11.4572 9.69167 11.5715 9.57501C11.6858 9.45834 11.8275 9.40001 11.9965 9.40001ZM12.6 12V14C12.6 14.3314 12.3314 14.6 12 14.6C11.6687 14.6 11.4 14.3314 11.4 14V12C11.4 11.6686 11.6687 11.4 12 11.4C12.3314 11.4 12.6 11.6686 12.6 12Z",fill:"#0288D1"})}),N=(0,o.jsx)("svg",{"data-testid":"errorIcon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M6.56624 17C5.78895 17 5.30883 16.152 5.70875 15.4855L11.1426 6.42915C11.531 5.78181 12.4691 5.78182 12.8575 6.42915L18.2914 15.4855C18.6913 16.152 18.2112 17 17.4339 17H6.56624ZM11.9965 15C12.1655 15 12.3084 14.9428 12.425 14.8285C12.5417 14.7142 12.6 14.5725 12.6 14.4035C12.6 14.2345 12.5429 14.0917 12.4286 13.975C12.3142 13.8583 12.1726 13.8 12.0036 13.8C11.8346 13.8 11.6917 13.8572 11.575 13.9715C11.4584 14.0858 11.4 14.2275 11.4 14.3965C11.4 14.5655 11.4572 14.7083 11.5715 14.825C11.6859 14.9417 11.8275 15 11.9965 15ZM11.4 12.4C11.4 12.7314 11.6687 13 12 13C12.3314 13 12.6 12.7314 12.6 12.4V10.4C12.6 10.0686 12.3314 9.8 12 9.8C11.6687 9.8 11.4 10.0686 11.4 10.4V12.4Z",fill:"#D32F2F"})}),I=(0,o.jsx)("svg",{"data-testid":"successIcon",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19ZM14.1869 10.4749L11.2236 13.2271L10.2694 12.3408C10.1773 12.2553 10.0601 12.2125 9.9178 12.2125C9.77549 12.2125 9.6583 12.2553 9.56623 12.3408C9.47415 12.4263 9.42811 12.5352 9.42811 12.6673C9.42811 12.7995 9.47415 12.9084 9.56623 12.9939L10.8721 14.2067C10.9725 14.3 11.0897 14.3466 11.2236 14.3466C11.3576 14.3466 11.4747 14.3 11.5752 14.2067L14.89 11.128C14.9821 11.0425 15.0281 10.9336 15.0281 10.8015C15.0281 10.6693 14.9821 10.5604 14.89 10.4749C14.7979 10.3894 14.6807 10.3466 14.5384 10.3466C14.3961 10.3466 14.2789 10.3894 14.1869 10.4749Z",fill:"#2E7D32"})}),T=e=>(0,o.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-testid":"snoozeIcon",children:[(0,o.jsx)("path",{d:"M12.975 5.59686C12.6599 5.53334 12.3338 5.5 12 5.5C9.29864 5.5 7.10879 7.68261 7.10879 10.375C7.10872 11.0717 7.06822 11.7265 6.6606 12.3269C6.3494 12.7797 5.92935 13.2434 5.8444 13.8002C5.70618 14.7063 6.32415 15.3353 7.08079 15.6487C9.98158 16.8504 14.0183 16.8504 16.9191 15.6487C17.6758 15.3353 18.2937 14.7063 18.1555 13.8002C18.0906 13.3747 17.8299 13.0035 17.5717 12.65",stroke:e,strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M14.6102 6.80005H16.9973C17.4995 6.80005 17.7506 6.80005 17.8175 6.95612C17.8844 7.1122 17.7135 7.29942 17.3718 7.67388L15.1503 9.82622C14.8086 10.2007 14.5433 10.3879 14.6102 10.544C14.6771 10.7001 15.0226 10.7001 15.5248 10.7001H17.8498",stroke:e,strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M9.3999 16.55C9.69792 17.6714 10.749 18.5001 11.9999 18.5001C13.2508 18.5001 14.3019 17.6714 14.5999 16.55",stroke:e,strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]}),f=e=>(0,o.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{d:"M17.8334 17.8333L6.16675 6.16663",stroke:e,strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M17.8334 6.16663L6.16675 17.8333",stroke:e,strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]});var _=n(60679),x=n(24298);(s=t||(t={})).INFO="info",s.WARNING="warning",s.DANGER="danger",s.SUCCESS="success";var g=n(2265),O=n(65008),P=n(7093);let b=e=>{let{notification:i,removeSnoozedNotification:n,removeDismissedNotification:s}=e,{t:r}=(0,_.$$)(),l=(0,a.Z)(),d=()=>{var e;let n=(0,x.Z)(new Date,null!==(e=i.snoozeForMin)&&void 0!==e?e:10);document.cookie="snoozed_".concat(i.assignmentId,"=").concat(i.assignmentId,"; expires=").concat(n.toUTCString())},[b,w]=(0,g.useState)(!1),p=(()=>{let e={severity:"success",icon:I,color:l.palette.success.main,colorClassName:""};switch(i.style){case t.DANGER:e.severity="error",e.icon=N,e.color=l.palette.error.main,e.colorClassName="notificationAlertError";break;case t.INFO:e.severity="info",e.icon=v,e.color=l.palette.info.main,e.colorClassName="notificationAlertInfo";break;case t.WARNING:e.severity="warning",e.icon=m,e.color=l.palette.warning.main,e.colorClassName="notificationAlertWarning"}return e})(),E=async()=>{w(!0),await O.accountService.dismissNotification(i.assignmentId),s()},L=i.isSnoozable||i.isDismissible?(0,o.jsxs)(o.Fragment,{children:[i.isSnoozable&&(0,o.jsx)(u.u,{title:r(P.NN.SNOOZE),placement:i.isDismissible?"left":"right",enterTouchDelay:0,children:(0,o.jsx)(c.Z,{onClick:()=>{d(),n()},color:p.severity,size:"small",children:T(p.color)})}),i.isDismissible&&(0,o.jsx)(c.Z,{onClick:E,color:p.severity,size:"small",disabled:b,children:b?(0,o.jsx)(C.Z,{color:"inherit",sx:{padding:"4px"},size:"24px"}):(0,o.jsx)(u.u,{title:r(P.NN.CLOSE),placement:"right",enterTouchDelay:0,children:f(p.color)})})]}):null;return(0,o.jsx)(h.Z,{variant:"outlined",icon:p.icon,className:"notificationAlert ".concat(p.colorClassName),severity:p.severity,action:L,children:r(i.phraseId)})},w=()=>{let{isAllowedToRequestAuthorizedData:e}=(0,_.av)(),{notifications:i,updateSummary:n}=(0,d.c7)(e=>({notifications:e.notifications,updateSummary:e.updateSummary})),[s,t]=(0,g.useState)(),a=(0,g.useCallback)(()=>{var e;let n=((null===(e=document)||void 0===e?void 0:e.cookie)?document.cookie.split("; "):[]).filter(e=>e.includes("snoozed_")).map(e=>{let i=e.indexOf("=");if(-1!==i)return Number(e.substring(i+1))}).filter(e=>!!e);return i?i.filter(e=>!n.includes(e.assignmentId)):[]},[i]);(0,g.useEffect)(()=>{e&&t(a())},[i,e,a]);let c=()=>{t(a())},C=async()=>{n(await O.accountService.summary()),c()};return e&&s?(0,o.jsx)(r.Z,{sx:{my:4},children:s.map(e=>(0,o.jsx)(l.Z,{sx:{my:2},children:(0,o.jsx)(b,{notification:e,removeSnoozedNotification:c,removeDismissedNotification:C})},e.assignmentId))}):null},p=e=>{let{children:i,className:n}=e;return(0,o.jsxs)("main",{className:n,children:[(0,o.jsx)(w,{}),i]})}},65432:function(e,i,n){"use strict";n.d(i,{l:function(){return d}});var s=n(57437),t=n(19978),o=n(46387),r=n(60679),l=n(18310);let d=e=>{let{headingPhraseId:i,contentPhraseId:n,replaceTextVars:d,prependContent:a}=e,{t:c}=(0,r.$$)();return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(t.Z,{sx:{my:4},className:"staticPage",children:[i&&(0,s.jsx)(o.Z,{variant:"h1",sx:{mb:4},children:c(i)}),a,n&&(0,l.hF)(c(n,{replaceTextVars:d}))]})})}},25578:function(e,i,n){"use strict";n.d(i,{B:function(){return s}});let s={CALIFORNIA_PRIVACY_TITLE:16654,CALIFORNIA_PRIVACY_CONTENT:16655,PRIVACY_POLICY_TITLE:16658,PRIVACY_POLICY_CONTENT:16664,TERMS_AND_CONDITIONS_TITLE:16666,TERMS_AND_CONDITIONS_CONTENT:16667,COMPENSATION_PROVISIONS_TITLE:16668,COMPENSATION_PROVISIONS_CONTENT:16669,COOKIE_POLICY_TITLE:16670,COOKIE_POLICY_CONTENT:16671,ABOUT_US_TITLE:16672,ABOUT_US_CONTENT:16673,CONTACT_US_TITLE:16717,CONTACT_US_CONTENT:16718,REQUEST_SUPPORT_BUTTON:1880,YOTI_TITLE:16809,YOTI_CONTENT:16810,SCREENING_TITLE:3207,SCREENING_CONTENT:16895,TAX_FAQ_TITLE:17692,TAX_FAQ_CONTENT:17693}}},function(e){e.O(0,[8915,5068,3545,7714,4313,5735,1284,679,991,2971,8854,1744],function(){return e(e.s=53873)}),_N_E=e.O()}]);