import {G as te, z as me, aU as Vt, C as _e, I as c, J as e, O as b, ao as $, aB as L, P as t, F as Fe, N as i, aw as wt, H as O, ar as at, Q as v, av as Z, Z as ya, aC as Se, aD as Ie, R as pe, r as g, A as he, K as Q, M as $e, ap as oe, au as ye, B as j, ax as ie, ay as vt, aF as fe, T as Ae, aA as Ee, u as z, $ as je, E as ft, a$ as Bt, t as ga, bC as $a, bG as ka, b3 as Mt, p as _t, X as ba, az as Ut, bF as Ca} from "./common.modules-f9fa5dc7.js";
import {cB as Je, a4 as Be, A as X, cq as Dt, g as ge, c as ce, b as rt, _ as ae, d0 as Ta, dS as Xe, bR as Na, bS as Sa, L as Ke, dT as Ia, dU as Lt, d7 as Aa, y as Ue, dV as De, a1 as qt, dW as Wa, a5 as jt, a3 as yt, G as Ft, dj as Ba, aa as Ze, dX as Ua, dY as Da, ab as Pa, h as it, dZ as Et, d_ as Ra, d$ as Ge, c$ as ze, bE as be, e0 as Oa, cm as st, e1 as zt, e2 as Va, e3 as Ma, e4 as xt, e5 as dt, e6 as La, e7 as qa, e8 as ja, e9 as Fa, ea as Ea, eb as za, ec as xa, ed as Ht, dF as Kt, ee as Ha, ef as Ka, df as Za, eg as Ga, d1 as Qa, eh as Ya, bY as Xa, ei as Ja} from "./page-activity-ActivityDetail-0d51a056.js";
import {P as en, v as Zt, c as Gt} from "./page-login-index.vue_vue_type_script_setup_true_lang.ts-3e965ce6.js";
import {E as et} from "./page-activity-Bonus-f5229d51.js";
import {L as tn} from "./page-activity-DailySignIn-feddb04c.js";
import {D as mt} from "./page-activity-Championship-a046222e.js";
import {N as an} from "./page-wallet-Recharge-a6ec8724.js";
import {u as nn, a as xe, S as He} from "./page-test-index.vue_vue_type_script_setup_true_lang.tsx-964c2d28.js";
import {S as sn} from "./page-promotion-MyInvitation-cc64e3e0.js";
const on = {
    class: "balanceAssets"
}
  , ln = {
    class: "balanceAssets__header"
}
  , rn = {
    class: "balanceAssets__header__left"
}
  , dn = ["src"]
  , cn = {
    class: "balanceAssets__main"
}
  , un = ["src"]
  , pn = te({
    __name: "BalanceAssetsW",
    props: {
        data_NewSetWithdrawal: {
            type: null,
            required: !0
        },
        withdrawalsrule: {
            type: null,
            required: !0
        }
    },
    setup(f) {
        const n = f
          , {t: o} = me();
        Je();
        const {setLoading: m} = Be()
          , l = Vt(n, "withdrawalsrule");
        async function r() {
            m(!0);
            const d = await X(Dt());
            d && (l.value.amount = d.data.amount,
            Fe(o("refreshSuccess"))),
            m(!1)
        }
        return _e(async () => {
            const d = await X(Dt());
            d && (l.value.amount = d.data.amount)
        }
        ),
        (d, s) => (i(),
        c("div", on, [e("div", ln, [e("div", rn, [e("img", {
            src: b(ge)("wallet", "balance")
        }, null, 8, dn), $(" 可用余额 "), L(" " + t(d.$t("vailableBalance")), 1)])]), e("div", cn, [e("p", null, t(b(ce)(l.value.amount)), 1), e("img", {
            src: b(rt)("wallet/recharge", "refresh"),
            alt: "",
            onClick: r
        }, null, 8, un)])]))
    }
});
const vn = ae(pn, [["__scopeId", "data-v-0879c174"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/BalanceAssetsW.vue"]])
  , gt = f => (Se("data-v-6981cc49"),
f = f(),
Ie(),
f)
  , _n = {
    class: "otp"
}
  , mn = {
    class: "otp-header"
}
  , hn = gt( () => e("span", {
    class: "otp-header-left"
}, null, -1))
  , wn = gt( () => e("span", {
    class: "otp-header-right"
}, null, -1))
  , fn = {
    class: "otp-content"
}
  , yn = {
    class: "otp-hit"
}
  , gn = {
    key: 0
}
  , $n = {
    class: "otp-title"
}
  , kn = {
    class: "otp-title"
}
  , bn = {
    class: "otp-btns"
}
  , Cn = {
    class: "otp-footer"
}
  , Tn = gt( () => e("svg", {
    xmlns: "http://www.w3.org/2000/svg",
    width: "60",
    height: "60",
    viewBox: "0 0 60 60",
    fill: "none"
}, [e("path", {
    d: "M30 57C44.9117 57 57 44.9117 57 30C57 15.0883 44.9117 3 30 3C15.0883 3 3 15.0883 3 30C3 44.9117 15.0883 57 30 57Z",
    stroke: "white",
    "stroke-width": "4",
    "stroke-linejoin": "round"
}), e("path", {
    d: "M43 17L17 43",
    stroke: "white",
    "stroke-width": "4",
    "stroke-linecap": "round",
    "stroke-linejoin": "round"
}), e("path", {
    d: "M17 17L43 43",
    stroke: "white",
    "stroke-width": "4",
    "stroke-linecap": "round",
    "stroke-linejoin": "round"
})], -1))
  , Nn = [Tn]
  , Sn = te({
    __name: "otp",
    props: {
        code: {
            type: String,
            default: ""
        },
        mobile: {
            type: String,
            default: ""
        },
        bank: {
            type: String,
            default: ""
        },
        upi: {
            type: String,
            default: ""
        },
        bid: {
            type: Number
        },
        withdrawalId: {
            type: Number
        },
        withdrawalAmount: {
            type: Number
        }
    },
    emits: ["update:code", "confirm", "close"],
    setup(f, {emit: n}) {
        const o = f
          , {code: m} = wt(o, n)
          , {t: l} = me()
          , {close: r} = nn()
          , {getOTPCode: d, getWithdrawalOTPCode: s, getWithdrawalUsendOtpByWithdrawId: h, isCount: w, seconds: a} = Ta({
            time: 60
        })
          , _ = async () => {
            if (o.withdrawalId) {
                await h({
                    withdrawId: o.withdrawalId,
                    categoryId: 27
                });
                return
            }
            if (o.bid) {
                await s({
                    categoryId: 27,
                    bid: o.bid
                });
                return
            }
            await d({
                categoryId: 27,
                mobileNo: o.mobile,
                accountNo: o.upi,
                bankCode: o.bank
            })
        }
          , p = () => {
            r(),
            n("close")
        }
          , U = async () => {
            m.value && n("confirm")
        }
        ;
        return (u, D) => {
            const y = O("van-field")
              , A = O("van-button");
            return i(),
            c("div", _n, [e("div", mn, [hn, at(u.$slots, "header", {}, () => [e("h5", null, t(b(l)("verifyOpt")), 1)], !0), wn]), e("div", fn, [e("div", null, [e("div", yn, [e("p", null, t(f.withdrawalAmount !== 0 ? u.$t("paymentTips") : u.$t("currentPaymentTips")) + "！", 1), e("p", null, t(u.$t("paymentMethod")) + "：" + t(b(Xe)(f.bank)), 1), e("p", null, "UPI ID ： " + t(f.upi), 1), f.withdrawalAmount ? (i(),
            c("p", gn, t(u.$t("withdrawalA")) + " : " + t(b(ce)(f.withdrawalAmount)), 1)) : $("v-if", !0)]), e("div", $n, t(u.$t("phoneN")), 1), v(y, {
                center: "",
                type: "digit",
                placeholder: u.$t("phoneN"),
                disabled: !0,
                "model-value": f.mobile
            }, null, 8, ["placeholder", "model-value"]), e("div", kn, t(u.$t("VerificationCode")), 1), v(y, {
                center: "",
                type: "digit",
                placeholder: u.$t("phEnterVerificationCode"),
                maxlength: 6,
                modelValue: b(m),
                "onUpdate:modelValue": D[0] || (D[0] = T => ya(m) ? m.value = T : null)
            }, {
                button: Z( () => [v(A, {
                    class: "otp-code",
                    disabled: b(w),
                    size: "small",
                    type: "primary",
                    onClick: _
                }, {
                    default: Z( () => [L(t(b(w) ? `${b(a)}S` : u.$t("send")), 1)]),
                    _: 1
                }, 8, ["disabled"])]),
                _: 1
            }, 8, ["placeholder", "modelValue"])]), e("div", bn, [v(A, {
                type: "primary",
                disabled: !b(m),
                onClick: U
            }, {
                default: Z( () => [L(t(u.$t("submit")), 1)]),
                _: 1
            }, 8, ["disabled"]), v(A, {
                onClick: p
            }, {
                default: Z( () => [L(t(u.$t("cancel")), 1)]),
                _: 1
            })])]), e("div", Cn, [at(u.$slots, "footer", {}, () => [e("span", {
                onClick: p
            }, Nn)], !0)])])
        }
    }
});
const ct = ae(Sn, [["__scopeId", "data-v-6981cc49"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/otp.vue"]])
  , In = {
    class: "rechargeh__container"
}
  , An = {
    class: "rechargeh__container-head"
}
  , Wn = {
    class: "rechargeh__container-content"
}
  , Bn = {
    class: "rechargeh__container-content__item-header ar-1px-b"
}
  , Un = {
    class: "rechargeh__container-content__item-body"
}
  , Dn = {
    key: 0
}
  , Pn = {
    class: "rechargeh__container-footer"
}
  , Rn = te({
    __name: "WithdrawHistory",
    setup(f, {expose: n}) {
        const o = pe()
          , {setLoading: m} = Be()
          , {t: l} = me()
          , r = g([])
          , d = he({
            pageNo: 1,
            pageSize: 5,
            startDate: "",
            endDate: "",
            state: -1,
            type: -1
        })
          , s = g({})
          , h = g("")
          , w = g(!1)
          , a = u => {
            s.value = Object.assign({}, u.upiAccountInfo || {}, {
                withdrawID: u.withdrawID
            }),
            w.value = !0
        }
        ;
        function _() {
            o.push({
                name: "WithdrawHistory"
            })
        }
        async function p() {
            m(!0);
            const u = await X(Ia(d));
            u && (r.value = u.data.list),
            m(!1)
        }
        const U = async () => {
            var D;
            await X(Lt({
                withdrawId: (D = s.value) == null ? void 0 : D.withdrawID,
                smsCode: h.value,
                categoryId: 27
            })) && (w.value = !1,
            Fe({
                type: "success",
                message: l("verifySuccess"),
                duration: 2e3
            }),
            await p())
        }
        ;
        return _e(async () => {
            await p()
        }
        ),
        n({
            getWithdrawLog: p
        }),
        (u, D) => {
            const y = O("svg-icon")
              , A = O("van-button")
              , T = O("van-dialog");
            return i(),
            c("div", In, [e("div", An, [v(y, {
                name: "historyHead"
            }), e("h1", null, t(u.$t("whTitle5")), 1)]), e("div", Wn, [r.value.length > 0 ? (i(!0),
            c(Q, {
                key: 0
            }, $e(r.value, (S, q) => (i(),
            c("div", {
                class: "rechargeh__container-content__item",
                key: q
            }, [$(' <div class="rechargeh__container-content__item-header ar-1px-b" @click="onToDetail(item.state)"> '), e("div", Bn, [e("span", null, t(u.$t("withdraw")), 1), e("span", {
                class: oe({
                    stateR: S.state === 0,
                    stateG: S.state === 1
                })
            }, [L(t(b(Na)(b(Sa).WithdrawState, S.state)) + " ", 1), $(' <van-icon name="arrow" /> ')], 2)]), e("div", Un, [e("div", null, [e("span", null, t(u.$t("amount")), 1), e("span", null, t(b(ce)(S.price)), 1)]), e("div", null, [e("span", null, t(u.$t("type")), 1), e("span", null, t(S.withdrawName), 1)]), e("div", null, [e("span", null, t(u.$t("time")), 1), e("span", null, t(S.addTime), 1)]), e("div", null, [e("span", null, t(u.$t("orderNo")), 1), e("span", null, t(S.withdrawNumber), 1), v(y, {
                onClick: N => b(Ke)(S.withdrawNumber.toString()),
                name: "copy"
            }, null, 8, ["onClick"])]), S.needKycConnect && S.state === 3 && S.type == 27 ? (i(),
            c("div", Dn, [v(A, {
                size: "small",
                onClick: N => a(S),
                type: "danger",
                block: ""
            }, {
                default: Z( () => [L(t(u.$t("verifyOpt")), 1)]),
                _: 2
            }, 1032, ["onClick"])])) : $("v-if", !0)])]))), 128)) : (i(),
            ye(et, {
                key: 1
            }))]), e("div", Pn, [e("button", {
                onClick: _
            }, t(u.$t("allRecords")), 1)]), v(T, {
                teleport: "body",
                show: w.value,
                "onUpdate:show": D[2] || (D[2] = S => w.value = S),
                showConfirmButton: !1,
                width: "fit-content",
                "lazy-render": ""
            }, {
                default: Z( () => [v(ct, {
                    withdrawalId: s.value.withdrawID,
                    bank: s.value.bankCode,
                    upi: s.value.accountNo,
                    mobile: s.value.mobileNO,
                    code: h.value,
                    "onUpdate:code": D[0] || (D[0] = S => h.value = S),
                    onConfirm: U,
                    onClose: D[1] || (D[1] = S => w.value = !1)
                }, null, 8, ["withdrawalId", "bank", "upi", "mobile", "code"])]),
                _: 1
            }, 8, ["show"])])
        }
    }
});
const ht = ae(Rn, [["__scopeId", "data-v-30972a14"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/WithdrawHistory.vue"]])
  , On = {
    class: "withdrawWay"
}
  , Vn = ["src"]
  , Mn = ["src"]
  , Ln = {
    key: 0,
    class: "gift"
}
  , qn = ["src"]
  , jn = ["src"]
  , Fn = ["src"]
  , En = ["src"]
  , zn = ["onClick"]
  , xn = ["src"]
  , Hn = ["src"]
  , Kn = te({
    __name: "withdrawalTypes",
    props: {
        data_NewSetWithdrawal: {
            type: null,
            required: !0
        },
        withdrawalTypeslist: {
            type: Array,
            required: !0
        },
        c2cAward: {
            type: Number,
            required: !0
        },
        maxRechargeRifts: {
            type: Number,
            required: !0
        },
        ArRechargeRifts: {
            type: Number,
            required: !0
        }
    },
    emits: ["onSelectWithdrawalType"],
    setup(f, {emit: n}) {
        const o = f
          , m = j( () => o.withdrawalTypeslist.find(s => s.withdrawID == 20))
          , l = j( () => o.withdrawalTypeslist.find(s => s.withdrawID == 21))
          , r = j( () => o.withdrawalTypeslist.find(s => s.withdrawID == 22));
        function d(s) {
            n("onSelectWithdrawalType", s)
        }
        return (s, h) => (i(),
        c("div", On, [m.value ? (i(),
        c("div", {
            key: 0,
            class: oe(["c2c", {
                active: s.data_NewSetWithdrawal.type == 20
            }]),
            onClick: h[0] || (h[0] = w => d({
                withdrawID: 20
            }))
        }, [s.data_NewSetWithdrawal.type != m.value.withdrawID ? (i(),
        c("img", {
            key: 0,
            src: m.value.withBeforeImgUrl
        }, null, 8, Vn)) : (i(),
        c("img", {
            key: 1,
            src: m.value.withAfterImgUrl
        }, null, 8, Mn)), e("div", null, [e("div", null, t(m.value.name), 1), s.c2cAward > 0 ? (i(),
        c(Q, {
            key: 0
        }, [L(t(s.$t("c2cEGReward", [s.c2cAward ? b(Aa)(s.c2cAward, 100) : 0])), 1)], 64)) : $("v-if", !0)])], 2)) : $("v-if", !0), l.value ? (i(),
        c("div", {
            key: 1,
            class: oe(["c2c Ar", {
                active: s.data_NewSetWithdrawal.type == 21
            }]),
            onClick: h[1] || (h[1] = w => d({
                withdrawID: 21
            }))
        }, [s.maxRechargeRifts > 0 || s.ArRechargeRifts > 0 ? (i(),
        c("div", Ln, [e("span", null, t(s.maxRechargeRifts > 0 ? `${s.maxRechargeRifts}%` : "") + t(s.ArRechargeRifts > 0 ? `+${s.ArRechargeRifts}%` : ""), 1)])) : $("v-if", !0), s.data_NewSetWithdrawal.type != l.value.withdrawID ? (i(),
        c("img", {
            key: 1,
            src: l.value.withBeforeImgUrl
        }, null, 8, qn)) : (i(),
        c("img", {
            key: 2,
            src: l.value.withAfterImgUrl
        }, null, 8, jn)), e("div", null, [e("div", null, t(l.value.name), 1), e("p", null, t(l.value.withdrawTip || s.$t("withdrawTip5")), 1)])], 2)) : $("v-if", !0), r.value ? (i(),
        c("div", {
            key: 2,
            class: oe(["c2c Ar", {
                active: s.data_NewSetWithdrawal.type == 22
            }]),
            onClick: h[2] || (h[2] = w => d({
                withdrawID: 22
            }))
        }, [s.data_NewSetWithdrawal.type != r.value.withdrawID ? (i(),
        c("img", {
            key: 0,
            src: r.value.withBeforeImgUrl
        }, null, 8, Fn)) : (i(),
        c("img", {
            key: 1,
            src: r.value.withAfterImgUrl
        }, null, 8, En)), e("div", null, [e("div", null, t(r.value.name), 1)])], 2)) : $("v-if", !0), (i(!0),
        c(Q, null, $e(s.withdrawalTypeslist, w => (i(),
        c(Q, {
            key: w.withdrawID
        }, [[20, 21, 22].includes(w.withdrawID) ? $("v-if", !0) : (i(),
        c("div", {
            key: 0,
            class: oe({
                select: s.data_NewSetWithdrawal.type == w.withdrawID
            }),
            onClick: a => d(w)
        }, [e("div", null, [s.data_NewSetWithdrawal.type != w.withdrawID ? (i(),
        c("img", {
            key: 0,
            src: w.withBeforeImgUrl
        }, null, 8, xn)) : (i(),
        c("img", {
            key: 1,
            src: w.withAfterImgUrl
        }, null, 8, Hn))]), e("span", null, t(w.name), 1)], 10, zn))], 64))), 128))]))
    }
});
const Zn = ae(Kn, [["__scopeId", "data-v-9bae072d"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/withdrawalTypes.vue"]])
  , Gn = {
    class: "quickWay"
}
  , Qn = {
    class: "quickWay-title"
}
  , Yn = {
    class: "quickWay-list"
}
  , Xn = ["onClick"]
  , Jn = te({
    __name: "upiQuickTypes",
    props: {
        bankList: {
            type: Array,
            required: !0
        },
        bankCode: {
            type: String,
            required: !0
        }
    },
    emits: ["onSelectWithdrawalType"],
    setup(f, {emit: n}) {
        function o(m) {
            n("onSelectWithdrawalType", m.bankCode)
        }
        return (m, l) => {
            const r = O("svg-icon");
            return i(),
            c("div", Gn, [e("div", Qn, [v(r, {
                name: "bankCard"
            }), e("p", null, t(m.$t("paymentMethods")), 1)]), e("div", Yn, [(i(!0),
            c(Q, null, $e(m.bankList, d => (i(),
            c("div", {
                class: oe(["quickWay-item", {
                    select: m.bankCode == d.bankCode
                }]),
                onClick: s => o(d),
                key: d.bankCode
            }, [e("div", null, [v(r, {
                name: d.bankCode
            }, null, 8, ["name"])]), e("span", null, t(d.bankName), 1)], 10, Xn))), 128))])])
        }
    }
});
const es = ae(Jn, [["__scopeId", "data-v-f10a2e73"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/upiQuickTypes.vue"]])
  , ts = {
    class: "explain"
}
  , as = {
    key: 0,
    class: "Withdraw__content-paymoney"
}
  , ns = {
    class: "Withdraw__content-paymoney__title"
}
  , ss = {
    class: "Withdraw__content-paymoney__money-list"
}
  , os = ["onClick"]
  , ls = {
    class: "amount"
}
  , is = {
    class: "input"
}
  , rs = {
    class: "place-div"
}
  , ds = ["placeholder"]
  , cs = {
    key: 1,
    class: "verify"
}
  , us = {
    class: "balance bank"
}
  , ps = {
    class: "yellow"
}
  , vs = ["value"]
  , _s = {
    class: "rightD"
}
  , ms = {
    class: "yellow"
}
  , hs = {
    class: "explain usdt"
}
  , ws = {
    class: "head"
}
  , fs = ["src"]
  , ys = {
    key: 0
}
  , gs = {
    key: 1
}
  , $s = {
    class: "input"
}
  , ks = {
    class: "place-div"
}
  , bs = ["placeholder"]
  , Cs = {
    key: 0,
    class: "verify"
}
  , Ts = {
    key: 1,
    class: "verify"
}
  , Ns = {
    key: 2,
    class: "input"
}
  , Ss = ["placeholder"]
  , Is = {
    class: "place-div"
}
  , As = {
    class: "place-icon"
}
  , Ws = ["src"]
  , Bs = {
    class: "balance usdt"
}
  , Us = {
    class: "yellow"
}
  , Ds = ["value"]
  , Ps = te({
    __name: "withdrawField",
    props: {
        data_NewSetWithdrawal: {
            type: null,
            required: !0
        },
        withdrawalsrule: {
            type: null,
            required: !0
        },
        withdrawalslist: {
            type: Array,
            required: !0
        },
        verify100: {
            type: Boolean,
            required: !0
        }
    },
    setup(f, {expose: n}) {
        const o = f
          , {t: m} = me()
          , l = j( () => Ue().getDollarSign)
          , r = g(0)
          , d = j({
            get() {
                return r.value != 0 ? r.value : ""
            },
            set(P) {
                r.value = P
            }
        })
          , s = Vt(o, "data_NewSetWithdrawal")
          , h = j({
            get() {
                return s.value.amount != 0 ? s.value.amount : ""
            },
            set(P) {
                s.value.amount = P
            }
        })
          , {withdrawalTypeslist: w} = De()
          , a = j( () => {
            var le;
            const P = w.value.find(C => C.withdrawID == 2);
            return P ? P.recommandWithAmount ? (le = P.recommandWithAmount) == null ? void 0 : le.split(",").map(C => Number(C)) : [] : []
        }
        )
          , _ = g(null)
          , p = P => {
            _.value = P;
            const le = a.value[P];
            h.value = le
        }
          , U = P => P >= 1e6 ? (P / 1e6).toFixed(1).replace(/\.0$/, "") + "M" : P >= 1e3 ? (P / 1e3).toFixed(1).replace(/\.0$/, "") + "K" : P + ""
          , u = j( () => !!(s.value.amount != 0 && (o.verify100 && s.value.amount % 100 !== 0 || s.value.amount > o.withdrawalsrule.canWithdrawAmount || s.value.amount > o.withdrawalsrule.maxPrice || s.value.amount < o.withdrawalsrule.minPrice || o.withdrawalsrule.amountofCode > 0)))
          , D = j( () => {
            if (s.value.amount != 0) {
                if (o.verify100 && s.value.amount % 100 !== 0)
                    return m("withdrawAmount");
                if (o.withdrawalsrule.amountofCode > 0)
                    return m("code128");
                if (s.value.amount > o.withdrawalsrule.canWithdrawAmount)
                    return m("cashBalanceInsufficient");
                if (s.value.amount > o.withdrawalsrule.maxPrice || s.value.amount < o.withdrawalsrule.minPrice)
                    return m("wordWithdrawal", [ce(o.withdrawalsrule.minPrice), ce(o.withdrawalsrule.maxPrice)])
            }
        }
        )
          , y = j( () => s.value.type === 3 && s.value.amount != 0 && Number(s.value.amount) < 10);
        function A(P) {
            P.keyCode != 46 && (P.keyCode < 48 || P.keyCode > 57) && (P.returnValue = !1)
        }
        function T(P) {
            (P.keyCode < 48 || P.keyCode > 57) && (P.returnValue = !1)
        }
        function S() {
            s.value.amount = Number(s.value.amount.toString().replace(/[^\d.]/g, "").replace(/^\./g, "").replace(/\.{2,}/g, ".").replace(".", "$#$").replace(/\./g, "").replace("$#$", ".")),
            s.value.amount.toString().length > 11 && (s.value.amount = Number(s.value.amount.toString().slice(0, 11)))
        }
        function q() {
            s.value.amount = Math.floor(o.withdrawalsrule.canWithdrawAmount),
            s.value.type === 3 && B()
        }
        function N() {
            r.value = Math.floor(r.value)
        }
        function B() {
            if (s.value.amount = Number(s.value.amount.toString().replace(/[^\d.]/g, "").replace(/\.{2,}/g, ".").replace(".", "$#$").replace(/\./g, "").replace("$#$", ".").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3").replace(/^\./g, "")),
            s.value.amount.toString().length > 11 && (s.value.amount = Number(s.value.amount.toString().slice(0, 11))),
            s.value.amount > 0) {
                let P = Number(s.value.amount) / o.withdrawalsrule.uRate;
                r.value = Math.floor(P * 100) / 100
            } else
                r.value = 0
        }
        function H() {
            if (r.value.toString().length > 11 && (r.value = Number(r.value.toString().slice(0, 11))),
            r.value > 0) {
                let P = r.value * o.withdrawalsrule.uRate;
                s.value.amount = Math.floor(Math.floor(P * 100) / 100)
            } else
                s.value.amount = 0
        }
        const ee = j( () => {
            if (!s.value.amount)
                return 0;
            const {withMinPrice: P=0, withMaxPrice: le=0, fee: C} = o.withdrawalsrule;
            return C > 0 && P <= s.value.amount && s.value.amount <= le ? s.value.amount - s.value.amount * C : s.value.amount
        }
        );
        return n({
            usdtCount: r,
            data: s,
            showValidate: u,
            showValidateUB: y
        }),
        (P, le) => {
            const C = O("svg-icon");
            return i(),
            c(Q, null, [ie(e("div", ts, [a.value.length > 0 && s.value.type === 2 && P.withdrawalslist.length > 0 ? (i(),
            c("div", as, [e("div", ns, [v(C, {
                name: "saveWallet"
            }), e("p", null, t(P.$t("withdrawalA")), 1)]), e("div", ss, [(i(!0),
            c(Q, null, $e(a.value, (J, x) => (i(),
            c("div", {
                class: oe(["Withdraw__content-paymoney__money-list__item", _.value === x ? "active" : ""]),
                key: x,
                onClick: I => p(x)
            }, [e("div", ls, t(U(Number(J))), 1)], 10, os))), 128))])])) : $("v-if", !0), e("div", is, [e("div", rs, t(l.value), 1), ie(e("input", {
                placeholder: P.$t("enterAmount"),
                onInput: le[0] || (le[0] = J => S()),
                class: "inp",
                "onUpdate:modelValue": le[1] || (le[1] = J => h.value = J),
                onKeypress: le[2] || (le[2] = J => A(J))
            }, null, 40, ds), [[fe, h.value]])]), u.value ? (i(),
            c("div", cs, t(D.value), 1)) : $("v-if", !0), e("div", us, [e("div", null, [e("span", null, [L(t(P.$t("wfDesc1")) + " ", 1), e("h6", ps, t(b(ce)(P.withdrawalsrule.canWithdrawAmount || 0)), 1)]), e("input", {
                type: "button",
                value: P.$t("all"),
                onClick: q
            }, null, 8, vs)]), e("div", null, [e("span", null, t(P.$t("wfDesc2")), 1), e("div", _s, [e("span", ms, t(b(ce)(ee.value)), 1)])])])], 512), [[vt, [1, 2, 27, 6, 8, 5].includes(s.value.type)]]), ie(e("div", hs, [e("div", ws, [e("img", {
                src: b(ge)("wallet/withdrawType", String(s.value.type))
            }, null, 8, fs), s.value.type == 3 ? (i(),
            c("h1", ys, t(P.$t("selectUSDTNum")), 1)) : $("v-if", !0), s.value.type == 10 ? (i(),
            c("h1", gs, t(P.$t("selectUSDTAmount")), 1)) : $("v-if", !0)]), e("div", $s, [e("div", ks, t(l.value), 1), ie(e("input", {
                type: "number",
                placeholder: P.$t("enterWithdrawAmount"),
                onInput: B,
                class: "inp",
                "onUpdate:modelValue": le[3] || (le[3] = J => h.value = J),
                onKeypress: le[4] || (le[4] = J => T(J))
            }, null, 40, bs), [[fe, h.value]])]), u.value ? (i(),
            c("div", Cs, t(D.value), 1)) : $("v-if", !0), y.value ? (i(),
            c("div", Ts, t(P.$t("wfDesc4")), 1)) : $("v-if", !0), [3].includes(s.value.type) ? (i(),
            c("div", Ns, [ie(e("input", {
                type: "number",
                placeholder: P.$t("enterUSDTAmount"),
                onInput: H,
                class: "inp",
                "onUpdate:modelValue": le[5] || (le[5] = J => d.value = J),
                onKeypress: le[6] || (le[6] = J => T(J)),
                onFocus: N
            }, null, 40, Ss), [[fe, d.value]]), e("div", Is, [e("div", As, [e("img", {
                src: b(ge)("wallet/withdrawType", "3")
            }, null, 8, Ws)])])])) : $("v-if", !0), e("div", Bs, [e("div", null, [e("span", null, [L(t(P.$t("wfDesc5")) + " ", 1), e("h6", Us, t(b(ce)(P.withdrawalsrule.canWithdrawAmount || 0)), 1)]), e("input", {
                type: "button",
                value: P.$t("all"),
                onClick: q
            }, null, 8, Ds)])])], 512), [[vt, [3, 10].includes(s.value.type)]])], 64)
        }
    }
});
const Rs = ae(Ps, [["__scopeId", "data-v-cb5583fe"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/withdrawField.vue"]])
  , Os = {
    key: 0,
    class: "addWithdrawType"
}
  , Vs = ["src"]
  , Ms = {
    key: 0,
    class: "addWithdrawType-text"
}
  , Ls = te({
    __name: "AddWithdrawType",
    props: {
        isShowhintTextO: {
            type: Boolean,
            required: !1,
            default: !1
        },
        hintTextO: {
            type: String,
            required: !1,
            default: ""
        },
        type: {
            type: null,
            required: !1,
            default: ""
        }
    },
    setup(f) {
        const n = f
          , o = pe()
          , m = Ae()
          , {t: l} = me()
          , r = Je()
          , d = l("addAddr");
        let s = l("paymentMethodRequired");
        const {getSelfCustomerServiceLink: h} = qt({
            ServerType: 2
        })
          , w = j( () => !([3, 10].includes(n.type) && r.getADDUSTD == 0))
          , a = () => {
            h("addUSTD")
        }
        ;
        function _() {
            const U = {
                1: "Withdraw-AddBankCard",
                2: "Withdraw-AddUpi",
                3: "Withdraw-AddUSDT",
                4: "Withdraw-AddType4",
                5: "Withdraw-AddPIX",
                6: "Withdraw-AddWave",
                8: "Withdraw-AddKbz",
                10: "Withdraw-AddUSDT"
            };
            o.replace({
                name: U[n.type],
                query: {
                    fromV: m.name
                }
            })
        }
        const p = j( () => ({
            1: l("titleAddBankCard"),
            2: l("addUpi"),
            3: l("addAddr"),
            4: l("addWallet"),
            5: l("upiAddPaymentMethod"),
            6: l("addWaveType"),
            8: l("upiAddPaymentMethod"),
            10: l("addAddr")
        })[n.type]);
        return (U, u) => {
            const D = O("svg-icon");
            return w.value ? (i(),
            c("div", Os, [e("div", {
                class: "addWithdrawType-top",
                onClick: _
            }, [e("img", {
                src: b(rt)("wallet/withdraw", "add")
            }, null, 8, Vs), e("span", null, t(p.value || b(d)), 1)]), U.isShowhintTextO ? (i(),
            c("div", Ms, t(U.hintTextO || b(s)), 1)) : $("v-if", !0)])) : (i(),
            c("div", {
                key: 1,
                class: "canNotAdd",
                onClick: a
            }, [v(D, {
                name: "customer_b",
                class: "forgetbg"
            }), L(" " + t(U.$t("contactServicer") + U.$t("titleAddUSDTAddr")), 1)]))
        }
    }
});
const ut = ae(Ls, [["__scopeId", "data-v-ef5c8333"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/AddWithdrawType.vue"]])
  , qs = {
    class: "Recharge__container-intro"
}
  , js = {
    class: "br"
}
  , Fs = ["innerHTML"]
  , Es = {
    class: "red"
}
  , zs = {
    class: "red"
}
  , xs = {
    class: "red"
}
  , Hs = {
    key: 0
}
  , Ks = ["innerHTML"]
  , Zs = {
    key: 0
}
  , Gs = ["innerHTML"]
  , Qs = ["innerHTML"]
  , Ys = ["innerHTML"]
  , Xs = ["innerHTML"]
  , Js = ["innerHTML"]
  , eo = ["innerHTML"]
  , to = te({
    __name: "InstructionsW",
    props: {
        withdrawalsrule: {
            type: null,
            required: !0
        },
        withdrawType: {
            type: null,
            required: !1
        },
        award: {
            type: null,
            required: !1
        },
        name: {
            type: null,
            required: !1
        }
    },
    setup(f) {
        return (n, o) => {
            var m, l, r, d, s, h, w, a, _, p, U, u;
            return i(),
            c("div", qs, [e("div", js, [n.withdrawType == 21 ? (i(),
            c(Q, {
                key: 0
            }, [e("p", null, t(n.$t("arWTip1", [n.name])), 1), e("p", null, t(n.$t("arWTip2", [n.name])), 1)], 64)) : $("v-if", !0), [1, 2, 3, 4, 5, 6, 8, 10, 20, 21, 27].includes(n.withdrawType) ? (i(),
            c(Q, {
                key: 1
            }, [e("p", {
                innerHTML: n.$t("instructionDes", [b(ce)((m = n.withdrawalsrule) == null ? void 0 : m.amountofCode)])
            }, null, 8, Fs), e("p", null, [L(t(n.$t("instructionTxt6")) + " ", 1), e("span", Es, t((l = n.withdrawalsrule) == null ? void 0 : l.startTime) + "-" + t((r = n.withdrawalsrule) == null ? void 0 : r.endTime), 1)]), e("p", null, [L(t(n.$t("instructionTxt7")), 1), e("span", zs, t((d = n.withdrawalsrule) == null ? void 0 : d.withdrawRemainingCount), 1)]), e("p", null, [L(t(n.$t("instructionTxt8")) + " ", 1), e("span", xs, t(b(ce)((s = n.withdrawalsrule) == null ? void 0 : s.minPrice)) + "-" + t(b(ce)((h = n.withdrawalsrule) == null ? void 0 : h.maxPrice)), 1)])], 64)) : $("v-if", !0), [3, 10].includes(n.withdrawType) ? (i(),
            c(Q, {
                key: 2
            }, [e("p", null, t(n.$t("instructionTxt10")), 1), e("p", null, t(n.$t("instructionTxt11")), 1)], 64)) : $("v-if", !0), n.withdrawType == 4 ? (i(),
            c(Q, {
                key: 3
            }, [Number(n.award) ? (i(),
            c("div", Hs, [e("p", {
                innerHTML: n.$t("c2cFTip1", [n.name, n.award * 100 || 0])
            }, null, 8, Ks)])) : $("v-if", !0)], 64)) : $("v-if", !0), n.withdrawType == 20 ? (i(),
            c(Q, {
                key: 4
            }, [Number(n.award) ? (i(),
            c("div", Zs, [e("p", {
                innerHTML: n.$t("c2cFTip1", [n.name, n.award * 100 || 0])
            }, null, 8, Gs)])) : $("v-if", !0), e("div", null, [e("p", {
                innerHTML: n.$t("c2cFTip4")
            }, null, 8, Qs)]), e("div", null, [e("p", {
                innerHTML: n.$t("c2cFTip2", [((w = n.withdrawalsrule) == null ? void 0 : w.c2cUnitAmount) || 100])
            }, null, 8, Ys)]), e("div", null, [e("p", {
                innerHTML: n.$t("c2cFTip3")
            }, null, 8, Xs)])], 64)) : $("v-if", !0), n.withdrawType != 21 ? (i(),
            c(Q, {
                key: 5
            }, [(a = n.withdrawalsrule) != null && a.fee ? (i(),
            c(Q, {
                key: 0
            }, [((_ = n.withdrawalsrule) == null ? void 0 : _.withMinPrice) + ((p = n.withdrawalsrule) == null ? void 0 : p.withMaxPrice) ? (i(),
            c("p", {
                key: 0,
                innerHTML: n.$t("sxf", [b(ce)((U = n.withdrawalsrule) == null ? void 0 : U.withMinPrice), b(ce)((u = n.withdrawalsrule) == null ? void 0 : u.withMaxPrice)])
            }, null, 8, Js)) : $("v-if", !0), e("p", {
                innerHTML: n.$t("sxf1", [Math.floor(n.withdrawalsrule.fee * 1e4 / 100).toFixed(2)])
            }, null, 8, eo)], 64)) : $("v-if", !0), e("p", null, t(n.$t("withdrwsTip5")), 1), e("p", null, t(n.$t("withdrwsTip6")), 1)], 64)) : $("v-if", !0)])])
        }
    }
});
const pt = ae(to, [["__scopeId", "data-v-76eb7f31"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/InstructionsW.vue"]])
  , Qe = f => (Se("data-v-391308ac"),
f = f(),
Ie(),
f)
  , ao = {
    class: "c2cConfirm"
}
  , no = Qe( () => e("p", null, [L("*You must click "), e("span", null, "【Confirm Receipt】")], -1))
  , so = Qe( () => e("p", null, "*After receiving the transfer, go to order details and click 【Confirm Receipt】to receive the reward.", -1))
  , oo = Qe( () => e("h6", null, [L("How to "), e("span", null, "【Confirm Receipt】")], -1))
  , lo = {
    class: "imgBox"
}
  , io = {
    class: "box"
}
  , ro = Qe( () => e("div", null, [e("h6", null, "01、"), L("Open my withdrawal record")], -1))
  , co = {
    class: "box"
}
  , uo = Qe( () => e("div", null, "02、Select New-UPI Click Order", -1))
  , po = {
    class: "box"
}
  , vo = Qe( () => e("div", null, "03、Click to Money received", -1))
  , _o = {
    class: "box"
}
  , mo = Qe( () => e("div", null, "04、Complete the order and get rewards", -1))
  , ho = Qe( () => e("span", null, "[Money received]", -1))
  , wo = te({
    __name: "c2cConfirm",
    props: {
        showC2c: {
            type: Boolean,
            default: !1,
            required: !0
        }
    },
    emits: ["update:showC2c"],
    setup(f, {emit: n}) {
        const o = f
          , {showC2c: m} = wt(o, n)
          , l = g(!1);
        function r() {
            if (!l.value)
                return z({
                    message: "Please read the process and check the box to agree",
                    wordBreak: "break-word"
                });
            localStorage.setItem("isC2cCheck", "1"),
            m.value = !1
        }
        return _e( () => {
            localStorage.getItem("isC2cCheck") != null && (l.value = localStorage.getItem("isC2cCheck") == "1")
        }
        ),
        (d, s) => {
            const h = O("van-checkbox")
              , w = Ee("lazy");
            return i(),
            c("div", ao, [no, so, oo, e("div", lo, [e("div", io, [ro, ie(e("img", null, null, 512), [[w, b(ge)("wallet/withdraw/c2c", "1")]])]), e("div", co, [uo, ie(e("img", null, null, 512), [[w, b(ge)("wallet/withdraw/c2c", "2")]])]), e("div", po, [vo, ie(e("img", null, null, 512), [[w, b(ge)("wallet/withdraw/c2c", "3")]])]), e("div", _o, [mo, ie(e("img", null, null, 512), [[w, b(ge)("wallet/withdraw/c2c", "4")]])])]), v(h, {
                modelValue: l.value,
                "onUpdate:modelValue": s[0] || (s[0] = a => l.value = a)
            }, {
                default: Z( () => [L("I already understand the process and agree to come back and click "), ho]),
                _: 1
            }, 8, ["modelValue"]), e("div", {
                class: oe(["btn", {
                    active: l.value
                }]),
                onClick: r
            }, "confirm", 2)])
        }
    }
});
const fo = ae(wo, [["__scopeId", "data-v-391308ac"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/c2cConfirm.vue"]])
  , yo = {
    class: "c2cWithdraw__C"
}
  , go = {
    class: "c2cWithdraw__C-input"
}
  , $o = {
    class: "place-div"
}
  , ko = {
    class: "unit"
}
  , bo = {
    key: 0,
    class: "verify"
}
  , Co = {
    class: "can-withdraw"
}
  , To = {
    class: "c2cWithdraw__C-tip"
}
  , No = {
    class: "c2cWithdraw__C-tip-l"
}
  , So = {
    class: "c2cWithdraw__C-tip-r"
}
  , Io = {
    class: "c2cWithdraw__T"
}
  , Ao = {
    class: "c2cWithdraw__T-h"
}
  , Wo = 20
  , Bo = te({
    __name: "c2cField",
    props: {
        c2crule: {
            type: null,
            required: !0
        },
        c2cAward: {
            type: null,
            required: !0
        },
        c2cName: {
            type: String,
            required: !0
        }
    },
    emits: ["setc2cAmount"],
    setup(f, {emit: n}) {
        const o = f
          , {t: m} = me()
          , l = g(0)
          , r = j( () => Ue().getDollarSign)
          , d = j( () => Number(l.value) ? Number(l.value) * (o.c2crule.c2cUnitAmount || 100) : 0)
          , s = j( () => d.value * o.c2cAward)
          , h = () => {
            const _ = Math.floor(o.c2crule.canWithdrawAmount / 100)
              , p = Math.floor(o.c2crule.maxPrice / 100);
            l.value = _ > p ? p : _
        }
          , w = _ => {
            n("setc2cAmount", _ * (o.c2crule.c2cUnitAmount || 100))
        }
          , a = j( () => {
            if (d.value != 0) {
                if (d.value > o.c2crule.canWithdrawAmount)
                    return console.log("1", d.value, o.c2crule.canWithdrawAmount),
                    m("cashBalanceInsufficient");
                if (d.value > o.c2crule.maxPrice || d.value < o.c2crule.minPrice)
                    return console.log("0"),
                    m("wordWithdrawal", [ce(o.c2crule.minPrice), ce(o.c2crule.maxPrice)])
            }
            return ""
        }
        );
        return _e( () => {}
        ),
        (_, p) => {
            var D;
            const U = O("van-field")
              , u = O("svg-icon");
            return i(),
            c(Q, null, [e("div", yo, [e("div", go, [e("div", $o, t(r.value), 1), v(U, {
                modelValue: l.value,
                "onUpdate:modelValue": [p[0] || (p[0] = y => l.value = y), w],
                modelModifiers: {
                    number: !0
                },
                type: "digit",
                placeholder: _.$t("plsEnterQuantity"),
                class: "amount-input"
            }, null, 8, ["modelValue", "placeholder"]), e("div", ko, t(((D = _.c2crule.c2cUnitAmount) == null ? void 0 : D.toString().substring(1)) || "00"), 1)]), a.value ? (i(),
            c("div", bo, t(a.value), 1)) : $("v-if", !0), e("div", Co, [L(t(_.$t("wfDesc1")) + " " + t(b(ce)(_.c2crule.canWithdrawAmount || 0)) + " ", 1), e("div", {
                onClick: h
            }, t(_.$t("all")), 1)]), e("div", To, [e("div", No, [e("div", null, t(_.$t("wfDesc2")), 1), e("div", null, t(_.$t("savedForYou")), 1)]), e("div", So, [e("div", null, t(b(ce)(d.value)), 1), e("div", null, t(b(ce)(s.value)), 1)])]), at(_.$slots, "default", {}, void 0, !0)]), e("div", Io, [e("div", Ao, [v(u, {
                name: "shuoming"
            }), L(" " + t(_.$t("withdrawalInstructions")), 1)]), v(pt, {
                withdrawType: Wo,
                withdrawalsrule: _.c2crule,
                award: _.c2cAward,
                name: _.c2cName
            }, null, 8, ["withdrawalsrule", "award", "name"])])], 64)
        }
    }
});
const Uo = ae(Bo, [["__scopeId", "data-v-472a2df8"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/c2cField.vue"]])
  , Do = {
    class: "title"
}
  , Po = {
    class: "name"
}
  , Ro = te({
    __name: "c2cUpi",
    props: {
        withdrawalslist: {
            type: Array,
            default: () => []
        },
        withdrawalType: {
            type: Number,
            default: 2
        },
        bid: {
            default: -0
        },
        bankCode: {
            type: String,
            default: ""
        }
    },
    setup(f) {
        const n = f
          , o = Ae()
          , m = pe()
          , l = j( () => n.withdrawalslist.find(d => d.bid == n.bid))
          , r = (d={}) => {
            const s = n.withdrawalType == 2 ? "Withdraw-Upi" : "Withdraw-FastUpi";
            m.replace({
                name: s,
                query: {
                    bid: (d == null ? void 0 : d.bid) || "",
                    fromV: o.name,
                    bankCode: n.bankCode || ""
                }
            })
        }
        ;
        return (d, s) => {
            const h = O("svg-icon")
              , w = O("van-icon");
            return i(),
            c("div", {
                class: oe(["c2cUpi", {
                    noUpi: !l.value
                }]),
                onClick: s[0] || (s[0] = a => r(l.value))
            }, [l.value ? (i(),
            c(Q, {
                key: 0
            }, [e("div", Do, [v(h, {
                name: l.value.bankCode || "upi"
            }, null, 8, ["name"]), e("span", null, t(b(Xe)(l.value.bankCode) || l.value.upiName), 1)]), e("div", Po, t(l.value.upiAccount), 1), v(w, {
                name: "arrow",
                class: "right-icon",
                size: "12"
            })], 64)) : (i(),
            c(Q, {
                key: 1
            }, [L(t(d.$t("addUpi")), 1)], 64))], 2)
        }
    }
});
const Pt = ae(Ro, [["__scopeId", "data-v-fe54ed07"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/c2cUpi.vue"]])
  , Oo = f => (Se("data-v-15989e8c"),
f = f(),
Ie(),
f)
  , Vo = ["onClick"]
  , Mo = {
    class: "c2cRecord__C-item-h"
}
  , Lo = {
    class: "title"
}
  , qo = {
    key: 0
}
  , jo = {
    key: 1
}
  , Fo = {
    class: "c2cRecord__C-item-a"
}
  , Eo = {
    class: "title"
}
  , zo = {
    class: "c2cRecord__C-item-u"
}
  , xo = Oo( () => e("span", {
    class: "title"
}, "UTR", -1))
  , Ho = {
    class: "c2cRecord__C-item-t"
}
  , Ko = {
    class: "title"
}
  , Zo = {
    class: "c2cRecord__C-item-id"
}
  , Go = {
    class: "title"
}
  , Qo = te({
    __name: "c2cRecordList",
    props: {
        list: {
            type: Array,
            required: !0
        }
    },
    setup(f) {
        const n = f
          , {t: o} = me()
          , m = pe()
          , l = [o("c2cState0"), o("c2cState1"), o("c2cState2"), o("c2cState3"), o("c2cState4"), o("c2cTip9"), o("c2cState6"), o("c2cState7"), o("c2cState8"), o("c2cState9"), o("c2cState10"), o("c2cState11"), o("c2cState11"), o("c2cState13"), o("c2cState14")]
          , r = g(null)
          , d = g(0)
          , s = g("00:00")
          , h = g("00:00")
          , w = g(null)
          , a = g(null)
          , _ = (D, y) => {
            localStorage.setItem("c2cOrderNo", D),
            m.push({
                name: "Withdraw-C2cDetail",
                query: {
                    order: D,
                    state: y
                }
            })
        }
        ;
        je( () => n.list, D => {
            if (r.value = D.findIndex(A => A.state === 1),
            r.value != -1) {
                const A = D[r.value].serviceTime.replace(/-/g, "/")
                  , T = D[r.value].confrimEndTime.replace(/-/g, "/");
                d.value = new Date(T).getTime() - new Date(A).getTime(),
                d.value > 0 ? (clearInterval(w.value),
                U()) : s.value = "00:00"
            } else
                s.value = "00:00";
            let y = D.find(A => A.state === 11 || A.state === 12);
            if (y) {
                const A = y.auditEndTime.replace(/-/g, "/")
                  , T = y.serviceTime.replace(/-/g, "/");
                d.value = new Date(T).getTime() - new Date(A).getTime(),
                clearInterval(a.value),
                u()
            } else
                h.value = "00:00"
        }
        );
        const p = D => {
            const y = Math.floor(D / 36e5)
              , A = Math.floor((D - y * 36e5) / 6e4)
              , T = Math.floor((D - y * 36e5 - A * 6e4) / 1e3);
            return console.log("hours", y),
            `${y ? y.toString().padStart(2, "0") + ":" : ""}${A.toString().padStart(2, "0")}:${T.toString().padStart(2, "0")}`
        }
        ;
        function U() {
            w.value = setInterval( () => {
                d.value -= 1e3,
                s.value = p(d.value),
                d.value <= 0 && clearInterval(w.value)
            }
            , 1e3)
        }
        function u() {
            a.value = setInterval( () => {
                d.value += 1e3,
                h.value = p(d.value)
            }
            , 1e3)
        }
        return ft( () => {
            clearInterval(w.value),
            clearInterval(a.value)
        }
        ),
        (D, y) => {
            const A = O("van-icon")
              , T = O("svg-icon");
            return i(!0),
            c(Q, null, $e(D.list, (S, q) => (i(),
            c("div", {
                key: q,
                class: "c2cRecord__C-item",
                onClick: N => _(S.orderNo, S.state)
            }, [e("div", Mo, [e("div", Lo, t(D.$t("withdraw")), 1), e("div", {
                class: oe(["state" + S.state])
            }, [L(t(l[S.state]) + " ", 1), S.state === 1 ? (i(),
            c("span", qo, t(s.value), 1)) : $("v-if", !0), [11, 12].includes(S.state) ? (i(),
            c("span", jo, ": " + t(h.value), 1)) : $("v-if", !0), S.state != 2 ? (i(),
            ye(A, {
                key: 2,
                name: "arrow",
                size: "14"
            })) : $("v-if", !0)], 2)]), e("div", Fo, [e("span", Eo, t(D.$t("amount")), 1), L(" " + t(b(ce)(S.orderAmount)), 1)]), e("div", zo, [xo, e("span", null, [L(t(S.transactionNo), 1), v(T, {
                name: "copy",
                onClick: Bt(N => b(Ke)(S.transactionNo), ["stop"])
            }, null, 8, ["onClick"])])]), e("div", Ho, [e("span", Ko, t(D.$t("time")), 1), L(t(S.createTime), 1)]), e("div", Zo, [e("span", Go, t(D.$t("orderNo")), 1), e("span", null, [L(t(S.orderNo), 1), v(T, {
                name: "copy",
                onClick: Bt(N => b(Ke)(S.orderNo), ["stop"])
            }, null, 8, ["onClick"])])])], 8, Vo))), 128)
        }
    }
});
const Yo = ae(Qo, [["__scopeId", "data-v-15989e8c"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/c2cRecordList.vue"]])
  , Xo = {
    class: "c2cRecord__C"
}
  , Jo = {
    class: "c2cRecord__C-head"
}
  , el = {
    class: "c2cRecord__C-body"
}
  , tl = te({
    __name: "c2cRecord",
    setup(f, {expose: n}) {
        const o = pe()
          , m = g()
          , l = g({
            startDate: "",
            endDate: "",
            type: -1,
            state: -1,
            category: -1
        })
          , r = g([])
          , d = () => {
            o.push({
                name: "WithdrawHistory"
            })
        }
        ;
        return n({
            resetRefresh: () => {
                m.value.resetRefresh()
            }
        }),
        (h, w) => (i(),
        c("div", Xo, [e("div", Jo, t(h.$t("c2CWithdrawalRecord")), 1), e("div", el, [v(tn, {
            list: r.value,
            "onUpdate:list": w[0] || (w[0] = a => r.value = a),
            "page-query": l.value,
            "onUpdate:pageQuery": w[1] || (w[1] = a => l.value = a),
            api: b(Wa),
            distance: 100,
            ref_key: "listRef",
            ref: m,
            "is-auto-load": !0,
            showNoM: !1
        }, {
            content: Z( () => [v(Yo, {
                list: r.value
            }, null, 8, ["list"])]),
            _: 1
        }, 8, ["list", "page-query", "api"])]), e("div", {
            class: "c2cRecord__C-allrecord",
            onClick: d
        }, t(h.$t("allRecords")), 1)]))
    }
});
const al = ae(tl, [["__scopeId", "data-v-824a4891"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/c2cRecord.vue"]])
  , nl = {
    class: "WC4__C"
}
  , sl = {
    class: "WC4__C-input"
}
  , ol = {
    class: "place-div"
}
  , ll = {
    key: 0,
    class: "verify"
}
  , il = {
    class: "can-withdraw"
}
  , rl = {
    class: "amount"
}
  , dl = {
    class: "num"
}
  , cl = 4
  , ul = te({
    __name: "wC4Field",
    props: {
        rule: {
            type: null,
            required: !0
        },
        award: {
            type: null,
            required: !0
        },
        name: {
            type: String,
            required: !0
        },
        wtype: {
            type: Number,
            required: !0
        },
        verify100: {
            type: Boolean,
            required: !0
        }
    },
    emits: ["setc2cAmount"],
    setup(f, {emit: n}) {
        const o = f
          , {t: m} = me()
          , l = g(0)
          , r = j( () => Ue().getDollarSign);
        je( () => o.wtype, a => {
            console.log("1232"),
            l.value = 0
        }
        );
        const d = j( () => {
            if (!l.value)
                return 0;
            const {withMinPrice: a=0, withMaxPrice: _=0, fee: p} = o.rule;
            return p > 0 && a <= l.value && l.value <= _ ? l.value - l.value * p : l.value
        }
        )
          , s = () => {
            const a = o.rule.canWithdrawAmount
              , _ = o.rule.maxPrice;
            l.value = a > _ ? _ : a
        }
          , h = a => {
            n("setc2cAmount", a)
        }
          , w = j( () => {
            if (l.value != 0) {
                if (o.verify100 && l.value % 100 !== 0)
                    return m("withdrawAmount");
                if (l.value > o.rule.canWithdrawAmount)
                    return m("cashBalanceInsufficient");
                if (l.value > o.rule.maxPrice || l.value < o.rule.minPrice)
                    return m("wordWithdrawal", [ce(o.rule.minPrice), ce(o.rule.maxPrice)])
            }
            return ""
        }
        );
        return _e( () => {}
        ),
        (a, _) => {
            const p = O("van-field");
            return i(),
            c("div", nl, [e("div", sl, [e("div", ol, t(r.value), 1), v(p, {
                modelValue: l.value,
                "onUpdate:modelValue": [_[0] || (_[0] = U => l.value = U), h],
                modelModifiers: {
                    number: !0
                },
                type: "digit",
                placeholder: a.$t("plsEnterQuantity"),
                class: "amount-input"
            }, null, 8, ["modelValue", "placeholder"])]), w.value ? (i(),
            c("div", ll, t(w.value), 1)) : $("v-if", !0), e("div", il, [L(t(a.$t("wfDesc1")) + " " + t(b(ce)(a.rule.canWithdrawAmount || 0)) + " ", 1), e("div", {
                onClick: s
            }, t(a.$t("all")), 1)]), e("div", rl, [e("div", null, t(a.$t("wfDesc2")), 1), e("div", dl, t(b(ce)(d.value)), 1)]), at(a.$slots, "default", {}, void 0, !0), v(pt, {
                withdrawType: cl,
                withdrawalsrule: a.rule,
                award: a.award,
                name: a.name
            }, null, 8, ["withdrawalsrule", "award", "name"])])
        }
    }
});
const pl = ae(ul, [["__scopeId", "data-v-81d3a4d3"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/wC4Field.vue"]])
  , vl = {
    class: "name"
}
  , _l = {
    class: "title"
}
  , ml = {
    class: "name"
}
  , hl = te({
    __name: "wC4Id",
    props: {
        withdrawalslist: {
            type: Array,
            default: () => []
        },
        bid: {
            default: -0
        },
        withdrawType: {
            default: 4
        },
        name: {
            default: ""
        }
    },
    setup(f) {
        const n = f
          , o = Ae()
          , m = pe()
          , l = j( () => n.withdrawalslist.find(s => s.bid == n.bid) || {})
          , r = j( () => n.withdrawalslist.length > 0 ? n.withdrawalslist[0] : {})
          , d = s => {
            if (n.withdrawType === 22)
                n.bid || m.replace({
                    name: "Withdraw-AddRsnPay",
                    query: {
                        Type4name: n.name
                    }
                });
            else {
                if ([23, 24].includes(n.withdrawType) && n.withdrawalslist.length)
                    return;
                m.replace({
                    name: "Withdraw-Type4",
                    query: {
                        bid: s,
                        fromV: o.name,
                        Type4name: n.name,
                        withdrawType: n.withdrawType
                    }
                })
            }
        }
        ;
        return _e( () => {}
        ),
        (s, h) => {
            const w = O("van-icon");
            return [4, 23, 24].includes(f.withdrawType) ? (i(),
            c("div", {
                key: 0,
                class: oe(["wC4Id", {
                    noUpi: !f.withdrawalslist.length
                }]),
                onClick: h[0] || (h[0] = a => d(l.value.bid))
            }, [f.withdrawalslist.length ? (i(),
            c(Q, {
                key: 0
            }, [e("div", {
                class: oe(["title", `${l.value.walletName}`])
            }, t(l.value.walletName), 3), e("div", vl, t(l.value.mobileNO), 1), v(w, {
                name: "arrow",
                class: "right-icon",
                size: "12"
            })], 64)) : (i(),
            c(Q, {
                key: 1
            }, [L(t(s.$t("addto")), 1)], 64))], 2)) : (i(),
            c("div", {
                key: 1,
                class: oe(["wC4Id rnsData", {
                    noUpi: !f.withdrawalslist.length
                }]),
                onClick: h[1] || (h[1] = a => d(r.value.bid))
            }, [f.withdrawalslist.length ? (i(),
            c(Q, {
                key: 0
            }, [e("div", _l, t(r.value.bankName), 1), e("div", ml, t(r.value.mobileNo), 1)], 64)) : (i(),
            c(Q, {
                key: 1
            }, [L(t(s.$t("addto")), 1)], 64))], 2))
        }
    }
});
const wl = ae(hl, [["__scopeId", "data-v-8fab5987"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/wC4Id.vue"]])
  , fl = f => (Se("data-v-b6d0c70a"),
f = f(),
Ie(),
f)
  , yl = {
    class: "arCard"
}
  , gl = {
    class: "left"
}
  , $l = ["src"]
  , kl = {
    key: 0,
    class: "tip"
}
  , bl = {
    class: "tit"
}
  , Cl = {
    class: "wallet_amount"
}
  , Tl = fl( () => e("em", null, "rsn", -1))
  , Nl = te({
    __name: "RsnType",
    props: {
        withdrawalslist: {
            type: Array,
            default: () => []
        },
        currentType: {
            type: Object,
            default: {
                withBeforeImgUrl: ""
            }
        },
        rsnInfo: {
            type: Object,
            default: {
                balance: 0,
                walletActivationStatus: 0,
                walletAddress: ""
            }
        },
        bid: {
            default: -0
        },
        withdrawType: {
            default: 4
        },
        name: {
            default: ""
        }
    },
    emits: ["getRnsTypeInfo"],
    setup(f, {emit: n}) {
        const o = f
          , {goActive: m, goWallet: l} = jt()
          , r = () => {
            o.rsnInfo.walletActivationStatus === 0 ? m("wallet/recharge", "RSN") : l("wallet/recharge", "RSN")
        }
        ;
        return _e( () => {
            n("getRnsTypeInfo")
        }
        ),
        (d, s) => {
            var h, w, a;
            return i(),
            c("div", yl, [e("div", gl, [e("img", {
                src: (h = f.currentType) == null ? void 0 : h.withBeforeImgUrl
            }, null, 8, $l), e("div", null, [((w = f.rsnInfo) == null ? void 0 : w.walletActivationStatus) === 0 ? (i(),
            c("div", kl, t(d.$t("rnsNoActive")), 1)) : (i(),
            c(Q, {
                key: 1
            }, [e("div", bl, t(d.$t("RSNTip")), 1), e("div", Cl, [e("em", null, t(d.$t("balance")) + ":", 1), L(t(((a = f.rsnInfo) == null ? void 0 : a.balance) || 0) + " ", 1), Tl])], 64))])]), e("div", {
                class: "right",
                onClick: r
            }, t(f.rsnInfo.walletActivationStatus === 0 ? d.$t("RNSActive") : d.$t("comminWallet")), 1)])
        }
    }
});
const Sl = ae(Nl, [["__scopeId", "data-v-b6d0c70a"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/RsnType.vue"]])
  , Il = {
    class: "c2cWithdraw__C"
}
  , Al = {
    class: "head"
}
  , Wl = {
    class: "c2cWithdraw__C-input"
}
  , Bl = {
    class: "place-div"
}
  , Ul = {
    key: 0,
    class: "verify"
}
  , Dl = {
    class: "can-withdraw"
}
  , Pl = {
    class: "c2cWithdraw__C-tip"
}
  , Rl = {
    class: "c2cWithdraw__C-tip-l"
}
  , Ol = {
    class: "c2cWithdraw__C-tip-r"
}
  , Vl = {
    class: "c2cWithdraw__T"
}
  , Ml = {
    class: "c2cWithdraw__T-h"
}
  , Rt = 21
  , Ll = te({
    __name: "arField",
    setup(f, {expose: n}) {
        const {withdrawalsrule: o, withdrawalTypeslist: m, setc2cAmount: l} = De()
          , {t: r} = me()
          , d = g(0)
          , s = j( () => Ue().getDollarSign)
          , h = j( () => Number(d.value) ? Number(d.value) : 0);
        j( () => {
            var U;
            const p = m.value.find(u => u.withdrawID == Rt);
            return p ? p.recommandWithAmount ? (U = p.recommandWithAmount) == null ? void 0 : U.split(",").map(u => Number(u)) : [] : []
        }
        ),
        g(null);
        const w = () => {
            const p = Math.floor(o.value.canWithdrawAmount)
              , U = Math.floor(o.value.maxPrice);
            d.value = p > U ? U : p
        }
          , a = p => {
            l(p)
        }
          , _ = j( () => {
            if (h.value != 0) {
                if (h.value > o.value.canWithdrawAmount)
                    return r("cashBalanceInsufficient");
                if (h.value > o.value.maxPrice || h.value < o.value.minPrice)
                    return r("wordWithdrawal", [ce(o.value.minPrice), ce(o.value.maxPrice)])
            }
            return ""
        }
        );
        return n({
            validateTxt: _
        }),
        (p, U) => {
            var y;
            const u = O("svg-icon")
              , D = O("van-field");
            return i(),
            c(Q, null, [e("div", Il, [e("div", Al, [v(u, {
                name: "saveWallet"
            }), L(" " + t(p.$t("enterA")), 1)]), $('		<div class="Withdraw__content-paymoney" v-if="quickList.length > 0">'), $('			<div class="Withdraw__content-paymoney__money-list">'), $("				<div"), $('					class="Withdraw__content-paymoney__money-list__item"'), $(`					:class="currentQuickIndex === index ? 'active' : ''"`), $('					v-for="(item, index) in quickList"'), $('					:key="index"'), $('					@click="handleQuickSelect(index)"'), $("				>"), $('					<div class="amount" >'), $("						{{formatNum(Number(item))}}"), $("					</div>"), $("				</div>"), $("			</div>"), $("		</div>"), e("div", Wl, [e("div", Bl, t(s.value), 1), v(D, {
                modelValue: d.value,
                "onUpdate:modelValue": [U[0] || (U[0] = A => d.value = A), a],
                modelModifiers: {
                    number: !0
                },
                type: "digit",
                placeholder: p.$t("plsEnterQuantity"),
                class: "amount-input"
            }, null, 8, ["modelValue", "placeholder"]), e("div", {
                class: "all",
                onClick: w
            }, t(p.$t("all")), 1)]), _.value ? (i(),
            c("div", Ul, t(_.value), 1)) : $("v-if", !0), e("div", Dl, t(p.$t("wfDesc1")) + " " + t(b(ce)(b(o).canWithdrawAmount || 0)), 1), e("div", Pl, [e("div", Rl, [e("div", null, t(p.$t("wfDesc2")), 1)]), e("div", Ol, [e("div", null, t(b(ce)(h.value)), 1)])]), at(p.$slots, "default", {}, void 0, !0)]), e("div", Vl, [e("div", Ml, [v(u, {
                name: "shuoming"
            }), L(t(p.$t("withdrawalInstructions")), 1)]), v(pt, {
                withdrawType: Rt,
                withdrawalsrule: b(o),
                name: ((y = b(m).find(A => A.withdrawID == 21)) == null ? void 0 : y.name) || ""
            }, null, 8, ["withdrawalsrule", "name"])])], 64)
        }
    }
});
const ql = ae(Ll, [["__scopeId", "data-v-7dcfb9e1"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/Ar/arField.vue"]])
  , jl = {
    class: "arType"
}
  , Fl = {
    class: "left"
}
  , El = {
    class: "right"
}
  , zl = {
    key: 0,
    class: "arCard"
}
  , xl = {
    class: "left"
}
  , Hl = ["src"]
  , Kl = {
    class: "amount"
}
  , Zl = {
    class: "recycleBtnD c2c"
}
  , Gl = te({
    __name: "card",
    emits: ["onShowPwdD"],
    setup(f, {expose: n, emit: o}) {
        const {data_NewSetWithdrawalH: m} = De()
          , {getInfo: l, arWallet: r, goWallet: d, onTradRule: s} = jt()
          , h = g()
          , w = j( () => {
            var _, p;
            if ([21].includes(m.value.type) && m.value.amount > 0)
                return !(m.value.amount < 1 || ((_ = h.value) == null ? void 0 : _.validateTxt.length) > 0 || m.value.bid == 0 || ((p = r.value) == null ? void 0 : p.walletActivationStatus) != 1)
        }
        );
        return _e( () => {
            l()
        }
        ),
        n({
            isActiveC: w
        }),
        (a, _) => {
            var u, D;
            const p = O("svg-icon")
              , U = O("van-icon");
            return i(),
            c("div", jl, [e("div", {
                class: "rule",
                onClick: _[0] || (_[0] = y => b(s)())
            }, [e("div", Fl, [v(p, {
                name: "arpay1"
            }), e("p", null, t(a.$t("arbTip1")), 1)]), e("div", El, [L(t(a.$t("checkOver")), 1), v(U, {
                name: "arrow"
            })])]), ((u = b(r)) == null ? void 0 : u.walletActivationStatus) == 1 ? (i(),
            c(Q, {
                key: 0
            }, [[21].includes(b(m).type) ? (i(),
            c("div", zl, [e("div", xl, [e("img", {
                src: b(ge)("wallet/withdrawType", `${b(m).type}`)
            }, null, 8, Hl), e("p", null, [e("span", null, t(a.$t("arbTip13")), 1), e("span", Kl, t(((D = b(r)) == null ? void 0 : D.balance) || 0) + " ARB", 1)])]), e("div", {
                class: "right",
                onClick: _[1] || (_[1] = y => b(d)("wallet/withdraw"))
            }, t(a.$t("comminWallet")), 1)])) : $("v-if", !0), v(ql, {
                ref_key: "arFieldRef",
                ref: h
            }, {
                default: Z( () => [e("div", Zl, [e("button", {
                    class: oe(["recycleBtn", {
                        active: w.value
                    }]),
                    onClick: _[2] || (_[2] = () => {
                        o("onShowPwdD")
                    }
                    )
                }, t(a.$t("withdraw")), 3)])]),
                _: 1
            }, 512), v(ht)], 64)) : (i(),
            ye(an, {
                key: 1,
                pageType: "wallet/Withdraw"
            }))])
        }
    }
});
const Ql = ae(Gl, [["__scopeId", "data-v-69845b27"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/Ar/card.vue"]])
  , Yl = {
    class: "noRightTimeDialog"
}
  , Xl = {
    class: "fail"
}
  , Jl = {
    class: "van-dialog__content-title title1"
}
  , ei = {
    class: "van-dialog__content-note"
}
  , ti = {
    class: "red"
}
  , ai = te({
    __name: "noRightTimeDialog",
    setup(f) {
        const {withdrawalsrule: n} = De()
          , o = j( () => n.value ? n.value.startTime : "00:00")
          , m = j( () => n.value ? n.value.endTime : "23:59");
        return (l, r) => {
            const d = Ee("lazy");
            return i(),
            c("div", Yl, [ie(e("img", Xl, null, 512), [[d, b(ge)("wallet", "tip")]]), e("div", Jl, t(l.$t("noRightTime")), 1), e("div", ei, [e("p", null, [L(t(l.$t("wTimeInterval")), 1), e("span", ti, t(o.value) + "-" + t(m.value), 1), L(", ")]), e("p", null, t(l.$t("later")), 1)])])
        }
    }
});
const ni = ae(ai, [["__scopeId", "data-v-415fa4b1"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/noRightTimeDialog.vue"]])
  , Qt = f => (Se("data-v-80a607a5"),
f = f(),
Ie(),
f)
  , si = {
    class: "withdraw__container"
}
  , oi = {
    class: "withdraw__container-content"
}
  , li = {
    class: "recycleBtnD c2c"
}
  , ii = {
    class: "recycleBtnD c2c"
}
  , ri = {
    key: 1,
    class: "bankInfoItem usdt"
}
  , di = ["src"]
  , ci = {
    key: 2,
    class: "bankInfoItem usdt KBZ"
}
  , ui = ["src"]
  , pi = {
    key: 0
}
  , vi = {
    key: 1
}
  , _i = {
    key: 0
}
  , mi = {
    key: 1
}
  , hi = {
    class: "recycleBtnD"
}
  , wi = {
    class: "succeed"
}
  , fi = {
    class: "van-dialog__content-title"
}
  , yi = {
    class: "van-dialog__content-note"
}
  , gi = {
    class: "succeedImg"
}
  , $i = {
    class: "c2cTip"
}
  , ki = ["innerHTML"]
  , bi = ["innerHTML"]
  , Ci = {
    class: "pwd"
}
  , Ti = {
    class: "pwd-head ar-1px-b"
}
  , Ni = Qt( () => e("input", {
    type: "text",
    class: "is-hidden"
}, null, -1))
  , Si = Qt( () => e("input", {
    type: "password",
    class: "is-hidden"
}, null, -1))
  , Ii = {
    class: "red"
}
  , Ai = {
    class: "forgetPwd"
}
  , Wi = {
    class: "btnD"
}
  , Bi = ["innerHTML"]
  , Ui = {
    class: "question"
}
  , Di = {
    class: "button"
}
  , Pi = {
    class: "arupiAmount"
}
  , Ri = {
    class: "title1"
}
  , Oi = ["innerHTML"]
  , Vi = {
    class: "button"
}
  , Mi = {
    class: "arupiAmount"
}
  , Li = {
    class: "title1"
}
  , qi = {
    class: "title2"
}
  , ji = {
    class: "button"
}
  , Fi = te({
    __name: "index",
    setup(f) {
        const {setWithdrawal: n, setWithdrawalsrule: o, setWithdrawalTypeslist: m} = De()
          , l = g(!1)
          , r = g(!1)
          , d = g(!1)
          , {t: s} = me()
          , {setLoading: h} = Be()
          , {getUserInfo: w, getRegisterState: a, $state: _} = yt()
          , p = pe()
          , U = Ae()
          , u = Je()
          , D = g()
          , y = g()
          , A = g()
          , T = g({})
          , S = g({
            balance: 0,
            walletActivationStatus: 0,
            walletAddress: ""
        })
          , q = g()
          , N = g(0)
          , B = g(!1)
          , H = g(!1)
          , ee = j( () => _.isOpenForgetPasswordSMSState)
          , P = Ft()
          , le = Ue()
          , C = j( () => P.userInfo)
          , J = j( () => {
            var k;
            return R.type === 22 && ((k = S.value) == null ? void 0 : k.walletActivationStatus) === 0
        }
        )
          , x = g("")
          , I = g(!1)
          , Y = g(!1)
          , M = j( () => {
            var K, Ne;
            const k = [4, 20, 22, 23, 24];
            return R.bid == 0 || R.amount < 1 ? !1 : Y.value && R.amount > 0 ? R.amount % 100 !== 0 : k.includes(R.type) && R.amount > 0 ? !(F.value.withdrawalslist.length == 0 || R.amount > F.value.withdrawalsrule.canWithdrawAmount) : !(![1, 2, 3, 5, 6, 8, 10, 27].includes(R.type) || (K = D.value) != null && K.showValidate || (Ne = D.value) != null && Ne.showValidateUB || R.type == 1 && R.amount.toString().indexOf(".") != -1)
        }
        )
          , W = g(!1)
          , E = g(!1)
          , G = g(!1)
          , ne = g(!1)
          , ve = g(!1)
          , R = he({
            amount: 0,
            pwd: "",
            type: 0,
            bid: 0,
            name: "",
            tip: ""
        })
          , we = g(null)
          , Ve = g("")
          , F = g({
            withdrawalslist: [],
            withdrawalsrule: {}
        })
          , re = j( () => {
            var k, V;
            return (V = (k = F.value.withdrawalsrule) == null ? void 0 : k.arbWithdrawRecommand) == null ? void 0 : V.popupContent
        }
        )
          , We = j( () => {
            var k, V;
            return ((V = (k = F.value.withdrawalsrule) == null ? void 0 : k.arbWithdrawRecommand) == null ? void 0 : V.giftPercent) || 0
        }
        )
          , Te = j( () => {
            var k, V;
            return ((V = (k = F.value.withdrawalsrule) == null ? void 0 : k.arbWithdrawRecommand) == null ? void 0 : V.arbGiftPercent) || 0
        }
        )
          , Pe = g([])
          , ue = g("")
          , Re = g("")
          , Me = g(!1)
          , Le = g(!1)
          , tt = g([])
          , de = g({})
          , Oe = j( () => R.type !== 27 ? F.value.withdrawalslist || [] : F.value.withdrawalslist.filter(k => k.bankCode === ue.value))
          , Ce = g([])
          , Ye = g("");
        function na() {
            p.back()
        }
        const sa = () => {
            if (l.value = !l.value,
            l.value) {
                const k = new Date().getTime() + 2592e6;
                localStorage.setItem("popupHideUntil", k.toString())
            } else
                localStorage.removeItem("popupHideUntil")
        }
        ;
        async function oa() {
            we.value && clearTimeout(we.value),
            we.value = setTimeout(async () => {
                if (C.value.isAllowWithdraw == 0) {
                    H.value = !0,
                    G.value = !1;
                    return
                }
                let k = F.value.withdrawalsrule;
                R.amount = Number(R.amount);
                var V = /^\d+(\.\d{1,2})?$/;
                if (!V.test(R.amount.toString())) {
                    z(s("showDialogTip1")),
                    G.value = !1;
                    return
                }
                if (R.amount > k.maxPrice || R.amount < k.minPrice) {
                    z(s("wordWithdrawal", [ce(k.minPrice), ce(k.maxPrice)])),
                    G.value = !1;
                    return
                }
                if (!R.pwd) {
                    z(s("emptyPassword")),
                    G.value = !1;
                    return
                }
                h(!0);
                const K = await ia(Pa(R));
                K && (K.code !== 0 && K.msgCode == 220 ? (ne.value = !0,
                setTimeout(function() {
                    ne.value = !1
                }, 3e3)) : K.code !== 0 && K.msgCode == 280 ? setTimeout(function() {
                    R.type == 20 && (K != null && K.data) && (localStorage.setItem("c2cOrderNo", K == null ? void 0 : K.data),
                    p.push({
                        name: "Withdraw-C2cDetail",
                        query: {
                            order: K == null ? void 0 : K.data
                        }
                    }))
                }, 2e3) : K.code !== 0 && K.msgCode === 1009 ? await ga({
                    message: s("code1009")
                }) : K.code !== 0 && K.msgCode === 287 ? lt() : R.type == 20 ? (E.value = !0,
                Ve.value = K == null ? void 0 : K.data) : W.value = !0),
                G.value = !1,
                h(!1)
            }
            , 500)
        }
        function la() {
            const k = {
                1: "Withdraw-BankCard",
                3: "Withdraw-USDT",
                10: "Withdraw-USDT",
                5: "Withdraw-PIX"
            };
            p.replace({
                name: k[R.type]
            })
        }
        const ia = async k => await k.then(K => K && K.code !== 0 ? [220, 1009].includes(K.msgCode) ? K : [280, 287].includes(K.msgCode) ? (it(K),
        K) : (it(K),
        null) : K).catch(K => (it(K),
        null));
        async function bt(k) {
            k == "c2c" ? (E.value = !1,
            (R.type == 20 || R.type == 2) && Ve.value && (localStorage.setItem("c2cOrderNo", Ve.value),
            p.push({
                name: "Withdraw-C2cDetail",
                query: {
                    order: Ve.value
                }
            }))) : (W.value = !1,
            await p.push({
                name: "WithdrawHistory"
            }))
        }
        async function ra() {
            Me.value = !1,
            R.pwd = "",
            G.value = !0
        }
        async function da() {
            var k, V;
            if (!ve.value)
                try {
                    ve.value = !0;
                    const K = typeof ((k = de.value) == null ? void 0 : k.withdrawNumber) == "string"
                      , Ne = K ? Lt({
                        withdrawId: (V = de.value) == null ? void 0 : V.withdrawID,
                        smsCode: Re.value,
                        categoryId: 27
                    }) : Et({
                        bid: R.bid,
                        smsCode: Re.value,
                        categoryId: 27
                    })
                      , qe = await X(Ne);
                    Re.value = "",
                    qe && (Le.value = !1,
                    K ? (Ct(),
                    lt()) : Me.value = !0)
                } finally {
                    ve.value = !1
                }
        }
        function ot() {
            var k;
            if (R.type == 27 && le.getNeedFastKycValidIsOpen) {
                const V = Oe.value.find(K => K.bid == R.bid);
                if (V && !V.isKycOnline)
                    return de.value = V,
                    Le.value = !0;
                if (V && V.isKycOnline)
                    return Me.value = !0
            }
            R.type == 21 ? (k = y.value) != null && k.isActiveC && (R.pwd = "",
            G.value = !0) : M.value && (R.pwd = "",
            G.value = !0)
        }
        async function ca() {
            var V, K;
            h(!0);
            const k = await X(Ua());
            if (k) {
                Ce.value = (k == null ? void 0 : k.data.withdrawlist) || [],
                m(Ce.value),
                u.getWithdrawal.type && Ce.value.find(ke => ke.withdrawID == u.getWithdrawal.type) ? R.type = u.getWithdrawal.type : Ce.value.find(ke => ke.withdrawID == u.getWithdrawal.type) || (R.type = 0),
                R.type == 0 && (R.type = Ce.value[0].withdrawID,
                Ye.value = Ce.value[0].name,
                R.type == 20 && (B.value = !0)),
                [4, 23, 24].includes(R.type) && (Ye.value = ((V = Ce.value.find(ke => ke.withdrawID == R.type)) == null ? void 0 : V.name) || ""),
                R.type == 22 && (Ye.value = ((K = Ce.value.find(ke => ke.withdrawID == 22)) == null ? void 0 : K.name) || "");
                let Ne = localStorage.getItem("popupHideUntil") || void 0;
                const qe = new Date().getTime();
                if (I.value = k.data.isOpenSafeGuide,
                I.value) {
                    const ke = parseInt(Ne, 10);
                    qe < ke && (I.value = !1),
                    x.value = k.data.safeGuideContent || ""
                }
            }
            h(!1)
        }
        const ua = async () => {
            try {
                const k = await Ba();
                (k == null ? void 0 : k.code) === 0 ? S.value = k.data : z({
                    message: k == null ? void 0 : k.msg
                })
            } catch (k) {
                console.log("error", k)
            }
        }
          , Ct = async () => {
            try {
                const k = await Ra({
                    categoryId: 27
                });
                if ((k == null ? void 0 : k.code) === 0 && (tt.value = k == null ? void 0 : k.data,
                tt.value.length)) {
                    const V = k.data[0];
                    de.value = V,
                    Le.value = !0,
                    Re.value = ""
                }
            } catch {}
        }
        ;
        async function Tt(k) {
            R.type != k.withdrawID && (p.replace(),
            k.withdrawID == 20 && (B.value = !0),
            Y.value = k.need100 === !0,
            R.type = k.withdrawID,
            T.value = {},
            await lt(),
            Ye.value = k.name || "",
            R.bid = Oe.value.length > 0 ? Oe.value[0].bid : 0,
            R.amount = 0,
            D.value && (D.value.usdtCount = 0))
        }
        function pa() {
            T.value = F.value.withdrawalslist.find(V => V.bid == R.bid);
            const k = R.type === 27 ? Oe.value : F.value.withdrawalslist || [];
            !T.value && k.length && (R.bid = k[0].bid,
            T.value = k[0])
        }
        async function lt() {
            var V, K, Ne, qe;
            h(!0);
            const k = await X(Ze({
                withdrawid: R.type
            }));
            h(!1),
            k && (F.value = k.data,
            Pe.value = (k == null ? void 0 : k.data.arUpiRecommandBankList) || [],
            R.type === 27 && (Pe.value.length > 0 && !U.query.bankCode ? ue.value = Pe.value[0].bankCode : ue.value = U.query.bankCode),
            u.setWithdrawalslist(k.data.withdrawalslist),
            o((V = k.data) == null ? void 0 : V.withdrawalsrule),
            (Ne = (K = k.data) == null ? void 0 : K.withdrawalsrule) != null && Ne.arbWithdrawRecommand && !d.value && (r.value = !0),
            k.data.lastBandCarkName ? localStorage.setItem("lastBandCarkName", (qe = k.data) == null ? void 0 : qe.lastBandCarkName) : localStorage.removeItem("lastBandCarkName"),
            pa())
        }
        function va() {
            p.push({
                name: "CustomerService"
            })
        }
        function _a() {
            p.push({
                name: "rpwd"
            })
        }
        const ma = () => {
            p.push({
                name: "StrongBox"
            })
        }
          , ha = async () => {
            const k = await X(Da({
                key: "C2CWithdrawRewardRate"
            }))
              , V = (k == null ? void 0 : k.data.value1) || 0;
            N.value = Number(V)
        }
          , Nt = k => {
            R.amount = k
        }
        ;
        je(R, k => {
            u.setWithdrawal({
                ...k
            }),
            n(k)
        }
        ),
        je( () => R.type, k => {
            k === 27 && Ct()
        }
        );
        const wa = async () => {
            var V, K;
            const k = (K = (V = p.currentRoute.value) == null ? void 0 : V.query) == null ? void 0 : K.bid;
            u.getWithdrawal.type && (R.type = u.getWithdrawal.type),
            w({
                signature: P.token
            }),
            a(),
            k && (R.bid = Number(k)),
            await ca(),
            await lt(),
            await ha()
        }
        ;
        return _e( () => {
            wa()
        }
        ),
        (k, V) => {
            var It, At;
            const K = O("NavBar")
              , Ne = O("svg-icon")
              , qe = O("van-icon")
              , ke = O("van-dialog")
              , fa = O("van-popup")
              , St = Ee("lazy");
            return i(),
            c(Q, null, [e("div", si, [v(K, {
                title: k.$t("withdraw"),
                "left-arrow": "",
                onClickLeft: na,
                onClickRight: V[0] || (V[0] = se => b(p).push({
                    name: "WithdrawHistory"
                }))
            }, {
                right: Z( () => [e("span", null, t(k.$t("withdrawRecords")), 1)]),
                _: 1
            }, 8, ["title"]), e("div", oi, [$("资产余额"), v(vn, {
                data_NewSetWithdrawal: R,
                withdrawalsrule: F.value.withdrawalsrule
            }, null, 8, ["data_NewSetWithdrawal", "withdrawalsrule"]), $("提款方式"), v(Zn, {
                data_NewSetWithdrawal: R,
                withdrawalTypeslist: Ce.value,
                c2cAward: N.value,
                onOnSelectWithdrawalType: Tt,
                maxRechargeRifts: We.value,
                ArRechargeRifts: Te.value
            }, null, 8, ["data_NewSetWithdrawal", "withdrawalTypeslist", "c2cAward", "maxRechargeRifts", "ArRechargeRifts"]), $(" upi "), [27, 2].includes(R.type) ? (i(),
            c(Q, {
                key: 0
            }, [Pe.value.length && R.type !== 2 ? (i(),
            ye(es, {
                key: 0,
                bankList: Pe.value,
                "bank-code": ue.value,
                onOnSelectWithdrawalType: V[1] || (V[1] = se => {
                    var Wt;
                    ue.value = se,
                    R.bid = ((Wt = Oe.value[0]) == null ? void 0 : Wt.bid) || 0
                }
                )
            }, null, 8, ["bankList", "bank-code"])) : $("v-if", !0), v(Pt, {
                bankCode: ue.value,
                withdrawalType: R.type,
                withdrawalslist: Oe.value,
                bid: R.bid
            }, null, 8, ["bankCode", "withdrawalType", "withdrawalslist", "bid"])], 64)) : $("v-if", !0), $(" c2cupi "), R.type == 20 ? (i(),
            c(Q, {
                key: 1
            }, [v(Pt, {
                withdrawalslist: F.value.withdrawalslist,
                bid: R.bid
            }, null, 8, ["withdrawalslist", "bid"]), v(Uo, {
                c2crule: F.value.withdrawalsrule,
                c2cAward: N.value,
                onSetc2cAmount: Nt,
                verify100: Y.value,
                c2cName: ((It = Ce.value.find(se => se.withdrawID == 20)) == null ? void 0 : It.name) || ""
            }, {
                default: Z( () => [e("div", li, [e("button", {
                    class: oe(["recycleBtn", {
                        active: M.value
                    }]),
                    onClick: ot
                }, t(k.$t("withdraw")), 3)])]),
                _: 1
            }, 8, ["c2crule", "c2cAward", "verify100", "c2cName"]), v(al, {
                ref_key: "c2cRecordRef",
                ref: q
            }, null, 512)], 64)) : R.type == 21 ? (i(),
            ye(Ql, {
                key: 2,
                onOnShowPwdD: V[2] || (V[2] = se => ot()),
                ref_key: "ArCardRef",
                ref: y
            }, null, 512)) : [4, 23, 24, 22].includes(R.type) ? (i(),
            c(Q, {
                key: 3
            }, [R.type === 22 ? (i(),
            ye(Sl, {
                key: 0,
                withdrawalslist: F.value.withdrawalslist,
                withdrawType: R.type,
                bid: R.bid,
                name: Ye.value,
                rsnInfo: S.value,
                currentType: Ce.value.find(se => se.withdrawID == 22),
                onGetRnsTypeInfo: ua
            }, null, 8, ["withdrawalslist", "withdrawType", "bid", "name", "rsnInfo", "currentType"])) : (i(),
            ye(wl, {
                key: 1,
                withdrawalslist: F.value.withdrawalslist,
                withdrawType: R.type,
                bid: R.bid,
                name: Ye.value
            }, null, 8, ["withdrawalslist", "withdrawType", "bid", "name"])), J.value ? $("v-if", !0) : (i(),
            ye(pl, {
                key: 2,
                rule: F.value.withdrawalsrule,
                award: N.value,
                wtype: R.type,
                onSetc2cAmount: Nt,
                name: ((At = Ce.value.find(se => se.withdrawID == 20)) == null ? void 0 : At.name) || "",
                verify100: Y.value
            }, {
                default: Z( () => [e("div", ii, [e("button", {
                    class: oe(["recycleBtn", {
                        active: M.value
                    }]),
                    onClick: ot
                }, t(k.$t("withdraw")), 3)])]),
                _: 1
            }, 8, ["rule", "award", "wtype", "name", "verify100"])), $("提现记录"), J.value ? $("v-if", !0) : (i(),
            ye(ht, {
                key: 3,
                ref_key: "withdrawHistory",
                ref: A
            }, null, 512))], 64)) : (i(),
            c(Q, {
                key: 4
            }, [$("银行卡模块"), F.value.withdrawalslist.length ? (i(),
            c("div", {
                key: 0,
                class: "bankInfo",
                onClick: V[3] || (V[3] = se => la())
            }, [[1, 5].includes(R.type) ? (i(),
            c("div", {
                key: 0,
                class: oe(["bankInfoItem", `type${R.type}`])
            }, [e("div", null, [v(Ne, {
                name: R.type
            }, null, 8, ["name"]), e("span", null, t(T.value.bankName), 1)]), e("div", null, [e("span", null, t(T.value.beneficiaryName), 1), e("span", null, t(T.value.accountNo), 1)]), v(qe, {
                name: "arrow"
            })], 2)) : $("v-if", !0), [3, 10].includes(R.type) ? (i(),
            c("div", ri, [e("div", null, [e("img", {
                src: b(ge)("wallet/withdrawType", `${R.type}`)
            }, null, 8, di), e("span", null, t(T.value.bankName), 1)]), e("div", null, [e("span", null, t(T.value.accountNo), 1), v(qe, {
                name: "arrow"
            })]), e("div", null, [e("span", null, t(T.value.usdtRemarkName), 1)])])) : $("v-if", !0), [6, 8].includes(R.type) ? (i(),
            c("div", ci, [e("div", null, [e("img", {
                src: b(ge)("wallet/withdrawType", `${R.type}`)
            }, null, 8, ui), R.type == 6 ? (i(),
            c("span", pi, t(T.value.bankName), 1)) : $("v-if", !0), R.type == 8 ? (i(),
            c("span", vi, t(T.value.walletName), 1)) : $("v-if", !0)]), e("div", null, [R.type == 6 ? (i(),
            c("span", _i, t(T.value.accountNo), 1)) : $("v-if", !0), R.type == 8 ? (i(),
            c("span", mi, t(T.value.mobileNO), 1)) : $("v-if", !0)])])) : $("v-if", !0)])) : $("v-if", !0), ie(v(ut, {
                type: R.type,
                isShowhintTextO: !0
            }, null, 8, ["type"]), [[vt, [1, 3, 6, 8, 5, 10].includes(R.type) && F.value.withdrawalslist.length == 0]]), $("输入区"), v(Rs, {
                data_NewSetWithdrawal: R,
                withdrawalsrule: F.value.withdrawalsrule,
                withdrawalslist: F.value.withdrawalslist,
                verify100: Y.value,
                ref_key: "withdrawField",
                ref: D
            }, null, 8, ["data_NewSetWithdrawal", "withdrawalsrule", "withdrawalslist", "verify100"]), e("div", hi, [e("button", {
                class: oe(["recycleBtn", {
                    active: M.value
                }]),
                onClick: ot
            }, t(k.$t("withdraw")), 3)]), $("提现说明组件"), v(pt, {
                withdrawType: R.type,
                withdrawalsrule: F.value.withdrawalsrule
            }, null, 8, ["withdrawType", "withdrawalsrule"]), $("提现记录"), v(ht, {
                ref_key: "withdrawHistory",
                ref: A
            }, null, 512)], 64))]), $("提现成功弹窗"), v(ke, {
                show: W.value,
                "onUpdate:show": V[5] || (V[5] = se => W.value = se),
                "show-confirm-button": !1,
                "z-index": "100"
            }, {
                default: Z( () => [ie(e("img", wi, null, 512), [[St, b(ge)("public", "succeed")]]), e("div", fi, t(k.$t("tipWithdrawalApplicationSuccess")), 1), e("div", yi, [e("span", null, t(k.$t("tipWithdrawWillBeCompletedIn2Hours")), 1), e("span", null, t(k.$t("tipPlaWaitPaciently")) + "...", 1)]), e("div", {
                    class: "van-dialog__content-btn",
                    onClick: V[4] || (V[4] = se => bt())
                }, t(k.$t("confirm")), 1)]),
                _: 1
            }, 8, ["show"]), v(mt, {
                class: "c2c",
                show: E.value,
                "onUpdate:show": V[6] || (V[6] = se => E.value = se),
                showCancelBtn: !1,
                onConfirm: V[7] || (V[7] = se => bt("c2c")),
                title: k.$t("withdrawTip2")
            }, {
                header: Z( () => [ie(e("img", gi, null, 512), [[St, b(ge)("public", "succeed")]])]),
                content: Z( () => [e("div", $i, [e("h1", {
                    innerHTML: k.$t("withdrawTip3")
                }, null, 8, ki), e("p", {
                    innerHTML: k.$t("withdrawTip4")
                }, null, 8, bi)])]),
                _: 1
            }, 8, ["show", "title"]), $("输入密码弹窗"), G.value ? (i(),
            ye(fa, {
                key: 0,
                show: G.value,
                "onUpdate:show": V[10] || (V[10] = se => G.value = se),
                position: "bottom",
                closeable: "",
                round: ""
            }, {
                default: Z( () => [e("div", Ci, [e("div", Ti, [v(Ne, {
                    name: "safeIcon"
                }), e("h1", null, t(k.$t("withdrawDialogDesc1")), 1)]), Ni, Si, v(en, {
                    value: R.pwd,
                    "onUpdate:value": V[8] || (V[8] = se => R.pwd = se),
                    label: k.$t("withdrawDialogPh"),
                    maxlength: 32
                }, null, 8, ["value", "label"]), e("span", Ii, t(k.$t("withdrawDialogDesc3")), 1), e("div", Ai, [ee.value ? (i(),
                c("span", {
                    key: 0,
                    onClick: _a
                }, t(k.$t("withdrawDialogDesc4")), 1)) : $("v-if", !0), e("div", {
                    class: "red",
                    onClick: va
                }, t(k.$t("withdrawDialogDesc5")), 1)]), e("div", Wi, [e("button", {
                    onClick: V[9] || (V[9] = () => G.value = !1)
                }, t(k.$t("withdrawDialogDesc6")), 1), e("button", {
                    onClick: oa
                }, t(k.$t("withdrawDialogDesc7")), 1)])])]),
                _: 1
            }, 8, ["show"])) : $("v-if", !0), $("不在提现时间内提示"), v(ke, {
                show: ne.value,
                "onUpdate:show": V[11] || (V[11] = se => ne.value = se),
                "show-confirm-button": !1,
                "z-index": "100"
            }, {
                default: Z( () => [v(ni)]),
                _: 1
            }, 8, ["show"]), v(ke, {
                show: B.value,
                "onUpdate:show": V[13] || (V[13] = se => B.value = se),
                showConfirmButton: !1,
                class: "c2cconfirm",
                width: "100%"
            }, {
                default: Z( () => [B.value ? (i(),
                ye(fo, {
                    key: 0,
                    showC2c: B.value,
                    "onUpdate:showC2c": V[12] || (V[12] = se => B.value = se)
                }, null, 8, ["showC2c"])) : $("v-if", !0)]),
                _: 1
            }, 8, ["show"]), v(mt, {
                show: H.value,
                "onUpdate:show": V[14] || (V[14] = se => H.value = se),
                showCancelBtn: !1,
                showCloseIcon: !0,
                clickOutSide: !0,
                onConfirm: V[15] || (V[15] = () => H.value = !1)
            }, {
                content: Z( () => [e("h1", null, t(k.$t("withdrwsTip1")), 1)]),
                _: 1
            }, 8, ["show"])]), v(ke, {
                "class-name": "safebox-dialog",
                show: I.value,
                "onUpdate:show": V[17] || (V[17] = se => I.value = se)
            }, {
                footer: Z( () => [e("div", Ui, t(k.$t("safeG")), 1), e("div", {
                    class: oe(["active", {
                        a: l.value
                    }]),
                    onClick: sa
                }, [v(Ne, {
                    name: "active"
                }), L(t(k.$t("checkSafeBox")), 1)], 2), e("div", Di, [e("div", {
                    onClick: V[16] || (V[16] = se => I.value = !1)
                }, t(k.$t("no")), 1), e("div", {
                    onClick: ma
                }, t(k.$t("go")), 1)])]),
                default: Z( () => [e("div", {
                    class: "content",
                    innerHTML: x.value
                }, null, 8, Bi)]),
                _: 1
            }, 8, ["show"]), v(ke, {
                class: "arupiAmount-dialog",
                closeOnClickOverlay: !0,
                show: r.value,
                "onUpdate:show": V[20] || (V[20] = se => r.value = se),
                "show-confirm-button": !1,
                width: 327
            }, {
                default: Z( () => [e("div", Pi, [e("div", Ri, t(k.$t("arupiTitle")), 1), e("div", {
                    class: "title2",
                    innerHTML: re.value
                }, null, 8, Oi), e("div", Vi, [e("div", {
                    class: "goBuy",
                    onClick: V[18] || (V[18] = () => {
                        Tt({
                            withdrawID: 21
                        }),
                        r.value = !1,
                        d.value = !0
                    }
                    )
                }, t(k.$t("goarWithdraw")), 1), e("div", {
                    class: "clance",
                    onClick: V[19] || (V[19] = () => {
                        r.value = !1,
                        d.value = !0
                    }
                    )
                }, t(k.$t("cancel")), 1)])])]),
                _: 1
            }, 8, ["show"]), v(ke, {
                class: "arupiAmount-dialog",
                closeOnClickOverlay: !0,
                show: Me.value,
                "onUpdate:show": V[22] || (V[22] = se => Me.value = se),
                "show-confirm-button": !1,
                width: 327
            }, {
                default: Z( () => [e("div", Mi, [e("div", Li, t(k.$t("kindTips")), 1), e("div", qi, [e("p", null, t(k.$t("quickTips")), 1), e("p", null, t(k.$t("quickTips2")), 1)]), e("div", ji, [e("div", {
                    class: "clance",
                    onClick: V[21] || (V[21] = se => Me.value = !1)
                }, t(k.$t("changeAccount")), 1), e("div", {
                    class: "goBuy",
                    onClick: ra
                }, t(k.$t("continueAccount")), 1)])])]),
                _: 1
            }, 8, ["show"]), v(ke, {
                show: Le.value,
                "onUpdate:show": V[25] || (V[25] = se => Le.value = se),
                showConfirmButton: !1,
                width: "fit-content",
                "lazy-render": ""
            }, {
                default: Z( () => [v(ct, {
                    bid: de.value.bid,
                    bank: de.value.bankCode,
                    upi: de.value.upiAccount || de.value.accountNo,
                    mobile: de.value.mobileNo,
                    code: Re.value,
                    "onUpdate:code": V[23] || (V[23] = se => Re.value = se),
                    withdrawalId: de.value.withdrawID,
                    withdrawalAmount: de.value.price,
                    onConfirm: da,
                    onClose: V[24] || (V[24] = () => {
                        Le.value = !1,
                        Re.value = ""
                    }
                    )
                }, null, 8, ["bid", "bank", "upi", "mobile", "code", "withdrawalId", "withdrawalAmount"])]),
                _: 1
            }, 8, ["show"])], 64)
        }
    }
});
const Ei = ae(Fi, [["__scopeId", "data-v-80a607a5"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/index.vue"]])
  , h_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: Ei
}, Symbol.toStringTag, {
    value: "Module"
}))
  , zi = {
    class: "chooseBank__container"
}
  , xi = {
    class: "search"
}
  , Hi = ["placeholder"]
  , Ki = {
    class: "chooseBank__container-content"
}
  , Zi = {
    class: "chooseBank__container-content-items"
}
  , Gi = {
    class: "ar-1px-b"
}
  , Qi = ["onClick"]
  , Yi = {
    class: "chooseBank__container-content-items__title"
}
  , Xi = ["src"]
  , Ji = te({
    __name: "index",
    props: {
        bankList: {
            type: Array,
            required: !0
        }
    },
    emits: ["onSelectItem"],
    setup(f, {emit: n}) {
        const o = f
          , m = g("");
        let l = he([])
          , r = g([]);
        function d(h) {
            n("onSelectItem", h)
        }
        async function s() {
            if (console.log("----------->", Array.isArray(o.bankList)),
            Array.isArray(o.bankList) && o.bankList.length > 0) {
                l = o.bankList,
                r.value = l;
                return
            }
            const h = await X(Ge({
                withdrawid: 1
            }));
            h && (l = h.data.banklist,
            r.value = l)
        }
        return je(m, () => {
            l.length > 0 && (r.value = l.filter(h => h.bankName.toLowerCase().indexOf(m.value.toLowerCase()) !== -1))
        }
        ),
        _e( () => {
            s()
        }
        ),
        (h, w) => {
            const a = O("van-icon");
            return i(),
            c("div", zi, [e("div", xi, [v(a, {
                name: "search",
                size: "35"
            }), ie(e("input", {
                placeholder: h.$t("phSearchBank"),
                "onUpdate:modelValue": w[0] || (w[0] = _ => m.value = _)
            }, null, 8, Hi), [[fe, m.value, void 0, {
                trim: !0
            }]])]), e("div", Ki, [e("div", Zi, [e("div", Gi, t(h.$t("selectBank")), 1), (i(!0),
            c(Q, null, $e(b(r), _ => (i(),
            c("div", {
                key: _.bankID,
                class: "chooseBank__container-content-items__item ar-1px-b",
                onClick: p => d(_)
            }, [e("div", Yi, [e("img", {
                src: _.bankLogo,
                alt: ""
            }, null, 8, Xi), e("span", null, t(_.bankName), 1)])], 8, Qi))), 128))])])])
        }
    }
});
const Yt = ae(Ji, [["__scopeId", "data-v-c1c91417"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/ChooseBank/index.vue"]])
  , w_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: Yt
}, Symbol.toStringTag, {
    value: "Module"
}))
  , er = {
    class: "banks-mask"
}
  , tr = {
    class: "choose-bank"
}
  , ar = {
    class: "choose-title"
}
  , nr = {
    class: "choose-list"
}
  , sr = {
    class: "warm-tips"
}
  , or = {
    class: "bank-radio-group"
}
  , lr = te({
    __name: "banks",
    props: {
        modelValue: {
            type: Boolean,
            default: !1
        },
        list: {
            type: Array,
            default: () => []
        }
    },
    emits: ["update:modelValue", "changeBank"],
    setup(f, {emit: n}) {
        const o = f
          , m = g({
            name: "",
            code: 0
        })
          , l = () => {
            const d = m.value.code
              , s = o.list.find(h => h.code == d);
            d !== 0 && s && (n("changeBank", s),
            n("update:modelValue", !1))
        }
          , r = () => {
            n("update:modelValue", !1)
        }
        ;
        return (d, s) => {
            const h = O("van-radio")
              , w = O("van-radio-group")
              , a = O("svg-icon");
            return o.modelValue ? (i(),
            ye($a, {
                key: 0,
                to: "body"
            }, [e("div", er, [e("div", tr, [e("div", ar, t(d.$t("selectBank")), 1), e("div", nr, [e("p", sr, t(d.$t("chooseBankWarmTips")), 1), e("div", or, [v(w, {
                class: "bank-radio-group-van",
                modelValue: m.value.code,
                "onUpdate:modelValue": s[0] || (s[0] = _ => m.value.code = _)
            }, {
                default: Z( () => [(i(!0),
                c(Q, null, $e(o.list, _ => (i(),
                ye(h, {
                    class: "bank-radio-item",
                    name: _.code
                }, {
                    default: Z( () => [L(t(_.name), 1)]),
                    _: 2
                }, 1032, ["name"]))), 256))]),
                _: 1
            }, 8, ["modelValue"])]), e("button", {
                class: "confirm-button",
                onClick: l
            }, t(d.$t("confirm")), 1)])]), e("div", {
                class: "close",
                onClick: r
            }, [v(a, {
                class: "img",
                name: "close"
            })])])])) : $("v-if", !0)
        }
    }
});
const ir = ae(lr, [["__scopeId", "data-v-6db521fb"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/AddBankCard/banks.vue"]])
  , rr = {
    class: "addBankCard__container"
}
  , dr = {
    key: 0,
    class: "addBankCard__container-content"
}
  , cr = {
    class: "addBankCard__container-content-top"
}
  , ur = ["src"]
  , pr = {
    class: "addBankCard__container-content-item"
}
  , vr = {
    class: "label"
}
  , _r = {
    class: "addBankCard__container-content-item"
}
  , mr = {
    class: "label"
}
  , hr = ["placeholder", "readonly"]
  , wr = {
    key: 0,
    class: "red"
}
  , fr = {
    key: 1,
    class: "red"
}
  , yr = {
    class: "addBankCard__container-content-item"
}
  , gr = {
    class: "label"
}
  , $r = ["placeholder"]
  , kr = {
    class: "addBankCard__container-content-item"
}
  , br = {
    class: "label phone_icon"
}
  , Cr = ["placeholder"]
  , Tr = {
    key: 0,
    class: "addBankCard__container-content-item"
}
  , Nr = {
    class: "label"
}
  , Sr = ["placeholder"]
  , Ir = {
    key: 1,
    class: "addBankCard__container-content-item"
}
  , Ar = {
    class: "label"
}
  , Wr = ["placeholder"]
  , Br = {
    key: 2,
    class: "addBankCard__container-content-item"
}
  , Ur = {
    class: "label"
}
  , Dr = ["placeholder"]
  , Pr = {
    key: 3,
    class: "addBankCard__container-content-item"
}
  , Rr = {
    class: "label"
}
  , Or = ["placeholder"]
  , Vr = {
    class: "addBankCard__container-content-btn"
}
  , Mr = {
    key: 1
}
  , Lr = te({
    __name: "index",
    setup(f) {
        const n = g(!1)
          , {t: o} = me()
          , m = g(0)
          , {setLoading: l} = Be()
          , r = yt()
          , d = pe()
          , {isOpenWithdraw: s, isOpenAddBankCardOpenEmail: h} = ze()
          , w = d.currentRoute.value.query.fromV || "Withdraw-BankCard"
          , a = g()
          , _ = g([])
          , {iseditor: p, onInput: U, setUL: u, onLoad: D, makeTxt: y} = De()
          , A = j( () => a.value ? a.value : o("addCardMsg1"));
        function T(F) {
            C.bankid = F.bankID,
            a.value = F.bankName,
            m.value = 0
        }
        const S = j( () => m.value == 0 ? o("titleAddBankCard") : o("selectBank"))
          , q = g(!1)
          , N = g(!1)
          , B = g(!1);
        let H = he([]);
        const ee = Ue()
          , P = j( () => ee.getDollarSign);
        P.value && (q.value = ["₫", "K"].includes(P.value),
        N.value = P.value == "₹",
        B.value = P.value == "৳");
        function le() {
            if (m.value > 0)
                return m.value = 0;
            d.replace({
                name: w,
                query: {
                    type: "Add"
                }
            })
        }
        const C = he({
            smsCode: "",
            ifsccode: "",
            bankid: 0,
            beneficiaryname: "",
            accountno: "",
            email: "",
            mobileno: "",
            bankcitycode: "",
            bankprovincecode: "",
            bankbranchaddress: "",
            type: "",
            codeType: be.addBankCard
        });
        _e( () => {
            J()
        }
        );
        async function J() {
            const F = await X(Ge({
                withdrawid: 1
            }));
            F && (H = F.data.banklist,
            C.ifsccode && C.ifsccode.length >= 4 && R())
        }
        const I = xe({
            content: () => v(He, {
                type: C.type,
                "onUpdate:type": F => C.type = F,
                code: C.smsCode,
                "onUpdate:code": F => C.smsCode = F,
                onConfirm: E,
                codeType: be.addBankCard
            }, null),
            beforeClose: () => {
                C.smsCode = ""
            }
        })
          , Y = j( () => !(C.beneficiaryname.trim().length == 0 || C.accountno.trim().length == 0 || C.mobileno.trim().length == 0 || !N.value && !B.value && C.bankbranchaddress.trim().length == 0 || C.bankid == 0 || N.value == !0 && C.ifsccode.trim().length == 0 || B.value == !0 && C.ifsccode.trim().length == 0))
          , M = () => {
            const F = localStorage.getItem("numberType") || r.userForm.numberType;
            if (!Y.value)
                return !1;
            if (C.bankid == 0)
                return z({
                    message: o("addCardMsg1"),
                    wordBreak: "break-word"
                });
            if (C.beneficiaryname.toString().trim().length == 0)
                return z({
                    message: o("addCardMsg2"),
                    wordBreak: "break-word"
                });
            if (C.accountno.toString().trim().length == 0)
                return z({
                    message: o("addCardMsg3"),
                    wordBreak: "break-word"
                });
            {
                let re;
                if (P.value == "R$") {
                    if (re = /^[0-9\-]{6,25}$/,
                    C.accountno.indexOf("-") == -1)
                        return z({
                            message: o("code212"),
                            wordBreak: "break-word"
                        })
                } else
                    re = /^[0-9]{6,25}$/;
                if (!re.test(C.accountno))
                    return z({
                        message: o("code212"),
                        wordBreak: "break-word"
                    })
            }
            if (A.value.toUpperCase() == "STATE BANK OF INDIA" && C.accountno.toString().trim().charAt(0) == "0")
                return z({
                    message: o("addBC1", [A.value]),
                    wordBreak: "break-word"
                });
            if (C.mobileno.toString().trim().length == 0)
                return z({
                    message: o("addCardMsg4"),
                    wordBreak: "break-word"
                });
            if (!st(F, C.mobileno.trim().length))
                return z({
                    message: o("wrongTel"),
                    wordBreak: "break-word"
                });
            if (C.bankbranchaddress.toString().trim().length == 0 && !N.value && !B.value)
                return z({
                    message: o("addCardMsg5"),
                    wordBreak: "break-word"
                });
            if (h.value && C.email.toString().trim().length == 0)
                return z({
                    message: o("addCardMsg6"),
                    wordBreak: "break-word"
                });
            if (N.value == !0) {
                if (C.ifsccode.trim().length == 0)
                    return z({
                        message: o("phEnter") + o("IFSCCode"),
                        wordBreak: "break-word"
                    });
                if (!/^[A-Za-z]{4}0[A-Za-z0-9]{6}$/.test(C.ifsccode))
                    return z({
                        message: o("IFSCCode") + o("formatErr"),
                        wordBreak: "break-word"
                    })
            }
            return h.value && !Zt.email1.test(C.email) ? z({
                message: o(Gt.email),
                wordBreak: "break-word"
            }) : B.value == !0 && C.ifsccode.trim().length == 0 ? z({
                message: o("phEnter") + " Routing Number",
                wordBreak: "break-word"
            }) : !0
        }
        ;
        async function W() {
            if (C.smsCode = "",
            M() === !0) {
                if (s.value)
                    return I.open();
                await E()
            }
        }
        async function E() {
            const F = localStorage.getItem("numberType") || r.userForm.numberType;
            l(!0),
            C.beneficiaryname = C.beneficiaryname.trim(),
            await X(Oa(Object.assign({}, C, {
                mobileno: F + C.mobileno
            }))) && (Fe(o("addedSuccessfully")),
            I.close(),
            await d.replace({
                name: w,
                query: {
                    type: "Add"
                },
                replace: !0
            })),
            l(!1)
        }
        function G() {
            P.value == "R$" ? C.accountno = C.accountno.replace(/[^\d\-]+/g, "") : C.accountno = C.accountno.replace(/[^\d]+/g, "")
        }
        function ne(F) {
            const re = F.substring(0, 4).toUpperCase();
            return H.filter(We => We.ifscCode.toUpperCase() === re).map(We => ({
                name: We.bankName,
                code: We.bankID
            }))
        }
        const ve = () => {
            C.ifsccode = C.ifsccode.replace(/[^a-zA-Z0-9]/g, ""),
            u(C, "ifsccode")
        }
          , R = () => {
            const F = ne(C.ifsccode.substring(0, 4));
            if (F.length > 1 && C.ifsccode.length >= 4)
                return _.value = F,
                n.value = !0;
            const re = F[0] || {
                name: "",
                code: 0
            };
            re && re.code && C.ifsccode ? (a.value = re.name,
            C.bankid = re.code) : (a.value = o("addCardMsg1"),
            C.bankid = 0),
            u(C, "ifsccode")
        }
          , we = F => {
            a.value = F.name,
            C.bankid = F.code
        }
        ;
        j( () => {
            const F = ne(C.ifsccode);
            return !(N.value && F.code != 0 && C.ifsccode)
        }
        );
        function Ve() {
            m.value = 2
        }
        return D(C, "beneficiaryname"),
        (F, re) => {
            const We = O("NavBar")
              , Te = O("svg-icon")
              , Pe = O("van-icon");
            return i(),
            c(Q, null, [e("div", rr, [v(We, {
                title: S.value,
                "left-arrow": "",
                onClickLeft: le
            }, null, 8, ["title"]), m.value == 0 ? (i(),
            c("div", dr, [e("div", cr, [e("img", {
                src: b(ge)("wallet", "hint")
            }, null, 8, ur), e("span", null, t(F.$t("tipBindUrOwnCardToEnsureFundSafety")), 1)]), e("div", pr, [e("div", vr, [v(Te, {
                name: "bank"
            }), L(" " + t(F.$t("selectBank")), 1)]), e("div", {
                class: "selectB",
                onClick: Ve
            }, [L(t(A.value) + " ", 1), v(Pe, {
                name: "arrow"
            })])]), $("验证收款人姓名"), e("div", _r, [e("div", mr, [v(Te, {
                name: "name"
            }), L(" " + t(F.$t("payeeName")), 1)]), ie(e("input", {
                placeholder: F.$t("phEnterPayeeName"),
                "onUpdate:modelValue": re[0] || (re[0] = ue => C.beneficiaryname = ue),
                maxlength: "50",
                onInput: re[1] || (re[1] = ue => b(y)(C, "beneficiaryname")),
                readonly: b(p)
            }, null, 40, hr), [[fe, C.beneficiaryname, void 0, {
                trim: !0
            }]]), q.value ? (i(),
            c("span", wr, t(F.$t("validateDesc21")), 1)) : $("v-if", !0), q.value ? (i(),
            c("p", fr, t(F.$t("example")) + " : DINH THI HUYEN", 1)) : $("v-if", !0)]), e("div", yr, [e("div", gr, [v(Te, {
                name: "bankCard"
            }), L(" " + t(F.$t("bankcardNo")), 1)]), ie(e("input", {
                placeholder: F.$t("phEnterBankcardNo"),
                "onUpdate:modelValue": re[2] || (re[2] = ue => C.accountno = ue),
                maxlength: "25",
                onInput: G
            }, null, 40, $r), [[fe, C.accountno, void 0, {
                trim: !0
            }]])]), e("div", kr, [e("div", br, [v(Te, {
                name: "phone"
            }), L(" " + t(F.$t("tel")), 1)]), ie(e("input", {
                placeholder: F.$t("phEnterPayeeTel"),
                "onUpdate:modelValue": re[3] || (re[3] = ue => C.mobileno = ue),
                maxlength: "12",
                onInput: re[4] || (re[4] = ue => b(U)(C, "mobileno"))
            }, null, 40, Cr), [[fe, C.mobileno, void 0, {
                trim: !0
            }]])]), b(h) ? (i(),
            c("div", Tr, [e("div", Nr, [v(Te, {
                name: "email"
            }), L(" " + t(F.$t("email")), 1)]), ie(e("input", {
                type: "text",
                placeholder: F.$t("inputemail"),
                "onUpdate:modelValue": re[5] || (re[5] = ue => C.email = ue),
                maxlength: "250"
            }, null, 8, Sr), [[fe, C.email, void 0, {
                trim: !0
            }]])])) : $("v-if", !0), N.value ? (i(),
            c("div", Ir, [e("div", Ar, [v(Te, {
                name: "ifscCode"
            }), L(" " + t(F.$t("IFSCCode")), 1)]), ie(e("input", {
                placeholder: F.$t("phEnter") + F.$t("IFSCCode"),
                "onUpdate:modelValue": re[6] || (re[6] = ue => C.ifsccode = ue),
                onBlur: R,
                onInput: ve,
                maxlength: "11"
            }, null, 40, Wr), [[fe, C.ifsccode, void 0, {
                trim: !0
            }]])])) : $("v-if", !0), B.value ? (i(),
            c("div", Br, [e("div", Ur, [v(Te, {
                name: "address"
            }), L(" Routing Number ")]), ie(e("input", {
                placeholder: F.$t("phEnter") + " Routing Number",
                "onUpdate:modelValue": re[7] || (re[7] = ue => C.ifsccode = ue)
            }, null, 8, Dr), [[fe, C.ifsccode, void 0, {
                trim: !0
            }]])])) : $("v-if", !0), !N.value && !B.value ? (i(),
            c("div", Pr, [e("div", Rr, [v(Te, {
                name: "address"
            }), L(" " + t(F.$t("branchBankAddr")), 1)]), ie(e("textarea", {
                class: "textarea",
                name: "remark",
                id: "",
                cols: "30",
                rows: "10",
                placeholder: F.$t("phEnterBranchAddr"),
                "onUpdate:modelValue": re[8] || (re[8] = ue => C.bankbranchaddress = ue),
                maxlength: "100"
            }, null, 8, Or), [[fe, C.bankbranchaddress, void 0, {
                trim: !0
            }]])])) : $("v-if", !0), e("div", Vr, [e("button", {
                class: oe({
                    active: Y.value
                }),
                onClick: W
            }, t(F.$t("save")), 3)])])) : (i(),
            c("div", Mr, [$("选择银行卡"), v(Yt, {
                bankList: b(H),
                onOnSelectItem: T
            }, null, 8, ["bankList"])]))]), v(ir, {
                modelValue: n.value,
                "onUpdate:modelValue": re[9] || (re[9] = ue => n.value = ue),
                list: _.value,
                onChangeBank: we
            }, null, 8, ["modelValue", "list"])], 64)
        }
    }
});
const qr = ae(Lr, [["__scopeId", "data-v-1726638e"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/AddBankCard/index.vue"]])
  , f_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: qr
}, Symbol.toStringTag, {
    value: "Module"
}))
  , nt = document.createElement("canvas")
  , Ot = nt.getContext("2d");
nt.width = 1920;
nt.height = 1080;
class jr extends Error {
    constructor() {
        super("can't process cross-origin image"),
        this.name = "DropImageFetchError"
    }
}
class Fr extends Error {
    constructor() {
        super("drag-and-dropped file is not of type image and can't be decoded"),
        this.name = "DropImageDecodeError"
    }
}
function Xt(f, n, o) {
    let m, l;
    const r = new Promise( (d, s) => {
        m = d,
        l = s
    }
    );
    return f.addEventListener(n, m),
    f.addEventListener(o, l),
    r.finally( () => {
        f.removeEventListener(n, m),
        f.removeEventListener(o, l)
    }
    ),
    r
}
function Er(f, n, o) {
    const m = Math.min(1, nt.width / n, nt.height / o)
      , l = m * n
      , r = m * o;
    return Ot.drawImage(f, 0, 0, l, r),
    Ot.getImageData(0, 0, l, r)
}
function zr(f) {
    const n = f.naturalWidth
      , o = f.naturalHeight;
    return Er(f, n, o)
}
async function xr(f) {
    if (f.startsWith("http") && f.includes(location.host) === !1)
        throw new jr;
    const n = document.createElement("img");
    return n.src = f,
    await Xt(n, "load"),
    zr(n)
}
async function Hr(f) {
    if (/image.*/.test(f.type)) {
        const n = new FileReader;
        n.readAsDataURL(f);
        const m = (await Xt(n, "load")).target.result
          , l = await xr(m);
        return ka(l.data, l.width, l.height)
    } else
        throw new Fr
}
const Jt = f => (Se("data-v-b3c0cdff"),
f = f(),
Ie(),
f)
  , Kr = {
    class: "addupi_C"
}
  , Zr = {
    class: "addupi_C-header wallet_18"
}
  , Gr = Jt( () => e("div", {
    class: "addupi_C-title"
}, "UPI Name", -1))
  , Qr = {
    class: "addupi_C-title"
}
  , Yr = {
    class: "addupi_C_number"
}
  , Xr = {
    class: "tip"
}
  , Jr = Jt( () => e("div", {
    class: "addupi_C-title"
}, "UPI ID", -1))
  , ed = {
    key: 0,
    class: "addupi_C-title"
}
  , td = {
    key: 2,
    class: "addupi_C-title"
}
  , ad = {
    key: 3,
    class: "addupi_C-uploader"
}
  , nd = {
    class: "addupi_C-uploader-btn"
}
  , sd = {
    key: 4,
    class: "addupi_C-title"
}
  , od = te({
    __name: "index",
    setup(f) {
        const n = pe()
          , o = Ae()
          , {isOpenWithdraw: m} = ze()
          , l = Ue()
          , r = g("91")
          , d = g("")
          , {t: s} = me()
          , h = g("")
          , w = g([])
          , a = g()
          , _ = j( () => n.currentRoute.value.query.bankCode || "")
          , {iseditor: p, onLoad: U, makeTxt: u} = De()
          , D = () => {
            n.replace({
                name: "Withdraw-FastUpi",
                query: {
                    type: "Add",
                    bankCode: _.value,
                    bid: o.query.bid || ""
                }
            })
        }
          , y = he({
            beneficiaryName: "",
            accountNo: "",
            smsCode: "",
            type: "",
            bankCode: _.value,
            categoryId: _.value ? 27 : null,
            mobileNo: "",
            codeType: be.addNewUPI_N,
            confirmAccountNo: "",
            pin: ""
        })
          , T = xe({
            content: () => _.value && l.getNeedFastKycValidIsOpen ? v(ct, {
                code: y.smsCode,
                "onUpdate:code": M => y.smsCode = M,
                mobile: y.mobileNo,
                onConfirm: I,
                bank: _.value,
                upi: y.accountNo
            }, null) : v(He, {
                type: y.type,
                "onUpdate:type": M => y.type = M,
                code: y.smsCode,
                "onUpdate:code": M => y.smsCode = M,
                onConfirm: I,
                codeType: y.codeType
            }, null),
            beforeClose: () => {
                y.smsCode = ""
            }
        })
          , S = M => (M.preventDefault(),
        !1);
        function q(M) {
            const W = M.target
              , E = /[^0-9]/g;
            W.value = W.value.replace(E, "")
        }
        const N = M => {
            y.accountNo = M.target.value.replace(/[\u4e00-\u9fa5]/g, "")
        }
          , B = (M, W) => {
            let E = "";
            if (M.includes("://"))
                return E = new URL(M).searchParams.get("pa") || "",
                E === W;
            {
                const G = M.match(/pa=([^&\s]+)/);
                return E = G ? G[1] : "",
                E === W
            }
        }
          , H = async M => {
            const W = w.value[0] || M
              , E = y.accountNo || "";
            if (!l.getNeedFastKycValidIsOpen && !_.value)
                return !0;
            if (!E)
                return z(s("phEnterUPIID"));
            if (!W)
                return z(s("withdrawQrcodeTips"));
            try {
                const G = await Hr(W.file);
                return B(G.data, E.trim()) ? !0 : z(s("qrupiId"))
            } catch (G) {
                return console.log(G),
                z(s("upiUploadImg"))
            }
        }
          , ee = async M => typeof await H(M) == "boolean";
        function P(M) {
            var ne;
            const W = sessionStorage.getItem("areaPhoneLenList");
            let G = (ne = JSON.parse(W).find(ve => M.indexOf(ve.area.replace("+", "")) == 0)) == null ? void 0 : ne.area.replace("+", "");
            G && (r.value = G,
            d.value = M.substring(G.length))
        }
        const le = j( () => y.beneficiaryName && y.accountNo && d && r)
          , C = g(!1)
          , J = async () => {
            const M = await X(zt());
            h.value = (M == null ? void 0 : M.data) || "",
            h.value != "" && P(h.value)
        }
          , x = async () => {
            if (!l.getNeedKycValid)
                return !1;
            const M = await X(Ma({
                categoryId: 27,
                accountNo: y.accountNo
            }));
            return M ? (M.data && z({
                message: s("code254"),
                wordBreak: "break-word"
            }),
            M.data) : !1
        }
          , I = async () => {
            const {confirmAccountNo: M, ...W} = y;
            if (C.value)
                return;
            C.value = !0;
            const E = await X(Va(W));
            C.value = !1,
            E && (Fe(s("addedSuccessfully")),
            T.close(),
            await n.replace({
                name: "Withdraw-FastUpi",
                query: {
                    bankCode: _.value,
                    bid: o.query.bid || ""
                }
            }))
        }
        ;
        U(y, "beneficiaryName");
        const Y = async () => {
            const M = /^[a-zA-Z0-9]([a-zA-Z0-9._-]*[a-zA-Z0-9])?@[a-zA-Z0-9]+(\.[a-zA-Z0-9]+)*$/;
            if (!y.mobileNo)
                return z(s("pphone"));
            if (!st(r.value, `${y.mobileNo}`.trim().length))
                return z({
                    message: s("wrongTel"),
                    wordBreak: "break-word"
                });
            if (_.value === "slice" && !/^\d{4}$/.test(y.pin))
                return z(s("pinFormatError"));
            if (!M.test(y.accountNo))
                return z(s("UPIID"));
            if (typeof await H() == "boolean" && !await x()) {
                if (!M.test(y.confirmAccountNo) && !_.value)
                    return z(s("confirmAccountNo"));
                if (y.accountNo !== y.confirmAccountNo && !_.value)
                    return z(s("UPIIDNotSame"));
                if (_.value && l.getNeedFastKycValidIsOpen || m.value)
                    return T.open();
                I()
            }
        }
        ;
        return Mt(a, () => {
            a.value.close()
        }
        ),
        J(),
        (M, W) => {
            const E = O("NavBar")
              , G = O("svg-icon")
              , ne = O("van-field")
              , ve = O("van-icon")
              , R = O("van-uploader");
            return i(),
            c("div", Kr, [v(E, {
                title: `${b(Xe)(_.value)} ${M.$t("paymentMethod")}`,
                "left-arrow": "",
                onClickLeft: D
            }, null, 8, ["title"]), e("div", Zr, [v(G, {
                name: _.value || "upi"
            }, null, 8, ["name"]), L(t(M.$t("UPIInformation")), 1)]), Gr, v(ne, {
                class: "upi-input",
                modelValue: y.beneficiaryName,
                "onUpdate:modelValue": W[0] || (W[0] = we => y.beneficiaryName = we),
                modelModifiers: {
                    trim: !0
                },
                maxlength: 30,
                placeholder: M.$t("phEnterUPIName"),
                readonly: b(p),
                onInput: W[1] || (W[1] = we => b(u)(y, "beneficiaryName")),
                rules: [{
                    required: !0,
                    message: M.$t("phEnterUPIName")
                }]
            }, null, 8, ["modelValue", "placeholder", "readonly", "rules"]), e("div", Qr, t(M.$t("phoneN")), 1), e("div", Yr, [v(ne, {
                class: "upi-input number",
                modelValue: y.mobileNo,
                "onUpdate:modelValue": W[2] || (W[2] = we => y.mobileNo = we),
                modelModifiers: {
                    number: !0,
                    trim: !0
                },
                type: "text",
                onInput: q,
                maxlength: b(xt)(r.value),
                placeholder: M.$t("plsEnterTel")
            }, null, 8, ["modelValue", "maxlength", "placeholder"])]), e("div", Xr, [v(ve, {
                name: "warning-o",
                size: "14"
            }), L(t(M.$t("upiTip1")), 1)]), Jr, v(ne, {
                class: "upi-input",
                modelValue: y.accountNo,
                "onUpdate:modelValue": W[3] || (W[3] = we => y.accountNo = we),
                modelModifiers: {
                    trim: !0
                },
                maxlength: 30,
                type: "text",
                onInput: N,
                placeholder: M.$t("phEnterUPIID")
            }, null, 8, ["modelValue", "placeholder"]), _.value === "slice" ? (i(),
            c("div", ed, t(M.$t("pin")), 1)) : $("v-if", !0), _.value === "slice" ? (i(),
            ye(ne, {
                key: 1,
                class: "upi-input",
                modelValue: y.pin,
                "onUpdate:modelValue": W[4] || (W[4] = we => y.pin = we),
                modelModifiers: {
                    trim: !0
                },
                maxlength: 4,
                min: 0,
                max: 9999,
                type: "digit",
                placeholder: M.$t("enterPin")
            }, null, 8, ["modelValue", "placeholder"])) : $("v-if", !0), _.value ? (i(),
            c("div", td, t(M.$t("withdrawQrcode")), 1)) : $("v-if", !0), _.value ? (i(),
            c("div", ad, [v(R, {
                ref: "uploadRef",
                "max-size": 5e3 * 1024,
                accept: "image/*",
                "after-read": ee,
                "preview-full-image": !1,
                modelValue: w.value,
                "onUpdate:modelValue": W[5] || (W[5] = we => w.value = we),
                "max-count": 1,
                onOversize: W[6] || (W[6] = () => b(_t)(M.$t("sellTip14")))
            }, {
                default: Z( () => [e("div", nd, [v(G, {
                    name: "uploadIcon"
                }), e("span", null, t(w.value.length === 0 ? M.$t("uploadImage") : M.$t("changeImage")), 1)])]),
                _: 1
            }, 8, ["modelValue"])])) : $("v-if", !0), _.value ? $("v-if", !0) : (i(),
            c("div", sd, t(M.$t("confirm")) + " UPI ID", 1)), _.value ? $("v-if", !0) : (i(),
            ye(ne, {
                key: 5,
                onPaste: S,
                class: "upi-input",
                modelValue: y.confirmAccountNo,
                "onUpdate:modelValue": W[7] || (W[7] = we => y.confirmAccountNo = we),
                modelModifiers: {
                    trim: !0
                },
                maxlength: 30,
                type: "text",
                placeholder: M.$t("phEnterUPIID")
            }, null, 8, ["modelValue", "placeholder"])), e("div", {
                class: oe(["bind-bank-sumbit", {
                    disable: !le.value
                }]),
                onClick: Y
            }, t(M.$t("save")), 3)])
        }
    }
});
const ld = ae(od, [["__scopeId", "data-v-b3c0cdff"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/AddFastUpi/index.vue"]])
  , y_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: ld
}, Symbol.toStringTag, {
    value: "Module"
}))
  , id = {
    class: "addKBZ"
}
  , rd = {
    class: "addKBZ-top"
}
  , dd = ["src"]
  , cd = {
    class: "addKBZ-item"
}
  , ud = {
    class: "label"
}
  , pd = {
    class: "selectB"
}
  , vd = {
    class: "addKBZ-item"
}
  , _d = {
    class: "label"
}
  , md = ["placeholder", "readonly"]
  , hd = {
    class: "addKBZ-item"
}
  , wd = {
    class: "label"
}
  , fd = ["placeholder"]
  , yd = te({
    __name: "index",
    setup(f) {
        const {iseditor: n, onInput: o, checkAccoutNo: m, onLoad: l, makeTxt: r} = De()
          , {t: d} = me()
          , s = pe()
          , {setLoading: h} = Be();
        let w = he([]);
        const a = g("")
          , {isOpenWithdraw: _} = ze()
          , p = he({
            smsCode: "",
            withdrawId: 8,
            bankId: 0,
            mobileNo: "",
            beneficiaryName: "",
            type: "",
            codeType: be.addKBZ
        })
          , U = j( () => !(p.mobileNo.trim().length == 0 || p.bankId == 0 || p.beneficiaryName.trim().length == 0));
        async function u() {
            const N = await X(Ge({
                withdrawid: 8
            }));
            N && (w = N.data.banklist,
            a.value = w.length > 0 ? w[0].bankName : "",
            p.bankId = w.length > 0 ? w[0].bankID : 0)
        }
        _e(async () => {
            await u()
        }
        );
        const D = () => !U.value || !localStorage.getItem("numberType") ? !1 : p.bankId == 0 ? z({
            message: d("addCardMsg1"),
            wordBreak: "break-word"
        }) : p.beneficiaryName.toString().trim().length == 0 ? z({
            message: d("phEnterName"),
            wordBreak: "break-word"
        }) : p.mobileNo.toString().trim().length == 0 ? z({
            message: d("addCardMsg4"),
            wordBreak: "break-word"
        }) : m(p.mobileNo, d("tel") + d("formatErr")) ? st(localStorage.getItem("numberType"), p.mobileNo.trim().length) ? !0 : z({
            message: d("wrongTel"),
            wordBreak: "break-word"
        }) : void 0
          , A = xe({
            content: () => v(He, {
                type: p.type,
                "onUpdate:type": N => p.type = N,
                code: p.smsCode,
                "onUpdate:code": N => p.smsCode = N,
                onConfirm: S,
                codeType: be.addKBZ
            }, null),
            beforeClose: () => {
                p.smsCode = ""
            }
        });
        async function T() {
            if (D() === !0) {
                if (p.smsCode = "",
                _.value)
                    return A.open();
                await S()
            }
        }
        async function S() {
            h(!0),
            await X(dt(p)) && (A.close(),
            s.replace({
                name: "Withdraw",
                query: {
                    type: "Add"
                },
                replace: !0
            })),
            h(!1)
        }
        function q() {
            s.replace({
                name: "Withdraw",
                query: {
                    type: "Add"
                }
            })
        }
        return l(p, "beneficiaryName"),
        (N, B) => {
            const H = O("NavBar")
              , ee = O("svg-icon");
            return i(),
            c("div", id, [v(H, {
                title: `${N.$t("addto")} KBZPay`,
                "left-arrow": "",
                onClickLeft: q
            }, null, 8, ["title"]), e("div", rd, [e("img", {
                src: b(ge)("wallet", "hint")
            }, null, 8, dd), e("span", null, t(N.$t("WaveTip1")), 1)]), e("div", cd, [e("div", ud, [v(ee, {
                name: "bank"
            }), L(" " + t(N.$t("bankname")), 1)]), e("div", pd, t(a.value), 1)]), e("div", vd, [e("div", _d, [v(ee, {
                name: "name"
            }), L(" " + t(N.$t("name")), 1)]), ie(e("input", {
                placeholder: N.$t("phEnterName"),
                "onUpdate:modelValue": B[0] || (B[0] = P => p.beneficiaryName = P),
                maxlength: "50",
                onInput: B[1] || (B[1] = P => b(r)(p, "beneficiaryName")),
                readonly: b(n)
            }, null, 40, md), [[fe, p.beneficiaryName, void 0, {
                trim: !0
            }]])]), e("div", hd, [e("div", wd, [v(ee, {
                name: "phone"
            }), L(" " + t(N.$t("tel")), 1)]), ie(e("input", {
                placeholder: N.$t("phEnterPayeeTel"),
                "onUpdate:modelValue": B[2] || (B[2] = P => p.mobileNo = P),
                maxlength: 12,
                onInput: B[3] || (B[3] = P => b(o)(p, "mobileNo"))
            }, null, 40, fd), [[fe, p.mobileNo, void 0, {
                trim: !0
            }]])]), e("div", {
                class: oe(["addKBZ-btn", {
                    active: U.value
                }]),
                onClick: T
            }, t(N.$t("save")), 3)])
        }
    }
});
const gd = ae(yd, [["__scopeId", "data-v-ee22f671"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/AddKbz/index.vue"]])
  , g_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: gd
}, Symbol.toStringTag, {
    value: "Module"
}))
  , $d = f => (Se("data-v-9694f22e"),
f = f(),
Ie(),
f)
  , kd = {
    class: "addBankCard__container"
}
  , bd = {
    class: "addBankCard__container-content"
}
  , Cd = {
    class: "addBankCard__container-content-top"
}
  , Td = {
    class: "addBankCard__container-content-top-item"
}
  , Nd = {
    class: "label"
}
  , Sd = ["readonly", "placeholder"]
  , Id = {
    class: "addBankCard__container-content-top-item"
}
  , Ad = $d( () => e("div", {
    class: "label"
}, "CPF", -1))
  , Wd = ["readonly", "placeholder"]
  , Bd = {
    class: "addBankCard__container-content-top-item"
}
  , Ud = {
    class: "label"
}
  , Dd = {
    class: "ar-searchbar"
}
  , Pd = {
    class: "addBankCard__container-content-top-item"
}
  , Rd = {
    class: "label"
}
  , Od = {
    class: "accountNo"
}
  , Vd = {
    key: 0
}
  , Md = ["placeholder"]
  , Ld = ["placeholder"]
  , qd = {
    class: "addBankCard__container-content-btn"
}
  , jd = {
    class: "search"
}
  , Fd = te({
    __name: "index",
    setup(f) {
        const {getSelfCustomerServiceLink: n} = qt({
            ServerType: 2
        })
          , {t: o} = me()
          , {setLoading: m} = Be()
          , l = pe()
          , r = g("")
          , d = g(!1)
          , s = l.currentRoute.value.query.fromV || "Withdraw-PIX";
        function h() {
            l.replace({
                name: s,
                query: {
                    type: "Add"
                }
            })
        }
        const {isOpenWithdraw: w} = ze()
          , a = he({
            bankId: 0,
            accountNo: "",
            name: "",
            cpf: "",
            smsCode: "",
            type: "",
            codeType: be.addPIX,
            pixType: ""
        })
          , _ = g(localStorage.getItem("numberType"))
          , p = g("");
        let U = g([])
          , u = he([]);
        const D = j( () => !(a.accountNo.trim().length == 0 || a.name.trim().length == 0 || a.cpf.trim().length == 0 || a.bankId == 0))
          , y = () => {
            n()
        }
        ;
        function A(I) {
            I.preventDefault();
            const M = I.clipboardData.getData("text").replace(/[^\d]/g, "");
            I.target.value = M,
            I.target.id == "cpf" ? a.cpf = M : I.target.id == "accountNo" && (a.accountNo = M)
        }
        const T = () => {
            if (D.value)
                return a.name.trim().length == 0 ? z({
                    message: o("phEnterPayeeName"),
                    wordBreak: "break-word"
                }) : a.cpf.trim().length == 0 ? z({
                    message: o("enterCpf"),
                    wordBreak: "break-word"
                }) : C(a.cpf.trim()) ? a.bankId == 0 ? z({
                    message: o("tipsCpf2"),
                    wordBreak: "break-word"
                }) : a.accountNo.trim().length == 0 ? z({
                    message: o("tipsCpf3"),
                    wordBreak: "break-word"
                }) : (r.value.toUpperCase().indexOf("PHONE") != -1 || r.value.toUpperCase().indexOf("CPF") != -1) && a.accountNo.trim().length != 11 ? z({
                    message: o("tipsCpf4"),
                    wordBreak: "break-word"
                }) : r.value.toUpperCase().indexOf("CPF") != -1 && a.accountNo != a.cpf ? z({
                    message: o("pixTip1"),
                    wordBreak: "break-word"
                }) : ["EMALL", "EMAIL"].includes(r.value.toUpperCase()) && !Zt.email1.test(a.accountNo.trim()) ? z({
                    message: o(Gt.email),
                    wordBreak: "break-word"
                }) : !0 : z({
                    message: o("tipsCpf1"),
                    wordBreak: "break-word"
                })
        }
        ;
        async function S() {
            if (T() === !0) {
                if (a.smsCode = "",
                w.value)
                    return x.open();
                await q()
            }
        }
        async function q() {
            m(!0);
            let I = a;
            if (r.value.toUpperCase().indexOf("PHONE") != -1) {
                const M = _.value + a.accountNo;
                I = Object.assign({}, a, {
                    accountNo: M
                })
            }
            await X(La(I)) && (Fe(o("addedSuccessfully")),
            x.close(),
            a.accountNo = "",
            await l.replace({
                name: s,
                query: {
                    type: "Add"
                },
                replace: !0
            })),
            m(!1)
        }
        const N = g(!0);
        async function B() {
            const I = await X(qa());
            I && I.data != null ? (N.value = !0,
            a.name = I.data.realName,
            a.cpf = I.data.idCard) : N.value = !1
        }
        async function H() {
            const I = await X(Ge({
                withdrawid: 5
            }));
            I && (u = I.data.banklist,
            r.value = u.length > 0 ? u[0].bankName : "",
            a.bankId = u.length > 0 ? u[0].bankID : 0,
            U.value = u,
            ee())
        }
        je(p, () => {
            u.length > 0 && (U.value = u.filter(I => I.bankName.toLowerCase().indexOf(p.value.toLowerCase()) !== -1))
        }
        );
        function ee() {
            a.accountNo = "",
            a.pixType = "",
            r.value.toUpperCase().indexOf("CPF") != -1 && (a.pixType = "cpf",
            a.cpf.trim().length != 0 && (a.accountNo = a.cpf))
        }
        je(d, () => {
            d.value && (p.value = "")
        }
        );
        function P() {
            d.value = !0
        }
        const le = ({selectedOptions: I}) => {
            d.value = !1,
            I[0] && (r.value = I[0].bankName,
            a.bankId = I[0].bankID,
            ee())
        }
        ;
        function C(I) {
            if (I = I.replace(/[^\d]+/g, ""),
            I == "" || I.length != 11 || I == "00000000000" || I == "11111111111" || I == "22222222222" || I == "33333333333" || I == "44444444444" || I == "55555555555" || I == "66666666666" || I == "77777777777" || I == "88888888888" || I == "99999999999")
                return !1;
            let Y = 0;
            for (let W = 0; W < 9; W++)
                Y += parseInt(I.charAt(W)) * (10 - W);
            let M = 11 - Y % 11;
            if ((M == 10 || M == 11) && (M = 0),
            M != parseInt(I.charAt(9)))
                return !1;
            Y = 0;
            for (let W = 0; W < 10; W++)
                Y += parseInt(I.charAt(W)) * (11 - W);
            return M = 11 - Y % 11,
            (M == 10 || M == 11) && (M = 0),
            M == parseInt(I.charAt(10))
        }
        _e(async () => {
            await B(),
            await H()
        }
        );
        const x = xe({
            content: () => v(He, {
                type: a.type,
                "onUpdate:type": I => a.type = I,
                code: a.smsCode,
                "onUpdate:code": I => a.smsCode = I,
                onConfirm: q,
                codeType: be.addPIX
            }, null),
            beforeClose: () => {
                a.smsCode = ""
            }
        });
        return (I, Y) => {
            const M = O("NavBar")
              , W = O("svg-icon")
              , E = O("ArSelect")
              , G = O("van-picker")
              , ne = O("van-popup");
            return i(),
            c("div", kd, [v(M, {
                title: I.$t("paymentMethod"),
                "left-arrow": "",
                onClickLeft: h
            }, null, 8, ["title"]), e("div", bd, [e("h1", null, [v(W, {
                name: "pix"
            }), L(t(I.$t("pixInfo")), 1)]), e("div", Cd, [e("div", Td, [e("div", Nd, t(I.$t("payeeName")), 1), ie(e("input", {
                readonly: N.value,
                placeholder: I.$t("phEnterPayeeName"),
                "onUpdate:modelValue": Y[0] || (Y[0] = ve => a.name = ve)
            }, null, 8, Sd), [[fe, a.name]])]), e("div", Id, [Ad, ie(e("input", {
                readonly: N.value,
                placeholder: I.$t("enterCpf"),
                "onUpdate:modelValue": Y[1] || (Y[1] = ve => a.cpf = ve),
                maxlength: "11",
                oninput: "value=value.replace(/\\D/g,'')",
                onPaste: A,
                id: "cpf"
            }, null, 40, Wd), [[fe, a.cpf]])]), e("div", Bd, [e("div", Ud, t(I.$t("pixType")), 1), e("div", Dd, [v(E, {
                onClickSelect: P,
                selectName: r.value
            }, null, 8, ["selectName"])])]), e("div", Pd, [e("div", Rd, t(I.$t("pixAccount")), 1), e("div", Od, [r.value.toUpperCase().indexOf("PHONE") != -1 ? (i(),
            c("div", Vd, "+" + t(_.value), 1)) : $("v-if", !0), $("phone只能输入数字"), r.value.toUpperCase().indexOf("PHONE") != -1 || r.value.toUpperCase().indexOf("CPF") != -1 ? ie((i(),
            c("input", {
                key: 1,
                placeholder: I.$t("enterPixAccount"),
                "onUpdate:modelValue": Y[2] || (Y[2] = ve => a.accountNo = ve),
                oninput: "value=value.replace(/\\D/g,'')",
                maxlength: "11",
                onPaste: A,
                id: "accountNo"
            }, null, 40, Md)), [[fe, a.accountNo, void 0, {
                trim: !0
            }]]) : ie((i(),
            c("input", {
                key: 2,
                placeholder: I.$t("enterPixAccount"),
                "onUpdate:modelValue": Y[3] || (Y[3] = ve => a.accountNo = ve),
                oninput: "value=value.replace(/\\s+/g,'')",
                maxlength: "40"
            }, null, 8, Ld)), [[fe, a.accountNo, void 0, {
                trim: !0
            }]])])])])]), e("div", qd, [e("button", {
                class: oe({
                    active: D.value
                }),
                onClick: S
            }, t(I.$t("save")), 3), e("div", {
                onClick: y
            }, [v(W, {
                name: "iconservr-r"
            }), L(t(I.$t("withdrawDialogDesc5")), 1)])]), v(ne, {
                show: d.value,
                "onUpdate:show": Y[6] || (Y[6] = ve => d.value = ve),
                round: "",
                position: "bottom"
            }, {
                default: Z( () => [e("div", jd, [v(sn, {
                    placeholder: I.$t("searchPixType"),
                    value: p.value,
                    "onUpdate:value": Y[4] || (Y[4] = ve => p.value = ve),
                    isShowClose: !0
                }, null, 8, ["placeholder", "value"])]), v(G, {
                    "columns-field-names": {
                        text: "bankName",
                        value: "bankID",
                        children: "children"
                    },
                    columns: b(U),
                    onCancel: Y[5] || (Y[5] = ve => d.value = !1),
                    onConfirm: le
                }, null, 8, ["columns"])]),
                _: 1
            }, 8, ["show"])])
        }
    }
});
const Ed = ae(Fd, [["__scopeId", "data-v-9694f22e"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/AddPIX/index.vue"]])
  , $_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: Ed
}, Symbol.toStringTag, {
    value: "Module"
}))
  , zd = {
    class: "addtype4_C"
}
  , xd = {
    class: "addtype4_C-header"
}
  , Hd = {
    class: "addtype4_C-title"
}
  , Kd = {
    class: "selectB"
}
  , Zd = {
    class: "addtype4_C-title"
}
  , Gd = {
    class: "successTip"
}
  , Qd = te({
    __name: "index",
    setup(f) {
        const {t: n} = me()
          , o = pe()
          , {isOpenWithdraw: m} = ze()
          , l = o.currentRoute.value.query.Type4name
          , r = g(!1)
          , d = he({
            withdrawId: 22,
            mobileNo: "",
            bankId: "",
            smsCode: "",
            beneficiaryName: "",
            type: "",
            codeType: be.addEWallet
        })
          , s = g({
            bankName: "",
            bankID: 0,
            reserved: ""
        });
        g(!1);
        const h = () => {
            o.replace({
                name: "Withdraw-RsnPay",
                query: {
                    type: "Add",
                    Type4name: l
                }
            })
        }
          , w = j( () => d.mobileNo);
        let a = g([]);
        async function _() {
            var A;
            const y = await X(Ge({
                withdrawid: 22
            }));
            y && (a.value = y.data.banklist,
            ((A = y == null ? void 0 : y.data) == null ? void 0 : A.banklist.length) > 0 && (s.value = y.data.banklist[0],
            d.bankId = y.data.banklist[0].bankID))
        }
        _e(async () => {
            await _()
        }
        );
        const p = async () => {
            await X(dt(d)) && (Fe(n("addedSuccessfully")),
            u.close(),
            o.replace({
                name: "Withdraw",
                query: {
                    bid: 0,
                    type: 22
                }
            }),
            o.replace({
                name: "Withdraw-RsnPay",
                query: {
                    type: "Add",
                    Type4name: l
                }
            }))
        }
          , u = xe({
            content: () => v(He, {
                type: d.type,
                "onUpdate:type": y => d.type = y,
                code: d.smsCode,
                "onUpdate:code": y => d.smsCode = y,
                onConfirm: p,
                codeType: be.addEWallet
            }, null),
            beforeClose: () => {
                d.smsCode = ""
            }
        })
          , D = async () => {
            if (m.value)
                return u.open();
            await p()
        }
        ;
        return (y, A) => {
            const T = O("NavBar")
              , S = O("van-field")
              , q = O("van-toast");
            return i(),
            c(Q, null, [e("div", zd, [v(T, {
                title: b(l) + b(n)("paymentMethod"),
                "left-arrow": "",
                onClickLeft: h
            }, null, 8, ["title"]), e("div", xd, t(b(l)), 1), e("div", Hd, t(y.$t("bankname")), 1), e("div", Kd, t(s.value.bankName), 1), $(` <van-field
			class="addtype4-input"
			v-model="activeBink.bankName"
			:readonly="true"
			disabled
			:placeholder="$t('tipSelectPls')"
		/> `), e("div", Zd, t(y.$t("walletAddress")), 1), v(S, {
                class: "addtype4-input",
                modelValue: d.mobileNo,
                "onUpdate:modelValue": A[0] || (A[0] = N => d.mobileNo = N),
                modelModifiers: {
                    trim: !0
                },
                placeholder: y.$t("phEnter") + y.$t("walletAddress")
            }, null, 8, ["modelValue", "placeholder"]), e("div", {
                class: oe(["sumbitBtn", {
                    disable: !w.value
                }]),
                onClick: D
            }, t(y.$t("save")), 3), v(q, {
                show: r.value,
                "onUpdate:show": A[1] || (A[1] = N => r.value = N)
            }, {
                message: Z( () => [e("div", Gd, [e("div", null, t(y.$t("addedSuccessfully")), 1)])]),
                _: 1
            }, 8, ["show"])]), $(` <van-popup v-model:show="showPicker" round position="bottom">
		<van-picker
			:columns="originalBankList"
			:columns-field-names="customFieldName"
			@cancel="showPicker = false"
			@confirm="onConfirm"
		/>
	</van-popup> `)], 2112)
        }
    }
});
const Yd = ae(Qd, [["__scopeId", "data-v-81838f32"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/AddRsnPay/index.vue"]])
  , k_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: Yd
}, Symbol.toStringTag, {
    value: "Module"
}))
  , Xd = {
    class: "addtype4_C"
}
  , Jd = {
    class: "addtype4_C-header"
}
  , ec = {
    class: "addtype4_C-title"
}
  , tc = {
    class: "addtype4_C-title"
}
  , ac = {
    class: "selectB"
}
  , nc = {
    class: "addtype4_C-title"
}
  , sc = {
    class: "addtype4_C-title"
}
  , oc = {
    class: "successTip"
}
  , lc = te({
    __name: "index",
    setup(f) {
        const {iseditor: n, onLoad: o, makeTxt: m} = De()
          , {t: l} = me()
          , r = pe()
          , {isOpenWithdraw: d} = ze()
          , s = r.currentRoute.value.query.Type4name
          , h = Number(r.currentRoute.value.query.withdrawType)
          , w = g(!1)
          , a = he({
            withdrawId: h,
            mobileNo: "",
            bankId: "",
            smsCode: "",
            beneficiaryName: "",
            type: "",
            codeType: be.addEWallet
        })
          , _ = g({
            bankName: "",
            bankID: 0,
            reserved: ""
        })
          , p = g(!1)
          , U = () => {
            r.replace({
                name: "Withdraw-Type4",
                query: {
                    type: "Add",
                    Type4name: s,
                    withdrawType: h
                }
            })
        }
          , u = {
            text: "bankName",
            value: "bankID"
        }
          , D = j( () => a.mobileNo && a.bankId && a.beneficiaryName)
          , y = {}.VITE_ADDTYPE4_ONLY_NUM === "1"
          , A = j( () => [23, 24].includes(h) || y ? "digit" : "text");
        function T(x) {
            const I = x.target;
            if (![23, 24].includes(h))
                I.value = I.value;
            else {
                const Y = /[^0-9]/g;
                I.value = I.value.replace(Y, "")
            }
        }
        let S = g([]);
        async function q() {
            const x = await X(Ge({
                withdrawid: h
            }));
            x && (S.value = x.data.banklist,
            [23, 24].includes(h) && (_.value = x.data.banklist[0],
            a.bankId = x.data.banklist[0].bankID))
        }
        _e(async () => {
            await q()
        }
        );
        const N = async () => {
            console.log("confirm", a, A),
            await X(dt({
                ...a
            })) && (Fe(l("addedSuccessfully")),
            H.close(),
            r.replace({
                name: "Withdraw-Type4",
                query: {
                    type: "Add",
                    Type4name: s,
                    withdrawType: h
                }
            }))
        }
          , H = xe({
            content: () => v(He, {
                type: a.type,
                "onUpdate:type": x => a.type = x,
                code: a.smsCode,
                "onUpdate:code": x => a.smsCode = x,
                onConfirm: N,
                codeType: be.addEWallet
            }, null),
            beforeClose: () => {
                a.smsCode = ""
            }
        })
          , ee = x => {
            let I = {
                ...x.selectedOptions[0]
            };
            _.value = I,
            a.bankId = I.bankID,
            p.value = !1
        }
        ;
        function P(x) {
            return /^[A-Za-z\d]{8,15}$/.test(x) ? !0 : (z({
                message: l("account") + l("formatErr"),
                wordBreak: "break-word"
            }),
            !1)
        }
        function le(x, I) {
            return /^[0-9]{8,15}$/.test(x) ? `${x}`.charAt(0) !== "0" ? (z({
                message: l("charAtone"),
                wordBreak: "break-word"
            }),
            !1) : !0 : (z({
                message: I,
                wordBreak: "break-word"
            }),
            !1)
        }
        const C = () => {
            const x = y || [23, 24].includes(h);
            if (!(a.mobileNo.toString().trim().length > 0 && !(x ? le(a.mobileNo, l("account") + l("formatErr")) : P(a.mobileNo))))
                return !0
        }
          , J = async () => {
            if (C() === !0) {
                if (d.value)
                    return H.open();
                await N()
            }
        }
        ;
        return o(a, "beneficiaryName"),
        (x, I) => {
            const Y = O("NavBar")
              , M = O("van-field")
              , W = O("van-toast")
              , E = O("van-picker")
              , G = O("van-popup");
            return i(),
            c(Q, null, [e("div", Xd, [v(Y, {
                title: b(s) + " " + b(l)("paymentMethod"),
                "left-arrow": "",
                onClickLeft: U
            }, null, 8, ["title"]), e("div", Jd, t(b(s)), 1), b(h) == 4 ? (i(),
            c(Q, {
                key: 0
            }, [e("div", ec, t(x.$t("selectType")), 1), v(M, {
                class: "addtype4-input",
                modelValue: _.value.bankName,
                "onUpdate:modelValue": I[0] || (I[0] = ne => _.value.bankName = ne),
                readonly: !0,
                "right-icon": "arrow-down",
                placeholder: x.$t("tipSelectPls"),
                onClick: I[1] || (I[1] = ne => p.value = !0)
            }, null, 8, ["modelValue", "placeholder"])], 64)) : (i(),
            c(Q, {
                key: 1
            }, [e("div", tc, t(x.$t("bankname")), 1), e("div", ac, t(_.value.bankName), 1)], 64)), e("div", nc, t(x.$t("name")), 1), v(M, {
                class: "addtype4-input",
                modelValue: a.beneficiaryName,
                "onUpdate:modelValue": I[2] || (I[2] = ne => a.beneficiaryName = ne),
                maxlength: 50,
                placeholder: x.$t("phEnter") + x.$t("name"),
                onInput: I[3] || (I[3] = ne => b(m)(a, "beneficiaryName")),
                readonly: b(n)
            }, null, 8, ["modelValue", "placeholder", "readonly"]), e("div", sc, t(x.$t("account")), 1), v(M, {
                class: "addtype4-input",
                modelValue: a.mobileNo,
                "onUpdate:modelValue": I[4] || (I[4] = ne => a.mobileNo = ne),
                modelModifiers: {
                    trim: !0
                },
                maxlength: 15,
                type: A.value,
                placeholder: x.$t("phEnter") + x.$t("account"),
                onInput: T
            }, null, 8, ["modelValue", "type", "placeholder"]), e("div", {
                class: oe(["sumbitBtn", {
                    disable: !D.value
                }]),
                onClick: J
            }, t(x.$t("save")), 3), v(W, {
                show: w.value,
                "onUpdate:show": I[5] || (I[5] = ne => w.value = ne)
            }, {
                message: Z( () => [e("div", oc, [e("div", null, t(x.$t("addedSuccessfully")), 1)])]),
                _: 1
            }, 8, ["show"])]), v(G, {
                show: p.value,
                "onUpdate:show": I[7] || (I[7] = ne => p.value = ne),
                round: "",
                position: "bottom"
            }, {
                default: Z( () => [v(E, {
                    columns: b(S),
                    "columns-field-names": u,
                    onCancel: I[6] || (I[6] = ne => p.value = !1),
                    onConfirm: ee
                }, null, 8, ["columns"])]),
                _: 1
            }, 8, ["show"])], 64)
        }
    }
});
const ic = ae(lc, [["__scopeId", "data-v-497422b6"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/AddType4/index.vue"]])
  , b_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: ic
}, Symbol.toStringTag, {
    value: "Module"
}))
  , rc = {
    class: "addUSDT__container"
}
  , dc = {
    class: "addUSDT__container-content"
}
  , cc = {
    class: "addUSDT__container-content-top"
}
  , uc = ["src"]
  , pc = {
    class: "addUSDT__container-content-item"
}
  , vc = {
    class: "label"
}
  , _c = {
    class: "ar-searchbar"
}
  , mc = {
    class: "addUSDT__container-content-item"
}
  , hc = {
    class: "label"
}
  , wc = {
    class: "input"
}
  , fc = ["placeholder", "maxlength"]
  , yc = {
    class: "addUSDT__container-content-item"
}
  , gc = {
    class: "label"
}
  , $c = ["placeholder"]
  , kc = {
    class: "addUSDT__container-content-btn"
}
  , bc = te({
    __name: "index",
    setup(f) {
        const {t: n} = me()
          , {isOpenWithdraw: o} = ze()
          , {setLoading: m} = Be()
          , l = pe()
          , r = l.currentRoute.value.query.fromV || "Withdraw-USDT";
        function d() {
            l.replace({
                name: r,
                query: {
                    type: "Add"
                }
            })
        }
        const s = g(!1);
        let h = he([]);
        async function w() {
            const B = await X(Ge({
                withdrawid: 3
            }));
            B && (h = B.data.banklist,
            a.value = h.length > 0 ? h[0].bankName : "",
            u.bankid = h.length > 0 ? h[0].bankID : 0)
        }
        const a = g("")
          , _ = ({selectedOptions: B}) => {
            s.value = !1,
            a.value = B[0].bankName,
            u.bankid = B[0].bankID
        }
        ;
        function p() {
            s.value = !0
        }
        const U = j( () => a.value.toUpperCase().indexOf("TRC") != -1 ? 36 : a.value.toUpperCase().indexOf("ERC") != -1 ? 46 : 100)
          , u = he({
            withdrawid: 3,
            bankid: 0,
            usdtaddress: "",
            smsCode: "",
            usdtRemarkName: "",
            type: "",
            codeType: be.addUSDT
        })
          , D = B => {
            const H = B.target;
            u.usdtaddress = H.value.replace(/[^\w\/]/ig, "")
        }
          , y = j( () => !(u.usdtRemarkName.trim().length == 0 || u.bankid == 0 || u.usdtaddress.trim().length == 0))
          , A = () => {
            if (y.value)
                return u.bankid == 0 ? z({
                    message: n("onConfirmMsg1"),
                    wordBreak: "break-word"
                }) : u.usdtaddress.toString().trim().length == 0 ? z({
                    message: n("onConfirmMsg2"),
                    wordBreak: "break-word"
                }) : u.usdtaddress.trim().length < 30 ? z({
                    message: n("onConfirmMsg4"),
                    wordBreak: "break-word"
                }) : a.value.toUpperCase().indexOf("TRC") != -1 && (u.usdtaddress.trim().slice(0, 1) != "T" || u.usdtaddress.trim().length > 36) ? z({
                    message: n("onConfirmMsg5"),
                    wordBreak: "break-word"
                }) : a.value.toUpperCase().indexOf("ERC") != -1 && (u.usdtaddress.trim().slice(0, 2) != "0x" || u.usdtaddress.trim().length > 46) ? z({
                    message: n("onConfirmMsg5"),
                    wordBreak: "break-word"
                }) : u.usdtRemarkName.toString().trim().length == 0 ? z({
                    message: n("onConfirmMsg3"),
                    wordBreak: "break-word"
                }) : !0
        }
        ;
        async function T() {
            if (A() !== !0)
                return;
            m(!0),
            await X(ja(u)) && (Fe(n("addedSuccessfully")),
            q.close(),
            await l.replace({
                name: r,
                query: {
                    type: "Add"
                },
                replace: !0
            })),
            m(!1)
        }
        _e(async () => {
            await w()
        }
        );
        const q = xe({
            content: () => v(He, {
                type: u.type,
                "onUpdate:type": B => u.type = B,
                code: u.smsCode,
                "onUpdate:code": B => u.smsCode = B,
                onConfirm: T,
                codeType: u.codeType
            }, null),
            beforeClose: () => {
                u.smsCode = ""
            }
        });
        async function N() {
            if (u.smsCode = "",
            A() === !0) {
                if (o.value)
                    return q.open();
                await T()
            }
        }
        return (B, H) => {
            const ee = O("NavBar")
              , P = O("svg-icon")
              , le = O("ArSelect")
              , C = O("van-picker")
              , J = O("van-popup");
            return i(),
            c("div", rc, [v(ee, {
                title: B.$t("titleAddUSDTAddr"),
                "left-arrow": "",
                onClickLeft: d
            }, null, 8, ["title"]), e("div", dc, [e("div", cc, [e("img", {
                src: b(ge)("wallet", "hint")
            }, null, 8, uc), e("span", null, t(B.$t("tipBindUrOwnUSDEAddrForFundSafety")), 1)]), e("div", pc, [e("div", vc, [v(P, {
                name: "usdt1",
                class: "icon"
            }), L(" " + t(B.$t("selectMainNetwork")), 1)]), e("div", _c, [v(le, {
                onClickSelect: p,
                selectName: a.value
            }, null, 8, ["selectName"])])]), e("div", mc, [e("div", hc, [v(P, {
                name: "usdt2",
                class: "icon"
            }), L(" " + t(B.$t("usedAddr")), 1)]), e("div", wc, [ie(e("input", {
                placeholder: B.$t("phEnterUSDTAddr"),
                maxlength: U.value,
                "onUpdate:modelValue": H[0] || (H[0] = x => u.usdtaddress = x),
                onInput: D
            }, null, 40, fc), [[fe, u.usdtaddress]])])]), e("div", yc, [e("div", gc, [v(P, {
                name: "usdt3",
                class: "icon"
            }), L(" " + t(B.$t("addressAlias")), 1)]), ie(e("input", {
                placeholder: B.$t("phEnterUSDTRemarks"),
                maxlength: "20",
                "onUpdate:modelValue": H[1] || (H[1] = x => u.usdtRemarkName = x)
            }, null, 8, $c), [[fe, u.usdtRemarkName]])]), e("div", kc, [e("button", {
                class: oe({
                    active: y.value
                }),
                onClick: N
            }, t(B.$t("save")), 3)])]), v(J, {
                show: s.value,
                "onUpdate:show": H[3] || (H[3] = x => s.value = x),
                round: "",
                position: "bottom"
            }, {
                default: Z( () => [v(C, {
                    "columns-field-names": {
                        text: "bankName",
                        value: "bankID",
                        children: "children"
                    },
                    columns: b(h),
                    onCancel: H[2] || (H[2] = x => s.value = !1),
                    onConfirm: _
                }, null, 8, ["columns"])]),
                _: 1
            }, 8, ["show"])])
        }
    }
});
const Cc = ae(bc, [["__scopeId", "data-v-24736190"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/AddUSDT/index.vue"]])
  , C_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: Cc
}, Symbol.toStringTag, {
    value: "Module"
}))
  , $t = document.createElement("canvas");
$t.getContext("2d");
$t.width = 1920;
$t.height = 1080;
const ea = f => (Se("data-v-8ced09ab"),
f = f(),
Ie(),
f)
  , Tc = {
    class: "addupi_C"
}
  , Nc = {
    class: "addupi_C-header wallet_18"
}
  , Sc = ea( () => e("div", {
    class: "addupi_C-title"
}, "UPI Name", -1))
  , Ic = {
    class: "addupi_C-title"
}
  , Ac = {
    class: "addupi_C_number"
}
  , Wc = {
    class: "tip"
}
  , Bc = ea( () => e("div", {
    class: "addupi_C-title"
}, "UPI ID", -1))
  , Uc = {
    class: "addupi_C-title"
}
  , Dc = te({
    __name: "index",
    setup(f) {
        const n = pe()
          , o = Ae()
          , {isOpenWithdraw: m} = ze()
          , l = Ue()
          , r = g("91")
          , d = g("")
          , {t: s} = me()
          , h = g("");
        g([]);
        const w = g()
          , {iseditor: a, onLoad: _, makeTxt: p} = De()
          , U = () => {
            n.replace({
                name: "Withdraw-Upi",
                query: {
                    type: "Add",
                    bid: o.query.bid || ""
                }
            })
        }
          , u = he({
            beneficiaryName: "",
            accountNo: "",
            smsCode: "",
            type: "",
            bankCode: "",
            categoryId: 2,
            mobileNo: "",
            codeType: be.addNewUPI_N,
            confirmAccountNo: ""
        })
          , D = () => {
            u.smsCode = ""
        }
          , y = C => (C.preventDefault(),
        !1)
          , A = xe({
            content: () => v(He, {
                type: u.type,
                "onUpdate:type": C => u.type = C,
                code: u.smsCode,
                "onUpdate:code": C => u.smsCode = C,
                onConfirm: P,
                codeType: u.codeType
            }, null),
            beforeClose: D
        });
        function T(C) {
            const J = C.target
              , x = /[^0-9]/g;
            J.value = J.value.replace(x, "")
        }
        const S = C => {
            u.accountNo = C.target.value.replace(/[\u4e00-\u9fa5]/g, "")
        }
        ;
        function q(C) {
            var Y;
            const J = sessionStorage.getItem("areaPhoneLenList");
            let I = (Y = JSON.parse(J).find(M => C.indexOf(M.area.replace("+", "")) == 0)) == null ? void 0 : Y.area.replace("+", "");
            I && (r.value = I,
            d.value = C.substring(I.length))
        }
        const N = j( () => u.beneficiaryName && u.accountNo && d && r)
          , B = g(!1)
          , H = async () => {
            const C = await X(zt());
            h.value = (C == null ? void 0 : C.data) || "",
            h.value != "" && q(h.value)
        }
          , ee = async () => {
            if (!l.getNeedKycValid)
                return !1;
            const C = await X(Ea({
                categoryId: 2,
                accountNo: u.accountNo
            }));
            return C ? (C.data && z({
                message: s("code254"),
                wordBreak: "break-word"
            }),
            C.data) : !1
        }
          , P = async () => {
            const {confirmAccountNo: C, ...J} = u;
            if (B.value)
                return;
            B.value = !0;
            const x = await X(Fa(J));
            B.value = !1,
            x && (Fe(s("addedSuccessfully")),
            A.close(),
            await n.replace({
                name: "Withdraw-Upi",
                query: {
                    bid: o.query.bid || ""
                }
            }))
        }
        ;
        _(u, "beneficiaryName");
        const le = async () => {
            const C = /^[a-zA-Z0-9]([a-zA-Z0-9._-]*[a-zA-Z0-9])?@[a-zA-Z0-9]+(\.[a-zA-Z0-9]+)*$/;
            if (!u.mobileNo)
                return z(s("pphone"));
            if (!st(r.value, `${u.mobileNo}`.trim().length))
                return z({
                    message: s("wrongTel"),
                    wordBreak: "break-word"
                });
            if (!C.test(u.accountNo))
                return z(s("UPIID"));
            if (!C.test(u.confirmAccountNo))
                return z(s("confirmAccountNo"));
            if (u.accountNo !== u.confirmAccountNo)
                return z(s("UPIIDNotSame"));
            if (!await ee()) {
                if (m.value)
                    return A.open();
                P()
            }
        }
        ;
        return Mt(w, () => {
            w.value.close()
        }
        ),
        H(),
        (C, J) => {
            const x = O("NavBar")
              , I = O("svg-icon")
              , Y = O("van-field")
              , M = O("van-icon");
            return i(),
            c("div", Tc, [v(x, {
                title: C.$t("paymentMethod"),
                "left-arrow": "",
                onClickLeft: U
            }, null, 8, ["title"]), e("div", Nc, [v(I, {
                name: "upi"
            }), L(t(C.$t("UPIInformation")), 1)]), Sc, v(Y, {
                class: "upi-input",
                modelValue: u.beneficiaryName,
                "onUpdate:modelValue": J[0] || (J[0] = W => u.beneficiaryName = W),
                modelModifiers: {
                    trim: !0
                },
                maxlength: 30,
                placeholder: C.$t("phEnterUPIName"),
                readonly: b(a),
                onInput: J[1] || (J[1] = W => b(p)(u, "beneficiaryName")),
                rules: [{
                    required: !0,
                    message: C.$t("phEnterUPIName")
                }]
            }, null, 8, ["modelValue", "placeholder", "readonly", "rules"]), e("div", Ic, t(C.$t("phoneN")), 1), e("div", Ac, [v(Y, {
                class: "upi-input number",
                modelValue: u.mobileNo,
                "onUpdate:modelValue": J[2] || (J[2] = W => u.mobileNo = W),
                modelModifiers: {
                    number: !0,
                    trim: !0
                },
                type: "text",
                onInput: T,
                maxlength: b(xt)(r.value),
                placeholder: C.$t("plsEnterTel")
            }, null, 8, ["modelValue", "maxlength", "placeholder"])]), e("div", Wc, [v(M, {
                name: "warning-o",
                size: "14"
            }), L(t(C.$t("upiTip1")), 1)]), Bc, v(Y, {
                class: "upi-input",
                modelValue: u.accountNo,
                "onUpdate:modelValue": J[3] || (J[3] = W => u.accountNo = W),
                modelModifiers: {
                    trim: !0
                },
                maxlength: 30,
                type: "text",
                onInput: S,
                placeholder: C.$t("phEnterUPIID")
            }, null, 8, ["modelValue", "placeholder"]), e("div", Uc, t(C.$t("confirm")) + " UPI ID", 1), v(Y, {
                onPaste: y,
                class: "upi-input",
                modelValue: u.confirmAccountNo,
                "onUpdate:modelValue": J[4] || (J[4] = W => u.confirmAccountNo = W),
                modelModifiers: {
                    trim: !0
                },
                maxlength: 30,
                type: "text",
                placeholder: C.$t("phEnterUPIID")
            }, null, 8, ["modelValue", "placeholder"]), e("div", {
                class: oe(["bind-bank-sumbit", {
                    disable: !N.value
                }]),
                onClick: le
            }, t(C.$t("save")), 3)])
        }
    }
});
const Pc = ae(Dc, [["__scopeId", "data-v-8ced09ab"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/AddUpi/index.vue"]])
  , T_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: Pc
}, Symbol.toStringTag, {
    value: "Module"
}))
  , Rc = {
    class: "addKBZ"
}
  , Oc = {
    class: "addKBZ-top"
}
  , Vc = ["src"]
  , Mc = {
    class: "addKBZ-item"
}
  , Lc = {
    class: "label"
}
  , qc = {
    class: "selectB"
}
  , jc = {
    class: "addKBZ-item"
}
  , Fc = {
    class: "label"
}
  , Ec = ["placeholder", "readonly"]
  , zc = {
    class: "addKBZ-item"
}
  , xc = {
    class: "label"
}
  , Hc = ["placeholder"]
  , Kc = te({
    __name: "index",
    setup(f) {
        const {iseditor: n, onInput: o, checkAccoutNo: m, onLoad: l, makeTxt: r} = De()
          , {t: d} = me()
          , s = pe()
          , {setLoading: h} = Be()
          , {isOpenWithdraw: w} = ze();
        let a = he([]);
        const _ = g("")
          , p = he({
            smsCode: "",
            withdrawId: 6,
            bankId: 0,
            mobileNo: "",
            beneficiaryName: "",
            type: "",
            codeType: be.addWave
        })
          , U = j( () => !(p.mobileNo.trim().length == 0 || p.bankId == 0 || p.beneficiaryName.trim().length == 0))
          , u = () => p.bankId == 0 ? z({
            message: d("addCardMsg1"),
            wordBreak: "break-word"
        }) : p.beneficiaryName.toString().trim().length == 0 ? z({
            message: d("phEnterName"),
            wordBreak: "break-word"
        }) : p.mobileNo.toString().trim().length == 0 ? z({
            message: d("addCardMsg4"),
            wordBreak: "break-word"
        }) : m(p.mobileNo, d("tel") + d("formatErr")) ? st(localStorage.getItem("numberType"), p.mobileNo.trim().length) ? !0 : z({
            message: d("wrongTel"),
            wordBreak: "break-word"
        }) : void 0
          , y = xe({
            content: () => v(He, {
                type: p.type,
                "onUpdate:type": N => p.type = N,
                code: p.smsCode,
                "onUpdate:code": N => p.smsCode = N,
                onConfirm: T,
                codeType: be.addWave
            }, null),
            beforeClose: () => {
                p.smsCode = ""
            }
        });
        async function A() {
            if (!U.value)
                return !1;
            if (u() === !0) {
                if (!localStorage.getItem("numberType"))
                    return !1;
                if (p.smsCode = "",
                w.value)
                    return y.open();
                await T()
            }
        }
        async function T() {
            h(!0),
            await X(dt(p)) && (y.close(),
            s.replace({
                name: "Withdraw",
                query: {
                    type: "Add"
                },
                replace: !0
            })),
            h(!1)
        }
        async function S() {
            const N = await X(Ge({
                withdrawid: 6
            }));
            N && (a = N.data.banklist,
            _.value = a.length > 0 ? a[0].bankName : "",
            p.bankId = a.length > 0 ? a[0].bankID : 0)
        }
        S();
        function q() {
            s.replace({
                name: "Withdraw",
                query: {
                    type: "Add"
                }
            })
        }
        return l(p, "beneficiaryName"),
        (N, B) => {
            const H = O("NavBar")
              , ee = O("svg-icon");
            return i(),
            c("div", Rc, [v(H, {
                title: N.$t("addWaveType"),
                "left-arrow": "",
                onClickLeft: q
            }, null, 8, ["title"]), e("div", Oc, [e("img", {
                src: b(ge)("wallet", "hint")
            }, null, 8, Vc), e("span", null, t(N.$t("WaveTip1")), 1)]), e("div", Mc, [e("div", Lc, [v(ee, {
                name: "bankName"
            }), L(" " + t(N.$t("bankname")), 1)]), e("div", qc, t(_.value), 1)]), e("div", jc, [e("div", Fc, [v(ee, {
                name: "user"
            }), L(" " + t(N.$t("name")), 1)]), ie(e("input", {
                placeholder: N.$t("phEnterName"),
                "onUpdate:modelValue": B[0] || (B[0] = P => p.beneficiaryName = P),
                maxlength: "50",
                onInput: B[1] || (B[1] = P => b(r)(p, "beneficiaryName")),
                readonly: b(n)
            }, null, 40, Ec), [[fe, p.beneficiaryName, void 0, {
                trim: !0
            }]])]), e("div", zc, [e("div", xc, [v(ee, {
                name: "phone"
            }), L(" " + t(N.$t("tel")), 1)]), ie(e("input", {
                placeholder: N.$t("phEnterPayeeTel"),
                "onUpdate:modelValue": B[2] || (B[2] = P => p.mobileNo = P),
                maxlength: 12,
                type: "digit",
                onInput: B[3] || (B[3] = P => b(o)(p, "mobileNo"))
            }, null, 40, Hc), [[fe, p.mobileNo, void 0, {
                trim: !0
            }]])]), e("div", {
                class: oe(["addKBZ-btn", {
                    active: U.value
                }]),
                onClick: A
            }, t(N.$t("save")), 3)])
        }
    }
});
const Zc = ae(Kc, [["__scopeId", "data-v-8c64dafa"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/AddWave/index.vue"]])
  , N_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: Zc
}, Symbol.toStringTag, {
    value: "Module"
}))
  , ta = f => (Se("data-v-9ed9b8ef"),
f = f(),
Ie(),
f)
  , Gc = {
    class: "bankCard__container"
}
  , Qc = {
    key: 0,
    class: "bankCard__container-content"
}
  , Yc = {
    class: "bankCard__container-content__card"
}
  , Xc = ta( () => e("div", {
    class: "bankCard__container-content__card-top"
}, null, -1))
  , Jc = {
    class: "bankCard__container-content__card-mid"
}
  , eu = {
    class: "line"
}
  , tu = {
    class: "left"
}
  , au = {
    class: "right"
}
  , nu = {
    class: "line"
}
  , su = {
    class: "left"
}
  , ou = {
    class: "right"
}
  , lu = {
    class: "line"
}
  , iu = {
    class: "left"
}
  , ru = {
    class: "right"
}
  , du = {
    class: "line"
}
  , cu = ta( () => e("div", {
    class: "left"
}, "IFSCode", -1))
  , uu = {
    class: "right"
}
  , pu = {
    key: 1,
    class: "bankCard__container-default"
}
  , vu = te({
    __name: "index",
    setup(f) {
        const {setLoading: n} = Be()
          , o = pe()
          , m = Je()
          , l = j( () => m.getWithdrawal)
          , r = g(!1)
          , d = j( () => m.getWithdrawal.bid.toString())
          , s = g([]);
        function h() {
            o.replace({
                name: "Withdraw",
                query: {
                    bid: d.value
                }
            })
        }
        const w = he({
            bid: m.getWithdrawal.bid,
            withdrawid: m.getWithdrawal.type
        });
        function a(u) {
            o.replace({
                name: "Withdraw",
                query: {
                    bid: u.bid
                }
            })
        }
        async function _() {
            r.value = !1,
            n(!0),
            await X(za(w)) && (w.bid == l.value.bid && (l.value.bid = 0),
            m.setWithdrawal({
                ...l.value
            }),
            await U()),
            n(!1)
        }
        const p = he({
            withdrawid: m.getWithdrawal.type
        });
        async function U() {
            n(!0);
            const u = await X(Ze(p));
            u && (s.value = u.data.withdrawalslist,
            u.data.withdrawalslist.length > 0 && m.getWithdrawal.bid == 0 || u.data.withdrawalslist.length == 1 ? l.value.bid = u.data.withdrawalslist[0].bid : u.data.withdrawalslist.length == 0 && (l.value.bid = 0),
            m.setWithdrawal({
                ...l.value
            }),
            m.setWithdrawalslist(u.data.withdrawalslist)),
            n(!1)
        }
        return _e(async () => {
            console.log("type", o.currentRoute.value.query),
            o.currentRoute.value.query.type == "Add" ? await U() : s.value = m.getWithdrawalslist
        }
        ),
        (u, D) => {
            const y = O("NavBar")
              , A = O("van-radio")
              , T = O("van-radio-group")
              , S = Ee("lazy");
            return i(),
            c("div", Gc, [v(y, {
                title: u.$t("bankCard"),
                "left-arrow": "",
                onClickLeft: h
            }, null, 8, ["title"]), s.value.length > 0 ? (i(),
            c("div", Qc, [(i(!0),
            c(Q, null, $e(s.value, q => (i(),
            c("div", {
                class: "bankCard__container-content__item",
                key: q.bid
            }, [v(T, {
                modelValue: d.value,
                "onUpdate:modelValue": D[0] || (D[0] = N => d.value = N)
            }, {
                default: Z( () => [e("div", Yc, [Xc, e("div", Jc, [e("div", eu, [e("div", tu, t(u.$t("bankname")), 1), e("div", au, t(q.bankName), 1)]), $(` <div class="line" v-if="item.beneficiaryName">
								<div class="left">{{ $t('payeename') }}</div>
								<div class="right">{{ item.beneficiaryName }}</div>
							</div> `), e("div", nu, [e("div", su, t(u.$t("bankcardNo")), 1), e("div", ou, t(q.accountNo), 1)]), e("div", lu, [e("div", iu, t(u.$t("tel")), 1), e("div", ru, t(q.mobileNo), 1)]), e("div", du, [cu, e("div", uu, t(q.ifsCode), 1)])]), e("div", null, [v(A, {
                    name: `${q.bid.toString()}`,
                    "icon-size": "18px",
                    onClick: N => a(q)
                }, {
                    default: Z( () => [L(t(u.$t("select")), 1)]),
                    _: 2
                }, 1032, ["name", "onClick"])])])]),
                _: 2
            }, 1032, ["modelValue"])]))), 128))])) : (i(),
            c("div", pu, [v(et, null, {
                text: Z( () => [e("span", null, t(u.$t("noPaymentMethodsYet")), 1)]),
                _: 1
            })])), v(ut, {
                type: 1
            }), v(mt, {
                show: r.value,
                "onUpdate:show": D[2] || (D[2] = q => r.value = q),
                onConfirm: _,
                "show-cancel-btn": !0,
                title: u.$t("tipCanNotRetrivedAfterDeleted"),
                confirmText: u.$t("confirmDelete"),
                cancelText: u.$t("cancel")
            }, {
                content: Z( () => [ie(e("img", {
                    class: "dialog__content-bottom",
                    onClick: D[1] || (D[1] = q => r.value = !1)
                }, null, 512), [[S, b(rt)("main", "close")]])]),
                _: 1
            }, 8, ["show", "title", "confirmText", "cancelText"])])
        }
    }
});
const _u = ae(vu, [["__scopeId", "data-v-9ed9b8ef"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/BankCard/index.vue"]])
  , S_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: _u
}, Symbol.toStringTag, {
    value: "Module"
}))
  , mu = {
    class: "item"
}
  , hu = {
    key: 0,
    class: "line"
}
  , wu = te({
    __name: "progress",
    props: {
        state: {
            type: Number,
            required: !0
        },
        isAppealCompleted: {
            type: Boolean,
            required: !1
        }
    },
    setup(f) {
        const n = f
          , {t: o} = me()
          , m = [{
            title: o("c2cState11"),
            icon: "1"
        }, {
            title: o("c2cState13"),
            icon: "2"
        }, {
            title: o("c2cTip30"),
            icon: "3"
        }, {
            title: o("c2cState4"),
            icon: "4"
        }]
          , l = [{
            title: o("c2cTip32"),
            icon: "1"
        }, {
            title: o("c2cTip33"),
            icon: "2"
        }, {
            title: o("c2cState4"),
            icon: "3"
        }]
          , r = [{
            title: o("c2cTip32"),
            icon: "1"
        }, {
            title: o("c2cTip33"),
            icon: "2"
        }, {
            title: o("c2cTip9"),
            icon: "4"
        }]
          , d = j( () => [1, 9, 11, 13].includes(n.state) ? m : [3].includes(n.state) ? l : [5].includes(n.state) ? r : n.state == 4 ? n.isAppealCompleted ? l : m : []);
        function s(h) {
            let w = [];
            switch (n.state) {
            case 1:
            case 9:
                w = [!0, !0, !0, !1];
                break;
            case 4:
                w = [!0, !0, !0, !0];
                break;
            case 11:
                w = [!0, !1, !1, !1];
                break;
            case 13:
                w = [!0, !0, !1, !1];
                break;
            case 3:
                w = [!0, !0, !1];
                break;
            case 5:
                w = [!0, !0, !0];
                break
            }
            return w[h]
        }
        return (h, w) => d.value.length > 0 ? (i(),
        c("div", {
            key: 0,
            class: oe(["progress", [`state_${h.state}`, {
                isAppealCompleted: h.isAppealCompleted
            }]])
        }, [(i(!0),
        c(Q, null, $e(d.value, (a, _) => (i(),
        c(Q, null, [e("div", mu, [e("span", {
            class: oe(`icon${s(_) ? a.icon + "_a" : a.icon}`)
        }, null, 2), e("h6", null, t(a.title), 1)]), _ < d.value.length - 1 ? (i(),
        c("div", hu)) : $("v-if", !0)], 64))), 256))], 2)) : $("v-if", !0)
    }
});
const aa = ae(wu, [["__scopeId", "data-v-90f50022"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/progress.vue"]])
  , fu = f => (Se("data-v-ced8750d"),
f = f(),
Ie(),
f)
  , yu = {
    class: "c2cDetail__CO"
}
  , gu = {
    class: "top"
}
  , $u = {
    class: "container"
}
  , ku = {
    key: 0,
    class: "time"
}
  , bu = {
    key: 1,
    class: "time2"
}
  , Cu = {
    class: "head"
}
  , Tu = {
    class: "tip2"
}
  , Nu = {
    class: "tip2"
}
  , Su = {
    key: 0
}
  , Iu = {
    key: 0,
    class: "operate"
}
  , Au = {
    class: "order-q"
}
  , Wu = {
    class: "y"
}
  , Bu = {
    class: "order-q"
}
  , Uu = {
    class: "b"
}
  , Du = fu( () => e("div", {
    class: "line"
}, null, -1))
  , Pu = {
    class: "tip"
}
  , Ru = te({
    __name: "c2cDetailOther",
    props: {
        OrderDetail: {
            type: null,
            required: !0
        },
        orderNo: {
            type: String,
            required: !0
        }
    },
    emits: ["update:OrderDetail", "update:orderNo"],
    setup(f, {emit: n}) {
        const o = f
          , m = pe()
          , {t: l} = me()
          , {OrderDetail: r, orderNo: d} = wt(o, n)
          , s = {
            2: {
                title: l("c2cState11"),
                tip1: l("c2cWTip1"),
                tip2: l("c2cWTip6"),
                tip3: l("c2cTip31")
            },
            11: {
                title: l("c2cState11"),
                tip1: l("c2cWTip1"),
                tip2: l("c2cWTip2"),
                tip3: l("c2cWTip3")
            },
            12: {
                title: l("c2cState11"),
                tip1: l("c2cWTip1"),
                tip2: l("c2cWTip2"),
                tip3: l("c2cWTip3")
            }
        }
          , h = j( () => s[r.value.state])
          , w = () => {
            m.go(-1)
        }
          , a = g("00:00")
          , _ = g(0)
          , p = g(null)
          , U = j( () => [11, 12].includes(r.value.state));
        je( () => r.value, N => {
            u(N)
        }
        , {
            immediate: !0
        });
        function u(N) {
            if (!U.value)
                return !1;
            const B = N.auditEndTime.replace(/-/g, "/")
              , H = N.serviceTime.replace(/-/g, "/");
            _.value = new Date(H).getTime() - new Date(B).getTime(),
            clearInterval(p.value),
            A()
        }
        const D = N => {
            const B = Math.floor(N / 36e5)
              , H = Math.floor((N - B * 36e5) / 6e4)
              , ee = Math.floor((N - B * 36e5 - H * 6e4) / 1e3);
            return console.log("hours", B),
            `${B ? B.toString().padStart(2, "0") + ":" : ""}${H.toString().padStart(2, "0")}:${ee.toString().padStart(2, "0")}`
        }
          , y = g(5);
        function A() {
            p.value = setInterval( () => {
                y.value--,
                _.value += 1e3,
                a.value = D(_.value),
                y.value == 0 && (T(r.value.orderNo),
                y.value = 5)
            }
            , 1e3)
        }
        const T = async N => {
            const B = await X(Ht({
                orderNo: N
            }));
            B && (B.data.state == 2 && clearInterval(p.value),
            r.value = B.data)
        }
        ;
        async function S() {
            await X(xa({
                orderNo: r.value.orderNo
            })) && T(r.value.orderNo)
        }
        function q() {
            m.push({
                name: "Withdraw-c2cCancelWithdrawal",
                query: {
                    orderAmount: r.value.orderAmount,
                    sellerAccountNo: r.value.sellerAccountNo,
                    createTime: r.value.createTime,
                    orderNo: r.value.orderNo
                }
            })
        }
        return ft( () => {
            clearInterval(p.value)
        }
        ),
        (N, B) => {
            var ee;
            const H = O("NavBar");
            return i(),
            c("div", yu, [e("div", gu, [v(H, {
                title: h.value.title,
                "left-arrow": "",
                onClickLeft: w,
                backgroundColor: "transparent"
            }, null, 8, ["title"]), $(" 进度条 "), v(aa, {
                state: (ee = b(r)) == null ? void 0 : ee.state
            }, null, 8, ["state"]), e("div", $u, [U.value ? (i(),
            c("div", ku, [e("p", null, t(h.value.title), 1), e("div", null, [e("span", null, t(a.value), 1)])])) : $("v-if", !0), U.value ? $("v-if", !0) : (i(),
            c("div", bu, t(N.$t("c2cState2")), 1))]), e("div", Cu, [e("div", Tu, t(h.value.tip2), 1), e("div", Nu, [L(t(h.value.tip3), 1), U.value ? (i(),
            c("span", Su, t(b(r).matchTimeMinutes || 5) + t(N.$t("minute")), 1)) : $("v-if", !0)])]), U.value ? $("v-if", !0) : (i(),
            c("div", Iu, [e("div", {
                class: "CancelW",
                onClick: q
            }, t(N.$t("concelOrder")), 1), e("div", {
                class: "uAmount",
                onClick: S
            }, t(N.$t("continueM")), 1)]))]), e("div", {
                class: oe(["order", ["bgc" + h.value.background]])
            }, [e("div", Au, [e("span", null, t(N.$t("withdrawalA")), 1), e("span", Wu, t(b(ce)(b(r).orderAmount)), 1)]), e("div", Bu, [e("span", null, "UPI " + t(N.$t("account")), 1), e("span", Uu, t(b(r).sellerAccountNo), 1)]), e("div", {
                class: "order-id",
                onClick: B[0] || (B[0] = P => b(Ke)(b(r).orderNo))
            }, [e("span", null, t(b(Kt)(b(r).createTime, "yyyy-MM-dd")), 1), L(t(b(r).orderNo), 1)]), Du, e("div", Pu, t(N.$t("c2cWTip4")), 1)], 2)])
        }
    }
});
const Ou = ae(Ru, [["__scopeId", "data-v-ced8750d"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Wallet/Withdraw/c2cDetailOther.vue"]])
  , kt = f => (Se("data-v-0f202033"),
f = f(),
Ie(),
f)
  , Vu = {
    key: 0,
    class: "c2cDetail__C"
}
  , Mu = {
    class: "title"
}
  , Lu = {
    key: 0
}
  , qu = {
    class: "tip1"
}
  , ju = {
    key: 0,
    class: "tip2"
}
  , Fu = {
    key: 1
}
  , Eu = {
    key: 0,
    class: "accountArry"
}
  , zu = {
    class: "con"
}
  , xu = {
    class: "order"
}
  , Hu = {
    class: "order-h"
}
  , Ku = {
    class: "order-q y"
}
  , Zu = {
    key: 0,
    class: "order-q y"
}
  , Gu = {
    key: 1,
    class: "order-q orange"
}
  , Qu = {
    class: "order-t"
}
  , Yu = {
    key: 2,
    class: "order-t"
}
  , Xu = kt( () => e("div", {
    class: "line"
}, null, -1))
  , Ju = kt( () => e("span", null, "UTR", -1))
  , ep = {
    key: 4,
    class: "order-tl"
}
  , tp = {
    key: 0,
    class: "upi"
}
  , ap = {
    class: "upi-h"
}
  , np = kt( () => e("span", null, "UPI", -1))
  , sp = {
    key: 1,
    class: "upi img"
}
  , op = {
    class: "upi-h"
}
  , lp = {
    class: "imgBox"
}
  , ip = ["onClick"]
  , rp = {
    key: 2,
    class: "img"
}
  , dp = {
    class: "imgBox"
}
  , cp = ["onClick"]
  , up = {
    key: 3,
    class: "img video"
}
  , pp = {
    class: "v",
    controls: ""
}
  , vp = ["src"]
  , _p = ["src"]
  , mp = ["src"]
  , hp = te({
    __name: "index",
    setup(f) {
        var M;
        const {t: n} = me()
          , o = pe()
          , m = Ae()
          , l = Ue()
          , r = {
            0: {
                title: n("c2cState0"),
                tip1: n("c2cTip1"),
                tip2: n("tipPlaWaitPaciently"),
                icon: "0",
                background: 0
            },
            1: {
                title: n("c2cState1"),
                tip1: n("c2cTip2"),
                tip2: n("c2cTip3"),
                icon: "0",
                background: 1
            },
            2: {
                title: n("c2cState8"),
                tip1: n("c2cTip4"),
                tip2: n("tipPlaWaitPaciently"),
                icon: "6",
                background: 8
            },
            3: {
                title: n("c2cState3"),
                tip1: n("c2cTip5"),
                tip2: n("c2cTip6"),
                icon: "1",
                background: 3
            },
            4: {
                title: n("completed"),
                tip1: n("c2cTip7"),
                tip2: n("c2cTip8"),
                icon: "2",
                background: 4
            },
            5: {
                title: n("c2cTip9"),
                tip1: n("c2cTip10"),
                tip2: n("c2cTip11"),
                icon: "3",
                background: 5
            },
            6: {
                title: n("cancelled"),
                tip1: "*****",
                tip2: "",
                icon: "4",
                background: 6
            },
            7: {
                title: n("c2cTip12"),
                tip1: n("c2cTip1"),
                tip2: "",
                icon: "5",
                background: 7
            },
            8: {
                title: n("withdrawState1"),
                tip1: n("c2cTip4"),
                tip2: n("tipPlaWaitPaciently"),
                icon: "6",
                background: 8
            },
            9: {
                title: n("rechargeState1"),
                tip1: n("c2cTip13"),
                tip2: n("c2cTip14"),
                icon: "7",
                background: 9
            },
            10: {
                title: n("c2cState10"),
                tip1: n("c2cTip21"),
                tip2: n("c2cTip22"),
                icon: "8",
                background: 10
            },
            11: {
                title: n("c2cState11"),
                tip1: n("c2cWTip1"),
                tip2: n("c2cWTip2"),
                tip3: n("c2cWTip3"),
                icon: "8",
                background: 11
            },
            12: {
                title: n("c2cState11"),
                tip1: n("c2cTip21"),
                tip2: n("c2cTip22"),
                icon: "8",
                background: 10
            },
            13: {
                title: n("c2cState13"),
                tip1: n("c2cTip24"),
                icon: "0",
                background: 11
            },
            14: {
                title: n("c2cState14"),
                tip1: n("c2cTip46"),
                tip2: n("c2cTip33"),
                icon: "14",
                background: 11
            }
        }
          , d = g(0)
          , s = g("00:00")
          , h = g(null)
          , w = g(null)
          , a = g({
            id: 0,
            orderNo: "",
            type: 0,
            withdrawName: "",
            createTime: "",
            orderAmount: 0,
            realAmount: 0,
            discountAmount: 0,
            serviceAmount: 0,
            state: Number(((M = m.query) == null ? void 0 : M.state) || 0),
            cancelReasonId: 0,
            reasonText: "",
            remark: "",
            transactionNo: "",
            sellerAccountNo: "",
            rechargeFinishTime: ""
        })
          , _ = g("")
          , p = j( () => r[a.value.state])
          , U = j( () => a.value.state == 10)
          , u = j( () => [9].includes(a.value.state))
          , D = j( () => [1, 9, 3].includes(a.value.state))
          , y = j( () => [2, 11, 12].includes(a.value.state))
          , A = j( () => [5, 6, 7, 14].includes(a.value.state));
        je( () => a.value.state, W => {
            N()
        }
        , {
            deep: !0
        });
        const T = () => {
            o.back()
        }
        ;
        function S(W, E) {
            if (!W)
                return;
            let G;
            return E ? G = JSON.parse(W).filter(ne => ne.fileType == E) : G = JSON.parse(W),
            G.length == 0 ? !1 : G.map(ne => (ne.fileUrl = l.ossUrl + "/" + ne.fileUrl,
            ne))
        }
        const q = async W => {
            const E = await X(Ht({
                orderNo: W
            }));
            E && (a.value = E.data)
        }
        ;
        function N() {
            var W;
            if ([1, 13].includes(a.value.state)) {
                const E = (W = a.value) == null ? void 0 : W.serviceTime.replace(/-/g, "/");
                if (a.value.state == 1) {
                    const G = a.value.confrimEndTime.replace(/-/g, "/");
                    d.value = new Date(G).getTime() - new Date(E).getTime()
                } else if (a.value.state == 13) {
                    const G = a.value.matchOutTime.replace(/-/g, "/");
                    d.value = new Date(G).getTime() - new Date(E).getTime()
                }
                clearInterval(h.value),
                le()
            } else
                clearInterval(h.value);
            (a.value.state === 7 || a.value.state === 6) && (r[a.value.state].tip1 = a.value.reasonText || "",
            r[a.value.state].tip2 = a.value.remark || ""),
            a.value.state === 0 ? (clearInterval(w.value),
            C()) : clearInterval(w.value),
            a.value.state === 3 && x()
        }
        const B = async W => {
            await X(Ha({
                orderNo: W
            })),
            q(W)
        }
          , H = async W => {
            await X(Ka({
                orderNo: W
            })),
            q(W)
        }
          , ee = W => {
            const E = Math.floor(W / 36e5)
              , G = Math.floor((W - E * 36e5) / 6e4)
              , ne = Math.floor((W - E * 36e5 - G * 6e4) / 1e3);
            return `${E ? E.toString().padStart(2, "0") + ":" : ""}${G.toString().padStart(2, "0")}:${ne.toString().padStart(2, "0")}`
        }
          , P = g(5);
        function le() {
            h.value = setInterval( () => {
                P.value--,
                d.value > 0 ? (d.value -= 1e3,
                s.value = ee(d.value)) : s.value = "00:00",
                P.value == 0 && (q(_.value),
                P.value = 5)
            }
            , 1e3)
        }
        function C() {
            w.value = setInterval( () => {
                q(_.value)
            }
            , 5e3)
        }
        const J = () => {
            Tawk_API.toggle(),
            window.Tawk_API.setAttributes({
                order: _.value,
                store: "withdraw"
            }, function(W) {})
        }
          , x = () => {
            let W = "https://embed.tawk.to/6452138631ebfa0fe7fbb175/1hb0ug9qm";
            if (!document.getElementById("tawk-chatjs")) {
                var E = document.createElement("script")
                  , G = document.getElementsByTagName("script")[0];
                E.async = !0,
                E.src = W,
                E.charset = "UTF-8",
                E.setAttribute("crossorigin", "*"),
                E.id = "tawk-chatjs",
                G.parentNode.insertBefore(E, G)
            }
        }
        ;
        function I() {
            o.push({
                name: "Withdraw-c2cWrongAmount",
                query: {
                    orderNo: _.value
                }
            })
        }
        function Y(W) {
            Ca({
                images: [W],
                closeable: !0
            })
        }
        return _e( () => {
            var W, E;
            _.value = localStorage.getItem("c2cOrderNo") || ((E = (W = m.query) == null ? void 0 : W.order) == null ? void 0 : E.toString()) || "",
            q(_.value)
        }
        ),
        ba( () => {}
        ),
        ft( () => {
            clearInterval(h.value),
            clearInterval(w.value)
        }
        ),
        (W, E) => {
            var ne, ve, R, we, Ve, F, re, We, Te, Pe, ue, Re, Me, Le, tt;
            const G = O("NavBar");
            return y.value ? (i(),
            c(Q, {
                key: 1
            }, [a.value.orderNo != "" ? (i(),
            ye(Ou, {
                key: 0,
                orderNo: _.value,
                "onUpdate:orderNo": E[7] || (E[7] = de => _.value = de),
                OrderDetail: a.value,
                "onUpdate:OrderDetail": E[8] || (E[8] = de => a.value = de)
            }, null, 8, ["orderNo", "OrderDetail"])) : $("v-if", !0)], 64)) : (i(),
            c("div", Vu, [e("div", {
                class: oe(["header", ["bgc" + p.value.background]])
            }, [v(G, {
                title: "",
                "left-arrow": "",
                onClickLeft: T,
                backgroundColor: "transparent"
            }), e("div", {
                class: oe(["head", ["hicon" + p.value.icon]])
            }, [e("div", Mu, [L(t(p.value.title) + " ", 1), [1, 13].includes(a.value.state) ? (i(),
            c("span", Lu, t(s.value), 1)) : $("v-if", !0)]), e("div", qu, t(p.value.tip1), 1), p.value.tip2 ? (i(),
            c("div", ju, t(p.value.tip2), 1)) : $("v-if", !0), D.value ? (i(),
            c("div", Fu, t(W.$t("c2cTip23")), 1)) : $("v-if", !0)], 2), D.value ? (i(),
            c("div", Eu, [e("div", {
                class: "account btn",
                onClick: E[0] || (E[0] = de => B(a.value.orderNo))
            }, t(W.$t("confirmTheAccount")), 1), u.value ? (i(),
            c("div", {
                key: 0,
                class: "appeal btn",
                onClick: E[1] || (E[1] = de => H(a.value.orderNo))
            }, t(W.$t("appeal")), 1)) : $("v-if", !0), a.value.state == 3 ? (i(),
            c("div", {
                key: 1,
                class: "appeal btn",
                onClick: E[2] || (E[2] = de => J())
            }, t(W.$t("AppealsAdmin")), 1)) : $("v-if", !0), a.value.state == 1 ? (i(),
            c("div", {
                key: 2,
                class: "wrong btn",
                onClick: E[3] || (E[3] = de => I())
            }, t(W.$t("c2cState14")), 1)) : $("v-if", !0)])) : $("v-if", !0)], 2), e("div", zu, [$(" 进度条 "), v(aa, {
                state: (ne = a.value) == null ? void 0 : ne.state,
                isAppealCompleted: (ve = a.value) == null ? void 0 : ve.isAppealCompleted
            }, null, 8, ["state", "isAppealCompleted"]), e("div", xu, [e("div", Hu, "New UPI " + t(W.$t("withdraw")), 1), e("div", Ku, [e("span", null, t(W.$t("orderAmount")), 1), L(t(b(ce)(a.value.orderAmount)), 1)]), [4, 14].includes(a.value.state) ? (i(),
            c("div", Zu, [e("span", null, t(W.$t("actualAmount")), 1), L(t(b(ce)(a.value.realAmount)), 1)])) : $("v-if", !0), A.value ? $("v-if", !0) : (i(),
            c("div", Gu, [e("span", null, t(W.$t("award")), 1), L(t(b(ce)(a.value.discountAmount)), 1)])), e("div", Qu, [e("span", null, t(W.$t("orderTime")), 1), L(t(a.value.createTime), 1)]), a.value.state == 14 ? (i(),
            c("div", Yu, [e("span", null, t(W.$t("c2cTip47")), 1), L(t(a.value.lastUpdateTime), 1)])) : $("v-if", !0), Xu, U.value ? $("v-if", !0) : (i(),
            c("div", {
                key: 3,
                class: "order-id",
                onClick: E[4] || (E[4] = de => b(Ke)(a.value.transactionNo))
            }, [Ju, L(t(a.value.transactionNo), 1)])), e("div", {
                class: "order-id",
                onClick: E[5] || (E[5] = de => b(Ke)(a.value.orderNo))
            }, [e("span", null, t(W.$t("orderNo")), 1), L(t(a.value.orderNo), 1)]), U.value ? $("v-if", !0) : (i(),
            c("div", ep, [e("span", null, t(W.$t("PaymentTime")), 1), L(t(a.value.rechargeFinishTime), 1)]))]), U.value ? $("v-if", !0) : (i(),
            c("div", tp, [e("div", ap, t(W.$t("information")), 1), e("div", {
                class: "upi-id",
                onClick: E[6] || (E[6] = de => b(Ke)(a.value.sellerAccountNo))
            }, [np, L(t(a.value.sellerAccountNo), 1)])])), [5, 1, 9, 3, 4, 6].includes(a.value.state) && ((R = a.value) != null && R.rechargeOssUrls) ? (i(),
            c("div", sp, [e("div", op, t(W.$t("c2cTip50")), 1), e("div", lp, [(i(!0),
            c(Q, null, $e(S((we = a.value) == null ? void 0 : we.rechargeOssUrls), (de, Oe) => (i(),
            c("div", {
                class: "imgD",
                key: Oe,
                style: Ut(`background-image: url('${de == null ? void 0 : de.fileUrl}');`),
                onClick: Ce => Y(de == null ? void 0 : de.fileUrl)
            }, null, 12, ip))), 128))])])) : $("v-if", !0), ((Ve = a.value) == null ? void 0 : Ve.state) == 14 && ((F = a.value) != null && F.ossUrls) ? (i(),
            c("div", rp, [e("h1", null, t(W.$t("c2cTip48")), 1), e("div", dp, [(i(!0),
            c(Q, null, $e(S((re = a.value) == null ? void 0 : re.ossUrls, 1), (de, Oe) => (i(),
            c("div", {
                class: "imgD",
                key: Oe,
                style: Ut(`background-image: url('${de == null ? void 0 : de.fileUrl}');`),
                onClick: Ce => Y(de == null ? void 0 : de.fileUrl)
            }, null, 12, cp))), 128))])])) : $("v-if", !0), ((We = a.value) == null ? void 0 : We.state) == 14 && S((Te = a.value) == null ? void 0 : Te.ossUrls, 2) ? (i(),
            c("div", up, [e("h1", null, t(W.$t("c2cTip49")), 1), e("video", pp, [e("source", {
                src: (ue = S((Pe = a.value) == null ? void 0 : Pe.ossUrls, 2)[0]) == null ? void 0 : ue.fileUrl,
                type: "video/ogg"
            }, null, 8, vp), e("source", {
                src: (Me = S((Re = a.value) == null ? void 0 : Re.ossUrls, 2)[0]) == null ? void 0 : Me.fileUrl,
                type: "video/mp4"
            }, null, 8, _p), e("source", {
                src: (tt = S((Le = a.value) == null ? void 0 : Le.ossUrls, 2)[0]) == null ? void 0 : tt.fileUrl,
                type: "video/webm"
            }, null, 8, mp)])])) : $("v-if", !0)])]))
        }
    }
});
const wp = ae(hp, [["__scopeId", "data-v-0f202033"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/C2cDetail/index.vue"]])
  , I_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: wp
}, Symbol.toStringTag, {
    value: "Module"
}))
  , fp = {
    class: "upi_C"
}
  , yp = {
    class: "upi_C-list"
}
  , gp = {
    class: "header"
}
  , $p = {
    class: "header-title"
}
  , kp = {
    class: "upi-body"
}
  , bp = {
    class: "upi-body-name"
}
  , Cp = {
    class: "upi-body-id"
}
  , Tp = ["onClick"]
  , Np = {
    class: "upi_C-addbtn"
}
  , Sp = te({
    __name: "index",
    setup(f) {
        const n = Ue()
          , o = pe()
          , m = Ae()
          , l = g(!1)
          , r = g({})
          , d = g([])
          , s = g(null)
          , h = g("")
          , w = j( () => m.query.bankCode || "")
          , a = () => {
            const A = d.value.find(T => T.bid == s.value) ? s.value : 0;
            o.replace({
                name: "Withdraw",
                query: {
                    bid: A,
                    type: 27,
                    bankCode: w.value || ""
                }
            })
        }
          , _ = g(!1)
          , p = async () => {
            var A;
            const y = await X(Ze({
                withdrawid: 27
            }));
            if (y) {
                const T = ((A = y.data) == null ? void 0 : A.withdrawalslist) || [];
                d.value = T.filter(S => w.value ? S.bankCode === w.value : !0)
            }
        }
          , U = async () => {
            if (!_.value)
                try {
                    _.value = !0,
                    await X(Et({
                        bid: r.value.bid,
                        smsCode: h.value,
                        categoryId: 27
                    })) && (p(),
                    l.value = !1,
                    o.replace({
                        name: "Withdraw",
                        query: {
                            bid: r.value.bid,
                            type: 27,
                            bankCode: w.value || ""
                        }
                    }))
                } finally {
                    _.value = !1
                }
        }
          , u = y => {
            if (!y.isKycOnline && n.getNeedFastKycValidIsOpen)
                return r.value = y,
                l.value = !0;
            o.replace({
                name: "Withdraw",
                query: {
                    bid: y.bid,
                    type: 27,
                    bankCode: w.value || ""
                }
            })
        }
          , D = async () => {
            o.replace({
                name: "Withdraw-AddFastUpi",
                query: {
                    bankCode: w.value || "",
                    bid: s.value
                }
            })
        }
        ;
        return _e( () => {
            s.value = m.query.bid || 0,
            p()
        }
        ),
        (y, A) => {
            const T = O("NavBar")
              , S = O("svg-icon")
              , q = O("van-dialog")
              , N = Ee("throttle-click");
            return i(),
            c("div", fp, [v(T, {
                title: `${b(Xe)(w.value)} ${y.$t("paymentMethod")}`,
                "left-arrow": "",
                onClickLeft: a
            }, null, 8, ["title"]), e("div", yp, [d.value.length ? (i(!0),
            c(Q, {
                key: 0
            }, $e(d.value, (B, H) => (i(),
            c("div", {
                key: H,
                class: "upi_C-item"
            }, [e("div", gp, [e("div", $p, [v(S, {
                name: B.bankCode
            }, null, 8, ["name"]), e("span", null, t(b(Xe)(B.bankCode)), 1)])]), e("div", kp, [e("div", bp, t(y.$t("accountName")) + ": " + t(B.upiName), 1), e("div", Cp, "UPI ID: " + t(B.upiAccount), 1), e("div", {
                class: "upi-select",
                onClick: ee => u(B)
            }, [e("div", {
                class: oe(["select-btn", {
                    isSelect: B.bid == s.value
                }])
            }, null, 2), e("span", null, t(B.bid == s.value ? y.$t("currentPayment") : y.$t("currentChange")), 1)], 8, Tp), $(`						<div class="upi-body-id">{{$t('phoneN')}}: {{ item.mobileNo }}</div>`)])]))), 128)) : (i(),
            ye(et, {
                key: 1
            }, {
                text: Z( () => [e("span", null, t(y.$t("noPaymentMethodsYet")), 1)]),
                _: 1
            }))]), ie((i(),
            c("div", Np, [L(t(y.$t("upiAddPaymentMethod")), 1)])), [[N, {
                handler: D,
                wait: 1e3
            }]]), v(q, {
                show: l.value,
                "onUpdate:show": A[2] || (A[2] = B => l.value = B),
                showConfirmButton: !1,
                width: "fit-content",
                "lazy-render": ""
            }, {
                default: Z( () => [v(ct, {
                    bid: r.value.bid,
                    bank: r.value.bankCode,
                    upi: r.value.upiAccount,
                    mobile: r.value.mobileNo,
                    code: h.value,
                    "onUpdate:code": A[0] || (A[0] = B => h.value = B),
                    onConfirm: U,
                    onClose: A[1] || (A[1] = B => l.value = !1)
                }, null, 8, ["bid", "bank", "upi", "mobile", "code"])]),
                _: 1
            }, 8, ["show"])])
        }
    }
});
const Ip = ae(Sp, [["__scopeId", "data-v-d6431640"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/FastUpi/index.vue"]])
  , A_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: Ip
}, Symbol.toStringTag, {
    value: "Module"
}))
  , Ap = {
    class: "bankCard__container"
}
  , Wp = {
    key: 0,
    class: "bankCard__container-content"
}
  , Bp = {
    class: "bankCard__container-content__card"
}
  , Up = {
    class: "bankCard__container-content__card-top ar-1px-b"
}
  , Dp = ["src"]
  , Pp = {
    class: "bankCard__container-content__card-mid"
}
  , Rp = {
    class: "line"
}
  , Op = {
    class: "line"
}
  , Vp = {
    class: "line"
}
  , Mp = {
    key: 1,
    class: "bankCard__container-default"
}
  , Lp = te({
    __name: "index",
    setup(f) {
        const {setLoading: n} = Be()
          , o = pe();
        Ae();
        const m = Je()
          , l = j( () => m.getWithdrawal);
        g(!1);
        const r = j( () => m.getWithdrawal.bid.toString())
          , d = g([]);
        function s() {
            o.replace({
                name: "Withdraw",
                query: {
                    bid: r.value
                }
            })
        }
        const h = he({
            bid: m.getWithdrawal.bid,
            withdrawid: 5
        });
        function w(p) {
            o.replace({
                name: "Withdraw",
                query: {
                    bid: p.bid
                }
            })
        }
        const a = he({
            withdrawid: 5
        });
        async function _() {
            n(!0);
            const p = await X(Ze(a));
            p && (d.value = p.data.withdrawalslist,
            p.data.withdrawalslist.length > 0 && m.getWithdrawal.bid == 0 || p.data.withdrawalslist.length == 1 ? l.value.bid = p.data.withdrawalslist[0].bid : p.data.withdrawalslist.length == 0 && (l.value.bid = 0),
            m.setWithdrawal({
                ...l.value
            }),
            m.setWithdrawalslist(p.data.withdrawalslist)),
            n(!1)
        }
        return _e(async () => {
            o.currentRoute.value.query.type == "Add" ? await _() : d.value = m.getWithdrawalslist
        }
        ),
        (p, U) => {
            const u = O("NavBar")
              , D = O("van-radio")
              , y = O("van-radio-group");
            return i(),
            c("div", Ap, [v(u, {
                title: p.$t("paymentMethod"),
                "left-arrow": "",
                onClickLeft: s
            }, null, 8, ["title"]), d.value.length > 0 ? (i(),
            c("div", Wp, [(i(!0),
            c(Q, null, $e(d.value, (A, T) => (i(),
            c("div", {
                class: "bankCard__container-content__item",
                key: A.bid
            }, [v(y, {
                modelValue: r.value,
                "onUpdate:modelValue": U[0] || (U[0] = S => r.value = S)
            }, {
                default: Z( () => [e("div", Bp, [e("div", Up, [e("div", null, [e("img", {
                    src: b(ge)("wallet/withdrawType", `${h.withdrawid}`)
                }, null, 8, Dp), L(" " + t(p.$t("paymentMethodOfPix")), 1)]), e("div", null, [v(D, {
                    name: `${A.bid.toString()}`,
                    "icon-size": "22px",
                    onClick: S => w(A)
                }, null, 8, ["name", "onClick"])])]), e("div", Pp, [e("div", Rp, t(A.beneficiaryName), 1), e("div", Op, t(A.accountNo), 1), e("div", Vp, t(A.bankName), 1)]), $(` <div class="delete" @click="onShowDeleteDialog(item)">
							<van-icon name="delete" color="rgba(238, 54, 37, 1)" size="20" />
							{{ $t('delete') }}
						</div> `)])]),
                _: 2
            }, 1032, ["modelValue"])]))), 128))])) : (i(),
            c("div", Mp, [v(et, null, {
                text: Z( () => [e("span", null, t(p.$t("noPaymentMethodsYet")), 1)]),
                _: 1
            })])), v(ut, {
                type: 5
            })])
        }
    }
});
const qp = ae(Lp, [["__scopeId", "data-v-abf3326c"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/PIX/index.vue"]])
  , W_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: qp
}, Symbol.toStringTag, {
    value: "Module"
}))
  , jp = f => (Se("data-v-290c4222"),
f = f(),
Ie(),
f)
  , Fp = {
    class: "type4_C"
}
  , Ep = {
    class: "type4_C-list"
}
  , zp = {
    class: "header-title"
}
  , xp = ["onClick"]
  , Hp = {
    key: 0,
    xmlns: "http://www.w3.org/2000/svg",
    width: "60",
    height: "60",
    viewBox: "0 0 60 60",
    fill: "none"
}
  , Kp = jp( () => e("path", {
    "fill-rule": "evenodd",
    "clip-rule": "evenodd",
    d: "M60 30C60 46.5686 46.5686 60 30 60C13.4314 60 0 46.5686 0 30C0 13.4314 13.4314 0 30 0C46.5686 0 60 13.4314 60 30ZM14.4 34.2149L19.3014 29.0266C20.9353 30.363 24.2029 33.2714 27.4705 37.2807C27.5276 37.3507 27.7006 36.9707 28.0345 36.2374C29.4965 33.0269 34.0423 23.0442 45.4425 14.4053C45.5467 14.3263 45.5229 15.1444 45.4865 16.397C45.4534 17.5342 45.41 19.0295 45.4425 20.5367C45.5024 23.3195 45.9093 26.1966 45.9093 26.1966C45.9093 26.1966 39.374 27.8474 28.1707 46.0063C28.1442 46.0494 27.8296 45.6959 27.2806 45.0789C25.2645 42.8134 20.0868 36.9951 14.4 34.2149Z",
    fill: "var(--main-color)"
}, null, -1))
  , Zp = [Kp]
  , Gp = {
    class: "type4-body"
}
  , Qp = {
    class: "type4-body-id"
}
  , Yp = {
    key: 1,
    class: "noData"
}
  , Xp = te({
    __name: "index",
    setup(f) {
        const n = pe()
          , o = Ae()
          , m = n.currentRoute.value.query.Type4name
          , l = g([])
          , r = g(null)
          , d = () => {
            const _ = l.value.find(p => {
                p.bid == r.value
            }
            ) ? r.value : 0;
            n.replace({
                name: "Withdraw",
                query: {
                    bid: _,
                    type: 22
                }
            })
        }
          , s = a => {
            n.replace({
                name: "Withdraw",
                query: {
                    bid: a,
                    type: 22
                }
            })
        }
          , h = async () => {
            n.replace({
                name: "Withdraw-AddRsnPay",
                query: {
                    Type4name: m
                }
            })
        }
          , w = async () => {
            var _;
            const a = await X(Ze({
                withdrawid: 22
            }));
            a && (l.value = ((_ = a.data) == null ? void 0 : _.withdrawalslist) || [])
        }
        ;
        return _e( () => {
            r.value = o.query.bid || 0,
            w()
        }
        ),
        (a, _) => {
            const p = O("NavBar")
              , U = Ee("throttle-click");
            return i(),
            c("div", Fp, [v(p, {
                title: b(m) + a.$t("paymentMethod"),
                "left-arrow": "",
                onClickLeft: d
            }, null, 8, ["title"]), e("div", Ep, [l.value.length ? (i(!0),
            c(Q, {
                key: 0
            }, $e(l.value, (u, D) => (i(),
            c("div", {
                key: D,
                class: "type4_C-item"
            }, [e("div", {
                class: oe(["header", `${u.walletName}`])
            }, [e("div", zp, t(u.bankName), 1), e("div", {
                class: oe(["select-btn", {
                    isSelect: u.bid == r.value
                }]),
                onClick: y => s(u.bid)
            }, [u.bid == r.value ? (i(),
            c("svg", Hp, Zp)) : $("v-if", !0)], 10, xp)], 2), e("div", Gp, [e("div", Qp, t(u.mobileNo), 1)])]))), 128)) : ie((i(),
            c("div", Yp, [L(t(a.$t("upiAddPaymentMethod")), 1)])), [[U, {
                handler: h,
                wait: 1e3
            }]])])])
        }
    }
});
const Jp = ae(Xp, [["__scopeId", "data-v-290c4222"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/RsnPay/index.vue"]])
  , B_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: Jp
}, Symbol.toStringTag, {
    value: "Module"
}))
  , ev = f => (Se("data-v-8da75fee"),
f = f(),
Ie(),
f)
  , tv = {
    class: "type4_C"
}
  , av = {
    class: "type4_C-list"
}
  , nv = {
    class: "header-title"
}
  , sv = ["onClick"]
  , ov = {
    key: 0,
    xmlns: "http://www.w3.org/2000/svg",
    width: "60",
    height: "60",
    viewBox: "0 0 60 60",
    fill: "none"
}
  , lv = ev( () => e("path", {
    "fill-rule": "evenodd",
    "clip-rule": "evenodd",
    d: "M60 30C60 46.5686 46.5686 60 30 60C13.4314 60 0 46.5686 0 30C0 13.4314 13.4314 0 30 0C46.5686 0 60 13.4314 60 30ZM14.4 34.2149L19.3014 29.0266C20.9353 30.363 24.2029 33.2714 27.4705 37.2807C27.5276 37.3507 27.7006 36.9707 28.0345 36.2374C29.4965 33.0269 34.0423 23.0442 45.4425 14.4053C45.5467 14.3263 45.5229 15.1444 45.4865 16.397C45.4534 17.5342 45.41 19.0295 45.4425 20.5367C45.5024 23.3195 45.9093 26.1966 45.9093 26.1966C45.9093 26.1966 39.374 27.8474 28.1707 46.0063C28.1442 46.0494 27.8296 45.6959 27.2806 45.0789C25.2645 42.8134 20.0868 36.9951 14.4 34.2149Z",
    fill: "var(--main-color)"
}, null, -1))
  , iv = [lv]
  , rv = {
    class: "type4-body"
}
  , dv = {
    class: "type4-body-name"
}
  , cv = {
    class: "type4-body-id"
}
  , uv = {
    key: 1,
    class: "noData"
}
  , pv = {
    class: "type4_C-addbtn"
}
  , vv = te({
    __name: "index",
    setup(f) {
        const n = pe()
          , o = Ae()
          , m = n.currentRoute.value.query.Type4name
          , l = Number(n.currentRoute.value.query.withdrawType)
          , r = g([])
          , d = g(null)
          , s = () => {
            const p = r.value.find(U => {
                U.bid == d.value
            }
            ) ? d.value : 0;
            n.replace({
                name: "Withdraw",
                query: {
                    bid: p,
                    type: l
                }
            })
        }
          , h = _ => {
            n.replace({
                name: "Withdraw",
                query: {
                    bid: _,
                    type: l
                }
            })
        }
          , w = async () => {
            n.replace({
                name: "Withdraw-AddType4",
                query: {
                    Type4name: m,
                    withdrawType: l
                }
            })
        }
          , a = async () => {
            var p;
            const _ = await X(Ze({
                withdrawid: l
            }));
            _ && (r.value = ((p = _.data) == null ? void 0 : p.withdrawalslist) || [])
        }
        ;
        return _e( () => {
            d.value = o.query.bid || 0,
            a()
        }
        ),
        (_, p) => {
            const U = O("NavBar")
              , u = Ee("throttle-click");
            return i(),
            c("div", tv, [v(U, {
                title: b(m) + _.$t("paymentMethod"),
                "left-arrow": "",
                onClickLeft: s
            }, null, 8, ["title"]), e("div", av, [r.value.length ? (i(!0),
            c(Q, {
                key: 0
            }, $e(r.value, (D, y) => (i(),
            c("div", {
                key: y,
                class: "type4_C-item"
            }, [e("div", {
                class: oe(["header", `${D.walletName}`])
            }, [e("div", nv, t(D.walletName), 1), e("div", {
                class: oe(["select-btn", {
                    isSelect: D.bid == d.value
                }]),
                onClick: A => h(D.bid)
            }, [D.bid == d.value ? (i(),
            c("svg", ov, iv)) : $("v-if", !0)], 10, sv)], 2), e("div", rv, [e("div", dv, t(D.beneficiaryName), 1), e("div", cv, t(D.mobileNO), 1)])]))), 128)) : ie((i(),
            c("div", uv, [L(t(_.$t("upiAddPaymentMethod")), 1)])), [[u, {
                handler: w,
                wait: 1e3
            }]])]), ie((i(),
            c("div", pv, [L(t(_.$t("upiAddPaymentMethod")), 1)])), [[u, {
                handler: w,
                wait: 1e3
            }]])])
        }
    }
});
const _v = ae(vv, [["__scopeId", "data-v-8da75fee"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/Type4/index.vue"]])
  , U_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: _v
}, Symbol.toStringTag, {
    value: "Module"
}))
  , mv = {
    class: "USDT__container"
}
  , hv = {
    key: 0,
    class: "USDT__container-content"
}
  , wv = {
    class: "USDT__container-content__card"
}
  , fv = {
    class: "USDT__container-content__card-top"
}
  , yv = {
    class: "USDT__container-content__card-mid ar-1px-b"
}
  , gv = {
    key: 1,
    class: "USDT__container-default"
}
  , $v = te({
    __name: "index",
    setup(f) {
        const {setLoading: n} = Be()
          , {getUserInfo: o} = yt()
          , m = Ft();
        o({
            signature: m.token
        });
        const l = pe()
          , r = Je()
          , d = r.getWithdrawal;
        g(!1);
        const s = j( () => r.getWithdrawal.bid.toString())
          , h = g([]);
        he({
            bid: r.getWithdrawal.bid,
            withdrawid: r.getWithdrawal.type
        });
        function w(U) {
            l.replace({
                name: "Withdraw",
                query: {
                    bid: U.bid
                }
            })
        }
        const a = he({
            withdrawid: r.getWithdrawal.type
        });
        async function _() {
            n(!0);
            const U = await X(Ze(a));
            U && (h.value = U.data.withdrawalslist,
            U.data.withdrawalslist.length > 0 && r.getWithdrawal.bid == 0 || U.data.withdrawalslist.length == 1 ? d.bid = U.data.withdrawalslist[0].bid : U.data.withdrawalslist.length == 0 && (d.bid = 0),
            r.setWithdrawal({
                ...d
            }),
            r.setWithdrawalslist(U.data.withdrawalslist)),
            n(!1)
        }
        _e(async () => {
            console.log("11", d),
            console.log("type", l.currentRoute.value.query),
            l.currentRoute.value.query.type == "Add" ? await _() : h.value = r.getWithdrawalslist
        }
        );
        function p() {
            l.replace({
                name: "Withdraw",
                query: {
                    bid: s.value
                }
            })
        }
        return (U, u) => {
            const D = O("NavBar")
              , y = O("svg-icon")
              , A = O("van-radio")
              , T = O("van-radio-group");
            return i(),
            c("div", mv, [v(D, {
                title: U.$t("usdtAddr"),
                "left-arrow": "",
                onClickLeft: p
            }, null, 8, ["title"]), h.value.length > 0 ? (i(),
            c("div", hv, [(i(!0),
            c(Q, null, $e(h.value, S => (i(),
            c("div", {
                class: "USDT__container-content__item",
                key: S.bid
            }, [v(T, {
                modelValue: s.value,
                "onUpdate:modelValue": u[0] || (u[0] = q => s.value = q)
            }, {
                default: Z( () => [e("div", wv, [e("div", fv, [v(y, {
                    name: "bankHeader"
                }), v(y, {
                    name: "usdtLogo3"
                })]), e("div", yv, [e("span", null, t(S.accountNo), 1), e("span", null, t(S.usdtRemarkName), 1)]), e("div", null, [$("这是假的"), v(A, {
                    name: `${S.bid.toString()}`,
                    "icon-size": "18px",
                    onClick: q => w(S)
                }, {
                    default: Z( () => [L(t(U.$t("select")), 1)]),
                    _: 2
                }, 1032, ["name", "onClick"])])])]),
                _: 2
            }, 1032, ["modelValue"])]))), 128))])) : (i(),
            c("div", gv, [v(et, null, {
                text: Z( () => [e("span", null, t(U.$t("noPaymentMethodsYet")), 1)]),
                _: 1
            })])), v(ut, {
                type: 3
            })])
        }
    }
});
const kv = ae($v, [["__scopeId", "data-v-1cef303f"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/USDT/index.vue"]])
  , D_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: kv
}, Symbol.toStringTag, {
    value: "Module"
}))
  , bv = {
    class: "upi_C"
}
  , Cv = {
    class: "upi_C-list"
}
  , Tv = {
    class: "header"
}
  , Nv = {
    class: "header-title"
}
  , Sv = {
    class: "upi-body"
}
  , Iv = {
    class: "upi-body-name"
}
  , Av = {
    class: "upi-body-id"
}
  , Wv = ["onClick"]
  , Bv = {
    class: "upi_C-addbtn"
}
  , Uv = te({
    __name: "index",
    setup(f) {
        const n = pe()
          , o = Ae()
          , m = g([])
          , l = g(null)
          , r = () => {
            const a = m.value.find(_ => _.bid == l.value) ? l.value : 0;
            n.replace({
                name: "Withdraw",
                query: {
                    bid: a,
                    type: 2
                }
            })
        }
        ;
        g(!1);
        const d = async () => {
            var a;
            const w = await X(Ze({
                withdrawid: 2
            }));
            if (w) {
                const _ = ((a = w.data) == null ? void 0 : a.withdrawalslist) || [];
                m.value = _
            }
        }
          , s = w => {
            n.replace({
                name: "Withdraw",
                query: {
                    bid: w.bid,
                    type: 2
                }
            })
        }
          , h = async () => {
            n.replace({
                name: "Withdraw-AddUpi",
                query: {
                    bid: l.value
                }
            })
        }
        ;
        return _e( () => {
            l.value = o.query.bid || 0,
            d()
        }
        ),
        (w, a) => {
            const _ = O("NavBar")
              , p = O("svg-icon")
              , U = Ee("throttle-click");
            return i(),
            c("div", bv, [v(_, {
                title: w.$t("paymentMethod"),
                "left-arrow": "",
                onClickLeft: r
            }, null, 8, ["title"]), e("div", Cv, [m.value.length ? (i(!0),
            c(Q, {
                key: 0
            }, $e(m.value, (u, D) => (i(),
            c("div", {
                key: D,
                class: "upi_C-item"
            }, [e("div", Tv, [e("div", Nv, [v(p, {
                name: u.bankCode
            }, null, 8, ["name"]), e("span", null, t(b(Xe)(u.bankCode)), 1)])]), e("div", Sv, [e("div", Iv, t(w.$t("accountName")) + ": " + t(u.upiName), 1), e("div", Av, "UPI ID: " + t(u.upiAccount), 1), e("div", {
                class: "upi-select",
                onClick: y => s(u)
            }, [e("div", {
                class: oe(["select-btn", {
                    isSelect: u.bid == l.value
                }])
            }, null, 2), e("span", null, t(u.bid == l.value ? w.$t("currentPayment") : w.$t("currentChange")), 1)], 8, Wv)])]))), 128)) : (i(),
            ye(et, {
                key: 1
            }, {
                text: Z( () => [e("span", null, t(w.$t("noPaymentMethodsYet")), 1)]),
                _: 1
            }))]), ie((i(),
            c("div", Bv, [L(t(w.$t("upiAddPaymentMethod")), 1)])), [[U, {
                handler: h,
                wait: 1e3
            }]])])
        }
    }
});
const Dv = ae(Uv, [["__scopeId", "data-v-68a41569"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/Upi/index.vue"]])
  , P_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: Dv
}, Symbol.toStringTag, {
    value: "Module"
}))
  , Pv = {
    class: "cancelW"
}
  , Rv = {
    class: "orderInfo"
}
  , Ov = {
    class: "b"
}
  , Vv = {
    class: "reason"
}
  , Mv = {
    class: "fail"
}
  , Lv = {
    class: "van-dialog__content-title"
}
  , qv = {
    class: "van-dialog__content-note"
}
  , jv = te({
    __name: "index",
    setup(f) {
        const {t: n} = me()
          , o = pe()
          , m = Ae()
          , l = g()
          , r = g("0")
          , d = g(!1)
          , s = g("")
          , h = j( () => {
            var A;
            return r.value == "0" ? s.value : (A = l.value.find(T => T.id == r.value)) == null ? void 0 : A.reasonText
        }
        )
          , w = () => {
            o.go(-1)
        }
          , a = g("")
          , _ = g("")
          , p = g("")
          , U = g("");
        async function u() {
            const A = await X(Za({
                type: 1
            }));
            A && (l.value = A.data)
        }
        async function D() {
            await X(Ga({
                orderNo: U.value,
                cancelReason: h.value,
                reamrk: ""
            })) && (d.value = !1,
            w())
        }
        async function y() {
            if (r.value == "0" && s.value.trim().length == 0) {
                z(n("enterOtherReason"));
                return
            }
            d.value = !0
        }
        return _e( () => {
            var A, T, S, q, N, B, H, ee;
            a.value = ((T = (A = m.query) == null ? void 0 : A.orderAmount) == null ? void 0 : T.toString()) || "",
            _.value = ((q = (S = m.query) == null ? void 0 : S.sellerAccountNo) == null ? void 0 : q.toString()) || "",
            p.value = ((B = (N = m.query) == null ? void 0 : N.createTime) == null ? void 0 : B.toString()) || "",
            U.value = ((ee = (H = m.query) == null ? void 0 : H.orderNo) == null ? void 0 : ee.toString()) || "",
            u()
        }
        ),
        (A, T) => {
            const S = O("NavBar")
              , q = O("van-radio")
              , N = O("van-radio-group")
              , B = O("van-field")
              , H = O("van-dialog")
              , ee = Ee("lazy");
            return i(),
            c("div", Pv, [v(S, {
                title: "取消订单",
                "left-arrow": "",
                onClickLeft: w,
                backgroundColor: "transparent"
            }), e("div", Rv, [e("div", null, [e("span", null, t(A.$t("withdrawalA")), 1), e("span", Ov, t(b(ce)(a.value)), 1)]), e("div", null, [e("span", null, "UPI " + t(A.$t("account")), 1), e("span", null, t(_.value), 1)]), e("div", null, [e("span", null, t(b(Kt)(p.value, "yyyy-MM-dd")), 1), e("span", {
                class: "copy",
                onClick: T[0] || (T[0] = P => b(Ke)(U.value))
            }, t(U.value), 1)])]), e("div", Vv, [e("h2", null, t(A.$t("cancelReason")), 1), v(N, {
                modelValue: r.value,
                "onUpdate:modelValue": T[1] || (T[1] = P => r.value = P),
                shape: "dot",
                "checked-color": "#ee0a24"
            }, {
                default: Z( () => [(i(!0),
                c(Q, null, $e(l.value, (P, le) => (i(),
                ye(q, {
                    key: le,
                    name: P.id.toString()
                }, {
                    default: Z( () => [L(t(P.reasonText), 1)]),
                    _: 2
                }, 1032, ["name"]))), 128)), v(q, {
                    name: "0"
                }, {
                    default: Z( () => [L(t(A.$t("other")), 1)]),
                    _: 1
                })]),
                _: 1
            }, 8, ["modelValue"]), v(B, {
                class: "textarea",
                disabled: r.value != "0",
                modelValue: s.value,
                "onUpdate:modelValue": T[2] || (T[2] = P => s.value = P),
                rows: "3",
                autosize: "",
                type: "textarea",
                maxlength: "150",
                placeholder: A.$t("enterOtherReason")
            }, null, 8, ["disabled", "modelValue", "placeholder"])]), e("div", {
                class: "cancel",
                onClick: y
            }, t(A.$t("confirmCancel")), 1), v(H, {
                show: d.value,
                "onUpdate:show": T[4] || (T[4] = P => d.value = P),
                "show-confirm-button": !1,
                "z-index": "100",
                closeOnClickOverlay: !0
            }, {
                default: Z( () => [ie(e("img", Mv, null, 512), [[ee, b(ge)("wallet/recharge", "tip")]]), e("div", Lv, t(A.$t("cancelW")), 1), e("div", qv, [e("span", null, t(A.$t("c2cWTip11")), 1)]), e("div", {
                    class: "van-dialog__content-btn",
                    onClick: D
                }, t(A.$t("confirmCancel")), 1), ie(e("img", {
                    class: "close",
                    onClick: T[3] || (T[3] = P => d.value = !1)
                }, null, 512), [[ee, b(rt)("main", "close")]])]),
                _: 1
            }, 8, ["show"])])
        }
    }
});
const Fv = ae(jv, [["__scopeId", "data-v-522a488b"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/c2cCancelWithdrawal/index.vue"]])
  , R_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: Fv
}, Symbol.toStringTag, {
    value: "Module"
}))
  , Ev = {
    class: "wrongA"
}
  , zv = {
    class: "head"
}
  , xv = {
    class: "content"
}
  , Hv = {
    class: "amount"
}
  , Kv = {
    class: "input"
}
  , Zv = {
    class: "place-div"
}
  , Gv = {
    class: "img"
}
  , Qv = {
    class: "uploadImg"
}
  , Yv = {
    class: "tip"
}
  , Xv = {
    class: "img video"
}
  , Jv = {
    class: "uploadImg"
}
  , e_ = {
    key: 0,
    class: "v",
    controls: ""
}
  , t_ = ["src"]
  , a_ = ["src"]
  , n_ = ["src"]
  , s_ = {
    key: 1,
    class: "videoBox loading"
}
  , o_ = te({
    __name: "index",
    setup(f) {
        var A;
        const n = pe()
          , {t: o} = me()
          , m = j( () => Ue().getDollarSign)
          , l = g([])
          , r = g([])
          , d = g([])
          , s = g()
          , h = g()
          , w = g(!1)
          , a = g({
            orderNo: (A = n.currentRoute.value.query) == null ? void 0 : A.orderNo,
            realAmount: 0,
            ossUrls: [{}]
        })
          , _ = j( () => {
            var T;
            return !(((T = a.value.orderNo) == null ? void 0 : T.toString().trim().length) == 0 || +(a.value.realAmount <= 0) || d.value.length == 0 || w.value)
        }
        )
          , p = async T => {
            console.log("file", T);
            const S = new FormData;
            (T == null ? void 0 : T.length) > 0 ? T.forEach(N => {
                S.append("files", N.file)
            }
            ) : S.append("files", T.file);
            const q = await X(Qa(S));
            q.data.forEach(N => {
                d.value.push(N.src)
            }
            ),
            console.log(11, d.value, q.data)
        }
          , U = (T, S) => (d.value.filter( (q, N) => {
            S.index == N && d.value.splice(N, 1)
        }
        ),
        console.log(11, d.value),
        !0)
          , u = async T => {
            w.value = !0;
            const S = new FormData;
            S.append("files", T.file);
            const q = await X(Ya(S));
            q && (s.value = q.data[0].ossHttp + "/" + q.data[0].src,
            h.value = q.data[0].src),
            w.value = !1
        }
        ;
        async function D() {
            if (!_.value)
                return;
            if (w.value)
                return z({
                    message: o("c2cTip45"),
                    wordBreak: "break-word"
                });
            a.value.ossUrls.length = 0,
            d.value.forEach(q => {
                a.value.ossUrls.push({
                    fileType: 1,
                    fileUrl: q
                })
            }
            ),
            h.value && a.value.ossUrls.push({
                fileType: 2,
                fileUrl: h.value
            }),
            console.log(22, a.value);
            const [T,S] = await Xa(Ja(a.value));
            console.log(T, S),
            S.code == 0 ? y(o("submitSuccess")) : S.msgCode == "281" && S.code == 1 ? y(S.msg) : it(S)
        }
        function y(T) {
            z({
                message: T,
                wordBreak: "break-word"
            }),
            setTimeout( () => {
                n.replace({
                    name: "Withdraw-C2cDetail",
                    query: {
                        order: a.value.orderNo
                    }
                })
            }
            , 2e3)
        }
        return (T, S) => {
            const q = O("NavBar")
              , N = O("van-field")
              , B = O("van-uploader")
              , H = O("van-icon");
            return i(),
            c("div", Ev, [e("div", zv, [v(q, {
                title: "",
                "left-arrow": "",
                onClickLeft: S[0] || (S[0] = () => b(n).back()),
                backgroundColor: "transparent"
            }), e("h1", null, t(T.$t("c2cState14")), 1), e("div", null, t(T.$t("c2cTip35")), 1), e("div", null, t(T.$t("c2cTip36")), 1)]), e("div", xv, [e("div", Hv, [e("h1", null, t(T.$t("c2cTip37")), 1), e("p", null, t(T.$t("c2cTip38")), 1), e("div", Kv, [e("div", Zv, t(m.value), 1), v(N, {
                modelValue: a.value.realAmount,
                "onUpdate:modelValue": S[1] || (S[1] = ee => a.value.realAmount = ee),
                modelModifiers: {
                    number: !0
                },
                center: "",
                type: "digit",
                placeholder: T.$t("enterAmount"),
                class: "inp"
            }, null, 8, ["modelValue", "placeholder"])])]), e("div", Gv, [e("h1", null, t(T.$t("c2cTip39")) + " (" + t(l.value.length) + "/3) ", 1), v(B, {
                modelValue: l.value,
                "onUpdate:modelValue": S[2] || (S[2] = ee => l.value = ee),
                multiple: "",
                "max-count": 3,
                "max-size": 5e3 * 1024,
                onOversize: S[3] || (S[3] = () => b(_t)(T.$t("C2Cuploadtip2"))),
                accept: "image/*",
                "after-read": p,
                "before-delete": U
            }, {
                default: Z( () => [e("div", Qv, t(T.$t("c2cTip40")), 1)]),
                _: 1
            }, 8, ["modelValue"]), e("div", Yv, [v(H, {
                name: "warning-o",
                size: "18"
            }), L(t(T.$t("c2cTip41")), 1)])]), e("div", Xv, [e("h1", null, t(T.$t("c2cTip42")) + " (" + t(r.value.length) + "/1) ", 1), w.value ? $("v-if", !0) : (i(),
            ye(B, {
                key: 0,
                modelValue: r.value,
                "onUpdate:modelValue": S[4] || (S[4] = ee => r.value = ee),
                "max-count": 1,
                "max-size": 5e4 * 1024,
                onOversize: S[5] || (S[5] = () => b(_t)(T.$t("c2cTip51"))),
                accept: "video/*",
                "after-read": u
            }, {
                "preview-cover": Z( ({file: ee}) => [s.value ? (i(),
                c("video", e_, [e("source", {
                    src: s.value,
                    type: "video/ogg"
                }, null, 8, t_), e("source", {
                    src: s.value,
                    type: "video/mp4"
                }, null, 8, a_), e("source", {
                    src: s.value,
                    type: "video/webm"
                }, null, 8, n_)])) : $("v-if", !0)]),
                default: Z( () => [e("div", Jv, t(T.$t("c2cTip43")), 1)]),
                _: 1
            }, 8, ["modelValue"])), w.value ? (i(),
            c("div", s_, t(T.$t("c2cTip44")), 1)) : $("v-if", !0)]), e("div", {
                class: oe(["cmdBth", {
                    active: _.value
                }]),
                onClick: D
            }, t(T.$t("c2cState14")), 3)])])
        }
    }
});
const l_ = ae(o_, [["__scopeId", "data-v-5e595a70"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/wallet/Withdraw/c2cWrongAmount/index.vue"]])
  , O_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: l_
}, Symbol.toStringTag, {
    value: "Module"
}));
export {ct as W, w_ as a, f_ as b, Yo as c, y_ as d, g_ as e, $_ as f, k_ as g, b_ as h, h_ as i, C_ as j, T_ as k, N_ as l, S_ as m, I_ as n, A_ as o, W_ as p, B_ as q, U_ as r, D_ as s, P_ as t, R_ as u, O_ as v};
