1import{a as Te,k as Ze,g as He,r as M,j as t}from"./vendor-react-BGN68_Lp.js";import{g as x}from"./vendor-styled-pkIKgjgv.js";import{aQ as xe,aR as ve,aU as be,aV as Ue,aP as Ee,aW as _e,g as Z,c as We,w as ie,x as Le,b as ye,aX as $e,a9 as Ce,s as ae,v as ce,t as we,ac as qe,aO as Ye,y as Ge,aL as Xe,q as Ke,aY as Qe,ar as Je,ae as et}from"./index-uear5Vpj.js";import{a as Ae,u as T}from"./vendor-redux-D8sX5Eqv.js";import{u as re}from"./vendor-i18n-BWleq_Sd.js";import{p as tt}from"./premiumApi-WY_Mz-No.js";const nt={deposit:(o,u,E,I,V,P)=>{const D={type:o,amount:u,autobuy:window.autobuy?1:0,autobuy_goods_id:window.autobuyId??1,currency:V,access_invoice:!0};return P?D.recurrent=1:(D.wallet=E,D.lang=I),xe.post(ve+"/payments/create/invoice",D,{withCredentials:!0}).then(A=>A.data).catch(A=>be(A.response,V))},depositWithCustomPostData:o=>{const u={type:o.type,amount:o.amount,autobuy:o.autobuy,autobuy_goods_id:o.autobuy_goods_id,currency:o.currency,recurrent:o.recurrent,user_lang:o.user_lang,access_invoice:!0};return xe.post(ve+"/payments/create/invoice",u,{withCredentials:!0}).then(E=>E.data).catch(E=>be(E.response,o.currency))}},at=o=>{const u=document.createElement("script");u.src="https://widget.cloudpayments.ru/bundles/cloudpayments.js",u.async=!0,u.onload=()=>{var E=new window.cp.CloudPayments;E.pay("auth",o.data,{onSuccess:function(){setTimeout(()=>{window.location.href=window.location.href},5e3)},onFail:function(){},onComplete:function(){setTimeout(()=>{window.location.href=window.location.href},5e3)},onPendingPayment:function(){}})},document.body.appendChild(u)};var ue={exports:{}},de={exports:{}},ke;function it(){if(ke)return de.exports;ke=1;function o(r){return r&&typeof r=="object"&&"default"in r?r.default:r}var u=Te(),E=o(u),I=Ze(),V=o(Ue());function P(){return(P=Object.assign||function(r){for(var a=1;a<arguments.length;a++){var e=arguments[a];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n])}return r}).apply(this,arguments)}function D(r,a){r.prototype=Object.create(a.prototype),r.prototype.constructor=r,(function(e,n){for(var i=Object.getOwnPropertyNames(n),s=0;s<i.length;s++){var p=i[s],g=Object.getOwnPropertyDescriptor(n,p);g&&g.configurable&&e[p]===void 0&&Object.defineProperty(e,p,g)}})(r,a)}function A(r,a){if(r==null)return{};var e,n,i={},s=Object.keys(r);for(n=0;n<s.length;n++)e=s[n],a.indexOf(e)>=0||(i[e]=r[e]);return i}function w(r){return requestAnimationFrame(r)}function H(r){cancelAnimationFrame(r)}function F(r){var a=r.ownerDocument;return a.hasFocus()&&a.activeElement===r}function q(r){return r?.ownerDocument}function j(r){var a=(function(e){var n;return(n=q(e))==null?void 0:n.defaultView})(r);return!!a&&r instanceof a.HTMLElement}function W(r){return u.useCallback((function(){var a=r.current,e=typeof window<"u"&&j(a);if(!a||!e)return null;if(a.nodeName!=="INPUT"&&(a=a.querySelector("input")),!a)throw new Error("react-input-mask: inputComponent doesn't contain input node");return a}),[r])}function oe(r,a){var e,n,i,s,p=u.useRef({start:null,end:null}),g=W(r),y=u.useCallback((function(){return(function(m){var f=m.selectionStart,O=m.selectionEnd;return{start:f,end:O,length:O-f}})(g())}),[g]),C=u.useCallback((function(){return p.current}),[]),d=u.useCallback((function(m){var f=g();f&&F(f)&&((function(O,N,B){B===void 0&&(B=N),O.setSelectionRange(N,B)})(f,m.start,m.end),p.current=y())}),[g,y]),l=u.useCallback((function(){p.current=y()}),[y]),h=(e=l,n=u.useRef(null),i=u.useCallback((function(){n.current===null&&(function m(){e(),n.current=w(m)})()}),[e]),s=u.useCallback((function(){H(n.current),n.current=null}),[]),u.useEffect((function(){n.current&&(s(),i())}),[i,s]),u.useEffect(H,[]),[i,s]),v=h[0],L=h[1];return u.useLayoutEffect((function(){if(a){var m=g();return m.addEventListener("focus",v),m.addEventListener("blur",L),F(m)&&v(),function(){m.removeEventListener("focus",v),m.removeEventListener("blur",L),L()}}})),{getSelection:y,getLastSelection:C,setSelection:d}}function se(r,a){var e=u.useRef(),n=oe(e,a),i=n.getSelection,s=n.getLastSelection,p=n.setSelection,g=(function(l,h){var v=W(l),L=u.useRef(h);return{getValue:u.useCallback((function(){return v().value}),[v]),getLastValue:u.useCallback((function(){return L.current}),[]),setValue:u.useCallback((function(m){L.current=m;var f=v();f&&(f.value=m)}),[v])}})(e,r),y=g.getValue,C=g.getLastValue,d=g.setValue;return{inputRef:e,getInputState:function(){return{value:y(),selection:i()}},getLastInputState:function(){return{value:C(),selection:s()}},setInputState:function(l){var h=l.value,v=l.selection;d(h),p(v)}}}var X=["disabled","onBlur","onChange","onFocus","onMouseDown","readOnly","value"],$={9:/[0-9]/,a:/[A-Za-z]/,"*":/[A-Za-z0-9]/},K=function(r){var a=this;this.isCharacterAllowedAtPosition=function(e,n){var i=a.maskOptions.maskPlaceholder;return!!a.isCharacterFillingPosition(e,n)||!!i&&i[n]===e},this.isCharacterFillingPosition=function(e,n){var i=a.maskOptions.mask;if(!e||n>=i.length)return!1;if(!a.isPositionEditable(n))return i[n]===e;var s=i[n];return new RegExp(s).test(e)},this.isPositionEditable=function(e){var n=a.maskOptions,i=n.mask,s=n.permanents;return e<i.length&&s.indexOf(e)===-1},this.isValueEmpty=function(e){return e.split("").every((function(n,i){return!a.isPositionEditable(i)||!a.isCharacterFillingPosition(n,i)}))},this.isValueFilled=function(e){return a.getFilledLength(e)===a.maskOptions.lastEditablePosition+1},this.getDefaultSelectionForValue=function(e){var n=a.getFilledLength(e),i=a.getRightEditablePosition(n);return{start:i,end:i}},this.getFilledLength=function(e){return(function(n,i){for(var s=n.length-1;s>=0;s--)if(i(n[s],s))return s;return-1})(e.split(""),(function(n,i){return a.isPositionEditable(i)&&a.isCharacterFillingPosition(n,i)}))+1}
1,this.getStringFillingLengthAtPosition=function(e,n){return e.split("").reduce((function(i,s){return a.insertCharacterAtPosition(i,s,i.length)}),(function(i,s){s===void 0&&(s=1);for(var p="",g=0;g<s;g++)p+=i;return p})(" ",n)).length-n},this.getLeftEditablePosition=function(e){for(var n=e;n>=0;n--)if(a.isPositionEditable(n))return n;return null},this.getRightEditablePosition=function(e){for(var n=a.maskOptions.mask,i=e;i<n.length;i++)if(a.isPositionEditable(i))return i;return null},this.formatValue=function(e){var n=a.maskOptions,i=n.maskPlaceholder,s=n.mask;if(!i){for(e=a.insertStringAtPosition("",e,0);e.length<s.length&&!a.isPositionEditable(e.length);)e+=s[e.length];return e}return a.insertStringAtPosition(i,e,0)},this.clearRange=function(e,n,i){if(!i)return e;var s=n+i,p=a.maskOptions,g=p.maskPlaceholder,y=p.mask,C=e.split("").map((function(d,l){var h=a.isPositionEditable(l);return!g&&l>=s&&!h?"":l<n||l>=s?d:h?g?g[l]:"":y[l]})).join("");return a.formatValue(C)},this.insertCharacterAtPosition=function(e,n,i){var s=a.maskOptions,p=s.mask,g=s.maskPlaceholder;if(i>=p.length)return e;var y=a.isCharacterAllowedAtPosition(n,i),C=a.isPositionEditable(i),d=a.getRightEditablePosition(i),l=g&&d?n===g[d]:null,h=e.slice(0,i);return!y&&C||(e=h+(y?n:p[i])),y||C||l||(e=a.insertCharacterAtPosition(e,n,i+1)),e},this.insertStringAtPosition=function(e,n,i){var s=a.maskOptions,p=s.mask,g=s.maskPlaceholder;if(!n||i>=p.length)return e;var y=n.split(""),C=a.isValueFilled(e)||!!g,d=e.slice(i);return e=y.reduce((function(l,h){return a.insertCharacterAtPosition(l,h,l.length)}),e.slice(0,i)),C?e+=d.slice(e.length-i):a.isValueFilled(e)?e+=p.slice(e.length).join(""):e=d.split("").filter((function(l,h){return a.isPositionEditable(i+h)})).reduce((function(l,h){var v=a.getRightEditablePosition(l.length);return v===null?l:(a.isPositionEditable(l.length)||(l+=p.slice(l.length,v).join("")),a.insertCharacterAtPosition(l,h,l.length))}),e),e},this.processChange=function(e,n){var i=a.maskOptions,s=i.mask,p=i.prefix,g=i.lastEditablePosition,y=e.value,C=e.selection,d=n.value,l=n.selection,h=y,v="",L=0,m=0,f=Math.min(l.start,C.start);return C.end>l.start?(v=h.slice(l.start,C.end),m=(L=a.getStringFillingLengthAtPosition(v,f))?l.length:0):h.length<d.length&&(m=d.length-h.length),h=d,m&&(m===1&&!l.length&&(f=l.start===C.start?a.getRightEditablePosition(C.start):a.getLeftEditablePosition(C.start)),h=a.clearRange(h,f,m)),h=a.insertStringAtPosition(h,v,f),(f+=L)>=s.length?f=s.length:f<p.length&&!L?f=p.length:f>=p.length&&f<g&&L&&(f=a.getRightEditablePosition(f)),{value:h=a.formatValue(h),enteredString:v,selection:{start:f,end:f}}},this.maskOptions=(function(e){var n=e.mask,i=e.maskPlaceholder,s=[];if(!n)return{maskPlaceholder:null,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};if(typeof n=="string"){var p=!1,g="";n.split("").forEach((function(d){p||d!=="\\"?(!p&&$[d]||s.push(g.length),g+=d,p=!1):p=!0})),n=g.split("").map((function(d,l){return s.indexOf(l)===-1?$[d]:d}))}else n.forEach((function(d,l){typeof d=="string"&&s.push(l)}));i&&(i=i.length===1?n.map((function(d,l){return s.indexOf(l)!==-1?d:i})):i.split(""),s.forEach((function(d){i[d]=n[d]})),i=i.join(""));for(var y=s.filter((function(d,l){return d===l})).map((function(d){return n[d]})).join(""),C=n.length-1;s.indexOf(C)!==-1;)C--;return{maskPlaceholder:i,prefix:y,mask:n,lastEditablePosition:C,permanents:s}})(r)},R=(function(r){function a(){return r.apply(this,arguments)||this}return D(a,r),a.prototype.render=function(){var e=this.props,n=e.children,i=A(e,["children"]);return E.cloneElement(n,i)},a})(E.Component),Y=u.forwardRef((function(r,a){var e=r.alwaysShowMask,n=r.children,i=r.mask,s=r.maskPlaceholder,p=r.beforeMaskedStateChange,g=A(r,["alwaysShowMask","children","mask","maskPlaceholder","beforeMaskedStateChange"]);(function(b){var k=b.mask,S=b.maskPlaceholder;k&&S&&S.length!==1&&S.length!==k.length&&V(!1)})(r);var y,C,d=new K({mask:i,maskPlaceholder:s}),l=!!i,h=!g.disabled&&!g.readOnly,v=r.value!==null&&r.value!==void 0,L=(y=l,C=u.useRef(),u.useEffect((function(){C.current=y})),C.current),m=se((function(b){return""+b})((v?r.value:r.defaultValue)||""),l),f=m.inputRef,O=m.getInputState,N=m.setInputState,B=m.getLastInputState,G=W(f);if(l&&v){var Q=G(),c=Q&&F(Q)||e||r.value?d.formatValue(r.value):r.value;p&&(c=p({nextState:{value:c,selection:{start:null,end:null}}}).value),N(P({},B(),{value:c}))}var U=B(),J=U.selection,le=U.value;
1u.useLayoutEffect((function(){if(l){var b=F(G()),k=J,S=O(),_=P({},S);if(!v){var z=S.value,te=d.formatValue(z),ne=d.isValueEmpty(te);!ne||b||e?_.value=te:ne&&!b&&(_.value="")}b&&!L?_.selection=d.getDefaultSelectionForValue(_.value):v&&b&&k&&k.start!==null&&k.end!==null&&(_.selection=k),p&&(_=p({currentState:S,nextState:_})),N(_)}}));var ee=P({},g,{onFocus:function(b){f.current=b.target;var k=O().value;if(l&&!d.isValueFilled(k)){var S=d.formatValue(k),_=d.getDefaultSelectionForValue(S),z={value:S,selection:_};p&&(S=(z=p({currentState:O(),nextState:z})).value,_=z.selection),N(z),S!==k&&r.onChange&&r.onChange(b),w((function(){N(B())}))}r.onFocus&&r.onFocus(b)},onBlur:function(b){var k=O().value,S=B().value;if(l&&!e&&d.isValueEmpty(S)){var _="",z={value:_,selection:{start:null,end:null}};p&&(_=(z=p({currentState:O(),nextState:z})).value),N(z),_!==k&&r.onChange&&r.onChange(b)}r.onBlur&&r.onBlur(b)},onChange:l&&h?function(b){var k=O(),S=B(),_=d.processChange(k,S);p&&(_=p({currentState:k,previousState:S,nextState:_})),N(_),r.onChange&&r.onChange(b)}:r.onChange,onMouseDown:l&&h?function(b){var k=G(),S=O().value,_=q(k);if(!F(k)&&!d.isValueFilled(S)){var z=b.clientX,te=b.clientY,ne=new Date().getTime();_.addEventListener("mouseup",(function Ve(ge){if(_.removeEventListener("mouseup",Ve),F(k)){var Ne=Math.abs(ge.clientX-z),Be=Math.abs(ge.clientY-te),fe=Math.max(Ne,Be),he=new Date().getTime()-ne;if(fe<=10&&he<=200||fe<=5&&he<=300){var me=B(),ze=P({},me,{selection:d.getDefaultSelectionForValue(me.value)});N(ze)}}}))}r.onMouseDown&&r.onMouseDown(b)}:r.onMouseDown,ref:function(b){f.current=I.findDOMNode(b),(function(k){return typeof k=="function"})(a)?a(b):a!==null&&typeof a=="object"&&(a.current=b)},value:l&&v?le:r.value});return n?((function(b,k){X.filter((function(S){return k.props[S]!=null&&k.props[S]!==b[S]})).length&&V(!1)})(r,n),E.createElement(R,ee,n)):E.createElement("input",ee)}));return Y.displayName="InputMask",Y.defaultProps={alwaysShowMask:!1,maskPlaceholder:"_"},de.exports=Y,de.exports}var Pe;function rt(){return Pe||(Pe=1,ue.exports=it()),ue.exports}var ot=rt();const st=He(ot),Me=` 2 transition: background .3s ease; 3 4 &:hover { 5 background: #333D58; 6 } 7 8 &.focus { 9 background: #394462; 10 } 11`,lt=x.div` 12 border-radius: 8px; 13 border: 1px solid rgba(57, 67, 96, 0.6); 14 background: linear-gradient(180deg, #1c2334 0%, #1f2739 100%); 15 margin-bottom: 26px; 16 padding: 20px; 17 display: flex; 18 flex-direction: column; 19`,ct=x.div` 20 display: grid; 21 grid-template-columns: 1fr 1fr; 22 margin-bottom: 10px; 23 24 h6 { 25 color: #6f7a8c; 26 font-size: 14px; 27 font-weight: 400; 28 29 &:last-child { 30 padding-left: 14px; 31 } 32 } 33`,ut=x.div` 34 display: grid; 35 grid-template-columns: 1fr 1fr; 36 gap: 1px; 37 position: relative; 38 39 input { 40 height: 100%; 41 background: transparent; 42 } 43`,Ie=x.div` 44 background: #2a334a; 45 border-radius: 8px 0 0 8px; 46 height: 56px; 47 display: flex; 48 align-items: center; 49 gap: 5px; 50 padding: 0 14px; 51 ${Me} 52 53 input { 54 color: #d9e4ff; 55 56 &, 57 &::placeholder { 58 font-size: 15px; 59 font-weight: 600; 60 } 61 62 &::placeholder { 63 color: #9ea7be; 64 } 65 } 66`,dt=x.div` 67 background: #2a334a; 68 border-radius: 0 8px 8px 0; 69 height: 56px; 70 display: flex; 71 align-items: center; 72 gap: 5px; 73 padding: 0 14px 0 28px; 74 ${Me} 75 76 img { 77 width: 20px; 78 height: 20px; 79 } 80 81 input { 82 &, 83 &::placeholder { 84 color: #ffab3e; 85 font-size: 15px; 86 font-weight: 600; 87 } 88 } 89`,pt=x.div` 90 position: absolute; 91 left: 50%; 92 top: 50%; 93 transform: translate(-50%, -50%); 94 border-radius: 4px; 95 background: #1e2637; 96 width: 26px; 97 height: 26px; 98 display: flex; 99 align-items: center; 100 justify-content: center; 101 z-index: 2; 102`,gt=x.label` 103 margin-bottom: 0; 104 font-family: var(--font-family-1); 105 font-weight: bold; 106 display: block; 107 padding-left: 30px; 108 cursor: pointer; 109 font-size: 14px; 110 user-select: none; 111 112 input { 113 position: absolute; 114 opacity: 0; 115 cursor: pointer; 116 height: 0; 117 width: 0; 118 } 119 120 &:hover input ~ .checkmark, 121 .checkmark { 122 background: #19212c; 123 } 124 125 p, 126 a { 127 color: #738092; 128 font-size: 13px; 129 font-weight: 400; 130 line-height: 20px; 131 } 132 133 a { 134 transition: color 0.2s ease; 135 color: #b1bfd7; 136 } 137 138 .checkmark { 139 position: absolute; 140 top: -1px; 141 left: 0; 142 height: 20px;
143 width: 20px; 144 border-radius: 6px; 145 border: 1px solid #3e4e8c; 146 147 &::after { 148 content: ''; 149 position: absolute; 150 left: 50%; 151 top: 50%; 152 display: none; 153 transform: translate(-50%, -50%); 154 width: 10px; 155 height: 7.3px; 156 background: url(${Z("/img/icons/check.svg")}) 157 no-repeat center center / cover; 158 } 159 160 &::before { 161 content: ''; 162 position: absolute; 163 left: 0; 164 top: 0; 165 width: 100%; 166 height: 100%; 167 display: block; 168 opacity: 0; 169 transition: all 1s ease; 170 border-radius: 4px; 171 background: rgba(96, 128, 255, 0.2); 172 border: 1px solid #6080ff; 173 } 174 } 175 176 input:checked ~ .checkmark { 177 background-color: #1f2534 !important; 178 179 &::after { 180 display: block; 181 } 182 } 183 184 .bouncing-check { 185 &::before { 186 opacity: 1; 187 } 188 } 189`,ft=x.div``,je=x(Ie)` 190 border-radius: 8px; 191 margin-bottom: 20px; 192 193 input { 194 background: transparent; 195 height: 100%; 196 } 197`,ht=x.div``,mt=o=>{const{t:u}=re(),{focus:E,setFocus:I}=o,V=Ae(),P=T(w=>w.payments.exchange),D=()=>o.activePayment.alt==="skinsback"||o.activePayment.alt==="gamemoney"?"none":"flex";M.useEffect(()=>{A(o.depositPointsAmount,"points")},[o.currency]);const A=(w,H)=>{V(Ee(!1));let F=P[o.currency?.name]??1;H==="points"?(o.setDepositPointsAmount(w),o.setDepositAmount(_e(w/F,2))):H==="currency"&&(o.setDepositAmount(w),o.setDepositPointsAmount(Number.parseInt(w*F)))};return t.jsxs(lt,{children:[t.jsxs(ft,{style:{display:D(),flexDirection:"column"},children:[!o.hide&&t.jsxs("div",{style:{marginBottom:20},children:[t.jsxs(ct,{children:[t.jsx("h6",{children:u("SummToPay")}),t.jsx("h6",{children:u("YouWillGet")})]}),t.jsx(ht,{children:t.jsxs(ut,{children:[t.jsx(pt,{children:t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:t.jsx("path",{d:"M15.4201 9.79555L10.9203 14.2954C10.701 14.5148 10.4129 14.625 10.1249 14.625C9.83696 14.625 9.54894 14.5148 9.32957 14.2954C8.88972 13.8556 8.88972 13.1445 9.32957 12.7046L13.034 9.00016L9.32957 5.29567C8.88972 4.85581 8.88972 4.14476 9.32957 3.7049C9.76943 3.26503 10.4805 3.26503 10.9203 3.7049L15.4201 8.20477C15.86 8.64463 15.86 9.35568 15.4201 9.79555ZM8.67043 8.20477L4.17064 3.7049C3.73078 3.26503 3.01975 3.26503 2.57989 3.7049C2.14004 4.14476 2.14004 4.85581 2.57989 5.29567L6.28431 9.00016L2.57989 12.7046C2.14004 13.1445 2.14004 13.8556 2.57989 14.2954C2.79926 14.5148 3.08728 14.625 3.37526 14.625C3.66325 14.625 3.95127 14.5148 4.17064 14.2954L8.67043 9.79555C9.11028 9.35568 9.11028 8.64463 8.67043 8.20477Z",fill:"#5F6888"})})}),t.jsxs(Ie,{className:E===1&&"focus",children:[t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",children:t.jsx("path",{d:"M16.9583 4.125H5.04167C3.05556 4.125 2.0625 5.10714 2.0625 7.07143V14.9286C2.0625 16.8929 3.05556 17.875 5.04167 17.875H16.9583C18.9444 17.875 19.9375 16.8929 19.9375 14.9286V7.07143C19.9375 5.10714 18.9444 4.125 16.9583 4.125ZM5.04167 11.9821C4.49549 11.9821 4.04861 11.5402 4.04861 11C4.04861 10.4598 4.49549 10.0179 5.04167 10.0179C5.58785 10.0179 6.03472 10.4598 6.03472 11C6.03472 11.5402 5.58785 11.9821 5.04167 11.9821ZM11 13.9464C9.35153 13.9464 8.02083 12.6304 8.02083 11C8.02083 9.36964 9.35153 8.05357 11 8.05357C12.6485 8.05357 13.9792 9.36964 13.9792 11C13.9792 12.6304 12.6485 13.9464 11 13.9464ZM16.9583 11.9821C16.4122 11.9821 15.9653 11.5402 15.9653 11C15.9653 10.4598 16.4122 10.0179 16.9583 10.0179C17.5045 10.0179 17.9514 10.4598 17.9514 11C17.9514 11.5402 17.5045 11.9821 16.9583 11.9821Z",fill:"#707A9B"})}),t.jsx("input",{onChange:w=>A(w.target.value,"currency"),name:"rubles-input",type:"number",value:o.depositAmount,placeholder:"0",onFocus:()=>I(1),onBlur:()=>I(!1)})]}),t.jsxs(dt,{className:E===2&&"focus",children:[t.jsx("img",{loading:"lazy",src:Z("/img/general/coin1.png"),alt:""}),t.jsx("input",{onChange:w=>A(w.target.value,"points"),value:o.depositPointsAmount,type:"number",name:"cybercoins-input",placeholder:"0",onF
197ocus:()=>I(2),onBlur:()=>I(!1),className:E===2&&"focus"})]})]})})]}),o.showPhone&&t.jsxs(je,{children:[t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",children:t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.2084 2.75H7.79171C6.01979 2.75 4.58337 4.18642 4.58337 5.95833V16.0417C4.58337 17.8136 6.01979 19.25 7.79171 19.25H14.2084C15.9803 19.25 17.4167 17.8136 17.4167 16.0417V5.95833C17.4167 4.18642 15.9803 2.75 14.2084 2.75ZM9.62504 15.8125C9.24535 15.8125 8.93754 16.1203 8.93754 16.5C8.93754 16.8797 9.24535 17.1875 9.62504 17.1875H12.375C12.7547 17.1875 13.0625 16.8797 13.0625 16.5C13.0625 16.1203 12.7547 15.8125 12.375 15.8125H9.62504Z",fill:"#707A9B"})}),t.jsx(st,{mask:"+9 999 999 99 99 99",maskPlaceholder:null,onChange:w=>o.setPhoneNumber(w.target.value),value:o.phoneNumber,name:"deposit__phone-input",placeholder:"+_ ___ ___ __ __"})]}),o.activePayment.email&&!o.email&&t.jsxs(je,{className:E===4&&"focus",children:[t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",children:t.jsx("path",{d:"M9.49666 10.7341L2.92416 6.06843C3.2936 5.47479 3.80802 4.98493 4.41901 4.64494C5.03 4.30495 5.71745 4.12602 6.41666 4.125H15.5834C16.2816 4.12537 16.9683 4.30302 17.5792 4.64129C18.1901 4.97955 18.705 5.46737 19.0759 6.05902L12.5217 10.7158C12.0745 11.0144 11.5496 11.1753 11.0119 11.1786C10.4742 11.1819 9.94738 11.0273 9.49666 10.7341ZM19.69 7.88343L13.5667 12.2282C12.8034 12.7357 11.9074 13.0068 10.9908 13.0075C10.0899 13.0067 9.20946 12.7387 8.46081 12.2376L2.31 7.88343C2.30085 8.0025 2.29166 8.13093 2.29166 8.25V13.75C2.2933 14.8435 2.72843 15.8918 3.50166 16.665C4.27489 17.4382 5.32314 17.8734 6.41666 17.875H15.5834C16.6769 17.8734 17.7251 17.4382 18.4983 16.665C19.2716 15.8918 19.7067 14.8435 19.7084 13.75V8.25C19.7084 8.13093 19.6992 8.0025 19.69 7.88343Z",fill:"#707A9B"})}),t.jsx("input",{type:"email",placeholder:u("YourEmail"),onChange:w=>o.setEmailInput(w.target.value),onFocus:()=>I(4),onBlur:()=>I(!1),className:E===4&&"focus"})]})]}),t.jsxs(gt,{className:"container",children:[t.jsx("input",{className:"filter",type:"checkbox",checked:o.checked,onChange:()=>o.setChecked(!o.checked)}),t.jsx("span",{className:We("checkmark",o.bounce&&"bouncing-check")}),t.jsx("p",{dangerouslySetInnerHTML:{__html:u("AcceptTermsInDeposit")}})]})]})},Re=o=>o.alt=="skinsback"?ie.get("lang_g")=="ru"?"by_skins":"by_skins_en":o.image_alt??o.alt,xt=x.div` 198 border-radius: 13px; 199 background: #141825; 200 padding: 20px; 201 202 @media (max-width: 750px) { 203 padding: 0px; 204 background: transparent; 205 } 206`,vt=x.div` 207 display: flex; 208 z-index: 4; 209 gap: 1px; 210 margin-bottom: 10px; 211 212 @media (max-width: 750px) { 213 flex-direction: column; 214 } 215`,bt=x.div` 216 padding: 19px 17px; 217 border-radius: 8px 0px 0px 8px; 218 border-right: 1px solid #161b29; 219 background: #1e2537; 220 color: #6f7a8c; 221 font-size: 14px; 222 font-weight: 400; 223 white-space: nowrap; 224 225 @media (max-width: 750px) { 226 border-radius: 8px 8px 0px 0px; 227 border: none; 228 } 229`,yt=x.ul` 230 display: grid; 231 grid-template-columns: 1fr 1fr 1fr; 232 gap: 6px; 233 max-height: 312px; 234 235 @media (max-width: 750px) { 236 grid-template-columns: 1fr 1fr; 237 } 238`,Oe=x.li` 239 border-radius: 8px; 240 background: linear-gradient( 241 180deg, 242 rgba(25, 31, 48, 0.6) -10%, 243 rgba(34, 41, 61, 0.6) 100% 244 ); 245 height: 100px; 246 display: flex; 247 align-items: center; 248 justify-content: center; 249 cursor: pointer; 250 border: 1px solid transparent; 251 overflow: hidden; 252 transition: border-color 0.3s ease; 253 254 .hover, 255 .blue-gradient, 256 .method__currency { 257 position: absolute; 258 } 259 260 .hover, 261 .blue-gradient { 262 transition: opacity 0.3s ease; 263 opacity: 0; 264 left: 0; 265 top: 0; 266 width: 100%; 267 height: 100%; 268 } 269 270 .hover { 271 background: linear-gradient(180deg, #1b2133 -10.43%, #272f44 100%); 272 } 273 274 .blue-gradient { 275 background: linear-gradient(0deg, #2a3767 -26.5%, #202947 100%); 276 } 277 278 &:hover { 279 .hover { 280 opacity: 1; 281 } 282 } 283 284 &.active { 285 border-color: #364994; 286 287 .blue-gradient { 288 opacity: 1; 289 } 290 291 .hover { 292 opacity: 0; 293 } 294 } 295 296 .method__currency { 297 top: 8px; 298 right: 8px; 299 display: block; 300 width: auto; 301 height: auto; 302 padding: 6px 8px; 303 border-radius: 6px; 304 border: 1px solid rgba(104, 117, 161, 0.19); 305 background: rgba(38, 41, 53, 0.6); 306 backdrop-filter: blur(3px); 307 color: #88969c; 308 font-family: 'Gotham'; 309 font-weight: 400; 310 z-index: 2; 311 font-size: 10px; 312 line-height: 120.2%; 313 } 314`,pe=x.div` 315 padding: 15px; 316 border-radius: 0px 8px 8px 0px; 317 background: #1b2131; 318 display: flex; 319 align-items: center; 320 justify-content: space-between; 321 width: 100%; 322 cursor: pointer; 323 transition: background 0.2s ease; 324 325 &:hover { 326 background: #222a3e; 327 } 328 329 &.open { 330 border-radius: 0px 8px 0px 0px; 331 background: #263047; 332 333 & > svg { 334 transform: rotate(180deg); 335 } 336 } 337 338 svg { 339 transition: transform 0.2s ease; 340 } 341 342 div { 343 display: flex; 344 align-items: center; 345 gap: 9px; 346 } 347 348 p { 349 font-size: 14px; 350 } 351 352 span { 353 color: #6a7587; 354 font-size: 12px; 355 } 356 357 @media (max-width: 750px) { 358 border-radius: 0px 0px 8px 8px; 359 } 360`,Ct=x(Oe)` 361 font-weight: 900; 362 font-size: 16px; 363 justify-content: flex-start;
364 align-items: flex-end; 365 padding: 12px; 366 367 .method__currency { 368 text-transform: none; 369 } 370 371 & > img { 372 width: 15px; 373 height: auto; 374 margin-left: 5px; 375 top: -3px; 376 } 377`,wt=x.div` 378 position: absolute; 379 top: 100%; 380 left: 0; 381 width: 100%; 382 padding: 15px; 383 border-radius: 0px 0px 8px 8px; 384 background: #242d44; 385 box-shadow: 0px 21px 26px 0px #151b29; 386 z-index: 1; 387 display: flex; 388 flex-direction: column; 389 gap: 2px; 390 391 ${pe} { 392 border-radius: 8px; 393 background: #2c3751; 394 transition: all 0.2s ease; 395 396 &:hover { 397 background: #35425f; 398 } 399 400 &.active { 401 opacity: 0.5; 402 } 403 } 404`,Se=x.div` 405 position: absolute; 406 left: 8px; 407 top: 8px; 408 border-radius: 4px; 409 background: #6080ff; 410 display: flex; 411 align-items: center; 412 justify-content: center; 413 padding: 3px; 414`,kt=x.div` 415 position: absolute; 416 height: 100%; 417 right: 0; 418 top: 0; 419 z-index: 1; 420 421 img { 422 height: 100%; 423 } 424`,Pt=({currency:o,changePaymentSystem:u,page:E,currencies:I,setCurrency:V,activePayment:P,openedFromPremium:D})=>{const{t:A}=re(),[w,H]=M.useState(!1),F=T(j=>j.auth.balance),q=T(j=>j.payments.paymentSystems);return t.jsxs(xt,{children:[!D&&t.jsxs(vt,{children:[t.jsx(bt,{children:A("ChooseCurrency")}),t.jsxs("div",{style:{width:"100%"},children:[t.jsxs(pe,{style:{height:54},onClick:()=>H(!w),className:w&&"open",children:[t.jsxs("div",{children:[t.jsx("img",{loading:"lazy",src:Z(`/img/flags_full/${o?.name?.toLowerCase()}.svg`),alt:""}),t.jsxs("p",{children:[o?.name," ",t.jsxs("span",{children:["(",A(o?.name),")"]})]})]}),t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:t.jsx("path",{d:"M13.0212 4.15582L12.4952 3.60355C12.3568 3.46548 12.1353 3.46548 12.0246 3.60355L7.01384 8.60158L1.97542 3.60355C1.86469 3.46548 1.64322 3.46548 1.5048 3.60355L0.978814 4.15582C0.840395 4.26627 0.840395 4.48718 0.978814 4.62525L6.76469 10.3965C6.90311 10.5345 7.09689 10.5345 7.23531 10.3965L13.0212 4.62525C13.1596 4.48718 13.1596 4.26627 13.0212 4.15582Z",fill:"#8898AC"})})]}),w&&t.jsx(wt,{children:I?.map(j=>t.jsx(pe,{onClick:()=>{V(j),H(!1)},className:j.id==o?.id&&"active",children:t.jsxs("div",{children:[t.jsx("img",{loading:"lazy",src:Z(`/img/flags_full/${j.name.toLowerCase()}.svg`),alt:""}),t.jsxs("p",{children:[j.name," ",t.jsxs("span",{children:["(",A(j.name),")"]})]})]})}))})]})]}),t.jsxs(yt,{children:[E==="premium-buy"&&t.jsxs(Ct,{onClick:()=>u({alt:"balance",currency:["â½"]}),className:P.alt==="balance"&&"active",children:[t.jsx(kt,{children:t.jsx("img",{loading:"lazy",src:Z("/img/modals/deposit/balance-bg.png"),alt:""})}),t.jsx("div",{className:"hover"}),t.jsx("div",{className:"blue-gradient"}),t.jsx("div",{children:F}),t.jsx("img",{loading:"lazy",src:Z("/img/general/coin1.png"),alt:""}),t.jsx("div",{className:"method__currency",children:A("SiteBalance")}),P.alt==="balance"&&t.jsx(Se,{children:t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.633 2.86176C10.9557 3.17744 10.9557 3.68926 10.633 4.00495L4.76059 9.75L1.36701 6.43001C1.04433 6.11432 1.04433 5.6025 1.36701 5.28682C1.68969 4.97114 2.21285 4.97114 2.53553 5.28682L4.76059 7.46363L9.46447 2.86176C9.78715 2.54608 10.3103 2.54608 10.633 2.86176Z",fill:"white"})})})]}),q.map((j,W)=>t.jsxs(Oe,{onClick:()=>u(j),className:j.alt===P.alt&&"active",children:[t.jsx("div",{className:"hover"}),t.jsx("div",{className:"blue-gradient"}),t.jsx("img",{loading:"lazy",src:Z(`/img/payments/${Re(j)}.svg`),alt:""}),j.label&&t.jsx("div",{className:"method__currency",children:j.label}),j.alt===P.alt&&t.jsx(Se,{children:t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.633 2.86176C10.9557 3.17744 10.9557 3.68926 10.633 4.00495L4.76059 9.75L1.36701 6.43001C1.04433 6.11432 1.04433 5.6025 1.36701 5.28682C1.68969 4.97114 2.21285 4.97114 2.53553 5.28682L4.76059 7.46363L9.46447 2.86176C9.78715 2.54608 10.3103 2.54608 10.633 2.86176Z",fill:"white"})})})]},W))]})]})},De=x.div` 425 border-radius: 15px; 426 background: #171c2a; 427 width: 1000px; 428 padding: 40px 40px 24px 40px; 429 display: flex; 430 flex-direction: column; 431 gap: 24px; 432 433 &.pb { 434 padding-bottom: 40px; 435 } 436 437 @media (max-width: 750px) { 438 max-width: 95%; 439 padding: 24px; 440 } 441`,jt=x.div` 442 display: flex; 443 align-items: center; 444 gap: 12px; 445 446 h2 { 447 font-size: 24px; 448 font-weight: 800; 449 } 450 451 img { 452 width: 26px;
453 height: 26px; 454 } 455 456 @media (max-width: 750px) { 457 h2 { 458 font-size: 20px; 459 } 460 461 img { 462 width: 22px; 463 height: 22px; 464 } 465 } 466`,St=x.div` 467 display: grid; 468 grid-template-columns: 1fr 393px; 469 gap: 24px; 470 471 @media (max-width: 750px) { 472 grid-template-columns: 1fr; 473 gap: 12px; 474 } 475`,Et=x.p` 476 color: rgba(101, 112, 129, 0.6); 477 text-align: center; 478 font-size: 13px; 479 font-weight: 400; 480`,_t=x.div``,Lt=x.div` 481 height: 66px; 482 padding: 0 20px; 483 border-radius: 8px; 484 background: linear-gradient(90deg, #3b466d 0%, #2e3655 71.86%); 485 display: flex; 486 align-items: center; 487 justify-content: space-between; 488 margin-bottom: 16px; 489 490 p { 491 color: #bfd5ff; 492 font-size: 15px; 493 font-weight: 500; 494 } 495 496 img { 497 max-height: 60%; 498 max-width: 80px; 499 } 500`,At=x.div` 501 display: flex; 502 align-items: center; 503 justify-content: flex-start; 504 height: 52px; 505 gap: 8px; 506 margin-bottom: 12px; 507 508 button { 509 padding: 0 20px; 510 display: flex; 511 align-items: center; 512 gap: 8px; 513 border-radius: 8px; 514 border: 2px solid rgba(96, 128, 255, 0.4); 515 background: rgba(96, 128, 255, 0.05); 516 color: #6080ff; 517 font-size: 14px; 518 font-weight: 700; 519 height: 100%; 520 } 521`,Mt=x.button` 522 display: flex; 523 align-items: center; 524 justify-content: center; 525 gap: 8px; 526 background: #6080ff; 527 color: #ffffff; 528 padding: 20px 0; 529 width: 100%; 530 font-weight: 700; 531 font-size: 14px; 532 text-transform: uppercase; 533 border-radius: 12px; 534 transition: all 0.2s; 535 float: right; 536 537 &:hover { 538 filter: brightness(110%); 539 } 540 541 img { 542 width: 18px; 543 height: 18px; 544 } 545`,It=x.div` 546 display: flex; 547 align-items: center; 548 gap: 8px; 549 padding: 0 15px; 550 height: 100%; 551 border-radius: 8px; 552 width: 100%; 553 background: #21283b; 554 transition: all 0.2s ease; 555 556 input { 557 height: 100%; 558 background: transparent; 559 font-family: Roboto; 560 561 &, 562 &::placeholder { 563 color: #9ea7be; 564 transition: color 0.2s ease; 565 font-size: 14px; 566 font-weight: 500; 567 } 568 569 path { 570 transition: all 0.2s ease; 571 } 572 } 573 574 &:hover { 575 background: #262e44; 576 } 577 578 &.focus { 579 background: #2a324a; 580 581 path { 582 fill: #d9e4ff; 583 } 584 585 input, 586 input::placeholder { 587 color: #d9e4ff; 588 } 589 } 590`,Rt=()=>{const{t:o}=re(),u=Ae(),E=T(c=>c.root.isTelegramWebApp),I=T(c=>c.payments.paymentSystems),V=T(c=>c.auth.email),P=T(c=>c.modals.data.DEPOSIT_MODAL),D=T(c=>c.modals.modalId=="DEPOSIT_MODAL"),A=T(c=>c.payments.exchange),w=T(c=>Object.values(c.payments.exchangeData)),H=T(c=>c.auth.balance),F=T(c=>c.payments.defaultPayment),[q,j]=M.useState(!1),[W,oe]=M.useState(P.autoChecked),[se,X]=M.useState(!1),[$,K]=M.useState(""),[R,Y]=M.useState(I[0]??{}),[r,a]=M.useState(!1),[e,n]=M.useState(null),[i,s]=M.useState(null),[p,g]=M.useState(""),[y,C]=M.useState(null),[d,l]=M.useState(!1),[h,v]=M.useState(!1),[L,m]=M.useState(w.find(c=>c.id==I[0]?.currency?.[0]));M.useEffect(()=>{if(D===!1)n(null),s(null);else{P.page=="premium-buy"&&Y({alt:"balance"});const c=A[L?.name]??1;let U=P.buyingPrice-H;U<=0&&(U=F.sum_coins),s(U),n(_e(U/c,2))}f||u(Ee(!1))},[D]);const f=P.page=="premium"||P.page=="premium-buy",O=c=>{if(g(""),Y(c),a(!!c.phone),c.currency_data){const U=Object.values(c.currency_data)[0];if(U)m(U),u($e(c.currency_data));else{const J=w.find(le=>c.currency.some(ee=>ee==le.id));m(J||{id:"â½",name:"RUB"})}}},N=()=>u(ye(null)),B=()=>{if(!d){if($!="")return l(!0),Ce.savePromo($).then(c=>{c&&(K(""),ae(o(c.data.text??"PROMO-SUCCESSFULLY-ACTIVATED")))}).finally(()=>l(!1));ce(o("EnterYourPromocode"))}},G=()=>{et(o("AcceptTermsNotification")),X(!0),setTimeout(()=>{X(!1)},500)},Q=()=>{if(!h){if(f?we("premium_pay_button_click",{plan:P.premId,method:R.alt,currency:L?.name,total_value:e,promocode:$}):we("balance_top_up_click",{received_amount:i,method:R.alt,currency:L?.name,paid_amount:e,promocode:$}),R.alt=="balance")return v(!0),tt.buyPrem(P.premId).then(c=>{if(c?.result!="error"){if(u(qe({step:"setNew",summ:c.data.money})),c.code==205)return ae(o("NoMoneyOnBalance"));c.data&&(u(Ye({group:c.data.privilege=="LITE"?"LITE":"PREMIUM",expires:c.data.endtime,expires_date:Xe(c.data.endtime),date_buy:Ge()})),u(ye("VIP_PURCHASE",{type:c.data.privilege,endtime:c.data.endtime}))),c.code==200&&ae(Ke(c.alert_text))}}).finally(()=>v(!1));if(R.email&&!V){if(!y||!Qe(y))return j(4),setTimeout(()=>{j(!1)},[400]),ce(o("EmailForDeposit"));Ce.setSettings(`option=update_email&email=${y}`).then(c=>{c&&u(Je(y))})}
590if(R.alt&&e)return f&&(window.autobuy=1,window.autobuyId=P.premId),v(!0),nt.deposit(R.alt=="sberbank"?"unitpay":R.alt,e,p.replace(/[^\d;]/g,""),ie.get("lang_g"),L?.name).then(c=>{c?.result=="success"&&(R.alt=="cloudpayments"?at(c):document.location.href=c.href,ae(o("PAYMENT-PROGRESS")))}).finally(()=>v(!1));R.alt||ce(o("SelectPaymentOrEnterPromo"))}};return E?t.jsx(Fe,{closeModal:N}):t.jsxs(De,{className:ie.get("lang_g")=="ru"&&"pb",children:[t.jsx(Le,{}),t.jsxs(jt,{children:[t.jsx("img",{loading:"lazy",src:Z("/img/modals/deposit/wallet.svg"),alt:""}),t.jsx("h2",{children:o(f?"RegisterSub":"Refill2")})]}),t.jsxs(St,{children:[t.jsx(Pt,{activePayment:R,currency:L,setCurrency:m,changePaymentSystem:O,page:P.page,currencies:w,openedFromPremium:f}),t.jsxs(_t,{children:[t.jsxs(Lt,{children:[t.jsx("p",{children:o("PickedPaymentSystem")}),R.alt==="balance"?t.jsx("p",{children:o("Balance")}):t.jsx("img",{loading:"lazy",src:Z(`/img/payments/${Re(R)}.svg`),alt:""})]}),t.jsxs(At,{children:[t.jsxs(It,{className:q===!0&&"focus",children:[t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",children:t.jsx("path",{d:"M19.9375 9.36719V6.40234C19.9375 4.42578 18.9444 3.4375 16.9583 3.4375H5.04167C3.05556 3.4375 2.0625 4.42578 2.0625 6.40234V9.36719C3.15486 9.36719 4.04861 10.2566 4.04861 11.3438C4.04861 12.4309 3.15486 13.3203 2.0625 13.3203V16.2852C2.0625 18.2617 3.05556 19.25 5.04167 19.25H16.9583C18.9444 19.25 19.9375 18.2617 19.9375 16.2852V13.3203C18.8451 13.3203 17.9514 12.4309 17.9514 11.3438C17.9514 10.2566 18.8451 9.36719 19.9375 9.36719ZM8.5273 7.88477H8.53724C9.0864 7.88477 9.5303 8.32752 9.5303 8.87305C9.5303 9.41858 9.0864 9.86133 8.53724 9.86133C7.98908 9.86133 7.53922 9.41858 7.53922 8.87305C7.53922 8.32752 7.97914 7.88477 8.5273 7.88477ZM8.51736 14.5557C8.32669 14.5557 8.136 14.4835 7.99101 14.3382C7.70005 14.0487 7.70005 13.5792 7.99101 13.2897L12.9563 8.34826C13.2473 8.0587 13.719 8.0587 14.01 8.34826C14.3009 8.63783 14.3009 9.10727 14.01 9.39683L9.04468 14.3382C8.8987 14.4835 8.70803 14.5557 8.51736 14.5557ZM13.5025 14.8027C12.9544 14.8027 12.5045 14.36 12.5045 13.8145C12.5045 13.2689 12.9444 12.8262 13.4926 12.8262H13.5025C14.0517 12.8262 14.4956 13.2689 14.4956 13.8145C14.4956 14.36 14.0507 14.8027 13.5025 14.8027Z",fill:"#9CA4BE"})}),t.jsx("input",{value:$,onChange:c=>K(c.target.value),type:"text",placeholder:o("ENTER-A-CODE"),onFocus:()=>j(!0),onBlur:()=>j(!1)})]}),t.jsxs("button",{onClick:B,disabled:d,children:[o("Apply"),t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",children:t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.4495 4.29264C16.9335 4.76616 16.9335 5.5339 16.4495 6.00742L7.64089 14.625L2.55051 9.64501C2.0665 9.17149 2.0665 8.40376 2.55051 7.93023C3.03453 7.45671 3.81928 7.45671 4.3033 7.93023L7.64089 11.1954L14.6967 4.29264C15.1807 3.81912 15.9655 3.81912 16.4495 4.29264Z",fill:"#6080FF"})})]})]}),t.jsx(mt,{activePayment:R,depositPointsAmount:i,depositAmount:e,setDepositPointsAmount:s,setDepositAmount:n,currency:L,hide:f,checked:W,setChecked:oe,showPhone:r,bounce:se,phoneNumber:p,setPhoneNumber:g,email:V,setEmailInput:C,focus:q,setFocus:j}),t.jsxs(Mt,{onClick:W?Q:G,disabled:h,children:[o(f?"Pay":"UpYourBalance"),t.jsx("img",{loading:"lazy",src:Z("/img/modals/deposit/wallet.svg"),alt:""})]})]})]}),ie.get("lang_g")!="ru"&&t.jsx(Et,{children:"CYBERSHOKE ESPORTS LIMITED Room 8, S-V, 6/F, Valiant Industrial Centre, 2-12 Au Pui Wan Street, Fo Tan, New Territories, Hong Kong"})]})},Ot=x.div` 591 display: flex; 592 flex-direction: column; 593 align-items: center; 594 gap: 16px; 595 padding: 24px 0; 596 597 & > img { 598 width: 100px; 599 } 600 601 & > h4 { 602 font-size: 18px; 603 text-transform: none; 604 text-align: center; 605 color: rgba(255, 255, 255, 0.75); 606 } 607`,Fe=({closeModal:o})=>{const{t:u}=re();return t.jsxs(De,{children:[t.jsx(Le,{onClick:o}),t.jsxs(Ot,{children:[t.jsx("img",{loading:"lazy",src:Z("/pages/profile/warning.png"),alt:"warning"}),t.jsx("h4",{dangerouslySetInnerHTML:{__html:u("DepositUnavaliableInWebApp")}})]})]})},Tt=Object.freeze(Object.defineProperty({__proto__:null,UnavaliableInWebApp:
607Fe,default:Rt},Symbol.toStringTag,{value:"Module"}));export{je as L,Fe as U,Tt as a,at as i,nt as p};
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.