1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9222,93460],{9222:(e,l,a)=>{"use strict";a.r(l),a.d(l,{default:()=>v});var o=a(60072),d=a(86419),t=a.n(d),r=a(33785),s=a(87520),n=a(67508),i=a(60004),c=a(53556),m=a(40546);let u=(0,m.J1)` 2 query GlobalSettings { 3 globalSettings { 4 isPopupsAllowed 5 } 6 } 7`;var _=a(71079),p=a(92081),h=a.n(p),x=a(75231);let v=({contentVariants:e,delay:l})=>{let{displayedPopUp:a,isModalOpen:d,setModalOpen:m,isPopupDisplayed:p}=((e,l=0)=>{let a="meta5-popup",[o,d]=(0,i.useState)(!1),[t,r]=(0,i.useState)(null),[n,{data:m,loading:_}]=(0,c._)(u,{variables:{},ssr:!1}),p=!_&&m?.globalSettings.isPopupsAllowed;return(0,i.useEffect)(()=>{let o,t;return(0,s.Ie)(localStorage.getItem(a))&&(n(),r(.75>Math.random()?e[Math.floor(2*Math.random())]:e[2+Math.floor(Math.random()*(e.length-2))]),o=setTimeout(()=>{t=setInterval(()=>{document.body.classList.contains("noScroll")||(d(!0),localStorage.setItem(a,"true"),clearInterval(t))},1e3)},l)),()=>{clearTimeout(o),clearInterval(t)}},[]),{displayedPopUp:t,isModalOpen:o,setModalOpen:d,isPopupDisplayed:p}})(e,l),{isPopupReadyToDisplay:v}=(0,x.Ay)();return(0,s.Ie)(a)||!p||!1===v?null:null===v?(0,o.jsx)("div",{className:h().wrapper,children:a}):(0,o.jsx)(o.Fragment,{children:!n.A&&d&&(0,r.createPortal)((0,o.jsx)(_.Modal,{id:"bonuses-modal",setOpenState:m,appearance:"new",modalWrapperClassName:h().modal,closeButtonClassName:t()(h().modalClose,"close"),showHeader:!1,showCloseButton:!0,variant:"withoutPaddings",children:a}),document.body)})}},57996:e=>{e.exports={modal:"Modal_modal__ygvyt",open:"Modal_open__xtj3n",appear:"Modal_appear__xWqxJ",isMax:"Modal_isMax__kmqgR",modalOverlay:"Modal_modalOverlay__W_OVj",modalWrap:"Modal_modalWrap__Nq1uj",modalWrapFixed:"Modal_modalWrapFixed__A_B0N",modalVisible:"Modal_modalVisible__Y_v0m",modalOverlayFixed:"Modal_modalOverlayFixed__3Chfe",modalWrapColored:"Modal_modalWrapColored__geQEc",modalWrapFullHeight:"Modal_modalWrapFullHeight__JX9HN",modalWrapFixedWithoutPaddings:"Modal_modalWrapFixedWithoutPaddings__04HRJ",modalClose:"Modal_modalClose__BONwQ",modalScroller:"Modal_modalScroller__xClbt",additionalCloseButton:"Modal_additionalCloseButton__ITfpb",header:"Modal_header__TSc0x",bonusModal:"Modal_bonusModal__fdmqn"}},71079:(e,l,a)=>{"use strict";a.r(l),a.d(l,{Modal:()=>y,default:()=>M});var o=a(60072),d=a(60004),t=a(33785),r=a(86419),s=a.n(r),n=a(10366),i=a(87520),c=a(75231),m=a(24783),u=a(36914),_=a(65059),p=a(69364),h=a(57996),x=a.n(h),v=a(81727);let y=({id:e,setOpenState:l,children:a,className:r,closeButtonClassName:h,modalWrapperClassName:y,modalHeaderClassName:M,modalOverlayClassName:f,showAdditionalCloseButton:w=!1,additionalCloseButtonLabel:g,appearance:C="default",variant:W="default",title:S,showHeader:b=!0,showCloseButton:j=!0,onClose:F,renderInPortal:N=!1})=>{let E="customModal",{t:B}=(0,n.Bd)("layout"),I=(0,d.useRef)(null),[k,O]=(0,d.useState)(!1),P=(0,m.U)(1099);(0,i.Ie)(g)&&(g=B("Done"));let{setIsModalOpened:L}=(0,c.Ay)(),A="hasFocusedInputs",H=()=>{I.current&&I.current.classList.add(A)},q=()=>{I.current&&I.current.classList.remove(A)};(0,d.useEffect)(()=>{null!==I.current&&[...I.current.querySelectorAll("input, textarea")].forEach(e=>{e.dataset.hasListeners||(e.addEventListener("focus",H),e.addEventListener("blur",q),e.dataset.hasListeners="1")})},[a]),(0,d.useEffect)(()=>{let e=window.innerWidth-document.documentElement.clientWidth;return document.documentElement.style.overflow="hidden",P||document.body.style.setProperty("--scrollBarGap",e+"px"),O(!0),L(!0),document.body.classList.add("noScroll"),()=>{history.replaceState(window.history.state,document.title,window.location.pathname+window.location.search),[...document.querySelectorAll(`.${E}`)].some(e=>e!==I.current)||(document.documentElement.style.overflow="",document.body.classList.remove("noScroll"),P||document.body.style.removeProperty("--scrollBarGap"),L(!1))}},[]);let z=()=>{let a=new CustomEvent("modalClosed",{detail:{id:e}});document.dispatchEvent(a),l?.(!1),F?.()},G=(0,o.jsx)("div",{className:s()(x().modal,r,E,{[x().open]:k}),id:e,ref:I,children:(0,o.jsx)("div",{className:s()(x().modalOverlay,"modalOverlay",{[x().modalOverlayFixed]:"new"===C},f),onClick:e=>{"modalWrap"===e.target.id&&z()},id:"modalWrap",children:(0,o.jsx)("div",{className:s()("modalBody",x().modalWrap,{[x().modalWrapFixed]:"new"===C,[x().modalWrapFullHeight]:"fullHeight"===C,[x().modalWrapFixedWithoutPaddings]:"withoutPaddings"===W||"colored"===W,[x().modalWrapColored]:"colored"===W},y),children:"default"===C?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("span",{className:s()(x().modalClose,h),onClick:z,children:(0,o.jsx)(_.I,{icon:"close",size:18})}),w?(0,o.jsx)("div",{className:x().modalScroller,children:a}):a,w&&(0,o.jsx)(u.$,{className:x().additionalCloseButton,onClick:z,color:v.nw.GREEN,fullWidth:!0,children:g})]}):(0,o.jsxs)(o.Fragment,{children:[b&&(0,o.jsxs)("div",{className:s()(x().header,M),children:[(0,o.jsx)("span",{children:S}),(0,o.jsx)(p.B,{size:24,icon:{icon:"close",size:12},onClick:z,className:h})]}),(0,i.Ie)(b)&&j&&(0,o.jsx)(p.B,{size:24,icon:{icon:"close",size:12},onClick:z,className:h}),a]})})})});return N&&"u">typeof document?(0,t.createPortal)(G,document.body):G},M=y},92081:e=>{e.exports={modal:"FullScreen_modal__Kk0jh",modalClose:"FullScreen_modalClose__m8yLf",wrapper:"FullScreen_wrapper__u9HOv"}}}]);
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.