@networkpro/legal 0.0.8 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,356 @@
1
+ "use strict";
2
+
3
+ (self.webpackChunk_networkpro_legal = self.webpackChunk_networkpro_legal || []).push([ [ 524 ], {
4
+ 68: (t, n) => {
5
+ const {hasOwnProperty: e} = Object.prototype, r = g();
6
+ r.configure = g, r.stringify = r, r.default = r, n.stringify = r, n.configure = g,
7
+ t.exports = r;
8
+ const i = /[\u0000-\u001f\u0022\u005c\ud800-\udfff]/;
9
+ function o(t) {
10
+ return t.length < 5e3 && !i.test(t) ? `"${t}"` : JSON.stringify(t);
11
+ }
12
+ function u(t, n) {
13
+ if (t.length > 200 || n) return t.sort(n);
14
+ for (let n = 1; n < t.length; n++) {
15
+ const e = t[n];
16
+ let r = n;
17
+ for (;0 !== r && t[r - 1] > e; ) t[r] = t[r - 1], r--;
18
+ t[r] = e;
19
+ }
20
+ return t;
21
+ }
22
+ const l = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)), Symbol.toStringTag).get;
23
+ function f(t) {
24
+ return void 0 !== l.call(t) && 0 !== t.length;
25
+ }
26
+ function c(t, n, e) {
27
+ t.length < e && (e = t.length);
28
+ const r = "," === n ? "" : " ";
29
+ let i = `"0":${r}${t[0]}`;
30
+ for (let o = 1; o < e; o++) i += `${n}"${o}":${r}${t[o]}`;
31
+ return i;
32
+ }
33
+ function s(t, n) {
34
+ let r;
35
+ if (e.call(t, n)) {
36
+ if (r = t[n], "number" != typeof r) throw new TypeError(`The "${n}" argument must be of type number`);
37
+ if (!Number.isInteger(r)) throw new TypeError(`The "${n}" argument must be an integer`);
38
+ if (r < 1) throw new RangeError(`The "${n}" argument must be >= 1`);
39
+ }
40
+ return void 0 === r ? 1 / 0 : r;
41
+ }
42
+ function a(t) {
43
+ return 1 === t ? "1 item" : `${t} items`;
44
+ }
45
+ function g(t) {
46
+ const n = function(t) {
47
+ if (e.call(t, "strict")) {
48
+ const n = t.strict;
49
+ if ("boolean" != typeof n) throw new TypeError('The "strict" argument must be of type boolean');
50
+ if (n) return t => {
51
+ let n = "Object can not safely be stringified. Received type " + typeof t;
52
+ throw "function" != typeof t && (n += ` (${t.toString()})`), new Error(n);
53
+ };
54
+ }
55
+ }(t = {
56
+ ...t
57
+ });
58
+ n && (void 0 === t.bigint && (t.bigint = !1), "circularValue" in t || (t.circularValue = Error));
59
+ const r = function(t) {
60
+ if (e.call(t, "circularValue")) {
61
+ const n = t.circularValue;
62
+ if ("string" == typeof n) return `"${n}"`;
63
+ if (null == n) return n;
64
+ if (n === Error || n === TypeError) return {
65
+ toString() {
66
+ throw new TypeError("Converting circular structure to JSON");
67
+ }
68
+ };
69
+ throw new TypeError('The "circularValue" argument must be of type string or the value null or undefined');
70
+ }
71
+ return '"[Circular]"';
72
+ }(t), i = function(t, n) {
73
+ let r;
74
+ if (e.call(t, n) && (r = t[n], "boolean" != typeof r)) throw new TypeError(`The "${n}" argument must be of type boolean`);
75
+ return void 0 === r || r;
76
+ }(t, "bigint"), l = function(t) {
77
+ let n;
78
+ 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');
79
+ return void 0 === n || n;
80
+ }(t), g = "function" == typeof l ? l : void 0, h = s(t, "maximumDepth"), p = s(t, "maximumBreadth");
81
+ function $(t, e, c, s, y, d) {
82
+ let b = e[t];
83
+ switch ("object" == typeof b && null !== b && "function" == typeof b.toJSON && (b = b.toJSON(t)),
84
+ b = s.call(e, t, b), typeof b) {
85
+ case "string":
86
+ return o(b);
87
+
88
+ case "object":
89
+ {
90
+ if (null === b) return "null";
91
+ if (-1 !== c.indexOf(b)) return r;
92
+ let t = "", n = ",";
93
+ const e = d;
94
+ if (Array.isArray(b)) {
95
+ if (0 === b.length) return "[]";
96
+ if (h < c.length + 1) return '"[Array]"';
97
+ c.push(b), "" !== y && (t += `\n${d += y}`, n = `,\n${d}`);
98
+ const r = Math.min(b.length, p);
99
+ let i = 0;
100
+ for (;i < r - 1; i++) {
101
+ const e = $(String(i), b, c, s, y, d);
102
+ t += void 0 !== e ? e : "null", t += n;
103
+ }
104
+ const o = $(String(i), b, c, s, y, d);
105
+ if (t += void 0 !== o ? o : "null", b.length - 1 > p) {
106
+ t += `${n}"... ${a(b.length - p - 1)} not stringified"`;
107
+ }
108
+ return "" !== y && (t += `\n${e}`), c.pop(), `[${t}]`;
109
+ }
110
+ let i = Object.keys(b);
111
+ const m = i.length;
112
+ if (0 === m) return "{}";
113
+ if (h < c.length + 1) return '"[Object]"';
114
+ let S = "", w = "";
115
+ "" !== y && (n = `,\n${d += y}`, S = " ");
116
+ const O = Math.min(m, p);
117
+ l && !f(b) && (i = u(i, g)), c.push(b);
118
+ for (let e = 0; e < O; e++) {
119
+ const r = i[e], u = $(r, b, c, s, y, d);
120
+ void 0 !== u && (t += `${w}${o(r)}:${S}${u}`, w = n);
121
+ }
122
+ if (m > p) {
123
+ t += `${w}"...":${S}"${a(m - p)} not stringified"`, w = n;
124
+ }
125
+ return "" !== y && w.length > 1 && (t = `\n${d}${t}\n${e}`), c.pop(), `{${t}}`;
126
+ }
127
+
128
+ case "number":
129
+ return isFinite(b) ? String(b) : n ? n(b) : "null";
130
+
131
+ case "boolean":
132
+ return !0 === b ? "true" : "false";
133
+
134
+ case "undefined":
135
+ return;
136
+
137
+ case "bigint":
138
+ if (i) return String(b);
139
+
140
+ default:
141
+ return n ? n(b) : void 0;
142
+ }
143
+ }
144
+ function y(t, e, u, l, f, c) {
145
+ switch ("object" == typeof e && null !== e && "function" == typeof e.toJSON && (e = e.toJSON(t)),
146
+ typeof e) {
147
+ case "string":
148
+ return o(e);
149
+
150
+ case "object":
151
+ {
152
+ if (null === e) return "null";
153
+ if (-1 !== u.indexOf(e)) return r;
154
+ const t = c;
155
+ let n = "", i = ",";
156
+ if (Array.isArray(e)) {
157
+ if (0 === e.length) return "[]";
158
+ if (h < u.length + 1) return '"[Array]"';
159
+ u.push(e), "" !== f && (n += `\n${c += f}`, i = `,\n${c}`);
160
+ const r = Math.min(e.length, p);
161
+ let o = 0;
162
+ for (;o < r - 1; o++) {
163
+ const t = y(String(o), e[o], u, l, f, c);
164
+ n += void 0 !== t ? t : "null", n += i;
165
+ }
166
+ const s = y(String(o), e[o], u, l, f, c);
167
+ if (n += void 0 !== s ? s : "null", e.length - 1 > p) {
168
+ n += `${i}"... ${a(e.length - p - 1)} not stringified"`;
169
+ }
170
+ return "" !== f && (n += `\n${t}`), u.pop(), `[${n}]`;
171
+ }
172
+ u.push(e);
173
+ let s = "";
174
+ "" !== f && (i = `,\n${c += f}`, s = " ");
175
+ let g = "";
176
+ for (const t of l) {
177
+ const r = y(t, e[t], u, l, f, c);
178
+ void 0 !== r && (n += `${g}${o(t)}:${s}${r}`, g = i);
179
+ }
180
+ return "" !== f && g.length > 1 && (n = `\n${c}${n}\n${t}`), u.pop(), `{${n}}`;
181
+ }
182
+
183
+ case "number":
184
+ return isFinite(e) ? String(e) : n ? n(e) : "null";
185
+
186
+ case "boolean":
187
+ return !0 === e ? "true" : "false";
188
+
189
+ case "undefined":
190
+ return;
191
+
192
+ case "bigint":
193
+ if (i) return String(e);
194
+
195
+ default:
196
+ return n ? n(e) : void 0;
197
+ }
198
+ }
199
+ function d(t, e, s, $, y) {
200
+ switch (typeof e) {
201
+ case "string":
202
+ return o(e);
203
+
204
+ case "object":
205
+ {
206
+ if (null === e) return "null";
207
+ if ("function" == typeof e.toJSON) {
208
+ if ("object" != typeof (e = e.toJSON(t))) return d(t, e, s, $, y);
209
+ if (null === e) return "null";
210
+ }
211
+ if (-1 !== s.indexOf(e)) return r;
212
+ const n = y;
213
+ if (Array.isArray(e)) {
214
+ if (0 === e.length) return "[]";
215
+ if (h < s.length + 1) return '"[Array]"';
216
+ s.push(e);
217
+ let t = `\n${y += $}`;
218
+ const r = `,\n${y}`, i = Math.min(e.length, p);
219
+ let o = 0;
220
+ for (;o < i - 1; o++) {
221
+ const n = d(String(o), e[o], s, $, y);
222
+ t += void 0 !== n ? n : "null", t += r;
223
+ }
224
+ const u = d(String(o), e[o], s, $, y);
225
+ if (t += void 0 !== u ? u : "null", e.length - 1 > p) {
226
+ t += `${r}"... ${a(e.length - p - 1)} not stringified"`;
227
+ }
228
+ return t += `\n${n}`, s.pop(), `[${t}]`;
229
+ }
230
+ let i = Object.keys(e);
231
+ const b = i.length;
232
+ if (0 === b) return "{}";
233
+ if (h < s.length + 1) return '"[Object]"';
234
+ const m = `,\n${y += $}`;
235
+ let S = "", w = "", O = Math.min(b, p);
236
+ f(e) && (S += c(e, m, p), i = i.slice(e.length), O -= e.length, w = m), l && (i = u(i, g)),
237
+ s.push(e);
238
+ for (let t = 0; t < O; t++) {
239
+ const n = i[t], r = d(n, e[n], s, $, y);
240
+ void 0 !== r && (S += `${w}${o(n)}: ${r}`, w = m);
241
+ }
242
+ if (b > p) {
243
+ S += `${w}"...": "${a(b - p)} not stringified"`, w = m;
244
+ }
245
+ return "" !== w && (S = `\n${y}${S}\n${n}`), s.pop(), `{${S}}`;
246
+ }
247
+
248
+ case "number":
249
+ return isFinite(e) ? String(e) : n ? n(e) : "null";
250
+
251
+ case "boolean":
252
+ return !0 === e ? "true" : "false";
253
+
254
+ case "undefined":
255
+ return;
256
+
257
+ case "bigint":
258
+ if (i) return String(e);
259
+
260
+ default:
261
+ return n ? n(e) : void 0;
262
+ }
263
+ }
264
+ function b(t, e, s) {
265
+ switch (typeof e) {
266
+ case "string":
267
+ return o(e);
268
+
269
+ case "object":
270
+ {
271
+ if (null === e) return "null";
272
+ if ("function" == typeof e.toJSON) {
273
+ if ("object" != typeof (e = e.toJSON(t))) return b(t, e, s);
274
+ if (null === e) return "null";
275
+ }
276
+ if (-1 !== s.indexOf(e)) return r;
277
+ let n = "";
278
+ const i = void 0 !== e.length;
279
+ if (i && Array.isArray(e)) {
280
+ if (0 === e.length) return "[]";
281
+ if (h < s.length + 1) return '"[Array]"';
282
+ s.push(e);
283
+ const t = Math.min(e.length, p);
284
+ let r = 0;
285
+ for (;r < t - 1; r++) {
286
+ const t = b(String(r), e[r], s);
287
+ n += void 0 !== t ? t : "null", n += ",";
288
+ }
289
+ const i = b(String(r), e[r], s);
290
+ if (n += void 0 !== i ? i : "null", e.length - 1 > p) {
291
+ n += `,"... ${a(e.length - p - 1)} not stringified"`;
292
+ }
293
+ return s.pop(), `[${n}]`;
294
+ }
295
+ let $ = Object.keys(e);
296
+ const y = $.length;
297
+ if (0 === y) return "{}";
298
+ if (h < s.length + 1) return '"[Object]"';
299
+ let d = "", m = Math.min(y, p);
300
+ i && f(e) && (n += c(e, ",", p), $ = $.slice(e.length), m -= e.length, d = ","),
301
+ l && ($ = u($, g)), s.push(e);
302
+ for (let t = 0; t < m; t++) {
303
+ const r = $[t], i = b(r, e[r], s);
304
+ void 0 !== i && (n += `${d}${o(r)}:${i}`, d = ",");
305
+ }
306
+ if (y > p) {
307
+ n += `${d}"...":"${a(y - p)} not stringified"`;
308
+ }
309
+ return s.pop(), `{${n}}`;
310
+ }
311
+
312
+ case "number":
313
+ return isFinite(e) ? String(e) : n ? n(e) : "null";
314
+
315
+ case "boolean":
316
+ return !0 === e ? "true" : "false";
317
+
318
+ case "undefined":
319
+ return;
320
+
321
+ case "bigint":
322
+ if (i) return String(e);
323
+
324
+ default:
325
+ return n ? n(e) : void 0;
326
+ }
327
+ }
328
+ return function(t, n, e) {
329
+ if (arguments.length > 1) {
330
+ let r = "";
331
+ if ("number" == typeof e ? r = " ".repeat(Math.min(e, 10)) : "string" == typeof e && (r = e.slice(0, 10)),
332
+ null != n) {
333
+ if ("function" == typeof n) return $("", {
334
+ "": t
335
+ }, [], n, r, "");
336
+ if (Array.isArray(n)) return y("", t, [], function(t) {
337
+ const n = new Set;
338
+ for (const e of t) "string" != typeof e && "number" != typeof e || n.add(String(e));
339
+ return n;
340
+ }(n), r, "");
341
+ }
342
+ if (0 !== r.length) return d("", t, [], r, "");
343
+ }
344
+ return b("", t, []);
345
+ };
346
+ }
347
+ },
348
+ 482: (t, n, e) => {
349
+ var r = e(68);
350
+ r.configure;
351
+ globalThis.self;
352
+ }
353
+ }, t => {
354
+ var n;
355
+ n = 482, t(t.s = n);
356
+ } ]);