import e from "../../components/PlLoaderLogo.js";
import t from "./paint-worklet.js";
import { Fragment as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, normalizeClass as c, openBlock as l, renderList as u, toDisplayString as d, unref as f, useCssModule as p } from "vue";
var m = { key: 1 }, h = new Blob([t], { type: "application/javascript" }), g = URL.createObjectURL(h);
CSS.paintWorklet.addModule(g);
var _ = /* @__PURE__ */ s({
	__name: "PlPlaceholder",
	props: {
		variant: {},
		title: {},
		subtitle: {}
	},
	setup(t) {
		let s = t, h = p();
		return (t, p) => (l(), i("div", { class: c(f(h).root) }, [a("div", { class: c([f(h).background, {
			[f(h).table]: s.variant === "table",
			[f(h).graph]: s.variant === "graph"
		}]) }, null, 2), a("div", { class: c(f(h).content) }, [o(e, {
			size: 64,
			color: "var(--color-div-grey)"
		}), s.title || s.subtitle ? (l(), i("div", {
			key: 0,
			class: c(f(h).text)
		}, [s.title ? (l(), i("div", {
			key: 0,
			class: c(f(h).title)
		}, d(s.title), 3)) : r("", !0), s.subtitle ? (l(), i("div", {
			key: 1,
			class: c(f(h).subtitle)
		}, [Array.isArray(s.subtitle) ? (l(!0), i(n, { key: 0 }, u(s.subtitle, (e, t) => (l(), i("span", { key: t }, d(e), 1))), 128)) : (l(), i("span", m, d(s.subtitle), 1))], 2)) : r("", !0)], 2)) : r("", !0)], 2)], 2));
	}
});
export { _ as default };

//# sourceMappingURL=PlPlaceholder.vue2.js.map