import {
    G as u,
    z as p,
    R as f,
    A as b,
    H as m,
    I as k,
    Q as v,
    O as n,
    J as e,
    ax as h,
    aF as g,
    P as c,
    u as w,
    F as x,
    N as y
} from "./common.modules-f9fa5dc7.js";
import {
    A as B,
    bW as A,
    g as F,
    _ as T
} from "./page-activity-ActivityDetail-0d51a056.js";
import "./page-turntable-assets-d6267459.js";
import "./native/index-eb46cb93.js";
import "./en-0806f032.js";
const I = {
        class: "feedback-container"
    },
    N = {
        class: "feedback-container-content"
    },
    R = {
        class: "feedback-container-content-text"
    },
    S = {
        class: "feedback-container-content-text-wrapper"
    },
    $ = ["placeholder"],
    C = {
        class: "feedback-container-content-describe"
    },
    M = ["src"],
    P = {
        class: "feedback-container-footer"
    },
    V = u({
        __name: "index",
        setup(D) {
            const {
                t: o
            } = p(), i = f(), d = o("feedbackPhTXT"), s = b({
                content: ""
            });
            async function l() {
                if (!s.content) {
                    w({
                        message: o("feedbackMsg"),
                        wordBreak: "break-word"
                    });
                    return
                }
                await B(A(s)) && (x(o("submitSuccess")), i.go(-1))
            }
            return (t, a) => {
                const _ = m("NavBar");
                return y(), k("div", I, [v(_, {
                    title: t.$t("feedback"),
                    "left-arrow": "",
                    onClickLeft: a[0] || (a[0] = r => n(i).go(-1))
                }, null, 8, ["title"]), e("div", N, [e("div", R, [e("div", S, [h(e("textarea", {
                    "onUpdate:modelValue": a[1] || (a[1] = r => s.content = r),
                    name: "feedback",
                    id: "",
                    cols: "30",
                    rows: "10",
                    placeholder: n(d)
                }, null, 8, $), [
                    [g, s.content]
                ])])]), e("div", C, [e("h5", null, c(t.$t("tipAcessableFeedback")), 1), e("h5", null, c(t.$t("tipWinMysteryRewards")), 1), e("div", null, [e("img", {
                    src: n(F)("main", "feedbackImg"),
                    alt: ""
                }, null, 8, M)])])]), e("div", P, [e("button", {
                    onClick: l
                }, c(t.$t("submit")), 1)])])
            }
        }
    });
const G = T(V, [
    ["__scopeId", "data-v-00fab4aa"],
    ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/main/Feedback/index.vue"]
]);
export {
    G as
    default
};