import {
    G as te,
    z as me,
    aT as Rt,
    C as pe,
    I as d,
    J as e,
    O as b,
    an as g,
    aA as L,
    P as t,
    F as ze,
    N as l,
    av as ht,
    H as O,
    aq as Je,
    Q as v,
    au as K,
    Z as pa,
    aB as Ie,
    aC as We,
    R as _e,
    r as k,
    A as he,
    K as G,
    M as $e,
    ao as le,
    at as ke,
    B as j,
    aw as se,
    ax as vt,
    aE as we,
    T as De,
    az as Ee,
    u as E,
    $ as Ve,
    E as wt,
    a_ as Wt,
    a0 as _a,
    bB as ma,
    bF as ha,
    b2 as wa,
    q as pt,
    X as fa,
    ay as At,
    bE as ya
} from "./common.modules-af1f85b9.js";
import {
    bf as Ye,
    a4 as Pe,
    A as Y,
    c3 as Bt,
    g as ge,
    c as re,
    b as lt,
    _ as ae,
    cE as ga,
    du as et,
    bu as ka,
    bv as ba,
    L as je,
    dv as $a,
    dw as Ot,
    cL as Ca,
    y as Oe,
    dx as Me,
    a1 as Mt,
    dy as Ta,
    a5 as Lt,
    a3 as ft,
    G as Vt,
    cX as Na,
    aa as Xe,
    dz as Sa,
    dA as Ia,
    ab as Wa,
    h as st,
    dB as qt,
    dC as Aa,
    dD as Fe,
    cD as He,
    bh as Te,
    dE as Ba,
    b$ as it,
    dF as rt,
    dG as Ua,
    dH as Da,
    dI as Pa,
    dJ as Ra,
    dK as Oa,
    dL as Ma,
    dM as La,
    dN as Va,
    dO as qa,
    dP as jt,
    dg as zt,
    dQ as ja,
    dR as za,
    cT as Ea,
    dS as Fa,
    cF as Ha,
    dT as xa,
    bB as Ka,
    dU as Za
} from "./page-activity-ActivityDetail-09e806d3.js";
import {
    P as Ga,
    v as Et,
    c as Ft
} from "./page-login-index.vue_vue_type_script_setup_true_lang.ts-27051768.js";
import {
    E as at
} from "./page-activity-Bonus-78dc3749.js";
import {
    L as Qa
} from "./page-activity-DailySignIn-a76bf4fc.js";
import {
    D as _t
} from "./page-activity-Championship-a1efdd83.js";
import {
    N as Xa
} from "./page-wallet-Recharge-0480ec31.js";
import {
    u as Ya,
    a as xe,
    S as Ke
} from "./page-test-index.vue_vue_type_script_setup_true_lang.tsx-8da4e8f0.js";
import {
    S as Ja
} from "./page-promotion-MyInvitation-9579673b.js";
const en = {
        class: "balanceAssets"
    },
    tn = {
        class: "balanceAssets__header"
    },
    an = {
        class: "balanceAssets__header__left"
    },
    nn = ["src"],
    on = {
        class: "balanceAssets__main"
    },
    sn = ["src"],
    ln = te({
        __name: "BalanceAssetsW",
        props: {
            data_NewSetWithdrawal: {
                type: null,
                required: !0
            },
            withdrawalsrule: {
                type: null,
                required: !0
            }
        },
        setup(w) {
            const n = w,
                {
                    t: s
                } = me();
            Ye();
            const {
                setLoading: _
            } = Pe(), i = Rt(n, "withdrawalsrule");
            async function r() {
                _(!0);
                const c = await Y(Bt());
                c && (i.value.amount = c.data.amount, ze(s("refreshSuccess"))), _(!1)
            }
            return pe(async () => {
                const c = await Y(Bt());
                c && (i.value.amount = c.data.amount)
            }), (c, o) => (l(), d("div", en, [e("div", tn, [e("div", an, [e("img", {
                src: b(ge)("wallet", "balance")
            }, null, 8, nn), g(" 可用余额 "), L(" " + t(c.$t("vailableBalance")), 1)])]), e("div", on, [e("p", null, t(b(re)(i.value.amount)), 1), e("img", {
                src: b(lt)("wallet/recharge", "refresh"),
                alt: "",
                onClick: r
            }, null, 8, sn)])]))
        }
    });
const rn = ae(ln, [
        ["__scopeId", "data-v-0879c174"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/BalanceAssetsW.vue"]
    ]),
    yt = w => (Ie("data-v-6981cc49"), w = w(), We(), w),
    dn = {
        class: "otp"
    },
    cn = {
        class: "otp-header"
    },
    un = yt(() => e("span", {
        class: "otp-header-left"
    }, null, -1)),
    vn = yt(() => e("span", {
        class: "otp-header-right"
    }, null, -1)),
    pn = {
        class: "otp-content"
    },
    _n = {
        class: "otp-hit"
    },
    mn = {
        key: 0
    },
    hn = {
        class: "otp-title"
    },
    wn = {
        class: "otp-title"
    },
    fn = {
        class: "otp-btns"
    },
    yn = {
        class: "otp-footer"
    },
    gn = yt(() => 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)),
    kn = [gn],
    bn = 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(w, {
            emit: n
        }) {
            const s = w,
                {
                    code: _
                } = ht(s, n),
                {
                    t: i
                } = me(),
                {
                    close: r
                } = Ya(),
                {
                    getOTPCode: c,
                    getWithdrawalOTPCode: o,
                    getWithdrawalUsendOtpByWithdrawId: h,
                    isCount: f,
                    seconds: a
                } = ga({
                    time: 60
                }),
                m = async () => {
                    if (s.withdrawalId) {
                        await h({
                            withdrawId: s.withdrawalId,
                            categoryId: 2
                        });
                        return
                    }
                    if (s.bid) {
                        await o({
                            categoryId: 2,
                            bid: s.bid
                        });
                        return
                    }
                    await c({
                        categoryId: 2,
                        mobileNo: s.mobile,
                        accountNo: s.upi,
                        bankCode: s.bank
                    })
                },
                u = () => {
                    r(), n("close")
                },
                A = async () => {
                    _.value && n("confirm")
                };
            return (p, B) => {
                const y = O("van-field"),
                    I = O("van-button");
                return l(), d("div", dn, [e("div", cn, [un, Je(p.$slots, "header", {}, () => [e("h5", null, t(b(i)("verifyOpt")), 1)], !0), vn]), e("div", pn, [e("div", null, [e("div", _n, [e("p", null, t(w.withdrawalAmount !== 0 ? p.$t("paymentTips") : p.$t("currentPaymentTips")) + "！", 1), e("p", null, t(p.$t("paymentMethod")) + "：" + t(b(et)(w.bank)), 1), e("p", null, "UPI ID ： " + t(w.upi), 1), w.withdrawalAmount ? (l(), d("p", mn, t(p.$t("withdrawalA")) + " : " + t(b(re)(w.withdrawalAmount)), 1)) : g("v-if", !0)]), e("div", hn, t(p.$t("phoneN")), 1), v(y, {
                    center: "",
                    type: "digit",
                    placeholder: p.$t("phoneN"),
                    disabled: !0,
                    "model-value": w.mobile
                }, null, 8, ["placeholder", "model-value"]), e("div", wn, t(p.$t("VerificationCode")), 1), v(y, {
                    center: "",
                    type: "digit",
                    placeholder: p.$t("phEnterVerificationCode"),
                    maxlength: 6,
                    modelValue: b(_),
                    "onUpdate:modelValue": B[0] || (B[0] = C => pa(_) ? _.value = C : null)
                }, {
                    button: K(() => [v(I, {
                        class: "otp-code",
                        disabled: b(f),
                        size: "small",
                        type: "primary",
                        onClick: m
                    }, {
                        default: K(() => [L(t(b(f) ? `${b(a)}S` : p.$t("send")), 1)]),
                        _: 1
                    }, 8, ["disabled"])]),
                    _: 1
                }, 8, ["placeholder", "modelValue"])]), e("div", fn, [v(I, {
                    type: "primary",
                    disabled: !b(_),
                    onClick: A
                }, {
                    default: K(() => [L(t(p.$t("submit")), 1)]),
                    _: 1
                }, 8, ["disabled"]), v(I, {
                    onClick: u
                }, {
                    default: K(() => [L(t(p.$t("cancel")), 1)]),
                    _: 1
                })])]), e("div", yn, [Je(p.$slots, "footer", {}, () => [e("span", {
                    onClick: u
                }, kn)], !0)])])
            }
        }
    });
const dt = ae(bn, [
        ["__scopeId", "data-v-6981cc49"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/otp.vue"]
    ]),
    $n = {
        class: "rechargeh__container"
    },
    Cn = {
        class: "rechargeh__container-head"
    },
    Tn = {
        class: "rechargeh__container-content"
    },
    Nn = {
        class: "rechargeh__container-content__item-header ar-1px-b"
    },
    Sn = {
        class: "rechargeh__container-content__item-body"
    },
    In = {
        key: 0
    },
    Wn = {
        class: "rechargeh__container-footer"
    },
    An = te({
        __name: "WithdrawHistory",
        setup(w, {
            expose: n
        }) {
            const s = _e(),
                {
                    setLoading: _
                } = Pe(),
                {
                    t: i
                } = me(),
                r = k([]),
                c = he({
                    pageNo: 1,
                    pageSize: 5,
                    startDate: "",
                    endDate: "",
                    state: -1,
                    type: -1
                }),
                o = k({}),
                h = k(""),
                f = k(!1),
                a = p => {
                    o.value = Object.assign({}, p.upiAccountInfo || {}, {
                        withdrawID: p.withdrawID
                    }), f.value = !0
                };

            function m() {
                s.push({
                    name: "WithdrawHistory"
                })
            }
            async function u() {
                _(!0);
                const p = await Y($a(c));
                p && (r.value = p.data.list), _(!1)
            }
            const A = async () => {
                var B;
                await Y(Ot({
                    withdrawId: (B = o.value) == null ? void 0 : B.withdrawID,
                    smsCode: h.value,
                    categoryId: 2
                })) && (f.value = !1, ze({
                    type: "success",
                    message: i("verifySuccess"),
                    duration: 2e3
                }), await u())
            };
            return pe(async () => {
                await u()
            }), n({
                getWithdrawLog: u
            }), (p, B) => {
                const y = O("svg-icon"),
                    I = O("van-button"),
                    C = O("van-dialog");
                return l(), d("div", $n, [e("div", Cn, [v(y, {
                    name: "historyHead"
                }), e("h1", null, t(p.$t("whTitle5")), 1)]), e("div", Tn, [r.value.length > 0 ? (l(!0), d(G, {
                    key: 0
                }, $e(r.value, (N, z) => (l(), d("div", {
                    class: "rechargeh__container-content__item",
                    key: z
                }, [g(' <div class="rechargeh__container-content__item-header ar-1px-b" @click="onToDetail(item.state)"> '), e("div", Nn, [e("span", null, t(p.$t("withdraw")), 1), e("span", {
                    class: le({
                        stateR: N.state === 0,
                        stateG: N.state === 1
                    })
                }, [L(t(b(ka)(b(ba).WithdrawState, N.state)) + " ", 1), g(' <van-icon name="arrow" /> ')], 2)]), e("div", Sn, [e("div", null, [e("span", null, t(p.$t("amount")), 1), e("span", null, t(b(re)(N.price)), 1)]), e("div", null, [e("span", null, t(p.$t("type")), 1), e("span", null, t(N.withdrawName), 1)]), e("div", null, [e("span", null, t(p.$t("time")), 1), e("span", null, t(N.addTime), 1)]), e("div", null, [e("span", null, t(p.$t("orderNo")), 1), e("span", null, t(N.withdrawNumber), 1), v(y, {
                    onClick: T => b(je)(N.withdrawNumber.toString()),
                    name: "copy"
                }, null, 8, ["onClick"])]), N.needKycConnect && N.state === 3 ? (l(), d("div", In, [v(I, {
                    size: "small",
                    onClick: T => a(N),
                    type: "danger",
                    block: ""
                }, {
                    default: K(() => [L(t(p.$t("verifyOpt")), 1)]),
                    _: 2
                }, 1032, ["onClick"])])) : g("v-if", !0)])]))), 128)) : (l(), ke(at, {
                    key: 1
                }))]), e("div", Wn, [e("button", {
                    onClick: m
                }, t(p.$t("allRecords")), 1)]), v(C, {
                    teleport: "body",
                    show: f.value,
                    "onUpdate:show": B[2] || (B[2] = N => f.value = N),
                    showConfirmButton: !1,
                    width: "fit-content",
                    "lazy-render": ""
                }, {
                    default: K(() => [v(dt, {
                        withdrawalId: o.value.withdrawID,
                        bank: o.value.bankCode,
                        upi: o.value.accountNo,
                        mobile: o.value.mobileNO,
                        code: h.value,
                        "onUpdate:code": B[0] || (B[0] = N => h.value = N),
                        onConfirm: A,
                        onClose: B[1] || (B[1] = N => f.value = !1)
                    }, null, 8, ["withdrawalId", "bank", "upi", "mobile", "code"])]),
                    _: 1
                }, 8, ["show"])])
            }
        }
    });
const mt = ae(An, [
        ["__scopeId", "data-v-30972a14"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/WithdrawHistory.vue"]
    ]),
    Bn = {
        class: "withdrawWay"
    },
    Un = ["src"],
    Dn = ["src"],
    Pn = {
        key: 0,
        class: "gift"
    },
    Rn = ["src"],
    On = ["src"],
    Mn = ["src"],
    Ln = ["src"],
    Vn = ["onClick"],
    qn = ["src"],
    jn = ["src"],
    zn = 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(w, {
            emit: n
        }) {
            const s = w,
                _ = j(() => s.withdrawalTypeslist.find(o => o.withdrawID == 20)),
                i = j(() => s.withdrawalTypeslist.find(o => o.withdrawID == 21)),
                r = j(() => s.withdrawalTypeslist.find(o => o.withdrawID == 22));

            function c(o) {
                n("onSelectWithdrawalType", o)
            }
            return (o, h) => (l(), d("div", Bn, [_.value ? (l(), d("div", {
                key: 0,
                class: le(["c2c", {
                    active: o.data_NewSetWithdrawal.type == 20
                }]),
                onClick: h[0] || (h[0] = f => c({
                    withdrawID: 20
                }))
            }, [o.data_NewSetWithdrawal.type != _.value.withdrawID ? (l(), d("img", {
                key: 0,
                src: _.value.withBeforeImgUrl
            }, null, 8, Un)) : (l(), d("img", {
                key: 1,
                src: _.value.withAfterImgUrl
            }, null, 8, Dn)), e("div", null, [e("div", null, t(_.value.name), 1), o.c2cAward > 0 ? (l(), d(G, {
                key: 0
            }, [L(t(o.$t("c2cEGReward", [o.c2cAward ? b(Ca)(o.c2cAward, 100) : 0])), 1)], 64)) : g("v-if", !0)])], 2)) : g("v-if", !0), i.value ? (l(), d("div", {
                key: 1,
                class: le(["c2c Ar", {
                    active: o.data_NewSetWithdrawal.type == 21
                }]),
                onClick: h[1] || (h[1] = f => c({
                    withdrawID: 21
                }))
            }, [o.maxRechargeRifts > 0 || o.ArRechargeRifts > 0 ? (l(), d("div", Pn, [e("span", null, t(o.maxRechargeRifts > 0 ? `${o.maxRechargeRifts}%` : "") + t(o.ArRechargeRifts > 0 ? `+${o.ArRechargeRifts}%` : ""), 1)])) : g("v-if", !0), o.data_NewSetWithdrawal.type != i.value.withdrawID ? (l(), d("img", {
                key: 1,
                src: i.value.withBeforeImgUrl
            }, null, 8, Rn)) : (l(), d("img", {
                key: 2,
                src: i.value.withAfterImgUrl
            }, null, 8, On)), e("div", null, [e("div", null, t(i.value.name), 1), e("p", null, t(i.value.withdrawTip || o.$t("withdrawTip5")), 1)])], 2)) : g("v-if", !0), r.value ? (l(), d("div", {
                key: 2,
                class: le(["c2c Ar", {
                    active: o.data_NewSetWithdrawal.type == 22
                }]),
                onClick: h[2] || (h[2] = f => c({
                    withdrawID: 22
                }))
            }, [o.data_NewSetWithdrawal.type != r.value.withdrawID ? (l(), d("img", {
                key: 0,
                src: r.value.withBeforeImgUrl
            }, null, 8, Mn)) : (l(), d("img", {
                key: 1,
                src: r.value.withAfterImgUrl
            }, null, 8, Ln)), e("div", null, [e("div", null, t(r.value.name), 1)])], 2)) : g("v-if", !0), (l(!0), d(G, null, $e(o.withdrawalTypeslist, f => (l(), d(G, {
                key: f.withdrawID
            }, [
                [20, 21, 22].includes(f.withdrawID) ? g("v-if", !0) : (l(), d("div", {
                    key: 0,
                    class: le({
                        select: o.data_NewSetWithdrawal.type == f.withdrawID
                    }),
                    onClick: a => c(f)
                }, [e("div", null, [o.data_NewSetWithdrawal.type != f.withdrawID ? (l(), d("img", {
                    key: 0,
                    src: f.withBeforeImgUrl
                }, null, 8, qn)) : (l(), d("img", {
                    key: 1,
                    src: f.withAfterImgUrl
                }, null, 8, jn))]), e("span", null, t(f.name), 1)], 10, Vn))
            ], 64))), 128))]))
        }
    });
