(window.webpackJsonpWidget=window.webpackJsonpWidget||[]).push([[8],{162:function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),a=n(3),i=n.n(a),c=n(2),s=n(193),l=n(171),p=n(613),u=n.n(p),f=n(5),d=n(18),m=n(32),g=n(35),h=n.n(g),b=n(15),y=n(614),w=n.n(y),x=n(1),v=n(7),k=v.b.button.withConfig({displayName:"elements__ContactOption",componentId:"sc-1coytcc-0"})(["width:100%;text-align:left;font-size:1rem;padding:16px;border-radius:8px;background-color:#fff;margin:16px 0 32px 0;cursor:pointer;font-weight:600;border:2px solid #fff;box-shadow:0 0 2px 0 rgba(18,52,77,0.16),0 2px 12px 0 rgba(18,52,77,0.1);outline:none;color:#123447;&:hover{background-color:#fdfdfd;}&:focus,&:hover{border:2px solid #2c5cc5;transition:all 0.05s ease-out;}"]),E={height:"12px",width:"12px",float:"right",margin:"4px"},C=v.b.div.withConfig({displayName:"elements__HomeWrapper",componentId:"sc-1coytcc-1"})(["height:inherit;"]);function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(){return(_=Object.assign||function(e){for(var t=1;t1&&r<7?"url(".concat(n(292)("./pattern_".concat(r,".png")),")"):"none";var t,r}),v=a.b.div.withConfig({displayName:"WidgetHeader__CaptionWrapper",componentId:"e8xmgj-1"})(["height:120px;display:flex;align-items:center;padding:16px;margin:0 48px 0 16px;"]),k=a.b.h2.withConfig({displayName:"WidgetHeader__Caption",componentId:"e8xmgj-2"})(["margin:0;font-weight:600;line-height:2rem;word-break:break-word;"]),E=a.b.div.withConfig({displayName:"WidgetHeader__CloseWrapper",componentId:"e8xmgj-3"})(["z-index:1000;background-color:rgba(7,18,40,0.4);position:absolute;right:16px;top:16px;width:32px;height:32px;display:flex;align-items:center;border-radius:8px;cursor:pointer;&:hover{background-color:rgba(7,18,40,0.6);svg{transform:scale(1.1);-ms-transform:none;-ms-zoom:1.1;transition:all 0.1s ease-out;}}"]),C=Object(a.b)(s.a).withConfig({displayName:"WidgetHeader__CloseIconWrapper",componentId:"e8xmgj-4"})(["fill:#ffffff;margin:0 auto;display:block;width:14px;height:14px;transition:0.1s ease-in;"]),O=a.b.button.withConfig({displayName:"WidgetHeader__BackButton",componentId:"e8xmgj-5"})(["z-index:1000;background-color:rgba(7,18,40,0.4);position:absolute;left:16px;top:16px;min-width:80px;border-radius:8px;height:32px;font-size:0.875rem;color:#fff;border:none;font-weight:600;cursor:pointer;transition:opacity 0.2s;text-transform:capitalize;&:hover{background-color:rgba(7,18,40,0.6);}&:focus{outline:none;}"]),_={verticalAlign:"bottom",float:"left"},j=function(e){return{opacity:e>0?"".concat(1-e/75):"1",transform:e>0?"translateY(".concat(e/-2,"px)"):"translateY(0)"}},T=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),h(this,b(t).apply(this,arguments))}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(t,r["PureComponent"]),n=t,(a=[{key:"render",value:function(){var e=this.props,t=e.mainPage,n=e.message,r=e.onClose,a=e.scrollTop,i=e.removeDecks,c=e.t,s=e.currentPage,l=!t&&!("Thanks"===s);return o.a.createElement(x,m({},this.props,{"data-testid":"header-wrapper"}),t&&o.a.createElement(v,m({},this.props,{style:j(a),"data-testid":"caption-container"}),o.a.createElement(k,m({},this.props,{"data-testid":"caption-message"}),n)),l&&o.a.createElement(O,{onClick:i,"data-testid":"header-back-button"},o.a.createElement(f.a,{style:_,alt:c("common.header.back")}),o.a.createElement("span",null,c("common.header.back"))),o.a.createElement(E,{onClick:r,"data-testid":"header-close"},o.a.createElement(C,{alt:c("common.close")})))}}])&&g(n.prototype,a),i&&g(n,i),t}();T.propTypes={mainPage:p.a.bool,message:p.a.string,onClose:p.a.func,scrollTop:p.a.number,removeDecks:p.a.func,t:p.a.func,currentPage:p.a.string},T.defaultProps={mainPage:!1,message:"",onClose:function(){},scrollTop:0,removeDecks:function(){},t:function(){},currentPage:""};var P=Object(i.b)()(T),S=a.b.div.withConfig({displayName:"Scrim__ContentScrim",componentId:"mlf2gg-0"})(["position:sticky;top:0;left:0;right:0;background-image:linear-gradient(to top,rgba(255,255,255,0),rgb(255,255,255));height:24px;"]);var I=function(){return o.a.createElement(S,null)},L=n(70),N=n(25),B=n.n(N);function F(){return(F=Object.assign||function(e){for(var t=1;t