(window.webpackJsonp=window.webpackJsonp||[]).push([[106],{AOO8:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return K}));var a=n("mXGw"),o=n.n(a),r=n("BmqR"),i=n("XSEl"),c=n("Tgit"),l=n("rOcY"),h=n("Qi1R"),s=n("+wJ6"),g=n("wurE"),u=n.n(g),f=n("W0B4"),d=n.n(f),m=u.a.div.withConfig({componentId:"sc-1cjqpmh-0"})(["position:relative;"]),p=u.a.svg.attrs((function(e){return{width:e.width,height:e.height}})).withConfig({componentId:"sc-1cjqpmh-1"})(["overflow:hidden;vertical-align:middle;"]);p.propTypes={width:d.a.number,height:d.a.number},p.defaultProps={width:136,height:88};var b=function(e){var t=e.name,n=function(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}(e,["name"]);return o.a.createElement(m,null,o.a.createElement(p,n,o.a.createElement("use",{xlinkHref:"#"+t})))},w=n("iZzW"),O=n("g6nF"),v=n("I2FV"),j=n("WBb7"),y=n("goda"),E=u.a.div.withConfig({componentId:"sc-9w9xhi-0"})(["margin-bottom:",";"],Object(h.J)(57)),x=u.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)})),C=u.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)})),k=u()(w.a).withConfig({componentId:"sc-9w9xhi-3"})(["display:block;padding-bottom:",";"],Object(h.J)(58)),I=u()(j.a).withConfig({componentId:"sc-9w9xhi-4"})(["",";margin:",";"],(function(e){return!e.rulesLoaded&&Object(g.css)(["height:0;"])}),Object(h.J)(0,-48,0,-48)),D=u.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"}),O.ak,Object(h.J)(40),Object(h.J)(28),O.uk,O.uk),P=u()(y.a).attrs((function(){return{color:O.uk,width:77,height:77}})).withConfig({componentId:"sc-9w9xhi-6"})([""]),S=(u.a.div.withConfig({componentId:"sc-9w9xhi-7"})(["text-decoration:underline;"]),function(){return Object(g.css)(["font-weight:bold;color:",";text-align:center;flex:1;font-size:",";text-decoration:underline;"],O.uk,Object(h.J)(28))}),T=u.a.a.withConfig({componentId:"sc-9w9xhi-8"})(["text-decoration:none;"]),B=(u()(v.a).withConfig({componentId:"sc-9w9xhi-9"})(["text-decoration:none;"]),u()(v.a).withConfig({componentId:"sc-9w9xhi-10"})(["",";"],S)),L=u.a.a.withConfig({componentId:"sc-9w9xhi-11"})(["",";"],S),R=u.a.a.withConfig({componentId:"sc-9w9xhi-12"})(["",";text-decoration:none;max-width:",";"],S,Object(h.J)(230)),H=(u.a.a.withConfig({componentId:"sc-9w9xhi-13"})([""]),u.a.div.withConfig({componentId:"sc-9w9xhi-14"})(["width:",";"],Object(h.J)(160)),u()(b).withConfig({componentId:"sc-9w9xhi-15"})(["width:",";@media screen and (max-width:","){width:",";}"],Object(h.J)(h.Dd?240:300),Object(h.J)(650),Object(h.J)(220))),J=Object(h.f)((function(){return n.e(120).then(n.bind(null,"BmrN"))})),N=function(e,t){return function(n){e({url:t}),n.preventDefault()}},_=function(e){var t=e.showRegulations,n=e.showWelcomeOfferRules,a=e.footerContentLoaded,r=e.onFooterContentLoad,i=e.loggedIn,c=Object(s.a)().openPage,g=i?l.Dg.betResponsibly:l.Dg.responsibleGaming;return o.a.createElement(D,{showRegulations:t},o.a.createElement(J,null),o.a.createElement(E,null,o.a.createElement(x,{evenlyContent:!0},o.a.createElement(T,{href:l.Dg.logo.gambleaware,target:"_blank"},o.a.createElement(b,{name:"gambleaware",width:h.Dd?180:220,height:90})),o.a.createElement(T,{href:l.Dg.logo.nationalGamblingHelpline,target:"_blank"},o.a.createElement(b,{name:"nationalGamblingHelpline",width:h.Dd?100:120,height:90}))),o.a.createElement(x,{hasPadding:!h.Dd},o.a.createElement(T,{href:l.Dg.logo.ecogra,target:"_blank"},o.a.createElement(b,{name:"ecogra",width:70,height:40})),o.a.createElement(T,{href:l.Dg.logo.ibia,target:"_blank"},o.a.createElement(b,{name:"ibia",width:100,height:40})),o.a.createElement(b,{name:"18",width:70,height:40})),o.a.createElement(x,{hasPadding:!0},o.a.createElement(T,{href:l.Dg.logo.gamcare,target:"_blank"},o.a.createElement(b,{name:"gamcare",width:85,height:30})),o.a.createElement(T,{href:l.Dg.logo.takeTimeToThink,target:"_blank"},o.a.createElement(H,{name:"takeTimeToThink",height:45})),o.a.createElement(T,{href:l.Dg.logo.gamstop,target:"_blank"},o.a.createElement(b,{name:"gamstop",width:90,height:40}))),o.a.createElement(x,{hasPadding:!0},o.a.createElement(R,{href:l.Zd.getStaticUrl("gamblingTherapy"),target:"_blank"},o.a.createElement(w.a,{id:"external.gamblingTherapy"})),o.a.createElement(b,{name:"visa",width:80,height:16}),o.a.createElement(b,{name:"paypal",width:90,height:19})),o.a.createElement(x,{evenlyContent:!0,hasPadding:!0},o.a.createElement(b,{name:"trustly",width:90,height:50}),o.a.createElement(b,{name:"mastercard",width:60,height:70}))),o.a.createElement(C,null,o.a.createElement(B,{onClick:N(c,l.Dg.termsAndConditions),to:l.Dg.termsAndConditions},o.a.createElement(w.a,{id:"external.terms-and-conditions"})),o.a.createElement(B,{onClick:N(c,l.Dg.privacyPolicy),to:l.Dg.privacyPolicy},o.a.createElement(w.a,{id:"external.privacy-policy"}))),o.a.createElement(C,null,o.a.createElement(B,{onClick:N(c,g),to:g},o.a.createElement(w.a,{id:"external.responsiblegambling"})),o.a.createElement(L,{href:l.Zd.getStaticUrl("help"),target:"_blank"},o.a.createElement(w.a,{id:"regulations.help"}))),o.a.createElement(C,null,o.a.createElement(B,{onClick:N(c,l.Dg.cookies),to:l.Dg.cookies},o.a.createElement(w.a,{id:"external.cookies"})),o.a.createElement(B,{onClick:N(c,l.Dg.bettingRules),to:l.Dg.bettingRules},o.a.createElement(w.a,{id:"external.bettingrules"}))),o.a.createElement(E,null,o.a.createElement(x,null,o.a.createElement(T,{href:l.Dg.logo.twitter,target:"_blank"},o.a.createElement(b,{name:"twitter",width:50,height:50})))),o.a.createElement(k,null,o.a.createElement(w.a,{id:"regulations.appversion"})," (",l.Yd.version,")"),n&&!a&&o.a.createElement(P,null),n&&o.a.createElement(I,{rulesLoaded:a,url:Object(h.Uc)(),onLoad:r,showScrolling:!0}))};_.defaultProps={showWelcomeOfferRules:!1,footerContentLoaded:!1,onFooterContentLoad:function(){return null},loggedIn:!1};var A=_,F=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,o=!1,r=void 0;try{for(var i,c=e[Symbol.iterator]();!(a=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(l){o=!0,r=l}finally{try{!a&&c.return&&c.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},V=function(e){var t=Object(a.useState)(0),n=F(t,2),o=n[0],r=n[1],i=function(t){var n=t.origin,a=t.data,o=t.source;if(n===l.Yd.host&&"string"==typeof a&&Object(h.ec)("current.contentWindow.location.href",e)===o.location.href){var i=Object(h.De)(a);if(i&&i.type)switch(i.type){case"resize":if(i.payload&&0!==i.payload.height){var c=Number(i.payload.height);r(c)}}}};return Object(a.useEffect)((function(){return window&&window.addEventListener("message",i),function(){window.removeEventListener("message",i)}}),[]),{iframeHeight:o}},M=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}(e,["url","onRef","fullScreenView","hasBottomNavigation","hasTopNavigation","hasTopBar","hasLoginBar","bottomOffset","containerHeight","iframeHeight"]);return i.a.createElement(u,f({hasBottomNavigation:o,hasTopNavigation:r,fullScreenView:a,height:s},m),i.a.createElement(g,f({src:t,ref:n,fullScreenView:a,hasBottomNavigation:o,hasTopBar:c,hasLoginBar:l,bottomOffset:h,height:d},m)))}}]),t}(r.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,a=t.rerenderLocked,o=t.setContainerHeight,r=t.setIframeHeight,i=t.setRerenderLocked;a||e.heightPx===n||(o(n),r("100%"),i(!0),setTimeout((function(){i(!1)}),50))}},v=Object(a.compose)(Object(a.setDisplayName)("IFrameContainer"),Object(a.withState)("rerenderLocked","setRerenderLocked",!1),Object(a.withState)("containerHeight","setContainerHeight",0),Object(a.withState)("iframeHeight","setIframeHeight",(function(e){var t=e.iframeHeight;return t||(o.Dd?null:"100vh")})),Object(a.lifecycle)(O),Object(a.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}}]);