const En = ae(zn, [
        ["__scopeId", "data-v-9bae072d"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/withdrawalTypes.vue"]
    ]),
    Fn = {
        class: "quickWay"
    },
    Hn = {
        class: "quickWay-title"
    },
    xn = {
        class: "quickWay-list"
    },
    Kn = ["onClick"],
    Zn = te({
        __name: "upiQuickTypes",
        props: {
            bankList: {
                type: Array,
                required: !0
            },
            bankCode: {
                type: String,
                required: !0
            }
        },
        emits: ["onSelectWithdrawalType"],
        setup(w, {
            emit: n
        }) {
            function s(_) {
                n("onSelectWithdrawalType", _.bankCode)
            }
            return (_, i) => {
                const r = O("svg-icon");
                return l(), d("div", Fn, [e("div", Hn, [v(r, {
                    name: "bankCard"
                }), e("p", null, t(_.$t("paymentMethods")), 1)]), e("div", xn, [(l(!0), d(G, null, $e(_.bankList, c => (l(), d("div", {
                    class: le(["quickWay-item", {
                        select: _.bankCode == c.bankCode
                    }]),
                    onClick: o => s(c),
                    key: c.bankCode
                }, [e("div", null, [v(r, {
                    name: c.bankCode
                }, null, 8, ["name"])]), e("span", null, t(c.bankName), 1)], 10, Kn))), 128))])])
            }
        }
    });
const Gn = ae(Zn, [
        ["__scopeId", "data-v-f10a2e73"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/upiQuickTypes.vue"]
    ]),
    Qn = {
        class: "explain"
    },
    Xn = {
        key: 0,
        class: "Withdraw__content-paymoney"
    },
    Yn = {
        class: "Withdraw__content-paymoney__title"
    },
    Jn = {
        class: "Withdraw__content-paymoney__money-list"
    },
    eo = ["onClick"],
    to = {
        class: "amount"
    },
    ao = {
        class: "input"
    },
    no = {
        class: "place-div"
    },
    oo = ["placeholder"],
    so = {
        key: 1,
        class: "verify"
    },
    lo = {
        class: "balance bank"
    },
    io = {
        class: "yellow"
    },
    ro = ["value"],
    co = {
        class: "rightD"
    },
    uo = {
        class: "yellow"
    },
    vo = {
        class: "explain usdt"
    },
    po = {
        class: "head"
    },
    _o = ["src"],
    mo = {
        key: 0
    },
    ho = {
        key: 1
    },
    wo = {
        class: "input"
    },
    fo = {
        class: "place-div"
    },
    yo = ["placeholder"],
    go = {
        key: 0,
        class: "verify"
    },
    ko = {
        key: 1,
        class: "verify"
    },
    bo = {
        key: 2,
        class: "input"
    },
    $o = ["placeholder"],
    Co = {
        class: "place-div"
    },
    To = {
        class: "place-icon"
    },
    No = ["src"],
    So = {
        class: "balance usdt"
    },
    Io = {
        class: "yellow"
    },
    Wo = ["value"],
    Ao = te({
        __name: "withdrawField",
        props: {
            data_NewSetWithdrawal: {
                type: null,
                required: !0
            },
            withdrawalsrule: {
                type: null,
                required: !0
            },
            withdrawalslist: {
                type: Array,
                required: !0
            }
        },
        setup(w, {
            expose: n
        }) {
            const s = w,
                {
                    t: _
                } = me(),
                i = j(() => Oe().getDollarSign),
                r = k(0),
                c = j({
                    get() {
                        return r.value != 0 ? r.value : ""
                    },
                    set(U) {
                        r.value = U
                    }
                }),
                o = Rt(s, "data_NewSetWithdrawal"),
                h = j({
                    get() {
                        return o.value.amount != 0 ? o.value.amount : ""
                    },
                    set(U) {
                        o.value.amount = U
                    }
                }),
                {
                    withdrawalTypeslist: f
                } = Me(),
                a = j(() => {
                    var ie;
                    const U = f.value.find(P => P.withdrawID == 2);
                    return U ? U.recommandWithAmount ? (ie = U.recommandWithAmount) == null ? void 0 : ie.split(",").map(P => Number(P)) : [] : []
                }),
                m = k(null),
                u = U => {
                    m.value = U;
                    const ie = a.value[U];
                    h.value = ie
                },
                A = U => U >= 1e6 ? (U / 1e6).toFixed(1).replace(/\.0$/, "") + "M" : U >= 1e3 ? (U / 1e3).toFixed(1).replace(/\.0$/, "") + "K" : U + "",
                p = j(() => !!(o.value.amount != 0 && ([2].includes(o.value.type) && o.value.amount % 100 !== 0 || o.value.amount > s.withdrawalsrule.canWithdrawAmount || o.value.amount > s.withdrawalsrule.maxPrice || o.value.amount < s.withdrawalsrule.minPrice || s.withdrawalsrule.amountofCode > 0))),
                B = j(() => {
                    if (o.value.amount != 0) {
                        if ([2].includes(o.value.type) && o.value.amount % 100 !== 0) return _("withdrawAmount");
                        if (s.withdrawalsrule.amountofCode > 0) return _("code128");
                        if (o.value.amount > s.withdrawalsrule.canWithdrawAmount) return _("cashBalanceInsufficient");
                        if (o.value.amount > s.withdrawalsrule.maxPrice || o.value.amount < s.withdrawalsrule.minPrice) return _("wordWithdrawal", [re(s.withdrawalsrule.minPrice), re(s.withdrawalsrule.maxPrice)])
                    }
                }),
                y = j(() => o.value.type === 3 && o.value.amount != 0 && Number(o.value.amount) < 10);

            function I(U) {
                U.keyCode != 46 && (U.keyCode < 48 || U.keyCode > 57) && (U.returnValue = !1)
            }

            function C(U) {
                (U.keyCode < 48 || U.keyCode > 57) && (U.returnValue = !1)
            }

            function N() {
                o.value.amount = Number(o.value.amount.toString().replace(/[^\d.]/g, "").replace(/^\./g, "").replace(/\.{2,}/g, ".").replace(".", "$#$").replace(/\./g, "").replace("$#$", ".")), o.value.amount.toString().length > 11 && (o.value.amount = Number(o.value.amount.toString().slice(0, 11)))
            }

            function z() {
                o.value.amount = Math.floor(s.withdrawalsrule.canWithdrawAmount), o.value.type === 3 && W()
            }

            function T() {
                r.value = Math.floor(r.value)
            }

            function W() {
                if (o.value.amount = Number(o.value.amount.toString().replace(/[^\d.]/g, "").replace(/\.{2,}/g, ".").replace(".", "$#$").replace(/\./g, "").replace("$#$", ".").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3").replace(/^\./g, "")), o.value.amount.toString().length > 11 && (o.value.amount = Number(o.value.amount.toString().slice(0, 11))), o.value.amount > 0) {
                    let U = Number(o.value.amount) / s.withdrawalsrule.uRate;
                    r.value = Math.floor(U * 100) / 100
                } else r.value = 0
            }

            function x() {
                if (r.value.toString().length > 11 && (r.value = Number(r.value.toString().slice(0, 11))), r.value > 0) {
                    let U = r.value * s.withdrawalsrule.uRate;
                    o.value.amount = Math.floor(Math.floor(U * 100) / 100)
                } else o.value.amount = 0
            }
            const J = j(() => {
                if (!o.value.amount) return 0;
                const {
                    withMinPrice: U = 0,
                    withMaxPrice: ie = 0,
                    fee: P
                } = s.withdrawalsrule;
                return P > 0 && U <= o.value.amount && o.value.amount <= ie ? o.value.amount - o.value.amount * P : o.value.amount
            });
            return n({
                usdtCount: r,
                data: o,
                showValidate: p,
                showValidateUB: y
            }), (U, ie) => {
                const P = O("svg-icon");
                return l(), d(G, null, [se(e("div", Qn, [a.value.length > 0 && o.value.type === 2 && U.withdrawalslist.length > 0 ? (l(), d("div", Xn, [e("div", Yn, [v(P, {
                    name: "saveWallet"
                }), e("p", null, t(U.$t("withdrawalA")), 1)]), e("div", Jn, [(l(!0), d(G, null, $e(a.value, (F, X) => (l(), d("div", {
                    class: le(["Withdraw__content-paymoney__money-list__item", m.value === X ? "active" : ""]),
                    key: X,
                    onClick: V => u(X)
                }, [e("div", to, t(A(Number(F))), 1)], 10, eo))), 128))])])) : g("v-if", !0), e("div", ao, [e("div", no, t(i.value), 1), se(e("input", {
                    placeholder: U.$t("enterAmount"),
                    onInput: ie[0] || (ie[0] = F => N()),
                    class: "inp",
                    "onUpdate:modelValue": ie[1] || (ie[1] = F => h.value = F),
                    onKeypress: ie[2] || (ie[2] = F => I(F))
                }, null, 40, oo), [
                    [we, h.value]
                ])]), p.value ? (l(), d("div", so, t(B.value), 1)) : g("v-if", !0), e("div", lo, [e("div", null, [e("span", null, [L(t(U.$t("wfDesc1")) + " ", 1), e("h6", io, t(b(re)(U.withdrawalsrule.canWithdrawAmount || 0)), 1)]), e("input", {
                    type: "button",
                    value: U.$t("all"),
                    onClick: z
                }, null, 8, ro)]), e("div", null, [e("span", null, t(U.$t("wfDesc2")), 1), e("div", co, [e("span", uo, t(b(re)(J.value)), 1)])])])], 512), [
                    [vt, [1, 2, 6, 8, 5].includes(o.value.type)]
                ]), se(e("div", vo, [e("div", po, [e("img", {
                    src: b(ge)("wallet/withdrawType", String(o.value.type))
                }, null, 8, _o), o.value.type == 3 ? (l(), d("h1", mo, t(U.$t("selectUSDTNum")), 1)) : g("v-if", !0), o.value.type == 10 ? (l(), d("h1", ho, t(U.$t("selectUSDTAmount")), 1)) : g("v-if", !0)]), e("div", wo, [e("div", fo, t(i.value), 1), se(e("input", {
                    type: "number",
                    placeholder: U.$t("enterWithdrawAmount"),
                    onInput: W,
                    class: "inp",
                    "onUpdate:modelValue": ie[3] || (ie[3] = F => h.value = F),
                    onKeypress: ie[4] || (ie[4] = F => C(F))
                }, null, 40, yo), [
                    [we, h.value]
                ])]), p.value ? (l(), d("div", go, t(B.value), 1)) : g("v-if", !0), y.value ? (l(), d("div", ko, t(U.$t("wfDesc4")), 1)) : g("v-if", !0), [3].includes(o.value.type) ? (l(), d("div", bo, [se(e("input", {
                    type: "number",
                    placeholder: U.$t("enterUSDTAmount"),
                    onInput: x,
                    class: "inp",
                    "onUpdate:modelValue": ie[5] || (ie[5] = F => c.value = F),
                    onKeypress: ie[6] || (ie[6] = F => C(F)),
                    onFocus: T
                }, null, 40, $o), [
                    [we, c.value]
                ]), e("div", Co, [e("div", To, [e("img", {
                    src: b(ge)("wallet/withdrawType", "3")
                }, null, 8, No)])])])) : g("v-if", !0), e("div", So, [e("div", null, [e("span", null, [L(t(U.$t("wfDesc5")) + " ", 1), e("h6", Io, t(b(re)(U.withdrawalsrule.canWithdrawAmount || 0)), 1)]), e("input", {
                    type: "button",
                    value: U.$t("all"),
                    onClick: z
                }, null, 8, Wo)])])], 512), [
                    [vt, [3, 10].includes(o.value.type)]
                ])], 64)
            }
        }
    });
const Bo = ae(Ao, [
        ["__scopeId", "data-v-cb5583fe"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/withdrawField.vue"]
    ]),
    Uo = {
        key: 0,
        class: "addWithdrawType"
    },
    Do = ["src"],
    Po = {
        key: 0,
        class: "addWithdrawType-text"
    },
    Ro = te({
        __name: "AddWithdrawType",
        props: {
            isShowhintTextO: {
                type: Boolean,
                required: !1,
                default: !1
            },
            hintTextO: {
                type: String,
                required: !1,
                default: ""
            },
            type: {
                type: null,
                required: !1,
                default: ""
            }
        },
        setup(w) {
            const n = w,
                s = _e(),
                _ = De(),
                {
                    t: i
                } = me(),
                r = Ye(),
                c = i("addAddr");
            let o = i("paymentMethodRequired");
            const {
                getSelfCustomerServiceLink: h
            } = Mt({
                ServerType: 2
            }), f = j(() => !([3, 10].includes(n.type) && r.getADDUSTD == 0)), a = () => {
                h("addUSTD")
            };

            function m() {
                const A = {
                    1: "Withdraw-AddBankCard",
                    2: "Withdraw-AddUpi",
                    3: "Withdraw-AddUSDT",
                    4: "Withdraw-AddType4",
                    5: "Withdraw-AddPIX",
                    6: "Withdraw-AddWave",
                    8: "Withdraw-AddKbz",
                    10: "Withdraw-AddUSDT"
                };
                s.replace({
                    name: A[n.type],
                    query: {
                        fromV: _.name
                    }
                })
            }
            const u = j(() => ({
                1: i("titleAddBankCard"),
                2: i("addUpi"),
                3: i("addAddr"),
                4: i("addWallet"),
                5: i("upiAddPaymentMethod"),
                6: i("addWaveType"),
                8: i("upiAddPaymentMethod"),
                10: i("addAddr")
            })[n.type]);
            return (A, p) => {
                const B = O("svg-icon");
                return f.value ? (l(), d("div", Uo, [e("div", {
                    class: "addWithdrawType-top",
                    onClick: m
                }, [e("img", {
                    src: b(lt)("wallet/withdraw", "add")
                }, null, 8, Do), e("span", null, t(u.value || b(c)), 1)]), A.isShowhintTextO ? (l(), d("div", Po, t(A.hintTextO || b(o)), 1)) : g("v-if", !0)])) : (l(), d("div", {
                    key: 1,
                    class: "canNotAdd",
                    onClick: a
                }, [v(B, {
                    name: "customer_b",
                    class: "forgetbg"
                }), L(" " + t(A.$t("contactServicer") + A.$t("titleAddUSDTAddr")), 1)]))
            }
        }
    });
const ct = ae(Ro, [
        ["__scopeId", "data-v-ef5c8333"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/AddWithdrawType.vue"]
    ]),
    Oo = {
        class: "Recharge__container-intro"
    },
    Mo = {
        class: "br"
    },
    Lo = ["innerHTML"],
    Vo = {
        class: "red"
    },
    qo = {
        class: "red"
    },
    jo = {
        class: "red"
    },
    zo = {
        key: 0
    },
    Eo = ["innerHTML"],
    Fo = {
        key: 0
    },
    Ho = ["innerHTML"],
    xo = ["innerHTML"],
    Ko = ["innerHTML"],
    Zo = ["innerHTML"],
    Go = ["innerHTML"],
    Qo = ["innerHTML"],
    Xo = 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(w) {
            return (n, s) => {
                var _, i, r, c, o, h, f, a, m, u, A, p;
                return l(), d("div", Oo, [e("div", Mo, [n.withdrawType == 21 ? (l(), d(G, {
                    key: 0
                }, [e("p", null, t(n.$t("arWTip1", [n.name])), 1), e("p", null, t(n.$t("arWTip2", [n.name])), 1)], 64)) : g("v-if", !0), [1, 2, 3, 4, 5, 6, 8, 10, 20, 21].includes(n.withdrawType) ? (l(), d(G, {
                    key: 1
                }, [e("p", {
                    innerHTML: n.$t("instructionDes", [b(re)((_ = n.withdrawalsrule) == null ? void 0 : _.amountofCode)])
                }, null, 8, Lo), e("p", null, [L(t(n.$t("instructionTxt6")) + " ", 1), e("span", Vo, t((i = n.withdrawalsrule) == null ? void 0 : i.startTime) + "-" + t((r = n.withdrawalsrule) == null ? void 0 : r.endTime), 1)]), e("p", null, [L(t(n.$t("instructionTxt7")), 1), e("span", qo, t((c = n.withdrawalsrule) == null ? void 0 : c.withdrawRemainingCount), 1)]), e("p", null, [L(t(n.$t("instructionTxt8")) + " ", 1), e("span", jo, t(b(re)((o = n.withdrawalsrule) == null ? void 0 : o.minPrice)) + "-" + t(b(re)((h = n.withdrawalsrule) == null ? void 0 : h.maxPrice)), 1)])], 64)) : g("v-if", !0), [3, 10].includes(n.withdrawType) ? (l(), d(G, {
                    key: 2
                }, [e("p", null, t(n.$t("instructionTxt10")), 1), e("p", null, t(n.$t("instructionTxt11")), 1)], 64)) : g("v-if", !0), n.withdrawType == 4 ? (l(), d(G, {
                    key: 3
                }, [Number(n.award) ? (l(), d("div", zo, [e("p", {
                    innerHTML: n.$t("c2cFTip1", [n.name, n.award * 100 || 0])
                }, null, 8, Eo)])) : g("v-if", !0)], 64)) : g("v-if", !0), n.withdrawType == 20 ? (l(), d(G, {
                    key: 4
                }, [Number(n.award) ? (l(), d("div", Fo, [e("p", {
                    innerHTML: n.$t("c2cFTip1", [n.name, n.award * 100 || 0])
                }, null, 8, Ho)])) : g("v-if", !0), e("div", null, [e("p", {
                    innerHTML: n.$t("c2cFTip4")
                }, null, 8, xo)]), e("div", null, [e("p", {
                    innerHTML: n.$t("c2cFTip2", [((f = n.withdrawalsrule) == null ? void 0 : f.c2cUnitAmount) || 100])
                }, null, 8, Ko)]), e("div", null, [e("p", {
                    innerHTML: n.$t("c2cFTip3")
                }, null, 8, Zo)])], 64)) : g("v-if", !0), n.withdrawType != 21 ? (l(), d(G, {
                    key: 5
                }, [(a = n.withdrawalsrule) != null && a.fee ? (l(), d(G, {
                    key: 0
                }, [((m = n.withdrawalsrule) == null ? void 0 : m.withMinPrice) + ((u = n.withdrawalsrule) == null ? void 0 : u.withMaxPrice) ? (l(), d("p", {
                    key: 0,
                    innerHTML: n.$t("sxf", [b(re)((A = n.withdrawalsrule) == null ? void 0 : A.withMinPrice), b(re)((p = n.withdrawalsrule) == null ? void 0 : p.withMaxPrice)])
                }, null, 8, Go)) : g("v-if", !0), e("p", {
                    innerHTML: n.$t("sxf1", [Math.floor(n.withdrawalsrule.fee * 1e4 / 100).toFixed(2)])
                }, null, 8, Qo)], 64)) : g("v-if", !0), e("p", null, t(n.$t("withdrwsTip5")), 1), e("p", null, t(n.$t("withdrwsTip6")), 1)], 64)) : g("v-if", !0)])])
            }
        }
    });
const ut = ae(Xo, [
        ["__scopeId", "data-v-76eb7f31"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/InstructionsW.vue"]
    ]),
    Ze = w => (Ie("data-v-391308ac"), w = w(), We(), w),
    Yo = {
        class: "c2cConfirm"
    },
    Jo = Ze(() => e("p", null, [L("*You must click "), e("span", null, "【Confirm Receipt】")], -1)),
    es = Ze(() => e("p", null, "*After receiving the transfer, go to order details and click 【Confirm Receipt】to receive the reward.", -1)),
    ts = Ze(() => e("h6", null, [L("How to "), e("span", null, "【Confirm Receipt】")], -1)),
    as = {
        class: "imgBox"
    },
    ns = {
        class: "box"
    },
    os = Ze(() => e("div", null, [e("h6", null, "01、"), L("Open my withdrawal record")], -1)),
    ss = {
        class: "box"
    },
    ls = Ze(() => e("div", null, "02、Select New-UPI Click Order", -1)),
    is = {
        class: "box"
    },
    rs = Ze(() => e("div", null, "03、Click to Money received", -1)),
    ds = {
        class: "box"
    },
    cs = Ze(() => e("div", null, "04、Complete the order and get rewards", -1)),
    us = Ze(() => e("span", null, "[Money received]", -1)),
    vs = te({
        __name: "c2cConfirm",
        props: {
            showC2c: {
                type: Boolean,
                default: !1,
                required: !0
            }
        },
        emits: ["update:showC2c"],
        setup(w, {
            emit: n
        }) {
            const s = w,
                {
                    showC2c: _
                } = ht(s, n),
                i = k(!1);

            function r() {
                if (!i.value) return E({
                    message: "Please read the process and check the box to agree",
                    wordBreak: "break-word"
                });
                localStorage.setItem("isC2cCheck", "1"), _.value = !1
            }
            return pe(() => {
                localStorage.getItem("isC2cCheck") != null && (i.value = localStorage.getItem("isC2cCheck") == "1")
            }), (c, o) => {
                const h = O("van-checkbox"),
                    f = Ee("lazy");
                return l(), d("div", Yo, [Jo, es, ts, e("div", as, [e("div", ns, [os, se(e("img", null, null, 512), [
                    [f, b(ge)("wallet/withdraw/c2c", "1")]
                ])]), e("div", ss, [ls, se(e("img", null, null, 512), [
                    [f, b(ge)("wallet/withdraw/c2c", "2")]
                ])]), e("div", is, [rs, se(e("img", null, null, 512), [
                    [f, b(ge)("wallet/withdraw/c2c", "3")]
                ])]), e("div", ds, [cs, se(e("img", null, null, 512), [
                    [f, b(ge)("wallet/withdraw/c2c", "4")]
                ])])]), v(h, {
                    modelValue: i.value,
                    "onUpdate:modelValue": o[0] || (o[0] = a => i.value = a)
                }, {
                    default: K(() => [L("I already understand the process and agree to come back and click "), us]),
                    _: 1
                }, 8, ["modelValue"]), e("div", {
                    class: le(["btn", {
                        active: i.value
                    }]),
                    onClick: r
                }, "confirm", 2)])
            }
        }
    });
const ps = ae(vs, [
        ["__scopeId", "data-v-391308ac"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/c2cConfirm.vue"]
    ]),
    _s = {
        class: "c2cWithdraw__C"
    },
    ms = {
        class: "c2cWithdraw__C-input"
    },
    hs = {
        class: "place-div"
    },
    ws = {
        class: "unit"
    },
    fs = {
        key: 0,
        class: "verify"
    },
    ys = {
        class: "can-withdraw"
    },
    gs = {
        class: "c2cWithdraw__C-tip"
    },
    ks = {
        class: "c2cWithdraw__C-tip-l"
    },
    bs = {
        class: "c2cWithdraw__C-tip-r"
    },
    $s = {
        class: "c2cWithdraw__T"
    },
    Cs = {
        class: "c2cWithdraw__T-h"
    },
    Ts = 20,
    Ns = te({
        __name: "c2cField",
        props: {
            c2crule: {
                type: null,
                required: !0
            },
            c2cAward: {
                type: null,
                required: !0
            },
            c2cName: {
                type: String,
                required: !0
            }
        },
        emits: ["setc2cAmount"],
        setup(w, {
            emit: n
        }) {
            const s = w,
                {
                    t: _
                } = me(),
                i = k(0),
                r = j(() => Oe().getDollarSign),
                c = j(() => Number(i.value) ? Number(i.value) * (s.c2crule.c2cUnitAmount || 100) : 0),
                o = j(() => c.value * s.c2cAward),
                h = () => {
                    const m = Math.floor(s.c2crule.canWithdrawAmount / 100),
                        u = Math.floor(s.c2crule.maxPrice / 100);
                    i.value = m > u ? u : m
                },
                f = m => {
                    n("setc2cAmount", m * (s.c2crule.c2cUnitAmount || 100))
                },
                a = j(() => {
                    if (c.value != 0) {
                        if (c.value > s.c2crule.canWithdrawAmount) return _("cashBalanceInsufficient");
                        if (c.value > s.c2crule.maxPrice || c.value < s.c2crule.minPrice) return _("wordWithdrawal", [re(s.c2crule.minPrice), re(s.c2crule.maxPrice)])
                    }
                    return ""
                });
            return pe(() => {}), (m, u) => {
                var B;
                const A = O("van-field"),
                    p = O("svg-icon");
                return l(), d(G, null, [e("div", _s, [e("div", ms, [e("div", hs, t(r.value), 1), v(A, {
                    modelValue: i.value,
                    "onUpdate:modelValue": [u[0] || (u[0] = y => i.value = y), f],
                    modelModifiers: {
                        number: !0
                    },
                    type: "digit",
                    placeholder: m.$t("plsEnterQuantity"),
                    class: "amount-input"
                }, null, 8, ["modelValue", "placeholder"]), e("div", ws, t(((B = m.c2crule.c2cUnitAmount) == null ? void 0 : B.toString().substring(1)) || "00"), 1)]), a.value ? (l(), d("div", fs, t(a.value), 1)) : g("v-if", !0), e("div", ys, [L(t(m.$t("wfDesc1")) + " " + t(b(re)(m.c2crule.canWithdrawAmount || 0)) + " ", 1), e("div", {
                    onClick: h
                }, t(m.$t("all")), 1)]), e("div", gs, [e("div", ks, [e("div", null, t(m.$t("wfDesc2")), 1), e("div", null, t(m.$t("savedForYou")), 1)]), e("div", bs, [e("div", null, t(b(re)(c.value)), 1), e("div", null, t(b(re)(o.value)), 1)])]), Je(m.$slots, "default", {}, void 0, !0)]), e("div", $s, [e("div", Cs, [v(p, {
                    name: "shuoming"
                }), L(" " + t(m.$t("withdrawalInstructions")), 1)]), v(ut, {
                    withdrawType: Ts,
                    withdrawalsrule: m.c2crule,
                    award: m.c2cAward,
                    name: m.c2cName
                }, null, 8, ["withdrawalsrule", "award", "name"])])], 64)
            }
        }
    });
const Ss = ae(Ns, [
        ["__scopeId", "data-v-472a2df8"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/c2cField.vue"]
    ]),
    Is = {
        class: "title"
    },
    Ws = {
        class: "name"
    },
    As = te({
        __name: "c2cUpi",
        props: {
            withdrawalslist: {
                type: Array,
                default: () => []
            },
            bid: {
                default: -0
            },
            bankCode: {
                type: String,
                default: ""
            }
        },
        setup(w) {
            const n = w,
                s = De(),
                _ = _e(),
                i = j(() => n.withdrawalslist.find(c => c.bid == n.bid) || {}),
                r = c => {
                    _.replace({
                        name: "Withdraw-Upi",
                        query: {
                            bid: c,
                            fromV: s.name,
                            bankCode: n.bankCode
                        }
                    })
                };
            return pe(() => {}), (c, o) => {
                const h = O("svg-icon"),
                    f = O("van-icon");
                return l(), d("div", {
                    class: le(["c2cUpi", {
                        noUpi: !w.withdrawalslist.length
                    }]),
                    onClick: o[0] || (o[0] = a => r(i.value.bid))
                }, [w.withdrawalslist.length ? (l(), d(G, {
                    key: 0
                }, [e("div", Is, [v(h, {
                    name: i.value.bankCode || "upi"
                }, null, 8, ["name"]), e("span", null, t(b(et)(i.value.bankCode) || i.value.upiName), 1)]), e("div", Ws, t(i.value.upiAccount), 1), v(f, {
                    name: "arrow",
                    class: "right-icon",
                    size: "12"
                })], 64)) : (l(), d(G, {
                    key: 1
                }, [L(t(c.$t("addUpi")), 1)], 64))], 2)
            }
        }
    });
const Ut = ae(As, [
        ["__scopeId", "data-v-fe54ed07"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/c2cUpi.vue"]
    ]),
    Bs = w => (Ie("data-v-15989e8c"), w = w(), We(), w),
    Us = ["onClick"],
    Ds = {
        class: "c2cRecord__C-item-h"
    },
    Ps = {
        class: "title"
    },
    Rs = {
        key: 0
    },
    Os = {
        key: 1
    },
    Ms = {
        class: "c2cRecord__C-item-a"
    },
    Ls = {
        class: "title"
    },
    Vs = {
        class: "c2cRecord__C-item-u"
    },
    qs = Bs(() => e("span", {
        class: "title"
    }, "UTR", -1)),
    js = {
        class: "c2cRecord__C-item-t"
    },
    zs = {
        class: "title"
    },
    Es = {
        class: "c2cRecord__C-item-id"
    },
    Fs = {
        class: "title"
    },
    Hs = te({
        __name: "c2cRecordList",
        props: {
            list: {
                type: Array,
                required: !0
            }
        },
        setup(w) {
            const n = w,
                {
                    t: s
                } = me(),
                _ = _e(),
                i = [s("c2cState0"), s("c2cState1"), s("c2cState2"), s("c2cState3"), s("c2cState4"), s("c2cTip9"), s("c2cState6"), s("c2cState7"), s("c2cState8"), s("c2cState9"), s("c2cState10"), s("c2cState11"), s("c2cState11"), s("c2cState13"), s("c2cState14")],
                r = k(null),
                c = k(0),
                o = k("00:00"),
                h = k("00:00"),
                f = k(null),
                a = k(null),
                m = (B, y) => {
                    localStorage.setItem("c2cOrderNo", B), _.push({
                        name: "Withdraw-C2cDetail",
                        query: {
                            order: B,
                            state: y
                        }
                    })
                };
            Ve(() => n.list, B => {
                if (r.value = B.findIndex(I => I.state === 1), r.value != -1) {
                    const I = B[r.value].serviceTime.replace(/-/g, "/"),
                        C = B[r.value].confrimEndTime.replace(/-/g, "/");
                    c.value = new Date(C).getTime() - new Date(I).getTime(), c.value > 0 ? (clearInterval(f.value), A()) : o.value = "00:00"
                } else o.value = "00:00";
                let y = B.find(I => I.state === 11 || I.state === 12);
                if (y) {
                    const I = y.auditEndTime.replace(/-/g, "/"),
                        C = y.serviceTime.replace(/-/g, "/");
                    c.value = new Date(C).getTime() - new Date(I).getTime(), clearInterval(a.value), p()
                } else h.value = "00:00"
            });
            const u = B => {
                const y = Math.floor(B / 36e5),
                    I = Math.floor((B - y * 36e5) / 6e4),
                    C = Math.floor((B - y * 36e5 - I * 6e4) / 1e3);
                return `${y?y.toString().padStart(2,"0")+":":""}${I.toString().padStart(2,"0")}:${C.toString().padStart(2,"0")}`
            };

            function A() {
                f.value = setInterval(() => {
                    c.value -= 1e3, o.value = u(c.value), c.value <= 0 && clearInterval(f.value)
                }, 1e3)
            }

            function p() {
                a.value = setInterval(() => {
                    c.value += 1e3, h.value = u(c.value)
                }, 1e3)
            }
            return wt(() => {
                clearInterval(f.value), clearInterval(a.value)
            }), (B, y) => {
                const I = O("van-icon"),
                    C = O("svg-icon");
                return l(!0), d(G, null, $e(B.list, (N, z) => (l(), d("div", {
                    key: z,
                    class: "c2cRecord__C-item",
                    onClick: T => m(N.orderNo, N.state)
                }, [e("div", Ds, [e("div", Ps, t(B.$t("withdraw")), 1), e("div", {
                    class: le(["state" + N.state])
                }, [L(t(i[N.state]) + " ", 1), N.state === 1 ? (l(), d("span", Rs, t(o.value), 1)) : g("v-if", !0), [11, 12].includes(N.state) ? (l(), d("span", Os, ": " + t(h.value), 1)) : g("v-if", !0), N.state != 2 ? (l(), ke(I, {
                    key: 2,
                    name: "arrow",
                    size: "14"
                })) : g("v-if", !0)], 2)]), e("div", Ms, [e("span", Ls, t(B.$t("amount")), 1), L(" " + t(b(re)(N.orderAmount)), 1)]), e("div", Vs, [qs, e("span", null, [L(t(N.transactionNo), 1), v(C, {
                    name: "copy",
                    onClick: Wt(T => b(je)(N.transactionNo), ["stop"])
                }, null, 8, ["onClick"])])]), e("div", js, [e("span", zs, t(B.$t("time")), 1), L(t(N.createTime), 1)]), e("div", Es, [e("span", Fs, t(B.$t("orderNo")), 1), e("span", null, [L(t(N.orderNo), 1), v(C, {
                    name: "copy",
                    onClick: Wt(T => b(je)(N.orderNo), ["stop"])
                }, null, 8, ["onClick"])])])], 8, Us))), 128)
            }
        }
    });
const xs = ae(Hs, [
        ["__scopeId", "data-v-15989e8c"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/c2cRecordList.vue"]
    ]),
    Ks = {
        class: "c2cRecord__C"
    },
    Zs = {
        class: "c2cRecord__C-head"
    },
    Gs = {
        class: "c2cRecord__C-body"
    },
    Qs = te({
        __name: "c2cRecord",
        setup(w, {
            expose: n
        }) {
            const s = _e(),
                _ = k(),
                i = k({
                    startDate: "",
                    endDate: "",
                    type: -1,
                    state: -1,
                    category: -1
                }),
                r = k([]),
                c = () => {
                    s.push({
                        name: "WithdrawHistory"
                    })
                };
            return n({
                resetRefresh: () => {
                    _.value.resetRefresh()
                }
            }), (h, f) => (l(), d("div", Ks, [e("div", Zs, t(h.$t("c2CWithdrawalRecord")), 1), e("div", Gs, [v(Qa, {
                list: r.value,
                "onUpdate:list": f[0] || (f[0] = a => r.value = a),
                "page-query": i.value,
                "onUpdate:pageQuery": f[1] || (f[1] = a => i.value = a),
                api: b(Ta),
                distance: 100,
                ref_key: "listRef",
                ref: _,
                "is-auto-load": !0,
                showNoM: !1
            }, {
                content: K(() => [v(xs, {
                    list: r.value
                }, null, 8, ["list"])]),
                _: 1
            }, 8, ["list", "page-query", "api"])]), e("div", {
                class: "c2cRecord__C-allrecord",
                onClick: c
            }, t(h.$t("allRecords")), 1)]))
        }
    });
const Xs = ae(Qs, [
        ["__scopeId", "data-v-824a4891"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/c2cRecord.vue"]
    ]),
    Ys = {
        class: "WC4__C"
    },
    Js = {
        class: "WC4__C-input"
    },
    el = {
        class: "place-div"
    },
    tl = {
        key: 0,
        class: "verify"
    },
    al = {
        class: "can-withdraw"
    },
    nl = {
        class: "amount"
    },
    ol = {
        class: "num"
    },
    sl = 4,
    ll = te({
        __name: "wC4Field",
        props: {
            rule: {
                type: null,
                required: !0
            },
            award: {
                type: null,
                required: !0
            },
            name: {
                type: String,
                required: !0
            },
            wtype: {
                type: Number,
                required: !0
            }
        },
        emits: ["setc2cAmount"],
        setup(w, {
            emit: n
        }) {
            const s = w,
                {
                    t: _
                } = me(),
                i = k(0),
                r = j(() => Oe().getDollarSign);
            Ve(() => s.wtype, a => {
                i.value = 0
            });
            const c = j(() => {
                    if (!i.value) return 0;
                    const {
                        withMinPrice: a = 0,
                        withMaxPrice: m = 0,
                        fee: u
                    } = s.rule;
                    return u > 0 && a <= i.value && i.value <= m ? i.value - i.value * u : i.value
                }),
                o = () => {
                    const a = s.rule.canWithdrawAmount,
                        m = s.rule.maxPrice;
                    i.value = a > m ? m : a
                },
                h = a => {
                    n("setc2cAmount", a)
                },
                f = j(() => {
                    if (i.value != 0) {
                        if (i.value > s.rule.canWithdrawAmount) return _("cashBalanceInsufficient");
                        if (i.value > s.rule.maxPrice || i.value < s.rule.minPrice) return _("wordWithdrawal", [re(s.rule.minPrice), re(s.rule.maxPrice)])
                    }
                    return ""
                });
            return pe(() => {}), (a, m) => {
                const u = O("van-field");
                return l(), d("div", Ys, [e("div", Js, [e("div", el, t(r.value), 1), v(u, {
                    modelValue: i.value,
                    "onUpdate:modelValue": [m[0] || (m[0] = A => i.value = A), h],
                    modelModifiers: {
                        number: !0
                    },
                    type: "digit",
                    placeholder: a.$t("plsEnterQuantity"),
                    class: "amount-input"
                }, null, 8, ["modelValue", "placeholder"])]), f.value ? (l(), d("div", tl, t(f.value), 1)) : g("v-if", !0), e("div", al, [L(t(a.$t("wfDesc1")) + " " + t(b(re)(a.rule.canWithdrawAmount || 0)) + " ", 1), e("div", {
                    onClick: o
                }, t(a.$t("all")), 1)]), e("div", nl, [e("div", null, t(a.$t("wfDesc2")), 1), e("div", ol, t(b(re)(c.value)), 1)]), Je(a.$slots, "default", {}, void 0, !0), v(ut, {
                    withdrawType: sl,
                    withdrawalsrule: a.rule,
                    award: a.award,
                    name: a.name
                }, null, 8, ["withdrawalsrule", "award", "name"])])
            }
        }
    });
const il = ae(ll, [
        ["__scopeId", "data-v-81d3a4d3"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/wC4Field.vue"]
    ]),
    rl = {
        class: "name"
    },
    dl = {
        class: "title"
    },
    cl = {
        class: "name"
    },
    ul = te({
        __name: "wC4Id",
        props: {
            withdrawalslist: {
                type: Array,
                default: () => []
            },
            bid: {
                default: -0
            },
            withdrawType: {
                default: 4
            },
            name: {
                default: ""
            }
        },
        setup(w) {
            const n = w,
                s = De(),
                _ = _e(),
                i = j(() => n.withdrawalslist.find(o => o.bid == n.bid) || {}),
                r = j(() => n.withdrawalslist.length > 0 ? n.withdrawalslist[0] : {}),
                c = o => {
                    if (n.withdrawType === 22) n.bid || _.replace({
                        name: "Withdraw-AddRsnPay",
                        query: {
                            Type4name: n.name
                        }
                    });
                    else {
                        if ([23, 24].includes(n.withdrawType) && n.withdrawalslist.length) return;
                        _.replace({
                            name: "Withdraw-Type4",
                            query: {
                                bid: o,
                                fromV: s.name,
                                Type4name: n.name,
                                withdrawType: n.withdrawType
                            }
                        })
                    }
                };
            return pe(() => {}), (o, h) => {
                const f = O("van-icon");
                return [4, 23, 24].includes(w.withdrawType) ? (l(), d("div", {
                    key: 0,
                    class: le(["wC4Id", {
                        noUpi: !w.withdrawalslist.length
                    }]),
                    onClick: h[0] || (h[0] = a => c(i.value.bid))
                }, [w.withdrawalslist.length ? (l(), d(G, {
                    key: 0
                }, [e("div", {
                    class: le(["title", `${i.value.walletName}`])
                }, t(i.value.walletName), 3), e("div", rl, t(i.value.mobileNO), 1), v(f, {
                    name: "arrow",
                    class: "right-icon",
                    size: "12"
                })], 64)) : (l(), d(G, {
                    key: 1
                }, [L(t(o.$t("addto")), 1)], 64))], 2)) : (l(), d("div", {
                    key: 1,
                    class: le(["wC4Id rnsData", {
                        noUpi: !w.withdrawalslist.length
                    }]),
                    onClick: h[1] || (h[1] = a => c(r.value.bid))
                }, [w.withdrawalslist.length ? (l(), d(G, {
                    key: 0
                }, [e("div", dl, t(r.value.bankName), 1), e("div", cl, t(r.value.mobileNo), 1)], 64)) : (l(), d(G, {
                    key: 1
                }, [L(t(o.$t("addto")), 1)], 64))], 2))
            }
        }
    });
const vl = ae(ul, [
        ["__scopeId", "data-v-8fab5987"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/wC4Id.vue"]
    ]),
    pl = w => (Ie("data-v-b6d0c70a"), w = w(), We(), w),
    _l = {
        class: "arCard"
    },
    ml = {
        class: "left"
    },
    hl = ["src"],
    wl = {
        key: 0,
        class: "tip"
    },
    fl = {
        class: "tit"
    },
    yl = {
        class: "wallet_amount"
    },
    gl = pl(() => e("em", null, "rsn", -1)),
    kl = 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(w, {
            emit: n
        }) {
            const s = w,
                {
                    goActive: _,
                    goWallet: i
                } = Lt(),
                r = () => {
                    s.rsnInfo.walletActivationStatus === 0 ? _("wallet/recharge", "RSN") : i("wallet/recharge", "RSN")
                };
            return pe(() => {
                n("getRnsTypeInfo")
            }), (c, o) => {
                var h, f, a;
                return l(), d("div", _l, [e("div", ml, [e("img", {
                    src: (h = w.currentType) == null ? void 0 : h.withBeforeImgUrl
                }, null, 8, hl), e("div", null, [((f = w.rsnInfo) == null ? void 0 : f.walletActivationStatus) === 0 ? (l(), d("div", wl, t(c.$t("rnsNoActive")), 1)) : (l(), d(G, {
                    key: 1
                }, [e("div", fl, t(c.$t("RSNTip")), 1), e("div", yl, [e("em", null, t(c.$t("balance")) + ":", 1), L(t(((a = w.rsnInfo) == null ? void 0 : a.balance) || 0) + " ", 1), gl])], 64))])]), e("div", {
                    class: "right",
                    onClick: r
                }, t(w.rsnInfo.walletActivationStatus === 0 ? c.$t("RNSActive") : c.$t("comminWallet")), 1)])
            }
        }
    });
const bl = ae(kl, [
        ["__scopeId", "data-v-b6d0c70a"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/RsnType.vue"]
    ]),
    $l = {
        class: "c2cWithdraw__C"
    },
    Cl = {
        class: "head"
    },
    Tl = {
        class: "c2cWithdraw__C-input"
    },
    Nl = {
        class: "place-div"
    },
    Sl = {
        key: 0,
        class: "verify"
    },
    Il = {
        class: "can-withdraw"
    },
    Wl = {
        class: "c2cWithdraw__C-tip"
    },
    Al = {
        class: "c2cWithdraw__C-tip-l"
    },
    Bl = {
        class: "c2cWithdraw__C-tip-r"
    },
    Ul = {
        class: "c2cWithdraw__T"
    },
    Dl = {
        class: "c2cWithdraw__T-h"
    },
    Dt = 21,
    Pl = te({
        __name: "arField",
        setup(w, {
            expose: n
        }) {
            const {
                withdrawalsrule: s,
                withdrawalTypeslist: _,
                setc2cAmount: i
            } = Me(), {
                t: r
            } = me(), c = k(0), o = j(() => Oe().getDollarSign), h = j(() => Number(c.value) ? Number(c.value) : 0);
            j(() => {
                var A;
                const u = _.value.find(p => p.withdrawID == Dt);
                return u ? u.recommandWithAmount ? (A = u.recommandWithAmount) == null ? void 0 : A.split(",").map(p => Number(p)) : [] : []
            }), k(null);
            const f = () => {
                    const u = Math.floor(s.value.canWithdrawAmount),
                        A = Math.floor(s.value.maxPrice);
                    c.value = u > A ? A : u
                },
                a = u => {
                    i(u)
                },
                m = j(() => {
                    if (h.value != 0) {
                        if (h.value > s.value.canWithdrawAmount) return r("cashBalanceInsufficient");
                        if (h.value > s.value.maxPrice || h.value < s.value.minPrice) return r("wordWithdrawal", [re(s.value.minPrice), re(s.value.maxPrice)])
                    }
                    return ""
                });
            return n({
                validateTxt: m
            }), (u, A) => {
                var y;
                const p = O("svg-icon"),
                    B = O("van-field");
                return l(), d(G, null, [e("div", $l, [e("div", Cl, [v(p, {
                    name: "saveWallet"
                }), L(" " + t(u.$t("enterA")), 1)]), g('		<div class="Withdraw__content-paymoney" v-if="quickList.length > 0">'), g('			<div class="Withdraw__content-paymoney__money-list">'), g("				<div"), g('					class="Withdraw__content-paymoney__money-list__item"'), g(`					:class="currentQuickIndex === index ? 'active' : ''"`), g('					v-for="(item, index) in quickList"'), g('					:key="index"'), g('					@click="handleQuickSelect(index)"'), g("				>"), g('					<div class="amount" >'), g("						{{formatNum(Number(item))}}"), g("					</div>"), g("				</div>"), g("			</div>"), g("		</div>"), e("div", Tl, [e("div", Nl, t(o.value), 1), v(B, {
                    modelValue: c.value,
                    "onUpdate:modelValue": [A[0] || (A[0] = I => c.value = I), a],
                    modelModifiers: {
                        number: !0
                    },
                    type: "digit",
                    placeholder: u.$t("plsEnterQuantity"),
                    class: "amount-input"
                }, null, 8, ["modelValue", "placeholder"]), e("div", {
                    class: "all",
                    onClick: f
                }, t(u.$t("all")), 1)]), m.value ? (l(), d("div", Sl, t(m.value), 1)) : g("v-if", !0), e("div", Il, t(u.$t("wfDesc1")) + " " + t(b(re)(b(s).canWithdrawAmount || 0)), 1), e("div", Wl, [e("div", Al, [e("div", null, t(u.$t("wfDesc2")), 1)]), e("div", Bl, [e("div", null, t(b(re)(h.value)), 1)])]), Je(u.$slots, "default", {}, void 0, !0)]), e("div", Ul, [e("div", Dl, [v(p, {
                    name: "shuoming"
                }), L(t(u.$t("withdrawalInstructions")), 1)]), v(ut, {
                    withdrawType: Dt,
                    withdrawalsrule: b(s),
                    name: ((y = b(_).find(I => I.withdrawID == 21)) == null ? void 0 : y.name) || ""
                }, null, 8, ["withdrawalsrule", "name"])])], 64)
            }
        }
    });
const Rl = ae(Pl, [
        ["__scopeId", "data-v-7dcfb9e1"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/Ar/arField.vue"]
    ]),
    Ol = {
        class: "arType"
    },
    Ml = {
        class: "left"
    },
    Ll = {
        class: "right"
    },
    Vl = {
        key: 0,
        class: "arCard"
    },
    ql = {
        class: "left"
    },
    jl = ["src"],
    zl = {
        class: "amount"
    },
    El = {
        class: "recycleBtnD c2c"
    },
    Fl = te({
        __name: "card",
        emits: ["onShowPwdD"],
        setup(w, {
            expose: n,
            emit: s
        }) {
            const {
                data_NewSetWithdrawalH: _
            } = Me(), {
                getInfo: i,
                arWallet: r,
                goWallet: c,
                onTradRule: o
            } = Lt(), h = k(), f = j(() => {
                var m, u;
                if ([21].includes(_.value.type) && _.value.amount > 0) return !(_.value.amount < 1 || ((m = h.value) == null ? void 0 : m.validateTxt.length) > 0 || _.value.bid == 0 || ((u = r.value) == null ? void 0 : u.walletActivationStatus) != 1)
            });
            return pe(() => {
                i()
            }), n({
                isActiveC: f
            }), (a, m) => {
                var p, B;
                const u = O("svg-icon"),
                    A = O("van-icon");
                return l(), d("div", Ol, [e("div", {
                    class: "rule",
                    onClick: m[0] || (m[0] = y => b(o)())
                }, [e("div", Ml, [v(u, {
                    name: "arpay1"
                }), e("p", null, t(a.$t("arbTip1")), 1)]), e("div", Ll, [L(t(a.$t("checkOver")), 1), v(A, {
                    name: "arrow"
                })])]), ((p = b(r)) == null ? void 0 : p.walletActivationStatus) == 1 ? (l(), d(G, {
                    key: 0
                }, [
                    [21].includes(b(_).type) ? (l(), d("div", Vl, [e("div", ql, [e("img", {
                        src: b(ge)("wallet/withdrawType", `${b(_).type}`)
                    }, null, 8, jl), e("p", null, [e("span", null, t(a.$t("arbTip13")), 1), e("span", zl, t(((B = b(r)) == null ? void 0 : B.balance) || 0) + " ARB", 1)])]), e("div", {
                        class: "right",
                        onClick: m[1] || (m[1] = y => b(c)("wallet/withdraw"))
                    }, t(a.$t("comminWallet")), 1)])) : g("v-if", !0), v(Rl, {
                        ref_key: "arFieldRef",
                        ref: h
                    }, {
                        default: K(() => [e("div", El, [e("button", {
                            class: le(["recycleBtn", {
                                active: f.value
                            }]),
                            onClick: m[2] || (m[2] = () => {
                                s("onShowPwdD")
                            })
                        }, t(a.$t("withdraw")), 3)])]),
                        _: 1
                    }, 512), v(mt)
                ], 64)) : (l(), ke(Xa, {
                    key: 1,
                    pageType: "wallet/Withdraw"
                }))])
            }
        }
    });
const Hl = ae(Fl, [
        ["__scopeId", "data-v-69845b27"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/Ar/card.vue"]
    ]),
    xl = {
        class: "noRightTimeDialog"
    },
    Kl = {
        class: "fail"
    },
    Zl = {
        class: "van-dialog__content-title title1"
    },
    Gl = {
        class: "van-dialog__content-note"
    },
    Ql = {
        class: "red"
    },
    Xl = te({
        __name: "noRightTimeDialog",
        setup(w) {
            const {
                withdrawalsrule: n
            } = Me(), s = j(() => n.value ? n.value.startTime : "00:00"), _ = j(() => n.value ? n.value.endTime : "23:59");
            return (i, r) => {
                const c = Ee("lazy");
                return l(), d("div", xl, [se(e("img", Kl, null, 512), [
                    [c, b(ge)("wallet", "tip")]
                ]), e("div", Zl, t(i.$t("noRightTime")), 1), e("div", Gl, [e("p", null, [L(t(i.$t("wTimeInterval")), 1), e("span", Ql, t(s.value) + "-" + t(_.value), 1), L(", ")]), e("p", null, t(i.$t("later")), 1)])])
            }
        }
    });
const Yl = ae(Xl, [
        ["__scopeId", "data-v-415fa4b1"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/noRightTimeDialog.vue"]
    ]),
    Ht = w => (Ie("data-v-80a607a5"), w = w(), We(), w),
    Jl = {
        class: "withdraw__container"
    },
    ei = {
        class: "withdraw__container-content"
    },
    ti = {
        class: "recycleBtnD c2c"
    },
    ai = {
        class: "recycleBtnD c2c"
    },
    ni = {
        key: 1,
        class: "bankInfoItem usdt"
    },
    oi = ["src"],
    si = {
        key: 2,
        class: "bankInfoItem usdt KBZ"
    },
    li = ["src"],
    ii = {
        key: 0
    },
    ri = {
        key: 1
    },
    di = {
        key: 0
    },
    ci = {
        key: 1
    },
    ui = {
        class: "recycleBtnD"
    },
    vi = {
        class: "succeed"
    },
    pi = {
        class: "van-dialog__content-title"
    },
    _i = {
        class: "van-dialog__content-note"
    },
    mi = {
        class: "succeedImg"
    },
    hi = {
        class: "c2cTip"
    },
    wi = ["innerHTML"],
    fi = ["innerHTML"],
    yi = {
        class: "pwd"
    },
    gi = {
        class: "pwd-head ar-1px-b"
    },
    ki = Ht(() => e("input", {
        type: "text",
        class: "is-hidden"
    }, null, -1)),
    bi = Ht(() => e("input", {
        type: "password",
        class: "is-hidden"
    }, null, -1)),
    $i = {
        class: "red"
    },
    Ci = {
        class: "forgetPwd"
    },
    Ti = {
        class: "btnD"
    },
    Ni = ["innerHTML"],
    Si = {
        class: "question"
    },
    Ii = {
        class: "button"
    },
    Wi = {
        class: "arupiAmount"
    },
    Ai = {
        class: "title1"
    },
    Bi = ["innerHTML"],
    Ui = {
        class: "button"
    },
    Di = {
        class: "arupiAmount"
    },
    Pi = {
        class: "title1"
    },
    Ri = {
        class: "title2"
    },
    Oi = {
        class: "button"
    },
    Mi = te({
        __name: "index",
        setup(w) {
            const {
                setWithdrawal: n,
                setWithdrawalsrule: s,
                setWithdrawalTypeslist: _
            } = Me(), i = k(!1), r = k(!1), c = k(!1), {
                t: o
            } = me(), {
                setLoading: h
            } = Pe(), {
                getUserInfo: f,
                getRegisterState: a,
                $state: m
            } = ft(), u = _e(), A = De(), p = Ye(), B = k(), y = k(), I = k(), C = k({}), N = k({
                balance: 0,
                walletActivationStatus: 0,
                walletAddress: ""
            }), z = k(), T = k(0), W = k(!1), x = k(!1), J = j(() => m.isOpenForgetPasswordSMSState), U = Vt(), ie = Oe(), P = j(() => U.userInfo), F = j(() => {
                var $;
                return S.type === 22 && (($ = N.value) == null ? void 0 : $.walletActivationStatus) === 0
            }), X = k(""), V = k(!1), ne = j(() => {
                var Q, Ue;
                if ([4, 20, 22, 23, 24].includes(S.type) && S.amount > 0) return !(ce.value.withdrawalslist.length == 0 || S.bid == 0 || S.amount < 1 || S.amount > ce.value.withdrawalsrule.canWithdrawAmount);
                const R = [1, 2, 3, 5, 6, 8, 10];
                return !(S.bid == 0 || !R.includes(S.type) || S.amount < 1 || (Q = B.value) != null && Q.showValidate || (Ue = B.value) != null && Ue.showValidateUB || S.type == 1 && S.amount.toString().indexOf(".") != -1)
            }), M = k(!1), D = k(!1), q = k(!1), H = k(!1), ue = k(!1), S = he({
                amount: 0,
                pwd: "",
                type: 0,
                bid: 0,
                name: "",
                tip: ""
            }), Ae = k(null), fe = k(""), ce = k({
                withdrawalslist: [],
                withdrawalsrule: {}
            }), Z = j(() => {
                var $, R;
                return (R = ($ = ce.value.withdrawalsrule) == null ? void 0 : $.arbWithdrawRecommand) == null ? void 0 : R.popupContent
            }), oe = j(() => {
                var $, R;
                return ((R = ($ = ce.value.withdrawalsrule) == null ? void 0 : $.arbWithdrawRecommand) == null ? void 0 : R.giftPercent) || 0
            }), Be = j(() => {
                var $, R;
                return ((R = ($ = ce.value.withdrawalsrule) == null ? void 0 : $.arbWithdrawRecommand) == null ? void 0 : R.arbGiftPercent) || 0
            }), be = k([]), Se = k(""), ve = k(""), Le = k(!1), Re = k(!1), Ge = k([]), Ne = k({}), de = j(() => Se.value ? ce.value.withdrawalslist.filter($ => $.bankCode === Se.value) : ce.value.withdrawalslist || []), Ce = k([]), qe = k("");

            function Xt() {
                u.back()
            }
            const Yt = () => {
                if (i.value = !i.value, i.value) {
                    const $ = new Date().getTime() + 2592e6;
                    localStorage.setItem("popupHideUntil", $.toString())
                } else localStorage.removeItem("popupHideUntil")
            };
            async function Jt() {
                Ae.value && clearTimeout(Ae.value), Ae.value = setTimeout(async () => {
                    if (P.value.isAllowWithdraw == 0) {
                        x.value = !0, q.value = !1;
                        return
                    }
                    let $ = ce.value.withdrawalsrule;
                    S.amount = Number(S.amount);
                    var R = /^\d+(\.\d{1,2})?$/;
                    if (!R.test(S.amount.toString())) {
                        E(o("showDialogTip1")), q.value = !1;
                        return
                    }
                    if (S.amount > $.maxPrice || S.amount < $.minPrice) {
                        E(o("wordWithdrawal", [re($.minPrice), re($.maxPrice)])), q.value = !1;
                        return
                    }
                    if (!S.pwd) {
                        E(o("emptyPassword")), q.value = !1;
                        return
                    }
                    h(!0);
                    const Q = await ta(Wa(S));
                    Q && (Q.code !== 0 && Q.msgCode == 220 ? (H.value = !0, setTimeout(function() {
                        H.value = !1
                    }, 3e3)) : Q.code !== 0 && Q.msgCode == 280 ? setTimeout(function() {
                        S.type == 20 && (Q != null && Q.data) && (localStorage.setItem("c2cOrderNo", Q == null ? void 0 : Q.data), u.push({
                            name: "Withdraw-C2cDetail",
                            query: {
                                order: Q == null ? void 0 : Q.data
                            }
                        }))
                    }, 2e3) : Q.code !== 0 && Q.msgCode === 1009 ? await _a({
                        message: o("code1009")
                    }) : Q.code !== 0 && Q.msgCode === 287 ? ot() : S.type == 20 ? (D.value = !0, fe.value = Q == null ? void 0 : Q.data) : M.value = !0), q.value = !1, h(!1)
                }, 500)
            }

            function ea() {
                const $ = {
                    1: "Withdraw-BankCard",
                    3: "Withdraw-USDT",
                    10: "Withdraw-USDT",
                    5: "Withdraw-PIX"
                };
                u.replace({
                    name: $[S.type]
                })
            }
            const ta = async $ => await $.then(Q => Q && Q.code !== 0 ? [220, 1009].includes(Q.msgCode) ? Q : [280].includes(Q.msgCode) ? (st(Q), Q) : (st(Q), null) : Q).catch(Q => (st(Q), null));
            async function kt($) {
                $ == "c2c" ? (D.value = !1, (S.type == 20 || S.type == 2) && fe.value && (localStorage.setItem("c2cOrderNo", fe.value), u.push({
                    name: "Withdraw-C2cDetail",
                    query: {
                        order: fe.value
                    }
                }))) : (M.value = !1, await u.push({
                    name: "WithdrawHistory"
                }))
            }
            async function aa() {
                Le.value = !1, S.pwd = "", q.value = !0
            }
            async function na() {
                var $;
                if (!ue.value) try {
                    ue.value = !0;
                    const R = Ge.value.length ? Ot({
                        withdrawId: ($ = Ne.value) == null ? void 0 : $.withdrawID,
                        smsCode: ve.value,
                        categoryId: 2
                    }) : qt({
                        bid: S.bid,
                        smsCode: ve.value,
                        categoryId: 2
                    });
                    await Y(R) && (Ge.value.length ? (Re.value = !1, bt(), ot()) : (Re.value = !1, Le.value = !0))
                } finally {
                    ue.value = !1
                }
            }

            function nt() {
                var $;
                if (S.type == 2 && ie.getNeedKycValid) {
                    const R = de.value.find(Q => Q.bid == S.bid);
                    if (R && !R.isKycOnline) return Ne.value = R, Re.value = !0;
                    if (R && R.isKycOnline) return Le.value = !0
                }
                S.type == 21 ? ($ = y.value) != null && $.isActiveC && (S.pwd = "", q.value = !0) : ne.value && (S.pwd = "", q.value = !0)
            }
            async function oa() {
                var R, Q;
                h(!0);
                const $ = await Y(Sa());
                if ($) {
                    Ce.value = ($ == null ? void 0 : $.data.withdrawlist) || [], _(Ce.value), p.getWithdrawal.type && Ce.value.find(ye => ye.withdrawID == p.getWithdrawal.type) ? S.type = p.getWithdrawal.type : Ce.value.find(ye => ye.withdrawID == p.getWithdrawal.type) || (S.type = 0), S.type == 0 && (S.type = Ce.value[0].withdrawID, qe.value = Ce.value[0].name, S.type == 20 && (W.value = !0)), [4, 23, 24].includes(S.type) && (qe.value = ((R = Ce.value.find(ye => ye.withdrawID == S.type)) == null ? void 0 : R.name) || ""), S.type == 22 && (qe.value = ((Q = Ce.value.find(ye => ye.withdrawID == 22)) == null ? void 0 : Q.name) || "");
                    let Ue = localStorage.getItem("popupHideUntil") || void 0;
                    const Qe = new Date().getTime();
                    if (V.value = $.data.isOpenSafeGuide, V.value) {
                        const ye = parseInt(Ue, 10);
                        Qe < ye && (V.value = !1), X.value = $.data.safeGuideContent || ""
                    }
                }
                h(!1)
            }
            const sa = async () => {
                    try {
                        const $ = await Na();
                        ($ == null ? void 0 : $.code) === 0 ? N.value = $.data : E({
                            message: $ == null ? void 0 : $.msg
                        })
                    } catch {}
                },
                bt = async () => {
                    try {
                        const $ = await Aa({
                            categoryId: 2
                        });
                        if (($ == null ? void 0 : $.code) === 0 && (Ge.value = $ == null ? void 0 : $.data, Ge.value.length)) {
                            const R = $.data[0];
                            Ne.value = R, Re.value = !0
                        }
                    } catch {}
                };
            async function $t($) {
                S.type != $.withdrawID && ($.withdrawID == 20 && (W.value = !0), S.type = $.withdrawID, C.value = {}, await ot(), qe.value = $.name || "", S.bid = de.value.length > 0 ? de.value[0].bid : 0, S.amount = 0, B.value && (B.value.usdtCount = 0))
            }

            function la() {
                C.value = ce.value.withdrawalslist.find($ => $.bid == S.bid), C.value || (S.bid = ce.value.withdrawalslist[0].bid, C.value = ce.value.withdrawalslist[0])
            }
            async function ot() {
                var R, Q, Ue, Qe, ye;
                h(!0);
                const $ = await Y(Xe({
                    withdrawid: S.type
                }));
                if (h(!1), $) {
                    if (ce.value = $.data, be.value = ($ == null ? void 0 : $.data.arUpiRecommandBankList) || [], be.value.length > 0 && !A.query.bankCode ? Se.value = be.value[0].bankCode : Se.value = A.query.bankCode, s((R = $.data) == null ? void 0 : R.withdrawalsrule), (Ue = (Q = $.data) == null ? void 0 : Q.withdrawalsrule) != null && Ue.arbWithdrawRecommand && !c.value && (r.value = !0), $.data.lastBandCarkName ? localStorage.setItem("lastBandCarkName", (Qe = $.data) == null ? void 0 : Qe.lastBandCarkName) : localStorage.removeItem("lastBandCarkName"), !de.value.length) return;
                    S.bid == 0 && (S.bid = ((ye = de.value[0]) == null ? void 0 : ye.bid) || 0), la(), p.setWithdrawalslist($.data.withdrawalslist)
                }
            }

            function ia() {
                u.push({
                    name: "CustomerService"
                })
            }

            function ra() {
                u.push({
                    name: "rpwd"
                })
            }
            const da = () => {
                    u.push({
                        name: "StrongBox"
                    })
                },
                ca = async () => {
                    const $ = await Y(Ia({
                            key: "C2CWithdrawRewardRate"
                        })),
                        R = ($ == null ? void 0 : $.data.value1) || 0;
                    T.value = Number(R)
                },
                Ct = $ => {
                    S.amount = $
                };
            Ve(S, $ => {
                p.setWithdrawal({ ...$
                }), n($)
            }), Ve(() => S.type, $ => {
                $ === 2 && bt()
            });
            const ua = async () => {
                var $, R;
                p.getWithdrawal.type && (S.type = p.getWithdrawal.type), S.bid = Number(((R = ($ = u.currentRoute.value) == null ? void 0 : $.query) == null ? void 0 : R.bid) || 0) || 0, f({
                    signature: U.token
                }), a(), await oa(), await ot(), await ca()
            };
            return pe(() => {
                ua()
            }), ($, R) => {
                var Nt, St;
                const Q = O("NavBar"),
                    Ue = O("svg-icon"),
                    Qe = O("van-icon"),
                    ye = O("van-dialog"),
                    va = O("van-popup"),
                    Tt = Ee("lazy");
                return l(), d(G, null, [e("div", Jl, [v(Q, {
                    title: $.$t("withdraw"),
                    "left-arrow": "",
                    onClickLeft: Xt,
                    onClickRight: R[0] || (R[0] = ee => b(u).push({
                        name: "WithdrawHistory"
                    }))
                }, {
                    right: K(() => [e("span", null, t($.$t("withdrawRecords")), 1)]),
                    _: 1
                }, 8, ["title"]), e("div", ei, [g("资产余额"), v(rn, {
                    data_NewSetWithdrawal: S,
                    withdrawalsrule: ce.value.withdrawalsrule
                }, null, 8, ["data_NewSetWithdrawal", "withdrawalsrule"]), g("提款方式"), v(En, {
                    data_NewSetWithdrawal: S,
                    withdrawalTypeslist: Ce.value,
                    c2cAward: T.value,
                    onOnSelectWithdrawalType: $t,
                    maxRechargeRifts: oe.value,
                    ArRechargeRifts: Be.value
                }, null, 8, ["data_NewSetWithdrawal", "withdrawalTypeslist", "c2cAward", "maxRechargeRifts", "ArRechargeRifts"]), g(" upi "), S.type == 2 ? (l(), d(G, {
                    key: 0
                }, [be.value.length ? (l(), ke(Gn, {
                    key: 0,
                    bankList: be.value,
                    "bank-code": Se.value,
                    onOnSelectWithdrawalType: R[1] || (R[1] = ee => {
                        var It;
                        Se.value = ee, S.bid = ((It = de.value[0]) == null ? void 0 : It.bid) || 0
                    })
                }, null, 8, ["bankList", "bank-code"])) : g("v-if", !0), v(Ut, {
                    bankCode: Se.value,
                    withdrawalslist: de.value,
                    bid: S.bid
                }, null, 8, ["bankCode", "withdrawalslist", "bid"])], 64)) : g("v-if", !0), g(" c2cupi "), S.type == 20 ? (l(), d(G, {
                    key: 1
                }, [v(Ut, {
                    withdrawalslist: ce.value.withdrawalslist,
                    bid: S.bid
                }, null, 8, ["withdrawalslist", "bid"]), v(Ss, {
                    c2crule: ce.value.withdrawalsrule,
                    c2cAward: T.value,
                    onSetc2cAmount: Ct,
                    c2cName: ((Nt = Ce.value.find(ee => ee.withdrawID == 20)) == null ? void 0 : Nt.name) || ""
                }, {
                    default: K(() => [e("div", ti, [e("button", {
                        class: le(["recycleBtn", {
                            active: ne.value
                        }]),
                        onClick: nt
                    }, t($.$t("withdraw")), 3)])]),
                    _: 1
                }, 8, ["c2crule", "c2cAward", "c2cName"]), v(Xs, {
                    ref_key: "c2cRecordRef",
                    ref: z
                }, null, 512)], 64)) : S.type == 21 ? (l(), ke(Hl, {
                    key: 2,
                    onOnShowPwdD: R[2] || (R[2] = ee => nt()),
                    ref_key: "ArCardRef",
                    ref: y
                }, null, 512)) : [4, 23, 24, 22].includes(S.type) ? (l(), d(G, {
                    key: 3
                }, [S.type === 22 ? (l(), ke(bl, {
                    key: 0,
                    withdrawalslist: ce.value.withdrawalslist,
                    withdrawType: S.type,
                    bid: S.bid,
                    name: qe.value,
                    rsnInfo: N.value,
                    currentType: Ce.value.find(ee => ee.withdrawID == 22),
                    onGetRnsTypeInfo: sa
                }, null, 8, ["withdrawalslist", "withdrawType", "bid", "name", "rsnInfo", "currentType"])) : (l(), ke(vl, {
                    key: 1,
                    withdrawalslist: ce.value.withdrawalslist,
                    withdrawType: S.type,
                    bid: S.bid,
                    name: qe.value
                }, null, 8, ["withdrawalslist", "withdrawType", "bid", "name"])), F.value ? g("v-if", !0) : (l(), ke(il, {
                    key: 2,
                    rule: ce.value.withdrawalsrule,
                    award: T.value,
                    wtype: S.type,
                    onSetc2cAmount: Ct,
                    name: ((St = Ce.value.find(ee => ee.withdrawID == 20)) == null ? void 0 : St.name) || ""
                }, {
                    default: K(() => [e("div", ai, [e("button", {
                        class: le(["recycleBtn", {
                            active: ne.value
                        }]),
                        onClick: nt
                    }, t($.$t("withdraw")), 3)])]),
                    _: 1
                }, 8, ["rule", "award", "wtype", "name"])), g("提现记录"), F.value ? g("v-if", !0) : (l(), ke(mt, {
                    key: 3,
                    ref_key: "withdrawHistory",
                    ref: I
                }, null, 512))], 64)) : (l(), d(G, {
                    key: 4
                }, [g("银行卡模块"), ce.value.withdrawalslist.length ? (l(), d("div", {
                    key: 0,
                    class: "bankInfo",
                    onClick: R[3] || (R[3] = ee => ea())
                }, [
                    [1, 5].includes(S.type) ? (l(), d("div", {
                        key: 0,
                        class: le(["bankInfoItem", `type${S.type}`])
                    }, [e("div", null, [v(Ue, {
                        name: S.type
                    }, null, 8, ["name"]), e("span", null, t(C.value.bankName), 1)]), e("div", null, [e("span", null, t(C.value.beneficiaryName), 1), e("span", null, t(C.value.accountNo), 1)]), v(Qe, {
                        name: "arrow"
                    })], 2)) : g("v-if", !0), [3, 10].includes(S.type) ? (l(), d("div", ni, [e("div", null, [e("img", {
                        src: b(ge)("wallet/withdrawType", `${S.type}`)
                    }, null, 8, oi), e("span", null, t(C.value.bankName), 1)]), e("div", null, [e("span", null, t(C.value.accountNo), 1), v(Qe, {
                        name: "arrow"
                    })]), e("div", null, [e("span", null, t(C.value.usdtRemarkName), 1)])])) : g("v-if", !0), [6, 8].includes(S.type) ? (l(), d("div", si, [e("div", null, [e("img", {
                        src: b(ge)("wallet/withdrawType", `${S.type}`)
                    }, null, 8, li), S.type == 6 ? (l(), d("span", ii, t(C.value.bankName), 1)) : g("v-if", !0), S.type == 8 ? (l(), d("span", ri, t(C.value.walletName), 1)) : g("v-if", !0)]), e("div", null, [S.type == 6 ? (l(), d("span", di, t(C.value.accountNo), 1)) : g("v-if", !0), S.type == 8 ? (l(), d("span", ci, t(C.value.mobileNO), 1)) : g("v-if", !0)])])) : g("v-if", !0)
                ])) : g("v-if", !0), se(v(ct, {
                    type: S.type,
                    isShowhintTextO: !0
                }, null, 8, ["type"]), [
                    [vt, [1, 3, 6, 8, 5, 10].includes(S.type) && ce.value.withdrawalslist.length == 0]
                ]), g("输入区"), v(Bo, {
                    data_NewSetWithdrawal: S,
                    withdrawalsrule: ce.value.withdrawalsrule,
                    withdrawalslist: ce.value.withdrawalslist,
                    ref_key: "withdrawField",
                    ref: B
                }, null, 8, ["data_NewSetWithdrawal", "withdrawalsrule", "withdrawalslist"]), e("div", ui, [e("button", {
                    class: le(["recycleBtn", {
                        active: ne.value
                    }]),
                    onClick: nt
                }, t($.$t("withdraw")), 3)]), g("提现说明组件"), v(ut, {
                    withdrawType: S.type,
                    withdrawalsrule: ce.value.withdrawalsrule
                }, null, 8, ["withdrawType", "withdrawalsrule"]), g("提现记录"), v(mt, {
                    ref_key: "withdrawHistory",
                    ref: I
                }, null, 512)], 64))]), g("提现成功弹窗"), v(ye, {
                    show: M.value,
                    "onUpdate:show": R[5] || (R[5] = ee => M.value = ee),
                    "show-confirm-button": !1,
                    "z-index": "100"
                }, {
                    default: K(() => [se(e("img", vi, null, 512), [
                        [Tt, b(ge)("public", "succeed")]
                    ]), e("div", pi, t($.$t("tipWithdrawalApplicationSuccess")), 1), e("div", _i, [e("span", null, t($.$t("tipWithdrawWillBeCompletedIn2Hours")), 1), e("span", null, t($.$t("tipPlaWaitPaciently")) + "...", 1)]), e("div", {
                        class: "van-dialog__content-btn",
                        onClick: R[4] || (R[4] = ee => kt())
                    }, t($.$t("confirm")), 1)]),
                    _: 1
                }, 8, ["show"]), v(_t, {
                    class: "c2c",
                    show: D.value,
                    "onUpdate:show": R[6] || (R[6] = ee => D.value = ee),
                    showCancelBtn: !1,
                    onConfirm: R[7] || (R[7] = ee => kt("c2c")),
                    title: $.$t("withdrawTip2")
                }, {
                    header: K(() => [se(e("img", mi, null, 512), [
                        [Tt, b(ge)("public", "succeed")]
                    ])]),
                    content: K(() => [e("div", hi, [e("h1", {
                        innerHTML: $.$t("withdrawTip3")
                    }, null, 8, wi), e("p", {
                        innerHTML: $.$t("withdrawTip4")
                    }, null, 8, fi)])]),
                    _: 1
                }, 8, ["show", "title"]), g("输入密码弹窗"), q.value ? (l(), ke(va, {
                    key: 0,
                    show: q.value,
                    "onUpdate:show": R[10] || (R[10] = ee => q.value = ee),
                    position: "bottom",
                    closeable: "",
                    round: ""
                }, {
                    default: K(() => [e("div", yi, [e("div", gi, [v(Ue, {
                        name: "safeIcon"
                    }), e("h1", null, t($.$t("withdrawDialogDesc1")), 1)]), ki, bi, v(Ga, {
                        value: S.pwd,
                        "onUpdate:value": R[8] || (R[8] = ee => S.pwd = ee),
                        label: $.$t("withdrawDialogPh"),
                        maxlength: 32
                    }, null, 8, ["value", "label"]), e("span", $i, t($.$t("withdrawDialogDesc3")), 1), e("div", Ci, [J.value ? (l(), d("span", {
                        key: 0,
                        onClick: ra
                    }, t($.$t("withdrawDialogDesc4")), 1)) : g("v-if", !0), e("div", {
                        class: "red",
                        onClick: ia
                    }, t($.$t("withdrawDialogDesc5")), 1)]), e("div", Ti, [e("button", {
                        onClick: R[9] || (R[9] = () => q.value = !1)
                    }, t($.$t("withdrawDialogDesc6")), 1), e("button", {
                        onClick: Jt
                    }, t($.$t("withdrawDialogDesc7")), 1)])])]),
                    _: 1
                }, 8, ["show"])) : g("v-if", !0), g("不在提现时间内提示"), v(ye, {
                    show: H.value,
                    "onUpdate:show": R[11] || (R[11] = ee => H.value = ee),
                    "show-confirm-button": !1,
                    "z-index": "100"
                }, {
                    default: K(() => [v(Yl)]),
                    _: 1
                }, 8, ["show"]), v(ye, {
                    show: W.value,
                    "onUpdate:show": R[13] || (R[13] = ee => W.value = ee),
                    showConfirmButton: !1,
                    class: "c2cconfirm",
                    width: "100%"
                }, {
                    default: K(() => [W.value ? (l(), ke(ps, {
                        key: 0,
                        showC2c: W.value,
                        "onUpdate:showC2c": R[12] || (R[12] = ee => W.value = ee)
                    }, null, 8, ["showC2c"])) : g("v-if", !0)]),
                    _: 1
                }, 8, ["show"]), v(_t, {
                    show: x.value,
                    "onUpdate:show": R[14] || (R[14] = ee => x.value = ee),
                    showCancelBtn: !1,
                    showCloseIcon: !0,
                    clickOutSide: !0,
                    onConfirm: R[15] || (R[15] = () => x.value = !1)
                }, {
                    content: K(() => [e("h1", null, t($.$t("withdrwsTip1")), 1)]),
                    _: 1
                }, 8, ["show"])]), v(ye, {
                    "class-name": "safebox-dialog",
                    show: V.value,
                    "onUpdate:show": R[17] || (R[17] = ee => V.value = ee)
                }, {
                    footer: K(() => [e("div", Si, t($.$t("safeG")), 1), e("div", {
                        class: le(["active", {
                            a: i.value
                        }]),
                        onClick: Yt
                    }, [v(Ue, {
                        name: "active"
                    }), L(t($.$t("checkSafeBox")), 1)], 2), e("div", Ii, [e("div", {
                        onClick: R[16] || (R[16] = ee => V.value = !1)
                    }, t($.$t("no")), 1), e("div", {
                        onClick: da
                    }, t($.$t("go")), 1)])]),
                    default: K(() => [e("div", {
                        class: "content",
                        innerHTML: X.value
                    }, null, 8, Ni)]),
                    _: 1
                }, 8, ["show"]), v(ye, {
                    class: "arupiAmount-dialog",
                    closeOnClickOverlay: !0,
                    show: r.value,
                    "onUpdate:show": R[20] || (R[20] = ee => r.value = ee),
                    "show-confirm-button": !1,
                    width: 327
                }, {
                    default: K(() => [e("div", Wi, [e("div", Ai, t($.$t("arupiTitle")), 1), e("div", {
                        class: "title2",
                        innerHTML: Z.value
                    }, null, 8, Bi), e("div", Ui, [e("div", {
                        class: "goBuy",
                        onClick: R[18] || (R[18] = () => {
                            $t({
                                withdrawID: 21
                            }), r.value = !1, c.value = !0
                        })
                    }, t($.$t("goarWithdraw")), 1), e("div", {
                        class: "clance",
                        onClick: R[19] || (R[19] = () => {
                            r.value = !1, c.value = !0
                        })
                    }, t($.$t("cancel")), 1)])])]),
                    _: 1
                }, 8, ["show"]), v(ye, {
                    class: "arupiAmount-dialog",
                    closeOnClickOverlay: !0,
                    show: Le.value,
                    "onUpdate:show": R[22] || (R[22] = ee => Le.value = ee),
                    "show-confirm-button": !1,
                    width: 327
                }, {
                    default: K(() => [e("div", Di, [e("div", Pi, t($.$t("kindTips")), 1), e("div", Ri, [e("p", null, t($.$t("quickTips")), 1), e("p", null, t($.$t("quickTips2")), 1)]), e("div", Oi, [e("div", {
                        class: "clance",
                        onClick: R[21] || (R[21] = ee => Le.value = !1)
                    }, t($.$t("changeAccount")), 1), e("div", {
                        class: "goBuy",
                        onClick: aa
                    }, t($.$t("continueAccount")), 1)])])]),
                    _: 1
                }, 8, ["show"]), v(ye, {
                    show: Re.value,
                    "onUpdate:show": R[25] || (R[25] = ee => Re.value = ee),
                    showConfirmButton: !1,
                    width: "fit-content",
                    "lazy-render": ""
                }, {
                    default: K(() => [v(dt, {
                        bid: Ne.value.bid,
                        bank: Ne.value.bankCode,
                        upi: Ne.value.upiAccount || Ne.value.accountNo,
                        mobile: Ne.value.mobileNo,
                        code: ve.value,
                        "onUpdate:code": R[23] || (R[23] = ee => ve.value = ee),
                        withdrawalId: Ne.value.withdrawID,
                        withdrawalAmount: Ne.value.price,
                        onConfirm: na,
                        onClose: R[24] || (R[24] = ee => Re.value = !1)
                    }, null, 8, ["bid", "bank", "upi", "mobile", "code", "withdrawalId", "withdrawalAmount"])]),
                    _: 1
                }, 8, ["show"])], 64)
            }
        }
    });
const Li = ae(Mi, [
        ["__scopeId", "data-v-80a607a5"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/index.vue"]
    ]),
    Ep = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: Li
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    Vi = {
        class: "chooseBank__container"
    },
    qi = {
        class: "search"
    },
    ji = ["placeholder"],
    zi = {
        class: "chooseBank__container-content"
    },
    Ei = {
        class: "chooseBank__container-content-items"
    },
    Fi = {
        class: "ar-1px-b"
    },
    Hi = ["onClick"],
    xi = {
        class: "chooseBank__container-content-items__title"
    },
    Ki = ["src"],
    Zi = te({
        __name: "index",
        props: {
            bankList: {
                type: Array,
                required: !0
            }
        },
        emits: ["onSelectItem"],
        setup(w, {
            emit: n
        }) {
            const s = w,
                _ = k("");
            let i = he([]),
                r = k([]);

            function c(h) {
                n("onSelectItem", h)
            }
            async function o() {
                if (Array.isArray(s.bankList) && s.bankList.length > 0) {
                    i = s.bankList, r.value = i;
                    return
                }
                const h = await Y(Fe({
                    withdrawid: 1
                }));
                h && (i = h.data.banklist, r.value = i)
            }
            return Ve(_, () => {
                i.length > 0 && (r.value = i.filter(h => h.bankName.toLowerCase().indexOf(_.value.toLowerCase()) !== -1))
            }), pe(() => {
                o()
            }), (h, f) => {
                const a = O("van-icon");
                return l(), d("div", Vi, [e("div", qi, [v(a, {
                    name: "search",
                    size: "35"
                }), se(e("input", {
                    placeholder: h.$t("phSearchBank"),
                    "onUpdate:modelValue": f[0] || (f[0] = m => _.value = m)
                }, null, 8, ji), [
                    [we, _.value, void 0, {
                        trim: !0
                    }]
                ])]), e("div", zi, [e("div", Ei, [e("div", Fi, t(h.$t("selectBank")), 1), (l(!0), d(G, null, $e(b(r), m => (l(), d("div", {
                    key: m.bankID,
                    class: "chooseBank__container-content-items__item ar-1px-b",
                    onClick: u => c(m)
                }, [e("div", xi, [e("img", {
                    src: m.bankLogo,
                    alt: ""
                }, null, 8, Ki), e("span", null, t(m.bankName), 1)])], 8, Hi))), 128))])])])
            }
        }
    });
const xt = ae(Zi, [
        ["__scopeId", "data-v-c1c91417"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/ChooseBank/index.vue"]
    ]),
    Fp = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: xt
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    Gi = {
        class: "banks-mask"
    },
    Qi = {
        class: "choose-bank"
    },
    Xi = {
        class: "choose-title"
    },
    Yi = {
        class: "choose-list"
    },
    Ji = {
        class: "warm-tips"
    },
    er = {
        class: "bank-radio-group"
    },
    tr = te({
        __name: "banks",
        props: {
            modelValue: {
                type: Boolean,
                default: !1
            },
            list: {
                type: Array,
                default: () => []
            }
        },
        emits: ["update:modelValue", "changeBank"],
        setup(w, {
            emit: n
        }) {
            const s = w,
                _ = k({
                    name: "",
                    code: 0
                }),
                i = () => {
                    const c = _.value.code,
                        o = s.list.find(h => h.code == c);
                    c !== 0 && o && (n("changeBank", o), n("update:modelValue", !1))
                },
                r = () => {
                    n("update:modelValue", !1)
                };
            return (c, o) => {
                const h = O("van-radio"),
                    f = O("van-radio-group"),
                    a = O("svg-icon");
                return s.modelValue ? (l(), ke(ma, {
                    key: 0,
                    to: "body"
                }, [e("div", Gi, [e("div", Qi, [e("div", Xi, t(c.$t("selectBank")), 1), e("div", Yi, [e("p", Ji, t(c.$t("chooseBankWarmTips")), 1), e("div", er, [v(f, {
                    class: "bank-radio-group-van",
                    modelValue: _.value.code,
                    "onUpdate:modelValue": o[0] || (o[0] = m => _.value.code = m)
                }, {
                    default: K(() => [(l(!0), d(G, null, $e(s.list, m => (l(), ke(h, {
                        class: "bank-radio-item",
                        name: m.code
                    }, {
                        default: K(() => [L(t(m.name), 1)]),
                        _: 2
                    }, 1032, ["name"]))), 256))]),
                    _: 1
                }, 8, ["modelValue"])]), e("button", {
                    class: "confirm-button",
                    onClick: i
                }, t(c.$t("confirm")), 1)])]), e("div", {
                    class: "close",
                    onClick: r
                }, [v(a, {
                    class: "img",
                    name: "close"
                })])])])) : g("v-if", !0)
            }
        }
    });
const ar = ae(tr, [
        ["__scopeId", "data-v-6db521fb"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/AddBankCard/banks.vue"]
    ]),
    nr = {
        class: "addBankCard__container"
    },
    or = {
        key: 0,
        class: "addBankCard__container-content"
    },
    sr = {
        class: "addBankCard__container-content-top"
    },
    lr = ["src"],
    ir = {
        class: "addBankCard__container-content-item"
    },
    rr = {
        class: "label"
    },
    dr = {
        class: "addBankCard__container-content-item"
    },
    cr = {
        class: "label"
    },
    ur = ["placeholder", "readonly"],
    vr = {
        key: 0,
        class: "red"
    },
    pr = {
        key: 1,
        class: "red"
    },
    _r = {
        class: "addBankCard__container-content-item"
    },
    mr = {
        class: "label"
    },
    hr = ["placeholder"],
    wr = {
        class: "addBankCard__container-content-item"
    },
    fr = {
        class: "label phone_icon"
    },
    yr = ["placeholder"],
    gr = {
        key: 0,
        class: "addBankCard__container-content-item"
    },
    kr = {
        class: "label"
    },
    br = ["placeholder"],
    $r = {
        key: 1,
        class: "addBankCard__container-content-item"
    },
    Cr = {
        class: "label"
    },
    Tr = ["placeholder"],
    Nr = {
        key: 2,
        class: "addBankCard__container-content-item"
    },
    Sr = {
        class: "label"
    },
    Ir = ["placeholder"],
    Wr = {
        key: 3,
        class: "addBankCard__container-content-item"
    },
    Ar = {
        class: "label"
    },
    Br = ["placeholder"],
    Ur = {
        class: "addBankCard__container-content-btn"
    },
    Dr = {
        key: 1
    },
    Pr = te({
        __name: "index",
        setup(w) {
            const n = k(!1),
                {
                    t: s
                } = me(),
                _ = k(0),
                {
                    setLoading: i
                } = Pe(),
                r = ft(),
                c = _e(),
                {
                    isOpenWithdraw: o,
                    isOpenAddBankCardOpenEmail: h
                } = He(),
                f = c.currentRoute.value.query.fromV || "Withdraw-BankCard",
                a = k(),
                m = k([]),
                {
                    iseditor: u,
                    onInput: A,
                    setUL: p,
                    onLoad: B,
                    makeTxt: y
                } = Me(),
                I = j(() => a.value ? a.value : s("addCardMsg1"));

            function C(Z) {
                P.bankid = Z.bankID, a.value = Z.bankName, _.value = 0
            }
            const N = j(() => _.value == 0 ? s("titleAddBankCard") : s("selectBank")),
                z = k(!1),
                T = k(!1),
                W = k(!1);
            let x = he([]);
            const J = Oe(),
                U = j(() => J.getDollarSign);
            U.value && (z.value = ["₫", "K"].includes(U.value), T.value = U.value == "₹", W.value = U.value == "৳");

            function ie() {
                if (_.value > 0) return _.value = 0;
                c.replace({
                    name: f,
                    query: {
                        type: "Add"
                    }
                })
            }
            const P = he({
                smsCode: "",
                ifsccode: "",
                bankid: 0,
                beneficiaryname: "",
                accountno: "",
                email: "",
                mobileno: "",
                bankcitycode: "",
                bankprovincecode: "",
                bankbranchaddress: "",
                type: "",
                codeType: Te.addBankCard
            });
            pe(() => {
                F()
            });
            async function F() {
                const Z = await Y(Fe({
                    withdrawid: 1
                }));
                Z && (x = Z.data.banklist, P.ifsccode && P.ifsccode.length >= 4 && Ae())
            }
            const V = xe({
                    content: () => v(Ke, {
                        type: P.type,
                        "onUpdate:type": Z => P.type = Z,
                        code: P.smsCode,
                        "onUpdate:code": Z => P.smsCode = Z,
                        onConfirm: q,
                        codeType: Te.addBankCard
                    }, null),
                    beforeClose: () => {
                        P.smsCode = ""
                    }
                }),
                ne = j(() => !(P.beneficiaryname.trim().length == 0 || P.accountno.trim().length == 0 || P.mobileno.trim().length == 0 || !T.value && !W.value && P.bankbranchaddress.trim().length == 0 || P.bankid == 0 || T.value == !0 && P.ifsccode.trim().length == 0 || W.value == !0 && P.ifsccode.trim().length == 0)),
                M = () => {
                    const Z = localStorage.getItem("numberType") || r.userForm.numberType;
                    if (!ne.value) return !1;
                    if (P.bankid == 0) return E({
                        message: s("addCardMsg1"),
                        wordBreak: "break-word"
                    });
                    if (P.beneficiaryname.toString().trim().length == 0) return E({
                        message: s("addCardMsg2"),
                        wordBreak: "break-word"
                    });
                    if (P.accountno.toString().trim().length == 0) return E({
                        message: s("addCardMsg3"),
                        wordBreak: "break-word"
                    }); {
                        let oe;
                        if (U.value == "R$") {
                            if (oe = /^[0-9\-]{6,25}$/, P.accountno.indexOf("-") == -1) return E({
                                message: s("code212"),
                                wordBreak: "break-word"
                            })
                        } else oe = /^[0-9]{6,25}$/;
                        if (!oe.test(P.accountno)) return E({
                            message: s("code212"),
                            wordBreak: "break-word"
                        })
                    }
                    if (I.value.toUpperCase() == "STATE BANK OF INDIA" && P.accountno.toString().trim().charAt(0) == "0") return E({
                        message: s("addBC1", [I.value]),
                        wordBreak: "break-word"
                    });
                    if (P.mobileno.toString().trim().length == 0) return E({
                        message: s("addCardMsg4"),
                        wordBreak: "break-word"
                    });
                    if (!it(Z, P.mobileno.trim().length)) return E({
                        message: s("wrongTel"),
                        wordBreak: "break-word"
                    });
                    if (P.bankbranchaddress.toString().trim().length == 0 && !T.value && !W.value) return E({
                        message: s("addCardMsg5"),
                        wordBreak: "break-word"
                    });
                    if (h.value && P.email.toString().trim().length == 0) return E({
                        message: s("addCardMsg6"),
                        wordBreak: "break-word"
                    });
                    if (T.value == !0) {
                        if (P.ifsccode.trim().length == 0) return E({
                            message: s("phEnter") + s("IFSCCode"),
                            wordBreak: "break-word"
                        });
                        if (!/^[A-Za-z]{4}0[A-Za-z0-9]{6}$/.test(P.ifsccode)) return E({
                            message: s("IFSCCode") + s("formatErr"),
                            wordBreak: "break-word"
                        })
                    }
                    return h.value && !Et.email1.test(P.email) ? E({
                        message: s(Ft.email),
                        wordBreak: "break-word"
                    }) : W.value == !0 && P.ifsccode.trim().length == 0 ? E({
                        message: s("phEnter") + " Routing Number",
                        wordBreak: "break-word"
                    }) : !0
                };
            async function D() {
                if (P.smsCode = "", M() === !0) {
                    if (o.value) return V.open();
                    await q()
                }
            }
            async function q() {
                const Z = localStorage.getItem("numberType") || r.userForm.numberType;
                i(!0), P.beneficiaryname = P.beneficiaryname.trim(), await Y(Ba(Object.assign({}, P, {
                    mobileno: Z + P.mobileno
                }))) && (ze(s("addedSuccessfully")), V.close(), await c.replace({
                    name: f,
                    query: {
                        type: "Add"
                    },
                    replace: !0
                })), i(!1)
            }

            function H() {
                U.value == "R$" ? P.accountno = P.accountno.replace(/[^\d\-]+/g, "") : P.accountno = P.accountno.replace(/[^\d]+/g, "")
            }

            function ue(Z) {
                const oe = Z.substring(0, 4).toUpperCase();
                return x.filter(Be => Be.ifscCode.toUpperCase() === oe).map(Be => ({
                    name: Be.bankName,
                    code: Be.bankID
                }))
            }
            const S = () => {
                    P.ifsccode = P.ifsccode.replace(/[^a-zA-Z0-9]/g, ""), p(P, "ifsccode")
                },
                Ae = () => {
                    const Z = ue(P.ifsccode.substring(0, 4));
                    if (Z.length > 1 && P.ifsccode.length >= 4) return m.value = Z, n.value = !0;
                    const oe = Z[0] || {
                        name: "",
                        code: 0
                    };
                    oe && oe.code && P.ifsccode ? (a.value = oe.name, P.bankid = oe.code) : (a.value = s("addCardMsg1"), P.bankid = 0), p(P, "ifsccode")
                },
                fe = Z => {
                    a.value = Z.name, P.bankid = Z.code
                };
            j(() => {
                const Z = ue(P.ifsccode);
                return !(T.value && Z.code != 0 && P.ifsccode)
            });

            function ce() {
                _.value = 2
            }
            return B(P, "beneficiaryname"), (Z, oe) => {
                const Be = O("NavBar"),
                    be = O("svg-icon"),
                    Se = O("van-icon");
                return l(), d(G, null, [e("div", nr, [v(Be, {
                    title: N.value,
                    "left-arrow": "",
                    onClickLeft: ie
                }, null, 8, ["title"]), _.value == 0 ? (l(), d("div", or, [e("div", sr, [e("img", {
                    src: b(ge)("wallet", "hint")
                }, null, 8, lr), e("span", null, t(Z.$t("tipBindUrOwnCardToEnsureFundSafety")), 1)]), e("div", ir, [e("div", rr, [v(be, {
                    name: "bank"
                }), L(" " + t(Z.$t("selectBank")), 1)]), e("div", {
                    class: "selectB",
                    onClick: ce
                }, [L(t(I.value) + " ", 1), v(Se, {
                    name: "arrow"
                })])]), g("验证收款人姓名"), e("div", dr, [e("div", cr, [v(be, {
                    name: "name"
                }), L(" " + t(Z.$t("payeeName")), 1)]), se(e("input", {
                    placeholder: Z.$t("phEnterPayeeName"),
                    "onUpdate:modelValue": oe[0] || (oe[0] = ve => P.beneficiaryname = ve),
                    maxlength: "50",
                    onInput: oe[1] || (oe[1] = ve => b(y)(P, "beneficiaryname")),
                    readonly: b(u)
                }, null, 40, ur), [
                    [we, P.beneficiaryname, void 0, {
                        trim: !0
                    }]
                ]), z.value ? (l(), d("span", vr, t(Z.$t("validateDesc21")), 1)) : g("v-if", !0), z.value ? (l(), d("p", pr, t(Z.$t("example")) + " : DINH THI HUYEN", 1)) : g("v-if", !0)]), e("div", _r, [e("div", mr, [v(be, {
                    name: "bankCard"
                }), L(" " + t(Z.$t("bankcardNo")), 1)]), se(e("input", {
                    placeholder: Z.$t("phEnterBankcardNo"),
                    "onUpdate:modelValue": oe[2] || (oe[2] = ve => P.accountno = ve),
                    maxlength: "25",
                    onInput: H
                }, null, 40, hr), [
                    [we, P.accountno, void 0, {
                        trim: !0
                    }]
                ])]), e("div", wr, [e("div", fr, [v(be, {
                    name: "phone"
                }), L(" " + t(Z.$t("tel")), 1)]), se(e("input", {
                    placeholder: Z.$t("phEnterPayeeTel"),
                    "onUpdate:modelValue": oe[3] || (oe[3] = ve => P.mobileno = ve),
                    maxlength: "12",
                    onInput: oe[4] || (oe[4] = ve => b(A)(P, "mobileno"))
                }, null, 40, yr), [
                    [we, P.mobileno, void 0, {
                        trim: !0
                    }]
                ])]), b(h) ? (l(), d("div", gr, [e("div", kr, [v(be, {
                    name: "email"
                }), L(" " + t(Z.$t("email")), 1)]), se(e("input", {
                    type: "text",
                    placeholder: Z.$t("inputemail"),
                    "onUpdate:modelValue": oe[5] || (oe[5] = ve => P.email = ve),
                    maxlength: "250"
                }, null, 8, br), [
                    [we, P.email, void 0, {
                        trim: !0
                    }]
                ])])) : g("v-if", !0), T.value ? (l(), d("div", $r, [e("div", Cr, [v(be, {
                    name: "ifscCode"
                }), L(" " + t(Z.$t("IFSCCode")), 1)]), se(e("input", {
                    placeholder: Z.$t("phEnter") + Z.$t("IFSCCode"),
                    "onUpdate:modelValue": oe[6] || (oe[6] = ve => P.ifsccode = ve),
                    onBlur: Ae,
                    onInput: S,
                    maxlength: "11"
                }, null, 40, Tr), [
                    [we, P.ifsccode, void 0, {
                        trim: !0
                    }]
                ])])) : g("v-if", !0), W.value ? (l(), d("div", Nr, [e("div", Sr, [v(be, {
                    name: "address"
                }), L(" Routing Number ")]), se(e("input", {
                    placeholder: Z.$t("phEnter") + " Routing Number",
                    "onUpdate:modelValue": oe[7] || (oe[7] = ve => P.ifsccode = ve)
                }, null, 8, Ir), [
                    [we, P.ifsccode, void 0, {
                        trim: !0
                    }]
                ])])) : g("v-if", !0), !T.value && !W.value ? (l(), d("div", Wr, [e("div", Ar, [v(be, {
                    name: "address"
                }), L(" " + t(Z.$t("branchBankAddr")), 1)]), se(e("textarea", {
                    class: "textarea",
                    name: "remark",
                    id: "",
                    cols: "30",
                    rows: "10",
                    placeholder: Z.$t("phEnterBranchAddr"),
                    "onUpdate:modelValue": oe[8] || (oe[8] = ve => P.bankbranchaddress = ve),
                    maxlength: "100"
                }, null, 8, Br), [
                    [we, P.bankbranchaddress, void 0, {
                        trim: !0
                    }]
                ])])) : g("v-if", !0), e("div", Ur, [e("button", {
                    class: le({
                        active: ne.value
                    }),
                    onClick: D
                }, t(Z.$t("save")), 3)])])) : (l(), d("div", Dr, [g("选择银行卡"), v(xt, {
                    bankList: b(x),
                    onOnSelectItem: C
                }, null, 8, ["bankList"])]))]), v(ar, {
                    modelValue: n.value,
                    "onUpdate:modelValue": oe[9] || (oe[9] = ve => n.value = ve),
                    list: m.value,
                    onChangeBank: fe
                }, null, 8, ["modelValue", "list"])], 64)
            }
        }
    });
const Rr = ae(Pr, [
        ["__scopeId", "data-v-1726638e"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/AddBankCard/index.vue"]
    ]),
    Hp = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: Rr
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    Or = {
        class: "addKBZ"
    },
    Mr = {
        class: "addKBZ-top"
    },
    Lr = ["src"],
    Vr = {
        class: "addKBZ-item"
    },
    qr = {
        class: "label"
    },
    jr = {
        class: "selectB"
    },
    zr = {
        class: "addKBZ-item"
    },
    Er = {
        class: "label"
    },
    Fr = ["placeholder", "readonly"],
    Hr = {
        class: "addKBZ-item"
    },
    xr = {
        class: "label"
    },
    Kr = ["placeholder"],
    Zr = te({
        __name: "index",
        setup(w) {
            const {
                iseditor: n,
                onInput: s,
                checkAccoutNo: _,
                onLoad: i,
                makeTxt: r
            } = Me(), {
                t: c
            } = me(), o = _e(), {
                setLoading: h
            } = Pe();
            let f = he([]);
            const a = k(""),
                {
                    isOpenWithdraw: m
                } = He(),
                u = he({
                    smsCode: "",
                    withdrawId: 8,
                    bankId: 0,
                    mobileNo: "",
                    beneficiaryName: "",
                    type: "",
                    codeType: Te.addKBZ
                }),
                A = j(() => !(u.mobileNo.trim().length == 0 || u.bankId == 0 || u.beneficiaryName.trim().length == 0));
            async function p() {
                const T = await Y(Fe({
                    withdrawid: 8
                }));
                T && (f = T.data.banklist, a.value = f.length > 0 ? f[0].bankName : "", u.bankId = f.length > 0 ? f[0].bankID : 0)
            }
            pe(async () => {
                await p()
            });
            const B = () => !A.value || !localStorage.getItem("numberType") ? !1 : u.bankId == 0 ? E({
                    message: c("addCardMsg1"),
                    wordBreak: "break-word"
                }) : u.beneficiaryName.toString().trim().length == 0 ? E({
                    message: c("phEnterName"),
                    wordBreak: "break-word"
                }) : u.mobileNo.toString().trim().length == 0 ? E({
                    message: c("addCardMsg4"),
                    wordBreak: "break-word"
                }) : _(u.mobileNo, c("tel") + c("formatErr")) ? it(localStorage.getItem("numberType"), u.mobileNo.trim().length) ? !0 : E({
                    message: c("wrongTel"),
                    wordBreak: "break-word"
                }) : void 0,
                I = xe({
                    content: () => v(Ke, {
                        type: u.type,
                        "onUpdate:type": T => u.type = T,
                        code: u.smsCode,
                        "onUpdate:code": T => u.smsCode = T,
                        onConfirm: N,
                        codeType: Te.addKBZ
                    }, null),
                    beforeClose: () => {
                        u.smsCode = ""
                    }
                });
            async function C() {
                if (B() === !0) {
                    if (u.smsCode = "", m.value) return I.open();
                    await N()
                }
            }
            async function N() {
                h(!0), await Y(rt(u)) && (I.close(), o.replace({
                    name: "Withdraw",
                    query: {
                        type: "Add"
                    },
                    replace: !0
                })), h(!1)
            }

            function z() {
                o.replace({
                    name: "Withdraw",
                    query: {
                        type: "Add"
                    }
                })
            }
            return i(u, "beneficiaryName"), (T, W) => {
                const x = O("NavBar"),
                    J = O("svg-icon");
                return l(), d("div", Or, [v(x, {
                    title: `${T.$t("addto")} KBZPay`,
                    "left-arrow": "",
                    onClickLeft: z
                }, null, 8, ["title"]), e("div", Mr, [e("img", {
                    src: b(ge)("wallet", "hint")
                }, null, 8, Lr), e("span", null, t(T.$t("WaveTip1")), 1)]), e("div", Vr, [e("div", qr, [v(J, {
                    name: "bank"
                }), L(" " + t(T.$t("bankname")), 1)]), e("div", jr, t(a.value), 1)]), e("div", zr, [e("div", Er, [v(J, {
                    name: "name"
                }), L(" " + t(T.$t("name")), 1)]), se(e("input", {
                    placeholder: T.$t("phEnterName"),
                    "onUpdate:modelValue": W[0] || (W[0] = U => u.beneficiaryName = U),
                    maxlength: "50",
                    onInput: W[1] || (W[1] = U => b(r)(u, "beneficiaryName")),
                    readonly: b(n)
                }, null, 40, Fr), [
                    [we, u.beneficiaryName, void 0, {
                        trim: !0
                    }]
                ])]), e("div", Hr, [e("div", xr, [v(J, {
                    name: "phone"
                }), L(" " + t(T.$t("tel")), 1)]), se(e("input", {
                    placeholder: T.$t("phEnterPayeeTel"),
                    "onUpdate:modelValue": W[2] || (W[2] = U => u.mobileNo = U),
                    maxlength: 12,
                    onInput: W[3] || (W[3] = U => b(s)(u, "mobileNo"))
                }, null, 40, Kr), [
                    [we, u.mobileNo, void 0, {
                        trim: !0
                    }]
                ])]), e("div", {
                    class: le(["addKBZ-btn", {
                        active: A.value
                    }]),
                    onClick: C
                }, t(T.$t("save")), 3)])
            }
        }
    });
const Gr = ae(Zr, [
        ["__scopeId", "data-v-ee22f671"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/AddKbz/index.vue"]
    ]),
    xp = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: Gr
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    Qr = w => (Ie("data-v-9694f22e"), w = w(), We(), w),
    Xr = {
        class: "addBankCard__container"
    },
    Yr = {
        class: "addBankCard__container-content"
    },
    Jr = {
        class: "addBankCard__container-content-top"
    },
    ed = {
        class: "addBankCard__container-content-top-item"
    },
    td = {
        class: "label"
    },
    ad = ["readonly", "placeholder"],
    nd = {
        class: "addBankCard__container-content-top-item"
    },
    od = Qr(() => e("div", {
        class: "label"
    }, "CPF", -1)),
    sd = ["readonly", "placeholder"],
    ld = {
        class: "addBankCard__container-content-top-item"
    },
    id = {
        class: "label"
    },
    rd = {
        class: "ar-searchbar"
    },
    dd = {
        class: "addBankCard__container-content-top-item"
    },
    cd = {
        class: "label"
    },
    ud = {
        class: "accountNo"
    },
    vd = {
        key: 0
    },
    pd = ["placeholder"],
    _d = ["placeholder"],
    md = {
        class: "addBankCard__container-content-btn"
    },
    hd = {
        class: "search"
    },
    wd = te({
        __name: "index",
        setup(w) {
            const {
                getSelfCustomerServiceLink: n
            } = Mt({
                ServerType: 2
            }), {
                t: s
            } = me(), {
                setLoading: _
            } = Pe(), i = _e(), r = k(""), c = k(!1), o = i.currentRoute.value.query.fromV || "Withdraw-PIX";

            function h() {
                i.replace({
                    name: o,
                    query: {
                        type: "Add"
                    }
                })
            }
            const {
                isOpenWithdraw: f
            } = He(), a = he({
                bankId: 0,
                accountNo: "",
                name: "",
                cpf: "",
                smsCode: "",
                type: "",
                codeType: Te.addPIX,
                pixType: ""
            }), m = k(localStorage.getItem("numberType")), u = k("");
            let A = k([]),
                p = he([]);
            const B = j(() => !(a.accountNo.trim().length == 0 || a.name.trim().length == 0 || a.cpf.trim().length == 0 || a.bankId == 0)),
                y = () => {
                    n()
                };

            function I(V) {
                V.preventDefault();
                const M = V.clipboardData.getData("text").replace(/[^\d]/g, "");
                V.target.value = M, V.target.id == "cpf" ? a.cpf = M : V.target.id == "accountNo" && (a.accountNo = M)
            }
            const C = () => {
                if (B.value) return a.name.trim().length == 0 ? E({
                    message: s("phEnterPayeeName"),
                    wordBreak: "break-word"
                }) : a.cpf.trim().length == 0 ? E({
                    message: s("enterCpf"),
                    wordBreak: "break-word"
                }) : P(a.cpf.trim()) ? a.bankId == 0 ? E({
                    message: s("tipsCpf2"),
                    wordBreak: "break-word"
                }) : a.accountNo.trim().length == 0 ? E({
                    message: s("tipsCpf3"),
                    wordBreak: "break-word"
                }) : (r.value.toUpperCase().indexOf("PHONE") != -1 || r.value.toUpperCase().indexOf("CPF") != -1) && a.accountNo.trim().length != 11 ? E({
                    message: s("tipsCpf4"),
                    wordBreak: "break-word"
                }) : r.value.toUpperCase().indexOf("CPF") != -1 && a.accountNo != a.cpf ? E({
                    message: s("pixTip1"),
                    wordBreak: "break-word"
                }) : ["EMALL", "EMAIL"].includes(r.value.toUpperCase()) && !Et.email1.test(a.accountNo.trim()) ? E({
                    message: s(Ft.email),
                    wordBreak: "break-word"
                }) : !0 : E({
                    message: s("tipsCpf1"),
                    wordBreak: "break-word"
                })
            };
            async function N() {
                if (C() === !0) {
                    if (a.smsCode = "", f.value) return X.open();
                    await z()
                }
            }
            async function z() {
                _(!0);
                let V = a;
                if (r.value.toUpperCase().indexOf("PHONE") != -1) {
                    const M = m.value + a.accountNo;
                    V = Object.assign({}, a, {
                        accountNo: M
                    })
                }
                await Y(Ua(V)) && (ze(s("addedSuccessfully")), X.close(), a.accountNo = "", await i.replace({
                    name: o,
                    query: {
                        type: "Add"
                    },
                    replace: !0
                })), _(!1)
            }
            const T = k(!0);
            async function W() {
                const V = await Y(Da());
                V && V.data != null ? (T.value = !0, a.name = V.data.realName, a.cpf = V.data.idCard) : T.value = !1
            }
            async function x() {
                const V = await Y(Fe({
                    withdrawid: 5
                }));
                V && (p = V.data.banklist, r.value = p.length > 0 ? p[0].bankName : "", a.bankId = p.length > 0 ? p[0].bankID : 0, A.value = p, J())
            }
            Ve(u, () => {
                p.length > 0 && (A.value = p.filter(V => V.bankName.toLowerCase().indexOf(u.value.toLowerCase()) !== -1))
            });

            function J() {
                a.accountNo = "", a.pixType = "", r.value.toUpperCase().indexOf("CPF") != -1 && (a.pixType = "cpf", a.cpf.trim().length != 0 && (a.accountNo = a.cpf))
            }
            Ve(c, () => {
                c.value && (u.value = "")
            });

            function U() {
                c.value = !0
            }
            const ie = ({
                selectedOptions: V
            }) => {
                c.value = !1, V[0] && (r.value = V[0].bankName, a.bankId = V[0].bankID, J())
            };

            function P(V) {
                if (V = V.replace(/[^\d]+/g, ""), V == "" || V.length != 11 || V == "00000000000" || V == "11111111111" || V == "22222222222" || V == "33333333333" || V == "44444444444" || V == "55555555555" || V == "66666666666" || V == "77777777777" || V == "88888888888" || V == "99999999999") return !1;
                let ne = 0;
                for (let D = 0; D < 9; D++) ne += parseInt(V.charAt(D)) * (10 - D);
                let M = 11 - ne % 11;
                if ((M == 10 || M == 11) && (M = 0), M != parseInt(V.charAt(9))) return !1;
                ne = 0;
                for (let D = 0; D < 10; D++) ne += parseInt(V.charAt(D)) * (11 - D);
                return M = 11 - ne % 11, (M == 10 || M == 11) && (M = 0), M == parseInt(V.charAt(10))
            }
            pe(async () => {
                await W(), await x()
            });
            const X = xe({
                content: () => v(Ke, {
                    type: a.type,
                    "onUpdate:type": V => a.type = V,
                    code: a.smsCode,
                    "onUpdate:code": V => a.smsCode = V,
                    onConfirm: z,
                    codeType: Te.addPIX
                }, null),
                beforeClose: () => {
                    a.smsCode = ""
                }
            });
            return (V, ne) => {
                const M = O("NavBar"),
                    D = O("svg-icon"),
                    q = O("ArSelect"),
                    H = O("van-picker"),
                    ue = O("van-popup");
                return l(), d("div", Xr, [v(M, {
                    title: V.$t("paymentMethod"),
                    "left-arrow": "",
                    onClickLeft: h
                }, null, 8, ["title"]), e("div", Yr, [e("h1", null, [v(D, {
                    name: "pix"
                }), L(t(V.$t("pixInfo")), 1)]), e("div", Jr, [e("div", ed, [e("div", td, t(V.$t("payeeName")), 1), se(e("input", {
                    readonly: T.value,
                    placeholder: V.$t("phEnterPayeeName"),
                    "onUpdate:modelValue": ne[0] || (ne[0] = S => a.name = S)
                }, null, 8, ad), [
                    [we, a.name]
                ])]), e("div", nd, [od, se(e("input", {
                    readonly: T.value,
                    placeholder: V.$t("enterCpf"),
                    "onUpdate:modelValue": ne[1] || (ne[1] = S => a.cpf = S),
                    maxlength: "11",
                    oninput: "value=value.replace(/\\D/g,'')",
                    onPaste: I,
                    id: "cpf"
                }, null, 40, sd), [
                    [we, a.cpf]
                ])]), e("div", ld, [e("div", id, t(V.$t("pixType")), 1), e("div", rd, [v(q, {
                    onClickSelect: U,
                    selectName: r.value
                }, null, 8, ["selectName"])])]), e("div", dd, [e("div", cd, t(V.$t("pixAccount")), 1), e("div", ud, [r.value.toUpperCase().indexOf("PHONE") != -1 ? (l(), d("div", vd, "+" + t(m.value), 1)) : g("v-if", !0), g("phone只能输入数字"), r.value.toUpperCase().indexOf("PHONE") != -1 || r.value.toUpperCase().indexOf("CPF") != -1 ? se((l(), d("input", {
                    key: 1,
                    placeholder: V.$t("enterPixAccount"),
                    "onUpdate:modelValue": ne[2] || (ne[2] = S => a.accountNo = S),
                    oninput: "value=value.replace(/\\D/g,'')",
                    maxlength: "11",
                    onPaste: I,
                    id: "accountNo"
                }, null, 40, pd)), [
                    [we, a.accountNo, void 0, {
                        trim: !0
                    }]
                ]) : se((l(), d("input", {
                    key: 2,
                    placeholder: V.$t("enterPixAccount"),
                    "onUpdate:modelValue": ne[3] || (ne[3] = S => a.accountNo = S),
                    oninput: "value=value.replace(/\\s+/g,'')",
                    maxlength: "40"
                }, null, 8, _d)), [
                    [we, a.accountNo, void 0, {
                        trim: !0
                    }]
                ])])])])]), e("div", md, [e("button", {
                    class: le({
                        active: B.value
                    }),
                    onClick: N
                }, t(V.$t("save")), 3), e("div", {
                    onClick: y
                }, [v(D, {
                    name: "iconservr-r"
                }), L(t(V.$t("withdrawDialogDesc5")), 1)])]), v(ue, {
                    show: c.value,
                    "onUpdate:show": ne[6] || (ne[6] = S => c.value = S),
                    round: "",
                    position: "bottom"
                }, {
                    default: K(() => [e("div", hd, [v(Ja, {
                        placeholder: V.$t("searchPixType"),
                        value: u.value,
                        "onUpdate:value": ne[4] || (ne[4] = S => u.value = S),
                        isShowClose: !0
                    }, null, 8, ["placeholder", "value"])]), v(H, {
                        "columns-field-names": {
                            text: "bankName",
                            value: "bankID",
                            children: "children"
                        },
                        columns: b(A),
                        onCancel: ne[5] || (ne[5] = S => c.value = !1),
                        onConfirm: ie
                    }, null, 8, ["columns"])]),
                    _: 1
                }, 8, ["show"])])
            }
        }
    });
const fd = ae(wd, [
        ["__scopeId", "data-v-9694f22e"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/AddPIX/index.vue"]
    ]),
    Kp = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: fd
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    yd = {
        class: "addtype4_C"
    },
    gd = {
        class: "addtype4_C-header"
    },
    kd = {
        class: "addtype4_C-title"
    },
    bd = {
        class: "selectB"
    },
    $d = {
        class: "addtype4_C-title"
    },
    Cd = {
        class: "successTip"
    },
    Td = te({
        __name: "index",
        setup(w) {
            const {
                t: n
            } = me(), s = _e(), {
                isOpenWithdraw: _
            } = He(), i = s.currentRoute.value.query.Type4name, r = k(!1), c = he({
                withdrawId: 22,
                mobileNo: "",
                bankId: "",
                smsCode: "",
                beneficiaryName: "",
                type: "",
                codeType: Te.addEWallet
            }), o = k({
                bankName: "",
                bankID: 0,
                reserved: ""
            });
            k(!1);
            const h = () => {
                    s.replace({
                        name: "Withdraw-RsnPay",
                        query: {
                            type: "Add",
                            Type4name: i
                        }
                    })
                },
                f = j(() => c.mobileNo);
            let a = k([]);
            async function m() {
                var I;
                const y = await Y(Fe({
                    withdrawid: 22
                }));
                y && (a.value = y.data.banklist, ((I = y == null ? void 0 : y.data) == null ? void 0 : I.banklist.length) > 0 && (o.value = y.data.banklist[0], c.bankId = y.data.banklist[0].bankID))
            }
            pe(async () => {
                await m()
            });
            const u = async () => {
                    await Y(rt(c)) && (ze(n("addedSuccessfully")), p.close(), s.replace({
                        name: "Withdraw",
                        query: {
                            bid: 0,
                            type: 22
                        }
                    }), s.replace({
                        name: "Withdraw-RsnPay",
                        query: {
                            type: "Add",
                            Type4name: i
                        }
                    }))
                },
                p = xe({
                    content: () => v(Ke, {
                        type: c.type,
                        "onUpdate:type": y => c.type = y,
                        code: c.smsCode,
                        "onUpdate:code": y => c.smsCode = y,
                        onConfirm: u,
                        codeType: Te.addEWallet
                    }, null),
                    beforeClose: () => {
                        c.smsCode = ""
                    }
                }),
                B = async () => {
                    if (_.value) return p.open();
                    await u()
                };
            return (y, I) => {
                const C = O("NavBar"),
                    N = O("van-field"),
                    z = O("van-toast");
                return l(), d(G, null, [e("div", yd, [v(C, {
                    title: b(i) + b(n)("paymentMethod"),
                    "left-arrow": "",
                    onClickLeft: h
                }, null, 8, ["title"]), e("div", gd, t(b(i)), 1), e("div", kd, t(y.$t("bankname")), 1), e("div", bd, t(o.value.bankName), 1), g(` <van-field
			class="addtype4-input"
			v-model="activeBink.bankName"
			:readonly="true"
			disabled
			:placeholder="$t('tipSelectPls')"
		/> `), e("div", $d, t(y.$t("walletAddress")), 1), v(N, {
                    class: "addtype4-input",
                    modelValue: c.mobileNo,
                    "onUpdate:modelValue": I[0] || (I[0] = T => c.mobileNo = T),
                    modelModifiers: {
                        trim: !0
                    },
                    placeholder: y.$t("phEnter") + y.$t("walletAddress")
                }, null, 8, ["modelValue", "placeholder"]), e("div", {
                    class: le(["sumbitBtn", {
                        disable: !f.value
                    }]),
                    onClick: B
                }, t(y.$t("save")), 3), v(z, {
                    show: r.value,
                    "onUpdate:show": I[1] || (I[1] = T => r.value = T)
                }, {
                    message: K(() => [e("div", Cd, [e("div", null, t(y.$t("addedSuccessfully")), 1)])]),
                    _: 1
                }, 8, ["show"])]), g(` <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 Nd = ae(Td, [
        ["__scopeId", "data-v-81838f32"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/AddRsnPay/index.vue"]
    ]),
    Zp = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: Nd
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    Sd = {
        class: "addtype4_C"
    },
    Id = {
        class: "addtype4_C-header"
    },
    Wd = {
        class: "addtype4_C-title"
    },
    Ad = {
        class: "addtype4_C-title"
    },
    Bd = {
        class: "selectB"
    },
    Ud = {
        class: "addtype4_C-title"
    },
    Dd = {
        class: "addtype4_C-title"
    },
    Pd = {
        class: "successTip"
    },
    Rd = te({
        __name: "index",
        setup(w) {
            const {
                iseditor: n,
                onLoad: s,
                makeTxt: _
            } = Me(), {
                t: i
            } = me(), r = _e(), {
                isOpenWithdraw: c
            } = He(), o = r.currentRoute.value.query.Type4name, h = Number(r.currentRoute.value.query.withdrawType), f = k(!1), a = he({
                withdrawId: h,
                mobileNo: "",
                bankId: "",
                smsCode: "",
                beneficiaryName: "",
                type: "",
                codeType: Te.addEWallet
            }), m = k({
                bankName: "",
                bankID: 0,
                reserved: ""
            }), u = k(!1), A = () => {
                r.replace({
                    name: "Withdraw-Type4",
                    query: {
                        type: "Add",
                        Type4name: o,
                        withdrawType: h
                    }
                })
            }, p = {
                text: "bankName",
                value: "bankID"
            }, B = j(() => a.mobileNo && a.bankId && a.beneficiaryName), y = {}.VITE_ADDTYPE4_ONLY_NUM === "1", I = j(() => y || [23, 24].includes(h) ? "digit" : "text");
            let C = k([]);
            async function N() {
                const F = await Y(Fe({
                    withdrawid: h
                }));
                F && (C.value = F.data.banklist, [23, 24].includes(h) && (m.value = F.data.banklist[0], a.bankId = F.data.banklist[0].bankID))
            }
            pe(async () => {
                await N()
            });
            const z = async () => {
                    await Y(rt({ ...a
                    })) && (ze(i("addedSuccessfully")), W.close(), r.replace({
                        name: "Withdraw-Type4",
                        query: {
                            type: "Add",
                            Type4name: o,
                            withdrawType: h
                        }
                    }))
                },
                W = xe({
                    content: () => v(Ke, {
                        type: a.type,
                        "onUpdate:type": F => a.type = F,
                        code: a.smsCode,
                        "onUpdate:code": F => a.smsCode = F,
                        onConfirm: z,
                        codeType: Te.addEWallet
                    }, null),
                    beforeClose: () => {
                        a.smsCode = ""
                    }
                }),
                x = F => {
                    let X = { ...F.selectedOptions[0]
                    };
                    m.value = X, a.bankId = X.bankID, u.value = !1
                };

            function J(F) {
                return /^[A-Za-z\d]{8,15}$/.test(F) ? !0 : (E({
                    message: i("account") + i("formatErr"),
                    wordBreak: "break-word"
                }), !1)
            }

            function U(F, X) {
                return /^[0-9]{8,15}$/.test(F) ? !0 : (E({
                    message: X,
                    wordBreak: "break-word"
                }), !1)
            }
            const ie = () => {
                    if (!(a.mobileNo.toString().trim().length > 0 && !(y ? U(a.mobileNo, i("account") + i("formatErr")) : J(a.mobileNo)))) return !0
                },
                P = async () => {
                    if (ie() === !0) {
                        if (c.value) return W.open();
                        await z()
                    }
                };
            return s(a, "beneficiaryName"), (F, X) => {
                const V = O("NavBar"),
                    ne = O("van-field"),
                    M = O("van-toast"),
                    D = O("van-picker"),
                    q = O("van-popup");
                return l(), d(G, null, [e("div", Sd, [v(V, {
                    title: b(o) + " " + b(i)("paymentMethod"),
                    "left-arrow": "",
                    onClickLeft: A
                }, null, 8, ["title"]), e("div", Id, t(b(o)), 1), b(h) == 4 ? (l(), d(G, {
                    key: 0
                }, [e("div", Wd, t(F.$t("selectType")), 1), v(ne, {
                    class: "addtype4-input",
                    modelValue: m.value.bankName,
                    "onUpdate:modelValue": X[0] || (X[0] = H => m.value.bankName = H),
                    readonly: !0,
                    "right-icon": "arrow-down",
                    placeholder: F.$t("tipSelectPls"),
                    onClick: X[1] || (X[1] = H => u.value = !0)
                }, null, 8, ["modelValue", "placeholder"])], 64)) : (l(), d(G, {
                    key: 1
                }, [e("div", Ad, t(F.$t("bankname")), 1), e("div", Bd, t(m.value.bankName), 1)], 64)), e("div", Ud, t(F.$t("name")), 1), v(ne, {
                    class: "addtype4-input",
                    modelValue: a.beneficiaryName,
                    "onUpdate:modelValue": X[2] || (X[2] = H => a.beneficiaryName = H),
                    maxlength: 50,
                    placeholder: F.$t("phEnter") + F.$t("name"),
                    onInput: X[3] || (X[3] = H => b(_)(a, "beneficiaryName")),
                    readonly: b(n)
                }, null, 8, ["modelValue", "placeholder", "readonly"]), e("div", Dd, t(F.$t("account")), 1), v(ne, {
                    class: "addtype4-input",
                    modelValue: a.mobileNo,
                    "onUpdate:modelValue": X[4] || (X[4] = H => a.mobileNo = H),
                    modelModifiers: {
                        trim: !0
                    },
                    maxlength: 15,
                    type: I.value,
                    placeholder: F.$t("phEnter") + F.$t("account")
                }, null, 8, ["modelValue", "type", "placeholder"]), e("div", {
                    class: le(["sumbitBtn", {
                        disable: !B.value
                    }]),
                    onClick: P
                }, t(F.$t("save")), 3), v(M, {
                    show: f.value,
                    "onUpdate:show": X[5] || (X[5] = H => f.value = H)
                }, {
                    message: K(() => [e("div", Pd, [e("div", null, t(F.$t("addedSuccessfully")), 1)])]),
                    _: 1
                }, 8, ["show"])]), v(q, {
                    show: u.value,
                    "onUpdate:show": X[7] || (X[7] = H => u.value = H),
                    round: "",
                    position: "bottom"
                }, {
                    default: K(() => [v(D, {
                        columns: b(C),
                        "columns-field-names": p,
                        onCancel: X[6] || (X[6] = H => u.value = !1),
                        onConfirm: x
                    }, null, 8, ["columns"])]),
                    _: 1
                }, 8, ["show"])], 64)
            }
        }
    });
const Od = ae(Rd, [
        ["__scopeId", "data-v-497422b6"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/AddType4/index.vue"]
    ]),
    Gp = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: Od
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    Md = {
        class: "addUSDT__container"
    },
    Ld = {
        class: "addUSDT__container-content"
    },
    Vd = {
        class: "addUSDT__container-content-top"
    },
    qd = ["src"],
    jd = {
        class: "addUSDT__container-content-item"
    },
    zd = {
        class: "label"
    },
    Ed = {
        class: "ar-searchbar"
    },
    Fd = {
        class: "addUSDT__container-content-item"
    },
    Hd = {
        class: "label"
    },
    xd = {
        class: "input"
    },
    Kd = ["placeholder", "maxlength"],
    Zd = {
        class: "addUSDT__container-content-item"
    },
    Gd = {
        class: "label"
    },
    Qd = ["placeholder"],
    Xd = {
        class: "addUSDT__container-content-btn"
    },
    Yd = te({
        __name: "index",
        setup(w) {
            const {
                t: n
            } = me(), {
                isOpenWithdraw: s
            } = He(), {
                setLoading: _
            } = Pe(), i = _e(), r = i.currentRoute.value.query.fromV || "Withdraw-USDT";

            function c() {
                i.replace({
                    name: r,
                    query: {
                        type: "Add"
                    }
                })
            }
            const o = k(!1);
            let h = he([]);
            async function f() {
                const W = await Y(Fe({
                    withdrawid: 3
                }));
                W && (h = W.data.banklist, a.value = h.length > 0 ? h[0].bankName : "", p.bankid = h.length > 0 ? h[0].bankID : 0)
            }
            const a = k(""),
                m = ({
                    selectedOptions: W
                }) => {
                    o.value = !1, a.value = W[0].bankName, p.bankid = W[0].bankID
                };

            function u() {
                o.value = !0
            }
            const A = j(() => a.value.toUpperCase().indexOf("TRC") != -1 ? 36 : a.value.toUpperCase().indexOf("ERC") != -1 ? 46 : 100),
                p = he({
                    withdrawid: 3,
                    bankid: 0,
                    usdtaddress: "",
                    smsCode: "",
                    usdtRemarkName: "",
                    type: "",
                    codeType: Te.addUSDT
                }),
                B = W => {
                    const x = W.target;
                    p.usdtaddress = x.value.replace(/[^\w\/]/ig, "")
                },
                y = j(() => !(p.usdtRemarkName.trim().length == 0 || p.bankid == 0 || p.usdtaddress.trim().length == 0)),
                I = () => {
                    if (y.value) return p.bankid == 0 ? E({
                        message: n("onConfirmMsg1"),
                        wordBreak: "break-word"
                    }) : p.usdtaddress.toString().trim().length == 0 ? E({
                        message: n("onConfirmMsg2"),
                        wordBreak: "break-word"
                    }) : p.usdtaddress.trim().length < 30 ? E({
                        message: n("onConfirmMsg4"),
                        wordBreak: "break-word"
                    }) : a.value.toUpperCase().indexOf("TRC") != -1 && (p.usdtaddress.trim().slice(0, 1) != "T" || p.usdtaddress.trim().length > 36) ? E({
                        message: n("onConfirmMsg5"),
                        wordBreak: "break-word"
                    }) : a.value.toUpperCase().indexOf("ERC") != -1 && (p.usdtaddress.trim().slice(0, 2) != "0x" || p.usdtaddress.trim().length > 46) ? E({
                        message: n("onConfirmMsg5"),
                        wordBreak: "break-word"
                    }) : p.usdtRemarkName.toString().trim().length == 0 ? E({
                        message: n("onConfirmMsg3"),
                        wordBreak: "break-word"
                    }) : !0
                };
            async function C() {
                if (I() !== !0) return;
                _(!0), await Y(Pa(p)) && (ze(n("addedSuccessfully")), z.close(), await i.replace({
                    name: r,
                    query: {
                        type: "Add"
                    },
                    replace: !0
                })), _(!1)
            }
            pe(async () => {
                await f()
            });
            const z = xe({
                content: () => v(Ke, {
                    type: p.type,
                    "onUpdate:type": W => p.type = W,
                    code: p.smsCode,
                    "onUpdate:code": W => p.smsCode = W,
                    onConfirm: C,
                    codeType: p.codeType
                }, null),
                beforeClose: () => {
                    p.smsCode = ""
                }
            });
            async function T() {
                if (p.smsCode = "", I() === !0) {
                    if (s.value) return z.open();
                    await C()
                }
            }
            return (W, x) => {
                const J = O("NavBar"),
                    U = O("svg-icon"),
                    ie = O("ArSelect"),
                    P = O("van-picker"),
                    F = O("van-popup");
                return l(), d("div", Md, [v(J, {
                    title: W.$t("titleAddUSDTAddr"),
                    "left-arrow": "",
                    onClickLeft: c
                }, null, 8, ["title"]), e("div", Ld, [e("div", Vd, [e("img", {
                    src: b(ge)("wallet", "hint")
                }, null, 8, qd), e("span", null, t(W.$t("tipBindUrOwnUSDEAddrForFundSafety")), 1)]), e("div", jd, [e("div", zd, [v(U, {
                    name: "usdt1",
                    class: "icon"
                }), L(" " + t(W.$t("selectMainNetwork")), 1)]), e("div", Ed, [v(ie, {
                    onClickSelect: u,
                    selectName: a.value
                }, null, 8, ["selectName"])])]), e("div", Fd, [e("div", Hd, [v(U, {
                    name: "usdt2",
                    class: "icon"
                }), L(" " + t(W.$t("usedAddr")), 1)]), e("div", xd, [se(e("input", {
                    placeholder: W.$t("phEnterUSDTAddr"),
                    maxlength: A.value,
                    "onUpdate:modelValue": x[0] || (x[0] = X => p.usdtaddress = X),
                    onInput: B
                }, null, 40, Kd), [
                    [we, p.usdtaddress]
                ])])]), e("div", Zd, [e("div", Gd, [v(U, {
                    name: "usdt3",
                    class: "icon"
                }), L(" " + t(W.$t("addressAlias")), 1)]), se(e("input", {
                    placeholder: W.$t("phEnterUSDTRemarks"),
                    maxlength: "20",
                    "onUpdate:modelValue": x[1] || (x[1] = X => p.usdtRemarkName = X)
                }, null, 8, Qd), [
                    [we, p.usdtRemarkName]
                ])]), e("div", Xd, [e("button", {
                    class: le({
                        active: y.value
                    }),
                    onClick: T
                }, t(W.$t("save")), 3)])]), v(F, {
                    show: o.value,
                    "onUpdate:show": x[3] || (x[3] = X => o.value = X),
                    round: "",
                    position: "bottom"
                }, {
                    default: K(() => [v(P, {
                        "columns-field-names": {
                            text: "bankName",
                            value: "bankID",
                            children: "children"
                        },
                        columns: b(h),
                        onCancel: x[2] || (x[2] = X => o.value = !1),
                        onConfirm: m
                    }, null, 8, ["columns"])]),
                    _: 1
                }, 8, ["show"])])
            }
        }
    });
const Jd = ae(Yd, [
        ["__scopeId", "data-v-24736190"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/AddUSDT/index.vue"]
    ]),
    Qp = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: Jd
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    tt = document.createElement("canvas"),
    Pt = tt.getContext("2d");
tt.width = 1920;
tt.height = 1080;
class ec extends Error {
    constructor() {
        super("can't process cross-origin image"), this.name = "DropImageFetchError"
    }
}
class tc extends Error {
    constructor() {
        super("drag-and-dropped file is not of type image and can't be decoded"), this.name = "DropImageDecodeError"
    }
}

function Kt(w, n, s) {
    let _, i;
    const r = new Promise((c, o) => {
        _ = c, i = o
    });
    return w.addEventListener(n, _), w.addEventListener(s, i), r.finally(() => {
        w.removeEventListener(n, _), w.removeEventListener(s, i)
    }), r
}

function ac(w, n, s) {
    const _ = Math.min(1, tt.width / n, tt.height / s),
        i = _ * n,
        r = _ * s;
    return Pt.drawImage(w, 0, 0, i, r), Pt.getImageData(0, 0, i, r)
}

function nc(w) {
    const n = w.naturalWidth,
        s = w.naturalHeight;
    return ac(w, n, s)
}
async function oc(w) {
    if (w.startsWith("http") && w.includes(location.host) === !1) throw new ec;
    const n = document.createElement("img");
    return n.src = w, await Kt(n, "load"), nc(n)
}
async function sc(w) {
    if (/image.*/.test(w.type)) {
        const n = new FileReader;
        n.readAsDataURL(w);
        const _ = (await Kt(n, "load")).target.result,
            i = await oc(_);
        return ha(i.data, i.width, i.height)
    } else throw new tc
}
const Zt = w => (Ie("data-v-8ced09ab"), w = w(), We(), w),
    lc = {
        class: "addupi_C"
    },
    ic = {
        class: "addupi_C-header wallet_18"
    },
    rc = Zt(() => e("div", {
        class: "addupi_C-title"
    }, "UPI Name", -1)),
    dc = {
        class: "addupi_C-title"
    },
    cc = {
        class: "addupi_C_number"
    },
    uc = {
        class: "tip"
    },
    vc = Zt(() => e("div", {
        class: "addupi_C-title"
    }, "UPI ID", -1)),
    pc = {
        key: 0,
        class: "addupi_C-title"
    },
    _c = {
        key: 1,
        class: "addupi_C-uploader"
    },
    mc = {
        class: "addupi_C-uploader-btn"
    },
    hc = {
        key: 2,
        class: "addupi_C-title"
    },
    wc = te({
        __name: "index",
        setup(w) {
            const n = _e(),
                s = De(),
                {
                    isOpenWithdraw: _
                } = He(),
                i = Oe(),
                r = k("91"),
                c = k(""),
                {
                    t: o
                } = me(),
                h = k(""),
                f = k([]),
                a = k(),
                m = j(() => n.currentRoute.value.query.bankCode || ""),
                {
                    iseditor: u,
                    onLoad: A,
                    makeTxt: p
                } = Me(),
                B = () => {
                    n.replace({
                        name: "Withdraw-Upi",
                        query: {
                            type: "Add",
                            bankCode: m.value,
                            bid: s.query.bid || ""
                        }
                    })
                },
                y = he({
                    beneficiaryName: "",
                    accountNo: "",
                    smsCode: "",
                    type: "",
                    bankCode: m.value,
                    categoryId: m.value ? 2 : null,
                    mobileNo: "",
                    codeType: Te.addNewUPI_N,
                    confirmAccountNo: ""
                }),
                C = xe({
                    content: () => m.value && i.getNeedKycValid ? v(dt, {
                        code: y.smsCode,
                        "onUpdate:code": M => y.smsCode = M,
                        mobile: y.mobileNo,
                        onConfirm: V,
                        bank: m.value,
                        upi: y.accountNo
                    }, null) : v(Ke, {
                        type: y.type,
                        "onUpdate:type": M => y.type = M,
                        code: y.smsCode,
                        "onUpdate:code": M => y.smsCode = M,
                        onConfirm: V,
                        codeType: y.codeType
                    }, null),
                    beforeClose: () => {
                        y.smsCode = ""
                    }
                }),
                N = M => (M.preventDefault(), !1);

            function z(M) {
                const D = M.target,
                    q = /[^0-9]/g;
                D.value = D.value.replace(q, "")
            }
            const T = M => {
                    y.accountNo = M.target.value.replace(/[\u4e00-\u9fa5]/g, "")
                },
                W = (M, D) => {
                    let q = "";
                    if (M.includes("://")) return q = new URL(M).searchParams.get("pa") || "", q === D; {
                        const H = M.match(/pa=([^&\s]+)/);
                        return q = H ? H[1] : "", q === D
                    }
                },
                x = async M => {
                    const D = f.value[0] || M,
                        q = y.accountNo || "";
                    if (!i.getNeedKycValid && !m.value) return !0;
                    if (!q) return E(o("phEnterUPIID"));
                    if (!D) return E(o("withdrawQrcodeTips"));
                    try {
                        const H = await sc(D.file);
                        return W(H.data, q.trim()) ? !0 : E(o("qrupiId"))
                    } catch {
                        return E(o("upiUploadImg"))
                    }
                },
                J = async M => typeof await x(M) == "boolean";

            function U(M) {
                var ue;
                const D = sessionStorage.getItem("areaPhoneLenList");
                let H = (ue = JSON.parse(D).find(S => M.indexOf(S.area.replace("+", "")) == 0)) == null ? void 0 : ue.area.replace("+", "");
                H && (r.value = H, c.value = M.substring(H.length))
            }
            const ie = j(() => y.beneficiaryName && y.accountNo && c && r),
                P = k(!1),
                F = async () => {
                    const M = await Y(Ra());
                    h.value = (M == null ? void 0 : M.data) || "", h.value != "" && U(h.value)
                },
                X = async () => {
                    if (!i.getNeedKycValid) return !1;
                    const M = await Y(Ma({
                        categoryId: 2,
                        accountNo: y.accountNo
                    }));
                    return M ? (M.data && E({
                        message: o("code254"),
                        wordBreak: "break-word"
                    }), M.data) : !1
                },
                V = async () => {
                    const {
                        confirmAccountNo: M,
                        ...D
                    } = y;
                    if (P.value) return;
                    P.value = !0;
                    const q = await Y(Oa(D));
                    P.value = !1, q && (ze(o("addedSuccessfully")), C.close(), await n.replace({
                        name: "Withdraw-Upi",
                        query: {
                            bankCode: m.value,
                            bid: s.query.bid || ""
                        }
                    }))
                };
            A(y, "beneficiaryName");
            const ne = 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 E(o("pphone"));
                if (!it(r.value, `${y.mobileNo}`.trim().length)) return E({
                    message: o("wrongTel"),
                    wordBreak: "break-word"
                });
                if (!M.test(y.accountNo)) return E(o("UPIID"));
                if (typeof await x() == "boolean" && !await X()) {
                    if (!M.test(y.confirmAccountNo) && !m.value) return E(o("confirmAccountNo"));
                    if (y.accountNo !== y.confirmAccountNo && !m.value) return E(o("UPIIDNotSame"));
                    if (m.value && i.getNeedKycValid || _.value) return C.open();
                    V()
                }
            };
            return wa(a, () => {
                a.value.close()
            }), F(), (M, D) => {
                const q = O("NavBar"),
                    H = O("svg-icon"),
                    ue = O("van-field"),
                    S = O("van-icon"),
                    Ae = O("van-uploader");
                return l(), d("div", lc, [v(q, {
                    title: `${b(et)(m.value)} ${M.$t("paymentMethod")}`,
                    "left-arrow": "",
                    onClickLeft: B
                }, null, 8, ["title"]), e("div", ic, [v(H, {
                    name: m.value || "upi"
                }, null, 8, ["name"]), L(t(M.$t("UPIInformation")), 1)]), rc, v(ue, {
                    class: "upi-input",
                    modelValue: y.beneficiaryName,
                    "onUpdate:modelValue": D[0] || (D[0] = fe => y.beneficiaryName = fe),
                    modelModifiers: {
                        trim: !0
                    },
                    maxlength: 30,
                    placeholder: M.$t("phEnterUPIName"),
                    readonly: b(u),
                    onInput: D[1] || (D[1] = fe => b(p)(y, "beneficiaryName")),
                    rules: [{
                        required: !0,
                        message: M.$t("phEnterUPIName")
                    }]
                }, null, 8, ["modelValue", "placeholder", "readonly", "rules"]), e("div", dc, t(M.$t("phoneN")), 1), e("div", cc, [v(ue, {
                    class: "upi-input number",
                    modelValue: y.mobileNo,
                    "onUpdate:modelValue": D[2] || (D[2] = fe => y.mobileNo = fe),
                    modelModifiers: {
                        number: !0,
                        trim: !0
                    },
                    type: "text",
                    onInput: z,
                    maxlength: b(La)(r.value),
                    placeholder: M.$t("plsEnterTel")
                }, null, 8, ["modelValue", "maxlength", "placeholder"])]), e("div", uc, [v(S, {
                    name: "warning-o",
                    size: "14"
                }), L(t(M.$t("upiTip1")), 1)]), vc, v(ue, {
                    class: "upi-input",
                    modelValue: y.accountNo,
                    "onUpdate:modelValue": D[3] || (D[3] = fe => y.accountNo = fe),
                    modelModifiers: {
                        trim: !0
                    },
                    maxlength: 30,
                    type: "text",
                    onInput: T,
                    placeholder: M.$t("phEnterUPIID")
                }, null, 8, ["modelValue", "placeholder"]), m.value ? (l(), d("div", pc, t(M.$t("withdrawQrcode")), 1)) : g("v-if", !0), m.value ? (l(), d("div", _c, [v(Ae, {
                    ref: "uploadRef",
                    "max-size": 5e3 * 1024,
                    accept: "image/*",
                    "after-read": J,
                    "preview-full-image": !1,
                    modelValue: f.value,
                    "onUpdate:modelValue": D[4] || (D[4] = fe => f.value = fe),
                    "max-count": 1,
                    onOversize: D[5] || (D[5] = () => b(pt)(M.$t("sellTip14")))
                }, {
                    default: K(() => [e("div", mc, [v(H, {
                        name: "uploadIcon"
                    }), e("span", null, t(f.value.length === 0 ? M.$t("uploadImage") : M.$t("changeImage")), 1)])]),
                    _: 1
                }, 8, ["modelValue"])])) : g("v-if", !0), m.value ? g("v-if", !0) : (l(), d("div", hc, t(M.$t("confirm")) + " UPI ID", 1)), m.value ? g("v-if", !0) : (l(), ke(ue, {
                    key: 3,
                    onPaste: N,
                    class: "upi-input",
                    modelValue: y.confirmAccountNo,
                    "onUpdate:modelValue": D[6] || (D[6] = fe => y.confirmAccountNo = fe),
                    modelModifiers: {
                        trim: !0
                    },
                    maxlength: 30,
                    type: "text",
                    placeholder: M.$t("phEnterUPIID")
                }, null, 8, ["modelValue", "placeholder"])), e("div", {
                    class: le(["bind-bank-sumbit", {
                        disable: !ie.value
                    }]),
                    onClick: ne
                }, t(M.$t("save")), 3)])
            }
        }
    });
const fc = ae(wc, [
        ["__scopeId", "data-v-8ced09ab"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/AddUpi/index.vue"]
    ]),
    Xp = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: fc
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    yc = {
        class: "addKBZ"
    },
    gc = {
        class: "addKBZ-top"
    },
    kc = ["src"],
    bc = {
        class: "addKBZ-item"
    },
    $c = {
        class: "label"
    },
    Cc = {
        class: "selectB"
    },
    Tc = {
        class: "addKBZ-item"
    },
    Nc = {
        class: "label"
    },
    Sc = ["placeholder", "readonly"],
    Ic = {
        class: "addKBZ-item"
    },
    Wc = {
        class: "label"
    },
    Ac = ["placeholder"],
    Bc = te({
        __name: "index",
        setup(w) {
            const {
                iseditor: n,
                onInput: s,
                checkAccoutNo: _,
                onLoad: i,
                makeTxt: r
            } = Me(), {
                t: c
            } = me(), o = _e(), {
                setLoading: h
            } = Pe(), {
                isOpenWithdraw: f
            } = He();
            let a = he([]);
            const m = k(""),
                u = he({
                    smsCode: "",
                    withdrawId: 6,
                    bankId: 0,
                    mobileNo: "",
                    beneficiaryName: "",
                    type: "",
                    codeType: Te.addWave
                }),
                A = j(() => !(u.mobileNo.trim().length == 0 || u.bankId == 0 || u.beneficiaryName.trim().length == 0)),
                p = () => u.bankId == 0 ? E({
                    message: c("addCardMsg1"),
                    wordBreak: "break-word"
                }) : u.beneficiaryName.toString().trim().length == 0 ? E({
                    message: c("phEnterName"),
                    wordBreak: "break-word"
                }) : u.mobileNo.toString().trim().length == 0 ? E({
                    message: c("addCardMsg4"),
                    wordBreak: "break-word"
                }) : _(u.mobileNo, c("tel") + c("formatErr")) ? it(localStorage.getItem("numberType"), u.mobileNo.trim().length) ? !0 : E({
                    message: c("wrongTel"),
                    wordBreak: "break-word"
                }) : void 0,
                y = xe({
                    content: () => v(Ke, {
                        type: u.type,
                        "onUpdate:type": T => u.type = T,
                        code: u.smsCode,
                        "onUpdate:code": T => u.smsCode = T,
                        onConfirm: C,
                        codeType: Te.addWave
                    }, null),
                    beforeClose: () => {
                        u.smsCode = ""
                    }
                });
            async function I() {
                if (!A.value) return !1;
                if (p() === !0) {
                    if (!localStorage.getItem("numberType")) return !1;
                    if (u.smsCode = "", f.value) return y.open();
                    await C()
                }
            }
            async function C() {
                h(!0), await Y(rt(u)) && (y.close(), o.replace({
                    name: "Withdraw",
                    query: {
                        type: "Add"
                    },
                    replace: !0
                })), h(!1)
            }
            async function N() {
                const T = await Y(Fe({
                    withdrawid: 6
                }));
                T && (a = T.data.banklist, m.value = a.length > 0 ? a[0].bankName : "", u.bankId = a.length > 0 ? a[0].bankID : 0)
            }
            N();

            function z() {
                o.replace({
                    name: "Withdraw",
                    query: {
                        type: "Add"
                    }
                })
            }
            return i(u, "beneficiaryName"), (T, W) => {
                const x = O("NavBar"),
                    J = O("svg-icon");
                return l(), d("div", yc, [v(x, {
                    title: T.$t("addWaveType"),
                    "left-arrow": "",
                    onClickLeft: z
                }, null, 8, ["title"]), e("div", gc, [e("img", {
                    src: b(ge)("wallet", "hint")
                }, null, 8, kc), e("span", null, t(T.$t("WaveTip1")), 1)]), e("div", bc, [e("div", $c, [v(J, {
                    name: "bankName"
                }), L(" " + t(T.$t("bankname")), 1)]), e("div", Cc, t(m.value), 1)]), e("div", Tc, [e("div", Nc, [v(J, {
                    name: "user"
                }), L(" " + t(T.$t("name")), 1)]), se(e("input", {
                    placeholder: T.$t("phEnterName"),
                    "onUpdate:modelValue": W[0] || (W[0] = U => u.beneficiaryName = U),
                    maxlength: "50",
                    onInput: W[1] || (W[1] = U => b(r)(u, "beneficiaryName")),
                    readonly: b(n)
                }, null, 40, Sc), [
                    [we, u.beneficiaryName, void 0, {
                        trim: !0
                    }]
                ])]), e("div", Ic, [e("div", Wc, [v(J, {
                    name: "phone"
                }), L(" " + t(T.$t("tel")), 1)]), se(e("input", {
                    placeholder: T.$t("phEnterPayeeTel"),
                    "onUpdate:modelValue": W[2] || (W[2] = U => u.mobileNo = U),
                    maxlength: 12,
                    type: "digit",
                    onInput: W[3] || (W[3] = U => b(s)(u, "mobileNo"))
                }, null, 40, Ac), [
                    [we, u.mobileNo, void 0, {
                        trim: !0
                    }]
                ])]), e("div", {
                    class: le(["addKBZ-btn", {
                        active: A.value
                    }]),
                    onClick: I
                }, t(T.$t("save")), 3)])
            }
        }
    });
const Uc = ae(Bc, [
        ["__scopeId", "data-v-8c64dafa"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/AddWave/index.vue"]
    ]),
    Yp = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: Uc
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    Gt = w => (Ie("data-v-9ed9b8ef"), w = w(), We(), w),
    Dc = {
        class: "bankCard__container"
    },
    Pc = {
        key: 0,
        class: "bankCard__container-content"
    },
    Rc = {
        class: "bankCard__container-content__card"
    },
    Oc = Gt(() => e("div", {
        class: "bankCard__container-content__card-top"
    }, null, -1)),
    Mc = {
        class: "bankCard__container-content__card-mid"
    },
    Lc = {
        class: "line"
    },
    Vc = {
        class: "left"
    },
    qc = {
        class: "right"
    },
    jc = {
        class: "line"
    },
    zc = {
        class: "left"
    },
    Ec = {
        class: "right"
    },
    Fc = {
        class: "line"
    },
    Hc = {
        class: "left"
    },
    xc = {
        class: "right"
    },
    Kc = {
        class: "line"
    },
    Zc = Gt(() => e("div", {
        class: "left"
    }, "IFSCode", -1)),
    Gc = {
        class: "right"
    },
    Qc = {
        key: 1,
        class: "bankCard__container-default"
    },
    Xc = te({
        __name: "index",
        setup(w) {
            const {
                setLoading: n
            } = Pe(), s = _e(), _ = Ye(), i = j(() => _.getWithdrawal), r = k(!1), c = j(() => _.getWithdrawal.bid.toString()), o = k([]);

            function h() {
                s.replace({
                    name: "Withdraw",
                    query: {
                        bid: c.value
                    }
                })
            }
            const f = he({
                bid: _.getWithdrawal.bid,
                withdrawid: _.getWithdrawal.type
            });

            function a(p) {
                s.replace({
                    name: "Withdraw",
                    query: {
                        bid: p.bid
                    }
                })
            }
            async function m() {
                r.value = !1, n(!0), await Y(Va(f)) && (f.bid == i.value.bid && (i.value.bid = 0), _.setWithdrawal({ ...i.value
                }), await A()), n(!1)
            }
            const u = he({
                withdrawid: _.getWithdrawal.type
            });
            async function A() {
                n(!0);
                const p = await Y(Xe(u));
                p && (o.value = p.data.withdrawalslist, p.data.withdrawalslist.length > 0 && _.getWithdrawal.bid == 0 || p.data.withdrawalslist.length == 1 ? i.value.bid = p.data.withdrawalslist[0].bid : p.data.withdrawalslist.length == 0 && (i.value.bid = 0), _.setWithdrawal({ ...i.value
                }), _.setWithdrawalslist(p.data.withdrawalslist)), n(!1)
            }
            return pe(async () => {
                s.currentRoute.value.query.type == "Add" ? await A() : o.value = _.getWithdrawalslist
            }), (p, B) => {
                const y = O("NavBar"),
                    I = O("van-radio"),
                    C = O("van-radio-group"),
                    N = Ee("lazy");
                return l(), d("div", Dc, [v(y, {
                    title: p.$t("bankCard"),
                    "left-arrow": "",
                    onClickLeft: h
                }, null, 8, ["title"]), o.value.length > 0 ? (l(), d("div", Pc, [(l(!0), d(G, null, $e(o.value, z => (l(), d("div", {
                    class: "bankCard__container-content__item",
                    key: z.bid
                }, [v(C, {
                    modelValue: c.value,
                    "onUpdate:modelValue": B[0] || (B[0] = T => c.value = T)
                }, {
                    default: K(() => [e("div", Rc, [Oc, e("div", Mc, [e("div", Lc, [e("div", Vc, t(p.$t("bankname")), 1), e("div", qc, t(z.bankName), 1)]), g(` <div class="line" v-if="item.beneficiaryName">
								<div class="left">{{ $t('payeename') }}</div>
								<div class="right">{{ item.beneficiaryName }}</div>
							</div> `), e("div", jc, [e("div", zc, t(p.$t("bankcardNo")), 1), e("div", Ec, t(z.accountNo), 1)]), e("div", Fc, [e("div", Hc, t(p.$t("tel")), 1), e("div", xc, t(z.mobileNo), 1)]), e("div", Kc, [Zc, e("div", Gc, t(z.ifsCode), 1)])]), e("div", null, [v(I, {
                        name: `${z.bid.toString()}`,
                        "icon-size": "18px",
                        onClick: T => a(z)
                    }, {
                        default: K(() => [L(t(p.$t("select")), 1)]),
                        _: 2
                    }, 1032, ["name", "onClick"])])])]),
                    _: 2
                }, 1032, ["modelValue"])]))), 128))])) : (l(), d("div", Qc, [v(at, null, {
                    text: K(() => [e("span", null, t(p.$t("noPaymentMethodsYet")), 1)]),
                    _: 1
                })])), v(ct, {
                    type: 1
                }), v(_t, {
                    show: r.value,
                    "onUpdate:show": B[2] || (B[2] = z => r.value = z),
                    onConfirm: m,
                    "show-cancel-btn": !0,
                    title: p.$t("tipCanNotRetrivedAfterDeleted"),
                    confirmText: p.$t("confirmDelete"),
                    cancelText: p.$t("cancel")
                }, {
                    content: K(() => [se(e("img", {
                        class: "dialog__content-bottom",
                        onClick: B[1] || (B[1] = z => r.value = !1)
                    }, null, 512), [
                        [N, b(lt)("main", "close")]
                    ])]),
                    _: 1
                }, 8, ["show", "title", "confirmText", "cancelText"])])
            }
        }
    });
const Yc = ae(Xc, [
        ["__scopeId", "data-v-9ed9b8ef"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/BankCard/index.vue"]
    ]),
    Jp = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: Yc
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    Jc = {
        class: "item"
    },
    eu = {
        key: 0,
        class: "line"
    },
    tu = te({
        __name: "progress",
        props: {
            state: {
                type: Number,
                required: !0
            },
            isAppealCompleted: {
                type: Boolean,
                required: !1
            }
        },
        setup(w) {
            const n = w,
                {
                    t: s
                } = me(),
                _ = [{
                    title: s("c2cState11"),
                    icon: "1"
                }, {
                    title: s("c2cState13"),
                    icon: "2"
                }, {
                    title: s("c2cTip30"),
                    icon: "3"
                }, {
                    title: s("c2cState4"),
                    icon: "4"
                }],
                i = [{
                    title: s("c2cTip32"),
                    icon: "1"
                }, {
                    title: s("c2cTip33"),
                    icon: "2"
                }, {
                    title: s("c2cState4"),
                    icon: "3"
                }],
                r = [{
                    title: s("c2cTip32"),
                    icon: "1"
                }, {
                    title: s("c2cTip33"),
                    icon: "2"
                }, {
                    title: s("c2cTip9"),
                    icon: "4"
                }],
                c = j(() => [1, 9, 11, 13].includes(n.state) ? _ : [3].includes(n.state) ? i : [5].includes(n.state) ? r : n.state == 4 ? n.isAppealCompleted ? i : _ : []);

            function o(h) {
                let f = [];
                switch (n.state) {
                    case 1:
                    case 9:
                        f = [!0, !0, !0, !1];
                        break;
                    case 4:
                        f = [!0, !0, !0, !0];
                        break;
                    case 11:
                        f = [!0, !1, !1, !1];
                        break;
                    case 13:
                        f = [!0, !0, !1, !1];
                        break;
                    case 3:
                        f = [!0, !0, !1];
                        break;
                    case 5:
                        f = [!0, !0, !0];
                        break
                }
                return f[h]
            }
            return (h, f) => c.value.length > 0 ? (l(), d("div", {
                key: 0,
                class: le(["progress", [`state_${h.state}`, {
                    isAppealCompleted: h.isAppealCompleted
                }]])
            }, [(l(!0), d(G, null, $e(c.value, (a, m) => (l(), d(G, null, [e("div", Jc, [e("span", {
                class: le(`icon${o(m)?a.icon+"_a":a.icon}`)
            }, null, 2), e("h6", null, t(a.title), 1)]), m < c.value.length - 1 ? (l(), d("div", eu)) : g("v-if", !0)], 64))), 256))], 2)) : g("v-if", !0)
        }
    });
const Qt = ae(tu, [
        ["__scopeId", "data-v-90f50022"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/progress.vue"]
    ]),
    au = w => (Ie("data-v-ced8750d"), w = w(), We(), w),
    nu = {
        class: "c2cDetail__CO"
    },
    ou = {
        class: "top"
    },
    su = {
        class: "container"
    },
    lu = {
        key: 0,
        class: "time"
    },
    iu = {
        key: 1,
        class: "time2"
    },
    ru = {
        class: "head"
    },
    du = {
        class: "tip2"
    },
    cu = {
        class: "tip2"
    },
    uu = {
        key: 0
    },
    vu = {
        key: 0,
        class: "operate"
    },
    pu = {
        class: "order-q"
    },
    _u = {
        class: "y"
    },
    mu = {
        class: "order-q"
    },
    hu = {
        class: "b"
    },
    wu = au(() => e("div", {
        class: "line"
    }, null, -1)),
    fu = {
        class: "tip"
    },
    yu = te({
        __name: "c2cDetailOther",
        props: {
            OrderDetail: {
                type: null,
                required: !0
            },
            orderNo: {
                type: String,
                required: !0
            }
        },
        emits: ["update:OrderDetail", "update:orderNo"],
        setup(w, {
            emit: n
        }) {
            const s = w,
                _ = _e(),
                {
                    t: i
                } = me(),
                {
                    OrderDetail: r,
                    orderNo: c
                } = ht(s, n),
                o = {
                    2: {
                        title: i("c2cState11"),
                        tip1: i("c2cWTip1"),
                        tip2: i("c2cWTip6"),
                        tip3: i("c2cTip31")
                    },
                    11: {
                        title: i("c2cState11"),
                        tip1: i("c2cWTip1"),
                        tip2: i("c2cWTip2"),
                        tip3: i("c2cWTip3")
                    },
                    12: {
                        title: i("c2cState11"),
                        tip1: i("c2cWTip1"),
                        tip2: i("c2cWTip2"),
                        tip3: i("c2cWTip3")
                    }
                },
                h = j(() => o[r.value.state]),
                f = () => {
                    _.go(-1)
                },
                a = k("00:00"),
                m = k(0),
                u = k(null),
                A = j(() => [11, 12].includes(r.value.state));
            Ve(() => r.value, T => {
                p(T)
            }, {
                immediate: !0
            });

            function p(T) {
                if (!A.value) return !1;
                const W = T.auditEndTime.replace(/-/g, "/"),
                    x = T.serviceTime.replace(/-/g, "/");
                m.value = new Date(x).getTime() - new Date(W).getTime(), clearInterval(u.value), I()
            }
            const B = T => {
                    const W = Math.floor(T / 36e5),
                        x = Math.floor((T - W * 36e5) / 6e4),
                        J = Math.floor((T - W * 36e5 - x * 6e4) / 1e3);
                    return `${W?W.toString().padStart(2,"0")+":":""}${x.toString().padStart(2,"0")}:${J.toString().padStart(2,"0")}`
                },
                y = k(5);

            function I() {
                u.value = setInterval(() => {
                    y.value--, m.value += 1e3, a.value = B(m.value), y.value == 0 && (C(r.value.orderNo), y.value = 5)
                }, 1e3)
            }
            const C = async T => {
                const W = await Y(jt({
                    orderNo: T
                }));
                W && (W.data.state == 2 && clearInterval(u.value), r.value = W.data)
            };
            async function N() {
                await Y(qa({
                    orderNo: r.value.orderNo
                })) && C(r.value.orderNo)
            }

            function z() {
                _.push({
                    name: "Withdraw-c2cCancelWithdrawal",
                    query: {
                        orderAmount: r.value.orderAmount,
                        sellerAccountNo: r.value.sellerAccountNo,
                        createTime: r.value.createTime,
                        orderNo: r.value.orderNo
                    }
                })
            }
            return wt(() => {
                clearInterval(u.value)
            }), (T, W) => {
                var J;
                const x = O("NavBar");
                return l(), d("div", nu, [e("div", ou, [v(x, {
                    title: h.value.title,
                    "left-arrow": "",
                    onClickLeft: f,
                    backgroundColor: "transparent"
                }, null, 8, ["title"]), g(" 进度条 "), v(Qt, {
                    state: (J = b(r)) == null ? void 0 : J.state
                }, null, 8, ["state"]), e("div", su, [A.value ? (l(), d("div", lu, [e("p", null, t(h.value.title), 1), e("div", null, [e("span", null, t(a.value), 1)])])) : g("v-if", !0), A.value ? g("v-if", !0) : (l(), d("div", iu, t(T.$t("c2cState2")), 1))]), e("div", ru, [e("div", du, t(h.value.tip2), 1), e("div", cu, [L(t(h.value.tip3), 1), A.value ? (l(), d("span", uu, t(b(r).matchTimeMinutes || 5) + t(T.$t("minute")), 1)) : g("v-if", !0)])]), A.value ? g("v-if", !0) : (l(), d("div", vu, [e("div", {
                    class: "CancelW",
                    onClick: z
                }, t(T.$t("concelOrder")), 1), e("div", {
                    class: "uAmount",
                    onClick: N
                }, t(T.$t("continueM")), 1)]))]), e("div", {
                    class: le(["order", ["bgc" + h.value.background]])
                }, [e("div", pu, [e("span", null, t(T.$t("withdrawalA")), 1), e("span", _u, t(b(re)(b(r).orderAmount)), 1)]), e("div", mu, [e("span", null, "UPI " + t(T.$t("account")), 1), e("span", hu, t(b(r).sellerAccountNo), 1)]), e("div", {
                    class: "order-id",
                    onClick: W[0] || (W[0] = U => b(je)(b(r).orderNo))
                }, [e("span", null, t(b(zt)(b(r).createTime, "yyyy-MM-dd")), 1), L(t(b(r).orderNo), 1)]), wu, e("div", fu, t(T.$t("c2cWTip4")), 1)], 2)])
            }
        }
    });
const gu = ae(yu, [
        ["__scopeId", "data-v-ced8750d"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Wallet/Withdraw/c2cDetailOther.vue"]
    ]),
    gt = w => (Ie("data-v-0f202033"), w = w(), We(), w),
    ku = {
        key: 0,
        class: "c2cDetail__C"
    },
    bu = {
        class: "title"
    },
    $u = {
        key: 0
    },
    Cu = {
        class: "tip1"
    },
    Tu = {
        key: 0,
        class: "tip2"
    },
    Nu = {
        key: 1
    },
    Su = {
        key: 0,
        class: "accountArry"
    },
    Iu = {
        class: "con"
    },
    Wu = {
        class: "order"
    },
    Au = {
        class: "order-h"
    },
    Bu = {
        class: "order-q y"
    },
    Uu = {
        key: 0,
        class: "order-q y"
    },
    Du = {
        key: 1,
        class: "order-q orange"
    },
    Pu = {
        class: "order-t"
    },
    Ru = {
        key: 2,
        class: "order-t"
    },
    Ou = gt(() => e("div", {
        class: "line"
    }, null, -1)),
    Mu = gt(() => e("span", null, "UTR", -1)),
    Lu = {
        key: 4,
        class: "order-tl"
    },
    Vu = {
        key: 0,
        class: "upi"
    },
    qu = {
        class: "upi-h"
    },
    ju = gt(() => e("span", null, "UPI", -1)),
    zu = {
        key: 1,
        class: "upi img"
    },
    Eu = {
        class: "upi-h"
    },
    Fu = {
        class: "imgBox"
    },
    Hu = ["onClick"],
    xu = {
        key: 2,
        class: "img"
    },
    Ku = {
        class: "imgBox"
    },
    Zu = ["onClick"],
    Gu = {
        key: 3,
        class: "img video"
    },
    Qu = {
        class: "v",
        controls: ""
    },
    Xu = ["src"],
    Yu = ["src"],
    Ju = ["src"],
    ev = te({
        __name: "index",
        setup(w) {
            var M;
            const {
                t: n
            } = me(), s = _e(), _ = De(), i = Oe(), 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
                }
            }, c = k(0), o = k("00:00"), h = k(null), f = k(null), a = k({
                id: 0,
                orderNo: "",
                type: 0,
                withdrawName: "",
                createTime: "",
                orderAmount: 0,
                realAmount: 0,
                discountAmount: 0,
                serviceAmount: 0,
                state: Number(((M = _.query) == null ? void 0 : M.state) || 0),
                cancelReasonId: 0,
                reasonText: "",
                remark: "",
                transactionNo: "",
                sellerAccountNo: "",
                rechargeFinishTime: ""
            }), m = k(""), u = j(() => r[a.value.state]), A = j(() => a.value.state == 10), p = j(() => [9].includes(a.value.state)), B = j(() => [1, 9, 3].includes(a.value.state)), y = j(() => [2, 11, 12].includes(a.value.state)), I = j(() => [5, 6, 7, 14].includes(a.value.state));
            Ve(() => a.value.state, D => {
                T()
            }, {
                deep: !0
            });
            const C = () => {
                s.back()
            };

            function N(D, q) {
                if (!D) return;
                let H;
                return q ? H = JSON.parse(D).filter(ue => ue.fileType == q) : H = JSON.parse(D), H.length == 0 ? !1 : H.map(ue => (ue.fileUrl = i.ossUrl + "/" + ue.fileUrl, ue))
            }
            const z = async D => {
                const q = await Y(jt({
                    orderNo: D
                }));
                q && (a.value = q.data)
            };

            function T() {
                var D;
                if ([1, 13].includes(a.value.state)) {
                    const q = (D = a.value) == null ? void 0 : D.serviceTime.replace(/-/g, "/");
                    if (a.value.state == 1) {
                        const H = a.value.confrimEndTime.replace(/-/g, "/");
                        c.value = new Date(H).getTime() - new Date(q).getTime()
                    } else if (a.value.state == 13) {
                        const H = a.value.matchOutTime.replace(/-/g, "/");
                        c.value = new Date(H).getTime() - new Date(q).getTime()
                    }
                    clearInterval(h.value), ie()
                } 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(f.value), P()) : clearInterval(f.value), a.value.state === 3 && X()
            }
            const W = async D => {
                    await Y(ja({
                        orderNo: D
                    })), z(D)
                },
                x = async D => {
                    await Y(za({
                        orderNo: D
                    })), z(D)
                },
                J = D => {
                    const q = Math.floor(D / 36e5),
                        H = Math.floor((D - q * 36e5) / 6e4),
                        ue = Math.floor((D - q * 36e5 - H * 6e4) / 1e3);
                    return `${q?q.toString().padStart(2,"0")+":":""}${H.toString().padStart(2,"0")}:${ue.toString().padStart(2,"0")}`
                },
                U = k(5);

            function ie() {
                h.value = setInterval(() => {
                    U.value--, c.value > 0 ? (c.value -= 1e3, o.value = J(c.value)) : o.value = "00:00", U.value == 0 && (z(m.value), U.value = 5)
                }, 1e3)
            }

            function P() {
                f.value = setInterval(() => {
                    z(m.value)
                }, 5e3)
            }
            const F = () => {
                    Tawk_API.toggle(), window.Tawk_API.setAttributes({
                        order: m.value,
                        store: "withdraw"
                    }, function(D) {})
                },
                X = () => {
                    let D = "https://embed.tawk.to/6452138631ebfa0fe7fbb175/1hb0ug9qm";
                    if (!document.getElementById("tawk-chatjs")) {
                        var q = document.createElement("script"),
                            H = document.getElementsByTagName("script")[0];
                        q.async = !0, q.src = D, q.charset = "UTF-8", q.setAttribute("crossorigin", "*"), q.id = "tawk-chatjs", H.parentNode.insertBefore(q, H)
                    }
                };

            function V() {
                s.push({
                    name: "Withdraw-c2cWrongAmount",
                    query: {
                        orderNo: m.value
                    }
                })
            }

            function ne(D) {
                ya({
                    images: [D],
                    closeable: !0
                })
            }
            return pe(() => {
                var D, q;
                m.value = localStorage.getItem("c2cOrderNo") || ((q = (D = _.query) == null ? void 0 : D.order) == null ? void 0 : q.toString()) || "", z(m.value)
            }), fa(() => {}), wt(() => {
                clearInterval(h.value), clearInterval(f.value)
            }), (D, q) => {
                var ue, S, Ae, fe, ce, Z, oe, Be, be, Se, ve, Le, Re, Ge, Ne;
                const H = O("NavBar");
                return y.value ? (l(), d(G, {
                    key: 1
                }, [a.value.orderNo != "" ? (l(), ke(gu, {
                    key: 0,
                    orderNo: m.value,
                    "onUpdate:orderNo": q[7] || (q[7] = de => m.value = de),
                    OrderDetail: a.value,
                    "onUpdate:OrderDetail": q[8] || (q[8] = de => a.value = de)
                }, null, 8, ["orderNo", "OrderDetail"])) : g("v-if", !0)], 64)) : (l(), d("div", ku, [e("div", {
                    class: le(["header", ["bgc" + u.value.background]])
                }, [v(H, {
                    title: "",
                    "left-arrow": "",
                    onClickLeft: C,
                    backgroundColor: "transparent"
                }), e("div", {
                    class: le(["head", ["hicon" + u.value.icon]])
                }, [e("div", bu, [L(t(u.value.title) + " ", 1), [1, 13].includes(a.value.state) ? (l(), d("span", $u, t(o.value), 1)) : g("v-if", !0)]), e("div", Cu, t(u.value.tip1), 1), u.value.tip2 ? (l(), d("div", Tu, t(u.value.tip2), 1)) : g("v-if", !0), B.value ? (l(), d("div", Nu, t(D.$t("c2cTip23")), 1)) : g("v-if", !0)], 2), B.value ? (l(), d("div", Su, [e("div", {
                    class: "account btn",
                    onClick: q[0] || (q[0] = de => W(a.value.orderNo))
                }, t(D.$t("confirmTheAccount")), 1), p.value ? (l(), d("div", {
                    key: 0,
                    class: "appeal btn",
                    onClick: q[1] || (q[1] = de => x(a.value.orderNo))
                }, t(D.$t("appeal")), 1)) : g("v-if", !0), a.value.state == 3 ? (l(), d("div", {
                    key: 1,
                    class: "appeal btn",
                    onClick: q[2] || (q[2] = de => F())
                }, t(D.$t("AppealsAdmin")), 1)) : g("v-if", !0), a.value.state == 1 ? (l(), d("div", {
                    key: 2,
                    class: "wrong btn",
                    onClick: q[3] || (q[3] = de => V())
                }, t(D.$t("c2cState14")), 1)) : g("v-if", !0)])) : g("v-if", !0)], 2), e("div", Iu, [g(" 进度条 "), v(Qt, {
                    state: (ue = a.value) == null ? void 0 : ue.state,
                    isAppealCompleted: (S = a.value) == null ? void 0 : S.isAppealCompleted
                }, null, 8, ["state", "isAppealCompleted"]), e("div", Wu, [e("div", Au, "New UPI " + t(D.$t("withdraw")), 1), e("div", Bu, [e("span", null, t(D.$t("orderAmount")), 1), L(t(b(re)(a.value.orderAmount)), 1)]), [4, 14].includes(a.value.state) ? (l(), d("div", Uu, [e("span", null, t(D.$t("actualAmount")), 1), L(t(b(re)(a.value.realAmount)), 1)])) : g("v-if", !0), I.value ? g("v-if", !0) : (l(), d("div", Du, [e("span", null, t(D.$t("award")), 1), L(t(b(re)(a.value.discountAmount)), 1)])), e("div", Pu, [e("span", null, t(D.$t("orderTime")), 1), L(t(a.value.createTime), 1)]), a.value.state == 14 ? (l(), d("div", Ru, [e("span", null, t(D.$t("c2cTip47")), 1), L(t(a.value.lastUpdateTime), 1)])) : g("v-if", !0), Ou, A.value ? g("v-if", !0) : (l(), d("div", {
                    key: 3,
                    class: "order-id",
                    onClick: q[4] || (q[4] = de => b(je)(a.value.transactionNo))
                }, [Mu, L(t(a.value.transactionNo), 1)])), e("div", {
                    class: "order-id",
                    onClick: q[5] || (q[5] = de => b(je)(a.value.orderNo))
                }, [e("span", null, t(D.$t("orderNo")), 1), L(t(a.value.orderNo), 1)]), A.value ? g("v-if", !0) : (l(), d("div", Lu, [e("span", null, t(D.$t("PaymentTime")), 1), L(t(a.value.rechargeFinishTime), 1)]))]), A.value ? g("v-if", !0) : (l(), d("div", Vu, [e("div", qu, t(D.$t("information")), 1), e("div", {
                    class: "upi-id",
                    onClick: q[6] || (q[6] = de => b(je)(a.value.sellerAccountNo))
                }, [ju, L(t(a.value.sellerAccountNo), 1)])])), [5, 1, 9, 3, 4, 6].includes(a.value.state) && ((Ae = a.value) != null && Ae.rechargeOssUrls) ? (l(), d("div", zu, [e("div", Eu, t(D.$t("c2cTip50")), 1), e("div", Fu, [(l(!0), d(G, null, $e(N((fe = a.value) == null ? void 0 : fe.rechargeOssUrls), (de, Ce) => (l(), d("div", {
                    class: "imgD",
                    key: Ce,
                    style: At(`background-image: url('${de==null?void 0:de.fileUrl}');`),
                    onClick: qe => ne(de == null ? void 0 : de.fileUrl)
                }, null, 12, Hu))), 128))])])) : g("v-if", !0), ((ce = a.value) == null ? void 0 : ce.state) == 14 && ((Z = a.value) != null && Z.ossUrls) ? (l(), d("div", xu, [e("h1", null, t(D.$t("c2cTip48")), 1), e("div", Ku, [(l(!0), d(G, null, $e(N((oe = a.value) == null ? void 0 : oe.ossUrls, 1), (de, Ce) => (l(), d("div", {
                    class: "imgD",
                    key: Ce,
                    style: At(`background-image: url('${de==null?void 0:de.fileUrl}');`),
                    onClick: qe => ne(de == null ? void 0 : de.fileUrl)
                }, null, 12, Zu))), 128))])])) : g("v-if", !0), ((Be = a.value) == null ? void 0 : Be.state) == 14 && N((be = a.value) == null ? void 0 : be.ossUrls, 2) ? (l(), d("div", Gu, [e("h1", null, t(D.$t("c2cTip49")), 1), e("video", Qu, [e("source", {
                    src: (ve = N((Se = a.value) == null ? void 0 : Se.ossUrls, 2)[0]) == null ? void 0 : ve.fileUrl,
                    type: "video/ogg"
                }, null, 8, Xu), e("source", {
                    src: (Re = N((Le = a.value) == null ? void 0 : Le.ossUrls, 2)[0]) == null ? void 0 : Re.fileUrl,
                    type: "video/mp4"
                }, null, 8, Yu), e("source", {
                    src: (Ne = N((Ge = a.value) == null ? void 0 : Ge.ossUrls, 2)[0]) == null ? void 0 : Ne.fileUrl,
                    type: "video/webm"
                }, null, 8, Ju)])])) : g("v-if", !0)])]))
            }
        }
    });
const tv = ae(ev, [
        ["__scopeId", "data-v-0f202033"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/C2cDetail/index.vue"]
    ]),
    e_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: tv
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    av = {
        class: "bankCard__container"
    },
    nv = {
        key: 0,
        class: "bankCard__container-content"
    },
    ov = {
        class: "bankCard__container-content__card"
    },
    sv = {
        class: "bankCard__container-content__card-top ar-1px-b"
    },
    lv = ["src"],
    iv = {
        class: "bankCard__container-content__card-mid"
    },
    rv = {
        class: "line"
    },
    dv = {
        class: "line"
    },
    cv = {
        class: "line"
    },
    uv = {
        key: 1,
        class: "bankCard__container-default"
    },
    vv = te({
        __name: "index",
        setup(w) {
            const {
                setLoading: n
            } = Pe(), s = _e();
            De();
            const _ = Ye(),
                i = j(() => _.getWithdrawal);
            k(!1);
            const r = j(() => _.getWithdrawal.bid.toString()),
                c = k([]);

            function o() {
                s.replace({
                    name: "Withdraw",
                    query: {
                        bid: r.value
                    }
                })
            }
            const h = he({
                bid: _.getWithdrawal.bid,
                withdrawid: 5
            });

            function f(u) {
                s.replace({
                    name: "Withdraw",
                    query: {
                        bid: u.bid
                    }
                })
            }
            const a = he({
                withdrawid: 5
            });
            async function m() {
                n(!0);
                const u = await Y(Xe(a));
                u && (c.value = u.data.withdrawalslist, u.data.withdrawalslist.length > 0 && _.getWithdrawal.bid == 0 || u.data.withdrawalslist.length == 1 ? i.value.bid = u.data.withdrawalslist[0].bid : u.data.withdrawalslist.length == 0 && (i.value.bid = 0), _.setWithdrawal({ ...i.value
                }), _.setWithdrawalslist(u.data.withdrawalslist)), n(!1)
            }
            return pe(async () => {
                s.currentRoute.value.query.type == "Add" ? await m() : c.value = _.getWithdrawalslist
            }), (u, A) => {
                const p = O("NavBar"),
                    B = O("van-radio"),
                    y = O("van-radio-group");
                return l(), d("div", av, [v(p, {
                    title: u.$t("paymentMethod"),
                    "left-arrow": "",
                    onClickLeft: o
                }, null, 8, ["title"]), c.value.length > 0 ? (l(), d("div", nv, [(l(!0), d(G, null, $e(c.value, (I, C) => (l(), d("div", {
                    class: "bankCard__container-content__item",
                    key: I.bid
                }, [v(y, {
                    modelValue: r.value,
                    "onUpdate:modelValue": A[0] || (A[0] = N => r.value = N)
                }, {
                    default: K(() => [e("div", ov, [e("div", sv, [e("div", null, [e("img", {
                        src: b(ge)("wallet/withdrawType", `${h.withdrawid}`)
                    }, null, 8, lv), L(" " + t(u.$t("paymentMethodOfPix")), 1)]), e("div", null, [v(B, {
                        name: `${I.bid.toString()}`,
                        "icon-size": "22px",
                        onClick: N => f(I)
                    }, null, 8, ["name", "onClick"])])]), e("div", iv, [e("div", rv, t(I.beneficiaryName), 1), e("div", dv, t(I.accountNo), 1), e("div", cv, t(I.bankName), 1)]), g(` <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))])) : (l(), d("div", uv, [v(at, null, {
                    text: K(() => [e("span", null, t(u.$t("noPaymentMethodsYet")), 1)]),
                    _: 1
                })])), v(ct, {
                    type: 5
                }), g(` <Dialog
			v-model:show="delelteDialogShow"
			@confirm="onDelete"
			:show-cancel-btn="true"
			:title="$t('tipCanNotRetrivedAfterDeleted')"
			:confirmText="$t('confirmDelete')"
			:cancelText="$t('cancel')"
		>
			<template #header>
				<img v-lazy="getIconsPublic('common', 'warn')" />
			</template>
			<template #content>
				<img v-lazy="getIconsPublic('common', 'closeGrey')" class="dialog__content-bottom" @click="delelteDialogShow = false" />
			</template>
		</Dialog> `)])
            }
        }
    });
const pv = ae(vv, [
        ["__scopeId", "data-v-abf3326c"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/PIX/index.vue"]
    ]),
    t_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: pv
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    _v = w => (Ie("data-v-290c4222"), w = w(), We(), w),
    mv = {
        class: "type4_C"
    },
    hv = {
        class: "type4_C-list"
    },
    wv = {
        class: "header-title"
    },
    fv = ["onClick"],
    yv = {
        key: 0,
        xmlns: "http://www.w3.org/2000/svg",
        width: "60",
        height: "60",
        viewBox: "0 0 60 60",
        fill: "none"
    },
    gv = _v(() => 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)),
    kv = [gv],
    bv = {
        class: "type4-body"
    },
    $v = {
        class: "type4-body-id"
    },
    Cv = {
        key: 1,
        class: "noData"
    },
    Tv = te({
        __name: "index",
        setup(w) {
            const n = _e(),
                s = De(),
                _ = n.currentRoute.value.query.Type4name,
                i = k([]),
                r = k(null),
                c = () => {
                    const m = i.value.find(u => {
                        u.bid == r.value
                    }) ? r.value : 0;
                    n.replace({
                        name: "Withdraw",
                        query: {
                            bid: m,
                            type: 22
                        }
                    })
                },
                o = a => {
                    n.replace({
                        name: "Withdraw",
                        query: {
                            bid: a,
                            type: 22
                        }
                    })
                },
                h = async () => {
                    n.replace({
                        name: "Withdraw-AddRsnPay",
                        query: {
                            Type4name: _
                        }
                    })
                },
                f = async () => {
                    var m;
                    const a = await Y(Xe({
                        withdrawid: 22
                    }));
                    a && (i.value = ((m = a.data) == null ? void 0 : m.withdrawalslist) || [])
                };
            return pe(() => {
                r.value = s.query.bid || 0, f()
            }), (a, m) => {
                const u = O("NavBar"),
                    A = Ee("throttle-click");
                return l(), d("div", mv, [v(u, {
                    title: b(_) + a.$t("paymentMethod"),
                    "left-arrow": "",
                    onClickLeft: c
                }, null, 8, ["title"]), e("div", hv, [i.value.length ? (l(!0), d(G, {
                    key: 0
                }, $e(i.value, (p, B) => (l(), d("div", {
                    key: B,
                    class: "type4_C-item"
                }, [e("div", {
                    class: le(["header", `${p.walletName}`])
                }, [e("div", wv, t(p.bankName), 1), e("div", {
                    class: le(["select-btn", {
                        isSelect: p.bid == r.value
                    }]),
                    onClick: y => o(p.bid)
                }, [p.bid == r.value ? (l(), d("svg", yv, kv)) : g("v-if", !0)], 10, fv)], 2), e("div", bv, [e("div", $v, t(p.mobileNo), 1)])]))), 128)) : se((l(), d("div", Cv, [L(t(a.$t("upiAddPaymentMethod")), 1)])), [
                    [A, {
                        handler: h,
                        wait: 1e3
                    }]
                ])])])
            }
        }
    });
const Nv = ae(Tv, [
        ["__scopeId", "data-v-290c4222"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/RsnPay/index.vue"]
    ]),
    a_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: Nv
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    Sv = w => (Ie("data-v-8da75fee"), w = w(), We(), w),
    Iv = {
        class: "type4_C"
    },
    Wv = {
        class: "type4_C-list"
    },
    Av = {
        class: "header-title"
    },
    Bv = ["onClick"],
    Uv = {
        key: 0,
        xmlns: "http://www.w3.org/2000/svg",
        width: "60",
        height: "60",
        viewBox: "0 0 60 60",
        fill: "none"
    },
    Dv = Sv(() => 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)),
    Pv = [Dv],
    Rv = {
        class: "type4-body"
    },
    Ov = {
        class: "type4-body-name"
    },
    Mv = {
        class: "type4-body-id"
    },
    Lv = {
        key: 1,
        class: "noData"
    },
    Vv = {
        class: "type4_C-addbtn"
    },
    qv = te({
        __name: "index",
        setup(w) {
            const n = _e(),
                s = De(),
                _ = n.currentRoute.value.query.Type4name,
                i = Number(n.currentRoute.value.query.withdrawType),
                r = k([]),
                c = k(null),
                o = () => {
                    const u = r.value.find(A => {
                        A.bid == c.value
                    }) ? c.value : 0;
                    n.replace({
                        name: "Withdraw",
                        query: {
                            bid: u,
                            type: i
                        }
                    })
                },
                h = m => {
                    n.replace({
                        name: "Withdraw",
                        query: {
                            bid: m,
                            type: i
                        }
                    })
                },
                f = async () => {
                    n.replace({
                        name: "Withdraw-AddType4",
                        query: {
                            Type4name: _,
                            withdrawType: i
                        }
                    })
                },
                a = async () => {
                    var u;
                    const m = await Y(Xe({
                        withdrawid: i
                    }));
                    m && (r.value = ((u = m.data) == null ? void 0 : u.withdrawalslist) || [])
                };
            return pe(() => {
                c.value = s.query.bid || 0, a()
            }), (m, u) => {
                const A = O("NavBar"),
                    p = Ee("throttle-click");
                return l(), d("div", Iv, [v(A, {
                    title: b(_) + m.$t("paymentMethod"),
                    "left-arrow": "",
                    onClickLeft: o
                }, null, 8, ["title"]), e("div", Wv, [r.value.length ? (l(!0), d(G, {
                    key: 0
                }, $e(r.value, (B, y) => (l(), d("div", {
                    key: y,
                    class: "type4_C-item"
                }, [e("div", {
                    class: le(["header", `${B.walletName}`])
                }, [e("div", Av, t(B.walletName), 1), e("div", {
                    class: le(["select-btn", {
                        isSelect: B.bid == c.value
                    }]),
                    onClick: I => h(B.bid)
                }, [B.bid == c.value ? (l(), d("svg", Uv, Pv)) : g("v-if", !0)], 10, Bv)], 2), e("div", Rv, [e("div", Ov, t(B.beneficiaryName), 1), e("div", Mv, t(B.mobileNO), 1)])]))), 128)) : se((l(), d("div", Lv, [L(t(m.$t("upiAddPaymentMethod")), 1)])), [
                    [p, {
                        handler: f,
                        wait: 1e3
                    }]
                ])]), se((l(), d("div", Vv, [L(t(m.$t("upiAddPaymentMethod")), 1)])), [
                    [p, {
                        handler: f,
                        wait: 1e3
                    }]
                ])])
            }
        }
    });
const jv = ae(qv, [
        ["__scopeId", "data-v-8da75fee"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/Type4/index.vue"]
    ]),
    n_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: jv
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    zv = {
        class: "USDT__container"
    },
    Ev = {
        key: 0,
        class: "USDT__container-content"
    },
    Fv = {
        class: "USDT__container-content__card"
    },
    Hv = {
        class: "USDT__container-content__card-top"
    },
    xv = {
        class: "USDT__container-content__card-mid ar-1px-b"
    },
    Kv = {
        key: 1,
        class: "USDT__container-default"
    },
    Zv = te({
        __name: "index",
        setup(w) {
            const {
                setLoading: n
            } = Pe(), {
                getUserInfo: s
            } = ft(), _ = Vt();
            s({
                signature: _.token
            });
            const i = _e(),
                r = Ye(),
                c = r.getWithdrawal;
            k(!1);
            const o = j(() => r.getWithdrawal.bid.toString()),
                h = k([]);
            he({
                bid: r.getWithdrawal.bid,
                withdrawid: r.getWithdrawal.type
            });

            function f(A) {
                i.replace({
                    name: "Withdraw",
                    query: {
                        bid: A.bid
                    }
                })
            }
            const a = he({
                withdrawid: r.getWithdrawal.type
            });
            async function m() {
                n(!0);
                const A = await Y(Xe(a));
                A && (h.value = A.data.withdrawalslist, A.data.withdrawalslist.length > 0 && r.getWithdrawal.bid == 0 || A.data.withdrawalslist.length == 1 ? c.bid = A.data.withdrawalslist[0].bid : A.data.withdrawalslist.length == 0 && (c.bid = 0), r.setWithdrawal({ ...c
                }), r.setWithdrawalslist(A.data.withdrawalslist)), n(!1)
            }
            pe(async () => {
                i.currentRoute.value.query.type == "Add" ? await m() : h.value = r.getWithdrawalslist
            });

            function u() {
                i.replace({
                    name: "Withdraw",
                    query: {
                        bid: o.value
                    }
                })
            }
            return (A, p) => {
                const B = O("NavBar"),
                    y = O("svg-icon"),
                    I = O("van-radio"),
                    C = O("van-radio-group");
                return l(), d("div", zv, [v(B, {
                    title: A.$t("usdtAddr"),
                    "left-arrow": "",
                    onClickLeft: u
                }, null, 8, ["title"]), h.value.length > 0 ? (l(), d("div", Ev, [(l(!0), d(G, null, $e(h.value, N => (l(), d("div", {
                    class: "USDT__container-content__item",
                    key: N.bid
                }, [v(C, {
                    modelValue: o.value,
                    "onUpdate:modelValue": p[0] || (p[0] = z => o.value = z)
                }, {
                    default: K(() => [e("div", Fv, [e("div", Hv, [v(y, {
                        name: "bankHeader"
                    }), v(y, {
                        name: "usdtLogo3"
                    })]), e("div", xv, [e("span", null, t(N.accountNo), 1), e("span", null, t(N.usdtRemarkName), 1)]), e("div", null, [g("这是假的"), v(I, {
                        name: `${N.bid.toString()}`,
                        "icon-size": "18px",
                        onClick: z => f(N)
                    }, {
                        default: K(() => [L(t(A.$t("select")), 1)]),
                        _: 2
                    }, 1032, ["name", "onClick"]), g(` <div @click="onShowDeleteDialog(item)">
								<img :src="getIcons('wallet/withdraw', 'delete')" />{{ $t('delete') }}
							</div> `)])])]),
                    _: 2
                }, 1032, ["modelValue"])]))), 128))])) : (l(), d("div", Kv, [v(at, null, {
                    text: K(() => [e("span", null, t(A.$t("noPaymentMethodsYet")), 1)]),
                    _: 1
                })])), v(ct, {
                    type: 3
                }), g(` <Dialog
			v-model:show="delelteDialogShow"
			@confirm="onDelete"
			:show-cancel-btn="true"
			:title="$t('tipCanNotRetrivedAfterDeleted')"
			:confirmText="$t('confirmDelete')"
			:cancelText="$t('cancel')"
		>
			<template #content>
				<img v-lazy="getIcons('main', 'close')" class="dialog__content-bottom" @click="delelteDialogShow = false" />
			</template>
		</Dialog> `)])
            }
        }
    });
const Gv = ae(Zv, [
        ["__scopeId", "data-v-1cef303f"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/USDT/index.vue"]
    ]),
    o_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: Gv
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    Qv = {
        class: "upi_C"
    },
    Xv = {
        class: "upi_C-list"
    },
    Yv = {
        class: "header"
    },
    Jv = {
        class: "header-title"
    },
    ep = {
        class: "upi-body"
    },
    tp = {
        class: "upi-body-name"
    },
    ap = {
        class: "upi-body-id"
    },
    np = ["onClick"],
    op = {
        class: "upi_C-addbtn"
    },
    sp = te({
        __name: "index",
        setup(w) {
            const n = Oe(),
                s = _e(),
                _ = De(),
                i = k(!1),
                r = k({}),
                c = k([]),
                o = k(null),
                h = k(""),
                f = j(() => _.query.bankCode || ""),
                a = () => {
                    const I = c.value.find(C => C.bid == o.value) ? o.value : 0;
                    s.replace({
                        name: "Withdraw",
                        query: {
                            bid: I,
                            type: 2,
                            bankCode: f.value || ""
                        }
                    })
                },
                m = k(!1),
                u = async () => {
                    var I;
                    const y = await Y(Xe({
                        withdrawid: 2
                    }));
                    if (y) {
                        const C = ((I = y.data) == null ? void 0 : I.withdrawalslist) || [];
                        c.value = C.filter(N => f.value ? N.bankCode === f.value : !0)
                    }
                },
                A = async () => {
                    if (!m.value) try {
                        m.value = !0, await Y(qt({
                            bid: r.value.bid,
                            smsCode: h.value,
                            categoryId: 2
                        })) && (u(), i.value = !1, s.replace({
                            name: "Withdraw",
                            query: {
                                bid: r.value.bid,
                                type: 2
                            }
                        }))
                    } finally {
                        m.value = !1
                    }
                },
                p = y => {
                    if (!y.isKycOnline && n.getNeedKycValid) return r.value = y, i.value = !0;
                    s.replace({
                        name: "Withdraw",
                        query: {
                            bid: y.bid,
                            type: 2,
                            bankCode: f.value || ""
                        }
                    })
                },
                B = async () => {
                    s.replace({
                        name: "Withdraw-AddUpi",
                        query: {
                            bankCode: f.value || "",
                            bid: o.value
                        }
                    })
                };
            return pe(() => {
                o.value = _.query.bid || 0, u()
            }), (y, I) => {
                const C = O("NavBar"),
                    N = O("svg-icon"),
                    z = O("van-dialog"),
                    T = Ee("throttle-click");
                return l(), d("div", Qv, [v(C, {
                    title: `${b(et)(f.value)} ${y.$t("paymentMethod")}`,
                    "left-arrow": "",
                    onClickLeft: a
                }, null, 8, ["title"]), e("div", Xv, [c.value.length ? (l(!0), d(G, {
                    key: 0
                }, $e(c.value, (W, x) => (l(), d("div", {
                    key: x,
                    class: "upi_C-item"
                }, [e("div", Yv, [e("div", Jv, [v(N, {
                    name: W.bankCode
                }, null, 8, ["name"]), e("span", null, t(b(et)(W.bankCode)), 1)])]), e("div", ep, [e("div", tp, t(y.$t("accountName")) + ": " + t(W.upiName), 1), e("div", ap, "UPI ID: " + t(W.upiAccount), 1), e("div", {
                    class: "upi-select",
                    onClick: J => p(W)
                }, [e("div", {
                    class: le(["select-btn", {
                        isSelect: W.bid == o.value
                    }])
                }, null, 2), e("span", null, t(W.bid == o.value ? y.$t("currentPayment") : y.$t("currentChange")), 1)], 8, np), g(`						<div class="upi-body-id">{{$t('phoneN')}}: {{ item.mobileNo }}</div>`)])]))), 128)) : (l(), ke(at, {
                    key: 1
                }, {
                    text: K(() => [e("span", null, t(y.$t("noPaymentMethodsYet")), 1)]),
                    _: 1
                }))]), se((l(), d("div", op, [L(t(y.$t("upiAddPaymentMethod")), 1)])), [
                    [T, {
                        handler: B,
                        wait: 1e3
                    }]
                ]), v(z, {
                    show: i.value,
                    "onUpdate:show": I[2] || (I[2] = W => i.value = W),
                    showConfirmButton: !1,
                    width: "fit-content",
                    "lazy-render": ""
                }, {
                    default: K(() => [v(dt, {
                        bid: r.value.bid,
                        bank: r.value.bankCode,
                        upi: r.value.upiAccount,
                        mobile: r.value.mobileNo,
                        code: h.value,
                        "onUpdate:code": I[0] || (I[0] = W => h.value = W),
                        onConfirm: A,
                        onClose: I[1] || (I[1] = W => i.value = !1)
                    }, null, 8, ["bid", "bank", "upi", "mobile", "code"])]),
                    _: 1
                }, 8, ["show"])])
            }
        }
    });
const lp = ae(sp, [
        ["__scopeId", "data-v-68a41569"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/Upi/index.vue"]
    ]),
    s_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: lp
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    ip = {
        class: "cancelW"
    },
    rp = {
        class: "orderInfo"
    },
    dp = {
        class: "b"
    },
    cp = {
        class: "reason"
    },
    up = {
        class: "fail"
    },
    vp = {
        class: "van-dialog__content-title"
    },
    pp = {
        class: "van-dialog__content-note"
    },
    _p = te({
        __name: "index",
        setup(w) {
            const {
                t: n
            } = me(), s = _e(), _ = De(), i = k(), r = k("0"), c = k(!1), o = k(""), h = j(() => {
                var I;
                return r.value == "0" ? o.value : (I = i.value.find(C => C.id == r.value)) == null ? void 0 : I.reasonText
            }), f = () => {
                s.go(-1)
            }, a = k(""), m = k(""), u = k(""), A = k("");
            async function p() {
                const I = await Y(Ea({
                    type: 1
                }));
                I && (i.value = I.data)
            }
            async function B() {
                await Y(Fa({
                    orderNo: A.value,
                    cancelReason: h.value,
                    reamrk: ""
                })) && (c.value = !1, f())
            }
            async function y() {
                if (r.value == "0" && o.value.trim().length == 0) {
                    E(n("enterOtherReason"));
                    return
                }
                c.value = !0
            }
            return pe(() => {
                var I, C, N, z, T, W, x, J;
                a.value = ((C = (I = _.query) == null ? void 0 : I.orderAmount) == null ? void 0 : C.toString()) || "", m.value = ((z = (N = _.query) == null ? void 0 : N.sellerAccountNo) == null ? void 0 : z.toString()) || "", u.value = ((W = (T = _.query) == null ? void 0 : T.createTime) == null ? void 0 : W.toString()) || "", A.value = ((J = (x = _.query) == null ? void 0 : x.orderNo) == null ? void 0 : J.toString()) || "", p()
            }), (I, C) => {
                const N = O("NavBar"),
                    z = O("van-radio"),
                    T = O("van-radio-group"),
                    W = O("van-field"),
                    x = O("van-dialog"),
                    J = Ee("lazy");
                return l(), d("div", ip, [v(N, {
                    title: "取消订单",
                    "left-arrow": "",
                    onClickLeft: f,
                    backgroundColor: "transparent"
                }), e("div", rp, [e("div", null, [e("span", null, t(I.$t("withdrawalA")), 1), e("span", dp, t(b(re)(a.value)), 1)]), e("div", null, [e("span", null, "UPI " + t(I.$t("account")), 1), e("span", null, t(m.value), 1)]), e("div", null, [e("span", null, t(b(zt)(u.value, "yyyy-MM-dd")), 1), e("span", {
                    class: "copy",
                    onClick: C[0] || (C[0] = U => b(je)(A.value))
                }, t(A.value), 1)])]), e("div", cp, [e("h2", null, t(I.$t("cancelReason")), 1), v(T, {
                    modelValue: r.value,
                    "onUpdate:modelValue": C[1] || (C[1] = U => r.value = U),
                    shape: "dot",
                    "checked-color": "#ee0a24"
                }, {
                    default: K(() => [(l(!0), d(G, null, $e(i.value, (U, ie) => (l(), ke(z, {
                        key: ie,
                        name: U.id.toString()
                    }, {
                        default: K(() => [L(t(U.reasonText), 1)]),
                        _: 2
                    }, 1032, ["name"]))), 128)), v(z, {
                        name: "0"
                    }, {
                        default: K(() => [L(t(I.$t("other")), 1)]),
                        _: 1
                    })]),
                    _: 1
                }, 8, ["modelValue"]), v(W, {
                    class: "textarea",
                    disabled: r.value != "0",
                    modelValue: o.value,
                    "onUpdate:modelValue": C[2] || (C[2] = U => o.value = U),
                    rows: "3",
                    autosize: "",
                    type: "textarea",
                    maxlength: "150",
                    placeholder: I.$t("enterOtherReason")
                }, null, 8, ["disabled", "modelValue", "placeholder"])]), e("div", {
                    class: "cancel",
                    onClick: y
                }, t(I.$t("confirmCancel")), 1), v(x, {
                    show: c.value,
                    "onUpdate:show": C[4] || (C[4] = U => c.value = U),
                    "show-confirm-button": !1,
                    "z-index": "100",
                    closeOnClickOverlay: !0
                }, {
                    default: K(() => [se(e("img", up, null, 512), [
                        [J, b(ge)("wallet/recharge", "tip")]
                    ]), e("div", vp, t(I.$t("cancelW")), 1), e("div", pp, [e("span", null, t(I.$t("c2cWTip11")), 1)]), e("div", {
                        class: "van-dialog__content-btn",
                        onClick: B
                    }, t(I.$t("confirmCancel")), 1), se(e("img", {
                        class: "close",
                        onClick: C[3] || (C[3] = U => c.value = !1)
                    }, null, 512), [
                        [J, b(lt)("main", "close")]
                    ])]),
                    _: 1
                }, 8, ["show"])])
            }
        }
    });
const mp = ae(_p, [
        ["__scopeId", "data-v-522a488b"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/c2cCancelWithdrawal/index.vue"]
    ]),
    l_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: mp
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    hp = {
        class: "wrongA"
    },
    wp = {
        class: "head"
    },
    fp = {
        class: "content"
    },
    yp = {
        class: "amount"
    },
    gp = {
        class: "input"
    },
    kp = {
        class: "place-div"
    },
    bp = {
        class: "img"
    },
    $p = {
        class: "uploadImg"
    },
    Cp = {
        class: "tip"
    },
    Tp = {
        class: "img video"
    },
    Np = {
        class: "uploadImg"
    },
    Sp = {
        key: 0,
        class: "v",
        controls: ""
    },
    Ip = ["src"],
    Wp = ["src"],
    Ap = ["src"],
    Bp = {
        key: 1,
        class: "videoBox loading"
    },
    Up = te({
        __name: "index",
        setup(w) {
            var I;
            const n = _e(),
                {
                    t: s
                } = me(),
                _ = j(() => Oe().getDollarSign),
                i = k([]),
                r = k([]),
                c = k([]),
                o = k(),
                h = k(),
                f = k(!1),
                a = k({
                    orderNo: (I = n.currentRoute.value.query) == null ? void 0 : I.orderNo,
                    realAmount: 0,
                    ossUrls: [{}]
                }),
                m = j(() => {
                    var C;
                    return !(((C = a.value.orderNo) == null ? void 0 : C.toString().trim().length) == 0 || +(a.value.realAmount <= 0) || c.value.length == 0 || f.value)
                }),
                u = async C => {
                    const N = new FormData;
                    (C == null ? void 0 : C.length) > 0 ? C.forEach(T => {
                        N.append("files", T.file)
                    }) : N.append("files", C.file), (await Y(Ha(N))).data.forEach(T => {
                        c.value.push(T.src)
                    })
                },
                A = (C, N) => (c.value.filter((z, T) => {
                    N.index == T && c.value.splice(T, 1)
                }), !0),
                p = async C => {
                    f.value = !0;
                    const N = new FormData;
                    N.append("files", C.file);
                    const z = await Y(xa(N));
                    z && (o.value = z.data[0].ossHttp + "/" + z.data[0].src, h.value = z.data[0].src), f.value = !1
                };
            async function B() {
                if (!m.value) return;
                if (f.value) return E({
                    message: s("c2cTip45"),
                    wordBreak: "break-word"
                });
                a.value.ossUrls.length = 0, c.value.forEach(z => {
                    a.value.ossUrls.push({
                        fileType: 1,
                        fileUrl: z
                    })
                }), h.value && a.value.ossUrls.push({
                    fileType: 2,
                    fileUrl: h.value
                });
                const [C, N] = await Ka(Za(a.value));
                N.code == 0 ? y(s("submitSuccess")) : N.msgCode == "281" && N.code == 1 ? y(N.msg) : st(N)
            }

            function y(C) {
                E({
                    message: C,
                    wordBreak: "break-word"
                }), setTimeout(() => {
                    n.replace({
                        name: "Withdraw-C2cDetail",
                        query: {
                            order: a.value.orderNo
                        }
                    })
                }, 2e3)
            }
            return (C, N) => {
                const z = O("NavBar"),
                    T = O("van-field"),
                    W = O("van-uploader"),
                    x = O("van-icon");
                return l(), d("div", hp, [e("div", wp, [v(z, {
                    title: "",
                    "left-arrow": "",
                    onClickLeft: N[0] || (N[0] = () => b(n).back()),
                    backgroundColor: "transparent"
                }), e("h1", null, t(C.$t("c2cState14")), 1), e("div", null, t(C.$t("c2cTip35")), 1), e("div", null, t(C.$t("c2cTip36")), 1)]), e("div", fp, [e("div", yp, [e("h1", null, t(C.$t("c2cTip37")), 1), e("p", null, t(C.$t("c2cTip38")), 1), e("div", gp, [e("div", kp, t(_.value), 1), v(T, {
                    modelValue: a.value.realAmount,
                    "onUpdate:modelValue": N[1] || (N[1] = J => a.value.realAmount = J),
                    modelModifiers: {
                        number: !0
                    },
                    center: "",
                    type: "digit",
                    placeholder: C.$t("enterAmount"),
                    class: "inp"
                }, null, 8, ["modelValue", "placeholder"])])]), e("div", bp, [e("h1", null, t(C.$t("c2cTip39")) + " (" + t(i.value.length) + "/3) ", 1), v(W, {
                    modelValue: i.value,
                    "onUpdate:modelValue": N[2] || (N[2] = J => i.value = J),
                    multiple: "",
                    "max-count": 3,
                    "max-size": 5e3 * 1024,
                    onOversize: N[3] || (N[3] = () => b(pt)(C.$t("C2Cuploadtip2"))),
                    accept: "image/*",
                    "after-read": u,
                    "before-delete": A
                }, {
                    default: K(() => [e("div", $p, t(C.$t("c2cTip40")), 1)]),
                    _: 1
                }, 8, ["modelValue"]), e("div", Cp, [v(x, {
                    name: "warning-o",
                    size: "18"
                }), L(t(C.$t("c2cTip41")), 1)])]), e("div", Tp, [e("h1", null, t(C.$t("c2cTip42")) + " (" + t(r.value.length) + "/1) ", 1), f.value ? g("v-if", !0) : (l(), ke(W, {
                    key: 0,
                    modelValue: r.value,
                    "onUpdate:modelValue": N[4] || (N[4] = J => r.value = J),
                    "max-count": 1,
                    "max-size": 5e4 * 1024,
                    onOversize: N[5] || (N[5] = () => b(pt)(C.$t("c2cTip51"))),
                    accept: "video/*",
                    "after-read": p
                }, {
                    "preview-cover": K(({
                        file: J
                    }) => [o.value ? (l(), d("video", Sp, [e("source", {
                        src: o.value,
                        type: "video/ogg"
                    }, null, 8, Ip), e("source", {
                        src: o.value,
                        type: "video/mp4"
                    }, null, 8, Wp), e("source", {
                        src: o.value,
                        type: "video/webm"
                    }, null, 8, Ap)])) : g("v-if", !0)]),
                    default: K(() => [e("div", Np, t(C.$t("c2cTip43")), 1)]),
                    _: 1
                }, 8, ["modelValue"])), f.value ? (l(), d("div", Bp, t(C.$t("c2cTip44")), 1)) : g("v-if", !0)]), e("div", {
                    class: le(["cmdBth", {
                        active: m.value
                    }]),
                    onClick: B
                }, t(C.$t("c2cState14")), 3)])])
            }
        }
    });
const Dp = ae(Up, [
        ["__scopeId", "data-v-5e595a70"],
        ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/wallet/Withdraw/c2cWrongAmount/index.vue"]
    ]),
    i_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: Dp
    }, Symbol.toStringTag, {
        value: "Module"
    }));
export {
    dt as W, Fp as a, Hp as b, xs as c, xp as d, Kp as e, Zp as f, Gp as g, Qp as h, Ep as i, Xp as j, Yp as k, Jp as l, e_ as m, t_ as n, a_ as o, n_ as p, o_ as q, s_ as r, l_ as s, i_ as t
};