UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

7,112 lines • 218 kB
(function() {
	try {
		var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
		e.SENTRY_RELEASE = { id: "3.47.0" };
		var t = new e.Error().stack;
		t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "32ee357c-c8e7-4b3c-a922-d6b538ae9316", e._sentryDebugIdIdentifier = "sentry-dbid-32ee357c-c8e7-4b3c-a922-d6b538ae9316");
	} catch {}
})();
import { r as e, t } from "./rolldown-runtime-5rOLGCTp.js";
import { s as n } from "./efp-debug-init-D3gNE8Zq.js";
import { t as r } from "./es5-CRZbJ3RK.js";
import { c as i } from "./mobx.module-BTnTbXnp.js";
//#region ../config/src/lib/config-store.ts
var a;
function o(e) {
	a = e;
}
function s() {
	return a;
}
function c() {
	if (!a) throw Error("Config not loaded yet");
	return a;
}
//#endregion
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
var l;
function u(e, t, n) {
	var r;
	function i(n, r) {
		if (n._zod || Object.defineProperty(n, "_zod", {
			value: {
				def: r,
				constr: s,
				traits: /* @__PURE__ */ new Set()
			},
			enumerable: !1
		}), n._zod.traits.has(e)) return;
		n._zod.traits.add(e), t(n, r);
		let i = s.prototype, a = Object.keys(i);
		for (let e = 0; e < a.length; e++) {
			let t = a[e];
			t in n || (n[t] = i[t].bind(n));
		}
	}
	let a = (r = n == null ? void 0 : n.Parent) == null ? Object : r;
	class o extends a {}
	Object.defineProperty(o, "name", { value: e });
	function s(e) {
		var t;
		let r = n != null && n.Parent ? new o() : this;
		i(r, e), (t = r._zod).deferred != null || (t.deferred = []);
		for (let e of r._zod.deferred) e();
		return r;
	}
	return Object.defineProperty(s, "init", { value: i }), Object.defineProperty(s, Symbol.hasInstance, { value: (t) => {
		var r;
		return n != null && n.Parent && t instanceof n.Parent ? !0 : t == null || (r = t._zod) == null || (r = r.traits) == null ? void 0 : r.has(e);
	} }), Object.defineProperty(s, "name", { value: e }), s;
}
var d = class extends Error {
	constructor() {
		super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
	}
}, f = class extends Error {
	constructor(e) {
		super(`Encountered unidirectional transform during encode: ${e}`), this.name = "ZodEncodeError";
	}
};
(l = globalThis).__zod_globalConfig != null || (l.__zod_globalConfig = {});
var p = globalThis.__zod_globalConfig;
function m(e) {
	return e && Object.assign(p, e), p;
}
//#endregion
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.js
function h(e) {
	let t = Object.values(e).filter((e) => typeof e == "number");
	return Object.entries(e).filter(([e, n]) => t.indexOf(+e) === -1).map(([e, t]) => t);
}
function g(e, t) {
	return typeof t == "bigint" ? t.toString() : t;
}
function _(e) {
	return { get value() {
		{
			let t = e();
			return Object.defineProperty(this, "value", { value: t }), t;
		}
		throw Error("cached value already set");
	} };
}
function v(e) {
	return e == null;
}
function y(e) {
	let t = +!!e.startsWith("^"), n = e.endsWith("$") ? e.length - 1 : e.length;
	return e.slice(t, n);
}
function ee(e, t) {
	let n = e / t, r = Math.round(n), i = 2 ** -52 * Math.max(Math.abs(n), 1);
	return Math.abs(n - r) < i ? 0 : n - r;
}
var b = /* @__PURE__*/ Symbol("evaluating");
function x(e, t, n) {
	let r;
	Object.defineProperty(e, t, {
		get() {
			if (r !== b) return r === void 0 && (r = b, r = n()), r;
		},
		set(n) {
			Object.defineProperty(e, t, { value: n });
		},
		configurable: !0
	});
}
function S(e, t, n) {
	Object.defineProperty(e, t, {
		value: n,
		writable: !0,
		enumerable: !0,
		configurable: !0
	});
}
function C(...e) {
	let t = {};
	for (let n of e) {
		let e = Object.getOwnPropertyDescriptors(n);
		Object.assign(t, e);
	}
	return Object.defineProperties({}, t);
}
function te(e) {
	return JSON.stringify(e);
}
function ne(e) {
	return e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
}
var re = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {};
function ie(e) {
	return typeof e == "object" && !!e && !Array.isArray(e);
}
var ae = /* @__PURE__*/ _(() => {
	var e;
	if (p.jitless || typeof navigator < "u" && !((e = navigator) == null || (e = e.userAgent) == null) && e.includes("Cloudflare")) return !1;
	try {
		return Function(""), !0;
	} catch {
		return !1;
	}
});
function w(e) {
	if (ie(e) === !1) return !1;
	let t = e.constructor;
	if (t === void 0 || typeof t != "function") return !0;
	let n = t.prototype;
	return !(ie(n) === !1 || Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") === !1);
}
function T(e) {
	return w(e) ? { ...e } : Array.isArray(e) ? [...e] : e instanceof Map ? new Map(e) : e instanceof Set ? new Set(e) : e;
}
var oe = /* @__PURE__*/ new Set([
	"string",
	"number",
	"symbol"
]);
function E(e) {
	return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
}
function D(e, t, n) {
	let r = new e._zod.constr(t == null ? e._zod.def : t);
	return (!t || n != null && n.parent) && (r._zod.parent = e), r;
}
function O(e) {
	let t = e;
	if (!t) return {};
	if (typeof t == "string") return { error: () => t };
	if ((t == null ? void 0 : t.message) !== void 0) {
		if ((t == null ? void 0 : t.error) !== void 0) throw Error("Cannot specify both `message` and `error` params");
		t.error = t.message;
	}
	return delete t.message, typeof t.error == "string" ? {
		...t,
		error: () => t.error
	} : t;
}
function se(e) {
	return Object.keys(e).filter((t) => e[t]._zod.optin === "optional" && e[t]._zod.optout === "optional");
}
var ce = {
	safeint: [-(2 ** 53 - 1), 2 ** 53 - 1],
	int32: [-2147483648, 2147483647],
	uint32: [0, 4294967295],
	float32: [-34028234663852886e22, 34028234663852886e22],
	float64: [-Number.MAX_VALUE, Number.MAX_VALUE]
};
function le(e, t) {
	let n = e._zod.def, r = n.checks;
	if (r && r.length > 0) throw Error(".pick() cannot be used on object schemas containing refinements");
	return D(e, C(e._zod.def, {
		get shape() {
			let e = {};
			for (let r in t) {
				if (!(r in n.shape)) throw Error(`Unrecognized key: "${r}"`);
				t[r] && (e[r] = n.shape[r]);
			}
			return S(this, "shape", e), e;
		},
		checks: []
	}));
}
function ue(e, t) {
	let n = e._zod.def, r = n.checks;
	if (r && r.length > 0) throw Error(".omit() cannot be used on object schemas containing refinements");
	return D(e, C(e._zod.def, {
		get shape() {
			let r = { ...e._zod.def.shape };
			for (let e in t) {
				if (!(e in n.shape)) throw Error(`Unrecognized key: "${e}"`);
				t[e] && delete r[e];
			}
			return S(this, "shape", r), r;
		},
		checks: []
	}));
}
function de(e, t) {
	if (!w(t)) throw Error("Invalid input to extend: expected a plain object");
	let n = e._zod.def.checks;
	if (n && n.length > 0) {
		let n = e._zod.def.shape;
		for (let e in t) if (Object.getOwnPropertyDescriptor(n, e) !== void 0) throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.");
	}
	return D(e, C(e._zod.def, { get shape() {
		let n = {
			...e._zod.def.shape,
			...t
		};
		return S(this, "shape", n), n;
	} }));
}
function fe(e, t) {
	if (!w(t)) throw Error("Invalid input to safeExtend: expected a plain object");
	return D(e, C(e._zod.def, { get shape() {
		let n = {
			...e._zod.def.shape,
			...t
		};
		return S(this, "shape", n), n;
	} }));
}
function pe(e, t) {
	var n, r;
	if ((n = e._zod.def.checks) != null && n.length) throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");
	return D(e, C(e._zod.def, {
		get shape() {
			let n = {
				...e._zod.def.shape,
				...t._zod.def.shape
			};
			return S(this, "shape", n), n;
		},
		get catchall() {
			return t._zod.def.catchall;
		},
		checks: (r = t._zod.def.checks) == null ? [] : r
	}));
}
function me(e, t, n) {
	let r = t._zod.def.checks;
	if (r && r.length > 0) throw Error(".partial() cannot be used on object schemas containing refinements");
	return D(t, C(t._zod.def, {
		get shape() {
			let r = t._zod.def.shape, i = { ...r };
			if (n) for (let t in n) {
				if (!(t in r)) throw Error(`Unrecognized key: "${t}"`);
				n[t] && (i[t] = e ? new e({
					type: "optional",
					innerType: r[t]
				}) : r[t]);
			}
			else for (let t in r) i[t] = e ? new e({
				type: "optional",
				innerType: r[t]
			}) : r[t];
			return S(this, "shape", i), i;
		},
		checks: []
	}));
}
function he(e, t, n) {
	return D(t, C(t._zod.def, { get shape() {
		let r = t._zod.def.shape, i = { ...r };
		if (n) for (let t in n) {
			if (!(t in i)) throw Error(`Unrecognized key: "${t}"`);
			n[t] && (i[t] = new e({
				type: "nonoptional",
				innerType: r[t]
			}));
		}
		else for (let t in r) i[t] = new e({
			type: "nonoptional",
			innerType: r[t]
		});
		return S(this, "shape", i), i;
	} }));
}
function ge(e, t = 0) {
	if (e.aborted === !0) return !0;
	for (let r = t; r < e.issues.length; r++) {
		var n;
		if (((n = e.issues[r]) == null ? void 0 : n.continue) !== !0) return !0;
	}
	return !1;
}
function _e(e, t = 0) {
	if (e.aborted === !0) return !0;
	for (let r = t; r < e.issues.length; r++) {
		var n;
		if (((n = e.issues[r]) == null ? void 0 : n.continue) === !1) return !0;
	}
	return !1;
}
function k(e, t) {
	return t.map((t) => {
		var n;
		return (n = t).path != null || (n.path = []), t.path.unshift(e), t;
	});
}
function ve(e) {
	return typeof e == "string" ? e : e == null ? void 0 : e.message;
}
function A(e, t, n) {
	var r, i, a, o, s, c, l, u, d;
	let f = e.message ? e.message : (r = (i = (a = (o = ve((s = e.inst) == null || (s = s._zod.def) == null || (c = s.error) == null ? void 0 : c.call(s, e))) == null ? ve(t == null || (l = t.error) == null ? void 0 : l.call(t, e)) : o) == null ? ve((u = n.customError) == null ? void 0 : u.call(n, e)) : a) == null ? ve((d = n.localeError) == null ? void 0 : d.call(n, e)) : i) == null ? "Invalid input" : r, { inst: p, continue: m, input: h, ...g } = e;
	return g.path != null || (g.path = []), g.message = f, t != null && t.reportInput && (g.input = h), g;
}
function ye(e) {
	return Array.isArray(e) ? "array" : typeof e == "string" ? "string" : "unknown";
}
function be(...e) {
	let [t, n, r] = e;
	return typeof t == "string" ? {
		message: t,
		code: "custom",
		input: n,
		inst: r
	} : { ...t };
}
//#endregion
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.js
var xe = (e, t) => {
	e.name = "$ZodError", Object.defineProperty(e, "_zod", {
		value: e._zod,
		enumerable: !1
	}), Object.defineProperty(e, "issues", {
		value: t,
		enumerable: !1
	}), e.message = JSON.stringify(t, g, 2), Object.defineProperty(e, "toString", {
		value: () => e.message,
		enumerable: !1
	});
}, Se = u("$ZodError", xe), Ce = u("$ZodError", xe, { Parent: Error });
function we(e, t = (e) => e.message) {
	let n = {}, r = [];
	for (let i of e.issues) i.path.length > 0 ? (n[i.path[0]] = n[i.path[0]] || [], n[i.path[0]].push(t(i))) : r.push(t(i));
	return {
		formErrors: r,
		fieldErrors: n
	};
}
function Te(e, t = (e) => e.message) {
	let n = { _errors: [] }, r = (e, i = []) => {
		for (let a of e.issues) if (a.code === "invalid_union" && a.errors.length) a.errors.map((e) => r({ issues: e }, [...i, ...a.path]));
		else if (a.code === "invalid_key") r({ issues: a.issues }, [...i, ...a.path]);
		else if (a.code === "invalid_element") r({ issues: a.issues }, [...i, ...a.path]);
		else {
			let e = [...i, ...a.path];
			if (e.length === 0) n._errors.push(t(a));
			else {
				let r = n, i = 0;
				for (; i < e.length;) {
					let n = e[i];
					i === e.length - 1 ? (r[n] = r[n] || { _errors: [] }, r[n]._errors.push(t(a))) : r[n] = r[n] || { _errors: [] }, r = r[n], i++;
				}
			}
		}
	};
	return r(e), n;
}
//#endregion
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.js
var Ee = (e) => (t, n, r, i) => {
	let a = r ? {
		...r,
		async: !1
	} : { async: !1 }, o = t._zod.run({
		value: n,
		issues: []
	}, a);
	if (o instanceof Promise) throw new d();
	if (o.issues.length) {
		var s;
		let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) => A(e, a, m())));
		throw re(t, i == null ? void 0 : i.callee), t;
	}
	return o.value;
}, De = /* @__PURE__*/ Ee(Ce), Oe = (e) => async (t, n, r, i) => {
	let a = r ? {
		...r,
		async: !0
	} : { async: !0 }, o = t._zod.run({
		value: n,
		issues: []
	}, a);
	if (o instanceof Promise && (o = await o), o.issues.length) {
		var s;
		let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) => A(e, a, m())));
		throw re(t, i == null ? void 0 : i.callee), t;
	}
	return o.value;
}, ke = /* @__PURE__*/ Oe(Ce), Ae = (e) => (t, n, r) => {
	let i = r ? {
		...r,
		async: !1
	} : { async: !1 }, a = t._zod.run({
		value: n,
		issues: []
	}, i);
	if (a instanceof Promise) throw new d();
	return a.issues.length ? {
		success: !1,
		error: new (e == null ? Se : e)(a.issues.map((e) => A(e, i, m())))
	} : {
		success: !0,
		data: a.value
	};
}, je = /* @__PURE__*/ Ae(Ce), Me = (e) => async (t, n, r) => {
	let i = r ? {
		...r,
		async: !0
	} : { async: !0 }, a = t._zod.run({
		value: n,
		issues: []
	}, i);
	return a instanceof Promise && (a = await a), a.issues.length ? {
		success: !1,
		error: new e(a.issues.map((e) => A(e, i, m())))
	} : {
		success: !0,
		data: a.value
	};
}, Ne = /* @__PURE__*/ Me(Ce), Pe = (e) => (t, n, r) => {
	let i = r ? {
		...r,
		direction: "backward"
	} : { direction: "backward" };
	return Ee(e)(t, n, i);
}, Fe = (e) => (t, n, r) => Ee(e)(t, n, r), Ie = (e) => async (t, n, r) => {
	let i = r ? {
		...r,
		direction: "backward"
	} : { direction: "backward" };
	return Oe(e)(t, n, i);
}, Le = (e) => async (t, n, r) => Oe(e)(t, n, r), Re = (e) => (t, n, r) => {
	let i = r ? {
		...r,
		direction: "backward"
	} : { direction: "backward" };
	return Ae(e)(t, n, i);
}, ze = (e) => (t, n, r) => Ae(e)(t, n, r), Be = (e) => async (t, n, r) => {
	let i = r ? {
		...r,
		direction: "backward"
	} : { direction: "backward" };
	return Me(e)(t, n, i);
}, Ve = (e) => async (t, n, r) => Me(e)(t, n, r), He = /^[cC][0-9a-z]{6,}$/, Ue = /^[0-9a-z]+$/, We = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, Ge = /^[0-9a-vA-V]{20}$/, Ke = /^[A-Za-z0-9]{27}$/, qe = /^[a-zA-Z0-9_-]{21}$/, Je = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, Ye = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, Xe = (e) => e ? RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, Ze = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Qe = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
function $e() {
	return new RegExp(Qe, "u");
}
var et = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, tt = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, nt = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/, rt = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, it = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, at = /^[A-Za-z0-9_-]*$/, ot = /^https?$/, st = /^\+[1-9]\d{6,14}$/, ct = "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))", lt = /*@__PURE__*/ RegExp(`^${ct}$`);
function ut(e) {
	let t = "(?:[01]\\d|2[0-3]):[0-5]\\d";
	return typeof e.precision == "number" ? e.precision === -1 ? `${t}` : e.precision === 0 ? `${t}:[0-5]\\d` : `${t}:[0-5]\\d\\.\\d{${e.precision}}` : `${t}(?::[0-5]\\d(?:\\.\\d+)?)?`;
}
function dt(e) {
	return RegExp(`^${ut(e)}$`);
}
function ft(e) {
	let t = ut({ precision: e.precision }), n = ["Z"];
	e.local && n.push(""), e.offset && n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");
	let r = `${t}(?:${n.join("|")})`;
	return RegExp(`^${ct}T(?:${r})$`);
}
var pt = (e) => {
	var t, n;
	let r = e ? `[\\s\\S]{${(t = e == null ? void 0 : e.minimum) == null ? 0 : t},${(n = e == null ? void 0 : e.maximum) == null ? "" : n}}` : "[\\s\\S]*";
	return RegExp(`^${r}$`);
}, mt = /^-?\d+$/, ht = /^-?\d+(?:\.\d+)?$/, gt = /^(?:true|false)$/i, _t = /^null$/i, vt = /^[^A-Z]*$/, yt = /^[^a-z]*$/, j = /*@__PURE__*/ u("$ZodCheck", (e, t) => {
	var n;
	e._zod != null || (e._zod = {}), e._zod.def = t, (n = e._zod).onattach != null || (n.onattach = []);
}), bt = {
	number: "number",
	bigint: "bigint",
	object: "date"
}, xt = /*@__PURE__*/ u("$ZodCheckLessThan", (e, t) => {
	j.init(e, t);
	let n = bt[typeof t.value];
	e._zod.onattach.push((e) => {
		var n;
		let r = e._zod.bag, i = (n = t.inclusive ? r.maximum : r.exclusiveMaximum) == null ? Infinity : n;
		t.value < i && (t.inclusive ? r.maximum = t.value : r.exclusiveMaximum = t.value);
	}), e._zod.check = (r) => {
		(t.inclusive ? r.value <= t.value : r.value < t.value) || r.issues.push({
			origin: n,
			code: "too_big",
			maximum: typeof t.value == "object" ? t.value.getTime() : t.value,
			input: r.value,
			inclusive: t.inclusive,
			inst: e,
			continue: !t.abort
		});
	};
}), St = /*@__PURE__*/ u("$ZodCheckGreaterThan", (e, t) => {
	j.init(e, t);
	let n = bt[typeof t.value];
	e._zod.onattach.push((e) => {
		var n;
		let r = e._zod.bag, i = (n = t.inclusive ? r.minimum : r.exclusiveMinimum) == null ? -Infinity : n;
		t.value > i && (t.inclusive ? r.minimum = t.value : r.exclusiveMinimum = t.value);
	}), e._zod.check = (r) => {
		(t.inclusive ? r.value >= t.value : r.value > t.value) || r.issues.push({
			origin: n,
			code: "too_small",
			minimum: typeof t.value == "object" ? t.value.getTime() : t.value,
			input: r.value,
			inclusive: t.inclusive,
			inst: e,
			continue: !t.abort
		});
	};
}), Ct = /*@__PURE__*/ u("$ZodCheckMultipleOf", (e, t) => {
	j.init(e, t), e._zod.onattach.push((e) => {
		var n;
		(n = e._zod.bag).multipleOf != null || (n.multipleOf = t.value);
	}), e._zod.check = (n) => {
		if (typeof n.value != typeof t.value) throw Error("Cannot mix number and bigint in multiple_of check.");
		(typeof n.value == "bigint" ? n.value % t.value === BigInt(0) : ee(n.value, t.value) === 0) || n.issues.push({
			origin: typeof n.value,
			code: "not_multiple_of",
			divisor: t.value,
			input: n.value,
			inst: e,
			continue: !t.abort
		});
	};
}), wt = /*@__PURE__*/ u("$ZodCheckNumberFormat", (e, t) => {
	var n;
	j.init(e, t), t.format = t.format || "float64";
	let r = (n = t.format) == null ? void 0 : n.includes("int"), i = r ? "int" : "number", [a, o] = ce[t.format];
	e._zod.onattach.push((e) => {
		let n = e._zod.bag;
		n.format = t.format, n.minimum = a, n.maximum = o, r && (n.pattern = mt);
	}), e._zod.check = (n) => {
		let s = n.value;
		if (r) {
			if (!Number.isInteger(s)) {
				n.issues.push({
					expected: i,
					format: t.format,
					code: "invalid_type",
					continue: !1,
					input: s,
					inst: e
				});
				return;
			}
			if (!Number.isSafeInteger(s)) {
				s > 0 ? n.issues.push({
					input: s,
					code: "too_big",
					maximum: 2 ** 53 - 1,
					note: "Integers must be within the safe integer range.",
					inst: e,
					origin: i,
					inclusive: !0,
					continue: !t.abort
				}) : n.issues.push({
					input: s,
					code: "too_small",
					minimum: -(2 ** 53 - 1),
					note: "Integers must be within the safe integer range.",
					inst: e,
					origin: i,
					inclusive: !0,
					continue: !t.abort
				});
				return;
			}
		}
		s < a && n.issues.push({
			origin: "number",
			input: s,
			code: "too_small",
			minimum: a,
			inclusive: !0,
			inst: e,
			continue: !t.abort
		}), s > o && n.issues.push({
			origin: "number",
			input: s,
			code: "too_big",
			maximum: o,
			inclusive: !0,
			inst: e,
			continue: !t.abort
		});
	};
}), Tt = /*@__PURE__*/ u("$ZodCheckMaxLength", (e, t) => {
	var n;
	j.init(e, t), (n = e._zod.def).when != null || (n.when = (e) => {
		let t = e.value;
		return !v(t) && t.length !== void 0;
	}), e._zod.onattach.push((e) => {
		var n;
		let r = (n = e._zod.bag.maximum) == null ? Infinity : n;
		t.maximum < r && (e._zod.bag.maximum = t.maximum);
	}), e._zod.check = (n) => {
		let r = n.value;
		if (r.length <= t.maximum) return;
		let i = ye(r);
		n.issues.push({
			origin: i,
			code: "too_big",
			maximum: t.maximum,
			inclusive: !0,
			input: r,
			inst: e,
			continue: !t.abort
		});
	};
}), Et = /*@__PURE__*/ u("$ZodCheckMinLength", (e, t) => {
	var n;
	j.init(e, t), (n = e._zod.def).when != null || (n.when = (e) => {
		let t = e.value;
		return !v(t) && t.length !== void 0;
	}), e._zod.onattach.push((e) => {
		var n;
		let r = (n = e._zod.bag.minimum) == null ? -Infinity : n;
		t.minimum > r && (e._zod.bag.minimum = t.minimum);
	}), e._zod.check = (n) => {
		let r = n.value;
		if (r.length >= t.minimum) return;
		let i = ye(r);
		n.issues.push({
			origin: i,
			code: "too_small",
			minimum: t.minimum,
			inclusive: !0,
			input: r,
			inst: e,
			continue: !t.abort
		});
	};
}), Dt = /*@__PURE__*/ u("$ZodCheckLengthEquals", (e, t) => {
	var n;
	j.init(e, t), (n = e._zod.def).when != null || (n.when = (e) => {
		let t = e.value;
		return !v(t) && t.length !== void 0;
	}), e._zod.onattach.push((e) => {
		let n = e._zod.bag;
		n.minimum = t.length, n.maximum = t.length, n.length = t.length;
	}), e._zod.check = (n) => {
		let r = n.value, i = r.length;
		if (i === t.length) return;
		let a = ye(r), o = i > t.length;
		n.issues.push({
			origin: a,
			...o ? {
				code: "too_big",
				maximum: t.length
			} : {
				code: "too_small",
				minimum: t.length
			},
			inclusive: !0,
			exact: !0,
			input: n.value,
			inst: e,
			continue: !t.abort
		});
	};
}), Ot = /*@__PURE__*/ u("$ZodCheckStringFormat", (e, t) => {
	var n, r;
	j.init(e, t), e._zod.onattach.push((e) => {
		let n = e._zod.bag;
		n.format = t.format, t.pattern && (n.patterns != null || (n.patterns = /* @__PURE__ */ new Set()), n.patterns.add(t.pattern));
	}), t.pattern ? (n = e._zod).check != null || (n.check = (n) => {
		t.pattern.lastIndex = 0, !t.pattern.test(n.value) && n.issues.push({
			origin: "string",
			code: "invalid_format",
			format: t.format,
			input: n.value,
			...t.pattern ? { pattern: t.pattern.toString() } : {},
			inst: e,
			continue: !t.abort
		});
	}) : (r = e._zod).check != null || (r.check = () => {});
}), kt = /*@__PURE__*/ u("$ZodCheckRegex", (e, t) => {
	Ot.init(e, t), e._zod.check = (n) => {
		t.pattern.lastIndex = 0, !t.pattern.test(n.value) && n.issues.push({
			origin: "string",
			code: "invalid_format",
			format: "regex",
			input: n.value,
			pattern: t.pattern.toString(),
			inst: e,
			continue: !t.abort
		});
	};
}), At = /*@__PURE__*/ u("$ZodCheckLowerCase", (e, t) => {
	t.pattern != null || (t.pattern = vt), Ot.init(e, t);
}), jt = /*@__PURE__*/ u("$ZodCheckUpperCase", (e, t) => {
	t.pattern != null || (t.pattern = yt), Ot.init(e, t);
}), Mt = /*@__PURE__*/ u("$ZodCheckIncludes", (e, t) => {
	j.init(e, t);
	let n = E(t.includes), r = new RegExp(typeof t.position == "number" ? `^.{${t.position}}${n}` : n);
	t.pattern = r, e._zod.onattach.push((e) => {
		let t = e._zod.bag;
		t.patterns != null || (t.patterns = /* @__PURE__ */ new Set()), t.patterns.add(r);
	}), e._zod.check = (n) => {
		n.value.includes(t.includes, t.position) || n.issues.push({
			origin: "string",
			code: "invalid_format",
			format: "includes",
			includes: t.includes,
			input: n.value,
			inst: e,
			continue: !t.abort
		});
	};
}), Nt = /*@__PURE__*/ u("$ZodCheckStartsWith", (e, t) => {
	j.init(e, t);
	let n = RegExp(`^${E(t.prefix)}.*`);
	t.pattern != null || (t.pattern = n), e._zod.onattach.push((e) => {
		let t = e._zod.bag;
		t.patterns != null || (t.patterns = /* @__PURE__ */ new Set()), t.patterns.add(n);
	}), e._zod.check = (n) => {
		n.value.startsWith(t.prefix) || n.issues.push({
			origin: "string",
			code: "invalid_format",
			format: "starts_with",
			prefix: t.prefix,
			input: n.value,
			inst: e,
			continue: !t.abort
		});
	};
}), Pt = /*@__PURE__*/ u("$ZodCheckEndsWith", (e, t) => {
	j.init(e, t);
	let n = RegExp(`.*${E(t.suffix)}$`);
	t.pattern != null || (t.pattern = n), e._zod.onattach.push((e) => {
		let t = e._zod.bag;
		t.patterns != null || (t.patterns = /* @__PURE__ */ new Set()), t.patterns.add(n);
	}), e._zod.check = (n) => {
		n.value.endsWith(t.suffix) || n.issues.push({
			origin: "string",
			code: "invalid_format",
			format: "ends_with",
			suffix: t.suffix,
			input: n.value,
			inst: e,
			continue: !t.abort
		});
	};
}), Ft = /*@__PURE__*/ u("$ZodCheckOverwrite", (e, t) => {
	j.init(e, t), e._zod.check = (e) => {
		e.value = t.tx(e.value);
	};
}), It = class {
	constructor(e = []) {
		this.content = [], this.indent = 0, this && (this.args = e);
	}
	indented(e) {
		this.indent += 1, e(this), --this.indent;
	}
	write(e) {
		if (typeof e == "function") {
			e(this, { execution: "sync" }), e(this, { execution: "async" });
			return;
		}
		let t = e.split("\n").filter((e) => e), n = Math.min(...t.map((e) => e.length - e.trimStart().length)), r = t.map((e) => e.slice(n)).map((e) => " ".repeat(this.indent * 2) + e);
		for (let e of r) this.content.push(e);
	}
	compile() {
		var e, t, n;
		let r = Function, i = (e = this) == null ? void 0 : e.args, a = [...((t = (n = this) == null ? void 0 : n.content) == null ? [""] : t).map((e) => `  ${e}`)];
		return new r(...i, a.join("\n"));
	}
}, Lt = {
	major: 4,
	minor: 4,
	patch: 3
}, M = /*@__PURE__*/ u("$ZodType", (e, t) => {
	var n, r;
	e != null || (e = {}), e._zod.def = t, e._zod.bag = e._zod.bag || {}, e._zod.version = Lt;
	let i = [...(n = e._zod.def.checks) == null ? [] : n];
	e._zod.traits.has("$ZodCheck") && i.unshift(e);
	for (let t of i) for (let n of t._zod.onattach) n(e);
	if (i.length === 0) {
		var a;
		(r = e._zod).deferred != null || (r.deferred = []), (a = e._zod.deferred) == null || a.push(() => {
			e._zod.run = e._zod.parse;
		});
	} else {
		let t = (e, t, n) => {
			let r = ge(e), i;
			for (let o of t) {
				if (o._zod.def.when) {
					if (_e(e) || !o._zod.def.when(e)) continue;
				} else if (r) continue;
				let t = e.issues.length, s = o._zod.check(e);
				if (s instanceof Promise && (n == null ? void 0 : n.async) === !1) throw new d();
				if (i || s instanceof Promise) {
					var a;
					i = ((a = i) == null ? Promise.resolve() : a).then(async () => {
						await s, e.issues.length !== t && (r || (r = ge(e, t)));
					});
				} else {
					if (e.issues.length === t) continue;
					r || (r = ge(e, t));
				}
			}
			return i ? i.then(() => e) : e;
		}, n = (n, r, a) => {
			if (ge(n)) return n.aborted = !0, n;
			let o = t(r, i, a);
			if (o instanceof Promise) {
				if (a.async === !1) throw new d();
				return o.then((t) => e._zod.parse(t, a));
			}
			return e._zod.parse(o, a);
		};
		e._zod.run = (r, a) => {
			if (a.skipChecks) return e._zod.parse(r, a);
			if (a.direction === "backward") {
				let t = e._zod.parse({
					value: r.value,
					issues: []
				}, {
					...a,
					skipChecks: !0
				});
				return t instanceof Promise ? t.then((e) => n(e, r, a)) : n(t, r, a);
			}
			let o = e._zod.parse(r, a);
			if (o instanceof Promise) {
				if (a.async === !1) throw new d();
				return o.then((e) => t(e, i, a));
			}
			return t(o, i, a);
		};
	}
	x(e, "~standard", () => ({
		validate: (t) => {
			try {
				var n;
				let r = je(e, t);
				return r.success ? { value: r.data } : { issues: (n = r.error) == null ? void 0 : n.issues };
			} catch {
				return Ne(e, t).then((e) => {
					var t;
					return e.success ? { value: e.data } : { issues: (t = e.error) == null ? void 0 : t.issues };
				});
			}
		},
		vendor: "zod",
		version: 1
	}));
}), Rt = /*@__PURE__*/ u("$ZodString", (e, t) => {
	var n, r, i;
	M.init(e, t), e._zod.pattern = (n = [...(r = e == null || (i = e._zod.bag) == null ? void 0 : i.patterns) == null ? [] : r].pop()) == null ? pt(e._zod.bag) : n, e._zod.parse = (n, r) => {
		if (t.coerce) try {
			n.value = String(n.value);
		} catch {}
		return typeof n.value == "string" || n.issues.push({
			expected: "string",
			code: "invalid_type",
			input: n.value,
			inst: e
		}), n;
	};
}), N = /*@__PURE__*/ u("$ZodStringFormat", (e, t) => {
	Ot.init(e, t), Rt.init(e, t);
}), zt = /*@__PURE__*/ u("$ZodGUID", (e, t) => {
	t.pattern != null || (t.pattern = Ye), N.init(e, t);
}), Bt = /*@__PURE__*/ u("$ZodUUID", (e, t) => {
	if (t.version) {
		let e = {
			v1: 1,
			v2: 2,
			v3: 3,
			v4: 4,
			v5: 5,
			v6: 6,
			v7: 7,
			v8: 8
		}[t.version];
		if (e === void 0) throw Error(`Invalid UUID version: "${t.version}"`);
		t.pattern != null || (t.pattern = Xe(e));
	} else t.pattern != null || (t.pattern = Xe());
	N.init(e, t);
}), Vt = /*@__PURE__*/ u("$ZodEmail", (e, t) => {
	t.pattern != null || (t.pattern = Ze), N.init(e, t);
}), Ht = /*@__PURE__*/ u("$ZodURL", (e, t) => {
	N.init(e, t), e._zod.check = (n) => {
		try {
			var r;
			let i = n.value.trim();
			if (!t.normalize && ((r = t.protocol) == null ? void 0 : r.source) === ot.source && !/^https?:\/\//i.test(i)) {
				n.issues.push({
					code: "invalid_format",
					format: "url",
					note: "Invalid URL format",
					input: n.value,
					inst: e,
					continue: !t.abort
				});
				return;
			}
			let a = new URL(i);
			t.hostname && (t.hostname.lastIndex = 0, t.hostname.test(a.hostname) || n.issues.push({
				code: "invalid_format",
				format: "url",
				note: "Invalid hostname",
				pattern: t.hostname.source,
				input: n.value,
				inst: e,
				continue: !t.abort
			})), t.protocol && (t.protocol.lastIndex = 0, t.protocol.test(a.protocol.endsWith(":") ? a.protocol.slice(0, -1) : a.protocol) || n.issues.push({
				code: "invalid_format",
				format: "url",
				note: "Invalid protocol",
				pattern: t.protocol.source,
				input: n.value,
				inst: e,
				continue: !t.abort
			})), t.normalize ? n.value = a.href : n.value = i;
			return;
		} catch {
			n.issues.push({
				code: "invalid_format",
				format: "url",
				input: n.value,
				inst: e,
				continue: !t.abort
			});
		}
	};
}), Ut = /*@__PURE__*/ u("$ZodEmoji", (e, t) => {
	t.pattern != null || (t.pattern = $e()), N.init(e, t);
}), Wt = /*@__PURE__*/ u("$ZodNanoID", (e, t) => {
	t.pattern != null || (t.pattern = qe), N.init(e, t);
}), Gt = /*@__PURE__*/ u("$ZodCUID", (e, t) => {
	t.pattern != null || (t.pattern = He), N.init(e, t);
}), Kt = /*@__PURE__*/ u("$ZodCUID2", (e, t) => {
	t.pattern != null || (t.pattern = Ue), N.init(e, t);
}), qt = /*@__PURE__*/ u("$ZodULID", (e, t) => {
	t.pattern != null || (t.pattern = We), N.init(e, t);
}), Jt = /*@__PURE__*/ u("$ZodXID", (e, t) => {
	t.pattern != null || (t.pattern = Ge), N.init(e, t);
}), Yt = /*@__PURE__*/ u("$ZodKSUID", (e, t) => {
	t.pattern != null || (t.pattern = Ke), N.init(e, t);
}), Xt = /*@__PURE__*/ u("$ZodISODateTime", (e, t) => {
	t.pattern != null || (t.pattern = ft(t)), N.init(e, t);
}), Zt = /*@__PURE__*/ u("$ZodISODate", (e, t) => {
	t.pattern != null || (t.pattern = lt), N.init(e, t);
}), Qt = /*@__PURE__*/ u("$ZodISOTime", (e, t) => {
	t.pattern != null || (t.pattern = dt(t)), N.init(e, t);
}), $t = /*@__PURE__*/ u("$ZodISODuration", (e, t) => {
	t.pattern != null || (t.pattern = Je), N.init(e, t);
}), en = /*@__PURE__*/ u("$ZodIPv4", (e, t) => {
	t.pattern != null || (t.pattern = et), N.init(e, t), e._zod.bag.format = "ipv4";
}), tn = /*@__PURE__*/ u("$ZodIPv6", (e, t) => {
	t.pattern != null || (t.pattern = tt), N.init(e, t), e._zod.bag.format = "ipv6", e._zod.check = (n) => {
		try {
			new URL(`http://[${n.value}]`);
		} catch {
			n.issues.push({
				code: "invalid_format",
				format: "ipv6",
				input: n.value,
				inst: e,
				continue: !t.abort
			});
		}
	};
}), nn = /*@__PURE__*/ u("$ZodCIDRv4", (e, t) => {
	t.pattern != null || (t.pattern = nt), N.init(e, t);
}), rn = /*@__PURE__*/ u("$ZodCIDRv6", (e, t) => {
	t.pattern != null || (t.pattern = rt), N.init(e, t), e._zod.check = (n) => {
		let r = n.value.split("/");
		try {
			if (r.length !== 2) throw Error();
			let [e, t] = r;
			if (!t) throw Error();
			let n = Number(t);
			if (`${n}` !== t || n < 0 || n > 128) throw Error();
			new URL(`http://[${e}]`);
		} catch {
			n.issues.push({
				code: "invalid_format",
				format: "cidrv6",
				input: n.value,
				inst: e,
				continue: !t.abort
			});
		}
	};
});
function an(e) {
	if (e === "") return !0;
	if (/\s/.test(e) || e.length % 4 != 0) return !1;
	try {
		return atob(e), !0;
	} catch {
		return !1;
	}
}
var on = /*@__PURE__*/ u("$ZodBase64", (e, t) => {
	t.pattern != null || (t.pattern = it), N.init(e, t), e._zod.bag.contentEncoding = "base64", e._zod.check = (n) => {
		an(n.value) || n.issues.push({
			code: "invalid_format",
			format: "base64",
			input: n.value,
			inst: e,
			continue: !t.abort
		});
	};
});
function sn(e) {
	if (!at.test(e)) return !1;
	let t = e.replace(/[-_]/g, (e) => e === "-" ? "+" : "/");
	return an(t.padEnd(Math.ceil(t.length / 4) * 4, "="));
}
var cn = /*@__PURE__*/ u("$ZodBase64URL", (e, t) => {
	t.pattern != null || (t.pattern = at), N.init(e, t), e._zod.bag.contentEncoding = "base64url", e._zod.check = (n) => {
		sn(n.value) || n.issues.push({
			code: "invalid_format",
			format: "base64url",
			input: n.value,
			inst: e,
			continue: !t.abort
		});
	};
}), ln = /*@__PURE__*/ u("$ZodE164", (e, t) => {
	t.pattern != null || (t.pattern = st), N.init(e, t);
});
function un(e, t = null) {
	try {
		let n = e.split(".");
		if (n.length !== 3) return !1;
		let [r] = n;
		if (!r) return !1;
		let i = JSON.parse(atob(r));
		return !("typ" in i && (i == null ? void 0 : i.typ) !== "JWT" || !i.alg || t && (!("alg" in i) || i.alg !== t));
	} catch {
		return !1;
	}
}
var dn = /*@__PURE__*/ u("$ZodJWT", (e, t) => {
	N.init(e, t), e._zod.check = (n) => {
		un(n.value, t.alg) || n.issues.push({
			code: "invalid_format",
			format: "jwt",
			input: n.value,
			inst: e,
			continue: !t.abort
		});
	};
}), fn = /*@__PURE__*/ u("$ZodNumber", (e, t) => {
	var n;
	M.init(e, t), e._zod.pattern = (n = e._zod.bag.pattern) == null ? ht : n, e._zod.parse = (n, r) => {
		if (t.coerce) try {
			n.value = Number(n.value);
		} catch {}
		let i = n.value;
		if (typeof i == "number" && !Number.isNaN(i) && Number.isFinite(i)) return n;
		let a = typeof i == "number" ? Number.isNaN(i) ? "NaN" : Number.isFinite(i) ? void 0 : "Infinity" : void 0;
		return n.issues.push({
			expected: "number",
			code: "invalid_type",
			input: i,
			inst: e,
			...a ? { received: a } : {}
		}), n;
	};
}), pn = /*@__PURE__*/ u("$ZodNumberFormat", (e, t) => {
	wt.init(e, t), fn.init(e, t);
}), mn = /*@__PURE__*/ u("$ZodBoolean", (e, t) => {
	M.init(e, t), e._zod.pattern = gt, e._zod.parse = (n, r) => {
		if (t.coerce) try {
			n.value = !!n.value;
		} catch {}
		let i = n.value;
		return typeof i == "boolean" || n.issues.push({
			expected: "boolean",
			code: "invalid_type",
			input: i,
			inst: e
		}), n;
	};
}), hn = /*@__PURE__*/ u("$ZodNull", (e, t) => {
	M.init(e, t), e._zod.pattern = _t, e._zod.values = /* @__PURE__ */ new Set([null]), e._zod.parse = (t, n) => {
		let r = t.value;
		return r === null || t.issues.push({
			expected: "null",
			code: "invalid_type",
			input: r,
			inst: e
		}), t;
	};
}), gn = /*@__PURE__*/ u("$ZodAny", (e, t) => {
	M.init(e, t), e._zod.parse = (e) => e;
}), _n = /*@__PURE__*/ u("$ZodUnknown", (e, t) => {
	M.init(e, t), e._zod.parse = (e) => e;
}), vn = /*@__PURE__*/ u("$ZodNever", (e, t) => {
	M.init(e, t), e._zod.parse = (t, n) => (t.issues.push({
		expected: "never",
		code: "invalid_type",
		input: t.value,
		inst: e
	}), t);
});
function yn(e, t, n) {
	e.issues.length && t.issues.push(...k(n, e.issues)), t.value[n] = e.value;
}
var bn = /*@__PURE__*/ u("$ZodArray", (e, t) => {
	M.init(e, t), e._zod.parse = (n, r) => {
		let i = n.value;
		if (!Array.isArray(i)) return n.issues.push({
			expected: "array",
			code: "invalid_type",
			input: i,
			inst: e
		}), n;
		n.value = Array(i.length);
		let a = [];
		for (let e = 0; e < i.length; e++) {
			let o = i[e], s = t.element._zod.run({
				value: o,
				issues: []
			}, r);
			s instanceof Promise ? a.push(s.then((t) => yn(t, n, e))) : yn(s, n, e);
		}
		return a.length ? Promise.all(a).then(() => n) : n;
	};
});
function xn(e, t, n, r, i, a) {
	let o = n in r;
	if (e.issues.length) {
		if (i && a && !o) return;
		t.issues.push(...k(n, e.issues));
	}
	if (!o && !i) {
		e.issues.length || t.issues.push({
			code: "invalid_type",
			expected: "nonoptional",
			input: void 0,
			path: [n]
		});
		return;
	}
	e.value === void 0 ? o && (t.value[n] = void 0) : t.value[n] = e.value;
}
function Sn(e) {
	let t = Object.keys(e.shape);
	for (let r of t) {
		var n;
		if (!(!((n = e.shape) == null || (n = n[r]) == null || (n = n._zod) == null || (n = n.traits) == null) && n.has("$ZodType"))) throw Error(`Invalid element at key "${r}": expected a Zod schema`);
	}
	let r = se(e.shape);
	return {
		...e,
		keys: t,
		keySet: new Set(t),
		numKeys: t.length,
		optionalKeys: new Set(r)
	};
}
function Cn(e, t, n, r, i, a) {
	let o = [], s = i.keySet, c = i.catchall._zod, l = c.def.type, u = c.optin === "optional", d = c.optout === "optional";
	for (let i in t) {
		if (i === "__proto__" || s.has(i)) continue;
		if (l === "never") {
			o.push(i);
			continue;
		}
		let a = c.run({
			value: t[i],
			issues: []
		}, r);
		a instanceof Promise ? e.push(a.then((e) => xn(e, n, i, t, u, d))) : xn(a, n, i, t, u, d);
	}
	return o.length && n.issues.push({
		code: "unrecognized_keys",
		keys: o,
		input: t,
		inst: a
	}), e.length ? Promise.all(e).then(() => n) : n;
}
var wn = /*@__PURE__*/ u("$ZodObject", (e, t) => {
	M.init(e, t);
	let n = Object.getOwnPropertyDescriptor(t, "shape");
	if (!(n != null && n.get)) {
		let e = t.shape;
		Object.defineProperty(t, "shape", { get: () => {
			let n = { ...e };
			return Object.defineProperty(t, "shape", { value: n }), n;
		} });
	}
	let r = _(() => Sn(t));
	x(e._zod, "propValues", () => {
		let e = t.shape, n = {};
		for (let t in e) {
			let r = e[t]._zod;
			if (r.values) {
				n[t] != null || (n[t] = /* @__PURE__ */ new Set());
				for (let e of r.values) n[t].add(e);
			}
		}
		return n;
	});
	let i = ie, a = t.catchall, o;
	e._zod.parse = (t, n) => {
		o != null || (o = r.value);
		let s = t.value;
		if (!i(s)) return t.issues.push({
			expected: "object",
			code: "invalid_type",
			input: s,
			inst: e
		}), t;
		t.value = {};
		let c = [], l = o.shape;
		for (let e of o.keys) {
			let r = l[e], i = r._zod.optin === "optional", a = r._zod.optout === "optional", o = r._zod.run({
				value: s[e],
				issues: []
			}, n);
			o instanceof Promise ? c.push(o.then((n) => xn(n, t, e, s, i, a))) : xn(o, t, e, s, i, a);
		}
		return a ? Cn(c, s, t, n, r.value, e) : c.length ? Promise.all(c).then(() => t) : t;
	};
}), Tn = /*@__PURE__*/ u("$ZodObjectJIT", (e, t) => {
	wn.init(e, t);
	let n = e._zod.parse, r = _(() => Sn(t)), i = (e) => {
		let t = new It([
			"shape",
			"payload",
			"ctx"
		]), n = r.value, i = (e) => {
			let t = te(e);
			return `shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`;
		};
		t.write("const input = payload.value;");
		let a = Object.create(null), o = 0;
		for (let e of n.keys) a[e] = `key_${o++}`;
		t.write("const newResult = {};");
		for (let r of n.keys) {
			var s, c;
			let n = a[r], o = te(r), l = e[r], u = (l == null || (s = l._zod) == null ? void 0 : s.optin) === "optional", d = (l == null || (c = l._zod) == null ? void 0 : c.optout) === "optional";
			t.write(`const ${n} = ${i(r)};`), u && d ? t.write(`
        if (${n}.issues.length) {
          if (${o} in input) {
            payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
              ...iss,
              path: iss.path ? [${o}, ...iss.path] : [${o}]
            })));
          }
        }
        
        if (${n}.value === undefined) {
          if (${o} in input) {
            newResult[${o}] = undefined;
          }
        } else {
          newResult[${o}] = ${n}.value;
        }
        
      `) : u ? t.write(`
        if (${n}.issues.length) {
          payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
            ...iss,
            path: iss.path ? [${o}, ...iss.path] : [${o}]
          })));
        }
        
        if (${n}.value === undefined) {
          if (${o} in input) {
            newResult[${o}] = undefined;
          }
        } else {
          newResult[${o}] = ${n}.value;
        }
        
      `) : t.write(`
        const ${n}_present = ${o} in input;
        if (${n}.issues.length) {
          payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
            ...iss,
            path: iss.path ? [${o}, ...iss.path] : [${o}]
          })));
        }
        if (!${n}_present && !${n}.issues.length) {
          payload.issues.push({
            code: "invalid_type",
            expected: "nonoptional",
            input: undefined,
            path: [${o}]
          });
        }

        if (${n}_present) {
          if (${n}.value === undefined) {
            newResult[${o}] = undefined;
          } else {
            newResult[${o}] = ${n}.value;
          }
        }

      `);
		}
		t.write("payload.value = newResult;"), t.write("return payload;");
		let l = t.compile();
		return (t, n) => l(e, t, n);
	}, a, o = ie, s = !p.jitless, c = s && ae.value, l = t.catchall, u;
	e._zod.parse = (d, f) => {
		u != null || (u = r.value);
		let p = d.value;
		return o(p) ? s && c && (f == null ? void 0 : f.async) === !1 && f.jitless !== !0 ? (a || (a = i(t.shape)), d = a(d, f), l ? Cn([], p, d, f, u, e) : d) : n(d, f) : (d.issues.push({
			expected: "object",
			code: "invalid_type",
			input: p,
			inst: e
		}), d);
	};
});
function En(e, t, n, r) {
	for (let n of e) if (n.issues.length === 0) return t.value = n.value, t;
	let i = e.filter((e) => !ge(e));
	return i.length === 1 ? (t.value = i[0].value, i[0]) : (t.issues.push({
		code: "invalid_union",
		input: t.value,
		inst: n,
		errors: e.map((e) => e.issues.map((e) => A(e, r, m())))
	}), t);
}
var Dn = /*@__PURE__*/ u("$ZodUnion", (e, t) => {
	M.init(e, t), x(e._zod, "optin", () => t.options.some((e) => e._zod.optin === "optional") ? "optional" : void 0), x(e._zod, "optout", () => t.options.some((e) => e._zod.optout === "optional") ? "optional" : void 0), x(e._zod, "values", () => {
		if (t.options.every((e) => e._zod.values)) return new Set(t.options.flatMap((e) => Array.from(e._zod.values)));
	}), x(e._zod, "pattern", () => {
		if (t.options.every((e) => e._zod.pattern)) {
			let e = t.options.map((e) => e._zod.pattern);
			return RegExp(`^(${e.map((e) => y(e.source)).join("|")})$`);
		}
	});
	let n = t.options.length === 1 ? t.options[0]._zod.run : null;
	e._zod.parse = (r, i) => {
		if (n) return n(r, i);
		let a = !1, o = [];
		for (let e of t.options) {
			let t = e._zod.run({
				value: r.value,
				issues: []
			}, i);
			if (t instanceof Promise) o.push(t), a = !0;
			else {
				if (t.issues.length === 0) return t;
				o.push(t);
			}
		}
		return a ? Promise.all(o).then((t) => En(t, r, e, i)) : En(o, r, e, i);
	};
}), On = /*@__PURE__*/ u("$ZodDiscriminatedUnion", (e, t) => {
	t.inclusive = !1, Dn.init(e, t);
	let n = e._zod.parse;
	x(e._zod, "propValues", () => {
		let e = {};
		for (let n of t.options) {
			let r = n._zod.propValues;
			if (!r || Object.keys(r).length === 0) throw Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);
			for (let [t, n] of Object.entries(r)) {
				e[t] || (e[t] = /* @__PURE__ */ new Set());
				for (let r of n) e[t].add(r);
			}
		}
		return e;
	});
	let r = _(() => {
		let e = t.options, n = /* @__PURE__ */ new Map();
		for (let i of e) {
			var r;
			let e = (r = i._zod.propValues) == null ? void 0 : r[t.discriminator];
			if (!e || e.size === 0) throw Error(`Invalid discriminated union option at index "${t.options.indexOf(i)}"`);
			for (let t of e) {
				if (n.has(t)) throw Error(`Duplicate discriminator value "${String(t)}"`);
				n.set(t, i);
			}
		}
		return n;
	});
	e._zod.parse = (i, a) => {
		let o = i.value;
		if (!ie(o)) return i.issues.push({
			code: "invalid_type",
			expected: "object",
			input: o,
			inst: e
		}), i;
		let s = r.value.get(o == null ? void 0 : o[t.discriminator]);
		return s ? s._zod.run(i, a) : t.unionFallback || a.direction === "backward" ? n(i, a) : (i.issues.push({
			code: "invalid_union",
			errors: [],
			note: "No matching discriminator",
			discriminator: t.discriminator,
			options: Array.from(r.value.keys()),
			input: o,
			path: [t.discriminator],
			inst: e
		}), i);
	};
}), kn = /*@__PURE__*/ u("$ZodIntersection", (e, t) => {
	M.init(e, t), e._zod.parse = (e, n) => {
		let r = e.value, i = t.left._zod.run({
			value: r,
			issues: []
		}, n), a = t.right._zod.run({
			value: r,
			issues: []
		}, n);
		return i instanceof Promise || a instanceof Promise ? Promise.all([i, a]).then(([t, n]) => jn(e, t, n)) : jn(e, i, a);
	};
});
function An(e, t) {
	if (e === t || e instanceof Date && t instanceof Date && +e == +t) return {
		valid: !0,
		data: e
	};
	if (w(e) && w(t)) {
		let n = Object.keys(t), r = Object.keys(e).filter((e) => n.indexOf(e) !== -1), i = {
			...e,
			...t
		};
		for (let n of r) {
			let r = An(e[n], t[n]);
			if (!r.valid) return {
				valid: !1,
				mergeErrorPath: [n, ...r.mergeErrorPath]
			};
			i[n] = r.data;
		}
		return {
			valid: !0,
			data: i
		};
	}
	if (Array.isArray(e) && Array.isArray(t)) {
		if (e.length !== t.length) return {
			valid: !1,
			mergeErrorPath: []
		};
		let n = [];
		for (let r = 0; r < e.length; r++) {
			let i = e[r], a = t[r], o = An(i, a);
			if (!o.valid) return {
				valid: !1,
				mergeErrorPath: [r, ...o.mergeErrorPath]
			};
			n.push(o.data);
		}
		return {
			valid: !0,
			data: n
		};
	}
	return {
		valid: !1,
		mergeErrorPath: []
	};
}
function jn(e, t, n) {
	let r = /* @__PURE__ */ new Map(), i;
	for (let n of t.issues) if (n.code === "unrecognized_keys") {
		i != null || (i = n);
		for (let e of n.keys) r.has(e) || r.set(e, {}), r.get(e).l = !0;
	} else e.issues.push(n);
	for (let t of n.issues) if (t.code === "unrecognized_keys") for (let e of t.keys) r.has(e) || r.set(e, {}), r.get(e).r = !0;
	else e.issues.push(t);
	let a = [...r].filter(([, e]) => e.l && e.r).map(([e]) => e);
	if (a.length && i && e.issues.push({
		...i,
		keys: a
	}), ge(e)) return e;
	let o = An(t.value, n.value);
	if (!o.valid) throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);
	return e.value = o.data, e;
}
var Mn = /*@__PURE__*/ u("$ZodTuple", (e, t) => {
	M.init(e, t);
	let n = t.items;
	e._zod.parse = (r, i) => {
		let a = r.value;
		if (!Array.isArray(a)) return r.issues.push({
			input: a,
			inst: e,
			expected: "tuple",
			code: "invalid_type"
		}), r;
		r.value = [];
		let o = [], s = Nn(n, "optin"), c = Nn(n, "optout");
		if (!t.rest) {
			if (a.length < s) return r.issues.push({
				code: "too_small",
				minimum: s,
				inclusive: !0,
				input: a,
				inst: e,
				origin: "array"
			}), r;
			a.length > n.length && r.issues.push({
				code: "too_big",
				maximum: n.length,
				inclusive: !0,
				input: a,
				inst: e,
				origin: "array"
			});
		}
		let l = Array(n.length);
		for (let e = 0; e < n.length; e++) {
			let t = n[e]._zod.run({
				value: a[e],
				issues: []
			}, i);
			t instanceof Promise ? o.push(t.then((t) => {
				l[e] = t;
			})) : l[e] = t;
		}
		if (t.rest) {
			let e = n.length - 1, s = a.slice(n.length);
			for (let n of s) {
				e++;
				let a = t.rest._zod.run({
					value: n,
					issues: []
				}, i);
				a instanceof Promise ? o.push(a.then((t) => Pn(t, r, e))) : Pn(a, r, e);
			}
		}
		return o.length ? Promise.all(o).then(() => Fn(l, r, n, a, c)) : Fn(l, r, n, a, c);
	};
});
function Nn(e, t) {
	for (let n = e.length - 1; n >= 0; n--) if (e[n]._zod[t] !== "optional") return n + 1;
	return 0;
}
function Pn(e, t, n) {
	e.issues.length && t.issues.push(...k(n, e.issues)), t.value[n] = e.value;
}
function Fn(e, t, n, r, i) {
	for (let a = 0; a < n.length; a++) {
		let n = e[a], o = a < r.length;
		if (n.issues.length) {
			if (!o && a >= i) {
				t.value.length = a;
				break;
			}
			t.issues.push(...k(a, n.issues));
		}
		t.value[a] = n.value;
	}
	for (let e = t.value.length - 1; e >= r.length && n[e]._zod.optout === "optional" && t.value[e] === void 0; e--) t.value.length = e;
	return t;
}
var In = /*@__PURE__*/ u("$ZodRecord", (e, t) => {
	M.init(e, t), e._zod.parse = (n, r) => {
		let i = n.value;
		if (!w(i)) return n.issues.push({
			expected: "record",
			code: "invalid_type",
			input: i,
			inst: e
		}), n;
		let a = [], o = t.keyType._zod.values;
		if (o) {
			n.value = {};
			let c = /* @__PURE__ */ new Set();
			for (let s of o) if (typeof s == "string" || typeof s == "number" || typeof s == "symbol") {
				c.add(typeof s == "number" ? s.toString() : s);
				let o = t.keyType._zod.run({
					value: s,
					issues: []
				}, r);
				if (o instanceof Promise) throw Error("Async schemas not supported in object keys currently");
				if (o.issues.length) {
					n.issues.push({
						code: "invalid_key",
						origin: "record",
						issues: o.issues.map((e) => A(e, r, m())),
						input: s,
						path: [s],
						inst: e
					});
					continue;
				}
				let l = o.value, u = t.valueType._zod.run({
					value: i[s],
					issues: []
				}, r);
				u instanceof Promise ? a.push(u.then((e) => {
					e.issues.length && n.issues.push(...k(s, e.issues)), n.value[l] = e.value;
				})) : (u.issues.length && n.issues.push(...k(s, u.issues)), n.value[l] = u.value);
			}
			let l;
			for (let e in i) if (!c.has(e)) {
				var s;
				l = (s = l) == null ? [] : s, l.push(e);
			}
			l && l.length > 0 && n.issues.push({
				code: "unrecognized_keys",
				input: i,
				inst: e,
				keys: l
			});
		} else {
			n.value = {};
			for (let o of Reflect.ownKeys(i)) {
				if (o === "__proto__" || !Object.prototype.propertyIsEnumerable.call(i, o)) continue;
				let s = t.keyType._zod.run({
					value: o,
					issues: []
				}, r);
				if (s instanceof Promise) throw Error("Async schemas not supported in object keys currently");
				if (typeof o == "string" && ht.test(o) && s.issues.length) {
					let e = t.keyType._zod.run({
						value: Number(o),
						issues: []
					}, r);
					if (e instanceof Promise) throw Error("Async schemas not supported in object keys currently");
					e.issues.length === 0 && (s = e);
				}
				if (s.issues.length) {
					t.mode === "loose" ? n.value[o] = i[o] : n.issues.push({
						code: "invalid_key",
						origin: "record",
						issues: s.issues.map((e) => A(e, r, m())),
						input: o,
						path: [o],
						inst: e
					});
					continue;
				}
				let c = t.valueType._zod.run({
					value: i[o],
					issues: []
				}, r);
				c instanceof Promise ? a.push(c.then((e) => {
					e.issues.length && n.issues.push(...k(o, e.issues)), n.value[s.value] = e.value;
				})) : (c.issues.length && n.issues.push(...k(o, c.issues)), n.value[s.value] = c.value);
			}
		}
		return a.length ? Promise.all(a).then(() => n) : n;
	};
}), Ln = /*@__PURE__*/ u("$ZodEnum", (e, t) => {
	M.init(e, t);
	let n = h(t.entries), r = new Set(n);
	e._zod.values = r, e._zod.pattern = RegExp(`^(${n.filter((e) => oe.has(typeof e)).map((e) => typeof e == "string" ? E(e) : e.toString()).join("|")})$`), e._zod.parse = (t, i) => {
		let a = t.value;
		return r.has(a) || t.issues.push({
			code: "invalid_value",
			values: n,
			input: a,
			inst: e
		}), t;
	};
}), Rn = /*@__PURE__*/ u("$ZodLiteral", (e, t) => {
	if (M.init(e, t), t.values.length === 0) throw Error("Cannot create literal schema with no valid values");
	let n = new Set(t.values);
	e._zod.values = n, e._zod.pattern = RegExp(`^(${t.values.map((e) => typeof e == "string" ? E(e) : e ? E(e.toString()) : String(e)).join("|")})$`), e._zod.parse = (r, i) => {
		let a = r.value;
		return n.has(a) || r.issues.push({
			code: "invalid_value",
			values: t.values,
			input: a,
			inst: e
		}), r;
	};
}), zn = /*@__PURE__*/ u("$ZodTransform", (e, t) => {
	M.init(e, t), e._zod.optin = "optional", e._zod.parse = (n, r) => {
		if (r.direction === "backward") throw new f(e.constructor.name);
		let i = t.transform(n.value, n);
		if (r.async) return (i instanceof Promise ? i : Promise.resolve(i)).then((e) => (n.value = e, n.fallback = !0, n));
		if (i instanceof Promise) throw new d();
		return n.value = i, n.fallback = !0, n;
	};
});
function Bn(e, t) {
	return t === void 0 && (e.issues.length || e.fallback) ? {
		issues: [],
		value: void 0
	} : e;
}
var Vn = /*@__PURE__*/ u("$ZodOptional", (e, t) => {
	M.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", x(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, void 0]) : void 0), x(e._zod, "pattern", () => {
		let e = t.innerType._zod.pattern;
		return e ? RegExp(`^(${y(e.source)})?$`) : void 0;
	}), e._zod.parse = (e, n) => {
		if (t.innerType._zod.optin === "optional") {
			let r = e.value, i = t.innerType._zod.run(e, n);
			return i instanceof Promise ? i.then((e) => Bn(e, r)) : Bn(i, r);
		}
		return e.value === void 0 ? e : t.innerType._zod.run(e, n);
	};
}), Hn = /*@__PURE__*/ u("$ZodExactOptional", (e, t) => {
	Vn.init(e, t), x(e._zod, "values", () => t.innerType._zod.values), x(e._zod, "pattern", () => t.innerType._zod.pattern), e._zod.parse = (e, n) => t.innerType._zod.run(e, n);
}), Un = /*@__PURE__*/ u("$ZodNullable", (e, t) => {
	M.init(e, t), x(e._zod, "optin", () => t.innerType._zod.optin), x(e._zod, "optout", () => t.innerType._zod.optout), x(e._zod, "pattern", () => {
		let e = t.innerType._zod.pattern;
		return e ? RegExp(`^(${y(e.source)}|null)$`) : void 0;
	}), x(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, null]) : void 0), e._zod.parse = (e, n) => e.value === null ? e : t.innerType._zod.run(e, n);
}), Wn = /*@__PURE__*/ u("$ZodDefault", (e, t) => {
	M.init(e, t), e._zod.optin = "optional", x(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (e, n) => {
		if (n.direction === "backward") return t.innerType._zod.run(e, n);
		if (e.value === void 0) return e.value = t.defaultValue, e;
		let r = t.innerType._zod.run(e, n);
		return r instanceof Promise ? r.then((e) => Gn(e, t)) : Gn(r, t);
	};
});
function Gn(e, t) {
	return e.value === void 0 && (e.value = t.defaultValue), e;
}
var Kn = /*@__PURE__*/ u("$ZodPrefault", (e, t) => {
	M.init(e, t), e._zod.optin = "optional", x(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (e, n) => (n.direction === "backward" || e.value === void 0 && (e.value = t.defaultValue), t.innerType._zod.run(e, n));
}), qn = /*@__PURE__*/ u("$ZodNonOptional", (e, t) => {
	M.init(e, t), x(e._zod, "values", () => {
		let e = t.innerType._zod.values;
		return e ? new Set([...e].filter((e) => e !== void 0)) : void 0;
	}), e._zod.parse = (n, r) => {
		let i = t.innerType._zod.run(n, r);
		return i instanceof Promise ? i.then((t) => Jn(t, e)) : Jn(i, e);
	};
});
function Jn(e, t) {
	return !e.issues.length && e.value === void 0 && e.issues.push({
		code: "invalid_type",
		expected: "nonoptional",
		input: e.value,
		inst: t
	}), e;
}
var Yn = /*@__PURE__*/ u("$ZodCatch", (e, t) => {
	M.init(e, t), e._zod.optin = "optional", x(e._zod, "optout", () => t.innerType._zod.optout), x(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (e, n) => {
		if (n.direction === "backward") return t.innerType._zod.run(e, n);
		let r = t.innerType._zod.run(e, n);
		return r instanceof Promise ? r.then((r) => (e.value = r.value, r.issues.length && (e.value = t.catchValue({
			...e,
			error: { issues: r.issues.map((e) => A(e, n, m())) },
			input: e.value
		}), e.issues = [], e.fallback = !0), e)) : (e.value = r.value, r.issues.length && (e.value = t.catchValue({
			...e,
			error: { issues: r.issues.map((e) => A(e, n, m())) },
			input: e.value
		}), e.issues = [], e.fallback = !0), e);
	};
}), Xn = /*@__PURE__*/ u("$ZodPipe", (e, t) => {
	M.init(e, t), x(e._zod, "values", () => t.in._zod.values), x(e._zod, "optin", () => t.in._zod.optin), x(e._zod, "optout", () => t.out._zod.optout), x(e._zod, "propValues", () => t.in._zod.propValues), e._zod.parse = (e, n) => {
		if (n.direction === "backward") {
			let r = t.out._zod.run(e, n);
			return r instanceof Promise ? r.then((e) => Zn(e, t.in, n)) : Zn(r, t.in, n);
		}
		let r = t.in._zod.run(e, n);
		return r instanceof Promise ? r.then((e) => Zn(e, t.out, n)) : Zn(r, t.out, n);
	};
});
function Zn(e, t, n) {
	return e.issues.length ? (e.aborted = !0, e) : t._zod.run({
		value: e.value,
		issues: e.issues,
		fallback: e.fallback
	}, n);
}
var Qn = /*@__PURE__*/ u("$ZodReadonly", (e, t) => {
	M.init(e, t), x(e._zod, "propValues", () => t.innerType._zod.propValues), x(e._zod, "values", () => t.innerType._zod.values), x(e._zod, "optin", () => {
		var e;
		return (e = t.innerType) == null || (e = e._zod) == null ? void 0 : e.optin;
	}), x(e._zod, "optout", () => {
		var e;
		return (e = t.innerType) == null || (e = e._zod) == null ? void 0 : e.optout;
	}), e._zod.parse = (e, n) => {
		if (n.direction === "backward") return t.innerType._zod.run(e, n);
		let r = t.innerType._zod.run(e, n);
		return r instanceof Promise ? r.then($n) : $n(r);
	};
});
function $n(e) {
	return e.value = Object.freeze(e.value), e;
}
var er = /*@__PURE__*/ u("$ZodCustom", (e, t) => {
	j.init(e, t), M.init(e, t), e._zod.parse = (e, t) => e, e._zod.check = (n) => {
		let r = n.value, i = t.fn(r);
		if (i instanceof Promise) return i.then((t) => tr(t, n, r, e));
		tr(i, n, r, e);
	};
});
function tr(e, t, n, r) {
	if (!e) {
		var i;
		let e = {
			code: "custom",
			input: n,
			inst: r,
			path: [...(i = r._zod.def.path) == null ? [] : i],
			continue: !r._zod.def.abort
		};
		r._zod.def.params && (e.params = r._zod.def.params), t.issues.push(be(e));
	}
}
//#endregion
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.js
var nr, rr = class {
	constructor() {
		this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map();
	}
	add(e, ...t) {
		let n = t[0];
		return this._map.set(e, n), n && typeof n == "object" && "id" in n && this._idmap.set(n.id, e), this;
	}
	clear() {
		return this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map(), this;
	}
	remove(e) {
		let t = this._map.get(e);
		return t && typeof t == "object" && "id" in t && this._idmap.delete(t.id), this._map.delete(e), this;
	}
	get(e) {
		let t = e._zod.parent;
		if (t) {
			var n;
			let r = { ...(n = this.get(t)) == null ? {} : n };
			delete r.id;
			let i = {
				...r,
				...this._map.get(e)
			};
			return Object.keys(i).length ? i : void 0;
		}
		return this._map.get(e);
	}
	has(e) {
		return this._map.has(e);
	}
};
function ir() {
	return new rr();
}
(nr = globalThis).__zod_globalRegistry != null || (nr.__zod_globalRegistry = ir());
var ar = globalThis.__zod_globalRegistry;
//#endregion
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.js
// @__NO_SIDE_EFFECTS__
function or(e, t) {
	return new e({
		type: "string",
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function sr(e, t) {
	return new e({
		type: "string",
		format: "email",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function cr(e, t) {
	return new e({
		type: "string",
		format: "guid",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function lr(e, t) {
	return new e({
		type: "string",
		format: "uuid",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function ur(e, t) {
	return new e({
		type: "string",
		format: "uuid",
		check: "string_format",
		abort: !1,
		version: "v4",
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function dr(e, t) {
	return new e({
		type: "string",
		format: "uuid",
		check: "string_format",
		abort: !1,
		version: "v6",
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function fr(e, t) {
	return new e({
		type: "string",
		format: "uuid",
		check: "string_format",
		abort: !1,
		version: "v7",
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function pr(e, t) {
	return new e({
		type: "string",
		format: "url",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function mr(e, t) {
	return new e({
		type: "string",
		format: "emoji",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function hr(e, t) {
	return new e({
		type: "string",
		format: "nanoid",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function gr(e, t) {
	return new e({
		type: "string",
		format: "cuid",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function _r(e, t) {
	return new e({
		type: "string",
		format: "cuid2",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function vr(e, t) {
	return new e({
		type: "string",
		format: "ulid",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function yr(e, t) {
	return new e({
		type: "string",
		format: "xid",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function br(e, t) {
	return new e({
		type: "string",
		format: "ksuid",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function xr(e, t) {
	return new e({
		type: "string",
		format: "ipv4",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function Sr(e, t) {
	return new e({
		type: "string",
		format: "ipv6",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function Cr(e, t) {
	return new e({
		type: "string",
		format: "cidrv4",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function wr(e, t) {
	return new e({
		type: "string",
		format: "cidrv6",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function Tr(e, t) {
	return new e({
		type: "string",
		format: "base64",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function Er(e, t) {
	return new e({
		type: "string",
		format: "base64url",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function Dr(e, t) {
	return new e({
		type: "string",
		format: "e164",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function Or(e, t) {
	return new e({
		type: "string",
		format: "jwt",
		check: "string_format",
		abort: !1,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function kr(e, t) {
	return new e({
		type: "string",
		format: "datetime",
		check: "string_format",
		offset: !1,
		local: !1,
		precision: null,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function Ar(e, t) {
	return new e({
		type: "string",
		format: "date",
		check: "string_format",
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function jr(e, t) {
	return new e({
		type: "string",
		format: "time",
		check: "string_format",
		precision: null,
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function Mr(e, t) {
	return new e({
		type: "string",
		format: "duration",
		check: "string_format",
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function Nr(e, t) {
	return new e({
		type: "number",
		checks: [],
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function Pr(e, t) {
	return new e({
		type: "number",
		check: "number_format",
		abort: !1,
		format: "safeint",
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function Fr(e, t) {
	return new e({
		type: "boolean",
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function Ir(e, t) {
	return new e({
		type: "null",
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function Lr(e) {
	return new e({ type: "any" });
}
// @__NO_SIDE_EFFECTS__
function Rr(e) {
	return new e({ type: "unknown" });
}
// @__NO_SIDE_EFFECTS__
function zr(e, t) {
	return new e({
		type: "never",
		...O(t)
	});
}
// @__NO_SIDE_EFFECTS__
function Br(e, t) {
	return new xt({
		check: "less_than",
		...O(t),
		value: e,
		inclusive: !1
	});
}
// @__NO_SIDE_EFFECTS__
function Vr(e, t) {
	return new xt({
		check: "less_than",
		...O(t),
		value: e,
		inclusive: !0
	});
}
// @__NO_SIDE_EFFECTS__
function Hr(e, t) {
	return new St({
		check: "greater_than",
		...O(t),
		value: e,
		inclusive: !1
	});
}
// @__NO_SIDE_EFFECTS__
function Ur(e, t) {
	return new St({
		check: "greater_than",
		...O(t),
		value: e,
		inclusive: !0
	});
}
// @__NO_SIDE_EFFECTS__
function Wr(e, t) {
	return new Ct({
		check: "multiple_of",
		...O(t),
		value: e
	});
}
// @__NO_SIDE_EFFECTS__
function Gr(e, t) {
	return new Tt({
		check: "max_length",
		...O(t),
		maximum: e
	});
}
// @__NO_SIDE_EFFECTS__
function Kr(e, t) {
	return new Et({
		check: "min_length",
		...O(t),
		minimum: e
	});
}
// @__NO_SIDE_EFFECTS__
function qr(e, t) {
	return new Dt({
		check: "length_equals",
		...O(t),
		length: e
	});
}
// @__NO_SIDE_EFFECTS__
function Jr(e, t) {
	return new kt({
		check: "string_format",
		format: "regex",
		...O(t),
		pattern: e
	});
}
// @__NO_SIDE_EFFECTS__
function Yr(e) {
	return new At({
		check: "string_format",
		format: "lowercase",
		...O(e)
	});
}
// @__NO_SIDE_EFFECTS__
function Xr(e) {
	return new jt({
		check: "string_format",
		format: "uppercase",
		...O(e)
	});
}
// @__NO_SIDE_EFFECTS__
function Zr(e, t) {
	return new Mt({
		check: "string_format",
		format: "includes",
		...O(t),
		includes: e
	});
}
// @__NO_SIDE_EFFECTS__
function Qr(e, t) {
	return new Nt({
		check: "string_format",
		format: "starts_with",
		...O(t),
		prefix: e
	});
}
// @__NO_SIDE_EFFECTS__
function $r(e, t) {
	return new Pt({
		check: "string_format",
		format: "ends_with",
		...O(t),
		suffix: e
	});
}
// @__NO_SIDE_EFFECTS__
function ei(e) {
	return new Ft({
		check: "overwrite",
		tx: e
	});
}
// @__NO_SIDE_EFFECTS__
function ti(e) {
	return /* @__PURE__ */ ei((t) => t.normalize(e));
}
// @__NO_SIDE_EFFECTS__
function ni() {
	return /* @__PURE__ */ ei((e) => e.trim());
}
// @__NO_SIDE_EFFECTS__
function ri() {
	return /* @__PURE__ */ ei((e) => e.toLowerCase());
}
// @__NO_SIDE_EFFECTS__
function ii() {
	return /* @__PURE__ */ ei((e) => e.toUpperCase());
}
// @__NO_SIDE_EFFECTS__
function ai() {
	return /* @__PURE__ */ ei((e) => ne(e));
}
// @__NO_SIDE_EFFECTS__
function oi(e, t, n) {
	return new e({
		type: "array",
		element: t,
		...O(n)
	});
}
// @__NO_SIDE_EFFECTS__
function si(e, t, n) {
	return new e({
		type: "custom",
		check: "custom",
		fn: t,
		...O(n)
	});
}
// @__NO_SIDE_EFFECTS__
function ci(e, t) {
	let n = /* @__PURE__ */ li((t) => (t.addIssue = (e) => {
		if (typeof e == "string") t.issues.push(be(e, t.value, n._zod.def));
		else {
			let r = e;
			r.fatal && (r.continue = !1), r.code != null || (r.code = "custom"), r.input != null || (r.input = t.value), r.inst != null || (r.inst = n), r.continue != null || (r.continue = !n._zod.def.abort), t.issues.push(be(r));
		}
	}, e(t.value, t)), t);
	return n;
}
// @__NO_SIDE_EFFECTS__
function li(e, t) {
	let n = new j({
		check: "custom",
		...O(t)
	});
	return n._zod.check = e, n;
}
//#endregion
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.js
function ui(e) {
	var t, n, r, i, a, o, s, c, l;
	let u = (t = e == null ? void 0 : e.target) == null ? "draft-2020-12" : t;
	return u === "draft-4" && (u = "draft-04"), u === "draft-7" && (u = "draft-07"), {
		processors: (n = e.processors) == null ? {} : n,
		metadataRegistry: (r = e == null ? void 0 : e.metadata) == null ? ar : r,
		target: u,
		unrepresentable: (i = e == null ? void 0 : e.unrepresentable) == null ? "throw" : i,
		override: (a = e == null ? void 0 : e.override) == null ? (() => {}) : a,
		io: (o = e == null ? void 0 : e.io) == null ? "output" : o,
		counter: 0,
		seen: /* @__PURE__ */ new Map(),
		cycles: (s = e == null ? void 0 : e.cycles) == null ? "ref" : s,
		reused: (c = e == null ? void 0 : e.reused) == null ? "inline" : c,
		external: (l = e == null ? void 0 : e.external) == null ? void 0 : l
	};
}
function P(e, t, n = {
	path: [],
	schemaPath: []
}) {
	var r, i, a;
	let o = e._zod.def, s = t.seen.get(e);
	if (s) return s.count++, n.schemaPath.includes(e) && (s.cycle = n.path), s.schema;
	let c = {
		schema: {},
		count: 1,
		cycle: void 0,
		path: n.path
	};
	t.seen.set(e, c);
	let l = (r = (i = e._zod).toJSONSchema) == null ? void 0 : r.call(i);
	if (l) c.schema = l;
	else {
		let r = {
			...n,
			schemaPath: [...n.schemaPath, e],
			path: n.path
		};
		if (e._zod.processJSONSchema) e._zod.processJSONSchema(t, c.schema, r);
		else {
			let n = c.schema, i = t.processors[o.type];
			if (!i) throw Error(`[toJSONSchema]: Non-representable type encountered: ${o.type}`);
			i(e, t, n, r);
		}
		let i = e._zod.parent;
		i && (c.ref || (c.ref = i), P(i, t, r), t.seen.get(i).isParent = !0);
	}
	let u = t.metadataRegistry.get(e);
	return u && Object.assign(c.schema, u), t.io === "input" && F(e) && (delete c.schema.examples, delete c.schema.default), t.io === "input" && "_prefault" in c.schema && ((a = c.schema).default != null || (a.default = c.schema._prefault)), delete c.schema._prefault, t.seen.get(e).schema;
}
function di(e, t) {
	let n = e.seen.get(t);
	if (!n) throw Error("Unprocessed schema. This is a bug in Zod.");
	let r = /* @__PURE__ */ new Map();
	for (let t of e.seen.entries()) {
		var i;
		let n = (i = e.metadataRegistry.get(t[0])) == null ? void 0 : i.id;
		if (n) {
			let e = r.get(n);
			if (e && e !== t[0]) throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);
			r.set(n, t[0]);
		}
	}
	let a = (t) => {
		var r;
		let i = e.target === "draft-2020-12" ? "$defs" : "definitions";
		if (e.external) {
			var a, o, s, c;
			let n = (a = e.external.registry.get(t[0])) == null ? void 0 : a.id, r = (o = e.external.uri) == null ? ((e) => e) : o;
			if (n) return { ref: r(n) };
			let l = (s = (c = t[1].defId) == null ? t[1].schema.id : c) == null ? `schema${e.counter++}` : s;
			return t[1].defId = l, {
				defId: l,
				ref: `${r("__shared")}#/${i}/${l}`
			};
		}
		if (t[1] === n) return { ref: "#" };
		let l = `#/${i}/`, u = (r = t[1].schema.id) == null ? `__schema${e.counter++}` : r;
		return {
			defId: u,
			ref: l + u
		};
	}, o = (e) => {
		if (e[1].schema.$ref) return;
		let t = e[1], { ref: n, defId: r } = a(e);
		t.def = { ...t.schema }, r && (t.defId = r);
		let i = t.schema;
		for (let e in i) delete i[e];
		i.$ref = n;
	};
	if (e.cycles === "throw") for (let t of e.seen.entries()) {
		let e = t[1];
		if (e.cycle) {
			var s;
			throw Error(`Cycle detected: #/${(s = e.cycle) == null ? void 0 : s.join("/")}/<root>

Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`);
		}
	}
	for (let n of e.seen.entries()) {
		var c;
		let r = n[1];
		if (t === n[0]) {
			o(n);
			continue;
		}
		if (e.external) {
			var l;
			let r = (l = e.external.registry.get(n[0])) == null ? void 0 : l.id;
			if (t !== n[0] && r) {
				o(n);
				continue;
			}
		}
		if ((c = e.metadataRegistry.get(n[0])) != null && c.id) {
			o(n);
			continue;
		}
		if (r.cycle) {
			o(n);
			continue;
		}
		if (r.count > 1 && e.reused === "ref") {
			o(n);
			continue;
		}
	}
}
function fi(e, t) {
	var n, r, i, a, o;
	let s = e.seen.get(t);
	if (!s) throw Error("Unprocessed schema. This is a bug in Zod.");
	let c = (t) => {
		var n, r;
		let i = e.seen.get(t);
		if (i.ref === null) return;
		let a = (n = i.def) == null ? i.schema : n, o = { ...a }, s = i.ref;
		if (i.ref = null, s) {
			c(s);
			let n = e.seen.get(s), r = n.schema;
			if (r.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0")) {
				var l;
				a.allOf = (l = a.allOf) == null ? [] : l, a.allOf.push(r);
			} else Object.assign(a, r);
			if (Object.assign(a, o), t._zod.parent === s) for (let e in a) e === "$ref" || e === "allOf" || e in o || delete a[e];
			if (r.$ref && n.def) for (let e in a) e === "$ref" || e === "allOf" || e in n.def && JSON.stringify(a[e]) === JSON.stringify(n.def[e]) && delete a[e];
		}
		let u = t._zod.parent;
		if (u && u !== s) {
			c(u);
			let t = e.seen.get(u);
			if (t != null && t.schema.$ref && (a.$ref = t.schema.$ref, t.def)) for (let e in a) e === "$ref" || e === "allOf" || e in t.def && JSON.stringify(a[e]) === JSON.stringify(t.def[e]) && delete a[e];
		}
		e.override({
			zodSchema: t,
			jsonSchema: a,
			path: (r = i.path) == null ? [] : r
		});
	};
	for (let t of [...e.seen.entries()].reverse()) c(t[0]);
	let l = {};
	if (e.target === "draft-2020-12" ? l.$schema = "https://json-schema.org/draft/2020-12/schema" : e.target === "draft-07" ? l.$schema = "http://json-schema.org/draft-07/schema#" : e.target === "draft-04" ? l.$schema = "http://json-schema.org/draft-04/schema#" : e.target, (n = e.external) != null && n.uri) {
		var u;
		let n = (u = e.external.registry.get(t)) == null ? void 0 : u.id;
		if (!n) throw Error("Schema is missing an `id` property");
		l.$id = e.external.uri(n);
	}
	Object.assign(l, (r = s.def) == null ? s.schema : r);
	let d = (i = e.metadataRegistry.get(t)) == null ? void 0 : i.id;
	d !== void 0 && l.id === d && delete l.id;
	let f = (a = (o = e.external) == null ? void 0 : o.defs) == null ? {} : a;
	for (let t of e.seen.entries()) {
		let e = t[1];
		e.def && e.defId && (e.def.id === e.defId && delete e.def.id, f[e.defId] = e.def);
	}
	e.external || Object.keys(f).length > 0 && (e.target === "draft-2020-12" ? l.$defs = f : l.definitions = f);
	try {
		let n = JSON.parse(JSON.stringify(l));
		return Object.defineProperty(n, "~standard", {
			value: {
				...t["~standard"],
				jsonSchema: {
					input: mi(t, "input", e.processors),
					output: mi(t, "output", e.processors)
				}
			},
			enumerable: !1,
			writable: !1
		}), n;
	} catch {
		throw Error("Error converting schema to JSON.");
	}
}
function F(e, t) {
	let n = t == null ? { seen: /* @__PURE__ */ new Set() } : t;
	if (n.seen.has(e)) return !1;
	n.seen.add(e);
	let r = e._zod.def;
	if (r.type === "transform") return !0;
	if (r.type === "array") return F(r.element, n);
	if (r.type === "set") return F(r.valueType, n);
	if (r.type === "lazy") return F(r.getter(), n);
	if (r.type === "promise" || r.type === "optional" || r.type === "nonoptional" || r.type === "nullable" || r.type === "readonly" || r.type === "default" || r.type === "prefault") return F(r.innerType, n);
	if (r.type === "intersection") return F(r.left, n) || F(r.right, n);
	if (r.type === "record" || r.type === "map") return F(r.keyType, n) || F(r.valueType, n);
	if (r.type === "pipe") return e._zod.traits.has("$ZodCodec") ? !0 : F(r.in, n) || F(r.out, n);
	if (r.type === "object") {
		for (let e in r.shape) if (F(r.shape[e], n)) return !0;
		return !1;
	}
	if (r.type === "union") {
		for (let e of r.options) if (F(e, n)) return !0;
		return !1;
	}
	if (r.type === "tuple") {
		for (let e of r.items) if (F(e, n)) return !0;
		return !!(r.rest && F(r.rest, n));
	}
	return !1;
}
var pi = (e, t = {}) => (n) => {
	let r = ui({
		...n,
		processors: t
	});
	return P(e, r), di(r, e), fi(r, e);
}, mi = (e, t, n = {}) => (r) => {
	let { libraryOptions: i, target: a } = r == null ? {} : r, o = ui({
		...i == null ? {} : i,
		target: a,
		io: t,
		processors: n
	});
	return P(e, o), di(o, e), fi(o, e);
}, hi = {
	guid: "uuid",
	url: "uri",
	datetime: "date-time",
	json_string: "json-string",
	regex: ""
}, gi = (e, t, n, r) => {
	let i = n;
	i.type = "string";
	let { minimum: a, maximum: o, format: s, patterns: c, contentEncoding: l } = e._zod.bag;
	if (typeof a == "number" && (i.minLength = a), typeof o == "number" && (i.maxLength = o), s) {
		var u;
		i.format = (u = hi[s]) == null ? s : u, i.format === "" && delete i.format, s === "time" && delete i.format;
	}
	if (l && (i.contentEncoding = l), c && c.size > 0) {
		let e = [...c];
		e.length === 1 ? i.pattern = e[0].source : e.length > 1 && (i.allOf = [...e.map((e) => ({
			...t.target === "draft-07" || t.target === "draft-04" || t.target === "openapi-3.0" ? { type: "string" } : {},
			pattern: e.source
		}))]);
	}
}, _i = (e, t, n, r) => {
	let i = n, { minimum: a, maximum: o, format: s, multipleOf: c, exclusiveMaximum: l, exclusiveMinimum: u } = e._zod.bag;
	typeof s == "string" && s.includes("int") ? i.type = "integer" : i.type = "number";
	let d = typeof u == "number" && u >= (a == null ? -Infinity : a), f = typeof l == "number" && l <= (o == null ? Infinity : o), p = t.target === "draft-04" || t.target === "openapi-3.0";
	d ? p ? (i.minimum = u, i.exclusiveMinimum = !0) : i.exclusiveMinimum = u : typeof a == "number" && (i.minimum = a), f ? p ? (i.maximum = l, i.exclusiveMaximum = !0) : i.exclusiveMaximum = l : typeof o == "number" && (i.maximum = o), typeof c == "number" && (i.multipleOf = c);
}, vi = (e, t, n, r) => {
	n.type = "boolean";
}, yi = (e, t, n, r) => {
	if (t.unrepresentable === "throw") throw Error("BigInt cannot be represented in JSON Schema");
}, bi = (e, t, n, r) => {
	if (t.unrepresentable === "throw") throw Error("Symbols cannot be represented in JSON Schema");
}, xi = (e, t, n, r) => {
	t.target === "openapi-3.0" ? (n.type = "string", n.nullable = !0, n.enum = [null]) : n.type = "null";
}, Si = (e, t, n, r) => {
	if (t.unrepresentable === "throw") throw Error("Undefined cannot be represented in JSON Schema");
}, Ci = (e, t, n, r) => {
	if (t.unrepresentable === "throw") throw Error("Void cannot be represented in JSON Schema");
}, wi = (e, t, n, r) => {
	n.not = {};
}, Ti = (e, t, n, r) => {}, Ei = (e, t, n, r) => {}, Di = (e, t, n, r) => {
	if (t.unrepresentable === "throw") throw Error("Date cannot be represented in JSON Schema");
}, Oi = (e, t, n, r) => {
	let i = e._zod.def, a = h(i.entries);
	a.every((e) => typeof e == "number") && (n.type = "number"), a.every((e) => typeof e == "string") && (n.type = "string"), n.enum = a;
}, ki = (e, t, n, r) => {
	let i = e._zod.def, a = [];
	for (let e of i.values) if (e === void 0) {
		if (t.unrepresentable === "throw") throw Error("Literal `undefined` cannot be represented in JSON Schema");
	} else if (typeof e == "bigint") {
		if (t.unrepresentable === "throw") throw Error("BigInt literals cannot be represented in JSON Schema");
		a.push(Number(e));
	} else a.push(e);
	if (a.length !== 0) if (a.length === 1) {
		let e = a[0];
		n.type = e === null ? "null" : typeof e, t.target === "draft-04" || t.target === "openapi-3.0" ? n.enum = [e] : n.const = e;
	} else a.every((e) => typeof e == "number") && (n.type = "number"), a.every((e) => typeof e == "string") && (n.type = "string"), a.every((e) => typeof e == "boolean") && (n.type = "boolean"), a.every((e) => e === null) && (n.type = "null"), n.enum = a;
}, Ai = (e, t, n, r) => {
	if (t.unrepresentable === "throw") throw Error("NaN cannot be represented in JSON Schema");
}, ji = (e, t, n, r) => {
	let i = n, a = e._zod.pattern;
	if (!a) throw Error("Pattern not found in template literal");
	i.type = "string", i.pattern = a.source;
}, Mi = (e, t, n, r) => {
	let i = n, a = {
		type: "string",
		format: "binary",
		contentEncoding: "binary"
	}, { minimum: o, maximum: s, mime: c } = e._zod.bag;
	o !== void 0 && (a.minLength = o), s !== void 0 && (a.maxLength = s), c ? c.length === 1 ? (a.contentMediaType = c[0], Object.assign(i, a)) : (Object.assign(i, a), i.anyOf = c.map((e) => ({ contentMediaType: e }))) : Object.assign(i, a);
}, Ni = (e, t, n, r) => {
	n.type = "boolean";
}, Pi = (e, t, n, r) => {
	if (t.unrepresentable === "throw") throw Error("Custom types cannot be represented in JSON Schema");
}, Fi = (e, t, n, r) => {
	if (t.unrepresentable === "throw") throw Error("Function types cannot be represented in JSON Schema");
}, Ii = (e, t, n, r) => {
	if (t.unrepresentable === "throw") throw Error("Transforms cannot be represented in JSON Schema");
}, Li = (e, t, n, r) => {
	if (t.unrepresentable === "throw") throw Error("Map cannot be represented in JSON Schema");
}, Ri = (e, t, n, r) => {
	if (t.unrepresentable === "throw") throw Error("Set cannot be represented in JSON Schema");
}, zi = (e, t, n, r) => {
	let i = n, a = e._zod.def, { minimum: o, maximum: s } = e._zod.bag;
	typeof o == "number" && (i.minItems = o), typeof s == "number" && (i.maxItems = s), i.type = "array", i.items = P(a.element, t, {
		...r,
		path: [...r.path, "items"]
	});
}, Bi = (e, t, n, r) => {
	var i;
	let a = n, o = e._zod.def;
	a.type = "object", a.properties = {};
	let s = o.shape;
	for (let e in s) a.properties[e] = P(s[e], t, {
		...r,
		path: [
			...r.path,
			"properties",
			e
		]
	});
	let c = new Set(Object.keys(s)), l = new Set([...c].filter((e) => {
		let n = o.shape[e]._zod;
		return t.io === "input" ? n.optin === void 0 : n.optout === void 0;
	}));
	l.size > 0 && (a.required = Array.from(l)), ((i = o.catchall) == null ? void 0 : i._zod.def.type) === "never" ? a.additionalProperties = !1 : o.catchall ? o.catchall && (a.additionalProperties = P(o.catchall, t, {
		...r,
		path: [...r.path, "additionalProperties"]
	})) : t.io === "output" && (a.additionalProperties = !1);
}, Vi = (e, t, n, r) => {
	let i = e._zod.def, a = i.inclusive === !1, o = i.options.map((e, n) => P(e, t, {
		...r,
		path: [
			...r.path,
			a ? "oneOf" : "anyOf",
			n
		]
	}));
	a ? n.oneOf = o : n.anyOf = o;
}, Hi = (e, t, n, r) => {
	let i = e._zod.def, a = P(i.left, t, {
		...r,
		path: [
			...r.path,
			"allOf",
			0
		]
	}), o = P(i.right, t, {
		...r,
		path: [
			...r.path,
			"allOf",
			1
		]
	}), s = (e) => "allOf" in e && Object.keys(e).length === 1;
	n.allOf = [...s(a) ? a.allOf : [a], ...s(o) ? o.allOf : [o]];
}, Ui = (e, t, n, r) => {
	let i = n, a = e._zod.def;
	i.type = "array";
	let o = t.target === "draft-2020-12" ? "prefixItems" : "items", s = t.target === "draft-2020-12" || t.target === "openapi-3.0" ? "items" : "additionalItems", c = a.items.map((e, n) => P(e, t, {
		...r,
		path: [
			...r.path,
			o,
			n
		]
	})), l = a.rest ? P(a.rest, t, {
		...r,
		path: [
			...r.path,
			s,
			...t.target === "openapi-3.0" ? [a.items.length] : []
		]
	}) : null;
	t.target === "draft-2020-12" ? (i.prefixItems = c, l && (i.items = l)) : t.target === "openapi-3.0" ? (i.items = { anyOf: c }, l && i.items.anyOf.push(l), i.minItems = c.length, l || (i.maxItems = c.length)) : (i.items = c, l && (i.additionalItems = l));
	let { minimum: u, maximum: d } = e._zod.bag;
	typeof u == "number" && (i.minItems = u), typeof d == "number" && (i.maxItems = d);
}, Wi = (e, t, n, r) => {
	let i = n, a = e._zod.def;
	i.type = "object";
	let o = a.keyType, s = o._zod.bag, c = s == null ? void 0 : s.patterns;
	if (a.mode === "loose" && c && c.size > 0) {
		let e = P(a.valueType, t, {
			...r,
			path: [
				...r.path,
				"patternProperties",
				"*"
			]
		});
		i.patternProperties = {};
		for (let t of c) i.patternProperties[t.source] = e;
	} else (t.target === "draft-07" || t.target === "draft-2020-12") && (i.propertyNames = P(a.keyType, t, {
		...r,
		path: [...r.path, "propertyNames"]
	})), i.additionalProperties = P(a.valueType, t, {
		...r,
		path: [...r.path, "additionalProperties"]
	});
	let l = o._zod.values;
	if (l) {
		let e = [...l].filter((e) => typeof e == "string" || typeof e == "number");
		e.length > 0 && (i.required = e);
	}
}, Gi = (e, t, n, r) => {
	let i = e._zod.def, a = P(i.innerType, t, r), o = t.seen.get(e);
	t.target === "openapi-3.0" ? (o.ref = i.innerType, n.nullable = !0) : n.anyOf = [a, { type: "null" }];
}, Ki = (e, t, n, r) => {
	let i = e._zod.def;
	P(i.innerType, t, r);
	let a = t.seen.get(e);
	a.ref = i.innerType;
}, qi = (e, t, n, r) => {
	let i = e._zod.def;
	P(i.innerType, t, r);
	let a = t.seen.get(e);
	a.ref = i.innerType, n.default = JSON.parse(JSON.stringify(i.defaultValue));
}, Ji = (e, t, n, r) => {
	let i = e._zod.def;
	P(i.innerType, t, r);
	let a = t.seen.get(e);
	a.ref = i.innerType, t.io === "input" && (n._prefault = JSON.parse(JSON.stringify(i.defaultValue)));
}, Yi = (e, t, n, r) => {
	let i = e._zod.def;
	P(i.innerType, t, r);
	let a = t.seen.get(e);
	a.ref = i.innerType;
	let o;
	try {
		o = i.catchValue(void 0);
	} catch {
		throw Error("Dynamic catch values are not supported in JSON Schema");
	}
	n.default = o;
}, Xi = (e, t, n, r) => {
	let i = e._zod.def, a = i.in._zod.traits.has("$ZodTransform"), o = t.io === "input" ? a ? i.out : i.in : i.out;
	P(o, t, r);
	let s = t.seen.get(e);
	s.ref = o;
}, Zi = (e, t, n, r) => {
	let i = e._zod.def;
	P(i.innerType, t, r);
	let a = t.seen.get(e);
	a.ref = i.innerType, n.readOnly = !0;
}, Qi = (e, t, n, r) => {
	let i = e._zod.def;
	P(i.innerType, t, r);
	let a = t.seen.get(e);
	a.ref = i.innerType;
}, $i = (e, t, n, r) => {
	let i = e._zod.def;
	P(i.innerType, t, r);
	let a = t.seen.get(e);
	a.ref = i.innerType;
}, ea = {
	string: gi,
	number: _i,
	boolean: vi,
	bigint: yi,
	symbol: bi,
	null: xi,
	undefined: Si,
	void: Ci,
	never: wi,
	any: Ti,
	unknown: Ei,
	date: Di,
	enum: Oi,
	literal: ki,
	nan: Ai,
	template_literal: ji,
	file: Mi,
	success: Ni,
	custom: Pi,
	function: Fi,
	transform: Ii,
	map: Li,
	set: Ri,
	array: zi,
	object: Bi,
	union: Vi,
	intersection: Hi,
	tuple: Ui,
	record: Wi,
	nullable: Gi,
	nonoptional: Ki,
	default: qi,
	prefault: Ji,
	catch: Yi,
	pipe: Xi,
	readonly: Zi,
	promise: Qi,
	optional: $i,
	lazy: (e, t, n, r) => {
		let i = e._zod.innerType;
		P(i, t, r);
		let a = t.seen.get(e);
		a.ref = i;
	}
};
function ta(e, t) {
	if ("_idmap" in e) {
		let n = e, r = ui({
			...t,
			processors: ea
		}), i = {};
		for (let e of n._idmap.entries()) {
			let [t, n] = e;
			P(n, r);
		}
		let a = {};
		r.external = {
			registry: n,
			uri: t == null ? void 0 : t.uri,
			defs: i
		};
		for (let e of n._idmap.entries()) {
			let [t, n] = e;
			di(r, n), a[t] = fi(r, n);
		}
		return Object.keys(i).length > 0 && (a.__shared = { [r.target === "draft-2020-12" ? "$defs" : "definitions"]: i }), { schemas: a };
	}
	let n = ui({
		...t,
		processors: ea
	});
	return P(e, n), di(n, e), fi(n, e);
}
//#endregion
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.js
var na = /*@__PURE__*/ u("ZodISODateTime", (e, t) => {
	Xt.init(e, t), z.init(e, t);
});
function ra(e) {
	return /* @__PURE__ */ kr(na, e);
}
var ia = /*@__PURE__*/ u("ZodISODate", (e, t) => {
	Zt.init(e, t), z.init(e, t);
});
function aa(e) {
	return /* @__PURE__ */ Ar(ia, e);
}
var oa = /*@__PURE__*/ u("ZodISOTime", (e, t) => {
	Qt.init(e, t), z.init(e, t);
});
function sa(e) {
	return /* @__PURE__ */ jr(oa, e);
}
var ca = /*@__PURE__*/ u("ZodISODuration", (e, t) => {
	$t.init(e, t), z.init(e, t);
});
function la(e) {
	return /* @__PURE__ */ Mr(ca, e);
}
var I = /*@__PURE__*/ u("ZodError", (e, t) => {
	Se.init(e, t), e.name = "ZodError", Object.defineProperties(e, {
		format: { value: (t) => Te(e, t) },
		flatten: { value: (t) => we(e, t) },
		addIssue: { value: (t) => {
			e.issues.push(t), e.message = JSON.stringify(e.issues, g, 2);
		} },
		addIssues: { value: (t) => {
			e.issues.push(...t), e.message = JSON.stringify(e.issues, g, 2);
		} },
		isEmpty: { get() {
			return e.issues.length === 0;
		} }
	});
}, { Parent: Error }), ua = /* @__PURE__ */ Ee(I), da = /* @__PURE__ */ Oe(I), fa = /* @__PURE__ */ Ae(I), pa = /* @__PURE__ */ Me(I), ma = /* @__PURE__ */ Pe(I), ha = /* @__PURE__ */ Fe(I), ga = /* @__PURE__ */ Ie(I), _a = /* @__PURE__ */ Le(I), va = /* @__PURE__ */ Re(I), ya = /* @__PURE__ */ ze(I), ba = /* @__PURE__ */ Be(I), xa = /* @__PURE__ */ Ve(I), Sa = /* @__PURE__ */ new WeakMap();
function Ca(e, t, n) {
	let r = Object.getPrototypeOf(e), i = Sa.get(r);
	if (i || (i = /* @__PURE__ */ new Set(), Sa.set(r, i)), !i.has(t)) {
		i.add(t);
		for (let e in n) {
			let t = n[e];
			Object.defineProperty(r, e, {
				configurable: !0,
				enumerable: !1,
				get() {
					let n = t.bind(this);
					return Object.defineProperty(this, e, {
						configurable: !0,
						writable: !0,
						enumerable: !0,
						value: n
					}), n;
				},
				set(t) {
					Object.defineProperty(this, e, {
						configurable: !0,
						writable: !0,
						enumerable: !0,
						value: t
					});
				}
			});
		}
	}
}
var L = /*@__PURE__*/ u("ZodType", (e, t) => (M.init(e, t), Object.assign(e["~standard"], { jsonSchema: {
	input: mi(e, "input"),
	output: mi(e, "output")
} }), e.toJSONSchema = pi(e, {}), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.parse = (t, n) => ua(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => fa(e, t, n), e.parseAsync = async (t, n) => da(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => pa(e, t, n), e.spa = e.safeParseAsync, e.encode = (t, n) => ma(e, t, n), e.decode = (t, n) => ha(e, t, n), e.encodeAsync = async (t, n) => ga(e, t, n), e.decodeAsync = async (t, n) => _a(e, t, n), e.safeEncode = (t, n) => va(e, t, n), e.safeDecode = (t, n) => ya(e, t, n), e.safeEncodeAsync = async (t, n) => ba(e, t, n), e.safeDecodeAsync = async (t, n) => xa(e, t, n), Ca(e, "ZodType", {
	check(...e) {
		var t;
		let n = this.def;
		return this.clone(C(n, { checks: [...(t = n.checks) == null ? [] : t, ...e.map((e) => typeof e == "function" ? { _zod: {
			check: e,
			def: { check: "custom" },
			onattach: []
		} } : e)] }), { parent: !0 });
	},
	with(...e) {
		return this.check(...e);
	},
	clone(e, t) {
		return D(this, e, t);
	},
	brand() {
		return this;
	},
	register(e, t) {
		return e.add(this, t), this;
	},
	refine(e, t) {
		return this.check(Ro(e, t));
	},
	superRefine(e, t) {
		return this.check(zo(e, t));
	},
	overwrite(e) {
		return this.check(/* @__PURE__ */ ei(e));
	},
	optional() {
		return bo(this);
	},
	exactOptional() {
		return So(this);
	},
	nullable() {
		return wo(this);
	},
	nullish() {
		return bo(wo(this));
	},
	nonoptional(e) {
		return Ao(this, e);
	},
	array() {
		return H(this);
	},
	or(e) {
		return oo([this, e]);
	},
	and(e) {
		return uo(this, e);
	},
	transform(e) {
		return Po(this, vo(e));
	},
	default(e) {
		return Eo(this, e);
	},
	prefault(e) {
		return Oo(this, e);
	},
	catch(e) {
		return Mo(this, e);
	},
	pipe(e) {
		return Po(this, e);
	},
	readonly() {
		return Io(this);
	},
	describe(e) {
		let t = this.clone();
		return ar.add(t, { description: e }), t;
	},
	meta(...e) {
		if (e.length === 0) return ar.get(this);
		let t = this.clone();
		return ar.add(t, e[0]), t;
	},
	isOptional() {
		return this.safeParse(void 0).success;
	},
	isNullable() {
		return this.safeParse(null).success;
	},
	apply(e) {
		return e(this);
	}
}), Object.defineProperty(e, "description", {
	get() {
		var t;
		return (t = ar.get(e)) == null ? void 0 : t.description;
	},
	configurable: !0
}), e)), wa = /*@__PURE__*/ u("_ZodString", (e, t) => {
	var n, r, i;
	Rt.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => gi(e, t, n, r);
	let a = e._zod.bag;
	e.format = (n = a.format) == null ? null : n, e.minLength = (r = a.minimum) == null ? null : r, e.maxLength = (i = a.maximum) == null ? null : i, Ca(e, "_ZodString", {
		regex(...e) {
			return this.check(/* @__PURE__ */ Jr(...e));
		},
		includes(...e) {
			return this.check(/* @__PURE__ */ Zr(...e));
		},
		startsWith(...e) {
			return this.check(/* @__PURE__ */ Qr(...e));
		},
		endsWith(...e) {
			return this.check(/* @__PURE__ */ $r(...e));
		},
		min(...e) {
			return this.check(/* @__PURE__ */ Kr(...e));
		},
		max(...e) {
			return this.check(/* @__PURE__ */ Gr(...e));
		},
		length(...e) {
			return this.check(/* @__PURE__ */ qr(...e));
		},
		nonempty(...e) {
			return this.check(/* @__PURE__ */ Kr(1, ...e));
		},
		lowercase(e) {
			return this.check(/* @__PURE__ */ Yr(e));
		},
		uppercase(e) {
			return this.check(/* @__PURE__ */ Xr(e));
		},
		trim() {
			return this.check(/* @__PURE__ */ ni());
		},
		normalize(...e) {
			return this.check(/* @__PURE__ */ ti(...e));
		},
		toLowerCase() {
			return this.check(/* @__PURE__ */ ri());
		},
		toUpperCase() {
			return this.check(/* @__PURE__ */ ii());
		},
		slugify() {
			return this.check(/* @__PURE__ */ ai());
		}
	});
}), Ta = /*@__PURE__*/ u("ZodString", (e, t) => {
	Rt.init(e, t), wa.init(e, t), e.email = (t) => e.check(/* @__PURE__ */ sr(Ea, t)), e.url = (t) => e.check(/* @__PURE__ */ pr(ka, t)), e.jwt = (t) => e.check(/* @__PURE__ */ Or(Wa, t)), e.emoji = (t) => e.check(/* @__PURE__ */ mr(Aa, t)), e.guid = (t) => e.check(/* @__PURE__ */ cr(Da, t)), e.uuid = (t) => e.check(/* @__PURE__ */ lr(Oa, t)), e.uuidv4 = (t) => e.check(/* @__PURE__ */ ur(Oa, t)), e.uuidv6 = (t) => e.check(/* @__PURE__ */ dr(Oa, t)), e.uuidv7 = (t) => e.check(/* @__PURE__ */ fr(Oa, t)), e.nanoid = (t) => e.check(/* @__PURE__ */ hr(ja, t)), e.guid = (t) => e.check(/* @__PURE__ */ cr(Da, t)), e.cuid = (t) => e.check(/* @__PURE__ */ gr(Ma, t)), e.cuid2 = (t) => e.check(/* @__PURE__ */ _r(Na, t)), e.ulid = (t) => e.check(/* @__PURE__ */ vr(Pa, t)), e.base64 = (t) => e.check(/* @__PURE__ */ Tr(Va, t)), e.base64url = (t) => e.check(/* @__PURE__ */ Er(Ha, t)), e.xid = (t) => e.check(/* @__PURE__ */ yr(Fa, t)), e.ksuid = (t) => e.check(/* @__PURE__ */ br(Ia, t)), e.ipv4 = (t) => e.check(/* @__PURE__ */ xr(La, t)), e.ipv6 = (t) => e.check(/* @__PURE__ */ Sr(Ra, t)), e.cidrv4 = (t) => e.check(/* @__PURE__ */ Cr(za, t)), e.cidrv6 = (t) => e.check(/* @__PURE__ */ wr(Ba, t)), e.e164 = (t) => e.check(/* @__PURE__ */ Dr(Ua, t)), e.datetime = (t) => e.check(ra(t)), e.date = (t) => e.check(aa(t)), e.time = (t) => e.check(sa(t)), e.duration = (t) => e.check(la(t));
});
function R(e) {
	return /* @__PURE__ */ or(Ta, e);
}
var z = /*@__PURE__*/ u("ZodStringFormat", (e, t) => {
	N.init(e, t), wa.init(e, t);
}), Ea = /*@__PURE__*/ u("ZodEmail", (e, t) => {
	Vt.init(e, t), z.init(e, t);
}), Da = /*@__PURE__*/ u("ZodGUID", (e, t) => {
	zt.init(e, t), z.init(e, t);
}), Oa = /*@__PURE__*/ u("ZodUUID", (e, t) => {
	Bt.init(e, t), z.init(e, t);
}), ka = /*@__PURE__*/ u("ZodURL", (e, t) => {
	Ht.init(e, t), z.init(e, t);
}), Aa = /*@__PURE__*/ u("ZodEmoji", (e, t) => {
	Ut.init(e, t), z.init(e, t);
}), ja = /*@__PURE__*/ u("ZodNanoID", (e, t) => {
	Wt.init(e, t), z.init(e, t);
}), Ma = /*@__PURE__*/ u("ZodCUID", (e, t) => {
	Gt.init(e, t), z.init(e, t);
}), Na = /*@__PURE__*/ u("ZodCUID2", (e, t) => {
	Kt.init(e, t), z.init(e, t);
}), Pa = /*@__PURE__*/ u("ZodULID", (e, t) => {
	qt.init(e, t), z.init(e, t);
}), Fa = /*@__PURE__*/ u("ZodXID", (e, t) => {
	Jt.init(e, t), z.init(e, t);
}), Ia = /*@__PURE__*/ u("ZodKSUID", (e, t) => {
	Yt.init(e, t), z.init(e, t);
}), La = /*@__PURE__*/ u("ZodIPv4", (e, t) => {
	en.init(e, t), z.init(e, t);
}), Ra = /*@__PURE__*/ u("ZodIPv6", (e, t) => {
	tn.init(e, t), z.init(e, t);
}), za = /*@__PURE__*/ u("ZodCIDRv4", (e, t) => {
	nn.init(e, t), z.init(e, t);
}), Ba = /*@__PURE__*/ u("ZodCIDRv6", (e, t) => {
	rn.init(e, t), z.init(e, t);
}), Va = /*@__PURE__*/ u("ZodBase64", (e, t) => {
	on.init(e, t), z.init(e, t);
}), Ha = /*@__PURE__*/ u("ZodBase64URL", (e, t) => {
	cn.init(e, t), z.init(e, t);
}), Ua = /*@__PURE__*/ u("ZodE164", (e, t) => {
	ln.init(e, t), z.init(e, t);
}), Wa = /*@__PURE__*/ u("ZodJWT", (e, t) => {
	dn.init(e, t), z.init(e, t);
}), Ga = /*@__PURE__*/ u("ZodNumber", (e, t) => {
	var n, r, i, a, o, s, c, l, u;
	fn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => _i(e, t, n, r), Ca(e, "ZodNumber", {
		gt(e, t) {
			return this.check(/* @__PURE__ */ Hr(e, t));
		},
		gte(e, t) {
			return this.check(/* @__PURE__ */ Ur(e, t));
		},
		min(e, t) {
			return this.check(/* @__PURE__ */ Ur(e, t));
		},
		lt(e, t) {
			return this.check(/* @__PURE__ */ Br(e, t));
		},
		lte(e, t) {
			return this.check(/* @__PURE__ */ Vr(e, t));
		},
		max(e, t) {
			return this.check(/* @__PURE__ */ Vr(e, t));
		},
		int(e) {
			return this.check(qa(e));
		},
		safe(e) {
			return this.check(qa(e));
		},
		positive(e) {
			return this.check(/* @__PURE__ */ Hr(0, e));
		},
		nonnegative(e) {
			return this.check(/* @__PURE__ */ Ur(0, e));
		},
		negative(e) {
			return this.check(/* @__PURE__ */ Br(0, e));
		},
		nonpositive(e) {
			return this.check(/* @__PURE__ */ Vr(0, e));
		},
		multipleOf(e, t) {
			return this.check(/* @__PURE__ */ Wr(e, t));
		},
		step(e, t) {
			return this.check(/* @__PURE__ */ Wr(e, t));
		},
		finite() {
			return this;
		}
	});
	let d = e._zod.bag;
	e.minValue = (n = Math.max((r = d.minimum) == null ? -Infinity : r, (i = d.exclusiveMinimum) == null ? -Infinity : i)) == null ? null : n, e.maxValue = (a = Math.min((o = d.maximum) == null ? Infinity : o, (s = d.exclusiveMaximum) == null ? Infinity : s)) == null ? null : a, e.isInt = ((c = d.format) == null ? "" : c).includes("int") || Number.isSafeInteger((l = d.multipleOf) == null ? .5 : l), e.isFinite = !0, e.format = (u = d.format) == null ? null : u;
});
function B(e) {
	return /* @__PURE__ */ Nr(Ga, e);
}
var Ka = /*@__PURE__*/ u("ZodNumberFormat", (e, t) => {
	pn.init(e, t), Ga.init(e, t);
});
function qa(e) {
	return /* @__PURE__ */ Pr(Ka, e);
}
var Ja = /*@__PURE__*/ u("ZodBoolean", (e, t) => {
	mn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => vi(e, t, n, r);
});
function V(e) {
	return /* @__PURE__ */ Fr(Ja, e);
}
var Ya = /*@__PURE__*/ u("ZodNull", (e, t) => {
	hn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => xi(e, t, n, r);
});
function Xa(e) {
	return /* @__PURE__ */ Ir(Ya, e);
}
var Za = /*@__PURE__*/ u("ZodAny", (e, t) => {
	gn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (e, t, n) => void 0;
});
function Qa() {
	return /* @__PURE__ */ Lr(Za);
}
var $a = /*@__PURE__*/ u("ZodUnknown", (e, t) => {
	_n.init(e, t), L.init(e, t), e._zod.processJSONSchema = (e, t, n) => void 0;
});
function eo() {
	return /* @__PURE__ */ Rr($a);
}
var to = /*@__PURE__*/ u("ZodNever", (e, t) => {
	vn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => wi(e, t, n, r);
});
function no(e) {
	return /* @__PURE__ */ zr(to, e);
}
var ro = /*@__PURE__*/ u("ZodArray", (e, t) => {
	bn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => zi(e, t, n, r), e.element = t.element, Ca(e, "ZodArray", {
		min(e, t) {
			return this.check(/* @__PURE__ */ Kr(e, t));
		},
		nonempty(e) {
			return this.check(/* @__PURE__ */ Kr(1, e));
		},
		max(e, t) {
			return this.check(/* @__PURE__ */ Gr(e, t));
		},
		length(e, t) {
			return this.check(/* @__PURE__ */ qr(e, t));
		},
		unwrap() {
			return this.element;
		}
	});
});
function H(e, t) {
	return /* @__PURE__ */ oi(ro, e, t);
}
var io = /*@__PURE__*/ u("ZodObject", (e, t) => {
	Tn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => Bi(e, t, n, r), x(e, "shape", () => t.shape), Ca(e, "ZodObject", {
		keyof() {
			return K(Object.keys(this._zod.def.shape));
		},
		catchall(e) {
			return this.clone({
				...this._zod.def,
				catchall: e
			});
		},
		passthrough() {
			return this.clone({
				...this._zod.def,
				catchall: eo()
			});
		},
		loose() {
			return this.clone({
				...this._zod.def,
				catchall: eo()
			});
		},
		strict() {
			return this.clone({
				...this._zod.def,
				catchall: no()
			});
		},
		strip() {
			return this.clone({
				...this._zod.def,
				catchall: void 0
			});
		},
		extend(e) {
			return de(this, e);
		},
		safeExtend(e) {
			return fe(this, e);
		},
		merge(e) {
			return pe(this, e);
		},
		pick(e) {
			return le(this, e);
		},
		omit(e) {
			return ue(this, e);
		},
		partial(...e) {
			return me(yo, this, e[0]);
		},
		required(...e) {
			return he(ko, this, e[0]);
		}
	});
});
function U(e, t) {
	return new io({
		type: "object",
		shape: e == null ? {} : e,
		...O(t)
	});
}
function W(e, t) {
	return new io({
		type: "object",
		shape: e,
		catchall: eo(),
		...O(t)
	});
}
var ao = /*@__PURE__*/ u("ZodUnion", (e, t) => {
	Dn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => Vi(e, t, n, r), e.options = t.options;
});
function oo(e, t) {
	return new ao({
		type: "union",
		options: e,
		...O(t)
	});
}
var so = /*@__PURE__*/ u("ZodDiscriminatedUnion", (e, t) => {
	ao.init(e, t), On.init(e, t);
});
function co(e, t, n) {
	return new so({
		type: "union",
		options: t,
		discriminator: e,
		...O(n)
	});
}
var lo = /*@__PURE__*/ u("ZodIntersection", (e, t) => {
	kn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => Hi(e, t, n, r);
});
function uo(e, t) {
	return new lo({
		type: "intersection",
		left: e,
		right: t
	});
}
var fo = /*@__PURE__*/ u("ZodTuple", (e, t) => {
	Mn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ui(e, t, n, r), e.rest = (t) => e.clone({
		...e._zod.def,
		rest: t
	});
});
function G(e, t, n) {
	let r = t instanceof M;
	return new fo({
		type: "tuple",
		items: e,
		rest: r ? t : null,
		...O(r ? n : t)
	});
}
var po = /*@__PURE__*/ u("ZodRecord", (e, t) => {
	In.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => Wi(e, t, n, r), e.keyType = t.keyType, e.valueType = t.valueType;
});
function mo(e, t, n) {
	return !t || !t._zod ? new po({
		type: "record",
		keyType: R(),
		valueType: e,
		...O(t)
	}) : new po({
		type: "record",
		keyType: e,
		valueType: t,
		...O(n)
	});
}
var ho = /*@__PURE__*/ u("ZodEnum", (e, t) => {
	Ln.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => Oi(e, t, n, r), e.enum = t.entries, e.options = Object.values(t.entries);
	let n = new Set(Object.keys(t.entries));
	e.extract = (e, r) => {
		let i = {};
		for (let r of e) if (n.has(r)) i[r] = t.entries[r];
		else throw Error(`Key ${r} not found in enum`);
		return new ho({
			...t,
			checks: [],
			...O(r),
			entries: i
		});
	}, e.exclude = (e, r) => {
		let i = { ...t.entries };
		for (let t of e) if (n.has(t)) delete i[t];
		else throw Error(`Key ${t} not found in enum`);
		return new ho({
			...t,
			checks: [],
			...O(r),
			entries: i
		});
	};
});
function K(e, t) {
	return new ho({
		type: "enum",
		entries: Array.isArray(e) ? Object.fromEntries(e.map((e) => [e, e])) : e,
		...O(t)
	});
}
var go = /*@__PURE__*/ u("ZodLiteral", (e, t) => {
	Rn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => ki(e, t, n, r), e.values = new Set(t.values), Object.defineProperty(e, "value", { get() {
		if (t.values.length > 1) throw Error("This schema contains multiple valid literal values. Use `.values` instead.");
		return t.values[0];
	} });
});
function q(e, t) {
	return new go({
		type: "literal",
		values: Array.isArray(e) ? e : [e],
		...O(t)
	});
}
var _o = /*@__PURE__*/ u("ZodTransform", (e, t) => {
	zn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ii(e, t, n, r), e._zod.parse = (n, r) => {
		if (r.direction === "backward") throw new f(e.constructor.name);
		n.addIssue = (r) => {
			if (typeof r == "string") n.issues.push(be(r, n.value, t));
			else {
				let t = r;
				t.fatal && (t.continue = !1), t.code != null || (t.code = "custom"), t.input != null || (t.input = n.value), t.inst != null || (t.inst = e), n.issues.push(be(t));
			}
		};
		let i = t.transform(n.value, n);
		return i instanceof Promise ? i.then((e) => (n.value = e, n.fallback = !0, n)) : (n.value = i, n.fallback = !0, n);
	};
});
function vo(e) {
	return new _o({
		type: "transform",
		transform: e
	});
}
var yo = /*@__PURE__*/ u("ZodOptional", (e, t) => {
	Vn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => $i(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
});
function bo(e) {
	return new yo({
		type: "optional",
		innerType: e
	});
}
var xo = /*@__PURE__*/ u("ZodExactOptional", (e, t) => {
	Hn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => $i(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
});
function So(e) {
	return new xo({
		type: "optional",
		innerType: e
	});
}
var Co = /*@__PURE__*/ u("ZodNullable", (e, t) => {
	Un.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => Gi(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
});
function wo(e) {
	return new Co({
		type: "nullable",
		innerType: e
	});
}
var To = /*@__PURE__*/ u("ZodDefault", (e, t) => {
	Wn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => qi(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
});
function Eo(e, t) {
	return new To({
		type: "default",
		innerType: e,
		get defaultValue() {
			return typeof t == "function" ? t() : T(t);
		}
	});
}
var Do = /*@__PURE__*/ u("ZodPrefault", (e, t) => {
	Kn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ji(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
});
function Oo(e, t) {
	return new Do({
		type: "prefault",
		innerType: e,
		get defaultValue() {
			return typeof t == "function" ? t() : T(t);
		}
	});
}
var ko = /*@__PURE__*/ u("ZodNonOptional", (e, t) => {
	qn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ki(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
});
function Ao(e, t) {
	return new ko({
		type: "nonoptional",
		innerType: e,
		...O(t)
	});
}
var jo = /*@__PURE__*/ u("ZodCatch", (e, t) => {
	Yn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => Yi(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
});
function Mo(e, t) {
	return new jo({
		type: "catch",
		innerType: e,
		catchValue: typeof t == "function" ? t : () => t
	});
}
var No = /*@__PURE__*/ u("ZodPipe", (e, t) => {
	Xn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => Xi(e, t, n, r), e.in = t.in, e.out = t.out;
});
function Po(e, t) {
	return new No({
		type: "pipe",
		in: e,
		out: t
	});
}
var Fo = /*@__PURE__*/ u("ZodReadonly", (e, t) => {
	Qn.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => Zi(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
});
function Io(e) {
	return new Fo({
		type: "readonly",
		innerType: e
	});
}
var Lo = /*@__PURE__*/ u("ZodCustom", (e, t) => {
	er.init(e, t), L.init(e, t), e._zod.processJSONSchema = (t, n, r) => Pi(e, t, n, r);
});
function Ro(e, t = {}) {
	return /* @__PURE__ */ si(Lo, e, t);
}
function zo(e, t) {
	return /* @__PURE__ */ ci(e, t);
}
//#endregion
//#region ../config/src/lib/json-schema.ts
var Bo = /* @__PURE__ */ e(n(), 1), Vo = /* @__PURE__ */ new WeakMap(), Ho = /* @__PURE__ */ new Map(), Uo = 0;
function Wo(e) {
	let t = Vo.get(e);
	return t || (t = ta(e, {
		io: "input",
		override: ({ zodSchema: e, jsonSchema: t }) => {
			var n;
			let r = (n = ar.get(e)) == null ? void 0 : n.refSchema;
			if (r) {
				let e = String(Uo++);
				Ho.set(e, r), t.refSchemaId = e;
			}
		}
	}), Vo.set(e, t)), t;
}
function Go(e) {
	return e.refSchemaId === void 0 ? void 0 : Ho.get(e.refSchemaId);
}
function Ko(e, t) {
	switch (e.type) {
		case "object": return typeof t == "object" && !!t && !Array.isArray(t);
		case "array": return Array.isArray(t);
		case "string": return typeof t == "string";
		case "number":
		case "integer": return typeof t == "number";
		case "boolean": return typeof t == "boolean";
		default: return !0;
	}
}
function qo(e, t) {
	var n;
	if (t === void 0) return;
	let r = (n = e.anyOf) == null ? e.oneOf : n;
	if (r) {
		let e = Jo(r, t);
		return e ? qo(e, t) : t;
	}
	if (e.type === "object" && e.properties) {
		if (typeof t != "object" || !t || Array.isArray(t)) return t;
		let n = t, r = {};
		for (let [t, i] of Object.entries(e.properties)) t in n && (r[t] = qo(i, n[t]));
		return r;
	}
	if (e.type === "array") {
		var i;
		let n = Array.isArray(t) ? t : [t], r = e.prefixItems;
		if (r) return n.map((t, n) => {
			var i, a;
			return qo((i = (a = r[n]) == null ? e.items : a) == null ? {} : i, t);
		});
		let a = (i = e.items) == null ? {} : i;
		return n.map((e) => qo(a, e));
	}
	return typeof t == "string" ? Yo(t, e.type) : t;
}
function Jo(e, t) {
	if (typeof t != "object" || !t || Array.isArray(t)) return;
	let n = t, r = e.filter((e) => {
		var t;
		let r = Object.entries((t = e.properties) == null ? {} : t).filter(([, e]) => e.const !== void 0);
		return r.length > 0 && r.every(([e, t]) => {
			let r = n[e];
			return r === t.const || r === String(t.const);
		});
	});
	return r.length === 1 ? r[0] : void 0;
}
function Yo(e, t) {
	return t === "number" || t === "integer" ? e.trim() === "" ? e : Number(e) : t === "boolean" ? /^(1|true|yes|on)$/i.test(e) : e;
}
//#endregion
//#region ../config/src/lib/local-storage-codec.ts
var Xo = "efp-";
function Zo(e, t, n = {}) {
	var r;
	return e.parse(Qo(e, t, (r = n.prefix) == null ? Xo : r));
}
function Qo(e, t, n) {
	var r;
	let i = {};
	for (let [a, o] of Object.entries((r = Wo(e).properties) == null ? {} : r)) {
		let e = t.getItem(n + a);
		e !== null && (i[a] = $o(o, e));
	}
	return i;
}
function $o(e, t) {
	if (e.type === "object" || e.type === "array" || e.anyOf || e.oneOf) try {
		return JSON.parse(t);
	} catch {
		return t;
	}
	return Yo(t, e.type);
}
//#endregion
//#region ../config/src/lib/debug-settings.ts
var es = (0, Bo.default)("efp:config");
function ts(e, t = {}) {
	var n, r, i;
	let a = (n = t.prefix) == null ? Xo : n, o = Wo(e), s = new Set((r = o.required) == null ? [] : r), c = {};
	for (let [e, t] of Object.entries((i = o.properties) == null ? {} : i)) {
		let n = ns(t, !s.has(e));
		if (!n) {
			es("toDebugSettings", "no editor for field, skipping", e, t.type);
			continue;
		}
		c[a + e] = n;
	}
	return c;
}
function ns(e, t) {
	if (e.type === "string" && e.enum) return {
		type: "enum",
		values: e.enum,
		optional: t
	};
	if (e.type === "boolean" || e.type === "string") return {
		type: e.type,
		optional: t
	};
}
//#endregion
//#region ../schema/src/lib/booth.ts
var rs = W({
	id: B(),
	name: R(),
	title: R().optional(),
	externalId: R().optional(),
	exhibitors: H(B()).optional(),
	meta: mo(R(), R()).optional(),
	poiTypeId: B().optional()
}), is = rs.extend({
	status: K(["onhold", "reserved"]).optional(),
	size: R().optional(),
	price: R().optional(),
	availColor: R().optional(),
	soldColor: R().optional(),
	holdColor: R().optional(),
	buyUrl: R().optional(),
	reserveUrl: R().optional(),
	type: R().optional(),
	labelColor: R().optional()
}), as = oo([rs.extend({
	description: R().optional(),
	color: R().optional(),
	special: q(!0)
}), is]), os = U({
	x: B().optional(),
	y: B().optional(),
	lat: B().optional(),
	lng: B().optional(),
	floor: R().optional(),
	bearing: B().optional(),
	zoomTime: B().optional(),
	pitchTime: B().optional(),
	pitchDegrees: B().optional()
}), ss = W({
	id: B(),
	name: R(),
	sponsorship: V().optional()
}), cs = W({
	fileName: R(),
	path: R().meta({ asset: !0 })
}), ls = R().meta({ asset: !0 }), us = U({
	url: R().meta({ asset: !0 }),
	smallUrl: R().optional().meta({
		asset: !0,
		optionalAsset: !0
	}),
	tinyUrl: R().optional().meta({
		asset: !0,
		optionalAsset: !0
	})
}), ds = ls.or(us), fs = W({
	id: B(),
	name: R(),
	externalId: R(),
	featured: V(),
	advertise: V(),
	description: R(),
	address: R(),
	address2: R(),
	city: R(),
	state: R(),
	zip: R(),
	country: R(),
	phone1: R(),
	website: R(),
	facebook: R(),
	instagram: R(),
	linkedin: R(),
	twitter: R(),
	googlePlus: R(),
	xing: R(),
	youtube: R(),
	email: R(),
	privateEmail: R(),
	order: B(),
	logo: ds,
	logoInBooth: V(),
	logoAspectRatio: B(),
	gallery: H(ls),
	marketMaterials: H(cs),
	categories: H(B()),
	leadingImageUrl: R().meta({ asset: !0 }),
	videoUrl: R(),
	rebookingState: B(),
	rebookingNote: R()
}).partial().required({
	id: !0,
	name: !0
}), ps = U({
	categories: H(R()).optional(),
	poiType: R().optional(),
	poiTypes: H(R()).optional(),
	exhibitors: V().optional(),
	searchButton: R().optional()
}), ms = W({
	enableExperimentalMaplibre: V().optional(),
	enableExperimentalOutdoorMarkers: V().optional(),
	customSetKiosk: R().optional(),
	hideBoothBadges: V().optional(),
	busRoutes: V().optional()
}), hs = W({
	styleUrl: R(),
	style: Qa(),
	offline: V()
}).partial(), gs = K(["light", "dark"]), _s = U({
	lat: B(),
	lng: B(),
	x: B(),
	y: B()
}), vs = W({
	p0: _s.optional(),
	p1: _s.optional(),
	p2: _s.optional(),
	p3: _s.optional(),
	bearing: B().optional(),
	snapThreshold: B().optional(),
	style: gs.optional(),
	type: q("maplibre").optional()
}), ys = W({
	layer: R(),
	data: R(),
	points: H(H(eo()))
}), bs = W({
	properties: W({
		config: vs.optional(),
		mpViewbox: H(B()).optional(),
		useMaplibre: V().optional()
	}).optional(),
	images: H(ys).optional()
}), xs = G([
	B(),
	B(),
	B().optional()
]), Ss = G([
	B(),
	B(),
	B()
]), Cs = U({
	positions: H(xs),
	cells: H(Ss)
}), ws = W({
	boothLabelColor: R().optional(),
	boothBorderColor: R().optional(),
	backgroundColor: R().optional(),
	boothBorderWidth: B().optional(),
	heatmapColors: H(R()).optional(),
	maxZoom: B().optional(),
	fpVer: R().optional()
}), Ts = W({ dataSize: B().optional() }), Es = W({
	x: B(),
	y: B(),
	width: B(),
	height: B(),
	angle: B().optional()
}), Ds = W({
	x1: B(),
	y1: B(),
	x2: B(),
	y2: B(),
	angle: B().optional()
}), Os = W({
	name: R(),
	description: R().optional(),
	frozen: V().optional(),
	mode: B().nullish(),
	rect: Ds.nullish(),
	viewbox: Ds.nullish(),
	floorIndex: B().nullish()
}), ks = {
	__fp: R().optional().meta({ svgAsset: !0 }),
	__fpPaths: H(Cs).optional(),
	__fpGeo: bs.optional(),
	__fpSettings: ws.optional(),
	__fpStat: Ts.optional(),
	__fpVersion: B().optional()
}, As = W({ ...ks }), js = U({ $ref: R() }).meta({ refSchema: As }), Ms = W({
	...ks,
	__fpPending: V().optional(),
	__viewbox: Es.optional(),
	__fpLayers: H(Os).optional(),
	__fpLayersMode: B().optional(),
	__fpDefaultLayer: R().optional()
}), Ns = U({ $ref: R() }).meta({ refSchema: Ms }), Ps = U({
	enabled: V().optional(),
	variant: K(["booths", "yah"]).optional(),
	kiosk: V().optional()
}), Fs = U({
	controls: V().optional(),
	levels: V().optional(),
	header: V().optional(),
	overlay: V().optional(),
	searchButtons: V().optional()
}), Is = K([
	"bookmarks",
	"visited",
	"sessions",
	"exhibitors",
	"speakers",
	"tours",
	"language"
]), Ls = U({
	items: H(R()).optional(),
	from: R().optional(),
	fromBookmarks: V().optional()
}), Rs = U({
	tracks: H(R()).optional(),
	venues: H(R()).optional(),
	date: K([
		"today",
		"tomorrow",
		"past"
	]).optional(),
	time: K([
		"morning",
		"midday",
		"afternoon"
	]).optional(),
	bookmarked: V().optional(),
	live: V().optional()
}), zs = U({
	x: B(),
	y: B(),
	z: oo([B(), R()]).optional(),
	angle: B().optional(),
	lat: B().optional(),
	lng: B().optional()
}), Bs = co("name", [
	U({
		name: q("selectBooth"),
		args: G([R()])
	}),
	U({
		name: q("selectExhibitor"),
		args: G([R()])
	}),
	U({
		name: q("changeLanguage"),
		args: G([R()])
	}),
	U({
		name: q("selectCategory"),
		args: G([R()])
	}),
	U({
		name: q("select"),
		args: G([R()])
	}),
	U({
		name: q("showList"),
		args: G([Is])
	}),
	U({
		name: q("showSessions"),
		args: G([Rs])
	}),
	U({
		name: q("selectTour"),
		args: G([R()])
	}),
	U({
		name: q("openPlanner"),
		args: G([Ls])
	}),
	U({
		name: q("startBuildRoute"),
		args: G([])
	}),
	U({
		name: q("setCamera"),
		args: G([os])
	}),
	U({
		name: q("setVisibility"),
		args: G([Fs.refine((e) => Object.keys(e).length > 0)])
	}),
	U({
		name: q("selectRoute"),
		args: G([H(R()).min(2)])
	}),
	U({
		name: q("selectAccessibleRoute"),
		args: G([H(R()).min(2)])
	}),
	U({
		name: q("showPathway"),
		args: G([R(), H(R())])
	}),
	U({
		name: q("selectCurrentPosition"),
		args: G([
			zs,
			V(),
			B().optional()
		])
	})
]), Vs = U({
	x: B().optional(),
	y: B().optional(),
	z: oo([R(), B()]).nullish(),
	heading: B().optional(),
	lat: B().optional(),
	lng: B().optional(),
	iconSizePercent: B().optional(),
	uiScale: B().optional(),
	mapRollDegrees: B().optional(),
	mapInitialPtScale: B().optional(),
	mapPtScale: B().optional(),
	mapCenterX: B().optional(),
	mapCenterY: B().optional(),
	mapPitch: B().optional(),
	mapCenterLng: B().optional(),
	mapCenterLat: B().optional(),
	mapZoom: B().optional(),
	mapBearingDegrees: B().optional(),
	mapPitchDegrees: B().optional()
}), Hs = W({
	id: B(),
	name: R(),
	parentId: B().optional(),
	iconUrl: R().optional().meta({
		asset: !0,
		optionalAsset: !0
	})
}), Us = W({ photoFile: R().optional().meta({ asset: !0 }) }), Ws = W({
	id: B(),
	name: R(),
	externalId: R().optional(),
	description: R().optional(),
	exhibitorId: B().optional(),
	boothId: B().optional(),
	startDate: R().optional(),
	endDate: R().optional(),
	link: R().optional(),
	logoFile: R().optional().meta({ asset: !0 }),
	speakers: H(Us).optional(),
	tracks: H(eo()).optional()
}), Gs = W({
	id: oo([B(), R()]).optional(),
	type: R(),
	name: R().optional(),
	visible: V().optional(),
	count: B().optional(),
	linkUrl: R().optional()
}), Ks = W({
	id: R().optional(),
	type: R(),
	name: R(),
	visible: V().optional(),
	builtIn: V().optional(),
	order: B().optional(),
	children: H(Gs).optional()
}), qs = W({
	isExplicit: V().optional(),
	sortType: K(["custom", "alphabetical"]).optional(),
	searchButtons: H(Ks).optional()
}), Js = W({
	x: B(),
	y: B(),
	layer: R().optional()
}), Ys = W({ __wfData: W({
	lines: H(W({
		p0: Js,
		p1: Js,
		weight: B().optional(),
		virtual: V().optional(),
		unaccessible: V().optional(),
		unidirection: V().optional(),
		virtualLength: B().optional()
	})).optional(),
	lineEnds: H(Js).optional(),
	walls: H(eo()).optional()
}).optional() }), Xs = U({ $ref: R() }).meta({ refSchema: Ys }), Zs = W({
	weight: oo([R(), B()]).optional(),
	style: R().optional(),
	url: R().meta({ asset: !0 }).optional()
}), Qs = K([
	"ask",
	"granted",
	"denied"
]), $s = U({
	expo: R(),
	intents: H(Bs),
	fpSvgJsRef: Ns.nullable(),
	fpSvgLayerJsRefs: mo(R(), js),
	wfDataJsRef: Xs.nullable(),
	noFeatured: V(),
	isTrial: V(),
	expoFpAd: V(),
	free: V(),
	trialExpiresAt: R(),
	title: R(),
	subtitle: R(),
	homeUrl: R(),
	registerUrl: R(),
	startDate: R(),
	endDate: R(),
	logo: R().meta({
		asset: !0,
		optionalAsset: !0
	}),
	gallery: H(ls),
	gtag: R(),
	boothTerm: R(),
	levelTerm: R(),
	reserveButtonTerm: R(),
	exhibitorTerm: R(),
	exhibitorTermPlural: R(),
	locale: R(),
	booths: H(as),
	exhibitors: H(fs),
	categories: H(ss),
	poiTypes: H(Hs),
	reserveInstructions: R(),
	sendLoginLinkUrl: R(),
	trackerUrl: R(),
	hideWayInformation: V(),
	hideDirections: V(),
	hideExhibitors: V(),
	onlyFeaturedExhibitors: V(),
	hideExhibitorBoothNumber: V(),
	dimensionless: V(),
	hideCategoriesLink: V(),
	hideEventHomeLink: V(),
	hideRegisterToAttendLink: V(),
	hideDownloadPdfLink: V(),
	hideBookmarksLink: V(),
	hideBookmarks: V(),
	hideLanguage: V(),
	hideLanguageLink: V(),
	autoTrackingGps: V(),
	enableIPS: V(),
	allow3dView: V(),
	hide3dMapDefault: V(),
	hideModeSwitchButton: V(),
	isRebooking: V(),
	events: H(Ws),
	customCss: R().meta({ cssAsset: !0 }),
	customCssFonts: H(Zs),
	showLevelLabel: V(),
	showCategories: V(),
	showCompaniesAndBooths: V(),
	showOtherSpaces: V(),
	hideShareButton: V(),
	viewOptimizationLevel: B(),
	shortLevelName: V(),
	searchText: R(),
	filterButtonsConfig: qs,
	enableRotation: V(),
	alwaysShowSidebar: V(),
	customKioskQrCodeUrl: R(),
	mobileLocationProvider: R().nullable(),
	...ms.shape,
	debugMode: V(),
	debugPattern: R(),
	showDebugButton: V(),
	previewMode: V(),
	noOverlay: V(),
	offHistory: V(),
	ignoreQuery: V(),
	consent: Qs,
	viewerMode: V(),
	disableRuntimeAlerts: V(),
	maplibre: hs,
	monochrome: V(),
	hideHeaderLogo: V(),
	hideLogoInBooth: V(),
	disableFeatured: V(),
	disableBookmarked: V(),
	disableGps: V(),
	camera: os,
	visibility: Fs,
	filters: ps,
	heatmap: Ps,
	kiosk: Vs
}), ec = { allowConsent: V().optional() }, tc = { validateSchema: V().optional() }, nc = W({ __data: W({
	...$s.partial().shape,
	...ec,
	flags: ms.optional().meta({ description: "deprecated, use root-level fields" })
}).optional() }), rc = W({
	...$s.partial().required({ expo: !0 }).shape,
	...ec,
	legacyDataUrlBase: R().optional(),
	legacyDataVersion: oo([
		R(),
		Xa(),
		U({ $ref: R() })
	]).optional()
}), ic = $s.partial().pick({
	previewMode: !0,
	noOverlay: !0,
	offHistory: !0,
	ignoreQuery: !0,
	consent: !0,
	viewerMode: !0,
	disableRuntimeAlerts: !0,
	maplibre: !0
}).extend(ec), ac = $s.partial().pick({
	enableExperimentalMaplibre: !0,
	enableExperimentalOutdoorMarkers: !0,
	intents: !0,
	consent: !0,
	monochrome: !0,
	hideHeaderLogo: !0,
	hideLogoInBooth: !0,
	disableFeatured: !0,
	disableBookmarked: !0,
	disableGps: !0,
	camera: !0,
	visibility: !0,
	filters: !0,
	heatmap: !0,
	kiosk: !0
}).extend(tc), oc = $s.partial().pick({
	enableExperimentalMaplibre: !0,
	enableExperimentalOutdoorMarkers: !0,
	debugMode: !0,
	debugPattern: !0,
	showDebugButton: !0,
	viewerMode: !0,
	previewMode: !0
}).extend({ uiScale: B().min(.8).max(1.4).optional().catch(void 0) }).extend(tc), sc = {
	expo: "",
	noFeatured: !1,
	isTrial: !1,
	expoFpAd: !1,
	free: !1,
	trialExpiresAt: "",
	title: "",
	subtitle: "",
	homeUrl: "",
	registerUrl: "",
	startDate: "",
	endDate: "",
	logo: "",
	gallery: [],
	gtag: "",
	boothTerm: "",
	levelTerm: "",
	reserveButtonTerm: "",
	exhibitorTerm: "",
	exhibitorTermPlural: "",
	locale: "",
	booths: [],
	exhibitors: [],
	categories: [],
	poiTypes: [],
	events: [],
	reserveInstructions: "",
	sendLoginLinkUrl: "",
	trackerUrl: "",
	hideWayInformation: !1,
	hideDirections: !1,
	hideExhibitors: !1,
	onlyFeaturedExhibitors: !1,
	hideExhibitorBoothNumber: !1,
	dimensionless: !1,
	hideCategoriesLink: !1,
	hideEventHomeLink: !1,
	hideRegisterToAttendLink: !1,
	hideDownloadPdfLink: !1,
	hideBookmarksLink: !1,
	hideBookmarks: !1,
	hideLanguage: !1,
	hideLanguageLink: !1,
	autoTrackingGps: !1,
	enableIPS: !1,
	allow3dView: !1,
	hide3dMapDefault: !1,
	hideModeSwitchButton: !1,
	isRebooking: !1,
	customCss: "",
	customCssFonts: [],
	showLevelLabel: !1,
	showCategories: !1,
	showCompaniesAndBooths: !1,
	showOtherSpaces: !1,
	hideShareButton: !1,
	viewOptimizationLevel: 0,
	shortLevelName: !1,
	searchText: "",
	filterButtonsConfig: {},
	enableRotation: !1,
	alwaysShowSidebar: !1,
	customKioskQrCodeUrl: "",
	mobileLocationProvider: null,
	enableExperimentalMaplibre: void 0,
	enableExperimentalOutdoorMarkers: !1,
	customSetKiosk: "",
	hideBoothBadges: !1,
	busRoutes: !1,
	debugMode: !1,
	debugPattern: "",
	showDebugButton: !1,
	previewMode: !1,
	noOverlay: !1,
	offHistory: !1,
	ignoreQuery: !1,
	consent: "ask",
	viewerMode: !1,
	disableRuntimeAlerts: !0,
	monochrome: !1,
	hideHeaderLogo: !1,
	hideLogoInBooth: !1,
	disableFeatured: !1,
	disableBookmarked: !1,
	disableGps: !1,
	camera: {},
	visibility: {},
	filters: {},
	heatmap: {},
	kiosk: {},
	maplibre: {},
	intents: [],
	fpSvgJsRef: null,
	fpSvgLayerJsRefs: {},
	wfDataJsRef: null
};
//#endregion
//#region ../config/src/lib/url-codec.ts
function cc(e, t) {
	let n = lc(e, t), r = [], i = e.safeParse(n);
	for (; !i.success;) {
		let t = /* @__PURE__ */ new Set();
		for (let e of i.error.issues) {
			var a;
			let r = String((a = e.path[0]) == null ? "" : a);
			r in n && t.add(r);
		}
		if (!t.size) throw i.error;
		for (let e of t) delete n[e], r.push(e);
		i = e.safeParse(n);
	}
	return {
		value: i.data,
		invalidKeys: r
	};
}
function lc(e, t) {
	return qo(Wo(e), dc(bc(t)));
}
function uc(e) {
	return dc(bc(e));
}
function dc(e) {
	let t = {};
	for (let [n, r] of e) gc(t, fc(n), r);
	return t;
}
function fc(e) {
	return e.replace(/\]/g, "").split("[");
}
var pc = /* @__PURE__ */ new Set([
	"__proto__",
	"constructor",
	"prototype"
]), mc = 20;
function hc(e) {
	return /^\d+$/.test(e) && Number(e) <= mc;
}
function gc(e, t, n) {
	let r = e, i = "", a = e;
	for (let e = 0; e < t.length; e++) {
		let o = t[e];
		if (pc.has(o)) return;
		let s = e === t.length - 1, c = o === "";
		if (Array.isArray(a) && !c && !hc(o) && (a = _c(a, r, i)), s) {
			c && Array.isArray(a) ? a.push(n) : a[o] = n;
			return;
		}
		let l = t[e + 1], u = l === "" || hc(l);
		if (c && Array.isArray(a)) {
			let e = u ? [] : {};
			a.push(e), r = a, i = String(a.length - 1), a = e;
		} else {
			let e = a, t = e[o];
			(typeof t != "object" || !t) && (e[o] = u ? [] : {}), r = a, i = o, a = e[o];
		}
	}
}
function _c(e, t, n) {
	let r = {};
	return e.forEach((e, t) => {
		r[t] = e;
	}), t[n] = r, r;
}
function vc(e) {
	let t = new URLSearchParams();
	return yc(e, "", t), t.toString();
}
function yc(e, t, n) {
	if (e != null) {
		if (Array.isArray(e)) {
			e.forEach((e, r) => yc(e, `${t}[${r}]`, n));
			return;
		}
		if (typeof e == "object") {
			for (let [r, i] of Object.entries(e)) yc(i, t ? `${t}[${r}]` : r, n);
			return;
		}
		n.append(t, String(e));
	}
}
function bc(e) {
	if (e instanceof URL) return e.searchParams;
	let t = e.indexOf("?"), n = t >= 0 ? e.slice(t + 1) : e, r = n.indexOf("#");
	return new URLSearchParams(r >= 0 ? n.slice(0, r) : n);
}
//#endregion
//#region ../config/src/lib/url-intents.ts
var xc = new Set(Bs.options.map((e) => e.shape.name.value));
function Sc(e) {
	let t = [], n = [];
	for (let [r, i] of Object.entries(uc(e))) {
		if (!xc.has(r)) continue;
		let e = Array.isArray(i) ? i : [i], a = (i === "" ? [[]] : [e, [e]]).map((e) => Bs.safeParse(qo(Wo(Bs), {
			name: r,
			args: e
		}))).find((e) => e.success);
		a ? t.push(a.data) : n.push(r);
	}
	return {
		intents: t,
		invalidKeys: n
	};
}
function Cc(e) {
	let t = e.args.length === 1 ? e.args[0] : e.args;
	return vc({ [e.name]: t }) || e.name;
}
//#endregion
//#region ../config/src/lib/deprecated-url-params.ts
var wc = U({
	noOverlay: V().optional(),
	allowConsent: V().optional(),
	agenda: R().optional()
}), Tc = Object.keys(wc.shape);
function Ec(e, t = kc(e)) {
	var n;
	let { value: r } = cc(wc, e), i = {};
	return r.noOverlay !== void 0 && ((n = t.visibility) == null ? void 0 : n.overlay) === void 0 && (i.noOverlay = r.noOverlay), r.allowConsent !== void 0 && t.consent === void 0 && (i.consent = r.allowConsent ? "granted" : "denied"), r.agenda !== void 0 && !Dc(t.intents) && (i.intents = [{
		name: "showList",
		args: ["sessions"]
	}]), i;
}
function Dc(e) {
	return (e == null ? [] : e).some((e) => e.name === "showList");
}
var Oc = ac.pick({
	visibility: !0,
	consent: !0,
	intents: !0
});
function kc(e) {
	var t;
	let { value: n } = cc(Oc, e);
	return {
		visibility: n.visibility,
		consent: n.consent,
		intents: [...(t = n.intents) == null ? [] : t, ...Sc(e).intents]
	};
}
//#endregion
//#region ../utils/src/lib/clone.ts
function Ac(e) {
	return "structuredClone" in globalThis ? globalThis.structuredClone(e) : JSON.parse(JSON.stringify(e));
}
//#endregion
//#region ../utils/src/lib/deep-freeze.ts
function jc(e) {
	return typeof e != "object" || !e ? e : (Object.getOwnPropertyNames(e).forEach((t) => {
		let n = e[t];
		n && typeof n == "object" && jc(n);
	}), Object.freeze(e));
}
//#endregion
//#region ../utils/src/lib/fetch-with-retry.ts
var Mc, Nc = async function(...t) {
	return Mc || (Mc = typeof window < "u" && typeof document < "u" ? window.fetch.bind(window) : (await import("./fetch-retry.umd-DjnZ3Ut9.js").then((t) => /* @__PURE__ */ e(t.default, 1))).default(globalThis.fetch)), Mc(...t);
};
//#endregion
//#region ../utils/src/lib/import-node-module.ts
async function Pc(e) {
	var t;
	if (typeof process > "u" || !((t = process.versions) != null && t.node)) throw Error("importNodeModule can only be used in Node.js environments");
	try {
		return await Function("moduleName", "return import(moduleName)")(e);
	} catch {
		return await import(
			/* @vite-ignore */
			/* webpackIgnore: true */
			e
);
	}
}
//#endregion
//#region ../utils/src/lib/import-fs-promises.ts
async function Fc() {
	return Pc("node:fs/promises");
}
//#endregion
//#region ../utils/src/lib/import-js-as-json.ts
var Ic = (0, Bo.default)("efp:utils:importJsAsJson");
async function Lc(e) {
	return await import(
		/* @vite-ignore */
		e
);
}
var Rc = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : {}, zc = [
	"window",
	"self",
	"globalThis"
];
function Bc(e, t) {
	var n;
	if (typeof Proxy > "u") throw Error("evalJsToJson requires Proxy, which is unavailable in this environment");
	let r = (n = t == null ? void 0 : t.globals) == null ? {} : n, i = { ...r }, a = new Proxy(i, {
		has: () => !0,
		get: (e, t) => {
			if (t !== Symbol.unscopables) return typeof t == "string" && zc.includes(t) ? a : t in e ? e[t] : Rc[t];
		},
		set: (e, t, n) => (e[t] = n, !0)
	});
	return Function("__scope__", `with(__scope__){${e}\n}`)(a), Uc(i, /* @__PURE__ */ new Set([...zc, ...Object.keys(r)]), t == null ? void 0 : t.pick);
}
async function Vc(e, t) {
	var n;
	return Ic("Loading JS from", e), Bc(await Hc(e, (n = t == null ? void 0 : t.signal) == null ? null : n), t);
}
async function Hc(e, t) {
	let n = new URL(e);
	if (n.protocol === "file:") {
		Ic("Read from file system", e);
		let { readFile: r } = await Lc("node:fs/promises");
		return r(n, {
			encoding: "utf-8",
			signal: t == null ? void 0 : t
		});
	}
	Ic("Fetch", e);
	let r = await Nc(e, { signal: t });
	if (!r.ok) throw Error(`Failed to fetch JS from ${e} (HTTP ${r.status})`);
	return r.text();
}
function Uc(e, t, n) {
	let r = {}, i = n == null ? Object.keys(e).filter((e) => !t.has(e)) : n;
	for (let t of i) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = e[t]);
	return r;
}
//#endregion
//#region ../utils/src/lib/import-json.ts
var Wc = (0, Bo.default)("efp:utils:importJson"), Gc = /* @__PURE__ */ new WeakSet(), Kc;
function qc() {
	var e;
	if (Kc === void 0) try {
		Kc = Function("url", "return import(url, { with: { type: \"json\" } });");
	} catch {
		Wc("Dynamic import not available"), Kc = null;
	}
	return (e = Kc) == null ? void 0 : e;
}
async function Jc(e, t) {
	var n, r, i, a;
	let o = (n = t == null ? void 0 : t.forceFetch) != null && n, s = (r = t == null ? void 0 : t.fetchCache) == null ? /* @__PURE__ */ new Map() : r, c = (i = t == null ? void 0 : t.signal) == null ? null : i, l, u = o ? void 0 : qc();
	if (u) try {
		Wc("Dynamic import", e), l = (await u(e)).default;
	} catch {
		Wc("Dynamic import not available"), Kc = null;
	}
	return l === void 0 && (e.startsWith("file:") && !o ? (Wc("Read from file system", e), l = await Xc(new URL(e))) : (Wc("Fetch", e), l = await Yc(e, s, c))), t == null || (a = t.importCallback) == null || a.call(t, e), typeof l == "object" && l && !Gc.has(l) && (jc(l), Gc.add(l)), l;
}
async function Yc(e, t, n) {
	let r = "__loadJson__" + e;
	if (t.has(r)) return t.get(r);
	let i = (async () => {
		let t = await Nc(e, { signal: n });
		if (!t.ok) throw Error(`Failed to fetch JSON from ${e}`);
		return await t.json();
	})();
	return t.set(r, i), i.catch(() => {
		t.get(r) === i && t.delete(r);
	}), i;
}
async function Xc(e) {
	if (e.protocol !== "file:") throw Error(`readJsonFromFs only supports file: URLs, got ${e.href}`);
	let t = await (await Fc()).readFile(e, { encoding: "utf-8" });
	return JSON.parse(t);
}
//#endregion
//#region ../utils/src/lib/safe-decode.ts
function Zc(e) {
	try {
		return decodeURIComponent(e);
	} catch {
		return e;
	}
}
//#endregion
//#region ../config/src/lib/legacy-url.ts
var Qc = /* @__PURE__ */ new Set([...Object.keys(ac.shape), ...Bs.options.map((e) => e.shape.name.value)]), $c = /* @__PURE__ */ new Set([
	"blue-dot",
	"viewermode",
	"previewMode",
	"uiscale",
	"resetuiscale"
]), el = /* @__PURE__ */ new Set(/* @__PURE__ */ "centerxy.center.z.bearing.zoomtime.roll.hide.lang.preview.copy_exh.pathway.booths.b.ba.sw.yah.k.kiosk_heading.kiosk_lat.kiosk_lng.kiosk_iconSizePercent.kiosk_uiScale.kiosk_mapRollDegrees.kiosk_mapInitialPtScale.kiosk_mapPtScale.kiosk_mapCenterX.kiosk_mapCenterY.kiosk_mapPitch".split(".")), tl = /* @__PURE__ */ new Set(["-pdf", "build-route"]), nl = new Set(Tc), rl = /* @__PURE__ */ new Set(["expo"]), il = /* @__PURE__ */ new Set([
	"layer",
	"kiosk_x",
	"kiosk_y",
	"kiosk_z"
]), al = /* @__PURE__ */ new Set(["title"]);
function ol(e) {
	let t = [], n = !1;
	for (let r of e.split("&")) {
		if (r && dl(Zc(r))) {
			n = !0;
			continue;
		}
		t.push(r);
	}
	return {
		legacy: t.join("&"),
		owned: n
	};
}
function sl(e) {
	let t = e.startsWith("?") ? e.slice(1) : e, n = Zc(t), r = new URLSearchParams(n), { legacy: i, owned: a } = ol(t), o = i === t ? n : Zc(i);
	return {
		primary: cl(pl(o), r, a || fl(o)),
		oneShots: ll(r)
	};
}
function cl(e, t, n) {
	if (t.has("kiosk")) {
		let e = t.get("kiosk");
		return {
			type: "kiosk",
			enabled: e === "1" || e !== "0" && null
		};
	}
	if (e === "tours") return {
		type: "list",
		list: "tours"
	};
	if (e.startsWith("tour=")) return {
		type: "tour",
		tourId: e.split("=")[1]
	};
	if (t.has("planner")) {
		var r, i;
		return {
			type: "planner",
			fromBookmarks: t.get("source") === "bookmarks",
			items: ((r = t.get("planner")) == null ? "" : r).split(":").filter(Boolean),
			from: (i = t.get("from")) == null ? void 0 : i
		};
	}
	if (e.startsWith("route")) {
		var a;
		let n = e.split(":");
		return {
			type: "route",
			to: n[1],
			from: n[2],
			accessible: n[3] === "true",
			waypoints: n.slice(4),
			title: (a = t.get("title")) == null ? void 0 : a
		};
	}
	if (e === "bookmarks") return {
		type: "list",
		list: "bookmarks"
	};
	if (e === "visited") return {
		type: "list",
		list: "visited"
	};
	if (e === "language") return {
		type: "list",
		list: "language"
	};
	if (e === "sessions") return {
		type: "list",
		list: "sessions"
	};
	if (e === "exhibitors") return {
		type: "list",
		list: "exhibitors"
	};
	if (e === "speakers") return {
		type: "list",
		list: "speakers"
	};
	if (e.startsWith("exhibitors=")) {
		let t = e.slice(11);
		return t === "" || t === "true" ? { type: "ownedByFilters" } : {
			type: "selectExhibitors",
			values: t.split(",")
		};
	}
	return e.includes("=") && (e.startsWith("categories=") || /^poiTypes?=/.test(e)) ? { type: "ownedByFilters" } : !e && n ? { type: "ownedByConfig" } : {
		type: "select",
		slug: e
	};
}
function ll(e) {
	let t = [];
	e.get("heatmap") === "true" && t.push({
		type: "heatmap",
		yah: e.get("type") === "yah",
		kiosk: e.get("subtype") === "kiosk"
	});
	let n = e.get("blue-dot");
	if (n !== null) {
		let e = n.split(","), r = Number(e[0]), i = Number(e[1]);
		e.length > 1 && Number.isFinite(r) && Number.isFinite(i) && t.push({
			type: "blueDot",
			x: r,
			y: i,
			layer: e[2],
			lat: Number(e[3]) || void 0,
			lng: Number(e[4]) || void 0
		});
	}
	let r = e.get("viewermode");
	r === "1" || r === "true" ? t.push({
		type: "viewerMode",
		enabled: !0
	}) : (r === "0" || r === "false") && t.push({
		type: "viewerMode",
		enabled: !1
	});
	let i = e.get("previewMode");
	i === "true" ? t.push({
		type: "previewMode",
		enabled: !0
	}) : i === "false" && t.push({
		type: "previewMode",
		enabled: !1
	}), e.has("resetuiscale") && t.push({ type: "resetUiScale" });
	let a = e.get("uiscale");
	if (a) {
		let e = parseFloat(a.replace(",", ".")), n = !Number.isNaN(e) && e >= .8 && e <= 1.4;
		t.push({
			type: "uiScale",
			scale: n ? e : null,
			raw: a
		});
	}
	return t;
}
function ul(e) {
	return tl.has(e) ? !0 : el.has(e.split("=")[0]) && e.includes("=");
}
function dl(e) {
	let t = e.split("=")[0];
	if (t === "heatmap") return !1;
	let n = t.split("[")[0];
	return Qc.has(n) || nl.has(n);
}
function fl(e) {
	return e.split("&").some((e) => !!e && dl(e));
}
function pl(e) {
	return e.split("&").filter((e) => {
		if (!e || ul(e)) return !1;
		let t = e.split("=")[0].split("[")[0];
		return (rl.has(t) || il.has(t) || al.has(t)) && e.includes("=") || dl(e) ? !1 : !$c.has(t);
	}).join("&");
}
function ml(e) {
	let t = e.startsWith("?") ? e.slice(1) : e;
	if (!t) return {
		search: e,
		platform: ""
	};
	let n = t.split("&"), r = n.filter(hl);
	if (!r.length) return {
		search: e,
		platform: ""
	};
	let i = n.filter((e) => !hl(e));
	return {
		search: i.length ? "?" + i.join("&") : "",
		platform: r.join("&")
	};
}
function hl(e) {
	let t = e.indexOf("=");
	return t > 0 && rl.has(e.slice(0, t));
}
function gl(e) {
	let t = _l(e);
	return t ? "?" + encodeURIComponent(t) : "";
}
function _l(e) {
	switch (e.type) {
		case "none": return "";
		case "slug": return e.slug;
		case "route":
			var t;
			return `route${e.to ? `:${e.to}` : ""}${e.from ? `:${e.from}` : ""}${e.accessible ? ":true" : ":false"}${((t = e.waypoints) == null ? [] : t).map((e) => `:${e}`).join("")}`;
		case "planner": {
			var n;
			let t = e.fromBookmarks ? "planner&source=bookmarks" : `planner=${((n = e.items) == null ? [] : n).join(":")}`;
			return e.from ? `${t}&from=${e.from}` : t;
		}
		case "list": return e.list;
		case "tour": return `tour=${e.tourId}`;
		case "filter": return `${e.key}=${e.value}`;
	}
}
//#endregion
//#region ../resolve/src/resolve.ts
var vl = /* @__PURE__ */ new Map(), yl = /* @__PURE__ */ new Map();
async function J(e, t) {
	var n;
	if (!Sl(e)) return e;
	let r = e.$ref, i = await (Cl(r) ? wl(r, t) : Jc(r, {
		fetchCache: (n = t == null ? void 0 : t.refCache) == null ? vl : n,
		forceFetch: t == null ? void 0 : t.forceFetch,
		signal: t == null ? void 0 : t.signal,
		importCallback: t == null ? void 0 : t.importCallback
	})), a = e.process ? await e.process(i, r) : i;
	return jc(a), yl.set(r, a), a;
}
function bl(e) {
	if (!Sl(e)) return e;
	if (!yl.has(e.$ref)) throw Error(`resolve: $ref not resolved yet: ${e.$ref}`);
	return yl.get(e.$ref);
}
function xl(e) {
	return !Sl(e) || yl.has(e.$ref);
}
function Sl(e) {
	return typeof e == "object" && !!e && "$ref" in e && typeof e.$ref == "string";
}
function Cl(e) {
	return /\.js(\?|#|$)/i.test(e);
}
function wl(e, t) {
	var n;
	let r = (n = t == null ? void 0 : t.refCache) == null ? vl : n, i = "__loadJs__" + e, a = t != null && t.forceFetch ? void 0 : r.get(i);
	if (!a) {
		let n = Vc(e, { signal: t == null ? void 0 : t.signal });
		r.set(i, n), n.catch(() => {
			r.get(i) === n && r.delete(i);
		}), a = n;
	}
	return a.then((n) => {
		var r;
		return t == null || (r = t.importCallback) == null || r.call(t, e), n;
	});
}
//#endregion
//#region ../config/src/lib/normalize-fp-svg.ts
function Tl(e, t) {
	if (e.__fp === void 0) {
		let n = e[`__fp${t}`];
		typeof n == "string" && (e.__fp = n);
	}
	if (e.__fpPaths === void 0) {
		let n = e[`__fpPaths${t}`];
		Array.isArray(n) && (e.__fpPaths = n);
	}
}
//#endregion
//#region ../config/src/lib/resource-urls.ts
function El(e, t) {
	return e === "" || Dl(e) ? e : `${t.replace(/\/+$/, "")}/${e}`;
}
function Dl(e) {
	return e.startsWith("/") || /^[a-z][a-z0-9+.-]*:/i.test(e);
}
function Ol(e) {
	let t = e.split(/[?#]/, 1)[0];
	return t.slice(0, t.lastIndexOf("/") + 1);
}
function kl(e, t) {
	let n = [];
	e.lastIndex = 0;
	for (let r = e.exec(t); r; r = e.exec(t)) n.push(r), r[0] === "" && e.lastIndex++;
	return n;
}
var Al = /<image\b[^>]*>/g, jl = /(\b(?:(?:xlink:)?href|data-model-3d)\s*=\s*)(?:"([^"]*)"|'([^']*)')/g;
function Ml(e) {
	return !!e && !e.startsWith("#");
}
function Nl(e) {
	var t;
	let n = /* @__PURE__ */ new Set();
	if (!e.includes("<image")) return [];
	for (let i of (t = e.match(Al)) == null ? [] : t) for (let e of kl(jl, i)) {
		var r;
		let t = (r = e[2]) == null ? e[3] : r;
		Ml(t) && n.add(t);
	}
	return [...n];
}
function Pl(e, t) {
	return e.includes("<image") ? e.replace(Al, (e) => e.replace(jl, (e, n, r, i) => {
		var a;
		let o = (a = r == null ? i : r) == null ? "" : a;
		if (!Ml(o)) return e;
		let s = r === void 0 ? "'" : "\"";
		return `${n}${s}${t(o)}${s}`;
	})) : e;
}
var Fl = /url\(\s*(['"]?)(.*?)\1\s*\)/g;
function Il(e) {
	let t = /* @__PURE__ */ new Set();
	for (let n of kl(Fl, e)) {
		let e = n[2];
		e && !e.startsWith("data:") && t.add(e);
	}
	return [...t];
}
function Ll(e, t) {
	return e.replace(Fl, (e, n, r) => !r || r.startsWith("data:") ? e : `url(${n}${t(r)}${n})`);
}
var Rl = /@import\s+(?:url\(\s*(['"]?)(.*?)\1\s*\)|(["'])(.*?)\3)\s*([^;]*);/gi;
async function zl(e, t, n, r = []) {
	let i = /* @__PURE__ */ new Set(), a = [...e.matchAll(Rl)], o = await Promise.all(a.map(async (e) => {
		var a, o;
		let s = (a = (o = e[2]) == null ? e[4] : o) == null ? "" : a, c = e[5].trim(), l = Vl(s, n);
		if (!l || c) return console.warn(c ? `Keeping conditional CSS import remote: @import ${s} ${c}` : `Keeping unresolvable relative CSS import: @import ${s}`), i.add(s), e[0];
		if (r.includes(l)) throw Error(`CSS @import cycle: ${[...r, l].join(" -> ")}`);
		let u = await t(l);
		if (!Bl(u)) return console.warn(`Dropping non-stylesheet CSS @import (not parseable as CSS): @import ${s}`), "";
		let d = await zl(u, t, l, [...r, l]);
		for (let e of d.external) {
			var f;
			i.add(e), i.add((f = Vl(e, l)) == null ? e : f);
		}
		return Ll(d.css, (e) => {
			var t;
			return (t = Vl(e, l)) == null ? e : t;
		});
	})), s = 0;
	return {
		css: e.replace(Rl, () => o[s++]),
		external: i
	};
}
function Bl(e) {
	return !e.includes("\0");
}
function Vl(e, t) {
	if (e) try {
		return t ? new URL(e, t).href : new URL(e).href;
	} catch {
		return;
	}
}
function Hl(e, t) {
	let [n, r] = Ul(e, /[?#]/), i = n.lastIndexOf("/"), a = n.slice(0, i + 1), o = n.slice(i + 1), s = o.lastIndexOf(".");
	return `${a}${s > 0 ? `${o.slice(0, s)}${t}${o.slice(s)}` : `${o}${t}`}${r}`;
}
function Ul(e, t) {
	let n = e.search(t);
	return n === -1 ? [e, ""] : [e.slice(0, n), e.slice(n)];
}
//#endregion
//#region ../config/src/lib/normalize-legacy-data.ts
var Wl = [
	2567,
	2704,
	2681,
	2592,
	2740,
	2709,
	2482,
	2609,
	2734,
	2696,
	2840,
	2566,
	2736
];
function Gl(e, t) {
	var n, r;
	let i = e.expo, a = (n = e.booths) == null ? [] : n, o = (r = e.exhibitors) == null ? [] : r;
	if (e.booths = a, e.exhibitors = o, e.categories != null || (e.categories = []), e.free && (e.noFeatured = !0, e.expoFpAd = !0), e.trialExpiresAt) {
		let t = new Date(e.trialExpiresAt).getTime();
		Date.now() < t && (e.isTrial = !0);
	}
	if (o.length > 0) for (let e of a) delete e.reserved;
	for (let e of o) typeof e.logo == "string" && (e.logo = e.logo ? {
		url: e.logo,
		smallUrl: Hl(e.logo, "__small"),
		tinyUrl: Hl(e.logo, "__tiny")
	} : { url: e.logo });
	!e.logo && i === "expo" && (e.logo = Kl("../logo.svg", t)), e.logo || (e.logo = Kl(`../${i}-logo.png`, t)), !e.homeUrl && i === "jtrade19" && (e.homeUrl = "https://www.jtrade.co.uk/"), e.boothTerm || (e.boothTerm = "Booth"), e.exhibitorTermPlural || (e.exhibitorTermPlural = "Exhibitors"), i === "expo" && o.filter((e) => {
		var t;
		return ((t = e.logo) == null ? void 0 : t.url) && Wl.includes(e.id);
	}).forEach((e) => e.advertise = !0);
	for (let e of a) {
		var s;
		e.special || (e.onHold === void 0 && (e.onHold = e.isOnHold), e.availColor === void 0 && (e.availColor = e.availableColor), e.type === void 0 && (e.type = e.boothTypeName)), e.exhibitors = (s = e.exhibitors) == null ? [] : s;
	}
	for (let e of o) {
		var c;
		e.featured === void 0 && (e.featured = e.isFeatured), e.email === void 0 && (e.email = e.publicEmail), e.categories = (c = e.categories) == null ? [] : c;
	}
	e.noFeatured && o.forEach((e) => e.featured = !1);
}
function Kl(e, t) {
	return t ? `${t.replace(/\/+$/, "")}/${e}` : e;
}
//#endregion
//#region ../config/src/lib/rebooking.ts
var ql = "rt", Jl = "https://app.expofp.com/";
async function Yl(e, t) {
	try {
		let r = Xl(t);
		if (!r) {
			e.isRebooking = !1;
			return;
		}
		Zl(r);
		let i = new URL("api/rebooking-data", Jl);
		i.searchParams.set(ql, r), i.searchParams.set("expoKey", e.expo);
		let a = await fetch(i.href);
		if (a.ok) {
			var n;
			Ql(e, (n = (await a.json()).exhibitors) == null ? [] : n);
		}
		e.isRebooking = a.ok;
	} catch (e) {
		console.error(e);
	}
}
function Xl(e) {
	return (e ? new URLSearchParams(decodeURIComponent(e)).get(ql) : null) || (typeof sessionStorage < "u" ? sessionStorage.getItem(ql) : null);
}
function Zl(e) {
	typeof sessionStorage < "u" && sessionStorage.setItem(ql, e);
}
function Ql(e, t) {
	var n;
	let r = (n = e.exhibitors) == null ? [] : n;
	for (let e of t) {
		let t = r.find((t) => t.id === e.id);
		t && (t.rebookingState = e.rebookingState, t.rebookingNote = e.rebookingNote);
	}
}
//#endregion
//#region ../config/src/lib/store-ref.ts
var $l = "$/", eu = /^\$\/([a-z0-9-]+)\/(.+)$/;
function tu(e) {
	return e.startsWith($l);
}
function nu(e) {
	if (!tu(e)) return e;
	let t = eu.exec(e);
	if (!t) throw Error(`resolveUrl: malformed store ref ${JSON.stringify(e)}`);
	return `https://${t[1]}.expofp.com/immutable/${t[2]}`;
}
//#endregion
//#region ../config/src/lib/validate-flag.ts
function ru(e, t) {
	var n;
	let r = e === void 0 ? void 0 : cc(ac, e).value.validateSchema, i = t ? Zo(oc, t).validateSchema : void 0;
	return (n = r == null ? i : r) != null && n;
}
//#endregion
//#region ../config/src/lib/validate-timing.ts
var iu = (0, Bo.default)("efp:config:validate"), au = 0, ou = 0, su = -Infinity, cu = !1;
function lu() {
	su = performance.now(), iu("%d validations, %sms total since page load", ou, au.toFixed(1));
}
function uu(e) {
	if (!iu.enabled) return e();
	let t = performance.now();
	try {
		return e();
	} finally {
		au += performance.now() - t, ou++;
		let e = performance.now() - su;
		if (e >= 1e3) lu();
		else if (!cu) {
			var n;
			cu = !0;
			let t = setTimeout(() => {
				cu = !1, lu();
			}, 1e3 - e);
			(n = t.unref) == null || n.call(t);
		}
	}
}
//#endregion
//#region ../config/src/lib/visit-resources.ts
var du = !1;
function fu(e) {
	du = e;
}
function pu(e, t) {
	return du ? uu(() => e.parse(t)) : Ac(t);
}
function mu(e, t, n) {
	let r = async (e, r) => {
		let i = pu(t, e);
		n == null || n(i);
		let a = Ol(r), o = Dl(a);
		return await hu(t, i, { asset: (e) => tu(e) ? nu(e) : o ? El(e, a) : e }), i;
	};
	return {
		...e,
		process: r
	};
}
async function hu(e, t, n, r) {
	await gu(Wo(e), t, vu, n, r);
}
async function gu(e, t, n, r, i) {
	var a;
	if (t == null) return;
	let o = (a = e == null ? void 0 : e.anyOf) == null ? e == null ? void 0 : e.oneOf : a;
	if (o) return gu(o.find((e) => Ko(e, t)), t, n, r, i);
	if (_u(t)) {
		if (r.ref) {
			n({ $ref: await r.ref(t.$ref) });
			return;
		}
		if (!r.document || t.$ref.startsWith("/")) return;
		let a = t.$ref;
		try {
			let o = e ? Go(e) : void 0, s = { document: Ac(xl(t) ? bl(t) : await J(o ? mu({ $ref: a }, o) : { $ref: a }, { signal: i == null ? void 0 : i.signal })) };
			o && await gu(Wo(o), s.document, (e) => {
				s.document = e;
			}, r, i), n({ $ref: await r.document(a, s.document) });
		} catch (e) {
			if (!r.documentError) throw e;
			r.documentError(a, e), n(void 0);
		}
		return;
	}
	if (typeof t == "string") {
		if (e != null && e.asset && t) n(await r.asset(t, e.optionalAsset));
		else if (e != null && e.svgAsset) {
			let e = /* @__PURE__ */ new Map();
			for (let n of Nl(t)) e.set(n, await r.asset(n));
			n(Pl(t, (t) => {
				var n;
				return (n = e.get(t)) == null ? t : n;
			}));
		} else if (e != null && e.cssAsset) {
			let e = t, i = /* @__PURE__ */ new Set();
			r.stylesheetText && ({css: e, external: i} = await zl(e, r.stylesheetText.bind(r)));
			let a = /* @__PURE__ */ new Map();
			for (let t of Il(e)) i.has(t) || (tu(t) || /^[a-z][a-z0-9+.-]*:/i.test(t)) && a.set(t, await r.asset(t));
			n(Ll(e, (e) => {
				var t;
				return (t = a.get(e)) == null ? e : t;
			}));
		}
		return;
	}
	if (Array.isArray(t)) {
		for (let n = 0; n < t.length; n++) await gu(e == null ? void 0 : e.items, t[n], (e) => {
			t[n] = e;
		}, r, i);
		return;
	}
	if (typeof t == "object") {
		let n = t, a = typeof (e == null ? void 0 : e.additionalProperties) == "object" ? e.additionalProperties : void 0;
		for (let t of Object.keys(n)) {
			var s, c;
			await gu((s = e == null || (c = e.properties) == null ? void 0 : c[t]) == null ? a : s, n[t], (e) => {
				e === void 0 ? delete n[t] : n[t] = e;
			}, r, i);
		}
	}
}
function _u(e) {
	return typeof e == "object" && !!e && "$ref" in e && typeof e.$ref == "string";
}
function vu() {
	throw Error("visitResources: the top-level value must be an object or array");
}
//#endregion
//#region ../config/src/lib/load-config.ts
var yu = (0, Bo.default)("efp:config");
async function bu(e, t, n, r) {
	let i = { ...sc };
	fu(ru(n, r)), e = pu(rc, await Su(e)), await Cu(e);
	let { legacyDataUrlBase: a, legacyDataVersion: o, ...s } = e;
	Nu(s), Pu(i, s), t = ic.parse(t), Nu(t);
	let c = String(Date.now());
	if (a) {
		if (Au()) yu("loadConfig", "designer referrer — cache-busting with a timestamp");
		else if (typeof o == "string" && o) c = o;
		else if (o === null) yu("loadConfig", "manifest pins \"no version\" — cache-busting with a timestamp");
		else try {
			c = (await J({ $ref: `${a}version.json` })).version;
		} catch {
			yu("loadConfig", "no version.json found at", a);
		}
		i.fpSvgJsRef != null || (i.fpSvgJsRef = ju(a, "fp.svg.js", c)), i.wfDataJsRef != null || (i.wfDataJsRef = ju(a, "wf.data.js", c));
	}
	i.fpSvgJsRef && (i.fpSvgJsRef = mu(i.fpSvgJsRef, Ms)), i.wfDataJsRef && (i.wfDataJsRef = mu(i.wfDataJsRef, Ys));
	let l = {};
	for (let [e, t] of Object.entries(i.fpSvgLayerJsRefs)) l[e] = Ou(t, e);
	i.fpSvgLayerJsRefs = l;
	let [u, d] = await Promise.all([
		a ? wu(a, c) : null,
		i.fpSvgJsRef ? Eu(i.fpSvgJsRef, a) : null,
		Du(i.wfDataJsRef)
	]);
	if (u) {
		let { flags: e, legacyDataUrlBase: t, legacyDataVersion: n, fpSvgJsRef: r, wfDataJsRef: a, fpSvgLayerJsRefs: o, ...s } = u;
		e && (Nu(e), Pu(i, e)), Nu(s), Pu(i, s);
	}
	if (d && (i.fpSvgJsRef = d.ref, !Object.keys(i.fpSvgLayerJsRefs).length && a && (i.fpSvgLayerJsRefs = ku(d.payload, a, c))), Pu(i, t), r) {
		let { viewerMode: e, previewMode: t, uiScale: n, ...a } = Zo(oc, r);
		Pu(i, a);
	}
	if (n !== void 0 && !i.ignoreQuery) {
		var f;
		let { value: e, invalidKeys: t } = cc(ac, n), r = Sc(n), a = [...(f = e.intents) == null ? [] : f, ...r.intents], { intents: o = [], ...s } = Ec(n, {
			visibility: e.visibility,
			consent: e.consent,
			intents: a
		}), c = [...a, ...o];
		c.length && (e.intents = c), t.push(...r.invalidKeys), t.length && yu("loadConfig", "ignoring invalid URL config params:", t), Pu(i, s), Pu(i, e);
	}
	return Gl(i, a), await Yl(i, i.ignoreQuery ? void 0 : n), delete i.validateSchema, jc(i), i;
}
var xu = 3;
async function Su(e) {
	let t = e;
	for (let e = 0;; e++) {
		_u(t) && (t = {
			...t,
			$ref: nu(t.$ref)
		});
		let n = await J(t);
		if (!_u(n)) return n;
		if (e >= xu) throw Error(`loadConfig: manifest pointer chain deeper than ${xu} at ${n.$ref}`);
		yu("loadConfig", "manifest is a pointer, following it to", n.$ref), t = { $ref: n.$ref };
	}
}
async function Cu(e) {
	let t = (e) => nu(e);
	await hu(rc, e, {
		asset: t,
		ref: t
	});
}
async function wu(e, t) {
	var n;
	let r = await J(mu(ju(e, "data.js", t), nc));
	return r.__data || yu("loadLegacyDataJs", "no __data global in data.js at", e), Ac((n = r.__data) == null ? {} : n);
}
var Tu = 2e3;
async function Eu(e, t) {
	let n = e, r = await J(n);
	for (let i = 1; r.__fpPending && !r.__fp; i++) yu("loadLegacyFpSvgJs", "plan is still generating, retry", i), await Mu(Tu), n = t ? mu(ju(t, "fp.svg.js", String(i)), Ms) : e, r = await J(n, { forceFetch: !0 });
	return {
		payload: r,
		ref: n
	};
}
async function Du(e) {
	if (e) try {
		await J(e);
	} catch (e) {
		yu("prefetchWfData", "wf.data.js not loaded, wayfinding stays off", e);
	}
}
function Ou(e, t) {
	return mu(e, As, (e) => Tl(e, t));
}
function ku(e, t, n) {
	var r;
	let i = {};
	for (let a of (r = e.__fpLayers) == null ? [] : r) a.name !== e.__fpDefaultLayer && (i[a.name] = Ou(ju(t, `fp.svg.${a.name}.js`, n), a.name));
	return i;
}
function Au() {
	return typeof document > "u" || !document.referrer ? !1 : document.referrer.includes("app.expofp.com") || document.referrer.includes("app-show.expofp.com");
}
function ju(e, t, n) {
	let r = `${e}${t}`;
	return { $ref: n ? `${r}?v=${n}` : r };
}
function Mu(e) {
	return new Promise((t) => setTimeout(t, e));
}
function Nu(e) {
	e.allowConsent !== void 0 && (e.consent != null || (e.consent = e.allowConsent ? "granted" : "denied"), delete e.allowConsent);
}
function Pu(e, t) {
	for (let [n, r] of Object.entries(t)) r !== void 0 && (e[n] = r);
}
//#endregion
//#region src/constants.ts
var Fu = "___visibility", Iu = "data-preview-mode", Lu = "efp-runtime-loader-spinner", Ru = "booths", zu = "Outdoor", Bu = "#ea4236", Vu = "rgba(234, 66, 54, 0.85)", Hu = "#ffffff", Uu = "kiosk", Wu = "setkiosk", Gu = "debug", Ku = "efp-debugMode", qu = "pathway", Ju = 1e3, Yu = "language", Xu = "efp-viewerMode", Zu = "___viewer_mode", Qu = "efp-previewMode", $u = "___preview_mode", ed = "efp-uiScale", td = "___ui-scale", nd = "--expofp-font-face", rd = "--expofp-booth-main-weight", id = "--expofp-booth-details-weight", ad = "--expofp-exhibitor-main-weight", od = "--expofp-exhibitor-details-weight", sd = "--expofp-booth-special-weight", cd = "efp-compass-permission-granted", ld = new URL(
	/* @vite-ignore */
	".",
	import.meta.url
).href;
ld.endsWith("/") || (ld += "/");
var ud = ld, dd = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
	(function() {
		function e(e, t) {
			document.addEventListener ? e.addEventListener("scroll", t, !1) : e.attachEvent("scroll", t);
		}
		function n(e) {
			document.body ? e() : document.addEventListener ? document.addEventListener("DOMContentLoaded", function t() {
				document.removeEventListener("DOMContentLoaded", t), e();
			}) : document.attachEvent("onreadystatechange", function t() {
				(document.readyState == "interactive" || document.readyState == "complete") && (document.detachEvent("onreadystatechange", t), e());
			});
		}
		function r(e) {
			this.g = document.createElement("div"), this.g.setAttribute("aria-hidden", "true"), this.g.appendChild(document.createTextNode(e)), this.h = document.createElement("span"), this.i = document.createElement("span"), this.m = document.createElement("span"), this.j = document.createElement("span"), this.l = -1, this.h.style.cssText = "max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;", this.i.style.cssText = "max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;", this.j.style.cssText = "max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;", this.m.style.cssText = "display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;", this.h.appendChild(this.m), this.i.appendChild(this.j), this.g.appendChild(this.h), this.g.appendChild(this.i);
		}
		function i(e, t) {
			e.g.style.cssText = "max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:" + t + ";";
		}
		function a(e) {
			var t = e.g.offsetWidth, n = t + 100;
			return e.j.style.width = n + "px", e.i.scrollLeft = n, e.h.scrollLeft = e.h.scrollWidth + 100, e.l === t ? !1 : (e.l = t, !0);
		}
		function o(t, n) {
			function r() {
				var e = i;
				a(e) && e.g.parentNode !== null && n(e.l);
			}
			var i = t;
			e(t.h, r), e(t.i, r), a(t);
		}
		function s(e, t, n) {
			t = t || {}, n = n || window, this.family = e, this.style = t.style || "normal", this.weight = t.weight || "normal", this.stretch = t.stretch || "normal", this.context = n;
		}
		var c = null, l = null, u = null, d = null;
		function f(e) {
			return l === null && (p(e) && /Apple/.test(window.navigator.vendor) ? (e = /AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent), l = !!e && 603 > parseInt(e[1], 10)) : l = !1), l;
		}
		function p(e) {
			return d === null && (d = !!e.document.fonts), d;
		}
		function m(e, t) {
			var n = e.style, r = e.weight;
			if (u === null) {
				var i = document.createElement("div");
				try {
					i.style.font = "condensed 100px sans-serif";
				} catch {}
				u = i.style.font !== "";
			}
			return [
				n,
				r,
				u ? e.stretch : "",
				"100px",
				t
			].join(" ");
		}
		s.prototype.load = function(e, t) {
			var a = this, s = e || "BESbswy", l = 0, u = t || 3e3, d = (/* @__PURE__ */ new Date()).getTime();
			return new Promise(function(e, t) {
				if (p(a.context) && !f(a.context)) {
					var h = new Promise(function(e, t) {
						function n() {
							(/* @__PURE__ */ new Date()).getTime() - d >= u ? t(Error("" + u + "ms timeout exceeded")) : a.context.document.fonts.load(m(a, "\"" + a.family + "\""), s).then(function(t) {
								1 <= t.length ? e() : setTimeout(n, 25);
							}, t);
						}
						n();
					}), g = new Promise(function(e, t) {
						l = setTimeout(function() {
							t(Error("" + u + "ms timeout exceeded"));
						}, u);
					});
					Promise.race([g, h]).then(function() {
						clearTimeout(l), e(a);
					}, t);
				} else n(function() {
					function n() {
						var t;
						(t = _ != -1 && v != -1 || _ != -1 && y != -1 || v != -1 && y != -1) && ((t = _ != v && _ != y && v != y) || (c === null && (t = /AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent), c = !!t && (536 > parseInt(t[1], 10) || parseInt(t[1], 10) === 536 && 11 >= parseInt(t[2], 10))), t = c && (_ == ee && v == ee && y == ee || _ == b && v == b && y == b || _ == x && v == x && y == x)), t = !t), t && (S.parentNode !== null && S.parentNode.removeChild(S), clearTimeout(l), e(a));
					}
					function f() {
						if ((/* @__PURE__ */ new Date()).getTime() - d >= u) S.parentNode !== null && S.parentNode.removeChild(S), t(Error("" + u + "ms timeout exceeded"));
						else {
							var e = a.context.document.hidden;
							(!0 === e || e === void 0) && (_ = p.g.offsetWidth, v = h.g.offsetWidth, y = g.g.offsetWidth, n()), l = setTimeout(f, 50);
						}
					}
					var p = new r(s), h = new r(s), g = new r(s), _ = -1, v = -1, y = -1, ee = -1, b = -1, x = -1, S = document.createElement("div");
					S.dir = "ltr", i(p, m(a, "sans-serif")), i(h, m(a, "serif")), i(g, m(a, "monospace")), S.appendChild(p.g), S.appendChild(h.g), S.appendChild(g.g), a.context.document.body.appendChild(S), ee = p.g.offsetWidth, b = h.g.offsetWidth, x = g.g.offsetWidth, f(), o(p, function(e) {
						_ = e, n();
					}), i(p, m(a, "\"" + a.family + "\",sans-serif")), o(h, function(e) {
						v = e, n();
					}), i(h, m(a, "\"" + a.family + "\",serif")), o(g, function(e) {
						y = e, n();
					}), i(g, m(a, "\"" + a.family + "\",monospace"));
				});
			});
		}, typeof t == "object" ? t.exports = s : (window.FontFaceObserver = s, window.FontFaceObserver.prototype.load = s.prototype.load);
	})();
})))(), 1), fd = /* @__PURE__ */ e(r(), 1), pd = window.navigator.userAgent, md = fd.default.getParser(pd);
//#endregion
//#region src/tools/loaders.ts
async function hd(e) {
	return await (await fetch(e, { credentials: "same-origin" })).json();
}
function gd(e, t) {
	let n = document.createElement("link");
	n.rel = "stylesheet", n.href = e, n.setAttribute("fetchpriority", "high"), t.appendChild(n);
}
async function _d(e, t, n) {
	var r;
	n = {
		style: "normal",
		weight: "normal",
		...n || {}
	};
	let i = `url("${t}")`;
	if (!window.FontFace) return e.startsWith("Font Awesome") || vd(e, i, n), Promise.resolve();
	e.indexOf(" ") !== -1 && ((r = md.getEngine()) == null ? void 0 : r.name) === "Gecko" && (e = `'${e}'`);
	let a;
	try {
		a = new FontFace(e, i, n);
	} catch {
		a = new FontFace(`'${e}'`, i, n);
	}
	return document.fonts.add(a), a.load();
}
function vd(e, t, n) {
	let r = document.createElement("style");
	r.appendChild(document.createTextNode(`@font-face { font-family: ${e}; font-weight: ${n.weight}; font-style: ${n.style}; src: ${t} format('woff2'); font-display: swap; }`)), document.head.appendChild(r);
	let i = document.createElement("div");
	i.setAttribute("style", `font-family: oswald; font-weight: ${n.weight}; position: fixed; left: -1000px; top: 0; visibility: hidden`), i.innerHTML = "Oswald", document.body.appendChild(i);
}
async function yd(e) {
	var t;
	let n = getComputedStyle(document.documentElement).getPropertyValue("--expofp-font-face") || ((t = e.match(/--expofp-font-face:\s*([^;]*)/)) == null ? void 0 : t[1]);
	if (!n) return;
	let r = n.replace(/"/g, "").split(", ").map((e) => e.trim()).map((e) => new dd.default(e).load());
	return Promise.allSettled(r);
}
//#endregion
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/typeof.js
function Y(e) {
	"@babel/helpers - typeof";
	return Y = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
		return typeof e;
	} : function(e) {
		return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
	}, Y(e);
}
//#endregion
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
function bd(e, t) {
	if (Y(e) != "object" || !e) return e;
	var n = e[Symbol.toPrimitive];
	if (n !== void 0) {
		var r = n.call(e, t || "default");
		if (Y(r) != "object") return r;
		throw TypeError("@@toPrimitive must return a primitive value.");
	}
	return (t === "string" ? String : Number)(e);
}
//#endregion
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
function xd(e) {
	var t = bd(e, "string");
	return Y(t) == "symbol" ? t : t + "";
}
//#endregion
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/defineProperty.js
function Sd(e, t, n) {
	return (t = xd(t)) in e ? Object.defineProperty(e, t, {
		value: n,
		enumerable: !0,
		configurable: !0,
		writable: !0
	}) : e[t] = n, e;
}
//#endregion
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectSpread.js
function X(e) {
	for (var t = 1; t < arguments.length; t++) {
		var n = arguments[t] == null ? {} : Object(arguments[t]), r = Object.keys(n);
		typeof Object.getOwnPropertySymbols == "function" && r.push.apply(r, Object.getOwnPropertySymbols(n).filter(function(e) {
			return Object.getOwnPropertyDescriptor(n, e).enumerable;
		})), r.forEach(function(t) {
			Sd(e, t, n[t]);
		});
	}
	return e;
}
//#endregion
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
function Z(e, t) {
	if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
}
//#endregion
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/createClass.js
function Cd(e, t) {
	for (var n = 0; n < t.length; n++) {
		var r = t[n];
		r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, xd(r.key), r);
	}
}
function Q(e, t, n) {
	return t && Cd(e.prototype, t), n && Cd(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
}
//#endregion
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
function wd(e) {
	if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
	return e;
}
//#endregion
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
function Td(e, t) {
	if (t && (Y(t) == "object" || typeof t == "function")) return t;
	if (t !== void 0) throw TypeError("Derived constructors may only return object or undefined");
	return wd(e);
}
//#endregion
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
function Ed(e) {
	return Ed = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
		return e.__proto__ || Object.getPrototypeOf(e);
	}, Ed(e);
}
//#endregion
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
function Dd(e, t) {
	return Dd = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
		return e.__proto__ = t, e;
	}, Dd(e, t);
}
//#endregion
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/inherits.js
function Od(e, t) {
	if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function");
	e.prototype = Object.create(t && t.prototype, { constructor: {
		value: e,
		writable: !0,
		configurable: !0
	} }), Object.defineProperty(e, "prototype", { writable: !1 }), t && Dd(e, t);
}
//#endregion
//#region ../../node_modules/.pnpm/i18next@19.9.2/node_modules/i18next/dist/esm/i18next.js
var kd = {
	type: "logger",
	log: function(e) {
		this.output("log", e);
	},
	warn: function(e) {
		this.output("warn", e);
	},
	error: function(e) {
		this.output("error", e);
	},
	output: function(e, t) {
		console && console[e] && console[e].apply(console, t);
	}
}, $ = new (function() {
	function e(t) {
		var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
		Z(this, e), this.init(t, n);
	}
	return Q(e, [
		{
			key: "init",
			value: function(e) {
				var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
				this.prefix = t.prefix || "i18next:", this.logger = e || kd, this.options = t, this.debug = t.debug;
			}
		},
		{
			key: "setDebug",
			value: function(e) {
				this.debug = e;
			}
		},
		{
			key: "log",
			value: function() {
				var e = [...arguments];
				return this.forward(e, "log", "", !0);
			}
		},
		{
			key: "warn",
			value: function() {
				var e = [...arguments];
				return this.forward(e, "warn", "", !0);
			}
		},
		{
			key: "error",
			value: function() {
				var e = [...arguments];
				return this.forward(e, "error", "");
			}
		},
		{
			key: "deprecate",
			value: function() {
				var e = [...arguments];
				return this.forward(e, "warn", "WARNING DEPRECATED: ", !0);
			}
		},
		{
			key: "forward",
			value: function(e, t, n, r) {
				return r && !this.debug ? null : (typeof e[0] == "string" && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
			}
		},
		{
			key: "create",
			value: function(t) {
				return new e(this.logger, X({}, { prefix: `${this.prefix}:${t}:` }, this.options));
			}
		}
	]), e;
}())(), Ad = function() {
	function e() {
		Z(this, e), this.observers = {};
	}
	return Q(e, [
		{
			key: "on",
			value: function(e, t) {
				var n = this;
				return e.split(" ").forEach(function(e) {
					n.observers[e] = n.observers[e] || [], n.observers[e].push(t);
				}), this;
			}
		},
		{
			key: "off",
			value: function(e, t) {
				if (this.observers[e]) {
					if (!t) {
						delete this.observers[e];
						return;
					}
					this.observers[e] = this.observers[e].filter(function(e) {
						return e !== t;
					});
				}
			}
		},
		{
			key: "emit",
			value: function(e) {
				var t = [...arguments].slice(1);
				this.observers[e] && [].concat(this.observers[e]).forEach(function(e) {
					e.apply(void 0, t);
				}), this.observers["*"] && [].concat(this.observers["*"]).forEach(function(n) {
					n.apply(n, [e].concat(t));
				});
			}
		}
	]), e;
}();
function jd() {
	var e, t, n = new Promise(function(n, r) {
		e = n, t = r;
	});
	return n.resolve = e, n.reject = t, n;
}
function Md(e) {
	return e == null ? "" : "" + e;
}
function Nd(e, t, n) {
	e.forEach(function(e) {
		t[e] && (n[e] = t[e]);
	});
}
function Pd(e, t, n) {
	function r(e) {
		return e && e.indexOf("###") > -1 ? e.replace(/###/g, ".") : e;
	}
	function i() {
		return !e || typeof e == "string";
	}
	for (var a = typeof t == "string" ? t.split(".") : [].concat(t); a.length > 1;) {
		if (i()) return {};
		var o = r(a.shift());
		!e[o] && n && (e[o] = new n()), e = Object.prototype.hasOwnProperty.call(e, o) ? e[o] : {};
	}
	return i() ? {} : {
		obj: e,
		k: r(a.shift())
	};
}
function Fd(e, t, n) {
	var r = Pd(e, t, Object), i = r.obj, a = r.k;
	i[a] = n;
}
function Id(e, t, n, r) {
	var i = Pd(e, t, Object), a = i.obj, o = i.k;
	a[o] = a[o] || [], r && (a[o] = a[o].concat(n)), r || a[o].push(n);
}
function Ld(e, t) {
	var n = Pd(e, t), r = n.obj, i = n.k;
	if (r) return r[i];
}
function Rd(e, t, n) {
	var r = Ld(e, n);
	return r === void 0 ? Ld(t, n) : r;
}
function zd(e, t, n) {
	for (var r in t) r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) : zd(e[r], t[r], n) : e[r] = t[r]);
	return e;
}
function Bd(e) {
	return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
}
var Vd = {
	"&": "&amp;",
	"<": "&lt;",
	">": "&gt;",
	"\"": "&quot;",
	"'": "&#39;",
	"/": "&#x2F;"
};
function Hd(e) {
	return typeof e == "string" ? e.replace(/[&<>"'\/]/g, function(e) {
		return Vd[e];
	}) : e;
}
var Ud = typeof window < "u" && window.navigator && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1, Wd = function(e) {
	Od(t, e);
	function t(e) {
		var n, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
			ns: ["translation"],
			defaultNS: "translation"
		};
		return Z(this, t), n = Td(this, Ed(t).call(this)), Ud && Ad.call(wd(n)), n.data = e || {}, n.options = r, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n;
	}
	return Q(t, [
		{
			key: "addNamespaces",
			value: function(e) {
				this.options.ns.indexOf(e) < 0 && this.options.ns.push(e);
			}
		},
		{
			key: "removeNamespaces",
			value: function(e) {
				var t = this.options.ns.indexOf(e);
				t > -1 && this.options.ns.splice(t, 1);
			}
		},
		{
			key: "getResource",
			value: function(e, t, n) {
				var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, i = r.keySeparator === void 0 ? this.options.keySeparator : r.keySeparator, a = [e, t];
				return n && typeof n != "string" && (a = a.concat(n)), n && typeof n == "string" && (a = a.concat(i ? n.split(i) : n)), e.indexOf(".") > -1 && (a = e.split(".")), Ld(this.data, a);
			}
		},
		{
			key: "addResource",
			value: function(e, t, n, r) {
				var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : { silent: !1 }, a = this.options.keySeparator;
				a === void 0 && (a = ".");
				var o = [e, t];
				n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), Fd(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
			}
		},
		{
			key: "addResources",
			value: function(e, t, n) {
				var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : { silent: !1 };
				for (var i in n) (typeof n[i] == "string" || Object.prototype.toString.apply(n[i]) === "[object Array]") && this.addResource(e, t, i, n[i], { silent: !0 });
				r.silent || this.emit("added", e, t, n);
			}
		},
		{
			key: "addResourceBundle",
			value: function(e, t, n, r, i) {
				var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : { silent: !1 }, o = [e, t];
				e.indexOf(".") > -1 && (o = e.split("."), r = n, n = t, t = o[1]), this.addNamespaces(t);
				var s = Ld(this.data, o) || {};
				r ? zd(s, n, i) : s = X({}, s, n), Fd(this.data, o, s), a.silent || this.emit("added", e, t, n);
			}
		},
		{
			key: "removeResourceBundle",
			value: function(e, t) {
				this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
			}
		},
		{
			key: "hasResourceBundle",
			value: function(e, t) {
				return this.getResource(e, t) !== void 0;
			}
		},
		{
			key: "getResourceBundle",
			value: function(e, t) {
				return t || (t = this.options.defaultNS), this.options.compatibilityAPI === "v1" ? X({}, {}, this.getResource(e, t)) : this.getResource(e, t);
			}
		},
		{
			key: "getDataByLanguage",
			value: function(e) {
				return this.data[e];
			}
		},
		{
			key: "toJSON",
			value: function() {
				return this.data;
			}
		}
	]), t;
}(Ad), Gd = {
	processors: {},
	addPostProcessor: function(e) {
		this.processors[e.name] = e;
	},
	handle: function(e, t, n, r, i) {
		var a = this;
		return e.forEach(function(e) {
			a.processors[e] && (t = a.processors[e].process(t, n, r, i));
		}), t;
	}
}, Kd = {}, qd = function(e) {
	Od(t, e);
	function t(e) {
		var n, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
		return Z(this, t), n = Td(this, Ed(t).call(this)), Ud && Ad.call(wd(n)), Nd([
			"resourceStore",
			"languageUtils",
			"pluralResolver",
			"interpolator",
			"backendConnector",
			"i18nFormat",
			"utils"
		], e, wd(n)), n.options = r, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n.logger = $.create("translator"), n;
	}
	return Q(t, [
		{
			key: "changeLanguage",
			value: function(e) {
				e && (this.language = e);
			}
		},
		{
			key: "exists",
			value: function(e) {
				var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : { interpolation: {} }, n = this.resolve(e, t);
				return n && n.res !== void 0;
			}
		},
		{
			key: "extractFromKey",
			value: function(e, t) {
				var n = t.nsSeparator === void 0 ? this.options.nsSeparator : t.nsSeparator;
				n === void 0 && (n = ":");
				var r = t.keySeparator === void 0 ? this.options.keySeparator : t.keySeparator, i = t.ns || this.options.defaultNS;
				if (n && e.indexOf(n) > -1) {
					var a = e.match(this.interpolator.nestingRegexp);
					if (a && a.length > 0) return {
						key: e,
						namespaces: i
					};
					var o = e.split(n);
					(n !== r || n === r && this.options.ns.indexOf(o[0]) > -1) && (i = o.shift()), e = o.join(r);
				}
				return typeof i == "string" && (i = [i]), {
					key: e,
					namespaces: i
				};
			}
		},
		{
			key: "translate",
			value: function(e, n, r) {
				var i = this;
				if (Y(n) !== "object" && this.options.overloadTranslationOptionHandler && (n = this.options.overloadTranslationOptionHandler(arguments)), n || (n = {}), e == null) return "";
				Array.isArray(e) || (e = [String(e)]);
				var a = n.keySeparator === void 0 ? this.options.keySeparator : n.keySeparator, o = this.extractFromKey(e[e.length - 1], n), s = o.key, c = o.namespaces, l = c[c.length - 1], u = n.lng || this.language, d = n.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
				if (u && u.toLowerCase() === "cimode") return d ? l + (n.nsSeparator || this.options.nsSeparator) + s : s;
				var f = this.resolve(e, n), p = f && f.res, m = f && f.usedKey || s, h = f && f.exactUsedKey || s, g = Object.prototype.toString.apply(p), _ = [
					"[object Number]",
					"[object Function]",
					"[object RegExp]"
				], v = n.joinArrays === void 0 ? this.options.joinArrays : n.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject;
				if (y && p && typeof p != "string" && typeof p != "boolean" && typeof p != "number" && _.indexOf(g) < 0 && !(typeof v == "string" && g === "[object Array]")) {
					if (!n.returnObjects && !this.options.returnObjects) return this.logger.warn("accessing an object - but returnObjects options is not enabled!"), this.options.returnedObjectHandler ? this.options.returnedObjectHandler(m, p, n) : `key '${s} (${this.language})' returned an object instead of string.`;
					if (a) {
						var ee = g === "[object Array]", b = ee ? [] : {}, x = ee ? h : m;
						for (var S in p) if (Object.prototype.hasOwnProperty.call(p, S)) {
							var C = `${x}${a}${S}`;
							b[S] = this.translate(C, X({}, n, {
								joinArrays: !1,
								ns: c
							})), b[S] === C && (b[S] = p[S]);
						}
						p = b;
					}
				} else if (y && typeof v == "string" && g === "[object Array]") p = p.join(v), p && (p = this.extendTranslation(p, e, n, r));
				else {
					var te = !1, ne = !1, re = n.count !== void 0 && typeof n.count != "string", ie = t.hasDefaultValue(n), ae = re ? this.pluralResolver.getSuffix(u, n.count) : "", w = n[`defaultValue${ae}`] || n.defaultValue;
					!this.isValidLookup(p) && ie && (te = !0, p = w), this.isValidLookup(p) || (ne = !0, p = s);
					var T = ie && w !== p && this.options.updateMissing;
					if (ne || te || T) {
						if (this.logger.log(T ? "updateKey" : "missingKey", u, l, s, T ? w : p), a) {
							var oe = this.resolve(s, X({}, n, { keySeparator: !1 }));
							oe && oe.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
						}
						var E = [], D = this.languageUtils.getFallbackCodes(this.options.fallbackLng, n.lng || this.language);
						if (this.options.saveMissingTo === "fallback" && D && D[0]) for (var O = 0; O < D.length; O++) E.push(D[O]);
						else this.options.saveMissingTo === "all" ? E = this.languageUtils.toResolveHierarchy(n.lng || this.language) : E.push(n.lng || this.language);
						var se = function(e, t, r) {
							i.options.missingKeyHandler ? i.options.missingKeyHandler(e, l, t, T ? r : p, T, n) : i.backendConnector && i.backendConnector.saveMissing && i.backendConnector.saveMissing(e, l, t, T ? r : p, T, n), i.emit("missingKey", e, l, t, p);
						};
						this.options.saveMissing && (this.options.saveMissingPlurals && re ? E.forEach(function(e) {
							i.pluralResolver.getSuffixes(e).forEach(function(t) {
								se([e], s + t, n[`defaultValue${t}`] || w);
							});
						}) : se(E, s, w));
					}
					p = this.extendTranslation(p, e, n, f, r), ne && p === s && this.options.appendNamespaceToMissingKey && (p = `${l}:${s}`), ne && this.options.parseMissingKeyHandler && (p = this.options.parseMissingKeyHandler(p));
				}
				return p;
			}
		},
		{
			key: "extendTranslation",
			value: function(e, t, n, r, i) {
				var a = this;
				if (this.i18nFormat && this.i18nFormat.parse) e = this.i18nFormat.parse(e, n, r.usedLng, r.usedNS, r.usedKey, { resolved: r });
				else if (!n.skipInterpolation) {
					n.interpolation && this.interpolator.init(X({}, n, { interpolation: X({}, this.options.interpolation, n.interpolation) }));
					var o = n.interpolation && n.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables, s;
					if (o) {
						var c = e.match(this.interpolator.nestingRegexp);
						s = c && c.length;
					}
					var l = n.replace && typeof n.replace != "string" ? n.replace : n;
					if (this.options.interpolation.defaultVariables && (l = X({}, this.options.interpolation.defaultVariables, l)), e = this.interpolator.interpolate(e, l, n.lng || this.language, n), o) {
						var u = e.match(this.interpolator.nestingRegexp), d = u && u.length;
						s < d && (n.nest = !1);
					}
					n.nest !== !1 && (e = this.interpolator.nest(e, function() {
						var e = [...arguments];
						return i && i[0] === e[0] && !n.context ? (a.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`), null) : a.translate.apply(a, e.concat([t]));
					}, n)), n.interpolation && this.interpolator.reset();
				}
				var f = n.postProcess || this.options.postProcess, p = typeof f == "string" ? [f] : f;
				return e != null && p && p.length && n.applyPostProcessor !== !1 && (e = Gd.handle(p, e, t, this.options && this.options.postProcessPassResolved ? X({ i18nResolved: r }, n) : n, this)), e;
			}
		},
		{
			key: "resolve",
			value: function(e) {
				var t = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r, i, a, o, s;
				return typeof e == "string" && (e = [e]), e.forEach(function(e) {
					if (!t.isValidLookup(r)) {
						var c = t.extractFromKey(e, n), l = c.key;
						i = l;
						var u = c.namespaces;
						t.options.fallbackNS && (u = u.concat(t.options.fallbackNS));
						var d = n.count !== void 0 && typeof n.count != "string", f = n.context !== void 0 && typeof n.context == "string" && n.context !== "", p = n.lngs ? n.lngs : t.languageUtils.toResolveHierarchy(n.lng || t.language, n.fallbackLng);
						u.forEach(function(e) {
							t.isValidLookup(r) || (s = e, !Kd[`${p[0]}-${e}`] && t.utils && t.utils.hasLoadedNamespace && !t.utils.hasLoadedNamespace(s) && (Kd[`${p[0]}-${e}`] = !0, t.logger.warn(`key "${i}" for languages "${p.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), p.forEach(function(i) {
								if (!t.isValidLookup(r)) {
									o = i;
									var s = l, c = [s];
									if (t.i18nFormat && t.i18nFormat.addLookupKeys) t.i18nFormat.addLookupKeys(c, l, i, e, n);
									else {
										var u;
										d && (u = t.pluralResolver.getSuffix(i, n.count)), d && f && c.push(s + u), f && c.push(s += `${t.options.contextSeparator}${n.context}`), d && c.push(s += u);
									}
									for (var p; p = c.pop();) t.isValidLookup(r) || (a = p, r = t.getResource(i, e, p, n));
								}
							}));
						});
					}
				}), {
					res: r,
					usedKey: i,
					exactUsedKey: a,
					usedLng: o,
					usedNS: s
				};
			}
		},
		{
			key: "isValidLookup",
			value: function(e) {
				return e !== void 0 && !(!this.options.returnNull && e === null) && !(!this.options.returnEmptyString && e === "");
			}
		},
		{
			key: "getResource",
			value: function(e, t, n) {
				var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
				return this.i18nFormat && this.i18nFormat.getResource ? this.i18nFormat.getResource(e, t, n, r) : this.resourceStore.getResource(e, t, n, r);
			}
		}
	], [{
		key: "hasDefaultValue",
		value: function(e) {
			var t = "defaultValue";
			for (var n in e) if (Object.prototype.hasOwnProperty.call(e, n) && t === n.substring(0, t.length) && e[n] !== void 0) return !0;
			return !1;
		}
	}]), t;
}(Ad);
function Jd(e) {
	return e.charAt(0).toUpperCase() + e.slice(1);
}
var Yd = function() {
	function e(t) {
		Z(this, e), this.options = t, this.whitelist = this.options.supportedLngs || !1, this.supportedLngs = this.options.supportedLngs || !1, this.logger = $.create("languageUtils");
	}
	return Q(e, [
		{
			key: "getScriptPartFromCode",
			value: function(e) {
				if (!e || e.indexOf("-") < 0) return null;
				var t = e.split("-");
				return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
			}
		},
		{
			key: "getLanguagePartFromCode",
			value: function(e) {
				if (!e || e.indexOf("-") < 0) return e;
				var t = e.split("-");
				return this.formatLanguageCode(t[0]);
			}
		},
		{
			key: "formatLanguageCode",
			value: function(e) {
				if (typeof e == "string" && e.indexOf("-") > -1) {
					var t = [
						"hans",
						"hant",
						"latn",
						"cyrl",
						"cans",
						"mong",
						"arab"
					], n = e.split("-");
					return this.options.lowerCaseLng ? n = n.map(function(e) {
						return e.toLowerCase();
					}) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = Jd(n[1].toLowerCase()))) : n.length === 3 && (n[0] = n[0].toLowerCase(), n[1].length === 2 && (n[1] = n[1].toUpperCase()), n[0] !== "sgn" && n[2].length === 2 && (n[2] = n[2].toUpperCase()), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = Jd(n[1].toLowerCase())), t.indexOf(n[2].toLowerCase()) > -1 && (n[2] = Jd(n[2].toLowerCase()))), n.join("-");
				}
				return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
			}
		},
		{
			key: "isWhitelisted",
			value: function(e) {
				return this.logger.deprecate("languageUtils.isWhitelisted", "function \"isWhitelisted\" will be renamed to \"isSupportedCode\" in the next major - please make sure to rename it's usage asap."), this.isSupportedCode(e);
			}
		},
		{
			key: "isSupportedCode",
			value: function(e) {
				return (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) && (e = this.getLanguagePartFromCode(e)), !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.indexOf(e) > -1;
			}
		},
		{
			key: "getBestMatchFromCodes",
			value: function(e) {
				var t = this;
				if (!e) return null;
				var n;
				return e.forEach(function(e) {
					if (!n) {
						var r = t.formatLanguageCode(e);
						(!t.options.supportedLngs || t.isSupportedCode(r)) && (n = r);
					}
				}), !n && this.options.supportedLngs && e.forEach(function(e) {
					if (!n) {
						var r = t.getLanguagePartFromCode(e);
						if (t.isSupportedCode(r)) return n = r;
						n = t.options.supportedLngs.find(function(e) {
							if (e.indexOf(r) === 0) return e;
						});
					}
				}), n || (n = this.getFallbackCodes(this.options.fallbackLng)[0]), n;
			}
		},
		{
			key: "getFallbackCodes",
			value: function(e, t) {
				if (!e) return [];
				if (typeof e == "function" && (e = e(t)), typeof e == "string" && (e = [e]), Object.prototype.toString.apply(e) === "[object Array]") return e;
				if (!t) return e.default || [];
				var n = e[t];
				return n || (n = e[this.getScriptPartFromCode(t)]), n || (n = e[this.formatLanguageCode(t)]), n || (n = e[this.getLanguagePartFromCode(t)]), n || (n = e.default), n || [];
			}
		},
		{
			key: "toResolveHierarchy",
			value: function(e, t) {
				var n = this, r = this.getFallbackCodes(t || this.options.fallbackLng || [], e), i = [], a = function(e) {
					e && (n.isSupportedCode(e) ? i.push(e) : n.logger.warn(`rejecting language code not found in supportedLngs: ${e}`));
				};
				return typeof e == "string" && e.indexOf("-") > -1 ? (this.options.load !== "languageOnly" && a(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && a(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && a(this.getLanguagePartFromCode(e))) : typeof e == "string" && a(this.formatLanguageCode(e)), r.forEach(function(e) {
					i.indexOf(e) < 0 && a(n.formatLanguageCode(e));
				}), i;
			}
		}
	]), e;
}(), Xd = [
	{
		lngs: [
			"ach",
			"ak",
			"am",
			"arn",
			"br",
			"fil",
			"gun",
			"ln",
			"mfe",
			"mg",
			"mi",
			"oc",
			"pt",
			"pt-BR",
			"tg",
			"tl",
			"ti",
			"tr",
			"uz",
			"wa"
		],
		nr: [1, 2],
		fc: 1
	},
	{
		lngs: /* @__PURE__ */ "af.an.ast.az.bg.bn.ca.da.de.dev.el.en.eo.es.et.eu.fi.fo.fur.fy.gl.gu.ha.hi.hu.hy.ia.it.kn.ku.lb.mai.ml.mn.mr.nah.nap.nb.ne.nl.nn.no.nso.pa.pap.pms.ps.pt-PT.rm.sco.se.si.so.son.sq.sv.sw.ta.te.tk.ur.yo".split("."),
		nr: [1, 2],
		fc: 2
	},
	{
		lngs: [
			"ay",
			"bo",
			"cgg",
			"fa",
			"ht",
			"id",
			"ja",
			"jbo",
			"ka",
			"kk",
			"km",
			"ko",
			"ky",
			"lo",
			"ms",
			"sah",
			"su",
			"th",
			"tt",
			"ug",
			"vi",
			"wo",
			"zh"
		],
		nr: [1],
		fc: 3
	},
	{
		lngs: [
			"be",
			"bs",
			"cnr",
			"dz",
			"hr",
			"ru",
			"sr",
			"uk"
		],
		nr: [
			1,
			2,
			5
		],
		fc: 4
	},
	{
		lngs: ["ar"],
		nr: [
			0,
			1,
			2,
			3,
			11,
			100
		],
		fc: 5
	},
	{
		lngs: ["cs", "sk"],
		nr: [
			1,
			2,
			5
		],
		fc: 6
	},
	{
		lngs: ["csb", "pl"],
		nr: [
			1,
			2,
			5
		],
		fc: 7
	},
	{
		lngs: ["cy"],
		nr: [
			1,
			2,
			3,
			8
		],
		fc: 8
	},
	{
		lngs: ["fr"],
		nr: [1, 2],
		fc: 9
	},
	{
		lngs: ["ga"],
		nr: [
			1,
			2,
			3,
			7,
			11
		],
		fc: 10
	},
	{
		lngs: ["gd"],
		nr: [
			1,
			2,
			3,
			20
		],
		fc: 11
	},
	{
		lngs: ["is"],
		nr: [1, 2],
		fc: 12
	},
	{
		lngs: ["jv"],
		nr: [0, 1],
		fc: 13
	},
	{
		lngs: ["kw"],
		nr: [
			1,
			2,
			3,
			4
		],
		fc: 14
	},
	{
		lngs: ["lt"],
		nr: [
			1,
			2,
			10
		],
		fc: 15
	},
	{
		lngs: ["lv"],
		nr: [
			1,
			2,
			0
		],
		fc: 16
	},
	{
		lngs: ["mk"],
		nr: [1, 2],
		fc: 17
	},
	{
		lngs: ["mnk"],
		nr: [
			0,
			1,
			2
		],
		fc: 18
	},
	{
		lngs: ["mt"],
		nr: [
			1,
			2,
			11,
			20
		],
		fc: 19
	},
	{
		lngs: ["or"],
		nr: [2, 1],
		fc: 2
	},
	{
		lngs: ["ro"],
		nr: [
			1,
			2,
			20
		],
		fc: 20
	},
	{
		lngs: ["sl"],
		nr: [
			5,
			1,
			2,
			3
		],
		fc: 21
	},
	{
		lngs: ["he", "iw"],
		nr: [
			1,
			2,
			20,
			21
		],
		fc: 22
	}
], Zd = {
	1: function(e) {
		return Number(e > 1);
	},
	2: function(e) {
		return Number(e != 1);
	},
	3: function(e) {
		return 0;
	},
	4: function(e) {
		return Number(e % 10 == 1 && e % 100 != 11 ? 0 : e % 10 >= 2 && e % 10 <= 4 && (e % 100 < 10 || e % 100 >= 20) ? 1 : 2);
	},
	5: function(e) {
		return Number(e == 0 ? 0 : e == 1 ? 1 : e == 2 ? 2 : e % 100 >= 3 && e % 100 <= 10 ? 3 : e % 100 >= 11 ? 4 : 5);
	},
	6: function(e) {
		return Number(e == 1 ? 0 : e >= 2 && e <= 4 ? 1 : 2);
	},
	7: function(e) {
		return Number(e == 1 ? 0 : e % 10 >= 2 && e % 10 <= 4 && (e % 100 < 10 || e % 100 >= 20) ? 1 : 2);
	},
	8: function(e) {
		return Number(e == 1 ? 0 : e == 2 ? 1 : e != 8 && e != 11 ? 2 : 3);
	},
	9: function(e) {
		return Number(e >= 2);
	},
	10: function(e) {
		return Number(e == 1 ? 0 : e == 2 ? 1 : e < 7 ? 2 : e < 11 ? 3 : 4);
	},
	11: function(e) {
		return Number(e == 1 || e == 11 ? 0 : e == 2 || e == 12 ? 1 : e > 2 && e < 20 ? 2 : 3);
	},
	12: function(e) {
		return Number(e % 10 != 1 || e % 100 == 11);
	},
	13: function(e) {
		return Number(e !== 0);
	},
	14: function(e) {
		return Number(e == 1 ? 0 : e == 2 ? 1 : e == 3 ? 2 : 3);
	},
	15: function(e) {
		return Number(e % 10 == 1 && e % 100 != 11 ? 0 : e % 10 >= 2 && (e % 100 < 10 || e % 100 >= 20) ? 1 : 2);
	},
	16: function(e) {
		return Number(e % 10 == 1 && e % 100 != 11 ? 0 : e === 0 ? 2 : 1);
	},
	17: function(e) {
		return Number(e == 1 || e % 10 == 1 && e % 100 != 11 ? 0 : 1);
	},
	18: function(e) {
		return Number(e == 0 ? 0 : e == 1 ? 1 : 2);
	},
	19: function(e) {
		return Number(e == 1 ? 0 : e == 0 || e % 100 > 1 && e % 100 < 11 ? 1 : e % 100 > 10 && e % 100 < 20 ? 2 : 3);
	},
	20: function(e) {
		return Number(e == 1 ? 0 : e == 0 || e % 100 > 0 && e % 100 < 20 ? 1 : 2);
	},
	21: function(e) {
		return Number(e % 100 == 1 ? 1 : e % 100 == 2 ? 2 : e % 100 == 3 || e % 100 == 4 ? 3 : 0);
	},
	22: function(e) {
		return Number(e == 1 ? 0 : e == 2 ? 1 : (e < 0 || e > 10) && e % 10 == 0 ? 2 : 3);
	}
};
function Qd() {
	var e = {};
	return Xd.forEach(function(t) {
		t.lngs.forEach(function(n) {
			e[n] = {
				numbers: t.nr,
				plurals: Zd[t.fc]
			};
		});
	}), e;
}
var $d = function() {
	function e(t) {
		var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
		Z(this, e), this.languageUtils = t, this.options = n, this.logger = $.create("pluralResolver"), this.rules = Qd();
	}
	return Q(e, [
		{
			key: "addRule",
			value: function(e, t) {
				this.rules[e] = t;
			}
		},
		{
			key: "getRule",
			value: function(e) {
				return this.rules[e] || this.rules[this.languageUtils.getLanguagePartFromCode(e)];
			}
		},
		{
			key: "needsPlural",
			value: function(e) {
				var t = this.getRule(e);
				return t && t.numbers.length > 1;
			}
		},
		{
			key: "getPluralFormsOfKey",
			value: function(e, t) {
				return this.getSuffixes(e).map(function(e) {
					return t + e;
				});
			}
		},
		{
			key: "getSuffixes",
			value: function(e) {
				var t = this, n = this.getRule(e);
				return n ? n.numbers.map(function(n) {
					return t.getSuffix(e, n);
				}) : [];
			}
		},
		{
			key: "getSuffix",
			value: function(e, t) {
				var n = this, r = this.getRule(e);
				if (r) {
					var i = r.noAbs ? r.plurals(t) : r.plurals(Math.abs(t)), a = r.numbers[i];
					this.options.simplifyPluralSuffix && r.numbers.length === 2 && r.numbers[0] === 1 && (a === 2 ? a = "plural" : a === 1 && (a = ""));
					var o = function() {
						return n.options.prepend && a.toString() ? n.options.prepend + a.toString() : a.toString();
					};
					return this.options.compatibilityJSON === "v1" ? a === 1 ? "" : typeof a == "number" ? `_plural_${a.toString()}` : o() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && r.numbers.length === 2 && r.numbers[0] === 1 ? o() : this.options.prepend && i.toString() ? this.options.prepend + i.toString() : i.toString();
				}
				return this.logger.warn(`no plural rule found for: ${e}`), "";
			}
		}
	]), e;
}(), ef = function() {
	function e() {
		var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
		Z(this, e), this.logger = $.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || function(e) {
			return e;
		}, this.init(t);
	}
	return Q(e, [
		{
			key: "init",
			value: function() {
				var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
				e.interpolation || (e.interpolation = { escapeValue: !0 });
				var t = e.interpolation;
				this.escape = t.escape === void 0 ? Hd : t.escape, this.escapeValue = t.escapeValue === void 0 || t.escapeValue, this.useRawValueToEscape = t.useRawValueToEscape !== void 0 && t.useRawValueToEscape, this.prefix = t.prefix ? Bd(t.prefix) : t.prefixEscaped || "{{", this.suffix = t.suffix ? Bd(t.suffix) : t.suffixEscaped || "}}", this.formatSeparator = t.formatSeparator ? t.formatSeparator : t.formatSeparator || ",", this.unescapePrefix = t.unescapeSuffix ? "" : t.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : t.unescapeSuffix || "", this.nestingPrefix = t.nestingPrefix ? Bd(t.nestingPrefix) : t.nestingPrefixEscaped || Bd("$t("), this.nestingSuffix = t.nestingSuffix ? Bd(t.nestingSuffix) : t.nestingSuffixEscaped || Bd(")"), this.nestingOptionsSeparator = t.nestingOptionsSeparator ? t.nestingOptionsSeparator : t.nestingOptionsSeparator || ",", this.maxReplaces = t.maxReplaces ? t.maxReplaces : 1e3, this.alwaysFormat = t.alwaysFormat !== void 0 && t.alwaysFormat, this.resetRegExp();
			}
		},
		{
			key: "reset",
			value: function() {
				this.options && this.init(this.options);
			}
		},
		{
			key: "resetRegExp",
			value: function() {
				var e = `${this.prefix}(.+?)${this.suffix}`;
				this.regexp = new RegExp(e, "g");
				var t = `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`;
				this.regexpUnescape = new RegExp(t, "g");
				var n = `${this.nestingPrefix}(.+?)${this.nestingSuffix}`;
				this.nestingRegexp = new RegExp(n, "g");
			}
		},
		{
			key: "interpolate",
			value: function(e, t, n, r) {
				var i = this, a, o, s, c = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {};
				function l(e) {
					return e.replace(/\$/g, "$$$$");
				}
				var u = function(e) {
					if (e.indexOf(i.formatSeparator) < 0) {
						var a = Rd(t, c, e);
						return i.alwaysFormat ? i.format(a, void 0, n) : a;
					}
					var o = e.split(i.formatSeparator), s = o.shift().trim(), l = o.join(i.formatSeparator).trim();
					return i.format(Rd(t, c, s), l, n, r);
				};
				this.resetRegExp();
				var d = r && r.missingInterpolationHandler || this.options.missingInterpolationHandler, f = r && r.interpolation && r.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables;
				return [{
					regex: this.regexpUnescape,
					safeValue: function(e) {
						return l(e);
					}
				}, {
					regex: this.regexp,
					safeValue: function(e) {
						return i.escapeValue ? l(i.escape(e)) : l(e);
					}
				}].forEach(function(t) {
					for (s = 0; a = t.regex.exec(e);) {
						if (o = u(a[1].trim()), o === void 0) if (typeof d == "function") {
							var n = d(e, a, r);
							o = typeof n == "string" ? n : "";
						} else if (f) {
							o = a[0];
							continue;
						} else i.logger.warn(`missed to pass in variable ${a[1]} for interpolating ${e}`), o = "";
						else typeof o != "string" && !i.useRawValueToEscape && (o = Md(o));
						if (e = e.replace(a[0], t.safeValue(o)), t.regex.lastIndex = 0, s++, s >= i.maxReplaces) break;
					}
				}), e;
			}
		},
		{
			key: "nest",
			value: function(e, t) {
				var n = this, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i, a, o = X({}, r);
				o.applyPostProcessor = !1, delete o.defaultValue;
				function s(e, t) {
					var n = this.nestingOptionsSeparator;
					if (e.indexOf(n) < 0) return e;
					var r = e.split(RegExp(`${n}[ ]*{`)), i = `{${r[1]}`;
					e = r[0], i = this.interpolate(i, o), i = i.replace(/'/g, "\"");
					try {
						o = JSON.parse(i), t && (o = X({}, t, o));
					} catch (t) {
						return this.logger.warn(`failed parsing options string in nesting for key ${e}`, t), `${e}${n}${i}`;
					}
					return delete o.defaultValue, e;
				}
				for (; i = this.nestingRegexp.exec(e);) {
					var c = [], l = !1;
					if (i[0].includes(this.formatSeparator) && !/{.*}/.test(i[1])) {
						var u = i[1].split(this.formatSeparator).map(function(e) {
							return e.trim();
						});
						i[1] = u.shift(), c = u, l = !0;
					}
					if (a = t(s.call(this, i[1].trim(), o), o), a && i[0] === e && typeof a != "string") return a;
					typeof a != "string" && (a = Md(a)), a || (this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`), a = ""), l && (a = c.reduce(function(e, t) {
						return n.format(e, t, r.lng, r);
					}, a.trim())), e = e.replace(i[0], a), this.regexp.lastIndex = 0;
				}
				return e;
			}
		}
	]), e;
}();
function tf(e, t) {
	for (var n = e.indexOf(t); n !== -1;) e.splice(n, 1), n = e.indexOf(t);
}
var nf = function(e) {
	Od(t, e);
	function t(e, n, r) {
		var i, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
		return Z(this, t), i = Td(this, Ed(t).call(this)), Ud && Ad.call(wd(i)), i.backend = e, i.store = n, i.services = r, i.languageUtils = r.languageUtils, i.options = a, i.logger = $.create("backendConnector"), i.state = {}, i.queue = [], i.backend && i.backend.init && i.backend.init(r, a.backend, a), i;
	}
	return Q(t, [
		{
			key: "queueLoad",
			value: function(e, t, n, r) {
				var i = this, a = [], o = [], s = [], c = [];
				return e.forEach(function(e) {
					var r = !0;
					t.forEach(function(t) {
						var s = `${e}|${t}`;
						!n.reload && i.store.hasResourceBundle(e, t) ? i.state[s] = 2 : i.state[s] < 0 || (i.state[s] === 1 ? o.indexOf(s) < 0 && o.push(s) : (i.state[s] = 1, r = !1, o.indexOf(s) < 0 && o.push(s), a.indexOf(s) < 0 && a.push(s), c.indexOf(t) < 0 && c.push(t)));
					}), r || s.push(e);
				}), (a.length || o.length) && this.queue.push({
					pending: o,
					loaded: {},
					errors: [],
					callback: r
				}), {
					toLoad: a,
					pending: o,
					toLoadLanguages: s,
					toLoadNamespaces: c
				};
			}
		},
		{
			key: "loaded",
			value: function(e, t, n) {
				var r = e.split("|"), i = r[0], a = r[1];
				t && this.emit("failedLoading", i, a, t), n && this.store.addResourceBundle(i, a, n), this.state[e] = t ? -1 : 2;
				var o = {};
				this.queue.forEach(function(n) {
					Id(n.loaded, [i], a), tf(n.pending, e), t && n.errors.push(t), n.pending.length === 0 && !n.done && (Object.keys(n.loaded).forEach(function(e) {
						o[e] || (o[e] = []), n.loaded[e].length && n.loaded[e].forEach(function(t) {
							o[e].indexOf(t) < 0 && o[e].push(t);
						});
					}), n.done = !0, n.errors.length ? n.callback(n.errors) : n.callback());
				}), this.emit("loaded", o), this.queue = this.queue.filter(function(e) {
					return !e.done;
				});
			}
		},
		{
			key: "read",
			value: function(e, t, n) {
				var r = this, i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 350, o = arguments.length > 5 ? arguments[5] : void 0;
				return e.length ? this.backend[n](e, t, function(s, c) {
					if (s && c && i < 5) {
						setTimeout(function() {
							r.read.call(r, e, t, n, i + 1, a * 2, o);
						}, a);
						return;
					}
					o(s, c);
				}) : o(null, {});
			}
		},
		{
			key: "prepareLoading",
			value: function(e, t) {
				var n = this, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = arguments.length > 3 ? arguments[3] : void 0;
				if (!this.backend) return this.logger.warn("No backend was added via i18next.use. Will not load resources."), i && i();
				typeof e == "string" && (e = this.languageUtils.toResolveHierarchy(e)), typeof t == "string" && (t = [t]);
				var a = this.queueLoad(e, t, r, i);
				if (!a.toLoad.length) return a.pending.length || i(), null;
				a.toLoad.forEach(function(e) {
					n.loadOne(e);
				});
			}
		},
		{
			key: "load",
			value: function(e, t, n) {
				this.prepareLoading(e, t, {}, n);
			}
		},
		{
			key: "reload",
			value: function(e, t, n) {
				this.prepareLoading(e, t, { reload: !0 }, n);
			}
		},
		{
			key: "loadOne",
			value: function(e) {
				var t = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", r = e.split("|"), i = r[0], a = r[1];
				this.read(i, a, "read", void 0, void 0, function(r, o) {
					r && t.logger.warn(`${n}loading namespace ${a} for language ${i} failed`, r), !r && o && t.logger.log(`${n}loaded namespace ${a} for language ${i}`, o), t.loaded(e, r, o);
				});
			}
		},
		{
			key: "saveMissing",
			value: function(e, t, n, r, i) {
				var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {};
				if (this.services.utils && this.services.utils.hasLoadedNamespace && !this.services.utils.hasLoadedNamespace(t)) {
					this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");
					return;
				}
				n == null || n === "" || (this.backend && this.backend.create && this.backend.create(e, t, n, r, null, X({}, a, { isUpdate: i })), !(!e || !e[0]) && this.store.addResource(e[0], t, n, r));
			}
		}
	]), t;
}(Ad);
function rf() {
	return {
		debug: !1,
		initImmediate: !0,
		ns: ["translation"],
		defaultNS: ["translation"],
		fallbackLng: ["dev"],
		fallbackNS: !1,
		whitelist: !1,
		nonExplicitWhitelist: !1,
		supportedLngs: !1,
		nonExplicitSupportedLngs: !1,
		load: "all",
		preload: !1,
		simplifyPluralSuffix: !0,
		keySeparator: ".",
		nsSeparator: ":",
		pluralSeparator: "_",
		contextSeparator: "_",
		partialBundledLanguages: !1,
		saveMissing: !1,
		updateMissing: !1,
		saveMissingTo: "fallback",
		saveMissingPlurals: !0,
		missingKeyHandler: !1,
		missingInterpolationHandler: !1,
		postProcess: !1,
		postProcessPassResolved: !1,
		returnNull: !0,
		returnEmptyString: !0,
		returnObjects: !1,
		joinArrays: !1,
		returnedObjectHandler: !1,
		parseMissingKeyHandler: !1,
		appendNamespaceToMissingKey: !1,
		appendNamespaceToCIMode: !1,
		overloadTranslationOptionHandler: function(e) {
			var t = {};
			if (Y(e[1]) === "object" && (t = e[1]), typeof e[1] == "string" && (t.defaultValue = e[1]), typeof e[2] == "string" && (t.tDescription = e[2]), Y(e[2]) === "object" || Y(e[3]) === "object") {
				var n = e[3] || e[2];
				Object.keys(n).forEach(function(e) {
					t[e] = n[e];
				});
			}
			return t;
		},
		interpolation: {
			escapeValue: !0,
			format: function(e, t, n, r) {
				return e;
			},
			prefix: "{{",
			suffix: "}}",
			formatSeparator: ",",
			unescapePrefix: "-",
			nestingPrefix: "$t(",
			nestingSuffix: ")",
			nestingOptionsSeparator: ",",
			maxReplaces: 1e3,
			skipOnVariables: !1
		}
	};
}
function af(e) {
	return typeof e.ns == "string" && (e.ns = [e.ns]), typeof e.fallbackLng == "string" && (e.fallbackLng = [e.fallbackLng]), typeof e.fallbackNS == "string" && (e.fallbackNS = [e.fallbackNS]), e.whitelist && (e.whitelist && e.whitelist.indexOf("cimode") < 0 && (e.whitelist = e.whitelist.concat(["cimode"])), e.supportedLngs = e.whitelist), e.nonExplicitWhitelist && (e.nonExplicitSupportedLngs = e.nonExplicitWhitelist), e.supportedLngs && e.supportedLngs.indexOf("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), e;
}
function of() {}
var sf = new (function(e) {
	Od(t, e);
	function t() {
		var e, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
		if (Z(this, t), e = Td(this, Ed(t).call(this)), Ud && Ad.call(wd(e)), e.options = af(n), e.services = {}, e.logger = $, e.modules = { external: [] }, r && !e.isInitialized && !n.isClone) {
			if (!e.options.initImmediate) return e.init(n, r), Td(e, wd(e));
			setTimeout(function() {
				e.init(n, r);
			}, 0);
		}
		return e;
	}
	return Q(t, [
		{
			key: "init",
			value: function() {
				var e = this, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
				typeof t == "function" && (n = t, t = {}), t.whitelist && !t.supportedLngs && this.logger.deprecate("whitelist", "option \"whitelist\" will be renamed to \"supportedLngs\" in the next major - please make sure to rename this option asap."), t.nonExplicitWhitelist && !t.nonExplicitSupportedLngs && this.logger.deprecate("whitelist", "options \"nonExplicitWhitelist\" will be renamed to \"nonExplicitSupportedLngs\" in the next major - please make sure to rename this option asap."), this.options = X({}, rf(), this.options, af(t)), this.format = this.options.interpolation.format, n || (n = of);
				function r(e) {
					return e ? typeof e == "function" ? new e() : e : null;
				}
				if (!this.options.isClone) {
					this.modules.logger ? $.init(r(this.modules.logger), this.options) : $.init(null, this.options);
					var i = new Yd(this.options);
					this.store = new Wd(this.options.resources, this.options);
					var a = this.services;
					a.logger = $, a.resourceStore = this.store, a.languageUtils = i, a.pluralResolver = new $d(i, {
						prepend: this.options.pluralSeparator,
						compatibilityJSON: this.options.compatibilityJSON,
						simplifyPluralSuffix: this.options.simplifyPluralSuffix
					}), a.interpolator = new ef(this.options), a.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, a.backendConnector = new nf(r(this.modules.backend), a.resourceStore, a, this.options), a.backendConnector.on("*", function(t) {
						var n = [...arguments].slice(1);
						e.emit.apply(e, [t].concat(n));
					}), this.modules.languageDetector && (a.languageDetector = r(this.modules.languageDetector), a.languageDetector.init(a, this.options.detection, this.options)), this.modules.i18nFormat && (a.i18nFormat = r(this.modules.i18nFormat), a.i18nFormat.init && a.i18nFormat.init(this)), this.translator = new qd(this.services, this.options), this.translator.on("*", function(t) {
						var n = [...arguments].slice(1);
						e.emit.apply(e, [t].concat(n));
					}), this.modules.external.forEach(function(t) {
						t.init && t.init(e);
					});
				}
				if (this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
					var o = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
					o.length > 0 && o[0] !== "dev" && (this.options.lng = o[0]);
				}
				!this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), [
					"getResource",
					"hasResourceBundle",
					"getResourceBundle",
					"getDataByLanguage"
				].forEach(function(t) {
					e[t] = function() {
						var n;
						return (n = e.store)[t].apply(n, arguments);
					};
				}), [
					"addResource",
					"addResources",
					"addResourceBundle",
					"removeResourceBundle"
				].forEach(function(t) {
					e[t] = function() {
						var n;
						return (n = e.store)[t].apply(n, arguments), e;
					};
				});
				var s = jd(), c = function() {
					var t = function(t, r) {
						e.isInitialized && e.logger.warn("init: i18next is already initialized. You should call init just once!"), e.isInitialized = !0, e.options.isClone || e.logger.log("initialized", e.options), e.emit("initialized", e.options), s.resolve(r), n(t, r);
					};
					if (e.languages && e.options.compatibilityAPI !== "v1" && !e.isInitialized) return t(null, e.t.bind(e));
					e.changeLanguage(e.options.lng, t);
				};
				return this.options.resources || !this.options.initImmediate ? c() : setTimeout(c, 0), s;
			}
		},
		{
			key: "loadResources",
			value: function(e) {
				var t = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : of, r = typeof e == "string" ? e : this.language;
				if (typeof e == "function" && (n = e), !this.options.resources || this.options.partialBundledLanguages) {
					if (r && r.toLowerCase() === "cimode") return n();
					var i = [], a = function(e) {
						e && t.services.languageUtils.toResolveHierarchy(e).forEach(function(e) {
							i.indexOf(e) < 0 && i.push(e);
						});
					};
					r ? a(r) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(function(e) {
						return a(e);
					}), this.options.preload && this.options.preload.forEach(function(e) {
						return a(e);
					}), this.services.backendConnector.load(i, this.options.ns, n);
				} else n(null);
			}
		},
		{
			key: "reloadResources",
			value: function(e, t, n) {
				var r = jd();
				return e || (e = this.languages), t || (t = this.options.ns), n || (n = of), this.services.backendConnector.reload(e, t, function(e) {
					r.resolve(), n(e);
				}), r;
			}
		},
		{
			key: "use",
			value: function(e) {
				if (!e) throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
				if (!e.type) throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
				return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Gd.addPostProcessor(e), e.type === "3rdParty" && this.modules.external.push(e), this;
			}
		},
		{
			key: "changeLanguage",
			value: function(e, t) {
				var n = this;
				this.isLanguageChangingTo = e;
				var r = jd();
				this.emit("languageChanging", e);
				var i = function(e, i) {
					i ? (n.language = i, n.languages = n.services.languageUtils.toResolveHierarchy(i), n.translator.changeLanguage(i), n.isLanguageChangingTo = void 0, n.emit("languageChanged", i), n.logger.log("languageChanged", i)) : n.isLanguageChangingTo = void 0, r.resolve(function() {
						return n.t.apply(n, arguments);
					}), t && t(e, function() {
						return n.t.apply(n, arguments);
					});
				}, a = function(e) {
					var t = typeof e == "string" ? e : n.services.languageUtils.getBestMatchFromCodes(e);
					t && (n.language || (n.language = t, n.languages = n.services.languageUtils.toResolveHierarchy(t)), n.translator.language || n.translator.changeLanguage(t), n.services.languageDetector && n.services.languageDetector.cacheUserLanguage(t)), n.loadResources(t, function(e) {
						i(e, t);
					});
				};
				return !e && this.services.languageDetector && !this.services.languageDetector.async ? a(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect(a) : a(e), r;
			}
		},
		{
			key: "getFixedT",
			value: function(e, t) {
				var n = this, r = function e(t, r) {
					var i;
					if (Y(r) !== "object") {
						var a = [...arguments].slice(2);
						i = n.options.overloadTranslationOptionHandler([t, r].concat(a));
					} else i = X({}, r);
					return i.lng = i.lng || e.lng, i.lngs = i.lngs || e.lngs, i.ns = i.ns || e.ns, n.t(t, i);
				};
				return typeof e == "string" ? r.lng = e : r.lngs = e, r.ns = t, r;
			}
		},
		{
			key: "t",
			value: function() {
				var e;
				return this.translator && (e = this.translator).translate.apply(e, arguments);
			}
		},
		{
			key: "exists",
			value: function() {
				var e;
				return this.translator && (e = this.translator).exists.apply(e, arguments);
			}
		},
		{
			key: "setDefaultNamespace",
			value: function(e) {
				this.options.defaultNS = e;
			}
		},
		{
			key: "hasLoadedNamespace",
			value: function(e) {
				var t = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
				if (!this.isInitialized) return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1;
				if (!this.languages || !this.languages.length) return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
				var r = this.languages[0], i = this.options ? this.options.fallbackLng : !1, a = this.languages[this.languages.length - 1];
				if (r.toLowerCase() === "cimode") return !0;
				var o = function(e, n) {
					var r = t.services.backendConnector.state[`${e}|${n}`];
					return r === -1 || r === 2;
				};
				if (n.precheck) {
					var s = n.precheck(this, o);
					if (s !== void 0) return s;
				}
				return !!(this.hasResourceBundle(r, e) || !this.services.backendConnector.backend || o(r, e) && (!i || o(a, e)));
			}
		},
		{
			key: "loadNamespaces",
			value: function(e, t) {
				var n = this, r = jd();
				return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach(function(e) {
					n.options.ns.indexOf(e) < 0 && n.options.ns.push(e);
				}), this.loadResources(function(e) {
					r.resolve(), t && t(e);
				}), r) : (t && t(), Promise.resolve());
			}
		},
		{
			key: "loadLanguages",
			value: function(e, t) {
				var n = jd();
				typeof e == "string" && (e = [e]);
				var r = this.options.preload || [], i = e.filter(function(e) {
					return r.indexOf(e) < 0;
				});
				return i.length ? (this.options.preload = r.concat(i), this.loadResources(function(e) {
					n.resolve(), t && t(e);
				}), n) : (t && t(), Promise.resolve());
			}
		},
		{
			key: "dir",
			value: function(e) {
				return e || (e = this.languages && this.languages.length > 0 ? this.languages[0] : this.language), e ? (/* @__PURE__ */ "ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam".split(".")).indexOf(this.services.languageUtils.getLanguagePartFromCode(e)) >= 0 ? "rtl" : "ltr" : "rtl";
			}
		},
		{
			key: "createInstance",
			value: function() {
				return new t(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, arguments.length > 1 ? arguments[1] : void 0);
			}
		},
		{
			key: "cloneInstance",
			value: function() {
				var e = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : of, i = X({}, this.options, n, { isClone: !0 }), a = new t(i);
				return [
					"store",
					"services",
					"language"
				].forEach(function(t) {
					a[t] = e[t];
				}), a.services = X({}, this.services), a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a.translator = new qd(a.services, a.options), a.translator.on("*", function(e) {
					var t = [...arguments].slice(1);
					a.emit.apply(a, [e].concat(t));
				}), a.init(i, r), a.translator.options = a.options, a.translator.backendConnector.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a;
			}
		}
	]), t;
}(Ad))(), cf = {
	de: "Deutsch",
	en: "English",
	es: "Español",
	fr: "Français",
	it: "Italiano",
	ko: "한국어",
	nl: "Nederlands",
	pt: "Português",
	ru: "Русский",
	tr: "Türkçe",
	zh: "中文",
	sv: "Svenska",
	ar: "العربية",
	th: "ไทย",
	vi: "Tiếng Việt",
	uk: "Українська",
	he: "עברית",
	kk: "Қазақша",
	pl: "Polski",
	mn: "Монгол",
	da: "Dansk"
};
//#endregion
//#region src/utils/localStorage.ts
function lf() {
	try {
		return localStorage.setItem("test", "test"), localStorage.removeItem("test"), !0;
	} catch {
		return !1;
	}
}
var uf = lf(), df = "en", ff = "efp-locale", pf = "language", mf = i.box(df), hf = i.array([], { deep: !1 }), gf = (e) => hd(`${ud}locales/${e}.json`), _f = () => {
	if (!uf) return null;
	let e = localStorage.getItem(ff), t = localStorage.getItem(pf);
	return t && localStorage.removeItem(pf), e || (t && localStorage.setItem(ff, t), t);
}, vf = () => {
	var e;
	let t = ((e = navigator.languages) == null ? void 0 : e[0]) || navigator.language, n = Object.keys(cf).find((e) => t.startsWith(e));
	return (_f() || c().locale || n || df).toLowerCase();
}, yf = () => mf.get(), bf = () => hf, xf = (e) => hf.some((t) => t.id === e), Sf = (e, t) => (mf.get(), sf.t(e, t)), Cf = (e, t) => (mf.get(), sf.exists(e, t) ? sf.t(e, t) : e), wf = async () => {
	hf.replace(Object.entries(cf).sort(([e], [t]) => e.localeCompare(t)).map(([e, t]) => ({
		id: e,
		name: t,
		entity: { type: Yu }
	})));
	let e = vf(), t = {};
	if (e !== df) try {
		t[e] = { translation: await gf(e) };
	} catch (t) {
		console.error(`Unable to load "${e}" localization, falling back to "${df}".`, t), e = df;
	}
	return mf.set(e), sf.init({
		resources: t,
		lng: e,
		keySeparator: !1,
		saveMissing: e !== df,
		missingKeyHandler: (e, t, n, r) => console.debug(`i18n missing key: '${e[0]}:${t}:${n}', fallback: '${r}'`)
	});
}, Tf = async (e) => {
	let t = e.toLowerCase();
	try {
		t !== df && !sf.hasResourceBundle(t, "translation") && sf.addResourceBundle(t, "translation", await gf(t), !0, !0), await sf.changeLanguage(t), mf.set(t), uf && localStorage.setItem(ff, t);
	} catch (e) {
		console.error(`Failed to switch language to "${t}":`, e);
	}
}, Ef = async () => (uf && (localStorage.removeItem(ff), localStorage.removeItem(pf)), Tf(vf()));
//#endregion
export { Sc as $, Zu as A, o as At, Wu as B, sd as C, Ne as Ct, Yu as D, u as Dt, Uu as E, O as Et, Hu as F, bl as G, Xu as H, Bu as I, sl as J, xl as K, Iu as L, zu as M, qu as N, $u as O, c as Ot, Vu as P, Ec as Q, Qu as R, ad as S, je as St, od as T, x as Tt, Fu as U, ed as V, bu as W, ml as X, gl as Y, Zc as Z, Ju as _, Vn as _t, Ef as a, Rs as at, nd as b, De as bt, Cf as c, zr as ct, gd as d, or as dt, Cc as et, yd as f, bn as ft, Ru as g, wn as gt, ud as h, fn as ht, wf as i, ac as it, cd as j, td as k, s as kt, uf as l, Nr as lt, md as m, vn as mt, bf as n, vc as nt, Tf as o, os as ot, _d as p, er as pt, J as q, xf as r, oc as rt, Sf as s, ts as st, yf as t, cc as tt, Dd as u, si as ut, Gu as v, Rt as vt, id as w, D as wt, rd as x, ke as xt, Ku as y, M as yt, Lu as z };