1/*! LICENSE: chunk.component.popup.WidgetFlipCoinPopup.62b719fd17faf66b.js.LICENSE.txt */ 2"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[11451],{52426(e,t,a){var i=a(96540),l=a(22450);a.d(t,{},{H:e=>{let{tag:t="div",html:a,...c}=e,n=(0,l.s)(a),s=(0,i.useMemo)(()=>({__html:n}),[n]);return i.createElement(t,{...c,dangerouslySetInnerHTML:s})}})},82549(e,t,a){a.r(t),a.d(t,{default:()=>b});var i=a(96540),l=a(69409),c=a(72099),n=a(11739),s=a(969),o=a(46387),r=a(43967),d=a(8356),m=a(49486),g=a(78227),p=a(32485),w=a.n(p);let f={"coin-flip-game":"P8Dj2a05qcDWaKP4","bounce-in-top":"_3hDl5922ssq233Q",fadeIn:"OvAxNtB5J0LrIOhx","widget-box":"M9PN8SNsMkdqLfLU","btn-wrap":"xNDUkxqy4ikboGgL",coin:"Sp3h9AU23Sk7tRDE",face:"KubxAV_8lDU4qcEv",front:"Y6KYiMB8QooMhUCQ",back:"PFifeoeXnoPzpoDw",active:"ic3fE5ATPLImMLwX","flip-horizontal-top":"Yz6ak_JFhoIKqz04",spin:"qNMFkFiX_UshdoQr","prize-content":"uax6Qm0plHwUYxca","text-modal":"pfkRlUN6QGYRWQaY","scale-in-center":"ElG4VQieQGRiSoDU","wdgt-tx":"emgA4XZfHcYaRNXw","wdgt-txt-sm":"G5M9nb4AxrYqWjWG","wdgt-tx-sm":"j2U8D5j6LzErhfot","widget-logo":"zNThCoGcd4ewrYnA","flip-it":"iRTL9SA7gwm3XxKl"};var E=a(52426),v=a(79825);let b=()=>{let e=(0,l.wA)(),{translate:t}=(0,s.c)(),a=(0,o.M)(),p=(0,l.d4)(r.Os),b=(0,l.d4)(m.Fu6),[N,u]=(0,i.useState)(!1),[x,h]=(0,i.useState)(!1),[A,D]=(0,i.useState)(!1),k=i.createRef(),_=(0,i.useCallback)(()=>{N||(u(!0),e((0,d.oP)(a.widget.campaign_id.toString())),setTimeout(()=>{h(!0),D(!0)},2e3))},[k,N]),O=(0,i.useMemo)(()=>[c.J.BR,c.J.GR,c.J.EN,c.J.MX,c.J.DE,c.J.FI,c.J.FR,c.J.JA,c.J.RO,c.J.CA,c.J.ES,c.J.DK].includes(b)?`https://img.netbet.com/gms/images-marketing/global/flip-the-coin-widget/logo-${b}.png`:"https://img.netbet.com/gms/images-marketing/global/flip-the-coin-widget/logo-en.png",[b]),S=(0,i.useCallback)(()=>{e((0,v.ip)())},[]);return i.createElement(g.x,{description:t(n.v.POPUPS,"click-to-flip-the-coin-and-revel-your-prize"),logo:O,widgetBoxRef:k,className:f["coin-flip-game"]},i.createElement("div",{className:w()(f["widget-box"],{[f.active]:N},{[f.spin]:N&&!x})},i.createElement("div",{className:f.coin},i.createElement("div",{className:w()(f.face,f.front)},i.createElement("img",{src:"https://img.netbet.com/casino/widgets/coin-flip/COIN-FRONT.png",alt:"Coin front"})),i.createElement("div",{className:w()(f.face,f.back)},i.createElement("img",{src:"https://img.netbet.com/casino/widgets/coin-flip/COIN-BACK.png",alt:"Coin back"}))),i.createElement("div",{className:f["btn-wrap"]},!A&&i.createElement("button",{className:w()(f["wgt-btn"],{disabled:N}),id:f["wdgt-tigger"],onClick:_,disabled:N},t(n.v.POPUPS,"flip-it")),A&&i.createElement("button",{onClick:S,className:f["wgt-btn"]},t(n.v.POPUPS,"close-and-play"))),N&&i.createElement("div",{className:w()(f["prize-content"],{[f.active]:x}),id:f.prize},i.createElement("div",{className:f["text-modal"]},p&&i.createElement(E.H,{html:p.description})))))}},78227(e,t,a){a.d(t,{x:()=>d});var i=a(96540),l=a(69409),c=a(79825),n=a(32485),s=a.n(n);let o={widget:"lEWdSCrXn00qOF2x",close:"oJ5O1mduZYAoGH8E","widget-game":"Gv0DKO_j3cMyVTq0","widget-logo":"SBxAe_cvag6g4PXR","widget-desc":"DFA0Gy1yd2EsgDcT",btn:"x8qQTredG8Mvxwdh"};var r=a(52426);let d=i.forwardRef((e,t)=>{let{logo:a,description:n,hideCloseButton:d,className:m,boxClassName:g,children:p}=e,w=(0,l.wA)(),f=(0,i.useCallback)(()=>{w((0,c.ip)())},[]);return i.createElement("div",{className:o.widget},!d&&i.createElement("div",{id:o.close,onClick:f},"X"),i.createElement("div",{className:s()(o["widget-game"],m)},a&&i.createElement("div",{className:s()(o["widget-logo"],"widget-logo-specific")},i.createElement("img",{src:a,alt:""})),n&&i.createElement(r.H,{tag:"p",className:s()(o["widget-desc"],"widget-desc-specific"),html:n}),i.createElement("div",{className:s()(o["widget-box"],"widget-box",g),ref:t},p)))})},22450(e,t,a){var i=a(69409),l=a(50042),c=a(96540);a.d(t,{},{s:e=>{let t=(0,i.d4)(l.fn);return(0,c.useMemo)(()=>{let a=e;return a&&-1!==a.indexOf('href="#')&&(a=a.replace(/href="#/g,`href="${t}#`)),a},[e])}})},46387(e,t,a){var i=a(69409),l=a(42480);a.d(t,{},{M:()=>(0,i.d4)(l.iQ)})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.