UNPKG

realreport-designer

Version:

RealReport Designer component library

1,561 lines 7.45 MB
/** * RealReport Designer v1.11.29 (build: 089b77a) * Copyright (C) 2013-2026 WooriTech Inc. * All Rights Reserved. */ var Nq = Object.defineProperty; var kq = (l, e, t) => e in l ? Nq(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t; var gv = (l, e, t) => kq(l, typeof e != "symbol" ? e + "" : e, t); const Mq = "1.11.29"; /** * @license 라이센스 정보 * 모듈 사용시 글로벌하게 관리하기 위해 작성 */ const GD = { license: null }; let v7 = class { static getVersion() { return Mq; } static setLicenseKey(e) { GD.license = e; } }, Bq = 0; class Yt { //------------------------------------------------------------------------- // constructors //------------------------------------------------------------------------- constructor() { this.$_hash = Bq++, this.$_disposed = !1, this.$_disposing = !1; } dispose() { return !this.$_disposed && !this.$_disposing && (this.$_disposed = !0, this.$_disposing = !0, this._doDispose()), null; } _doDispose() { } //------------------------------------------------------------------------- // properties //------------------------------------------------------------------------- get disposing() { return this.$_disposing; } get hash() { return this.$_hash; } get shash() { return String(this.$_hash); } //------------------------------------------------------------------------- // methods //------------------------------------------------------------------------- isMe(e) { return e == this.$_hash; } $_getters(e) { const t = [], i = Object.getOwnPropertyNames(e); for (let s = 0, n = i.length; s < n; s++) { const r = i[s], o = Object.getOwnPropertyDescriptor(e, r); o && o.get && t.push(r); } return t; } /** * true를 리턴하면 assign()이 호출되지 않는다. */ doAssignSimple(e) { return !1; } assignFrom(e) { let t = Object.getPrototypeOf(this); if (e instanceof Yt) { let i = Object.getPrototypeOf(e), s = {}; for (; i && i.constructor != Yt; ) { let n = this.$_getters(i); for (let r = 0, o = n.length; r < o; r++) { const a = n[r]; if (!(a in s)) { s[a] = null; let h = Object.getOwnPropertyDescriptor(t, a); if (h) { if (h.set) { const c = Object.getOwnPropertyDescriptor(i, a), d = c && c.get; d && h.set.call(this, d.call(e)); } } else { let c = Object.getPrototypeOf(t); for (; c; ) { let d = Object.getOwnPropertyDescriptor(c, a); if (d) { if (d.set) { const u = Object.getOwnPropertyDescriptor(i, a), f = u && u.get; f && d.set.call(this, f.call(e)); } c = null; } else c = Object.getPrototypeOf(c); } } } } i = Object.getPrototypeOf(i); } } else if (!this.doAssignSimple(e)) for (let i in e) { let s = Object.getOwnPropertyDescriptor(t, i); if (s) s.set && s.set.call(this, e[i]); else { let n = Object.getPrototypeOf(t); for (; n; ) { let r = Object.getOwnPropertyDescriptor(n, i); r ? (r.set && r.set.call(this, e[i]), n = null) : n = Object.getPrototypeOf(n); } } } } extend(e) { for (let t in e) t in this && (this[t] = e[t]); } toProxy() { const e = {}; let t = Object.getPrototypeOf(this); for (; t && t.constructor != Yt; ) { let i = this.$_getters(t); for (let s = 0, n = i.length; s < n; s++) { const r = i[s]; let o = Object.getOwnPropertyDescriptor(t, r); if (o) o.get && o.set && (e[r] = o.get.call(this)); else { let a = Object.getPrototypeOf(t); for (; a; ) { let h = Object.getOwnPropertyDescriptor(a, r); h ? (h.get && h.set && (e[r] = h.get.call(this)), a = null) : a = Object.getPrototypeOf(a); } } } t = Object.getPrototypeOf(t); } return e; } assignProps(e, t, i = !1) { return e = e || {}, t.forEach((s) => { const n = this[s]; (i || n !== void 0) && (e[s] = n); }), e; } //------------------------------------------------------------------------- // overriden members //------------------------------------------------------------------------- toString() { return this.constructor.name; } } class Rr extends Yt { //------------------------------------------------------------------------- // constructors //------------------------------------------------------------------------- constructor() { super(), this._listeners = []; } _doDispose() { for (let e of this._listeners) this.removeListener(e); return this._listeners = null, super._doDispose(); } //------------------------------------------------------------------------- // properties //------------------------------------------------------------------------- get listenerCount() { return this._listeners.length; } //------------------------------------------------------------------------- // methods //------------------------------------------------------------------------- addListener(e) { return e != null && this._listeners.indexOf(e) < 0 && this._listeners.push(e), this; } removeListener(e) { if (this._listeners && e != null) { const t = this._listeners.indexOf(e); t >= 0 && this._listeners.splice(t, 1); } return this; } isListener(e) { return this._listeners && this._listeners.indexOf(e) >= 0; } clearListener() { for (let e of this._listeners) this.removeListener(e); this._listeners.length = 0; } fireEvent(e, ...t) { let i = Array.prototype.slice.call(arguments, 0); i[0] = this; for (let s = 0, n = this._listeners.length; s < n; s++) { let r = this._listeners[s], o = r[e]; o && o.apply(r, i); } } fireConfirmEvent(e, ...t) { let i = Array.prototype.slice.call(arguments, 0); i[0] = this; for (let n = 0, r = this._listeners.length; n < r; n++) { let o = this._listeners[n], a = o[e]; if (a) { var s = a.apply(o, i); if (typeof s == "boolean" && !s) return !1; } } return !0; } fireMessageEvent(e, ...t) { let i = Array.prototype.slice.call(arguments, 0); i[0] = this; for (let s = 0, n = this._listeners.length; s < n; s++) { let r = this._listeners[s], o = r[e]; if (o) { const a = o.apply(r, i); if (typeof a == "string" && a) return a; } } return null; } fireObjectEvent(e, ...t) { let i = Array.prototype.slice.call(arguments, 0); i[0] = this; for (let s = 0, n = this._listeners.length; s < n; s++) { let r = this._listeners[s], o = r[e]; if (o) { const a = o.apply(r, i); if (a != null) return a; } } return null; } } class Vi { static create(e, t, i, s) { return new Vi(e, t, i, s); } //------------------------------------------------------------------------- // constructors //------------------------------------------------------------------------- constructor(e = 0, t = 0, i = 0, s = 0) { this.x = e, this.y = t, this.width = i, this.height = s; } //------------------------------------------------------------------------- // properties //------------------------------------------------------------------------- /** left */ get left() { return this.x; } set left(e) { const t = e - this.x; this.x += t, this.width -= t; } /** right */ get right() { return this.x + this.width; } set right(e) { const t = e - (this.x + this.width); this.width += t; } /** top */ get top() { return this.y; } set top(e) { const t = e - this.y; this.y += t, this.height -= t; } /** bottom */ get bottom() { return this.y + this.height; } set bottom(e) { const t = e - (this.y + this.height); this.height += t; } /** isEmpty */ get isEmpty() { return this.width === 0 || this.height === 0; } //------------------------------------------------------------------------- // methods //------------------------------------------------------------------------- clone() { return new Vi(this.x, this.y, this.width, this.height); } getInner() { return new Vi(0, 0, this.width, this.height); } equals(e) { return e === this || e && this.x === e.x && this.y === e.y && this.width === e.width && this.height === e.height; } leftBy(e) { return this.x += e, this.width -= e, this; } rightBy(e) { return this.width += e, this; } topBy(e) { return this.y += e, this.height -= e, this; } bottomBy(e) { return this.height += e, this; } shrink(e, t) { return this.width -= e, this.height -= t, this; } expand(e, t) { return this.width += e, this.height += t, this; } contains(e, t) { return e >= this.x && e <= this.x + this.width && t >= this.y && t <= this.y + this.height; } setEmpty() { return this.width = this.height = 0, this; } move(e = 0, t = 0) { return this.x = e, this.y = t, this; } set(e, t, i, s) { return this.x = e, this.y = t, this.width = i, this.height = s, this; } setWidth(e) { return this.width = e, this; } copy(e) { return this.x = e.x, this.y = e.y, this.width = e.width, this.height = e.height, this; } copyHorz(e) { return this.x = e.x, this.width = e.width, this; } copyVert(e) { return this.y = e.y, this.height = e.height, this; } inflate(e = 0, t = void 0, i = void 0, s = void 0) { return t = t !== void 0 ? t : e, i = i !== void 0 ? i : e, s = s !== void 0 ? s : t, e && (this.left = this.x - e), t && (this.top = this.y - t), i && (this.right = this.right + i), s && (this.bottom = this.bottom + s), this; } translate(e, t) { return this.x += e, this.y += t, this; } round() { const e = this.clone(); return e.x >>>= 0, e.y >>>= 0, e.width >>>= 0, e.height >>>= 0, e; } union(e) { const t = this.clone(); return t.left = Math.min(this.x, e.x), t.right = Math.max(this.right, e.right), t.top = Math.min(this.y, e.y), t.bottom = Math.max(this.bottom, e.bottom), t; } normalize() { return this.width < 0 && (this.x -= this.width, this.width *= -1), this.height < 0 && (this.y -= this.height, this.height *= -1), this; } intersects(e) { return this.x <= e.right && e.x <= this.right && this.y <= e.bottom && e.y <= this.bottom; } //------------------------------------------------------------------------- // overriden members //------------------------------------------------------------------------- toString() { return "{x: " + this.x + ", y: " + this.y + ", width: " + this.width + ", height: " + this.height + "}"; } } Vi.Empty = Object.freeze(new Vi()); Vi.Temp = new Vi(); const _t = "_m_", Yx = "type", pc = "empty", y_ = "$_rvu", et = "$_h", Yv = "$_w", tu = "$_idx", ed = "$_grp", sh = "$_anc", b7 = "$anp", yM = "_svg_", Kx = "_align", C7 = "$_fld", GS = "_save_", E7 = "_col_span_r_", jx = "_pr", Fq = "_is_"; var $t; (function(l) { l.LEFT = "left", l.CENTER = "center", l.RIGHT = "right"; })($t || ($t = {})); var Gl; (function(l) { l.TOP = "top", l.MIDDLE = "middle", l.BOTTOM = "bottom"; })(Gl || (Gl = {})); var Jn; (function(l) { l.PIXEL = "px", l.POINT = "pt", l.INCH = "in", l.CENTI = "cm", l.MILLI = "mm"; })(Jn || (Jn = {})); var zD; (function(l) { l.BREAK_ALL = "break-all", l.BREAK_WORD = "break-word"; })(zD || (zD = {})); const S7 = { px: (l) => l, pt: (l) => l * nt.HTMLDPI / 72, in: (l) => l * nt.HTMLDPI, mm: (l) => l * nt.HTMLDPI / 25.4, cm: (l) => l * nt.HTMLDPI / 2.54 }, Xx = { px: (l) => l, pt: (l) => l * 72 / nt.HTMLDPI, in: (l) => l / nt.HTMLDPI, mm: (l) => l * 25.4 / nt.HTMLDPI, cm: (l) => l * 2.54 / nt.HTMLDPI }, nw = function(l, e) { return S7[l](e); }, Cp = function(l, e) { return Xx[l](e); }, Tw = function(l, e) { const t = vM(l); if (t === "%") return e; const i = Xx[t](e), s = 10 ** 3; return t === Jn.PIXEL ? Math.round(i) : Math.round(i * s) / s + t; }, Ke = function(l) { return l + "px"; }, Z5 = function(l) { return l + "%"; }; class Ap extends Error { } const J5 = function(l, e) { const t = [e], i = l.sort((r, o) => r.index - o.index); let s = e.index; const n = i.indexOf(e); for (let r = n + 1; r < i.length && !(i[r].index > s + 1); r++, s++) t.push(i[r]); s = e.index; for (let r = n - 1; r >= 0 && !(i[r].index > s + 1); r--, s--) t.unshift(i[r]); return t; }; function vM(l) { if (typeof l == "string") { const e = l.trim(); if (e.endsWith("%")) return "%"; if (e.endsWith("px")) return Jn.PIXEL; if (e.endsWith("pt")) return Jn.POINT; if (e.endsWith("in")) return Jn.INCH; if (e.endsWith("mm")) return Jn.MILLI; if (e.endsWith("cm")) return Jn.CENTI; } return Jn.PIXEL; } class nt { //------------------------------------------------------------------------- // static members //------------------------------------------------------------------------- static create(e) { return e == null || typeof e == "string" && (e = e.trim(), !e) ? null : new nt(e); } static createDimensions(e) { if (e && (e = e.trim())) { const t = e.split(","), i = []; for (let s of t) i.push(s ? new nt(s) : null); return i; } } static equals(e, t) { return e === t ? !0 : e && t && e.equals(t); } //------------------------------------------------------------------------- // constructor //------------------------------------------------------------------------- constructor(e) { if (this._unit = Jn.PIXEL, this._value = NaN, this._fixed = !0, typeof e == "number") this._value = e; else if (typeof e == "string") { const t = e.trim(); this._value = parseFloat(e), isNaN(this._value) || (t.endsWith("%") ? this._fixed = !1 : t.endsWith("pt") ? this._unit = Jn.POINT : t.endsWith("in") ? this._unit = Jn.INCH : t.endsWith("mm") ? this._unit = Jn.MILLI : t.endsWith("cm") && (this._unit = Jn.CENTI)); } } //------------------------------------------------------------------------- // properties //------------------------------------------------------------------------- get fixed() { return this._fixed; } get unit() { return this._unit; } get value() { return this._value; } //------------------------------------------------------------------------- // methods //------------------------------------------------------------------------- clone() { const e = new nt(void 0); return e._fixed = this._fixed, e._unit = this._unit, e._value = this._value, e; } equals(e) { return e === this ? !0 : e instanceof nt ? e._fixed == this._fixed && e._unit == this._unit && e._value == this._value : !1; } toString() { return isNaN(this._value) ? "NaN" : this._fixed ? this._value + this._unit : this._value + "%"; } getValue() { return isNaN(this._value) ? "NaN" : this._fixed ? this.$_getPixel() : this._value + "%"; } getValueNull() { return isNaN(this._value) ? null : this._fixed ? this.$_getPixel() : this._value + "%"; } getPixel(e) { if (!isNaN(this._value)) { let t = this.$_getPixel(); return this._fixed || (t = e * t / 100), t; } return NaN; } getFixedPixel() { return isNaN(this._value) ? NaN : this.$_getPixel(); } $_getPixel() { return S7[this._unit](this._value); } getFixedInch() { return Xx.in(this.$_getPixel()); } getFixedPoint() { return Xx.pt(this.$_getPixel()); } } nt.HTMLDPI = 96; class Gm { //------------------------------------------------------------------------- // constructor //------------------------------------------------------------------------- constructor(e) { if (this._dims = [], this._relative = 0, this._fixed = 0, this._dirty = !1, e && (e = e.trim())) { const t = e.split(","), i = this._dims = []; for (let s = 0; s < t.length; s++) { const n = t[s], r = n ? new nt(n) : null; i.push(r); } this.$_refresh(); } } //------------------------------------------------------------------------- // properties //------------------------------------------------------------------------- get count() { return this._dims.length; } get relative() { return this._relative > 0; } //------------------------------------------------------------------------- // methods //------------------------------------------------------------------------- get(e) { return this._dims[e]; } set(e, t) { t !== this._dims[e] && (this._dims[e] = t, this._dirty = !0); } /** * '%' 이면 domain에서 fixed 크기들을 제외한 크기에 대한 상대 크기. * '%'의 전체 함이 100을 넘으면 100으로 scaling한다. * 절대크기는 그 크기대로. * NaN이거나 설정하지 않은 크기는 위의 크기들을 제외한 나머지 크기의 균등분으로 * 최소 min으로 설정된다. * 전체 합이 domain보다 크거나 작을 수 있다. */ // TODO '%'가 존재하거나 고정 크기 합이 domain 이상이면 minSize 반영되지 않는다. getSizes(e, t, i, s = !1) { this._dirty && this.$_refresh(); const n = this._dims, r = this._values, o = [], a = i ? Math.max(0, i.getPixel(t) || 0) : 0; let h = 0, c = 0, d = 0; for (let p = 0, g = Math.min(e, n.length); p < g; p++) n[p] && (n[p].fixed ? isNaN(r[p]) || (h += Math.max(0, r[p])) : c += Math.max(0, r[p])); this._dims.forEach((p, g) => { const _ = this._values[g]; if (isNaN(_)) o.push(NaN); else if (p.fixed) o.push(Math.max(a, _)); else if (isNaN(t)) o.push(NaN); else { let m = (t - h) * _ / c, A = Math.floor(m); d += m - A, d >= 1 && (A++, d--), o.push(Math.max(a, s ? A : m)); } }); let u = 0, f = 0; for (let p = 0; p < e; p++) { const g = o[p]; isNaN(g) ? f++ : u += g; } if (f > 0 && !isNaN(t)) { const p = Math.max(0, (t - u) / f); for (let g = 0; g < e; g++) isNaN(o[g]) && (o[g] = Math.max(a, p)); } return o; } getSize(e, t) { const i = this._dims[e]; if (i) { const s = this._values[e]; if (!isNaN(s)) return i.fixed ? s : Math.max(0, (t - this._fixed) * s / this._relative); } return NaN; } changeSize(e, t, i, s, n) { if (i === 0) return; this._dims; const r = this.getSizes(e, s, n); if (r[t], i > 0) { const o = t + 1; r[o]; } else { const o = t - 1; r[o], i -= i; } } //------------------------------------------------------------------------- // internal members //------------------------------------------------------------------------- $_refresh() { const e = this._values = []; for (let t of this._dims) if (t) if (t.fixed) { const i = t.$_getPixel(); e.push(i), this._fixed += i; } else e.push(t.value), this._relative += t.value; else e.push(NaN); this._dirty = !1; } $_init(e) { this._dims = e.slice(), this.$_refresh(); } } Gm.Empty = new Gm(null); var rl; (function(l) { l.NONE = "none", l.BEFORE = "before", l.AFTER = "after", l.BOTH = "both"; })(rl || (rl = {})); var lb; (function(l) { l.SELF = "_self", l.BLANK = "_blank", l.PARENT = "_parent", l.TOP = "_top"; })(lb || (lb = {})); var hb; (function(l) { l.TEXT = "text"; })(hb || (hb = {})); var qx; (function(l) { l.Currency = "Currency", l.Accounting = "Accounting"; })(qx || (qx = {})); const x7 = [void 0, qx.Accounting, qx.Currency], P7 = [void 0, '_("₩"* #,##0_);_("₩"* (#,##0);_("₩"* "-"_);_(@_)', '"₩"#,##0']; var UD; (function(l) { l.Z = "KeyZ", l.Y = "KeyY", l.C = "KeyC", l.V = "KeyV", l.X = "KeyX", l.DELETE = "Delete", l.BACK = "Backspace", l.TAB = "Tab", l.HOME = "Home", l.END = "End", l.UP = "ArrowUp", l.DOWN = "ArrowDown", l.LEFT = "ArrowLeft", l.RIGHT = "ArrowRight", l.A = "KeyA", l._0 = "Digit0", l.EQUAL = "Equal", l.MINUS = "Minus"; })(UD || (UD = {})); var Na; (function(l) { l.PORTRAIT = "portrait", l.LANDSCAPE = "landscape"; })(Na || (Na = {})); var Qe; (function(l) { l.LEFT = "left", l.RIGHT = "right", l.TOP = "top", l.BOTTOM = "bottom", l.TOP_LEFT = "topLeft", l.BOTTOM_RIGHT = "bottomRight", l.TOP_RIGHT = "topRight", l.BOTTOM_LEFT = "bottomLeft"; })(Qe || (Qe = {})); (function(l) { function e(n) { return n === l.LEFT || n === l.TOP_LEFT || n === l.BOTTOM_LEFT; } l.isLeft = e; function t(n) { return n === l.TOP || n === l.TOP_LEFT || n === l.TOP_RIGHT; } l.isTop = t; function i(n) { return n === l.TOP_LEFT || n === l.BOTTOM_RIGHT || n === l.TOP_RIGHT || n === l.BOTTOM_LEFT; } l.isEdge = i; function s(n, ...r) { for (let o of r) if (o === n) return !0; return !1; } l.isIn = s; })(Qe || (Qe = {})); var cb; (function(l) { l.ASCENDING = "ascending", l.DESCENDING = "descending"; })(cb || (cb = {})); var vh; (function(l) { l.HORIZONTAL = "horizontal", l.VERTICAL = "vertical"; })(vh || (vh = {})); var ot; (function(l) { l.REPORT = "report", l.EMAIL = "email", l.SHEET = "sheet"; })(ot || (ot = {})); var zl; (function(l) { l.REPORT = "report", l.SUB_BAND = "subBand", l.SHEET = "sheet"; })(zl || (zl = {})); var Mg; (function(l) { l.SIMPLE = "simple", l.BAND = "band"; })(Mg || (Mg = {})); var Pm; (function(l) { l.PAGE = "PAGE", l.SUB_BAND_PAGE = "SUB BAND PAGE", l.SHEET = "SHEET"; })(Pm || (Pm = {})); var Lw; (function(l) { l.DATA_FORMAT_IS_INCORRECT = "데이터의 형식이 올바르지 않습니다."; })(Lw || (Lw = {})); var Zx; (function(l) { l.BAND_ROW_IS_OVERFLOW = "데이터 행이 본문 영역의 높이를 초과할 수 없습니다."; })(Zx || (Zx = {})); var Gr; (function(l) { l.START = "start", l.MIDDLE = "middle", l.END = "end"; })(Gr || (Gr = {})); var fn; (function(l) { l.CIRCLE = "circle", l.DISC = "disc", l.SQUARE = "square", l.DECIMAL = "decimal", l.LOWER_ROMAN = "lower-roman", l.UPPER_ROMAN = "upper-roman", l.LOWER_ALPHA = "lower-alpha", l.UPPER_ALPHA = "upper-alpha", l.NONE = "none"; })(fn || (fn = {})); var s_; (function(l) { l.CONTAIN = "contain", l.COVER = "cover", l.FILL = "fill"; })(s_ || (s_ = {})); var ka; (function(l) { l.TOP = "top", l.BOTTOM = "bottom", l.LEFT = "left", l.RIGHT = "right", l.CENTER = "center"; })(ka || (ka = {})); var fr; (function(l) { l.CENTER = "center", l.LEFT = "left", l.RIGHT = "right", l.TOP = "top", l.BOTTOM = "bottom", l.INNER_LEFT = "innerLeft", l.INNER_RIGHT = "innerRight", l.INNER_TOP = "innerTop", l.INNER_BOTTOM = "innerBottom"; })(fr || (fr = {})); var n_; (function(l) { l.CODE39 = "code39", l.CODE128 = "code128", l.CODE128A = "code128a", l.CODE128B = "code128b", l.CODE128C = "code128c", l.EAN13 = "ean13", l.EAN8 = "ean8", l.EAN5 = "ean5", l.EAN2 = "ean2", l.UPC = "upc", l.UPCE = "upce", l.ITF = "itf", l.ITF14 = "itf14", l.MSI10 = "msi10", l.MSI11 = "msi11", l.MSI1010 = "msi1010", l.MSI1110 = "msi1110", l.PHARMACODE = "pharmacode", l.CODABAR = "codabar"; })(n_ || (n_ = {})); var Jx; (function(l) { l.IMAGE = "image", l.FONT = "font"; })(Jx || (Jx = {})); var Vg; (function(l) { l.L = "L", l.M = "M", l.Q = "Q", l.H = "H"; })(Vg || (Vg = {})); var WD; (function(l) { l.NORMAL = "normal", l.PERCENT = "percent"; })(WD || (WD = {})); var QD; (function(l) { l.CIRCLE = "circle", l.SQUARE = "square", l.DIAMOND = "diamond", l.TRIANGLE = "triangle", l.TRIANGLE_DOWN = "triangle-down"; })(QD || (QD = {})); var YD; (function(l) { l.DASH = "Dash", l.DASH_DOT = "DashDot", l.DOT = "Dot", l.LONG_DASH = "LongDash", l.LONG_DASH_DOT = "LongDashDot", l.LONG_DASH_DOT_DOT = "LongDashDotDot", l.SHORT_DASH = "ShortDash", l.SHORT_DASH_DOT = "ShortDashDot", l.SHORT_DASH_DOT_DOT = "ShortDashDotDot", l.SHORT_DOT = "ShortDot", l.SOLID = "Solid"; })(YD || (YD = {})); var KD; (function(l) { l.ARC = "arc", l.CALLOUT = "callout", l.CIRCLE = "circle", l.DIAMOND = "diamond", l.SQUARE = "square", l.TRIANGLE = "triangle"; })(KD || (KD = {})); var jD; (function(l) { l.CONNECTORS = "connectors", l.PLOT_EDGES = "plotEdges"; })(jD || (jD = {})); var XD; (function(l) { l.FIXED_OFFSET = "fixedOffset", l.STRAIGHT = "straight", l.CROOKED_LINE = "crookedLine"; })(XD || (XD = {})); var eP; (function(l) { l.HORIZONTAL = "horizontal", l.VERTICAL = "vertical", l.PROXIMATE = "proximate"; })(eP || (eP = {})); var zm; (function(l) { l.ACROSS_DOWN = "acrossDown", l.DOWN_ACROSS = "downAcross"; })(zm || (zm = {})); var Ow; (function(l) { l.SUM = "sum", l.AVG = "avg", l.MIN = "min", l.MAX = "max", l.COUNT = "count", l.DISTINCT = "distinct"; })(Ow || (Ow = {})); var Ih; (function(l) { l.NONE = "none", l.HEAD = "head", l.PREVIOUS = "previous"; })(Ih || (Ih = {})); var qi; (function(l) { l.PROP = "prop", l.ITEM = "item"; })(qi || (qi = {})); var qD; (function(l) { l.ORTHOGRAPHIC = "orthographic", l.EQUALEARTH = "equalearth", l.MILLER = "miller", l.MERCATOR = "mercator"; })(qD || (qD = {})); var Ol = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; function Wl(l) { return l && l.__esModule && Object.prototype.hasOwnProperty.call(l, "default") ? l.default : l; } var Vq = typeof Ol == "object" && Ol && Ol.Object === Object && Ol, R7 = Vq, Hq = R7, $q = typeof self == "object" && self && self.Object === Object && self, Gq = Hq || $q || Function("return this")(), Gf = Gq, zq = Gf, Uq = zq.Symbol, Hb = Uq, e4 = Hb, I7 = Object.prototype, Wq = I7.hasOwnProperty, Qq = I7.toString, _v = e4 ? e4.toStringTag : void 0; function Yq(l) { var e = Wq.call(l, _v), t = l[_v]; try { l[_v] = void 0; var i = !0; } catch { } var s = Qq.call(l); return i && (e ? l[_v] = t : delete l[_v]), s; } var Kq = Yq, jq = Object.prototype, Xq = jq.toString; function qq(l) { return Xq.call(l); } var Zq = qq, t4 = Hb, Jq = Kq, eZ = Zq, tZ = "[object Null]", iZ = "[object Undefined]", i4 = t4 ? t4.toStringTag : void 0; function sZ(l) { return l == null ? l === void 0 ? iZ : tZ : i4 && i4 in Object(l) ? Jq(l) : eZ(l); } var yy = sZ; function nZ(l, e) { return function(t) { return l(e(t)); }; } var T7 = nZ, rZ = T7, oZ = rZ(Object.getPrototypeOf, Object), bM = oZ; function aZ(l) { return l != null && typeof l == "object"; } var tg = aZ, lZ = yy, hZ = bM, cZ = tg, dZ = "[object Object]", uZ = Function.prototype, fZ = Object.prototype, L7 = uZ.toString, pZ = fZ.hasOwnProperty, gZ = L7.call(Object); function _Z(l) { if (!cZ(l) || lZ(l) != dZ) return !1; var e = hZ(l); if (e === null) return !0; var t = pZ.call(e, "constructor") && e.constructor; return typeof t == "function" && t instanceof t && L7.call(t) == gZ; } var O7 = _Z, mZ = /* @__PURE__ */ Wl(O7); function AZ(l, e) { for (var t = -1, i = l == null ? 0 : l.length, s = Array(i); ++t < i; ) s[t] = e(l[t], t, l); return s; } var D7 = AZ, wZ = Array.isArray, Cd = wZ, yZ = yy, vZ = tg, bZ = "[object Symbol]"; function CZ(l) { return typeof l == "symbol" || vZ(l) && yZ(l) == bZ; } var k2 = CZ, s4 = Hb, EZ = D7, SZ = Cd, xZ = k2, PZ = 1 / 0, n4 = s4 ? s4.prototype : void 0, r4 = n4 ? n4.toString : void 0; function N7(l) { if (typeof l == "string") return l; if (SZ(l)) return EZ(l, N7) + ""; if (xZ(l)) return r4 ? r4.call(l) : ""; var e = l + ""; return e == "0" && 1 / l == -PZ ? "-0" : e; } var RZ = N7, IZ = RZ; function TZ(l) { return l == null ? "" : IZ(l); } var CM = TZ; function LZ(l, e, t) { var i = -1, s = l.length; e < 0 && (e = -e > s ? 0 : s + e), t = t > s ? s : t, t < 0 && (t += s), s = e > t ? 0 : t - e >>> 0, e >>>= 0; for (var n = Array(s); ++i < s; ) n[i] = l[i + e]; return n; } var k7 = LZ, OZ = k7; function DZ(l, e, t) { var i = l.length; return t = t === void 0 ? i : t, !e && t >= i ? l : OZ(l, e, t); } var NZ = DZ, kZ = "\\ud800-\\udfff", MZ = "\\u0300-\\u036f", BZ = "\\ufe20-\\ufe2f", FZ = "\\u20d0-\\u20ff", VZ = MZ + BZ + FZ, HZ = "\\ufe0e\\ufe0f", $Z = "\\u200d", GZ = RegExp("[" + $Z + kZ + VZ + HZ + "]"); function zZ(l) { return GZ.test(l); } var M7 = zZ; function UZ(l) { return l.split(""); } var WZ = UZ, B7 = "\\ud800-\\udfff", QZ = "\\u0300-\\u036f", YZ = "\\ufe20-\\ufe2f", KZ = "\\u20d0-\\u20ff", jZ = QZ + YZ + KZ, XZ = "\\ufe0e\\ufe0f", qZ = "[" + B7 + "]", ZD = "[" + jZ + "]", JD = "\\ud83c[\\udffb-\\udfff]", ZZ = "(?:" + ZD + "|" + JD + ")", F7 = "[^" + B7 + "]", V7 = "(?:\\ud83c[\\udde6-\\uddff]){2}", H7 = "[\\ud800-\\udbff][\\udc00-\\udfff]", JZ = "\\u200d", $7 = ZZ + "?", G7 = "[" + XZ + "]?", eJ = "(?:" + JZ + "(?:" + [F7, V7, H7].join("|") + ")" + G7 + $7 + ")*", tJ = G7 + $7 + eJ, iJ = "(?:" + [F7 + ZD + "?", ZD, V7, H7, qZ].join("|") + ")", sJ = RegExp(JD + "(?=" + JD + ")|" + iJ + tJ, "g"); function nJ(l) { return l.match(sJ) || []; } var rJ = nJ, oJ = WZ, aJ = M7, lJ = rJ; function hJ(l) { return aJ(l) ? lJ(l) : oJ(l); } var cJ = hJ, dJ = NZ, uJ = M7, fJ = cJ, pJ = CM; function gJ(l) { return function(e) { e = pJ(e); var t = uJ(e) ? fJ(e) : void 0, i = t ? t[0] : e.charAt(0), s = t ? dJ(t, 1).join("") : e.slice(1); return i[l]() + s; }; } var _J = gJ, mJ = _J, AJ = mJ("toUpperCase"), wJ = AJ, yJ = CM, vJ = wJ; function bJ(l) { return vJ(yJ(l).toLowerCase()); } var CJ = bJ, EJ = /* @__PURE__ */ Wl(CJ), SJ = Cd, xJ = k2, PJ = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, RJ = /^\w*$/; function IJ(l, e) { if (SJ(l)) return !1; var t = typeof l; return t == "number" || t == "symbol" || t == "boolean" || l == null || xJ(l) ? !0 : RJ.test(l) || !PJ.test(l) || e != null && l in Object(e); } var EM = IJ; function TJ(l) { var e = typeof l; return l != null && (e == "object" || e == "function"); } var ig = TJ, LJ = yy, OJ = ig, DJ = "[object AsyncFunction]", NJ = "[object Function]", kJ = "[object GeneratorFunction]", MJ = "[object Proxy]"; function BJ(l) { if (!OJ(l)) return !1; var e = LJ(l); return e == NJ || e == kJ || e == DJ || e == MJ; } var SM = BJ, FJ = Gf, VJ = FJ["__core-js_shared__"], HJ = VJ, SO = HJ, o4 = function() { var l = /[^.]+$/.exec(SO && SO.keys && SO.keys.IE_PROTO || ""); return l ? "Symbol(src)_1." + l : ""; }(); function $J(l) { return !!o4 && o4 in l; } var GJ = $J, zJ = Function.prototype, UJ = zJ.toString; function WJ(l) { if (l != null) { try { return UJ.call(l); } catch { } try { return l + ""; } catch { } } return ""; } var z7 = WJ, QJ = SM, YJ = GJ, KJ = ig, jJ = z7, XJ = /[\\^$.*+?()[\]{}|]/g, qJ = /^\[object .+?Constructor\]$/, ZJ = Function.prototype, JJ = Object.prototype, eee = ZJ.toString, tee = JJ.hasOwnProperty, iee = RegExp( "^" + eee.call(tee).replace(XJ, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$" ); function see(l) { if (!KJ(l) || YJ(l)) return !1; var e = QJ(l) ? iee : qJ; return e.test(jJ(l)); } var nee = see; function ree(l, e) { return l == null ? void 0 : l[e]; } var oee = ree, aee = nee, lee = oee; function hee(l, e) { var t = lee(l, e); return aee(t) ? t : void 0; } var _A = hee, cee = _A, dee = cee(Object, "create"), M2 = dee, a4 = M2; function uee() { this.__data__ = a4 ? a4(null) : {}, this.size = 0; } var fee = uee; function pee(l) { var e = this.has(l) && delete this.__data__[l]; return this.size -= e ? 1 : 0, e; } var gee = pee, _ee = M2, mee = "__lodash_hash_undefined__", Aee = Object.prototype, wee = Aee.hasOwnProperty; function yee(l) { var e = this.__data__; if (_ee) { var t = e[l]; return t === mee ? void 0 : t; } return wee.call(e, l) ? e[l] : void 0; } var vee = yee, bee = M2, Cee = Object.prototype, Eee = Cee.hasOwnProperty; function See(l) { var e = this.__data__; return bee ? e[l] !== void 0 : Eee.call(e, l); } var xee = See, Pee = M2, Ree = "__lodash_hash_undefined__"; function Iee(l, e) { var t = this.__data__; return this.size += this.has(l) ? 0 : 1, t[l] = Pee && e === void 0 ? Ree : e, this; } var Tee = Iee, Lee = fee, Oee = gee, Dee = vee, Nee = xee, kee = Tee; function vy(l) { var e = -1, t = l == null ? 0 : l.length; for (this.clear(); ++e < t; ) { var i = l[e]; this.set(i[0], i[1]); } } vy.prototype.clear = Lee; vy.prototype.delete = Oee; vy.prototype.get = Dee; vy.prototype.has = Nee; vy.prototype.set = kee; var Mee = vy; function Bee() { this.__data__ = [], this.size = 0; } var Fee = Bee; function Vee(l, e) { return l === e || l !== l && e !== e; } var $b = Vee, Hee = $b; function $ee(l, e) { for (var t = l.length; t--; ) if (Hee(l[t][0], e)) return t; return -1; } var B2 = $ee, Gee = B2, zee = Array.prototype, Uee = zee.splice; function Wee(l) { var e = this.__data__, t = Gee(e, l); if (t < 0) return !1; var i = e.length - 1; return t == i ? e.pop() : Uee.call(e, t, 1), --this.size, !0; } var Qee = Wee, Yee = B2; function Kee(l) { var e = this.__data__, t = Yee(e, l); return t < 0 ? void 0 : e[t][1]; } var jee = Kee, Xee = B2; function qee(l) { return Xee(this.__data__, l) > -1; } var Zee = qee, Jee = B2; function ete(l, e) { var t = this.__data__, i = Jee(t, l); return i < 0 ? (++this.size, t.push([l, e])) : t[i][1] = e, this; } var tte = ete, ite = Fee, ste = Qee, nte = jee, rte = Zee, ote = tte; function by(l) { var e = -1, t = l == null ? 0 : l.length; for (this.clear(); ++e < t; ) { var i = l[e]; this.set(i[0], i[1]); } } by.prototype.clear = ite; by.prototype.delete = ste; by.prototype.get = nte; by.prototype.has = rte; by.prototype.set = ote; var F2 = by, ate = _A, lte = Gf, hte = ate(lte, "Map"), xM = hte, l4 = Mee, cte = F2, dte = xM; function ute() { this.size = 0, this.__data__ = { hash: new l4(), map: new (dte || cte)(), string: new l4() }; } var fte = ute; function pte(l) { var e = typeof l; return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? l !== "__proto__" : l === null; } var gte = pte, _te = gte; function mte(l, e) { var t = l.__data__; return _te(e) ? t[typeof e == "string" ? "string" : "hash"] : t.map; } var V2 = mte, Ate = V2; function wte(l) { var e = Ate(this, l).delete(l); return this.size -= e ? 1 : 0, e; } var yte = wte, vte = V2; function bte(l) { return vte(this, l).get(l); } var Cte = bte, Ete = V2; function Ste(l) { return Ete(this, l).has(l); } var xte = Ste, Pte = V2; function Rte(l, e) { var t = Pte(this, l), i = t.size; return t.set(l, e), this.size += t.size == i ? 0 : 1, this; } var Ite = Rte, Tte = fte, Lte = yte, Ote = Cte, Dte = xte, Nte = Ite; function Cy(l) { var e = -1, t = l == null ? 0 : l.length; for (this.clear(); ++e < t; ) { var i = l[e]; this.set(i[0], i[1]); } } Cy.prototype.clear = Tte; Cy.prototype.delete = Lte; Cy.prototype.get = Ote; Cy.prototype.has = Dte; Cy.prototype.set = Nte; var PM = Cy, U7 = PM, kte = "Expected a function"; function RM(l, e) { if (typeof l != "function" || e != null && typeof e != "function") throw new TypeError(kte); var t = function() { var i = arguments, s = e ? e.apply(this, i) : i[0], n = t.cache; if (n.has(s)) return n.get(s); var r = l.apply(this, i); return t.cache = n.set(s, r) || n, r; }; return t.cache = new (RM.Cache || U7)(), t; } RM.Cache = U7; var Mte = RM, Bte = Mte, Fte = 500; function Vte(l) { var e = Bte(l, function(i) { return t.size === Fte && t.clear(), i; }), t = e.cache; return e; } var Hte = Vte, $te = Hte, Gte = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, zte = /\\(\\)?/g, Ute = $te(function(l) { var e = []; return l.charCodeAt(0) === 46 && e.push(""), l.replace(Gte, function(t, i, s, n) { e.push(s ? n.replace(zte, "$1") : i || t); }), e; }), Wte = Ute, Qte = Cd, Yte = EM, Kte = Wte, jte = CM; function Xte(l, e) { return Qte(l) ? l : Yte(l, e) ? [l] : Kte(jte(l)); } var IM = Xte, qte = k2, Zte = 1 / 0; function Jte(l) { if (typeof l == "string" || qte(l)) return l; var e = l + ""; return e == "0" && 1 / l == -Zte ? "-0" : e; } var Gb = Jte, eie = IM, tie = Gb; function iie(l, e) { e = eie(e, l); for (var t = 0, i = e.length; l != null && t < i; ) l = l[tie(e[t++])]; return t && t == i ? l : void 0; } var H2 = iie, sie = F2; function nie() { this.__data__ = new sie(), this.size = 0; } var rie = nie; function oie(l) { var e = this.__data__, t = e.delete(l); return this.size = e.size, t; } var aie = oie; function lie(l) { return this.__data__.get(l); } var hie = lie; function cie(l) { return this.__data__.has(l); } var die = cie, uie = F2, fie = xM, pie = PM, gie = 200; function _ie(l, e) { var t = this.__data__; if (t instanceof uie) { var i = t.__data__; if (!fie || i.length < gie - 1) return i.push([l, e]), this.size = ++t.size, this; t = this.__data__ = new pie(i); } return t.set(l, e), this.size = t.size, this; } var mie = _ie, Aie = F2, wie = rie, yie = aie, vie = hie, bie = die, Cie = mie; function Ey(l) { var e = this.__data__ = new Aie(l); this.size = e.size; } Ey.prototype.clear = wie; Ey.prototype.delete = yie; Ey.prototype.get = vie; Ey.prototype.has = bie; Ey.prototype.set = Cie; var $2 = Ey, Eie = "__lodash_hash_undefined__"; function Sie(l) { return this.__data__.set(l, Eie), this; } var xie = Sie; function Pie(l) { return this.__data__.has(l); } var Rie = Pie, Iie = PM, Tie = xie, Lie = Rie; function tP(l) { var e = -1, t = l == null ? 0 : l.length; for (this.__data__ = new Iie(); ++e < t; ) this.add(l[e]); } tP.prototype.add = tP.prototype.push = Tie; tP.prototype.has = Lie; var W7 = tP; function Oie(l, e) { for (var t = -1, i = l == null ? 0 : l.length; ++t < i; ) if (e(l[t], t, l)) return !0; return !1; } var Die = Oie; function Nie(l, e) { return l.has(e); } var Q7 = Nie, kie = W7, Mie = Die, Bie = Q7, Fie = 1, Vie = 2; function Hie(l, e, t, i, s, n) { var r = t & Fie, o = l.length, a = e.length; if (o != a && !(r && a > o)) return !1; var h = n.get(l), c = n.get(e); if (h && c) return h == e && c == l; var d = -1, u = !0, f = t & Vie ? new kie() : void 0; for (n.set(l, e), n.set(e, l); ++d < o; ) { var p = l[d], g = e[d]; if (i) var _ = r ? i(g, p, d, e, l, n) : i(p, g, d, l, e, n); if (_ !== void 0) { if (_) continue; u = !1; break; } if (f) { if (!Mie(e, function(m, A) { if (!Bie(f, A) && (p === m || s(p, m, t, i, n))) return f.push(A); })) { u = !1; break; } } else if (!(p === g || s(p, g, t, i, n))) { u = !1; break; } } return n.delete(l), n.delete(e), u; } var Y7 = Hie, $ie = Gf, Gie = $ie.Uint8Array, K7 = Gie; function zie(l) { var e = -1, t = Array(l.size); return l.forEach(function(i, s) { t[++e] = [s, i]; }), t; } var Uie = zie; function Wie(l) { var e = -1, t = Array(l.size); return l.forEach(function(i) { t[++e] = i; }), t; } var TM = Wie, h4 = Hb, c4 = K7, Qie = $b, Yie = Y7, Kie = Uie, jie = TM, Xie = 1, qie = 2, Zie = "[object Boolean]", Jie = "[object Date]", ese = "[object Error]", tse = "[object Map]", ise = "[object Number]", sse = "[object RegExp]", nse = "[object Set]", rse = "[object String]", ose = "[object Symbol]", ase = "[object ArrayBuffer]", lse = "[object DataView]", d4 = h4 ? h4.prototype : void 0, xO = d4 ? d4.valueOf : void 0; function hse(l, e, t, i, s, n, r) { switch (t) { case lse: if (l.byteLength != e.byteLength || l.byteOffset != e.byteOffset) return !1; l = l.buffer, e = e.buffer; case ase: return !(l.byteLength != e.byteLength || !n(new c4(l), new c4(e))); case Zie: case Jie: case ise: return Qie(+l, +e); case ese: return l.name == e.name && l.message == e.message; case sse: case rse: return l == e + ""; case tse: var o = Kie; case nse: var a = i & Xie; if (o || (o = jie), l.size != e.size && !a) return !1; var h = r.get(l); if (h) return h == e; i |= qie, r.set(l, e); var c = Yie(o(l), o(e), i, s, n, r); return r.delete(l), c; case ose: if (xO) return xO.call(l) == xO.call(e); } return !1; } var cse = hse; function dse(l, e) { for (var t = -1, i = e.length, s = l.length; ++t < i; ) l[s + t] = e[t]; return l; } var j7 = dse, use = j7, fse = Cd; function pse(l, e, t) { var i = e(l); return fse(l) ? i : use(i, t(l)); } var X7 = pse; function gse(l, e) { for (var t = -1, i = l == null ? 0 : l.length, s = 0, n = []; ++t < i; ) { var r = l[t]; e(r, t, l) && (n[s++] = r); } return n; } var _se = gse; function mse() { return []; } var q7 = mse, Ase = _se, wse = q7, yse = Object.prototype, vse = yse.propertyIsEnumerable, u4 = Object.getOwnPropertySymbols, bse = u4 ? function(l) { return l == null ? [] : (l = Object(l), Ase(u4(l), function(e) { return vse.call(l, e); })); } : wse, LM = bse; function Cse(l, e) { for (var t = -1, i = Array(l); ++t < l; ) i[t] = e(t); return i; } var Ese = Cse, Sse = yy, xse = tg, Pse = "[object Arguments]"; function Rse(l) { return xse(l) && Sse(l) == Pse; } var Ise = Rse, f4 = Ise, Tse = tg, Z7 = Object.prototype, Lse = Z7.hasOwnProperty, Ose = Z7.propertyIsEnumerable, Dse = f4(/* @__PURE__ */ function() { return arguments; }()) ? f4 : function(l) { return Tse(l) && Lse.call(l, "callee") && !Ose.call(l, "callee"); }, OM = Dse, iP = { exports: {} }; function Nse() { return !1; } var kse = Nse; iP.exports; (function(l, e) { var t = Gf, i = kse, s = e && !e.nodeType && e, n = s && !0 && l && !l.nodeType && l, r = n && n.exports === s, o = r ? t.Buffer : void 0, a = o ? o.isBuffer : void 0, h = a || i; l.exports = h; })(iP, iP.exports); var G2 = iP.exports, Mse = 9007199254740991, Bse = /^(?:0|[1-9]\d*)$/; function Fse(l, e) { var t = typeof l; return e = e ?? Mse, !!e && (t == "number" || t != "symbol" && Bse.test(l)) && l > -1 && l % 1 == 0 && l < e; } var DM = Fse, Vse = 9007199254740991; function Hse(l) { return typeof l == "number" && l > -1 && l % 1 == 0 && l <= Vse; } var NM = Hse, $se = yy, Gse = NM, zse = tg, Use = "[object Arguments]", Wse = "[object Array]", Qse = "[object Boolean]", Yse = "[object Date]", Kse = "[object Error]", jse = "[object Function]", Xse = "[object Map]", qse = "[object Number]", Zse = "[object Object]", Jse = "[object RegExp]", ene = "[object Set]", tne = "[object String]", ine = "[object WeakMap]", sne = "[object ArrayBuffer]", nne = "[object DataView]", rne = "[object Float32Array]", one = "[object Float64Array]", ane = "[object Int8Array]", lne = "[object Int16Array]", hne = "[object Int32Array]", cne = "[object Uint8Array]", dne = "[object Uint8ClampedArray]", une = "[object Uint16Array]", fne = "[object Uint32Array]", Ln = {}; Ln[rne] = Ln[one] = Ln[ane] = Ln[lne] = Ln[hne] = Ln[cne] = Ln[dne] = Ln[une] = Ln[fne] = !0; Ln[Use] = Ln[Wse] = Ln[sne] = Ln[Qse] = Ln[nne] = Ln[Yse] = Ln[Kse] = Ln[jse] = Ln[Xse] = Ln[qse] = Ln[Zse] = Ln[Jse] = Ln[ene] = Ln[tne] = Ln[ine] = !1; function pne(l) { return zse(l) && Gse(l.length) && !!Ln[$se(l)]; } var gne = pne; function _ne(l) { return function(e) { return l(e); }; } var z2 = _ne, sP = { exports: {} }; sP.exports; (function(l, e) { var t = R7, i = e && !e.nodeType && e, s = i && !0 && l && !l.nodeType && l, n = s && s.exports === i, r = n && t.process, o = function() { try { var a = s && s.require && s.require("util").types; return a || r && r.binding && r.binding("util"); } catch { } }(); l.exports = o; })(sP, sP.exports); var kM = sP.exports, mne = gne, Ane = z2, p4 = kM, g4 = p4 && p4.isTypedArray, wne = g4 ? Ane(g4) : mne, MM = wne, yne = Ese, vne = OM, bne = Cd, Cne = G2, Ene = DM, Sne = MM, xne = Object.prototype, Pne = xne.hasOwnProperty; function Rne(l, e) { var t = bne(l), i = !t && vne(l), s = !t && !i && Cne(l), n = !t && !i && !s && Sne(l), r = t || i || s || n, o = r ? yne(l.length, String) : [], a = o.length; for (var h in l) (e || Pne.call(l, h)) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode. (h == "length" || // Node.js 0.10 has enumerable non-index properties on buffers. s && (h == "offset" || h == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays. n && (h == "buffer" || h == "byteLength" || h == "byteOffset") || // Skip index properties. Ene(h, a))) && o.push(h); return o; } var J7 = Rne, Ine = Object.prototype; function Tne(l) { var e = l && l.constructor, t = typeof e == "function" && e.prototype || Ine; return l === t; } var BM = Tne, Lne = T7, One = Lne(Object.keys, Object), Dne = One, Nne = BM, kne = Dne, Mne = Object.prototype, Bne = Mne.hasOwnProperty; function Fne(l) { if (!Nne(l)) return kne(l); var e = []; for (var t in Object(l)) Bne.call(l, t) && t != "constructor" && e.push(t); return e; } var Vne = Fne, Hne = SM, $ne = NM; function Gne(l) { return l != null && $ne(l.length) && !Hne(l); } var Sy = Gne, zne = J7, Une = Vne, Wne = Sy; function Qne(l) { return Wne(l) ? zne(l) : Une(l); } var zb = Qne, Yne = X7, Kne = LM, jne = zb; function Xne(l) { return Yne(l, jne, Kne); } var e9 = Xne, _4 = e9, qne = 1, Zne = Object.prototype, Jne = Zne.hasOwnProperty; function ere(l, e, t, i, s, n) { var r = t & qne, o = _4(l), a = o.length, h = _4(e), c = h.length; if (a != c && !r) return !1; for (var d = a; d--; ) { var u = o[d]; if (!(r ? u in e : Jne.call(e, u))) return !1; } var f = n.get(l), p = n.get(e); if (f && p) return f == e && p == l; var g = !0; n.set(l, e), n.set(e, l); for (var _ = r; ++d < a; ) { u = o[d]; var m = l[u], A = e[u]; if (i) var w = r ? i(A, m, u, e, l, n) : i(m, A, u, l, e, n); if (!(w === void 0 ? m === A || s(m, A, t, i, n) : w)) { g = !1; break; } _ || (_ = u == "constructor"); } if (g && !_) { var y = l.constructor, v = e.constructor; y != v && "constructor" in l && "constructor" in e && !(typeof y == "function" && y instanceof y && typeof v == "function" && v instanceof v) && (g = !1); } return n.delete(l), n.delete(e), g; } var tre = ere, ire = _A, sre = Gf, nre = ire(sre, "DataView"), rre = nre, ore = _A, are = Gf, lre = ore(are, "Promise"), hre = lre, cre = _A, dre = Gf, ure = cre(dre, "Set"), t9 = ure, fre = _A, pre = Gf, gre = fre(pre, "WeakMap"), _re = gre, eN = rre, tN = xM, iN = hre, sN = t9, nN = _re, i9 = yy, xy = z7, m4 = "[object Map]", mre = "[object Object]", A4 = "[object Promise]", w4 = "[object Set]", y4 = "[object WeakMap]", v4 = "[object DataView]", Are = xy(eN), wre = xy(tN), yre = xy(iN), vre = xy(sN), bre = xy(nN), _m = i9; (eN && _m(new eN(new ArrayBuffer(1))) != v4 || tN && _m(new tN()) != m4 || iN && _m(iN.resolve()) != A4 || sN && _m(new sN()) != w4 || nN && _m(new nN()) != y4) && (_m = function(l) { var e = i9(l), t = e == mre ? l.constructor : void 0, i = t ? xy(t) : ""; if (i) switch (i) { case Are: return v4; case wre: return m4; case yre: return A4; case vre: return w4; case bre: return y4; } return e; }); var U2 = _m, PO = $2, Cre = Y7, Ere = cse, Sre = tre, b4 = U2, C4 = Cd, E4 = G2, xre = MM, Pre = 1, S4 = "[object Arguments]", x4 = "[object Array]", zS = "[object Object]", Rre = Object.prototype, P4 = Rre.hasOwnProperty; function Ire(l, e, t, i, s, n) { var r = C4(l), o = C4(e), a = r ? x4 : b4(l), h = o ? x4 : b4(e); a = a == S4 ? zS : a, h = h == S4 ? zS : h; var c = a == zS, d = h == zS, u = a == h; if (u && E4(l)) { if (!E4(e)) return !1; r = !0, c = !1; } if (u && !c) return n || (n = new PO()), r || xre(l) ? Cre(l, e, t, i, s, n) : Ere(l, e, a, t, i, s, n); if (!(t & Pre)) { var f = c && P4.call(l, "__wrapped__"), p = d && P4.call(e, "__wrapped__"); if (f || p) { var g = f ? l.value() : l, _ = p ? e.value() : e; return n || (n = new PO()), s(g, _, t, i, n); } } return u ? (n || (n = new PO()), Sre(l, e, t, i, s, n)) : !1; } var Tre = Ire, Lre = Tre, R4 = tg; function s9(l, e, t, i, s) { return l === e ? !0 : l == null || e == null || !R4(l) && !R4(e) ? l !== l && e !== e : Lre(l, e, t, i, s9, s); } var FM = s9, Ore = $2, Dre = FM, Nre = 1, kre = 2; function Mre(l, e, t, i) { var s = t.length, n = s, r = !i; if (l == null) return !n; for (l = Object(l); s--; ) { var o = t[s]; if (r && o[2] ? o[1] !== l[o[0]] : !(o[0] in l)) return !1; } for (; ++s < n; ) { o = t[s]; var a = o[0], h = l[a], c = o[1]; if (r && o[2]) { if (h === void 0 && !(a in l)) return !1; } else { var d = new Ore(); if (i) var u = i(h, c, a, l, e, d); if (!(u === void 0 ? Dre(c, h, Nre | kre, i, d) : u)) return !1; } } return !0; } var Bre = Mre, Fre = ig; function Vre(l) { return l === l && !Fre(l); } var n9 = Vre, Hre = n9, $re = zb; function Gre(l) { for (var e = $re(l), t = e.length; t--; ) { var i = e[t], s = l[i]; e[t] = [i, s, Hre(s)]; } return e; } var zre = Gre; function Ure(l, e) { return function(t) { return t == null ? !1 : t[l] === e && (e !== void 0 || l in Object(t)); }; } var r9 = Ure, Wre = Bre, Qre = zre, Yre = r9; function Kre(l) { var e = Qre(l); return e.length == 1 && e[0][2] ? Yre(e[0][0], e[0][1]) : function(t) { return t === l || Wre(t, l, e); }; } var jre = Kre, Xre = H2; function qre(l, e, t) { var i = l == null ? void 0 : Xre(l, e); return i === void 0 ? t : i; } var Zre = qre; function Jre(l, e) { return l != null && e in