(window.webpackJsonp=window.webpackJsonp||[]).push([[105],{AOO8:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return M}));var o=n("mXGw"),r=n.n(o),i=n("BmqR"),a=n("XSEl"),c=n("Tgit"),s=n("rOcY"),h=n("Qi1R"),f=n("nSjH"),l=n("iZzW"),u=n("wurE"),g=n.n(u),d=n("D5ie"),p=n("I2FV"),m=n("W0B4"),b=n.n(m),w=g.a.div.withConfig({componentId:"sc-1cjqpmh-0"})(["position:relative;"]),O=g.a.svg.attrs((function(e){return{width:e.width,height:e.height}})).withConfig({componentId:"sc-1cjqpmh-1"})(["overflow:hidden;vertical-align:middle;"]);O.propTypes={width:b.a.number,height:b.a.number},O.defaultProps={width:136,height:88};var v=function(e){var t=e.name,n=function(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["name"]);return r.a.createElement(w,null,r.a.createElement(O,n,r.a.createElement("use",{xlinkHref:"#"+t})))},j=n("WBb7"),y=n("goda"),C=(g.a.div.withConfig({componentId:"sc-9w9xhi-0"})(["margin-bottom:",";"],Object(h.J)(57)),g.a.div.withConfig({componentId:"sc-9w9xhi-1"})(["display:flex;justify-content:",";align-items:center;flex-wrap:wrap;padding-top:",";"],(function(e){return e.evenlyContent?"space-evenly":"space-around"}),(function(e){var t=e.hasPadding;return Object(h.J)(t?36:0)})),g.a.div.withConfig({componentId:"sc-9w9xhi-2"})(["display:flex;justify-content:space-around;padding-bottom:",";"],(function(e){return e.withoutPadding?0:Object(h.J)(50)})),g()(l.a).withConfig({componentId:"sc-9w9xhi-3"})(["display:block;padding-bottom:",";"],Object(h.J)(58))),x=(g()(j.a).withConfig({componentId:"sc-9w9xhi-4"})(["",";margin:",";"],(function(e){return!e.rulesLoaded&&Object(u.css)(["height:0;"])}),Object(h.J)(0,-48,0,-48)),g.a.div.withConfig({componentId:"sc-9w9xhi-5"})(["visibility:",";background:",";padding:",";text-align:center;font-size:",";color:",";a{color:",";}"],(function(e){return e.showRegulations?"visible":"hidden"}),d.gk,Object(h.J)(40),Object(h.J)(28),d.zk,d.zk)),I=g()(y.a).attrs((function(){return{color:d.zk,width:77,height:77}})).withConfig({componentId:"sc-9w9xhi-6"})([""]),S=(g.a.div.withConfig({componentId:"sc-9w9xhi-7"})(["text-decoration:underline;"]),function(){return Object(u.css)(["font-weight:bold;color:",";text-align:center;flex:1;font-size:",";text-decoration:underline;"],d.zk,Object(h.J)(28))}),E=(g.a.a.withConfig({componentId:"sc-9w9xhi-8"})(["text-decoration:none;"]),g()(p.a).withConfig({componentId:"sc-9w9xhi-9"})(["text-decoration:none;"]),g()(p.a).withConfig({componentId:"sc-9w9xhi-10"})(["",";"],S),g.a.a.withConfig({componentId:"sc-9w9xhi-11"})(["",";"],S),g.a.a.withConfig({componentId:"sc-9w9xhi-12"})(["",";text-decoration:none;max-width:",";"],S,Object(h.J)(230)),g.a.a.withConfig({componentId:"sc-9w9xhi-13"})([""]),g.a.div.withConfig({componentId:"sc-9w9xhi-14"})(["width:",";"],Object(h.J)(160)),g()(v).withConfig({componentId:"sc-9w9xhi-15"})(["width:",";@media screen and (max-width:","){width:",";}"],Object(h.J)(h.Cd?240:300),Object(h.J)(650),Object(h.J)(220)),function(e){var t=e.showRegulations,n=e.showWelcomeOfferRules,o=e.footerContentLoaded,i=e.onFooterContentLoad,a=e.footerContentRef,c=e.welcomeOfferRef,h=e.footerContentHeight,u=e.welcomeOfferHeight;return r.a.createElement(x,{showRegulations:t},r.a.createElement(C,null,r.a.createElement(l.a,{id:"regulations.appversion"})," (",s.ae.version,")"),!o&&r.a.createElement(I,null),r.a.createElement(f.a,{url:s.be.getStaticContentUrl("footerContent"),onRef:a,heightPx:h,onLoad:i,ignorePlatform:!0}),n&&r.a.createElement(f.a,{url:s.be.getStaticContentUrl("welcomeOfferRulesUrl"),onRef:c,heightPx:u,ignorePlatform:!0}))}),B=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(o=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(s){r=!0,i=s}finally{try{!o&&c.return&&c.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},P=function(e){var t=Object(o.useState)(0),n=B(t,2),r=n[0],i=n[1],a=function(t){var n=t.origin,o=t.data,r=t.source;if(n===s.ae.host&&"string"==typeof o&&Object(h.fc)("current.contentWindow.location.href",e)===r.location.href){var a=Object(h.Be)(o);if(a&&a.type)switch(a.type){case"resize":if(a.payload&&0!==a.payload.height){var c=Number(a.payload.height);i(c)}}}};return Object(o.useEffect)((function(){return window&&window.addEventListener("message",a),function(){window.removeEventListener("message",a)}}),[]),{iframeHeight:r}},L=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["url","onRef","fullScreenView","hasBottomNavigation","hasTopNavigation","hasTopBar","hasLoginBar","bottomOffset","containerHeight","iframeHeight"]);return a.a.createElement(u,g({hasBottomNavigation:r,hasTopNavigation:i,fullScreenView:o,height:f},p),a.a.createElement(l,g({src:t,ref:n,fullScreenView:o,hasBottomNavigation:r,hasTopBar:c,hasLoginBar:s,bottomOffset:h,height:d},p)))}}]),t}(i.PureComponent);b.defaultProps={onRef:function(){},fullScreenView:!1,hasBottomNavigation:!1,hasTopNavigation:!1,hasTopBar:!1,hasLoginBar:!1,bottomOffset:0};var w=b,O={componentDidUpdate:function(e){var t=this.props,n=t.heightPx,o=t.rerenderLocked,r=t.setContainerHeight,i=t.setIframeHeight,a=t.setRerenderLocked;o||e.heightPx===n||(r(n),i("100%"),a(!0),setTimeout((function(){a(!1)}),50))}},v=Object(o.compose)(Object(o.setDisplayName)("IFrameContainer"),Object(o.withState)("rerenderLocked","setRerenderLocked",!1),Object(o.withState)("containerHeight","setContainerHeight",0),Object(o.withState)("iframeHeight","setIframeHeight",(function(e){var t=e.iframeHeight;return t||(r.Cd?null:"100vh")})),Object(o.lifecycle)(O),Object(o.mapProps)((function(e){return{url:e.url,onRef:e.onRef,fullScreenView:e.fullScreenView,hasBottomNavigation:e.hasBottomNavigation,hasTopNavigation:e.hasTopNavigation,hasTopBar:e.hasTopBar,hasLoginBar:e.hasLoginBar,bottomOffset:e.bottomOffset,pageInModal:e.pageInModal,rulesLoaded:e.rulesLoaded,onLoad:e.onLoad,onError:e.onError,showScrolling:e.showScrolling,containerHeight:e.containerHeight,iframeHeight:e.iframeHeight,noPaddings:e.noPaddings,noMargins:e.noMargins}})))(w);t.a=v}}]);