const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-DoUZr6hz.js","assets/BasicForm-dL_oCSPM.js","assets/Render.vue_vue_type_script_lang-DKUYY0Zw.js","assets/index-9PRMimni.js","assets/index-CZ_CrH4_.css","assets/SingleImageUpload-CNx4b9eC.js","assets/ImageUpload.vue_vue_type_style_index_0_scoped_cb086928_lang-D-28kXvw.js","assets/componentSetting-DVhNDBTO.js","assets/ImageUpload-2O79x_Q-.css","assets/ImageUpload-DUsnro3W.js","assets/vuedraggable.umd-Co2xEC3p.js","assets/BasicUpload.vue_vue_type_style_index_0_scoped_a4d0e930_lang-DxRbtP01.js","assets/BasicUpload-q2aOClOy.css","assets/tabsView-BXskTdVh.js","assets/BasicForm.vue_vue_type_style_index_0_scoped_b9e995ec_lang-CEvcLwxD.js","assets/propTypes-CebMRUpe.js","assets/BasicForm-foIylFd_.css","assets/BasicSelect-C_uwzMkE.js","assets/BasicSelect.vue_vue_type_style_index_0_scoped_772d51cc_lang-Brp6PjEU.js","assets/BasicSelect-DteQK1Vf.css","assets/dictionary-BRse4lkf.js","assets/index-DkvzUEqh.js","assets/index-kKnqLkWM.js","assets/AutoComplete-Dv1Bqed4.js","assets/TreeSelect-BZh2DeCh.js","assets/useForm-CKmgcynv.js","assets/usePageCache-DluHn7Yy.js","assets/index-a8nBFQi2.js","assets/Table-0PViRYCf.js","assets/Table.vue_vue_type_style_index_0_scoped_7b9e6ece_lang-BoW2DV_e.js","assets/componentMap-CElCaWis.js","assets/format-DgF6KtHk.js","assets/omit-B2_8Y6O_.js","assets/_flatRest-DBrd2CHT.js","assets/flatten-DeoUZLdb.js","assets/Table-Dcnz4X4a.css","assets/print-CT_2hrjP.js","assets/basicModal.vue_vue_type_script_setup_true_lang-CsJydKhW.js","assets/basicModal.vue_vue_type_style_index_0_lang-8QZP7ApW.js","assets/basicModal-DbyYhys_.css","assets/useModal-CO65vga3.js","assets/useTimeout-BxFilWvD.js","assets/Flex-CTSf12gq.js","assets/Modal.vue_vue_type_script_setup_true_lang-hxh84a9j.js","assets/template-rpthWlT9.js","assets/helper-Czt-QYps.js","assets/memoize-C3Z21RQJ.js","assets/index-j7TPncwU.css","assets/index-CM8Sm5d0.js","assets/TableAction.vue_vue_type_script_setup_true_lang-Bj_Y4LtN.js","assets/Modal.vue_vue_type_script_setup_true_lang-DLDZqh3M.js","assets/hook-C9rOLWu_.js","assets/schemas-DLHXnB0l.js","assets/index-Bs2XVHt0.js","assets/index-2sC0HI9I.js","assets/schemas-Bzri1N6h.js","assets/index-CBtGg7X-.js"])))=>i.map(i=>d[i]);
import { d as fe, e as he, V as ye, gV as ge, r as u, f as _e, u as be, a as Y, a4 as Pe, ay as Ie, ec as D, aw as ke, c as m, o as v, w as s, j as l, W as Te, i as Z, ds as Ce, l as t, T as we, ca as I, H as Re, D as L, aI as De, p as V, A as k, B as Ve, gW as q, gX as S, X as qe, br as x, c_ as Se, v as xe, __tla as __tla_0 } from "./index-9PRMimni.js";
import { T as Ae } from "./tabsView-BuQA2jOW.js";
import { s as ee, u as Ee, N as je, z as Oe } from "./template-rpthWlT9.js";
import { _ as Le, __tla as __tla_1 } from "./Modal.vue_vue_type_script_setup_true_lang-Ub1dgidI.js";
import { v as Me, __tla as __tla_2 } from "./schemas-DLHXnB0l.js";
import { f as Ne } from "./schemas-Bzri1N6h.js";
import { _ as ze, __tla as __tla_3 } from "./rejectModal.vue_vue_type_script_setup_true_lang-Q5NB5e-6.js";
import { i as $ } from "./isEmpty-BUg1OsQj.js";
import "./vuedraggable.umd-Co2xEC3p.js";
import "./element-resize-detector-D6t9qRKJ.js";
import "./Render.vue_vue_type_script_lang-DKUYY0Zw.js";
import "./index-kKnqLkWM.js";
import "./basicModal.vue_vue_type_style_index_0_lang-8QZP7ApW.js";
import "./ImageUpload.vue_vue_type_style_index_0_scoped_cb086928_lang-D-28kXvw.js";
import "./componentSetting-DVhNDBTO.js";
import "./BasicUpload.vue_vue_type_style_index_0_scoped_a4d0e930_lang-DxRbtP01.js";
import "./BasicForm.vue_vue_type_style_index_0_scoped_b9e995ec_lang-CEvcLwxD.js";
import "./propTypes-CebMRUpe.js";
import "./BasicSelect.vue_vue_type_style_index_0_scoped_772d51cc_lang-Brp6PjEU.js";
import "./index-DkvzUEqh.js";
import { __tla as __tla_4 } from "./index.vue_vue_type_style_index_0_scoped_b974e5ec_lang-_0QwzFKM.js";
import "./jobOrder-CGbsc7bp.js";
import "./has-CjqcrIOV.js";
import "./Table.vue_vue_type_style_index_0_scoped_7b9e6ece_lang-BoW2DV_e.js";
import "./componentMap-CElCaWis.js";
import "./format-DgF6KtHk.js";
import "./omit-B2_8Y6O_.js";
import "./_flatRest-DBrd2CHT.js";
import "./flatten-DeoUZLdb.js";
import "./print-CT_2hrjP.js";
import { __tla as __tla_5 } from "./index-8tHZJCCW.js";
import "./basicModal.vue_vue_type_script_setup_true_lang-CsJydKhW.js";
import "./useModal-CO65vga3.js";
import "./TimelineItem-Bkds7ZW8.js";
import "./Flex-CTSf12gq.js";
import "./schemas-BmKi-UM9.js";
import "./props-CLtNejQT.js";
import "./BasicForm-dL_oCSPM.js";
import "./SingleImageUpload-CNx4b9eC.js";
import "./ImageUpload-DUsnro3W.js";
import "./tabsView-BXskTdVh.js";
import "./BasicSelect-C_uwzMkE.js";
import "./dictionary-BRse4lkf.js";
import "./AutoComplete-Dv1Bqed4.js";
import "./TreeSelect-BZh2DeCh.js";
import "./useForm-CKmgcynv.js";
import "./usePageCache-DluHn7Yy.js";
let Lt;
let __tla = Promise.all([
    (()=>{
        try {
            return __tla_0;
        } catch  {}
    })(),
    (()=>{
        try {
            return __tla_1;
        } catch  {}
    })(),
    (()=>{
        try {
            return __tla_2;
        } catch  {}
    })(),
    (()=>{
        try {
            return __tla_3;
        } catch  {}
    })(),
    (()=>{
        try {
            return __tla_4;
        } catch  {}
    })(),
    (()=>{
        try {
            return __tla_5;
        } catch  {}
    })()
]).then(async ()=>{
    let Be, Ke;
    Be = {
        class: "max-h-[calc(100vh-200px)] overflow-y-auto p-2.5 hidden-scrollbar"
    };
    Ke = fe({
        __name: "addDetail",
        setup (We) {
            const te = Se(), O = he(), M = {
                shipParticulars: D(()=>x(()=>import("./index-DoUZr6hz.js"), __vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]))),
                basicTab: D(()=>x(()=>import("./index-a8nBFQi2.js").then(async (m)=>{
                            await m.__tla;
                            return m;
                        }), __vite__mapDeps([27,28,3,4,29,10,2,30,15,31,32,33,34,35,36,37,38,39,40,7,41,26,13,42,43,1,5,6,8,9,11,12,14,16,17,18,19,20,21,22,23,24,25,44,45,46,47]))),
                deficiency: D(()=>x(()=>import("./index-CM8Sm5d0.js").then(async (m)=>{
                            await m.__tla;
                            return m;
                        }), __vite__mapDeps([48,28,3,4,29,10,2,30,15,31,32,33,34,35,36,37,38,39,40,7,41,26,13,42,49,50,51,44,22,52]))),
                summary: D(()=>x(()=>import("./index-Bs2XVHt0.js"), __vite__mapDeps([53,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]))),
                photos: D(()=>x(()=>import("./index-2sC0HI9I.js"), __vite__mapDeps([54,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,55,25,26]))),
                certificateSMS: D(()=>x(()=>import("./index-CBtGg7X-.js"), __vite__mapDeps([56,28,3,4,29,10,2,30,15,31,32,33,34,35,36,37,38,39,40,7,41,26,13,42])))
            }, { t: a } = ye(), F = ge(), A = u(), p = u("shipParticulars"), E = u("shipParticulars"), d = _e(), r = u(), T = u(), j = be(), g = u(!1), N = u(!1), o = Y({}), G = u(), H = u(!1), X = u(), h = u(!1), _ = u(), { templateCode: C, isTankerFunc: w, isCargoFunc: J } = Me(), z = Pe(()=>[
                    {
                        label: a("hsqe.auditInspection.vesselInspection.shipVisitReport.tabShipParticulars"),
                        value: "shipParticulars",
                        compPage: "shipParticulars"
                    },
                    {
                        label: a("hsqe.auditInspection.vesselInspection.shipVisitReport.tabDeficiency"),
                        value: "deficiency",
                        compPage: "deficiency"
                    },
                    {
                        label: a("hsqe.auditInspection.vesselInspection.shipVisitReport.tabSummary"),
                        value: "summary",
                        compPage: "summary"
                    },
                    {
                        label: a("hsqe.auditInspection.vesselInspection.shipVisitReport.tabPhotos"),
                        value: "photos",
                        compPage: "photos",
                        showControl: J()
                    },
                    {
                        label: a("hsqe.auditInspection.vesselInspection.shipVisitReport.tabDeckPhotos"),
                        value: "deckPhotos",
                        compPage: "photos",
                        showControl: w()
                    },
                    {
                        label: a("hsqe.auditInspection.vesselInspection.shipVisitReport.tabEnginePhotos"),
                        value: "enginePhotos",
                        compPage: "photos",
                        showControl: w()
                    },
                    {
                        label: a("hsqe.auditInspection.vesselInspection.shipVisitReport.tabAccommodationPhotos"),
                        value: "accommodationPhotos",
                        compPage: "photos",
                        showControl: w()
                    }
                ].filter((n)=>n.showControl === void 0 || n.showControl)), b = Y({
                tabsList: [],
                collapsed: !0,
                activeKey: "shipParticulars"
            });
            Ie(()=>p.value, (e, n)=>{
                U(n), console.log(M[E.value]), M[E.value] && (F.value = M[E.value]);
            }, {
                immediate: !0
            });
            function U(e) {
                e && A.value?.getData && ([
                    "deficiency",
                    "summary",
                    "photos",
                    "deckPhotos",
                    "enginePhotos",
                    "accommodationPhotos"
                ].includes(e) ? o[e] = A.value.getData() : (o[e] = A.value.getData().tableList, o[e + "_view"] = A.value.getData().summaryInput));
            }
            async function B() {
                r.value = _.value, o.deficiency = r.value.deficiencyList;
                for (const e of Object.keys(_.value.checkTeb))o[e] = _.value.checkTeb[e];
                o.summary = oe(r.value), [
                    "photos",
                    "deckPhotos",
                    "enginePhotos",
                    "accommodationPhotos"
                ].forEach((e)=>{
                    o[e] = ne(r.value, e);
                }), d.query.type == "view" && r.value.approveShow == 1 && r.value.approveStatus != 5 && (N.value = !0), re(_.value), r.value.updateEnable !== 1 && (g.value = !0);
            }
            function oe(e) {
                return {
                    maintenanceVerify: e.maintenanceVerify ? e.maintenanceVerify : null,
                    jobDone: e.jobDone ? e.jobDone : null,
                    houseKeeping: e.houseKeeping ? e.houseKeeping : null,
                    contents: e.contents ? e.contents : null,
                    defectVerify: e.defectVerify ? e.defectVerify : null,
                    verifyDetails: e.verifyDetails ? e.verifyDetails : null,
                    nextMaintenance: e.nextMaintenance ? e.nextMaintenance : null,
                    effectImpl: e.effectImpl ? e.effectImpl : null,
                    recommendations: e.recommendations ? e.recommendations : null,
                    crewAssess: e.crewAssess ? e.crewAssess : null,
                    performanceResult: e.performanceResult ? e.performanceResult : null,
                    meetingContent: e.meetingContent ? e.meetingContent : null,
                    bestPractice: e.bestPractice ? e.bestPractice : null,
                    trainingContent: e.trainingContent ? e.trainingContent : null,
                    mainWeak: e.mainWeak ? e.mainWeak : null,
                    maintenanceCondition: e.maintenanceCondition ? e.maintenanceCondition : null,
                    maintenanceRecords: e.maintenanceRecords ? e.maintenanceRecords : null
                };
            }
            function ne(e, n) {
                const i = {};
                return (Ne[`${n}Fields`] || []).forEach((c)=>{
                    i[c + "_Photo"] = e[c + "_Photo"] || null;
                }), i;
            }
            async function se(e) {
                p.value = e.value, E.value = e.compPage || "basicTab", await B();
            }
            const ae = async (e)=>{
                if (r.value || (r.value = await ee({
                    templateCode: C,
                    uuid: d.query.uuid
                })), p.value == "deficiency" && await B(), p.value == "shipParticulars") e(r.value || null);
                else if ([
                    "deficiency",
                    "summary",
                    "photos",
                    "deckPhotos",
                    "enginePhotos",
                    "accommodationPhotos"
                ].includes(p.value)) e(o[p.value] || null, g.value);
                else {
                    const n = r.value[p.value][0].inspectionType + "_view" || o[p.value + "_view"] || null, i = _.value[n];
                    e({
                        tableList: r.value[p.value] || null,
                        summaryInput: i,
                        readOnly: g.value,
                        reportNum: r.value.reportNum,
                        shipId: r.value.shipId,
                        plannerId: r.value.plannerId,
                        visitType: r.value.visitType
                    });
                }
            };
            function ie() {
                if (g.value) {
                    O.back();
                    return;
                }
                te.info({
                    title: a("hsqe.auditInspection.back.title"),
                    content: a("hsqe.auditInspection.back.cont"),
                    positiveText: a("common.okText"),
                    negativeText: a("common.cancelText"),
                    onPositiveClick: async ()=>{
                        O.back();
                    }
                });
            }
            function ce(e) {
                {
                    W();
                    return;
                }
            }
            async function K(e = !1) {
                await U(p.value);
                let n = !0;
                const i = u([]), c = u({});
                if (T.value.forEach((f)=>{
                    const P = o[f.value];
                    if (!Array.isArray(P) || P.length === 0) {
                        n = !1;
                        return;
                    } else {
                        const de = P.map((R)=>((!R.inspectionResult || $(R.inspectionResult)) && (n = !1), {
                                id: R.id,
                                inspectionResult: R.inspectionResult,
                                remark: R.remark,
                                deficiencyId: R.deficiencyId
                            }));
                        i.value = i.value.concat(de), c.value[f.value + "_view"] = o[f.value + "_view"];
                    }
                }), e && (J() ? !o.photos || Object.keys(o.photos).length === 0 ? n = !1 : (n = !1, Object.keys(o.photos).forEach((f)=>{
                    $(o.photos[f]) || (n = !0);
                })) : (!o.deckPhotos || Object.keys(o.deckPhotos).length === 0 || !o.enginePhotos || Object.keys(o.enginePhotos).length === 0 || !o.accommodationPhotos || Object.keys(o.accommodationPhotos).length === 0) && (n = !1), o.summary || (n = !1), Object.keys(o.summary).forEach((f)=>{
                    $(o.summary[f]) && (n = !1);
                }), !n)) return j.error(a("hsqe.auditInspection.vesselInspection.inputDoneHint")), !1;
                const y = {
                    template_code: C,
                    uuid: d.query.uuid,
                    checklist: i.value,
                    ...c.value,
                    ...o.summary,
                    ...o.photos,
                    ...o.deckPhotos,
                    ...o.enginePhotos,
                    ...o.accommodationPhotos
                };
                await Ee(y) && !e && j.success(a("common.saveSuccessText"));
            }
            async function re(e) {
                e.updateEnable == 1 && (e.approveStatus == 1 || e.approveStatus == 2 || e.approveStatus == 4) && e.inputDone == 1 && e.photosShipVerification ? H.value = !0 : H.value = !1;
            }
            async function le() {
                await K(!0) && (await je({
                    shipId: r.value.shipId,
                    busId: d.query.uuid,
                    moduleCode: w() ? C : "vesselInspect"
                }), j.success(a("common.submitSuccessText")), W());
            }
            async function ue() {
                try {
                    h.value = !0, await Oe({
                        comment: "pass",
                        busId: d.query.uuid,
                        moduleCode: w() ? C : "vesselInspect"
                    }), j.success(a("common.submitApproveText")), W(), h.value = !1;
                } catch  {
                    h.value = !1;
                }
            }
            async function pe() {
                X.value?.showModal();
            }
            function me() {
                j.success(a("common.submitRejectText")), ce();
            }
            function ve() {
                let e = w() ? C : "vesselInspect";
                G.value?.showModal(d.query.uuid, e);
            }
            function W() {
                const e = Array.isArray(d.query.sourcePath) ? d.query.sourcePath[0] : d.query.sourcePath;
                typeof e == "string" && e ? O.push({
                    name: e,
                    query: {
                        asyncComponent: "vesselInspection"
                    }
                }) : O.back();
            }
            return ke(async ()=>{
                const e = await ee({
                    templateCode: C,
                    uuid: d.query.uuid
                });
                e?.checkTeb && Object.entries(e.checkTeb).forEach(([c, y])=>{
                    e[c] = y;
                }), _.value = e, T.value = _.value?.checkTeb || [];
                const n = [];
                T.value && Object.keys(T.value).length > 0 && Object.keys(T.value).forEach((c)=>{
                    n.push({
                        label: c,
                        value: c,
                        compPage: "basicTab",
                        inspectionType: T.value[c][0].inspectionType ?? null
                    });
                }), z.value.splice(1, 0, ...n), b.tabsList = z.value, b.collapsed = !1;
                const i = sessionStorage.getItem("deficiencyTab");
                if (i) {
                    b.activeKey = i, p.value = i;
                    const c = z.value.find((y)=>y.value === i);
                    E.value = c?.compPage || "basicTab", sessionStorage.removeItem("deficiencyTab");
                } else b.activeKey = "shipParticulars";
                d.query.type == "view" && (g.value = !0), r.value || B();
            }), (e, n)=>{
                const i = Ve, c = De, y = Re, Q = Te, f = qe;
                return v(), m(f, null, {
                    default: s(()=>[
                            l(Q, {
                                bordered: !1,
                                class: "mt-0.5 py-1 proCard",
                                size: "small",
                                segmented: {
                                    content: !0
                                },
                                "content-style": "padding: 16px 15px 0 15px;"
                            }, {
                                header: s(()=>[
                                        l(y, {
                                            align: "center"
                                        }, {
                                            default: s(()=>[
                                                    l(c, {
                                                        trigger: "hover"
                                                    }, {
                                                        trigger: s(()=>[
                                                                l(i, {
                                                                    border: !1,
                                                                    type: "text",
                                                                    class: "size-8",
                                                                    onClick: ie
                                                                }, {
                                                                    icon: s(()=>[
                                                                            (v(), m(I(t(q)(t(S).back, "text-[16px]"))))
                                                                        ]),
                                                                    _: 1
                                                                })
                                                            ]),
                                                        default: s(()=>[
                                                                V(" " + k(t(a)("hsqe.auditInspection.vesselInspection.back")), 1)
                                                            ]),
                                                        _: 1
                                                    }),
                                                    Z("h1", null, k(t(a)("hsqe.auditInspection.vesselInspection.reportName")), 1)
                                                ]),
                                            _: 1
                                        })
                                    ]),
                                "header-extra": s(()=>[
                                        l(y, {
                                            align: "center"
                                        }, {
                                            default: s(()=>[
                                                    t(g) ? L("", !0) : (v(), m(c, {
                                                        key: 0,
                                                        trigger: "hover"
                                                    }, {
                                                        trigger: s(()=>[
                                                                l(i, {
                                                                    loading: t(h),
                                                                    type: "primary",
                                                                    strong: "",
                                                                    bordered: "",
                                                                    secondary: "",
                                                                    class: "size-7",
                                                                    onClick: n[0] || (n[0] = (P)=>K(!1))
                                                                }, {
                                                                    icon: s(()=>[
                                                                            (v(), m(I(t(q)(t(S).save))))
                                                                        ]),
                                                                    _: 1
                                                                }, 8, [
                                                                    "loading"
                                                                ])
                                                            ]),
                                                        default: s(()=>[
                                                                V(" " + k(t(a)("hsqe.auditInspection.vesselInspection.save")), 1)
                                                            ]),
                                                        _: 1
                                                    })),
                                                    t(g) ? L("", !0) : (v(), m(c, {
                                                        key: 1,
                                                        trigger: "hover"
                                                    }, {
                                                        trigger: s(()=>[
                                                                l(i, {
                                                                    loading: t(h),
                                                                    type: "primary",
                                                                    strong: "",
                                                                    bordered: "",
                                                                    secondary: "",
                                                                    class: "size-7",
                                                                    onClick: le
                                                                }, {
                                                                    icon: s(()=>[
                                                                            (v(), m(I(t(q)(t(S).submit))))
                                                                        ]),
                                                                    _: 1
                                                                }, 8, [
                                                                    "loading"
                                                                ])
                                                            ]),
                                                        default: s(()=>[
                                                                V(" " + k(t(a)("hsqe.auditInspection.vesselInspection.submit")), 1)
                                                            ]),
                                                        _: 1
                                                    })),
                                                    t(N) ? (v(), m(c, {
                                                        key: 2,
                                                        trigger: "hover"
                                                    }, {
                                                        trigger: s(()=>[
                                                                l(i, {
                                                                    loading: t(h),
                                                                    type: "primary",
                                                                    strong: "",
                                                                    bordered: "",
                                                                    secondary: "",
                                                                    class: "size-7",
                                                                    onClick: ue
                                                                }, {
                                                                    icon: s(()=>[
                                                                            (v(), m(I(t(q)(t(S).approve))))
                                                                        ]),
                                                                    _: 1
                                                                }, 8, [
                                                                    "loading"
                                                                ])
                                                            ]),
                                                        default: s(()=>[
                                                                V(" " + k(t(a)("hsqe.auditInspection.vesselInspection.approve")), 1)
                                                            ]),
                                                        _: 1
                                                    })) : L("", !0),
                                                    t(N) ? (v(), m(c, {
                                                        key: 3,
                                                        trigger: "hover"
                                                    }, {
                                                        trigger: s(()=>[
                                                                l(i, {
                                                                    loading: t(h),
                                                                    type: "primary",
                                                                    strong: "",
                                                                    bordered: "",
                                                                    secondary: "",
                                                                    class: "size-7",
                                                                    onClick: pe
                                                                }, {
                                                                    icon: s(()=>[
                                                                            (v(), m(I(t(q)(t(S).returned))))
                                                                        ]),
                                                                    _: 1
                                                                }, 8, [
                                                                    "loading"
                                                                ])
                                                            ]),
                                                        default: s(()=>[
                                                                V(" " + k(t(a)("hsqe.auditInspection.vesselInspection.reject")), 1)
                                                            ]),
                                                        _: 1
                                                    })) : L("", !0),
                                                    l(c, {
                                                        trigger: "hover"
                                                    }, {
                                                        trigger: s(()=>[
                                                                l(i, {
                                                                    loading: t(h),
                                                                    type: "primary",
                                                                    strong: "",
                                                                    bordered: "",
                                                                    secondary: "",
                                                                    class: "size-7",
                                                                    onClick: ve
                                                                }, {
                                                                    icon: s(()=>[
                                                                            (v(), m(I(t(q)(t(S).log))))
                                                                        ]),
                                                                    _: 1
                                                                }, 8, [
                                                                    "loading"
                                                                ])
                                                            ]),
                                                        default: s(()=>[
                                                                V(" " + k(t(a)("hsqe.auditInspection.vesselInspection.viewAuditLog")), 1)
                                                            ]),
                                                        _: 1
                                                    })
                                                ]),
                                            _: 1
                                        })
                                    ]),
                                default: s(()=>[
                                        l(Ae, {
                                            modelValue: t(b),
                                            "onUpdate:modelValue": n[1] || (n[1] = (P)=>Ce(b) ? b.value = P : null),
                                            onChangeTab: se
                                        }, null, 8, [
                                            "modelValue"
                                        ]),
                                        Z("div", Be, [
                                            l(we, {
                                                name: "slide-fade",
                                                mode: "out-in",
                                                class: "mt-1.5"
                                            }, {
                                                default: s(()=>[
                                                        (v(), m(I(t(F)), {
                                                            key: t(p),
                                                            currentTab: t(p),
                                                            ref_key: "currentComponentRef",
                                                            ref: A,
                                                            onGetData: ae,
                                                            onSaveDeficiency: n[2] || (n[2] = (P)=>K(!1))
                                                        }, null, 40, [
                                                            "currentTab"
                                                        ]))
                                                    ]),
                                                _: 1
                                            })
                                        ])
                                    ]),
                                _: 1
                            }),
                            l(Le, {
                                ref_key: "modalRef",
                                ref: G
                            }, null, 512),
                            l(ze, {
                                ref_key: "rejectModalRef",
                                ref: X,
                                onSuccess: me
                            }, null, 512)
                        ]),
                    _: 1
                });
            };
        }
    });
    Lt = xe(Ke, [
        [
            "__scopeId",
            "data-v-32f03c72"
        ]
    ]);
});
export { Lt as default, __tla };
