import {
    G as te,
    z as me,
    aU as Ot,
    C as _e,
    I as c,
    J as e,
    O as $,
    ao as b,
    aB as L,
    P as t,
    F as Fe,
    N as i,
    aw as wt,
    r as g,
    H as V,
    ar as at,
    Q as v,
    au as fe,
    av as Z,
    Z as ya,
    u as E,
    aC as Se,
    aD as Ie,
    R as pe,
    A as he,
    K as Q,
    M as ke,
    ap as se,
    B as j,
    ax as ie,
    ay as vt,
    aF as ye,
    T as Ae,
    aA as ze,
    $ as je,
    E as ft,
    a$ as Bt,
    t as ga,
    bC as ba,
    bG as ka,
    b3 as Mt,
    p as _t,
    X as $a,
    az as Ut,
    bF as Ca
} from "./common.modules-5cfe2cf4.js";
import {
    bc as Je,
    a4 as Be,
    A as X,
    cr as Dt,
    g as be,
    c as ce,
    b as rt,
    _ as ae,
    d0 as Ta,
    dS as Xe,
    bS as Na,
    bT as Sa,
    L as Ke,
    dT as Ia,
    dU as Lt,
    d7 as Aa,
    y as Ue,
    dV as De,
    a1 as qt,
    dW as Wa,
    a5 as jt,
    a3 as yt,
    G as Ft,
    dj as Ba,
    aa as Ze,
    dX as Ua,
    dY as Da,
    ab as Pa,
    h as it,
    dZ as zt,
    d_ as Ra,
    d$ as Ge,
    c$ as Ee,
    bF as $e,
    e0 as Va,
    cn as ot,
    e1 as Et,
    e2 as Oa,
    e3 as Ma,
    e4 as xt,
    e5 as dt,
    e6 as La,
    e7 as qa,
    e8 as ja,
    e9 as Fa,
    ea as za,
    eb as Ea,
    ec as xa,
    ed as Ht,
    dF as Kt,
    ee as Ha,
    ef as Ka,
    df as Za,
    eg as Ga,
    d1 as Qa,
    eh as Ya,
    bZ as Xa,
    ei as Ja
} from "./page-activity-ActivityDetail-a58ec568.js";
import {
    P as en,
    v as Zt,
    c as Gt
} from "./page-login-index.vue_vue_type_script_setup_true_lang.ts-f69c0404.js";
import {
    E as et
} from "./page-activity-Bonus-3c16c86d.js";
import {
    L as tn
} from "./page-activity-DailySignIn-543fff66.js";
import {
    D as mt
} from "./page-activity-Championship-4e6c587b.js";
import {
    N as an
} from "./page-wallet-Recharge-8f284fa3.js";
import {
    u as nn,
    a as xe,
    S as He
} from "./page-test-index.vue_vue_type_script_setup_true_lang.tsx-47b4399d.js";
import {
    S as on
} from "./page-promotion-MyInvitation-519de578.js";
const sn = {
        class: "balanceAssets"
    },
    ln = {
        class: "balanceAssets__header"
    },
    rn = {
        class: "balanceAssets__header__left"
    },
    dn = ["src"],
    cn = {
        class: "balanceAssets__main"
    },
    un = ["src"],
    pn = te({
        __name: "BalanceAssetsW",
        props: {
            data_NewSetWithdrawal: {
                type: null,
                required: !0
            },
            withdrawalsrule: {
                type: null,
                required: !0
            }
        },
        setup(f) {
            const n = f,
                {
                    t: s
                } = me();
            Je();
            const {
                setLoading: m
            } = Be(), l = Ot(n, "withdrawalsrule");
            async function r() {
                m(!0);
                const d = await X(Dt());
                d && (l.value.amount = d.data.amount, Fe(s("refreshSuccess"))), m(!1)
            }
            return _e(async () => {
                const d = await X(Dt());
                d && (l.value.amount = d.data.amount)
            }), (d, o) => (i(), c("div", sn, [e("div", ln, [e("div", rn, [e("img", {
                src: $(be)("wallet", "balance")
            }, null, 8, dn), b(" 可用余额 "), L(" " + t(d.$t("vailableBalance")), 1)])]), e("div", cn, [e("p", null, t($(ce)(l.value.amount)), 1), e("img", {
                src: $(rt)("wallet/recharge", "refresh"),
                alt: "",
                onClick: r
            }, null, 8, un)])]))
        }
    });
const vn = ae(pn, [
        ["__scopeId", "data-v-0879c174"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/components/Wallet/Withdraw/BalanceAssetsW.vue"]
    ]),
    gt = f => (Se("data-v-6981cc49"), f = f(), Ie(), f),
    _n = {
        class: "otp"
    },
    mn = {
        class: "otp-header"
    },
    hn = gt(() => e("span", {
        class: "otp-header-left"
    }, null, -1)),
    wn = gt(() => e("span", {
        class: "otp-header-right"
    }, null, -1)),
    fn = {
        class: "otp-content"
    },
    yn = {
        class: "otp-hit"
    },
    gn = {
        key: 0
    },
    bn = {
        class: "otp-title"
    },
    kn = {
        key: 0,
        class: "otp-title"
    },
    $n = {
        class: "otp-title"
    },
    Cn = {
        class: "otp-btns"
    },
    Tn = {
        class: "otp-footer"
    },
    Nn = gt(() => e("svg", {
        xmlns: "http://www.w3.org/2000/svg",
        width: "60",
        height: "60",
        viewBox: "0 0 60 60",
        fill: "none"
    }, [e("path", {
        d: "M30 57C44.9117 57 57 44.9117 57 30C57 15.0883 44.9117 3 30 3C15.0883 3 3 15.0883 3 30C3 44.9117 15.0883 57 30 57Z",
        stroke: "white",
        "stroke-width": "4",
        "stroke-linejoin": "round"
    }), e("path", {
        d: "M43 17L17 43",
        stroke: "white",
        "stroke-width": "4",
        "stroke-linecap": "round",
        "stroke-linejoin": "round"
    }), e("path", {
        d: "M17 17L43 43",
        stroke: "white",
        "stroke-width": "4",
        "stroke-linecap": "round",
        "stroke-linejoin": "round"
    })], -1)),
    Sn = [Nn],
    In = te({
        __name: "otp",
        props: {
            code: {
                type: String,
                default: ""
            },
            mobile: {
                type: String,
                default: ""
            },
            bank: {
                type: String,
                default: ""
            },
            upi: {
                type: String,
                default: ""
            },
            bid: {
                type: Number
            },
            withdrawalId: {
                type: Number
            },
            withdrawalAmount: {
                type: Number
            }
        },
        emits: ["update:code", "confirm", "close"],
        setup(f, {
            emit: n
        }) {
            const s = f,
                {
                    code: m
                } = wt(s, n),
                l = g(""),
                {
                    t: r
                } = me(),
                {
                    close: d
                } = nn(),
                {
                    getOTPCode: o,
                    getWithdrawalOTPCode: h,
                    getWithdrawalUsendOtpByWithdrawId: w,
                    isCount: a,
                    seconds: _
                } = Ta({
                    time: 60
                }),
                u = async () => {
                    if (s.withdrawalId) {
                        await w({
                            withdrawId: s.withdrawalId,
                            categoryId: 27
                        });
                        return
                    }
                    if (s.bid) {
                        await h({
                            categoryId: 27,
                            bid: s.bid
                        });
                        return
                    }
                    await o({
                        categoryId: 27,
                        mobileNo: s.mobile,
                        accountNo: s.upi,
                        bankCode: s.bank
                    })
                },
                U = () => {
                    d(), n("close")
                },
                p = async () => {
                    if (m.value) {
                        if (s.bank === "slice" && !l.value) return E(r("enterPin"));
                        n("confirm", l.value)
                    }
                };
            return (I, y) => {
                const A = V("van-field"),
                    T = V("van-button");
                return i(), c("div", _n, [e("div", mn, [hn, at(I.$slots, "header", {}, () => [e("h5", null, t($(r)("verifyOpt")), 1)], !0), wn]), e("div", fn, [e("div", null, [e("div", yn, [e("p", null, t(f.withdrawalAmount !== 0 ? I.$t("paymentTips") : I.$t("currentPaymentTips")) + "！", 1), e("p", null, t(I.$t("paymentMethod")) + "：" + t($(Xe)(f.bank)), 1), e("p", null, "UPI ID ： " + t(f.upi), 1), f.withdrawalAmount ? (i(), c("p", gn, t(I.$t("withdrawalA")) + " : " + t($(ce)(f.withdrawalAmount)), 1)) : b("v-if", !0)]), e("div", bn, t(I.$t("phoneN")), 1), v(A, {
                    center: "",
                    type: "digit",
                    placeholder: I.$t("phoneN"),
                    disabled: !0,
                    "model-value": f.mobile
                }, null, 8, ["placeholder", "model-value"]), f.bank === "slice" ? (i(), c("div", kn, t(I.$t("pin")), 1)) : b("v-if", !0), f.bank === "slice" ? (i(), fe(A, {
                    key: 1,
                    center: "",
                    type: "digit",
                    modelValue: l.value,
                    "onUpdate:modelValue": y[0] || (y[0] = N => l.value = N),
                    maxlength: 4,
                    min: 0,
                    max: 9999,
                    placeholder: I.$t("enterPin")
                }, null, 8, ["modelValue", "placeholder"])) : b("v-if", !0), e("div", $n, t(I.$t("VerificationCode")), 1), v(A, {
                    center: "",
                    type: "digit",
                    placeholder: I.$t("phEnterVerificationCode"),
                    maxlength: 6,
                    modelValue: $(m),
                    "onUpdate:modelValue": y[1] || (y[1] = N => ya(m) ? m.value = N : null)
                }, {
                    button: Z(() => [v(T, {
                        class: "otp-code",
                        disabled: $(a),
                        size: "small",
                        type: "primary",
                        onClick: u
                    }, {
                        default: Z(() => [L(t($(a) ? `${$(_)}S` : I.$t("send")), 1)]),
                        _: 1
                    }, 8, ["disabled"])]),
                    _: 1
                }, 8, ["placeholder", "modelValue"])]), e("div", Cn, [v(T, {
                    type: "primary",
                    disabled: !$(m),
                    onClick: p
                }, {
                    default: Z(() => [L(t(I.$t("submit")), 1)]),
                    _: 1
                }, 8, ["disabled"]), v(T, {
                    onClick: U
                }, {
                    default: Z(() => [L(t(I.$t("cancel")), 1)]),
                    _: 1
                })])]), e("div", Tn, [at(I.$slots, "footer", {}, () => [e("span", {
                    onClick: U
                }, Sn)], !0)])])
            }
        }
    });
const ct = ae(In, [
        ["__scopeId", "data-v-6981cc49"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/components/Wallet/Withdraw/otp.vue"]
    ]),
    An = {
        class: "rechargeh__container"
    },
    Wn = {
        class: "rechargeh__container-head"
    },
    Bn = {
        class: "rechargeh__container-content"
    },
    Un = {
        class: "rechargeh__container-content__item-header ar-1px-b"
    },
    Dn = {
        class: "rechargeh__container-content__item-body"
    },
    Pn = {
        key: 0
    },
    Rn = {
        class: "rechargeh__container-footer"
    },
    Vn = te({
        __name: "WithdrawHistory",
        setup(f, {
            expose: n
        }) {
            const s = pe(),
                {
                    setLoading: m
                } = Be(),
                {
                    t: l
                } = me(),
                r = g([]),
                d = he({
                    pageNo: 1,
                    pageSize: 5,
                    startDate: "",
                    endDate: "",
                    state: -1,
                    type: -1
                }),
                o = g({}),
                h = g(""),
                w = g(!1),
                a = p => {
                    o.value = Object.assign({}, p.upiAccountInfo || {}, {
                        withdrawID: p.withdrawID
                    }), w.value = !0
                };

            function _() {
                s.push({
                    name: "WithdrawHistory"
                })
            }
            async function u() {
                m(!0);
                const p = await X(Ia(d));
                p && (r.value = p.data.list), m(!1)
            }
            const U = async () => {
                var I;
                await X(Lt({
                    withdrawId: (I = o.value) == null ? void 0 : I.withdrawID,
                    smsCode: h.value,
                    categoryId: 27
                })) && (w.value = !1, Fe({
                    type: "success",
                    message: l("verifySuccess"),
                    duration: 2e3
                }), await u())
            };
            return _e(async () => {
                await u()
            }), n({
                getWithdrawLog: u
            }), (p, I) => {
                const y = V("svg-icon"),
                    A = V("van-button"),
                    T = V("van-dialog");
                return i(), c("div", An, [e("div", Wn, [v(y, {
                    name: "historyHead"
                }), e("h1", null, t(p.$t("whTitle5")), 1)]), e("div", Bn, [r.value.length > 0 ? (i(!0), c(Q, {
                    key: 0
                }, ke(r.value, (N, q) => (i(), c("div", {
                    class: "rechargeh__container-content__item",
                    key: q
                }, [b(' <div class="rechargeh__container-content__item-header ar-1px-b" @click="onToDetail(item.state)"> '), e("div", Un, [e("span", null, t(p.$t("withdraw")), 1), e("span", {
                    class: se({
                        stateR: N.state === 0,
                        stateG: N.state === 1
                    })
                }, [L(t($(Na)($(Sa).WithdrawState, N.state)) + " ", 1), b(' <van-icon name="arrow" /> ')], 2)]), e("div", Dn, [e("div", null, [e("span", null, t(p.$t("amount")), 1), e("span", null, t($(ce)(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: S => $(Ke)(N.withdrawNumber.toString()),
                    name: "copy"
                }, null, 8, ["onClick"])]), N.needKycConnect && N.state === 3 && N.type == 27 ? (i(), c("div", Pn, [v(A, {
                    size: "small",
                    onClick: S => a(N),
                    type: "danger",
                    block: ""
                }, {
                    default: Z(() => [L(t(p.$t("verifyOpt")), 1)]),
                    _: 2
                }, 1032, ["onClick"])])) : b("v-if", !0)])]))), 128)) : (i(), fe(et, {
                    key: 1
                }))]), e("div", Rn, [e("button", {
                    onClick: _
                }, t(p.$t("allRecords")), 1)]), v(T, {
                    teleport: "body",
                    show: w.value,
                    "onUpdate:show": I[2] || (I[2] = N => w.value = N),
                    showConfirmButton: !1,
                    width: "fit-content",
                    "lazy-render": ""
                }, {
                    default: Z(() => [v(ct, {
                        withdrawalId: o.value.withdrawID,
                        bank: o.value.bankCode,
                        upi: o.value.accountNo,
                        mobile: o.value.mobileNO,
                        code: h.value,
                        "onUpdate:code": I[0] || (I[0] = N => h.value = N),
                        onConfirm: U,
                        onClose: I[1] || (I[1] = N => w.value = !1)
                    }, null, 8, ["withdrawalId", "bank", "upi", "mobile", "code"])]),
                    _: 1
                }, 8, ["show"])])
            }
        }
    });
const ht = ae(Vn, [
        ["__scopeId", "data-v-30972a14"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/components/Wallet/Withdraw/WithdrawHistory.vue"]
    ]),
    On = {
        class: "withdrawWay"
    },
    Mn = ["src"],
    Ln = ["src"],
    qn = {
        key: 0,
        class: "gift"
    },
    jn = ["src"],
    Fn = ["src"],
    zn = ["src"],
    En = ["src"],
    xn = ["onClick"],
    Hn = ["src"],
    Kn = ["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(f, {
            emit: n
        }) {
            const s = f,
                m = j(() => s.withdrawalTypeslist.find(o => o.withdrawID == 20)),
                l = j(() => s.withdrawalTypeslist.find(o => o.withdrawID == 21)),
                r = j(() => s.withdrawalTypeslist.find(o => o.withdrawID == 22));

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

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

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

            function 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 q() {
                o.value.amount = Math.floor(s.withdrawalsrule.canWithdrawAmount), o.value.type === 3 && D()
            }

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

            function D() {
                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 P = Number(o.value.amount) / s.withdrawalsrule.uRate;
                    r.value = Math.floor(P * 100) / 100
                } else r.value = 0
            }

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

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

            function r() {
                if (!l.value) return E({
                    message: "Please read the process and check the box to agree",
                    wordBreak: "break-word"
                });
                localStorage.setItem("isC2cCheck", "1"), m.value = !1
            }
            return _e(() => {
                localStorage.getItem("isC2cCheck") != null && (l.value = localStorage.getItem("isC2cCheck") == "1")
            }), (d, o) => {
                const h = V("van-checkbox"),
                    w = ze("lazy");
                return i(), c("div", os, [ss, ls, is, e("div", rs, [e("div", ds, [cs, ie(e("img", null, null, 512), [
                    [w, $(be)("wallet/withdraw/c2c", "1")]
                ])]), e("div", us, [ps, ie(e("img", null, null, 512), [
                    [w, $(be)("wallet/withdraw/c2c", "2")]
                ])]), e("div", vs, [_s, ie(e("img", null, null, 512), [
                    [w, $(be)("wallet/withdraw/c2c", "3")]
                ])]), e("div", ms, [hs, ie(e("img", null, null, 512), [
                    [w, $(be)("wallet/withdraw/c2c", "4")]
                ])])]), v(h, {
                    modelValue: l.value,
                    "onUpdate:modelValue": o[0] || (o[0] = a => l.value = a)
                }, {
                    default: Z(() => [L("I already understand the process and agree to come back and click "), ws]),
                    _: 1
                }, 8, ["modelValue"]), e("div", {
                    class: se(["btn", {
                        active: l.value
                    }]),
                    onClick: r
                }, "confirm", 2)])
            }
        }
    });
