Main/resources/[um]/um-multicharacter/web/build/assets/index-f22806ba.js

20 lines
335 KiB
JavaScript
Raw Permalink Normal View History

2025-06-07 08:51:21 +02:00
(function () { const t = document.createElement("link").relList; if (t && t.supports && t.supports("modulepreload")) return; for (const a of document.querySelectorAll('link[rel="modulepreload"]')) r(a); new MutationObserver(a => { for (const i of a) if (i.type === "childList") for (const o of i.addedNodes) o.tagName === "LINK" && o.rel === "modulepreload" && r(o) }).observe(document, { childList: !0, subtree: !0 }); function n(a) { const i = {}; return a.integrity && (i.integrity = a.integrity), a.referrerPolicy && (i.referrerPolicy = a.referrerPolicy), a.crossOrigin === "use-credentials" ? i.credentials = "include" : a.crossOrigin === "anonymous" ? i.credentials = "omit" : i.credentials = "same-origin", i } function r(a) { if (a.ep) return; a.ep = !0; const i = n(a); fetch(a.href, i) } })(); function zr(e, t) { const n = Object.create(null), r = e.split(","); for (let a = 0; a < r.length; a++)n[r[a]] = !0; return t ? a => !!n[a.toLowerCase()] : a => !!n[a] } const Pe = {}, En = [], gt = () => { }, Fl = () => !1, Ul = /^on[^a-z]/, Va = e => Ul.test(e), qr = e => e.startsWith("onUpdate:"), We = Object.assign, Yr = (e, t) => { const n = e.indexOf(t); n > -1 && e.splice(n, 1) }, _l = Object.prototype.hasOwnProperty, we = (e, t) => _l.call(e, t), le = Array.isArray, kn = e => Ha(e) === "[object Map]", No = e => Ha(e) === "[object Set]", me = e => typeof e == "function", qe = e => typeof e == "string", Kr = e => typeof e == "symbol", Le = e => e !== null && typeof e == "object", Lo = e => Le(e) && me(e.then) && me(e.catch), Io = Object.prototype.toString, Ha = e => Io.call(e), xl = e => Ha(e).slice(8, -1), $o = e => Ha(e) === "[object Object]", Wr = e => qe(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, ba = zr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"), za = e => { const t = Object.create(null); return n => t[n] || (t[n] = e(n)) }, El = /-(\w)/g, St = za(e => e.replace(El, (t, n) => n ? n.toUpperCase() : "")), kl = /\B([A-Z])/g, Pn = za(e => e.replace(kl, "-$1").toLowerCase()), qa = za(e => e.charAt(0).toUpperCase() + e.slice(1)), lr = za(e => e ? `on${qa(e)}` : ""), Qn = (e, t) => !Object.is(e, t), wa = (e, t) => { for (let n = 0; n < e.length; n++)e[n](t) }, Ea = (e, t, n) => { Object.defineProperty(e, t, { configurable: !0, enumerable: !1, value: n }) }, wr = e => { const t = parseFloat(e); return isNaN(t) ? e : t }; let Ci; const Fr = () => Ci || (Ci = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}); function Nn(e) { if (le(e)) { const t = {}; for (let n = 0; n < e.length; n++) { const r = e[n], a = qe(r) ? Ol(r) : Nn(r); if (a) for (const i in a) t[i] = a[i] } return t } else { if (qe(e)) return e; if (Le(e)) return e } } const jl = /;(?![^(]*\))/g, Cl = /:([^]+)/, Sl = new RegExp("\\/\\*.*?\\*\\/", "gs"); function Ol(e) { const t = {}; return e.replace(Sl, "").split(jl).forEach(n => { if (n) { const r = n.split(Cl); r.length > 1 && (t[r[0].trim()] = r[1].trim()) } }), t } function Wt(e) { let t = ""; if (qe(e)) t = e; else if (le(e)) for (let n = 0; n < e.length; n++) { const r = Wt(e[n]); r && (t += r + " ") } else if (Le(e)) for (const n in e) e[n] && (t += n + " "); return t.trim() } const Tl = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Al = zr(Tl); function Ro(e) { return !!e || e === "" } const he = e => qe(e) ? e : e == null ? "" : le(e) || Le(e) && (e.toString === Io || !me(e.toString)) ? JSON.stringify(e, Bo, 2) : String(e), Bo = (e, t) => t && t.__v_isRef ? Bo(e, t.value) : kn(t) ? { [`Map(${t.size})`]: [...t.entries()].reduce((n, [r, a]) => (n[`${r} =>`] = a, n), {}) } : No(t) ? { [`Set(${t.size})`]: [...t.values()] } : Le(t) && !le(t) && !$o(t) ? String(t) : t; let ht; class Dl { constructor(t = !1) { this.detached = t, this._active = !0, this.effects = [], this.cleanups = [], this.parent = ht, !t && ht && (this.index = (ht.scopes || (ht.scopes = [])).push(this) - 1) } get active()
* vee-validate v4.9.5
* (c) 2023 Abdelrahman Awad
* @license MIT
*/function Je(e) { return typeof e == "function" } function Ps(e) { return e == null } const Qt = e => e !== null && !!e && typeof e == "object" && !Array.isArray(e); function Ns(e) { return Number(e) >= 0 } function yd(e) { const t = parseFloat(e); return isNaN(t) ? e : t } function Ls(e, t) { return Object.keys(t).forEach(n => { if (Qt(t[n])) { e[n] || (e[n] = {}), Ls(e[n], t[n]); return } e[n] = t[n] }), e } const bd = {}; function wd(e) { return bd[e] } const nr = Symbol("vee-validate-form"), Fd = Symbol("vee-validate-field-instance"), Da = Symbol("Default empty value"), Ud = typeof window < "u"; function Dr(e) { return Je(e) && !!e.__locatorRef } function hn(e) { return !!e && Je(e.parse) && e.__type === "VVTypedSchema" } function Ma(e) { return !!e && Je(e.validate) } function sa(e) { return e === "checkbox" || e === "radio" } function _d(e) { return Qt(e) || Array.isArray(e) } function xd(e) { return Array.isArray(e) ? e.length === 0 : Qt(e) && Object.keys(e).length === 0 } function ar(e) { return /^\[.+\]$/i.test(e) } function Ed(e) { return Is(e) && e.multiple } function Is(e) { return e.tagName === "SELECT" } function kd(e, t) { const n = ![!1, null, void 0, 0].includes(t.multiple) && !Number.isNaN(t.multiple); return e === "select" && "multiple" in t && n } function jd(e, t) { return !kd(e, t) && t.type !== "file" && !sa(t.type) } function $s(e) { return mi(e) && e.target && "submit" in e.target } function mi(e) { return e ? !!(typeof Event < "u" && Je(Event) && e instanceof Event || e && e.srcElement) : !1 } function so(e, t) { return t in e && e[t] !== Da } function tt(e, t) { if (e === t) return !0; if (e && t && typeof e == "object" && typeof t == "object") { if (e.constructor !== t.constructor) return !1; var n, r, a; if (Array.isArray(e)) { if (n = e.length, n != t.length) return !1; for (r = n; r-- !== 0;)if (!tt(e[r], t[r])) return !1; return !0 } if (e instanceof Map && t instanceof Map) { if (e.size !== t.size) return !1; for (r of e.entries()) if (!t.has(r[0])) return !1; for (r of e.entries()) if (!tt(r[1], t.get(r[0]))) return !1; return !0 } if (lo(e) && lo(t)) return !(e.size !== t.size || e.name !== t.name || e.lastModified !== t.lastModified || e.type !== t.type); if (e instanceof Set && t instanceof Set) { if (e.size !== t.size) return !1; for (r of e.entries()) if (!t.has(r[0])) return !1; return !0 } if (ArrayBuffer.isView(e) && ArrayBuffer.isView(t)) { if (n = e.length, n != t.length) return !1; for (r = n; r-- !== 0;)if (e[r] !== t[r]) return !1; return !0 } if (e.constructor === RegExp) return e.source === t.source && e.flags === t.flags; if (e.valueOf !== Object.prototype.valueOf) return e.valueOf() === t.valueOf(); if (e.toString !== Object.prototype.toString) return e.toString() === t.toString(); if (a = Object.keys(e), n = a.length, n !== Object.keys(t).length) return !1; for (r = n; r-- !== 0;)if (!Object.prototype.hasOwnProperty.call(t, a[r])) return !1; for (r = n; r-- !== 0;) { var i = a[r]; if (!tt(e[i], t[i])) return !1 } return !0 } return e !== e && t !== t } function lo(e) { return Ud ? e instanceof File : !1 } function uo(e, t, n) { typeof n.value == "object" && (n.value = $e(n.value)), !n.enumerable || n.get || n.set || !n.configurable || !n.writable || t === "__proto__" ? Object.defineProperty(e, t, n) : e[t] = n.value } function $e(e) { if (typeof e != "object") return e; var t = 0, n, r, a, i = Object.prototype.toString.call(e); if (i === "[object Object]" ? a = Object.create(e.__proto__ || null) : i === "[object Array]" ? a = Array(e.length) : i === "[object Set]" ? (a = new Set, e.forEach(function (o) { a.add($e(o)) })) : i === "[object Map]" ? (a = new Map, e.forEach(function (o, s) { a.set($e(s), $e(o)) })) : i === "[object Date]" ? a = new Date(+e) : i === "[object RegExp]" ? a = new RegExp(e.source, e.flags) : i === "[object DataView]" ? a = new e.constructor($e(e.buffer)) : i === "[object ArrayBuffer]" ? a = e.slice(0) : i.slice(-6) === "Array]" && (a = new e.constructor(e)), a) { for (r = Object.getOwnPropertySymbols(e); t < r.length; t++)uo(a, r[t], Object.g
constructor(t) { this.type = void 0, this.deps = [], this.tests = void 0, this.transforms = void 0, this.conditions = [], this._mutate = void 0, this.internalTests = {}, this._whitelist = new Ia, this._blacklist = new Ia, this.exclusiveTests = Object.create(null), this._typeCheck = void 0, this.spec = void 0, this.tests = [], this.transforms = [], this.withMutation(() => { this.typeError(At.notType) }), this.type = t.type, this._typeCheck = t.check, this.spec = Object.assign({ strip: !1, strict: !1, abortEarly: !0, recursive: !0, nullable: !1, optional: !0, coerce: !0 }, t == null ? void 0 : t.spec), this.withMutation(n => { n.nonNullable() }) } get _type() { return this.type } clone(t) { if (this._mutate) return t && Object.assign(this.spec, t), this; const n = Object.create(Object.getPrototypeOf(this)); return n.type = this.type, n._typeCheck = this._typeCheck, n._whitelist = this._whitelist.clone(), n._blacklist = this._blacklist.clone(), n.internalTests = Object.assign({}, this.internalTests), n.exclusiveTests = Object.assign({}, this.exclusiveTests), n.deps = [...this.deps], n.conditions = [...this.conditions], n.tests = [...this.tests], n.transforms = [...this.transforms], n.spec = xn(Object.assign({}, this.spec, t)), n } label(t) { let n = this.clone(); return n.spec.label = t, n } meta(...t) { if (t.length === 0) return this.spec.meta; let n = this.clone(); return n.spec.meta = Object.assign(n.spec.meta || {}, t[0]), n } withMutation(t) { let n = this._mutate; this._mutate = !0; let r = t(this); return this._mutate = n, r } concat(t) { if (!t || t === this) return this; if (t.type !== this.type && this.type !== "mixed") throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`); let n = this, r = t.clone(); const a = Object.assign({}, n.spec, r.spec); return r.spec = a, r.internalTests = Object.assign({}, n.internalTests, r.internalTests), r._whitelist = n._whitelist.merge(t._whitelist, t._blacklist), r._blacklist = n._blacklist.merge(t._blacklist, t._whitelist), r.tests = n.tests, r.exclusiveTests = n.exclusiveTests, r.withMutation(i => { t.tests.forEach(o => { i.test(o.OPTIONS) }) }), r.transforms = [...n.transforms, ...r.transforms], r } isType(t) { return t == null ? !!(this.spec.nullable && t === null || this.spec.optional && t === void 0) : this._typeCheck(t) } resolve(t) { let n = this; if (n.conditions.length) { let r = n.conditions; n = n.clone(), n.conditions = [], n = r.reduce((a, i) => i.resolve(a, t), n), n = n.resolve(t) } return n } resolveOptions(t) { var n, r, a; return Object.assign({}, t, { from: t.from || [], strict: (n = t.strict) != null ? n : this.spec.strict, abortEarly: (r = t.abortEarly) != null ? r : this.spec.abortEarly, recursive: (a = t.recursive) != null ? a : this.spec.recursive }) } cast(t, n = {}) {
let r = this.resolve(Object.assign({ value: t }, n)), a = n.assert === "ignore-optionality", i = r._cast(t, n); if (n.assert !== !1 && !r.isType(i)) {
if (a && un(i)) return i; let o = On(t), s = On(i); throw new TypeError(`The value of ${n.path || "field"} could not be cast to a value that satisfies the schema type: "${r.type}".
attempted value: ${o}
`+ (s !== o ? `result of cast: ${s}` : ""))
} return i
} _cast(t, n) { let r = t === void 0 ? t : this.transforms.reduce((a, i) => i.call(this, a, t, this), t); return r === void 0 && (r = this.getDefault(n)), r } _validate(t, n = {}, r, a) { let { path: i, originalValue: o = t, strict: s = this.spec.strict } = n, l = t; s || (l = this._cast(l, Object.assign({ assert: !1 }, n))); let u = []; for (let c of Object.values(this.internalTests)) c && u.push(c); this.runTests({ path: i, value: l, originalValue: o, options: n, tests: u }, r, c => { if (c.length) return a(c, l); this.runTests({ path: i, value: l, originalValue: o, options: n, tests: this.tests }, r, a) }) } runTests(t, n, r) { let a = !1, { tests: i, value: o, originalValue: s, path: l, options: u } = t, c = U => { a || (a = !0, n(U, o)) }, d = U => { a || (a = !0, r(U, o)) }, m = i.length, g = []; if (!m) return d([]); let b = { value: o, originalValue: s, path: l, options: u, schema: this }; for (let U = 0; U < i.length; U++) { const P = i[U]; P(b, c, function (W) { W && (g = g.concat(W)), --m <= 0 && d(g) }) } } asNestedTest({ key: t, index: n, parent: r, parentPath: a, originalParent: i, options: o }) { const s = t ?? n; if (s == null) throw TypeError("Must include `key` or `index` for nested validations"); const l = typeof s == "number"; let u = r[s]; const c = Object.assign({}, o, { strict: !0, parent: r, value: u, originalValue: i[s], key: void 0, [l ? "index" : "key"]: s, path: l || s.includes(".") ? `${a || ""}[${u ? s : `"${s}"`}]` : (a ? `${a}.` : "") + t }); return (d, m, g) => this.resolve(c)._validate(u, c, m, g) } validate(t, n) { let r = this.resolve(Object.assign({}, n, { value: t })); return new Promise((a, i) => r._validate(t, n, (o, s) => { st.isError(o) && (o.value = s), i(o) }, (o, s) => { o.length ? i(new st(o, s)) : a(s) })) } validateSync(t, n) { let r = this.resolve(Object.assign({}, n, { value: t })), a; return r._validate(t, Object.assign({}, n, { sync: !0 }), (i, o) => { throw st.isError(i) && (i.value = o), i }, (i, o) => { if (i.length) throw new st(i, t); a = o }), a } isValid(t, n) { return this.validate(t, n).then(() => !0, r => { if (st.isError(r)) return !1; throw r }) } isValidSync(t, n) { try { return this.validateSync(t, n), !0 } catch (r) { if (st.isError(r)) return !1; throw r } } _getDefault(t) { let n = this.spec.default; return n == null ? n : typeof n == "function" ? n.call(this, t) : xn(n) } getDefault(t) { return this.resolve(t || {})._getDefault(t) } default(t) { return arguments.length === 0 ? this._getDefault() : this.clone({ default: t }) } strict(t = !0) { return this.clone({ strict: t }) } nullability(t, n) { const r = this.clone({ nullable: t }); return r.internalTests.nullable = wn({ message: n, name: "nullable", test(a) { return a === null ? this.schema.spec.nullable : !0 } }), r } optionality(t, n) { const r = this.clone({ optional: t }); return r.internalTests.optionality = wn({ message: n, name: "optionality", test(a) { return a === void 0 ? this.schema.spec.optional : !0 } }), r } optional() { return this.optionality(!0) } defined(t = At.defined) { return this.optionality(!1, t) } nullable() { return this.nullability(!0) } nonNullable(t = At.notNull) { return this.nullability(!1, t) } required(t = At.required) { return this.clone().withMutation(n => n.nonNullable(t).defined(t)) } notRequired() { return this.clone().withMutation(t => t.nullable().optional()) } transform(t) { let n = this.clone(); return n.transforms.push(t), n } test(...t) { let n; if (t.length === 1 ? typeof t[0] == "function" ? n = { test: t[0] } : n = t[0] : t.length === 2 ? n = { name: t[0], test: t[1] } : n = { name: t[0], message: t[1], test: t[2] }, n.message === void 0 && (n.message = At.default), typeof n.test != "function") throw new TypeError("`test` is a required parameters"); let r = this.clone(), a = wn(n), i = n.exclusive || n.name && r.exclusiveTests[n.name] === !0; if (n.exclusive && !n.name) throw new TypeError("Exclusive tests must provide a unique `name` identifying the test"); return n.name && (r.exclusiveTests[n.name] = !!n.exclusive), r.tests = r.tests.filter(o => !(
} wt.prototype.__isYupSchema__ = !0; for (const e of ["validate", "validateSync"]) wt.prototype[`${e}At`] = function (t, n, r = {}) { const { parent: a, parentPath: i, schema: o } = Lf(this, t, n, r.context); return o[e](a && a[i], Object.assign({}, r, { parent: a, path: t })) }; for (const e of ["equals", "is"]) wt.prototype[e] = wt.prototype.oneOf; for (const e of ["not", "nope"]) wt.prototype[e] = wt.prototype.notOneOf; const If = () => !0; function Qs(e) { return new Js(e) } class Js extends wt { constructor(t) { super(typeof t == "function" ? { type: "mixed", check: t } : Object.assign({ type: "mixed", check: If }, t)) } } Qs.prototype = Js.prototype; let $f = /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, Rf = /^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i, Bf = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i, Vf = e => un(e) || e === e.trim(), Hf = {}.toString(); function _a() { return new el } class el extends wt { constructor() { super({ type: "string", check(t) { return t instanceof String && (t = t.valueOf()), typeof t == "string" } }), this.withMutation(() => { this.transform((t, n, r) => { if (!r.spec.coerce || r.isType(t) || Array.isArray(t)) return t; const a = t != null && t.toString ? t.toString() : t; return a === Hf ? t : a }) }) } required(t) { return super.required(t).withMutation(n => n.test({ message: t || At.required, name: "required", skipAbsent: !0, test: r => !!r.length })) } notRequired() { return super.notRequired().withMutation(t => (t.tests = t.tests.filter(n => n.OPTIONS.name !== "required"), t)) } length(t, n = ft.length) { return this.test({ message: n, name: "length", exclusive: !0, params: { length: t }, skipAbsent: !0, test(r) { return r.length === this.resolve(t) } }) } min(t, n = ft.min) { return this.test({ message: n, name: "min", exclusive: !0, params: { min: t }, skipAbsent: !0, test(r) { return r.length >= this.resolve(t) } }) } max(t, n = ft.max) { return this.test({ name: "max", exclusive: !0, message: n, params: { max: t }, skipAbsent: !0, test(r) { return r.length <= this.resolve(t) } }) } matches(t, n) { let r = !1, a, i; return n && (typeof n == "object" ? { excludeEmptyString: r = !1, message: a, name: i } = n : a = n), this.test({ name: i || "matches", message: a || ft.matches, params: { regex: t }, skipAbsent: !0, test: o => o === "" && r || o.search(t) !== -1 }) } email(t = ft.email) { return this.matches($f, { name: "email", message: t, excludeEmptyString: !0 }) } url(t = ft.url) { return this.matches(Rf, { name: "url", message: t, excludeEmptyString: !0 }) } uuid(t = ft.uuid) { return this.matches(Bf, { name: "uuid", message: t, excludeEmptyString: !1 }) } ensure() { return this.default("").transform(t => t === null ? "" : t) } trim(t = ft.trim) { return this.transform(n => n != null
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (!n) {
if (Array.isArray(e) || (n = Uh(e)) || t && e && typeof e.length == "number") { n && (e = n); var r = 0, a = function () { }; return { s: a, n: function () { return r >= e.length ? { done: !0 } : { done: !1, value: e[r++] } }, e: function (u) { throw u }, f: a } } throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)
} var i = !0, o = !1, s; return { s: function () { n = n.call(e) }, n: function () { var u = n.next(); return i = u.done, u }, e: function (u) { o = !0, s = u }, f: function () { try { !i && n.return != null && n.return() } finally { if (o) throw s } } }
} function V(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e } function Vr(e, t) { return Vr = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (r, a) { return r.__proto__ = a, r }, Vr(e, t) } function Fe(e, t) { if (typeof t != "function" && t !== null) throw new 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 && Vr(e, t) } function Ra(e) { return Ra = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (n) { return n.__proto__ || Object.getPrototypeOf(n) }, Ra(e) } function _h() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () { })), !0 } catch { return !1 } } function xh(e, t) { if (t && (dt(t) === "object" || typeof t == "function")) return t; if (t !== void 0) throw new TypeError("Derived constructors may only return object or undefined"); return V(e) } function Ue(e) { var t = _h(); return function () { var r = Ra(e), a; if (t) { var i = Ra(this).constructor; a = Reflect.construct(r, arguments, i) } else a = r.apply(this, arguments); return xh(this, a) } } function ye(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } function Eh(e, t) { if (dt(e) !== "object" || e === null) return e; var n = e[Symbol.toPrimitive]; if (n !== void 0) { var r = n.call(e, t || "default"); if (dt(r) !== "object") return r; throw new TypeError("@@toPrimitive must return a primitive value.") } return (t === "string" ? String : Number)(e) } function vl(e) { var t = Eh(e, "string"); return dt(t) === "symbol" ? t : String(t) } function Oo(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, vl(r.key), r) } } function be(e, t, n) { return t && Oo(e.prototype, t), n && Oo(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e } function $(e, t, n) { return t = vl(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e } var kh = 10, pl = function () { function e() { ye(this, e), $(this, "priority", void 0), $(this, "subPriority", 0) } return be(e, [{ key: "validate", value: function (n, r) { return !0 } }]), e }(), jh = function (e) { Fe(n, e); var t = Ue(n); function n(r, a, i, o, s) { var l; return ye(this, n), l = t.call(this), l.value = r, l.validateValue = a, l.setValue = i, l.priority = o, s && (l.subPriority = s), l } return be(n, [{ key: "validate", value: function (a, i) { return this.validateValue(a, this.value, i) } }, { key: "set", value: function (a, i, o) { return this.setValue(a, i, this.value, o) } }]), n }(pl), Ch = function (e) { Fe(n, e); var t = Ue(n); function n() { var r; ye(this, n); for (var a = arguments.length, i = new Array(a), o = 0; o < a; o++)i[o] = arguments[o]; return r = t.call.apply(t, [this].concat(i)), $(V(r), "priority", kh), $(V(r), "subPriority", -1), r } return be(n, [{ key: "set", value: function (a, i) { if (i.timestampIsSet) return a; var o = new Date(0); return o.setFullYear(a.getUTCFullYear(), a.getUTCMonth(), a.getUTCDate()), o.setHours(a.getUTCHours(), a.getUTCMinutes(), a.getUTCSeconds(), a.getUTCMilliseconds()), o } }]), n }(pl), xe = function () { function e() { ye(this, e), $(this, "incompatibleTokens", void 0), $(this, "priority", void 0), $(this, "subPriority", void 0) } return be(e, [{ key: "run", value: function (n, r, a, i) { var o = this.parse(n, r, a, i); return o ? { setter: new jh(o.value, this.validate, this.set, this.priority, this.subPriority), rest: o.rest } : null } }, { key: "validate", value: function (n, r, a) { return !0 } }]), e }(), Sh = function (e) { Fe(n, e); var t = Ue(n); function n() { var r; y