"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4209],{23359:function(r,n,o){o.d(n,{Z:function(){return rf}});var t=o(24246),l=o(27378),e=o(53431),i=o(54385),a=o(87343),d=o(71609),u=o(47610),c=o(18399),v=o(54783),s=o(13950),h=o(3793),p=o(94389),f=o(38545),C=o(66273),m=o(50851),M=o(28228),g=o(19522),E=o(15323),N=o(9177),b=o(12671),q=o(82480),_=o(36791),G=o(2938),x=o(78011);function y(){let r=(0,m._)([""]);return y=function(){return r},r}function P(){let r=(0,m._)(["\n  "," {\n    border-radius: ",";\n  }\n  "," {\n    background: none;\n    border: none;\n    width: 100%;\n    padding: 40px 40px 0;\n    justify-content: center;\n\n    "," {\n      padding: 10px 40px;\n    }\n  }\n  "," {\n    color: ",";\n    font-family: ",";\n    font-size: ",";\n    font-weight: ",";\n    padding: 22px 0;\n\n    "," {\n      display: none;\n    }\n  }\n  "," {\n    position: absolute;\n    top: 47px;\n    ",": 40px;\n    padding: 0;\n    background-color: ",';\n    border-radius: 50%;\n    width: 32px;\n    height: 32px;\n    box-shadow: 0px 1px 3px rgb(0 0 0 / 8%);\n\n    &:hover {\n      filter: brightness(99%);\n    }\n\n    &:before {\n      font-family: "','";\n      content: "','";\n      color: ',";\n      font-size: 0.6rem;\n    }\n\n    "," {\n      ",": 61px;\n    }\n\n    "," {\n      top: 10px;\n      ",": 15px;\n      z-index: 1;\n    }\n  }\n"]);return P=function(){return r},r}function w(){let r=(0,m._)(["\n  margin: 16px 100px;\n  padding-bottom: 35px;\n\n  "," {\n    padding: 0;\n    text-align: center;\n  }\n"]);return w=function(){return r},r}function S(){let r=(0,m._)(["\n  margin: 0 130px;\n"]);return S=function(){return r},r}function T(){let r=(0,m._)(["\n  color: ",";\n  font-family: ",";\n  font-size: ",";\n  font-weight: ",";\n  margin: 20px 0 0;\n  display: none;\n  text-align: center;\n\n  "," {\n    display: block;\n  }\n"]);return T=function(){return r},r}function L(){let r=(0,m._)(["\n  padding-top: 24px;\n  text-align: center;\n  color: ",";\n  font-family: ",";\n  font-size: ",";\n  font-weight: ",";\n\n  "," {\n    margin: ",";\n    padding: ",";\n  }\n"]);return L=function(){return r},r}function R(){let r=(0,m._)(["\n  text-transform: uppercase;\n  margin-top: 16px;\n  width: 100%;\n\n  "," {\n    margin: ",";\n    width: auto;\n  }\n"]);return R=function(){return r},r}function z(){let r=(0,m._)(["\n  margin-top: 16px;\n  text-align: center;\n  color: ",";\n  font-family: ",";\n  font-size: ",";\n  font-weight: ",";\n  padding-top: 24px;\n\n  "," {\n    margin: ",";\n  }\n"]);return z=function(){return r},r}function H(){let r=(0,m._)(["\n          border-radius: ",";\n\n          padding: ",";\n        "]);return H=function(){return r},r}function j(){let r=(0,m._)(["\n          border-radius: ",";\n        "]);return j=function(){return r},r}function A(){let r=(0,m._)(["\n  padding: 0;\n  margin-top: 16px;\n\n  "," {\n    margin: ",";\n  }\n\n  "," {\n    margin-bottom: 10px;\n    "," {\n      margin: ",";\n    }\n    .react-select__control {\n      border-radius: ",";\n      border-color: ",";\n      padding: 5px;\n    }\n    .react-select__single-value {\n      color: ",";\n      font-family: ",";\n      font-size: ",";\n      font-weight: ",";\n    }\n    .react-select__indicator {\n      color: ",";\n    }\n  }\n\n  "," {\n    "," {\n      margin: ",";\n    }\n    a {\n      color: ",";\n      font-family: ",";\n      font-size: ",";\n      font-weight: ",";\n      border-radius: ",";\n      border-color: ",";\n      padding: ",";\n      ","\n    }\n    small {\n      background-color: ",";\n      color: ",";\n      font-family: ",";\n      font-size: ",";\n      font-weight: ",";\n      border-radius: ",";\n      ","\n      border-color: ",";\n      p {\n        font-size: ",";\n      }\n    }\n  }\n"]);return A=function(){return r},r}function F(){let r=(0,m._)(["\n        margin: ",";\n      "]);return F=function(){return r},r}function I(){let r=(0,m._)(["\n  display: flex;\n  margin-top: 13px;\n\n  "," {\n    margin: ",";\n    ","\n  }\n"]);return I=function(){return r},r}function Z(){let r=(0,m._)(["\n      margin: ",";\n    "]);return Z=function(){return r},r}function Q(){let r=(0,m._)(["\n        margin: ",";\n      "]);return Q=function(){return r},r}function k(){let r=(0,m._)(["\n  flex-basis: 25%;\n  text-align: start;\n  margin: ",";\n  ","\n  color: ",";\n  font-family: ",";\n  font-size: ",";\n  font-weight: ",";\n  line-height: ",";\n\n  "," {\n    margin: ",";\n    ","\n  }\n"]);return k=function(){return r},r}function D(){let r=(0,m._)(["\n      margin: ",";\n    "]);return D=function(){return r},r}function W(){let r=(0,m._)(["\n        margin: ",";\n      "]);return W=function(){return r},r}function O(){let r=(0,m._)(["\n  flex-basis: 25%;\n  text-align: start;\n  margin: ",";\n  ","\n  color: ",";\n  font-family: ",";\n  font-size: ",";\n  font-weight: ",";\n  line-height: ",";\n  "," {\n    margin: ",";\n\n    ","\n  }\n"]);return O=function(){return r},r}function U(){let r=(0,m._)(["\n        margin: ",";\n      "]);return U=function(){return r},r}function V(){let r=(0,m._)(["\n  border: ",";\n  border-radius: ",";\n  padding: 16px;\n  display: flex;\n  justify-content: space-between;\n  flex-grow: 1;\n  align-items: center;\n  color: ",";\n  font-family: ",";\n  font-size: ",";\n  font-weight: ",";\n  "," {\n    margin: ",";\n\n    ","\n  }\n"]);return V=function(){return r},r}function Y(){let r=(0,m._)(["\n        margin: ",";\n      "]);return Y=function(){return r},r}function B(){let r=(0,m._)(["\n  "," {\n    ","\n  }\n"]);return B=function(){return r},r}function J(){let r=(0,m._)([""]);return J=function(){return r},r}function K(){let r=(0,m._)(["\n  color: ",";\n  font-size: ",";\n"]);return K=function(){return r},r}let X=M.ZP.div.withConfig({displayName:"GraphqlErrorHandler.styled__Container",componentId:"lhg__sc-47764659-0"})(y()),$=(0,M.ZP)(G.s).withConfig({displayName:"GraphqlErrorHandler.styled__NotificationModal",componentId:"lhg__sc-47764659-1"})(P(),b.V,r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.Content.borderRadius},x.h4,r=>{let{theme:n}=r;return n.mediaQueries.mobile},x.Dx,r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.Title.fontColor},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.Title.fontFamily},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.Title.fontSize},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.Title.fontWeight},r=>{let{theme:n}=r;return n.mediaQueries.mobile},x.PZ,r=>{let{theme:n}=r;return n.isRtl?"left":"right"},r=>{let{theme:n}=r;return n.C10},r=>{let{theme:n}=r;return n.fontIcons},r=>{let{theme:n}=r;return n.Icons.Close},r=>{let{theme:n}=r;return n.C1},r=>{let{theme:n}=r;return n.mediaQueries.tablet},r=>{let{theme:n}=r;return n.isRtl?"left":"right"},r=>{let{theme:n}=r;return n.mediaQueries.mobile},r=>{let{theme:n}=r;return n.isRtl?"left":"right"}),rr=M.ZP.div.withConfig({displayName:"GraphqlErrorHandler.styled__ErrorContainer",componentId:"lhg__sc-47764659-2"})(w(),r=>{let{theme:n}=r;return n.mediaQueries.mobile}),rn=(0,M.ZP)(N.E).withConfig({displayName:"GraphqlErrorHandler.styled__Image",componentId:"lhg__sc-47764659-3"})(S()),ro=M.ZP.h1.withConfig({displayName:"GraphqlErrorHandler.styled__TitleMobile",componentId:"lhg__sc-47764659-4"})(T(),r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.Title.fontColor},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.Title.fontFamily},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.Title.fontSize},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.Title.fontWeight},r=>{let{theme:n}=r;return n.mediaQueries.mobile}),rt=M.ZP.div.withConfig({displayName:"GraphqlErrorHandler.styled__ErrorHandler",componentId:"lhg__sc-47764659-5"})(L(),r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ErrorHandler.fontColor},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ErrorHandler.fontFamily},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ErrorHandler.fontSize},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ErrorHandler.fontWeight},r=>{let{theme:n}=r;return n.mediaQueries.mobile},r=>{var n;let{theme:o}=r;return"0 ".concat(null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.MobileMargin)},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ErrorHandler.paddingMobile}),rl=(0,M.ZP)(E.zx).withConfig({displayName:"GraphqlErrorHandler.styled__Button",componentId:"lhg__sc-47764659-6"})(R(),r=>{let{theme:n}=r;return n.mediaQueries.mobile},r=>{var n;let{theme:o}=r;return"16px ".concat(null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.MobileMargin," 0")}),re=M.ZP.div.withConfig({displayName:"GraphqlErrorHandler.styled__ContactTitle",componentId:"lhg__sc-47764659-7"})(z(),r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ContactTitle.fontColor},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ContactTitle.fontFamily},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ContactTitle.fontSize},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ContactTitle.fontWeight},r=>{let{theme:n}=r;return n.mediaQueries.mobile},r=>{var n;let{theme:o}=r;return"16px ".concat(null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.MobileMargin," 0")}),ri=(0,M.ZP)(q.ym).withConfig({displayName:"GraphqlErrorHandler.styled__CallCenter",componentId:"lhg__sc-47764659-8"})(A(),r=>{let{theme:n}=r;return n.mediaQueries.mobile},r=>{var n,o,t;let{theme:l}=r;return(null===(n=l.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.MarginMobile)?"16px ".concat(null===(o=l.NotificationModal.GraphqlErrorModal)||void 0===o?void 0:o.CallCenter.MarginMobile," 0"):"16px ".concat(null===(t=l.NotificationModal.GraphqlErrorModal)||void 0===t?void 0:t.MobileMargin," 0")},_.JK,r=>{let{theme:n}=r;return n.mediaQueries.mobile},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.ContactSelector.marginMobile},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.ContactSelector.borderRadius},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.ContactSelector.borderColor},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.ContactSelector.fontColor},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.ContactSelector.fontFamily},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.ContactSelector.fontSize},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.ContactSelector.fontWeight},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.ContactSelector.fontColor},_.D$,r=>{let{theme:n}=r;return n.mediaQueries.mobile},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.PhoneNumberCTA.marginMobile},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.PhoneNumberCTA.fontColor},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.PhoneNumberCTA.fontFamily},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.PhoneNumberCTA.fontSize},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.PhoneNumberCTA.fontWeight},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.PhoneNumberCTA.borderRadius},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.PhoneNumberCTA.borderColor},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.PhoneNumberCTA.padding},r=>{var n,o;let{theme:t}=r;return t.isRtl&&(0,M.iv)(H(),null===(n=t.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.PhoneNumberCTA.borderRadiusRtl,null===(o=t.NotificationModal.GraphqlErrorModal)||void 0===o?void 0:o.CallCenter.PhoneNumberCTA.paddingRtl)},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.PhoneNumberCTASmall.backgroundColor},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.PhoneNumberCTASmall.fontColor},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.PhoneNumberCTASmall.fontFamily},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.PhoneNumberCTASmall.fontSize},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.PhoneNumberCTASmall.fontWeight},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.PhoneNumberCTASmall.borderRadius},r=>{var n;let{theme:o}=r;return o.isRtl&&(0,M.iv)(j(),null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.PhoneNumberCTASmall.borderRadiusRtl)},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.PhoneNumberCTASmall.borderColor},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.CallCenter.PhoneNumberCTASmall.fontSize}),ra=M.ZP.div.withConfig({displayName:"GraphqlErrorHandler.styled__ClientContact",componentId:"lhg__sc-47764659-9"})(I(),r=>{let{theme:n}=r;return n.mediaQueries.mobile},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContact.marginMobile},r=>{var n;let{theme:o}=r;return o.isRtl&&(0,M.iv)(F(),null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContact.marginMobileRtl)}),rd=M.ZP.div.withConfig({displayName:"GraphqlErrorHandler.styled__ClientContactPhoneLabel",componentId:"lhg__sc-47764659-10"})(k(),r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactPhoneLabel.margin},r=>{var n;let{theme:o}=r;return o.isRtl&&(0,M.iv)(Z(),null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactPhoneLabel.marginRtl)},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactPhoneLabel.fontColor},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactPhoneLabel.fontFamily},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactPhoneLabel.fontSize},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactPhoneLabel.fontWeight},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactPhoneLabel.lineHeight},r=>{let{theme:n}=r;return n.mediaQueries.mobile},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactPhoneLabel.marginMobile},r=>{var n;let{theme:o}=r;return o.isRtl&&(0,M.iv)(Q(),null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactPhoneLabel.marginMobileRtl)}),ru=M.ZP.div.withConfig({displayName:"GraphqlErrorHandler.styled__ClientContactEmailLabel",componentId:"lhg__sc-47764659-11"})(O(),r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactEmailLabel.margin},r=>{var n;let{theme:o}=r;return o.isRtl&&(0,M.iv)(D(),null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactEmailLabel.marginRtl)},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactEmailLabel.fontColor},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactEmailLabel.fontFamily},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactEmailLabel.fontSize},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactEmailLabel.fontWeight},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactEmailLabel.lineHeight},r=>{let{theme:n}=r;return n.mediaQueries.mobile},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactEmailLabel.marginMobile},r=>{var n;let{theme:o}=r;return o.isRtl&&(0,M.iv)(W(),null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactEmailLabel.marginMobileRtl)}),rc=M.ZP.div.withConfig({displayName:"GraphqlErrorHandler.styled__ClientContactField",componentId:"lhg__sc-47764659-12"})(V(),r=>{var n;let{theme:o}=r;return"1px solid ".concat(null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactField.borderColor)},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactField.borderRadius},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactField.fontColor},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactField.fontFamily},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactField.fontSize},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactField.fontWeight},r=>{let{theme:n}=r;return n.mediaQueries.mobile},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactField.marginMobile},r=>{var n;let{theme:o}=r;return o.isRtl&&(0,M.iv)(U(),null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactField.marginMobileRtl)}),rv=M.ZP.a.withConfig({displayName:"GraphqlErrorHandler.styled__ClientEmailCta",componentId:"lhg__sc-47764659-13"})(B(),r=>{let{theme:n}=r;return n.mediaQueries.mobile},r=>{var n,o;let{theme:t}=r;return t.isRtl&&(null===(n=t.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientCta)&&(0,M.iv)(Y(),null===(o=t.NotificationModal.GraphqlErrorModal)||void 0===o?void 0:o.ClientCta.marginMobileRtl)}),rs=M.ZP.a.withConfig({displayName:"GraphqlErrorHandler.styled__ClientCta",componentId:"lhg__sc-47764659-14"})(J()),rh=(0,M.ZP)(g._).withConfig({displayName:"GraphqlErrorHandler.styled__ClientIcon",componentId:"lhg__sc-47764659-15"})(K(),r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactIcon.fontColor},r=>{var n;let{theme:o}=r;return null===(n=o.NotificationModal.GraphqlErrorModal)||void 0===n?void 0:n.ClientContactIcon.fontSize});class rp extends l.Component{static getDerivedStateFromProps(r,n){let o=n.prevProps,t=!!r.error!==o.showErrorModal?!!r.error:n.showErrorModal;return{...n,showErrorModal:t,prevProps:{showErrorModal:!!r.error}}}componentDidMount(){let{error:r,intl:n,errorKeyPrefix:o,defaultErrorKey:t,timeoutErrorKey:l,translate:e}=this.props;if(r){let i=(0,s.V)(r,n,o,t,l);window._uxa.push(["trackError",e("app.technicalerror.tryagain.description",{errorname:i})])}this.checkForUnauthorizedError()}componentDidUpdate(r){let{error:n}=r,{error:o,intl:t,errorKeyPrefix:l,defaultErrorKey:e,timeoutErrorKey:i,translate:a}=this.props;if(o&&n!==o){let r=(0,s.V)(o,t,l,e,i);window._uxa.push(["trackError",a("app.technicalerror.tryagain.description",{errorname:r})])}this.checkForUnauthorizedError()}constructor(...r){super(...r),this.state={showErrorModal:!!this.props.error,prevProps:{showErrorModal:!!this.props.error}},this.checkForUnauthorizedError=()=>{let{error:r,auth:{isSessionExpired:n,setSessionExpired:o}}=this.props,t=null==r?void 0:r.graphQLErrors,l=(t||[]).some(r=>{var n;return"string"==typeof(null==r?void 0:null===(n=r.extensions)||void 0===n?void 0:n.code)&&"unauthorized"===r.extensions.code.toLocaleLowerCase()});l&&!n()&&o()},this.closeErrorModal=()=>{this.setState({showErrorModal:!1}),this.props.closeParentModalOnError&&this.props.closeParentModalOnError()},this.backToHotelResults=()=>{let r=(0,a.qF)(this.props.router.asPath),n=r.query();this.props.router.push("/".concat(h.aM.hotelResult,"?").concat(n))},this.isWbeRoute=()=>!!(0,C.jU)()&&(0,f.WD)(window.location.href),this.renderError=r=>{var n,o;let{translate:l,intl:e,errorKeyPrefix:i,defaultErrorKey:a,timeoutErrorKey:d,appConfig:u,pageContent:c}=this.props,v=(0,s.V)(r,e,i,a,d),h=(null==c?void 0:null===(n=c.footer)||void 0===n?void 0:null===(o=n.content)||void 0===o?void 0:o.reservationCentral)||{};return(0,t.jsxs)(rr,{children:[(0,t.jsx)(rn,{height:"144",src:(0,p.E2)(u.clientServerAppConfig.siteName,"technical-error.svg"),alt:l("app.technicalerror.title")}),(0,t.jsx)(ro,{children:l("app.technicalerror.title")}),(0,t.jsx)(rt,{children:l("app.technicalerror.tryagain.description",{errorname:v}),id:"graphql-error"}),this.isWbeRoute()&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(rl,{onClick:this.backToHotelResults,isInWbe:!0,children:l("app.technicalerror.tryagain.cta")}),(0,t.jsx)(re,{children:l("app.technicalerror.callcentralreservation.description")}),(0,t.jsx)(ri,{useOverTaxedNumber:!0,reservationCentral:h})]}),(0,t.jsx)(re,{children:l("app.technicalerror.callcustomerservices.description")}),(0,t.jsxs)(ra,{children:[(0,t.jsx)(rd,{children:l("app.technicalerror.callcustomerservices.byphonecta")}),(0,t.jsxs)(rc,{children:[(0,t.jsx)(rs,{href:"tel:".concat(u.clientServerAppConfig.clientServicePhone),children:u.clientServerAppConfig.clientServicePhone}),(0,t.jsx)(rh,{className:"icon-phone"})]})]}),(0,t.jsxs)(ra,{children:[(0,t.jsx)(ru,{children:l("app.technicalerror.callcustomerservices.byemailcta")}),(0,t.jsxs)(rc,{children:[(0,t.jsx)(rv,{href:"mailto:".concat(u.clientServerAppConfig.clientServiceEmail),children:u.clientServerAppConfig.clientServiceEmail}),(0,t.jsx)(rh,{className:"icon-email"})]})]})]})},this.isUnauthorizedError=()=>{let{error:r}=this.props,n=null==r?void 0:r.graphQLErrors,o=(n||[]).some(r=>{var n;return"string"==typeof(null==r?void 0:null===(n=r.extensions)||void 0===n?void 0:n.code)&&"unauthorized"===r.extensions.code.toLocaleLowerCase()});return o},this.render=()=>{let{translate:r,error:n}=this.props;return this.state.showErrorModal&&!1!==this.props.shouldHandleError&&(0,t.jsx)(X,{children:(0,t.jsx)($,{title:r("app.technicalerror.title"),handleClose:this.closeErrorModal,children:this.renderError(n)})})}}}var rf=(0,e.Z)(d.Z,v.H,u.Z,i.S,c.Z)(rp)},87122:function(r,n,o){var t=o(24246);o(27378);var l=o(75265),e=o(41826),i=o(5932),a=o(59110);let d=r=>{let{loading:n=!1,loaderType:o=a.tY.None,loaderPrimaryText:d="",loaderSecondaryText:u,isInWbe:c}=r;if(!n)return null;switch(o){case a.tY.BigLoader:return(0,t.jsx)(i.H,{primaryText:d,secondaryText:u,isInWbe:c});case a.tY.Spinner:return(0,t.jsx)(l.Q,{});case a.tY.SpinnerLoader:return(0,t.jsx)(e.s,{});case a.tY.None:default:return null}};n.Z=d},59110:function(r,n,o){var t,l,e,i,a,d,u,c;o.d(n,{o1:function(){return t},r:function(){return e},tY:function(){return l},yX:function(){return i}}),(a=t||(t={}))[a.ADDED=0]="ADDED",a[a.DELETED=1]="DELETED",a[a.NONE=2]="NONE",(d=l||(l={})).BigLoader="BigLoader",d.Spinner="Spinner",d.SpinnerLoader="SpinnerLoader",d.None="None",(u=e||(e={})).Rooms="rooms",u.Checkout="checkout",u.Confirm="confirm",(c=i||(i={})).Validate="validate",c.Active="active",c.Disabled="disabled"},13950:function(r,n,o){o.d(n,{P:function(){return i},V:function(){return e}});var t=o(90104),l=o.n(t);let e=function(r,n){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"app.error.",t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"".concat(o,"unknownerror"),e=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"".concat(o,"timeout"),i=r=>n.formatMessage({id:r}),a=null==r?void 0:r.graphQLErrors,d=l()(a)&&!!(null==r?void 0:r.message)&&r.message.indexOf("Timeout exceeded")>-1;return d?i(e):(a||[]).map(r=>{var n;return"string"==typeof(null==r?void 0:null===(n=r.extensions)||void 0===n?void 0:n.code)?r.extensions.code.toLocaleLowerCase():void 0}).filter(Boolean).map(r=>i("".concat(o).concat(r))).join(", ").trim()||i(t)},i=(r,n)=>{let o=(null==r?void 0:r.graphQLErrors)||[];return o.some(r=>{var o;return(null==r?void 0:null===(o=r.extensions)||void 0===o?void 0:o.code)===n})}}}]);