const ys = ae(fs, [
        ["__scopeId", "data-v-391308ac"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/components/Wallet/Withdraw/c2cConfirm.vue"]
    ]),
    gs = {
        class: "c2cWithdraw__C"
    },
    bs = {
        class: "c2cWithdraw__C-input"
    },
    ks = {
        class: "place-div"
    },
    $s = {
        class: "unit"
    },
    Cs = {
        key: 0,
        class: "verify"
    },
    Ts = {
        class: "can-withdraw"
    },
    Ns = {
        class: "c2cWithdraw__C-tip"
    },
    Ss = {
        class: "c2cWithdraw__C-tip-l"
    },
    Is = {
        class: "c2cWithdraw__C-tip-r"
    },
    As = {
        class: "c2cWithdraw__T"
    },
    Ws = {
        class: "c2cWithdraw__T-h"
    },
    Bs = 20,
    Us = te({
        __name: "c2cField",
        props: {
            c2crule: {
                type: null,
                required: !0
            },
            c2cAward: {
                type: null,
                required: !0
            },
            c2cName: {
                type: String,
                required: !0
            }
        },
        emits: ["setc2cAmount"],
        setup(f, {
            emit: n
        }) {
            const s = f,
                {
                    t: m
                } = me(),
                l = g(0),
                r = j(() => Ue().getDollarSign),
                d = j(() => Number(l.value) ? Number(l.value) * (s.c2crule.c2cUnitAmount || 100) : 0),
                o = j(() => d.value * s.c2cAward),
                h = () => {
                    const _ = Math.floor(s.c2crule.canWithdrawAmount / 100),
                        u = Math.floor(s.c2crule.maxPrice / 100);
                    l.value = _ > u ? u : _
                },
                w = _ => {
                    n("setc2cAmount", _ * (s.c2crule.c2cUnitAmount || 100))
                },
                a = j(() => {
                    if (d.value != 0) {
                        if (d.value > s.c2crule.canWithdrawAmount) return console.log("1", d.value, s.c2crule.canWithdrawAmount), m("cashBalanceInsufficient");
                        if (d.value > s.c2crule.maxPrice || d.value < s.c2crule.minPrice) return console.log("0"), m("wordWithdrawal", [ce(s.c2crule.minPrice), ce(s.c2crule.maxPrice)])
                    }
                    return ""
                });
            return _e(() => {}), (_, u) => {
                var I;
                const U = V("van-field"),
                    p = V("svg-icon");
                return i(), c(Q, null, [e("div", gs, [e("div", bs, [e("div", ks, t(r.value), 1), v(U, {
                    modelValue: l.value,
                    "onUpdate:modelValue": [u[0] || (u[0] = y => l.value = y), w],
                    modelModifiers: {
                        number: !0
                    },
                    type: "digit",
                    placeholder: _.$t("plsEnterQuantity"),
                    class: "amount-input"
                }, null, 8, ["modelValue", "placeholder"]), e("div", $s, t(((I = _.c2crule.c2cUnitAmount) == null ? void 0 : I.toString().substring(1)) || "00"), 1)]), a.value ? (i(), c("div", Cs, t(a.value), 1)) : b("v-if", !0), e("div", Ts, [L(t(_.$t("wfDesc1")) + " " + t($(ce)(_.c2crule.canWithdrawAmount || 0)) + " ", 1), e("div", {
                    onClick: h
                }, t(_.$t("all")), 1)]), e("div", Ns, [e("div", Ss, [e("div", null, t(_.$t("wfDesc2")), 1), e("div", null, t(_.$t("savedForYou")), 1)]), e("div", Is, [e("div", null, t($(ce)(d.value)), 1), e("div", null, t($(ce)(o.value)), 1)])]), at(_.$slots, "default", {}, void 0, !0)]), e("div", As, [e("div", Ws, [v(p, {
                    name: "shuoming"
                }), L(" " + t(_.$t("withdrawalInstructions")), 1)]), v(pt, {
                    withdrawType: Bs,
                    withdrawalsrule: _.c2crule,
                    award: _.c2cAward,
                    name: _.c2cName
                }, null, 8, ["withdrawalsrule", "award", "name"])])], 64)
            }
        }
    });
const Ds = ae(Us, [
        ["__scopeId", "data-v-472a2df8"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/components/Wallet/Withdraw/c2cField.vue"]
    ]),
    Ps = {
        class: "title"
    },
    Rs = {
        class: "name"
    },
    Vs = te({
        __name: "c2cUpi",
        props: {
            withdrawalslist: {
                type: Array,
                default: () => []
            },
            withdrawalType: {
                type: Number,
                default: 2
            },
            bid: {
                default: -0
            },
            bankCode: {
                type: String,
                default: ""
            }
        },
        setup(f) {
            const n = f,
                s = Ae(),
                m = pe(),
                l = j(() => n.withdrawalslist.find(d => d.bid == n.bid)),
                r = (d = {}) => {
                    const o = n.withdrawalType == 2 ? "Withdraw-Upi" : "Withdraw-FastUpi";
                    m.replace({
                        name: o,
                        query: {
                            bid: (d == null ? void 0 : d.bid) || "",
                            fromV: s.name,
                            bankCode: n.bankCode || ""
                        }
                    })
                };
            return (d, o) => {
                const h = V("svg-icon"),
                    w = V("van-icon");
                return i(), c("div", {
                    class: se(["c2cUpi", {
                        noUpi: !l.value
                    }]),
                    onClick: o[0] || (o[0] = a => r(l.value))
                }, [l.value ? (i(), c(Q, {
                    key: 0
                }, [e("div", Ps, [v(h, {
                    name: l.value.bankCode || "upi"
                }, null, 8, ["name"]), e("span", null, t($(Xe)(l.value.bankCode) || l.value.upiName), 1)]), e("div", Rs, t(l.value.upiAccount), 1), v(w, {
                    name: "arrow",
                    class: "right-icon",
                    size: "12"
                })], 64)) : (i(), c(Q, {
                    key: 1
                }, [L(t(d.$t("addUpi")), 1)], 64))], 2)
            }
        }
    });
const Pt = ae(Vs, [
        ["__scopeId", "data-v-fe54ed07"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/components/Wallet/Withdraw/c2cUpi.vue"]
    ]),
    Os = f => (Se("data-v-15989e8c"), f = f(), Ie(), f),
    Ms = ["onClick"],
    Ls = {
        class: "c2cRecord__C-item-h"
    },
    qs = {
        class: "title"
    },
    js = {
        key: 0
    },
    Fs = {
        key: 1
    },
    zs = {
        class: "c2cRecord__C-item-a"
    },
    Es = {
        class: "title"
    },
    xs = {
        class: "c2cRecord__C-item-u"
    },
    Hs = Os(() => e("span", {
        class: "title"
    }, "UTR", -1)),
    Ks = {
        class: "c2cRecord__C-item-t"
    },
    Zs = {
        class: "title"
    },
    Gs = {
        class: "c2cRecord__C-item-id"
    },
    Qs = {
        class: "title"
    },
    Ys = te({
        __name: "c2cRecordList",
        props: {
            list: {
                type: Array,
                required: !0
            }
        },
        setup(f) {
            const n = f,
                {
                    t: s
                } = me(),
                m = pe(),
                l = [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 = g(null),
                d = g(0),
                o = g("00:00"),
                h = g("00:00"),
                w = g(null),
                a = g(null),
                _ = (I, y) => {
                    localStorage.setItem("c2cOrderNo", I), m.push({
                        name: "Withdraw-C2cDetail",
                        query: {
                            order: I,
                            state: y
                        }
                    })
                };
            je(() => n.list, I => {
                if (r.value = I.findIndex(A => A.state === 1), r.value != -1) {
                    const A = I[r.value].serviceTime.replace(/-/g, "/"),
                        T = I[r.value].confrimEndTime.replace(/-/g, "/");
                    d.value = new Date(T).getTime() - new Date(A).getTime(), d.value > 0 ? (clearInterval(w.value), U()) : o.value = "00:00"
                } else o.value = "00:00";
                let y = I.find(A => A.state === 11 || A.state === 12);
                if (y) {
                    const A = y.auditEndTime.replace(/-/g, "/"),
                        T = y.serviceTime.replace(/-/g, "/");
                    d.value = new Date(T).getTime() - new Date(A).getTime(), clearInterval(a.value), p()
                } else h.value = "00:00"
            });
            const u = I => {
                const y = Math.floor(I / 36e5),
                    A = Math.floor((I - y * 36e5) / 6e4),
                    T = Math.floor((I - y * 36e5 - A * 6e4) / 1e3);
                return console.log("hours", y), `${y?y.toString().padStart(2,"0")+":":""}${A.toString().padStart(2,"0")}:${T.toString().padStart(2,"0")}`
            };

            function U() {
                w.value = setInterval(() => {
                    d.value -= 1e3, o.value = u(d.value), d.value <= 0 && clearInterval(w.value)
                }, 1e3)
            }

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

            function na() {
                u.back()
            }
            const oa = () => {
                if (l.value = !l.value, l.value) {
                    const k = new Date().getTime() + 2592e6;
                    localStorage.setItem("popupHideUntil", k.toString())
                } else localStorage.removeItem("popupHideUntil")
            };
            async function sa() {
                we.value && clearTimeout(we.value), we.value = setTimeout(async () => {
                    if (C.value.isAllowWithdraw == 0) {
                        H.value = !0, G.value = !1;
                        return
                    }
                    let k = F.value.withdrawalsrule;
                    R.amount = Number(R.amount);
                    var O = /^\d+(\.\d{1,2})?$/;
                    if (!O.test(R.amount.toString())) {
                        E(o("showDialogTip1")), G.value = !1;
                        return
                    }
                    if (R.amount > k.maxPrice || R.amount < k.minPrice) {
                        E(o("wordWithdrawal", [ce(k.minPrice), ce(k.maxPrice)])), G.value = !1;
                        return
                    }
                    if (!R.pwd) {
                        E(o("emptyPassword")), G.value = !1;
                        return
                    }
                    h(!0);
                    const K = await ia(Pa(R));
                    K && (K.code !== 0 && K.msgCode == 220 ? (ne.value = !0, setTimeout(function() {
                        ne.value = !1
                    }, 3e3)) : K.code !== 0 && K.msgCode == 280 ? setTimeout(function() {
                        R.type == 20 && (K != null && K.data) && (localStorage.setItem("c2cOrderNo", K == null ? void 0 : K.data), u.push({
                            name: "Withdraw-C2cDetail",
                            query: {
                                order: K == null ? void 0 : K.data
                            }
                        }))
                    }, 2e3) : K.code !== 0 && K.msgCode === 1009 ? await ga({
                        message: o("code1009")
                    }) : K.code !== 0 && K.msgCode === 287 ? lt() : R.type == 20 ? (z.value = !0, Oe.value = K == null ? void 0 : K.data) : B.value = !0), G.value = !1, h(!1)
                }, 500)
            }

            function la() {
                const k = {
                    1: "Withdraw-BankCard",
                    3: "Withdraw-USDT",
                    10: "Withdraw-USDT",
                    5: "Withdraw-PIX"
                };
                u.replace({
                    name: k[R.type]
                })
            }
            const ia = async k => await k.then(K => K && K.code !== 0 ? [220, 1009].includes(K.msgCode) ? K : [280, 287].includes(K.msgCode) ? (it(K), K) : (it(K), null) : K).catch(K => (it(K), null));
            async function $t(k) {
                k == "c2c" ? (z.value = !1, (R.type == 20 || R.type == 2) && Oe.value && (localStorage.setItem("c2cOrderNo", Oe.value), u.push({
                    name: "Withdraw-C2cDetail",
                    query: {
                        order: Oe.value
                    }
                }))) : (B.value = !1, await u.push({
                    name: "WithdrawHistory"
                }))
            }
            async function ra() {
                Me.value = !1, R.pwd = "", G.value = !0
            }
            async function da(k) {
                var O, K;
                if (!ve.value) try {
                    ve.value = !0;
                    const Te = typeof((O = de.value) == null ? void 0 : O.withdrawNumber) == "string",
                        qe = Te ? Lt({
                            withdrawId: (K = de.value) == null ? void 0 : K.withdrawID,
                            smsCode: Re.value,
                            categoryId: 27,
                            pin: k
                        }) : zt({
                            bid: R.bid,
                            smsCode: Re.value,
                            categoryId: 27,
                            pin: k
                        }),
                        ge = await X(qe);
                    Re.value = "", ge && (Le.value = !1, Te ? (Ct(), lt()) : Me.value = !0)
                } finally {
                    ve.value = !1
                }
            }

            function st() {
                var k;
                if (R.type == 27 && le.getNeedFastKycValidIsOpen) {
                    const O = Ve.value.find(K => K.bid == R.bid);
                    if (O && !O.isKycOnline) return de.value = O, Le.value = !0;
                    if (O && O.isKycOnline) return Me.value = !0
                }
                R.type == 21 ? (k = y.value) != null && k.isActiveC && (R.pwd = "", G.value = !0) : M.value && (R.pwd = "", G.value = !0)
            }
            async function ca() {
                var O, K;
                h(!0);
                const k = await X(Ua());
                if (k) {
                    Ce.value = (k == null ? void 0 : k.data.withdrawlist) || [], m(Ce.value), p.getWithdrawal.type && Ce.value.find(ge => ge.withdrawID == p.getWithdrawal.type) ? R.type = p.getWithdrawal.type : Ce.value.find(ge => ge.withdrawID == p.getWithdrawal.type) || (R.type = 0), R.type == 0 && (R.type = Ce.value[0].withdrawID, Ye.value = Ce.value[0].name, R.type == 20 && (D.value = !0)), [4, 23, 24].includes(R.type) && (Ye.value = ((O = Ce.value.find(ge => ge.withdrawID == R.type)) == null ? void 0 : O.name) || ""), R.type == 22 && (Ye.value = ((K = Ce.value.find(ge => ge.withdrawID == 22)) == null ? void 0 : K.name) || "");
                    let Te = localStorage.getItem("popupHideUntil") || void 0;
                    const qe = new Date().getTime();
                    if (W.value = k.data.isOpenSafeGuide, W.value) {
                        const ge = parseInt(Te, 10);
                        qe < ge && (W.value = !1), x.value = k.data.safeGuideContent || ""
                    }
                }
                h(!1)
            }
            const ua = async () => {
                    try {
                        const k = await Ba();
                        (k == null ? void 0 : k.code) === 0 ? N.value = k.data : E({
                            message: k == null ? void 0 : k.msg
                        })
                    } catch (k) {
                        console.log("error", k)
                    }
                },
                Ct = async () => {
                    try {
                        const k = await Ra({
                            categoryId: 27
                        });
                        if ((k == null ? void 0 : k.code) === 0 && (tt.value = k == null ? void 0 : k.data, tt.value.length)) {
                            const O = k.data[0];
                            de.value = O, Le.value = !0, Re.value = ""
                        }
                    } catch {}
                };
            async function Tt(k) {
                R.type != k.withdrawID && (u.replace(), k.withdrawID == 20 && (D.value = !0), Y.value = k.need100 === !0, R.type = k.withdrawID, T.value = {}, await lt(), Ye.value = k.name || "", R.bid = Ve.value.length > 0 ? Ve.value[0].bid : 0, R.amount = 0, I.value && (I.value.usdtCount = 0))
            }

            function pa() {
                T.value = F.value.withdrawalslist.find(O => O.bid == R.bid);
                const k = R.type === 27 ? Ve.value : F.value.withdrawalslist || [];
                !T.value && k.length && (R.bid = k[0].bid, T.value = k[0])
            }
            async function lt() {
                var O, K, Te, qe;
                h(!0);
                const k = await X(Ze({
                    withdrawid: R.type
                }));
                h(!1), k && (F.value = k.data, Pe.value = (k == null ? void 0 : k.data.arUpiRecommandBankList) || [], R.type === 27 && (Pe.value.length > 0 && !U.query.bankCode ? ue.value = Pe.value[0].bankCode : ue.value = U.query.bankCode), p.setWithdrawalslist(k.data.withdrawalslist), s((O = k.data) == null ? void 0 : O.withdrawalsrule), (Te = (K = k.data) == null ? void 0 : K.withdrawalsrule) != null && Te.arbWithdrawRecommand && !d.value && (r.value = !0), k.data.lastBandCarkName ? localStorage.setItem("lastBandCarkName", (qe = k.data) == null ? void 0 : qe.lastBandCarkName) : localStorage.removeItem("lastBandCarkName"), pa())
            }

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

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

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

            function T(F) {
                C.bankid = F.bankID, a.value = F.bankName, m.value = 0
            }
            const N = j(() => m.value == 0 ? s("titleAddBankCard") : s("selectBank")),
                q = g(!1),
                S = g(!1),
                D = g(!1);
            let H = he([]);
            const ee = Ue(),
                P = j(() => ee.getDollarSign);
            P.value && (q.value = ["₫", "K"].includes(P.value), S.value = P.value == "₹", D.value = P.value == "৳");

            function le() {
                if (m.value > 0) return m.value = 0;
                d.replace({
                    name: w,
                    query: {
                        type: "Add"
                    }
                })
            }
            const C = he({
                smsCode: "",
                ifsccode: "",
                bankid: 0,
                beneficiaryname: "",
                accountno: "",
                email: "",
                mobileno: "",
                bankcitycode: "",
                bankprovincecode: "",
                bankbranchaddress: "",
                type: "",
                codeType: $e.addBankCard
            });
            _e(() => {
                J()
            });
            async function J() {
                const F = await X(Ge({
                    withdrawid: 1
                }));
                F && (H = F.data.banklist, C.ifsccode && C.ifsccode.length >= 4 && R())
            }
            const W = xe({
                    content: () => v(He, {
                        type: C.type,
                        "onUpdate:type": F => C.type = F,
                        code: C.smsCode,
                        "onUpdate:code": F => C.smsCode = F,
                        onConfirm: z,
                        codeType: $e.addBankCard
                    }, null),
                    beforeClose: () => {
                        C.smsCode = ""
                    }
                }),
                Y = j(() => !(C.beneficiaryname.trim().length == 0 || C.accountno.trim().length == 0 || C.mobileno.trim().length == 0 || !S.value && !D.value && C.bankbranchaddress.trim().length == 0 || C.bankid == 0 || S.value == !0 && C.ifsccode.trim().length == 0 || D.value == !0 && C.ifsccode.trim().length == 0)),
                M = () => {
                    const F = localStorage.getItem("numberType") || r.userForm.numberType;
                    if (!Y.value) return !1;
                    if (C.bankid == 0) return E({
                        message: s("addCardMsg1"),
                        wordBreak: "break-word"
                    });
                    if (C.beneficiaryname.toString().trim().length == 0) return E({
                        message: s("addCardMsg2"),
                        wordBreak: "break-word"
                    });
                    if (C.accountno.toString().trim().length == 0) return E({
                        message: s("addCardMsg3"),
                        wordBreak: "break-word"
                    }); {
                        let re;
                        if (P.value == "R$") {
                            if (re = /^[0-9\-]{6,25}$/, C.accountno.indexOf("-") == -1) return E({
                                message: s("code212"),
                                wordBreak: "break-word"
                            })
                        } else re = /^[0-9]{6,25}$/;
                        if (!re.test(C.accountno)) return E({
                            message: s("code212"),
                            wordBreak: "break-word"
                        })
                    }
                    if (A.value.toUpperCase() == "STATE BANK OF INDIA" && C.accountno.toString().trim().charAt(0) == "0") return E({
                        message: s("addBC1", [A.value]),
                        wordBreak: "break-word"
                    });
                    if (C.mobileno.toString().trim().length == 0) return E({
                        message: s("addCardMsg4"),
                        wordBreak: "break-word"
                    });
                    if (!ot(F, C.mobileno.trim().length)) return E({
                        message: s("wrongTel"),
                        wordBreak: "break-word"
                    });
                    if (C.bankbranchaddress.toString().trim().length == 0 && !S.value && !D.value) return E({
                        message: s("addCardMsg5"),
                        wordBreak: "break-word"
                    });
                    if (h.value && C.email.toString().trim().length == 0) return E({
                        message: s("addCardMsg6"),
                        wordBreak: "break-word"
                    });
                    if (S.value == !0) {
                        if (C.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(C.ifsccode)) return E({
                            message: s("IFSCCode") + s("formatErr"),
                            wordBreak: "break-word"
                        })
                    }
                    return h.value && !Zt.email1.test(C.email) ? E({
                        message: s(Gt.email),
                        wordBreak: "break-word"
                    }) : D.value == !0 && C.ifsccode.trim().length == 0 ? E({
                        message: s("phEnter") + " Routing Number",
                        wordBreak: "break-word"
                    }) : !0
                };
            async function B() {
                if (C.smsCode = "", M() === !0) {
                    if (o.value) return W.open();
                    await z()
                }
            }
            async function z() {
                const F = localStorage.getItem("numberType") || r.userForm.numberType;
                l(!0), C.beneficiaryname = C.beneficiaryname.trim(), await X(Va(Object.assign({}, C, {
                    mobileno: F + C.mobileno
                }))) && (Fe(s("addedSuccessfully")), W.close(), await d.replace({
                    name: w,
                    query: {
                        type: "Add"
                    },
                    replace: !0
                })), l(!1)
            }

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

            function ne(F) {
                const re = F.substring(0, 4).toUpperCase();
                return H.filter(We => We.ifscCode.toUpperCase() === re).map(We => ({
                    name: We.bankName,
                    code: We.bankID
                }))
            }
            const ve = () => {
                    C.ifsccode = C.ifsccode.replace(/[^a-zA-Z0-9]/g, ""), p(C, "ifsccode")
                },
                R = () => {
                    const F = ne(C.ifsccode.substring(0, 4));
                    if (F.length > 1 && C.ifsccode.length >= 4) return _.value = F, n.value = !0;
                    const re = F[0] || {
                        name: "",
                        code: 0
                    };
                    re && re.code && C.ifsccode ? (a.value = re.name, C.bankid = re.code) : (a.value = s("addCardMsg1"), C.bankid = 0), p(C, "ifsccode")
                },
                we = F => {
                    a.value = F.name, C.bankid = F.code
                };
            j(() => {
                const F = ne(C.ifsccode);
                return !(S.value && F.code != 0 && C.ifsccode)
            });

            function Oe() {
                m.value = 2
            }
            return I(C, "beneficiaryname"), (F, re) => {
                const We = V("NavBar"),
                    Ne = V("svg-icon"),
                    Pe = V("van-icon");
                return i(), c(Q, null, [e("div", dr, [v(We, {
                    title: N.value,
                    "left-arrow": "",
                    onClickLeft: le
                }, null, 8, ["title"]), m.value == 0 ? (i(), c("div", cr, [e("div", ur, [e("img", {
                    src: $(be)("wallet", "hint")
                }, null, 8, pr), e("span", null, t(F.$t("tipBindUrOwnCardToEnsureFundSafety")), 1)]), e("div", vr, [e("div", _r, [v(Ne, {
                    name: "bank"
                }), L(" " + t(F.$t("selectBank")), 1)]), e("div", {
                    class: "selectB",
                    onClick: Oe
                }, [L(t(A.value) + " ", 1), v(Pe, {
                    name: "arrow"
                })])]), b("验证收款人姓名"), e("div", mr, [e("div", hr, [v(Ne, {
                    name: "name"
                }), L(" " + t(F.$t("payeeName")), 1)]), ie(e("input", {
                    placeholder: F.$t("phEnterPayeeName"),
                    "onUpdate:modelValue": re[0] || (re[0] = ue => C.beneficiaryname = ue),
                    maxlength: "50",
                    onInput: re[1] || (re[1] = ue => $(y)(C, "beneficiaryname")),
                    readonly: $(u)
                }, null, 40, wr), [
                    [ye, C.beneficiaryname, void 0, {
                        trim: !0
                    }]
                ]), q.value ? (i(), c("span", fr, t(F.$t("validateDesc21")), 1)) : b("v-if", !0), q.value ? (i(), c("p", yr, t(F.$t("example")) + " : DINH THI HUYEN", 1)) : b("v-if", !0)]), e("div", gr, [e("div", br, [v(Ne, {
                    name: "bankCard"
                }), L(" " + t(F.$t("bankcardNo")), 1)]), ie(e("input", {
                    placeholder: F.$t("phEnterBankcardNo"),
                    "onUpdate:modelValue": re[2] || (re[2] = ue => C.accountno = ue),
                    maxlength: "25",
                    onInput: G
                }, null, 40, kr), [
                    [ye, C.accountno, void 0, {
                        trim: !0
                    }]
                ])]), e("div", $r, [e("div", Cr, [v(Ne, {
                    name: "phone"
                }), L(" " + t(F.$t("tel")), 1)]), ie(e("input", {
                    placeholder: F.$t("phEnterPayeeTel"),
                    "onUpdate:modelValue": re[3] || (re[3] = ue => C.mobileno = ue),
                    maxlength: "12",
                    onInput: re[4] || (re[4] = ue => $(U)(C, "mobileno"))
                }, null, 40, Tr), [
                    [ye, C.mobileno, void 0, {
                        trim: !0
                    }]
                ])]), $(h) ? (i(), c("div", Nr, [e("div", Sr, [v(Ne, {
                    name: "email"
                }), L(" " + t(F.$t("email")), 1)]), ie(e("input", {
                    type: "text",
                    placeholder: F.$t("inputemail"),
                    "onUpdate:modelValue": re[5] || (re[5] = ue => C.email = ue),
                    maxlength: "250"
                }, null, 8, Ir), [
                    [ye, C.email, void 0, {
                        trim: !0
                    }]
                ])])) : b("v-if", !0), S.value ? (i(), c("div", Ar, [e("div", Wr, [v(Ne, {
                    name: "ifscCode"
                }), L(" " + t(F.$t("IFSCCode")), 1)]), ie(e("input", {
                    placeholder: F.$t("phEnter") + F.$t("IFSCCode"),
                    "onUpdate:modelValue": re[6] || (re[6] = ue => C.ifsccode = ue),
                    onBlur: R,
                    onInput: ve,
                    maxlength: "11"
                }, null, 40, Br), [
                    [ye, C.ifsccode, void 0, {
                        trim: !0
                    }]
                ])])) : b("v-if", !0), D.value ? (i(), c("div", Ur, [e("div", Dr, [v(Ne, {
                    name: "address"
                }), L(" Routing Number ")]), ie(e("input", {
                    placeholder: F.$t("phEnter") + " Routing Number",
                    "onUpdate:modelValue": re[7] || (re[7] = ue => C.ifsccode = ue)
                }, null, 8, Pr), [
                    [ye, C.ifsccode, void 0, {
                        trim: !0
                    }]
                ])])) : b("v-if", !0), !S.value && !D.value ? (i(), c("div", Rr, [e("div", Vr, [v(Ne, {
                    name: "address"
                }), L(" " + t(F.$t("branchBankAddr")), 1)]), ie(e("textarea", {
                    class: "textarea",
                    name: "remark",
                    id: "",
                    cols: "30",
                    rows: "10",
                    placeholder: F.$t("phEnterBranchAddr"),
                    "onUpdate:modelValue": re[8] || (re[8] = ue => C.bankbranchaddress = ue),
                    maxlength: "100"
                }, null, 8, Or), [
                    [ye, C.bankbranchaddress, void 0, {
                        trim: !0
                    }]
                ])])) : b("v-if", !0), e("div", Mr, [e("button", {
                    class: se({
                        active: Y.value
                    }),
                    onClick: B
                }, t(F.$t("save")), 3)])])) : (i(), c("div", Lr, [b("选择银行卡"), v(Yt, {
                    bankList: $(H),
                    onOnSelectItem: T
                }, null, 8, ["bankList"])]))]), v(rr, {
                    modelValue: n.value,
                    "onUpdate:modelValue": re[9] || (re[9] = ue => n.value = ue),
                    list: _.value,
                    onChangeBank: we
                }, null, 8, ["modelValue", "list"])], 64)
            }
        }
    });
const jr = ae(qr, [
        ["__scopeId", "data-v-1726638e"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/AddBankCard/index.vue"]
    ]),
    y_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: jr
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    nt = document.createElement("canvas"),
    Vt = nt.getContext("2d");
nt.width = 1920;
nt.height = 1080;
class Fr extends Error {
    constructor() {
        super("can't process cross-origin image"), this.name = "DropImageFetchError"
    }
}
class zr extends Error {
    constructor() {
        super("drag-and-dropped file is not of type image and can't be decoded"), this.name = "DropImageDecodeError"
    }
}

function Xt(f, n, s) {
    let m, l;
    const r = new Promise((d, o) => {
        m = d, l = o
    });
    return f.addEventListener(n, m), f.addEventListener(s, l), r.finally(() => {
        f.removeEventListener(n, m), f.removeEventListener(s, l)
    }), r
}

function Er(f, n, s) {
    const m = Math.min(1, nt.width / n, nt.height / s),
        l = m * n,
        r = m * s;
    return Vt.drawImage(f, 0, 0, l, r), Vt.getImageData(0, 0, l, r)
}

function xr(f) {
    const n = f.naturalWidth,
        s = f.naturalHeight;
    return Er(f, n, s)
}
async function Hr(f) {
    if (f.startsWith("http") && f.includes(location.host) === !1) throw new Fr;
    const n = document.createElement("img");
    return n.src = f, await Xt(n, "load"), xr(n)
}
async function Kr(f) {
    if (/image.*/.test(f.type)) {
        const n = new FileReader;
        n.readAsDataURL(f);
        const m = (await Xt(n, "load")).target.result,
            l = await Hr(m);
        return ka(l.data, l.width, l.height)
    } else throw new zr
}
const Jt = f => (Se("data-v-b3c0cdff"), f = f(), Ie(), f),
    Zr = {
        class: "addupi_C"
    },
    Gr = {
        class: "addupi_C-header wallet_18"
    },
    Qr = Jt(() => e("div", {
        class: "addupi_C-title"
    }, "UPI Name", -1)),
    Yr = {
        class: "addupi_C-title"
    },
    Xr = {
        class: "addupi_C_number"
    },
    Jr = {
        class: "tip"
    },
    ed = Jt(() => e("div", {
        class: "addupi_C-title"
    }, "UPI ID", -1)),
    td = {
        key: 0,
        class: "addupi_C-title"
    },
    ad = {
        key: 2,
        class: "addupi_C-title"
    },
    nd = {
        key: 3,
        class: "addupi_C-uploader"
    },
    od = {
        class: "addupi_C-uploader-btn"
    },
    sd = {
        key: 4,
        class: "addupi_C-title"
    },
    ld = te({
        __name: "index",
        setup(f) {
            const n = pe(),
                s = Ae(),
                {
                    isOpenWithdraw: m
                } = Ee(),
                l = Ue(),
                r = g("91"),
                d = g(""),
                {
                    t: o
                } = me(),
                h = g(""),
                w = g([]),
                a = g(),
                _ = j(() => n.currentRoute.value.query.bankCode || ""),
                {
                    iseditor: u,
                    onLoad: U,
                    makeTxt: p
                } = De(),
                I = () => {
                    n.replace({
                        name: "Withdraw-FastUpi",
                        query: {
                            type: "Add",
                            bankCode: _.value,
                            bid: s.query.bid || ""
                        }
                    })
                },
                y = he({
                    beneficiaryName: "",
                    accountNo: "",
                    smsCode: "",
                    type: "",
                    bankCode: _.value,
                    categoryId: _.value ? 27 : null,
                    mobileNo: "",
                    codeType: $e.addNewUPI_N,
                    confirmAccountNo: "",
                    pin: ""
                }),
                T = xe({
                    content: () => _.value && l.getNeedFastKycValidIsOpen ? v(ct, {
                        code: y.smsCode,
                        "onUpdate:code": M => y.smsCode = M,
                        mobile: y.mobileNo,
                        onConfirm: W,
                        bank: _.value,
                        upi: y.accountNo
                    }, null) : v(He, {
                        type: y.type,
                        "onUpdate:type": M => y.type = M,
                        code: y.smsCode,
                        "onUpdate:code": M => y.smsCode = M,
                        onConfirm: W,
                        codeType: y.codeType
                    }, null),
                    beforeClose: () => {
                        y.smsCode = ""
                    }
                }),
                N = M => (M.preventDefault(), !1);

            function q(M) {
                const B = M.target,
                    z = /[^0-9]/g;
                B.value = B.value.replace(z, "")
            }
            const S = M => {
                    y.accountNo = M.target.value.replace(/[\u4e00-\u9fa5]/g, "")
                },
                D = (M, B) => {
                    let z = "";
                    if (M.includes("://")) return z = new URL(M).searchParams.get("pa") || "", z === B; {
                        const G = M.match(/pa=([^&\s]+)/);
                        return z = G ? G[1] : "", z === B
                    }
                },
                H = async M => {
                    const B = w.value[0] || M,
                        z = y.accountNo || "";
                    if (!l.getNeedFastKycValidIsOpen && !_.value) return !0;
                    if (!z) return E(o("phEnterUPIID"));
                    if (!B) return E(o("withdrawQrcodeTips"));
                    try {
                        const G = await Kr(B.file);
                        return D(G.data, z.trim()) ? !0 : E(o("qrupiId"))
                    } catch (G) {
                        return console.log(G), E(o("upiUploadImg"))
                    }
                },
                ee = async M => typeof await H(M) == "boolean";

            function P(M) {
                var ne;
                const B = sessionStorage.getItem("areaPhoneLenList");
                let G = (ne = JSON.parse(B).find(ve => M.indexOf(ve.area.replace("+", "")) == 0)) == null ? void 0 : ne.area.replace("+", "");
                G && (r.value = G, d.value = M.substring(G.length))
            }
            const le = j(() => y.beneficiaryName && y.accountNo && d && r),
                C = g(!1),
                J = async () => {
                    const M = await X(Et());
                    h.value = (M == null ? void 0 : M.data) || "", h.value != "" && P(h.value)
                },
                x = async () => {
                    if (!l.getNeedKycValid) return !1;
                    const M = await X(Ma({
                        categoryId: 27,
                        accountNo: y.accountNo
                    }));
                    return M ? (M.data && E({
                        message: o("code254"),
                        wordBreak: "break-word"
                    }), M.data) : !1
                },
                W = async () => {
                    const {
                        confirmAccountNo: M,
                        ...B
                    } = y;
                    if (C.value) return;
                    C.value = !0;
                    const z = await X(Oa(B));
                    C.value = !1, z && (Fe(o("addedSuccessfully")), T.close(), await n.replace({
                        name: "Withdraw-FastUpi",
                        query: {
                            bankCode: _.value,
                            bid: s.query.bid || ""
                        }
                    }))
                };
            U(y, "beneficiaryName");
            const Y = async () => {
                const M = /^[a-zA-Z0-9]([a-zA-Z0-9._-]*[a-zA-Z0-9])?@[a-zA-Z0-9]+(\.[a-zA-Z0-9]+)*$/;
                if (!y.mobileNo) return E(o("pphone"));
                if (!ot(r.value, `${y.mobileNo}`.trim().length)) return E({
                    message: o("wrongTel"),
                    wordBreak: "break-word"
                });
                if (_.value === "slice" && !/^\d{4}$/.test(y.pin)) return E(o("pinFormatError"));
                if (!M.test(y.accountNo)) return E(o("UPIID"));
                if (typeof await H() == "boolean" && !await x()) {
                    if (!M.test(y.confirmAccountNo) && !_.value) return E(o("confirmAccountNo"));
                    if (y.accountNo !== y.confirmAccountNo && !_.value) return E(o("UPIIDNotSame"));
                    if (_.value && l.getNeedFastKycValidIsOpen || m.value) return T.open();
                    W()
                }
            };
            return Mt(a, () => {
                a.value.close()
            }), J(), (M, B) => {
                const z = V("NavBar"),
                    G = V("svg-icon"),
                    ne = V("van-field"),
                    ve = V("van-icon"),
                    R = V("van-uploader");
                return i(), c("div", Zr, [v(z, {
                    title: `${$(Xe)(_.value)} ${M.$t("paymentMethod")}`,
                    "left-arrow": "",
                    onClickLeft: I
                }, null, 8, ["title"]), e("div", Gr, [v(G, {
                    name: _.value || "upi"
                }, null, 8, ["name"]), L(t(M.$t("UPIInformation")), 1)]), Qr, v(ne, {
                    class: "upi-input",
                    modelValue: y.beneficiaryName,
                    "onUpdate:modelValue": B[0] || (B[0] = we => y.beneficiaryName = we),
                    modelModifiers: {
                        trim: !0
                    },
                    maxlength: 30,
                    placeholder: M.$t("phEnterUPIName"),
                    readonly: $(u),
                    onInput: B[1] || (B[1] = we => $(p)(y, "beneficiaryName")),
                    rules: [{
                        required: !0,
                        message: M.$t("phEnterUPIName")
                    }]
                }, null, 8, ["modelValue", "placeholder", "readonly", "rules"]), e("div", Yr, t(M.$t("phoneN")), 1), e("div", Xr, [v(ne, {
                    class: "upi-input number",
                    modelValue: y.mobileNo,
                    "onUpdate:modelValue": B[2] || (B[2] = we => y.mobileNo = we),
                    modelModifiers: {
                        number: !0,
                        trim: !0
                    },
                    type: "text",
                    onInput: q,
                    maxlength: $(xt)(r.value),
                    placeholder: M.$t("plsEnterTel")
                }, null, 8, ["modelValue", "maxlength", "placeholder"])]), e("div", Jr, [v(ve, {
                    name: "warning-o",
                    size: "14"
                }), L(t(M.$t("upiTip1")), 1)]), ed, v(ne, {
                    class: "upi-input",
                    modelValue: y.accountNo,
                    "onUpdate:modelValue": B[3] || (B[3] = we => y.accountNo = we),
                    modelModifiers: {
                        trim: !0
                    },
                    maxlength: 30,
                    type: "text",
                    onInput: S,
                    placeholder: M.$t("phEnterUPIID")
                }, null, 8, ["modelValue", "placeholder"]), _.value === "slice" ? (i(), c("div", td, t(M.$t("pin")), 1)) : b("v-if", !0), _.value === "slice" ? (i(), fe(ne, {
                    key: 1,
                    class: "upi-input",
                    modelValue: y.pin,
                    "onUpdate:modelValue": B[4] || (B[4] = we => y.pin = we),
                    modelModifiers: {
                        trim: !0
                    },
                    maxlength: 4,
                    min: 0,
                    max: 9999,
                    type: "digit",
                    placeholder: M.$t("enterPin")
                }, null, 8, ["modelValue", "placeholder"])) : b("v-if", !0), _.value ? (i(), c("div", ad, t(M.$t("withdrawQrcode")), 1)) : b("v-if", !0), _.value ? (i(), c("div", nd, [v(R, {
                    ref: "uploadRef",
                    "max-size": 5e3 * 1024,
                    accept: "image/*",
                    "after-read": ee,
                    "preview-full-image": !1,
                    modelValue: w.value,
                    "onUpdate:modelValue": B[5] || (B[5] = we => w.value = we),
                    "max-count": 1,
                    onOversize: B[6] || (B[6] = () => $(_t)(M.$t("sellTip14")))
                }, {
                    default: Z(() => [e("div", od, [v(G, {
                        name: "uploadIcon"
                    }), e("span", null, t(w.value.length === 0 ? M.$t("uploadImage") : M.$t("changeImage")), 1)])]),
                    _: 1
                }, 8, ["modelValue"])])) : b("v-if", !0), _.value ? b("v-if", !0) : (i(), c("div", sd, t(M.$t("confirm")) + " UPI ID", 1)), _.value ? b("v-if", !0) : (i(), fe(ne, {
                    key: 5,
                    onPaste: N,
                    class: "upi-input",
                    modelValue: y.confirmAccountNo,
                    "onUpdate:modelValue": B[7] || (B[7] = we => y.confirmAccountNo = we),
                    modelModifiers: {
                        trim: !0
                    },
                    maxlength: 30,
                    type: "text",
                    placeholder: M.$t("phEnterUPIID")
                }, null, 8, ["modelValue", "placeholder"])), e("div", {
                    class: se(["bind-bank-sumbit", {
                        disable: !le.value
                    }]),
                    onClick: Y
                }, t(M.$t("save")), 3)])
            }
        }
    });
const id = ae(ld, [
        ["__scopeId", "data-v-b3c0cdff"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/AddFastUpi/index.vue"]
    ]),
    g_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: id
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    rd = {
        class: "addKBZ"
    },
    dd = {
        class: "addKBZ-top"
    },
    cd = ["src"],
    ud = {
        class: "addKBZ-item"
    },
    pd = {
        class: "label"
    },
    vd = {
        class: "selectB"
    },
    _d = {
        class: "addKBZ-item"
    },
    md = {
        class: "label"
    },
    hd = ["placeholder", "readonly"],
    wd = {
        class: "addKBZ-item"
    },
    fd = {
        class: "label"
    },
    yd = ["placeholder"],
    gd = te({
        __name: "index",
        setup(f) {
            const {
                iseditor: n,
                onInput: s,
                checkAccoutNo: m,
                onLoad: l,
                makeTxt: r
            } = De(), {
                t: d
            } = me(), o = pe(), {
                setLoading: h
            } = Be();
            let w = he([]);
            const a = g(""),
                {
                    isOpenWithdraw: _
                } = Ee(),
                u = he({
                    smsCode: "",
                    withdrawId: 8,
                    bankId: 0,
                    mobileNo: "",
                    beneficiaryName: "",
                    type: "",
                    codeType: $e.addKBZ
                }),
                U = j(() => !(u.mobileNo.trim().length == 0 || u.bankId == 0 || u.beneficiaryName.trim().length == 0));
            async function p() {
                const S = await X(Ge({
                    withdrawid: 8
                }));
                S && (w = S.data.banklist, a.value = w.length > 0 ? w[0].bankName : "", u.bankId = w.length > 0 ? w[0].bankID : 0)
            }
            _e(async () => {
                await p()
            });
            const I = () => !U.value || !localStorage.getItem("numberType") ? !1 : u.bankId == 0 ? E({
                    message: d("addCardMsg1"),
                    wordBreak: "break-word"
                }) : u.beneficiaryName.toString().trim().length == 0 ? E({
                    message: d("phEnterName"),
                    wordBreak: "break-word"
                }) : u.mobileNo.toString().trim().length == 0 ? E({
                    message: d("addCardMsg4"),
                    wordBreak: "break-word"
                }) : m(u.mobileNo, d("tel") + d("formatErr")) ? ot(localStorage.getItem("numberType"), u.mobileNo.trim().length) ? !0 : E({
                    message: d("wrongTel"),
                    wordBreak: "break-word"
                }) : void 0,
                A = xe({
                    content: () => v(He, {
                        type: u.type,
                        "onUpdate:type": S => u.type = S,
                        code: u.smsCode,
                        "onUpdate:code": S => u.smsCode = S,
                        onConfirm: N,
                        codeType: $e.addKBZ
                    }, null),
                    beforeClose: () => {
                        u.smsCode = ""
                    }
                });
            async function T() {
                if (I() === !0) {
                    if (u.smsCode = "", _.value) return A.open();
                    await N()
                }
            }
            async function N() {
                h(!0), await X(dt(u)) && (A.close(), o.replace({
                    name: "Withdraw",
                    query: {
                        type: "Add"
                    },
                    replace: !0
                })), h(!1)
            }

            function q() {
                o.replace({
                    name: "Withdraw",
                    query: {
                        type: "Add"
                    }
                })
            }
            return l(u, "beneficiaryName"), (S, D) => {
                const H = V("NavBar"),
                    ee = V("svg-icon");
                return i(), c("div", rd, [v(H, {
                    title: `${S.$t("addto")} KBZPay`,
                    "left-arrow": "",
                    onClickLeft: q
                }, null, 8, ["title"]), e("div", dd, [e("img", {
                    src: $(be)("wallet", "hint")
                }, null, 8, cd), e("span", null, t(S.$t("WaveTip1")), 1)]), e("div", ud, [e("div", pd, [v(ee, {
                    name: "bank"
                }), L(" " + t(S.$t("bankname")), 1)]), e("div", vd, t(a.value), 1)]), e("div", _d, [e("div", md, [v(ee, {
                    name: "name"
                }), L(" " + t(S.$t("name")), 1)]), ie(e("input", {
                    placeholder: S.$t("phEnterName"),
                    "onUpdate:modelValue": D[0] || (D[0] = P => u.beneficiaryName = P),
                    maxlength: "50",
                    onInput: D[1] || (D[1] = P => $(r)(u, "beneficiaryName")),
                    readonly: $(n)
                }, null, 40, hd), [
                    [ye, u.beneficiaryName, void 0, {
                        trim: !0
                    }]
                ])]), e("div", wd, [e("div", fd, [v(ee, {
                    name: "phone"
                }), L(" " + t(S.$t("tel")), 1)]), ie(e("input", {
                    placeholder: S.$t("phEnterPayeeTel"),
                    "onUpdate:modelValue": D[2] || (D[2] = P => u.mobileNo = P),
                    maxlength: 12,
                    onInput: D[3] || (D[3] = P => $(s)(u, "mobileNo"))
                }, null, 40, yd), [
                    [ye, u.mobileNo, void 0, {
                        trim: !0
                    }]
                ])]), e("div", {
                    class: se(["addKBZ-btn", {
                        active: U.value
                    }]),
                    onClick: T
                }, t(S.$t("save")), 3)])
            }
        }
    });
const bd = ae(gd, [
        ["__scopeId", "data-v-ee22f671"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/AddKbz/index.vue"]
    ]),
    b_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: bd
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    kd = f => (Se("data-v-9694f22e"), f = f(), Ie(), f),
    $d = {
        class: "addBankCard__container"
    },
    Cd = {
        class: "addBankCard__container-content"
    },
    Td = {
        class: "addBankCard__container-content-top"
    },
    Nd = {
        class: "addBankCard__container-content-top-item"
    },
    Sd = {
        class: "label"
    },
    Id = ["readonly", "placeholder"],
    Ad = {
        class: "addBankCard__container-content-top-item"
    },
    Wd = kd(() => e("div", {
        class: "label"
    }, "CPF", -1)),
    Bd = ["readonly", "placeholder"],
    Ud = {
        class: "addBankCard__container-content-top-item"
    },
    Dd = {
        class: "label"
    },
    Pd = {
        class: "ar-searchbar"
    },
    Rd = {
        class: "addBankCard__container-content-top-item"
    },
    Vd = {
        class: "label"
    },
    Od = {
        class: "accountNo"
    },
    Md = {
        key: 0
    },
    Ld = ["placeholder"],
    qd = ["placeholder"],
    jd = {
        class: "addBankCard__container-content-btn"
    },
    Fd = {
        class: "search"
    },
    zd = te({
        __name: "index",
        setup(f) {
            const {
                getSelfCustomerServiceLink: n
            } = qt({
                ServerType: 2
            }), {
                t: s
            } = me(), {
                setLoading: m
            } = Be(), l = pe(), r = g(""), d = g(!1), o = l.currentRoute.value.query.fromV || "Withdraw-PIX";

            function h() {
                l.replace({
                    name: o,
                    query: {
                        type: "Add"
                    }
                })
            }
            const {
                isOpenWithdraw: w
            } = Ee(), a = he({
                bankId: 0,
                accountNo: "",
                name: "",
                cpf: "",
                smsCode: "",
                type: "",
                codeType: $e.addPIX,
                pixType: ""
            }), _ = g(localStorage.getItem("numberType")), u = g("");
            let U = g([]),
                p = he([]);
            const I = j(() => !(a.accountNo.trim().length == 0 || a.name.trim().length == 0 || a.cpf.trim().length == 0 || a.bankId == 0)),
                y = () => {
                    n()
                };

            function A(W) {
                W.preventDefault();
                const M = W.clipboardData.getData("text").replace(/[^\d]/g, "");
                W.target.value = M, W.target.id == "cpf" ? a.cpf = M : W.target.id == "accountNo" && (a.accountNo = M)
            }
            const T = () => {
                if (I.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"
                }) : C(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()) && !Zt.email1.test(a.accountNo.trim()) ? E({
                    message: s(Gt.email),
                    wordBreak: "break-word"
                }) : !0 : E({
                    message: s("tipsCpf1"),
                    wordBreak: "break-word"
                })
            };
            async function N() {
                if (T() === !0) {
                    if (a.smsCode = "", w.value) return x.open();
                    await q()
                }
            }
            async function q() {
                m(!0);
                let W = a;
                if (r.value.toUpperCase().indexOf("PHONE") != -1) {
                    const M = _.value + a.accountNo;
                    W = Object.assign({}, a, {
                        accountNo: M
                    })
                }
                await X(La(W)) && (Fe(s("addedSuccessfully")), x.close(), a.accountNo = "", await l.replace({
                    name: o,
                    query: {
                        type: "Add"
                    },
                    replace: !0
                })), m(!1)
            }
            const S = g(!0);
            async function D() {
                const W = await X(qa());
                W && W.data != null ? (S.value = !0, a.name = W.data.realName, a.cpf = W.data.idCard) : S.value = !1
            }
            async function H() {
                const W = await X(Ge({
                    withdrawid: 5
                }));
                W && (p = W.data.banklist, r.value = p.length > 0 ? p[0].bankName : "", a.bankId = p.length > 0 ? p[0].bankID : 0, U.value = p, ee())
            }
            je(u, () => {
                p.length > 0 && (U.value = p.filter(W => W.bankName.toLowerCase().indexOf(u.value.toLowerCase()) !== -1))
            });

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

            function P() {
                d.value = !0
            }
            const le = ({
                selectedOptions: W
            }) => {
                d.value = !1, W[0] && (r.value = W[0].bankName, a.bankId = W[0].bankID, ee())
            };

            function C(W) {
                if (W = W.replace(/[^\d]+/g, ""), W == "" || W.length != 11 || W == "00000000000" || W == "11111111111" || W == "22222222222" || W == "33333333333" || W == "44444444444" || W == "55555555555" || W == "66666666666" || W == "77777777777" || W == "88888888888" || W == "99999999999") return !1;
                let Y = 0;
                for (let B = 0; B < 9; B++) Y += parseInt(W.charAt(B)) * (10 - B);
                let M = 11 - Y % 11;
                if ((M == 10 || M == 11) && (M = 0), M != parseInt(W.charAt(9))) return !1;
                Y = 0;
                for (let B = 0; B < 10; B++) Y += parseInt(W.charAt(B)) * (11 - B);
                return M = 11 - Y % 11, (M == 10 || M == 11) && (M = 0), M == parseInt(W.charAt(10))
            }
            _e(async () => {
                await D(), await H()
            });
            const x = xe({
                content: () => v(He, {
                    type: a.type,
                    "onUpdate:type": W => a.type = W,
                    code: a.smsCode,
                    "onUpdate:code": W => a.smsCode = W,
                    onConfirm: q,
                    codeType: $e.addPIX
                }, null),
                beforeClose: () => {
                    a.smsCode = ""
                }
            });
            return (W, Y) => {
                const M = V("NavBar"),
                    B = V("svg-icon"),
                    z = V("ArSelect"),
                    G = V("van-picker"),
                    ne = V("van-popup");
                return i(), c("div", $d, [v(M, {
                    title: W.$t("paymentMethod"),
                    "left-arrow": "",
                    onClickLeft: h
                }, null, 8, ["title"]), e("div", Cd, [e("h1", null, [v(B, {
                    name: "pix"
                }), L(t(W.$t("pixInfo")), 1)]), e("div", Td, [e("div", Nd, [e("div", Sd, t(W.$t("payeeName")), 1), ie(e("input", {
                    readonly: S.value,
                    placeholder: W.$t("phEnterPayeeName"),
                    "onUpdate:modelValue": Y[0] || (Y[0] = ve => a.name = ve)
                }, null, 8, Id), [
                    [ye, a.name]
                ])]), e("div", Ad, [Wd, ie(e("input", {
                    readonly: S.value,
                    placeholder: W.$t("enterCpf"),
                    "onUpdate:modelValue": Y[1] || (Y[1] = ve => a.cpf = ve),
                    maxlength: "11",
                    oninput: "value=value.replace(/\\D/g,'')",
                    onPaste: A,
                    id: "cpf"
                }, null, 40, Bd), [
                    [ye, a.cpf]
                ])]), e("div", Ud, [e("div", Dd, t(W.$t("pixType")), 1), e("div", Pd, [v(z, {
                    onClickSelect: P,
                    selectName: r.value
                }, null, 8, ["selectName"])])]), e("div", Rd, [e("div", Vd, t(W.$t("pixAccount")), 1), e("div", Od, [r.value.toUpperCase().indexOf("PHONE") != -1 ? (i(), c("div", Md, "+" + t(_.value), 1)) : b("v-if", !0), b("phone只能输入数字"), r.value.toUpperCase().indexOf("PHONE") != -1 || r.value.toUpperCase().indexOf("CPF") != -1 ? ie((i(), c("input", {
                    key: 1,
                    placeholder: W.$t("enterPixAccount"),
                    "onUpdate:modelValue": Y[2] || (Y[2] = ve => a.accountNo = ve),
                    oninput: "value=value.replace(/\\D/g,'')",
                    maxlength: "11",
                    onPaste: A,
                    id: "accountNo"
                }, null, 40, Ld)), [
                    [ye, a.accountNo, void 0, {
                        trim: !0
                    }]
                ]) : ie((i(), c("input", {
                    key: 2,
                    placeholder: W.$t("enterPixAccount"),
                    "onUpdate:modelValue": Y[3] || (Y[3] = ve => a.accountNo = ve),
                    oninput: "value=value.replace(/\\s+/g,'')",
                    maxlength: "40"
                }, null, 8, qd)), [
                    [ye, a.accountNo, void 0, {
                        trim: !0
                    }]
                ])])])])]), e("div", jd, [e("button", {
                    class: se({
                        active: I.value
                    }),
                    onClick: N
                }, t(W.$t("save")), 3), e("div", {
                    onClick: y
                }, [v(B, {
                    name: "iconservr-r"
                }), L(t(W.$t("withdrawDialogDesc5")), 1)])]), v(ne, {
                    show: d.value,
                    "onUpdate:show": Y[6] || (Y[6] = ve => d.value = ve),
                    round: "",
                    position: "bottom"
                }, {
                    default: Z(() => [e("div", Fd, [v(on, {
                        placeholder: W.$t("searchPixType"),
                        value: u.value,
                        "onUpdate:value": Y[4] || (Y[4] = ve => u.value = ve),
                        isShowClose: !0
                    }, null, 8, ["placeholder", "value"])]), v(G, {
                        "columns-field-names": {
                            text: "bankName",
                            value: "bankID",
                            children: "children"
                        },
                        columns: $(U),
                        onCancel: Y[5] || (Y[5] = ve => d.value = !1),
                        onConfirm: le
                    }, null, 8, ["columns"])]),
                    _: 1
                }, 8, ["show"])])
            }
        }
    });
const Ed = ae(zd, [
        ["__scopeId", "data-v-9694f22e"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/AddPIX/index.vue"]
    ]),
    k_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: Ed
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    xd = {
        class: "addtype4_C"
    },
    Hd = {
        class: "addtype4_C-header"
    },
    Kd = {
        class: "addtype4_C-title"
    },
    Zd = {
        class: "selectB"
    },
    Gd = {
        class: "addtype4_C-title"
    },
    Qd = {
        class: "successTip"
    },
    Yd = te({
        __name: "index",
        setup(f) {
            const {
                t: n
            } = me(), s = pe(), {
                isOpenWithdraw: m
            } = Ee(), l = s.currentRoute.value.query.Type4name, r = g(!1), d = he({
                withdrawId: 22,
                mobileNo: "",
                bankId: "",
                smsCode: "",
                beneficiaryName: "",
                type: "",
                codeType: $e.addEWallet
            }), o = g({
                bankName: "",
                bankID: 0,
                reserved: ""
            });
            g(!1);
            const h = () => {
                    s.replace({
                        name: "Withdraw-RsnPay",
                        query: {
                            type: "Add",
                            Type4name: l
                        }
                    })
                },
                w = j(() => d.mobileNo);
            let a = g([]);
            async function _() {
                var A;
                const y = await X(Ge({
                    withdrawid: 22
                }));
                y && (a.value = y.data.banklist, ((A = y == null ? void 0 : y.data) == null ? void 0 : A.banklist.length) > 0 && (o.value = y.data.banklist[0], d.bankId = y.data.banklist[0].bankID))
            }
            _e(async () => {
                await _()
            });
            const u = async () => {
                    await X(dt(d)) && (Fe(n("addedSuccessfully")), p.close(), s.replace({
                        name: "Withdraw",
                        query: {
                            bid: 0,
                            type: 22
                        }
                    }), s.replace({
                        name: "Withdraw-RsnPay",
                        query: {
                            type: "Add",
                            Type4name: l
                        }
                    }))
                },
                p = xe({
                    content: () => v(He, {
                        type: d.type,
                        "onUpdate:type": y => d.type = y,
                        code: d.smsCode,
                        "onUpdate:code": y => d.smsCode = y,
                        onConfirm: u,
                        codeType: $e.addEWallet
                    }, null),
                    beforeClose: () => {
                        d.smsCode = ""
                    }
                }),
                I = async () => {
                    if (m.value) return p.open();
                    await u()
                };
            return (y, A) => {
                const T = V("NavBar"),
                    N = V("van-field"),
                    q = V("van-toast");
                return i(), c(Q, null, [e("div", xd, [v(T, {
                    title: $(l) + $(n)("paymentMethod"),
                    "left-arrow": "",
                    onClickLeft: h
                }, null, 8, ["title"]), e("div", Hd, t($(l)), 1), e("div", Kd, t(y.$t("bankname")), 1), e("div", Zd, t(o.value.bankName), 1), b(` <van-field
			class="addtype4-input"
			v-model="activeBink.bankName"
			:readonly="true"
			disabled
			:placeholder="$t('tipSelectPls')"
		/> `), e("div", Gd, t(y.$t("walletAddress")), 1), v(N, {
                    class: "addtype4-input",
                    modelValue: d.mobileNo,
                    "onUpdate:modelValue": A[0] || (A[0] = S => d.mobileNo = S),
                    modelModifiers: {
                        trim: !0
                    },
                    placeholder: y.$t("phEnter") + y.$t("walletAddress")
                }, null, 8, ["modelValue", "placeholder"]), e("div", {
                    class: se(["sumbitBtn", {
                        disable: !w.value
                    }]),
                    onClick: I
                }, t(y.$t("save")), 3), v(q, {
                    show: r.value,
                    "onUpdate:show": A[1] || (A[1] = S => r.value = S)
                }, {
                    message: Z(() => [e("div", Qd, [e("div", null, t(y.$t("addedSuccessfully")), 1)])]),
                    _: 1
                }, 8, ["show"])]), b(` <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 Xd = ae(Yd, [
        ["__scopeId", "data-v-81838f32"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/AddRsnPay/index.vue"]
    ]),
    $_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: Xd
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    Jd = {
        class: "addtype4_C"
    },
    ec = {
        class: "addtype4_C-header"
    },
    tc = {
        class: "addtype4_C-title"
    },
    ac = {
        class: "addtype4_C-title"
    },
    nc = {
        class: "selectB"
    },
    oc = {
        class: "addtype4_C-title"
    },
    sc = {
        class: "addtype4_C-title"
    },
    lc = {
        class: "successTip"
    },
    ic = te({
        __name: "index",
        setup(f) {
            const {
                iseditor: n,
                onLoad: s,
                makeTxt: m
            } = De(), {
                t: l
            } = me(), r = pe(), {
                isOpenWithdraw: d
            } = Ee(), o = r.currentRoute.value.query.Type4name, h = Number(r.currentRoute.value.query.withdrawType), w = g(!1), a = he({
                withdrawId: h,
                mobileNo: "",
                bankId: "",
                smsCode: "",
                beneficiaryName: "",
                type: "",
                codeType: $e.addEWallet
            }), _ = g({
                bankName: "",
                bankID: 0,
                reserved: ""
            }), u = g(!1), U = () => {
                r.replace({
                    name: "Withdraw-Type4",
                    query: {
                        type: "Add",
                        Type4name: o,
                        withdrawType: h
                    }
                })
            }, p = {
                text: "bankName",
                value: "bankID"
            }, I = j(() => a.mobileNo && a.bankId && a.beneficiaryName), y = {}.VITE_ADDTYPE4_ONLY_NUM === "1", A = j(() => [23, 24].includes(h) || y ? "digit" : "text");

            function T(x) {
                const W = x.target;
                if (![23, 24].includes(h)) W.value = W.value;
                else {
                    const Y = /[^0-9]/g;
                    W.value = W.value.replace(Y, "")
                }
            }
            let N = g([]);
            async function q() {
                const x = await X(Ge({
                    withdrawid: h
                }));
                x && (N.value = x.data.banklist, [23, 24].includes(h) && (_.value = x.data.banklist[0], a.bankId = x.data.banklist[0].bankID))
            }
            _e(async () => {
                await q()
            });
            const S = async () => {
                    console.log("confirm", a, A), await X(dt({ ...a
                    })) && (Fe(l("addedSuccessfully")), H.close(), r.replace({
                        name: "Withdraw-Type4",
                        query: {
                            type: "Add",
                            Type4name: o,
                            withdrawType: h
                        }
                    }))
                },
                H = xe({
                    content: () => v(He, {
                        type: a.type,
                        "onUpdate:type": x => a.type = x,
                        code: a.smsCode,
                        "onUpdate:code": x => a.smsCode = x,
                        onConfirm: S,
                        codeType: $e.addEWallet
                    }, null),
                    beforeClose: () => {
                        a.smsCode = ""
                    }
                }),
                ee = x => {
                    let W = { ...x.selectedOptions[0]
                    };
                    _.value = W, a.bankId = W.bankID, u.value = !1
                };

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

            function le(x, W) {
                return /^[0-9]{8,15}$/.test(x) ? `${x}`.charAt(0) !== "0" ? (E({
                    message: l("charAtone"),
                    wordBreak: "break-word"
                }), !1) : !0 : (E({
                    message: W,
                    wordBreak: "break-word"
                }), !1)
            }
            const C = () => {
                    const x = y || [23, 24].includes(h);
                    if (!(a.mobileNo.toString().trim().length > 0 && !(x ? le(a.mobileNo, l("account") + l("formatErr")) : P(a.mobileNo)))) return !0
                },
                J = async () => {
                    if (C() === !0) {
                        if (d.value) return H.open();
                        await S()
                    }
                };
            return s(a, "beneficiaryName"), (x, W) => {
                const Y = V("NavBar"),
                    M = V("van-field"),
                    B = V("van-toast"),
                    z = V("van-picker"),
                    G = V("van-popup");
                return i(), c(Q, null, [e("div", Jd, [v(Y, {
                    title: $(o) + " " + $(l)("paymentMethod"),
                    "left-arrow": "",
                    onClickLeft: U
                }, null, 8, ["title"]), e("div", ec, t($(o)), 1), $(h) == 4 ? (i(), c(Q, {
                    key: 0
                }, [e("div", tc, t(x.$t("selectType")), 1), v(M, {
                    class: "addtype4-input",
                    modelValue: _.value.bankName,
                    "onUpdate:modelValue": W[0] || (W[0] = ne => _.value.bankName = ne),
                    readonly: !0,
                    "right-icon": "arrow-down",
                    placeholder: x.$t("tipSelectPls"),
                    onClick: W[1] || (W[1] = ne => u.value = !0)
                }, null, 8, ["modelValue", "placeholder"])], 64)) : (i(), c(Q, {
                    key: 1
                }, [e("div", ac, t(x.$t("bankname")), 1), e("div", nc, t(_.value.bankName), 1)], 64)), e("div", oc, t(x.$t("name")), 1), v(M, {
                    class: "addtype4-input",
                    modelValue: a.beneficiaryName,
                    "onUpdate:modelValue": W[2] || (W[2] = ne => a.beneficiaryName = ne),
                    maxlength: 50,
                    placeholder: x.$t("phEnter") + x.$t("name"),
                    onInput: W[3] || (W[3] = ne => $(m)(a, "beneficiaryName")),
                    readonly: $(n)
                }, null, 8, ["modelValue", "placeholder", "readonly"]), e("div", sc, t(x.$t("account")), 1), v(M, {
                    class: "addtype4-input",
                    modelValue: a.mobileNo,
                    "onUpdate:modelValue": W[4] || (W[4] = ne => a.mobileNo = ne),
                    modelModifiers: {
                        trim: !0
                    },
                    maxlength: 15,
                    type: A.value,
                    placeholder: x.$t("phEnter") + x.$t("account"),
                    onInput: T
                }, null, 8, ["modelValue", "type", "placeholder"]), e("div", {
                    class: se(["sumbitBtn", {
                        disable: !I.value
                    }]),
                    onClick: J
                }, t(x.$t("save")), 3), v(B, {
                    show: w.value,
                    "onUpdate:show": W[5] || (W[5] = ne => w.value = ne)
                }, {
                    message: Z(() => [e("div", lc, [e("div", null, t(x.$t("addedSuccessfully")), 1)])]),
                    _: 1
                }, 8, ["show"])]), v(G, {
                    show: u.value,
                    "onUpdate:show": W[7] || (W[7] = ne => u.value = ne),
                    round: "",
                    position: "bottom"
                }, {
                    default: Z(() => [v(z, {
                        columns: $(N),
                        "columns-field-names": p,
                        onCancel: W[6] || (W[6] = ne => u.value = !1),
                        onConfirm: ee
                    }, null, 8, ["columns"])]),
                    _: 1
                }, 8, ["show"])], 64)
            }
        }
    });
const rc = ae(ic, [
        ["__scopeId", "data-v-497422b6"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/AddType4/index.vue"]
    ]),
    C_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: rc
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    dc = {
        class: "addUSDT__container"
    },
    cc = {
        class: "addUSDT__container-content"
    },
    uc = {
        class: "addUSDT__container-content-top"
    },
    pc = ["src"],
    vc = {
        class: "addUSDT__container-content-item"
    },
    _c = {
        class: "label"
    },
    mc = {
        class: "ar-searchbar"
    },
    hc = {
        class: "addUSDT__container-content-item"
    },
    wc = {
        class: "label"
    },
    fc = {
        class: "input"
    },
    yc = ["placeholder", "maxlength"],
    gc = {
        class: "addUSDT__container-content-item"
    },
    bc = {
        class: "label"
    },
    kc = ["placeholder"],
    $c = {
        class: "addUSDT__container-content-btn"
    },
    Cc = te({
        __name: "index",
        setup(f) {
            const {
                t: n
            } = me(), {
                isOpenWithdraw: s
            } = Ee(), {
                setLoading: m
            } = Be(), l = pe(), r = l.currentRoute.value.query.fromV || "Withdraw-USDT";

            function d() {
                l.replace({
                    name: r,
                    query: {
                        type: "Add"
                    }
                })
            }
            const o = g(!1);
            let h = he([]);
            async function w() {
                const D = await X(Ge({
                    withdrawid: 3
                }));
                D && (h = D.data.banklist, a.value = h.length > 0 ? h[0].bankName : "", p.bankid = h.length > 0 ? h[0].bankID : 0)
            }
            const a = g(""),
                _ = ({
                    selectedOptions: D
                }) => {
                    o.value = !1, a.value = D[0].bankName, p.bankid = D[0].bankID
                };

            function u() {
                o.value = !0
            }
            const U = 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: $e.addUSDT
                }),
                I = D => {
                    const H = D.target;
                    p.usdtaddress = H.value.replace(/[^\w\/]/ig, "")
                },
                y = j(() => !(p.usdtRemarkName.trim().length == 0 || p.bankid == 0 || p.usdtaddress.trim().length == 0)),
                A = () => {
                    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 T() {
                if (A() !== !0) return;
                m(!0), await X(ja(p)) && (Fe(n("addedSuccessfully")), q.close(), await l.replace({
                    name: r,
                    query: {
                        type: "Add"
                    },
                    replace: !0
                })), m(!1)
            }
            _e(async () => {
                await w()
            });
            const q = xe({
                content: () => v(He, {
                    type: p.type,
                    "onUpdate:type": D => p.type = D,
                    code: p.smsCode,
                    "onUpdate:code": D => p.smsCode = D,
                    onConfirm: T,
                    codeType: p.codeType
                }, null),
                beforeClose: () => {
                    p.smsCode = ""
                }
            });
            async function S() {
                if (p.smsCode = "", A() === !0) {
                    if (s.value) return q.open();
                    await T()
                }
            }
            return (D, H) => {
                const ee = V("NavBar"),
                    P = V("svg-icon"),
                    le = V("ArSelect"),
                    C = V("van-picker"),
                    J = V("van-popup");
                return i(), c("div", dc, [v(ee, {
                    title: D.$t("titleAddUSDTAddr"),
                    "left-arrow": "",
                    onClickLeft: d
                }, null, 8, ["title"]), e("div", cc, [e("div", uc, [e("img", {
                    src: $(be)("wallet", "hint")
                }, null, 8, pc), e("span", null, t(D.$t("tipBindUrOwnUSDEAddrForFundSafety")), 1)]), e("div", vc, [e("div", _c, [v(P, {
                    name: "usdt1",
                    class: "icon"
                }), L(" " + t(D.$t("selectMainNetwork")), 1)]), e("div", mc, [v(le, {
                    onClickSelect: u,
                    selectName: a.value
                }, null, 8, ["selectName"])])]), e("div", hc, [e("div", wc, [v(P, {
                    name: "usdt2",
                    class: "icon"
                }), L(" " + t(D.$t("usedAddr")), 1)]), e("div", fc, [ie(e("input", {
                    placeholder: D.$t("phEnterUSDTAddr"),
                    maxlength: U.value,
                    "onUpdate:modelValue": H[0] || (H[0] = x => p.usdtaddress = x),
                    onInput: I
                }, null, 40, yc), [
                    [ye, p.usdtaddress]
                ])])]), e("div", gc, [e("div", bc, [v(P, {
                    name: "usdt3",
                    class: "icon"
                }), L(" " + t(D.$t("addressAlias")), 1)]), ie(e("input", {
                    placeholder: D.$t("phEnterUSDTRemarks"),
                    maxlength: "20",
                    "onUpdate:modelValue": H[1] || (H[1] = x => p.usdtRemarkName = x)
                }, null, 8, kc), [
                    [ye, p.usdtRemarkName]
                ])]), e("div", $c, [e("button", {
                    class: se({
                        active: y.value
                    }),
                    onClick: S
                }, t(D.$t("save")), 3)])]), v(J, {
                    show: o.value,
                    "onUpdate:show": H[3] || (H[3] = x => o.value = x),
                    round: "",
                    position: "bottom"
                }, {
                    default: Z(() => [v(C, {
                        "columns-field-names": {
                            text: "bankName",
                            value: "bankID",
                            children: "children"
                        },
                        columns: $(h),
                        onCancel: H[2] || (H[2] = x => o.value = !1),
                        onConfirm: _
                    }, null, 8, ["columns"])]),
                    _: 1
                }, 8, ["show"])])
            }
        }
    });
const Tc = ae(Cc, [
        ["__scopeId", "data-v-24736190"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/AddUSDT/index.vue"]
    ]),
    T_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: Tc
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    bt = document.createElement("canvas");
bt.getContext("2d");
bt.width = 1920;
bt.height = 1080;
const ea = f => (Se("data-v-8ced09ab"), f = f(), Ie(), f),
    Nc = {
        class: "addupi_C"
    },
    Sc = {
        class: "addupi_C-header wallet_18"
    },
    Ic = ea(() => e("div", {
        class: "addupi_C-title"
    }, "UPI Name", -1)),
    Ac = {
        class: "addupi_C-title"
    },
    Wc = {
        class: "addupi_C_number"
    },
    Bc = {
        class: "tip"
    },
    Uc = ea(() => e("div", {
        class: "addupi_C-title"
    }, "UPI ID", -1)),
    Dc = {
        class: "addupi_C-title"
    },
    Pc = te({
        __name: "index",
        setup(f) {
            const n = pe(),
                s = Ae(),
                {
                    isOpenWithdraw: m
                } = Ee(),
                l = Ue(),
                r = g("91"),
                d = g(""),
                {
                    t: o
                } = me(),
                h = g("");
            g([]);
            const w = g(),
                {
                    iseditor: a,
                    onLoad: _,
                    makeTxt: u
                } = De(),
                U = () => {
                    n.replace({
                        name: "Withdraw-Upi",
                        query: {
                            type: "Add",
                            bid: s.query.bid || ""
                        }
                    })
                },
                p = he({
                    beneficiaryName: "",
                    accountNo: "",
                    smsCode: "",
                    type: "",
                    bankCode: "",
                    categoryId: 2,
                    mobileNo: "",
                    codeType: $e.addNewUPI_N,
                    confirmAccountNo: ""
                }),
                I = () => {
                    p.smsCode = ""
                },
                y = C => (C.preventDefault(), !1),
                A = xe({
                    content: () => v(He, {
                        type: p.type,
                        "onUpdate:type": C => p.type = C,
                        code: p.smsCode,
                        "onUpdate:code": C => p.smsCode = C,
                        onConfirm: P,
                        codeType: p.codeType
                    }, null),
                    beforeClose: I
                });

            function T(C) {
                const J = C.target,
                    x = /[^0-9]/g;
                J.value = J.value.replace(x, "")
            }
            const N = C => {
                p.accountNo = C.target.value.replace(/[\u4e00-\u9fa5]/g, "")
            };

            function q(C) {
                var Y;
                const J = sessionStorage.getItem("areaPhoneLenList");
                let W = (Y = JSON.parse(J).find(M => C.indexOf(M.area.replace("+", "")) == 0)) == null ? void 0 : Y.area.replace("+", "");
                W && (r.value = W, d.value = C.substring(W.length))
            }
            const S = j(() => p.beneficiaryName && p.accountNo && d && r),
                D = g(!1),
                H = async () => {
                    const C = await X(Et());
                    h.value = (C == null ? void 0 : C.data) || "", h.value != "" && q(h.value)
                },
                ee = async () => {
                    if (!l.getNeedKycValid) return !1;
                    const C = await X(za({
                        categoryId: 2,
                        accountNo: p.accountNo
                    }));
                    return C ? (C.data && E({
                        message: o("code254"),
                        wordBreak: "break-word"
                    }), C.data) : !1
                },
                P = async () => {
                    const {
                        confirmAccountNo: C,
                        ...J
                    } = p;
                    if (D.value) return;
                    D.value = !0;
                    const x = await X(Fa(J));
                    D.value = !1, x && (Fe(o("addedSuccessfully")), A.close(), await n.replace({
                        name: "Withdraw-Upi",
                        query: {
                            bid: s.query.bid || ""
                        }
                    }))
                };
            _(p, "beneficiaryName");
            const le = async () => {
                const C = /^[a-zA-Z0-9]([a-zA-Z0-9._-]*[a-zA-Z0-9])?@[a-zA-Z0-9]+(\.[a-zA-Z0-9]+)*$/;
                if (!p.mobileNo) return E(o("pphone"));
                if (!ot(r.value, `${p.mobileNo}`.trim().length)) return E({
                    message: o("wrongTel"),
                    wordBreak: "break-word"
                });
                if (!C.test(p.accountNo)) return E(o("UPIID"));
                if (!C.test(p.confirmAccountNo)) return E(o("confirmAccountNo"));
                if (p.accountNo !== p.confirmAccountNo) return E(o("UPIIDNotSame"));
                if (!await ee()) {
                    if (m.value) return A.open();
                    P()
                }
            };
            return Mt(w, () => {
                w.value.close()
            }), H(), (C, J) => {
                const x = V("NavBar"),
                    W = V("svg-icon"),
                    Y = V("van-field"),
                    M = V("van-icon");
                return i(), c("div", Nc, [v(x, {
                    title: C.$t("paymentMethod"),
                    "left-arrow": "",
                    onClickLeft: U
                }, null, 8, ["title"]), e("div", Sc, [v(W, {
                    name: "upi"
                }), L(t(C.$t("UPIInformation")), 1)]), Ic, v(Y, {
                    class: "upi-input",
                    modelValue: p.beneficiaryName,
                    "onUpdate:modelValue": J[0] || (J[0] = B => p.beneficiaryName = B),
                    modelModifiers: {
                        trim: !0
                    },
                    maxlength: 30,
                    placeholder: C.$t("phEnterUPIName"),
                    readonly: $(a),
                    onInput: J[1] || (J[1] = B => $(u)(p, "beneficiaryName")),
                    rules: [{
                        required: !0,
                        message: C.$t("phEnterUPIName")
                    }]
                }, null, 8, ["modelValue", "placeholder", "readonly", "rules"]), e("div", Ac, t(C.$t("phoneN")), 1), e("div", Wc, [v(Y, {
                    class: "upi-input number",
                    modelValue: p.mobileNo,
                    "onUpdate:modelValue": J[2] || (J[2] = B => p.mobileNo = B),
                    modelModifiers: {
                        number: !0,
                        trim: !0
                    },
                    type: "text",
                    onInput: T,
                    maxlength: $(xt)(r.value),
                    placeholder: C.$t("plsEnterTel")
                }, null, 8, ["modelValue", "maxlength", "placeholder"])]), e("div", Bc, [v(M, {
                    name: "warning-o",
                    size: "14"
                }), L(t(C.$t("upiTip1")), 1)]), Uc, v(Y, {
                    class: "upi-input",
                    modelValue: p.accountNo,
                    "onUpdate:modelValue": J[3] || (J[3] = B => p.accountNo = B),
                    modelModifiers: {
                        trim: !0
                    },
                    maxlength: 30,
                    type: "text",
                    onInput: N,
                    placeholder: C.$t("phEnterUPIID")
                }, null, 8, ["modelValue", "placeholder"]), e("div", Dc, t(C.$t("confirm")) + " UPI ID", 1), v(Y, {
                    onPaste: y,
                    class: "upi-input",
                    modelValue: p.confirmAccountNo,
                    "onUpdate:modelValue": J[4] || (J[4] = B => p.confirmAccountNo = B),
                    modelModifiers: {
                        trim: !0
                    },
                    maxlength: 30,
                    type: "text",
                    placeholder: C.$t("phEnterUPIID")
                }, null, 8, ["modelValue", "placeholder"]), e("div", {
                    class: se(["bind-bank-sumbit", {
                        disable: !S.value
                    }]),
                    onClick: le
                }, t(C.$t("save")), 3)])
            }
        }
    });
const Rc = ae(Pc, [
        ["__scopeId", "data-v-8ced09ab"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/AddUpi/index.vue"]
    ]),
    N_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: Rc
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    Vc = {
        class: "addKBZ"
    },
    Oc = {
        class: "addKBZ-top"
    },
    Mc = ["src"],
    Lc = {
        class: "addKBZ-item"
    },
    qc = {
        class: "label"
    },
    jc = {
        class: "selectB"
    },
    Fc = {
        class: "addKBZ-item"
    },
    zc = {
        class: "label"
    },
    Ec = ["placeholder", "readonly"],
    xc = {
        class: "addKBZ-item"
    },
    Hc = {
        class: "label"
    },
    Kc = ["placeholder"],
    Zc = te({
        __name: "index",
        setup(f) {
            const {
                iseditor: n,
                onInput: s,
                checkAccoutNo: m,
                onLoad: l,
                makeTxt: r
            } = De(), {
                t: d
            } = me(), o = pe(), {
                setLoading: h
            } = Be(), {
                isOpenWithdraw: w
            } = Ee();
            let a = he([]);
            const _ = g(""),
                u = he({
                    smsCode: "",
                    withdrawId: 6,
                    bankId: 0,
                    mobileNo: "",
                    beneficiaryName: "",
                    type: "",
                    codeType: $e.addWave
                }),
                U = j(() => !(u.mobileNo.trim().length == 0 || u.bankId == 0 || u.beneficiaryName.trim().length == 0)),
                p = () => u.bankId == 0 ? E({
                    message: d("addCardMsg1"),
                    wordBreak: "break-word"
                }) : u.beneficiaryName.toString().trim().length == 0 ? E({
                    message: d("phEnterName"),
                    wordBreak: "break-word"
                }) : u.mobileNo.toString().trim().length == 0 ? E({
                    message: d("addCardMsg4"),
                    wordBreak: "break-word"
                }) : m(u.mobileNo, d("tel") + d("formatErr")) ? ot(localStorage.getItem("numberType"), u.mobileNo.trim().length) ? !0 : E({
                    message: d("wrongTel"),
                    wordBreak: "break-word"
                }) : void 0,
                y = xe({
                    content: () => v(He, {
                        type: u.type,
                        "onUpdate:type": S => u.type = S,
                        code: u.smsCode,
                        "onUpdate:code": S => u.smsCode = S,
                        onConfirm: T,
                        codeType: $e.addWave
                    }, null),
                    beforeClose: () => {
                        u.smsCode = ""
                    }
                });
            async function A() {
                if (!U.value) return !1;
                if (p() === !0) {
                    if (!localStorage.getItem("numberType")) return !1;
                    if (u.smsCode = "", w.value) return y.open();
                    await T()
                }
            }
            async function T() {
                h(!0), await X(dt(u)) && (y.close(), o.replace({
                    name: "Withdraw",
                    query: {
                        type: "Add"
                    },
                    replace: !0
                })), h(!1)
            }
            async function N() {
                const S = await X(Ge({
                    withdrawid: 6
                }));
                S && (a = S.data.banklist, _.value = a.length > 0 ? a[0].bankName : "", u.bankId = a.length > 0 ? a[0].bankID : 0)
            }
            N();

            function q() {
                o.replace({
                    name: "Withdraw",
                    query: {
                        type: "Add"
                    }
                })
            }
            return l(u, "beneficiaryName"), (S, D) => {
                const H = V("NavBar"),
                    ee = V("svg-icon");
                return i(), c("div", Vc, [v(H, {
                    title: S.$t("addWaveType"),
                    "left-arrow": "",
                    onClickLeft: q
                }, null, 8, ["title"]), e("div", Oc, [e("img", {
                    src: $(be)("wallet", "hint")
                }, null, 8, Mc), e("span", null, t(S.$t("WaveTip1")), 1)]), e("div", Lc, [e("div", qc, [v(ee, {
                    name: "bankName"
                }), L(" " + t(S.$t("bankname")), 1)]), e("div", jc, t(_.value), 1)]), e("div", Fc, [e("div", zc, [v(ee, {
                    name: "user"
                }), L(" " + t(S.$t("name")), 1)]), ie(e("input", {
                    placeholder: S.$t("phEnterName"),
                    "onUpdate:modelValue": D[0] || (D[0] = P => u.beneficiaryName = P),
                    maxlength: "50",
                    onInput: D[1] || (D[1] = P => $(r)(u, "beneficiaryName")),
                    readonly: $(n)
                }, null, 40, Ec), [
                    [ye, u.beneficiaryName, void 0, {
                        trim: !0
                    }]
                ])]), e("div", xc, [e("div", Hc, [v(ee, {
                    name: "phone"
                }), L(" " + t(S.$t("tel")), 1)]), ie(e("input", {
                    placeholder: S.$t("phEnterPayeeTel"),
                    "onUpdate:modelValue": D[2] || (D[2] = P => u.mobileNo = P),
                    maxlength: 12,
                    type: "digit",
                    onInput: D[3] || (D[3] = P => $(s)(u, "mobileNo"))
                }, null, 40, Kc), [
                    [ye, u.mobileNo, void 0, {
                        trim: !0
                    }]
                ])]), e("div", {
                    class: se(["addKBZ-btn", {
                        active: U.value
                    }]),
                    onClick: A
                }, t(S.$t("save")), 3)])
            }
        }
    });
const Gc = ae(Zc, [
        ["__scopeId", "data-v-8c64dafa"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/AddWave/index.vue"]
    ]),
    S_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: Gc
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    ta = f => (Se("data-v-9ed9b8ef"), f = f(), Ie(), f),
    Qc = {
        class: "bankCard__container"
    },
    Yc = {
        key: 0,
        class: "bankCard__container-content"
    },
    Xc = {
        class: "bankCard__container-content__card"
    },
    Jc = ta(() => e("div", {
        class: "bankCard__container-content__card-top"
    }, null, -1)),
    eu = {
        class: "bankCard__container-content__card-mid"
    },
    tu = {
        class: "line"
    },
    au = {
        class: "left"
    },
    nu = {
        class: "right"
    },
    ou = {
        class: "line"
    },
    su = {
        class: "left"
    },
    lu = {
        class: "right"
    },
    iu = {
        class: "line"
    },
    ru = {
        class: "left"
    },
    du = {
        class: "right"
    },
    cu = {
        class: "line"
    },
    uu = ta(() => e("div", {
        class: "left"
    }, "IFSCode", -1)),
    pu = {
        class: "right"
    },
    vu = {
        key: 1,
        class: "bankCard__container-default"
    },
    _u = te({
        __name: "index",
        setup(f) {
            const {
                setLoading: n
            } = Be(), s = pe(), m = Je(), l = j(() => m.getWithdrawal), r = g(!1), d = j(() => m.getWithdrawal.bid.toString()), o = g([]);

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

            function a(p) {
                s.replace({
                    name: "Withdraw",
                    query: {
                        bid: p.bid
                    }
                })
            }
            async function _() {
                r.value = !1, n(!0), await X(Ea(w)) && (w.bid == l.value.bid && (l.value.bid = 0), m.setWithdrawal({ ...l.value
                }), await U()), n(!1)
            }
            const u = he({
                withdrawid: m.getWithdrawal.type
            });
            async function U() {
                n(!0);
                const p = await X(Ze(u));
                p && (o.value = p.data.withdrawalslist, p.data.withdrawalslist.length > 0 && m.getWithdrawal.bid == 0 || p.data.withdrawalslist.length == 1 ? l.value.bid = p.data.withdrawalslist[0].bid : p.data.withdrawalslist.length == 0 && (l.value.bid = 0), m.setWithdrawal({ ...l.value
                }), m.setWithdrawalslist(p.data.withdrawalslist)), n(!1)
            }
            return _e(async () => {
                console.log("type", s.currentRoute.value.query), s.currentRoute.value.query.type == "Add" ? await U() : o.value = m.getWithdrawalslist
            }), (p, I) => {
                const y = V("NavBar"),
                    A = V("van-radio"),
                    T = V("van-radio-group"),
                    N = ze("lazy");
                return i(), c("div", Qc, [v(y, {
                    title: p.$t("bankCard"),
                    "left-arrow": "",
                    onClickLeft: h
                }, null, 8, ["title"]), o.value.length > 0 ? (i(), c("div", Yc, [(i(!0), c(Q, null, ke(o.value, q => (i(), c("div", {
                    class: "bankCard__container-content__item",
                    key: q.bid
                }, [v(T, {
                    modelValue: d.value,
                    "onUpdate:modelValue": I[0] || (I[0] = S => d.value = S)
                }, {
                    default: Z(() => [e("div", Xc, [Jc, e("div", eu, [e("div", tu, [e("div", au, t(p.$t("bankname")), 1), e("div", nu, t(q.bankName), 1)]), b(` <div class="line" v-if="item.beneficiaryName">
								<div class="left">{{ $t('payeename') }}</div>
								<div class="right">{{ item.beneficiaryName }}</div>
							</div> `), e("div", ou, [e("div", su, t(p.$t("bankcardNo")), 1), e("div", lu, t(q.accountNo), 1)]), e("div", iu, [e("div", ru, t(p.$t("tel")), 1), e("div", du, t(q.mobileNo), 1)]), e("div", cu, [uu, e("div", pu, t(q.ifsCode), 1)])]), e("div", null, [v(A, {
                        name: `${q.bid.toString()}`,
                        "icon-size": "18px",
                        onClick: S => a(q)
                    }, {
                        default: Z(() => [L(t(p.$t("select")), 1)]),
                        _: 2
                    }, 1032, ["name", "onClick"])])])]),
                    _: 2
                }, 1032, ["modelValue"])]))), 128))])) : (i(), c("div", vu, [v(et, null, {
                    text: Z(() => [e("span", null, t(p.$t("noPaymentMethodsYet")), 1)]),
                    _: 1
                })])), v(ut, {
                    type: 1
                }), v(mt, {
                    show: r.value,
                    "onUpdate:show": I[2] || (I[2] = q => r.value = q),
                    onConfirm: _,
                    "show-cancel-btn": !0,
                    title: p.$t("tipCanNotRetrivedAfterDeleted"),
                    confirmText: p.$t("confirmDelete"),
                    cancelText: p.$t("cancel")
                }, {
                    content: Z(() => [ie(e("img", {
                        class: "dialog__content-bottom",
                        onClick: I[1] || (I[1] = q => r.value = !1)
                    }, null, 512), [
                        [N, $(rt)("main", "close")]
                    ])]),
                    _: 1
                }, 8, ["show", "title", "confirmText", "cancelText"])])
            }
        }
    });
const mu = ae(_u, [
        ["__scopeId", "data-v-9ed9b8ef"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/BankCard/index.vue"]
    ]),
    I_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: mu
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    hu = {
        class: "item"
    },
    wu = {
        key: 0,
        class: "line"
    },
    fu = te({
        __name: "progress",
        props: {
            state: {
                type: Number,
                required: !0
            },
            isAppealCompleted: {
                type: Boolean,
                required: !1
            }
        },
        setup(f) {
            const n = f,
                {
                    t: s
                } = me(),
                m = [{
                    title: s("c2cState11"),
                    icon: "1"
                }, {
                    title: s("c2cState13"),
                    icon: "2"
                }, {
                    title: s("c2cTip30"),
                    icon: "3"
                }, {
                    title: s("c2cState4"),
                    icon: "4"
                }],
                l = [{
                    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"
                }],
                d = j(() => [1, 9, 11, 13].includes(n.state) ? m : [3].includes(n.state) ? l : [5].includes(n.state) ? r : n.state == 4 ? n.isAppealCompleted ? l : m : []);

            function o(h) {
                let w = [];
                switch (n.state) {
                    case 1:
                    case 9:
                        w = [!0, !0, !0, !1];
                        break;
                    case 4:
                        w = [!0, !0, !0, !0];
                        break;
                    case 11:
                        w = [!0, !1, !1, !1];
                        break;
                    case 13:
                        w = [!0, !0, !1, !1];
                        break;
                    case 3:
                        w = [!0, !0, !1];
                        break;
                    case 5:
                        w = [!0, !0, !0];
                        break
                }
                return w[h]
            }
            return (h, w) => d.value.length > 0 ? (i(), c("div", {
                key: 0,
                class: se(["progress", [`state_${h.state}`, {
                    isAppealCompleted: h.isAppealCompleted
                }]])
            }, [(i(!0), c(Q, null, ke(d.value, (a, _) => (i(), c(Q, null, [e("div", hu, [e("span", {
                class: se(`icon${o(_)?a.icon+"_a":a.icon}`)
            }, null, 2), e("h6", null, t(a.title), 1)]), _ < d.value.length - 1 ? (i(), c("div", wu)) : b("v-if", !0)], 64))), 256))], 2)) : b("v-if", !0)
        }
    });
const aa = ae(fu, [
        ["__scopeId", "data-v-90f50022"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/components/Wallet/Withdraw/progress.vue"]
    ]),
    yu = f => (Se("data-v-ced8750d"), f = f(), Ie(), f),
    gu = {
        class: "c2cDetail__CO"
    },
    bu = {
        class: "top"
    },
    ku = {
        class: "container"
    },
    $u = {
        key: 0,
        class: "time"
    },
    Cu = {
        key: 1,
        class: "time2"
    },
    Tu = {
        class: "head"
    },
    Nu = {
        class: "tip2"
    },
    Su = {
        class: "tip2"
    },
    Iu = {
        key: 0
    },
    Au = {
        key: 0,
        class: "operate"
    },
    Wu = {
        class: "order-q"
    },
    Bu = {
        class: "y"
    },
    Uu = {
        class: "order-q"
    },
    Du = {
        class: "b"
    },
    Pu = yu(() => e("div", {
        class: "line"
    }, null, -1)),
    Ru = {
        class: "tip"
    },
    Vu = te({
        __name: "c2cDetailOther",
        props: {
            OrderDetail: {
                type: null,
                required: !0
            },
            orderNo: {
                type: String,
                required: !0
            }
        },
        emits: ["update:OrderDetail", "update:orderNo"],
        setup(f, {
            emit: n
        }) {
            const s = f,
                m = pe(),
                {
                    t: l
                } = me(),
                {
                    OrderDetail: r,
                    orderNo: d
                } = wt(s, n),
                o = {
                    2: {
                        title: l("c2cState11"),
                        tip1: l("c2cWTip1"),
                        tip2: l("c2cWTip6"),
                        tip3: l("c2cTip31")
                    },
                    11: {
                        title: l("c2cState11"),
                        tip1: l("c2cWTip1"),
                        tip2: l("c2cWTip2"),
                        tip3: l("c2cWTip3")
                    },
                    12: {
                        title: l("c2cState11"),
                        tip1: l("c2cWTip1"),
                        tip2: l("c2cWTip2"),
                        tip3: l("c2cWTip3")
                    }
                },
                h = j(() => o[r.value.state]),
                w = () => {
                    m.go(-1)
                },
                a = g("00:00"),
                _ = g(0),
                u = g(null),
                U = j(() => [11, 12].includes(r.value.state));
            je(() => r.value, S => {
                p(S)
            }, {
                immediate: !0
            });

            function p(S) {
                if (!U.value) return !1;
                const D = S.auditEndTime.replace(/-/g, "/"),
                    H = S.serviceTime.replace(/-/g, "/");
                _.value = new Date(H).getTime() - new Date(D).getTime(), clearInterval(u.value), A()
            }
            const I = S => {
                    const D = Math.floor(S / 36e5),
                        H = Math.floor((S - D * 36e5) / 6e4),
                        ee = Math.floor((S - D * 36e5 - H * 6e4) / 1e3);
                    return console.log("hours", D), `${D?D.toString().padStart(2,"0")+":":""}${H.toString().padStart(2,"0")}:${ee.toString().padStart(2,"0")}`
                },
                y = g(5);

            function A() {
                u.value = setInterval(() => {
                    y.value--, _.value += 1e3, a.value = I(_.value), y.value == 0 && (T(r.value.orderNo), y.value = 5)
                }, 1e3)
            }
            const T = async S => {
                const D = await X(Ht({
                    orderNo: S
                }));
                D && (D.data.state == 2 && clearInterval(u.value), r.value = D.data)
            };
            async function N() {
                await X(xa({
                    orderNo: r.value.orderNo
                })) && T(r.value.orderNo)
            }

            function q() {
                m.push({
                    name: "Withdraw-c2cCancelWithdrawal",
                    query: {
                        orderAmount: r.value.orderAmount,
                        sellerAccountNo: r.value.sellerAccountNo,
                        createTime: r.value.createTime,
                        orderNo: r.value.orderNo
                    }
                })
            }
            return ft(() => {
                clearInterval(u.value)
            }), (S, D) => {
                var ee;
                const H = V("NavBar");
                return i(), c("div", gu, [e("div", bu, [v(H, {
                    title: h.value.title,
                    "left-arrow": "",
                    onClickLeft: w,
                    backgroundColor: "transparent"
                }, null, 8, ["title"]), b(" 进度条 "), v(aa, {
                    state: (ee = $(r)) == null ? void 0 : ee.state
                }, null, 8, ["state"]), e("div", ku, [U.value ? (i(), c("div", $u, [e("p", null, t(h.value.title), 1), e("div", null, [e("span", null, t(a.value), 1)])])) : b("v-if", !0), U.value ? b("v-if", !0) : (i(), c("div", Cu, t(S.$t("c2cState2")), 1))]), e("div", Tu, [e("div", Nu, t(h.value.tip2), 1), e("div", Su, [L(t(h.value.tip3), 1), U.value ? (i(), c("span", Iu, t($(r).matchTimeMinutes || 5) + t(S.$t("minute")), 1)) : b("v-if", !0)])]), U.value ? b("v-if", !0) : (i(), c("div", Au, [e("div", {
                    class: "CancelW",
                    onClick: q
                }, t(S.$t("concelOrder")), 1), e("div", {
                    class: "uAmount",
                    onClick: N
                }, t(S.$t("continueM")), 1)]))]), e("div", {
                    class: se(["order", ["bgc" + h.value.background]])
                }, [e("div", Wu, [e("span", null, t(S.$t("withdrawalA")), 1), e("span", Bu, t($(ce)($(r).orderAmount)), 1)]), e("div", Uu, [e("span", null, "UPI " + t(S.$t("account")), 1), e("span", Du, t($(r).sellerAccountNo), 1)]), e("div", {
                    class: "order-id",
                    onClick: D[0] || (D[0] = P => $(Ke)($(r).orderNo))
                }, [e("span", null, t($(Kt)($(r).createTime, "yyyy-MM-dd")), 1), L(t($(r).orderNo), 1)]), Pu, e("div", Ru, t(S.$t("c2cWTip4")), 1)], 2)])
            }
        }
    });
const Ou = ae(Vu, [
        ["__scopeId", "data-v-ced8750d"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/components/Wallet/Withdraw/c2cDetailOther.vue"]
    ]),
    kt = f => (Se("data-v-0f202033"), f = f(), Ie(), f),
    Mu = {
        key: 0,
        class: "c2cDetail__C"
    },
    Lu = {
        class: "title"
    },
    qu = {
        key: 0
    },
    ju = {
        class: "tip1"
    },
    Fu = {
        key: 0,
        class: "tip2"
    },
    zu = {
        key: 1
    },
    Eu = {
        key: 0,
        class: "accountArry"
    },
    xu = {
        class: "con"
    },
    Hu = {
        class: "order"
    },
    Ku = {
        class: "order-h"
    },
    Zu = {
        class: "order-q y"
    },
    Gu = {
        key: 0,
        class: "order-q y"
    },
    Qu = {
        key: 1,
        class: "order-q orange"
    },
    Yu = {
        class: "order-t"
    },
    Xu = {
        key: 2,
        class: "order-t"
    },
    Ju = kt(() => e("div", {
        class: "line"
    }, null, -1)),
    ep = kt(() => e("span", null, "UTR", -1)),
    tp = {
        key: 4,
        class: "order-tl"
    },
    ap = {
        key: 0,
        class: "upi"
    },
    np = {
        class: "upi-h"
    },
    op = kt(() => e("span", null, "UPI", -1)),
    sp = {
        key: 1,
        class: "upi img"
    },
    lp = {
        class: "upi-h"
    },
    ip = {
        class: "imgBox"
    },
    rp = ["onClick"],
    dp = {
        key: 2,
        class: "img"
    },
    cp = {
        class: "imgBox"
    },
    up = ["onClick"],
    pp = {
        key: 3,
        class: "img video"
    },
    vp = {
        class: "v",
        controls: ""
    },
    _p = ["src"],
    mp = ["src"],
    hp = ["src"],
    wp = te({
        __name: "index",
        setup(f) {
            var M;
            const {
                t: n
            } = me(), s = pe(), m = Ae(), l = Ue(), r = {
                0: {
                    title: n("c2cState0"),
                    tip1: n("c2cTip1"),
                    tip2: n("tipPlaWaitPaciently"),
                    icon: "0",
                    background: 0
                },
                1: {
                    title: n("c2cState1"),
                    tip1: n("c2cTip2"),
                    tip2: n("c2cTip3"),
                    icon: "0",
                    background: 1
                },
                2: {
                    title: n("c2cState8"),
                    tip1: n("c2cTip4"),
                    tip2: n("tipPlaWaitPaciently"),
                    icon: "6",
                    background: 8
                },
                3: {
                    title: n("c2cState3"),
                    tip1: n("c2cTip5"),
                    tip2: n("c2cTip6"),
                    icon: "1",
                    background: 3
                },
                4: {
                    title: n("completed"),
                    tip1: n("c2cTip7"),
                    tip2: n("c2cTip8"),
                    icon: "2",
                    background: 4
                },
                5: {
                    title: n("c2cTip9"),
                    tip1: n("c2cTip10"),
                    tip2: n("c2cTip11"),
                    icon: "3",
                    background: 5
                },
                6: {
                    title: n("cancelled"),
                    tip1: "*****",
                    tip2: "",
                    icon: "4",
                    background: 6
                },
                7: {
                    title: n("c2cTip12"),
                    tip1: n("c2cTip1"),
                    tip2: "",
                    icon: "5",
                    background: 7
                },
                8: {
                    title: n("withdrawState1"),
                    tip1: n("c2cTip4"),
                    tip2: n("tipPlaWaitPaciently"),
                    icon: "6",
                    background: 8
                },
                9: {
                    title: n("rechargeState1"),
                    tip1: n("c2cTip13"),
                    tip2: n("c2cTip14"),
                    icon: "7",
                    background: 9
                },
                10: {
                    title: n("c2cState10"),
                    tip1: n("c2cTip21"),
                    tip2: n("c2cTip22"),
                    icon: "8",
                    background: 10
                },
                11: {
                    title: n("c2cState11"),
                    tip1: n("c2cWTip1"),
                    tip2: n("c2cWTip2"),
                    tip3: n("c2cWTip3"),
                    icon: "8",
                    background: 11
                },
                12: {
                    title: n("c2cState11"),
                    tip1: n("c2cTip21"),
                    tip2: n("c2cTip22"),
                    icon: "8",
                    background: 10
                },
                13: {
                    title: n("c2cState13"),
                    tip1: n("c2cTip24"),
                    icon: "0",
                    background: 11
                },
                14: {
                    title: n("c2cState14"),
                    tip1: n("c2cTip46"),
                    tip2: n("c2cTip33"),
                    icon: "14",
                    background: 11
                }
            }, d = g(0), o = g("00:00"), h = g(null), w = g(null), a = g({
                id: 0,
                orderNo: "",
                type: 0,
                withdrawName: "",
                createTime: "",
                orderAmount: 0,
                realAmount: 0,
                discountAmount: 0,
                serviceAmount: 0,
                state: Number(((M = m.query) == null ? void 0 : M.state) || 0),
                cancelReasonId: 0,
                reasonText: "",
                remark: "",
                transactionNo: "",
                sellerAccountNo: "",
                rechargeFinishTime: ""
            }), _ = g(""), u = j(() => r[a.value.state]), U = j(() => a.value.state == 10), p = j(() => [9].includes(a.value.state)), I = j(() => [1, 9, 3].includes(a.value.state)), y = j(() => [2, 11, 12].includes(a.value.state)), A = j(() => [5, 6, 7, 14].includes(a.value.state));
            je(() => a.value.state, B => {
                S()
            }, {
                deep: !0
            });
            const T = () => {
                s.back()
            };

            function N(B, z) {
                if (!B) return;
                let G;
                return z ? G = JSON.parse(B).filter(ne => ne.fileType == z) : G = JSON.parse(B), G.length == 0 ? !1 : G.map(ne => (ne.fileUrl = l.ossUrl + "/" + ne.fileUrl, ne))
            }
            const q = async B => {
                const z = await X(Ht({
                    orderNo: B
                }));
                z && (a.value = z.data)
            };

            function S() {
                var B;
                if ([1, 13].includes(a.value.state)) {
                    const z = (B = a.value) == null ? void 0 : B.serviceTime.replace(/-/g, "/");
                    if (a.value.state == 1) {
                        const G = a.value.confrimEndTime.replace(/-/g, "/");
                        d.value = new Date(G).getTime() - new Date(z).getTime()
                    } else if (a.value.state == 13) {
                        const G = a.value.matchOutTime.replace(/-/g, "/");
                        d.value = new Date(G).getTime() - new Date(z).getTime()
                    }
                    clearInterval(h.value), le()
                } else clearInterval(h.value);
                (a.value.state === 7 || a.value.state === 6) && (r[a.value.state].tip1 = a.value.reasonText || "", r[a.value.state].tip2 = a.value.remark || ""), a.value.state === 0 ? (clearInterval(w.value), C()) : clearInterval(w.value), a.value.state === 3 && x()
            }
            const D = async B => {
                    await X(Ha({
                        orderNo: B
                    })), q(B)
                },
                H = async B => {
                    await X(Ka({
                        orderNo: B
                    })), q(B)
                },
                ee = B => {
                    const z = Math.floor(B / 36e5),
                        G = Math.floor((B - z * 36e5) / 6e4),
                        ne = Math.floor((B - z * 36e5 - G * 6e4) / 1e3);
                    return `${z?z.toString().padStart(2,"0")+":":""}${G.toString().padStart(2,"0")}:${ne.toString().padStart(2,"0")}`
                },
                P = g(5);

            function le() {
                h.value = setInterval(() => {
                    P.value--, d.value > 0 ? (d.value -= 1e3, o.value = ee(d.value)) : o.value = "00:00", P.value == 0 && (q(_.value), P.value = 5)
                }, 1e3)
            }

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

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

            function Y(B) {
                Ca({
                    images: [B],
                    closeable: !0
                })
            }
            return _e(() => {
                var B, z;
                _.value = localStorage.getItem("c2cOrderNo") || ((z = (B = m.query) == null ? void 0 : B.order) == null ? void 0 : z.toString()) || "", q(_.value)
            }), $a(() => {}), ft(() => {
                clearInterval(h.value), clearInterval(w.value)
            }), (B, z) => {
                var ne, ve, R, we, Oe, F, re, We, Ne, Pe, ue, Re, Me, Le, tt;
                const G = V("NavBar");
                return y.value ? (i(), c(Q, {
                    key: 1
                }, [a.value.orderNo != "" ? (i(), fe(Ou, {
                    key: 0,
                    orderNo: _.value,
                    "onUpdate:orderNo": z[7] || (z[7] = de => _.value = de),
                    OrderDetail: a.value,
                    "onUpdate:OrderDetail": z[8] || (z[8] = de => a.value = de)
                }, null, 8, ["orderNo", "OrderDetail"])) : b("v-if", !0)], 64)) : (i(), c("div", Mu, [e("div", {
                    class: se(["header", ["bgc" + u.value.background]])
                }, [v(G, {
                    title: "",
                    "left-arrow": "",
                    onClickLeft: T,
                    backgroundColor: "transparent"
                }), e("div", {
                    class: se(["head", ["hicon" + u.value.icon]])
                }, [e("div", Lu, [L(t(u.value.title) + " ", 1), [1, 13].includes(a.value.state) ? (i(), c("span", qu, t(o.value), 1)) : b("v-if", !0)]), e("div", ju, t(u.value.tip1), 1), u.value.tip2 ? (i(), c("div", Fu, t(u.value.tip2), 1)) : b("v-if", !0), I.value ? (i(), c("div", zu, t(B.$t("c2cTip23")), 1)) : b("v-if", !0)], 2), I.value ? (i(), c("div", Eu, [e("div", {
                    class: "account btn",
                    onClick: z[0] || (z[0] = de => D(a.value.orderNo))
                }, t(B.$t("confirmTheAccount")), 1), p.value ? (i(), c("div", {
                    key: 0,
                    class: "appeal btn",
                    onClick: z[1] || (z[1] = de => H(a.value.orderNo))
                }, t(B.$t("appeal")), 1)) : b("v-if", !0), a.value.state == 3 ? (i(), c("div", {
                    key: 1,
                    class: "appeal btn",
                    onClick: z[2] || (z[2] = de => J())
                }, t(B.$t("AppealsAdmin")), 1)) : b("v-if", !0), a.value.state == 1 ? (i(), c("div", {
                    key: 2,
                    class: "wrong btn",
                    onClick: z[3] || (z[3] = de => W())
                }, t(B.$t("c2cState14")), 1)) : b("v-if", !0)])) : b("v-if", !0)], 2), e("div", xu, [b(" 进度条 "), v(aa, {
                    state: (ne = a.value) == null ? void 0 : ne.state,
                    isAppealCompleted: (ve = a.value) == null ? void 0 : ve.isAppealCompleted
                }, null, 8, ["state", "isAppealCompleted"]), e("div", Hu, [e("div", Ku, "New UPI " + t(B.$t("withdraw")), 1), e("div", Zu, [e("span", null, t(B.$t("orderAmount")), 1), L(t($(ce)(a.value.orderAmount)), 1)]), [4, 14].includes(a.value.state) ? (i(), c("div", Gu, [e("span", null, t(B.$t("actualAmount")), 1), L(t($(ce)(a.value.realAmount)), 1)])) : b("v-if", !0), A.value ? b("v-if", !0) : (i(), c("div", Qu, [e("span", null, t(B.$t("award")), 1), L(t($(ce)(a.value.discountAmount)), 1)])), e("div", Yu, [e("span", null, t(B.$t("orderTime")), 1), L(t(a.value.createTime), 1)]), a.value.state == 14 ? (i(), c("div", Xu, [e("span", null, t(B.$t("c2cTip47")), 1), L(t(a.value.lastUpdateTime), 1)])) : b("v-if", !0), Ju, U.value ? b("v-if", !0) : (i(), c("div", {
                    key: 3,
                    class: "order-id",
                    onClick: z[4] || (z[4] = de => $(Ke)(a.value.transactionNo))
                }, [ep, L(t(a.value.transactionNo), 1)])), e("div", {
                    class: "order-id",
                    onClick: z[5] || (z[5] = de => $(Ke)(a.value.orderNo))
                }, [e("span", null, t(B.$t("orderNo")), 1), L(t(a.value.orderNo), 1)]), U.value ? b("v-if", !0) : (i(), c("div", tp, [e("span", null, t(B.$t("PaymentTime")), 1), L(t(a.value.rechargeFinishTime), 1)]))]), U.value ? b("v-if", !0) : (i(), c("div", ap, [e("div", np, t(B.$t("information")), 1), e("div", {
                    class: "upi-id",
                    onClick: z[6] || (z[6] = de => $(Ke)(a.value.sellerAccountNo))
                }, [op, L(t(a.value.sellerAccountNo), 1)])])), [5, 1, 9, 3, 4, 6].includes(a.value.state) && ((R = a.value) != null && R.rechargeOssUrls) ? (i(), c("div", sp, [e("div", lp, t(B.$t("c2cTip50")), 1), e("div", ip, [(i(!0), c(Q, null, ke(N((we = a.value) == null ? void 0 : we.rechargeOssUrls), (de, Ve) => (i(), c("div", {
                    class: "imgD",
                    key: Ve,
                    style: Ut(`background-image: url('${de==null?void 0:de.fileUrl}');`),
                    onClick: Ce => Y(de == null ? void 0 : de.fileUrl)
                }, null, 12, rp))), 128))])])) : b("v-if", !0), ((Oe = a.value) == null ? void 0 : Oe.state) == 14 && ((F = a.value) != null && F.ossUrls) ? (i(), c("div", dp, [e("h1", null, t(B.$t("c2cTip48")), 1), e("div", cp, [(i(!0), c(Q, null, ke(N((re = a.value) == null ? void 0 : re.ossUrls, 1), (de, Ve) => (i(), c("div", {
                    class: "imgD",
                    key: Ve,
                    style: Ut(`background-image: url('${de==null?void 0:de.fileUrl}');`),
                    onClick: Ce => Y(de == null ? void 0 : de.fileUrl)
                }, null, 12, up))), 128))])])) : b("v-if", !0), ((We = a.value) == null ? void 0 : We.state) == 14 && N((Ne = a.value) == null ? void 0 : Ne.ossUrls, 2) ? (i(), c("div", pp, [e("h1", null, t(B.$t("c2cTip49")), 1), e("video", vp, [e("source", {
                    src: (ue = N((Pe = a.value) == null ? void 0 : Pe.ossUrls, 2)[0]) == null ? void 0 : ue.fileUrl,
                    type: "video/ogg"
                }, null, 8, _p), e("source", {
                    src: (Me = N((Re = a.value) == null ? void 0 : Re.ossUrls, 2)[0]) == null ? void 0 : Me.fileUrl,
                    type: "video/mp4"
                }, null, 8, mp), e("source", {
                    src: (tt = N((Le = a.value) == null ? void 0 : Le.ossUrls, 2)[0]) == null ? void 0 : tt.fileUrl,
                    type: "video/webm"
                }, null, 8, hp)])])) : b("v-if", !0)])]))
            }
        }
    });
const fp = ae(wp, [
        ["__scopeId", "data-v-0f202033"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/C2cDetail/index.vue"]
    ]),
    A_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: fp
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    yp = {
        class: "upi_C"
    },
    gp = {
        class: "upi_C-list"
    },
    bp = {
        class: "header"
    },
    kp = {
        class: "header-title"
    },
    $p = {
        class: "upi-body"
    },
    Cp = {
        class: "upi-body-name"
    },
    Tp = {
        class: "upi-body-id"
    },
    Np = ["onClick"],
    Sp = {
        class: "upi_C-addbtn"
    },
    Ip = te({
        __name: "index",
        setup(f) {
            const n = Ue(),
                s = pe(),
                m = Ae(),
                l = g(!1),
                r = g({}),
                d = g([]),
                o = g(null),
                h = g(""),
                w = j(() => m.query.bankCode || ""),
                a = () => {
                    const A = d.value.find(T => T.bid == o.value) ? o.value : 0;
                    s.replace({
                        name: "Withdraw",
                        query: {
                            bid: A,
                            type: 27,
                            bankCode: w.value || ""
                        }
                    })
                },
                _ = g(!1),
                u = async () => {
                    var A;
                    const y = await X(Ze({
                        withdrawid: 27
                    }));
                    if (y) {
                        const T = ((A = y.data) == null ? void 0 : A.withdrawalslist) || [];
                        d.value = T.filter(N => w.value ? N.bankCode === w.value : !0)
                    }
                },
                U = async y => {
                    if (!_.value) try {
                        _.value = !0, await X(zt({
                            bid: r.value.bid,
                            smsCode: h.value,
                            categoryId: 27,
                            pin: y
                        })) && (u(), l.value = !1, s.replace({
                            name: "Withdraw",
                            query: {
                                bid: r.value.bid,
                                type: 27,
                                bankCode: w.value || ""
                            }
                        }))
                    } finally {
                        _.value = !1
                    }
                },
                p = y => {
                    if (!y.isKycOnline && n.getNeedFastKycValidIsOpen) return r.value = y, l.value = !0;
                    s.replace({
                        name: "Withdraw",
                        query: {
                            bid: y.bid,
                            type: 27,
                            bankCode: w.value || ""
                        }
                    })
                },
                I = async () => {
                    s.replace({
                        name: "Withdraw-AddFastUpi",
                        query: {
                            bankCode: w.value || "",
                            bid: o.value
                        }
                    })
                };
            return _e(() => {
                o.value = m.query.bid || 0, u()
            }), (y, A) => {
                const T = V("NavBar"),
                    N = V("svg-icon"),
                    q = V("van-dialog"),
                    S = ze("throttle-click");
                return i(), c("div", yp, [v(T, {
                    title: `${$(Xe)(w.value)} ${y.$t("paymentMethod")}`,
                    "left-arrow": "",
                    onClickLeft: a
                }, null, 8, ["title"]), e("div", gp, [d.value.length ? (i(!0), c(Q, {
                    key: 0
                }, ke(d.value, (D, H) => (i(), c("div", {
                    key: H,
                    class: "upi_C-item"
                }, [e("div", bp, [e("div", kp, [v(N, {
                    name: D.bankCode
                }, null, 8, ["name"]), e("span", null, t($(Xe)(D.bankCode)), 1)])]), e("div", $p, [e("div", Cp, t(y.$t("accountName")) + ": " + t(D.upiName), 1), e("div", Tp, "UPI ID: " + t(D.upiAccount), 1), e("div", {
                    class: "upi-select",
                    onClick: ee => p(D)
                }, [e("div", {
                    class: se(["select-btn", {
                        isSelect: D.bid == o.value
                    }])
                }, null, 2), e("span", null, t(D.bid == o.value ? y.$t("currentPayment") : y.$t("currentChange")), 1)], 8, Np), b(`						<div class="upi-body-id">{{$t('phoneN')}}: {{ item.mobileNo }}</div>`)])]))), 128)) : (i(), fe(et, {
                    key: 1
                }, {
                    text: Z(() => [e("span", null, t(y.$t("noPaymentMethodsYet")), 1)]),
                    _: 1
                }))]), ie((i(), c("div", Sp, [L(t(y.$t("upiAddPaymentMethod")), 1)])), [
                    [S, {
                        handler: I,
                        wait: 1e3
                    }]
                ]), v(q, {
                    show: l.value,
                    "onUpdate:show": A[2] || (A[2] = D => l.value = D),
                    showConfirmButton: !1,
                    width: "fit-content",
                    "lazy-render": ""
                }, {
                    default: Z(() => [v(ct, {
                        bid: r.value.bid,
                        bank: r.value.bankCode,
                        upi: r.value.upiAccount,
                        mobile: r.value.mobileNo,
                        code: h.value,
                        "onUpdate:code": A[0] || (A[0] = D => h.value = D),
                        onConfirm: U,
                        onClose: A[1] || (A[1] = D => l.value = !1)
                    }, null, 8, ["bid", "bank", "upi", "mobile", "code"])]),
                    _: 1
                }, 8, ["show"])])
            }
        }
    });
const Ap = ae(Ip, [
        ["__scopeId", "data-v-d6431640"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/FastUpi/index.vue"]
    ]),
    W_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: Ap
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    Wp = {
        class: "bankCard__container"
    },
    Bp = {
        key: 0,
        class: "bankCard__container-content"
    },
    Up = {
        class: "bankCard__container-content__card"
    },
    Dp = {
        class: "bankCard__container-content__card-top ar-1px-b"
    },
    Pp = ["src"],
    Rp = {
        class: "bankCard__container-content__card-mid"
    },
    Vp = {
        class: "line"
    },
    Op = {
        class: "line"
    },
    Mp = {
        class: "line"
    },
    Lp = {
        key: 1,
        class: "bankCard__container-default"
    },
    qp = te({
        __name: "index",
        setup(f) {
            const {
                setLoading: n
            } = Be(), s = pe();
            Ae();
            const m = Je(),
                l = j(() => m.getWithdrawal);
            g(!1);
            const r = j(() => m.getWithdrawal.bid.toString()),
                d = g([]);

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

            function w(u) {
                s.replace({
                    name: "Withdraw",
                    query: {
                        bid: u.bid
                    }
                })
            }
            const a = he({
                withdrawid: 5
            });
            async function _() {
                n(!0);
                const u = await X(Ze(a));
                u && (d.value = u.data.withdrawalslist, u.data.withdrawalslist.length > 0 && m.getWithdrawal.bid == 0 || u.data.withdrawalslist.length == 1 ? l.value.bid = u.data.withdrawalslist[0].bid : u.data.withdrawalslist.length == 0 && (l.value.bid = 0), m.setWithdrawal({ ...l.value
                }), m.setWithdrawalslist(u.data.withdrawalslist)), n(!1)
            }
            return _e(async () => {
                s.currentRoute.value.query.type == "Add" ? await _() : d.value = m.getWithdrawalslist
            }), (u, U) => {
                const p = V("NavBar"),
                    I = V("van-radio"),
                    y = V("van-radio-group");
                return i(), c("div", Wp, [v(p, {
                    title: u.$t("paymentMethod"),
                    "left-arrow": "",
                    onClickLeft: o
                }, null, 8, ["title"]), d.value.length > 0 ? (i(), c("div", Bp, [(i(!0), c(Q, null, ke(d.value, (A, T) => (i(), c("div", {
                    class: "bankCard__container-content__item",
                    key: A.bid
                }, [v(y, {
                    modelValue: r.value,
                    "onUpdate:modelValue": U[0] || (U[0] = N => r.value = N)
                }, {
                    default: Z(() => [e("div", Up, [e("div", Dp, [e("div", null, [e("img", {
                        src: $(be)("wallet/withdrawType", `${h.withdrawid}`)
                    }, null, 8, Pp), L(" " + t(u.$t("paymentMethodOfPix")), 1)]), e("div", null, [v(I, {
                        name: `${A.bid.toString()}`,
                        "icon-size": "22px",
                        onClick: N => w(A)
                    }, null, 8, ["name", "onClick"])])]), e("div", Rp, [e("div", Vp, t(A.beneficiaryName), 1), e("div", Op, t(A.accountNo), 1), e("div", Mp, t(A.bankName), 1)]), b(` <div class="delete" @click="onShowDeleteDialog(item)">
							<van-icon name="delete" color="rgba(238, 54, 37, 1)" size="20" />
							{{ $t('delete') }}
						</div> `)])]),
                    _: 2
                }, 1032, ["modelValue"])]))), 128))])) : (i(), c("div", Lp, [v(et, null, {
                    text: Z(() => [e("span", null, t(u.$t("noPaymentMethodsYet")), 1)]),
                    _: 1
                })])), v(ut, {
                    type: 5
                })])
            }
        }
    });
const jp = ae(qp, [
        ["__scopeId", "data-v-abf3326c"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/PIX/index.vue"]
    ]),
    B_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: jp
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    Fp = f => (Se("data-v-290c4222"), f = f(), Ie(), f),
    zp = {
        class: "type4_C"
    },
    Ep = {
        class: "type4_C-list"
    },
    xp = {
        class: "header-title"
    },
    Hp = ["onClick"],
    Kp = {
        key: 0,
        xmlns: "http://www.w3.org/2000/svg",
        width: "60",
        height: "60",
        viewBox: "0 0 60 60",
        fill: "none"
    },
    Zp = Fp(() => 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)),
    Gp = [Zp],
    Qp = {
        class: "type4-body"
    },
    Yp = {
        class: "type4-body-id"
    },
    Xp = {
        key: 1,
        class: "noData"
    },
    Jp = te({
        __name: "index",
        setup(f) {
            const n = pe(),
                s = Ae(),
                m = n.currentRoute.value.query.Type4name,
                l = g([]),
                r = g(null),
                d = () => {
                    const _ = l.value.find(u => {
                        u.bid == r.value
                    }) ? r.value : 0;
                    n.replace({
                        name: "Withdraw",
                        query: {
                            bid: _,
                            type: 22
                        }
                    })
                },
                o = a => {
                    n.replace({
                        name: "Withdraw",
                        query: {
                            bid: a,
                            type: 22
                        }
                    })
                },
                h = async () => {
                    n.replace({
                        name: "Withdraw-AddRsnPay",
                        query: {
                            Type4name: m
                        }
                    })
                },
                w = async () => {
                    var _;
                    const a = await X(Ze({
                        withdrawid: 22
                    }));
                    a && (l.value = ((_ = a.data) == null ? void 0 : _.withdrawalslist) || [])
                };
            return _e(() => {
                r.value = s.query.bid || 0, w()
            }), (a, _) => {
                const u = V("NavBar"),
                    U = ze("throttle-click");
                return i(), c("div", zp, [v(u, {
                    title: $(m) + a.$t("paymentMethod"),
                    "left-arrow": "",
                    onClickLeft: d
                }, null, 8, ["title"]), e("div", Ep, [l.value.length ? (i(!0), c(Q, {
                    key: 0
                }, ke(l.value, (p, I) => (i(), c("div", {
                    key: I,
                    class: "type4_C-item"
                }, [e("div", {
                    class: se(["header", `${p.walletName}`])
                }, [e("div", xp, t(p.bankName), 1), e("div", {
                    class: se(["select-btn", {
                        isSelect: p.bid == r.value
                    }]),
                    onClick: y => o(p.bid)
                }, [p.bid == r.value ? (i(), c("svg", Kp, Gp)) : b("v-if", !0)], 10, Hp)], 2), e("div", Qp, [e("div", Yp, t(p.mobileNo), 1)])]))), 128)) : ie((i(), c("div", Xp, [L(t(a.$t("upiAddPaymentMethod")), 1)])), [
                    [U, {
                        handler: h,
                        wait: 1e3
                    }]
                ])])])
            }
        }
    });
const ev = ae(Jp, [
        ["__scopeId", "data-v-290c4222"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/RsnPay/index.vue"]
    ]),
    U_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: ev
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    tv = f => (Se("data-v-8da75fee"), f = f(), Ie(), f),
    av = {
        class: "type4_C"
    },
    nv = {
        class: "type4_C-list"
    },
    ov = {
        class: "header-title"
    },
    sv = ["onClick"],
    lv = {
        key: 0,
        xmlns: "http://www.w3.org/2000/svg",
        width: "60",
        height: "60",
        viewBox: "0 0 60 60",
        fill: "none"
    },
    iv = tv(() => 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)),
    rv = [iv],
    dv = {
        class: "type4-body"
    },
    cv = {
        class: "type4-body-name"
    },
    uv = {
        class: "type4-body-id"
    },
    pv = {
        key: 1,
        class: "noData"
    },
    vv = {
        class: "type4_C-addbtn"
    },
    _v = te({
        __name: "index",
        setup(f) {
            const n = pe(),
                s = Ae(),
                m = n.currentRoute.value.query.Type4name,
                l = Number(n.currentRoute.value.query.withdrawType),
                r = g([]),
                d = g(null),
                o = () => {
                    const u = r.value.find(U => {
                        U.bid == d.value
                    }) ? d.value : 0;
                    n.replace({
                        name: "Withdraw",
                        query: {
                            bid: u,
                            type: l
                        }
                    })
                },
                h = _ => {
                    n.replace({
                        name: "Withdraw",
                        query: {
                            bid: _,
                            type: l
                        }
                    })
                },
                w = async () => {
                    n.replace({
                        name: "Withdraw-AddType4",
                        query: {
                            Type4name: m,
                            withdrawType: l
                        }
                    })
                },
                a = async () => {
                    var u;
                    const _ = await X(Ze({
                        withdrawid: l
                    }));
                    _ && (r.value = ((u = _.data) == null ? void 0 : u.withdrawalslist) || [])
                };
            return _e(() => {
                d.value = s.query.bid || 0, a()
            }), (_, u) => {
                const U = V("NavBar"),
                    p = ze("throttle-click");
                return i(), c("div", av, [v(U, {
                    title: $(m) + _.$t("paymentMethod"),
                    "left-arrow": "",
                    onClickLeft: o
                }, null, 8, ["title"]), e("div", nv, [r.value.length ? (i(!0), c(Q, {
                    key: 0
                }, ke(r.value, (I, y) => (i(), c("div", {
                    key: y,
                    class: "type4_C-item"
                }, [e("div", {
                    class: se(["header", `${I.walletName}`])
                }, [e("div", ov, t(I.walletName), 1), e("div", {
                    class: se(["select-btn", {
                        isSelect: I.bid == d.value
                    }]),
                    onClick: A => h(I.bid)
                }, [I.bid == d.value ? (i(), c("svg", lv, rv)) : b("v-if", !0)], 10, sv)], 2), e("div", dv, [e("div", cv, t(I.beneficiaryName), 1), e("div", uv, t(I.mobileNO), 1)])]))), 128)) : ie((i(), c("div", pv, [L(t(_.$t("upiAddPaymentMethod")), 1)])), [
                    [p, {
                        handler: w,
                        wait: 1e3
                    }]
                ])]), ie((i(), c("div", vv, [L(t(_.$t("upiAddPaymentMethod")), 1)])), [
                    [p, {
                        handler: w,
                        wait: 1e3
                    }]
                ])])
            }
        }
    });
const mv = ae(_v, [
        ["__scopeId", "data-v-8da75fee"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/Type4/index.vue"]
    ]),
    D_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: mv
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    hv = {
        class: "USDT__container"
    },
    wv = {
        key: 0,
        class: "USDT__container-content"
    },
    fv = {
        class: "USDT__container-content__card"
    },
    yv = {
        class: "USDT__container-content__card-top"
    },
    gv = {
        class: "USDT__container-content__card-mid ar-1px-b"
    },
    bv = {
        key: 1,
        class: "USDT__container-default"
    },
    kv = te({
        __name: "index",
        setup(f) {
            const {
                setLoading: n
            } = Be(), {
                getUserInfo: s
            } = yt(), m = Ft();
            s({
                signature: m.token
            });
            const l = pe(),
                r = Je(),
                d = r.getWithdrawal;
            g(!1);
            const o = j(() => r.getWithdrawal.bid.toString()),
                h = g([]);
            he({
                bid: r.getWithdrawal.bid,
                withdrawid: r.getWithdrawal.type
            });

            function w(U) {
                l.replace({
                    name: "Withdraw",
                    query: {
                        bid: U.bid
                    }
                })
            }
            const a = he({
                withdrawid: r.getWithdrawal.type
            });
            async function _() {
                n(!0);
                const U = await X(Ze(a));
                U && (h.value = U.data.withdrawalslist, U.data.withdrawalslist.length > 0 && r.getWithdrawal.bid == 0 || U.data.withdrawalslist.length == 1 ? d.bid = U.data.withdrawalslist[0].bid : U.data.withdrawalslist.length == 0 && (d.bid = 0), r.setWithdrawal({ ...d
                }), r.setWithdrawalslist(U.data.withdrawalslist)), n(!1)
            }
            _e(async () => {
                console.log("11", d), console.log("type", l.currentRoute.value.query), l.currentRoute.value.query.type == "Add" ? await _() : h.value = r.getWithdrawalslist
            });

            function u() {
                l.replace({
                    name: "Withdraw",
                    query: {
                        bid: o.value
                    }
                })
            }
            return (U, p) => {
                const I = V("NavBar"),
                    y = V("svg-icon"),
                    A = V("van-radio"),
                    T = V("van-radio-group");
                return i(), c("div", hv, [v(I, {
                    title: U.$t("usdtAddr"),
                    "left-arrow": "",
                    onClickLeft: u
                }, null, 8, ["title"]), h.value.length > 0 ? (i(), c("div", wv, [(i(!0), c(Q, null, ke(h.value, N => (i(), c("div", {
                    class: "USDT__container-content__item",
                    key: N.bid
                }, [v(T, {
                    modelValue: o.value,
                    "onUpdate:modelValue": p[0] || (p[0] = q => o.value = q)
                }, {
                    default: Z(() => [e("div", fv, [e("div", yv, [v(y, {
                        name: "bankHeader"
                    }), v(y, {
                        name: "usdtLogo3"
                    })]), e("div", gv, [e("span", null, t(N.accountNo), 1), e("span", null, t(N.usdtRemarkName), 1)]), e("div", null, [b("这是假的"), v(A, {
                        name: `${N.bid.toString()}`,
                        "icon-size": "18px",
                        onClick: q => w(N)
                    }, {
                        default: Z(() => [L(t(U.$t("select")), 1)]),
                        _: 2
                    }, 1032, ["name", "onClick"])])])]),
                    _: 2
                }, 1032, ["modelValue"])]))), 128))])) : (i(), c("div", bv, [v(et, null, {
                    text: Z(() => [e("span", null, t(U.$t("noPaymentMethodsYet")), 1)]),
                    _: 1
                })])), v(ut, {
                    type: 3
                })])
            }
        }
    });
const $v = ae(kv, [
        ["__scopeId", "data-v-1cef303f"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/USDT/index.vue"]
    ]),
    P_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: $v
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    Cv = {
        class: "upi_C"
    },
    Tv = {
        class: "upi_C-list"
    },
    Nv = {
        class: "header"
    },
    Sv = {
        class: "header-title"
    },
    Iv = {
        class: "upi-body"
    },
    Av = {
        class: "upi-body-name"
    },
    Wv = {
        class: "upi-body-id"
    },
    Bv = ["onClick"],
    Uv = {
        class: "upi_C-addbtn"
    },
    Dv = te({
        __name: "index",
        setup(f) {
            const n = pe(),
                s = Ae(),
                m = g([]),
                l = g(null),
                r = () => {
                    const a = m.value.find(_ => _.bid == l.value) ? l.value : 0;
                    n.replace({
                        name: "Withdraw",
                        query: {
                            bid: a,
                            type: 2
                        }
                    })
                };
            g(!1);
            const d = async () => {
                    var a;
                    const w = await X(Ze({
                        withdrawid: 2
                    }));
                    if (w) {
                        const _ = ((a = w.data) == null ? void 0 : a.withdrawalslist) || [];
                        m.value = _
                    }
                },
                o = w => {
                    n.replace({
                        name: "Withdraw",
                        query: {
                            bid: w.bid,
                            type: 2
                        }
                    })
                },
                h = async () => {
                    n.replace({
                        name: "Withdraw-AddUpi",
                        query: {
                            bid: l.value
                        }
                    })
                };
            return _e(() => {
                l.value = s.query.bid || 0, d()
            }), (w, a) => {
                const _ = V("NavBar"),
                    u = V("svg-icon"),
                    U = ze("throttle-click");
                return i(), c("div", Cv, [v(_, {
                    title: w.$t("paymentMethod"),
                    "left-arrow": "",
                    onClickLeft: r
                }, null, 8, ["title"]), e("div", Tv, [m.value.length ? (i(!0), c(Q, {
                    key: 0
                }, ke(m.value, (p, I) => (i(), c("div", {
                    key: I,
                    class: "upi_C-item"
                }, [e("div", Nv, [e("div", Sv, [v(u, {
                    name: p.bankCode
                }, null, 8, ["name"]), e("span", null, t($(Xe)(p.bankCode)), 1)])]), e("div", Iv, [e("div", Av, t(w.$t("accountName")) + ": " + t(p.upiName), 1), e("div", Wv, "UPI ID: " + t(p.upiAccount), 1), e("div", {
                    class: "upi-select",
                    onClick: y => o(p)
                }, [e("div", {
                    class: se(["select-btn", {
                        isSelect: p.bid == l.value
                    }])
                }, null, 2), e("span", null, t(p.bid == l.value ? w.$t("currentPayment") : w.$t("currentChange")), 1)], 8, Bv)])]))), 128)) : (i(), fe(et, {
                    key: 1
                }, {
                    text: Z(() => [e("span", null, t(w.$t("noPaymentMethodsYet")), 1)]),
                    _: 1
                }))]), ie((i(), c("div", Uv, [L(t(w.$t("upiAddPaymentMethod")), 1)])), [
                    [U, {
                        handler: h,
                        wait: 1e3
                    }]
                ])])
            }
        }
    });
const Pv = ae(Dv, [
        ["__scopeId", "data-v-68a41569"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/Upi/index.vue"]
    ]),
    R_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: Pv
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    Rv = {
        class: "cancelW"
    },
    Vv = {
        class: "orderInfo"
    },
    Ov = {
        class: "b"
    },
    Mv = {
        class: "reason"
    },
    Lv = {
        class: "fail"
    },
    qv = {
        class: "van-dialog__content-title"
    },
    jv = {
        class: "van-dialog__content-note"
    },
    Fv = te({
        __name: "index",
        setup(f) {
            const {
                t: n
            } = me(), s = pe(), m = Ae(), l = g(), r = g("0"), d = g(!1), o = g(""), h = j(() => {
                var A;
                return r.value == "0" ? o.value : (A = l.value.find(T => T.id == r.value)) == null ? void 0 : A.reasonText
            }), w = () => {
                s.go(-1)
            }, a = g(""), _ = g(""), u = g(""), U = g("");
            async function p() {
                const A = await X(Za({
                    type: 1
                }));
                A && (l.value = A.data)
            }
            async function I() {
                await X(Ga({
                    orderNo: U.value,
                    cancelReason: h.value,
                    reamrk: ""
                })) && (d.value = !1, w())
            }
            async function y() {
                if (r.value == "0" && o.value.trim().length == 0) {
                    E(n("enterOtherReason"));
                    return
                }
                d.value = !0
            }
            return _e(() => {
                var A, T, N, q, S, D, H, ee;
                a.value = ((T = (A = m.query) == null ? void 0 : A.orderAmount) == null ? void 0 : T.toString()) || "", _.value = ((q = (N = m.query) == null ? void 0 : N.sellerAccountNo) == null ? void 0 : q.toString()) || "", u.value = ((D = (S = m.query) == null ? void 0 : S.createTime) == null ? void 0 : D.toString()) || "", U.value = ((ee = (H = m.query) == null ? void 0 : H.orderNo) == null ? void 0 : ee.toString()) || "", p()
            }), (A, T) => {
                const N = V("NavBar"),
                    q = V("van-radio"),
                    S = V("van-radio-group"),
                    D = V("van-field"),
                    H = V("van-dialog"),
                    ee = ze("lazy");
                return i(), c("div", Rv, [v(N, {
                    title: "取消订单",
                    "left-arrow": "",
                    onClickLeft: w,
                    backgroundColor: "transparent"
                }), e("div", Vv, [e("div", null, [e("span", null, t(A.$t("withdrawalA")), 1), e("span", Ov, t($(ce)(a.value)), 1)]), e("div", null, [e("span", null, "UPI " + t(A.$t("account")), 1), e("span", null, t(_.value), 1)]), e("div", null, [e("span", null, t($(Kt)(u.value, "yyyy-MM-dd")), 1), e("span", {
                    class: "copy",
                    onClick: T[0] || (T[0] = P => $(Ke)(U.value))
                }, t(U.value), 1)])]), e("div", Mv, [e("h2", null, t(A.$t("cancelReason")), 1), v(S, {
                    modelValue: r.value,
                    "onUpdate:modelValue": T[1] || (T[1] = P => r.value = P),
                    shape: "dot",
                    "checked-color": "#ee0a24"
                }, {
                    default: Z(() => [(i(!0), c(Q, null, ke(l.value, (P, le) => (i(), fe(q, {
                        key: le,
                        name: P.id.toString()
                    }, {
                        default: Z(() => [L(t(P.reasonText), 1)]),
                        _: 2
                    }, 1032, ["name"]))), 128)), v(q, {
                        name: "0"
                    }, {
                        default: Z(() => [L(t(A.$t("other")), 1)]),
                        _: 1
                    })]),
                    _: 1
                }, 8, ["modelValue"]), v(D, {
                    class: "textarea",
                    disabled: r.value != "0",
                    modelValue: o.value,
                    "onUpdate:modelValue": T[2] || (T[2] = P => o.value = P),
                    rows: "3",
                    autosize: "",
                    type: "textarea",
                    maxlength: "150",
                    placeholder: A.$t("enterOtherReason")
                }, null, 8, ["disabled", "modelValue", "placeholder"])]), e("div", {
                    class: "cancel",
                    onClick: y
                }, t(A.$t("confirmCancel")), 1), v(H, {
                    show: d.value,
                    "onUpdate:show": T[4] || (T[4] = P => d.value = P),
                    "show-confirm-button": !1,
                    "z-index": "100",
                    closeOnClickOverlay: !0
                }, {
                    default: Z(() => [ie(e("img", Lv, null, 512), [
                        [ee, $(be)("wallet/recharge", "tip")]
                    ]), e("div", qv, t(A.$t("cancelW")), 1), e("div", jv, [e("span", null, t(A.$t("c2cWTip11")), 1)]), e("div", {
                        class: "van-dialog__content-btn",
                        onClick: I
                    }, t(A.$t("confirmCancel")), 1), ie(e("img", {
                        class: "close",
                        onClick: T[3] || (T[3] = P => d.value = !1)
                    }, null, 512), [
                        [ee, $(rt)("main", "close")]
                    ])]),
                    _: 1
                }, 8, ["show"])])
            }
        }
    });
const zv = ae(Fv, [
        ["__scopeId", "data-v-522a488b"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/c2cCancelWithdrawal/index.vue"]
    ]),
    V_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: zv
    }, Symbol.toStringTag, {
        value: "Module"
    })),
    Ev = {
        class: "wrongA"
    },
    xv = {
        class: "head"
    },
    Hv = {
        class: "content"
    },
    Kv = {
        class: "amount"
    },
    Zv = {
        class: "input"
    },
    Gv = {
        class: "place-div"
    },
    Qv = {
        class: "img"
    },
    Yv = {
        class: "uploadImg"
    },
    Xv = {
        class: "tip"
    },
    Jv = {
        class: "img video"
    },
    e_ = {
        class: "uploadImg"
    },
    t_ = {
        key: 0,
        class: "v",
        controls: ""
    },
    a_ = ["src"],
    n_ = ["src"],
    o_ = ["src"],
    s_ = {
        key: 1,
        class: "videoBox loading"
    },
    l_ = te({
        __name: "index",
        setup(f) {
            var A;
            const n = pe(),
                {
                    t: s
                } = me(),
                m = j(() => Ue().getDollarSign),
                l = g([]),
                r = g([]),
                d = g([]),
                o = g(),
                h = g(),
                w = g(!1),
                a = g({
                    orderNo: (A = n.currentRoute.value.query) == null ? void 0 : A.orderNo,
                    realAmount: 0,
                    ossUrls: [{}]
                }),
                _ = j(() => {
                    var T;
                    return !(((T = a.value.orderNo) == null ? void 0 : T.toString().trim().length) == 0 || +(a.value.realAmount <= 0) || d.value.length == 0 || w.value)
                }),
                u = async T => {
                    console.log("file", T);
                    const N = new FormData;
                    (T == null ? void 0 : T.length) > 0 ? T.forEach(S => {
                        N.append("files", S.file)
                    }) : N.append("files", T.file);
                    const q = await X(Qa(N));
                    q.data.forEach(S => {
                        d.value.push(S.src)
                    }), console.log(11, d.value, q.data)
                },
                U = (T, N) => (d.value.filter((q, S) => {
                    N.index == S && d.value.splice(S, 1)
                }), console.log(11, d.value), !0),
                p = async T => {
                    w.value = !0;
                    const N = new FormData;
                    N.append("files", T.file);
                    const q = await X(Ya(N));
                    q && (o.value = q.data[0].ossHttp + "/" + q.data[0].src, h.value = q.data[0].src), w.value = !1
                };
            async function I() {
                if (!_.value) return;
                if (w.value) return E({
                    message: s("c2cTip45"),
                    wordBreak: "break-word"
                });
                a.value.ossUrls.length = 0, d.value.forEach(q => {
                    a.value.ossUrls.push({
                        fileType: 1,
                        fileUrl: q
                    })
                }), h.value && a.value.ossUrls.push({
                    fileType: 2,
                    fileUrl: h.value
                }), console.log(22, a.value);
                const [T, N] = await Xa(Ja(a.value));
                console.log(T, N), N.code == 0 ? y(s("submitSuccess")) : N.msgCode == "281" && N.code == 1 ? y(N.msg) : it(N)
            }

            function y(T) {
                E({
                    message: T,
                    wordBreak: "break-word"
                }), setTimeout(() => {
                    n.replace({
                        name: "Withdraw-C2cDetail",
                        query: {
                            order: a.value.orderNo
                        }
                    })
                }, 2e3)
            }
            return (T, N) => {
                const q = V("NavBar"),
                    S = V("van-field"),
                    D = V("van-uploader"),
                    H = V("van-icon");
                return i(), c("div", Ev, [e("div", xv, [v(q, {
                    title: "",
                    "left-arrow": "",
                    onClickLeft: N[0] || (N[0] = () => $(n).back()),
                    backgroundColor: "transparent"
                }), e("h1", null, t(T.$t("c2cState14")), 1), e("div", null, t(T.$t("c2cTip35")), 1), e("div", null, t(T.$t("c2cTip36")), 1)]), e("div", Hv, [e("div", Kv, [e("h1", null, t(T.$t("c2cTip37")), 1), e("p", null, t(T.$t("c2cTip38")), 1), e("div", Zv, [e("div", Gv, t(m.value), 1), v(S, {
                    modelValue: a.value.realAmount,
                    "onUpdate:modelValue": N[1] || (N[1] = ee => a.value.realAmount = ee),
                    modelModifiers: {
                        number: !0
                    },
                    center: "",
                    type: "digit",
                    placeholder: T.$t("enterAmount"),
                    class: "inp"
                }, null, 8, ["modelValue", "placeholder"])])]), e("div", Qv, [e("h1", null, t(T.$t("c2cTip39")) + " (" + t(l.value.length) + "/3) ", 1), v(D, {
                    modelValue: l.value,
                    "onUpdate:modelValue": N[2] || (N[2] = ee => l.value = ee),
                    multiple: "",
                    "max-count": 3,
                    "max-size": 5e3 * 1024,
                    onOversize: N[3] || (N[3] = () => $(_t)(T.$t("C2Cuploadtip2"))),
                    accept: "image/*",
                    "after-read": u,
                    "before-delete": U
                }, {
                    default: Z(() => [e("div", Yv, t(T.$t("c2cTip40")), 1)]),
                    _: 1
                }, 8, ["modelValue"]), e("div", Xv, [v(H, {
                    name: "warning-o",
                    size: "18"
                }), L(t(T.$t("c2cTip41")), 1)])]), e("div", Jv, [e("h1", null, t(T.$t("c2cTip42")) + " (" + t(r.value.length) + "/1) ", 1), w.value ? b("v-if", !0) : (i(), fe(D, {
                    key: 0,
                    modelValue: r.value,
                    "onUpdate:modelValue": N[4] || (N[4] = ee => r.value = ee),
                    "max-count": 1,
                    "max-size": 5e4 * 1024,
                    onOversize: N[5] || (N[5] = () => $(_t)(T.$t("c2cTip51"))),
                    accept: "video/*",
                    "after-read": p
                }, {
                    "preview-cover": Z(({
                        file: ee
                    }) => [o.value ? (i(), c("video", t_, [e("source", {
                        src: o.value,
                        type: "video/ogg"
                    }, null, 8, a_), e("source", {
                        src: o.value,
                        type: "video/mp4"
                    }, null, 8, n_), e("source", {
                        src: o.value,
                        type: "video/webm"
                    }, null, 8, o_)])) : b("v-if", !0)]),
                    default: Z(() => [e("div", e_, t(T.$t("c2cTip43")), 1)]),
                    _: 1
                }, 8, ["modelValue"])), w.value ? (i(), c("div", s_, t(T.$t("c2cTip44")), 1)) : b("v-if", !0)]), e("div", {
                    class: se(["cmdBth", {
                        active: _.value
                    }]),
                    onClick: I
                }, t(T.$t("c2cState14")), 3)])])
            }
        }
    });
const i_ = ae(l_, [
        ["__scopeId", "data-v-5e595a70"],
        ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/wallet/Withdraw/c2cWrongAmount/index.vue"]
    ]),
    O_ = Object.freeze(Object.defineProperty({
        __proto__: null,
        default: i_
    }, Symbol.toStringTag, {
        value: "Module"
    }));
export {
    ct as W, f_ as a, y_ as b, Xs as c, g_ as d, b_ as e, k_ as f, $_ as g, C_ as h, w_ as i, T_ as j, N_ as k, S_ as l, I_ as m, A_ as n, W_ as o, B_ as p, U_ as q, D_ as r, P_ as s, R_ as t, V_ as u, O_ as v
};