PageSourceSearch

https://bit24.cash/__nuxt/CGJA4RqU.js

js bit24.cash collected 2026-10-07 17:44:45 UTC 6,596 bytes, 1 lines download raw bytes

1import{d as A,M as D,b as V,j as b,k as n,O as B,o as c,i as d,Q as $,m as r,R as O,p as R,n as W,e as N,_ as E,U as H,A as z,h as f,F as _,P as F,y as P,r as j,D as C,l as p,N as x}from"./QJre-PsH.js";import{B as k}from"./BXYWWgkI.js";const I={class:"google-auth-need__body"},Q={class:"google-auth-need__icon"},q=A({__name:"GoogleAuthNeed",props:{modelValue:{type:Boolean,default:!1},modelModifiers:{}},emits:["update:modelValue"],setup(g){const e=N(),s=D(g,"modelValue"),u=l=>{s.value=l},m=()=>{u(!1),window.location.href=e.public.DOMAIN_DASHBOARD_URL+"/security-settings/google/"};return(l,i)=>(c(),V(n(B),{modelValue:s.value,"onUpdate:modelValue":i[1]||(i[1]=h=>s.value=h),"content-class":"px-3 pt-2 pb-5 !rounded-lg !max-w-[400px]",mode:"modal"},{default:b(()=>[d(n($),{"trailing-icon2":"icon-close",class:"google-auth-need__header",onSecondTrailingBtn:i[0]||(i[0]=h=>u(!1))}),r("div",I,[r("div",Q,[d(n(O),{name:"icon-authenticator-app",size:"32",color:"text-in-primary--icn"})]),i[3]||(i[3]=r("div",{class:"google-auth-need__content"},[r("span",{class:"google-auth-need__title"},"فعال‌سازی برنامه Authenticator"),r("span",{class:"google-auth-need__desc"}," با استفاده از برنامه‌های تأیید هویت مانند Google Authenticator یا سایر برنامه‌های مشابه، امنیت حساب کاربری خود را به سطح بالاتری ارتقا دهید. فعال‌سازی این قابلیت به شما کمک می‌کند تا از دسترسی‌های غیرمجاز جلوگیری کنید. ")],-1)),d(n(W),{emphasis:"high",type:"basic",color:"primary",wide:"",class:"google-auth-need__confirm",onClick:m},{default:b(()=>[...i[2]||(i[2]=[R(" فعال‌سازی ",-1)])]),_:1})])]),_:1},8,["modelValue"]))}}),J=E(q,[["__scopeId","data-v-f9cca19f"]]),K={class:"wallet-modal__content"},X=A({__name:"DepositWithdrawDialog",props:F({mode:{default:"modal"},type:{default:"withdraw"},source:{},webEngageExtraData:{},dialogTitle:{},dialogSubTitle:{},depositCoin:{}},{modelValue:{type:Boolean,default:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(g){const e=g,s=P(!1),u=N(),m=H(),l=D(g,"modelValue"),i=p(()=>[{title:"برداشت تومان",caption:"برداشت دارایی به مقصد حساب بانکی",alt:"wallet cash icon",ariaLabel:"برداشت تومان",icon:{name:"icon-withdraw-cash-linear",color:"text-brand--icn"},href:"/wallet/withdraw/cash/",type:"button",action:"withdraw_cash"},{title:"برداشت ارز دیجیتال",caption:"برداشت در شبکه بلاک‌چین",alt:"wallet coin icon",icon:{name:"icon-withdraw-crypto-linear",color:"text-brand--icn"},ariaLabel:"برداشت در شبکه بلاکچین",href:"/wallet/withdraw/crypto/",type:"button",action:"withdraw_crypto"},{title:"انتقال به کاربر بیت۲۴",caption:"انتقال آنی و بدون کارمزد به کاربران بیت۲۴",alt:"transfer icon",icon:{name:"icon-internal-transfer",color:"text-brand--icn"},ariaLabel:"انتقال به کاربر بیت۲۴",href:"/wallet/withdraw/crypto?type=internal",type:"button",action:"transfer_internal"}]),h=p(()=>[{title:"واریز تومان",caption:"واریز تومان از درگاه بانکی یا حساب بانکی.",ariaLabel:"واریز تومان",icon:{name:"icon-deposit-cash-linear",color:"text-brand--icn"},alt:"wallet cash icon",href:"/wallet/deposit/cash/",type:"button",hide:!!e.depositCoin,action:"deposit_cash"},{title:"واریز "+(e.depositCoin?e.depositCoin.title:"ارز دیجیتال"),caption:`واریز ${e.depositCoin?e.depositCoin.title:"ارز"} در شبکه بلاکچین به کیف‌پول بیت۲۴ شما.`,ariaLabel:"واریز "+(e.depositCoin?e.depositCoin.title:"ارز دیجیتال"),icon:{name:"icon-deposit-crypto-linear",color:"text-brand--icn"},alt:"wallet coin icon",type:"button",href:"/wallet/deposit/crypto/"+(e.depositCoin?`?symbol=${e.depositCoin.symbol}`:""),action:"deposit_crypto"}]),L=p(()=>e.dialogTitle?e.dialogTitle:e.type==="deposit"?"واریز":"برداشت"),M=p(()=>e.type==="deposit"?h.value:i.value),y=p(()=>
1({source:e.source??"",type:e.type,symbol:e.type==="deposit"&&e.depositCoin?e.depositCoin.symbol:""}));z(l,a=>{a&&x().$webEngage.trackEvent("deposit_withdraw_dialog_shown",{...y.value,extra_data:e.webEngageExtraData??{}})});const S=a=>a.href==="/wallet/withdraw/crypto/",T=async a=>{a.type==="button"&&await G(a)&&(window.location.href=`${u.public.DOMAIN_DASHBOARD_URL}${a.href}`),v(a.action,a.title),l.value=!1},U=()=>{v("buy",`خرید آنی ${e.depositCoin?e.depositCoin.title:"ارز دیجیتال"}`)},v=(a,o)=>{x().$webEngage.trackEvent("deposit_withdraw_dialog_cta_clicked",{...y.value,clicked_action:a,clicked_action_title:o})},G=async a=>{const o=m.getUserProfile;if((o?.user?.id?o.status.progress:1)<4)return!1;if(!S(a))return!0;const w=m.getUserTwoFaConfigs.actions.has_login_google_auth;return s.value=!w,w};return(a,o)=>(c(),f(_,null,[d(n(B),{modelValue:l.value,"onUpdate:modelValue":o[2]||(o[2]=t=>l.value=t),"content-class":"px-1 pb-2 md:pb-5 !max-w-[450px]",mode:e.mode},{default:b(()=>[d(n($),{title:L.value,description:e.dialogSubTitle,"trailing-icon2":"icon-close",class:"!py-3 !pe-2 !ps-4",onSecondTrailingBtn:o[0]||(o[0]=t=>l.value=!1)},null,8,["title","description"]),r("div",K,[(c(!0),f(_,null,j(M.value,t=>(c(),f(_,null,[t.hide?C("",!0):(c(),V(n(k),{key:t.title,title:t.title,description:t.caption,"leading-icon":t.icon,size:"16",class:"wallet-modal__item",href:t.type==="button"?void 0:`${n(u).public.DOMAIN_DASHBOARD_URL}${t.href}`,"aria-label":t.ariaLabel,tag:t.type==="button"?"div":"nuxt-link",onClick:w=>T(t)},null,8,["title","description","leading-icon","href","aria-label","tag","onClick"]))],64))),256)),e.type==="deposit"?(c(),f(_,{key:0},[o[4]||(o[4]=r("span",{class:"wallet-modal__otc-title"},"ارز دیجیتال ندارید؟",-1)),d(n(k),{title:`خرید آنی ${e.depositCoin?e.depositCoin.title:"ارز دیجیتال"}`,description:"خرید مستقیم از بیت۲۴، بدون نیاز به سفارش‌گذاری در بازار.","leading-icon":{name:"icon-arrow-trade-linear",color:"text-brand--icn"},size:"16",class:"wallet-modal__item",to:`/otc/${e.depositCoin?"?symbol="+e.depositCoin.symbol:""}`,"aria-label":"Go to otc",tag:"nuxt-link",onClick:o[1]||(o[1]=t=>U())},null,8,["title","to"])],64)):C("",!0)])]),_:1},8,["modelValue","mode"]),d(J,{modelValue:s.value,"onUpdate:modelValue":o[3]||(o[3]=t=>s.value=t)},null,8,["modelValue"])],64))}}),ee=E(X,[["__scopeId","data-v-1c4df2d1"]]);export{ee as D};

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.