//#region node_modules/vidstack/prod/chunks/vidstack-D9mvYVIz.js
var e = Symbol(0), t = !1, n = !1, r = null, i = null, a = null, o = 0, s = [], c = {}, l = () => {}, u = 0, d = 1, f = 2, p = 3;
function m() {
	t = !0, queueMicrotask(h);
}
function h() {
	if (!s.length) {
		t = !1;
		return;
	}
	n = !0;
	for (let e = 0; e < s.length; e++) s[e].$st !== u && g(s[e]);
	s = [], t = !1, n = !1;
}
function g(t) {
	let n = [t];
	for (; t = t[e];) t.$e && t.$st !== u && n.push(t);
	for (let e = n.length - 1; e >= 0; e--) re(n[e]);
}
function _(e) {
	let t = F();
	return k(t, e.length ? e.bind(null, E.bind(t)) : e, null);
}
function v(e) {
	return k(r, e, null);
}
function y(e) {
	return k(null, e, null);
}
function b() {
	n || h();
}
function x() {
	return r;
}
function S(e, t) {
	try {
		return k(t, e, null);
	} catch (e) {
		A(t, e);
		return;
	}
}
function C(e, t = r) {
	return t?.$cx[e];
}
function w(e, t, n = r) {
	n && (n.$cx = {
		...n.$cx,
		[e]: t
	});
}
function T(e) {
	if (!e || !r) return e || l;
	let t = r;
	return t.$d ? Array.isArray(t.$d) ? t.$d.push(e) : t.$d = [t.$d, e] : t.$d = e, function() {
		t.$st !== p && (e.call(null), L(t.$d) ? t.$d = null : Array.isArray(t.$d) && t.$d.splice(t.$d.indexOf(e), 1));
	};
}
function E(t = !0) {
	if (this.$st !== p) {
		if (this.$h) if (Array.isArray(this.$h)) for (let e = this.$h.length - 1; e >= 0; e--) E.call(this.$h[e]);
		else E.call(this.$h);
		if (t) {
			let t = this[e];
			t && (Array.isArray(t.$h) ? t.$h.splice(t.$h.indexOf(this), 1) : t.$h = null), D(this);
		}
	}
}
function D(t) {
	t.$st = p, t.$d && O(t), t.$s && R(t, 0), t[e] = null, t.$s = null, t.$o = null, t.$h = null, t.$cx = c, t.$eh = null;
}
function O(e) {
	try {
		if (Array.isArray(e.$d)) for (let t = e.$d.length - 1; t >= 0; t--) {
			let n = e.$d[t];
			n.call(n);
		}
		else e.$d.call(e.$d);
		e.$d = null;
	} catch (t) {
		A(e, t);
	}
}
function k(e, t, n) {
	let a = r, o = i;
	r = e, i = n;
	try {
		return t.call(e);
	} finally {
		r = a, i = o;
	}
}
function A(e, t) {
	if (!e || !e.$eh) throw t;
	let n = 0, r = e.$eh.length, i = t;
	for (n = 0; n < r; n++) try {
		e.$eh[n](i);
		break;
	} catch (e) {
		i = e;
	}
	if (n === r) throw i;
}
function j() {
	return this.$st === p ? this.$v : (i && !this.$e && (!a && i.$s && i.$s[o] == this ? o++ : a ? a.push(this) : a = [this]), this.$c && re(this), this.$v);
}
function M(e) {
	let t = L(e) ? e(this.$v) : e;
	if (this.$ch(this.$v, t) && (this.$v = t, this.$o)) for (let e = 0; e < this.$o.length; e++) se(this.$o[e], f);
	return this.$v;
}
var N = function() {
	this[e] = null, this.$h = null, r && r.append(this);
}, P = N.prototype;
P.$cx = c, P.$eh = null, P.$c = null, P.$d = null, P.append = function(t) {
	t[e] = this, this.$h ? Array.isArray(this.$h) ? this.$h.push(t) : this.$h = [this.$h, t] : this.$h = t, t.$cx = t.$cx === c ? this.$cx : {
		...this.$cx,
		...t.$cx
	}, this.$eh && (t.$eh = t.$eh ? [...t.$eh, ...this.$eh] : this.$eh);
}, P.dispose = function() {
	E.call(this);
};
function F() {
	return new N();
}
var I = function(e, t, n) {
	N.call(this), this.$st = t ? f : u, this.$i = !1, this.$e = !1, this.$s = null, this.$o = null, this.$v = e, t && (this.$c = t), n && n.dirty && (this.$ch = n.dirty);
}, ee = I.prototype;
Object.setPrototypeOf(ee, P), ee.$ch = ne, ee.call = j;
function te(e, t, n) {
	return new I(e, t, n);
}
function ne(e, t) {
	return e !== t;
}
function L(e) {
	return typeof e == "function";
}
function re(e) {
	if (e.$st === d) for (let t = 0; t < e.$s.length && (re(e.$s[t]), e.$st !== f); t++);
	e.$st === f ? ae(e) : e.$st = u;
}
function ie(t) {
	t.$h && E.call(t, !1), t.$d && O(t), t.$eh = t[e] ? t[e].$eh : null;
}
function ae(e) {
	let t = a, n = o;
	a = null, o = 0;
	try {
		ie(e);
		let t = k(e, e.$c, e);
		oe(e), !e.$e && e.$i ? M.call(e, t) : (e.$v = t, e.$i = !0);
	} catch (t) {
		oe(e), A(e, t);
	} finally {
		a = t, o = n, e.$st = u;
	}
}
function oe(e) {
	if (a) {
		if (e.$s && R(e, o), e.$s && o > 0) {
			e.$s.length = o + a.length;
			for (let t = 0; t < a.length; t++) e.$s[o + t] = a[t];
		} else e.$s = a;
		let t;
		for (let n = o; n < e.$s.length; n++) t = e.$s[n], t.$o ? t.$o.push(e) : t.$o = [e];
	} else e.$s && o < e.$s.length && (R(e, o), e.$s.length = o);
}
function se(e, n) {
	if (!(e.$st >= n) && (e.$e && e.$st === u && (s.push(e), t || m()), e.$st = n, e.$o)) for (let t = 0; t < e.$o.length; t++) se(e.$o[t], d);
}
function R(e, t) {
	let n, r;
	for (let i = t; i < e.$s.length; i++) n = e.$s[i], n.$o && (r = n.$o.indexOf(e), n.$o[r] = n.$o[n.$o.length - 1], n.$o.pop());
}
function z(t, n) {
	let r = te(t, null, n), i = j.bind(r);
	return i[e] = !0, i.set = M.bind(r), i;
}
function ce(t) {
	return L(t) && e in t;
}
function le(t, n) {
	let r = te(n?.initial, t, n), i = j.bind(r);
	return i[e] = !0, i;
}
function ue(e, t) {
	let n = te(null, function() {
		let t = e();
		return L(t) && T(t), null;
	}, void 0);
	return n.$e = !0, ae(n), E.bind(n, !0);
}
function de(e) {
	return ce(e) && "set" in e;
}
function B(...e) {}
function fe(e) {
	return e === null;
}
function V(e) {
	return e === void 0;
}
function pe(e) {
	return fe(e) || V(e);
}
function me(e) {
	return e?.constructor === Object;
}
function he(e) {
	return typeof e == "number" && !Number.isNaN(e);
}
function ge(e) {
	return typeof e == "string";
}
function _e(e) {
	return typeof e == "boolean";
}
function ve(e) {
	return typeof e == "function";
}
function H(e) {
	return Array.isArray(e);
}
var U = ue, ye = Event, be = Symbol("DOM_EVENT"), W = class extends ye {
	get trigger() {
		return this.triggers.source;
	}
	get originEvent() {
		return this.triggers.origin;
	}
	get isOriginTrusted() {
		return this.triggers.origin?.isTrusted ?? !1;
	}
	constructor(e, ...t) {
		super(e, t[0]), this[be] = !0, this.triggers = new xe(), this.detail = t[0]?.detail;
		let n = t[0]?.trigger;
		n && this.triggers.add(n);
	}
}, xe = class {
	constructor() {
		this.chain = [];
	}
	get source() {
		return this.chain[0];
	}
	get origin() {
		return this.chain[this.chain.length - 1];
	}
	add(e) {
		this.chain.push(e), Se(e) && this.chain.push(...e.triggers);
	}
	remove(e) {
		return this.chain.splice(this.chain.indexOf(e), 1)[0];
	}
	has(e) {
		return this.chain.some((t) => t === e);
	}
	hasType(e) {
		return !!this.findType(e);
	}
	findType(e) {
		return this.chain.find((t) => t.type === e);
	}
	walk(e) {
		for (let t of this.chain) {
			let n = e(t);
			if (n) return [t, n];
		}
	}
	[Symbol.iterator]() {
		return this.chain.values();
	}
};
function Se(e) {
	return !!e?.[be];
}
var Ce = class extends EventTarget {
	addEventListener(e, t, n) {
		return super.addEventListener(e, t, n);
	}
	removeEventListener(e, t, n) {
		return super.removeEventListener(e, t, n);
	}
};
function we(e, t, n, r) {
	return e.addEventListener(t, n, r), T(() => e.removeEventListener(t, n, r));
}
var Te = class {
	#e;
	#t;
	get signal() {
		return this.#t.signal;
	}
	constructor(e) {
		this.#e = e, this.#t = new AbortController(), T(this.abort.bind(this));
	}
	add(e, t, n) {
		if (this.signal.aborted) throw Error("aborted");
		return this.#e.addEventListener(e, t, {
			...n,
			signal: n?.signal ? Ee(this.signal, n.signal) : this.signal
		}), this;
	}
	remove(e, t) {
		return this.#e.removeEventListener(e, t), this;
	}
	abort(e) {
		this.#t.abort(e);
	}
};
function Ee(...e) {
	let t = new AbortController(), n = { signal: t.signal };
	function r(e) {
		t.abort(e.target.reason);
	}
	for (let i of e) {
		if (i.aborted) {
			t.abort(i.reason);
			break;
		}
		i.addEventListener("abort", r, n);
	}
	return t.signal;
}
function De(e) {
	return !!e?.type.startsWith("pointer");
}
function Oe(e) {
	return !!e?.type.startsWith("touch");
}
function ke(e) {
	return /^(click|mouse)/.test(e?.type ?? "");
}
function Ae(e) {
	return !!e?.type.startsWith("key");
}
function je(e) {
	return Ae(e) && e.key === "Enter";
}
function Me(e) {
	return Ae(e) && (e.key === "Enter" || e.key === " ");
}
function Ne(e) {
	return e instanceof Node;
}
function Pe(e, t, n) {
	if (e) if (!n && n !== "" && n !== 0) e.removeAttribute(t);
	else {
		let r = n === !0 ? "" : n + "";
		e.getAttribute(t) !== r && e.setAttribute(t, r);
	}
}
function G(e, t, n) {
	if (e) !n && n !== 0 ? e.style.removeProperty(t) : e.style.setProperty(t, n + "");
	else return;
}
function Fe(e) {
	return {
		id: Symbol(),
		provide: e
	};
}
function Ie(e, t, n = x()) {
	let r = !V(t);
	w(e.id, r ? t : e.provide?.(), n);
}
function Le(e) {
	return C(e.id);
}
function Re(e) {
	return !V(C(e.id));
}
var K = /* @__PURE__ */ Symbol(0), q = /* @__PURE__ */ Symbol(0), ze = /* @__PURE__ */ Symbol(0), Be = {}, Ve = class {
	#e;
	#t;
	#n;
	#r;
	constructor(e, t, n) {
		this[ze] = null, this.$el = z(null), this.el = null, this.scope = null, this.attachScope = null, this.connectScope = null, this.component = null, this.destroyed = !1, this.props = Be, this.attrs = null, this.styles = null, this.#e = [], this.#t = [], this.#n = [], this.#r = [], this.scope = t, n?.scope && n.scope.append(t);
		let r = e.state, i = e.props;
		if (r && (this.$state = r.create(), this.state = new Proxy(this.$state, { get: (e, t) => this.$state[t]() }), Ie(r, this.$state)), i && (this.props = He(i), n?.props)) for (let e of Object.keys(n.props)) this.props[e]?.set(n.props[e]);
		T(this.destroy.bind(this));
	}
	setup() {
		S(() => {
			for (let e of this.#e) e();
		}, this.scope);
	}
	attach(e) {
		this.el || (this.el = e, this.$el.set(e), S(() => {
			this.attachScope = F(), S(() => {
				for (let e of this.#t) e(this.el);
				this.#i(), this.#a();
			}, this.attachScope);
		}, this.scope), e.dispatchEvent(new Event("attached")));
	}
	detach() {
		this.attachScope?.dispose(), this.attachScope = null, this.connectScope = null, this.el = null, this.$el.set(null);
	}
	connect() {
		!this.el || !this.attachScope || !this.#n.length || S(() => {
			this.connectScope = F(), S(() => {
				for (let e of this.#n) e(this.el);
			}, this.connectScope);
		}, this.attachScope);
	}
	disconnect() {
		this.connectScope?.dispose(), this.connectScope = null;
	}
	destroy() {
		if (this.destroyed) return;
		this.destroyed = !0, S(() => {
			for (let e of this.#r) e(this.el);
		}, this.scope);
		let e = this.el;
		this.detach(), this.scope.dispose(), this.#e.length = 0, this.#t.length = 0, this.#n.length = 0, this.#r.length = 0, this.component = null, this.attrs = null, this.styles = null, this.props = Be, this.scope = null, this.state = Be, this.$state = null, e && delete e.$;
	}
	addHooks(e) {
		e.onSetup && this.#e.push(e.onSetup.bind(e)), e.onAttach && this.#t.push(e.onAttach.bind(e)), e.onConnect && this.#n.push(e.onConnect.bind(e)), e.onDestroy && this.#r.push(e.onDestroy.bind(e));
	}
	#i() {
		if (this.attrs) for (let e of Object.keys(this.attrs)) ve(this.attrs[e]) ? U(this.#o.bind(this, e)) : Pe(this.el, e, this.attrs[e]);
	}
	#a() {
		if (this.styles) for (let e of Object.keys(this.styles)) ve(this.styles[e]) ? U(this.#s.bind(this, e)) : G(this.el, e, this.styles[e]);
	}
	#o(e) {
		Pe(this.el, e, this.attrs[e].call(this.component));
	}
	#s(e) {
		G(this.el, e, this.styles[e].call(this.component));
	}
};
function He(e) {
	let t = {};
	for (let n of Object.keys(e)) {
		let r = e[n];
		t[n] = z(r, r);
	}
	return t;
}
var J = { $$: null };
function Ue(e, t) {
	return _(() => {
		J.$$ = new Ve(e, x(), t);
		let n = new e();
		return J.$$.component = n, J.$$ = null, n;
	});
}
var We = class extends EventTarget {
	get el() {
		return this.$$.el;
	}
	get $el() {
		return this.$$.$el();
	}
	get scope() {
		return this.$$.scope;
	}
	get attachScope() {
		return this.$$.attachScope;
	}
	get connectScope() {
		return this.$$.connectScope;
	}
	get $props() {
		return this.$$.props;
	}
	get $state() {
		return this.$$.$state;
	}
	get state() {
		return this.$$.state;
	}
	constructor() {
		super(), J.$$ && this.attach(J);
	}
	attach({ $$: e }) {
		return this.$$ = e, e.addHooks(this), this;
	}
	addEventListener(e, t, n) {
		this.listen(e, t, n);
	}
	removeEventListener(e, t, n) {
		this.el?.removeEventListener(e, t, n);
	}
	setAttributes(e) {
		this.$$.attrs || (this.$$.attrs = {}), Object.assign(this.$$.attrs, e);
	}
	setStyles(e) {
		this.$$.styles || (this.$$.styles = {}), Object.assign(this.$$.styles, e);
	}
	setCSSVars(e) {
		this.setStyles(e);
	}
	createEvent(e, ...t) {
		return new W(e, t[0]);
	}
	dispatch(e, ...t) {
		if (!this.el) return !1;
		let n = e instanceof Event ? e : new W(e, t[0]);
		return Object.defineProperty(n, "target", { get: () => this.$$.component }), y(() => (this.$$[ze]?.(n), this.el.dispatchEvent(n)));
	}
	dispatchEvent(e) {
		return this.dispatch(e);
	}
	listen(e, t, n) {
		return this.el ? we(this.el, e, t, n) : B;
	}
}, Ge = class extends We {
	subscribe(e) {
		return S(() => U(() => e(this.state)), this.$$.scope);
	}
	destroy() {
		this.$$.destroy();
	}
};
function Ke(e, t, n) {
	e[K] || (e[K] = /* @__PURE__ */ new Set()), e[K].add(t);
}
function qe(e, t, n) {
	e[q] || (e[q] = /* @__PURE__ */ new Set()), e[q].add(t);
}
var Je = class {
	#e;
	constructor(e) {
		this.id = Symbol(0), this.record = e, this.#e = Object.getOwnPropertyDescriptors(e);
	}
	create() {
		let e = {}, t = new Proxy(e, { get: (t, n) => e[n]() });
		for (let n of Object.keys(this.record)) {
			let r = this.#e[n].get;
			e[n] = r ? le(r.bind(t)) : z(this.record[n]);
		}
		return e;
	}
	reset(e, t) {
		for (let n of Object.keys(e)) !this.#e[n].get && (!t || t(n)) && e[n].set(this.record[n]);
	}
};
function Ye(e) {
	return Le(e);
}
function Xe(e, t) {
	for (let n of e) n(t);
}
function Ze(e) {
	return e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
}
function Qe(e) {
	return e.replace(/-./g, (e) => e[1].toUpperCase());
}
function $e(e) {
	return e.charAt(0).toUpperCase() + e.slice(1);
}
function et(e) {
	return e ? "true" : "false";
}
function tt(e) {
	return Object.keys(e);
}
function nt() {
	let e, t;
	return {
		promise: new Promise((n, r) => {
			e = n, t = r;
		}),
		resolve: e,
		reject: t
	};
}
function rt(e) {
	return new Promise((t) => setTimeout(t, e));
}
function it(e) {
	let t = -1, n;
	function r(...r) {
		n = r, !(t >= 0) && (t = window.requestAnimationFrame(() => {
			e.apply(this, n), t = -1, n = void 0;
		}));
	}
	return r;
}
var at = typeof window < "u" ? "requestIdleCallback" in window ? window.requestIdleCallback : (e) => window.setTimeout(e, 1) : B;
function ot(e, t) {
	return new Promise((n) => {
		at((t) => {
			e?.(t), n();
		}, t);
	});
}
var st = ct;
function ct(e, t, n) {
	var r = null, i = null, a = n && n.leading, o = n && n.trailing;
	a ??= !0, o ??= !a, a == 1 && (o = !1);
	var s = function() {
		r &&= (clearTimeout(r), null);
	}, c = function() {
		var e = i;
		s(), e && e();
	}, l = function() {
		var n = a && !r, s = this, c = arguments;
		if (i = function() {
			return e.apply(s, c);
		}, r ||= setTimeout(function() {
			if (r = null, o) return i();
		}, t), n) return n = !1, i();
	};
	return l.cancel = s, l.flush = c, l;
}
var lt = ut;
function ut(e, t, n) {
	var r = null, i = null, a = function() {
		r &&= (clearTimeout(r), i = null, null);
	}, o = function() {
		var e = i;
		a(), e && e();
	}, s = function() {
		if (!t) return e.apply(this, arguments);
		var o = this, s = arguments, c = n && !r;
		if (a(), i = function() {
			e.apply(o, s);
		}, r = setTimeout(function() {
			if (r = null, !c) {
				var e = i;
				return i = null, e();
			}
		}, t), c) return i();
	};
	return s.cancel = a, s.flush = o, s;
}
var dt = (e) => typeof e == "object" && !!e && e.nodeType === 1, ft = (e, t) => (!t || e !== "hidden") && e !== "visible" && e !== "clip", Y = (e, t) => {
	if (e.clientHeight < e.scrollHeight || e.clientWidth < e.scrollWidth) {
		let n = getComputedStyle(e, null);
		return ft(n.overflowY, t) || ft(n.overflowX, t) || ((e) => {
			let t = ((e) => {
				if (!e.ownerDocument || !e.ownerDocument.defaultView) return null;
				try {
					return e.ownerDocument.defaultView.frameElement;
				} catch {
					return null;
				}
			})(e);
			return !!t && (t.clientHeight < e.scrollHeight || t.clientWidth < e.scrollWidth);
		})(e);
	}
	return !1;
}, X = (e, t, n, r, i, a, o, s) => a < e && o > t || a > e && o < t ? 0 : a <= e && s <= n || o >= t && s >= n ? a - e - r : o > t && s < n || a < e && s > n ? o - t + i : 0, pt = (e) => e.parentElement ?? (e.getRootNode().host || null), mt = (e, t) => {
	if (typeof document > "u") return [];
	let { scrollMode: n, block: r, inline: i, boundary: a, skipOverflowHiddenElements: o } = t, s = typeof a == "function" ? a : (e) => e !== a;
	if (!dt(e)) throw TypeError("Invalid target");
	let c = document.scrollingElement || document.documentElement, l = [], u = e;
	for (; dt(u) && s(u);) {
		if (u = pt(u), u === c) {
			l.push(u);
			break;
		}
		u != null && u === document.body && Y(u) && !Y(document.documentElement) || u != null && Y(u, o) && l.push(u);
	}
	let d = window.visualViewport?.width ?? innerWidth, f = window.visualViewport?.height ?? innerHeight, { scrollX: p, scrollY: m } = window, { height: h, width: g, top: _, right: v, bottom: y, left: b } = e.getBoundingClientRect(), { top: x, right: S, bottom: C, left: w } = ((e) => {
		let t = window.getComputedStyle(e);
		return {
			top: parseFloat(t.scrollMarginTop) || 0,
			right: parseFloat(t.scrollMarginRight) || 0,
			bottom: parseFloat(t.scrollMarginBottom) || 0,
			left: parseFloat(t.scrollMarginLeft) || 0
		};
	})(e), T = r === "start" || r === "nearest" ? _ - x : r === "end" ? y + C : _ + h / 2 - x + C, E = i === "center" ? b + g / 2 - w + S : i === "end" ? v + S : b - w, D = [];
	for (let e = 0; e < l.length; e++) {
		let t = l[e], { height: a, width: o, top: s, right: u, bottom: x, left: S } = t.getBoundingClientRect();
		if (n === "if-needed" && _ >= 0 && b >= 0 && y <= f && v <= d && (t === c && !Y(t) || _ >= s && y <= x && b >= S && v <= u)) return D;
		let C = getComputedStyle(t), w = parseInt(C.borderLeftWidth, 10), O = parseInt(C.borderTopWidth, 10), k = parseInt(C.borderRightWidth, 10), A = parseInt(C.borderBottomWidth, 10), j = 0, M = 0, N = "offsetWidth" in t ? t.offsetWidth - t.clientWidth - w - k : 0, P = "offsetHeight" in t ? t.offsetHeight - t.clientHeight - O - A : 0, F = "offsetWidth" in t ? t.offsetWidth === 0 ? 0 : o / t.offsetWidth : 0, I = "offsetHeight" in t ? t.offsetHeight === 0 ? 0 : a / t.offsetHeight : 0;
		if (c === t) j = r === "start" ? T : r === "end" ? T - f : r === "nearest" ? X(m, m + f, f, O, A, m + T, m + T + h, h) : T - f / 2, M = i === "start" ? E : i === "center" ? E - d / 2 : i === "end" ? E - d : X(p, p + d, d, w, k, p + E, p + E + g, g), j = Math.max(0, j + m), M = Math.max(0, M + p);
		else {
			j = r === "start" ? T - s - O : r === "end" ? T - x + A + P : r === "nearest" ? X(s, x, a, O, A + P, T, T + h, h) : T - (s + a / 2) + P / 2, M = i === "start" ? E - S - w : i === "center" ? E - (S + o / 2) + N / 2 : i === "end" ? E - u + k + N : X(S, u, o, w, k + N, E, E + g, g);
			let { scrollLeft: e, scrollTop: n } = t;
			j = I === 0 ? 0 : Math.max(0, Math.min(n + j / I, t.scrollHeight - a / I + P)), M = F === 0 ? 0 : Math.max(0, Math.min(e + M / F, t.scrollWidth - o / F + N)), T += n - j, E += e - M;
		}
		D.push({
			el: t,
			top: j,
			left: M
		});
	}
	return D;
}, ht = (e) => e === null ? "" : e + "", gt = (e) => e === null ? null : e + "", _t = (e) => e === null ? 0 : Number(e), vt = (e) => e !== null, yt = () => null, bt = (e) => e === null ? [] : JSON.parse(e), xt = (e) => e === null ? {} : JSON.parse(e);
function St(e) {
	if (e === null) return gt;
	switch (typeof e) {
		case "undefined": return ht;
		case "string": return ht;
		case "boolean": return vt;
		case "number": return _t;
		case "function": return yt;
		case "object": return H(e) ? bt : xt;
		default: return ht;
	}
}
var Z = /* @__PURE__ */ Symbol(0), Ct = /* @__PURE__ */ Symbol(0), Q = /* @__PURE__ */ Symbol(0), $ = /* @__PURE__ */ Symbol(0);
function wt(e, t) {
	class n extends e {
		static {
			this[Z] = null;
		}
		static get observedAttributes() {
			if (!this[Z] && t.props) {
				let e = /* @__PURE__ */ new Map();
				for (let n of Object.keys(t.props)) {
					let r = this.attrs?.[n], i = ge(r) ? r : r && r?.attr;
					i !== !1 && (i ||= Ze(n), e.set(i, {
						prop: n,
						converter: r && !ge(r) && r?.converter || St(t.props[n])
					}));
				}
				this[Z] = e;
			}
			return this[Z] ? Array.from(this[Z].keys()) : [];
		}
		get scope() {
			return this.$.$$.scope;
		}
		get attachScope() {
			return this.$.$$.attachScope;
		}
		get connectScope() {
			return this.$.$$.connectScope;
		}
		get $props() {
			return this.$.$$.props;
		}
		get $state() {
			return this.$.$$.$state;
		}
		get state() {
			return this.$.state;
		}
		constructor(...e) {
			if (super(...e), this[Q] = 0, this[$] = null, this.keepAlive = !1, this.forwardKeepAlive = !0, this.$ = S(() => Ue(t), null), this.$.$$.addHooks(this), t.props) {
				let e = this.$props, n = Object.getOwnPropertyDescriptors(this);
				for (let r of Object.keys(n)) r in t.props && (e[r].set(this[r]), delete this[r]);
			}
		}
		attributeChangedCallback(e, t, n) {
			let r = this.constructor;
			if (!r[Z]) {
				super.attributeChangedCallback?.(e, t, n);
				return;
			}
			let i = r[Z].get(e);
			i && (this[i.prop] = i.converter(n));
		}
		connectedCallback() {
			let e = this.$?.$$;
			if (!e || e.destroyed) return;
			if (this[Q] !== 2) {
				Et.call(this);
				return;
			}
			if (!this.isConnected) return;
			this.hasAttribute("keep-alive") && (this.keepAlive = !0), e.connect(), H(this[$]) && Xe(this[$], this), this[$] = null;
			let t = super.connectedCallback;
			t && S(() => t.call(this), this.connectScope);
		}
		disconnectedCallback() {
			let e = this.$?.$$;
			if (!e || e.destroyed) return;
			e.disconnect();
			let t = super.disconnectedCallback;
			t && t.call(this), !this.keepAlive && !this.hasAttribute("keep-alive") && setTimeout(() => {
				requestAnimationFrame(() => {
					this.isConnected || e.destroy();
				});
			}, 0);
		}
		[Ct]() {
			let e = this.$.$$, t = this.constructor;
			if (e.destroyed) return;
			let n = t[Z];
			if (n) for (let t of this.attributes) {
				let r = n.get(t.name);
				r && r.converter && e.props[r.prop].set(r.converter(this.getAttribute(t.name)));
			}
			e.setup(), e.attach(this), this[Q] = 2, this.connectedCallback();
		}
		subscribe(e) {
			return this.$.subscribe(e);
		}
		destroy() {
			this.disconnectedCallback(), this.$.destroy();
		}
	}
	return Tt(n, t), n;
}
function Tt(e, t) {
	let n = e.prototype, r = t.prototype;
	if (t.props) for (let e of Object.keys(t.props)) Object.defineProperty(n, e, {
		enumerable: !0,
		configurable: !0,
		get() {
			return this.$props[e]();
		},
		set(t) {
			this.$props[e].set(t);
		}
	});
	if (r[K]) for (let e of r[K]) Object.defineProperty(n, e, {
		enumerable: !0,
		configurable: !0,
		get() {
			return this.$[e];
		},
		set(t) {
			this.$[e] = t;
		}
	});
	if (r[q]) for (let e of r[q]) n[e] = function(...t) {
		return this.$[e](...t);
	};
}
function Et() {
	if (this[Q] !== 0) return;
	this[Q] = 1;
	let e = kt(this), t = e && window.customElements.get(e.localName), n = e && e[Q] === 2;
	if (e && (!t || !n)) {
		Dt.call(this, e);
		return;
	}
	Ot.call(this, e);
}
async function Dt(e) {
	await window.customElements.whenDefined(e.localName), e[Q] !== 2 && await new Promise((t) => (e[$] ??= []).push(t)), Ot.call(this, e);
}
function Ot(e) {
	if (this.isConnected) {
		if (e) {
			e.keepAlive && e.forwardKeepAlive && (this.keepAlive = !0, this.setAttribute("keep-alive", ""));
			let t = this.$.$$.scope;
			t && e.$.$$.attachScope.append(t);
		}
		this[Ct]();
	}
}
function kt(e) {
	let t = e.parentNode, n = e.localName.split("-", 1)[0] + "-";
	for (; t;) {
		if (t.nodeType === 1 && t.localName.startsWith(n)) return t;
		t = t.parentNode;
	}
	return null;
}
function At(e, t = !1) {
	(t || !window.customElements.get(e.tagName)) && window.customElements.define(e.tagName, e);
}
var jt = "<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M6 7C5.63181 7 5.33333 7.29848 5.33333 7.66667V14.8667C5.33333 14.9403 5.39361 14.9999 5.46724 15.0009C10.8844 15.0719 15.2614 19.449 15.3325 24.8661C15.3334 24.9397 15.393 25 15.4667 25H26C26.3682 25 26.6667 24.7015 26.6667 24.3333V7.66667C26.6667 7.29848 26.3682 7 26 7H6ZM17.0119 22.2294C17.0263 22.29 17.0802 22.3333 17.1425 22.3333H23.3333C23.7015 22.3333 24 22.0349 24 21.6667V10.3333C24 9.96514 23.7015 9.66667 23.3333 9.66667H8.66667C8.29848 9.66667 8 9.96514 8 10.3333V13.1909C8 13.2531 8.04332 13.3071 8.10392 13.3214C12.5063 14.3618 15.9715 17.827 17.0119 22.2294Z\" fill=\"currentColor\"/> <path d=\"M13.2 25C13.2736 25 13.3334 24.9398 13.3322 24.8661C13.2615 20.5544 9.77889 17.0718 5.46718 17.0011C5.39356 16.9999 5.33333 17.0597 5.33333 17.1333V18.8667C5.33333 18.9403 5.39348 18.9999 5.4671 19.0015C8.67465 19.0716 11.2617 21.6587 11.3319 24.8662C11.3335 24.9399 11.393 25 11.4667 25H13.2Z\" fill=\"currentColor\"/> <path d=\"M5.33333 21.1333C5.33333 21.0597 5.39332 20.9998 5.46692 21.0022C7.57033 21.0712 9.26217 22.763 9.33114 24.8664C9.33356 24.94 9.27364 25 9.2 25H6C5.63181 25 5.33333 24.7015 5.33333 24.3333V21.1333Z\" fill=\"currentColor\"/>";
//#endregion
export { b as $, pe as A, tt as B, H as C, Me as D, ve as E, ge as F, v as G, qe as H, Oe as I, mt as J, Ke as K, V as L, he as M, me as N, Ae as O, De as P, z as Q, de as R, Re as S, Ne as T, B as U, we as V, T as W, Pe as X, S as Y, G as Z, At as _, Ce as a, rt as at, st as b, Je as c, et as d, y as et, Ze as f, nt as g, F as h, Te as i, ot as it, fe as j, ke as k, We as l, Fe as m, Ge as n, Le as nt, wt as o, je as ot, le as p, Ie as q, W as r, Ye as rt, jt as s, vt as t, $e as tt, it as u, U as v, _e as w, x, lt as y, Qe as z };
