UNPKG

@networkpro/legal

Version:

Legal Document Portal — Network Pro Strategies

356 lines (331 loc) 16.1 kB
"use strict"; (self.webpackChunk_networkpro_legal = self.webpackChunk_networkpro_legal || []).push([ [ 524 ], { 68: (t, n) => { const {hasOwnProperty: e} = Object.prototype, r = g(); r.configure = g, r.stringify = r, r.default = r, n.stringify = r, n.configure = g, t.exports = r; const i = /[\u0000-\u001f\u0022\u005c\ud800-\udfff]/; function o(t) { return t.length < 5e3 && !i.test(t) ? `"${t}"` : JSON.stringify(t); } function u(t, n) { if (t.length > 200 || n) return t.sort(n); for (let n = 1; n < t.length; n++) { const e = t[n]; let r = n; for (;0 !== r && t[r - 1] > e; ) t[r] = t[r - 1], r--; t[r] = e; } return t; } const l = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)), Symbol.toStringTag).get; function f(t) { return void 0 !== l.call(t) && 0 !== t.length; } function c(t, n, e) { t.length < e && (e = t.length); const r = "," === n ? "" : " "; let i = `"0":${r}${t[0]}`; for (let o = 1; o < e; o++) i += `${n}"${o}":${r}${t[o]}`; return i; } function s(t, n) { let r; if (e.call(t, n)) { if (r = t[n], "number" != typeof r) throw new TypeError(`The "${n}" argument must be of type number`); if (!Number.isInteger(r)) throw new TypeError(`The "${n}" argument must be an integer`); if (r < 1) throw new RangeError(`The "${n}" argument must be >= 1`); } return void 0 === r ? 1 / 0 : r; } function a(t) { return 1 === t ? "1 item" : `${t} items`; } function g(t) { const n = function(t) { if (e.call(t, "strict")) { const n = t.strict; if ("boolean" != typeof n) throw new TypeError('The "strict" argument must be of type boolean'); if (n) return t => { let n = "Object can not safely be stringified. Received type " + typeof t; throw "function" != typeof t && (n += ` (${t.toString()})`), new Error(n); }; } }(t = { ...t }); n && (void 0 === t.bigint && (t.bigint = !1), "circularValue" in t || (t.circularValue = Error)); const r = function(t) { if (e.call(t, "circularValue")) { const n = t.circularValue; if ("string" == typeof n) return `"${n}"`; if (null == n) return n; if (n === Error || n === TypeError) return { toString() { throw new TypeError("Converting circular structure to JSON"); } }; throw new TypeError('The "circularValue" argument must be of type string or the value null or undefined'); } return '"[Circular]"'; }(t), i = function(t, n) { let r; if (e.call(t, n) && (r = t[n], "boolean" != typeof r)) throw new TypeError(`The "${n}" argument must be of type boolean`); return void 0 === r || r; }(t, "bigint"), l = function(t) { let n; if (e.call(t, "deterministic") && (n = t.deterministic, "boolean" != typeof n && "function" != typeof n)) throw new TypeError('The "deterministic" argument must be of type boolean or comparator function'); return void 0 === n || n; }(t), g = "function" == typeof l ? l : void 0, h = s(t, "maximumDepth"), p = s(t, "maximumBreadth"); function $(t, e, c, s, y, d) { let b = e[t]; switch ("object" == typeof b && null !== b && "function" == typeof b.toJSON && (b = b.toJSON(t)), b = s.call(e, t, b), typeof b) { case "string": return o(b); case "object": { if (null === b) return "null"; if (-1 !== c.indexOf(b)) return r; let t = "", n = ","; const e = d; if (Array.isArray(b)) { if (0 === b.length) return "[]"; if (h < c.length + 1) return '"[Array]"'; c.push(b), "" !== y && (t += `\n${d += y}`, n = `,\n${d}`); const r = Math.min(b.length, p); let i = 0; for (;i < r - 1; i++) { const e = $(String(i), b, c, s, y, d); t += void 0 !== e ? e : "null", t += n; } const o = $(String(i), b, c, s, y, d); if (t += void 0 !== o ? o : "null", b.length - 1 > p) { t += `${n}"... ${a(b.length - p - 1)} not stringified"`; } return "" !== y && (t += `\n${e}`), c.pop(), `[${t}]`; } let i = Object.keys(b); const m = i.length; if (0 === m) return "{}"; if (h < c.length + 1) return '"[Object]"'; let S = "", w = ""; "" !== y && (n = `,\n${d += y}`, S = " "); const O = Math.min(m, p); l && !f(b) && (i = u(i, g)), c.push(b); for (let e = 0; e < O; e++) { const r = i[e], u = $(r, b, c, s, y, d); void 0 !== u && (t += `${w}${o(r)}:${S}${u}`, w = n); } if (m > p) { t += `${w}"...":${S}"${a(m - p)} not stringified"`, w = n; } return "" !== y && w.length > 1 && (t = `\n${d}${t}\n${e}`), c.pop(), `{${t}}`; } case "number": return isFinite(b) ? String(b) : n ? n(b) : "null"; case "boolean": return !0 === b ? "true" : "false"; case "undefined": return; case "bigint": if (i) return String(b); default: return n ? n(b) : void 0; } } function y(t, e, u, l, f, c) { switch ("object" == typeof e && null !== e && "function" == typeof e.toJSON && (e = e.toJSON(t)), typeof e) { case "string": return o(e); case "object": { if (null === e) return "null"; if (-1 !== u.indexOf(e)) return r; const t = c; let n = "", i = ","; if (Array.isArray(e)) { if (0 === e.length) return "[]"; if (h < u.length + 1) return '"[Array]"'; u.push(e), "" !== f && (n += `\n${c += f}`, i = `,\n${c}`); const r = Math.min(e.length, p); let o = 0; for (;o < r - 1; o++) { const t = y(String(o), e[o], u, l, f, c); n += void 0 !== t ? t : "null", n += i; } const s = y(String(o), e[o], u, l, f, c); if (n += void 0 !== s ? s : "null", e.length - 1 > p) { n += `${i}"... ${a(e.length - p - 1)} not stringified"`; } return "" !== f && (n += `\n${t}`), u.pop(), `[${n}]`; } u.push(e); let s = ""; "" !== f && (i = `,\n${c += f}`, s = " "); let g = ""; for (const t of l) { const r = y(t, e[t], u, l, f, c); void 0 !== r && (n += `${g}${o(t)}:${s}${r}`, g = i); } return "" !== f && g.length > 1 && (n = `\n${c}${n}\n${t}`), u.pop(), `{${n}}`; } case "number": return isFinite(e) ? String(e) : n ? n(e) : "null"; case "boolean": return !0 === e ? "true" : "false"; case "undefined": return; case "bigint": if (i) return String(e); default: return n ? n(e) : void 0; } } function d(t, e, s, $, y) { switch (typeof e) { case "string": return o(e); case "object": { if (null === e) return "null"; if ("function" == typeof e.toJSON) { if ("object" != typeof (e = e.toJSON(t))) return d(t, e, s, $, y); if (null === e) return "null"; } if (-1 !== s.indexOf(e)) return r; const n = y; if (Array.isArray(e)) { if (0 === e.length) return "[]"; if (h < s.length + 1) return '"[Array]"'; s.push(e); let t = `\n${y += $}`; const r = `,\n${y}`, i = Math.min(e.length, p); let o = 0; for (;o < i - 1; o++) { const n = d(String(o), e[o], s, $, y); t += void 0 !== n ? n : "null", t += r; } const u = d(String(o), e[o], s, $, y); if (t += void 0 !== u ? u : "null", e.length - 1 > p) { t += `${r}"... ${a(e.length - p - 1)} not stringified"`; } return t += `\n${n}`, s.pop(), `[${t}]`; } let i = Object.keys(e); const b = i.length; if (0 === b) return "{}"; if (h < s.length + 1) return '"[Object]"'; const m = `,\n${y += $}`; let S = "", w = "", O = Math.min(b, p); f(e) && (S += c(e, m, p), i = i.slice(e.length), O -= e.length, w = m), l && (i = u(i, g)), s.push(e); for (let t = 0; t < O; t++) { const n = i[t], r = d(n, e[n], s, $, y); void 0 !== r && (S += `${w}${o(n)}: ${r}`, w = m); } if (b > p) { S += `${w}"...": "${a(b - p)} not stringified"`, w = m; } return "" !== w && (S = `\n${y}${S}\n${n}`), s.pop(), `{${S}}`; } case "number": return isFinite(e) ? String(e) : n ? n(e) : "null"; case "boolean": return !0 === e ? "true" : "false"; case "undefined": return; case "bigint": if (i) return String(e); default: return n ? n(e) : void 0; } } function b(t, e, s) { switch (typeof e) { case "string": return o(e); case "object": { if (null === e) return "null"; if ("function" == typeof e.toJSON) { if ("object" != typeof (e = e.toJSON(t))) return b(t, e, s); if (null === e) return "null"; } if (-1 !== s.indexOf(e)) return r; let n = ""; const i = void 0 !== e.length; if (i && Array.isArray(e)) { if (0 === e.length) return "[]"; if (h < s.length + 1) return '"[Array]"'; s.push(e); const t = Math.min(e.length, p); let r = 0; for (;r < t - 1; r++) { const t = b(String(r), e[r], s); n += void 0 !== t ? t : "null", n += ","; } const i = b(String(r), e[r], s); if (n += void 0 !== i ? i : "null", e.length - 1 > p) { n += `,"... ${a(e.length - p - 1)} not stringified"`; } return s.pop(), `[${n}]`; } let $ = Object.keys(e); const y = $.length; if (0 === y) return "{}"; if (h < s.length + 1) return '"[Object]"'; let d = "", m = Math.min(y, p); i && f(e) && (n += c(e, ",", p), $ = $.slice(e.length), m -= e.length, d = ","), l && ($ = u($, g)), s.push(e); for (let t = 0; t < m; t++) { const r = $[t], i = b(r, e[r], s); void 0 !== i && (n += `${d}${o(r)}:${i}`, d = ","); } if (y > p) { n += `${d}"...":"${a(y - p)} not stringified"`; } return s.pop(), `{${n}}`; } case "number": return isFinite(e) ? String(e) : n ? n(e) : "null"; case "boolean": return !0 === e ? "true" : "false"; case "undefined": return; case "bigint": if (i) return String(e); default: return n ? n(e) : void 0; } } return function(t, n, e) { if (arguments.length > 1) { let r = ""; if ("number" == typeof e ? r = " ".repeat(Math.min(e, 10)) : "string" == typeof e && (r = e.slice(0, 10)), null != n) { if ("function" == typeof n) return $("", { "": t }, [], n, r, ""); if (Array.isArray(n)) return y("", t, [], function(t) { const n = new Set; for (const e of t) "string" != typeof e && "number" != typeof e || n.add(String(e)); return n; }(n), r, ""); } if (0 !== r.length) return d("", t, [], r, ""); } return b("", t, []); }; } }, 482: (t, n, e) => { var r = e(68); r.configure; globalThis.self; } }, t => { var n; n = 482, t(t.s = n); } ]);