import { ao as vLoading } from "./element-plus.CkEW9frc.js"; import { _ as _export_sfc } from "./_plugin-vue_export-helper.1tPrXgE0.js"; import { r as ref, t as onMounted, a6 as withDirectives, S as openBlock, _ as createElementBlock, a1 as createBaseVNode, a2 as normalizeStyle, j as computed } from "./.pnpm.BW3P1y8f.js"; const _hoisted_1 = ["src"]; const _sfc_main = { __name: "index", props: { src: { type: String, required: true } }, setup(__props) { const props = __props; const height = ref(document.documentElement.clientHeight - 94.5 + "px;"); const loading = ref(true); const url = computed(() => props.src); onMounted(() => { setTimeout(() => { loading.value = false; }, 300); }); return (_ctx, _cache) => { const _directive_loading = vLoading; return withDirectives((openBlock(), createElementBlock("div", { style: normalizeStyle("height:" + height.value) }, [ createBaseVNode("iframe", { src: url.value, frameborder: "0", width: "100%", height: "100%", scrolling: "auto" }, null, 8, _hoisted_1) ], 4)), [ [_directive_loading, loading.value] ]); }; } }; const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c20c8d45"]]); export { __unplugin_components_0 as _ };