"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[352],{45658:function(t,e,n){n.d(e,{Z:function(){return i}});var o=n(67294),a=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&0>e.indexOf(o)&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(t);ae.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(t,o[a])&&(n[o[a]]=t[o[a]]);return n},i={FocusBumpStop:function(t){var e=t.refToBumpTo,n=a(t,["refToBumpTo"]);return o.createElement("span",Object.assign({tabIndex:0,onFocus:function(){return e.current.focus()},"data-at":"FocusBumpStop"},n))}}},74331:function(t,e,n){n.d(e,{Z:function(){return O}});var o=n(67294),a=n(23473),i=n(45658),r=n(87379),l=(0,r.F4)(["from{opacity:0;}"]),u=(0,r.F4)(["to{opacity:0;}"]),c=(0,r.F4)(["from{transform:translate(-50%,-75%);}"]),f=(0,r.F4)(["to{transform:translate(-50%,-75%);}"]),s=(0,r.F4)(["from{transform:scale3d(.3,.3,.3) translate(-150%,-150%);}"]),d=(0,r.F4)(["to{transform:scale3d(.3,.3,.3) translate(-150%,-150%);}"]),p="both cubic-bezier(0.4, 0, 0, 1.5)",m=function(t,e){switch(t){case"fade":default:if(e)return(0,r.iv)([""," ",""],l,p);return(0,r.iv)([""," ",""],u,p);case"slideDown":if(e)return(0,r.iv)([""," ",""],c,p);return(0,r.iv)([""," ",""],f,p);case"zoom":if(e)return(0,r.iv)([""," ",""],s,p);return(0,r.iv)([""," ",""],d,p)}},v=r.ZP.div.withConfig({displayName:"StyledPopupDialog",componentId:"sc-1s1plh1-0"})(["position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1051;box-shadow:3px 3px 8px 0 ",";overflow:",";animation:",";-webkit-animation:",";animation-duration:",";"],function(t){return t.theme.colors.modalDropShadow},function(t){var e;return null!==(e=t.overflow)&&void 0!==e?e:"hidden"},function(t){return m(t.animationType,t.visible)},function(t){return m(t.animationType,t.visible)},function(t){return"".concat(t.animationDurationInMs,"ms")}),h=r.ZP.div.withConfig({displayName:"StyledPopupBody",componentId:"sc-eoxz7i-0"})(["font-family:",";font-size:",";width:",";height:",";overflow-y:auto;max-width:90vw;"],function(t){return t.theme.fonts.fontFamily},function(t){return t.theme.fonts.textStandard},function(t){var e;return null!==(e=t.width)&&void 0!==e?e:"auto"},function(t){var e;return null!==(e=t.height)&&void 0!==e?e:"auto"}),y="PopupBody",_=function(t){var e=t["data-at"],n=t.children,a=t.height,i=t.width,r=t.popupDialogRef,l=t.visible,u=t.animationType,c=t.animationDurationInMs,f=t.overflow,s=t.setAnimating;return o.createElement(v,{visible:l,"data-visible":l,animationType:void 0===u?"slideDown":u,animationDurationInMs:void 0===c?300:c,onAnimationStart:function(){return s(!0)},onAnimationEnd:function(){return s(!1)},"data-at":e,ref:r,role:"dialog",tabIndex:-1,"aria-labelledby":y,overflow:void 0===f?"hidden":f},o.createElement(h,{id:y,width:i,height:a},n))},x=r.ZP.div.withConfig({displayName:"StyledPopupCloseButton",componentId:"sc-1m86135-0"})(["position:absolute;top:2.2rem;right:2.2rem;"]),b=n(90027),g=function(t){var e=t.buttonComponent,n=t["data-at"],a=t.onClose;return o.createElement(x,{"aria-label":"close popup",role:"button","data-at":n,onClick:function(){return a()}},null!=e?e:o.createElement(b.Z,null))},w=r.ZP.div.withConfig({displayName:"StyledPopup",componentId:"sc-2pomde-0"})(["display:",";animation:",";animation-duration:",";position:fixed;top:0;left:0;width:100%;height:100%;z-index:1050;"],function(t){return t.animating||t.visible?"block":"none"},function(t){return m(t.animationType,t.visible)},function(t){return"".concat(t.animationDurationInMs,"ms")}),F=r.ZP.div.withConfig({displayName:"StyledPopupOverlay",componentId:"sc-r4d2bs-0"})(["position:fixed;background:",";top:0;left:0;width:100%;height:100%;z-index:1050;"],function(t){var e;return null!==(e=t.overlayColor)&&void 0!==e?e:t.theme.colors.modalDropShadow}),C=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&0>e.indexOf(o)&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(t);ae.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(t,o[a])&&(n[o[a]]=t[o[a]]);return n},O=function(t){var e=t["data-at"],n=t.children,r=t.visible,l=t.overlayColor,u=t.closeOnOverlayClick,c=void 0===u||u,f=t.animationType,s=t.animationDurationInMs,d=void 0===s?300:s,p=t.height,m=t.width,v=t.closeButtonComponent,h=t.onClose,y=C(t,["data-at","children","visible","overlayColor","closeOnOverlayClick","animationType","animationDurationInMs","height","width","closeButtonComponent","onClose"]),x=(0,o.useState)(r),b=x[0],O=x[1],S=(0,o.useState)(!1),E=S[0],D=S[1],P=(0,o.useRef)(),k=(0,o.useCallback)(function(t){t.key===a.Z.ESC&&r&&h()},[r,h]);(0,o.useEffect)(function(){return document.addEventListener("keydown",k),function(){document.removeEventListener("keydown",k)}},[k]);var j=(0,o.useCallback)(function(){return P.current.focus()},[P]);return(0,o.useEffect)(function(){b!==r&&(D(!0),O(r)),r&&!E&&j()},[b,r,j,E]),o.createElement(w,{visible:b,animating:E,animationType:"fade",animationDurationInMs:d,"data-at":e},o.createElement(F,{overlayColor:l,onClick:function(){c&&h&&h()},"data-at":"".concat(e,"-Overlay")}),o.createElement(_,Object.assign({visible:r,popupDialogRef:P,setAnimating:D,animationType:f,animationDurationInMs:d,"data-at":"".concat(e,"-Dialog"),height:p,width:m},y),o.createElement(g,{buttonComponent:v,onClose:h,"data-at":"".concat(e,"-CloseButton")}),n,o.createElement(i.Z.FocusBumpStop,{refToBumpTo:P})))}},93235:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,a.default)(t),"object"===i(e)?(n=e.min||0,o=e.max):(n=arguments[1],o=arguments[2]);var n,o,r=encodeURI(t).split(/%..|./).length-1;return r>=n&&(void 0===o||r<=o)};var o,a=(o=n(65571))&&o.__esModule?o:{default:o};function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=e.default,t.exports.default=e.default},83868:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if((0,o.default)(t),(e=(0,l.default)(e,c)).require_display_name||e.allow_display_name){var n=t.match(f);if(n){var u,h,y=n[1];if(t=t.replace(y,"").replace(/(^<|>$)/g,""),y.endsWith(" ")&&(y=y.slice(0,-1)),!(h=(u=y).replace(/^"(.+)"$/,"$1")).trim()||/[\.";<>]/.test(h)&&(h===u||h.split('"').length!==h.split('\\"').length))return!1}else if(e.require_display_name)return!1}if(!e.ignore_max_length&&t.length>254)return!1;var _=t.split("@"),x=_.pop(),b=x.toLowerCase();if(e.host_blacklist.includes(b)||e.host_whitelist.length>0&&!e.host_whitelist.includes(b))return!1;var g=_.join("@");if(e.domain_specific_validation&&("gmail.com"===b||"googlemail.com"===b)){var w=(g=g.toLowerCase()).split("+")[0];if(!(0,a.default)(w.replace(/\./g,""),{min:6,max:30}))return!1;for(var F=w.split("."),C=0;C63&&!e.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(t)||/[\uff01-\uff5e]/.test(t)||/^-|-$/.test(t)||!e.allow_underscores&&/_/.test(t))})};var o=i(n(65571)),a=i(n(84808));function i(t){return t&&t.__esModule?t:{default:t}}var r={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};t.exports=e.default,t.exports.default=e.default},61028:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return((0,a.default)(e),n=String(n))?"4"===n?l.test(e):"6"===n&&c.test(e):t(e,4)||t(e,6)};var o,a=(o=n(65571))&&o.__esModule?o:{default:o},i="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",r="(".concat(i,"[.]){3}").concat(i),l=new RegExp("^".concat(r,"$")),u="(?:[0-9a-fA-F]{1,4})",c=RegExp("^("+"(?:".concat(u,":){7}(?:").concat(u,"|:)|")+"(?:".concat(u,":){6}(?:").concat(r,"|:").concat(u,"|:)|")+"(?:".concat(u,":){5}(?::").concat(r,"|(:").concat(u,"){1,2}|:)|")+"(?:".concat(u,":){4}(?:(:").concat(u,"){0,1}:").concat(r,"|(:").concat(u,"){1,3}|:)|")+"(?:".concat(u,":){3}(?:(:").concat(u,"){0,2}:").concat(r,"|(:").concat(u,"){1,4}|:)|")+"(?:".concat(u,":){2}(?:(:").concat(u,"){0,3}:").concat(r,"|(:").concat(u,"){1,5}|:)|")+"(?:".concat(u,":){1}(?:(:").concat(u,"){0,4}:").concat(r,"|(:").concat(u,"){1,6}|:)|")+"(?::((?::".concat(u,"){0,5}:").concat(r,"|(?::").concat(u,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");t.exports=e.default,t.exports.default=e.default},65571:function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(!("string"==typeof t||t instanceof String)){var e=n(t);throw null===t?e="null":"object"===e&&(e=t.constructor.name),TypeError("Expected a string but received a ".concat(e))}},t.exports=e.default,t.exports.default=e.default},84808:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;for(var n in e)void 0===t[n]&&(t[n]=e[n]);return t},t.exports=e.default,t.exports.default=e.default}}]);