PageSourceSearch

https://omron.nl/assets/base-d1aa21afb1615c13720a00e8e0fed06b26b5e37f38b3bf19e468632e12c34652.js

js omron.nl collected 2026-10-04 12:46:31 UTC 2,811,972 bytes, 67,043 lines download raw bytes

1"use strict";
2(() => {
3  var __create = Object.create;
4  var __defProp = Object.defineProperty;
5  var __defProps = Object.defineProperties;
6  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7  var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
8  var __getOwnPropNames = Object.getOwnPropertyNames;
9  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
10  var __getProtoOf = Object.getPrototypeOf;
11  var __hasOwnProp = Object.prototype.hasOwnProperty;
12  var __propIsEnum = Object.prototype.propertyIsEnumerable;
13  var __knownSymbol = (name2, symbol) => (symbol = Symbol[name2]) ? symbol : /* @__PURE__ */ Symbol.for("Symbol." + name2);
14  var __typeError = (msg) => {
15    throw TypeError(msg);
16  };
17  var __pow = Math.pow;
18  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
19  var __spreadValues = (a, b) => {
20    for (var prop in b || (b = {}))
21      if (__hasOwnProp.call(b, prop))
22        __defNormalProp(a, prop, b[prop]);
23    if (__getOwnPropSymbols)
24      for (var prop of __getOwnPropSymbols(b)) {
25        if (__propIsEnum.call(b, prop))
26          __defNormalProp(a, prop, b[prop]);
27      }
28    return a;
29  };
30  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
31  var __objRest = (source, exclude) => {
32    var target = {};
33    for (var prop in source)
34      if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
35        target[prop] = source[prop];
36    if (source != null && __getOwnPropSymbols)
37      for (var prop of __getOwnPropSymbols(source)) {
38        if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
39          target[prop] = source[prop];
40      }
41    return target;
42  };
43  var __esm = (fn, res, err) => function __init() {
44    if (err) throw err[0];
45    try {
46      return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
47    } catch (e) {
48      throw err = [e], e;
49    }
50  };
51  var __commonJS = (cb, mod) => function __require() {
52    try {
53      return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
54    } catch (e) {
55      throw mod = 0, e;
56    }
57  };
58  var __export = (target, all3) => {
59    for (var name2 in all3)
60      __defProp(target, name2, { get: all3[name2], enumerable: true });
61  };
62  var __copyProps = (to, from2, except, desc) => {
63    if (from2 && typeof from2 === "object" || typeof from2 === "function") {
64      for (let key of __getOwnPropNames(from2))
65        if (!__hasOwnProp.call(to, key) && key !== except)
66          __defProp(to, key, { get: () => from2[key], enumerable: !(desc = __getOwnPropDesc(from2, key)) || desc.enumerable });
67    }
68    return to;
69  };
70  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
71    // If the importer is in node compatibility mode or this is not an ESM
72    // file that has been converted to a CommonJS file using a Babel-
73    // compatible transform (i.e. "__esModule" has not been set), then set
74    // "default" to the CommonJS "module.exports" for node compatibility.
75    isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
76    mod
77  ));
78  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
79  var __async = (__this, __arguments, generator) => {
80    return new Promise((resolve, reject) => {
81      var fulfilled = (value) => {
82        try {
83          step(generator.next(value));
84        } catch (e) {
85          reject(e);
86        }
87      };
88      var rejected = (value) => {
89        try {
90          step(generator.throw(value));
91        } catch (e) {
92          reject(e);
93        }
94      };
95      var step = (x2) => x2.done ? resolve(x2.value) : Promise.resolve(x2.value).then(fulfilled, rejected);
96      step((generator = generator.apply(__this, __arguments)).next());
97    });
98  };
99  var __await = function(promise, isYieldStar) {
100    this[0] = promise;
101    this[1] = isYieldStar;
102  };
103  var __asyncGenerator = (__this, __arguments, generator) => {
104    var resume = (k, v, yes, no) => {
105      try {
106        var x2 = generator[k](v), isAwait = (v = x2.value) instanceof __await, done = x2.done;
107        Promise.resolve(isAwait ? v[0] : v).then((y) => isAwait ? resume(k === "return" ? k : "next", v[1] ? { done: y.done, value: y.value } : y, yes, no) : yes({ value: y, done })).catch((e) => resume("throw", e, yes, no));
108      } catch (e) {
109        no(e);
110      }
111    }, method = (k, call, wait, clear) => it[k] = (x2) => (call = new Promise((yes, no, run) => (run = () => resume(k, x2, yes, no), q ? q.then(run) : run())), clear = () => q === wait && (q = 0), q = wait = call.then(clear, clear), call), q, it = {};
112    return generator = generator.apply(__this, __arguments), it[__knownSymbol("asyncIterator")] = () => it, method("next"), method("throw"), method("return"), it;
113  };
114  var __yieldStar = (value) => {
115    var obj = value[__knownSymbol("asyncIterator")], isAwait = false, method, it = {};
116    if (obj == null) {
117      obj = value[__knownSymbol("iterator")]();
118      method = (k) => it[k] = (x2) => obj[k](x2);
119    } else {
120      obj = obj.call(value);
121      method = (k) => it[k] = (v) => {
122        if (isAwait) {
123          isAwait = false;
124          if (k === "throw") throw v;
125          return v;
126        }
127        isAwait = true;
128        return {
129          done: false,
130          value: new __await(new Promise((resolve) => {
131            var x2 = obj[k](v);
132            if (!(x2 instanceof Object)) __typeError("Object expected");
133            resolve(x2);
134          }), 1)
135        };
136      };
137    }
138    return it[__knownSymbol("iterator")] = () => it, method("next"), "throw" in obj ? method("throw") : it.throw = (x2) => {
139      throw x2;
140    }, "return" in obj && method("return"), it;
141  };
142  var __forAwait = (obj, it, method) => (it = obj[__knownSymbol("asyncIterator")]) ? it.call(obj) : (obj = obj[__knownSymbol("iterator")](), it = {}, method = (key, fn) => (fn = obj[key]) && (it[key] = (arg) => new Promise((yes, no, done) => (arg = fn.call(obj, arg), done = arg.done, Promise.resolve(arg.value).then((value) => yes({ value, done }), no)))), method("next"), method("return"), it);
143
144  
vendor: 3,966 bytes, lines 144-246
144// node_modules/base64-js/index.js
145  var require_base64_js = __commonJS({
146    "node_modules/base64-js/index.js"(exports) {
147      "use strict";
148      init_esbuild_shims();
149      exports.byteLength = byteLength;
150      exports.toByteArray = toByteArray;
151      exports.fromByteArray = fromByteArray;
152      var lookup = [];
153      var revLookup = [];
154      var Arr = typeof Uint8Array !== "undefined" ? Uint8Array : Array;
155      var code = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
156      for (i2 = 0, len = code.length; i2 < len; ++i2) {
157        lookup[i2] = code[i2];
158        revLookup[code.charCodeAt(i2)] = i2;
159      }
160      var i2;
161      var len;
162      revLookup["-".charCodeAt(0)] = 62;
163      revLookup["_".charCodeAt(0)] = 63;
164      function getLens(b64) {
165        var len2 = b64.length;
166        if (len2 % 4 > 0) {
167          throw new Error("Invalid string. Length must be a multiple of 4");
168        }
169        var validLen = b64.indexOf("=");
170        if (validLen === -1) validLen = len2;
171        var placeHoldersLen = validLen === len2 ? 0 : 4 - validLen % 4;
172        return [validLen, placeHoldersLen];
173      }
174      function byteLength(b64) {
175        var lens = getLens(b64);
176        var validLen = lens[0];
177        var placeHoldersLen = lens[1];
178        return (validLen + placeHoldersLen) * 3 / 4 - placeHoldersLen;
179      }
180      function _byteLength(b64, validLen, placeHoldersLen) {
181        return (validLen + placeHoldersLen) * 3 / 4 - placeHoldersLen;
182      }
183      function toByteArray(b64) {
184        var tmp;
185        var lens = getLens(b64);
186        var validLen = lens[0];
187        var placeHoldersLen = lens[1];
188        var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen));
189        var curByte = 0;
190        var len2 = placeHoldersLen > 0 ? validLen - 4 : validLen;
191        var i3;
192        for (i3 = 0; i3 < len2; i3 += 4) {
193          tmp = revLookup[b64.charCodeAt(i3)] << 18 | revLookup[b64.charCodeAt(i3 + 1)] << 12 | revLookup[b64.charCodeAt(i3 + 2)] << 6 | revLookup[b64.charCodeAt(i3 + 3)];
194          arr[curByte++] = tmp >> 16 & 255;
195          arr[curByte++] = tmp >> 8 & 255;
196          arr[curByte++] = tmp & 255;
197        }
198        if (placeHoldersLen === 2) {
199          tmp = revLookup[b64.charCodeAt(i3)] << 2 | revLookup[b64.charCodeAt(i3 + 1)] >> 4;
200          arr[curByte++] = tmp & 255;
201        }
202        if (placeHoldersLen === 1) {
203          tmp = revLookup[b64.charCodeAt(i3)] << 10 | revLookup[b64.charCodeAt(i3 + 1)] << 4 | revLookup[b64.charCodeAt(i3 + 2)] >> 2;
204          arr[curByte++] = tmp >> 8 & 255;
205          arr[curByte++] = tmp & 255;
206        }
207        return arr;
208      }
209      function tripletToBase64(num) {
210        return lookup[num >> 18 & 63] + lookup[num >> 12 & 63] + lookup[num >> 6 & 63] + lookup[num & 63];
211      }
212      function encodeChunk(uint8, start, end2) {
213        var tmp;
214        var output = [];
215        for (var i3 = start; i3 < end2; i3 += 3) {
216          tmp = (uint8[i3] << 16 & 16711680) + (uint8[i3 + 1] << 8 & 65280) + (uint8[i3 + 2] & 255);
217          output.push(tripletToBase64(tmp));
218        }
219        return output.join("");
220      }
221      function fromByteArray(uint8) {
222        var tmp;
223        var len2 = uint8.length;
224        var extraBytes = len2 % 3;
225        var parts = [];
226        var maxChunkLength = 16383;
227        for (var i3 = 0, len22 = len2 - extraBytes; i3 < len22; i3 += maxChunkLength) {
228          parts.push(encodeChunk(uint8, i3, i3 + maxChunkLength > len22 ? len22 : i3 + maxChunkLength));
229        }
230        if (extraBytes === 1) {
231          tmp = uint8[len2 - 1];
232          parts.push(
233            lookup[tmp >> 2] + lookup[tmp << 4 & 63] + "=="
234          );
235        } else if (extraBytes === 2) {
236          tmp = (uint8[len2 - 2] << 8) + uint8[len2 - 1];
237          parts.push(
238            lookup[tmp >> 10] + lookup[tmp >> 4 & 63] + lookup[tmp << 2 & 63] + "="
239          );
240        }
241        return parts.join("");
242      }
243    }
244  });
245
246  
vendor: 2,726 bytes, lines 246-330
246// node_modules/ieee754/index.js
247  var require_ieee754 = __commonJS({
248    "node_modules/ieee754/index.js"(exports) {
249      init_esbuild_shims();
250      exports.read = function(buffer, offset2, isLE, mLen, nBytes) {
251        var e, m;
252        var eLen = nBytes * 8 - mLen - 1;
253        var eMax = (1 << eLen) - 1;
254        var eBias = eMax >> 1;
255        var nBits = -7;
256        var i2 = isLE ? nBytes - 1 : 0;
257        var d = isLE ? -1 : 1;
258        var s2 = buffer[offset2 + i2];
259        i2 += d;
260        e = s2 & (1 << -nBits) - 1;
261        s2 >>= -nBits;
262        nBits += eLen;
263        for (; nBits > 0; e = e * 256 + buffer[offset2 + i2], i2 += d, nBits -= 8) {
264        }
265        m = e & (1 << -nBits) - 1;
266        e >>= -nBits;
267        nBits += mLen;
268        for (; nBits > 0; m = m * 256 + buffer[offset2 + i2], i2 += d, nBits -= 8) {
269        }
270        if (e === 0) {
271          e = 1 - eBias;
272        } else if (e === eMax) {
273          return m ? NaN : (s2 ? -1 : 1) * Infinity;
274        } else {
275          m = m + Math.pow(2, mLen);
276          e = e - eBias;
277        }
278        return (s2 ? -1 : 1) * m * Math.pow(2, e - mLen);
279      };
280      exports.write = function(buffer, value, offset2, isLE, mLen, nBytes) {
281        var e, m, c;
282        var eLen = nBytes * 8 - mLen - 1;
283        var eMax = (1 << eLen) - 1;
284        var eBias = eMax >> 1;
285        var rt = mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0;
286        var i2 = isLE ? 0 : nBytes - 1;
287        var d = isLE ? 1 : -1;
288        var s2 = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0;
289        value = Math.abs(value);
290        if (isNaN(value) || value === Infinity) {
291          m = isNaN(value) ? 1 : 0;
292          e = eMax;
293        } else {
294          e = Math.floor(Math.log(value) / Math.LN2);
295          if (value * (c = Math.pow(2, -e)) < 1) {
296            e--;
297            c *= 2;
298          }
299          if (e + eBias >= 1) {
300            value += rt / c;
301          } else {
302            value += rt * Math.pow(2, 1 - eBias);
303          }
304          if (value * c >= 2) {
305            e++;
306            c /= 2;
307          }
308          if (e + eBias >= eMax) {
309            m = 0;
310            e = eMax;
311          } else if (e + eBias >= 1) {
312            m = (value * c - 1) * Math.pow(2, mLen);
313            e = e + eBias;
314          } else {
315            m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen);
316            e = 0;
317          }
318        }
319        for (; mLen >= 8; buffer[offset2 + i2] = m & 255, i2 += d, m /= 256, mLen -= 8) {
320        }
321        e = e << mLen | m;
322        eLen += mLen;
323        for (; eLen > 0; buffer[offset2 + i2] = e & 255, i2 += d, e /= 256, eLen -= 8) {
324        }
325        buffer[offset2 + i2 - d] |= s2 * 128;
326      };
327    }
328  });
329
330  
vendor: 61,421 bytes, lines 330-1933
330// node_modules/buffer/index.js
331  var require_buffer = __commonJS({
332    "node_modules/buffer/index.js"(exports) {
333      "use strict";
334      init_esbuild_shims();
335      var base64 = require_base64_js();
336      var ieee754 = require_ieee754();
337      var customInspectSymbol = typeof Symbol === "function" && typeof Symbol["for"] === "function" ? Symbol["for"]("nodejs.util.inspect.custom") : null;
338      exports.Buffer = Buffer3;
339      exports.SlowBuffer = SlowBuffer;
340      exports.INSPECT_MAX_BYTES = 50;
341      var K_MAX_LENGTH = 2147483647;
342      exports.kMaxLength = K_MAX_LENGTH;
343      Buffer3.TYPED_ARRAY_SUPPORT = typedArraySupport();
344      if (!Buffer3.TYPED_ARRAY_SUPPORT && typeof console !== "undefined" && typeof console.error === "function") {
345        console.error(
346          "This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."
347        );
348      }
349      function typedArraySupport() {
350        try {
351          const arr = new Uint8Array(1);
352          const proto = { foo: function() {
353            return 42;
354          } };
355          Object.setPrototypeOf(proto, Uint8Array.prototype);
356          Object.setPrototypeOf(arr, proto);
357          return arr.foo() === 42;
358        } catch (e) {
359          return false;
360        }
361      }
362      Object.defineProperty(Buffer3.prototype, "parent", {
363        enumerable: true,
364        get: function() {
365          if (!Buffer3.isBuffer(this)) return void 0;
366          return this.buffer;
367        }
368      });
369      Object.defineProperty(Buffer3.prototype, "offset", {
370        enumerable: true,
371        get: function() {
372          if (!Buffer3.isBuffer(this)) return void 0;
373          return this.byteOffset;
374        }
375      });
376      function createBuffer(length2) {
377        if (length2 > K_MAX_LENGTH) {
378          throw new RangeError('The value "' + length2 + '" is invalid for option "size"');
379        }
380        const buf = new Uint8Array(length2);
381        Object.setPrototypeOf(buf, Buffer3.prototype);
382        return buf;
383      }
384      function Buffer3(arg, encodingOrOffset, length2) {
385        if (typeof arg === "number") {
386          if (typeof encodingOrOffset === "string") {
387            throw new TypeError(
388              'The "string" argument must be of type string. Received type number'
389            );
390          }
391          return allocUnsafe(arg);
392        }
393        return from2(arg, encodingOrOffset, length2);
394      }
395      Buffer3.poolSize = 8192;
396      function from2(value, encodingOrOffset, length2) {
397        if (typeof value === "string") {
398          return fromString(value, encodingOrOffset);
399        }
400        if (ArrayBuffer.isView(value)) {
401          return fromArrayView(value);
402        }
403        if (value == null) {
404          throw new TypeError(
405            "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof value
406          );
407        }
408        if (isInstance(value, ArrayBuffer) || value && isInstance(value.buffer, ArrayBuffer)) {
409          return fromArrayBuffer(value, encodingOrOffset, length2);
410        }
411        if (typeof SharedArrayBuffer !== "undefined" && (isInstance(value, SharedArrayBuffer) || value && isInstance(value.buffer, SharedArrayBuffer))) {
412          return fromArrayBuffer(value, encodingOrOffset, length2);
413        }
414        if (typeof value === "number") {
415          throw new TypeError(
416            'The "value" argument must not be of type number. Received type number'
417          );
418        }
419        const valueOf = value.valueOf && value.valueOf();
420        if (valueOf != null && valueOf !== value) {
421          return Buffer3.from(valueOf, encodingOrOffset, length2);
422        }
423        const b = fromObject(value);
424        if (b) return b;
425        if (typeof Symbol !== "undefined" && Symbol.toPrimitive != null && typeof value[Symbol.toPrimitive] === "function") {
426          return Buffer3.from(value[Symbol.toPrimitive]("string"), encodingOrOffset, length2);
427        }
428        throw new TypeError(
429          "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof value
430        );
431      }
432      Buffer3.from = function(value, encodingOrOffset, length2) {
433        return from2(value, encodingOrOffset, length2);
434      };
435      Object.setPrototypeOf(Buffer3.prototype, Uint8Array.prototype);
436      Object.setPrototypeOf(Buffer3, Uint8Array);
437      function assertSize(size2) {
438        if (typeof size2 !== "number") {
439          throw new TypeError('"size" argument must be of type number');
440        } else if (size2 < 0) {
441          throw new RangeError('The value "' + size2 + '" is invalid for option "size"');
442        }
443      }
444      function alloc2(size2, fill2, encoding) {
445        assertSize(size2);
446        if (size2 <= 0) {
447          return createBuffer(size2);
448        }
449        if (fill2 !== void 0) {
450          return typeof encoding === "string" ? createBuffer(size2).fill(fill2, encoding) : createBuffer(size2).fill(fill2);
451        }
452        return createBuffer(size2);
453      }
454      Buffer3.alloc = function(size2, fill2, encoding) {
455        return alloc2(size2, fill2, encoding);
456      };
457      function allocUnsafe(size2) {
458        assertSize(size2);
459        return createBuffer(size2 < 0 ? 0 : checked(size2) | 0);
460      }
461      Buffer3.allocUnsafe = function(size2) {
462        return allocUnsafe(size2);
463      };
464      Buffer3.allocUnsafeSlow = function(size2) {
465        return allocUnsafe(size2);
466      };
467      function fromString(string, encoding) {
468        if (typeof encoding !== "string" || encoding === "") {
469          encoding = "utf8";
470        }
471        if (!Buffer3.isEncoding(encoding)) {
472          throw new TypeError("Unknown encoding: " + encoding);
473        }
474        const length2 = byteLength(string, encoding) | 0;
475        let buf = createBuffer(length2);
476        const actual = buf.write(string, encoding);
477        if (actual !== length2) {
478          buf = buf.slice(0, actual);
479        }
480        return buf;
481      }
482      function fromArrayLike(array) {
483        const length2 = array.length < 0 ? 0 : checked(array.length) | 0;
484        const buf = createBuffer(length2);
485        for (let i2 = 0; i2 < length2; i2 += 1) {
486          buf[i2] = array[i2] & 255;
487        }
488        return buf;
489      }
490      function fromArrayView(arrayView) {
491        if (isInstance(arrayView, Uint8Array)) {
492          const copy2 = new Uint8Array(arrayView);
493          return fromArrayBuffer(copy2.buffer, copy2.byteOffset, copy2.byteLength);
494        }
495        return fromArrayLike(arrayView);
496      }
497      function fromArrayBuffer(array, byteOffset, length2) {
498        if (byteOffset < 0 || array.byteLength < byteOffset) {
499          throw new RangeError('"offset" is outside of buffer bounds');
500        }
501        if (array.byteLength < byteOffset + (length2 || 0)) {
502          throw new RangeError('"length" is outside of buffer bounds');
503        }
504        let buf;
505        if (byteOffset === void 0 && length2 === void 0) {
506          buf = new Uint8Array(array);
507        } else if (length2 === void 0) {
508          buf = new Uint8Array(array, byteOffset);
509        } else {
510          buf = new Uint8Array(array, byteOffset, length2);
511        }
512        Object.setPrototypeOf(buf, Buffer3.prototype);
513        return buf;
514      }
515      function fromObject(obj) {
516        if (Buffer3.isBuffer(obj)) {
517          const len = checked(obj.length) | 0;
518          const buf = createBuffer(len);
519          if (buf.length === 0) {
520            return buf;
521          }
522          obj.copy(buf, 0, 0, len);
523          return buf;
524        }
525        if (obj.length !== void 0) {
526          if (typeof obj.length !== "number" || numberIsNaN(obj.length)) {
527            return createBuffer(0);
528          }
529          return fromArrayLike(obj);
530        }
531        if (obj.type === "Buffer" && Array.isArray(obj.data)) {
532          return fromArrayLike(obj.data);
533        }
534      }
535      function checked(length2) {
536        if (length2 >= K_MAX_LENGTH) {
537          throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + K_MAX_LENGTH.toString(16) + " bytes");
538        }
539        return length2 | 0;
540      }
541      function SlowBuffer(length2) {
542        if (+length2 != length2) {
543          length2 = 0;
544        }
545        return Buffer3.alloc(+length2);
546      }
547      Buffer3.isBuffer = function isBuffer2(b) {
548        return b != null && b._isBuffer === true && b !== Buffer3.prototype;
549      };
550      Buffer3.compare = function compare(a, b) {
551        if (isInstance(a, Uint8Array)) a = Buffer3.from(a, a.offset, a.byteLength);
552        if (isInstance(b, Uint8Array)) b = Buffer3.from(b, b.offset, b.byteLength);
553        if (!Buffer3.isBuffer(a) || !Buffer3.isBuffer(b)) {
554          throw new TypeError(
555            'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
556          );
557        }
558        if (a === b) return 0;
559        let x2 = a.length;
560        let y = b.length;
561        for (let i2 = 0, len = Math.min(x2, y); i2 < len; ++i2) {
562          if (a[i2] !== b[i2]) {
563            x2 = a[i2];
564            y = b[i2];
565            break;
566          }
567        }
568        if (x2 < y) return -1;
569        if (y < x2) return 1;
570        return 0;
571      };
572      Buffer3.isEncoding = function isEncoding(encoding) {
573        switch (String(encoding).toLowerCase()) {
574          case "hex":
575          case "utf8":
576          case "utf-8":
577          case "ascii":
578          case "latin1":
579          case "binary":
580          case "base64":
581          case "ucs2":
582          case "ucs-2":
583          case "utf16le":
584          case "utf-16le":
585            return true;
586          default:
587            return false;
588        }
589      };
590      Buffer3.concat = function concat(list, length2) {
591        if (!Array.isArray(list)) {
592          throw new TypeError('"list" argument must be an Array of Buffers');
593        }
594        if (list.length === 0) {
595          return Buffer3.alloc(0);
596        }
597        let i2;
598        if (length2 === void 0) {
599          length2 = 0;
600          for (i2 = 0; i2 < list.length; ++i2) {
601            length2 += list[i2].length;
602          }
603        }
604        const buffer = Buffer3.allocUnsafe(length2);
605        let pos = 0;
606        for (i2 = 0; i2 < list.length; ++i2) {
607          let buf = list[i2];
608          if (isInstance(buf, Uint8Array)) {
609            if (pos + buf.length > buffer.length) {
610              if (!Buffer3.isBuffer(buf)) buf = Buffer3.from(buf);
611              buf.copy(buffer, pos);
612            } else {
613              Uint8Array.prototype.set.call(
614                buffer,
615                buf,
616                pos
617              );
618            }
619          } else if (!Buffer3.isBuffer(buf)) {
620            throw new TypeError('"list" argument must be an Array of Buffers');
621          } else {
622            buf.copy(buffer, pos);
623          }
624          pos += buf.length;
625        }
626        return buffer;
627      };
628      function byteLength(string, encoding) {
629        if (Buffer3.isBuffer(string)) {
630          return string.length;
631        }
632        if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) {
633          return string.byteLength;
634        }
635        if (typeof string !== "string") {
636          throw new TypeError(
637            'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof string
638          );
639        }
640        const len = string.length;
641        const mustMatch = arguments.length > 2 && arguments[2] === true;
642        if (!mustMatch && len === 0) return 0;
643        let loweredCase = false;
644        for (; ; ) {
645          switch (encoding) {
646            case "ascii":
647            case "latin1":
648            case "binary":
649              return len;
650            case "utf8":
651            case "utf-8":
652              return utf8ToBytes(string).length;
653            case "ucs2":
654            case "ucs-2":
655            case "utf16le":
656            case "utf-16le":
657              return len * 2;
658            case "hex":
659              return len >>> 1;
660            case "base64":
661              return base64ToBytes(string).length;
662            default:
663              if (loweredCase) {
664                return mustMatch ? -1 : utf8ToBytes(string).length;
665              }
666              encoding = ("" + encoding).toLowerCase();
667              loweredCase = true;
668          }
669        }
670      }
671      Buffer3.byteLength = byteLength;
672      function slowToString(encoding, start, end2) {
673        let loweredCase = false;
674        if (start === void 0 || start < 0) {
675          start = 0;
676        }
677        if (start > this.length) {
678          return "";
679        }
680        if (end2 === void 0 || end2 > this.length) {
681          end2 = this.length;
682        }
683        if (end2 <= 0) {
684          return "";
685        }
686        end2 >>>= 0;
687        start >>>= 0;
688        if (end2 <= start) {
689          return "";
690        }
691        if (!encoding) encoding = "utf8";
692        while (true) {
693          switch (encoding) {
694            case "hex":
695              return hexSlice(this, start, end2);
696            case "utf8":
697            case "utf-8":
698              return utf8Slice(this, start, end2);
699            case "ascii":
700              return asciiSlice(this, start, end2);
701            case "latin1":
702            case "binary":
703              return latin1Slice(this, start, end2);
704            case "base64":
705              return base64Slice(this, start, end2);
706            case "ucs2":
707            case "ucs-2":
708            case "utf16le":
709            case "utf-16le":
710              return utf16leSlice(this, start, end2);
711            default:
712              if (loweredCase) throw new TypeError("Unknown encoding: " + encoding);
713              encoding = (encoding + "").toLowerCase();
714              loweredCase = true;
715          }
716        }
717      }
718      Buffer3.prototype._isBuffer = true;
719      function swap(b, n, m) {
720        const i2 = b[n];
721        b[n] = b[m];
722        b[m] = i2;
723      }
724      Buffer3.prototype.swap16 = function swap16() {
725        const len = this.length;
726        if (len % 2 !== 0) {
727          throw new RangeError("Buffer size must be a multiple of 16-bits");
728        }
729        for (let i2 = 0; i2 < len; i2 += 2) {
730          swap(this, i2, i2 + 1);
731        }
732        return this;
733      };
734      Buffer3.prototype.swap32 = function swap32() {
735        const len = this.length;
736        if (len % 4 !== 0) {
737          throw new RangeError("Buffer size must be a multiple of 32-bits");
738        }
739        for (let i2 = 0; i2 < len; i2 += 4) {
740          swap(this, i2, i2 + 3);
741          swap(this, i2 + 1, i2 + 2);
742        }
743        return this;
744      };
745      Buffer3.prototype.swap64 = function swap64() {
746        const len = this.length;
747        if (len % 8 !== 0) {
748          throw new RangeError("Buffer size must be a multiple of 64-bits");
749        }
750        for (let i2 = 0; i2 < len; i2 += 8) {
751          swap(this, i2, i2 + 7);
752          swap(this, i2 + 1, i2 + 6);
753          swap(this, i2 + 2, i2 + 5);
754          swap(this, i2 + 3, i2 + 4);
755        }
756        return this;
757      };
758      Buffer3.prototype.toString = function toString3() {
759        const length2 = this.length;
760        if (length2 === 0) return "";
761        if (arguments.length === 0) return utf8Slice(this, 0, length2);
762        return slowToString.apply(this, arguments);
763      };
764      Buffer3.prototype.toLocaleString = Buffer3.prototype.toString;
765      Buffer3.prototype.equals = function equals(b) {
766        if (!Buffer3.isBuffer(b)) throw new TypeError("Argument must be a Buffer");
767        if (this === b) return true;
768        return Buffer3.compare(this, b) === 0;
769      };
770      Buffer3.prototype.inspect = function inspect() {
771        let str = "";
772        const max2 = exports.INSPECT_MAX_BYTES;
773        str = this.toString("hex", 0, max2).replace(/(.{2})/g, "$1 ").trim();
774        if (this.length > max2) str += " ... ";
775        return "<Buffer " + str + ">";
776      };
777      if (customInspectSymbol) {
778        Buffer3.prototype[customInspectSymbol] = Buffer3.prototype.inspect;
779      }
780      Buffer3.prototype.compare = function compare(target, start, end2, thisStart, thisEnd) {
781        if (isInstance(target, Uint8Array)) {
782          target = Buffer3.from(target, target.offset, target.byteLength);
783        }
784        if (!Buffer3.isBuffer(target)) {
785          throw new TypeError(
786            'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof target
787          );
788        }
789        if (start === void 0) {
790          start = 0;
791        }
792        if (end2 === void 0) {
793          end2 = target ? target.length : 0;
794        }
795        if (thisStart === void 0) {
796          thisStart = 0;
797        }
798        if (thisEnd === void 0) {
799          thisEnd = this.length;
800        }
801        if (start < 0 || end2 > target.length || thisStart < 0 || thisEnd > this.length) {
802          throw new RangeError("out of range index");
803        }
804        if (thisStart >= thisEnd && start >= end2) {
805          return 0;
806        }
807        if (thisStart >= thisEnd) {
808          return -1;
809        }
810        if (start >= end2) {
811          return 1;
812        }
813        start >>>= 0;
814        end2 >>>= 0;
815        thisStart >>>= 0;
816        thisEnd >>>= 0;
817        if (this === target) return 0;
818        let x2 = thisEnd - thisStart;
819        let y = end2 - start;
820        const len = Math.min(x2, y);
821        const thisCopy = this.slice(thisStart, thisEnd);
822        const targetCopy = target.slice(start, end2);
823        for (let i2 = 0; i2 < len; ++i2) {
824          if (thisCopy[i2] !== targetCopy[i2]) {
825            x2 = thisCopy[i2];
826            y = targetCopy[i2];
827            break;
828          }
829        }
830        if (x2 < y) return -1;
831        if (y < x2) return 1;
832        return 0;
833      };
834      function bidirectionalIndexOf(buffer, val, byteOffset, encoding, dir) {
835        if (buffer.length === 0) return -1;
836        if (typeof byteOffset === "string") {
837          encoding = byteOffset;
838          byteOffset = 0;
839        } else if (byteOffset > 2147483647) {
840          byteOffset = 2147483647;
841        } else if (byteOffset < -2147483648) {
842          byteOffset = -2147483648;
843        }
844        byteOffset = +byteOffset;
845        if (numberIsNaN(byteOffset)) {
846          byteOffset = dir ? 0 : buffer.length - 1;
847        }
848        if (byteOffset < 0) byteOffset = buffer.length + byteOffset;
849        if (byteOffset >= buffer.length) {
850          if (dir) return -1;
851          else byteOffset = buffer.length - 1;
852        } else if (byteOffset < 0) {
853          if (dir) byteOffset = 0;
854          else return -1;
855        }
856        if (typeof val === "string") {
857          val = Buffer3.from(val, encoding);
858        }
859        if (Buffer3.isBuffer(val)) {
860          if (val.length === 0) {
861            return -1;
862          }
863          return arrayIndexOf(buffer, val, byteOffset, encoding, dir);
864        } else if (typeof val === "number") {
865          val = val & 255;
866          if (typeof Uint8Array.prototype.indexOf === "function") {
867            if (dir) {
868              return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset);
869            } else {
870              return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset);
871            }
872          }
873          return arrayIndexOf(buffer, [val], byteOffset, encoding, dir);
874        }
875        throw new TypeError("val must be string, number or Buffer");
876      }
877      function arrayIndexOf(arr, val, byteOffset, encoding, dir) {
878        let indexSize = 1;
879        let arrLength = arr.length;
880        let valLength = val.length;
881        if (encoding !== void 0) {
882          encoding = String(encoding).toLowerCase();
883          if (encoding === "ucs2" || encoding === "ucs-2" || encoding === "utf16le" || encoding === "utf-16le") {
884            if (arr.length < 2 || val.length < 2) {
885              return -1;
886            }
887            indexSize = 2;
888            arrLength /= 2;
889            valLength /= 2;
890            byteOffset /= 2;
891          }
892        }
893        function read(buf, i3) {
894          if (indexSize === 1) {
895            return buf[i3];
896          } else {
897            return buf.readUInt16BE(i3 * indexSize);
898          }
899        }
900        let i2;
901        if (dir) {
902          let foundIndex = -1;
903          for (i2 = byteOffset; i2 < arrLength; i2++) {
904            if (read(arr, i2) === read(val, foundIndex === -1 ? 0 : i2 - foundIndex)) {
905              if (foundIndex === -1) foundIndex = i2;
906              if (i2 - foundIndex + 1 === valLength) return foundIndex * indexSize;
907            } else {
908              if (foundIndex !== -1) i2 -= i2 - foundIndex;
909              foundIndex = -1;
910            }
911          }
912        } else {
913          if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength;
914          for (i2 = byteOffset; i2 >= 0; i2--) {
915            let found = true;
916            for (let j2 = 0; j2 < valLength; j2++) {
917              if (read(arr, i2 + j2) !== read(val, j2)) {
918                found = false;
919                break;
920              }
921            }
922            if (found) return i2;
923          }
924        }
925        return -1;
926      }
927      Buffer3.prototype.includes = function includes(val, byteOffset, encoding) {
928        return this.indexOf(val, byteOffset, encoding) !== -1;
929      };
930      Buffer3.prototype.indexOf = function indexOf(val, byteOffset, encoding) {
931        return bidirectionalIndexOf(this, val, byteOffset, encoding, true);
932      };
933      Buffer3.prototype.lastIndexOf = function lastIndexOf(val, byteOffset, encoding) {
934        return bidirectionalIndexOf(this, val, byteOffset, encoding, false);
935      };
936      function hexWrite(buf, string, offset2, length2) {
937        offset2 = Number(offset2) || 0;
938        const remaining = buf.length - offset2;
939        if (!length2) {
940          length2 = remaining;
941        } else {
942          length2 = Number(length2);
943          if (length2 > remaining) {
944            length2 = remaining;
945          }
946        }
947        const strLen = string.length;
948        if (length2 > strLen / 2) {
949          length2 = strLen / 2;
950        }
951        let i2;
952        for (i2 = 0; i2 < length2; ++i2) {
953          const parsed = parseInt(string.substr(i2 * 2, 2), 16);
954          if (numberIsNaN(parsed)) return i2;
955          buf[offset2 + i2] = parsed;
956        }
957        return i2;
958      }
959      function utf8Write(buf, string, offset2, length2) {
960        return blitBuffer(utf8ToBytes(string, buf.length - offset2), buf, offset2, length2);
961      }
962      function asciiWrite(buf, string, offset2, length2) {
963        return blitBuffer(asciiToBytes(string), buf, offset2, length2);
964      }
965      function base64Write(buf, string, offset2, length2) {
966        return blitBuffer(base64ToBytes(string), buf, offset2, length2);
967      }
968      function ucs2Write(buf, string, offset2, length2) {
969        return blitBuffer(utf16leToBytes(string, buf.length - offset2), buf, offset2, length2);
970      }
971      Buffer3.prototype.write = function write(string, offset2, length2, encoding) {
972        if (offset2 === void 0) {
973          encoding = "utf8";
974          length2 = this.length;
975          offset2 = 0;
976        } else if (length2 === void 0 && typeof offset2 === "string") {
977          encoding = offset2;
978          length2 = this.length;
979          offset2 = 0;
980        } else if (isFinite(offset2)) {
981          offset2 = offset2 >>> 0;
982          if (isFinite(length2)) {
983            length2 = length2 >>> 0;
984            if (encoding === void 0) encoding = "utf8";
985          } else {
986            encoding = length2;
987            length2 = void 0;
988          }
989        } else {
990          throw new Error(
991            "Buffer.write(string, encoding, offset[, length]) is no longer supported"
992          );
993        }
994        const remaining = this.length - offset2;
995        if (length2 === void 0 || length2 > remaining) length2 = remaining;
996        if (string.length > 0 && (length2 < 0 || offset2 < 0) || offset2 > this.length) {
997          throw new RangeError("Attempt to write outside buffer bounds");
998        }
999        if (!encoding) encoding = "utf8";
1000        let loweredCase = false;
1001        for (; ; ) {
1002          switch (encoding) {
1003            case "hex":
1004              return hexWrite(this, string, offset2, length2);
1005            case "utf8":
1006            case "utf-8":
1007              return utf8Write(this, string, offset2, length2);
1008            case "ascii":
1009            case "latin1":
1010            case "binary":
1011              return asciiWrite(this, string, offset2, length2);
1012            case "base64":
1013              return base64Write(this, string, offset2, length2);
1014            case "ucs2":
1015            case "ucs-2":
1016            case "utf16le":
1017            case "utf-16le":
1018              return ucs2Write(this, string, offset2, length2);
1019            default:
1020              if (loweredCase) throw new TypeError("Unknown encoding: " + encoding);
1021              encoding = ("" + encoding).toLowerCase();
1022              loweredCase = true;
1023          }
1024        }
1025      };
1026      Buffer3.prototype.toJSON = function toJSON() {
1027        return {
1028          type: "Buffer",
1029          data: Array.prototype.slice.call(this._arr || this, 0)
1030        };
1031      };
1032      function base64Slice(buf, start, end2) {
1033        if (start === 0 && end2 === buf.length) {
1034          return base64.fromByteArray(buf);
1035        } else {
1036          return base64.fromByteArray(buf.slice(start, end2));
1037        }
1038      }
1039      function utf8Slice(buf, start, end2) {
1040        end2 = Math.min(buf.length, end2);
1041        const res = [];
1042        let i2 = start;
1043        while (i2 < end2) {
1044          const firstByte = buf[i2];
1045          let codePoint = null;
1046          let bytesPerSequence = firstByte > 239 ? 4 : firstByte > 223 ? 3 : firstByte > 191 ? 2 : 1;
1047          if (i2 + bytesPerSequence <= end2) {
1048            let secondByte, thirdByte, fourthByte, tempCodePoint;
1049            switch (bytesPerSequence) {
1050              case 1:
1051                if (firstByte < 128) {
1052                  codePoint = firstByte;
1053                }
1054                break;
1055              case 2:
1056                secondByte = buf[i2 + 1];
1057                if ((secondByte & 192) === 128) {
1058                  tempCodePoint = (firstByte & 31) << 6 | secondByte & 63;
1059                  if (tempCodePoint > 127) {
1060                    codePoint = tempCodePoint;
1061                  }
1062                }
1063                break;
1064              case 3:
1065                secondByte = buf[i2 + 1];
1066                thirdByte = buf[i2 + 2];
1067                if ((secondByte & 192) === 128 && (thirdByte & 192) === 128) {
1068                  tempCodePoint = (firstByte & 15) << 12 | (secondByte & 63) << 6 | thirdByte & 63;
1069                  if (tempCodePoint > 2047 && (tempCodePoint < 55296 || tempCodePoint > 57343)) {
1070                    codePoint = tempCodePoint;
1071                  }
1072                }
1073                break;
1074              case 4:
1075                secondByte = buf[i2 + 1];
1076                thirdByte = buf[i2 + 2];
1077                fourthByte = buf[i2 + 3];
1078                if ((secondByte & 192) === 128 && (thirdByte & 192) === 128 && (fourthByte & 192) === 128) {
1079                  tempCodePoint = (firstByte & 15) << 18 | (secondByte & 63) << 12 | (thirdByte & 63) << 6 | fourthByte & 63;
1080                  if (tempCodePoint > 65535 && tempCodePoint < 1114112) {
1081                    codePoint = tempCodePoint;
1082                  }
1083                }
1084            }
1085          }
1086          if (codePoint === null) {
1087            codePoint = 65533;
1088            bytesPerSequence = 1;
1089          } else if (codePoint > 65535) {
1090            codePoint -= 65536;
1091            res.push(codePoint >>> 10 & 1023 | 55296);
1092            codePoint = 56320 | codePoint & 1023;
1093          }
1094          res.push(codePoint);
1095          i2 += bytesPerSequence;
1096        }
1097        return decodeCodePointsArray(res);
1098      }
1099      var MAX_ARGUMENTS_LENGTH = 4096;
1100      function decodeCodePointsArray(codePoints) {
1101        const len = codePoints.length;
1102        if (len <= MAX_ARGUMENTS_LENGTH) {
1103          return String.fromCharCode.apply(String, codePoints);
1104        }
1105        let res = "";
1106        let i2 = 0;
1107        while (i2 < len) {
1108          res += String.fromCharCode.apply(
1109            String,
1110            codePoints.slice(i2, i2 += MAX_ARGUMENTS_LENGTH)
1111          );
1112        }
1113        return res;
1114      }
1115      function asciiSlice(buf, start, end2) {
1116        let ret = "";
1117        end2 = Math.min(buf.length, end2);
1118        for (let i2 = start; i2 < end2; ++i2) {
1119          ret += String.fromCharCode(buf[i2] & 127);
1120        }
1121        return ret;
1122      }
1123      function latin1Slice(buf, start, end2) {
1124        let ret = "";
1125        end2 = Math.min(buf.length, end2);
1126        for (let i2 = start; i2 < end2; ++i2) {
1127          ret += String.fromCharCode(buf[i2]);
1128        }
1129        return ret;
1130      }
1131      function hexSlice(buf, start, end2) {
1132        const len = buf.length;
1133        if (!start || start < 0) start = 0;
1134        if (!end2 || end2 < 0 || end2 > len) end2 = len;
1135        let out = "";
1136        for (let i2 = start; i2 < end2; ++i2) {
1137          out += hexSliceLookupTable[buf[i2]];
1138        }
1139        return out;
1140      }
1141      function utf16leSlice(buf, start, end2) {
1142        const bytes = buf.slice(start, end2);
1143        let res = "";
1144        for (let i2 = 0; i2 < bytes.length - 1; i2 += 2) {
1145          res += String.fromCharCode(bytes[i2] + bytes[i2 + 1] * 256);
1146        }
1147        return res;
1148      }
1149      Buffer3.prototype.slice = function slice2(start, end2) {
1150        const len = this.length;
1151        start = ~~start;
1152        end2 = end2 === void 0 ? len : ~~end2;
1153        if (start < 0) {
1154          start += len;
1155          if (start < 0) start = 0;
1156        } else if (start > len) {
1157          start = len;
1158        }
1159        if (end2 < 0) {
1160          end2 += len;
1161          if (end2 < 0) end2 = 0;
1162        } else if (end2 > len) {
1163          end2 = len;
1164        }
1165        if (end2 < start) end2 = start;
1166        const newBuf = this.subarray(start, end2);
1167        Object.setPrototypeOf(newBuf, Buffer3.prototype);
1168        return newBuf;
1169      };
1170      function checkOffset(offset2, ext, length2) {
1171        if (offset2 % 1 !== 0 || offset2 < 0) throw new RangeError("offset is not uint");
1172        if (offset2 + ext > length2) throw new RangeError("Trying to access beyond buffer length");
1173      }
1174      Buffer3.prototype.readUintLE = Buffer3.prototype.readUIntLE = function readUIntLE(offset2, byteLength2, noAssert) {
1175        offset2 = offset2 >>> 0;
1176        byteLength2 = byteLength2 >>> 0;
1177        if (!noAssert) checkOffset(offset2, byteLength2, this.length);
1178        let val = this[offset2];
1179        let mul = 1;
1180        let i2 = 0;
1181        while (++i2 < byteLength2 && (mul *= 256)) {
1182          val += this[offset2 + i2] * mul;
1183        }
1184        return val;
1185      };
1186      Buffer3.prototype.readUintBE = Buffer3.prototype.readUIntBE = function readUIntBE(offset2, byteLength2, noAssert) {
1187        offset2 = offset2 >>> 0;
1188        byteLength2 = byteLength2 >>> 0;
1189        if (!noAssert) {
1190          checkOffset(offset2, byteLength2, this.length);
1191        }
1192        let val = this[offset2 + --byteLength2];
1193        let mul = 1;
1194        while (byteLength2 > 0 && (mul *= 256)) {
1195          val += this[offset2 + --byteLength2] * mul;
1196        }
1197        return val;
1198      };
1199      Buffer3.prototype.readUint8 = Buffer3.prototype.readUInt8 = function readUInt8(offset2, noAssert) {
1200        offset2 = offset2 >>> 0;
1201        if (!noAssert) checkOffset(offset2, 1, this.length);
1202        return this[offset2];
1203      };
1204      Buffer3.prototype.readUint16LE = Buffer3.prototype.readUInt16LE = function readUInt16LE(offset2, noAssert) {
1205        offset2 = offset2 >>> 0;
1206        if (!noAssert) checkOffset(offset2, 2, this.length);
1207        return this[offset2] | this[offset2 + 1] << 8;
1208      };
1209      Buffer3.prototype.readUint16BE = Buffer3.prototype.readUInt16BE = function readUInt16BE(offset2, noAssert) {
1210        offset2 = offset2 >>> 0;
1211        if (!noAssert) checkOffset(offset2, 2, this.length);
1212        return this[offset2] << 8 | this[offset2 + 1];
1213      };
1214      Buffer3.prototype.readUint32LE = Buffer3.prototype.readUInt32LE = function readUInt32LE(offset2, noAssert) {
1215        offset2 = offset2 >>> 0;
1216        if (!noAssert) checkOffset(offset2, 4, this.length);
1217        return (this[offset2] | this[offset2 + 1] << 8 | this[offset2 + 2] << 16) + this[offset2 + 3] * 16777216;
1218      };
1219      Buffer3.prototype.readUint32BE = Buffer3.prototype.readUInt32BE = function readUInt32BE(offset2, noAssert) {
1220        offset2 = offset2 >>> 0;
1221        if (!noAssert) checkOffset(offset2, 4, this.length);
1222        return this[offset2] * 16777216 + (this[offset2 + 1] << 16 | this[offset2 + 2] << 8 | this[offset2 + 3]);
1223      };
1224      Buffer3.prototype.readBigUInt64LE = defineBigIntMethod(function readBigUInt64LE(offset2) {
1225        offset2 = offset2 >>> 0;
1226        validateNumber(offset2, "offset");
1227        const first = this[offset2];
1228        const last = this[offset2 + 7];
1229        if (first === void 0 || last === void 0) {
1230          boundsError(offset2, this.length - 8);
1231        }
1232        const lo = first + this[++offset2] * __pow(2, 8) + this[++offset2] * __pow(2, 16) + this[++offset2] * __pow(2, 24);
1233        const hi = this[++offset2] + this[++offset2] * __pow(2, 8) + this[++offset2] * __pow(2, 16) + last * __pow(2, 24);
1234        return BigInt(lo) + (BigInt(hi) << BigInt(32));
1235      });
1236      Buffer3.prototype.readBigUInt64BE = defineBigIntMethod(function readBigUInt64BE(offset2) {
1237        offset2 = offset2 >>> 0;
1238        validateNumber(offset2, "offset");
1239        const first = this[offset2];
1240        const last = this[offset2 + 7];
1241        if (first === void 0 || last === void 0) {
1242          boundsError(offset2, this.length - 8);
1243        }
1244        const hi = first * __pow(2, 24) + this[++offset2] * __pow(2, 16) + this[++offset2] * __pow(2, 8) + this[++offset2];
1245        const lo = this[++offset2] * __pow(2, 24) + this[++offset2] * __pow(2, 16) + this[++offset2] * __pow(2, 8) + last;
1246        return (BigInt(hi) << BigInt(32)) + BigInt(lo);
1247      });
1248      Buffer3.prototype.readIntLE = function readIntLE(offset2, byteLength2, noAssert) {
1249        offset2 = offset2 >>> 0;
1250        byteLength2 = byteLength2 >>> 0;
1251        if (!noAssert) checkOffset(offset2, byteLength2, this.length);
1252        let val = this[offset2];
1253        let mul = 1;
1254        let i2 = 0;
1255        while (++i2 < byteLength2 && (mul *= 256)) {
1256          val += this[offset2 + i2] * mul;
1257        }
1258        mul *= 128;
1259        if (val >= mul) val -= Math.pow(2, 8 * byteLength2);
1260        return val;
1261      };
1262      Buffer3.prototype.readIntBE = function readIntBE(offset2, byteLength2, noAssert) {
1263        offset2 = offset2 >>> 0;
1264        byteLength2 = byteLength2 >>> 0;
1265        if (!noAssert) checkOffset(offset2, byteLength2, this.length);
1266        let i2 = byteLength2;
1267        let mul = 1;
1268        let val = this[offset2 + --i2];
1269        while (i2 > 0 && (mul *= 256)) {
1270          val += this[offset2 + --i2] * mul;
1271        }
1272        mul *= 128;
1273        if (val >= mul) val -= Math.pow(2, 8 * byteLength2);
1274        return val;
1275      };
1276      Buffer3.prototype.readInt8 = function readInt8(offset2, noAssert) {
1277        offset2 = offset2 >>> 0;
1278        if (!noAssert) checkOffset(offset2, 1, this.length);
1279        if (!(this[offset2] & 128)) return this[offset2];
1280        return (255 - this[offset2] + 1) * -1;
1281      };
1282      Buffer3.prototype.readInt16LE = function readInt16LE(offset2, noAssert) {
1283        offset2 = offset2 >>> 0;
1284        if (!noAssert) checkOffset(offset2, 2, this.length);
1285        const val = this[offset2] | this[offset2 + 1] << 8;
1286        return val & 32768 ? val | 4294901760 : val;
1287      };
1288      Buffer3.prototype.readInt16BE = function readInt16BE(offset2, noAssert) {
1289        offset2 = offset2 >>> 0;
1290        if (!noAssert) checkOffset(offset2, 2, this.length);
1291        const val = this[offset2 + 1] | this[offset2] << 8;
1292        return val & 32768 ? val | 4294901760 : val;
1293      };
1294      Buffer3.prototype.readInt32LE = function readInt32LE(offset2, noAssert) {
1295        offset2 = offset2 >>> 0;
1296        if (!noAssert) checkOffset(offset2, 4, this.length);
1297        return this[offset2] | this[offset2 + 1] << 8 | this[offset2 + 2] << 16 | this[offset2 + 3] << 24;
1298      };
1299      Buffer3.prototype.readInt32BE = function readInt32BE(offset2, noAssert) {
1300        offset2 = offset2 >>> 0;
1301        if (!noAssert) checkOffset(offset2, 4, this.length);
1302        return this[offset2] << 24 | this[offset2 + 1] << 16 | this[offset2 + 2] << 8 | this[offset2 + 3];
1303      };
1304      Buffer3.prototype.readBigInt64LE = defineBigIntMethod(function readBigInt64LE(offset2) {
1305        offset2 = offset2 >>> 0;
1306        validateNumber(offset2, "offset");
1307        const first = this[offset2];
1308        const last = this[offset2 + 7];
1309        if (first === void 0 || last === void 0) {
1310          boundsError(offset2, this.length - 8);
1311        }
1312        const val = this[offset2 + 4] + this[offset2 + 5] * __pow(2, 8) + this[offset2 + 6] * __pow(2, 16) + (last << 24);
1313        return (BigInt(val) << BigInt(32)) + BigInt(first + this[++offset2] * __pow(2, 8) + this[++offset2] * __pow(2, 16) + this[++offset2] * __pow(2, 24));
1314      });
1315      Buffer3.prototype.readBigInt64BE = defineBigIntMethod(function readBigInt64BE(offset2) {
1316        offset2 = offset2 >>> 0;
1317        validateNumber(offset2, "offset");
1318        const first = this[offset2];
1319        const last = this[offset2 + 7];
1320        if (first === void 0 || last === void 0) {
1321          boundsError(offset2, this.length - 8);
1322        }
1323        const val = (first << 24) + // Overflow
1324        this[++offset2] * __pow(2, 16) + this[++offset2] * __pow(2, 8) + this[++offset2];
1325        return (BigInt(val) << BigInt(32)) + BigInt(this[++offset2] * __pow(2, 24) + this[++offset2] * __pow(2, 16) + this[++offset2] * __pow(2, 8) + last);
1326      });
1327      Buffer3.prototype.readFloatLE = function readFloatLE(offset2, noAssert) {
1328        offset2 = offset2 >>> 0;
1329        if (!noAssert) checkOffset(offset2, 4, this.length);
1330        return ieee754.read(this, offset2, true, 23, 4);
1331      };
1332      Buffer3.prototype.readFloatBE = function readFloatBE(offset2, noAssert) {
1333        offset2 = offset2 >>> 0;
1334        if (!noAssert) checkOffset(offset2, 4, this.length);
1335        return ieee754.read(this, offset2, false, 23, 4);
1336      };
1337      Buffer3.prototype.readDoubleLE = function readDoubleLE(offset2, noAssert) {
1338        offset2 = offset2 >>> 0;
1339        if (!noAssert) checkOffset(offset2, 8, this.length);
1340        return ieee754.read(this, offset2, true, 52, 8);
1341      };
1342      Buffer3.prototype.readDoubleBE = function readDoubleBE(offset2, noAssert) {
1343        offset2 = offset2 >>> 0;
1344        if (!noAssert) checkOffset(offset2, 8, this.length);
1345        return ieee754.read(this, offset2, false, 52, 8);
1346      };
1347      function checkInt(buf, value, offset2, ext, max2, min2) {
1348        if (!Buffer3.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance');
1349        if (value > max2 || value < min2) throw new RangeError('"value" argument is out of bounds');
1350        if (offset2 + ext > buf.length) throw new RangeError("Index out of range");
1351      }
1352      Buffer3.prototype.writeUintLE = Buffer3.prototype.writeUIntLE = function writeUIntLE(value, offset2, byteLength2, noAssert) {
1353        value = +value;
1354        offset2 = offset2 >>> 0;
1355        byteLength2 = byteLength2 >>> 0;
1356        if (!noAssert) {
1357          const maxBytes = Math.pow(2, 8 * byteLength2) - 1;
1358          checkInt(this, value, offset2, byteLength2, maxBytes, 0);
1359        }
1360        let mul = 1;
1361        let i2 = 0;
1362        this[offset2] = value & 255;
1363        while (++i2 < byteLength2 && (mul *= 256)) {
1364          this[offset2 + i2] = value / mul & 255;
1365        }
1366        return offset2 + byteLength2;
1367      };
1368      Buffer3.prototype.writeUintBE = Buffer3.prototype.writeUIntBE = function writeUIntBE(value, offset2, byteLength2, noAssert) {
1369        value = +value;
1370        offset2 = offset2 >>> 0;
1371        byteLength2 = byteLength2 >>> 0;
1372        if (!noAssert) {
1373          const maxBytes = Math.pow(2, 8 * byteLength2) - 1;
1374          checkInt(this, value, offset2, byteLength2, maxBytes, 0);
1375        }
1376        let i2 = byteLength2 - 1;
1377        let mul = 1;
1378        this[offset2 + i2] = value & 255;
1379        while (--i2 >= 0 && (mul *= 256)) {
1380          this[offset2 + i2] = value / mul & 255;
1381        }
1382        return offset2 + byteLength2;
1383      };
1384      Buffer3.prototype.writeUint8 = Buffer3.prototype.writeUInt8 = function writeUInt8(value, offset2, noAssert) {
1385        value = +value;
1386        offset2 = offset2 >>> 0;
1387        if (!noAssert) checkInt(this, value, offset2, 1, 255, 0);
1388        this[offset2] = value & 255;
1389        return offset2 + 1;
1390      };
1391      Buffer3.prototype.writeUint16LE = Buffer3.prototype.writeUInt16LE = function writeUInt16LE(value, offset2, noAssert) {
1392        value = +value;
1393        offset2 = offset2 >>> 0;
1394        if (!noAssert) checkInt(this, value, offset2, 2, 65535, 0);
1395        this[offset2] = value & 255;
1396        this[offset2 + 1] = value >>> 8;
1397        return offset2 + 2;
1398      };
1399      Buffer3.prototype.writeUint16BE = Buffer3.prototype.writeUInt16BE = function writeUInt16BE(value, offset2, noAssert) {
1400        value = +value;
1401        offset2 = offset2 >>> 0;
1402        if (!noAssert) checkInt(this, value, offset2, 2, 65535, 0);
1403        this[offset2] = value >>> 8;
1404        this[offset2 + 1] = value & 255;
1405        return offset2 + 2;
1406      };
1407      Buffer3.prototype.writeUint32LE = Buffer3.prototype.writeUInt32LE = function writeUInt32LE(value, offset2, noAssert) {
1408        value = +value;
1409        offset2 = offset2 >>> 0;
1410        if (!noAssert) checkInt(this, value, offset2, 4, 4294967295, 0);
1411        this[offset2 + 3] = value >>> 24;
1412        this[offset2 + 2] = value >>> 16;
1413        this[offset2 + 1] = value >>> 8;
1414        this[offset2] = value & 255;
1415        return offset2 + 4;
1416      };
1417      Buffer3.prototype.writeUint32BE = Buffer3.prototype.writeUInt32BE = function writeUInt32BE(value, offset2, noAssert) {
1418        value = +value;
1419        offset2 = offset2 >>> 0;
1420        if (!noAssert) checkInt(this, value, offset2, 4, 4294967295, 0);
1421        this[offset2] = value >>> 24;
1422        this[offset2 + 1] = value >>> 16;
1423        this[offset2 + 2] = value >>> 8;
1424        this[offset2 + 3] = value & 255;
1425        return offset2 + 4;
1426      };
1427      function wrtBigUInt64LE(buf, value, offset2, min2, max2) {
1428        checkIntBI(value, min2, max2, buf, offset2, 7);
1429        let lo = Number(value & BigInt(4294967295));
1430        buf[offset2++] = lo;
1431        lo = lo >> 8;
1432        buf[offset2++] = lo;
1433        lo = lo >> 8;
1434        buf[offset2++] = lo;
1435        lo = lo >> 8;
1436        buf[offset2++] = lo;
1437        let hi = Number(value >> BigInt(32) & BigInt(4294967295));
1438        buf[offset2++] = hi;
1439        hi = hi >> 8;
1440        buf[offset2++] = hi;
1441        hi = hi >> 8;
1442        buf[offset2++] = hi;
1443        hi = hi >> 8;
1444        buf[offset2++] = hi;
1445        return offset2;
1446      }
1447      function wrtBigUInt64BE(buf, value, offset2, min2, max2) {
1448        checkIntBI(value, min2, max2, buf, offset2, 7);
1449        let lo = Number(value & BigInt(4294967295));
1450        buf[offset2 + 7] = lo;
1451        lo = lo >> 8;
1452        buf[offset2 + 6] = lo;
1453        lo = lo >> 8;
1454        buf[offset2 + 5] = lo;
1455        lo = lo >> 8;
1456        buf[offset2 + 4] = lo;
1457        let hi = Number(value >> BigInt(32) & BigInt(4294967295));
1458        buf[offset2 + 3] = hi;
1459        hi = hi >> 8;
1460        buf[offset2 + 2] = hi;
1461        hi = hi >> 8;
1462        buf[offset2 + 1] = hi;
1463        hi = hi >> 8;
1464        buf[offset2] = hi;
1465        return offset2 + 8;
1466      }
1467      Buffer3.prototype.writeBigUInt64LE = defineBigIntMethod(function writeBigUInt64LE(value, offset2 = 0) {
1468        return wrtBigUInt64LE(this, value, offset2, BigInt(0), BigInt("0xffffffffffffffff"));
1469      });
1470      Buffer3.prototype.writeBigUInt64BE = defineBigIntMethod(function writeBigUInt64BE(value, offset2 = 0) {
1471        return wrtBigUInt64BE(this, value, offset2, BigInt(0), BigInt("0xffffffffffffffff"));
1472      });
1473      Buffer3.prototype.writeIntLE = function writeIntLE(value, offset2, byteLength2, noAssert) {
1474        value = +value;
1475        offset2 = offset2 >>> 0;
1476        if (!noAssert) {
1477          const limit = Math.pow(2, 8 * byteLength2 - 1);
1478          checkInt(this, value, offset2, byteLength2, limit - 1, -limit);
1479        }
1480        let i2 = 0;
1481        let mul = 1;
1482        let sub = 0;
1483        this[offset2] = value & 255;
1484        while (++i2 < byteLength2 && (mul *= 256)) {
1485          if (value < 0 && sub === 0 && this[offset2 + i2 - 1] !== 0) {
1486            sub = 1;
1487          }
1488          this[offset2 + i2] = (value / mul >> 0) - sub & 255;
1489        }
1490        return offset2 + byteLength2;
1491      };
1492      Buffer3.prototype.writeIntBE = function writeIntBE(value, offset2, byteLength2, noAssert) {
1493        value = +value;
1494        offset2 = offset2 >>> 0;
1495        if (!noAssert) {
1496          const limit = Math.pow(2, 8 * byteLength2 - 1);
1497          checkInt(this, value, offset2, byteLength2, limit - 1, -limit);
1498        }
1499        let i2 = byteLength2 - 1;
1500        let mul = 1;
1501        let sub = 0;
1502        this[offset2 + i2] = value & 255;
1503        while (--i2 >= 0 && (mul *= 256)) {
1504          if (value < 0 && sub === 0 && this[offset2 + i2 + 1] !== 0) {
1505            sub = 1;
1506          }
1507          this[offset2 + i2] = (value / mul >> 0) - sub & 255;
1508        }
1509        return offset2 + byteLength2;
1510      };
1511      Buffer3.prototype.writeInt8 = function writeInt8(value, offset2, noAssert) {
1512        value = +value;
1513        offset2 = offset2 >>> 0;
1514        if (!noAssert) checkInt(this, value, offset2, 1, 127, -128);
1515        if (value < 0) value = 255 + value + 1;
1516        this[offset2] = value & 255;
1517        return offset2 + 1;
1518      };
1519      Buffer3.prototype.writeInt16LE = function writeInt16LE(value, offset2, noAssert) {
1520        value = +value;
1521        offset2 = offset2 >>> 0;
1522        if (!noAssert) checkInt(this, value, offset2, 2, 32767, -32768);
1523        this[offset2] = value & 255;
1524        this[offset2 + 1] = value >>> 8;
1525        return offset2 + 2;
1526      };
1527      Buffer3.prototype.writeInt16BE = function writeInt16BE(value, offset2, noAssert) {
1528        value = +value;
1529        offset2 = offset2 >>> 0;
1530        if (!noAssert) checkInt(this, value, offset2, 2, 32767, -32768);
1531        this[offset2] = value >>> 8;
1532        this[offset2 + 1] = value & 255;
1533        return offset2 + 2;
1534      };
1535      Buffer3.prototype.writeInt32LE = function writeInt32LE(value, offset2, noAssert) {
1536        value = +value;
1537        offset2 = offset2 >>> 0;
1538        if (!noAssert) checkInt(this, value, offset2, 4, 2147483647, -2147483648);
1539        this[offset2] = value & 255;
1540        this[offset2 + 1] = value >>> 8;
1541        this[offset2 + 2] = value >>> 16;
1542        this[offset2 + 3] = value >>> 24;
1543        return offset2 + 4;
1544      };
1545      Buffer3.prototype.writeInt32BE = function writeInt32BE(value, offset2, noAssert) {
1546        value = +value;
1547        offset2 = offset2 >>> 0;
1548        if (!noAssert) checkInt(this, value, offset2, 4, 2147483647, -2147483648);
1549        if (value < 0) value = 4294967295 + value + 1;
1550        this[offset2] = value >>> 24;
1551        this[offset2 + 1] = value >>> 16;
1552        this[offset2 + 2] = value >>> 8;
1553        this[offset2 + 3] = value & 255;
1554        return offset2 + 4;
1555      };
1556      Buffer3.prototype.writeBigInt64LE = defineBigIntMethod(function writeBigInt64LE(value, offset2 = 0) {
1557        return wrtBigUInt64LE(this, value, offset2, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
1558      });
1559      Buffer3.prototype.writeBigInt64BE = defineBigIntMethod(function writeBigInt64BE(value, offset2 = 0) {
1560        return wrtBigUInt64BE(this, value, offset2, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
1561      });
1562      function checkIEEE754(buf, value, offset2, ext, max2, min2) {
1563        if (offset2 + ext > buf.length) throw new RangeError("Index out of range");
1564        if (offset2 < 0) throw new RangeError("Index out of range");
1565      }
1566      function writeFloat(buf, value, offset2, littleEndian, noAssert) {
1567        value = +value;
1568        offset2 = offset2 >>> 0;
1569        if (!noAssert) {
1570          checkIEEE754(buf, value, offset2, 4, 34028234663852886e22, -34028234663852886e22);
1571        }
1572        ieee754.write(buf, value, offset2, littleEndian, 23, 4);
1573        return offset2 + 4;
1574      }
1575      Buffer3.prototype.writeFloatLE = function writeFloatLE(value, offset2, noAssert) {
1576        return writeFloat(this, value, offset2, true, noAssert);
1577      };
1578      Buffer3.prototype.writeFloatBE = function writeFloatBE(value, offset2, noAssert) {
1579        return writeFloat(this, value, offset2, false, noAssert);
1580      };
1581      function writeDouble(buf, value, offset2, littleEndian, noAssert) {
1582        value = +value;
1583        offset2 = offset2 >>> 0;
1584        if (!noAssert) {
1585          checkIEEE754(buf, value, offset2, 8, 17976931348623157e292, -17976931348623157e292);
1586        }
1587        ieee754.write(buf, value, offset2, littleEndian, 52, 8);
1588        return offset2 + 8;
1589      }
1590      Buffer3.prototype.writeDoubleLE = function writeDoubleLE(value, offset2, noAssert) {
1591        return writeDouble(this, value, offset2, true, noAssert);
1592      };
1593      Buffer3.prototype.writeDoubleBE = function writeDoubleBE(value, offset2, noAssert) {
1594        return writeDouble(this, value, offset2, false, noAssert);
1595      };
1596      Buffer3.prototype.copy = function copy2(target, targetStart, start, end2) {
1597        if (!Buffer3.isBuffer(target)) throw new TypeError("argument should be a Buffer");
1598        if (!start) start = 0;
1599        if (!end2 && end2 !== 0) end2 = this.length;
1600        if (targetStart >= target.length) targetStart = target.length;
1601        if (!targetStart) targetStart = 0;
1602        if (end2 > 0 && end2 < start) end2 = start;
1603        if (end2 === start) return 0;
1604        if (target.length === 0 || this.length === 0) return 0;
1605        if (targetStart < 0) {
1606          throw new RangeError("targetStart out of bounds");
1607        }
1608        if (start < 0 || start >= this.length) throw new RangeError("Index out of range");
1609        if (end2 < 0) throw new RangeError("sourceEnd out of bounds");
1610        if (end2 > this.length) end2 = this.length;
1611        if (target.length - targetStart < end2 - start) {
1612          end2 = target.length - targetStart + start;
1613        }
1614        const len = end2 - start;
1615        if (this === target && typeof Uint8Array.prototype.copyWithin === "function") {
1616          this.copyWithin(targetStart, start, end2);
1617        } else {
1618          Uint8Array.prototype.set.call(
1619            target,
1620            this.subarray(start, end2),
1621            targetStart
1622          );
1623        }
1624        return len;
1625      };
1626      Buffer3.prototype.fill = function fill2(val, start, end2, encoding) {
1627        if (typeof val === "string") {
1628          if (typeof start === "string") {
1629            encoding = start;
1630            start = 0;
1631            end2 = this.length;
1632          } else if (typeof end2 === "string") {
1633            encoding = end2;
1634            end2 = this.length;
1635          }
1636          if (encoding !== void 0 && typeof encoding !== "string") {
1637            throw new TypeError("encoding must be a string");
1638          }
1639          if (typeof encoding === "string" && !Buffer3.isEncoding(encoding)) {
1640            throw new TypeError("Unknown encoding: " + encoding);
1641          }
1642          if (val.length === 1) {
1643            const code = val.charCodeAt(0);
1644            if (encoding === "utf8" && code < 128 || encoding === "latin1") {
1645              val = code;
1646            }
1647          }
1648        } else if (typeof val === "number") {
1649          val = val & 255;
1650        } else if (typeof val === "boolean") {
1651          val = Number(val);
1652        }
1653        if (start < 0 || this.length < start || this.length < end2) {
1654          throw new RangeError("Out of range index");
1655        }
1656        if (end2 <= start) {
1657          return this;
1658        }
1659        start = start >>> 0;
1660        end2 = end2 === void 0 ? this.length : end2 >>> 0;
1661        if (!val) val = 0;
1662        let i2;
1663        if (typeof val === "number") {
1664          for (i2 = start; i2 < end2; ++i2) {
1665            this[i2] = val;
1666          }
1667        } else {
1668          const bytes = Buffer3.isBuffer(val) ? val : Buffer3.from(val, encoding);
1669          const len = bytes.length;
1670          if (len === 0) {
1671            throw new TypeError('The value "' + val + '" is invalid for argument "value"');
1672          }
1673          for (i2 = 0; i2 < end2 - start; ++i2) {
1674            this[i2 + start] = bytes[i2 % len];
1675          }
1676        }
1677        return this;
1678      };
1679      var errors = {};
1680      function E(sym, getMessage, Base) {
1681        errors[sym] = class NodeError extends Base {
1682          constructor() {
1683            super();
1684            Object.defineProperty(this, "message", {
1685              value: getMessage.apply(this, arguments),
1686              writable: true,
1687              configurable: true
1688            });
1689            this.name = `${this.name} [${sym}]`;
1690            this.stack;
1691            delete this.name;
1692          }
1693          get code() {
1694            return sym;
1695          }
1696          set code(value) {
1697            Object.defineProperty(this, "code", {
1698              configurable: true,
1699              enumerable: true,
1700              value,
1701              writable: true
1702            });
1703          }
1704          toString() {
1705            return `${this.name} [${sym}]: ${this.message}`;
1706          }
1707        };
1708      }
1709      E(
1710        "ERR_BUFFER_OUT_OF_BOUNDS",
1711        function(name2) {
1712          if (name2) {
1713            return `${name2} is outside of buffer bounds`;
1714          }
1715          return "Attempt to access memory outside buffer bounds";
1716        },
1717        RangeError
1718      );
1719      E(
1720        "ERR_INVALID_ARG_TYPE",
1721        function(name2, actual) {
1722          return `The "${name2}" argument must be of type number. Received type ${typeof actual}`;
1723        },
1724        TypeError
1725      );
1726      E(
1727        "ERR_OUT_OF_RANGE",
1728        function(str, range, input) {
1729          let msg = `The value of "${str}" is out of range.`;
1730          let received = input;
1731          if (Number.isInteger(input) && Math.abs(input) > __pow(2, 32)) {
1732            received = addNumericalSeparator(String(input));
1733          } else if (typeof input === "bigint") {
1734            received = String(input);
1735            if (input > __pow(BigInt(2), BigInt(32)) || input < -__pow(BigInt(2), BigInt(32))) {
1736              received = addNumericalSeparator(received);
1737            }
1738            received += "n";
1739          }
1740          msg += ` It must be ${range}. Received ${received}`;
1741          return msg;
1742        },
1743        RangeError
1744      );
1745      function addNumericalSeparator(val) {
1746        let res = "";
1747        let i2 = val.length;
1748        const start = val[0] === "-" ? 1 : 0;
1749        for (; i2 >= start + 4; i2 -= 3) {
1750          res = `_${val.slice(i2 - 3, i2)}${res}`;
1751        }
1752        return `${val.slice(0, i2)}${res}`;
1753      }
1754      function checkBounds(buf, offset2, byteLength2) {
1755        validateNumber(offset2, "offset");
1756        if (buf[offset2] === void 0 || buf[offset2 + byteLength2] === void 0) {
1757          boundsError(offset2, buf.length - (byteLength2 + 1));
1758        }
1759      }
1760      function checkIntBI(value, min2, max2, buf, offset2, byteLength2) {
1761        if (value > max2 || value < min2) {
1762          const n = typeof min2 === "bigint" ? "n" : "";
1763          let range;
1764          if (byteLength2 > 3) {
1765            if (min2 === 0 || min2 === BigInt(0)) {
1766              range = `>= 0${n} and < 2${n} ** ${(byteLength2 + 1) * 8}${n}`;
1767            } else {
1768              range = `>= -(2${n} ** ${(byteLength2 + 1) * 8 - 1}${n}) and < 2 ** ${(byteLength2 + 1) * 8 - 1}${n}`;
1769            }
1770          } else {
1771            range = `>= ${min2}${n} and <= ${max2}${n}`;
1772          }
1773          throw new errors.ERR_OUT_OF_RANGE("value", range, value);
1774        }
1775        checkBounds(buf, offset2, byteLength2);
1776      }
1777      function validateNumber(value, name2) {
1778        if (typeof value !== "number") {
1779          throw new errors.ERR_INVALID_ARG_TYPE(name2, "number", value);
1780        }
1781      }
1782      function boundsError(value, length2, type) {
1783        if (Math.floor(value) !== value) {
1784          validateNumber(value, type);
1785          throw new errors.ERR_OUT_OF_RANGE(type || "offset", "an integer", value);
1786        }
1787        if (length2 < 0) {
1788          throw new errors.ERR_BUFFER_OUT_OF_BOUNDS();
1789        }
1790        throw new errors.ERR_OUT_OF_RANGE(
1791          type || "offset",
1792          `>= ${type ? 1 : 0} and <= ${length2}`,
1793          value
1794        );
1795      }
1796      var INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g;
1797      function base64clean(str) {
1798        str = str.split("=")[0];
1799        str = str.trim().replace(INVALID_BASE64_RE, "");
1800        if (str.length < 2) return "";
1801        while (str.length % 4 !== 0) {
1802          str = str + "=";
1803        }
1804        return str;
1805      }
1806      function utf8ToBytes(string, units) {
1807        units = units || Infinity;
1808        let codePoint;
1809        const length2 = string.length;
1810        let leadSurrogate = null;
1811        const bytes = [];
1812        for (let i2 = 0; i2 < length2; ++i2) {
1813          codePoint = string.charCodeAt(i2);
1814          if (codePoint > 55295 && codePoint < 57344) {
1815            if (!leadSurrogate) {
1816              if (codePoint > 56319) {
1817                if ((units -= 3) > -1) bytes.push(239, 191, 189);
1818                continue;
1819              } else if (i2 + 1 === length2) {
1820                if ((units -= 3) > -1) bytes.push(239, 191, 189);
1821                continue;
1822              }
1823              leadSurrogate = codePoint;
1824              continue;
1825            }
1826            if (codePoint < 56320) {
1827              if ((units -= 3) > -1) bytes.push(239, 191, 189);
1828              leadSurrogate = codePoint;
1829              continue;
1830            }
1831            codePoint = (leadSurrogate - 55296 << 10 | codePoint - 56320) + 65536;
1832          } else if (leadSurrogate) {
1833            if ((units -= 3) > -1) bytes.push(239, 191, 189);
1834          }
1835          leadSurrogate = null;
1836          if (codePoint < 128) {
1837            if ((units -= 1) < 0) break;
1838            bytes.push(codePoint);
1839          } else if (codePoint < 2048) {
1840            if ((units -= 2) < 0) break;
1841            bytes.push(
1842              codePoint >> 6 | 192,
1843              codePoint & 63 | 128
1844            );
1845          } else if (codePoint < 65536) {
1846            if ((units -= 3) < 0) break;
1847            bytes.push(
1848              codePoint >> 12 | 224,
1849              codePoint >> 6 & 63 | 128,
1850              codePoint & 63 | 128
1851            );
1852          } else if (codePoint < 1114112) {
1853            if ((units -= 4) < 0) break;
1854            bytes.push(
1855              codePoint >> 18 | 240,
1856              codePoint >> 12 & 63 | 128,
1857              codePoint >> 6 & 63 | 128,
1858              codePoint & 63 | 128
1859            );
1860          } else {
1861            throw new Error("Invalid code point");
1862          }
1863        }
1864        return bytes;
1865      }
1866      function asciiToBytes(str) {
1867        const byteArray = [];
1868        for (let i2 = 0; i2 < str.length; ++i2) {
1869          byteArray.push(str.charCodeAt(i2) & 255);
1870        }
1871        return byteArray;
1872      }
1873      function utf16leToBytes(str, units) {
1874        let c, hi, lo;
1875        const byteArray = [];
1876        for (let i2 = 0; i2 < str.length; ++i2) {
1877          if ((units -= 2) < 0) break;
1878          c = str.charCodeAt(i2);
1879          hi = c >> 8;
1880          lo = c % 256;
1881          byteArray.push(lo);
1882          byteArray.push(hi);
1883        }
1884        return byteArray;
1885      }
1886      function base64ToBytes(str) {
1887        return base64.toByteArray(base64clean(str));
1888      }
1889      function blitBuffer(src, dst, offset2, length2) {
1890        let i2;
1891        for (i2 = 0; i2 < length2; ++i2) {
1892          if (i2 + offset2 >= dst.length || i2 >= src.length) break;
1893          dst[i2 + offset2] = src[i2];
1894        }
1895        return i2;
1896      }
1897      function isInstance(obj, type) {
1898        return obj instanceof type || obj != null && obj.constructor != null && obj.constructor.name != null && obj.constructor.name === type.name;
1899      }
1900      function numberIsNaN(obj) {
1901        return obj !== obj;
1902      }
1903      var hexSliceLookupTable = (function() {
1904        const alphabet = "0123456789abcdef";
1905        const table = new Array(256);
1906        for (let i2 = 0; i2 < 16; ++i2) {
1907          const i16 = i2 * 16;
1908          for (let j2 = 0; j2 < 16; ++j2) {
1909            table[i16 + j2] = alphabet[i2] + alphabet[j2];
1910          }
1911        }
1912        return table;
1913      })();
1914      function defineBigIntMethod(fn) {
1915        return typeof BigInt === "undefined" ? BufferBigIntNotDefined : fn;
1916      }
1917      function BufferBigIntNotDefined() {
1918        throw new Error("BigInt not supported");
1919      }
1920    }
1921  });
1922
1923  // esbuild.shims.js
1924  var import_buffer;
1925  var init_esbuild_shims = __esm({
1926    "esbuild.shims.js"() {
1927      "use strict";
1928      import_buffer = __toESM(require_buffer());
1929      window.Buffer = import_buffer.Buffer;
1930    }
1931  });
1932
1933  
vendor: 81,366 bytes, lines 1933-3808
1933// node_modules/react/cjs/react.development.js
1934  var require_react_development = __commonJS({
1935    "node_modules/react/cjs/react.development.js"(exports, module) {
1936      "use strict";
1937      init_esbuild_shims();
1938      if (true) {
1939        (function() {
1940          "use strict";
1941          if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
1942            __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
1943          }
1944          var ReactVersion = "18.3.1";
1945          var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.element");
1946          var REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal");
1947          var REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
1948          var REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode");
1949          var REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler");
1950          var REACT_PROVIDER_TYPE = /* @__PURE__ */ Symbol.for("react.provider");
1951          var REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context");
1952          var REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref");
1953          var REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense");
1954          var REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list");
1955          var REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo");
1956          var REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy");
1957          var REACT_OFFSCREEN_TYPE = /* @__PURE__ */ Symbol.for("react.offscreen");
1958          var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
1959          var FAUX_ITERATOR_SYMBOL = "@@iterator";
1960          function getIteratorFn(maybeIterable) {
1961            if (maybeIterable === null || typeof maybeIterable !== "object") {
1962              return null;
1963            }
1964            var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
1965            if (typeof maybeIterator === "function") {
1966              return maybeIterator;
1967            }
1968            return null;
1969          }
1970          var ReactCurrentDispatcher = {
1971            /**
1972             * @internal
1973             * @type {ReactComponent}
1974             */
1975            current: null
1976          };
1977          var ReactCurrentBatchConfig = {
1978            transition: null
1979          };
1980          var ReactCurrentActQueue = {
1981            current: null,
1982            // Used to reproduce behavior of `batchedUpdates` in legacy mode.
1983            isBatchingLegacy: false,
1984            didScheduleLegacyUpdate: false
1985          };
1986          var ReactCurrentOwner = {
1987            /**
1988             * @internal
1989             * @type {ReactComponent}
1990             */
1991            current: null
1992          };
1993          var ReactDebugCurrentFrame = {};
1994          var currentExtraStackFrame = null;
1995          function setExtraStackFrame(stack) {
1996            {
1997              currentExtraStackFrame = stack;
1998            }
1999          }
2000          {
2001            ReactDebugCurrentFrame.setExtraStackFrame = function(stack) {
2002              {
2003                currentExtraStackFrame = stack;
2004              }
2005            };
2006            ReactDebugCurrentFrame.getCurrentStack = null;
2007            ReactDebugCurrentFrame.getStackAddendum = function() {
2008              var stack = "";
2009              if (currentExtraStackFrame) {
2010                stack += currentExtraStackFrame;
2011              }
2012              var impl = ReactDebugCurrentFrame.getCurrentStack;
2013              if (impl) {
2014                stack += impl() || "";
2015              }
2016              return stack;
2017            };
2018          }
2019          var enableScopeAPI = false;
2020          var enableCacheElement = false;
2021          var enableTransitionTracing = false;
2022          var enableLegacyHidden = false;
2023          var enableDebugTracing = false;
2024          var ReactSharedInternals = {
2025            ReactCurrentDispatcher,
2026            ReactCurrentBatchConfig,
2027            ReactCurrentOwner
2028          };
2029          {
2030            ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
2031            ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
2032          }
2033          function warn(format) {
2034            {
2035              {
2036                for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
2037                  args[_key - 1] = arguments[_key];
2038                }
2039                printWarning("warn", format, args);
2040              }
2041            }
2042          }
2043          function error(format) {
2044            {
2045              {
2046                for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
2047                  args[_key2 - 1] = arguments[_key2];
2048                }
2049                printWarning("error", format, args);
2050              }
2051            }
2052          }
2053          function printWarning(level, format, args) {
2054            {
2055              var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
2056              var stack = ReactDebugCurrentFrame2.getStackAddendum();
2057              if (stack !== "") {
2058                format += "%s";
2059                args = args.concat([stack]);
2060              }
2061              var argsWithFormat = args.map(function(item) {
2062                return String(item);
2063              });
2064              argsWithFormat.unshift("Warning: " + format);
2065              Function.prototype.apply.call(console[level], console, argsWithFormat);
2066            }
2067          }
2068          var didWarnStateUpdateForUnmountedComponent = {};
2069          function warnNoop(publicInstance, callerName) {
2070            {
2071              var _constructor = publicInstance.constructor;
2072              var componentName = _constructor && (_constructor.displayName || _constructor.name) || "ReactClass";
2073              var warningKey = componentName + "." + callerName;
2074              if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
2075                return;
2076              }
2077              error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", callerName, componentName);
2078              didWarnStateUpdateForUnmountedComponent[warningKey] = true;
2079            }
2080          }
2081          var ReactNoopUpdateQueue = {
2082            /**
2083             * Checks whether or not this composite component is mounted.
2084             * @param {ReactClass} publicInstance The instance we want to test.
2085             * @return {boolean} True if mounted, false otherwise.
2086             * @protected
2087             * @final
2088             */
2089            isMounted: function(publicInstance) {
2090              return false;
2091            },
2092            /**
2093             * Forces an update. This should only be invoked when it is known with
2094             * certainty that we are **not** in a DOM transaction.
2095             *
2096             * You may want to call this when you know that some deeper aspect of the
2097             * component's state has changed but `setState` was not called.
2098             *
2099             * This will not invoke `shouldComponentUpdate`, but it will invoke
2100             * `componentWillUpdate` and `componentDidUpdate`.
2101             *
2102             * @param {ReactClass} publicInstance The instance that should rerender.
2103             * @param {?function} callback Called after component is updated.
2104             * @param {?string} callerName name of the calling function in the public API.
2105             * @internal
2106             */
2107            enqueueForceUpdate: function(publicInstance, callback, callerName) {
2108              warnNoop(publicInstance, "forceUpdate");
2109            },
2110            /**
2111             * Replaces all of the state. Always use this or `setState` to mutate state.
2112             * You should treat `this.state` as immutable.
2113             *
2114             * There is no guarantee that `this.state` will be immediately updated, so
2115             * accessing `this.state` after calling this method may return the old value.
2116             *
2117             * @param {ReactClass} publicInstance The instance that should rerender.
2118             * @param {object} completeState Next state.
2119             * @param {?function} callback Called after component is updated.
2120             * @param {?string} callerName name of the calling function in the public API.
2121             * @internal
2122             */
2123            enqueueReplaceState: function(publicInstance, completeState, callback, callerName) {
2124              warnNoop(publicInstance, "replaceState");
2125            },
2126            /**
2127             * Sets a subset of the state. This only exists because _pendingState is
2128             * internal. This provides a merging strategy that is not available to deep
2129             * properties which is confusing. TODO: Expose pendingState or don't use it
2130             * during the merge.
2131             *
2132             * @param {ReactClass} publicInstance The instance that should rerender.
2133             * @param {object} partialState Next partial state to be merged with state.
2134             * @param {?function} callback Called after component is updated.
2135             * @param {?string} Name of the calling function in the public API.
2136             * @internal
2137             */
2138            enqueueSetState: function(publicInstance, partialState, callback, callerName) {
2139              warnNoop(publicInstance, "setState");
2140            }
2141          };
2142          var assign3 = Object.assign;
2143          var emptyObject = {};
2144          {
2145            Object.freeze(emptyObject);
2146          }
2147          function Component2(props, context, updater) {
2148            this.props = props;
2149            this.context = context;
2150            this.refs = emptyObject;
2151            this.updater = updater || ReactNoopUpdateQueue;
2152          }
2153          Component2.prototype.isReactComponent = {};
2154          Component2.prototype.setState = function(partialState, callback) {
2155            if (typeof partialState !== "object" && typeof partialState !== "function" && partialState != null) {
2156              throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
2157            }
2158            this.updater.enqueueSetState(this, partialState, callback, "setState");
2159          };
2160          Component2.prototype.forceUpdate = function(callback) {
2161            this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
2162          };
2163          {
2164            var deprecatedAPIs = {
2165              isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
2166              replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
2167            };
2168            var defineDeprecationWarning = function(methodName, info) {
2169              Object.defineProperty(Component2.prototype, methodName, {
2170                get: function() {
2171                  warn("%s(...) is deprecated in plain JavaScript React classes. %s", info[0], info[1]);
2172                  return void 0;
2173                }
2174              });
2175            };
2176            for (var fnName in deprecatedAPIs) {
2177              if (deprecatedAPIs.hasOwnProperty(fnName)) {
2178                defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
2179              }
2180            }
2181          }
2182          function ComponentDummy() {
2183          }
2184          ComponentDummy.prototype = Component2.prototype;
2185          function PureComponent(props, context, updater) {
2186            this.props = props;
2187            this.context = context;
2188            this.refs = emptyObject;
2189            this.updater = updater || ReactNoopUpdateQueue;
2190          }
2191          var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
2192          pureComponentPrototype.constructor = PureComponent;
2193          assign3(pureComponentPrototype, Component2.prototype);
2194          pureComponentPrototype.isPureReactComponent = true;
2195          function createRef() {
2196            var refObject = {
2197              current: null
2198            };
2199            {
2200              Object.seal(refObject);
2201            }
2202            return refObject;
2203          }
2204          var isArrayImpl = Array.isArray;
2205          function isArray3(a) {
2206            return isArrayImpl(a);
2207          }
2208          function typeName(value) {
2209            {
2210              var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
2211              var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
2212              return type;
2213            }
2214          }
2215          function willCoercionThrow(value) {
2216            {
2217              try {
2218                testStringCoercion(value);
2219                return false;
2220              } catch (e) {
2221                return true;
2222              }
2223            }
2224          }
2225          function testStringCoercion(value) {
2226            return "" + value;
2227          }
2228          function checkKeyStringCoercion(value) {
2229            {
2230              if (willCoercionThrow(value)) {
2231                error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
2232                return testStringCoercion(value);
2233              }
2234            }
2235          }
2236          function getWrappedName(outerType, innerType, wrapperName) {
2237            var displayName = outerType.displayName;
2238            if (displayName) {
2239              return displayName;
2240            }
2241            var functionName = innerType.displayName || innerType.name || "";
2242            return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
2243          }
2244          function getContextName(type) {
2245            return type.displayName || "Context";
2246          }
2247          function getComponentNameFromType(type) {
2248            if (type == null) {
2249              return null;
2250            }
2251            {
2252              if (typeof type.tag === "number") {
2253                error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
2254              }
2255            }
2256            if (typeof type === "function") {
2257              return type.displayName || type.name || null;
2258            }
2259            if (typeof type === "string") {
2260              return type;
2261            }
2262            switch (type) {
2263              case REACT_FRAGMENT_TYPE:
2264                return "Fragment";
2265              case REACT_PORTAL_TYPE:
2266                return "Portal";
2267              case REACT_PROFILER_TYPE:
2268                return "Profiler";
2269              case REACT_STRICT_MODE_TYPE:
2270                return "StrictMode";
2271              case REACT_SUSPENSE_TYPE:
2272                return "Suspense";
2273              case REACT_SUSPENSE_LIST_TYPE:
2274                return "SuspenseList";
2275            }
2276            if (typeof type === "object") {
2277              switch (type.$$typeof) {
2278                case REACT_CONTEXT_TYPE:
2279                  var context = type;
2280                  return getContextName(context) + ".Consumer";
2281                case REACT_PROVIDER_TYPE:
2282                  var provider = type;
2283                  return getContextName(provider._context) + ".Provider";
2284                case REACT_FORWARD_REF_TYPE:
2285                  return getWrappedName(type, type.render, "ForwardRef");
2286                case REACT_MEMO_TYPE:
2287                  var outerName = type.displayName || null;
2288                  if (outerName !== null) {
2289                    return outerName;
2290                  }
2291                  return getComponentNameFromType(type.type) || "Memo";
2292                case REACT_LAZY_TYPE: {
2293                  var lazyComponent = type;
2294                  var payload = lazyComponent._payload;
2295                  var init3 = lazyComponent._init;
2296                  try {
2297                    return getComponentNameFromType(init3(payload));
2298                  } catch (x2) {
2299                    return null;
2300                  }
2301                }
2302              }
2303            }
2304            return null;
2305          }
2306          var hasOwnProperty3 = Object.prototype.hasOwnProperty;
2307          var RESERVED_PROPS = {
2308            key: true,
2309            ref: true,
2310            __self: true,
2311            __source: true
2312          };
2313          var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs;
2314          {
2315            didWarnAboutStringRefs = {};
2316          }
2317          function hasValidRef(config2) {
2318            {
2319              if (hasOwnProperty3.call(config2, "ref")) {
2320                var getter = Object.getOwnPropertyDescriptor(config2, "ref").get;
2321                if (getter && getter.isReactWarning) {
2322                  return false;
2323                }
2324              }
2325            }
2326            return config2.ref !== void 0;
2327          }
2328          function hasValidKey(config2) {
2329            {
2330              if (hasOwnProperty3.call(config2, "key")) {
2331                var getter = Object.getOwnPropertyDescriptor(config2, "key").get;
2332                if (getter && getter.isReactWarning) {
2333                  return false;
2334                }
2335              }
2336            }
2337            return config2.key !== void 0;
2338          }
2339          function defineKeyPropWarningGetter(props, displayName) {
2340            var warnAboutAccessingKey = function() {
2341              {
2342                if (!specialPropKeyWarningShown) {
2343                  specialPropKeyWarningShown = true;
2344                  error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
2345                }
2346              }
2347            };
2348            warnAboutAccessingKey.isReactWarning = true;
2349            Object.defineProperty(props, "key", {
2350              get: warnAboutAccessingKey,
2351              configurable: true
2352            });
2353          }
2354          function defineRefPropWarningGetter(props, displayName) {
2355            var warnAboutAccessingRef = function() {
2356              {
2357                if (!specialPropRefWarningShown) {
2358                  specialPropRefWarningShown = true;
2359                  error("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
2360                }
2361              }
2362            };
2363            warnAboutAccessingRef.isReactWarning = true;
2364            Object.defineProperty(props, "ref", {
2365              get: warnAboutAccessingRef,
2366              configurable: true
2367            });
2368          }
2369          function warnIfStringRefCannotBeAutoConverted(config2) {
2370            {
2371              if (typeof config2.ref === "string" && ReactCurrentOwner.current && config2.__self && ReactCurrentOwner.current.stateNode !== config2.__self) {
2372                var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
2373                if (!didWarnAboutStringRefs[componentName]) {
2374                  error('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', componentName, config2.ref);
2375                  didWarnAboutStringRefs[componentName] = true;
2376                }
2377              }
2378            }
2379          }
2380          var ReactElement = function(type, key, ref, self2, source, owner, props) {
2381            var element = {
2382              // This tag allows us to uniquely identify this as a React Element
2383              $$typeof: REACT_ELEMENT_TYPE,
2384              // Built-in properties that belong on the element
2385              type,
2386              key,
2387              ref,
2388              props,
2389              // Record the component responsible for creating this element.
2390              _owner: owner
2391            };
2392            {
2393              element._store = {};
2394              Object.defineProperty(element._store, "validated", {
2395                configurable: false,
2396                enumerable: false,
2397                writable: true,
2398                value: false
2399              });
2400              Object.defineProperty(element, "_self", {
2401                configurable: false,
2402                enumerable: false,
2403                writable: false,
2404                value: self2
2405              });
2406              Object.defineProperty(element, "_source", {
2407                configurable: false,
2408                enumerable: false,
2409                writable: false,
2410                value: source
2411              });
2412              if (Object.freeze) {
2413                Object.freeze(element.props);
2414                Object.freeze(element);
2415              }
2416            }
2417            return element;
2418          };
2419          function createElement7(type, config2, children) {
2420            var propName;
2421            var props = {};
2422            var key = null;
2423            var ref = null;
2424            var self2 = null;
2425            var source = null;
2426            if (config2 != null) {
2427              if (hasValidRef(config2)) {
2428                ref = config2.ref;
2429                {
2430                  warnIfStringRefCannotBeAutoConverted(config2);
2431                }
2432              }
2433              if (hasValidKey(config2)) {
2434                {
2435                  checkKeyStringCoercion(config2.key);
2436                }
2437                key = "" + config2.key;
2438              }
2439              self2 = config2.__self === void 0 ? null : config2.__self;
2440              source = config2.__source === void 0 ? null : config2.__source;
2441              for (propName in config2) {
2442                if (hasOwnProperty3.call(config2, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
2443                  props[propName] = config2[propName];
2444                }
2445              }
2446            }
2447            var childrenLength = arguments.length - 2;
2448            if (childrenLength === 1) {
2449              props.children = children;
2450            } else if (childrenLength > 1) {
2451              var childArray = Array(childrenLength);
2452              for (var i2 = 0; i2 < childrenLength; i2++) {
2453                childArray[i2] = arguments[i2 + 2];
2454              }
2455              {
2456                if (Object.freeze) {
2457                  Object.freeze(childArray);
2458                }
2459              }
2460              props.children = childArray;
2461            }
2462            if (type && type.defaultProps) {
2463              var defaultProps2 = type.defaultProps;
2464              for (propName in defaultProps2) {
2465                if (props[propName] === void 0) {
2466                  props[propName] = defaultProps2[propName];
2467                }
2468              }
2469            }
2470            {
2471              if (key || ref) {
2472                var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
2473                if (key) {
2474                  defineKeyPropWarningGetter(props, displayName);
2475                }
2476                if (ref) {
2477                  defineRefPropWarningGetter(props, displayName);
2478                }
2479              }
2480            }
2481            return ReactElement(type, key, ref, self2, source, ReactCurrentOwner.current, props);
2482          }
2483          function cloneAndReplaceKey(oldElement, newKey) {
2484            var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
2485            return newElement;
2486          }
2487          function cloneElement(element, config2, children) {
2488            if (element === null || element === void 0) {
2489              throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
2490            }
2491            var propName;
2492            var props = assign3({}, element.props);
2493            var key = element.key;
2494            var ref = element.ref;
2495            var self2 = element._self;
2496            var source = element._source;
2497            var owner = element._owner;
2498            if (config2 != null) {
2499              if (hasValidRef(config2)) {
2500                ref = config2.ref;
2501                owner = ReactCurrentOwner.current;
2502              }
2503              if (hasValidKey(config2)) {
2504                {
2505                  checkKeyStringCoercion(config2.key);
2506                }
2507                key = "" + config2.key;
2508              }
2509              var defaultProps2;
2510              if (element.type && element.type.defaultProps) {
2511                defaultProps2 = element.type.defaultProps;
2512              }
2513              for (propName in config2) {
2514                if (hasOwnProperty3.call(config2, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
2515                  if (config2[propName] === void 0 && defaultProps2 !== void 0) {
2516                    props[propName] = defaultProps2[propName];
2517                  } else {
2518                    props[propName] = config2[propName];
2519                  }
2520                }
2521              }
2522            }
2523            var childrenLength = arguments.length - 2;
2524            if (childrenLength === 1) {
2525              props.children = children;
2526            } else if (childrenLength > 1) {
2527              var childArray = Array(childrenLength);
2528              for (var i2 = 0; i2 < childrenLength; i2++) {
2529                childArray[i2] = arguments[i2 + 2];
2530              }
2531              props.children = childArray;
2532            }
2533            return ReactElement(element.type, key, ref, self2, source, owner, props);
2534          }
2535          function isValidElement(object) {
2536            return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
2537          }
2538          var SEPARATOR = ".";
2539          var SUBSEPARATOR = ":";
2540          function escape2(key) {
2541            var escapeRegex = /[=:]/g;
2542            var escaperLookup = {
2543              "=": "=0",
2544              ":": "=2"
2545            };
2546            var escapedString = key.replace(escapeRegex, function(match2) {
2547              return escaperLookup[match2];
2548            });
2549            return "$" + escapedString;
2550          }
2551          var didWarnAboutMaps = false;
2552          var userProvidedKeyEscapeRegex = /\/+/g;
2553          function escapeUserProvidedKey(text2) {
2554            return text2.replace(userProvidedKeyEscapeRegex, "$&/");
2555          }
2556          function getElementKey(element, index2) {
2557            if (typeof element === "object" && element !== null && element.key != null) {
2558              {
2559                checkKeyStringCoercion(element.key);
2560              }
2561              return escape2("" + element.key);
2562            }
2563            return index2.toString(36);
2564          }
2565          function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
2566            var type = typeof children;
2567            if (type === "undefined" || type === "boolean") {
2568              children = null;
2569            }
2570            var invokeCallback = false;
2571            if (children === null) {
2572              invokeCallback = true;
2573            } else {
2574              switch (type) {
2575                case "string":
2576                case "number":
2577                  invokeCallback = true;
2578                  break;
2579                case "object":
2580                  switch (children.$$typeof) {
2581                    case REACT_ELEMENT_TYPE:
2582                    case REACT_PORTAL_TYPE:
2583                      invokeCallback = true;
2584                  }
2585              }
2586            }
2587            if (invokeCallback) {
2588              var _child = children;
2589              var mappedChild = callback(_child);
2590              var childKey = nameSoFar === "" ? SEPARATOR + getElementKey(_child, 0) : nameSoFar;
2591              if (isArray3(mappedChild)) {
2592                var escapedChildKey = "";
2593                if (childKey != null) {
2594                  escapedChildKey = escapeUserProvidedKey(childKey) + "/";
2595                }
2596                mapIntoArray(mappedChild, array, escapedChildKey, "", function(c) {
2597                  return c;
2598                });
2599              } else if (mappedChild != null) {
2600                if (isValidElement(mappedChild)) {
2601                  {
2602                    if (mappedChild.key && (!_child || _child.key !== mappedChild.key)) {
2603                      checkKeyStringCoercion(mappedChild.key);
2604                    }
2605                  }
2606                  mappedChild = cloneAndReplaceKey(
2607                    mappedChild,
2608                    // Keep both the (mapped) and old keys if they differ, just as
2609                    // traverseAllChildren used to do for objects as children
2610                    escapedPrefix + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
2611                    (mappedChild.key && (!_child || _child.key !== mappedChild.key) ? (
2612                      // $FlowFixMe Flow incorrectly thinks existing element's key can be a number
2613                      // eslint-disable-next-line react-internal/safe-string-coercion
2614                      escapeUserProvidedKey("" + mappedChild.key) + "/"
2615                    ) : "") + childKey
2616                  );
2617                }
2618                array.push(mappedChild);
2619              }
2620              return 1;
2621            }
2622            var child;
2623            var nextName;
2624            var subtreeCount = 0;
2625            var nextNamePrefix = nameSoFar === "" ? SEPARATOR : nameSoFar + SUBSEPARATOR;
2626            if (isArray3(children)) {
2627              for (var i2 = 0; i2 < children.length; i2++) {
2628                child = children[i2];
2629                nextName = nextNamePrefix + getElementKey(child, i2);
2630                subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
2631              }
2632            } else {
2633              var iteratorFn = getIteratorFn(children);
2634              if (typeof iteratorFn === "function") {
2635                var iterableChildren = children;
2636                {
2637                  if (iteratorFn === iterableChildren.entries) {
2638                    if (!didWarnAboutMaps) {
2639                      warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead.");
2640                    }
2641                    didWarnAboutMaps = true;
2642                  }
2643                }
2644                var iterator2 = iteratorFn.call(iterableChildren);
2645                var step;
2646                var ii = 0;
2647                while (!(step = iterator2.next()).done) {
2648                  child = step.value;
2649                  nextName = nextNamePrefix + getElementKey(child, ii++);
2650                  subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
2651                }
2652              } else if (type === "object") {
2653                var childrenString = String(children);
2654                throw new Error("Objects are not valid as a React child (found: " + (childrenString === "[object Object]" ? "object with keys {" + Object.keys(children).join(", ") + "}" : childrenString) + "). If you meant to render a collection of children, use an array instead.");
2655              }
2656            }
2657            return subtreeCount;
2658          }
2659          function mapChildren(children, func, context) {
2660            if (children == null) {
2661              return children;
2662            }
2663            var result = [];
2664            var count = 0;
2665            mapIntoArray(children, result, "", "", function(child) {
2666              return func.call(context, child, count++);
2667            });
2668            return result;
2669          }
2670          function countChildren(children) {
2671            var n = 0;
2672            mapChildren(children, function() {
2673              n++;
2674            });
2675            return n;
2676          }
2677          function forEachChildren(children, forEachFunc, forEachContext) {
2678            mapChildren(children, function() {
2679              forEachFunc.apply(this, arguments);
2680            }, forEachContext);
2681          }
2682          function toArray3(children) {
2683            return mapChildren(children, function(child) {
2684              return child;
2685            }) || [];
2686          }
2687          function onlyChild(children) {
2688            if (!isValidElement(children)) {
2689              throw new Error("React.Children.only expected to receive a single React element child.");
2690            }
2691            return children;
2692          }
2693          function createContext4(defaultValue) {
2694            var context = {
2695              $$typeof: REACT_CONTEXT_TYPE,
2696              // As a workaround to support multiple concurrent renderers, we categorize
2697              // some renderers as primary and others as secondary. We only expect
2698              // there to be two concurrent renderers at most: React Native (primary) and
2699              // Fabric (secondary); React DOM (primary) and React ART (secondary).
2700              // Secondary renderers store their context values on separate fields.
2701              _currentValue: defaultValue,
2702              _currentValue2: defaultValue,
2703              // Used to track how many concurrent renderers this context currently
2704              // supports within in a single renderer. Such as parallel server rendering.
2705              _threadCount: 0,
2706              // These are circular
2707              Provider: null,
2708              Consumer: null,
2709              // Add these to use same hidden class in VM as ServerContext
2710              _defaultValue: null,
2711              _globalName: null
2712            };
2713            context.Provider = {
2714              $$typeof: REACT_PROVIDER_TYPE,
2715              _context: context
2716            };
2717            var hasWarnedAboutUsingNestedContextConsumers = false;
2718            var hasWarnedAboutUsingConsumerProvider = false;
2719            var hasWarnedAboutDisplayNameOnConsumer = false;
2720            {
2721              var Consumer = {
2722                $$typeof: REACT_CONTEXT_TYPE,
2723                _context: context
2724              };
2725              Object.defineProperties(Consumer, {
2726                Provider: {
2727                  get: function() {
2728                    if (!hasWarnedAboutUsingConsumerProvider) {
2729                      hasWarnedAboutUsingConsumerProvider = true;
2730                      error("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?");
2731                    }
2732                    return context.Provider;
2733                  },
2734                  set: function(_Provider) {
2735                    context.Provider = _Provider;
2736                  }
2737                },
2738                _currentValue: {
2739                  get: function() {
2740                    return context._currentValue;
2741                  },
2742                  set: function(_currentValue) {
2743                    context._currentValue = _currentValue;
2744                  }
2745                },
2746                _currentValue2: {
2747                  get: function() {
2748                    return context._currentValue2;
2749                  },
2750                  set: function(_currentValue2) {
2751                    context._currentValue2 = _currentValue2;
2752                  }
2753                },
2754                _threadCount: {
2755                  get: function() {
2756                    return context._threadCount;
2757                  },
2758                  set: function(_threadCount) {
2759                    context._threadCount = _threadCount;
2760                  }
2761                },
2762                Consumer: {
2763                  get: function() {
2764                    if (!hasWarnedAboutUsingNestedContextConsumers) {
2765                      hasWarnedAboutUsingNestedContextConsumers = true;
2766                      error("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?");
2767                    }
2768                    return context.Consumer;
2769                  }
2770                },
2771                displayName: {
2772                  get: function() {
2773                    return context.displayName;
2774                  },
2775                  set: function(displayName) {
2776                    if (!hasWarnedAboutDisplayNameOnConsumer) {
2777                      warn("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", displayName);
2778                      hasWarnedAboutDisplayNameOnConsumer = true;
2779                    }
2780                  }
2781                }
2782              });
2783              context.Consumer = Consumer;
2784            }
2785            {
2786              context._currentRenderer = null;
2787              context._currentRenderer2 = null;
2788            }
2789            return context;
2790          }
2791          var Uninitialized = -1;
2792          var Pending = 0;
2793          var Resolved = 1;
2794          var Rejected = 2;
2795          function lazyInitializer(payload) {
2796            if (payload._status === Uninitialized) {
2797              var ctor = payload._result;
2798              var thenable = ctor();
2799              thenable.then(function(moduleObject2) {
2800                if (payload._status === Pending || payload._status === Uninitialized) {
2801                  var resolved = payload;
2802                  resolved._status = Resolved;
2803                  resolved._result = moduleObject2;
2804                }
2805              }, function(error2) {
2806                if (payload._status === Pending || payload._status === Uninitialized) {
2807                  var rejected = payload;
2808                  rejected._status = Rejected;
2809                  rejected._result = error2;
2810                }
2811              });
2812              if (payload._status === Uninitialized) {
2813                var pending = payload;
2814                pending._status = Pending;
2815                pending._result = thenable;
2816              }
2817            }
2818            if (payload._status === Resolved) {
2819              var moduleObject = payload._result;
2820              {
2821                if (moduleObject === void 0) {
2822                  error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n  const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?", moduleObject);
2823                }
2824              }
2825              {
2826                if (!("default" in moduleObject)) {
2827                  error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n  const MyComponent = lazy(() => import('./MyComponent'))", moduleObject);
2828                }
2829              }
2830              return moduleObject.default;
2831            } else {
2832              throw payload._result;
2833            }
2834          }
2835          function lazy(ctor) {
2836            var payload = {
2837              // We use these fields to store the result.
2838              _status: Uninitialized,
2839              _result: ctor
2840            };
2841            var lazyType = {
2842              $$typeof: REACT_LAZY_TYPE,
2843              _payload: payload,
2844              _init: lazyInitializer
2845            };
2846            {
2847              var defaultProps2;
2848              var propTypes;
2849              Object.defineProperties(lazyType, {
2850                defaultProps: {
2851                  configurable: true,
2852                  get: function() {
2853                    return defaultProps2;
2854                  },
2855                  set: function(newDefaultProps) {
2856                    error("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it.");
2857                    defaultProps2 = newDefaultProps;
2858                    Object.defineProperty(lazyType, "defaultProps", {
2859                      enumerable: true
2860                    });
2861                  }
2862                },
2863                propTypes: {
2864                  configurable: true,
2865                  get: function() {
2866                    return propTypes;
2867                  },
2868                  set: function(newPropTypes) {
2869                    error("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it.");
2870                    propTypes = newPropTypes;
2871                    Object.defineProperty(lazyType, "propTypes", {
2872                      enumerable: true
2873                    });
2874                  }
2875                }
2876              });
2877            }
2878            return lazyType;
2879          }
2880          function forwardRef5(render2) {
2881            {
2882              if (render2 != null && render2.$$typeof === REACT_MEMO_TYPE) {
2883                error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).");
2884              } else if (typeof render2 !== "function") {
2885                error("forwardRef requires a render function but was given %s.", render2 === null ? "null" : typeof render2);
2886              } else {
2887                if (render2.length !== 0 && render2.length !== 2) {
2888                  error("forwardRef render functions accept exactly two parameters: props and ref. %s", render2.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined.");
2889                }
2890              }
2891              if (render2 != null) {
2892                if (render2.defaultProps != null || render2.propTypes != null) {
2893                  error("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
2894                }
2895              }
2896            }
2897            var elementType = {
2898              $$typeof: REACT_FORWARD_REF_TYPE,
2899              render: render2
2900            };
2901            {
2902              var ownName;
2903              Object.defineProperty(elementType, "displayName", {
2904                enumerable: false,
2905                configurable: true,
2906                get: function() {
2907                  return ownName;
2908                },
2909                set: function(name2) {
2910                  ownName = name2;
2911                  if (!render2.name && !render2.displayName) {
2912                    render2.displayName = name2;
2913                  }
2914                }
2915              });
2916            }
2917            return elementType;
2918          }
2919          var REACT_MODULE_REFERENCE;
2920          {
2921            REACT_MODULE_REFERENCE = /* @__PURE__ */ Symbol.for("react.module.reference");
2922          }
2923          function isValidElementType(type) {
2924            if (typeof type === "string" || typeof type === "function") {
2925              return true;
2926            }
2927            if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
2928              return true;
2929            }
2930            if (typeof type === "object" && type !== null) {
2931              if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
2932              // types supported by any Flight configuration anywhere since
2933              // we don't know which Flight build this will end up being used
2934              // with.
2935              type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
2936                return true;
2937              }
2938            }
2939            return false;
2940          }
2941          function memo(type, compare) {
2942            {
2943              if (!isValidElementType(type)) {
2944                error("memo: The first argument must be a component. Instead received: %s", type === null ? "null" : typeof type);
2945              }
2946            }
2947            var elementType = {
2948              $$typeof: REACT_MEMO_TYPE,
2949              type,
2950              compare: compare === void 0 ? null : compare
2951            };
2952            {
2953              var ownName;
2954              Object.defineProperty(elementType, "displayName", {
2955                enumerable: false,
2956                configurable: true,
2957                get: function() {
2958                  return ownName;
2959                },
2960                set: function(name2) {
2961                  ownName = name2;
2962                  if (!type.name && !type.displayName) {
2963                    type.displayName = name2;
2964                  }
2965                }
2966              });
2967            }
2968            return elementType;
2969          }
2970          function resolveDispatcher() {
2971            var dispatcher = ReactCurrentDispatcher.current;
2972            {
2973              if (dispatcher === null) {
2974                error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");
2975              }
2976            }
2977            return dispatcher;
2978          }
2979          function useContext6(Context) {
2980            var dispatcher = resolveDispatcher();
2981            {
2982              if (Context._context !== void 0) {
2983                var realContext = Context._context;
2984                if (realContext.Consumer === Context) {
2985                  error("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?");
2986                } else if (realContext.Provider === Context) {
2987                  error("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
2988                }
2989              }
2990            }
2991            return dispatcher.useContext(Context);
2992          }
2993          function useState12(initialState) {
2994            var dispatcher = resolveDispatcher();
2995            return dispatcher.useState(initialState);
2996          }
2997          function useReducer(reducer, initialArg, init3) {
2998            var dispatcher = resolveDispatcher();
2999            return dispatcher.useReducer(reducer, initialArg, init3);
3000          }
3001          function useRef6(initialValue) {
3002            var dispatcher = resolveDispatcher();
3003            return dispatcher.useRef(initialValue);
3004          }
3005          function useEffect10(create2, deps) {
3006            var dispatcher = resolveDispatcher();
3007            return dispatcher.useEffect(create2, deps);
3008          }
3009          function useInsertionEffect3(create2, deps) {
3010            var dispatcher = resolveDispatcher();
3011            return dispatcher.useInsertionEffect(create2, deps);
3012          }
3013          function useLayoutEffect3(create2, deps) {
3014            var dispatcher = resolveDispatcher();
3015            return dispatcher.useLayoutEffect(create2, deps);
3016          }
3017          function useCallback5(callback, deps) {
3018            var dispatcher = resolveDispatcher();
3019            return dispatcher.useCallback(callback, deps);
3020          }
3021          function useMemo5(create2, deps) {
3022            var dispatcher = resolveDispatcher();
3023            return dispatcher.useMemo(create2, deps);
3024          }
3025          function useImperativeHandle(ref, create2, deps) {
3026            var dispatcher = resolveDispatcher();
3027            return dispatcher.useImperativeHandle(ref, create2, deps);
3028          }
3029          function useDebugValue(value, formatterFn) {
3030            {
3031              var dispatcher = resolveDispatcher();
3032              return dispatcher.useDebugValue(value, formatterFn);
3033            }
3034          }
3035          function useTransition() {
3036            var dispatcher = resolveDispatcher();
3037            return dispatcher.useTransition();
3038          }
3039          function useDeferredValue(value) {
3040            var dispatcher = resolveDispatcher();
3041            return dispatcher.useDeferredValue(value);
3042          }
3043          function useId() {
3044            var dispatcher = resolveDispatcher();
3045            return dispatcher.useId();
3046          }
3047          function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
3048            var dispatcher = resolveDispatcher();
3049            return dispatcher.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
3050          }
3051          var disabledDepth = 0;
3052          var prevLog;
3053          var prevInfo;
3054          var prevWarn;
3055          var prevError;
3056          var prevGroup;
3057          var prevGroupCollapsed;
3058          var prevGroupEnd;
3059          function disabledLog() {
3060          }
3061          disabledLog.__reactDisabledLog = true;
3062          function disableLogs() {
3063            {
3064              if (disabledDepth === 0) {
3065                prevLog = console.log;
3066                prevInfo = console.info;
3067                prevWarn = console.warn;
3068                prevError = console.error;
3069                prevGroup = console.group;
3070                prevGroupCollapsed = console.groupCollapsed;
3071                prevGroupEnd = console.groupEnd;
3072                var props = {
3073                  configurable: true,
3074                  enumerable: true,
3075                  value: disabledLog,
3076                  writable: true
3077                };
3078                Object.defineProperties(console, {
3079                  info: props,
3080                  log: props,
3081                  warn: props,
3082                  error: props,
3083                  group: props,
3084                  groupCollapsed: props,
3085                  groupEnd: props
3086                });
3087              }
3088              disabledDepth++;
3089            }
3090          }
3091          function reenableLogs() {
3092            {
3093              disabledDepth--;
3094              if (disabledDepth === 0) {
3095                var props = {
3096                  configurable: true,
3097                  enumerable: true,
3098                  writable: true
3099                };
3100                Object.defineProperties(console, {
3101                  log: assign3({}, props, {
3102                    value: prevLog
3103                  }),
3104                  info: assign3({}, props, {
3105                    value: prevInfo
3106                  }),
3107                  warn: assign3({}, props, {
3108                    value: prevWarn
3109                  }),
3110                  error: assign3({}, props, {
3111                    value: prevError
3112                  }),
3113                  group: assign3({}, props, {
3114                    value: prevGroup
3115                  }),
3116                  groupCollapsed: assign3({}, props, {
3117                    value: prevGroupCollapsed
3118                  }),
3119                  groupEnd: assign3({}, props, {
3120                    value: prevGroupEnd
3121                  })
3122                });
3123              }
3124              if (disabledDepth < 0) {
3125                error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
3126              }
3127            }
3128          }
3129          var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher;
3130          var prefix2;
3131          function describeBuiltInComponentFrame(name2, source, ownerFn) {
3132            {
3133              if (prefix2 === void 0) {
3134                try {
3135                  throw Error();
3136                } catch (x2) {
3137                  var match2 = x2.stack.trim().match(/\n( *(at )?)/);
3138                  prefix2 = match2 && match2[1] || "";
3139                }
3140              }
3141              return "\n" + prefix2 + name2;
3142            }
3143          }
3144          var reentry = false;
3145          var componentFrameCache;
3146          {
3147            var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
3148            componentFrameCache = new PossiblyWeakMap();
3149          }
3150          function describeNativeComponentFrame(fn, construct) {
3151            if (!fn || reentry) {
3152              return "";
3153            }
3154            {
3155              var frame = componentFrameCache.get(fn);
3156              if (frame !== void 0) {
3157                return frame;
3158              }
3159            }
3160            var control;
3161            reentry = true;
3162            var previousPrepareStackTrace = Error.prepareStackTrace;
3163            Error.prepareStackTrace = void 0;
3164            var previousDispatcher;
3165            {
3166              previousDispatcher = ReactCurrentDispatcher$1.current;
3167              ReactCurrentDispatcher$1.current = null;
3168              disableLogs();
3169            }
3170            try {
3171              if (construct) {
3172                var Fake = function() {
3173                  throw Error();
3174                };
3175                Object.defineProperty(Fake.prototype, "props", {
3176                  set: function() {
3177                    throw Error();
3178                  }
3179                });
3180                if (typeof Reflect === "object" && Reflect.construct) {
3181                  try {
3182                    Reflect.construct(Fake, []);
3183                  } catch (x2) {
3184                    control = x2;
3185                  }
3186                  Reflect.construct(fn, [], Fake);
3187                } else {
3188                  try {
3189                    Fake.call();
3190                  } catch (x2) {
3191                    control = x2;
3192                  }
3193                  fn.call(Fake.prototype);
3194                }
3195              } else {
3196                try {
3197                  throw Error();
3198                } catch (x2) {
3199                  control = x2;
3200                }
3201                fn();
3202              }
3203            } catch (sample) {
3204              if (sample && control && typeof sample.stack === "string") {
3205                var sampleLines = sample.stack.split("\n");
3206                var controlLines = control.stack.split("\n");
3207                var s2 = sampleLines.length - 1;
3208                var c = controlLines.length - 1;
3209                while (s2 >= 1 && c >= 0 && sampleLines[s2] !== controlLines[c]) {
3210                  c--;
3211                }
3212                for (; s2 >= 1 && c >= 0; s2--, c--) {
3213                  if (sampleLines[s2] !== controlLines[c]) {
3214                    if (s2 !== 1 || c !== 1) {
3215                      do {
3216                        s2--;
3217                        c--;
3218                        if (c < 0 || sampleLines[s2] !== controlLines[c]) {
3219                          var _frame = "\n" + sampleLines[s2].replace(" at new ", " at ");
3220                          if (fn.displayName && _frame.includes("<anonymous>")) {
3221                            _frame = _frame.replace("<anonymous>", fn.displayName);
3222                          }
3223                          {
3224                            if (typeof fn === "function") {
3225                              componentFrameCache.set(fn, _frame);
3226                            }
3227                          }
3228                          return _frame;
3229                        }
3230                      } while (s2 >= 1 && c >= 0);
3231                    }
3232                    break;
3233                  }
3234                }
3235              }
3236            } finally {
3237              reentry = false;
3238              {
3239                ReactCurrentDispatcher$1.current = previousDispatcher;
3240                reenableLogs();
3241              }
3242              Error.prepareStackTrace = previousPrepareStackTrace;
3243            }
3244            var name2 = fn ? fn.displayName || fn.name : "";
3245            var syntheticFrame = name2 ? describeBuiltInComponentFrame(name2) : "";
3246            {
3247              if (typeof fn === "function") {
3248                componentFrameCache.set(fn, syntheticFrame);
3249              }
3250            }
3251            return syntheticFrame;
3252          }
3253          function describeFunctionComponentFrame(fn, source, ownerFn) {
3254            {
3255              return describeNativeComponentFrame(fn, false);
3256            }
3257          }
3258          function shouldConstruct(Component3) {
3259            var prototype2 = Component3.prototype;
3260            return !!(prototype2 && prototype2.isReactComponent);
3261          }
3262          function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
3263            if (type == null) {
3264              return "";
3265            }
3266            if (typeof type === "function") {
3267              {
3268                return describeNativeComponentFrame(type, shouldConstruct(type));
3269              }
3270            }
3271            if (typeof type === "string") {
3272              return describeBuiltInComponentFrame(type);
3273            }
3274            switch (type) {
3275              case REACT_SUSPENSE_TYPE:
3276                return describeBuiltInComponentFrame("Suspense");
3277              case REACT_SUSPENSE_LIST_TYPE:
3278                return describeBuiltInComponentFrame("SuspenseList");
3279            }
3280            if (typeof type === "object") {
3281              switch (type.$$typeof) {
3282                case REACT_FORWARD_REF_TYPE:
3283                  return describeFunctionComponentFrame(type.render);
3284                case REACT_MEMO_TYPE:
3285                  return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
3286                case REACT_LAZY_TYPE: {
3287                  var lazyComponent = type;
3288                  var payload = lazyComponent._payload;
3289                  var init3 = lazyComponent._init;
3290                  try {
3291                    return describeUnknownElementTypeFrameInDEV(init3(payload), source, ownerFn);
3292                  } catch (x2) {
3293                  }
3294                }
3295              }
3296            }
3297            return "";
3298          }
3299          var loggedTypeFailures = {};
3300          var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
3301          function setCurrentlyValidatingElement(element) {
3302            {
3303              if (element) {
3304                var owner = element._owner;
3305                var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
3306                ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
3307              } else {
3308                ReactDebugCurrentFrame$1.setExtraStackFrame(null);
3309              }
3310            }
3311          }
3312          function checkPropTypes(typeSpecs, values, location, componentName, element) {
3313            {
3314              var has = Function.call.bind(hasOwnProperty3);
3315              for (var typeSpecName in typeSpecs) {
3316                if (has(typeSpecs, typeSpecName)) {
3317                  var error$1 = void 0;
3318                  try {
3319                    if (typeof typeSpecs[typeSpecName] !== "function") {
3320                      var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
3321                      err.name = "Invariant Violation";
3322                      throw err;
3323                    }
3324                    error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
3325                  } catch (ex) {
3326                    error$1 = ex;
3327                  }
3328                  if (error$1 && !(error$1 instanceof Error)) {
3329                    setCurrentlyValidatingElement(element);
3330                    error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", componentName || "React class", location, typeSpecName, typeof error$1);
3331                    setCurrentlyValidatingElement(null);
3332                  }
3333                  if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
3334                    loggedTypeFailures[error$1.message] = true;
3335                    setCurrentlyValidatingElement(element);
3336                    error("Failed %s type: %s", location, error$1.message);
3337                    setCurrentlyValidatingElement(null);
3338                  }
3339                }
3340              }
3341            }
3342          }
3343          function setCurrentlyValidatingElement$1(element) {
3344            {
3345              if (element) {
3346                var owner = element._owner;
3347                var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
3348                setExtraStackFrame(stack);
3349              } else {
3350                setExtraStackFrame(null);
3351              }
3352            }
3353          }
3354          var propTypesMisspellWarningShown;
3355          {
3356            propTypesMisspellWarningShown = false;
3357          }
3358          function getDeclarationErrorAddendum() {
3359            if (ReactCurrentOwner.current) {
3360              var name2 = getComponentNameFromType(ReactCurrentOwner.current.type);
3361              if (name2) {
3362                return "\n\nCheck the render method of `" + name2 + "`.";
3363              }
3364            }
3365            return "";
3366          }
3367          function getSourceInfoErrorAddendum(source) {
3368            if (source !== void 0) {
3369              var fileName = source.fileName.replace(/^.*[\\\/]/, "");
3370              var lineNumber = source.lineNumber;
3371              return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
3372            }
3373            return "";
3374          }
3375          function getSourceInfoErrorAddendumForProps(elementProps) {
3376            if (elementProps !== null && elementProps !== void 0) {
3377              return getSourceInfoErrorAddendum(elementProps.__source);
3378            }
3379            return "";
3380          }
3381          var ownerHasKeyUseWarning = {};
3382          function getCurrentComponentErrorInfo(parentType) {
3383            var info = getDeclarationErrorAddendum();
3384            if (!info) {
3385              var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
3386              if (parentName) {
3387                info = "\n\nCheck the top-level render call using <" + parentName + ">.";
3388              }
3389            }
3390            return info;
3391          }
3392          function validateExplicitKey(element, parentType) {
3393            if (!element._store || element._store.validated || element.key != null) {
3394              return;
3395            }
3396            element._store.validated = true;
3397            var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
3398            if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
3399              return;
3400            }
3401            ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
3402            var childOwner = "";
3403            if (element && element._owner && element._owner !== ReactCurrentOwner.current) {
3404              childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
3405            }
3406            {
3407              setCurrentlyValidatingElement$1(element);
3408              error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
3409              setCurrentlyValidatingElement$1(null);
3410            }
3411          }
3412          function validateChildKeys(node2, parentType) {
3413            if (typeof node2 !== "object") {
3414              return;
3415            }
3416            if (isArray3(node2)) {
3417              for (var i2 = 0; i2 < node2.length; i2++) {
3418                var child = node2[i2];
3419                if (isValidElement(child)) {
3420                  validateExplicitKey(child, parentType);
3421                }
3422              }
3423            } else if (isValidElement(node2)) {
3424              if (node2._store) {
3425                node2._store.validated = true;
3426              }
3427            } else if (node2) {
3428              var iteratorFn = getIteratorFn(node2);
3429              if (typeof iteratorFn === "function") {
3430                if (iteratorFn !== node2.entries) {
3431                  var iterator2 = iteratorFn.call(node2);
3432                  var step;
3433                  while (!(step = iterator2.next()).done) {
3434                    if (isValidElement(step.value)) {
3435                      validateExplicitKey(step.value, parentType);
3436                    }
3437                  }
3438                }
3439              }
3440            }
3441          }
3442          function validatePropTypes(element) {
3443            {
3444              var type = element.type;
3445              if (type === null || type === void 0 || typeof type === "string") {
3446                return;
3447              }
3448              var propTypes;
3449              if (typeof type === "function") {
3450                propTypes = type.propTypes;
3451              } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
3452              // Inner props are checked in the reconciler.
3453              type.$$typeof === REACT_MEMO_TYPE)) {
3454                propTypes = type.propTypes;
3455              } else {
3456                return;
3457              }
3458              if (propTypes) {
3459                var name2 = getComponentNameFromType(type);
3460                checkPropTypes(propTypes, element.props, "prop", name2, element);
3461              } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
3462                propTypesMisspellWarningShown = true;
3463                var _name = getComponentNameFromType(type);
3464                error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
3465              }
3466              if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
3467                error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
3468              }
3469            }
3470          }
3471          function validateFragmentProps(fragment) {
3472            {
3473              var keys = Object.keys(fragment.props);
3474              for (var i2 = 0; i2 < keys.length; i2++) {
3475                var key = keys[i2];
3476                if (key !== "children" && key !== "key") {
3477                  setCurrentlyValidatingElement$1(fragment);
3478                  error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
3479                  setCurrentlyValidatingElement$1(null);
3480                  break;
3481                }
3482              }
3483              if (fragment.ref !== null) {
3484                setCurrentlyValidatingElement$1(fragment);
3485                error("Invalid attribute `ref` supplied to `React.Fragment`.");
3486                setCurrentlyValidatingElement$1(null);
3487              }
3488            }
3489          }
3490          function createElementWithValidation(type, props, children) {
3491            var validType = isValidElementType(type);
3492            if (!validType) {
3493              var info = "";
3494              if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
3495                info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
3496              }
3497              var sourceInfo = getSourceInfoErrorAddendumForProps(props);
3498              if (sourceInfo) {
3499                info += sourceInfo;
3500              } else {
3501                info += getDeclarationErrorAddendum();
3502              }
3503              var typeString;
3504              if (type === null) {
3505                typeString = "null";
3506              } else if (isArray3(type)) {
3507                typeString = "array";
3508              } else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
3509                typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
3510                info = " Did you accidentally export a JSX literal instead of a component?";
3511              } else {
3512                typeString = typeof type;
3513              }
3514              {
3515                error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
3516              }
3517            }
3518            var element = createElement7.apply(this, arguments);
3519            if (element == null) {
3520              return element;
3521            }
3522            if (validType) {
3523              for (var i2 = 2; i2 < arguments.length; i2++) {
3524                validateChildKeys(arguments[i2], type);
3525              }
3526            }
3527            if (type === REACT_FRAGMENT_TYPE) {
3528              validateFragmentProps(element);
3529            } else {
3530              validatePropTypes(element);
3531            }
3532            return element;
3533          }
3534          var didWarnAboutDeprecatedCreateFactory = false;
3535          function createFactoryWithValidation(type) {
3536            var validatedFactory = createElementWithValidation.bind(null, type);
3537            validatedFactory.type = type;
3538            {
3539              if (!didWarnAboutDeprecatedCreateFactory) {
3540                didWarnAboutDeprecatedCreateFactory = true;
3541                warn("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.");
3542              }
3543              Object.defineProperty(validatedFactory, "type", {
3544                enumerable: false,
3545                get: function() {
3546                  warn("Factory.type is deprecated. Access the class directly before passing it to createFactory.");
3547                  Object.defineProperty(this, "type", {
3548                    value: type
3549                  });
3550                  return type;
3551                }
3552              });
3553            }
3554            return validatedFactory;
3555          }
3556          function cloneElementWithValidation(element, props, children) {
3557            var newElement = cloneElement.apply(this, arguments);
3558            for (var i2 = 2; i2 < arguments.length; i2++) {
3559              validateChildKeys(arguments[i2], newElement.type);
3560            }
3561            validatePropTypes(newElement);
3562            return newElement;
3563          }
3564          function startTransition(scope, options2) {
3565            var prevTransition = ReactCurrentBatchConfig.transition;
3566            ReactCurrentBatchConfig.transition = {};
3567            var currentTransition = ReactCurrentBatchConfig.transition;
3568            {
3569              ReactCurrentBatchConfig.transition._updatedFibers = /* @__PURE__ */ new Set();
3570            }
3571            try {
3572              scope();
3573            } finally {
3574              ReactCurrentBatchConfig.transition = prevTransition;
3575              {
3576                if (prevTransition === null && currentTransition._updatedFibers) {
3577                  var updatedFibersCount = currentTransition._updatedFibers.size;
3578                  if (updatedFibersCount > 10) {
3579                    warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.");
3580                  }
3581                  currentTransition._updatedFibers.clear();
3582                }
3583              }
3584            }
3585          }
3586          var didWarnAboutMessageChannel = false;
3587          var enqueueTaskImpl = null;
3588          function enqueueTask(task) {
3589            if (enqueueTaskImpl === null) {
3590              try {
3591                var requireString = ("require" + Math.random()).slice(0, 7);
3592                var nodeRequire = module && module[requireString];
3593                enqueueTaskImpl = nodeRequire.call(module, "timers").setImmediate;
3594              } catch (_err) {
3595                enqueueTaskImpl = function(callback) {
3596                  {
3597                    if (didWarnAboutMessageChannel === false) {
3598                      didWarnAboutMessageChannel = true;
3599                      if (typeof MessageChannel === "undefined") {
3600                        error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.");
3601                      }
3602                    }
3603                  }
3604                  var channel = new MessageChannel();
3605                  channel.port1.onmessage = callback;
3606                  channel.port2.postMessage(void 0);
3607                };
3608              }
3609            }
3610            return enqueueTaskImpl(task);
3611          }
3612          var actScopeDepth = 0;
3613          var didWarnNoAwaitAct = false;
3614          function act(callback) {
3615            {
3616              var prevActScopeDepth = actScopeDepth;
3617              actScopeDepth++;
3618              if (ReactCurrentActQueue.current === null) {
3619                ReactCurrentActQueue.current = [];
3620              }
3621              var prevIsBatchingLegacy = ReactCurrentActQueue.isBatchingLegacy;
3622              var result;
3623              try {
3624                ReactCurrentActQueue.isBatchingLegacy = true;
3625                result = callback();
3626                if (!prevIsBatchingLegacy && ReactCurrentActQueue.didScheduleLegacyUpdate) {
3627                  var queue = ReactCurrentActQueue.current;
3628                  if (queue !== null) {
3629                    ReactCurrentActQueue.didScheduleLegacyUpdate = false;
3630                    flushActQueue(queue);
3631                  }
3632                }
3633              } catch (error2) {
3634                popActScope(prevActScopeDepth);
3635                throw error2;
3636              } finally {
3637                ReactCurrentActQueue.isBatchingLegacy = prevIsBatchingLegacy;
3638              }
3639              if (result !== null && typeof result === "object" && typeof result.then === "function") {
3640                var thenableResult = result;
3641                var wasAwaited = false;
3642                var thenable = {
3643                  then: function(resolve, reject) {
3644                    wasAwaited = true;
3645                    thenableResult.then(function(returnValue2) {
3646                      popActScope(prevActScopeDepth);
3647                      if (actScopeDepth === 0) {
3648                        recursivelyFlushAsyncActWork(returnValue2, resolve, reject);
3649                      } else {
3650                        resolve(returnValue2);
3651                      }
3652                    }, function(error2) {
3653                      popActScope(prevActScopeDepth);
3654                      reject(error2);
3655                    });
3656                  }
3657                };
3658                {
3659                  if (!didWarnNoAwaitAct && typeof Promise !== "undefined") {
3660                    Promise.resolve().then(function() {
3661                    }).then(function() {
3662                      if (!wasAwaited) {
3663                        didWarnNoAwaitAct = true;
3664                        error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);");
3665                      }
3666                    });
3667                  }
3668                }
3669                return thenable;
3670              } else {
3671                var returnValue = result;
3672                popActScope(prevActScopeDepth);
3673                if (actScopeDepth === 0) {
3674                  var _queue = ReactCurrentActQueue.current;
3675                  if (_queue !== null) {
3676                    flushActQueue(_queue);
3677                    ReactCurrentActQueue.current = null;
3678                  }
3679                  var _thenable = {
3680                    then: function(resolve, reject) {
3681                      if (ReactCurrentActQueue.current === null) {
3682                        ReactCurrentActQueue.current = [];
3683                        recursivelyFlushAsyncActWork(returnValue, resolve, reject);
3684                      } else {
3685                        resolve(returnValue);
3686                      }
3687                    }
3688                  };
3689                  return _thenable;
3690                } else {
3691                  var _thenable2 = {
3692                    then: function(resolve, reject) {
3693                      resolve(returnValue);
3694                    }
3695                  };
3696                  return _thenable2;
3697                }
3698              }
3699            }
3700          }
3701          function popActScope(prevActScopeDepth) {
3702            {
3703              if (prevActScopeDepth !== actScopeDepth - 1) {
3704                error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. ");
3705              }
3706              actScopeDepth = prevActScopeDepth;
3707            }
3708          }
3709          function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
3710            {
3711              var queue = ReactCurrentActQueue.current;
3712              if (queue !== null) {
3713                try {
3714                  flushActQueue(queue);
3715                  enqueueTask(function() {
3716                    if (queue.length === 0) {
3717                      ReactCurrentActQueue.current = null;
3718                      resolve(returnValue);
3719                    } else {
3720                      recursivelyFlushAsyncActWork(returnValue, resolve, reject);
3721                    }
3722                  });
3723                } catch (error2) {
3724                  reject(error2);
3725                }
3726              } else {
3727                resolve(returnValue);
3728              }
3729            }
3730          }
3731          var isFlushing = false;
3732          function flushActQueue(queue) {
3733            {
3734              if (!isFlushing) {
3735                isFlushing = true;
3736                var i2 = 0;
3737                try {
3738                  for (; i2 < queue.length; i2++) {
3739                    var callback = queue[i2];
3740                    do {
3741                      callback = callback(true);
3742                    } while (callback !== null);
3743                  }
3744                  queue.length = 0;
3745                } catch (error2) {
3746                  queue = queue.slice(i2 + 1);
3747                  throw error2;
3748                } finally {
3749                  isFlushing = false;
3750                }
3751              }
3752            }
3753          }
3754          var createElement$1 = createElementWithValidation;
3755          var cloneElement$1 = cloneElementWithValidation;
3756          var createFactory = createFactoryWithValidation;
3757          var Children = {
3758            map: mapChildren,
3759            forEach: forEachChildren,
3760            count: countChildren,
3761            toArray: toArray3,
3762            only: onlyChild
3763          };
3764          exports.Children = Children;
3765          exports.Component = Component2;
3766          exports.Fragment = REACT_FRAGMENT_TYPE;
3767          exports.Profiler = REACT_PROFILER_TYPE;
3768          exports.PureComponent = PureComponent;
3769          exports.StrictMode = REACT_STRICT_MODE_TYPE;
3770          exports.Suspense = REACT_SUSPENSE_TYPE;
3771          exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;
3772          exports.act = act;
3773          exports.cloneElement = cloneElement$1;
3774          exports.createContext = createContext4;
3775          exports.createElement = createElement$1;
3776          exports.createFactory = createFactory;
3777          exports.createRef = createRef;
3778          exports.forwardRef = forwardRef5;
3779          exports.isValidElement = isValidElement;
3780          exports.lazy = lazy;
3781          exports.memo = memo;
3782          exports.startTransition = startTransition;
3783          exports.unstable_act = act;
3784          exports.useCallback = useCallback5;
3785          exports.useContext = useContext6;
3786          exports.useDebugValue = useDebugValue;
3787          exports.useDeferredValue = useDeferredValue;
3788          exports.useEffect = useEffect10;
3789          exports.useId = useId;
3790          exports.useImperativeHandle = useImperativeHandle;
3791          exports.useInsertionEffect = useInsertionEffect3;
3792          exports.useLayoutEffect = useLayoutEffect3;
3793          exports.useMemo = useMemo5;
3794          exports.useReducer = useReducer;
3795          exports.useRef = useRef6;
3796          exports.useState = useState12;
3797          exports.useSyncExternalStore = useSyncExternalStore;
3798          exports.useTransition = useTransition;
3799          exports.version = ReactVersion;
3800          if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
3801            __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
3802          }
3803        })();
3804      }
3805    }
3806  });
3807
3808  
vendor: 309 bytes, lines 3808-3821
3808// node_modules/react/index.js
3809  var require_react = __commonJS({
3810    "node_modules/react/index.js"(exports, module) {
3811      "use strict";
3812      init_esbuild_shims();
3813      if (false) {
3814        module.exports = null;
3815      } else {
3816        module.exports = require_react_development();
3817      }
3818    }
3819  });
3820
3821  
vendor: 17,924 bytes, lines 3821-4272
3821// node_modules/scheduler/cjs/scheduler.development.js
3822  var require_scheduler_development = __commonJS({
3823    "node_modules/scheduler/cjs/scheduler.development.js"(exports) {
3824      "use strict";
3825      init_esbuild_shims();
3826      if (true) {
3827        (function() {
3828          "use strict";
3829          if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
3830            __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
3831          }
3832          var enableSchedulerDebugging = false;
3833          var enableProfiling = false;
3834          var frameYieldMs = 5;
3835          function push(heap, node2) {
3836            var index2 = heap.length;
3837            heap.push(node2);
3838            siftUp(heap, node2, index2);
3839          }
3840          function peek2(heap) {
3841            return heap.length === 0 ? null : heap[0];
3842          }
3843          function pop(heap) {
3844            if (heap.length === 0) {
3845              return null;
3846            }
3847            var first = heap[0];
3848            var last = heap.pop();
3849            if (last !== first) {
3850              heap[0] = last;
3851              siftDown(heap, last, 0);
3852            }
3853            return first;
3854          }
3855          function siftUp(heap, node2, i2) {
3856            var index2 = i2;
3857            while (index2 > 0) {
3858              var parentIndex = index2 - 1 >>> 1;
3859              var parent = heap[parentIndex];
3860              if (compare(parent, node2) > 0) {
3861                heap[parentIndex] = node2;
3862                heap[index2] = parent;
3863                index2 = parentIndex;
3864              } else {
3865                return;
3866              }
3867            }
3868          }
3869          function siftDown(heap, node2, i2) {
3870            var index2 = i2;
3871            var length2 = heap.length;
3872            var halfLength = length2 >>> 1;
3873            while (index2 < halfLength) {
3874              var leftIndex = (index2 + 1) * 2 - 1;
3875              var left = heap[leftIndex];
3876              var rightIndex = leftIndex + 1;
3877              var right = heap[rightIndex];
3878              if (compare(left, node2) < 0) {
3879                if (rightIndex < length2 && compare(right, left) < 0) {
3880                  heap[index2] = right;
3881                  heap[rightIndex] = node2;
3882                  index2 = rightIndex;
3883                } else {
3884                  heap[index2] = left;
3885                  heap[leftIndex] = node2;
3886                  index2 = leftIndex;
3887                }
3888              } else if (rightIndex < length2 && compare(right, node2) < 0) {
3889                heap[index2] = right;
3890                heap[rightIndex] = node2;
3891                index2 = rightIndex;
3892              } else {
3893                return;
3894              }
3895            }
3896          }
3897          function compare(a, b) {
3898            var diff = a.sortIndex - b.sortIndex;
3899            return diff !== 0 ? diff : a.id - b.id;
3900          }
3901          var ImmediatePriority = 1;
3902          var UserBlockingPriority = 2;
3903          var NormalPriority = 3;
3904          var LowPriority = 4;
3905          var IdlePriority = 5;
3906          function markTaskErrored(task, ms) {
3907          }
3908          var hasPerformanceNow = typeof performance === "object" && typeof performance.now === "function";
3909          if (hasPerformanceNow) {
3910            var localPerformance = performance;
3911            exports.unstable_now = function() {
3912              return localPerformance.now();
3913            };
3914          } else {
3915            var localDate = Date;
3916            var initialTime = localDate.now();
3917            exports.unstable_now = function() {
3918              return localDate.now() - initialTime;
3919            };
3920          }
3921          var maxSigned31BitInt = 1073741823;
3922          var IMMEDIATE_PRIORITY_TIMEOUT = -1;
3923          var USER_BLOCKING_PRIORITY_TIMEOUT = 250;
3924          var NORMAL_PRIORITY_TIMEOUT = 5e3;
3925          var LOW_PRIORITY_TIMEOUT = 1e4;
3926          var IDLE_PRIORITY_TIMEOUT = maxSigned31BitInt;
3927          var taskQueue = [];
3928          var timerQueue = [];
3929          var taskIdCounter = 1;
3930          var currentTask = null;
3931          var currentPriorityLevel = NormalPriority;
3932          var isPerformingWork = false;
3933          var isHostCallbackScheduled = false;
3934          var isHostTimeoutScheduled = false;
3935          var localSetTimeout = typeof setTimeout === "function" ? setTimeout : null;
3936          var localClearTimeout = typeof clearTimeout === "function" ? clearTimeout : null;
3937          var localSetImmediate = typeof setImmediate !== "undefined" ? setImmediate : null;
3938          var isInputPending = typeof navigator !== "undefined" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 ? navigator.scheduling.isInputPending.bind(navigator.scheduling) : null;
3939          function advanceTimers(currentTime) {
3940            var timer = peek2(timerQueue);
3941            while (timer !== null) {
3942              if (timer.callback === null) {
3943                pop(timerQueue);
3944              } else if (timer.startTime <= currentTime) {
3945                pop(timerQueue);
3946                timer.sortIndex = timer.expirationTime;
3947                push(taskQueue, timer);
3948              } else {
3949                return;
3950              }
3951              timer = peek2(timerQueue);
3952            }
3953          }
3954          function handleTimeout(currentTime) {
3955            isHostTimeoutScheduled = false;
3956            advanceTimers(currentTime);
3957            if (!isHostCallbackScheduled) {
3958              if (peek2(taskQueue) !== null) {
3959                isHostCallbackScheduled = true;
3960                requestHostCallback(flushWork);
3961              } else {
3962                var firstTimer = peek2(timerQueue);
3963                if (firstTimer !== null) {
3964                  requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
3965                }
3966              }
3967            }
3968          }
3969          function flushWork(hasTimeRemaining, initialTime2) {
3970            isHostCallbackScheduled = false;
3971            if (isHostTimeoutScheduled) {
3972              isHostTimeoutScheduled = false;
3973              cancelHostTimeout();
3974            }
3975            isPerformingWork = true;
3976            var previousPriorityLevel = currentPriorityLevel;
3977            try {
3978              if (enableProfiling) {
3979                try {
3980                  return workLoop(hasTimeRemaining, initialTime2);
3981                } catch (error) {
3982                  if (currentTask !== null) {
3983                    var currentTime = exports.unstable_now();
3984                    markTaskErrored(currentTask, currentTime);
3985                    currentTask.isQueued = false;
3986                  }
3987                  throw error;
3988                }
3989              } else {
3990                return workLoop(hasTimeRemaining, initialTime2);
3991              }
3992            } finally {
3993              currentTask = null;
3994              currentPriorityLevel = previousPriorityLevel;
3995              isPerformingWork = false;
3996            }
3997          }
3998          function workLoop(hasTimeRemaining, initialTime2) {
3999            var currentTime = initialTime2;
4000            advanceTimers(currentTime);
4001            currentTask = peek2(taskQueue);
4002            while (currentTask !== null && !enableSchedulerDebugging) {
4003              if (currentTask.expirationTime > currentTime && (!hasTimeRemaining || shouldYieldToHost())) {
4004                break;
4005              }
4006              var callback = currentTask.callback;
4007              if (typeof callback === "function") {
4008                currentTask.callback = null;
4009                currentPriorityLevel = currentTask.priorityLevel;
4010                var didUserCallbackTimeout = currentTask.expirationTime <= currentTime;
4011                var continuationCallback = callback(didUserCallbackTimeout);
4012                currentTime = exports.unstable_now();
4013                if (typeof continuationCallback === "function") {
4014                  currentTask.callback = continuationCallback;
4015                } else {
4016                  if (currentTask === peek2(taskQueue)) {
4017                    pop(taskQueue);
4018                  }
4019                }
4020                advanceTimers(currentTime);
4021              } else {
4022                pop(taskQueue);
4023              }
4024              currentTask = peek2(taskQueue);
4025            }
4026            if (currentTask !== null) {
4027              return true;
4028            } else {
4029              var firstTimer = peek2(timerQueue);
4030              if (firstTimer !== null) {
4031                requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
4032              }
4033              return false;
4034            }
4035          }
4036          function unstable_runWithPriority(priorityLevel, eventHandler) {
4037            switch (priorityLevel) {
4038              case ImmediatePriority:
4039              case UserBlockingPriority:
4040              case NormalPriority:
4041              case LowPriority:
4042              case IdlePriority:
4043                break;
4044              default:
4045                priorityLevel = NormalPriority;
4046            }
4047            var previousPriorityLevel = currentPriorityLevel;
4048            currentPriorityLevel = priorityLevel;
4049            try {
4050              return eventHandler();
4051            } finally {
4052              currentPriorityLevel = previousPriorityLevel;
4053            }
4054          }
4055          function unstable_next(eventHandler) {
4056            var priorityLevel;
4057            switch (currentPriorityLevel) {
4058              case ImmediatePriority:
4059              case UserBlockingPriority:
4060              case NormalPriority:
4061                priorityLevel = NormalPriority;
4062                break;
4063              default:
4064                priorityLevel = currentPriorityLevel;
4065                break;
4066            }
4067            var previousPriorityLevel = currentPriorityLevel;
4068            currentPriorityLevel = priorityLevel;
4069            try {
4070              return eventHandler();
4071            } finally {
4072              currentPriorityLevel = previousPriorityLevel;
4073            }
4074          }
4075          function unstable_wrapCallback(callback) {
4076            var parentPriorityLevel = currentPriorityLevel;
4077            return function() {
4078              var previousPriorityLevel = currentPriorityLevel;
4079              currentPriorityLevel = parentPriorityLevel;
4080              try {
4081                return callback.apply(this, arguments);
4082              } finally {
4083                currentPriorityLevel = previousPriorityLevel;
4084              }
4085            };
4086          }
4087          function unstable_scheduleCallback(priorityLevel, callback, options2) {
4088            var currentTime = exports.unstable_now();
4089            var startTime2;
4090            if (typeof options2 === "object" && options2 !== null) {
4091              var delay = options2.delay;
4092              if (typeof delay === "number" && delay > 0) {
4093                startTime2 = currentTime + delay;
4094              } else {
4095                startTime2 = currentTime;
4096              }
4097            } else {
4098              startTime2 = currentTime;
4099            }
4100            var timeout;
4101            switch (priorityLevel) {
4102              case ImmediatePriority:
4103                timeout = IMMEDIATE_PRIORITY_TIMEOUT;
4104                break;
4105              case UserBlockingPriority:
4106                timeout = USER_BLOCKING_PRIORITY_TIMEOUT;
4107                break;
4108              case IdlePriority:
4109                timeout = IDLE_PRIORITY_TIMEOUT;
4110                break;
4111              case LowPriority:
4112                timeout = LOW_PRIORITY_TIMEOUT;
4113                break;
4114              case NormalPriority:
4115              default:
4116                timeout = NORMAL_PRIORITY_TIMEOUT;
4117                break;
4118            }
4119            var expirationTime = startTime2 + timeout;
4120            var newTask = {
4121              id: taskIdCounter++,
4122              callback,
4123              priorityLevel,
4124              startTime: startTime2,
4125              expirationTime,
4126              sortIndex: -1
4127            };
4128            if (startTime2 > currentTime) {
4129              newTask.sortIndex = startTime2;
4130              push(timerQueue, newTask);
4131              if (peek2(taskQueue) === null && newTask === peek2(timerQueue)) {
4132                if (isHostTimeoutScheduled) {
4133                  cancelHostTimeout();
4134                } else {
4135                  isHostTimeoutScheduled = true;
4136                }
4137                requestHostTimeout(handleTimeout, startTime2 - currentTime);
4138              }
4139            } else {
4140              newTask.sortIndex = expirationTime;
4141              push(taskQueue, newTask);
4142              if (!isHostCallbackScheduled && !isPerformingWork) {
4143                isHostCallbackScheduled = true;
4144                requestHostCallback(flushWork);
4145              }
4146            }
4147            return newTask;
4148          }
4149          function unstable_pauseExecution() {
4150          }
4151          function unstable_continueExecution() {
4152            if (!isHostCallbackScheduled && !isPerformingWork) {
4153              isHostCallbackScheduled = true;
4154              requestHostCallback(flushWork);
4155            }
4156          }
4157          function unstable_getFirstCallbackNode() {
4158            return peek2(taskQueue);
4159          }
4160          function unstable_cancelCallback(task) {
4161            task.callback = null;
4162          }
4163          function unstable_getCurrentPriorityLevel() {
4164            return currentPriorityLevel;
4165          }
4166          var isMessageLoopRunning = false;
4167          var scheduledHostCallback = null;
4168          var taskTimeoutID = -1;
4169          var frameInterval = frameYieldMs;
4170          var startTime = -1;
4171          function shouldYieldToHost() {
4172            var timeElapsed = exports.unstable_now() - startTime;
4173            if (timeElapsed < frameInterval) {
4174              return false;
4175            }
4176            return true;
4177          }
4178          function requestPaint() {
4179          }
4180          function forceFrameRate(fps) {
4181            if (fps < 0 || fps > 125) {
4182              console["error"]("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");
4183              return;
4184            }
4185            if (fps > 0) {
4186              frameInterval = Math.floor(1e3 / fps);
4187            } else {
4188              frameInterval = frameYieldMs;
4189            }
4190          }
4191          var performWorkUntilDeadline = function() {
4192            if (scheduledHostCallback !== null) {
4193              var currentTime = exports.unstable_now();
4194              startTime = currentTime;
4195              var hasTimeRemaining = true;
4196              var hasMoreWork = true;
4197              try {
4198                hasMoreWork = scheduledHostCallback(hasTimeRemaining, currentTime);
4199              } finally {
4200                if (hasMoreWork) {
4201                  schedulePerformWorkUntilDeadline();
4202                } else {
4203                  isMessageLoopRunning = false;
4204                  scheduledHostCallback = null;
4205                }
4206              }
4207            } else {
4208              isMessageLoopRunning = false;
4209            }
4210          };
4211          var schedulePerformWorkUntilDeadline;
4212          if (typeof localSetImmediate === "function") {
4213            schedulePerformWorkUntilDeadline = function() {
4214              localSetImmediate(performWorkUntilDeadline);
4215            };
4216          } else if (typeof MessageChannel !== "undefined") {
4217            var channel = new MessageChannel();
4218            var port = channel.port2;
4219            channel.port1.onmessage = performWorkUntilDeadline;
4220            schedulePerformWorkUntilDeadline = function() {
4221              port.postMessage(null);
4222            };
4223          } else {
4224            schedulePerformWorkUntilDeadline = function() {
4225              localSetTimeout(performWorkUntilDeadline, 0);
4226            };
4227          }
4228          function requestHostCallback(callback) {
4229            scheduledHostCallback = callback;
4230            if (!isMessageLoopRunning) {
4231              isMessageLoopRunning = true;
4232              schedulePerformWorkUntilDeadline();
4233            }
4234          }
4235          function requestHostTimeout(callback, ms) {
4236            taskTimeoutID = localSetTimeout(function() {
4237              callback(exports.unstable_now());
4238            }, ms);
4239          }
4240          function cancelHostTimeout() {
4241            localClearTimeout(taskTimeoutID);
4242            taskTimeoutID = -1;
4243          }
4244          var unstable_requestPaint = requestPaint;
4245          var unstable_Profiling = null;
4246          exports.unstable_IdlePriority = IdlePriority;
4247          exports.unstable_ImmediatePriority = ImmediatePriority;
4248          exports.unstable_LowPriority = LowPriority;
4249          exports.unstable_NormalPriority = NormalPriority;
4250          exports.unstable_Profiling = unstable_Profiling;
4251          exports.unstable_UserBlockingPriority = UserBlockingPriority;
4252          exports.unstable_cancelCallback = unstable_cancelCallback;
4253          exports.unstable_continueExecution = unstable_continueExecution;
4254          exports.unstable_forceFrameRate = forceFrameRate;
4255          exports.unstable_getCurrentPriorityLevel = unstable_getCurrentPriorityLevel;
4256          exports.unstable_getFirstCallbackNode = unstable_getFirstCallbackNode;
4257          exports.unstable_next = unstable_next;
4258          exports.unstable_pauseExecution = unstable_pauseExecution;
4259          exports.unstable_requestPaint = unstable_requestPaint;
4260          exports.unstable_runWithPriority = unstable_runWithPriority;
4261          exports.unstable_scheduleCallback = unstable_scheduleCallback;
4262          exports.unstable_shouldYield = shouldYieldToHost;
4263          exports.unstable_wrapCallback = unstable_wrapCallback;
4264          if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
4265            __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
4266          }
4267        })();
4268      }
4269    }
4270  });
4271
4272  
vendor: 325 bytes, lines 4272-4285
4272// node_modules/scheduler/index.js
4273  var require_scheduler = __commonJS({
4274    "node_modules/scheduler/index.js"(exports, module) {
4275      "use strict";
4276      init_esbuild_shims();
4277      if (false) {
4278        module.exports = null;
4279      } else {
4280        module.exports = require_scheduler_development();
4281      }
4282    }
4283  });
4284
4285  
vendor: 957,500 bytes, lines 4285-25450
4285// node_modules/react-dom/cjs/react-dom.development.js
4286  var require_react_dom_development = __commonJS({
4287    "node_modules/react-dom/cjs/react-dom.development.js"(exports) {
4288      "use strict";
4289      init_esbuild_shims();
4290      if (true) {
4291        (function() {
4292          "use strict";
4293          if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
4294            __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
4295          }
4296          var React17 = require_react();
4297          var Scheduler = require_scheduler();
4298          var ReactSharedInternals = React17.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
4299          var suppressWarning = false;
4300          function setSuppressWarning(newSuppressWarning) {
4301            {
4302              suppressWarning = newSuppressWarning;
4303            }
4304          }
4305          function warn(format) {
4306            {
4307              if (!suppressWarning) {
4308                for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
4309                  args[_key - 1] = arguments[_key];
4310                }
4311                printWarning("warn", format, args);
4312              }
4313            }
4314          }
4315          function error(format) {
4316            {
4317              if (!suppressWarning) {
4318                for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
4319                  args[_key2 - 1] = arguments[_key2];
4320                }
4321                printWarning("error", format, args);
4322              }
4323            }
4324          }
4325          function printWarning(level, format, args) {
4326            {
4327              var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
4328              var stack = ReactDebugCurrentFrame2.getStackAddendum();
4329              if (stack !== "") {
4330                format += "%s";
4331                args = args.concat([stack]);
4332              }
4333              var argsWithFormat = args.map(function(item) {
4334                return String(item);
4335              });
4336              argsWithFormat.unshift("Warning: " + format);
4337              Function.prototype.apply.call(console[level], console, argsWithFormat);
4338            }
4339          }
4340          var FunctionComponent = 0;
4341          var ClassComponent = 1;
4342          var IndeterminateComponent = 2;
4343          var HostRoot = 3;
4344          var HostPortal = 4;
4345          var HostComponent = 5;
4346          var HostText = 6;
4347          var Fragment4 = 7;
4348          var Mode = 8;
4349          var ContextConsumer = 9;
4350          var ContextProvider = 10;
4351          var ForwardRef = 11;
4352          var Profiler = 12;
4353          var SuspenseComponent = 13;
4354          var MemoComponent = 14;
4355          var SimpleMemoComponent = 15;
4356          var LazyComponent = 16;
4357          var IncompleteClassComponent = 17;
4358          var DehydratedFragment = 18;
4359          var SuspenseListComponent = 19;
4360          var ScopeComponent = 21;
4361          var OffscreenComponent = 22;
4362          var LegacyHiddenComponent = 23;
4363          var CacheComponent = 24;
4364          var TracingMarkerComponent = 25;
4365          var enableClientRenderFallbackOnTextMismatch = true;
4366          var enableNewReconciler = false;
4367          var enableLazyContextPropagation = false;
4368          var enableLegacyHidden = false;
4369          var enableSuspenseAvoidThisFallback = false;
4370          var disableCommentsAsDOMContainers = true;
4371          var enableCustomElementPropertySupport = false;
4372          var warnAboutStringRefs = true;
4373          var enableSchedulingProfiler = true;
4374          var enableProfilerTimer = true;
4375          var enableProfilerCommitHooks = true;
4376          var allNativeEvents = /* @__PURE__ */ new Set();
4377          var registrationNameDependencies = {};
4378          var possibleRegistrationNames = {};
4379          function registerTwoPhaseEvent(registrationName, dependencies) {
4380            registerDirectEvent(registrationName, dependencies);
4381            registerDirectEvent(registrationName + "Capture", dependencies);
4382          }
4383          function registerDirectEvent(registrationName, dependencies) {
4384            {
4385              if (registrationNameDependencies[registrationName]) {
4386                error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.", registrationName);
4387              }
4388            }
4389            registrationNameDependencies[registrationName] = dependencies;
4390            {
4391              var lowerCasedName = registrationName.toLowerCase();
4392              possibleRegistrationNames[lowerCasedName] = registrationName;
4393              if (registrationName === "onDoubleClick") {
4394                possibleRegistrationNames.ondblclick = registrationName;
4395              }
4396            }
4397            for (var i2 = 0; i2 < dependencies.length; i2++) {
4398              allNativeEvents.add(dependencies[i2]);
4399            }
4400          }
4401          var canUseDOM2 = !!(typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined");
4402          var hasOwnProperty3 = Object.prototype.hasOwnProperty;
4403          function typeName(value) {
4404            {
4405              var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
4406              var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
4407              return type;
4408            }
4409          }
4410          function willCoercionThrow(value) {
4411            {
4412              try {
4413                testStringCoercion(value);
4414                return false;
4415              } catch (e) {
4416                return true;
4417              }
4418            }
4419          }
4420          function testStringCoercion(value) {
4421            return "" + value;
4422          }
4423          function checkAttributeStringCoercion(value, attributeName) {
4424            {
4425              if (willCoercionThrow(value)) {
4426                error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.", attributeName, typeName(value));
4427                return testStringCoercion(value);
4428              }
4429            }
4430          }
4431          function checkKeyStringCoercion(value) {
4432            {
4433              if (willCoercionThrow(value)) {
4434                error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
4435                return testStringCoercion(value);
4436              }
4437            }
4438          }
4439          function checkPropStringCoercion(value, propName) {
4440            {
4441              if (willCoercionThrow(value)) {
4442                error("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.", propName, typeName(value));
4443                return testStringCoercion(value);
4444              }
4445            }
4446          }
4447          function checkCSSPropertyStringCoercion(value, propName) {
4448            {
4449              if (willCoercionThrow(value)) {
4450                error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.", propName, typeName(value));
4451                return testStringCoercion(value);
4452              }
4453            }
4454          }
4455          function checkHtmlStringCoercion(value) {
4456            {
4457              if (willCoercionThrow(value)) {
4458                error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
4459                return testStringCoercion(value);
4460              }
4461            }
4462          }
4463          function checkFormFieldValueStringCoercion(value) {
4464            {
4465              if (willCoercionThrow(value)) {
4466                error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.", typeName(value));
4467                return testStringCoercion(value);
4468              }
4469            }
4470          }
4471          var RESERVED = 0;
4472          var STRING = 1;
4473          var BOOLEANISH_STRING = 2;
4474          var BOOLEAN = 3;
4475          var OVERLOADED_BOOLEAN = 4;
4476          var NUMERIC = 5;
4477          var POSITIVE_NUMERIC = 6;
4478          var ATTRIBUTE_NAME_START_CHAR = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD";
4479          var ATTRIBUTE_NAME_CHAR = ATTRIBUTE_NAME_START_CHAR + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040";
4480          var VALID_ATTRIBUTE_NAME_REGEX = new RegExp("^[" + ATTRIBUTE_NAME_START_CHAR + "][" + ATTRIBUTE_NAME_CHAR + "]*$");
4481          var illegalAttributeNameCache = {};
4482          var validatedAttributeNameCache = {};
4483          function isAttributeNameSafe(attributeName) {
4484            if (hasOwnProperty3.call(validatedAttributeNameCache, attributeName)) {
4485              return true;
4486            }
4487            if (hasOwnProperty3.call(illegalAttributeNameCache, attributeName)) {
4488              return false;
4489            }
4490            if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) {
4491              validatedAttributeNameCache[attributeName] = true;
4492              return true;
4493            }
4494            illegalAttributeNameCache[attributeName] = true;
4495            {
4496              error("Invalid attribute name: `%s`", attributeName);
4497            }
4498            return false;
4499          }
4500          function shouldIgnoreAttribute(name2, propertyInfo, isCustomComponentTag) {
4501            if (propertyInfo !== null) {
4502              return propertyInfo.type === RESERVED;
4503            }
4504            if (isCustomComponentTag) {
4505              return false;
4506            }
4507            if (name2.length > 2 && (name2[0] === "o" || name2[0] === "O") && (name2[1] === "n" || name2[1] === "N")) {
4508              return true;
4509            }
4510            return false;
4511          }
4512          function shouldRemoveAttributeWithWarning(name2, value, propertyInfo, isCustomComponentTag) {
4513            if (propertyInfo !== null && propertyInfo.type === RESERVED) {
4514              return false;
4515            }
4516            switch (typeof value) {
4517              case "function":
4518              // $FlowIssue symbol is perfectly valid here
4519              case "symbol":
4520                return true;
4521              case "boolean": {
4522                if (isCustomComponentTag) {
4523                  return false;
4524                }
4525                if (propertyInfo !== null) {
4526                  return !propertyInfo.acceptsBooleans;
4527                } else {
4528                  var prefix3 = name2.toLowerCase().slice(0, 5);
4529                  return prefix3 !== "data-" && prefix3 !== "aria-";
4530                }
4531              }
4532              default:
4533                return false;
4534            }
4535          }
4536          function shouldRemoveAttribute(name2, value, propertyInfo, isCustomComponentTag) {
4537            if (value === null || typeof value === "undefined") {
4538              return true;
4539            }
4540            if (shouldRemoveAttributeWithWarning(name2, value, propertyInfo, isCustomComponentTag)) {
4541              return true;
4542            }
4543            if (isCustomComponentTag) {
4544              return false;
4545            }
4546            if (propertyInfo !== null) {
4547              switch (propertyInfo.type) {
4548                case BOOLEAN:
4549                  return !value;
4550                case OVERLOADED_BOOLEAN:
4551                  return value === false;
4552                case NUMERIC:
4553                  return isNaN(value);
4554                case POSITIVE_NUMERIC:
4555                  return isNaN(value) || value < 1;
4556              }
4557            }
4558            return false;
4559          }
4560          function getPropertyInfo(name2) {
4561            return properties.hasOwnProperty(name2) ? properties[name2] : null;
4562          }
4563          function PropertyInfoRecord(name2, type, mustUseProperty, attributeName, attributeNamespace, sanitizeURL2, removeEmptyString) {
4564            this.acceptsBooleans = type === BOOLEANISH_STRING || type === BOOLEAN || type === OVERLOADED_BOOLEAN;
4565            this.attributeName = attributeName;
4566            this.attributeNamespace = attributeNamespace;
4567            this.mustUseProperty = mustUseProperty;
4568            this.propertyName = name2;
4569            this.type = type;
4570            this.sanitizeURL = sanitizeURL2;
4571            this.removeEmptyString = removeEmptyString;
4572          }
4573          var properties = {};
4574          var reservedProps = [
4575            "children",
4576            "dangerouslySetInnerHTML",
4577            // TODO: This prevents the assignment of defaultValue to regular
4578            // elements (not just inputs). Now that ReactDOMInput assigns to the
4579            // defaultValue property -- do we need this?
4580            "defaultValue",
4581            "defaultChecked",
4582            "innerHTML",
4583            "suppressContentEditableWarning",
4584            "suppressHydrationWarning",
4585            "style"
4586          ];
4587          reservedProps.forEach(function(name2) {
4588            properties[name2] = new PropertyInfoRecord(
4589              name2,
4590              RESERVED,
4591              false,
4592              // mustUseProperty
4593              name2,
4594              // attributeName
4595              null,
4596              // attributeNamespace
4597              false,
4598              // sanitizeURL
4599              false
4600            );
4601          });
4602          [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(_ref3) {
4603            var name2 = _ref3[0], attributeName = _ref3[1];
4604            properties[name2] = new PropertyInfoRecord(
4605              name2,
4606              STRING,
4607              false,
4608              // mustUseProperty
4609              attributeName,
4610              // attributeName
4611              null,
4612              // attributeNamespace
4613              false,
4614              // sanitizeURL
4615              false
4616            );
4617          });
4618          ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(name2) {
4619            properties[name2] = new PropertyInfoRecord(
4620              name2,
4621              BOOLEANISH_STRING,
4622              false,
4623              // mustUseProperty
4624              name2.toLowerCase(),
4625              // attributeName
4626              null,
4627              // attributeNamespace
4628              false,
4629              // sanitizeURL
4630              false
4631            );
4632          });
4633          ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(name2) {
4634            properties[name2] = new PropertyInfoRecord(
4635              name2,
4636              BOOLEANISH_STRING,
4637              false,
4638              // mustUseProperty
4639              name2,
4640              // attributeName
4641              null,
4642              // attributeNamespace
4643              false,
4644              // sanitizeURL
4645              false
4646            );
4647          });
4648          [
4649            "allowFullScreen",
4650            "async",
4651            // Note: there is a special case that prevents it from being written to the DOM
4652            // on the client side because the browsers are inconsistent. Instead we call focus().
4653            "autoFocus",
4654            "autoPlay",
4655            "controls",
4656            "default",
4657            "defer",
4658            "disabled",
4659            "disablePictureInPicture",
4660            "disableRemotePlayback",
4661            "formNoValidate",
4662            "hidden",
4663            "loop",
4664            "noModule",
4665            "noValidate",
4666            "open",
4667            "playsInline",
4668            "readOnly",
4669            "required",
4670            "reversed",
4671            "scoped",
4672            "seamless",
4673            // Microdata
4674            "itemScope"
4675          ].forEach(function(name2) {
4676            properties[name2] = new PropertyInfoRecord(
4677              name2,
4678              BOOLEAN,
4679              false,
4680              // mustUseProperty
4681              name2.toLowerCase(),
4682              // attributeName
4683              null,
4684              // attributeNamespace
4685              false,
4686              // sanitizeURL
4687              false
4688            );
4689          });
4690          [
4691            "checked",
4692            // Note: `option.selected` is not updated if `select.multiple` is
4693            // disabled with `removeAttribute`. We have special logic for handling this.
4694            "multiple",
4695            "muted",
4696            "selected"
4697            // NOTE: if you add a camelCased prop to this list,
4698            // you'll need to set attributeName to name.toLowerCase()
4699            // instead in the assignment below.
4700          ].forEach(function(name2) {
4701            properties[name2] = new PropertyInfoRecord(
4702              name2,
4703              BOOLEAN,
4704              true,
4705              // mustUseProperty
4706              name2,
4707              // attributeName
4708              null,
4709              // attributeNamespace
4710              false,
4711              // sanitizeURL
4712              false
4713            );
4714          });
4715          [
4716            "capture",
4717            "download"
4718            // NOTE: if you add a camelCased prop to this list,
4719            // you'll need to set attributeName to name.toLowerCase()
4720            // instead in the assignment below.
4721          ].forEach(function(name2) {
4722            properties[name2] = new PropertyInfoRecord(
4723              name2,
4724              OVERLOADED_BOOLEAN,
4725              false,
4726              // mustUseProperty
4727              name2,
4728              // attributeName
4729              null,
4730              // attributeNamespace
4731              false,
4732              // sanitizeURL
4733              false
4734            );
4735          });
4736          [
4737            "cols",
4738            "rows",
4739            "size",
4740            "span"
4741            // NOTE: if you add a camelCased prop to this list,
4742            // you'll need to set attributeName to name.toLowerCase()
4743            // instead in the assignment below.
4744          ].forEach(function(name2) {
4745            properties[name2] = new PropertyInfoRecord(
4746              name2,
4747              POSITIVE_NUMERIC,
4748              false,
4749              // mustUseProperty
4750              name2,
4751              // attributeName
4752              null,
4753              // attributeNamespace
4754              false,
4755              // sanitizeURL
4756              false
4757            );
4758          });
4759          ["rowSpan", "start"].forEach(function(name2) {
4760            properties[name2] = new PropertyInfoRecord(
4761              name2,
4762              NUMERIC,
4763              false,
4764              // mustUseProperty
4765              name2.toLowerCase(),
4766              // attributeName
4767              null,
4768              // attributeNamespace
4769              false,
4770              // sanitizeURL
4771              false
4772            );
4773          });
4774          var CAMELIZE = /[\-\:]([a-z])/g;
4775          var capitalize2 = function(token2) {
4776            return token2[1].toUpperCase();
4777          };
4778          [
4779            "accent-height",
4780            "alignment-baseline",
4781            "arabic-form",
4782            "baseline-shift",
4783            "cap-height",
4784            "clip-path",
4785            "clip-rule",
4786            "color-interpolation",
4787            "color-interpolation-filters",
4788            "color-profile",
4789            "color-rendering",
4790            "dominant-baseline",
4791            "enable-background",
4792            "fill-opacity",
4793            "fill-rule",
4794            "flood-color",
4795            "flood-opacity",
4796            "font-family",
4797            "font-size",
4798            "font-size-adjust",
4799            "font-stretch",
4800            "font-style",
4801            "font-variant",
4802            "font-weight",
4803            "glyph-name",
4804            "glyph-orientation-horizontal",
4805            "glyph-orientation-vertical",
4806            "horiz-adv-x",
4807            "horiz-origin-x",
4808            "image-rendering",
4809            "letter-spacing",
4810            "lighting-color",
4811            "marker-end",
4812            "marker-mid",
4813            "marker-start",
4814            "overline-position",
4815            "overline-thickness",
4816            "paint-order",
4817            "panose-1",
4818            "pointer-events",
4819            "rendering-intent",
4820            "shape-rendering",
4821            "stop-color",
4822            "stop-opacity",
4823            "strikethrough-position",
4824            "strikethrough-thickness",
4825            "stroke-dasharray",
4826            "stroke-dashoffset",
4827            "stroke-linecap",
4828            "stroke-linejoin",
4829            "stroke-miterlimit",
4830            "stroke-opacity",
4831            "stroke-width",
4832            "text-anchor",
4833            "text-decoration",
4834            "text-rendering",
4835            "underline-position",
4836            "underline-thickness",
4837            "unicode-bidi",
4838            "unicode-range",
4839            "units-per-em",
4840            "v-alphabetic",
4841            "v-hanging",
4842            "v-ideographic",
4843            "v-mathematical",
4844            "vector-effect",
4845            "vert-adv-y",
4846            "vert-origin-x",
4847            "vert-origin-y",
4848            "word-spacing",
4849            "writing-mode",
4850            "xmlns:xlink",
4851            "x-height"
4852            // NOTE: if you add a camelCased prop to this list,
4853            // you'll need to set attributeName to name.toLowerCase()
4854            // instead in the assignment below.
4855          ].forEach(function(attributeName) {
4856            var name2 = attributeName.replace(CAMELIZE, capitalize2);
4857            properties[name2] = new PropertyInfoRecord(
4858              name2,
4859              STRING,
4860              false,
4861              // mustUseProperty
4862              attributeName,
4863              null,
4864              // attributeNamespace
4865              false,
4866              // sanitizeURL
4867              false
4868            );
4869          });
4870          [
4871            "xlink:actuate",
4872            "xlink:arcrole",
4873            "xlink:role",
4874            "xlink:show",
4875            "xlink:title",
4876            "xlink:type"
4877            // NOTE: if you add a camelCased prop to this list,
4878            // you'll need to set attributeName to name.toLowerCase()
4879            // instead in the assignment below.
4880          ].forEach(function(attributeName) {
4881            var name2 = attributeName.replace(CAMELIZE, capitalize2);
4882            properties[name2] = new PropertyInfoRecord(
4883              name2,
4884              STRING,
4885              false,
4886              // mustUseProperty
4887              attributeName,
4888              "http://www.w3.org/1999/xlink",
4889              false,
4890              // sanitizeURL
4891              false
4892            );
4893          });
4894          [
4895            "xml:base",
4896            "xml:lang",
4897            "xml:space"
4898            // NOTE: if you add a camelCased prop to this list,
4899            // you'll need to set attributeName to name.toLowerCase()
4900            // instead in the assignment below.
4901          ].forEach(function(attributeName) {
4902            var name2 = attributeName.replace(CAMELIZE, capitalize2);
4903            properties[name2] = new PropertyInfoRecord(
4904              name2,
4905              STRING,
4906              false,
4907              // mustUseProperty
4908              attributeName,
4909              "http://www.w3.org/XML/1998/namespace",
4910              false,
4911              // sanitizeURL
4912              false
4913            );
4914          });
4915          ["tabIndex", "crossOrigin"].forEach(function(attributeName) {
4916            properties[attributeName] = new PropertyInfoRecord(
4917              attributeName,
4918              STRING,
4919              false,
4920              // mustUseProperty
4921              attributeName.toLowerCase(),
4922              // attributeName
4923              null,
4924              // attributeNamespace
4925              false,
4926              // sanitizeURL
4927              false
4928            );
4929          });
4930          var xlinkHref = "xlinkHref";
4931          properties[xlinkHref] = new PropertyInfoRecord(
4932            "xlinkHref",
4933            STRING,
4934            false,
4935            // mustUseProperty
4936            "xlink:href",
4937            "http://www.w3.org/1999/xlink",
4938            true,
4939            // sanitizeURL
4940            false
4941          );
4942          ["src", "href", "action", "formAction"].forEach(function(attributeName) {
4943            properties[attributeName] = new PropertyInfoRecord(
4944              attributeName,
4945              STRING,
4946              false,
4947              // mustUseProperty
4948              attributeName.toLowerCase(),
4949              // attributeName
4950              null,
4951              // attributeNamespace
4952              true,
4953              // sanitizeURL
4954              true
4955            );
4956          });
4957          var isJavaScriptProtocol = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i;
4958          var didWarn = false;
4959          function sanitizeURL(url) {
4960            {
4961              if (!didWarn && isJavaScriptProtocol.test(url)) {
4962                didWarn = true;
4963                error("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.", JSON.stringify(url));
4964              }
4965            }
4966          }
4967          function getValueForProperty(node2, name2, expected, propertyInfo) {
4968            {
4969              if (propertyInfo.mustUseProperty) {
4970                var propertyName = propertyInfo.propertyName;
4971                return node2[propertyName];
4972              } else {
4973                {
4974                  checkAttributeStringCoercion(expected, name2);
4975                }
4976                if (propertyInfo.sanitizeURL) {
4977                  sanitizeURL("" + expected);
4978                }
4979                var attributeName = propertyInfo.attributeName;
4980                var stringValue = null;
4981                if (propertyInfo.type === OVERLOADED_BOOLEAN) {
4982                  if (node2.hasAttribute(attributeName)) {
4983                    var value = node2.getAttribute(attributeName);
4984                    if (value === "") {
4985                      return true;
4986                    }
4987                    if (shouldRemoveAttribute(name2, expected, propertyInfo, false)) {
4988                      return value;
4989                    }
4990                    if (value === "" + expected) {
4991                      return expected;
4992                    }
4993                    return value;
4994                  }
4995                } else if (node2.hasAttribute(attributeName)) {
4996                  if (shouldRemoveAttribute(name2, expected, propertyInfo, false)) {
4997                    return node2.getAttribute(attributeName);
4998                  }
4999                  if (propertyInfo.type === BOOLEAN) {
5000                    return expected;
5001                  }
5002                  stringValue = node2.getAttribute(attributeName);
5003                }
5004                if (shouldRemoveAttribute(name2, expected, propertyInfo, false)) {
5005                  return stringValue === null ? expected : stringValue;
5006                } else if (stringValue === "" + expected) {
5007                  return expected;
5008                } else {
5009                  return stringValue;
5010                }
5011              }
5012            }
5013          }
5014          function getValueForAttribute(node2, name2, expected, isCustomComponentTag) {
5015            {
5016              if (!isAttributeNameSafe(name2)) {
5017                return;
5018              }
5019              if (!node2.hasAttribute(name2)) {
5020                return expected === void 0 ? void 0 : null;
5021              }
5022              var value = node2.getAttribute(name2);
5023              {
5024                checkAttributeStringCoercion(expected, name2);
5025              }
5026              if (value === "" + expected) {
5027                return expected;
5028              }
5029              return value;
5030            }
5031          }
5032          function setValueForProperty(node2, name2, value, isCustomComponentTag) {
5033            var propertyInfo = getPropertyInfo(name2);
5034            if (shouldIgnoreAttribute(name2, propertyInfo, isCustomComponentTag)) {
5035              return;
5036            }
5037            if (shouldRemoveAttribute(name2, value, propertyInfo, isCustomComponentTag)) {
5038              value = null;
5039            }
5040            if (isCustomComponentTag || propertyInfo === null) {
5041              if (isAttributeNameSafe(name2)) {
5042                var _attributeName = name2;
5043                if (value === null) {
5044                  node2.removeAttribute(_attributeName);
5045                } else {
5046                  {
5047                    checkAttributeStringCoercion(value, name2);
5048                  }
5049                  node2.setAttribute(_attributeName, "" + value);
5050                }
5051              }
5052              return;
5053            }
5054            var mustUseProperty = propertyInfo.mustUseProperty;
5055            if (mustUseProperty) {
5056              var propertyName = propertyInfo.propertyName;
5057              if (value === null) {
5058                var type = propertyInfo.type;
5059                node2[propertyName] = type === BOOLEAN ? false : "";
5060              } else {
5061                node2[propertyName] = value;
5062              }
5063              return;
5064            }
5065            var attributeName = propertyInfo.attributeName, attributeNamespace = propertyInfo.attributeNamespace;
5066            if (value === null) {
5067              node2.removeAttribute(attributeName);
5068            } else {
5069              var _type = propertyInfo.type;
5070              var attributeValue;
5071              if (_type === BOOLEAN || _type === OVERLOADED_BOOLEAN && value === true) {
5072                attributeValue = "";
5073              } else {
5074                {
5075                  {
5076                    checkAttributeStringCoercion(value, attributeName);
5077                  }
5078                  attributeValue = "" + value;
5079                }
5080                if (propertyInfo.sanitizeURL) {
5081                  sanitizeURL(attributeValue.toString());
5082                }
5083              }
5084              if (attributeNamespace) {
5085                node2.setAttributeNS(attributeNamespace, attributeName, attributeValue);
5086              } else {
5087                node2.setAttribute(attributeName, attributeValue);
5088              }
5089            }
5090          }
5091          var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.element");
5092          var REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal");
5093          var REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
5094          var REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode");
5095          var REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler");
5096          var REACT_PROVIDER_TYPE = /* @__PURE__ */ Symbol.for("react.provider");
5097          var REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context");
5098          var REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref");
5099          var REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense");
5100          var REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list");
5101          var REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo");
5102          var REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy");
5103          var REACT_SCOPE_TYPE = /* @__PURE__ */ Symbol.for("react.scope");
5104          var REACT_DEBUG_TRACING_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.debug_trace_mode");
5105          var REACT_OFFSCREEN_TYPE = /* @__PURE__ */ Symbol.for("react.offscreen");
5106          var REACT_LEGACY_HIDDEN_TYPE = /* @__PURE__ */ Symbol.for("react.legacy_hidden");
5107          var REACT_CACHE_TYPE = /* @__PURE__ */ Symbol.for("react.cache");
5108          var REACT_TRACING_MARKER_TYPE = /* @__PURE__ */ Symbol.for("react.tracing_marker");
5109          var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
5110          var FAUX_ITERATOR_SYMBOL = "@@iterator";
5111          function getIteratorFn(maybeIterable) {
5112            if (maybeIterable === null || typeof maybeIterable !== "object") {
5113              return null;
5114            }
5115            var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
5116            if (typeof maybeIterator === "function") {
5117              return maybeIterator;
5118            }
5119            return null;
5120          }
5121          var assign3 = Object.assign;
5122          var disabledDepth = 0;
5123          var prevLog;
5124          var prevInfo;
5125          var prevWarn;
5126          var prevError;
5127          var prevGroup;
5128          var prevGroupCollapsed;
5129          var prevGroupEnd;
5130          function disabledLog() {
5131          }
5132          disabledLog.__reactDisabledLog = true;
5133          function disableLogs() {
5134            {
5135              if (disabledDepth === 0) {
5136                prevLog = console.log;
5137                prevInfo = console.info;
5138                prevWarn = console.warn;
5139                prevError = console.error;
5140                prevGroup = console.group;
5141                prevGroupCollapsed = console.groupCollapsed;
5142                prevGroupEnd = console.groupEnd;
5143                var props = {
5144                  configurable: true,
5145                  enumerable: true,
5146                  value: disabledLog,
5147                  writable: true
5148                };
5149                Object.defineProperties(console, {
5150                  info: props,
5151                  log: props,
5152                  warn: props,
5153                  error: props,
5154                  group: props,
5155                  groupCollapsed: props,
5156                  groupEnd: props
5157                });
5158              }
5159              disabledDepth++;
5160            }
5161          }
5162          function reenableLogs() {
5163            {
5164              disabledDepth--;
5165              if (disabledDepth === 0) {
5166                var props = {
5167                  configurable: true,
5168                  enumerable: true,
5169                  writable: true
5170                };
5171                Object.defineProperties(console, {
5172                  log: assign3({}, props, {
5173                    value: prevLog
5174                  }),
5175                  info: assign3({}, props, {
5176                    value: prevInfo
5177                  }),
5178                  warn: assign3({}, props, {
5179                    value: prevWarn
5180                  }),
5181                  error: assign3({}, props, {
5182                    value: prevError
5183                  }),
5184                  group: assign3({}, props, {
5185                    value: prevGroup
5186                  }),
5187                  groupCollapsed: assign3({}, props, {
5188                    value: prevGroupCollapsed
5189                  }),
5190                  groupEnd: assign3({}, props, {
5191                    value: prevGroupEnd
5192                  })
5193                });
5194              }
5195              if (disabledDepth < 0) {
5196                error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
5197              }
5198            }
5199          }
5200          var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
5201          var prefix2;
5202          function describeBuiltInComponentFrame(name2, source, ownerFn) {
5203            {
5204              if (prefix2 === void 0) {
5205                try {
5206                  throw Error();
5207                } catch (x2) {
5208                  var match2 = x2.stack.trim().match(/\n( *(at )?)/);
5209                  prefix2 = match2 && match2[1] || "";
5210                }
5211              }
5212              return "\n" + prefix2 + name2;
5213            }
5214          }
5215          var reentry = false;
5216          var componentFrameCache;
5217          {
5218            var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
5219            componentFrameCache = new PossiblyWeakMap();
5220          }
5221          function describeNativeComponentFrame(fn, construct) {
5222            if (!fn || reentry) {
5223              return "";
5224            }
5225            {
5226              var frame = componentFrameCache.get(fn);
5227              if (frame !== void 0) {
5228                return frame;
5229              }
5230            }
5231            var control;
5232            reentry = true;
5233            var previousPrepareStackTrace = Error.prepareStackTrace;
5234            Error.prepareStackTrace = void 0;
5235            var previousDispatcher;
5236            {
5237              previousDispatcher = ReactCurrentDispatcher.current;
5238              ReactCurrentDispatcher.current = null;
5239              disableLogs();
5240            }
5241            try {
5242              if (construct) {
5243                var Fake = function() {
5244                  throw Error();
5245                };
5246                Object.defineProperty(Fake.prototype, "props", {
5247                  set: function() {
5248                    throw Error();
5249                  }
5250                });
5251                if (typeof Reflect === "object" && Reflect.construct) {
5252                  try {
5253                    Reflect.construct(Fake, []);
5254                  } catch (x2) {
5255                    control = x2;
5256                  }
5257                  Reflect.construct(fn, [], Fake);
5258                } else {
5259                  try {
5260                    Fake.call();
5261                  } catch (x2) {
5262                    control = x2;
5263                  }
5264                  fn.call(Fake.prototype);
5265                }
5266              } else {
5267                try {
5268                  throw Error();
5269                } catch (x2) {
5270                  control = x2;
5271                }
5272                fn();
5273              }
5274            } catch (sample) {
5275              if (sample && control && typeof sample.stack === "string") {
5276                var sampleLines = sample.stack.split("\n");
5277                var controlLines = control.stack.split("\n");
5278                var s2 = sampleLines.length - 1;
5279                var c = controlLines.length - 1;
5280                while (s2 >= 1 && c >= 0 && sampleLines[s2] !== controlLines[c]) {
5281                  c--;
5282                }
5283                for (; s2 >= 1 && c >= 0; s2--, c--) {
5284                  if (sampleLines[s2] !== controlLines[c]) {
5285                    if (s2 !== 1 || c !== 1) {
5286                      do {
5287                        s2--;
5288                        c--;
5289                        if (c < 0 || sampleLines[s2] !== controlLines[c]) {
5290                          var _frame = "\n" + sampleLines[s2].replace(" at new ", " at ");
5291                          if (fn.displayName && _frame.includes("<anonymous>")) {
5292                            _frame = _frame.replace("<anonymous>", fn.displayName);
5293                          }
5294                          {
5295                            if (typeof fn === "function") {
5296                              componentFrameCache.set(fn, _frame);
5297                            }
5298                          }
5299                          return _frame;
5300                        }
5301                      } while (s2 >= 1 && c >= 0);
5302                    }
5303                    break;
5304                  }
5305                }
5306              }
5307            } finally {
5308              reentry = false;
5309              {
5310                ReactCurrentDispatcher.current = previousDispatcher;
5311                reenableLogs();
5312              }
5313              Error.prepareStackTrace = previousPrepareStackTrace;
5314            }
5315            var name2 = fn ? fn.displayName || fn.name : "";
5316            var syntheticFrame = name2 ? describeBuiltInComponentFrame(name2) : "";
5317            {
5318              if (typeof fn === "function") {
5319                componentFrameCache.set(fn, syntheticFrame);
5320              }
5321            }
5322            return syntheticFrame;
5323          }
5324          function describeClassComponentFrame(ctor, source, ownerFn) {
5325            {
5326              return describeNativeComponentFrame(ctor, true);
5327            }
5328          }
5329          function describeFunctionComponentFrame(fn, source, ownerFn) {
5330            {
5331              return describeNativeComponentFrame(fn, false);
5332            }
5333          }
5334          function shouldConstruct(Component2) {
5335            var prototype2 = Component2.prototype;
5336            return !!(prototype2 && prototype2.isReactComponent);
5337          }
5338          function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
5339            if (type == null) {
5340              return "";
5341            }
5342            if (typeof type === "function") {
5343              {
5344                return describeNativeComponentFrame(type, shouldConstruct(type));
5345              }
5346            }
5347            if (typeof type === "string") {
5348              return describeBuiltInComponentFrame(type);
5349            }
5350            switch (type) {
5351              case REACT_SUSPENSE_TYPE:
5352                return describeBuiltInComponentFrame("Suspense");
5353              case REACT_SUSPENSE_LIST_TYPE:
5354                return describeBuiltInComponentFrame("SuspenseList");
5355            }
5356            if (typeof type === "object") {
5357              switch (type.$$typeof) {
5358                case REACT_FORWARD_REF_TYPE:
5359                  return describeFunctionComponentFrame(type.render);
5360                case REACT_MEMO_TYPE:
5361                  return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
5362                case REACT_LAZY_TYPE: {
5363                  var lazyComponent = type;
5364                  var payload = lazyComponent._payload;
5365                  var init3 = lazyComponent._init;
5366                  try {
5367                    return describeUnknownElementTypeFrameInDEV(init3(payload), source, ownerFn);
5368                  } catch (x2) {
5369                  }
5370                }
5371              }
5372            }
5373            return "";
5374          }
5375          function describeFiber(fiber) {
5376            var owner = fiber._debugOwner ? fiber._debugOwner.type : null;
5377            var source = fiber._debugSource;
5378            switch (fiber.tag) {
5379              case HostComponent:
5380                return describeBuiltInComponentFrame(fiber.type);
5381              case LazyComponent:
5382                return describeBuiltInComponentFrame("Lazy");
5383              case SuspenseComponent:
5384                return describeBuiltInComponentFrame("Suspense");
5385              case SuspenseListComponent:
5386                return describeBuiltInComponentFrame("SuspenseList");
5387              case FunctionComponent:
5388              case IndeterminateComponent:
5389              case SimpleMemoComponent:
5390                return describeFunctionComponentFrame(fiber.type);
5391              case ForwardRef:
5392                return describeFunctionComponentFrame(fiber.type.render);
5393              case ClassComponent:
5394                return describeClassComponentFrame(fiber.type);
5395              default:
5396                return "";
5397            }
5398          }
5399          function getStackByFiberInDevAndProd(workInProgress2) {
5400            try {
5401              var info = "";
5402              var node2 = workInProgress2;
5403              do {
5404                info += describeFiber(node2);
5405                node2 = node2.return;
5406              } while (node2);
5407              return info;
5408            } catch (x2) {
5409              return "\nError generating stack: " + x2.message + "\n" + x2.stack;
5410            }
5411          }
5412          function getWrappedName(outerType, innerType, wrapperName) {
5413            var displayName = outerType.displayName;
5414            if (displayName) {
5415              return displayName;
5416            }
5417            var functionName = innerType.displayName || innerType.name || "";
5418            return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
5419          }
5420          function getContextName(type) {
5421            return type.displayName || "Context";
5422          }
5423          function getComponentNameFromType(type) {
5424            if (type == null) {
5425              return null;
5426            }
5427            {
5428              if (typeof type.tag === "number") {
5429                error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
5430              }
5431            }
5432            if (typeof type === "function") {
5433              return type.displayName || type.name || null;
5434            }
5435            if (typeof type === "string") {
5436              return type;
5437            }
5438            switch (type) {
5439              case REACT_FRAGMENT_TYPE:
5440                return "Fragment";
5441              case REACT_PORTAL_TYPE:
5442                return "Portal";
5443              case REACT_PROFILER_TYPE:
5444                return "Profiler";
5445              case REACT_STRICT_MODE_TYPE:
5446                return "StrictMode";
5447              case REACT_SUSPENSE_TYPE:
5448                return "Suspense";
5449              case REACT_SUSPENSE_LIST_TYPE:
5450                return "SuspenseList";
5451            }
5452            if (typeof type === "object") {
5453              switch (type.$$typeof) {
5454                case REACT_CONTEXT_TYPE:
5455                  var context = type;
5456                  return getContextName(context) + ".Consumer";
5457                case REACT_PROVIDER_TYPE:
5458                  var provider = type;
5459                  return getContextName(provider._context) + ".Provider";
5460                case REACT_FORWARD_REF_TYPE:
5461                  return getWrappedName(type, type.render, "ForwardRef");
5462                case REACT_MEMO_TYPE:
5463                  var outerName = type.displayName || null;
5464                  if (outerName !== null) {
5465                    return outerName;
5466                  }
5467                  return getComponentNameFromType(type.type) || "Memo";
5468                case REACT_LAZY_TYPE: {
5469                  var lazyComponent = type;
5470                  var payload = lazyComponent._payload;
5471                  var init3 = lazyComponent._init;
5472                  try {
5473                    return getComponentNameFromType(init3(payload));
5474                  } catch (x2) {
5475                    return null;
5476                  }
5477                }
5478              }
5479            }
5480            return null;
5481          }
5482          function getWrappedName$1(outerType, innerType, wrapperName) {
5483            var functionName = innerType.displayName || innerType.name || "";
5484            return outerType.displayName || (functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName);
5485          }
5486          function getContextName$1(type) {
5487            return type.displayName || "Context";
5488          }
5489          function getComponentNameFromFiber(fiber) {
5490            var tag = fiber.tag, type = fiber.type;
5491            switch (tag) {
5492              case CacheComponent:
5493                return "Cache";
5494              case ContextConsumer:
5495                var context = type;
5496                return getContextName$1(context) + ".Consumer";
5497              case ContextProvider:
5498                var provider = type;
5499                return getContextName$1(provider._context) + ".Provider";
5500              case DehydratedFragment:
5501                return "DehydratedFragment";
5502              case ForwardRef:
5503                return getWrappedName$1(type, type.render, "ForwardRef");
5504              case Fragment4:
5505                return "Fragment";
5506              case HostComponent:
5507                return type;
5508              case HostPortal:
5509                return "Portal";
5510              case HostRoot:
5511                return "Root";
5512              case HostText:
5513                return "Text";
5514              case LazyComponent:
5515                return getComponentNameFromType(type);
5516              case Mode:
5517                if (type === REACT_STRICT_MODE_TYPE) {
5518                  return "StrictMode";
5519                }
5520                return "Mode";
5521              case OffscreenComponent:
5522                return "Offscreen";
5523              case Profiler:
5524                return "Profiler";
5525              case ScopeComponent:
5526                return "Scope";
5527              case SuspenseComponent:
5528                return "Suspense";
5529              case SuspenseListComponent:
5530                return "SuspenseList";
5531              case TracingMarkerComponent:
5532                return "TracingMarker";
5533              // The display name for this tags come from the user-provided type:
5534              case ClassComponent:
5535              case FunctionComponent:
5536              case IncompleteClassComponent:
5537              case IndeterminateComponent:
5538              case MemoComponent:
5539              case SimpleMemoComponent:
5540                if (typeof type === "function") {
5541                  return type.displayName || type.name || null;
5542                }
5543                if (typeof type === "string") {
5544                  return type;
5545                }
5546                break;
5547            }
5548            return null;
5549          }
5550          var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
5551          var current = null;
5552          var isRendering = false;
5553          function getCurrentFiberOwnerNameInDevOrNull() {
5554            {
5555              if (current === null) {
5556                return null;
5557              }
5558              var owner = current._debugOwner;
5559              if (owner !== null && typeof owner !== "undefined") {
5560                return getComponentNameFromFiber(owner);
5561              }
5562            }
5563            return null;
5564          }
5565          function getCurrentFiberStackInDev() {
5566            {
5567              if (current === null) {
5568                return "";
5569              }
5570              return getStackByFiberInDevAndProd(current);
5571            }
5572          }
5573          function resetCurrentFiber() {
5574            {
5575              ReactDebugCurrentFrame.getCurrentStack = null;
5576              current = null;
5577              isRendering = false;
5578            }
5579          }
5580          function setCurrentFiber(fiber) {
5581            {
5582              ReactDebugCurrentFrame.getCurrentStack = fiber === null ? null : getCurrentFiberStackInDev;
5583              current = fiber;
5584              isRendering = false;
5585            }
5586          }
5587          function getCurrentFiber() {
5588            {
5589              return current;
5590            }
5591          }
5592          function setIsRendering(rendering) {
5593            {
5594              isRendering = rendering;
5595            }
5596          }
5597          function toString3(value) {
5598            return "" + value;
5599          }
5600          function getToStringValue(value) {
5601            switch (typeof value) {
5602              case "boolean":
5603              case "number":
5604              case "string":
5605              case "undefined":
5606                return value;
5607              case "object":
5608                {
5609                  checkFormFieldValueStringCoercion(value);
5610                }
5611                return value;
5612              default:
5613                return "";
5614            }
5615          }
5616          var hasReadOnlyValue = {
5617            button: true,
5618            checkbox: true,
5619            image: true,
5620            hidden: true,
5621            radio: true,
5622            reset: true,
5623            submit: true
5624          };
5625          function checkControlledValueProps(tagName, props) {
5626            {
5627              if (!(hasReadOnlyValue[props.type] || props.onChange || props.onInput || props.readOnly || props.disabled || props.value == null)) {
5628                error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.");
5629              }
5630              if (!(props.onChange || props.readOnly || props.disabled || props.checked == null)) {
5631                error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.");
5632              }
5633            }
5634          }
5635          function isCheckable(elem) {
5636            var type = elem.type;
5637            var nodeName = elem.nodeName;
5638            return nodeName && nodeName.toLowerCase() === "input" && (type === "checkbox" || type === "radio");
5639          }
5640          function getTracker(node2) {
5641            return node2._valueTracker;
5642          }
5643          function detachTracker(node2) {
5644            node2._valueTracker = null;
5645          }
5646          function getValueFromNode(node2) {
5647            var value = "";
5648            if (!node2) {
5649              return value;
5650            }
5651            if (isCheckable(node2)) {
5652              value = node2.checked ? "true" : "false";
5653            } else {
5654              value = node2.value;
5655            }
5656            return value;
5657          }
5658          function trackValueOnNode(node2) {
5659            var valueField = isCheckable(node2) ? "checked" : "value";
5660            var descriptor = Object.getOwnPropertyDescriptor(node2.constructor.prototype, valueField);
5661            {
5662              checkFormFieldValueStringCoercion(node2[valueField]);
5663            }
5664            var currentValue = "" + node2[valueField];
5665            if (node2.hasOwnProperty(valueField) || typeof descriptor === "undefined" || typeof descriptor.get !== "function" || typeof descriptor.set !== "function") {
5666              return;
5667            }
5668            var get2 = descriptor.get, set2 = descriptor.set;
5669            Object.defineProperty(node2, valueField, {
5670              configurable: true,
5671              get: function() {
5672                return get2.call(this);
5673              },
5674              set: function(value) {
5675                {
5676                  checkFormFieldValueStringCoercion(value);
5677                }
5678                currentValue = "" + value;
5679                set2.call(this, value);
5680              }
5681            });
5682            Object.defineProperty(node2, valueField, {
5683              enumerable: descriptor.enumerable
5684            });
5685            var tracker = {
5686              getValue: function() {
5687                return currentValue;
5688              },
5689              setValue: function(value) {
5690                {
5691                  checkFormFieldValueStringCoercion(value);
5692                }
5693                currentValue = "" + value;
5694              },
5695              stopTracking: function() {
5696                detachTracker(node2);
5697                delete node2[valueField];
5698              }
5699            };
5700            return tracker;
5701          }
5702          function track(node2) {
5703            if (getTracker(node2)) {
5704              return;
5705            }
5706            node2._valueTracker = trackValueOnNode(node2);
5707          }
5708          function updateValueIfChanged(node2) {
5709            if (!node2) {
5710              return false;
5711            }
5712            var tracker = getTracker(node2);
5713            if (!tracker) {
5714              return true;
5715            }
5716            var lastValue = tracker.getValue();
5717            var nextValue = getValueFromNode(node2);
5718            if (nextValue !== lastValue) {
5719              tracker.setValue(nextValue);
5720              return true;
5721            }
5722            return false;
5723          }
5724          function getActiveElement(doc) {
5725            doc = doc || (typeof document !== "undefined" ? document : void 0);
5726            if (typeof doc === "undefined") {
5727              return null;
5728            }
5729            try {
5730              return doc.activeElement || doc.body;
5731            } catch (e) {
5732              return doc.body;
5733            }
5734          }
5735          var didWarnValueDefaultValue = false;
5736          var didWarnCheckedDefaultChecked = false;
5737          var didWarnControlledToUncontrolled = false;
5738          var didWarnUncontrolledToControlled = false;
5739          function isControlled(props) {
5740            var usesChecked = props.type === "checkbox" || props.type === "radio";
5741            return usesChecked ? props.checked != null : props.value != null;
5742          }
5743          function getHostProps(element, props) {
5744            var node2 = element;
5745            var checked = props.checked;
5746            var hostProps = assign3({}, props, {
5747              defaultChecked: void 0,
5748              defaultValue: void 0,
5749              value: void 0,
5750              checked: checked != null ? checked : node2._wrapperState.initialChecked
5751            });
5752            return hostProps;
5753          }
5754          function initWrapperState(element, props) {
5755            {
5756              checkControlledValueProps("input", props);
5757              if (props.checked !== void 0 && props.defaultChecked !== void 0 && !didWarnCheckedDefaultChecked) {
5758                error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components", getCurrentFiberOwnerNameInDevOrNull() || "A component", props.type);
5759                didWarnCheckedDefaultChecked = true;
5760              }
5761              if (props.value !== void 0 && props.defaultValue !== void 0 && !didWarnValueDefaultValue) {
5762                error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components", getCurrentFiberOwnerNameInDevOrNull() || "A component", props.type);
5763                didWarnValueDefaultValue = true;
5764              }
5765            }
5766            var node2 = element;
5767            var defaultValue = props.defaultValue == null ? "" : props.defaultValue;
5768            node2._wrapperState = {
5769              initialChecked: props.checked != null ? props.checked : props.defaultChecked,
5770              initialValue: getToStringValue(props.value != null ? props.value : defaultValue),
5771              controlled: isControlled(props)
5772            };
5773          }
5774          function updateChecked(element, props) {
5775            var node2 = element;
5776            var checked = props.checked;
5777            if (checked != null) {
5778              setValueForProperty(node2, "checked", checked, false);
5779            }
5780          }
5781          function updateWrapper(element, props) {
5782            var node2 = element;
5783            {
5784              var controlled = isControlled(props);
5785              if (!node2._wrapperState.controlled && controlled && !didWarnUncontrolledToControlled) {
5786                error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components");
5787                didWarnUncontrolledToControlled = true;
5788              }
5789              if (node2._wrapperState.controlled && !controlled && !didWarnControlledToUncontrolled) {
5790                error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components");
5791                didWarnControlledToUncontrolled = true;
5792              }
5793            }
5794            updateChecked(element, props);
5795            var value = getToStringValue(props.value);
5796            var type = props.type;
5797            if (value != null) {
5798              if (type === "number") {
5799                if (value === 0 && node2.value === "" || // We explicitly want to coerce to number here if possible.
5800                // eslint-disable-next-line
5801                node2.value != value) {
5802                  node2.value = toString3(value);
5803                }
5804              } else if (node2.value !== toString3(value)) {
5805                node2.value = toString3(value);
5806              }
5807            } else if (type === "submit" || type === "reset") {
5808              node2.removeAttribute("value");
5809              return;
5810            }
5811            {
5812              if (props.hasOwnProperty("value")) {
5813                setDefaultValue(node2, props.type, value);
5814              } else if (props.hasOwnProperty("defaultValue")) {
5815                setDefaultValue(node2, props.type, getToStringValue(props.defaultValue));
5816              }
5817            }
5818            {
5819              if (props.checked == null && props.defaultChecked != null) {
5820                node2.defaultChecked = !!props.defaultChecked;
5821              }
5822            }
5823          }
5824          function postMountWrapper(element, props, isHydrating2) {
5825            var node2 = element;
5826            if (props.hasOwnProperty("value") || props.hasOwnProperty("defaultValue")) {
5827              var type = props.type;
5828              var isButton = type === "submit" || type === "reset";
5829              if (isButton && (props.value === void 0 || props.value === null)) {
5830                return;
5831              }
5832              var initialValue = toString3(node2._wrapperState.initialValue);
5833              if (!isHydrating2) {
5834                {
5835                  if (initialValue !== node2.value) {
5836                    node2.value = initialValue;
5837                  }
5838                }
5839              }
5840              {
5841                node2.defaultValue = initialValue;
5842              }
5843            }
5844            var name2 = node2.name;
5845            if (name2 !== "") {
5846              node2.name = "";
5847            }
5848            {
5849              node2.defaultChecked = !node2.defaultChecked;
5850              node2.defaultChecked = !!node2._wrapperState.initialChecked;
5851            }
5852            if (name2 !== "") {
5853              node2.name = name2;
5854            }
5855          }
5856          function restoreControlledState(element, props) {
5857            var node2 = element;
5858            updateWrapper(node2, props);
5859            updateNamedCousins(node2, props);
5860          }
5861          function updateNamedCousins(rootNode, props) {
5862            var name2 = props.name;
5863            if (props.type === "radio" && name2 != null) {
5864              var queryRoot = rootNode;
5865              while (queryRoot.parentNode) {
5866                queryRoot = queryRoot.parentNode;
5867              }
5868              {
5869                checkAttributeStringCoercion(name2, "name");
5870              }
5871              var group = queryRoot.querySelectorAll("input[name=" + JSON.stringify("" + name2) + '][type="radio"]');
5872              for (var i2 = 0; i2 < group.length; i2++) {
5873                var otherNode = group[i2];
5874                if (otherNode === rootNode || otherNode.form !== rootNode.form) {
5875                  continue;
5876                }
5877                var otherProps = getFiberCurrentPropsFromNode(otherNode);
5878                if (!otherProps) {
5879                  throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");
5880                }
5881                updateValueIfChanged(otherNode);
5882                updateWrapper(otherNode, otherProps);
5883              }
5884            }
5885          }
5886          function setDefaultValue(node2, type, value) {
5887            if (
5888              // Focused number inputs synchronize on blur. See ChangeEventPlugin.js
5889              type !== "number" || getActiveElement(node2.ownerDocument) !== node2
5890            ) {
5891              if (value == null) {
5892                node2.defaultValue = toString3(node2._wrapperState.initialValue);
5893              } else if (node2.defaultValue !== toString3(value)) {
5894                node2.defaultValue = toString3(value);
5895              }
5896            }
5897          }
5898          var didWarnSelectedSetOnOption = false;
5899          var didWarnInvalidChild = false;
5900          var didWarnInvalidInnerHTML = false;
5901          function validateProps(element, props) {
5902            {
5903              if (props.value == null) {
5904                if (typeof props.children === "object" && props.children !== null) {
5905                  React17.Children.forEach(props.children, function(child) {
5906                    if (child == null) {
5907                      return;
5908                    }
5909                    if (typeof child === "string" || typeof child === "number") {
5910                      return;
5911                    }
5912                    if (!didWarnInvalidChild) {
5913                      didWarnInvalidChild = true;
5914                      error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.");
5915                    }
5916                  });
5917                } else if (props.dangerouslySetInnerHTML != null) {
5918                  if (!didWarnInvalidInnerHTML) {
5919                    didWarnInvalidInnerHTML = true;
5920                    error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.");
5921                  }
5922                }
5923              }
5924              if (props.selected != null && !didWarnSelectedSetOnOption) {
5925                error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>.");
5926                didWarnSelectedSetOnOption = true;
5927              }
5928            }
5929          }
5930          function postMountWrapper$1(element, props) {
5931            if (props.value != null) {
5932              element.setAttribute("value", toString3(getToStringValue(props.value)));
5933            }
5934          }
5935          var isArrayImpl = Array.isArray;
5936          function isArray3(a) {
5937            return isArrayImpl(a);
5938          }
5939          var didWarnValueDefaultValue$1;
5940          {
5941            didWarnValueDefaultValue$1 = false;
5942          }
5943          function getDeclarationErrorAddendum() {
5944            var ownerName = getCurrentFiberOwnerNameInDevOrNull();
5945            if (ownerName) {
5946              return "\n\nCheck the render method of `" + ownerName + "`.";
5947            }
5948            return "";
5949          }
5950          var valuePropNames = ["value", "defaultValue"];
5951          function checkSelectPropTypes(props) {
5952            {
5953              checkControlledValueProps("select", props);
5954              for (var i2 = 0; i2 < valuePropNames.length; i2++) {
5955                var propName = valuePropNames[i2];
5956                if (props[propName] == null) {
5957                  continue;
5958                }
5959                var propNameIsArray = isArray3(props[propName]);
5960                if (props.multiple && !propNameIsArray) {
5961                  error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s", propName, getDeclarationErrorAddendum());
5962                } else if (!props.multiple && propNameIsArray) {
5963                  error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s", propName, getDeclarationErrorAddendum());
5964                }
5965              }
5966            }
5967          }
5968          function updateOptions(node2, multiple, propValue, setDefaultSelected) {
5969            var options3 = node2.options;
5970            if (multiple) {
5971              var selectedValues = propValue;
5972              var selectedValue = {};
5973              for (var i2 = 0; i2 < selectedValues.length; i2++) {
5974                selectedValue["$" + selectedValues[i2]] = true;
5975              }
5976              for (var _i = 0; _i < options3.length; _i++) {
5977                var selected = selectedValue.hasOwnProperty("$" + options3[_i].value);
5978                if (options3[_i].selected !== selected) {
5979                  options3[_i].selected = selected;
5980                }
5981                if (selected && setDefaultSelected) {
5982                  options3[_i].defaultSelected = true;
5983                }
5984              }
5985            } else {
5986              var _selectedValue = toString3(getToStringValue(propValue));
5987              var defaultSelected = null;
5988              for (var _i2 = 0; _i2 < options3.length; _i2++) {
5989                if (options3[_i2].value === _selectedValue) {
5990                  options3[_i2].selected = true;
5991                  if (setDefaultSelected) {
5992                    options3[_i2].defaultSelected = true;
5993                  }
5994                  return;
5995                }
5996                if (defaultSelected === null && !options3[_i2].disabled) {
5997                  defaultSelected = options3[_i2];
5998                }
5999              }
6000              if (defaultSelected !== null) {
6001                defaultSelected.selected = true;
6002              }
6003            }
6004          }
6005          function getHostProps$1(element, props) {
6006            return assign3({}, props, {
6007              value: void 0
6008            });
6009          }
6010          function initWrapperState$1(element, props) {
6011            var node2 = element;
6012            {
6013              checkSelectPropTypes(props);
6014            }
6015            node2._wrapperState = {
6016              wasMultiple: !!props.multiple
6017            };
6018            {
6019              if (props.value !== void 0 && props.defaultValue !== void 0 && !didWarnValueDefaultValue$1) {
6020                error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components");
6021                didWarnValueDefaultValue$1 = true;
6022              }
6023            }
6024          }
6025          function postMountWrapper$2(element, props) {
6026            var node2 = element;
6027            node2.multiple = !!props.multiple;
6028            var value = props.value;
6029            if (value != null) {
6030              updateOptions(node2, !!props.multiple, value, false);
6031            } else if (props.defaultValue != null) {
6032              updateOptions(node2, !!props.multiple, props.defaultValue, true);
6033            }
6034          }
6035          function postUpdateWrapper(element, props) {
6036            var node2 = element;
6037            var wasMultiple = node2._wrapperState.wasMultiple;
6038            node2._wrapperState.wasMultiple = !!props.multiple;
6039            var value = props.value;
6040            if (value != null) {
6041              updateOptions(node2, !!props.multiple, value, false);
6042            } else if (wasMultiple !== !!props.multiple) {
6043              if (props.defaultValue != null) {
6044                updateOptions(node2, !!props.multiple, props.defaultValue, true);
6045              } else {
6046                updateOptions(node2, !!props.multiple, props.multiple ? [] : "", false);
6047              }
6048            }
6049          }
6050          function restoreControlledState$1(element, props) {
6051            var node2 = element;
6052            var value = props.value;
6053            if (value != null) {
6054              updateOptions(node2, !!props.multiple, value, false);
6055            }
6056          }
6057          var didWarnValDefaultVal = false;
6058          function getHostProps$2(element, props) {
6059            var node2 = element;
6060            if (props.dangerouslySetInnerHTML != null) {
6061              throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");
6062            }
6063            var hostProps = assign3({}, props, {
6064              value: void 0,
6065              defaultValue: void 0,
6066              children: toString3(node2._wrapperState.initialValue)
6067            });
6068            return hostProps;
6069          }
6070          function initWrapperState$2(element, props) {
6071            var node2 = element;
6072            {
6073              checkControlledValueProps("textarea", props);
6074              if (props.value !== void 0 && props.defaultValue !== void 0 && !didWarnValDefaultVal) {
6075                error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components", getCurrentFiberOwnerNameInDevOrNull() || "A component");
6076                didWarnValDefaultVal = true;
6077              }
6078            }
6079            var initialValue = props.value;
6080            if (initialValue == null) {
6081              var children = props.children, defaultValue = props.defaultValue;
6082              if (children != null) {
6083                {
6084                  error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");
6085                }
6086                {
6087                  if (defaultValue != null) {
6088                    throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");
6089                  }
6090                  if (isArray3(children)) {
6091                    if (children.length > 1) {
6092                      throw new Error("<textarea> can only have at most one child.");
6093                    }
6094                    children = children[0];
6095                  }
6096                  defaultValue = children;
6097                }
6098              }
6099              if (defaultValue == null) {
6100                defaultValue = "";
6101              }
6102              initialValue = defaultValue;
6103            }
6104            node2._wrapperState = {
6105              initialValue: getToStringValue(initialValue)
6106            };
6107          }
6108          function updateWrapper$1(element, props) {
6109            var node2 = element;
6110            var value = getToStringValue(props.value);
6111            var defaultValue = getToStringValue(props.defaultValue);
6112            if (value != null) {
6113              var newValue = toString3(value);
6114              if (newValue !== node2.value) {
6115                node2.value = newValue;
6116              }
6117              if (props.defaultValue == null && node2.defaultValue !== newValue) {
6118                node2.defaultValue = newValue;
6119              }
6120            }
6121            if (defaultValue != null) {
6122              node2.defaultValue = toString3(defaultValue);
6123            }
6124          }
6125          function postMountWrapper$3(element, props) {
6126            var node2 = element;
6127            var textContent = node2.textContent;
6128            if (textContent === node2._wrapperState.initialValue) {
6129              if (textContent !== "" && textContent !== null) {
6130                node2.value = textContent;
6131              }
6132            }
6133          }
6134          function restoreControlledState$2(element, props) {
6135            updateWrapper$1(element, props);
6136          }
6137          var HTML_NAMESPACE = "http://www.w3.org/1999/xhtml";
6138          var MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML";
6139          var SVG_NAMESPACE = "http://www.w3.org/2000/svg";
6140          function getIntrinsicNamespace(type) {
6141            switch (type) {
6142              case "svg":
6143                return SVG_NAMESPACE;
6144              case "math":
6145                return MATH_NAMESPACE;
6146              default:
6147                return HTML_NAMESPACE;
6148            }
6149          }
6150          function getChildNamespace(parentNamespace, type) {
6151            if (parentNamespace == null || parentNamespace === HTML_NAMESPACE) {
6152              return getIntrinsicNamespace(type);
6153            }
6154            if (parentNamespace === SVG_NAMESPACE && type === "foreignObject") {
6155              return HTML_NAMESPACE;
6156            }
6157            return parentNamespace;
6158          }
6159          var createMicrosoftUnsafeLocalFunction = function(func) {
6160            if (typeof MSApp !== "undefined" && MSApp.execUnsafeLocalFunction) {
6161              return function(arg0, arg1, arg2, arg3) {
6162                MSApp.execUnsafeLocalFunction(function() {
6163                  return func(arg0, arg1, arg2, arg3);
6164                });
6165              };
6166            } else {
6167              return func;
6168            }
6169          };
6170          var reusableSVGContainer;
6171          var setInnerHTML = createMicrosoftUnsafeLocalFunction(function(node2, html) {
6172            if (node2.namespaceURI === SVG_NAMESPACE) {
6173              if (!("innerHTML" in node2)) {
6174                reusableSVGContainer = reusableSVGContainer || document.createElement("div");
6175                reusableSVGContainer.innerHTML = "<svg>" + html.valueOf().toString() + "</svg>";
6176                var svgNode = reusableSVGContainer.firstChild;
6177                while (node2.firstChild) {
6178                  node2.removeChild(node2.firstChild);
6179                }
6180                while (svgNode.firstChild) {
6181                  node2.appendChild(svgNode.firstChild);
6182                }
6183                return;
6184              }
6185            }
6186            node2.innerHTML = html;
6187          });
6188          var ELEMENT_NODE = 1;
6189          var TEXT_NODE = 3;
6190          var COMMENT_NODE = 8;
6191          var DOCUMENT_NODE = 9;
6192          var DOCUMENT_FRAGMENT_NODE = 11;
6193          var setTextContent = function(node2, text2) {
6194            if (text2) {
6195              var firstChild = node2.firstChild;
6196              if (firstChild && firstChild === node2.lastChild && firstChild.nodeType === TEXT_NODE) {
6197                firstChild.nodeValue = text2;
6198                return;
6199              }
6200            }
6201            node2.textContent = text2;
6202          };
6203          var shorthandToLonghand = {
6204            animation: ["animationDelay", "animationDirection", "animationDuration", "animationFillMode", "animationIterationCount", "animationName", "animationPlayState", "animationTimingFunction"],
6205            background: ["backgroundAttachment", "backgroundClip", "backgroundColor", "backgroundImage", "backgroundOrigin", "backgroundPositionX", "backgroundPositionY", "backgroundRepeat", "backgroundSize"],
6206            backgroundPosition: ["backgroundPositionX", "backgroundPositionY"],
6207            border: ["borderBottomColor", "borderBottomStyle", "borderBottomWidth", "borderImageOutset", "borderImageRepeat", "borderImageSlice", "borderImageSource", "borderImageWidth", "borderLeftColor", "borderLeftStyle", "borderLeftWidth", "borderRightColor", "borderRightStyle", "borderRightWidth", "borderTopColor", "borderTopStyle", "borderTopWidth"],
6208            borderBlockEnd: ["borderBlockEndColor", "borderBlockEndStyle", "borderBlockEndWidth"],
6209            borderBlockStart: ["borderBlockStartColor", "borderBlockStartStyle", "borderBlockStartWidth"],
6210            borderBottom: ["borderBottomColor", "borderBottomStyle", "borderBottomWidth"],
6211            borderColor: ["borderBottomColor", "borderLeftColor", "borderRightColor", "borderTopColor"],
6212            borderImage: ["borderImageOutset", "borderImageRepeat", "borderImageSlice", "borderImageSource", "borderImageWidth"],
6213            borderInlineEnd: ["borderInlineEndColor", "borderInlineEndStyle", "borderInlineEndWidth"],
6214            borderInlineStart: ["borderInlineStartColor", "borderInlineStartStyle", "borderInlineStartWidth"],
6215            borderLeft: ["borderLeftColor", "borderLeftStyle", "borderLeftWidth"],
6216            borderRadius: ["borderBottomLeftRadius", "borderBottomRightRadius", "borderTopLeftRadius", "borderTopRightRadius"],
6217            borderRight: ["borderRightColor", "borderRightStyle", "borderRightWidth"],
6218            borderStyle: ["borderBottomStyle", "borderLeftStyle", "borderRightStyle", "borderTopStyle"],
6219            borderTop: ["borderTopColor", "borderTopStyle", "borderTopWidth"],
6220            borderWidth: ["borderBottomWidth", "borderLeftWidth", "borderRightWidth", "borderTopWidth"],
6221            columnRule: ["columnRuleColor", "columnRuleStyle", "columnRuleWidth"],
6222            columns: ["columnCount", "columnWidth"],
6223            flex: ["flexBasis", "flexGrow", "flexShrink"],
6224            flexFlow: ["flexDirection", "flexWrap"],
6225            font: ["fontFamily", "fontFeatureSettings", "fontKerning", "fontLanguageOverride", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontVariantAlternates", "fontVariantCaps", "fontVariantEastAsian", "fontVariantLigatures", "fontVariantNumeric", "fontVariantPosition", "fontWeight", "lineHeight"],
6226            fontVariant: ["fontVariantAlternates", "fontVariantCaps", "fontVariantEastAsian", "fontVariantLigatures", "fontVariantNumeric", "fontVariantPosition"],
6227            gap: ["columnGap", "rowGap"],
6228            grid: ["gridAutoColumns", "gridAutoFlow", "gridAutoRows", "gridTemplateAreas", "gridTemplateColumns", "gridTemplateRows"],
6229            gridArea: ["gridColumnEnd", "gridColumnStart", "gridRowEnd", "gridRowStart"],
6230            gridColumn: ["gridColumnEnd", "gridColumnStart"],
6231            gridColumnGap: ["columnGap"],
6232            gridGap: ["columnGap", "rowGap"],
6233            gridRow: ["gridRowEnd", "gridRowStart"],
6234            gridRowGap: ["rowGap"],
6235            gridTemplate: ["gridTemplateAreas", "gridTemplateColumns", "gridTemplateRows"],
6236            listStyle: ["listStyleImage", "listStylePosition", "listStyleType"],
6237            margin: ["marginBottom", "marginLeft", "marginRight", "marginTop"],
6238            marker: ["markerEnd", "markerMid", "markerStart"],
6239            mask: ["maskClip", "maskComposite", "maskImage", "maskMode", "maskOrigin", "maskPositionX", "maskPositionY", "maskRepeat", "maskSize"],
6240            maskPosition: ["maskPositionX", "maskPositionY"],
6241            outline: ["outlineColor", "outlineStyle", "outlineWidth"],
6242            overflow: ["overflowX", "overflowY"],
6243            padding: ["paddingBottom", "paddingLeft", "paddingRight", "paddingTop"],
6244            placeContent: ["alignContent", "justifyContent"],
6245            placeItems: ["alignItems", "justifyItems"],
6246            placeSelf: ["alignSelf", "justifySelf"],
6247            textDecoration: ["textDecorationColor", "textDecorationLine", "textDecorationStyle"],
6248            textEmphasis: ["textEmphasisColor", "textEmphasisStyle"],
6249            transition: ["transitionDelay", "transitionDuration", "transitionProperty", "transitionTimingFunction"],
6250            wordWrap: ["overflowWrap"]
6251          };
6252          var isUnitlessNumber = {
6253            animationIterationCount: true,
6254            aspectRatio: true,
6255            borderImageOutset: true,
6256            borderImageSlice: true,
6257            borderImageWidth: true,
6258            boxFlex: true,
6259            boxFlexGroup: true,
6260            boxOrdinalGroup: true,
6261            columnCount: true,
6262            columns: true,
6263            flex: true,
6264            flexGrow: true,
6265            flexPositive: true,
6266            flexShrink: true,
6267            flexNegative: true,
6268            flexOrder: true,
6269            gridArea: true,
6270            gridRow: true,
6271            gridRowEnd: true,
6272            gridRowSpan: true,
6273            gridRowStart: true,
6274            gridColumn: true,
6275            gridColumnEnd: true,
6276            gridColumnSpan: true,
6277            gridColumnStart: true,
6278            fontWeight: true,
6279            lineClamp: true,
6280            lineHeight: true,
6281            opacity: true,
6282            order: true,
6283            orphans: true,
6284            tabSize: true,
6285            widows: true,
6286            zIndex: true,
6287            zoom: true,
6288            // SVG-related properties
6289            fillOpacity: true,
6290            floodOpacity: true,
6291            stopOpacity: true,
6292            strokeDasharray: true,
6293            strokeDashoffset: true,
6294            strokeMiterlimit: true,
6295            strokeOpacity: true,
6296            strokeWidth: true
6297          };
6298          function prefixKey(prefix3, key) {
6299            return prefix3 + key.charAt(0).toUpperCase() + key.substring(1);
6300          }
6301          var prefixes = ["Webkit", "ms", "Moz", "O"];
6302          Object.keys(isUnitlessNumber).forEach(function(prop) {
6303            prefixes.forEach(function(prefix3) {
6304              isUnitlessNumber[prefixKey(prefix3, prop)] = isUnitlessNumber[prop];
6305            });
6306          });
6307          function dangerousStyleValue(name2, value, isCustomProperty3) {
6308            var isEmpty = value == null || typeof value === "boolean" || value === "";
6309            if (isEmpty) {
6310              return "";
6311            }
6312            if (!isCustomProperty3 && typeof value === "number" && value !== 0 && !(isUnitlessNumber.hasOwnProperty(name2) && isUnitlessNumber[name2])) {
6313              return value + "px";
6314            }
6315            {
6316              checkCSSPropertyStringCoercion(value, name2);
6317            }
6318            return ("" + value).trim();
6319          }
6320          var uppercasePattern = /([A-Z])/g;
6321          var msPattern = /^ms-/;
6322          function hyphenateStyleName(name2) {
6323            return name2.replace(uppercasePattern, "-$1").toLowerCase().replace(msPattern, "-ms-");
6324          }
6325          var warnValidStyle = function() {
6326          };
6327          {
6328            var badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/;
6329            var msPattern$1 = /^-ms-/;
6330            var hyphenPattern = /-(.)/g;
6331            var badStyleValueWithSemicolonPattern = /;\s*$/;
6332            var warnedStyleNames = {};
6333            var warnedStyleValues = {};
6334            var warnedForNaNValue = false;
6335            var warnedForInfinityValue = false;
6336            var camelize2 = function(string) {
6337              return string.replace(hyphenPattern, function(_, character2) {
6338                return character2.toUpperCase();
6339              });
6340            };
6341            var warnHyphenatedStyleName = function(name2) {
6342              if (warnedStyleNames.hasOwnProperty(name2) && warnedStyleNames[name2]) {
6343                return;
6344              }
6345              warnedStyleNames[name2] = true;
6346              error(
6347                "Unsupported style property %s. Did you mean %s?",
6348                name2,
6349                // As Andi Smith suggests
6350                // (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix
6351                // is converted to lowercase `ms`.
6352                camelize2(name2.replace(msPattern$1, "ms-"))
6353              );
6354            };
6355            var warnBadVendoredStyleName = function(name2) {
6356              if (warnedStyleNames.hasOwnProperty(name2) && warnedStyleNames[name2]) {
6357                return;
6358              }
6359              warnedStyleNames[name2] = true;
6360              error("Unsupported vendor-prefixed style property %s. Did you mean %s?", name2, name2.charAt(0).toUpperCase() + name2.slice(1));
6361            };
6362            var warnStyleValueWithSemicolon = function(name2, value) {
6363              if (warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value]) {
6364                return;
6365              }
6366              warnedStyleValues[value] = true;
6367              error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`, name2, value.replace(badStyleValueWithSemicolonPattern, ""));
6368            };
6369            var warnStyleValueIsNaN = function(name2, value) {
6370              if (warnedForNaNValue) {
6371                return;
6372              }
6373              warnedForNaNValue = true;
6374              error("`NaN` is an invalid value for the `%s` css style property.", name2);
6375            };
6376            var warnStyleValueIsInfinity = function(name2, value) {
6377              if (warnedForInfinityValue) {
6378                return;
6379              }
6380              warnedForInfinityValue = true;
6381              error("`Infinity` is an invalid value for the `%s` css style property.", name2);
6382            };
6383            warnValidStyle = function(name2, value) {
6384              if (name2.indexOf("-") > -1) {
6385                warnHyphenatedStyleName(name2);
6386              } else if (badVendoredStyleNamePattern.test(name2)) {
6387                warnBadVendoredStyleName(name2);
6388              } else if (badStyleValueWithSemicolonPattern.test(value)) {
6389                warnStyleValueWithSemicolon(name2, value);
6390              }
6391              if (typeof value === "number") {
6392                if (isNaN(value)) {
6393                  warnStyleValueIsNaN(name2, value);
6394                } else if (!isFinite(value)) {
6395                  warnStyleValueIsInfinity(name2, value);
6396                }
6397              }
6398            };
6399          }
6400          var warnValidStyle$1 = warnValidStyle;
6401          function createDangerousStringForStyles(styles2) {
6402            {
6403              var serialized = "";
6404              var delimiter2 = "";
6405              for (var styleName in styles2) {
6406                if (!styles2.hasOwnProperty(styleName)) {
6407                  continue;
6408                }
6409                var styleValue = styles2[styleName];
6410                if (styleValue != null) {
6411                  var isCustomProperty3 = styleName.indexOf("--") === 0;
6412                  serialized += delimiter2 + (isCustomProperty3 ? styleName : hyphenateStyleName(styleName)) + ":";
6413                  serialized += dangerousStyleValue(styleName, styleValue, isCustomProperty3);
6414                  delimiter2 = ";";
6415                }
6416              }
6417              return serialized || null;
6418            }
6419          }
6420          function setValueForStyles(node2, styles2) {
6421            var style2 = node2.style;
6422            for (var styleName in styles2) {
6423              if (!styles2.hasOwnProperty(styleName)) {
6424                continue;
6425              }
6426              var isCustomProperty3 = styleName.indexOf("--") === 0;
6427              {
6428                if (!isCustomProperty3) {
6429                  warnValidStyle$1(styleName, styles2[styleName]);
6430                }
6431              }
6432              var styleValue = dangerousStyleValue(styleName, styles2[styleName], isCustomProperty3);
6433              if (styleName === "float") {
6434                styleName = "cssFloat";
6435              }
6436              if (isCustomProperty3) {
6437                style2.setProperty(styleName, styleValue);
6438              } else {
6439                style2[styleName] = styleValue;
6440              }
6441            }
6442          }
6443          function isValueEmpty(value) {
6444            return value == null || typeof value === "boolean" || value === "";
6445          }
6446          function expandShorthandMap(styles2) {
6447            var expanded = {};
6448            for (var key in styles2) {
6449              var longhands = shorthandToLonghand[key] || [key];
6450              for (var i2 = 0; i2 < longhands.length; i2++) {
6451                expanded[longhands[i2]] = key;
6452              }
6453            }
6454            return expanded;
6455          }
6456          function validateShorthandPropertyCollisionInDev(styleUpdates, nextStyles) {
6457            {
6458              if (!nextStyles) {
6459                return;
6460              }
6461              var expandedUpdates = expandShorthandMap(styleUpdates);
6462              var expandedStyles = expandShorthandMap(nextStyles);
6463              var warnedAbout = {};
6464              for (var key in expandedUpdates) {
6465                var originalKey = expandedUpdates[key];
6466                var correctOriginalKey = expandedStyles[key];
6467                if (correctOriginalKey && originalKey !== correctOriginalKey) {
6468                  var warningKey = originalKey + "," + correctOriginalKey;
6469                  if (warnedAbout[warningKey]) {
6470                    continue;
6471                  }
6472                  warnedAbout[warningKey] = true;
6473                  error("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.", isValueEmpty(styleUpdates[originalKey]) ? "Removing" : "Updating", originalKey, correctOriginalKey);
6474                }
6475              }
6476            }
6477          }
6478          var omittedCloseTags = {
6479            area: true,
6480            base: true,
6481            br: true,
6482            col: true,
6483            embed: true,
6484            hr: true,
6485            img: true,
6486            input: true,
6487            keygen: true,
6488            link: true,
6489            meta: true,
6490            param: true,
6491            source: true,
6492            track: true,
6493            wbr: true
6494            // NOTE: menuitem's close tag should be omitted, but that causes problems.
6495          };
6496          var voidElementTags = assign3({
6497            menuitem: true
6498          }, omittedCloseTags);
6499          var HTML = "__html";
6500          function assertValidProps(tag, props) {
6501            if (!props) {
6502              return;
6503            }
6504            if (voidElementTags[tag]) {
6505              if (props.children != null || props.dangerouslySetInnerHTML != null) {
6506                throw new Error(tag + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");
6507              }
6508            }
6509            if (props.dangerouslySetInnerHTML != null) {
6510              if (props.children != null) {
6511                throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");
6512              }
6513              if (typeof props.dangerouslySetInnerHTML !== "object" || !(HTML in props.dangerouslySetInnerHTML)) {
6514                throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");
6515              }
6516            }
6517            {
6518              if (!props.suppressContentEditableWarning && props.contentEditable && props.children != null) {
6519                error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.");
6520              }
6521            }
6522            if (props.style != null && typeof props.style !== "object") {
6523              throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");
6524            }
6525          }
6526          function isCustomComponent(tagName, props) {
6527            if (tagName.indexOf("-") === -1) {
6528              return typeof props.is === "string";
6529            }
6530            switch (tagName) {
6531              // These are reserved SVG and MathML elements.
6532              // We don't mind this list too much because we expect it to never grow.
6533              // The alternative is to track the namespace in a few places which is convoluted.
6534              // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts
6535              case "annotation-xml":
6536              case "color-profile":
6537              case "font-face":
6538              case "font-face-src":
6539              case "font-face-uri":
6540              case "font-face-format":
6541              case "font-face-name":
6542              case "missing-glyph":
6543                return false;
6544              default:
6545                return true;
6546            }
6547          }
6548          var possibleStandardNames = {
6549            // HTML
6550            accept: "accept",
6551            acceptcharset: "acceptCharset",
6552            "accept-charset": "acceptCharset",
6553            accesskey: "accessKey",
6554            action: "action",
6555            allowfullscreen: "allowFullScreen",
6556            alt: "alt",
6557            as: "as",
6558            async: "async",
6559            autocapitalize: "autoCapitalize",
6560            autocomplete: "autoComplete",
6561            autocorrect: "autoCorrect",
6562            autofocus: "autoFocus",
6563            autoplay: "autoPlay",
6564            autosave: "autoSave",
6565            capture: "capture",
6566            cellpadding: "cellPadding",
6567            cellspacing: "cellSpacing",
6568            challenge: "challenge",
6569            charset: "charSet",
6570            checked: "checked",
6571            children: "children",
6572            cite: "cite",
6573            class: "className",
6574            classid: "classID",
6575            classname: "className",
6576            cols: "cols",
6577            colspan: "colSpan",
6578            content: "content",
6579            contenteditable: "contentEditable",
6580            contextmenu: "contextMenu",
6581            controls: "controls",
6582            controlslist: "controlsList",
6583            coords: "coords",
6584            crossorigin: "crossOrigin",
6585            dangerouslysetinnerhtml: "dangerouslySetInnerHTML",
6586            data: "data",
6587            datetime: "dateTime",
6588            default: "default",
6589            defaultchecked: "defaultChecked",
6590            defaultvalue: "defaultValue",
6591            defer: "defer",
6592            dir: "dir",
6593            disabled: "disabled",
6594            disablepictureinpicture: "disablePictureInPicture",
6595            disableremoteplayback: "disableRemotePlayback",
6596            download: "download",
6597            draggable: "draggable",
6598            enctype: "encType",
6599            enterkeyhint: "enterKeyHint",
6600            for: "htmlFor",
6601            form: "form",
6602            formmethod: "formMethod",
6603            formaction: "formAction",
6604            formenctype: "formEncType",
6605            formnovalidate: "formNoValidate",
6606            formtarget: "formTarget",
6607            frameborder: "frameBorder",
6608            headers: "headers",
6609            height: "height",
6610            hidden: "hidden",
6611            high: "high",
6612            href: "href",
6613            hreflang: "hrefLang",
6614            htmlfor: "htmlFor",
6615            httpequiv: "httpEquiv",
6616            "http-equiv": "httpEquiv",
6617            icon: "icon",
6618            id: "id",
6619            imagesizes: "imageSizes",
6620            imagesrcset: "imageSrcSet",
6621            innerhtml: "innerHTML",
6622            inputmode: "inputMode",
6623            integrity: "integrity",
6624            is: "is",
6625            itemid: "itemID",
6626            itemprop: "itemProp",
6627            itemref: "itemRef",
6628            itemscope: "itemScope",
6629            itemtype: "itemType",
6630            keyparams: "keyParams",
6631            keytype: "keyType",
6632            kind: "kind",
6633            label: "label",
6634            lang: "lang",
6635            list: "list",
6636            loop: "loop",
6637            low: "low",
6638            manifest: "manifest",
6639            marginwidth: "marginWidth",
6640            marginheight: "marginHeight",
6641            max: "max",
6642            maxlength: "maxLength",
6643            media: "media",
6644            mediagroup: "mediaGroup",
6645            method: "method",
6646            min: "min",
6647            minlength: "minLength",
6648            multiple: "multiple",
6649            muted: "muted",
6650            name: "name",
6651            nomodule: "noModule",
6652            nonce: "nonce",
6653            novalidate: "noValidate",
6654            open: "open",
6655            optimum: "optimum",
6656            pattern: "pattern",
6657            placeholder: "placeholder",
6658            playsinline: "playsInline",
6659            poster: "poster",
6660            preload: "preload",
6661            profile: "profile",
6662            radiogroup: "radioGroup",
6663            readonly: "readOnly",
6664            referrerpolicy: "referrerPolicy",
6665            rel: "rel",
6666            required: "required",
6667            reversed: "reversed",
6668            role: "role",
6669            rows: "rows",
6670            rowspan: "rowSpan",
6671            sandbox: "sandbox",
6672            scope: "scope",
6673            scoped: "scoped",
6674            scrolling: "scrolling",
6675            seamless: "seamless",
6676            selected: "selected",
6677            shape: "shape",
6678            size: "size",
6679            sizes: "sizes",
6680            span: "span",
6681            spellcheck: "spellCheck",
6682            src: "src",
6683            srcdoc: "srcDoc",
6684            srclang: "srcLang",
6685            srcset: "srcSet",
6686            start: "start",
6687            step: "step",
6688            style: "style",
6689            summary: "summary",
6690            tabindex: "tabIndex",
6691            target: "target",
6692            title: "title",
6693            type: "type",
6694            usemap: "useMap",
6695            value: "value",
6696            width: "width",
6697            wmode: "wmode",
6698            wrap: "wrap",
6699            // SVG
6700            about: "about",
6701            accentheight: "accentHeight",
6702            "accent-height": "accentHeight",
6703            accumulate: "accumulate",
6704            additive: "additive",
6705            alignmentbaseline: "alignmentBaseline",
6706            "alignment-baseline": "alignmentBaseline",
6707            allowreorder: "allowReorder",
6708            alphabetic: "alphabetic",
6709            amplitude: "amplitude",
6710            arabicform: "arabicForm",
6711            "arabic-form": "arabicForm",
6712            ascent: "ascent",
6713            attributename: "attributeName",
6714            attributetype: "attributeType",
6715            autoreverse: "autoReverse",
6716            azimuth: "azimuth",
6717            basefrequency: "baseFrequency",
6718            baselineshift: "baselineShift",
6719            "baseline-shift": "baselineShift",
6720            baseprofile: "baseProfile",
6721            bbox: "bbox",
6722            begin: "begin",
6723            bias: "bias",
6724            by: "by",
6725            calcmode: "calcMode",
6726            capheight: "capHeight",
6727            "cap-height": "capHeight",
6728            clip: "clip",
6729            clippath: "clipPath",
6730            "clip-path": "clipPath",
6731            clippathunits: "clipPathUnits",
6732            cliprule: "clipRule",
6733            "clip-rule": "clipRule",
6734            color: "color",
6735            colorinterpolation: "colorInterpolation",
6736            "color-interpolation": "colorInterpolation",
6737            colorinterpolationfilters: "colorInterpolationFilters",
6738            "color-interpolation-filters": "colorInterpolationFilters",
6739            colorprofile: "colorProfile",
6740            "color-profile": "colorProfile",
6741            colorrendering: "colorRendering",
6742            "color-rendering": "colorRendering",
6743            contentscripttype: "contentScriptType",
6744            contentstyletype: "contentStyleType",
6745            cursor: "cursor",
6746            cx: "cx",
6747            cy: "cy",
6748            d: "d",
6749            datatype: "datatype",
6750            decelerate: "decelerate",
6751            descent: "descent",
6752            diffuseconstant: "diffuseConstant",
6753            direction: "direction",
6754            display: "display",
6755            divisor: "divisor",
6756            dominantbaseline: "dominantBaseline",
6757            "dominant-baseline": "dominantBaseline",
6758            dur: "dur",
6759            dx: "dx",
6760            dy: "dy",
6761            edgemode: "edgeMode",
6762            elevation: "elevation",
6763            enablebackground: "enableBackground",
6764            "enable-background": "enableBackground",
6765            end: "end",
6766            exponent: "exponent",
6767            externalresourcesrequired: "externalResourcesRequired",
6768            fill: "fill",
6769            fillopacity: "fillOpacity",
6770            "fill-opacity": "fillOpacity",
6771            fillrule: "fillRule",
6772            "fill-rule": "fillRule",
6773            filter: "filter",
6774            filterres: "filterRes",
6775            filterunits: "filterUnits",
6776            floodopacity: "floodOpacity",
6777            "flood-opacity": "floodOpacity",
6778            floodcolor: "floodColor",
6779            "flood-color": "floodColor",
6780            focusable: "focusable",
6781            fontfamily: "fontFamily",
6782            "font-family": "fontFamily",
6783            fontsize: "fontSize",
6784            "font-size": "fontSize",
6785            fontsizeadjust: "fontSizeAdjust",
6786            "font-size-adjust": "fontSizeAdjust",
6787            fontstretch: "fontStretch",
6788            "font-stretch": "fontStretch",
6789            fontstyle: "fontStyle",
6790            "font-style": "fontStyle",
6791            fontvariant: "fontVariant",
6792            "font-variant": "fontVariant",
6793            fontweight: "fontWeight",
6794            "font-weight": "fontWeight",
6795            format: "format",
6796            from: "from",
6797            fx: "fx",
6798            fy: "fy",
6799            g1: "g1",
6800            g2: "g2",
6801            glyphname: "glyphName",
6802            "glyph-name": "glyphName",
6803            glyphorientationhorizontal: "glyphOrientationHorizontal",
6804            "glyph-orientation-horizontal": "glyphOrientationHorizontal",
6805            glyphorientationvertical: "glyphOrientationVertical",
6806            "glyph-orientation-vertical": "glyphOrientationVertical",
6807            glyphref: "glyphRef",
6808            gradienttransform: "gradientTransform",
6809            gradientunits: "gradientUnits",
6810            hanging: "hanging",
6811            horizadvx: "horizAdvX",
6812            "horiz-adv-x": "horizAdvX",
6813            horizoriginx: "horizOriginX",
6814            "horiz-origin-x": "horizOriginX",
6815            ideographic: "ideographic",
6816            imagerendering: "imageRendering",
6817            "image-rendering": "imageRendering",
6818            in2: "in2",
6819            in: "in",
6820            inlist: "inlist",
6821            intercept: "intercept",
6822            k1: "k1",
6823            k2: "k2",
6824            k3: "k3",
6825            k4: "k4",
6826            k: "k",
6827            kernelmatrix: "kernelMatrix",
6828            kernelunitlength: "kernelUnitLength",
6829            kerning: "kerning",
6830            keypoints: "keyPoints",
6831            keysplines: "keySplines",
6832            keytimes: "keyTimes",
6833            lengthadjust: "lengthAdjust",
6834            letterspacing: "letterSpacing",
6835            "letter-spacing": "letterSpacing",
6836            lightingcolor: "lightingColor",
6837            "lighting-color": "lightingColor",
6838            limitingconeangle: "limitingConeAngle",
6839            local: "local",
6840            markerend: "markerEnd",
6841            "marker-end": "markerEnd",
6842            markerheight: "markerHeight",
6843            markermid: "markerMid",
6844            "marker-mid": "markerMid",
6845            markerstart: "markerStart",
6846            "marker-start": "markerStart",
6847            markerunits: "markerUnits",
6848            markerwidth: "markerWidth",
6849            mask: "mask",
6850            maskcontentunits: "maskContentUnits",
6851            maskunits: "maskUnits",
6852            mathematical: "mathematical",
6853            mode: "mode",
6854            numoctaves: "numOctaves",
6855            offset: "offset",
6856            opacity: "opacity",
6857            operator: "operator",
6858            order: "order",
6859            orient: "orient",
6860            orientation: "orientation",
6861            origin: "origin",
6862            overflow: "overflow",
6863            overlineposition: "overlinePosition",
6864            "overline-position": "overlinePosition",
6865            overlinethickness: "overlineThickness",
6866            "overline-thickness": "overlineThickness",
6867            paintorder: "paintOrder",
6868            "paint-order": "paintOrder",
6869            panose1: "panose1",
6870            "panose-1": "panose1",
6871            pathlength: "pathLength",
6872            patterncontentunits: "patternContentUnits",
6873            patterntransform: "patternTransform",
6874            patternunits: "patternUnits",
6875            pointerevents: "pointerEvents",
6876            "pointer-events": "pointerEvents",
6877            points: "points",
6878            pointsatx: "pointsAtX",
6879            pointsaty: "pointsAtY",
6880            pointsatz: "pointsAtZ",
6881            prefix: "prefix",
6882            preservealpha: "preserveAlpha",
6883            preserveaspectratio: "preserveAspectRatio",
6884            primitiveunits: "primitiveUnits",
6885            property: "property",
6886            r: "r",
6887            radius: "radius",
6888            refx: "refX",
6889            refy: "refY",
6890            renderingintent: "renderingIntent",
6891            "rendering-intent": "renderingIntent",
6892            repeatcount: "repeatCount",
6893            repeatdur: "repeatDur",
6894            requiredextensions: "requiredExtensions",
6895            requiredfeatures: "requiredFeatures",
6896            resource: "resource",
6897            restart: "restart",
6898            result: "result",
6899            results: "results",
6900            rotate: "rotate",
6901            rx: "rx",
6902            ry: "ry",
6903            scale: "scale",
6904            security: "security",
6905            seed: "seed",
6906            shaperendering: "shapeRendering",
6907            "shape-rendering": "shapeRendering",
6908            slope: "slope",
6909            spacing: "spacing",
6910            specularconstant: "specularConstant",
6911            specularexponent: "specularExponent",
6912            speed: "speed",
6913            spreadmethod: "spreadMethod",
6914            startoffset: "startOffset",
6915            stddeviation: "stdDeviation",
6916            stemh: "stemh",
6917            stemv: "stemv",
6918            stitchtiles: "stitchTiles",
6919            stopcolor: "stopColor",
6920            "stop-color": "stopColor",
6921            stopopacity: "stopOpacity",
6922            "stop-opacity": "stopOpacity",
6923            strikethroughposition: "strikethroughPosition",
6924            "strikethrough-position": "strikethroughPosition",
6925            strikethroughthickness: "strikethroughThickness",
6926            "strikethrough-thickness": "strikethroughThickness",
6927            string: "string",
6928            stroke: "stroke",
6929            strokedasharray: "strokeDasharray",
6930            "stroke-dasharray": "strokeDasharray",
6931            strokedashoffset: "strokeDashoffset",
6932            "stroke-dashoffset": "strokeDashoffset",
6933            strokelinecap: "strokeLinecap",
6934            "stroke-linecap": "strokeLinecap",
6935            strokelinejoin: "strokeLinejoin",
6936            "stroke-linejoin": "strokeLinejoin",
6937            strokemiterlimit: "strokeMiterlimit",
6938            "stroke-miterlimit": "strokeMiterlimit",
6939            strokewidth: "strokeWidth",
6940            "stroke-width": "strokeWidth",
6941            strokeopacity: "strokeOpacity",
6942            "stroke-opacity": "strokeOpacity",
6943            suppresscontenteditablewarning: "suppressContentEditableWarning",
6944            suppresshydrationwarning: "suppressHydrationWarning",
6945            surfacescale: "surfaceScale",
6946            systemlanguage: "systemLanguage",
6947            tablevalues: "tableValues",
6948            targetx: "targetX",
6949            targety: "targetY",
6950            textanchor: "textAnchor",
6951            "text-anchor": "textAnchor",
6952            textdecoration: "textDecoration",
6953            "text-decoration": "textDecoration",
6954            textlength: "textLength",
6955            textrendering: "textRendering",
6956            "text-rendering": "textRendering",
6957            to: "to",
6958            transform: "transform",
6959            typeof: "typeof",
6960            u1: "u1",
6961            u2: "u2",
6962            underlineposition: "underlinePosition",
6963            "underline-position": "underlinePosition",
6964            underlinethickness: "underlineThickness",
6965            "underline-thickness": "underlineThickness",
6966            unicode: "unicode",
6967            unicodebidi: "unicodeBidi",
6968            "unicode-bidi": "unicodeBidi",
6969            unicoderange: "unicodeRange",
6970            "unicode-range": "unicodeRange",
6971            unitsperem: "unitsPerEm",
6972            "units-per-em": "unitsPerEm",
6973            unselectable: "unselectable",
6974            valphabetic: "vAlphabetic",
6975            "v-alphabetic": "vAlphabetic",
6976            values: "values",
6977            vectoreffect: "vectorEffect",
6978            "vector-effect": "vectorEffect",
6979            version: "version",
6980            vertadvy: "vertAdvY",
6981            "vert-adv-y": "vertAdvY",
6982            vertoriginx: "vertOriginX",
6983            "vert-origin-x": "vertOriginX",
6984            vertoriginy: "vertOriginY",
6985            "vert-origin-y": "vertOriginY",
6986            vhanging: "vHanging",
6987            "v-hanging": "vHanging",
6988            videographic: "vIdeographic",
6989            "v-ideographic": "vIdeographic",
6990            viewbox: "viewBox",
6991            viewtarget: "viewTarget",
6992            visibility: "visibility",
6993            vmathematical: "vMathematical",
6994            "v-mathematical": "vMathematical",
6995            vocab: "vocab",
6996            widths: "widths",
6997            wordspacing: "wordSpacing",
6998            "word-spacing": "wordSpacing",
6999            writingmode: "writingMode",
7000            "writing-mode": "writingMode",
7001            x1: "x1",
7002            x2: "x2",
7003            x: "x",
7004            xchannelselector: "xChannelSelector",
7005            xheight: "xHeight",
7006            "x-height": "xHeight",
7007            xlinkactuate: "xlinkActuate",
7008            "xlink:actuate": "xlinkActuate",
7009            xlinkarcrole: "xlinkArcrole",
7010            "xlink:arcrole": "xlinkArcrole",
7011            xlinkhref: "xlinkHref",
7012            "xlink:href": "xlinkHref",
7013            xlinkrole: "xlinkRole",
7014            "xlink:role": "xlinkRole",
7015            xlinkshow: "xlinkShow",
7016            "xlink:show": "xlinkShow",
7017            xlinktitle: "xlinkTitle",
7018            "xlink:title": "xlinkTitle",
7019            xlinktype: "xlinkType",
7020            "xlink:type": "xlinkType",
7021            xmlbase: "xmlBase",
7022            "xml:base": "xmlBase",
7023            xmllang: "xmlLang",
7024            "xml:lang": "xmlLang",
7025            xmlns: "xmlns",
7026            "xml:space": "xmlSpace",
7027            xmlnsxlink: "xmlnsXlink",
7028            "xmlns:xlink": "xmlnsXlink",
7029            xmlspace: "xmlSpace",
7030            y1: "y1",
7031            y2: "y2",
7032            y: "y",
7033            ychannelselector: "yChannelSelector",
7034            z: "z",
7035            zoomandpan: "zoomAndPan"
7036          };
7037          var ariaProperties = {
7038            "aria-current": 0,
7039            // state
7040            "aria-description": 0,
7041            "aria-details": 0,
7042            "aria-disabled": 0,
7043            // state
7044            "aria-hidden": 0,
7045            // state
7046            "aria-invalid": 0,
7047            // state
7048            "aria-keyshortcuts": 0,
7049            "aria-label": 0,
7050            "aria-roledescription": 0,
7051            // Widget Attributes
7052            "aria-autocomplete": 0,
7053            "aria-checked": 0,
7054            "aria-expanded": 0,
7055            "aria-haspopup": 0,
7056            "aria-level": 0,
7057            "aria-modal": 0,
7058            "aria-multiline": 0,
7059            "aria-multiselectable": 0,
7060            "aria-orientation": 0,
7061            "aria-placeholder": 0,
7062            "aria-pressed": 0,
7063            "aria-readonly": 0,
7064            "aria-required": 0,
7065            "aria-selected": 0,
7066            "aria-sort": 0,
7067            "aria-valuemax": 0,
7068            "aria-valuemin": 0,
7069            "aria-valuenow": 0,
7070            "aria-valuetext": 0,
7071            // Live Region Attributes
7072            "aria-atomic": 0,
7073            "aria-busy": 0,
7074            "aria-live": 0,
7075            "aria-relevant": 0,
7076            // Drag-and-Drop Attributes
7077            "aria-dropeffect": 0,
7078            "aria-grabbed": 0,
7079            // Relationship Attributes
7080            "aria-activedescendant": 0,
7081            "aria-colcount": 0,
7082            "aria-colindex": 0,
7083            "aria-colspan": 0,
7084            "aria-controls": 0,
7085            "aria-describedby": 0,
7086            "aria-errormessage": 0,
7087            "aria-flowto": 0,
7088            "aria-labelledby": 0,
7089            "aria-owns": 0,
7090            "aria-posinset": 0,
7091            "aria-rowcount": 0,
7092            "aria-rowindex": 0,
7093            "aria-rowspan": 0,
7094            "aria-setsize": 0
7095          };
7096          var warnedProperties = {};
7097          var rARIA = new RegExp("^(aria)-[" + ATTRIBUTE_NAME_CHAR + "]*$");
7098          var rARIACamel = new RegExp("^(aria)[A-Z][" + ATTRIBUTE_NAME_CHAR + "]*$");
7099          function validateProperty(tagName, name2) {
7100            {
7101              if (hasOwnProperty3.call(warnedProperties, name2) && warnedProperties[name2]) {
7102                return true;
7103              }
7104              if (rARIACamel.test(name2)) {
7105                var ariaName = "aria-" + name2.slice(4).toLowerCase();
7106                var correctName = ariaProperties.hasOwnProperty(ariaName) ? ariaName : null;
7107                if (correctName == null) {
7108                  error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.", name2);
7109                  warnedProperties[name2] = true;
7110                  return true;
7111                }
7112                if (name2 !== correctName) {
7113                  error("Invalid ARIA attribute `%s`. Did you mean `%s`?", name2, correctName);
7114                  warnedProperties[name2] = true;
7115                  return true;
7116                }
7117              }
7118              if (rARIA.test(name2)) {
7119                var lowerCasedName = name2.toLowerCase();
7120                var standardName = ariaProperties.hasOwnProperty(lowerCasedName) ? lowerCasedName : null;
7121                if (standardName == null) {
7122                  warnedProperties[name2] = true;
7123                  return false;
7124                }
7125                if (name2 !== standardName) {
7126                  error("Unknown ARIA attribute `%s`. Did you mean `%s`?", name2, standardName);
7127                  warnedProperties[name2] = true;
7128                  return true;
7129                }
7130              }
7131            }
7132            return true;
7133          }
7134          function warnInvalidARIAProps(type, props) {
7135            {
7136              var invalidProps = [];
7137              for (var key in props) {
7138                var isValid = validateProperty(type, key);
7139                if (!isValid) {
7140                  invalidProps.push(key);
7141                }
7142              }
7143              var unknownPropString = invalidProps.map(function(prop) {
7144                return "`" + prop + "`";
7145              }).join(", ");
7146              if (invalidProps.length === 1) {
7147                error("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props", unknownPropString, type);
7148              } else if (invalidProps.length > 1) {
7149                error("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props", unknownPropString, type);
7150              }
7151            }
7152          }
7153          function validateProperties(type, props) {
7154            if (isCustomComponent(type, props)) {
7155              return;
7156            }
7157            warnInvalidARIAProps(type, props);
7158          }
7159          var didWarnValueNull = false;
7160          function validateProperties$1(type, props) {
7161            {
7162              if (type !== "input" && type !== "textarea" && type !== "select") {
7163                return;
7164              }
7165              if (props != null && props.value === null && !didWarnValueNull) {
7166                didWarnValueNull = true;
7167                if (type === "select" && props.multiple) {
7168                  error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.", type);
7169                } else {
7170                  error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.", type);
7171                }
7172              }
7173            }
7174          }
7175          var validateProperty$1 = function() {
7176          };
7177          {
7178            var warnedProperties$1 = {};
7179            var EVENT_NAME_REGEX = /^on./;
7180            var INVALID_EVENT_NAME_REGEX = /^on[^A-Z]/;
7181            var rARIA$1 = new RegExp("^(aria)-[" + ATTRIBUTE_NAME_CHAR + "]*$");
7182            var rARIACamel$1 = new RegExp("^(aria)[A-Z][" + ATTRIBUTE_NAME_CHAR + "]*$");
7183            validateProperty$1 = function(tagName, name2, value, eventRegistry) {
7184              if (hasOwnProperty3.call(warnedProperties$1, name2) && warnedProperties$1[name2]) {
7185                return true;
7186              }
7187              var lowerCasedName = name2.toLowerCase();
7188              if (lowerCasedName === "onfocusin" || lowerCasedName === "onfocusout") {
7189                error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React.");
7190                warnedProperties$1[name2] = true;
7191                return true;
7192              }
7193              if (eventRegistry != null) {
7194                var registrationNameDependencies2 = eventRegistry.registrationNameDependencies, possibleRegistrationNames2 = eventRegistry.possibleRegistrationNames;
7195                if (registrationNameDependencies2.hasOwnProperty(name2)) {
7196                  return true;
7197                }
7198                var registrationName = possibleRegistrationNames2.hasOwnProperty(lowerCasedName) ? possibleRegistrationNames2[lowerCasedName] : null;
7199                if (registrationName != null) {
7200                  error("Invalid event handler property `%s`. Did you mean `%s`?", name2, registrationName);
7201                  warnedProperties$1[name2] = true;
7202                  return true;
7203                }
7204                if (EVENT_NAME_REGEX.test(name2)) {
7205                  error("Unknown event handler property `%s`. It will be ignored.", name2);
7206                  warnedProperties$1[name2] = true;
7207                  return true;
7208                }
7209              } else if (EVENT_NAME_REGEX.test(name2)) {
7210                if (INVALID_EVENT_NAME_REGEX.test(name2)) {
7211                  error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.", name2);
7212                }
7213                warnedProperties$1[name2] = true;
7214                return true;
7215              }
7216              if (rARIA$1.test(name2) || rARIACamel$1.test(name2)) {
7217                return true;
7218              }
7219              if (lowerCasedName === "innerhtml") {
7220                error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`.");
7221                warnedProperties$1[name2] = true;
7222                return true;
7223              }
7224              if (lowerCasedName === "aria") {
7225                error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead.");
7226                warnedProperties$1[name2] = true;
7227                return true;
7228              }
7229              if (lowerCasedName === "is" && value !== null && value !== void 0 && typeof value !== "string") {
7230                error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.", typeof value);
7231                warnedProperties$1[name2] = true;
7232                return true;
7233              }
7234              if (typeof value === "number" && isNaN(value)) {
7235                error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", name2);
7236                warnedProperties$1[name2] = true;
7237                return true;
7238              }
7239              var propertyInfo = getPropertyInfo(name2);
7240              var isReserved2 = propertyInfo !== null && propertyInfo.type === RESERVED;
7241              if (possibleStandardNames.hasOwnProperty(lowerCasedName)) {
7242                var standardName = possibleStandardNames[lowerCasedName];
7243                if (standardName !== name2) {
7244                  error("Invalid DOM property `%s`. Did you mean `%s`?", name2, standardName);
7245                  warnedProperties$1[name2] = true;
7246                  return true;
7247                }
7248              } else if (!isReserved2 && name2 !== lowerCasedName) {
7249                error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.", name2, lowerCasedName);
7250                warnedProperties$1[name2] = true;
7251                return true;
7252              }
7253              if (typeof value === "boolean" && shouldRemoveAttributeWithWarning(name2, value, propertyInfo, false)) {
7254                if (value) {
7255                  error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.', value, name2, name2, value, name2);
7256                } else {
7257                  error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.', value, name2, name2, value, name2, name2, name2);
7258                }
7259                warnedProperties$1[name2] = true;
7260                return true;
7261              }
7262              if (isReserved2) {
7263                return true;
7264              }
7265              if (shouldRemoveAttributeWithWarning(name2, value, propertyInfo, false)) {
7266                warnedProperties$1[name2] = true;
7267                return false;
7268              }
7269              if ((value === "false" || value === "true") && propertyInfo !== null && propertyInfo.type === BOOLEAN) {
7270                error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?", value, name2, value === "false" ? "The browser will interpret it as a truthy value." : 'Although this works, it will not work as expected if you pass the string "false".', name2, value);
7271                warnedProperties$1[name2] = true;
7272                return true;
7273              }
7274              return true;
7275            };
7276          }
7277          var warnUnknownProperties = function(type, props, eventRegistry) {
7278            {
7279              var unknownProps = [];
7280              for (var key in props) {
7281                var isValid = validateProperty$1(type, key, props[key], eventRegistry);
7282                if (!isValid) {
7283                  unknownProps.push(key);
7284                }
7285              }
7286              var unknownPropString = unknownProps.map(function(prop) {
7287                return "`" + prop + "`";
7288              }).join(", ");
7289              if (unknownProps.length === 1) {
7290                error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ", unknownPropString, type);
7291              } else if (unknownProps.length > 1) {
7292                error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ", unknownPropString, type);
7293              }
7294            }
7295          };
7296          function validateProperties$2(type, props, eventRegistry) {
7297            if (isCustomComponent(type, props)) {
7298              return;
7299            }
7300            warnUnknownProperties(type, props, eventRegistry);
7301          }
7302          var IS_EVENT_HANDLE_NON_MANAGED_NODE = 1;
7303          var IS_NON_DELEGATED = 1 << 1;
7304          var IS_CAPTURE_PHASE = 1 << 2;
7305          var SHOULD_NOT_PROCESS_POLYFILL_EVENT_PLUGINS = IS_EVENT_HANDLE_NON_MANAGED_NODE | IS_NON_DELEGATED | IS_CAPTURE_PHASE;
7306          var currentReplayingEvent = null;
7307          function setReplayingEvent(event) {
7308            {
7309              if (currentReplayingEvent !== null) {
7310                error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue.");
7311              }
7312            }
7313            currentReplayingEvent = event;
7314          }
7315          function resetReplayingEvent() {
7316            {
7317              if (currentReplayingEvent === null) {
7318                error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue.");
7319              }
7320            }
7321            currentReplayingEvent = null;
7322          }
7323          function isReplayingEvent(event) {
7324            return event === currentReplayingEvent;
7325          }
7326          function getEventTarget2(nativeEvent) {
7327            var target = nativeEvent.target || nativeEvent.srcElement || window;
7328            if (target.correspondingUseElement) {
7329              target = target.correspondingUseElement;
7330            }
7331            return target.nodeType === TEXT_NODE ? target.parentNode : target;
7332          }
7333          var restoreImpl = null;
7334          var restoreTarget = null;
7335          var restoreQueue = null;
7336          function restoreStateOfTarget(target) {
7337            var internalInstance = getInstanceFromNode(target);
7338            if (!internalInstance) {
7339              return;
7340            }
7341            if (typeof restoreImpl !== "function") {
7342              throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");
7343            }
7344            var stateNode = internalInstance.stateNode;
7345            if (stateNode) {
7346              var _props = getFiberCurrentPropsFromNode(stateNode);
7347              restoreImpl(internalInstance.stateNode, internalInstance.type, _props);
7348            }
7349          }
7350          function setRestoreImplementation(impl) {
7351            restoreImpl = impl;
7352          }
7353          function enqueueStateRestore(target) {
7354            if (restoreTarget) {
7355              if (restoreQueue) {
7356                restoreQueue.push(target);
7357              } else {
7358                restoreQueue = [target];
7359              }
7360            } else {
7361              restoreTarget = target;
7362            }
7363          }
7364          function needsStateRestore() {
7365            return restoreTarget !== null || restoreQueue !== null;
7366          }
7367          function restoreStateIfNeeded() {
7368            if (!restoreTarget) {
7369              return;
7370            }
7371            var target = restoreTarget;
7372            var queuedTargets = restoreQueue;
7373            restoreTarget = null;
7374            restoreQueue = null;
7375            restoreStateOfTarget(target);
7376            if (queuedTargets) {
7377              for (var i2 = 0; i2 < queuedTargets.length; i2++) {
7378                restoreStateOfTarget(queuedTargets[i2]);
7379              }
7380            }
7381          }
7382          var batchedUpdatesImpl = function(fn, bookkeeping) {
7383            return fn(bookkeeping);
7384          };
7385          var flushSyncImpl = function() {
7386          };
7387          var isInsideEventHandler = false;
7388          function finishEventHandler() {
7389            var controlledComponentsHavePendingUpdates = needsStateRestore();
7390            if (controlledComponentsHavePendingUpdates) {
7391              flushSyncImpl();
7392              restoreStateIfNeeded();
7393            }
7394          }
7395          function batchedUpdates(fn, a, b) {
7396            if (isInsideEventHandler) {
7397              return fn(a, b);
7398            }
7399            isInsideEventHandler = true;
7400            try {
7401              return batchedUpdatesImpl(fn, a, b);
7402            } finally {
7403              isInsideEventHandler = false;
7404              finishEventHandler();
7405            }
7406          }
7407          function setBatchingImplementation(_batchedUpdatesImpl, _discreteUpdatesImpl, _flushSyncImpl) {
7408            batchedUpdatesImpl = _batchedUpdatesImpl;
7409            flushSyncImpl = _flushSyncImpl;
7410          }
7411          function isInteractive(tag) {
7412            return tag === "button" || tag === "input" || tag === "select" || tag === "textarea";
7413          }
7414          function shouldPreventMouseEvent(name2, type, props) {
7415            switch (name2) {
7416              case "onClick":
7417              case "onClickCapture":
7418              case "onDoubleClick":
7419              case "onDoubleClickCapture":
7420              case "onMouseDown":
7421              case "onMouseDownCapture":
7422              case "onMouseMove":
7423              case "onMouseMoveCapture":
7424              case "onMouseUp":
7425              case "onMouseUpCapture":
7426              case "onMouseEnter":
7427                return !!(props.disabled && isInteractive(type));
7428              default:
7429                return false;
7430            }
7431          }
7432          function getListener(inst, registrationName) {
7433            var stateNode = inst.stateNode;
7434            if (stateNode === null) {
7435              return null;
7436            }
7437            var props = getFiberCurrentPropsFromNode(stateNode);
7438            if (props === null) {
7439              return null;
7440            }
7441            var listener2 = props[registrationName];
7442            if (shouldPreventMouseEvent(registrationName, inst.type, props)) {
7443              return null;
7444            }
7445            if (listener2 && typeof listener2 !== "function") {
7446              throw new Error("Expected `" + registrationName + "` listener to be a function, instead got a value of `" + typeof listener2 + "` type.");
7447            }
7448            return listener2;
7449          }
7450          var passiveBrowserEventsSupported = false;
7451          if (canUseDOM2) {
7452            try {
7453              var options2 = {};
7454              Object.defineProperty(options2, "passive", {
7455                get: function() {
7456                  passiveBrowserEventsSupported = true;
7457                }
7458              });
7459              window.addEventListener("test", options2, options2);
7460              window.removeEventListener("test", options2, options2);
7461            } catch (e) {
7462              passiveBrowserEventsSupported = false;
7463            }
7464          }
7465          function invokeGuardedCallbackProd(name2, func, context, a, b, c, d, e, f) {
7466            var funcArgs = Array.prototype.slice.call(arguments, 3);
7467            try {
7468              func.apply(context, funcArgs);
7469            } catch (error2) {
7470              this.onError(error2);
7471            }
7472          }
7473          var invokeGuardedCallbackImpl = invokeGuardedCallbackProd;
7474          {
7475            if (typeof window !== "undefined" && typeof window.dispatchEvent === "function" && typeof document !== "undefined" && typeof document.createEvent === "function") {
7476              var fakeNode = document.createElement("react");
7477              invokeGuardedCallbackImpl = function invokeGuardedCallbackDev(name2, func, context, a, b, c, d, e, f) {
7478                if (typeof document === "undefined" || document === null) {
7479                  throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");
7480                }
7481                var evt = document.createEvent("Event");
7482                var didCall = false;
7483                var didError = true;
7484                var windowEvent = window.event;
7485                var windowEventDescriptor = Object.getOwnPropertyDescriptor(window, "event");
7486                function restoreAfterDispatch() {
7487                  fakeNode.removeEventListener(evtType, callCallback2, false);
7488                  if (typeof window.event !== "undefined" && window.hasOwnProperty("event")) {
7489                    window.event = windowEvent;
7490                  }
7491                }
7492                var funcArgs = Array.prototype.slice.call(arguments, 3);
7493                function callCallback2() {
7494                  didCall = true;
7495                  restoreAfterDispatch();
7496                  func.apply(context, funcArgs);
7497                  didError = false;
7498                }
7499                var error2;
7500                var didSetError = false;
7501                var isCrossOriginError = false;
7502                function handleWindowError(event) {
7503                  error2 = event.error;
7504                  didSetError = true;
7505                  if (error2 === null && event.colno === 0 && event.lineno === 0) {
7506                    isCrossOriginError = true;
7507                  }
7508                  if (event.defaultPrevented) {
7509                    if (error2 != null && typeof error2 === "object") {
7510                      try {
7511                        error2._suppressLogging = true;
7512                      } catch (inner) {
7513                      }
7514                    }
7515                  }
7516                }
7517                var evtType = "react-" + (name2 ? name2 : "invokeguardedcallback");
7518                window.addEventListener("error", handleWindowError);
7519                fakeNode.addEventListener(evtType, callCallback2, false);
7520                evt.initEvent(evtType, false, false);
7521                fakeNode.dispatchEvent(evt);
7522                if (windowEventDescriptor) {
7523                  Object.defineProperty(window, "event", windowEventDescriptor);
7524                }
7525                if (didCall && didError) {
7526                  if (!didSetError) {
7527                    error2 = new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`);
7528                  } else if (isCrossOriginError) {
7529                    error2 = new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.");
7530                  }
7531                  this.onError(error2);
7532                }
7533                window.removeEventListener("error", handleWindowError);
7534                if (!didCall) {
7535                  restoreAfterDispatch();
7536                  return invokeGuardedCallbackProd.apply(this, arguments);
7537                }
7538              };
7539            }
7540          }
7541          var invokeGuardedCallbackImpl$1 = invokeGuardedCallbackImpl;
7542          var hasError = false;
7543          var caughtError = null;
7544          var hasRethrowError = false;
7545          var rethrowError = null;
7546          var reporter = {
7547            onError: function(error2) {
7548              hasError = true;
7549              caughtError = error2;
7550            }
7551          };
7552          function invokeGuardedCallback(name2, func, context, a, b, c, d, e, f) {
7553            hasError = false;
7554            caughtError = null;
7555            invokeGuardedCallbackImpl$1.apply(reporter, arguments);
7556          }
7557          function invokeGuardedCallbackAndCatchFirstError(name2, func, context, a, b, c, d, e, f) {
7558            invokeGuardedCallback.apply(this, arguments);
7559            if (hasError) {
7560              var error2 = clearCaughtError();
7561              if (!hasRethrowError) {
7562                hasRethrowError = true;
7563                rethrowError = error2;
7564              }
7565            }
7566          }
7567          function rethrowCaughtError() {
7568            if (hasRethrowError) {
7569              var error2 = rethrowError;
7570              hasRethrowError = false;
7571              rethrowError = null;
7572              throw error2;
7573            }
7574          }
7575          function hasCaughtError() {
7576            return hasError;
7577          }
7578          function clearCaughtError() {
7579            if (hasError) {
7580              var error2 = caughtError;
7581              hasError = false;
7582              caughtError = null;
7583              return error2;
7584            } else {
7585              throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");
7586            }
7587          }
7588          function get(key) {
7589            return key._reactInternals;
7590          }
7591          function has(key) {
7592            return key._reactInternals !== void 0;
7593          }
7594          function set(key, value) {
7595            key._reactInternals = value;
7596          }
7597          var NoFlags = (
7598            /*                      */
7599            0
7600          );
7601          var PerformedWork = (
7602            /*                */
7603            1
7604          );
7605          var Placement = (
7606            /*                    */
7607            2
7608          );
7609          var Update = (
7610            /*                       */
7611            4
7612          );
7613          var ChildDeletion = (
7614            /*                */
7615            16
7616          );
7617          var ContentReset = (
7618            /*                 */
7619            32
7620          );
7621          var Callback = (
7622            /*                     */
7623            64
7624          );
7625          var DidCapture = (
7626            /*                   */
7627            128
7628          );
7629          var ForceClientRender = (
7630            /*            */
7631            256
7632          );
7633          var Ref = (
7634            /*                          */
7635            512
7636          );
7637          var Snapshot = (
7638            /*                     */
7639            1024
7640          );
7641          var Passive = (
7642            /*                      */
7643            2048
7644          );
7645          var Hydrating = (
7646            /*                    */
7647            4096
7648          );
7649          var Visibility = (
7650            /*                   */
7651            8192
7652          );
7653          var StoreConsistency = (
7654            /*             */
7655            16384
7656          );
7657          var LifecycleEffectMask = Passive | Update | Callback | Ref | Snapshot | StoreConsistency;
7658          var HostEffectMask = (
7659            /*               */
7660            32767
7661          );
7662          var Incomplete = (
7663            /*                   */
7664            32768
7665          );
7666          var ShouldCapture = (
7667            /*                */
7668            65536
7669          );
7670          var ForceUpdateForLegacySuspense = (
7671            /* */
7672            131072
7673          );
7674          var Forked = (
7675            /*                       */
7676            1048576
7677          );
7678          var RefStatic = (
7679            /*                    */
7680            2097152
7681          );
7682          var LayoutStatic = (
7683            /*                 */
7684            4194304
7685          );
7686          var PassiveStatic = (
7687            /*                */
7688            8388608
7689          );
7690          var MountLayoutDev = (
7691            /*               */
7692            16777216
7693          );
7694          var MountPassiveDev = (
7695            /*              */
7696            33554432
7697          );
7698          var BeforeMutationMask = (
7699            // TODO: Remove Update flag from before mutation phase by re-landing Visibility
7700            // flag logic (see #20043)
7701            Update | Snapshot | 0
7702          );
7703          var MutationMask = Placement | Update | ChildDeletion | ContentReset | Ref | Hydrating | Visibility;
7704          var LayoutMask = Update | Callback | Ref | Visibility;
7705          var PassiveMask = Passive | ChildDeletion;
7706          var StaticMask = LayoutStatic | PassiveStatic | RefStatic;
7707          var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
7708          function getNearestMountedFiber(fiber) {
7709            var node2 = fiber;
7710            var nearestMounted = fiber;
7711            if (!fiber.alternate) {
7712              var nextNode = node2;
7713              do {
7714                node2 = nextNode;
7715                if ((node2.flags & (Placement | Hydrating)) !== NoFlags) {
7716                  nearestMounted = node2.return;
7717                }
7718                nextNode = node2.return;
7719              } while (nextNode);
7720            } else {
7721              while (node2.return) {
7722                node2 = node2.return;
7723              }
7724            }
7725            if (node2.tag === HostRoot) {
7726              return nearestMounted;
7727            }
7728            return null;
7729          }
7730          function getSuspenseInstanceFromFiber(fiber) {
7731            if (fiber.tag === SuspenseComponent) {
7732              var suspenseState = fiber.memoizedState;
7733              if (suspenseState === null) {
7734                var current2 = fiber.alternate;
7735                if (current2 !== null) {
7736                  suspenseState = current2.memoizedState;
7737                }
7738              }
7739              if (suspenseState !== null) {
7740                return suspenseState.dehydrated;
7741              }
7742            }
7743            return null;
7744          }
7745          function getContainerFromFiber(fiber) {
7746            return fiber.tag === HostRoot ? fiber.stateNode.containerInfo : null;
7747          }
7748          function isFiberMounted(fiber) {
7749            return getNearestMountedFiber(fiber) === fiber;
7750          }
7751          function isMounted(component) {
7752            {
7753              var owner = ReactCurrentOwner.current;
7754              if (owner !== null && owner.tag === ClassComponent) {
7755                var ownerFiber = owner;
7756                var instance = ownerFiber.stateNode;
7757                if (!instance._warnedAboutRefsInRender) {
7758                  error("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.", getComponentNameFromFiber(ownerFiber) || "A component");
7759                }
7760                instance._warnedAboutRefsInRender = true;
7761              }
7762            }
7763            var fiber = get(component);
7764            if (!fiber) {
7765              return false;
7766            }
7767            return getNearestMountedFiber(fiber) === fiber;
7768          }
7769          function assertIsMounted(fiber) {
7770            if (getNearestMountedFiber(fiber) !== fiber) {
7771              throw new Error("Unable to find node on an unmounted component.");
7772            }
7773          }
7774          function findCurrentFiberUsingSlowPath(fiber) {
7775            var alternate = fiber.alternate;
7776            if (!alternate) {
7777              var nearestMounted = getNearestMountedFiber(fiber);
7778              if (nearestMounted === null) {
7779                throw new Error("Unable to find node on an unmounted component.");
7780              }
7781              if (nearestMounted !== fiber) {
7782                return null;
7783              }
7784              return fiber;
7785            }
7786            var a = fiber;
7787            var b = alternate;
7788            while (true) {
7789              var parentA = a.return;
7790              if (parentA === null) {
7791                break;
7792              }
7793              var parentB = parentA.alternate;
7794              if (parentB === null) {
7795                var nextParent = parentA.return;
7796                if (nextParent !== null) {
7797                  a = b = nextParent;
7798                  continue;
7799                }
7800                break;
7801              }
7802              if (parentA.child === parentB.child) {
7803                var child = parentA.child;
7804                while (child) {
7805                  if (child === a) {
7806                    assertIsMounted(parentA);
7807                    return fiber;
7808                  }
7809                  if (child === b) {
7810                    assertIsMounted(parentA);
7811                    return alternate;
7812                  }
7813                  child = child.sibling;
7814                }
7815                throw new Error("Unable to find node on an unmounted component.");
7816              }
7817              if (a.return !== b.return) {
7818                a = parentA;
7819                b = parentB;
7820              } else {
7821                var didFindChild = false;
7822                var _child = parentA.child;
7823                while (_child) {
7824                  if (_child === a) {
7825                    didFindChild = true;
7826                    a = parentA;
7827                    b = parentB;
7828                    break;
7829                  }
7830                  if (_child === b) {
7831                    didFindChild = true;
7832                    b = parentA;
7833                    a = parentB;
7834                    break;
7835                  }
7836                  _child = _child.sibling;
7837                }
7838                if (!didFindChild) {
7839                  _child = parentB.child;
7840                  while (_child) {
7841                    if (_child === a) {
7842                      didFindChild = true;
7843                      a = parentB;
7844                      b = parentA;
7845                      break;
7846                    }
7847                    if (_child === b) {
7848                      didFindChild = true;
7849                      b = parentB;
7850                      a = parentA;
7851                      break;
7852                    }
7853                    _child = _child.sibling;
7854                  }
7855                  if (!didFindChild) {
7856                    throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.");
7857                  }
7858                }
7859              }
7860              if (a.alternate !== b) {
7861                throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.");
7862              }
7863            }
7864            if (a.tag !== HostRoot) {
7865              throw new Error("Unable to find node on an unmounted component.");
7866            }
7867            if (a.stateNode.current === a) {
7868              return fiber;
7869            }
7870            return alternate;
7871          }
7872          function findCurrentHostFiber(parent) {
7873            var currentParent = findCurrentFiberUsingSlowPath(parent);
7874            return currentParent !== null ? findCurrentHostFiberImpl(currentParent) : null;
7875          }
7876          function findCurrentHostFiberImpl(node2) {
7877            if (node2.tag === HostComponent || node2.tag === HostText) {
7878              return node2;
7879            }
7880            var child = node2.child;
7881            while (child !== null) {
7882              var match2 = findCurrentHostFiberImpl(child);
7883              if (match2 !== null) {
7884                return match2;
7885              }
7886              child = child.sibling;
7887            }
7888            return null;
7889          }
7890          function findCurrentHostFiberWithNoPortals(parent) {
7891            var currentParent = findCurrentFiberUsingSlowPath(parent);
7892            return currentParent !== null ? findCurrentHostFiberWithNoPortalsImpl(currentParent) : null;
7893          }
7894          function findCurrentHostFiberWithNoPortalsImpl(node2) {
7895            if (node2.tag === HostComponent || node2.tag === HostText) {
7896              return node2;
7897            }
7898            var child = node2.child;
7899            while (child !== null) {
7900              if (child.tag !== HostPortal) {
7901                var match2 = findCurrentHostFiberWithNoPortalsImpl(child);
7902                if (match2 !== null) {
7903                  return match2;
7904                }
7905              }
7906              child = child.sibling;
7907            }
7908            return null;
7909          }
7910          var scheduleCallback = Scheduler.unstable_scheduleCallback;
7911          var cancelCallback = Scheduler.unstable_cancelCallback;
7912          var shouldYield = Scheduler.unstable_shouldYield;
7913          var requestPaint = Scheduler.unstable_requestPaint;
7914          var now = Scheduler.unstable_now;
7915          var getCurrentPriorityLevel = Scheduler.unstable_getCurrentPriorityLevel;
7916          var ImmediatePriority = Scheduler.unstable_ImmediatePriority;
7917          var UserBlockingPriority = Scheduler.unstable_UserBlockingPriority;
7918          var NormalPriority = Scheduler.unstable_NormalPriority;
7919          var LowPriority = Scheduler.unstable_LowPriority;
7920          var IdlePriority = Scheduler.unstable_IdlePriority;
7921          var unstable_yieldValue = Scheduler.unstable_yieldValue;
7922          var unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue;
7923          var rendererID = null;
7924          var injectedHook = null;
7925          var injectedProfilingHooks = null;
7926          var hasLoggedError = false;
7927          var isDevToolsPresent = typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined";
7928          function injectInternals(internals) {
7929            if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === "undefined") {
7930              return false;
7931            }
7932            var hook = __REACT_DEVTOOLS_GLOBAL_HOOK__;
7933            if (hook.isDisabled) {
7934              return true;
7935            }
7936            if (!hook.supportsFiber) {
7937              {
7938                error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools");
7939              }
7940              return true;
7941            }
7942            try {
7943              if (enableSchedulingProfiler) {
7944                internals = assign3({}, internals, {
7945                  getLaneLabelMap,
7946                  injectProfilingHooks
7947                });
7948              }
7949              rendererID = hook.inject(internals);
7950              injectedHook = hook;
7951            } catch (err) {
7952              {
7953                error("React instrumentation encountered an error: %s.", err);
7954              }
7955            }
7956            if (hook.checkDCE) {
7957              return true;
7958            } else {
7959              return false;
7960            }
7961          }
7962          function onScheduleRoot(root2, children) {
7963            {
7964              if (injectedHook && typeof injectedHook.onScheduleFiberRoot === "function") {
7965                try {
7966                  injectedHook.onScheduleFiberRoot(rendererID, root2, children);
7967                } catch (err) {
7968                  if (!hasLoggedError) {
7969                    hasLoggedError = true;
7970                    error("React instrumentation encountered an error: %s", err);
7971                  }
7972                }
7973              }
7974            }
7975          }
7976          function onCommitRoot(root2, eventPriority) {
7977            if (injectedHook && typeof injectedHook.onCommitFiberRoot === "function") {
7978              try {
7979                var didError = (root2.current.flags & DidCapture) === DidCapture;
7980                if (enableProfilerTimer) {
7981                  var schedulerPriority;
7982                  switch (eventPriority) {
7983                    case DiscreteEventPriority:
7984                      schedulerPriority = ImmediatePriority;
7985                      break;
7986                    case ContinuousEventPriority:
7987                      schedulerPriority = UserBlockingPriority;
7988                      break;
7989                    case DefaultEventPriority:
7990                      schedulerPriority = NormalPriority;
7991                      break;
7992                    case IdleEventPriority:
7993                      schedulerPriority = IdlePriority;
7994                      break;
7995                    default:
7996                      schedulerPriority = NormalPriority;
7997                      break;
7998                  }
7999                  injectedHook.onCommitFiberRoot(rendererID, root2, schedulerPriority, didError);
8000                } else {
8001                  injectedHook.onCommitFiberRoot(rendererID, root2, void 0, didError);
8002                }
8003              } catch (err) {
8004                {
8005                  if (!hasLoggedError) {
8006                    hasLoggedError = true;
8007                    error("React instrumentation encountered an error: %s", err);
8008                  }
8009                }
8010              }
8011            }
8012          }
8013          function onPostCommitRoot(root2) {
8014            if (injectedHook && typeof injectedHook.onPostCommitFiberRoot === "function") {
8015              try {
8016                injectedHook.onPostCommitFiberRoot(rendererID, root2);
8017              } catch (err) {
8018                {
8019                  if (!hasLoggedError) {
8020                    hasLoggedError = true;
8021                    error("React instrumentation encountered an error: %s", err);
8022                  }
8023                }
8024              }
8025            }
8026          }
8027          function onCommitUnmount(fiber) {
8028            if (injectedHook && typeof injectedHook.onCommitFiberUnmount === "function") {
8029              try {
8030                injectedHook.onCommitFiberUnmount(rendererID, fiber);
8031              } catch (err) {
8032                {
8033                  if (!hasLoggedError) {
8034                    hasLoggedError = true;
8035                    error("React instrumentation encountered an error: %s", err);
8036                  }
8037                }
8038              }
8039            }
8040          }
8041          function setIsStrictModeForDevtools(newIsStrictMode) {
8042            {
8043              if (typeof unstable_yieldValue === "function") {
8044                unstable_setDisableYieldValue(newIsStrictMode);
8045                setSuppressWarning(newIsStrictMode);
8046              }
8047              if (injectedHook && typeof injectedHook.setStrictMode === "function") {
8048                try {
8049                  injectedHook.setStrictMode(rendererID, newIsStrictMode);
8050                } catch (err) {
8051                  {
8052                    if (!hasLoggedError) {
8053                      hasLoggedError = true;
8054                      error("React instrumentation encountered an error: %s", err);
8055                    }
8056                  }
8057                }
8058              }
8059            }
8060          }
8061          function injectProfilingHooks(profilingHooks) {
8062            injectedProfilingHooks = profilingHooks;
8063          }
8064          function getLaneLabelMap() {
8065            {
8066              var map = /* @__PURE__ */ new Map();
8067              var lane = 1;
8068              for (var index3 = 0; index3 < TotalLanes; index3++) {
8069                var label = getLabelForLane(lane);
8070                map.set(lane, label);
8071                lane *= 2;
8072              }
8073              return map;
8074            }
8075          }
8076          function markCommitStarted(lanes) {
8077            {
8078              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markCommitStarted === "function") {
8079                injectedProfilingHooks.markCommitStarted(lanes);
8080              }
8081            }
8082          }
8083          function markCommitStopped() {
8084            {
8085              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markCommitStopped === "function") {
8086                injectedProfilingHooks.markCommitStopped();
8087              }
8088            }
8089          }
8090          function markComponentRenderStarted(fiber) {
8091            {
8092              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentRenderStarted === "function") {
8093                injectedProfilingHooks.markComponentRenderStarted(fiber);
8094              }
8095            }
8096          }
8097          function markComponentRenderStopped() {
8098            {
8099              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentRenderStopped === "function") {
8100                injectedProfilingHooks.markComponentRenderStopped();
8101              }
8102            }
8103          }
8104          function markComponentPassiveEffectMountStarted(fiber) {
8105            {
8106              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentPassiveEffectMountStarted === "function") {
8107                injectedProfilingHooks.markComponentPassiveEffectMountStarted(fiber);
8108              }
8109            }
8110          }
8111          function markComponentPassiveEffectMountStopped() {
8112            {
8113              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentPassiveEffectMountStopped === "function") {
8114                injectedProfilingHooks.markComponentPassiveEffectMountStopped();
8115              }
8116            }
8117          }
8118          function markComponentPassiveEffectUnmountStarted(fiber) {
8119            {
8120              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentPassiveEffectUnmountStarted === "function") {
8121                injectedProfilingHooks.markComponentPassiveEffectUnmountStarted(fiber);
8122              }
8123            }
8124          }
8125          function markComponentPassiveEffectUnmountStopped() {
8126            {
8127              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentPassiveEffectUnmountStopped === "function") {
8128                injectedProfilingHooks.markComponentPassiveEffectUnmountStopped();
8129              }
8130            }
8131          }
8132          function markComponentLayoutEffectMountStarted(fiber) {
8133            {
8134              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentLayoutEffectMountStarted === "function") {
8135                injectedProfilingHooks.markComponentLayoutEffectMountStarted(fiber);
8136              }
8137            }
8138          }
8139          function markComponentLayoutEffectMountStopped() {
8140            {
8141              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentLayoutEffectMountStopped === "function") {
8142                injectedProfilingHooks.markComponentLayoutEffectMountStopped();
8143              }
8144            }
8145          }
8146          function markComponentLayoutEffectUnmountStarted(fiber) {
8147            {
8148              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentLayoutEffectUnmountStarted === "function") {
8149                injectedProfilingHooks.markComponentLayoutEffectUnmountStarted(fiber);
8150              }
8151            }
8152          }
8153          function markComponentLayoutEffectUnmountStopped() {
8154            {
8155              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentLayoutEffectUnmountStopped === "function") {
8156                injectedProfilingHooks.markComponentLayoutEffectUnmountStopped();
8157              }
8158            }
8159          }
8160          function markComponentErrored(fiber, thrownValue, lanes) {
8161            {
8162              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentErrored === "function") {
8163                injectedProfilingHooks.markComponentErrored(fiber, thrownValue, lanes);
8164              }
8165            }
8166          }
8167          function markComponentSuspended(fiber, wakeable, lanes) {
8168            {
8169              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentSuspended === "function") {
8170                injectedProfilingHooks.markComponentSuspended(fiber, wakeable, lanes);
8171              }
8172            }
8173          }
8174          function markLayoutEffectsStarted(lanes) {
8175            {
8176              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markLayoutEffectsStarted === "function") {
8177                injectedProfilingHooks.markLayoutEffectsStarted(lanes);
8178              }
8179            }
8180          }
8181          function markLayoutEffectsStopped() {
8182            {
8183              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markLayoutEffectsStopped === "function") {
8184                injectedProfilingHooks.markLayoutEffectsStopped();
8185              }
8186            }
8187          }
8188          function markPassiveEffectsStarted(lanes) {
8189            {
8190              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markPassiveEffectsStarted === "function") {
8191                injectedProfilingHooks.markPassiveEffectsStarted(lanes);
8192              }
8193            }
8194          }
8195          function markPassiveEffectsStopped() {
8196            {
8197              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markPassiveEffectsStopped === "function") {
8198                injectedProfilingHooks.markPassiveEffectsStopped();
8199              }
8200            }
8201          }
8202          function markRenderStarted(lanes) {
8203            {
8204              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markRenderStarted === "function") {
8205                injectedProfilingHooks.markRenderStarted(lanes);
8206              }
8207            }
8208          }
8209          function markRenderYielded() {
8210            {
8211              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markRenderYielded === "function") {
8212                injectedProfilingHooks.markRenderYielded();
8213              }
8214            }
8215          }
8216          function markRenderStopped() {
8217            {
8218              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markRenderStopped === "function") {
8219                injectedProfilingHooks.markRenderStopped();
8220              }
8221            }
8222          }
8223          function markRenderScheduled(lane) {
8224            {
8225              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markRenderScheduled === "function") {
8226                injectedProfilingHooks.markRenderScheduled(lane);
8227              }
8228            }
8229          }
8230          function markForceUpdateScheduled(fiber, lane) {
8231            {
8232              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markForceUpdateScheduled === "function") {
8233                injectedProfilingHooks.markForceUpdateScheduled(fiber, lane);
8234              }
8235            }
8236          }
8237          function markStateUpdateScheduled(fiber, lane) {
8238            {
8239              if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markStateUpdateScheduled === "function") {
8240                injectedProfilingHooks.markStateUpdateScheduled(fiber, lane);
8241              }
8242            }
8243          }
8244          var NoMode = (
8245            /*                         */
8246            0
8247          );
8248          var ConcurrentMode = (
8249            /*                 */
8250            1
8251          );
8252          var ProfileMode = (
8253            /*                    */
8254            2
8255          );
8256          var StrictLegacyMode = (
8257            /*               */
8258            8
8259          );
8260          var StrictEffectsMode = (
8261            /*              */
8262            16
8263          );
8264          var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback;
8265          var log2 = Math.log;
8266          var LN2 = Math.LN2;
8267          function clz32Fallback(x2) {
8268            var asUint = x2 >>> 0;
8269            if (asUint === 0) {
8270              return 32;
8271            }
8272            return 31 - (log2(asUint) / LN2 | 0) | 0;
8273          }
8274          var TotalLanes = 31;
8275          var NoLanes = (
8276            /*                        */
8277            0
8278          );
8279          var NoLane = (
8280            /*                          */
8281            0
8282          );
8283          var SyncLane = (
8284            /*                        */
8285            1
8286          );
8287          var InputContinuousHydrationLane = (
8288            /*    */
8289            2
8290          );
8291          var InputContinuousLane = (
8292            /*             */
8293            4
8294          );
8295          var DefaultHydrationLane = (
8296            /*            */
8297            8
8298          );
8299          var DefaultLane = (
8300            /*                     */
8301            16
8302          );
8303          var TransitionHydrationLane = (
8304            /*                */
8305            32
8306          );
8307          var TransitionLanes = (
8308            /*                       */
8309            4194240
8310          );
8311          var TransitionLane1 = (
8312            /*                        */
8313            64
8314          );
8315          var TransitionLane2 = (
8316            /*                        */
8317            128
8318          );
8319          var TransitionLane3 = (
8320            /*                        */
8321            256
8322          );
8323          var TransitionLane4 = (
8324            /*                        */
8325            512
8326          );
8327          var TransitionLane5 = (
8328            /*                        */
8329            1024
8330          );
8331          var TransitionLane6 = (
8332            /*                        */
8333            2048
8334          );
8335          var TransitionLane7 = (
8336            /*                        */
8337            4096
8338          );
8339          var TransitionLane8 = (
8340            /*                        */
8341            8192
8342          );
8343          var TransitionLane9 = (
8344            /*                        */
8345            16384
8346          );
8347          var TransitionLane10 = (
8348            /*                       */
8349            32768
8350          );
8351          var TransitionLane11 = (
8352            /*                       */
8353            65536
8354          );
8355          var TransitionLane12 = (
8356            /*                       */
8357            131072
8358          );
8359          var TransitionLane13 = (
8360            /*                       */
8361            262144
8362          );
8363          var TransitionLane14 = (
8364            /*                       */
8365            524288
8366          );
8367          var TransitionLane15 = (
8368            /*                       */
8369            1048576
8370          );
8371          var TransitionLane16 = (
8372            /*                       */
8373            2097152
8374          );
8375          var RetryLanes = (
8376            /*                            */
8377            130023424
8378          );
8379          var RetryLane1 = (
8380            /*                             */
8381            4194304
8382          );
8383          var RetryLane2 = (
8384            /*                             */
8385            8388608
8386          );
8387          var RetryLane3 = (
8388            /*                             */
8389            16777216
8390          );
8391          var RetryLane4 = (
8392            /*                             */
8393            33554432
8394          );
8395          var RetryLane5 = (
8396            /*                             */
8397            67108864
8398          );
8399          var SomeRetryLane = RetryLane1;
8400          var SelectiveHydrationLane = (
8401            /*          */
8402            134217728
8403          );
8404          var NonIdleLanes = (
8405            /*                          */
8406            268435455
8407          );
8408          var IdleHydrationLane = (
8409            /*               */
8410            268435456
8411          );
8412          var IdleLane = (
8413            /*                        */
8414            536870912
8415          );
8416          var OffscreenLane = (
8417            /*                   */
8418            1073741824
8419          );
8420          function getLabelForLane(lane) {
8421            {
8422              if (lane & SyncLane) {
8423                return "Sync";
8424              }
8425              if (lane & InputContinuousHydrationLane) {
8426                return "InputContinuousHydration";
8427              }
8428              if (lane & InputContinuousLane) {
8429                return "InputContinuous";
8430              }
8431              if (lane & DefaultHydrationLane) {
8432                return "DefaultHydration";
8433              }
8434              if (lane & DefaultLane) {
8435                return "Default";
8436              }
8437              if (lane & TransitionHydrationLane) {
8438                return "TransitionHydration";
8439              }
8440              if (lane & TransitionLanes) {
8441                return "Transition";
8442              }
8443              if (lane & RetryLanes) {
8444                return "Retry";
8445              }
8446              if (lane & SelectiveHydrationLane) {
8447                return "SelectiveHydration";
8448              }
8449              if (lane & IdleHydrationLane) {
8450                return "IdleHydration";
8451              }
8452              if (lane & IdleLane) {
8453                return "Idle";
8454              }
8455              if (lane & OffscreenLane) {
8456                return "Offscreen";
8457              }
8458            }
8459          }
8460          var NoTimestamp = -1;
8461          var nextTransitionLane = TransitionLane1;
8462          var nextRetryLane = RetryLane1;
8463          function getHighestPriorityLanes(lanes) {
8464            switch (getHighestPriorityLane(lanes)) {
8465              case SyncLane:
8466                return SyncLane;
8467              case InputContinuousHydrationLane:
8468                return InputContinuousHydrationLane;
8469              case InputContinuousLane:
8470                return InputContinuousLane;
8471              case DefaultHydrationLane:
8472                return DefaultHydrationLane;
8473              case DefaultLane:
8474                return DefaultLane;
8475              case TransitionHydrationLane:
8476                return TransitionHydrationLane;
8477              case TransitionLane1:
8478              case TransitionLane2:
8479              case TransitionLane3:
8480              case TransitionLane4:
8481              case TransitionLane5:
8482              case TransitionLane6:
8483              case TransitionLane7:
8484              case TransitionLane8:
8485              case TransitionLane9:
8486              case TransitionLane10:
8487              case TransitionLane11:
8488              case TransitionLane12:
8489              case TransitionLane13:
8490              case TransitionLane14:
8491              case TransitionLane15:
8492              case TransitionLane16:
8493                return lanes & TransitionLanes;
8494              case RetryLane1:
8495              case RetryLane2:
8496              case RetryLane3:
8497              case RetryLane4:
8498              case RetryLane5:
8499                return lanes & RetryLanes;
8500              case SelectiveHydrationLane:
8501                return SelectiveHydrationLane;
8502              case IdleHydrationLane:
8503                return IdleHydrationLane;
8504              case IdleLane:
8505                return IdleLane;
8506              case OffscreenLane:
8507                return OffscreenLane;
8508              default:
8509                {
8510                  error("Should have found matching lanes. This is a bug in React.");
8511                }
8512                return lanes;
8513            }
8514          }
8515          function getNextLanes(root2, wipLanes) {
8516            var pendingLanes = root2.pendingLanes;
8517            if (pendingLanes === NoLanes) {
8518              return NoLanes;
8519            }
8520            var nextLanes = NoLanes;
8521            var suspendedLanes = root2.suspendedLanes;
8522            var pingedLanes = root2.pingedLanes;
8523            var nonIdlePendingLanes = pendingLanes & NonIdleLanes;
8524            if (nonIdlePendingLanes !== NoLanes) {
8525              var nonIdleUnblockedLanes = nonIdlePendingLanes & ~suspendedLanes;
8526              if (nonIdleUnblockedLanes !== NoLanes) {
8527                nextLanes = getHighestPriorityLanes(nonIdleUnblockedLanes);
8528              } else {
8529                var nonIdlePingedLanes = nonIdlePendingLanes & pingedLanes;
8530                if (nonIdlePingedLanes !== NoLanes) {
8531                  nextLanes = getHighestPriorityLanes(nonIdlePingedLanes);
8532                }
8533              }
8534            } else {
8535              var unblockedLanes = pendingLanes & ~suspendedLanes;
8536              if (unblockedLanes !== NoLanes) {
8537                nextLanes = getHighestPriorityLanes(unblockedLanes);
8538              } else {
8539                if (pingedLanes !== NoLanes) {
8540                  nextLanes = getHighestPriorityLanes(pingedLanes);
8541                }
8542              }
8543            }
8544            if (nextLanes === NoLanes) {
8545              return NoLanes;
8546            }
8547            if (wipLanes !== NoLanes && wipLanes !== nextLanes && // If we already suspended with a delay, then interrupting is fine. Don't
8548            // bother waiting until the root is complete.
8549            (wipLanes & suspendedLanes) === NoLanes) {
8550              var nextLane = getHighestPriorityLane(nextLanes);
8551              var wipLane = getHighestPriorityLane(wipLanes);
8552              if (
8553                // Tests whether the next lane is equal or lower priority than the wip
8554                // one. This works because the bits decrease in priority as you go left.
8555                nextLane >= wipLane || // Default priority updates should not interrupt transition updates. The
8556                // only difference between default updates and transition updates is that
8557                // default updates do not support refresh transitions.
8558                nextLane === DefaultLane && (wipLane & TransitionLanes) !== NoLanes
8559              ) {
8560                return wipLanes;
8561              }
8562            }
8563            if ((nextLanes & InputContinuousLane) !== NoLanes) {
8564              nextLanes |= pendingLanes & DefaultLane;
8565            }
8566            var entangledLanes = root2.entangledLanes;
8567            if (entangledLanes !== NoLanes) {
8568              var entanglements = root2.entanglements;
8569              var lanes = nextLanes & entangledLanes;
8570              while (lanes > 0) {
8571                var index3 = pickArbitraryLaneIndex(lanes);
8572                var lane = 1 << index3;
8573                nextLanes |= entanglements[index3];
8574                lanes &= ~lane;
8575              }
8576            }
8577            return nextLanes;
8578          }
8579          function getMostRecentEventTime(root2, lanes) {
8580            var eventTimes = root2.eventTimes;
8581            var mostRecentEventTime = NoTimestamp;
8582            while (lanes > 0) {
8583              var index3 = pickArbitraryLaneIndex(lanes);
8584              var lane = 1 << index3;
8585              var eventTime = eventTimes[index3];
8586              if (eventTime > mostRecentEventTime) {
8587                mostRecentEventTime = eventTime;
8588              }
8589              lanes &= ~lane;
8590            }
8591            return mostRecentEventTime;
8592          }
8593          function computeExpirationTime(lane, currentTime) {
8594            switch (lane) {
8595              case SyncLane:
8596              case InputContinuousHydrationLane:
8597              case InputContinuousLane:
8598                return currentTime + 250;
8599              case DefaultHydrationLane:
8600              case DefaultLane:
8601              case TransitionHydrationLane:
8602              case TransitionLane1:
8603              case TransitionLane2:
8604              case TransitionLane3:
8605              case TransitionLane4:
8606              case TransitionLane5:
8607              case TransitionLane6:
8608              case TransitionLane7:
8609              case TransitionLane8:
8610              case TransitionLane9:
8611              case TransitionLane10:
8612              case TransitionLane11:
8613              case TransitionLane12:
8614              case TransitionLane13:
8615              case TransitionLane14:
8616              case TransitionLane15:
8617              case TransitionLane16:
8618                return currentTime + 5e3;
8619              case RetryLane1:
8620              case RetryLane2:
8621              case RetryLane3:
8622              case RetryLane4:
8623              case RetryLane5:
8624                return NoTimestamp;
8625              case SelectiveHydrationLane:
8626              case IdleHydrationLane:
8627              case IdleLane:
8628              case OffscreenLane:
8629                return NoTimestamp;
8630              default:
8631                {
8632                  error("Should have found matching lanes. This is a bug in React.");
8633                }
8634                return NoTimestamp;
8635            }
8636          }
8637          function markStarvedLanesAsExpired(root2, currentTime) {
8638            var pendingLanes = root2.pendingLanes;
8639            var suspendedLanes = root2.suspendedLanes;
8640            var pingedLanes = root2.pingedLanes;
8641            var expirationTimes = root2.expirationTimes;
8642            var lanes = pendingLanes;
8643            while (lanes > 0) {
8644              var index3 = pickArbitraryLaneIndex(lanes);
8645              var lane = 1 << index3;
8646              var expirationTime = expirationTimes[index3];
8647              if (expirationTime === NoTimestamp) {
8648                if ((lane & suspendedLanes) === NoLanes || (lane & pingedLanes) !== NoLanes) {
8649                  expirationTimes[index3] = computeExpirationTime(lane, currentTime);
8650                }
8651              } else if (expirationTime <= currentTime) {
8652                root2.expiredLanes |= lane;
8653              }
8654              lanes &= ~lane;
8655            }
8656          }
8657          function getHighestPriorityPendingLanes(root2) {
8658            return getHighestPriorityLanes(root2.pendingLanes);
8659          }
8660          function getLanesToRetrySynchronouslyOnError(root2) {
8661            var everythingButOffscreen = root2.pendingLanes & ~OffscreenLane;
8662            if (everythingButOffscreen !== NoLanes) {
8663              return everythingButOffscreen;
8664            }
8665            if (everythingButOffscreen & OffscreenLane) {
8666              return OffscreenLane;
8667            }
8668            return NoLanes;
8669          }
8670          function includesSyncLane(lanes) {
8671            return (lanes & SyncLane) !== NoLanes;
8672          }
8673          function includesNonIdleWork(lanes) {
8674            return (lanes & NonIdleLanes) !== NoLanes;
8675          }
8676          function includesOnlyRetries(lanes) {
8677            return (lanes & RetryLanes) === lanes;
8678          }
8679          function includesOnlyNonUrgentLanes(lanes) {
8680            var UrgentLanes = SyncLane | InputContinuousLane | DefaultLane;
8681            return (lanes & UrgentLanes) === NoLanes;
8682          }
8683          function includesOnlyTransitions(lanes) {
8684            return (lanes & TransitionLanes) === lanes;
8685          }
8686          function includesBlockingLane(root2, lanes) {
8687            var SyncDefaultLanes = InputContinuousHydrationLane | InputContinuousLane | DefaultHydrationLane | DefaultLane;
8688            return (lanes & SyncDefaultLanes) !== NoLanes;
8689          }
8690          function includesExpiredLane(root2, lanes) {
8691            return (lanes & root2.expiredLanes) !== NoLanes;
8692          }
8693          function isTransitionLane(lane) {
8694            return (lane & TransitionLanes) !== NoLanes;
8695          }
8696          function claimNextTransitionLane() {
8697            var lane = nextTransitionLane;
8698            nextTransitionLane <<= 1;
8699            if ((nextTransitionLane & TransitionLanes) === NoLanes) {
8700              nextTransitionLane = TransitionLane1;
8701            }
8702            return lane;
8703          }
8704          function claimNextRetryLane() {
8705            var lane = nextRetryLane;
8706            nextRetryLane <<= 1;
8707            if ((nextRetryLane & RetryLanes) === NoLanes) {
8708              nextRetryLane = RetryLane1;
8709            }
8710            return lane;
8711          }
8712          function getHighestPriorityLane(lanes) {
8713            return lanes & -lanes;
8714          }
8715          function pickArbitraryLane(lanes) {
8716            return getHighestPriorityLane(lanes);
8717          }
8718          function pickArbitraryLaneIndex(lanes) {
8719            return 31 - clz32(lanes);
8720          }
8721          function laneToIndex(lane) {
8722            return pickArbitraryLaneIndex(lane);
8723          }
8724          function includesSomeLane(a, b) {
8725            return (a & b) !== NoLanes;
8726          }
8727          function isSubsetOfLanes(set2, subset) {
8728            return (set2 & subset) === subset;
8729          }
8730          function mergeLanes(a, b) {
8731            return a | b;
8732          }
8733          function removeLanes(set2, subset) {
8734            return set2 & ~subset;
8735          }
8736          function intersectLanes(a, b) {
8737            return a & b;
8738          }
8739          function laneToLanes(lane) {
8740            return lane;
8741          }
8742          function higherPriorityLane(a, b) {
8743            return a !== NoLane && a < b ? a : b;
8744          }
8745          function createLaneMap(initial2) {
8746            var laneMap = [];
8747            for (var i2 = 0; i2 < TotalLanes; i2++) {
8748              laneMap.push(initial2);
8749            }
8750            return laneMap;
8751          }
8752          function markRootUpdated(root2, updateLane, eventTime) {
8753            root2.pendingLanes |= updateLane;
8754            if (updateLane !== IdleLane) {
8755              root2.suspendedLanes = NoLanes;
8756              root2.pingedLanes = NoLanes;
8757            }
8758            var eventTimes = root2.eventTimes;
8759            var index3 = laneToIndex(updateLane);
8760            eventTimes[index3] = eventTime;
8761          }
8762          function markRootSuspended(root2, suspendedLanes) {
8763            root2.suspendedLanes |= suspendedLanes;
8764            root2.pingedLanes &= ~suspendedLanes;
8765            var expirationTimes = root2.expirationTimes;
8766            var lanes = suspendedLanes;
8767            while (lanes > 0) {
8768              var index3 = pickArbitraryLaneIndex(lanes);
8769              var lane = 1 << index3;
8770              expirationTimes[index3] = NoTimestamp;
8771              lanes &= ~lane;
8772            }
8773          }
8774          function markRootPinged(root2, pingedLanes, eventTime) {
8775            root2.pingedLanes |= root2.suspendedLanes & pingedLanes;
8776          }
8777          function markRootFinished(root2, remainingLanes) {
8778            var noLongerPendingLanes = root2.pendingLanes & ~remainingLanes;
8779            root2.pendingLanes = remainingLanes;
8780            root2.suspendedLanes = NoLanes;
8781            root2.pingedLanes = NoLanes;
8782            root2.expiredLanes &= remainingLanes;
8783            root2.mutableReadLanes &= remainingLanes;
8784            root2.entangledLanes &= remainingLanes;
8785            var entanglements = root2.entanglements;
8786            var eventTimes = root2.eventTimes;
8787            var expirationTimes = root2.expirationTimes;
8788            var lanes = noLongerPendingLanes;
8789            while (lanes > 0) {
8790              var index3 = pickArbitraryLaneIndex(lanes);
8791              var lane = 1 << index3;
8792              entanglements[index3] = NoLanes;
8793              eventTimes[index3] = NoTimestamp;
8794              expirationTimes[index3] = NoTimestamp;
8795              lanes &= ~lane;
8796            }
8797          }
8798          function markRootEntangled(root2, entangledLanes) {
8799            var rootEntangledLanes = root2.entangledLanes |= entangledLanes;
8800            var entanglements = root2.entanglements;
8801            var lanes = rootEntangledLanes;
8802            while (lanes) {
8803              var index3 = pickArbitraryLaneIndex(lanes);
8804              var lane = 1 << index3;
8805              if (
8806                // Is this one of the newly entangled lanes?
8807                lane & entangledLanes | // Is this lane transitively entangled with the newly entangled lanes?
8808                entanglements[index3] & entangledLanes
8809              ) {
8810                entanglements[index3] |= entangledLanes;
8811              }
8812              lanes &= ~lane;
8813            }
8814          }
8815          function getBumpedLaneForHydration(root2, renderLanes2) {
8816            var renderLane = getHighestPriorityLane(renderLanes2);
8817            var lane;
8818            switch (renderLane) {
8819              case InputContinuousLane:
8820                lane = InputContinuousHydrationLane;
8821                break;
8822              case DefaultLane:
8823                lane = DefaultHydrationLane;
8824                break;
8825              case TransitionLane1:
8826              case TransitionLane2:
8827              case TransitionLane3:
8828              case TransitionLane4:
8829              case TransitionLane5:
8830              case TransitionLane6:
8831              case TransitionLane7:
8832              case TransitionLane8:
8833              case TransitionLane9:
8834              case TransitionLane10:
8835              case TransitionLane11:
8836              case TransitionLane12:
8837              case TransitionLane13:
8838              case TransitionLane14:
8839              case TransitionLane15:
8840              case TransitionLane16:
8841              case RetryLane1:
8842              case RetryLane2:
8843              case RetryLane3:
8844              case RetryLane4:
8845              case RetryLane5:
8846                lane = TransitionHydrationLane;
8847                break;
8848              case IdleLane:
8849                lane = IdleHydrationLane;
8850                break;
8851              default:
8852                lane = NoLane;
8853                break;
8854            }
8855            if ((lane & (root2.suspendedLanes | renderLanes2)) !== NoLane) {
8856              return NoLane;
8857            }
8858            return lane;
8859          }
8860          function addFiberToLanesMap(root2, fiber, lanes) {
8861            if (!isDevToolsPresent) {
8862              return;
8863            }
8864            var pendingUpdatersLaneMap = root2.pendingUpdatersLaneMap;
8865            while (lanes > 0) {
8866              var index3 = laneToIndex(lanes);
8867              var lane = 1 << index3;
8868              var updaters = pendingUpdatersLaneMap[index3];
8869              updaters.add(fiber);
8870              lanes &= ~lane;
8871            }
8872          }
8873          function movePendingFibersToMemoized(root2, lanes) {
8874            if (!isDevToolsPresent) {
8875              return;
8876            }
8877            var pendingUpdatersLaneMap = root2.pendingUpdatersLaneMap;
8878            var memoizedUpdaters = root2.memoizedUpdaters;
8879            while (lanes > 0) {
8880              var index3 = laneToIndex(lanes);
8881              var lane = 1 << index3;
8882              var updaters = pendingUpdatersLaneMap[index3];
8883              if (updaters.size > 0) {
8884                updaters.forEach(function(fiber) {
8885                  var alternate = fiber.alternate;
8886                  if (alternate === null || !memoizedUpdaters.has(alternate)) {
8887                    memoizedUpdaters.add(fiber);
8888                  }
8889                });
8890                updaters.clear();
8891              }
8892              lanes &= ~lane;
8893            }
8894          }
8895          function getTransitionsForLanes(root2, lanes) {
8896            {
8897              return null;
8898            }
8899          }
8900          var DiscreteEventPriority = SyncLane;
8901          var ContinuousEventPriority = InputContinuousLane;
8902          var DefaultEventPriority = DefaultLane;
8903          var IdleEventPriority = IdleLane;
8904          var currentUpdatePriority = NoLane;
8905          function getCurrentUpdatePriority() {
8906            return currentUpdatePriority;
8907          }
8908          function setCurrentUpdatePriority(newPriority) {
8909            currentUpdatePriority = newPriority;
8910          }
8911          function runWithPriority(priority, fn) {
8912            var previousPriority = currentUpdatePriority;
8913            try {
8914              currentUpdatePriority = priority;
8915              return fn();
8916            } finally {
8917              currentUpdatePriority = previousPriority;
8918            }
8919          }
8920          function higherEventPriority(a, b) {
8921            return a !== 0 && a < b ? a : b;
8922          }
8923          function lowerEventPriority(a, b) {
8924            return a === 0 || a > b ? a : b;
8925          }
8926          function isHigherEventPriority(a, b) {
8927            return a !== 0 && a < b;
8928          }
8929          function lanesToEventPriority(lanes) {
8930            var lane = getHighestPriorityLane(lanes);
8931            if (!isHigherEventPriority(DiscreteEventPriority, lane)) {
8932              return DiscreteEventPriority;
8933            }
8934            if (!isHigherEventPriority(ContinuousEventPriority, lane)) {
8935              return ContinuousEventPriority;
8936            }
8937            if (includesNonIdleWork(lane)) {
8938              return DefaultEventPriority;
8939            }
8940            return IdleEventPriority;
8941          }
8942          function isRootDehydrated(root2) {
8943            var currentState = root2.current.memoizedState;
8944            return currentState.isDehydrated;
8945          }
8946          var _attemptSynchronousHydration;
8947          function setAttemptSynchronousHydration(fn) {
8948            _attemptSynchronousHydration = fn;
8949          }
8950          function attemptSynchronousHydration(fiber) {
8951            _attemptSynchronousHydration(fiber);
8952          }
8953          var attemptContinuousHydration;
8954          function setAttemptContinuousHydration(fn) {
8955            attemptContinuousHydration = fn;
8956          }
8957          var attemptHydrationAtCurrentPriority;
8958          function setAttemptHydrationAtCurrentPriority(fn) {
8959            attemptHydrationAtCurrentPriority = fn;
8960          }
8961          var getCurrentUpdatePriority$1;
8962          function setGetCurrentUpdatePriority(fn) {
8963            getCurrentUpdatePriority$1 = fn;
8964          }
8965          var attemptHydrationAtPriority;
8966          function setAttemptHydrationAtPriority(fn) {
8967            attemptHydrationAtPriority = fn;
8968          }
8969          var hasScheduledReplayAttempt = false;
8970          var queuedDiscreteEvents = [];
8971          var queuedFocus = null;
8972          var queuedDrag = null;
8973          var queuedMouse = null;
8974          var queuedPointers = /* @__PURE__ */ new Map();
8975          var queuedPointerCaptures = /* @__PURE__ */ new Map();
8976          var queuedExplicitHydrationTargets = [];
8977          var discreteReplayableEvents = [
8978            "mousedown",
8979            "mouseup",
8980            "touchcancel",
8981            "touchend",
8982            "touchstart",
8983            "auxclick",
8984            "dblclick",
8985            "pointercancel",
8986            "pointerdown",
8987            "pointerup",
8988            "dragend",
8989            "dragstart",
8990            "drop",
8991            "compositionend",
8992            "compositionstart",
8993            "keydown",
8994            "keypress",
8995            "keyup",
8996            "input",
8997            "textInput",
8998            // Intentionally camelCase
8999            "copy",
9000            "cut",
9001            "paste",
9002            "click",
9003            "change",
9004            "contextmenu",
9005            "reset",
9006            "submit"
9007          ];
9008          function isDiscreteEventThatRequiresHydration(eventType) {
9009            return discreteReplayableEvents.indexOf(eventType) > -1;
9010          }
9011          function createQueuedReplayableEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) {
9012            return {
9013              blockedOn,
9014              domEventName,
9015              eventSystemFlags,
9016              nativeEvent,
9017              targetContainers: [targetContainer]
9018            };
9019          }
9020          function clearIfContinuousEvent(domEventName, nativeEvent) {
9021            switch (domEventName) {
9022              case "focusin":
9023              case "focusout":
9024                queuedFocus = null;
9025                break;
9026              case "dragenter":
9027              case "dragleave":
9028                queuedDrag = null;
9029                break;
9030              case "mouseover":
9031              case "mouseout":
9032                queuedMouse = null;
9033                break;
9034              case "pointerover":
9035              case "pointerout": {
9036                var pointerId = nativeEvent.pointerId;
9037                queuedPointers.delete(pointerId);
9038                break;
9039              }
9040              case "gotpointercapture":
9041              case "lostpointercapture": {
9042                var _pointerId = nativeEvent.pointerId;
9043                queuedPointerCaptures.delete(_pointerId);
9044                break;
9045              }
9046            }
9047          }
9048          function accumulateOrCreateContinuousQueuedReplayableEvent(existingQueuedEvent, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) {
9049            if (existingQueuedEvent === null || existingQueuedEvent.nativeEvent !== nativeEvent) {
9050              var queuedEvent = createQueuedReplayableEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent);
9051              if (blockedOn !== null) {
9052                var _fiber2 = getInstanceFromNode(blockedOn);
9053                if (_fiber2 !== null) {
9054                  attemptContinuousHydration(_fiber2);
9055                }
9056              }
9057              return queuedEvent;
9058            }
9059            existingQueuedEvent.eventSystemFlags |= eventSystemFlags;
9060            var targetContainers = existingQueuedEvent.targetContainers;
9061            if (targetContainer !== null && targetContainers.indexOf(targetContainer) === -1) {
9062              targetContainers.push(targetContainer);
9063            }
9064            return existingQueuedEvent;
9065          }
9066          function queueIfContinuousEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) {
9067            switch (domEventName) {
9068              case "focusin": {
9069                var focusEvent = nativeEvent;
9070                queuedFocus = accumulateOrCreateContinuousQueuedReplayableEvent(queuedFocus, blockedOn, domEventName, eventSystemFlags, targetContainer, focusEvent);
9071                return true;
9072              }
9073              case "dragenter": {
9074                var dragEvent = nativeEvent;
9075                queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent(queuedDrag, blockedOn, domEventName, eventSystemFlags, targetContainer, dragEvent);
9076                return true;
9077              }
9078              case "mouseover": {
9079                var mouseEvent = nativeEvent;
9080                queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent(queuedMouse, blockedOn, domEventName, eventSystemFlags, targetContainer, mouseEvent);
9081                return true;
9082              }
9083              case "pointerover": {
9084                var pointerEvent = nativeEvent;
9085                var pointerId = pointerEvent.pointerId;
9086                queuedPointers.set(pointerId, accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointers.get(pointerId) || null, blockedOn, domEventName, eventSystemFlags, targetContainer, pointerEvent));
9087                return true;
9088              }
9089              case "gotpointercapture": {
9090                var _pointerEvent = nativeEvent;
9091                var _pointerId2 = _pointerEvent.pointerId;
9092                queuedPointerCaptures.set(_pointerId2, accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointerCaptures.get(_pointerId2) || null, blockedOn, domEventName, eventSystemFlags, targetContainer, _pointerEvent));
9093                return true;
9094              }
9095            }
9096            return false;
9097          }
9098          function attemptExplicitHydrationTarget(queuedTarget) {
9099            var targetInst = getClosestInstanceFromNode(queuedTarget.target);
9100            if (targetInst !== null) {
9101              var nearestMounted = getNearestMountedFiber(targetInst);
9102              if (nearestMounted !== null) {
9103                var tag = nearestMounted.tag;
9104                if (tag === SuspenseComponent) {
9105                  var instance = getSuspenseInstanceFromFiber(nearestMounted);
9106                  if (instance !== null) {
9107                    queuedTarget.blockedOn = instance;
9108                    attemptHydrationAtPriority(queuedTarget.priority, function() {
9109                      attemptHydrationAtCurrentPriority(nearestMounted);
9110                    });
9111                    return;
9112                  }
9113                } else if (tag === HostRoot) {
9114                  var root2 = nearestMounted.stateNode;
9115                  if (isRootDehydrated(root2)) {
9116                    queuedTarget.blockedOn = getContainerFromFiber(nearestMounted);
9117                    return;
9118                  }
9119                }
9120              }
9121            }
9122            queuedTarget.blockedOn = null;
9123          }
9124          function queueExplicitHydrationTarget(target) {
9125            var updatePriority = getCurrentUpdatePriority$1();
9126            var queuedTarget = {
9127              blockedOn: null,
9128              target,
9129              priority: updatePriority
9130            };
9131            var i2 = 0;
9132            for (; i2 < queuedExplicitHydrationTargets.length; i2++) {
9133              if (!isHigherEventPriority(updatePriority, queuedExplicitHydrationTargets[i2].priority)) {
9134                break;
9135              }
9136            }
9137            queuedExplicitHydrationTargets.splice(i2, 0, queuedTarget);
9138            if (i2 === 0) {
9139              attemptExplicitHydrationTarget(queuedTarget);
9140            }
9141          }
9142          function attemptReplayContinuousQueuedEvent(queuedEvent) {
9143            if (queuedEvent.blockedOn !== null) {
9144              return false;
9145            }
9146            var targetContainers = queuedEvent.targetContainers;
9147            while (targetContainers.length > 0) {
9148              var targetContainer = targetContainers[0];
9149              var nextBlockedOn = findInstanceBlockingEvent(queuedEvent.domEventName, queuedEvent.eventSystemFlags, targetContainer, queuedEvent.nativeEvent);
9150              if (nextBlockedOn === null) {
9151                {
9152                  var nativeEvent = queuedEvent.nativeEvent;
9153                  var nativeEventClone = new nativeEvent.constructor(nativeEvent.type, nativeEvent);
9154                  setReplayingEvent(nativeEventClone);
9155                  nativeEvent.target.dispatchEvent(nativeEventClone);
9156                  resetReplayingEvent();
9157                }
9158              } else {
9159                var _fiber3 = getInstanceFromNode(nextBlockedOn);
9160                if (_fiber3 !== null) {
9161                  attemptContinuousHydration(_fiber3);
9162                }
9163                queuedEvent.blockedOn = nextBlockedOn;
9164                return false;
9165              }
9166              targetContainers.shift();
9167            }
9168            return true;
9169          }
9170          function attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) {
9171            if (attemptReplayContinuousQueuedEvent(queuedEvent)) {
9172              map.delete(key);
9173            }
9174          }
9175          function replayUnblockedEvents() {
9176            hasScheduledReplayAttempt = false;
9177            if (queuedFocus !== null && attemptReplayContinuousQueuedEvent(queuedFocus)) {
9178              queuedFocus = null;
9179            }
9180            if (queuedDrag !== null && attemptReplayContinuousQueuedEvent(queuedDrag)) {
9181              queuedDrag = null;
9182            }
9183            if (queuedMouse !== null && attemptReplayContinuousQueuedEvent(queuedMouse)) {
9184              queuedMouse = null;
9185            }
9186            queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap);
9187            queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap);
9188          }
9189          function scheduleCallbackIfUnblocked(queuedEvent, unblocked) {
9190            if (queuedEvent.blockedOn === unblocked) {
9191              queuedEvent.blockedOn = null;
9192              if (!hasScheduledReplayAttempt) {
9193                hasScheduledReplayAttempt = true;
9194                Scheduler.unstable_scheduleCallback(Scheduler.unstable_NormalPriority, replayUnblockedEvents);
9195              }
9196            }
9197          }
9198          function retryIfBlockedOn(unblocked) {
9199            if (queuedDiscreteEvents.length > 0) {
9200              scheduleCallbackIfUnblocked(queuedDiscreteEvents[0], unblocked);
9201              for (var i2 = 1; i2 < queuedDiscreteEvents.length; i2++) {
9202                var queuedEvent = queuedDiscreteEvents[i2];
9203                if (queuedEvent.blockedOn === unblocked) {
9204                  queuedEvent.blockedOn = null;
9205                }
9206              }
9207            }
9208            if (queuedFocus !== null) {
9209              scheduleCallbackIfUnblocked(queuedFocus, unblocked);
9210            }
9211            if (queuedDrag !== null) {
9212              scheduleCallbackIfUnblocked(queuedDrag, unblocked);
9213            }
9214            if (queuedMouse !== null) {
9215              scheduleCallbackIfUnblocked(queuedMouse, unblocked);
9216            }
9217            var unblock = function(queuedEvent2) {
9218              return scheduleCallbackIfUnblocked(queuedEvent2, unblocked);
9219            };
9220            queuedPointers.forEach(unblock);
9221            queuedPointerCaptures.forEach(unblock);
9222            for (var _i = 0; _i < queuedExplicitHydrationTargets.length; _i++) {
9223              var queuedTarget = queuedExplicitHydrationTargets[_i];
9224              if (queuedTarget.blockedOn === unblocked) {
9225                queuedTarget.blockedOn = null;
9226              }
9227            }
9228            while (queuedExplicitHydrationTargets.length > 0) {
9229              var nextExplicitTarget = queuedExplicitHydrationTargets[0];
9230              if (nextExplicitTarget.blockedOn !== null) {
9231                break;
9232              } else {
9233                attemptExplicitHydrationTarget(nextExplicitTarget);
9234                if (nextExplicitTarget.blockedOn === null) {
9235                  queuedExplicitHydrationTargets.shift();
9236                }
9237              }
9238            }
9239          }
9240          var ReactCurrentBatchConfig = ReactSharedInternals.ReactCurrentBatchConfig;
9241          var _enabled = true;
9242          function setEnabled(enabled) {
9243            _enabled = !!enabled;
9244          }
9245          function isEnabled() {
9246            return _enabled;
9247          }
9248          function createEventListenerWrapperWithPriority(targetContainer, domEventName, eventSystemFlags) {
9249            var eventPriority = getEventPriority(domEventName);
9250            var listenerWrapper;
9251            switch (eventPriority) {
9252              case DiscreteEventPriority:
9253                listenerWrapper = dispatchDiscreteEvent;
9254                break;
9255              case ContinuousEventPriority:
9256                listenerWrapper = dispatchContinuousEvent;
9257                break;
9258              case DefaultEventPriority:
9259              default:
9260                listenerWrapper = dispatchEvent;
9261                break;
9262            }
9263            return listenerWrapper.bind(null, domEventName, eventSystemFlags, targetContainer);
9264          }
9265          function dispatchDiscreteEvent(domEventName, eventSystemFlags, container, nativeEvent) {
9266            var previousPriority = getCurrentUpdatePriority();
9267            var prevTransition = ReactCurrentBatchConfig.transition;
9268            ReactCurrentBatchConfig.transition = null;
9269            try {
9270              setCurrentUpdatePriority(DiscreteEventPriority);
9271              dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);
9272            } finally {
9273              setCurrentUpdatePriority(previousPriority);
9274              ReactCurrentBatchConfig.transition = prevTransition;
9275            }
9276          }
9277          function dispatchContinuousEvent(domEventName, eventSystemFlags, container, nativeEvent) {
9278            var previousPriority = getCurrentUpdatePriority();
9279            var prevTransition = ReactCurrentBatchConfig.transition;
9280            ReactCurrentBatchConfig.transition = null;
9281            try {
9282              setCurrentUpdatePriority(ContinuousEventPriority);
9283              dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);
9284            } finally {
9285              setCurrentUpdatePriority(previousPriority);
9286              ReactCurrentBatchConfig.transition = prevTransition;
9287            }
9288          }
9289          function dispatchEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent) {
9290            if (!_enabled) {
9291              return;
9292            }
9293            {
9294              dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay(domEventName, eventSystemFlags, targetContainer, nativeEvent);
9295            }
9296          }
9297          function dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay(domEventName, eventSystemFlags, targetContainer, nativeEvent) {
9298            var blockedOn = findInstanceBlockingEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent);
9299            if (blockedOn === null) {
9300              dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, return_targetInst, targetContainer);
9301              clearIfContinuousEvent(domEventName, nativeEvent);
9302              return;
9303            }
9304            if (queueIfContinuousEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent)) {
9305              nativeEvent.stopPropagation();
9306              return;
9307            }
9308            clearIfContinuousEvent(domEventName, nativeEvent);
9309            if (eventSystemFlags & IS_CAPTURE_PHASE && isDiscreteEventThatRequiresHydration(domEventName)) {
9310              while (blockedOn !== null) {
9311                var fiber = getInstanceFromNode(blockedOn);
9312                if (fiber !== null) {
9313                  attemptSynchronousHydration(fiber);
9314                }
9315                var nextBlockedOn = findInstanceBlockingEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent);
9316                if (nextBlockedOn === null) {
9317                  dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, return_targetInst, targetContainer);
9318                }
9319                if (nextBlockedOn === blockedOn) {
9320                  break;
9321                }
9322                blockedOn = nextBlockedOn;
9323              }
9324              if (blockedOn !== null) {
9325                nativeEvent.stopPropagation();
9326              }
9327              return;
9328            }
9329            dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, null, targetContainer);
9330          }
9331          var return_targetInst = null;
9332          function findInstanceBlockingEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent) {
9333            return_targetInst = null;
9334            var nativeEventTarget = getEventTarget2(nativeEvent);
9335            var targetInst = getClosestInstanceFromNode(nativeEventTarget);
9336            if (targetInst !== null) {
9337              var nearestMounted = getNearestMountedFiber(targetInst);
9338              if (nearestMounted === null) {
9339                targetInst = null;
9340              } else {
9341                var tag = nearestMounted.tag;
9342                if (tag === SuspenseComponent) {
9343                  var instance = getSuspenseInstanceFromFiber(nearestMounted);
9344                  if (instance !== null) {
9345                    return instance;
9346                  }
9347                  targetInst = null;
9348                } else if (tag === HostRoot) {
9349                  var root2 = nearestMounted.stateNode;
9350                  if (isRootDehydrated(root2)) {
9351                    return getContainerFromFiber(nearestMounted);
9352                  }
9353                  targetInst = null;
9354                } else if (nearestMounted !== targetInst) {
9355                  targetInst = null;
9356                }
9357              }
9358            }
9359            return_targetInst = targetInst;
9360            return null;
9361          }
9362          function getEventPriority(domEventName) {
9363            switch (domEventName) {
9364              // Used by SimpleEventPlugin:
9365              case "cancel":
9366              case "click":
9367              case "close":
9368              case "contextmenu":
9369              case "copy":
9370              case "cut":
9371              case "auxclick":
9372              case "dblclick":
9373              case "dragend":
9374              case "dragstart":
9375              case "drop":
9376              case "focusin":
9377              case "focusout":
9378              case "input":
9379              case "invalid":
9380              case "keydown":
9381              case "keypress":
9382              case "keyup":
9383              case "mousedown":
9384              case "mouseup":
9385              case "paste":
9386              case "pause":
9387              case "play":
9388              case "pointercancel":
9389              case "pointerdown":
9390              case "pointerup":
9391              case "ratechange":
9392              case "reset":
9393              case "resize":
9394              case "seeked":
9395              case "submit":
9396              case "touchcancel":
9397              case "touchend":
9398              case "touchstart":
9399              case "volumechange":
9400              // Used by polyfills:
9401              // eslint-disable-next-line no-fallthrough
9402              case "change":
9403              case "selectionchange":
9404              case "textInput":
9405              case "compositionstart":
9406              case "compositionend":
9407              case "compositionupdate":
9408              // Only enableCreateEventHandleAPI:
9409              // eslint-disable-next-line no-fallthrough
9410              case "beforeblur":
9411              case "afterblur":
9412              // Not used by React but could be by user code:
9413              // eslint-disable-next-line no-fallthrough
9414              case "beforeinput":
9415              case "blur":
9416              case "fullscreenchange":
9417              case "focus":
9418              case "hashchange":
9419              case "popstate":
9420              case "select":
9421              case "selectstart":
9422                return DiscreteEventPriority;
9423              case "drag":
9424              case "dragenter":
9425              case "dragexit":
9426              case "dragleave":
9427              case "dragover":
9428              case "mousemove":
9429              case "mouseout":
9430              case "mouseover":
9431              case "pointermove":
9432              case "pointerout":
9433              case "pointerover":
9434              case "scroll":
9435              case "toggle":
9436              case "touchmove":
9437              case "wheel":
9438              // Not used by React but could be by user code:
9439              // eslint-disable-next-line no-fallthrough
9440              case "mouseenter":
9441              case "mouseleave":
9442              case "pointerenter":
9443              case "pointerleave":
9444                return ContinuousEventPriority;
9445              case "message": {
9446                var schedulerPriority = getCurrentPriorityLevel();
9447                switch (schedulerPriority) {
9448                  case ImmediatePriority:
9449                    return DiscreteEventPriority;
9450                  case UserBlockingPriority:
9451                    return ContinuousEventPriority;
9452                  case NormalPriority:
9453                  case LowPriority:
9454                    return DefaultEventPriority;
9455                  case IdlePriority:
9456                    return IdleEventPriority;
9457                  default:
9458                    return DefaultEventPriority;
9459                }
9460              }
9461              default:
9462                return DefaultEventPriority;
9463            }
9464          }
9465          function addEventBubbleListener(target, eventType, listener2) {
9466            target.addEventListener(eventType, listener2, false);
9467            return listener2;
9468          }
9469          function addEventCaptureListener(target, eventType, listener2) {
9470            target.addEventListener(eventType, listener2, true);
9471            return listener2;
9472          }
9473          function addEventCaptureListenerWithPassiveFlag(target, eventType, listener2, passive) {
9474            target.addEventListener(eventType, listener2, {
9475              capture: true,
9476              passive
9477            });
9478            return listener2;
9479          }
9480          function addEventBubbleListenerWithPassiveFlag(target, eventType, listener2, passive) {
9481            target.addEventListener(eventType, listener2, {
9482              passive
9483            });
9484            return listener2;
9485          }
9486          var root = null;
9487          var startText = null;
9488          var fallbackText = null;
9489          function initialize(nativeEventTarget) {
9490            root = nativeEventTarget;
9491            startText = getText();
9492            return true;
9493          }
9494          function reset() {
9495            root = null;
9496            startText = null;
9497            fallbackText = null;
9498          }
9499          function getData() {
9500            if (fallbackText) {
9501              return fallbackText;
9502            }
9503            var start;
9504            var startValue = startText;
9505            var startLength = startValue.length;
9506            var end2;
9507            var endValue = getText();
9508            var endLength = endValue.length;
9509            for (start = 0; start < startLength; start++) {
9510              if (startValue[start] !== endValue[start]) {
9511                break;
9512              }
9513            }
9514            var minEnd = startLength - start;
9515            for (end2 = 1; end2 <= minEnd; end2++) {
9516              if (startValue[startLength - end2] !== endValue[endLength - end2]) {
9517                break;
9518              }
9519            }
9520            var sliceTail = end2 > 1 ? 1 - end2 : void 0;
9521            fallbackText = endValue.slice(start, sliceTail);
9522            return fallbackText;
9523          }
9524          function getText() {
9525            if ("value" in root) {
9526              return root.value;
9527            }
9528            return root.textContent;
9529          }
9530          function getEventCharCode(nativeEvent) {
9531            var charCode;
9532            var keyCode = nativeEvent.keyCode;
9533            if ("charCode" in nativeEvent) {
9534              charCode = nativeEvent.charCode;
9535              if (charCode === 0 && keyCode === 13) {
9536                charCode = 13;
9537              }
9538            } else {
9539              charCode = keyCode;
9540            }
9541            if (charCode === 10) {
9542              charCode = 13;
9543            }
9544            if (charCode >= 32 || charCode === 13) {
9545              return charCode;
9546            }
9547            return 0;
9548          }
9549          function functionThatReturnsTrue() {
9550            return true;
9551          }
9552          function functionThatReturnsFalse() {
9553            return false;
9554          }
9555          function createSyntheticEvent(Interface) {
9556            function SyntheticBaseEvent(reactName, reactEventType, targetInst, nativeEvent, nativeEventTarget) {
9557              this._reactName = reactName;
9558              this._targetInst = targetInst;
9559              this.type = reactEventType;
9560              this.nativeEvent = nativeEvent;
9561              this.target = nativeEventTarget;
9562              this.currentTarget = null;
9563              for (var _propName in Interface) {
9564                if (!Interface.hasOwnProperty(_propName)) {
9565                  continue;
9566                }
9567                var normalize2 = Interface[_propName];
9568                if (normalize2) {
9569                  this[_propName] = normalize2(nativeEvent);
9570                } else {
9571                  this[_propName] = nativeEvent[_propName];
9572                }
9573              }
9574              var defaultPrevented = nativeEvent.defaultPrevented != null ? nativeEvent.defaultPrevented : nativeEvent.returnValue === false;
9575              if (defaultPrevented) {
9576                this.isDefaultPrevented = functionThatReturnsTrue;
9577              } else {
9578                this.isDefaultPrevented = functionThatReturnsFalse;
9579              }
9580              this.isPropagationStopped = functionThatReturnsFalse;
9581              return this;
9582            }
9583            assign3(SyntheticBaseEvent.prototype, {
9584              preventDefault: function() {
9585                this.defaultPrevented = true;
9586                var event = this.nativeEvent;
9587                if (!event) {
9588                  return;
9589                }
9590                if (event.preventDefault) {
9591                  event.preventDefault();
9592                } else if (typeof event.returnValue !== "unknown") {
9593                  event.returnValue = false;
9594                }
9595                this.isDefaultPrevented = functionThatReturnsTrue;
9596              },
9597              stopPropagation: function() {
9598                var event = this.nativeEvent;
9599                if (!event) {
9600                  return;
9601                }
9602                if (event.stopPropagation) {
9603                  event.stopPropagation();
9604                } else if (typeof event.cancelBubble !== "unknown") {
9605                  event.cancelBubble = true;
9606                }
9607                this.isPropagationStopped = functionThatReturnsTrue;
9608              },
9609              /**
9610               * We release all dispatched `SyntheticEvent`s after each event loop, adding
9611               * them back into the pool. This allows a way to hold onto a reference that
9612               * won't be added back into the pool.
9613               */
9614              persist: function() {
9615              },
9616              /**
9617               * Checks if this event should be released back into the pool.
9618               *
9619               * @return {boolean} True if this should not be released, false otherwise.
9620               */
9621              isPersistent: functionThatReturnsTrue
9622            });
9623            return SyntheticBaseEvent;
9624          }
9625          var EventInterface = {
9626            eventPhase: 0,
9627            bubbles: 0,
9628            cancelable: 0,
9629            timeStamp: function(event) {
9630              return event.timeStamp || Date.now();
9631            },
9632            defaultPrevented: 0,
9633            isTrusted: 0
9634          };
9635          var SyntheticEvent = createSyntheticEvent(EventInterface);
9636          var UIEventInterface = assign3({}, EventInterface, {
9637            view: 0,
9638            detail: 0
9639          });
9640          var SyntheticUIEvent = createSyntheticEvent(UIEventInterface);
9641          var lastMovementX;
9642          var lastMovementY;
9643          var lastMouseEvent;
9644          function updateMouseMovementPolyfillState(event) {
9645            if (event !== lastMouseEvent) {
9646              if (lastMouseEvent && event.type === "mousemove") {
9647                lastMovementX = event.screenX - lastMouseEvent.screenX;
9648                lastMovementY = event.screenY - lastMouseEvent.screenY;
9649              } else {
9650                lastMovementX = 0;
9651                lastMovementY = 0;
9652              }
9653              lastMouseEvent = event;
9654            }
9655          }
9656          var MouseEventInterface = assign3({}, UIEventInterface, {
9657            screenX: 0,
9658            screenY: 0,
9659            clientX: 0,
9660            clientY: 0,
9661            pageX: 0,
9662            pageY: 0,
9663            ctrlKey: 0,
9664            shiftKey: 0,
9665            altKey: 0,
9666            metaKey: 0,
9667            getModifierState: getEventModifierState,
9668            button: 0,
9669            buttons: 0,
9670            relatedTarget: function(event) {
9671              if (event.relatedTarget === void 0) return event.fromElement === event.srcElement ? event.toElement : event.fromElement;
9672              return event.relatedTarget;
9673            },
9674            movementX: function(event) {
9675              if ("movementX" in event) {
9676                return event.movementX;
9677              }
9678              updateMouseMovementPolyfillState(event);
9679              return lastMovementX;
9680            },
9681            movementY: function(event) {
9682              if ("movementY" in event) {
9683                return event.movementY;
9684              }
9685              return lastMovementY;
9686            }
9687          });
9688          var SyntheticMouseEvent = createSyntheticEvent(MouseEventInterface);
9689          var DragEventInterface = assign3({}, MouseEventInterface, {
9690            dataTransfer: 0
9691          });
9692          var SyntheticDragEvent = createSyntheticEvent(DragEventInterface);
9693          var FocusEventInterface = assign3({}, UIEventInterface, {
9694            relatedTarget: 0
9695          });
9696          var SyntheticFocusEvent = createSyntheticEvent(FocusEventInterface);
9697          var AnimationEventInterface = assign3({}, EventInterface, {
9698            animationName: 0,
9699            elapsedTime: 0,
9700            pseudoElement: 0
9701          });
9702          var SyntheticAnimationEvent = createSyntheticEvent(AnimationEventInterface);
9703          var ClipboardEventInterface = assign3({}, EventInterface, {
9704            clipboardData: function(event) {
9705              return "clipboardData" in event ? event.clipboardData : window.clipboardData;
9706            }
9707          });
9708          var SyntheticClipboardEvent = createSyntheticEvent(ClipboardEventInterface);
9709          var CompositionEventInterface = assign3({}, EventInterface, {
9710            data: 0
9711          });
9712          var SyntheticCompositionEvent = createSyntheticEvent(CompositionEventInterface);
9713          var SyntheticInputEvent = SyntheticCompositionEvent;
9714          var normalizeKey = {
9715            Esc: "Escape",
9716            Spacebar: " ",
9717            Left: "ArrowLeft",
9718            Up: "ArrowUp",
9719            Right: "ArrowRight",
9720            Down: "ArrowDown",
9721            Del: "Delete",
9722            Win: "OS",
9723            Menu: "ContextMenu",
9724            Apps: "ContextMenu",
9725            Scroll: "ScrollLock",
9726            MozPrintableKey: "Unidentified"
9727          };
9728          var translateToKey = {
9729            "8": "Backspace",
9730            "9": "Tab",
9731            "12": "Clear",
9732            "13": "Enter",
9733            "16": "Shift",
9734            "17": "Control",
9735            "18": "Alt",
9736            "19": "Pause",
9737            "20": "CapsLock",
9738            "27": "Escape",
9739            "32": " ",
9740            "33": "PageUp",
9741            "34": "PageDown",
9742            "35": "End",
9743            "36": "Home",
9744            "37": "ArrowLeft",
9745            "38": "ArrowUp",
9746            "39": "ArrowRight",
9747            "40": "ArrowDown",
9748            "45": "Insert",
9749            "46": "Delete",
9750            "112": "F1",
9751            "113": "F2",
9752            "114": "F3",
9753            "115": "F4",
9754            "116": "F5",
9755            "117": "F6",
9756            "118": "F7",
9757            "119": "F8",
9758            "120": "F9",
9759            "121": "F10",
9760            "122": "F11",
9761            "123": "F12",
9762            "144": "NumLock",
9763            "145": "ScrollLock",
9764            "224": "Meta"
9765          };
9766          function getEventKey(nativeEvent) {
9767            if (nativeEvent.key) {
9768              var key = normalizeKey[nativeEvent.key] || nativeEvent.key;
9769              if (key !== "Unidentified") {
9770                return key;
9771              }
9772            }
9773            if (nativeEvent.type === "keypress") {
9774              var charCode = getEventCharCode(nativeEvent);
9775              return charCode === 13 ? "Enter" : String.fromCharCode(charCode);
9776            }
9777            if (nativeEvent.type === "keydown" || nativeEvent.type === "keyup") {
9778              return translateToKey[nativeEvent.keyCode] || "Unidentified";
9779            }
9780            return "";
9781          }
9782          var modifierKeyToProp = {
9783            Alt: "altKey",
9784            Control: "ctrlKey",
9785            Meta: "metaKey",
9786            Shift: "shiftKey"
9787          };
9788          function modifierStateGetter(keyArg) {
9789            var syntheticEvent = this;
9790            var nativeEvent = syntheticEvent.nativeEvent;
9791            if (nativeEvent.getModifierState) {
9792              return nativeEvent.getModifierState(keyArg);
9793            }
9794            var keyProp = modifierKeyToProp[keyArg];
9795            return keyProp ? !!nativeEvent[keyProp] : false;
9796          }
9797          function getEventModifierState(nativeEvent) {
9798            return modifierStateGetter;
9799          }
9800          var KeyboardEventInterface = assign3({}, UIEventInterface, {
9801            key: getEventKey,
9802            code: 0,
9803            location: 0,
9804            ctrlKey: 0,
9805            shiftKey: 0,
9806            altKey: 0,
9807            metaKey: 0,
9808            repeat: 0,
9809            locale: 0,
9810            getModifierState: getEventModifierState,
9811            // Legacy Interface
9812            charCode: function(event) {
9813              if (event.type === "keypress") {
9814                return getEventCharCode(event);
9815              }
9816              return 0;
9817            },
9818            keyCode: function(event) {
9819              if (event.type === "keydown" || event.type === "keyup") {
9820                return event.keyCode;
9821              }
9822              return 0;
9823            },
9824            which: function(event) {
9825              if (event.type === "keypress") {
9826                return getEventCharCode(event);
9827              }
9828              if (event.type === "keydown" || event.type === "keyup") {
9829                return event.keyCode;
9830              }
9831              return 0;
9832            }
9833          });
9834          var SyntheticKeyboardEvent = createSyntheticEvent(KeyboardEventInterface);
9835          var PointerEventInterface = assign3({}, MouseEventInterface, {
9836            pointerId: 0,
9837            width: 0,
9838            height: 0,
9839            pressure: 0,
9840            tangentialPressure: 0,
9841            tiltX: 0,
9842            tiltY: 0,
9843            twist: 0,
9844            pointerType: 0,
9845            isPrimary: 0
9846          });
9847          var SyntheticPointerEvent = createSyntheticEvent(PointerEventInterface);
9848          var TouchEventInterface = assign3({}, UIEventInterface, {
9849            touches: 0,
9850            targetTouches: 0,
9851            changedTouches: 0,
9852            altKey: 0,
9853            metaKey: 0,
9854            ctrlKey: 0,
9855            shiftKey: 0,
9856            getModifierState: getEventModifierState
9857          });
9858          var SyntheticTouchEvent = createSyntheticEvent(TouchEventInterface);
9859          var TransitionEventInterface = assign3({}, EventInterface, {
9860            propertyName: 0,
9861            elapsedTime: 0,
9862            pseudoElement: 0
9863          });
9864          var SyntheticTransitionEvent = createSyntheticEvent(TransitionEventInterface);
9865          var WheelEventInterface = assign3({}, MouseEventInterface, {
9866            deltaX: function(event) {
9867              return "deltaX" in event ? event.deltaX : (
9868                // Fallback to `wheelDeltaX` for Webkit and normalize (right is positive).
9869                "wheelDeltaX" in event ? -event.wheelDeltaX : 0
9870              );
9871            },
9872            deltaY: function(event) {
9873              return "deltaY" in event ? event.deltaY : (
9874                // Fallback to `wheelDeltaY` for Webkit and normalize (down is positive).
9875                "wheelDeltaY" in event ? -event.wheelDeltaY : (
9876                  // Fallback to `wheelDelta` for IE<9 and normalize (down is positive).
9877                  "wheelDelta" in event ? -event.wheelDelta : 0
9878                )
9879              );
9880            },
9881            deltaZ: 0,
9882            // Browsers without "deltaMode" is reporting in raw wheel delta where one
9883            // notch on the scroll is always +/- 120, roughly equivalent to pixels.
9884            // A good approximation of DOM_DELTA_LINE (1) is 5% of viewport size or
9885            // ~40 pixels, for DOM_DELTA_SCREEN (2) it is 87.5% of viewport size.
9886            deltaMode: 0
9887          });
9888          var SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface);
9889          var END_KEYCODES = [9, 13, 27, 32];
9890          var START_KEYCODE = 229;
9891          var canUseCompositionEvent = canUseDOM2 && "CompositionEvent" in window;
9892          var documentMode = null;
9893          if (canUseDOM2 && "documentMode" in document) {
9894            documentMode = document.documentMode;
9895          }
9896          var canUseTextInputEvent = canUseDOM2 && "TextEvent" in window && !documentMode;
9897          var useFallbackCompositionData = canUseDOM2 && (!canUseCompositionEvent || documentMode && documentMode > 8 && documentMode <= 11);
9898          var SPACEBAR_CODE = 32;
9899          var SPACEBAR_CHAR = String.fromCharCode(SPACEBAR_CODE);
9900          function registerEvents() {
9901            registerTwoPhaseEvent("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]);
9902            registerTwoPhaseEvent("onCompositionEnd", ["compositionend", "focusout", "keydown", "keypress", "keyup", "mousedown"]);
9903            registerTwoPhaseEvent("onCompositionStart", ["compositionstart", "focusout", "keydown", "keypress", "keyup", "mousedown"]);
9904            registerTwoPhaseEvent("onCompositionUpdate", ["compositionupdate", "focusout", "keydown", "keypress", "keyup", "mousedown"]);
9905          }
9906          var hasSpaceKeypress = false;
9907          function isKeypressCommand(nativeEvent) {
9908            return (nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) && // ctrlKey && altKey is equivalent to AltGr, and is not a command.
9909            !(nativeEvent.ctrlKey && nativeEvent.altKey);
9910          }
9911          function getCompositionEventType(domEventName) {
9912            switch (domEventName) {
9913              case "compositionstart":
9914                return "onCompositionStart";
9915              case "compositionend":
9916                return "onCompositionEnd";
9917              case "compositionupdate":
9918                return "onCompositionUpdate";
9919            }
9920          }
9921          function isFallbackCompositionStart(domEventName, nativeEvent) {
9922            return domEventName === "keydown" && nativeEvent.keyCode === START_KEYCODE;
9923          }
9924          function isFallbackCompositionEnd(domEventName, nativeEvent) {
9925            switch (domEventName) {
9926              case "keyup":
9927                return END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1;
9928              case "keydown":
9929                return nativeEvent.keyCode !== START_KEYCODE;
9930              case "keypress":
9931              case "mousedown":
9932              case "focusout":
9933                return true;
9934              default:
9935                return false;
9936            }
9937          }
9938          function getDataFromCustomEvent(nativeEvent) {
9939            var detail = nativeEvent.detail;
9940            if (typeof detail === "object" && "data" in detail) {
9941              return detail.data;
9942            }
9943            return null;
9944          }
9945          function isUsingKoreanIME(nativeEvent) {
9946            return nativeEvent.locale === "ko";
9947          }
9948          var isComposing = false;
9949          function extractCompositionEvent(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget) {
9950            var eventType;
9951            var fallbackData;
9952            if (canUseCompositionEvent) {
9953              eventType = getCompositionEventType(domEventName);
9954            } else if (!isComposing) {
9955              if (isFallbackCompositionStart(domEventName, nativeEvent)) {
9956                eventType = "onCompositionStart";
9957              }
9958            } else if (isFallbackCompositionEnd(domEventName, nativeEvent)) {
9959              eventType = "onCompositionEnd";
9960            }
9961            if (!eventType) {
9962              return null;
9963            }
9964            if (useFallbackCompositionData && !isUsingKoreanIME(nativeEvent)) {
9965              if (!isComposing && eventType === "onCompositionStart") {
9966                isComposing = initialize(nativeEventTarget);
9967              } else if (eventType === "onCompositionEnd") {
9968                if (isComposing) {
9969                  fallbackData = getData();
9970                }
9971              }
9972            }
9973            var listeners = accumulateTwoPhaseListeners(targetInst, eventType);
9974            if (listeners.length > 0) {
9975              var event = new SyntheticCompositionEvent(eventType, domEventName, null, nativeEvent, nativeEventTarget);
9976              dispatchQueue.push({
9977                event,
9978                listeners
9979              });
9980              if (fallbackData) {
9981                event.data = fallbackData;
9982              } else {
9983                var customData = getDataFromCustomEvent(nativeEvent);
9984                if (customData !== null) {
9985                  event.data = customData;
9986                }
9987              }
9988            }
9989          }
9990          function getNativeBeforeInputChars(domEventName, nativeEvent) {
9991            switch (domEventName) {
9992              case "compositionend":
9993                return getDataFromCustomEvent(nativeEvent);
9994              case "keypress":
9995                var which = nativeEvent.which;
9996                if (which !== SPACEBAR_CODE) {
9997                  return null;
9998                }
9999                hasSpaceKeypress = true;
10000                return SPACEBAR_CHAR;
10001              case "textInput":
10002                var chars = nativeEvent.data;
10003                if (chars === SPACEBAR_CHAR && hasSpaceKeypress) {
10004                  return null;
10005                }
10006                return chars;
10007              default:
10008                return null;
10009            }
10010          }
10011          function getFallbackBeforeInputChars(domEventName, nativeEvent) {
10012            if (isComposing) {
10013              if (domEventName === "compositionend" || !canUseCompositionEvent && isFallbackCompositionEnd(domEventName, nativeEvent)) {
10014                var chars = getData();
10015                reset();
10016                isComposing = false;
10017                return chars;
10018              }
10019              return null;
10020            }
10021            switch (domEventName) {
10022              case "paste":
10023                return null;
10024              case "keypress":
10025                if (!isKeypressCommand(nativeEvent)) {
10026                  if (nativeEvent.char && nativeEvent.char.length > 1) {
10027                    return nativeEvent.char;
10028                  } else if (nativeEvent.which) {
10029                    return String.fromCharCode(nativeEvent.which);
10030                  }
10031                }
10032                return null;
10033              case "compositionend":
10034                return useFallbackCompositionData && !isUsingKoreanIME(nativeEvent) ? null : nativeEvent.data;
10035              default:
10036                return null;
10037            }
10038          }
10039          function extractBeforeInputEvent(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget) {
10040            var chars;
10041            if (canUseTextInputEvent) {
10042              chars = getNativeBeforeInputChars(domEventName, nativeEvent);
10043            } else {
10044              chars = getFallbackBeforeInputChars(domEventName, nativeEvent);
10045            }
10046            if (!chars) {
10047              return null;
10048            }
10049            var listeners = accumulateTwoPhaseListeners(targetInst, "onBeforeInput");
10050            if (listeners.length > 0) {
10051              var event = new SyntheticInputEvent("onBeforeInput", "beforeinput", null, nativeEvent, nativeEventTarget);
10052              dispatchQueue.push({
10053                event,
10054                listeners
10055              });
10056              event.data = chars;
10057            }
10058          }
10059          function extractEvents(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags, targetContainer) {
10060            extractCompositionEvent(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget);
10061            extractBeforeInputEvent(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget);
10062          }
10063          var supportedInputTypes = {
10064            color: true,
10065            date: true,
10066            datetime: true,
10067            "datetime-local": true,
10068            email: true,
10069            month: true,
10070            number: true,
10071            password: true,
10072            range: true,
10073            search: true,
10074            tel: true,
10075            text: true,
10076            time: true,
10077            url: true,
10078            week: true
10079          };
10080          function isTextInputElement(elem) {
10081            var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
10082            if (nodeName === "input") {
10083              return !!supportedInputTypes[elem.type];
10084            }
10085            if (nodeName === "textarea") {
10086              return true;
10087            }
10088            return false;
10089          }
10090          function isEventSupported(eventNameSuffix) {
10091            if (!canUseDOM2) {
10092              return false;
10093            }
10094            var eventName = "on" + eventNameSuffix;
10095            var isSupported2 = eventName in document;
10096            if (!isSupported2) {
10097              var element = document.createElement("div");
10098              element.setAttribute(eventName, "return;");
10099              isSupported2 = typeof element[eventName] === "function";
10100            }
10101            return isSupported2;
10102          }
10103          function registerEvents$1() {
10104            registerTwoPhaseEvent("onChange", ["change", "click", "focusin", "focusout", "input", "keydown", "keyup", "selectionchange"]);
10105          }
10106          function createAndAccumulateChangeEvent(dispatchQueue, inst, nativeEvent, target) {
10107            enqueueStateRestore(target);
10108            var listeners = accumulateTwoPhaseListeners(inst, "onChange");
10109            if (listeners.length > 0) {
10110              var event = new SyntheticEvent("onChange", "change", null, nativeEvent, target);
10111              dispatchQueue.push({
10112                event,
10113                listeners
10114              });
10115            }
10116          }
10117          var activeElement = null;
10118          var activeElementInst = null;
10119          function shouldUseChangeEvent(elem) {
10120            var nodeName = elem.nodeName && elem.nodeName.toLowerCase();
10121            return nodeName === "select" || nodeName === "input" && elem.type === "file";
10122          }
10123          function manualDispatchChangeEvent(nativeEvent) {
10124            var dispatchQueue = [];
10125            createAndAccumulateChangeEvent(dispatchQueue, activeElementInst, nativeEvent, getEventTarget2(nativeEvent));
10126            batchedUpdates(runEventInBatch, dispatchQueue);
10127          }
10128          function runEventInBatch(dispatchQueue) {
10129            processDispatchQueue(dispatchQueue, 0);
10130          }
10131          function getInstIfValueChanged(targetInst) {
10132            var targetNode = getNodeFromInstance(targetInst);
10133            if (updateValueIfChanged(targetNode)) {
10134              return targetInst;
10135            }
10136          }
10137          function getTargetInstForChangeEvent(domEventName, targetInst) {
10138            if (domEventName === "change") {
10139              return targetInst;
10140            }
10141          }
10142          var isInputEventSupported = false;
10143          if (canUseDOM2) {
10144            isInputEventSupported = isEventSupported("input") && (!document.documentMode || document.documentMode > 9);
10145          }
10146          function startWatchingForValueChange(target, targetInst) {
10147            activeElement = target;
10148            activeElementInst = targetInst;
10149            activeElement.attachEvent("onpropertychange", handlePropertyChange);
10150          }
10151          function stopWatchingForValueChange() {
10152            if (!activeElement) {
10153              return;
10154            }
10155            activeElement.detachEvent("onpropertychange", handlePropertyChange);
10156            activeElement = null;
10157            activeElementInst = null;
10158          }
10159          function handlePropertyChange(nativeEvent) {
10160            if (nativeEvent.propertyName !== "value") {
10161              return;
10162            }
10163            if (getInstIfValueChanged(activeElementInst)) {
10164              manualDispatchChangeEvent(nativeEvent);
10165            }
10166          }
10167          function handleEventsForInputEventPolyfill(domEventName, target, targetInst) {
10168            if (domEventName === "focusin") {
10169              stopWatchingForValueChange();
10170              startWatchingForValueChange(target, targetInst);
10171            } else if (domEventName === "focusout") {
10172              stopWatchingForValueChange();
10173            }
10174          }
10175          function getTargetInstForInputEventPolyfill(domEventName, targetInst) {
10176            if (domEventName === "selectionchange" || domEventName === "keyup" || domEventName === "keydown") {
10177              return getInstIfValueChanged(activeElementInst);
10178            }
10179          }
10180          function shouldUseClickEvent(elem) {
10181            var nodeName = elem.nodeName;
10182            return nodeName && nodeName.toLowerCase() === "input" && (elem.type === "checkbox" || elem.type === "radio");
10183          }
10184          function getTargetInstForClickEvent(domEventName, targetInst) {
10185            if (domEventName === "click") {
10186              return getInstIfValueChanged(targetInst);
10187            }
10188          }
10189          function getTargetInstForInputOrChangeEvent(domEventName, targetInst) {
10190            if (domEventName === "input" || domEventName === "change") {
10191              return getInstIfValueChanged(targetInst);
10192            }
10193          }
10194          function handleControlledInputBlur(node2) {
10195            var state = node2._wrapperState;
10196            if (!state || !state.controlled || node2.type !== "number") {
10197              return;
10198            }
10199            {
10200              setDefaultValue(node2, "number", node2.value);
10201            }
10202          }
10203          function extractEvents$1(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags, targetContainer) {
10204            var targetNode = targetInst ? getNodeFromInstance(targetInst) : window;
10205            var getTargetInstFunc, handleEventFunc;
10206            if (shouldUseChangeEvent(targetNode)) {
10207              getTargetInstFunc = getTargetInstForChangeEvent;
10208            } else if (isTextInputElement(targetNode)) {
10209              if (isInputEventSupported) {
10210                getTargetInstFunc = getTargetInstForInputOrChangeEvent;
10211              } else {
10212                getTargetInstFunc = getTargetInstForInputEventPolyfill;
10213                handleEventFunc = handleEventsForInputEventPolyfill;
10214              }
10215            } else if (shouldUseClickEvent(targetNode)) {
10216              getTargetInstFunc = getTargetInstForClickEvent;
10217            }
10218            if (getTargetInstFunc) {
10219              var inst = getTargetInstFunc(domEventName, targetInst);
10220              if (inst) {
10221                createAndAccumulateChangeEvent(dispatchQueue, inst, nativeEvent, nativeEventTarget);
10222                return;
10223              }
10224            }
10225            if (handleEventFunc) {
10226              handleEventFunc(domEventName, targetNode, targetInst);
10227            }
10228            if (domEventName === "focusout") {
10229              handleControlledInputBlur(targetNode);
10230            }
10231          }
10232          function registerEvents$2() {
10233            registerDirectEvent("onMouseEnter", ["mouseout", "mouseover"]);
10234            registerDirectEvent("onMouseLeave", ["mouseout", "mouseover"]);
10235            registerDirectEvent("onPointerEnter", ["pointerout", "pointerover"]);
10236            registerDirectEvent("onPointerLeave", ["pointerout", "pointerover"]);
10237          }
10238          function extractEvents$2(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags, targetContainer) {
10239            var isOverEvent = domEventName === "mouseover" || domEventName === "pointerover";
10240            var isOutEvent = domEventName === "mouseout" || domEventName === "pointerout";
10241            if (isOverEvent && !isReplayingEvent(nativeEvent)) {
10242              var related = nativeEvent.relatedTarget || nativeEvent.fromElement;
10243              if (related) {
10244                if (getClosestInstanceFromNode(related) || isContainerMarkedAsRoot(related)) {
10245                  return;
10246                }
10247              }
10248            }
10249            if (!isOutEvent && !isOverEvent) {
10250              return;
10251            }
10252            var win;
10253            if (nativeEventTarget.window === nativeEventTarget) {
10254              win = nativeEventTarget;
10255            } else {
10256              var doc = nativeEventTarget.ownerDocument;
10257              if (doc) {
10258                win = doc.defaultView || doc.parentWindow;
10259              } else {
10260                win = window;
10261              }
10262            }
10263            var from2;
10264            var to;
10265            if (isOutEvent) {
10266              var _related = nativeEvent.relatedTarget || nativeEvent.toElement;
10267              from2 = targetInst;
10268              to = _related ? getClosestInstanceFromNode(_related) : null;
10269              if (to !== null) {
10270                var nearestMounted = getNearestMountedFiber(to);
10271                if (to !== nearestMounted || to.tag !== HostComponent && to.tag !== HostText) {
10272                  to = null;
10273                }
10274              }
10275            } else {
10276              from2 = null;
10277              to = targetInst;
10278            }
10279            if (from2 === to) {
10280              return;
10281            }
10282            var SyntheticEventCtor = SyntheticMouseEvent;
10283            var leaveEventType = "onMouseLeave";
10284            var enterEventType = "onMouseEnter";
10285            var eventTypePrefix = "mouse";
10286            if (domEventName === "pointerout" || domEventName === "pointerover") {
10287              SyntheticEventCtor = SyntheticPointerEvent;
10288              leaveEventType = "onPointerLeave";
10289              enterEventType = "onPointerEnter";
10290              eventTypePrefix = "pointer";
10291            }
10292            var fromNode = from2 == null ? win : getNodeFromInstance(from2);
10293            var toNode = to == null ? win : getNodeFromInstance(to);
10294            var leave = new SyntheticEventCtor(leaveEventType, eventTypePrefix + "leave", from2, nativeEvent, nativeEventTarget);
10295            leave.target = fromNode;
10296            leave.relatedTarget = toNode;
10297            var enter = null;
10298            var nativeTargetInst = getClosestInstanceFromNode(nativeEventTarget);
10299            if (nativeTargetInst === targetInst) {
10300              var enterEvent = new SyntheticEventCtor(enterEventType, eventTypePrefix + "enter", to, nativeEvent, nativeEventTarget);
10301              enterEvent.target = toNode;
10302              enterEvent.relatedTarget = fromNode;
10303              enter = enterEvent;
10304            }
10305            accumulateEnterLeaveTwoPhaseListeners(dispatchQueue, leave, enter, from2, to);
10306          }
10307          function is(x2, y) {
10308            return x2 === y && (x2 !== 0 || 1 / x2 === 1 / y) || x2 !== x2 && y !== y;
10309          }
10310          var objectIs = typeof Object.is === "function" ? Object.is : is;
10311          function shallowEqual(objA, objB) {
10312            if (objectIs(objA, objB)) {
10313              return true;
10314            }
10315            if (typeof objA !== "object" || objA === null || typeof objB !== "object" || objB === null) {
10316              return false;
10317            }
10318            var keysA = Object.keys(objA);
10319            var keysB = Object.keys(objB);
10320            if (keysA.length !== keysB.length) {
10321              return false;
10322            }
10323            for (var i2 = 0; i2 < keysA.length; i2++) {
10324              var currentKey = keysA[i2];
10325              if (!hasOwnProperty3.call(objB, currentKey) || !objectIs(objA[currentKey], objB[currentKey])) {
10326                return false;
10327              }
10328            }
10329            return true;
10330          }
10331          function getLeafNode(node2) {
10332            while (node2 && node2.firstChild) {
10333              node2 = node2.firstChild;
10334            }
10335            return node2;
10336          }
10337          function getSiblingNode(node2) {
10338            while (node2) {
10339              if (node2.nextSibling) {
10340                return node2.nextSibling;
10341              }
10342              node2 = node2.parentNode;
10343            }
10344          }
10345          function getNodeForCharacterOffset(root2, offset2) {
10346            var node2 = getLeafNode(root2);
10347            var nodeStart = 0;
10348            var nodeEnd = 0;
10349            while (node2) {
10350              if (node2.nodeType === TEXT_NODE) {
10351                nodeEnd = nodeStart + node2.textContent.length;
10352                if (nodeStart <= offset2 && nodeEnd >= offset2) {
10353                  return {
10354                    node: node2,
10355                    offset: offset2 - nodeStart
10356                  };
10357                }
10358                nodeStart = nodeEnd;
10359              }
10360              node2 = getLeafNode(getSiblingNode(node2));
10361            }
10362          }
10363          function getOffsets(outerNode) {
10364            var ownerDocument = outerNode.ownerDocument;
10365            var win = ownerDocument && ownerDocument.defaultView || window;
10366            var selection = win.getSelection && win.getSelection();
10367            if (!selection || selection.rangeCount === 0) {
10368              return null;
10369            }
10370            var anchorNode = selection.anchorNode, anchorOffset = selection.anchorOffset, focusNode = selection.focusNode, focusOffset = selection.focusOffset;
10371            try {
10372              anchorNode.nodeType;
10373              focusNode.nodeType;
10374            } catch (e) {
10375              return null;
10376            }
10377            return getModernOffsetsFromPoints(outerNode, anchorNode, anchorOffset, focusNode, focusOffset);
10378          }
10379          function getModernOffsetsFromPoints(outerNode, anchorNode, anchorOffset, focusNode, focusOffset) {
10380            var length2 = 0;
10381            var start = -1;
10382            var end2 = -1;
10383            var indexWithinAnchor = 0;
10384            var indexWithinFocus = 0;
10385            var node2 = outerNode;
10386            var parentNode = null;
10387            outer: while (true) {
10388              var next2 = null;
10389              while (true) {
10390                if (node2 === anchorNode && (anchorOffset === 0 || node2.nodeType === TEXT_NODE)) {
10391                  start = length2 + anchorOffset;
10392                }
10393                if (node2 === focusNode && (focusOffset === 0 || node2.nodeType === TEXT_NODE)) {
10394                  end2 = length2 + focusOffset;
10395                }
10396                if (node2.nodeType === TEXT_NODE) {
10397                  length2 += node2.nodeValue.length;
10398                }
10399                if ((next2 = node2.firstChild) === null) {
10400                  break;
10401                }
10402                parentNode = node2;
10403                node2 = next2;
10404              }
10405              while (true) {
10406                if (node2 === outerNode) {
10407                  break outer;
10408                }
10409                if (parentNode === anchorNode && ++indexWithinAnchor === anchorOffset) {
10410                  start = length2;
10411                }
10412                if (parentNode === focusNode && ++indexWithinFocus === focusOffset) {
10413                  end2 = length2;
10414                }
10415                if ((next2 = node2.nextSibling) !== null) {
10416                  break;
10417                }
10418                node2 = parentNode;
10419                parentNode = node2.parentNode;
10420              }
10421              node2 = next2;
10422            }
10423            if (start === -1 || end2 === -1) {
10424              return null;
10425            }
10426            return {
10427              start,
10428              end: end2
10429            };
10430          }
10431          function setOffsets(node2, offsets) {
10432            var doc = node2.ownerDocument || document;
10433            var win = doc && doc.defaultView || window;
10434            if (!win.getSelection) {
10435              return;
10436            }
10437            var selection = win.getSelection();
10438            var length2 = node2.textContent.length;
10439            var start = Math.min(offsets.start, length2);
10440            var end2 = offsets.end === void 0 ? start : Math.min(offsets.end, length2);
10441            if (!selection.extend && start > end2) {
10442              var temp = end2;
10443              end2 = start;
10444              start = temp;
10445            }
10446            var startMarker = getNodeForCharacterOffset(node2, start);
10447            var endMarker = getNodeForCharacterOffset(node2, end2);
10448            if (startMarker && endMarker) {
10449              if (selection.rangeCount === 1 && selection.anchorNode === startMarker.node && selection.anchorOffset === startMarker.offset && selection.focusNode === endMarker.node && selection.focusOffset === endMarker.offset) {
10450                return;
10451              }
10452              var range = doc.createRange();
10453              range.setStart(startMarker.node, startMarker.offset);
10454              selection.removeAllRanges();
10455              if (start > end2) {
10456                selection.addRange(range);
10457                selection.extend(endMarker.node, endMarker.offset);
10458              } else {
10459                range.setEnd(endMarker.node, endMarker.offset);
10460                selection.addRange(range);
10461              }
10462            }
10463          }
10464          function isTextNode(node2) {
10465            return node2 && node2.nodeType === TEXT_NODE;
10466          }
10467          function containsNode(outerNode, innerNode) {
10468            if (!outerNode || !innerNode) {
10469              return false;
10470            } else if (outerNode === innerNode) {
10471              return true;
10472            } else if (isTextNode(outerNode)) {
10473              return false;
10474            } else if (isTextNode(innerNode)) {
10475              return containsNode(outerNode, innerNode.parentNode);
10476            } else if ("contains" in outerNode) {
10477              return outerNode.contains(innerNode);
10478            } else if (outerNode.compareDocumentPosition) {
10479              return !!(outerNode.compareDocumentPosition(innerNode) & 16);
10480            } else {
10481              return false;
10482            }
10483          }
10484          function isInDocument(node2) {
10485            return node2 && node2.ownerDocument && containsNode(node2.ownerDocument.documentElement, node2);
10486          }
10487          function isSameOriginFrame(iframe) {
10488            try {
10489              return typeof iframe.contentWindow.location.href === "string";
10490            } catch (err) {
10491              return false;
10492            }
10493          }
10494          function getActiveElementDeep() {
10495            var win = window;
10496            var element = getActiveElement();
10497            while (element instanceof win.HTMLIFrameElement) {
10498              if (isSameOriginFrame(element)) {
10499                win = element.contentWindow;
10500              } else {
10501                return element;
10502              }
10503              element = getActiveElement(win.document);
10504            }
10505            return element;
10506          }
10507          function hasSelectionCapabilities(elem) {
10508            var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
10509            return nodeName && (nodeName === "input" && (elem.type === "text" || elem.type === "search" || elem.type === "tel" || elem.type === "url" || elem.type === "password") || nodeName === "textarea" || elem.contentEditable === "true");
10510          }
10511          function getSelectionInformation() {
10512            var focusedElem = getActiveElementDeep();
10513            return {
10514              focusedElem,
10515              selectionRange: hasSelectionCapabilities(focusedElem) ? getSelection(focusedElem) : null
10516            };
10517          }
10518          function restoreSelection(priorSelectionInformation) {
10519            var curFocusedElem = getActiveElementDeep();
10520            var priorFocusedElem = priorSelectionInformation.focusedElem;
10521            var priorSelectionRange = priorSelectionInformation.selectionRange;
10522            if (curFocusedElem !== priorFocusedElem && isInDocument(priorFocusedElem)) {
10523              if (priorSelectionRange !== null && hasSelectionCapabilities(priorFocusedElem)) {
10524                setSelection(priorFocusedElem, priorSelectionRange);
10525              }
10526              var ancestors = [];
10527              var ancestor = priorFocusedElem;
10528              while (ancestor = ancestor.parentNode) {
10529                if (ancestor.nodeType === ELEMENT_NODE) {
10530                  ancestors.push({
10531                    element: ancestor,
10532                    left: ancestor.scrollLeft,
10533                    top: ancestor.scrollTop
10534                  });
10535                }
10536              }
10537              if (typeof priorFocusedElem.focus === "function") {
10538                priorFocusedElem.focus();
10539              }
10540              for (var i2 = 0; i2 < ancestors.length; i2++) {
10541                var info = ancestors[i2];
10542                info.element.scrollLeft = info.left;
10543                info.element.scrollTop = info.top;
10544              }
10545            }
10546          }
10547          function getSelection(input) {
10548            var selection;
10549            if ("selectionStart" in input) {
10550              selection = {
10551                start: input.selectionStart,
10552                end: input.selectionEnd
10553              };
10554            } else {
10555              selection = getOffsets(input);
10556            }
10557            return selection || {
10558              start: 0,
10559              end: 0
10560            };
10561          }
10562          function setSelection(input, offsets) {
10563            var start = offsets.start;
10564            var end2 = offsets.end;
10565            if (end2 === void 0) {
10566              end2 = start;
10567            }
10568            if ("selectionStart" in input) {
10569              input.selectionStart = start;
10570              input.selectionEnd = Math.min(end2, input.value.length);
10571            } else {
10572              setOffsets(input, offsets);
10573            }
10574          }
10575          var skipSelectionChangeEvent = canUseDOM2 && "documentMode" in document && document.documentMode <= 11;
10576          function registerEvents$3() {
10577            registerTwoPhaseEvent("onSelect", ["focusout", "contextmenu", "dragend", "focusin", "keydown", "keyup", "mousedown", "mouseup", "selectionchange"]);
10578          }
10579          var activeElement$1 = null;
10580          var activeElementInst$1 = null;
10581          var lastSelection = null;
10582          var mouseDown = false;
10583          function getSelection$1(node2) {
10584            if ("selectionStart" in node2 && hasSelectionCapabilities(node2)) {
10585              return {
10586                start: node2.selectionStart,
10587                end: node2.selectionEnd
10588              };
10589            } else {
10590              var win = node2.ownerDocument && node2.ownerDocument.defaultView || window;
10591              var selection = win.getSelection();
10592              return {
10593                anchorNode: selection.anchorNode,
10594                anchorOffset: selection.anchorOffset,
10595                focusNode: selection.focusNode,
10596                focusOffset: selection.focusOffset
10597              };
10598            }
10599          }
10600          function getEventTargetDocument(eventTarget) {
10601            return eventTarget.window === eventTarget ? eventTarget.document : eventTarget.nodeType === DOCUMENT_NODE ? eventTarget : eventTarget.ownerDocument;
10602          }
10603          function constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget) {
10604            var doc = getEventTargetDocument(nativeEventTarget);
10605            if (mouseDown || activeElement$1 == null || activeElement$1 !== getActiveElement(doc)) {
10606              return;
10607            }
10608            var currentSelection = getSelection$1(activeElement$1);
10609            if (!lastSelection || !shallowEqual(lastSelection, currentSelection)) {
10610              lastSelection = currentSelection;
10611              var listeners = accumulateTwoPhaseListeners(activeElementInst$1, "onSelect");
10612              if (listeners.length > 0) {
10613                var event = new SyntheticEvent("onSelect", "select", null, nativeEvent, nativeEventTarget);
10614                dispatchQueue.push({
10615                  event,
10616                  listeners
10617                });
10618                event.target = activeElement$1;
10619              }
10620            }
10621          }
10622          function extractEvents$3(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags, targetContainer) {
10623            var targetNode = targetInst ? getNodeFromInstance(targetInst) : window;
10624            switch (domEventName) {
10625              // Track the input node that has focus.
10626              case "focusin":
10627                if (isTextInputElement(targetNode) || targetNode.contentEditable === "true") {
10628                  activeElement$1 = targetNode;
10629                  activeElementInst$1 = targetInst;
10630                  lastSelection = null;
10631                }
10632                break;
10633              case "focusout":
10634                activeElement$1 = null;
10635                activeElementInst$1 = null;
10636                lastSelection = null;
10637                break;
10638              // Don't fire the event while the user is dragging. This matches the
10639              // semantics of the native select event.
10640              case "mousedown":
10641                mouseDown = true;
10642                break;
10643              case "contextmenu":
10644              case "mouseup":
10645              case "dragend":
10646                mouseDown = false;
10647                constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget);
10648                break;
10649              // Chrome and IE fire non-standard event when selection is changed (and
10650              // sometimes when it hasn't). IE's event fires out of order with respect
10651              // to key and input events on deletion, so we discard it.
10652              //
10653              // Firefox doesn't support selectionchange, so check selection status
10654              // after each key entry. The selection changes after keydown and before
10655              // keyup, but we check on keydown as well in the case of holding down a
10656              // key, when multiple keydown events are fired but only one keyup is.
10657              // This is also our approach for IE handling, for the reason above.
10658              case "selectionchange":
10659                if (skipSelectionChangeEvent) {
10660                  break;
10661                }
10662              // falls through
10663              case "keydown":
10664              case "keyup":
10665                constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget);
10666            }
10667          }
10668          function makePrefixMap(styleProp, eventName) {
10669            var prefixes2 = {};
10670            prefixes2[styleProp.toLowerCase()] = eventName.toLowerCase();
10671            prefixes2["Webkit" + styleProp] = "webkit" + eventName;
10672            prefixes2["Moz" + styleProp] = "moz" + eventName;
10673            return prefixes2;
10674          }
10675          var vendorPrefixes = {
10676            animationend: makePrefixMap("Animation", "AnimationEnd"),
10677            animationiteration: makePrefixMap("Animation", "AnimationIteration"),
10678            animationstart: makePrefixMap("Animation", "AnimationStart"),
10679            transitionend: makePrefixMap("Transition", "TransitionEnd")
10680          };
10681          var prefixedEventNames = {};
10682          var style = {};
10683          if (canUseDOM2) {
10684            style = document.createElement("div").style;
10685            if (!("AnimationEvent" in window)) {
10686              delete vendorPrefixes.animationend.animation;
10687              delete vendorPrefixes.animationiteration.animation;
10688              delete vendorPrefixes.animationstart.animation;
10689            }
10690            if (!("TransitionEvent" in window)) {
10691              delete vendorPrefixes.transitionend.transition;
10692            }
10693          }
10694          function getVendorPrefixedEventName(eventName) {
10695            if (prefixedEventNames[eventName]) {
10696              return prefixedEventNames[eventName];
10697            } else if (!vendorPrefixes[eventName]) {
10698              return eventName;
10699            }
10700            var prefixMap = vendorPrefixes[eventName];
10701            for (var styleProp in prefixMap) {
10702              if (prefixMap.hasOwnProperty(styleProp) && styleProp in style) {
10703                return prefixedEventNames[eventName] = prefixMap[styleProp];
10704              }
10705            }
10706            return eventName;
10707          }
10708          var ANIMATION_END = getVendorPrefixedEventName("animationend");
10709          var ANIMATION_ITERATION = getVendorPrefixedEventName("animationiteration");
10710          var ANIMATION_START = getVendorPrefixedEventName("animationstart");
10711          var TRANSITION_END = getVendorPrefixedEventName("transitionend");
10712          var topLevelEventsToReactNames = /* @__PURE__ */ new Map();
10713          var simpleEventPluginEvents = ["abort", "auxClick", "cancel", "canPlay", "canPlayThrough", "click", "close", "contextMenu", "copy", "cut", "drag", "dragEnd", "dragEnter", "dragExit", "dragLeave", "dragOver", "dragStart", "drop", "durationChange", "emptied", "encrypted", "ended", "error", "gotPointerCapture", "input", "invalid", "keyDown", "keyPress", "keyUp", "load", "loadedData", "loadedMetadata", "loadStart", "lostPointerCapture", "mouseDown", "mouseMove", "mouseOut", "mouseOver", "mouseUp", "paste", "pause", "play", "playing", "pointerCancel", "pointerDown", "pointerMove", "pointerOut", "pointerOver", "pointerUp", "progress", "rateChange", "reset", "resize", "seeked", "seeking", "stalled", "submit", "suspend", "timeUpdate", "touchCancel", "touchEnd", "touchStart", "volumeChange", "scroll", "toggle", "touchMove", "waiting", "wheel"];
10714          function registerSimpleEvent(domEventName, reactName) {
10715            topLevelEventsToReactNames.set(domEventName, reactName);
10716            registerTwoPhaseEvent(reactName, [domEventName]);
10717          }
10718          function registerSimpleEvents() {
10719            for (var i2 = 0; i2 < simpleEventPluginEvents.length; i2++) {
10720              var eventName = simpleEventPluginEvents[i2];
10721              var domEventName = eventName.toLowerCase();
10722              var capitalizedEvent = eventName[0].toUpperCase() + eventName.slice(1);
10723              registerSimpleEvent(domEventName, "on" + capitalizedEvent);
10724            }
10725            registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
10726            registerSimpleEvent(ANIMATION_ITERATION, "onAnimationIteration");
10727            registerSimpleEvent(ANIMATION_START, "onAnimationStart");
10728            registerSimpleEvent("dblclick", "onDoubleClick");
10729            registerSimpleEvent("focusin", "onFocus");
10730            registerSimpleEvent("focusout", "onBlur");
10731            registerSimpleEvent(TRANSITION_END, "onTransitionEnd");
10732          }
10733          function extractEvents$4(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags, targetContainer) {
10734            var reactName = topLevelEventsToReactNames.get(domEventName);
10735            if (reactName === void 0) {
10736              return;
10737            }
10738            var SyntheticEventCtor = SyntheticEvent;
10739            var reactEventType = domEventName;
10740            switch (domEventName) {
10741              case "keypress":
10742                if (getEventCharCode(nativeEvent) === 0) {
10743                  return;
10744                }
10745              /* falls through */
10746              case "keydown":
10747              case "keyup":
10748                SyntheticEventCtor = SyntheticKeyboardEvent;
10749                break;
10750              case "focusin":
10751                reactEventType = "focus";
10752                SyntheticEventCtor = SyntheticFocusEvent;
10753                break;
10754              case "focusout":
10755                reactEventType = "blur";
10756                SyntheticEventCtor = SyntheticFocusEvent;
10757                break;
10758              case "beforeblur":
10759              case "afterblur":
10760                SyntheticEventCtor = SyntheticFocusEvent;
10761                break;
10762              case "click":
10763                if (nativeEvent.button === 2) {
10764                  return;
10765                }
10766              /* falls through */
10767              case "auxclick":
10768              case "dblclick":
10769              case "mousedown":
10770              case "mousemove":
10771              case "mouseup":
10772              // TODO: Disabled elements should not respond to mouse events
10773              /* falls through */
10774              case "mouseout":
10775              case "mouseover":
10776              case "contextmenu":
10777                SyntheticEventCtor = SyntheticMouseEvent;
10778                break;
10779              case "drag":
10780              case "dragend":
10781              case "dragenter":
10782              case "dragexit":
10783              case "dragleave":
10784              case "dragover":
10785              case "dragstart":
10786              case "drop":
10787                SyntheticEventCtor = SyntheticDragEvent;
10788                break;
10789              case "touchcancel":
10790              case "touchend":
10791              case "touchmove":
10792              case "touchstart":
10793                SyntheticEventCtor = SyntheticTouchEvent;
10794                break;
10795              case ANIMATION_END:
10796              case ANIMATION_ITERATION:
10797              case ANIMATION_START:
10798                SyntheticEventCtor = SyntheticAnimationEvent;
10799                break;
10800              case TRANSITION_END:
10801                SyntheticEventCtor = SyntheticTransitionEvent;
10802                break;
10803              case "scroll":
10804                SyntheticEventCtor = SyntheticUIEvent;
10805                break;
10806              case "wheel":
10807                SyntheticEventCtor = SyntheticWheelEvent;
10808                break;
10809              case "copy":
10810              case "cut":
10811              case "paste":
10812                SyntheticEventCtor = SyntheticClipboardEvent;
10813                break;
10814              case "gotpointercapture":
10815              case "lostpointercapture":
10816              case "pointercancel":
10817              case "pointerdown":
10818              case "pointermove":
10819              case "pointerout":
10820              case "pointerover":
10821              case "pointerup":
10822                SyntheticEventCtor = SyntheticPointerEvent;
10823                break;
10824            }
10825            var inCapturePhase = (eventSystemFlags & IS_CAPTURE_PHASE) !== 0;
10826            {
10827              var accumulateTargetOnly = !inCapturePhase && // TODO: ideally, we'd eventually add all events from
10828              // nonDelegatedEvents list in DOMPluginEventSystem.
10829              // Then we can remove this special list.
10830              // This is a breaking change that can wait until React 18.
10831              domEventName === "scroll";
10832              var _listeners = accumulateSinglePhaseListeners(targetInst, reactName, nativeEvent.type, inCapturePhase, accumulateTargetOnly);
10833              if (_listeners.length > 0) {
10834                var _event = new SyntheticEventCtor(reactName, reactEventType, null, nativeEvent, nativeEventTarget);
10835                dispatchQueue.push({
10836                  event: _event,
10837                  listeners: _listeners
10838                });
10839              }
10840            }
10841          }
10842          registerSimpleEvents();
10843          registerEvents$2();
10844          registerEvents$1();
10845          registerEvents$3();
10846          registerEvents();
10847          function extractEvents$5(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags, targetContainer) {
10848            extractEvents$4(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags);
10849            var shouldProcessPolyfillPlugins = (eventSystemFlags & SHOULD_NOT_PROCESS_POLYFILL_EVENT_PLUGINS) === 0;
10850            if (shouldProcessPolyfillPlugins) {
10851              extractEvents$2(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget);
10852              extractEvents$1(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget);
10853              extractEvents$3(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget);
10854              extractEvents(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget);
10855            }
10856          }
10857          var mediaEventTypes = ["abort", "canplay", "canplaythrough", "durationchange", "emptied", "encrypted", "ended", "error", "loadeddata", "loadedmetadata", "loadstart", "pause", "play", "playing", "progress", "ratechange", "resize", "seeked", "seeking", "stalled", "suspend", "timeupdate", "volumechange", "waiting"];
10858          var nonDelegatedEvents = new Set(["cancel", "close", "invalid", "load", "scroll", "toggle"].concat(mediaEventTypes));
10859          function executeDispatch(event, listener2, currentTarget) {
10860            var type = event.type || "unknown-event";
10861            event.currentTarget = currentTarget;
10862            invokeGuardedCallbackAndCatchFirstError(type, listener2, void 0, event);
10863            event.currentTarget = null;
10864          }
10865          function processDispatchQueueItemsInOrder(event, dispatchListeners, inCapturePhase) {
10866            var previousInstance;
10867            if (inCapturePhase) {
10868              for (var i2 = dispatchListeners.length - 1; i2 >= 0; i2--) {
10869                var _dispatchListeners$i = dispatchListeners[i2], instance = _dispatchListeners$i.instance, currentTarget = _dispatchListeners$i.currentTarget, listener2 = _dispatchListeners$i.listener;
10870                if (instance !== previousInstance && event.isPropagationStopped()) {
10871                  return;
10872                }
10873                executeDispatch(event, listener2, currentTarget);
10874                previousInstance = instance;
10875              }
10876            } else {
10877              for (var _i = 0; _i < dispatchListeners.length; _i++) {
10878                var _dispatchListeners$_i = dispatchListeners[_i], _instance = _dispatchListeners$_i.instance, _currentTarget = _dispatchListeners$_i.currentTarget, _listener = _dispatchListeners$_i.listener;
10879                if (_instance !== previousInstance && event.isPropagationStopped()) {
10880                  return;
10881                }
10882                executeDispatch(event, _listener, _currentTarget);
10883                previousInstance = _instance;
10884              }
10885            }
10886          }
10887          function processDispatchQueue(dispatchQueue, eventSystemFlags) {
10888            var inCapturePhase = (eventSystemFlags & IS_CAPTURE_PHASE) !== 0;
10889            for (var i2 = 0; i2 < dispatchQueue.length; i2++) {
10890              var _dispatchQueue$i = dispatchQueue[i2], event = _dispatchQueue$i.event, listeners = _dispatchQueue$i.listeners;
10891              processDispatchQueueItemsInOrder(event, listeners, inCapturePhase);
10892            }
10893            rethrowCaughtError();
10894          }
10895          function dispatchEventsForPlugins(domEventName, eventSystemFlags, nativeEvent, targetInst, targetContainer) {
10896            var nativeEventTarget = getEventTarget2(nativeEvent);
10897            var dispatchQueue = [];
10898            extractEvents$5(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags);
10899            processDispatchQueue(dispatchQueue, eventSystemFlags);
10900          }
10901          function listenToNonDelegatedEvent(domEventName, targetElement) {
10902            {
10903              if (!nonDelegatedEvents.has(domEventName)) {
10904                error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.', domEventName);
10905              }
10906            }
10907            var isCapturePhaseListener = false;
10908            var listenerSet = getEventListenerSet(targetElement);
10909            var listenerSetKey = getListenerSetKey(domEventName, isCapturePhaseListener);
10910            if (!listenerSet.has(listenerSetKey)) {
10911              addTrappedEventListener(targetElement, domEventName, IS_NON_DELEGATED, isCapturePhaseListener);
10912              listenerSet.add(listenerSetKey);
10913            }
10914          }
10915          function listenToNativeEvent(domEventName, isCapturePhaseListener, target) {
10916            {
10917              if (nonDelegatedEvents.has(domEventName) && !isCapturePhaseListener) {
10918                error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.', domEventName);
10919              }
10920            }
10921            var eventSystemFlags = 0;
10922            if (isCapturePhaseListener) {
10923              eventSystemFlags |= IS_CAPTURE_PHASE;
10924            }
10925            addTrappedEventListener(target, domEventName, eventSystemFlags, isCapturePhaseListener);
10926          }
10927          var listeningMarker = "_reactListening" + Math.random().toString(36).slice(2);
10928          function listenToAllSupportedEvents(rootContainerElement) {
10929            if (!rootContainerElement[listeningMarker]) {
10930              rootContainerElement[listeningMarker] = true;
10931              allNativeEvents.forEach(function(domEventName) {
10932                if (domEventName !== "selectionchange") {
10933                  if (!nonDelegatedEvents.has(domEventName)) {
10934                    listenToNativeEvent(domEventName, false, rootContainerElement);
10935                  }
10936                  listenToNativeEvent(domEventName, true, rootContainerElement);
10937                }
10938              });
10939              var ownerDocument = rootContainerElement.nodeType === DOCUMENT_NODE ? rootContainerElement : rootContainerElement.ownerDocument;
10940              if (ownerDocument !== null) {
10941                if (!ownerDocument[listeningMarker]) {
10942                  ownerDocument[listeningMarker] = true;
10943                  listenToNativeEvent("selectionchange", false, ownerDocument);
10944                }
10945              }
10946            }
10947          }
10948          function addTrappedEventListener(targetContainer, domEventName, eventSystemFlags, isCapturePhaseListener, isDeferredListenerForLegacyFBSupport) {
10949            var listener2 = createEventListenerWrapperWithPriority(targetContainer, domEventName, eventSystemFlags);
10950            var isPassiveListener = void 0;
10951            if (passiveBrowserEventsSupported) {
10952              if (domEventName === "touchstart" || domEventName === "touchmove" || domEventName === "wheel") {
10953                isPassiveListener = true;
10954              }
10955            }
10956            targetContainer = targetContainer;
10957            var unsubscribeListener;
10958            if (isCapturePhaseListener) {
10959              if (isPassiveListener !== void 0) {
10960                unsubscribeListener = addEventCaptureListenerWithPassiveFlag(targetContainer, domEventName, listener2, isPassiveListener);
10961              } else {
10962                unsubscribeListener = addEventCaptureListener(targetContainer, domEventName, listener2);
10963              }
10964            } else {
10965              if (isPassiveListener !== void 0) {
10966                unsubscribeListener = addEventBubbleListenerWithPassiveFlag(targetContainer, domEventName, listener2, isPassiveListener);
10967              } else {
10968                unsubscribeListener = addEventBubbleListener(targetContainer, domEventName, listener2);
10969              }
10970            }
10971          }
10972          function isMatchingRootContainer(grandContainer, targetContainer) {
10973            return grandContainer === targetContainer || grandContainer.nodeType === COMMENT_NODE && grandContainer.parentNode === targetContainer;
10974          }
10975          function dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, targetInst, targetContainer) {
10976            var ancestorInst = targetInst;
10977            if ((eventSystemFlags & IS_EVENT_HANDLE_NON_MANAGED_NODE) === 0 && (eventSystemFlags & IS_NON_DELEGATED) === 0) {
10978              var targetContainerNode = targetContainer;
10979              if (targetInst !== null) {
10980                var node2 = targetInst;
10981                mainLoop: while (true) {
10982                  if (node2 === null) {
10983                    return;
10984                  }
10985                  var nodeTag = node2.tag;
10986                  if (nodeTag === HostRoot || nodeTag === HostPortal) {
10987                    var container = node2.stateNode.containerInfo;
10988                    if (isMatchingRootContainer(container, targetContainerNode)) {
10989                      break;
10990                    }
10991                    if (nodeTag === HostPortal) {
10992                      var grandNode = node2.return;
10993                      while (grandNode !== null) {
10994                        var grandTag = grandNode.tag;
10995                        if (grandTag === HostRoot || grandTag === HostPortal) {
10996                          var grandContainer = grandNode.stateNode.containerInfo;
10997                          if (isMatchingRootContainer(grandContainer, targetContainerNode)) {
10998                            return;
10999                          }
11000                        }
11001                        grandNode = grandNode.return;
11002                      }
11003                    }
11004                    while (container !== null) {
11005                      var parentNode = getClosestInstanceFromNode(container);
11006                      if (parentNode === null) {
11007                        return;
11008                      }
11009                      var parentTag = parentNode.tag;
11010                      if (parentTag === HostComponent || parentTag === HostText) {
11011                        node2 = ancestorInst = parentNode;
11012                        continue mainLoop;
11013                      }
11014                      container = container.parentNode;
11015                    }
11016                  }
11017                  node2 = node2.return;
11018                }
11019              }
11020            }
11021            batchedUpdates(function() {
11022              return dispatchEventsForPlugins(domEventName, eventSystemFlags, nativeEvent, ancestorInst);
11023            });
11024          }
11025          function createDispatchListener(instance, listener2, currentTarget) {
11026            return {
11027              instance,
11028              listener: listener2,
11029              currentTarget
11030            };
11031          }
11032          function accumulateSinglePhaseListeners(targetFiber, reactName, nativeEventType, inCapturePhase, accumulateTargetOnly, nativeEvent) {
11033            var captureName = reactName !== null ? reactName + "Capture" : null;
11034            var reactEventName = inCapturePhase ? captureName : reactName;
11035            var listeners = [];
11036            var instance = targetFiber;
11037            var lastHostComponent = null;
11038            while (instance !== null) {
11039              var _instance2 = instance, stateNode = _instance2.stateNode, tag = _instance2.tag;
11040              if (tag === HostComponent && stateNode !== null) {
11041                lastHostComponent = stateNode;
11042                if (reactEventName !== null) {
11043                  var listener2 = getListener(instance, reactEventName);
11044                  if (listener2 != null) {
11045                    listeners.push(createDispatchListener(instance, listener2, lastHostComponent));
11046                  }
11047                }
11048              }
11049              if (accumulateTargetOnly) {
11050                break;
11051              }
11052              instance = instance.return;
11053            }
11054            return listeners;
11055          }
11056          function accumulateTwoPhaseListeners(targetFiber, reactName) {
11057            var captureName = reactName + "Capture";
11058            var listeners = [];
11059            var instance = targetFiber;
11060            while (instance !== null) {
11061              var _instance3 = instance, stateNode = _instance3.stateNode, tag = _instance3.tag;
11062              if (tag === HostComponent && stateNode !== null) {
11063                var currentTarget = stateNode;
11064                var captureListener = getListener(instance, captureName);
11065                if (captureListener != null) {
11066                  listeners.unshift(createDispatchListener(instance, captureListener, currentTarget));
11067                }
11068                var bubbleListener = getListener(instance, reactName);
11069                if (bubbleListener != null) {
11070                  listeners.push(createDispatchListener(instance, bubbleListener, currentTarget));
11071                }
11072              }
11073              instance = instance.return;
11074            }
11075            return listeners;
11076          }
11077          function getParent(inst) {
11078            if (inst === null) {
11079              return null;
11080            }
11081            do {
11082              inst = inst.return;
11083            } while (inst && inst.tag !== HostComponent);
11084            if (inst) {
11085              return inst;
11086            }
11087            return null;
11088          }
11089          function getLowestCommonAncestor(instA, instB) {
11090            var nodeA = instA;
11091            var nodeB = instB;
11092            var depthA = 0;
11093            for (var tempA = nodeA; tempA; tempA = getParent(tempA)) {
11094              depthA++;
11095            }
11096            var depthB = 0;
11097            for (var tempB = nodeB; tempB; tempB = getParent(tempB)) {
11098              depthB++;
11099            }
11100            while (depthA - depthB > 0) {
11101              nodeA = getParent(nodeA);
11102              depthA--;
11103            }
11104            while (depthB - depthA > 0) {
11105              nodeB = getParent(nodeB);
11106              depthB--;
11107            }
11108            var depth = depthA;
11109            while (depth--) {
11110              if (nodeA === nodeB || nodeB !== null && nodeA === nodeB.alternate) {
11111                return nodeA;
11112              }
11113              nodeA = getParent(nodeA);
11114              nodeB = getParent(nodeB);
11115            }
11116            return null;
11117          }
11118          function accumulateEnterLeaveListenersForEvent(dispatchQueue, event, target, common, inCapturePhase) {
11119            var registrationName = event._reactName;
11120            var listeners = [];
11121            var instance = target;
11122            while (instance !== null) {
11123              if (instance === common) {
11124                break;
11125              }
11126              var _instance4 = instance, alternate = _instance4.alternate, stateNode = _instance4.stateNode, tag = _instance4.tag;
11127              if (alternate !== null && alternate === common) {
11128                break;
11129              }
11130              if (tag === HostComponent && stateNode !== null) {
11131                var currentTarget = stateNode;
11132                if (inCapturePhase) {
11133                  var captureListener = getListener(instance, registrationName);
11134                  if (captureListener != null) {
11135                    listeners.unshift(createDispatchListener(instance, captureListener, currentTarget));
11136                  }
11137                } else if (!inCapturePhase) {
11138                  var bubbleListener = getListener(instance, registrationName);
11139                  if (bubbleListener != null) {
11140                    listeners.push(createDispatchListener(instance, bubbleListener, currentTarget));
11141                  }
11142                }
11143              }
11144              instance = instance.return;
11145            }
11146            if (listeners.length !== 0) {
11147              dispatchQueue.push({
11148                event,
11149                listeners
11150              });
11151            }
11152          }
11153          function accumulateEnterLeaveTwoPhaseListeners(dispatchQueue, leaveEvent, enterEvent, from2, to) {
11154            var common = from2 && to ? getLowestCommonAncestor(from2, to) : null;
11155            if (from2 !== null) {
11156              accumulateEnterLeaveListenersForEvent(dispatchQueue, leaveEvent, from2, common, false);
11157            }
11158            if (to !== null && enterEvent !== null) {
11159              accumulateEnterLeaveListenersForEvent(dispatchQueue, enterEvent, to, common, true);
11160            }
11161          }
11162          function getListenerSetKey(domEventName, capture) {
11163            return domEventName + "__" + (capture ? "capture" : "bubble");
11164          }
11165          var didWarnInvalidHydration = false;
11166          var DANGEROUSLY_SET_INNER_HTML = "dangerouslySetInnerHTML";
11167          var SUPPRESS_CONTENT_EDITABLE_WARNING = "suppressContentEditableWarning";
11168          var SUPPRESS_HYDRATION_WARNING = "suppressHydrationWarning";
11169          var AUTOFOCUS = "autoFocus";
11170          var CHILDREN = "children";
11171          var STYLE = "style";
11172          var HTML$1 = "__html";
11173          var warnedUnknownTags;
11174          var validatePropertiesInDevelopment;
11175          var warnForPropDifference;
11176          var warnForExtraAttributes;
11177          var warnForInvalidEventListener;
11178          var canDiffStyleForHydrationWarning;
11179          var normalizeHTML;
11180          {
11181            warnedUnknownTags = {
11182              // There are working polyfills for <dialog>. Let people use it.
11183              dialog: true,
11184              // Electron ships a custom <webview> tag to display external web content in
11185              // an isolated frame and process.
11186              // This tag is not present in non Electron environments such as JSDom which
11187              // is often used for testing purposes.
11188              // @see https://electronjs.org/docs/api/webview-tag
11189              webview: true
11190            };
11191            validatePropertiesInDevelopment = function(type, props) {
11192              validateProperties(type, props);
11193              validateProperties$1(type, props);
11194              validateProperties$2(type, props, {
11195                registrationNameDependencies,
11196                possibleRegistrationNames
11197              });
11198            };
11199            canDiffStyleForHydrationWarning = canUseDOM2 && !document.documentMode;
11200            warnForPropDifference = function(propName, serverValue, clientValue) {
11201              if (didWarnInvalidHydration) {
11202                return;
11203              }
11204              var normalizedClientValue = normalizeMarkupForTextOrAttribute(clientValue);
11205              var normalizedServerValue = normalizeMarkupForTextOrAttribute(serverValue);
11206              if (normalizedServerValue === normalizedClientValue) {
11207                return;
11208              }
11209              didWarnInvalidHydration = true;
11210              error("Prop `%s` did not match. Server: %s Client: %s", propName, JSON.stringify(normalizedServerValue), JSON.stringify(normalizedClientValue));
11211            };
11212            warnForExtraAttributes = function(attributeNames) {
11213              if (didWarnInvalidHydration) {
11214                return;
11215              }
11216              didWarnInvalidHydration = true;
11217              var names = [];
11218              attributeNames.forEach(function(name2) {
11219                names.push(name2);
11220              });
11221              error("Extra attributes from the server: %s", names);
11222            };
11223            warnForInvalidEventListener = function(registrationName, listener2) {
11224              if (listener2 === false) {
11225                error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.", registrationName, registrationName, registrationName);
11226              } else {
11227                error("Expected `%s` listener to be a function, instead got a value of `%s` type.", registrationName, typeof listener2);
11228              }
11229            };
11230            normalizeHTML = function(parent, html) {
11231              var testElement = parent.namespaceURI === HTML_NAMESPACE ? parent.ownerDocument.createElement(parent.tagName) : parent.ownerDocument.createElementNS(parent.namespaceURI, parent.tagName);
11232              testElement.innerHTML = html;
11233              return testElement.innerHTML;
11234            };
11235          }
11236          var NORMALIZE_NEWLINES_REGEX = /\r\n?/g;
11237          var NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g;
11238          function normalizeMarkupForTextOrAttribute(markup) {
11239            {
11240              checkHtmlStringCoercion(markup);
11241            }
11242            var markupString = typeof markup === "string" ? markup : "" + markup;
11243            return markupString.replace(NORMALIZE_NEWLINES_REGEX, "\n").replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX, "");
11244          }
11245          function checkForUnmatchedText(serverText, clientText, isConcurrentMode, shouldWarnDev) {
11246            var normalizedClientText = normalizeMarkupForTextOrAttribute(clientText);
11247            var normalizedServerText = normalizeMarkupForTextOrAttribute(serverText);
11248            if (normalizedServerText === normalizedClientText) {
11249              return;
11250            }
11251            if (shouldWarnDev) {
11252              {
11253                if (!didWarnInvalidHydration) {
11254                  didWarnInvalidHydration = true;
11255                  error('Text content did not match. Server: "%s" Client: "%s"', normalizedServerText, normalizedClientText);
11256                }
11257              }
11258            }
11259            if (isConcurrentMode && enableClientRenderFallbackOnTextMismatch) {
11260              throw new Error("Text content does not match server-rendered HTML.");
11261            }
11262          }
11263          function getOwnerDocumentFromRootContainer(rootContainerElement) {
11264            return rootContainerElement.nodeType === DOCUMENT_NODE ? rootContainerElement : rootContainerElement.ownerDocument;
11265          }
11266          function noop5() {
11267          }
11268          function trapClickOnNonInteractiveElement(node2) {
11269            node2.onclick = noop5;
11270          }
11271          function setInitialDOMProperties(tag, domElement, rootContainerElement, nextProps, isCustomComponentTag) {
11272            for (var propKey in nextProps) {
11273              if (!nextProps.hasOwnProperty(propKey)) {
11274                continue;
11275              }
11276              var nextProp = nextProps[propKey];
11277              if (propKey === STYLE) {
11278                {
11279                  if (nextProp) {
11280                    Object.freeze(nextProp);
11281                  }
11282                }
11283                setValueForStyles(domElement, nextProp);
11284              } else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
11285                var nextHtml = nextProp ? nextProp[HTML$1] : void 0;
11286                if (nextHtml != null) {
11287                  setInnerHTML(domElement, nextHtml);
11288                }
11289              } else if (propKey === CHILDREN) {
11290                if (typeof nextProp === "string") {
11291                  var canSetTextContent = tag !== "textarea" || nextProp !== "";
11292                  if (canSetTextContent) {
11293                    setTextContent(domElement, nextProp);
11294                  }
11295                } else if (typeof nextProp === "number") {
11296                  setTextContent(domElement, "" + nextProp);
11297                }
11298              } else if (propKey === SUPPRESS_CONTENT_EDITABLE_WARNING || propKey === SUPPRESS_HYDRATION_WARNING) ;
11299              else if (propKey === AUTOFOCUS) ;
11300              else if (registrationNameDependencies.hasOwnProperty(propKey)) {
11301                if (nextProp != null) {
11302                  if (typeof nextProp !== "function") {
11303                    warnForInvalidEventListener(propKey, nextProp);
11304                  }
11305                  if (propKey === "onScroll") {
11306                    listenToNonDelegatedEvent("scroll", domElement);
11307                  }
11308                }
11309              } else if (nextProp != null) {
11310                setValueForProperty(domElement, propKey, nextProp, isCustomComponentTag);
11311              }
11312            }
11313          }
11314          function updateDOMProperties(domElement, updatePayload, wasCustomComponentTag, isCustomComponentTag) {
11315            for (var i2 = 0; i2 < updatePayload.length; i2 += 2) {
11316              var propKey = updatePayload[i2];
11317              var propValue = updatePayload[i2 + 1];
11318              if (propKey === STYLE) {
11319                setValueForStyles(domElement, propValue);
11320              } else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
11321                setInnerHTML(domElement, propValue);
11322              } else if (propKey === CHILDREN) {
11323                setTextContent(domElement, propValue);
11324              } else {
11325                setValueForProperty(domElement, propKey, propValue, isCustomComponentTag);
11326              }
11327            }
11328          }
11329          function createElement7(type, props, rootContainerElement, parentNamespace) {
11330            var isCustomComponentTag;
11331            var ownerDocument = getOwnerDocumentFromRootContainer(rootContainerElement);
11332            var domElement;
11333            var namespaceURI = parentNamespace;
11334            if (namespaceURI === HTML_NAMESPACE) {
11335              namespaceURI = getIntrinsicNamespace(type);
11336            }
11337            if (namespaceURI === HTML_NAMESPACE) {
11338              {
11339                isCustomComponentTag = isCustomComponent(type, props);
11340                if (!isCustomComponentTag && type !== type.toLowerCase()) {
11341                  error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.", type);
11342                }
11343              }
11344              if (type === "script") {
11345                var div = ownerDocument.createElement("div");
11346                div.innerHTML = "<script><\/script>";
11347                var firstChild = div.firstChild;
11348                domElement = div.removeChild(firstChild);
11349              } else if (typeof props.is === "string") {
11350                domElement = ownerDocument.createElement(type, {
11351                  is: props.is
11352                });
11353              } else {
11354                domElement = ownerDocument.createElement(type);
11355                if (type === "select") {
11356                  var node2 = domElement;
11357                  if (props.multiple) {
11358                    node2.multiple = true;
11359                  } else if (props.size) {
11360                    node2.size = props.size;
11361                  }
11362                }
11363              }
11364            } else {
11365              domElement = ownerDocument.createElementNS(namespaceURI, type);
11366            }
11367            {
11368              if (namespaceURI === HTML_NAMESPACE) {
11369                if (!isCustomComponentTag && Object.prototype.toString.call(domElement) === "[object HTMLUnknownElement]" && !hasOwnProperty3.call(warnedUnknownTags, type)) {
11370                  warnedUnknownTags[type] = true;
11371                  error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.", type);
11372                }
11373              }
11374            }
11375            return domElement;
11376          }
11377          function createTextNode(text2, rootContainerElement) {
11378            return getOwnerDocumentFromRootContainer(rootContainerElement).createTextNode(text2);
11379          }
11380          function setInitialProperties(domElement, tag, rawProps, rootContainerElement) {
11381            var isCustomComponentTag = isCustomComponent(tag, rawProps);
11382            {
11383              validatePropertiesInDevelopment(tag, rawProps);
11384            }
11385            var props;
11386            switch (tag) {
11387              case "dialog":
11388                listenToNonDelegatedEvent("cancel", domElement);
11389                listenToNonDelegatedEvent("close", domElement);
11390                props = rawProps;
11391                break;
11392              case "iframe":
11393              case "object":
11394              case "embed":
11395                listenToNonDelegatedEvent("load", domElement);
11396                props = rawProps;
11397                break;
11398              case "video":
11399              case "audio":
11400                for (var i2 = 0; i2 < mediaEventTypes.length; i2++) {
11401                  listenToNonDelegatedEvent(mediaEventTypes[i2], domElement);
11402                }
11403                props = rawProps;
11404                break;
11405              case "source":
11406                listenToNonDelegatedEvent("error", domElement);
11407                props = rawProps;
11408                break;
11409              case "img":
11410              case "image":
11411              case "link":
11412                listenToNonDelegatedEvent("error", domElement);
11413                listenToNonDelegatedEvent("load", domElement);
11414                props = rawProps;
11415                break;
11416              case "details":
11417                listenToNonDelegatedEvent("toggle", domElement);
11418                props = rawProps;
11419                break;
11420              case "input":
11421                initWrapperState(domElement, rawProps);
11422                props = getHostProps(domElement, rawProps);
11423                listenToNonDelegatedEvent("invalid", domElement);
11424                break;
11425              case "option":
11426                validateProps(domElement, rawProps);
11427                props = rawProps;
11428                break;
11429              case "select":
11430                initWrapperState$1(domElement, rawProps);
11431                props = getHostProps$1(domElement, rawProps);
11432                listenToNonDelegatedEvent("invalid", domElement);
11433                break;
11434              case "textarea":
11435                initWrapperState$2(domElement, rawProps);
11436                props = getHostProps$2(domElement, rawProps);
11437                listenToNonDelegatedEvent("invalid", domElement);
11438                break;
11439              default:
11440                props = rawProps;
11441            }
11442            assertValidProps(tag, props);
11443            setInitialDOMProperties(tag, domElement, rootContainerElement, props, isCustomComponentTag);
11444            switch (tag) {
11445              case "input":
11446                track(domElement);
11447                postMountWrapper(domElement, rawProps, false);
11448                break;
11449              case "textarea":
11450                track(domElement);
11451                postMountWrapper$3(domElement);
11452                break;
11453              case "option":
11454                postMountWrapper$1(domElement, rawProps);
11455                break;
11456              case "select":
11457                postMountWrapper$2(domElement, rawProps);
11458                break;
11459              default:
11460                if (typeof props.onClick === "function") {
11461                  trapClickOnNonInteractiveElement(domElement);
11462                }
11463                break;
11464            }
11465          }
11466          function diffProperties(domElement, tag, lastRawProps, nextRawProps, rootContainerElement) {
11467            {
11468              validatePropertiesInDevelopment(tag, nextRawProps);
11469            }
11470            var updatePayload = null;
11471            var lastProps;
11472            var nextProps;
11473            switch (tag) {
11474              case "input":
11475                lastProps = getHostProps(domElement, lastRawProps);
11476                nextProps = getHostProps(domElement, nextRawProps);
11477                updatePayload = [];
11478                break;
11479              case "select":
11480                lastProps = getHostProps$1(domElement, lastRawProps);
11481                nextProps = getHostProps$1(domElement, nextRawProps);
11482                updatePayload = [];
11483                break;
11484              case "textarea":
11485                lastProps = getHostProps$2(domElement, lastRawProps);
11486                nextProps = getHostProps$2(domElement, nextRawProps);
11487                updatePayload = [];
11488                break;
11489              default:
11490                lastProps = lastRawProps;
11491                nextProps = nextRawProps;
11492                if (typeof lastProps.onClick !== "function" && typeof nextProps.onClick === "function") {
11493                  trapClickOnNonInteractiveElement(domElement);
11494                }
11495                break;
11496            }
11497            assertValidProps(tag, nextProps);
11498            var propKey;
11499            var styleName;
11500            var styleUpdates = null;
11501            for (propKey in lastProps) {
11502              if (nextProps.hasOwnProperty(propKey) || !lastProps.hasOwnProperty(propKey) || lastProps[propKey] == null) {
11503                continue;
11504              }
11505              if (propKey === STYLE) {
11506                var lastStyle = lastProps[propKey];
11507                for (styleName in lastStyle) {
11508                  if (lastStyle.hasOwnProperty(styleName)) {
11509                    if (!styleUpdates) {
11510                      styleUpdates = {};
11511                    }
11512                    styleUpdates[styleName] = "";
11513                  }
11514                }
11515              } else if (propKey === DANGEROUSLY_SET_INNER_HTML || propKey === CHILDREN) ;
11516              else if (propKey === SUPPRESS_CONTENT_EDITABLE_WARNING || propKey === SUPPRESS_HYDRATION_WARNING) ;
11517              else if (propKey === AUTOFOCUS) ;
11518              else if (registrationNameDependencies.hasOwnProperty(propKey)) {
11519                if (!updatePayload) {
11520                  updatePayload = [];
11521                }
11522              } else {
11523                (updatePayload = updatePayload || []).push(propKey, null);
11524              }
11525            }
11526            for (propKey in nextProps) {
11527              var nextProp = nextProps[propKey];
11528              var lastProp = lastProps != null ? lastProps[propKey] : void 0;
11529              if (!nextProps.hasOwnProperty(propKey) || nextProp === lastProp || nextProp == null && lastProp == null) {
11530                continue;
11531              }
11532              if (propKey === STYLE) {
11533                {
11534                  if (nextProp) {
11535                    Object.freeze(nextProp);
11536                  }
11537                }
11538                if (lastProp) {
11539                  for (styleName in lastProp) {
11540                    if (lastProp.hasOwnProperty(styleName) && (!nextProp || !nextProp.hasOwnProperty(styleName))) {
11541                      if (!styleUpdates) {
11542                        styleUpdates = {};
11543                      }
11544                      styleUpdates[styleName] = "";
11545                    }
11546                  }
11547                  for (styleName in nextProp) {
11548                    if (nextProp.hasOwnProperty(styleName) && lastProp[styleName] !== nextProp[styleName]) {
11549                      if (!styleUpdates) {
11550                        styleUpdates = {};
11551                      }
11552                      styleUpdates[styleName] = nextProp[styleName];
11553                    }
11554                  }
11555                } else {
11556                  if (!styleUpdates) {
11557                    if (!updatePayload) {
11558                      updatePayload = [];
11559                    }
11560                    updatePayload.push(propKey, styleUpdates);
11561                  }
11562                  styleUpdates = nextProp;
11563                }
11564              } else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
11565                var nextHtml = nextProp ? nextProp[HTML$1] : void 0;
11566                var lastHtml = lastProp ? lastProp[HTML$1] : void 0;
11567                if (nextHtml != null) {
11568                  if (lastHtml !== nextHtml) {
11569                    (updatePayload = updatePayload || []).push(propKey, nextHtml);
11570                  }
11571                }
11572              } else if (propKey === CHILDREN) {
11573                if (typeof nextProp === "string" || typeof nextProp === "number") {
11574                  (updatePayload = updatePayload || []).push(propKey, "" + nextProp);
11575                }
11576              } else if (propKey === SUPPRESS_CONTENT_EDITABLE_WARNING || propKey === SUPPRESS_HYDRATION_WARNING) ;
11577              else if (registrationNameDependencies.hasOwnProperty(propKey)) {
11578                if (nextProp != null) {
11579                  if (typeof nextProp !== "function") {
11580                    warnForInvalidEventListener(propKey, nextProp);
11581                  }
11582                  if (propKey === "onScroll") {
11583                    listenToNonDelegatedEvent("scroll", domElement);
11584                  }
11585                }
11586                if (!updatePayload && lastProp !== nextProp) {
11587                  updatePayload = [];
11588                }
11589              } else {
11590                (updatePayload = updatePayload || []).push(propKey, nextProp);
11591              }
11592            }
11593            if (styleUpdates) {
11594              {
11595                validateShorthandPropertyCollisionInDev(styleUpdates, nextProps[STYLE]);
11596              }
11597              (updatePayload = updatePayload || []).push(STYLE, styleUpdates);
11598            }
11599            return updatePayload;
11600          }
11601          function updateProperties(domElement, updatePayload, tag, lastRawProps, nextRawProps) {
11602            if (tag === "input" && nextRawProps.type === "radio" && nextRawProps.name != null) {
11603              updateChecked(domElement, nextRawProps);
11604            }
11605            var wasCustomComponentTag = isCustomComponent(tag, lastRawProps);
11606            var isCustomComponentTag = isCustomComponent(tag, nextRawProps);
11607            updateDOMProperties(domElement, updatePayload, wasCustomComponentTag, isCustomComponentTag);
11608            switch (tag) {
11609              case "input":
11610                updateWrapper(domElement, nextRawProps);
11611                break;
11612              case "textarea":
11613                updateWrapper$1(domElement, nextRawProps);
11614                break;
11615              case "select":
11616                postUpdateWrapper(domElement, nextRawProps);
11617                break;
11618            }
11619          }
11620          function getPossibleStandardName(propName) {
11621            {
11622              var lowerCasedName = propName.toLowerCase();
11623              if (!possibleStandardNames.hasOwnProperty(lowerCasedName)) {
11624                return null;
11625              }
11626              return possibleStandardNames[lowerCasedName] || null;
11627            }
11628          }
11629          function diffHydratedProperties(domElement, tag, rawProps, parentNamespace, rootContainerElement, isConcurrentMode, shouldWarnDev) {
11630            var isCustomComponentTag;
11631            var extraAttributeNames;
11632            {
11633              isCustomComponentTag = isCustomComponent(tag, rawProps);
11634              validatePropertiesInDevelopment(tag, rawProps);
11635            }
11636            switch (tag) {
11637              case "dialog":
11638                listenToNonDelegatedEvent("cancel", domElement);
11639                listenToNonDelegatedEvent("close", domElement);
11640                break;
11641              case "iframe":
11642              case "object":
11643              case "embed":
11644                listenToNonDelegatedEvent("load", domElement);
11645                break;
11646              case "video":
11647              case "audio":
11648                for (var i2 = 0; i2 < mediaEventTypes.length; i2++) {
11649                  listenToNonDelegatedEvent(mediaEventTypes[i2], domElement);
11650                }
11651                break;
11652              case "source":
11653                listenToNonDelegatedEvent("error", domElement);
11654                break;
11655              case "img":
11656              case "image":
11657              case "link":
11658                listenToNonDelegatedEvent("error", domElement);
11659                listenToNonDelegatedEvent("load", domElement);
11660                break;
11661              case "details":
11662                listenToNonDelegatedEvent("toggle", domElement);
11663                break;
11664              case "input":
11665                initWrapperState(domElement, rawProps);
11666                listenToNonDelegatedEvent("invalid", domElement);
11667                break;
11668              case "option":
11669                validateProps(domElement, rawProps);
11670                break;
11671              case "select":
11672                initWrapperState$1(domElement, rawProps);
11673                listenToNonDelegatedEvent("invalid", domElement);
11674                break;
11675              case "textarea":
11676                initWrapperState$2(domElement, rawProps);
11677                listenToNonDelegatedEvent("invalid", domElement);
11678                break;
11679            }
11680            assertValidProps(tag, rawProps);
11681            {
11682              extraAttributeNames = /* @__PURE__ */ new Set();
11683              var attributes = domElement.attributes;
11684              for (var _i = 0; _i < attributes.length; _i++) {
11685                var name2 = attributes[_i].name.toLowerCase();
11686                switch (name2) {
11687                  // Controlled attributes are not validated
11688                  // TODO: Only ignore them on controlled tags.
11689                  case "value":
11690                    break;
11691                  case "checked":
11692                    break;
11693                  case "selected":
11694                    break;
11695                  default:
11696                    extraAttributeNames.add(attributes[_i].name);
11697                }
11698              }
11699            }
11700            var updatePayload = null;
11701            for (var propKey in rawProps) {
11702              if (!rawProps.hasOwnProperty(propKey)) {
11703                continue;
11704              }
11705              var nextProp = rawProps[propKey];
11706              if (propKey === CHILDREN) {
11707                if (typeof nextProp === "string") {
11708                  if (domElement.textContent !== nextProp) {
11709                    if (rawProps[SUPPRESS_HYDRATION_WARNING] !== true) {
11710                      checkForUnmatchedText(domElement.textContent, nextProp, isConcurrentMode, shouldWarnDev);
11711                    }
11712                    updatePayload = [CHILDREN, nextProp];
11713                  }
11714                } else if (typeof nextProp === "number") {
11715                  if (domElement.textContent !== "" + nextProp) {
11716                    if (rawProps[SUPPRESS_HYDRATION_WARNING] !== true) {
11717                      checkForUnmatchedText(domElement.textContent, nextProp, isConcurrentMode, shouldWarnDev);
11718                    }
11719                    updatePayload = [CHILDREN, "" + nextProp];
11720                  }
11721                }
11722              } else if (registrationNameDependencies.hasOwnProperty(propKey)) {
11723                if (nextProp != null) {
11724                  if (typeof nextProp !== "function") {
11725                    warnForInvalidEventListener(propKey, nextProp);
11726                  }
11727                  if (propKey === "onScroll") {
11728                    listenToNonDelegatedEvent("scroll", domElement);
11729                  }
11730                }
11731              } else if (shouldWarnDev && true && // Convince Flow we've calculated it (it's DEV-only in this method.)
11732              typeof isCustomComponentTag === "boolean") {
11733                var serverValue = void 0;
11734                var propertyInfo = isCustomComponentTag && enableCustomElementPropertySupport ? null : getPropertyInfo(propKey);
11735                if (rawProps[SUPPRESS_HYDRATION_WARNING] === true) ;
11736                else if (propKey === SUPPRESS_CONTENT_EDITABLE_WARNING || propKey === SUPPRESS_HYDRATION_WARNING || // Controlled attributes are not validated
11737                // TODO: Only ignore them on controlled tags.
11738                propKey === "value" || propKey === "checked" || propKey === "selected") ;
11739                else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
11740                  var serverHTML = domElement.innerHTML;
11741                  var nextHtml = nextProp ? nextProp[HTML$1] : void 0;
11742                  if (nextHtml != null) {
11743                    var expectedHTML = normalizeHTML(domElement, nextHtml);
11744                    if (expectedHTML !== serverHTML) {
11745                      warnForPropDifference(propKey, serverHTML, expectedHTML);
11746                    }
11747                  }
11748                } else if (propKey === STYLE) {
11749                  extraAttributeNames.delete(propKey);
11750                  if (canDiffStyleForHydrationWarning) {
11751                    var expectedStyle = createDangerousStringForStyles(nextProp);
11752                    serverValue = domElement.getAttribute("style");
11753                    if (expectedStyle !== serverValue) {
11754                      warnForPropDifference(propKey, serverValue, expectedStyle);
11755                    }
11756                  }
11757                } else if (isCustomComponentTag && !enableCustomElementPropertySupport) {
11758                  extraAttributeNames.delete(propKey.toLowerCase());
11759                  serverValue = getValueForAttribute(domElement, propKey, nextProp);
11760                  if (nextProp !== serverValue) {
11761                    warnForPropDifference(propKey, serverValue, nextProp);
11762                  }
11763                } else if (!shouldIgnoreAttribute(propKey, propertyInfo, isCustomComponentTag) && !shouldRemoveAttribute(propKey, nextProp, propertyInfo, isCustomComponentTag)) {
11764                  var isMismatchDueToBadCasing = false;
11765                  if (propertyInfo !== null) {
11766                    extraAttributeNames.delete(propertyInfo.attributeName);
11767                    serverValue = getValueForProperty(domElement, propKey, nextProp, propertyInfo);
11768                  } else {
11769                    var ownNamespace = parentNamespace;
11770                    if (ownNamespace === HTML_NAMESPACE) {
11771                      ownNamespace = getIntrinsicNamespace(tag);
11772                    }
11773                    if (ownNamespace === HTML_NAMESPACE) {
11774                      extraAttributeNames.delete(propKey.toLowerCase());
11775                    } else {
11776                      var standardName = getPossibleStandardName(propKey);
11777                      if (standardName !== null && standardName !== propKey) {
11778                        isMismatchDueToBadCasing = true;
11779                        extraAttributeNames.delete(standardName);
11780                      }
11781                      extraAttributeNames.delete(propKey);
11782                    }
11783                    serverValue = getValueForAttribute(domElement, propKey, nextProp);
11784                  }
11785                  var dontWarnCustomElement = enableCustomElementPropertySupport;
11786                  if (!dontWarnCustomElement && nextProp !== serverValue && !isMismatchDueToBadCasing) {
11787                    warnForPropDifference(propKey, serverValue, nextProp);
11788                  }
11789                }
11790              }
11791            }
11792            {
11793              if (shouldWarnDev) {
11794                if (
11795                  // $FlowFixMe - Should be inferred as not undefined.
11796                  extraAttributeNames.size > 0 && rawProps[SUPPRESS_HYDRATION_WARNING] !== true
11797                ) {
11798                  warnForExtraAttributes(extraAttributeNames);
11799                }
11800              }
11801            }
11802            switch (tag) {
11803              case "input":
11804                track(domElement);
11805                postMountWrapper(domElement, rawProps, true);
11806                break;
11807              case "textarea":
11808                track(domElement);
11809                postMountWrapper$3(domElement);
11810                break;
11811              case "select":
11812              case "option":
11813                break;
11814              default:
11815                if (typeof rawProps.onClick === "function") {
11816                  trapClickOnNonInteractiveElement(domElement);
11817                }
11818                break;
11819            }
11820            return updatePayload;
11821          }
11822          function diffHydratedText(textNode, text2, isConcurrentMode) {
11823            var isDifferent = textNode.nodeValue !== text2;
11824            return isDifferent;
11825          }
11826          function warnForDeletedHydratableElement(parentNode, child) {
11827            {
11828              if (didWarnInvalidHydration) {
11829                return;
11830              }
11831              didWarnInvalidHydration = true;
11832              error("Did not expect server HTML to contain a <%s> in <%s>.", child.nodeName.toLowerCase(), parentNode.nodeName.toLowerCase());
11833            }
11834          }
11835          function warnForDeletedHydratableText(parentNode, child) {
11836            {
11837              if (didWarnInvalidHydration) {
11838                return;
11839              }
11840              didWarnInvalidHydration = true;
11841              error('Did not expect server HTML to contain the text node "%s" in <%s>.', child.nodeValue, parentNode.nodeName.toLowerCase());
11842            }
11843          }
11844          function warnForInsertedHydratedElement(parentNode, tag, props) {
11845            {
11846              if (didWarnInvalidHydration) {
11847                return;
11848              }
11849              didWarnInvalidHydration = true;
11850              error("Expected server HTML to contain a matching <%s> in <%s>.", tag, parentNode.nodeName.toLowerCase());
11851            }
11852          }
11853          function warnForInsertedHydratedText(parentNode, text2) {
11854            {
11855              if (text2 === "") {
11856                return;
11857              }
11858              if (didWarnInvalidHydration) {
11859                return;
11860              }
11861              didWarnInvalidHydration = true;
11862              error('Expected server HTML to contain a matching text node for "%s" in <%s>.', text2, parentNode.nodeName.toLowerCase());
11863            }
11864          }
11865          function restoreControlledState$3(domElement, tag, props) {
11866            switch (tag) {
11867              case "input":
11868                restoreControlledState(domElement, props);
11869                return;
11870              case "textarea":
11871                restoreControlledState$2(domElement, props);
11872                return;
11873              case "select":
11874                restoreControlledState$1(domElement, props);
11875                return;
11876            }
11877          }
11878          var validateDOMNesting = function() {
11879          };
11880          var updatedAncestorInfo = function() {
11881          };
11882          {
11883            var specialTags = ["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound", "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "dd", "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form", "frame", "frameset", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "iframe", "img", "input", "isindex", "li", "link", "listing", "main", "marquee", "menu", "menuitem", "meta", "nav", "noembed", "noframes", "noscript", "object", "ol", "p", "param", "plaintext", "pre", "script", "section", "select", "source", "style", "summary", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "title", "tr", "track", "ul", "wbr", "xmp"];
11884            var inScopeTags = [
11885              "applet",
11886              "caption",
11887              "html",
11888              "table",
11889              "td",
11890              "th",
11891              "marquee",
11892              "object",
11893              "template",
11894              // https://html.spec.whatwg.org/multipage/syntax.html#html-integration-point
11895              // TODO: Distinguish by namespace here -- for <title>, including it here
11896              // errs on the side of fewer warnings
11897              "foreignObject",
11898              "desc",
11899              "title"
11900            ];
11901            var buttonScopeTags = inScopeTags.concat(["button"]);
11902            var impliedEndTags = ["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"];
11903            var emptyAncestorInfo = {
11904              current: null,
11905              formTag: null,
11906              aTagInScope: null,
11907              buttonTagInScope: null,
11908              nobrTagInScope: null,
11909              pTagInButtonScope: null,
11910              listItemTagAutoclosing: null,
11911              dlItemTagAutoclosing: null
11912            };
11913            updatedAncestorInfo = function(oldInfo, tag) {
11914              var ancestorInfo = assign3({}, oldInfo || emptyAncestorInfo);
11915              var info = {
11916                tag
11917              };
11918              if (inScopeTags.indexOf(tag) !== -1) {
11919                ancestorInfo.aTagInScope = null;
11920                ancestorInfo.buttonTagInScope = null;
11921                ancestorInfo.nobrTagInScope = null;
11922              }
11923              if (buttonScopeTags.indexOf(tag) !== -1) {
11924                ancestorInfo.pTagInButtonScope = null;
11925              }
11926              if (specialTags.indexOf(tag) !== -1 && tag !== "address" && tag !== "div" && tag !== "p") {
11927                ancestorInfo.listItemTagAutoclosing = null;
11928                ancestorInfo.dlItemTagAutoclosing = null;
11929              }
11930              ancestorInfo.current = info;
11931              if (tag === "form") {
11932                ancestorInfo.formTag = info;
11933              }
11934              if (tag === "a") {
11935                ancestorInfo.aTagInScope = info;
11936              }
11937              if (tag === "button") {
11938                ancestorInfo.buttonTagInScope = info;
11939              }
11940              if (tag === "nobr") {
11941                ancestorInfo.nobrTagInScope = info;
11942              }
11943              if (tag === "p") {
11944                ancestorInfo.pTagInButtonScope = info;
11945              }
11946              if (tag === "li") {
11947                ancestorInfo.listItemTagAutoclosing = info;
11948              }
11949              if (tag === "dd" || tag === "dt") {
11950                ancestorInfo.dlItemTagAutoclosing = info;
11951              }
11952              return ancestorInfo;
11953            };
11954            var isTagValidWithParent = function(tag, parentTag) {
11955              switch (parentTag) {
11956                // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inselect
11957                case "select":
11958                  return tag === "option" || tag === "optgroup" || tag === "#text";
11959                case "optgroup":
11960                  return tag === "option" || tag === "#text";
11961                // Strictly speaking, seeing an <option> doesn't mean we're in a <select>
11962                // but
11963                case "option":
11964                  return tag === "#text";
11965                // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intd
11966                // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incaption
11967                // No special behavior since these rules fall back to "in body" mode for
11968                // all except special table nodes which cause bad parsing behavior anyway.
11969                // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intr
11970                case "tr":
11971                  return tag === "th" || tag === "td" || tag === "style" || tag === "script" || tag === "template";
11972                // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intbody
11973                case "tbody":
11974                case "thead":
11975                case "tfoot":
11976                  return tag === "tr" || tag === "style" || tag === "script" || tag === "template";
11977                // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incolgroup
11978                case "colgroup":
11979                  return tag === "col" || tag === "template";
11980                // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intable
11981                case "table":
11982                  return tag === "caption" || tag === "colgroup" || tag === "tbody" || tag === "tfoot" || tag === "thead" || tag === "style" || tag === "script" || tag === "template";
11983                // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inhead
11984                case "head":
11985                  return tag === "base" || tag === "basefont" || tag === "bgsound" || tag === "link" || tag === "meta" || tag === "title" || tag === "noscript" || tag === "noframes" || tag === "style" || tag === "script" || tag === "template";
11986                // https://html.spec.whatwg.org/multipage/semantics.html#the-html-element
11987                case "html":
11988                  return tag === "head" || tag === "body" || tag === "frameset";
11989                case "frameset":
11990                  return tag === "frame";
11991                case "#document":
11992                  return tag === "html";
11993              }
11994              switch (tag) {
11995                case "h1":
11996                case "h2":
11997                case "h3":
11998                case "h4":
11999                case "h5":
12000                case "h6":
12001                  return parentTag !== "h1" && parentTag !== "h2" && parentTag !== "h3" && parentTag !== "h4" && parentTag !== "h5" && parentTag !== "h6";
12002                case "rp":
12003                case "rt":
12004                  return impliedEndTags.indexOf(parentTag) === -1;
12005                case "body":
12006                case "caption":
12007                case "col":
12008                case "colgroup":
12009                case "frameset":
12010                case "frame":
12011                case "head":
12012                case "html":
12013                case "tbody":
12014                case "td":
12015                case "tfoot":
12016                case "th":
12017                case "thead":
12018                case "tr":
12019                  return parentTag == null;
12020              }
12021              return true;
12022            };
12023            var findInvalidAncestorForTag = function(tag, ancestorInfo) {
12024              switch (tag) {
12025                case "address":
12026                case "article":
12027                case "aside":
12028                case "blockquote":
12029                case "center":
12030                case "details":
12031                case "dialog":
12032                case "dir":
12033                case "div":
12034                case "dl":
12035                case "fieldset":
12036                case "figcaption":
12037                case "figure":
12038                case "footer":
12039                case "header":
12040                case "hgroup":
12041                case "main":
12042                case "menu":
12043                case "nav":
12044                case "ol":
12045                case "p":
12046                case "section":
12047                case "summary":
12048                case "ul":
12049                case "pre":
12050                case "listing":
12051                case "table":
12052                case "hr":
12053                case "xmp":
12054                case "h1":
12055                case "h2":
12056                case "h3":
12057                case "h4":
12058                case "h5":
12059                case "h6":
12060                  return ancestorInfo.pTagInButtonScope;
12061                case "form":
12062                  return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope;
12063                case "li":
12064                  return ancestorInfo.listItemTagAutoclosing;
12065                case "dd":
12066                case "dt":
12067                  return ancestorInfo.dlItemTagAutoclosing;
12068                case "button":
12069                  return ancestorInfo.buttonTagInScope;
12070                case "a":
12071                  return ancestorInfo.aTagInScope;
12072                case "nobr":
12073                  return ancestorInfo.nobrTagInScope;
12074              }
12075              return null;
12076            };
12077            var didWarn$1 = {};
12078            validateDOMNesting = function(childTag, childText, ancestorInfo) {
12079              ancestorInfo = ancestorInfo || emptyAncestorInfo;
12080              var parentInfo = ancestorInfo.current;
12081              var parentTag = parentInfo && parentInfo.tag;
12082              if (childText != null) {
12083                if (childTag != null) {
12084                  error("validateDOMNesting: when childText is passed, childTag should be null");
12085                }
12086                childTag = "#text";
12087              }
12088              var invalidParent = isTagValidWithParent(childTag, parentTag) ? null : parentInfo;
12089              var invalidAncestor = invalidParent ? null : findInvalidAncestorForTag(childTag, ancestorInfo);
12090              var invalidParentOrAncestor = invalidParent || invalidAncestor;
12091              if (!invalidParentOrAncestor) {
12092                return;
12093              }
12094              var ancestorTag = invalidParentOrAncestor.tag;
12095              var warnKey = !!invalidParent + "|" + childTag + "|" + ancestorTag;
12096              if (didWarn$1[warnKey]) {
12097                return;
12098              }
12099              didWarn$1[warnKey] = true;
12100              var tagDisplayName = childTag;
12101              var whitespaceInfo = "";
12102              if (childTag === "#text") {
12103                if (/\S/.test(childText)) {
12104                  tagDisplayName = "Text nodes";
12105                } else {
12106                  tagDisplayName = "Whitespace text nodes";
12107                  whitespaceInfo = " Make sure you don't have any extra whitespace between tags on each line of your source code.";
12108                }
12109              } else {
12110                tagDisplayName = "<" + childTag + ">";
12111              }
12112              if (invalidParent) {
12113                var info = "";
12114                if (ancestorTag === "table" && childTag === "tr") {
12115                  info += " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser.";
12116                }
12117                error("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s", tagDisplayName, ancestorTag, whitespaceInfo, info);
12118              } else {
12119                error("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.", tagDisplayName, ancestorTag);
12120              }
12121            };
12122          }
12123          var SUPPRESS_HYDRATION_WARNING$1 = "suppressHydrationWarning";
12124          var SUSPENSE_START_DATA = "$";
12125          var SUSPENSE_END_DATA = "/$";
12126          var SUSPENSE_PENDING_START_DATA = "$?";
12127          var SUSPENSE_FALLBACK_START_DATA = "$!";
12128          var STYLE$1 = "style";
12129          var eventsEnabled = null;
12130          var selectionInformation = null;
12131          function getRootHostContext(rootContainerInstance) {
12132            var type;
12133            var namespace2;
12134            var nodeType = rootContainerInstance.nodeType;
12135            switch (nodeType) {
12136              case DOCUMENT_NODE:
12137              case DOCUMENT_FRAGMENT_NODE: {
12138                type = nodeType === DOCUMENT_NODE ? "#document" : "#fragment";
12139                var root2 = rootContainerInstance.documentElement;
12140                namespace2 = root2 ? root2.namespaceURI : getChildNamespace(null, "");
12141                break;
12142              }
12143              default: {
12144                var container = nodeType === COMMENT_NODE ? rootContainerInstance.parentNode : rootContainerInstance;
12145                var ownNamespace = container.namespaceURI || null;
12146                type = container.tagName;
12147                namespace2 = getChildNamespace(ownNamespace, type);
12148                break;
12149              }
12150            }
12151            {
12152              var validatedTag = type.toLowerCase();
12153              var ancestorInfo = updatedAncestorInfo(null, validatedTag);
12154              return {
12155                namespace: namespace2,
12156                ancestorInfo
12157              };
12158            }
12159          }
12160          function getChildHostContext(parentHostContext, type, rootContainerInstance) {
12161            {
12162              var parentHostContextDev = parentHostContext;
12163              var namespace2 = getChildNamespace(parentHostContextDev.namespace, type);
12164              var ancestorInfo = updatedAncestorInfo(parentHostContextDev.ancestorInfo, type);
12165              return {
12166                namespace: namespace2,
12167                ancestorInfo
12168              };
12169            }
12170          }
12171          function getPublicInstance(instance) {
12172            return instance;
12173          }
12174          function prepareForCommit(containerInfo) {
12175            eventsEnabled = isEnabled();
12176            selectionInformation = getSelectionInformation();
12177            var activeInstance = null;
12178            setEnabled(false);
12179            return activeInstance;
12180          }
12181          function resetAfterCommit(containerInfo) {
12182            restoreSelection(selectionInformation);
12183            setEnabled(eventsEnabled);
12184            eventsEnabled = null;
12185            selectionInformation = null;
12186          }
12187          function createInstance2(type, props, rootContainerInstance, hostContext, internalInstanceHandle) {
12188            var parentNamespace;
12189            {
12190              var hostContextDev = hostContext;
12191              validateDOMNesting(type, null, hostContextDev.ancestorInfo);
12192              if (typeof props.children === "string" || typeof props.children === "number") {
12193                var string = "" + props.children;
12194                var ownAncestorInfo = updatedAncestorInfo(hostContextDev.ancestorInfo, type);
12195                validateDOMNesting(null, string, ownAncestorInfo);
12196              }
12197              parentNamespace = hostContextDev.namespace;
12198            }
12199            var domElement = createElement7(type, props, rootContainerInstance, parentNamespace);
12200            precacheFiberNode(internalInstanceHandle, domElement);
12201            updateFiberProps(domElement, props);
12202            return domElement;
12203          }
12204          function appendInitialChild(parentInstance, child) {
12205            parentInstance.appendChild(child);
12206          }
12207          function finalizeInitialChildren(domElement, type, props, rootContainerInstance, hostContext) {
12208            setInitialProperties(domElement, type, props, rootContainerInstance);
12209            switch (type) {
12210              case "button":
12211              case "input":
12212              case "select":
12213              case "textarea":
12214                return !!props.autoFocus;
12215              case "img":
12216                return true;
12217              default:
12218                return false;
12219            }
12220          }
12221          function prepareUpdate(domElement, type, oldProps, newProps, rootContainerInstance, hostContext) {
12222            {
12223              var hostContextDev = hostContext;
12224              if (typeof newProps.children !== typeof oldProps.children && (typeof newProps.children === "string" || typeof newProps.children === "number")) {
12225                var string = "" + newProps.children;
12226                var ownAncestorInfo = updatedAncestorInfo(hostContextDev.ancestorInfo, type);
12227                validateDOMNesting(null, string, ownAncestorInfo);
12228              }
12229            }
12230            return diffProperties(domElement, type, oldProps, newProps);
12231          }
12232          function shouldSetTextContent(type, props) {
12233            return type === "textarea" || type === "noscript" || typeof props.children === "string" || typeof props.children === "number" || typeof props.dangerouslySetInnerHTML === "object" && props.dangerouslySetInnerHTML !== null && props.dangerouslySetInnerHTML.__html != null;
12234          }
12235          function createTextInstance(text2, rootContainerInstance, hostContext, internalInstanceHandle) {
12236            {
12237              var hostContextDev = hostContext;
12238              validateDOMNesting(null, text2, hostContextDev.ancestorInfo);
12239            }
12240            var textNode = createTextNode(text2, rootContainerInstance);
12241            precacheFiberNode(internalInstanceHandle, textNode);
12242            return textNode;
12243          }
12244          function getCurrentEventPriority() {
12245            var currentEvent = window.event;
12246            if (currentEvent === void 0) {
12247              return DefaultEventPriority;
12248            }
12249            return getEventPriority(currentEvent.type);
12250          }
12251          var scheduleTimeout = typeof setTimeout === "function" ? setTimeout : void 0;
12252          var cancelTimeout = typeof clearTimeout === "function" ? clearTimeout : void 0;
12253          var noTimeout = -1;
12254          var localPromise = typeof Promise === "function" ? Promise : void 0;
12255          var scheduleMicrotask = typeof queueMicrotask === "function" ? queueMicrotask : typeof localPromise !== "undefined" ? function(callback) {
12256            return localPromise.resolve(null).then(callback).catch(handleErrorInNextTick);
12257          } : scheduleTimeout;
12258          function handleErrorInNextTick(error2) {
12259            setTimeout(function() {
12260              throw error2;
12261            });
12262          }
12263          function commitMount(domElement, type, newProps, internalInstanceHandle) {
12264            switch (type) {
12265              case "button":
12266              case "input":
12267              case "select":
12268              case "textarea":
12269                if (newProps.autoFocus) {
12270                  domElement.focus();
12271                }
12272                return;
12273              case "img": {
12274                if (newProps.src) {
12275                  domElement.src = newProps.src;
12276                }
12277                return;
12278              }
12279            }
12280          }
12281          function commitUpdate(domElement, updatePayload, type, oldProps, newProps, internalInstanceHandle) {
12282            updateProperties(domElement, updatePayload, type, oldProps, newProps);
12283            updateFiberProps(domElement, newProps);
12284          }
12285          function resetTextContent(domElement) {
12286            setTextContent(domElement, "");
12287          }
12288          function commitTextUpdate(textInstance, oldText, newText) {
12289            textInstance.nodeValue = newText;
12290          }
12291          function appendChild(parentInstance, child) {
12292            parentInstance.appendChild(child);
12293          }
12294          function appendChildToContainer(container, child) {
12295            var parentNode;
12296            if (container.nodeType === COMMENT_NODE) {
12297              parentNode = container.parentNode;
12298              parentNode.insertBefore(child, container);
12299            } else {
12300              parentNode = container;
12301              parentNode.appendChild(child);
12302            }
12303            var reactRootContainer = container._reactRootContainer;
12304            if ((reactRootContainer === null || reactRootContainer === void 0) && parentNode.onclick === null) {
12305              trapClickOnNonInteractiveElement(parentNode);
12306            }
12307          }
12308          function insertBefore(parentInstance, child, beforeChild) {
12309            parentInstance.insertBefore(child, beforeChild);
12310          }
12311          function insertInContainerBefore(container, child, beforeChild) {
12312            if (container.nodeType === COMMENT_NODE) {
12313              container.parentNode.insertBefore(child, beforeChild);
12314            } else {
12315              container.insertBefore(child, beforeChild);
12316            }
12317          }
12318          function removeChild(parentInstance, child) {
12319            parentInstance.removeChild(child);
12320          }
12321          function removeChildFromContainer(container, child) {
12322            if (container.nodeType === COMMENT_NODE) {
12323              container.parentNode.removeChild(child);
12324            } else {
12325              container.removeChild(child);
12326            }
12327          }
12328          function clearSuspenseBoundary(parentInstance, suspenseInstance) {
12329            var node2 = suspenseInstance;
12330            var depth = 0;
12331            do {
12332              var nextNode = node2.nextSibling;
12333              parentInstance.removeChild(node2);
12334              if (nextNode && nextNode.nodeType === COMMENT_NODE) {
12335                var data = nextNode.data;
12336                if (data === SUSPENSE_END_DATA) {
12337                  if (depth === 0) {
12338                    parentInstance.removeChild(nextNode);
12339                    retryIfBlockedOn(suspenseInstance);
12340                    return;
12341                  } else {
12342                    depth--;
12343                  }
12344                } else if (data === SUSPENSE_START_DATA || data === SUSPENSE_PENDING_START_DATA || data === SUSPENSE_FALLBACK_START_DATA) {
12345                  depth++;
12346                }
12347              }
12348              node2 = nextNode;
12349            } while (node2);
12350            retryIfBlockedOn(suspenseInstance);
12351          }
12352          function clearSuspenseBoundaryFromContainer(container, suspenseInstance) {
12353            if (container.nodeType === COMMENT_NODE) {
12354              clearSuspenseBoundary(container.parentNode, suspenseInstance);
12355            } else if (container.nodeType === ELEMENT_NODE) {
12356              clearSuspenseBoundary(container, suspenseInstance);
12357            }
12358            retryIfBlockedOn(container);
12359          }
12360          function hideInstance(instance) {
12361            instance = instance;
12362            var style2 = instance.style;
12363            if (typeof style2.setProperty === "function") {
12364              style2.setProperty("display", "none", "important");
12365            } else {
12366              style2.display = "none";
12367            }
12368          }
12369          function hideTextInstance(textInstance) {
12370            textInstance.nodeValue = "";
12371          }
12372          function unhideInstance(instance, props) {
12373            instance = instance;
12374            var styleProp = props[STYLE$1];
12375            var display = styleProp !== void 0 && styleProp !== null && styleProp.hasOwnProperty("display") ? styleProp.display : null;
12376            instance.style.display = dangerousStyleValue("display", display);
12377          }
12378          function unhideTextInstance(textInstance, text2) {
12379            textInstance.nodeValue = text2;
12380          }
12381          function clearContainer(container) {
12382            if (container.nodeType === ELEMENT_NODE) {
12383              container.textContent = "";
12384            } else if (container.nodeType === DOCUMENT_NODE) {
12385              if (container.documentElement) {
12386                container.removeChild(container.documentElement);
12387              }
12388            }
12389          }
12390          function canHydrateInstance(instance, type, props) {
12391            if (instance.nodeType !== ELEMENT_NODE || type.toLowerCase() !== instance.nodeName.toLowerCase()) {
12392              return null;
12393            }
12394            return instance;
12395          }
12396          function canHydrateTextInstance(instance, text2) {
12397            if (text2 === "" || instance.nodeType !== TEXT_NODE) {
12398              return null;
12399            }
12400            return instance;
12401          }
12402          function canHydrateSuspenseInstance(instance) {
12403            if (instance.nodeType !== COMMENT_NODE) {
12404              return null;
12405            }
12406            return instance;
12407          }
12408          function isSuspenseInstancePending(instance) {
12409            return instance.data === SUSPENSE_PENDING_START_DATA;
12410          }
12411          function isSuspenseInstanceFallback(instance) {
12412            return instance.data === SUSPENSE_FALLBACK_START_DATA;
12413          }
12414          function getSuspenseInstanceFallbackErrorDetails(instance) {
12415            var dataset = instance.nextSibling && instance.nextSibling.dataset;
12416            var digest, message, stack;
12417            if (dataset) {
12418              digest = dataset.dgst;
12419              {
12420                message = dataset.msg;
12421                stack = dataset.stck;
12422              }
12423            }
12424            {
12425              return {
12426                message,
12427                digest,
12428                stack
12429              };
12430            }
12431          }
12432          function registerSuspenseInstanceRetry(instance, callback) {
12433            instance._reactRetry = callback;
12434          }
12435          function getNextHydratable(node2) {
12436            for (; node2 != null; node2 = node2.nextSibling) {
12437              var nodeType = node2.nodeType;
12438              if (nodeType === ELEMENT_NODE || nodeType === TEXT_NODE) {
12439                break;
12440              }
12441              if (nodeType === COMMENT_NODE) {
12442                var nodeData = node2.data;
12443                if (nodeData === SUSPENSE_START_DATA || nodeData === SUSPENSE_FALLBACK_START_DATA || nodeData === SUSPENSE_PENDING_START_DATA) {
12444                  break;
12445                }
12446                if (nodeData === SUSPENSE_END_DATA) {
12447                  return null;
12448                }
12449              }
12450            }
12451            return node2;
12452          }
12453          function getNextHydratableSibling(instance) {
12454            return getNextHydratable(instance.nextSibling);
12455          }
12456          function getFirstHydratableChild(parentInstance) {
12457            return getNextHydratable(parentInstance.firstChild);
12458          }
12459          function getFirstHydratableChildWithinContainer(parentContainer) {
12460            return getNextHydratable(parentContainer.firstChild);
12461          }
12462          function getFirstHydratableChildWithinSuspenseInstance(parentInstance) {
12463            return getNextHydratable(parentInstance.nextSibling);
12464          }
12465          function hydrateInstance(instance, type, props, rootContainerInstance, hostContext, internalInstanceHandle, shouldWarnDev) {
12466            precacheFiberNode(internalInstanceHandle, instance);
12467            updateFiberProps(instance, props);
12468            var parentNamespace;
12469            {
12470              var hostContextDev = hostContext;
12471              parentNamespace = hostContextDev.namespace;
12472            }
12473            var isConcurrentMode = (internalInstanceHandle.mode & ConcurrentMode) !== NoMode;
12474            return diffHydratedProperties(instance, type, props, parentNamespace, rootContainerInstance, isConcurrentMode, shouldWarnDev);
12475          }
12476          function hydrateTextInstance(textInstance, text2, internalInstanceHandle, shouldWarnDev) {
12477            precacheFiberNode(internalInstanceHandle, textInstance);
12478            var isConcurrentMode = (internalInstanceHandle.mode & ConcurrentMode) !== NoMode;
12479            return diffHydratedText(textInstance, text2);
12480          }
12481          function hydrateSuspenseInstance(suspenseInstance, internalInstanceHandle) {
12482            precacheFiberNode(internalInstanceHandle, suspenseInstance);
12483          }
12484          function getNextHydratableInstanceAfterSuspenseInstance(suspenseInstance) {
12485            var node2 = suspenseInstance.nextSibling;
12486            var depth = 0;
12487            while (node2) {
12488              if (node2.nodeType === COMMENT_NODE) {
12489                var data = node2.data;
12490                if (data === SUSPENSE_END_DATA) {
12491                  if (depth === 0) {
12492                    return getNextHydratableSibling(node2);
12493                  } else {
12494                    depth--;
12495                  }
12496                } else if (data === SUSPENSE_START_DATA || data === SUSPENSE_FALLBACK_START_DATA || data === SUSPENSE_PENDING_START_DATA) {
12497                  depth++;
12498                }
12499              }
12500              node2 = node2.nextSibling;
12501            }
12502            return null;
12503          }
12504          function getParentSuspenseInstance(targetInstance) {
12505            var node2 = targetInstance.previousSibling;
12506            var depth = 0;
12507            while (node2) {
12508              if (node2.nodeType === COMMENT_NODE) {
12509                var data = node2.data;
12510                if (data === SUSPENSE_START_DATA || data === SUSPENSE_FALLBACK_START_DATA || data === SUSPENSE_PENDING_START_DATA) {
12511                  if (depth === 0) {
12512                    return node2;
12513                  } else {
12514                    depth--;
12515                  }
12516                } else if (data === SUSPENSE_END_DATA) {
12517                  depth++;
12518                }
12519              }
12520              node2 = node2.previousSibling;
12521            }
12522            return null;
12523          }
12524          function commitHydratedContainer(container) {
12525            retryIfBlockedOn(container);
12526          }
12527          function commitHydratedSuspenseInstance(suspenseInstance) {
12528            retryIfBlockedOn(suspenseInstance);
12529          }
12530          function shouldDeleteUnhydratedTailInstances(parentType) {
12531            return parentType !== "head" && parentType !== "body";
12532          }
12533          function didNotMatchHydratedContainerTextInstance(parentContainer, textInstance, text2, isConcurrentMode) {
12534            var shouldWarnDev = true;
12535            checkForUnmatchedText(textInstance.nodeValue, text2, isConcurrentMode, shouldWarnDev);
12536          }
12537          function didNotMatchHydratedTextInstance(parentType, parentProps, parentInstance, textInstance, text2, isConcurrentMode) {
12538            if (parentProps[SUPPRESS_HYDRATION_WARNING$1] !== true) {
12539              var shouldWarnDev = true;
12540              checkForUnmatchedText(textInstance.nodeValue, text2, isConcurrentMode, shouldWarnDev);
12541            }
12542          }
12543          function didNotHydrateInstanceWithinContainer(parentContainer, instance) {
12544            {
12545              if (instance.nodeType === ELEMENT_NODE) {
12546                warnForDeletedHydratableElement(parentContainer, instance);
12547              } else if (instance.nodeType === COMMENT_NODE) ;
12548              else {
12549                warnForDeletedHydratableText(parentContainer, instance);
12550              }
12551            }
12552          }
12553          function didNotHydrateInstanceWithinSuspenseInstance(parentInstance, instance) {
12554            {
12555              var parentNode = parentInstance.parentNode;
12556              if (parentNode !== null) {
12557                if (instance.nodeType === ELEMENT_NODE) {
12558                  warnForDeletedHydratableElement(parentNode, instance);
12559                } else if (instance.nodeType === COMMENT_NODE) ;
12560                else {
12561                  warnForDeletedHydratableText(parentNode, instance);
12562                }
12563              }
12564            }
12565          }
12566          function didNotHydrateInstance(parentType, parentProps, parentInstance, instance, isConcurrentMode) {
12567            {
12568              if (isConcurrentMode || parentProps[SUPPRESS_HYDRATION_WARNING$1] !== true) {
12569                if (instance.nodeType === ELEMENT_NODE) {
12570                  warnForDeletedHydratableElement(parentInstance, instance);
12571                } else if (instance.nodeType === COMMENT_NODE) ;
12572                else {
12573                  warnForDeletedHydratableText(parentInstance, instance);
12574                }
12575              }
12576            }
12577          }
12578          function didNotFindHydratableInstanceWithinContainer(parentContainer, type, props) {
12579            {
12580              warnForInsertedHydratedElement(parentContainer, type);
12581            }
12582          }
12583          function didNotFindHydratableTextInstanceWithinContainer(parentContainer, text2) {
12584            {
12585              warnForInsertedHydratedText(parentContainer, text2);
12586            }
12587          }
12588          function didNotFindHydratableInstanceWithinSuspenseInstance(parentInstance, type, props) {
12589            {
12590              var parentNode = parentInstance.parentNode;
12591              if (parentNode !== null) warnForInsertedHydratedElement(parentNode, type);
12592            }
12593          }
12594          function didNotFindHydratableTextInstanceWithinSuspenseInstance(parentInstance, text2) {
12595            {
12596              var parentNode = parentInstance.parentNode;
12597              if (parentNode !== null) warnForInsertedHydratedText(parentNode, text2);
12598            }
12599          }
12600          function didNotFindHydratableInstance(parentType, parentProps, parentInstance, type, props, isConcurrentMode) {
12601            {
12602              if (isConcurrentMode || parentProps[SUPPRESS_HYDRATION_WARNING$1] !== true) {
12603                warnForInsertedHydratedElement(parentInstance, type);
12604              }
12605            }
12606          }
12607          function didNotFindHydratableTextInstance(parentType, parentProps, parentInstance, text2, isConcurrentMode) {
12608            {
12609              if (isConcurrentMode || parentProps[SUPPRESS_HYDRATION_WARNING$1] !== true) {
12610                warnForInsertedHydratedText(parentInstance, text2);
12611              }
12612            }
12613          }
12614          function errorHydratingContainer(parentContainer) {
12615            {
12616              error("An error occurred during hydration. The server HTML was replaced with client content in <%s>.", parentContainer.nodeName.toLowerCase());
12617            }
12618          }
12619          function preparePortalMount(portalInstance) {
12620            listenToAllSupportedEvents(portalInstance);
12621          }
12622          var randomKey = Math.random().toString(36).slice(2);
12623          var internalInstanceKey = "__reactFiber$" + randomKey;
12624          var internalPropsKey = "__reactProps$" + randomKey;
12625          var internalContainerInstanceKey = "__reactContainer$" + randomKey;
12626          var internalEventHandlersKey = "__reactEvents$" + randomKey;
12627          var internalEventHandlerListenersKey = "__reactListeners$" + randomKey;
12628          var internalEventHandlesSetKey = "__reactHandles$" + randomKey;
12629          function detachDeletedInstance(node2) {
12630            delete node2[internalInstanceKey];
12631            delete node2[internalPropsKey];
12632            delete node2[internalEventHandlersKey];
12633            delete node2[internalEventHandlerListenersKey];
12634            delete node2[internalEventHandlesSetKey];
12635          }
12636          function precacheFiberNode(hostInst, node2) {
12637            node2[internalInstanceKey] = hostInst;
12638          }
12639          function markContainerAsRoot(hostRoot, node2) {
12640            node2[internalContainerInstanceKey] = hostRoot;
12641          }
12642          function unmarkContainerAsRoot(node2) {
12643            node2[internalContainerInstanceKey] = null;
12644          }
12645          function isContainerMarkedAsRoot(node2) {
12646            return !!node2[internalContainerInstanceKey];
12647          }
12648          function getClosestInstanceFromNode(targetNode) {
12649            var targetInst = targetNode[internalInstanceKey];
12650            if (targetInst) {
12651              return targetInst;
12652            }
12653            var parentNode = targetNode.parentNode;
12654            while (parentNode) {
12655              targetInst = parentNode[internalContainerInstanceKey] || parentNode[internalInstanceKey];
12656              if (targetInst) {
12657                var alternate = targetInst.alternate;
12658                if (targetInst.child !== null || alternate !== null && alternate.child !== null) {
12659                  var suspenseInstance = getParentSuspenseInstance(targetNode);
12660                  while (suspenseInstance !== null) {
12661                    var targetSuspenseInst = suspenseInstance[internalInstanceKey];
12662                    if (targetSuspenseInst) {
12663                      return targetSuspenseInst;
12664                    }
12665                    suspenseInstance = getParentSuspenseInstance(suspenseInstance);
12666                  }
12667                }
12668                return targetInst;
12669              }
12670              targetNode = parentNode;
12671              parentNode = targetNode.parentNode;
12672            }
12673            return null;
12674          }
12675          function getInstanceFromNode(node2) {
12676            var inst = node2[internalInstanceKey] || node2[internalContainerInstanceKey];
12677            if (inst) {
12678              if (inst.tag === HostComponent || inst.tag === HostText || inst.tag === SuspenseComponent || inst.tag === HostRoot) {
12679                return inst;
12680              } else {
12681                return null;
12682              }
12683            }
12684            return null;
12685          }
12686          function getNodeFromInstance(inst) {
12687            if (inst.tag === HostComponent || inst.tag === HostText) {
12688              return inst.stateNode;
12689            }
12690            throw new Error("getNodeFromInstance: Invalid argument.");
12691          }
12692          function getFiberCurrentPropsFromNode(node2) {
12693            return node2[internalPropsKey] || null;
12694          }
12695          function updateFiberProps(node2, props) {
12696            node2[internalPropsKey] = props;
12697          }
12698          function getEventListenerSet(node2) {
12699            var elementListenerSet = node2[internalEventHandlersKey];
12700            if (elementListenerSet === void 0) {
12701              elementListenerSet = node2[internalEventHandlersKey] = /* @__PURE__ */ new Set();
12702            }
12703            return elementListenerSet;
12704          }
12705          var loggedTypeFailures = {};
12706          var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
12707          function setCurrentlyValidatingElement(element) {
12708            {
12709              if (element) {
12710                var owner = element._owner;
12711                var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
12712                ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
12713              } else {
12714                ReactDebugCurrentFrame$1.setExtraStackFrame(null);
12715              }
12716            }
12717          }
12718          function checkPropTypes(typeSpecs, values, location, componentName, element) {
12719            {
12720              var has2 = Function.call.bind(hasOwnProperty3);
12721              for (var typeSpecName in typeSpecs) {
12722                if (has2(typeSpecs, typeSpecName)) {
12723                  var error$1 = void 0;
12724                  try {
12725                    if (typeof typeSpecs[typeSpecName] !== "function") {
12726                      var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
12727                      err.name = "Invariant Violation";
12728                      throw err;
12729                    }
12730                    error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
12731                  } catch (ex) {
12732                    error$1 = ex;
12733                  }
12734                  if (error$1 && !(error$1 instanceof Error)) {
12735                    setCurrentlyValidatingElement(element);
12736                    error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", componentName || "React class", location, typeSpecName, typeof error$1);
12737                    setCurrentlyValidatingElement(null);
12738                  }
12739                  if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
12740                    loggedTypeFailures[error$1.message] = true;
12741                    setCurrentlyValidatingElement(element);
12742                    error("Failed %s type: %s", location, error$1.message);
12743                    setCurrentlyValidatingElement(null);
12744                  }
12745                }
12746              }
12747            }
12748          }
12749          var valueStack = [];
12750          var fiberStack;
12751          {
12752            fiberStack = [];
12753          }
12754          var index2 = -1;
12755          function createCursor(defaultValue) {
12756            return {
12757              current: defaultValue
12758            };
12759          }
12760          function pop(cursor2, fiber) {
12761            if (index2 < 0) {
12762              {
12763                error("Unexpected pop.");
12764              }
12765              return;
12766            }
12767            {
12768              if (fiber !== fiberStack[index2]) {
12769                error("Unexpected Fiber popped.");
12770              }
12771            }
12772            cursor2.current = valueStack[index2];
12773            valueStack[index2] = null;
12774            {
12775              fiberStack[index2] = null;
12776            }
12777            index2--;
12778          }
12779          function push(cursor2, value, fiber) {
12780            index2++;
12781            valueStack[index2] = cursor2.current;
12782            {
12783              fiberStack[index2] = fiber;
12784            }
12785            cursor2.current = value;
12786          }
12787          var warnedAboutMissingGetChildContext;
12788          {
12789            warnedAboutMissingGetChildContext = {};
12790          }
12791          var emptyContextObject = {};
12792          {
12793            Object.freeze(emptyContextObject);
12794          }
12795          var contextStackCursor = createCursor(emptyContextObject);
12796          var didPerformWorkStackCursor = createCursor(false);
12797          var previousContext = emptyContextObject;
12798          function getUnmaskedContext(workInProgress2, Component2, didPushOwnContextIfProvider) {
12799            {
12800              if (didPushOwnContextIfProvider && isContextProvider(Component2)) {
12801                return previousContext;
12802              }
12803              return contextStackCursor.current;
12804            }
12805          }
12806          function cacheContext(workInProgress2, unmaskedContext, maskedContext) {
12807            {
12808              var instance = workInProgress2.stateNode;
12809              instance.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext;
12810              instance.__reactInternalMemoizedMaskedChildContext = maskedContext;
12811            }
12812          }
12813          function getMaskedContext(workInProgress2, unmaskedContext) {
12814            {
12815              var type = workInProgress2.type;
12816              var contextTypes = type.contextTypes;
12817              if (!contextTypes) {
12818                return emptyContextObject;
12819              }
12820              var instance = workInProgress2.stateNode;
12821              if (instance && instance.__reactInternalMemoizedUnmaskedChildContext === unmaskedContext) {
12822                return instance.__reactInternalMemoizedMaskedChildContext;
12823              }
12824              var context = {};
12825              for (var key in contextTypes) {
12826                context[key] = unmaskedContext[key];
12827              }
12828              {
12829                var name2 = getComponentNameFromFiber(workInProgress2) || "Unknown";
12830                checkPropTypes(contextTypes, context, "context", name2);
12831              }
12832              if (instance) {
12833                cacheContext(workInProgress2, unmaskedContext, context);
12834              }
12835              return context;
12836            }
12837          }
12838          function hasContextChanged() {
12839            {
12840              return didPerformWorkStackCursor.current;
12841            }
12842          }
12843          function isContextProvider(type) {
12844            {
12845              var childContextTypes = type.childContextTypes;
12846              return childContextTypes !== null && childContextTypes !== void 0;
12847            }
12848          }
12849          function popContext(fiber) {
12850            {
12851              pop(didPerformWorkStackCursor, fiber);
12852              pop(contextStackCursor, fiber);
12853            }
12854          }
12855          function popTopLevelContextObject(fiber) {
12856            {
12857              pop(didPerformWorkStackCursor, fiber);
12858              pop(contextStackCursor, fiber);
12859            }
12860          }
12861          function pushTopLevelContextObject(fiber, context, didChange) {
12862            {
12863              if (contextStackCursor.current !== emptyContextObject) {
12864                throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");
12865              }
12866              push(contextStackCursor, context, fiber);
12867              push(didPerformWorkStackCursor, didChange, fiber);
12868            }
12869          }
12870          function processChildContext(fiber, type, parentContext) {
12871            {
12872              var instance = fiber.stateNode;
12873              var childContextTypes = type.childContextTypes;
12874              if (typeof instance.getChildContext !== "function") {
12875                {
12876                  var componentName = getComponentNameFromFiber(fiber) || "Unknown";
12877                  if (!warnedAboutMissingGetChildContext[componentName]) {
12878                    warnedAboutMissingGetChildContext[componentName] = true;
12879                    error("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.", componentName, componentName);
12880                  }
12881                }
12882                return parentContext;
12883              }
12884              var childContext = instance.getChildContext();
12885              for (var contextKey in childContext) {
12886                if (!(contextKey in childContextTypes)) {
12887                  throw new Error((getComponentNameFromFiber(fiber) || "Unknown") + '.getChildContext(): key "' + contextKey + '" is not defined in childContextTypes.');
12888                }
12889              }
12890              {
12891                var name2 = getComponentNameFromFiber(fiber) || "Unknown";
12892                checkPropTypes(childContextTypes, childContext, "child context", name2);
12893              }
12894              return assign3({}, parentContext, childContext);
12895            }
12896          }
12897          function pushContextProvider(workInProgress2) {
12898            {
12899              var instance = workInProgress2.stateNode;
12900              var memoizedMergedChildContext = instance && instance.__reactInternalMemoizedMergedChildContext || emptyContextObject;
12901              previousContext = contextStackCursor.current;
12902              push(contextStackCursor, memoizedMergedChildContext, workInProgress2);
12903              push(didPerformWorkStackCursor, didPerformWorkStackCursor.current, workInProgress2);
12904              return true;
12905            }
12906          }
12907          function invalidateContextProvider(workInProgress2, type, didChange) {
12908            {
12909              var instance = workInProgress2.stateNode;
12910              if (!instance) {
12911                throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");
12912              }
12913              if (didChange) {
12914                var mergedContext = processChildContext(workInProgress2, type, previousContext);
12915                instance.__reactInternalMemoizedMergedChildContext = mergedContext;
12916                pop(didPerformWorkStackCursor, workInProgress2);
12917                pop(contextStackCursor, workInProgress2);
12918                push(contextStackCursor, mergedContext, workInProgress2);
12919                push(didPerformWorkStackCursor, didChange, workInProgress2);
12920              } else {
12921                pop(didPerformWorkStackCursor, workInProgress2);
12922                push(didPerformWorkStackCursor, didChange, workInProgress2);
12923              }
12924            }
12925          }
12926          function findCurrentUnmaskedContext(fiber) {
12927            {
12928              if (!isFiberMounted(fiber) || fiber.tag !== ClassComponent) {
12929                throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");
12930              }
12931              var node2 = fiber;
12932              do {
12933                switch (node2.tag) {
12934                  case HostRoot:
12935                    return node2.stateNode.context;
12936                  case ClassComponent: {
12937                    var Component2 = node2.type;
12938                    if (isContextProvider(Component2)) {
12939                      return node2.stateNode.__reactInternalMemoizedMergedChildContext;
12940                    }
12941                    break;
12942                  }
12943                }
12944                node2 = node2.return;
12945              } while (node2 !== null);
12946              throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.");
12947            }
12948          }
12949          var LegacyRoot = 0;
12950          var ConcurrentRoot = 1;
12951          var syncQueue = null;
12952          var includesLegacySyncCallbacks = false;
12953          var isFlushingSyncQueue = false;
12954          function scheduleSyncCallback(callback) {
12955            if (syncQueue === null) {
12956              syncQueue = [callback];
12957            } else {
12958              syncQueue.push(callback);
12959            }
12960          }
12961          function scheduleLegacySyncCallback(callback) {
12962            includesLegacySyncCallbacks = true;
12963            scheduleSyncCallback(callback);
12964          }
12965          function flushSyncCallbacksOnlyInLegacyMode() {
12966            if (includesLegacySyncCallbacks) {
12967              flushSyncCallbacks();
12968            }
12969          }
12970          function flushSyncCallbacks() {
12971            if (!isFlushingSyncQueue && syncQueue !== null) {
12972              isFlushingSyncQueue = true;
12973              var i2 = 0;
12974              var previousUpdatePriority = getCurrentUpdatePriority();
12975              try {
12976                var isSync = true;
12977                var queue = syncQueue;
12978                setCurrentUpdatePriority(DiscreteEventPriority);
12979                for (; i2 < queue.length; i2++) {
12980                  var callback = queue[i2];
12981                  do {
12982                    callback = callback(isSync);
12983                  } while (callback !== null);
12984                }
12985                syncQueue = null;
12986                includesLegacySyncCallbacks = false;
12987              } catch (error2) {
12988                if (syncQueue !== null) {
12989                  syncQueue = syncQueue.slice(i2 + 1);
12990                }
12991                scheduleCallback(ImmediatePriority, flushSyncCallbacks);
12992                throw error2;
12993              } finally {
12994                setCurrentUpdatePriority(previousUpdatePriority);
12995                isFlushingSyncQueue = false;
12996              }
12997            }
12998            return null;
12999          }
13000          var forkStack = [];
13001          var forkStackIndex = 0;
13002          var treeForkProvider = null;
13003          var treeForkCount = 0;
13004          var idStack = [];
13005          var idStackIndex = 0;
13006          var treeContextProvider = null;
13007          var treeContextId = 1;
13008          var treeContextOverflow = "";
13009          function isForkedChild(workInProgress2) {
13010            warnIfNotHydrating();
13011            return (workInProgress2.flags & Forked) !== NoFlags;
13012          }
13013          function getForksAtLevel(workInProgress2) {
13014            warnIfNotHydrating();
13015            return treeForkCount;
13016          }
13017          function getTreeId() {
13018            var overflow = treeContextOverflow;
13019            var idWithLeadingBit = treeContextId;
13020            var id = idWithLeadingBit & ~getLeadingBit(idWithLeadingBit);
13021            return id.toString(32) + overflow;
13022          }
13023          function pushTreeFork(workInProgress2, totalChildren) {
13024            warnIfNotHydrating();
13025            forkStack[forkStackIndex++] = treeForkCount;
13026            forkStack[forkStackIndex++] = treeForkProvider;
13027            treeForkProvider = workInProgress2;
13028            treeForkCount = totalChildren;
13029          }
13030          function pushTreeId(workInProgress2, totalChildren, index3) {
13031            warnIfNotHydrating();
13032            idStack[idStackIndex++] = treeContextId;
13033            idStack[idStackIndex++] = treeContextOverflow;
13034            idStack[idStackIndex++] = treeContextProvider;
13035            treeContextProvider = workInProgress2;
13036            var baseIdWithLeadingBit = treeContextId;
13037            var baseOverflow = treeContextOverflow;
13038            var baseLength = getBitLength(baseIdWithLeadingBit) - 1;
13039            var baseId = baseIdWithLeadingBit & ~(1 << baseLength);
13040            var slot = index3 + 1;
13041            var length2 = getBitLength(totalChildren) + baseLength;
13042            if (length2 > 30) {
13043              var numberOfOverflowBits = baseLength - baseLength % 5;
13044              var newOverflowBits = (1 << numberOfOverflowBits) - 1;
13045              var newOverflow = (baseId & newOverflowBits).toString(32);
13046              var restOfBaseId = baseId >> numberOfOverflowBits;
13047              var restOfBaseLength = baseLength - numberOfOverflowBits;
13048              var restOfLength = getBitLength(totalChildren) + restOfBaseLength;
13049              var restOfNewBits = slot << restOfBaseLength;
13050              var id = restOfNewBits | restOfBaseId;
13051              var overflow = newOverflow + baseOverflow;
13052              treeContextId = 1 << restOfLength | id;
13053              treeContextOverflow = overflow;
13054            } else {
13055              var newBits = slot << baseLength;
13056              var _id = newBits | baseId;
13057              var _overflow = baseOverflow;
13058              treeContextId = 1 << length2 | _id;
13059              treeContextOverflow = _overflow;
13060            }
13061          }
13062          function pushMaterializedTreeId(workInProgress2) {
13063            warnIfNotHydrating();
13064            var returnFiber = workInProgress2.return;
13065            if (returnFiber !== null) {
13066              var numberOfForks = 1;
13067              var slotIndex = 0;
13068              pushTreeFork(workInProgress2, numberOfForks);
13069              pushTreeId(workInProgress2, numberOfForks, slotIndex);
13070            }
13071          }
13072          function getBitLength(number) {
13073            return 32 - clz32(number);
13074          }
13075          function getLeadingBit(id) {
13076            return 1 << getBitLength(id) - 1;
13077          }
13078          function popTreeContext(workInProgress2) {
13079            while (workInProgress2 === treeForkProvider) {
13080              treeForkProvider = forkStack[--forkStackIndex];
13081              forkStack[forkStackIndex] = null;
13082              treeForkCount = forkStack[--forkStackIndex];
13083              forkStack[forkStackIndex] = null;
13084            }
13085            while (workInProgress2 === treeContextProvider) {
13086              treeContextProvider = idStack[--idStackIndex];
13087              idStack[idStackIndex] = null;
13088              treeContextOverflow = idStack[--idStackIndex];
13089              idStack[idStackIndex] = null;
13090              treeContextId = idStack[--idStackIndex];
13091              idStack[idStackIndex] = null;
13092            }
13093          }
13094          function getSuspendedTreeContext() {
13095            warnIfNotHydrating();
13096            if (treeContextProvider !== null) {
13097              return {
13098                id: treeContextId,
13099                overflow: treeContextOverflow
13100              };
13101            } else {
13102              return null;
13103            }
13104          }
13105          function restoreSuspendedTreeContext(workInProgress2, suspendedContext) {
13106            warnIfNotHydrating();
13107            idStack[idStackIndex++] = treeContextId;
13108            idStack[idStackIndex++] = treeContextOverflow;
13109            idStack[idStackIndex++] = treeContextProvider;
13110            treeContextId = suspendedContext.id;
13111            treeContextOverflow = suspendedContext.overflow;
13112            treeContextProvider = workInProgress2;
13113          }
13114          function warnIfNotHydrating() {
13115            {
13116              if (!getIsHydrating()) {
13117                error("Expected to be hydrating. This is a bug in React. Please file an issue.");
13118              }
13119            }
13120          }
13121          var hydrationParentFiber = null;
13122          var nextHydratableInstance = null;
13123          var isHydrating = false;
13124          var didSuspendOrErrorDEV = false;
13125          var hydrationErrors = null;
13126          function warnIfHydrating() {
13127            {
13128              if (isHydrating) {
13129                error("We should not be hydrating here. This is a bug in React. Please file a bug.");
13130              }
13131            }
13132          }
13133          function markDidThrowWhileHydratingDEV() {
13134            {
13135              didSuspendOrErrorDEV = true;
13136            }
13137          }
13138          function didSuspendOrErrorWhileHydratingDEV() {
13139            {
13140              return didSuspendOrErrorDEV;
13141            }
13142          }
13143          function enterHydrationState(fiber) {
13144            var parentInstance = fiber.stateNode.containerInfo;
13145            nextHydratableInstance = getFirstHydratableChildWithinContainer(parentInstance);
13146            hydrationParentFiber = fiber;
13147            isHydrating = true;
13148            hydrationErrors = null;
13149            didSuspendOrErrorDEV = false;
13150            return true;
13151          }
13152          function reenterHydrationStateFromDehydratedSuspenseInstance(fiber, suspenseInstance, treeContext) {
13153            nextHydratableInstance = getFirstHydratableChildWithinSuspenseInstance(suspenseInstance);
13154            hydrationParentFiber = fiber;
13155            isHydrating = true;
13156            hydrationErrors = null;
13157            didSuspendOrErrorDEV = false;
13158            if (treeContext !== null) {
13159              restoreSuspendedTreeContext(fiber, treeContext);
13160            }
13161            return true;
13162          }
13163          function warnUnhydratedInstance(returnFiber, instance) {
13164            {
13165              switch (returnFiber.tag) {
13166                case HostRoot: {
13167                  didNotHydrateInstanceWithinContainer(returnFiber.stateNode.containerInfo, instance);
13168                  break;
13169                }
13170                case HostComponent: {
13171                  var isConcurrentMode = (returnFiber.mode & ConcurrentMode) !== NoMode;
13172                  didNotHydrateInstance(
13173                    returnFiber.type,
13174                    returnFiber.memoizedProps,
13175                    returnFiber.stateNode,
13176                    instance,
13177                    // TODO: Delete this argument when we remove the legacy root API.
13178                    isConcurrentMode
13179                  );
13180                  break;
13181                }
13182                case SuspenseComponent: {
13183                  var suspenseState = returnFiber.memoizedState;
13184                  if (suspenseState.dehydrated !== null) didNotHydrateInstanceWithinSuspenseInstance(suspenseState.dehydrated, instance);
13185                  break;
13186                }
13187              }
13188            }
13189          }
13190          function deleteHydratableInstance(returnFiber, instance) {
13191            warnUnhydratedInstance(returnFiber, instance);
13192            var childToDelete = createFiberFromHostInstanceForDeletion();
13193            childToDelete.stateNode = instance;
13194            childToDelete.return = returnFiber;
13195            var deletions = returnFiber.deletions;
13196            if (deletions === null) {
13197              returnFiber.deletions = [childToDelete];
13198              returnFiber.flags |= ChildDeletion;
13199            } else {
13200              deletions.push(childToDelete);
13201            }
13202          }
13203          function warnNonhydratedInstance(returnFiber, fiber) {
13204            {
13205              if (didSuspendOrErrorDEV) {
13206                return;
13207              }
13208              switch (returnFiber.tag) {
13209                case HostRoot: {
13210                  var parentContainer = returnFiber.stateNode.containerInfo;
13211                  switch (fiber.tag) {
13212                    case HostComponent:
13213                      var type = fiber.type;
13214                      var props = fiber.pendingProps;
13215                      didNotFindHydratableInstanceWithinContainer(parentContainer, type);
13216                      break;
13217                    case HostText:
13218                      var text2 = fiber.pendingProps;
13219                      didNotFindHydratableTextInstanceWithinContainer(parentContainer, text2);
13220                      break;
13221                  }
13222                  break;
13223                }
13224                case HostComponent: {
13225                  var parentType = returnFiber.type;
13226                  var parentProps = returnFiber.memoizedProps;
13227                  var parentInstance = returnFiber.stateNode;
13228                  switch (fiber.tag) {
13229                    case HostComponent: {
13230                      var _type = fiber.type;
13231                      var _props = fiber.pendingProps;
13232                      var isConcurrentMode = (returnFiber.mode & ConcurrentMode) !== NoMode;
13233                      didNotFindHydratableInstance(
13234                        parentType,
13235                        parentProps,
13236                        parentInstance,
13237                        _type,
13238                        _props,
13239                        // TODO: Delete this argument when we remove the legacy root API.
13240                        isConcurrentMode
13241                      );
13242                      break;
13243                    }
13244                    case HostText: {
13245                      var _text = fiber.pendingProps;
13246                      var _isConcurrentMode = (returnFiber.mode & ConcurrentMode) !== NoMode;
13247                      didNotFindHydratableTextInstance(
13248                        parentType,
13249                        parentProps,
13250                        parentInstance,
13251                        _text,
13252                        // TODO: Delete this argument when we remove the legacy root API.
13253                        _isConcurrentMode
13254                      );
13255                      break;
13256                    }
13257                  }
13258                  break;
13259                }
13260                case SuspenseComponent: {
13261                  var suspenseState = returnFiber.memoizedState;
13262                  var _parentInstance = suspenseState.dehydrated;
13263                  if (_parentInstance !== null) switch (fiber.tag) {
13264                    case HostComponent:
13265                      var _type2 = fiber.type;
13266                      var _props2 = fiber.pendingProps;
13267                      didNotFindHydratableInstanceWithinSuspenseInstance(_parentInstance, _type2);
13268                      break;
13269                    case HostText:
13270                      var _text2 = fiber.pendingProps;
13271                      didNotFindHydratableTextInstanceWithinSuspenseInstance(_parentInstance, _text2);
13272                      break;
13273                  }
13274                  break;
13275                }
13276                default:
13277                  return;
13278              }
13279            }
13280          }
13281          function insertNonHydratedInstance(returnFiber, fiber) {
13282            fiber.flags = fiber.flags & ~Hydrating | Placement;
13283            warnNonhydratedInstance(returnFiber, fiber);
13284          }
13285          function tryHydrate(fiber, nextInstance) {
13286            switch (fiber.tag) {
13287              case HostComponent: {
13288                var type = fiber.type;
13289                var props = fiber.pendingProps;
13290                var instance = canHydrateInstance(nextInstance, type);
13291                if (instance !== null) {
13292                  fiber.stateNode = instance;
13293                  hydrationParentFiber = fiber;
13294                  nextHydratableInstance = getFirstHydratableChild(instance);
13295                  return true;
13296                }
13297                return false;
13298              }
13299              case HostText: {
13300                var text2 = fiber.pendingProps;
13301                var textInstance = canHydrateTextInstance(nextInstance, text2);
13302                if (textInstance !== null) {
13303                  fiber.stateNode = textInstance;
13304                  hydrationParentFiber = fiber;
13305                  nextHydratableInstance = null;
13306                  return true;
13307                }
13308                return false;
13309              }
13310              case SuspenseComponent: {
13311                var suspenseInstance = canHydrateSuspenseInstance(nextInstance);
13312                if (suspenseInstance !== null) {
13313                  var suspenseState = {
13314                    dehydrated: suspenseInstance,
13315                    treeContext: getSuspendedTreeContext(),
13316                    retryLane: OffscreenLane
13317                  };
13318                  fiber.memoizedState = suspenseState;
13319                  var dehydratedFragment = createFiberFromDehydratedFragment(suspenseInstance);
13320                  dehydratedFragment.return = fiber;
13321                  fiber.child = dehydratedFragment;
13322                  hydrationParentFiber = fiber;
13323                  nextHydratableInstance = null;
13324                  return true;
13325                }
13326                return false;
13327              }
13328              default:
13329                return false;
13330            }
13331          }
13332          function shouldClientRenderOnMismatch(fiber) {
13333            return (fiber.mode & ConcurrentMode) !== NoMode && (fiber.flags & DidCapture) === NoFlags;
13334          }
13335          function throwOnHydrationMismatch(fiber) {
13336            throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.");
13337          }
13338          function tryToClaimNextHydratableInstance(fiber) {
13339            if (!isHydrating) {
13340              return;
13341            }
13342            var nextInstance = nextHydratableInstance;
13343            if (!nextInstance) {
13344              if (shouldClientRenderOnMismatch(fiber)) {
13345                warnNonhydratedInstance(hydrationParentFiber, fiber);
13346                throwOnHydrationMismatch();
13347              }
13348              insertNonHydratedInstance(hydrationParentFiber, fiber);
13349              isHydrating = false;
13350              hydrationParentFiber = fiber;
13351              return;
13352            }
13353            var firstAttemptedInstance = nextInstance;
13354            if (!tryHydrate(fiber, nextInstance)) {
13355              if (shouldClientRenderOnMismatch(fiber)) {
13356                warnNonhydratedInstance(hydrationParentFiber, fiber);
13357                throwOnHydrationMismatch();
13358              }
13359              nextInstance = getNextHydratableSibling(firstAttemptedInstance);
13360              var prevHydrationParentFiber = hydrationParentFiber;
13361              if (!nextInstance || !tryHydrate(fiber, nextInstance)) {
13362                insertNonHydratedInstance(hydrationParentFiber, fiber);
13363                isHydrating = false;
13364                hydrationParentFiber = fiber;
13365                return;
13366              }
13367              deleteHydratableInstance(prevHydrationParentFiber, firstAttemptedInstance);
13368            }
13369          }
13370          function prepareToHydrateHostInstance(fiber, rootContainerInstance, hostContext) {
13371            var instance = fiber.stateNode;
13372            var shouldWarnIfMismatchDev = !didSuspendOrErrorDEV;
13373            var updatePayload = hydrateInstance(instance, fiber.type, fiber.memoizedProps, rootContainerInstance, hostContext, fiber, shouldWarnIfMismatchDev);
13374            fiber.updateQueue = updatePayload;
13375            if (updatePayload !== null) {
13376              return true;
13377            }
13378            return false;
13379          }
13380          function prepareToHydrateHostTextInstance(fiber) {
13381            var textInstance = fiber.stateNode;
13382            var textContent = fiber.memoizedProps;
13383            var shouldUpdate = hydrateTextInstance(textInstance, textContent, fiber);
13384            if (shouldUpdate) {
13385              var returnFiber = hydrationParentFiber;
13386              if (returnFiber !== null) {
13387                switch (returnFiber.tag) {
13388                  case HostRoot: {
13389                    var parentContainer = returnFiber.stateNode.containerInfo;
13390                    var isConcurrentMode = (returnFiber.mode & ConcurrentMode) !== NoMode;
13391                    didNotMatchHydratedContainerTextInstance(
13392                      parentContainer,
13393                      textInstance,
13394                      textContent,
13395                      // TODO: Delete this argument when we remove the legacy root API.
13396                      isConcurrentMode
13397                    );
13398                    break;
13399                  }
13400                  case HostComponent: {
13401                    var parentType = returnFiber.type;
13402                    var parentProps = returnFiber.memoizedProps;
13403                    var parentInstance = returnFiber.stateNode;
13404                    var _isConcurrentMode2 = (returnFiber.mode & ConcurrentMode) !== NoMode;
13405                    didNotMatchHydratedTextInstance(
13406                      parentType,
13407                      parentProps,
13408                      parentInstance,
13409                      textInstance,
13410                      textContent,
13411                      // TODO: Delete this argument when we remove the legacy root API.
13412                      _isConcurrentMode2
13413                    );
13414                    break;
13415                  }
13416                }
13417              }
13418            }
13419            return shouldUpdate;
13420          }
13421          function prepareToHydrateHostSuspenseInstance(fiber) {
13422            var suspenseState = fiber.memoizedState;
13423            var suspenseInstance = suspenseState !== null ? suspenseState.dehydrated : null;
13424            if (!suspenseInstance) {
13425              throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");
13426            }
13427            hydrateSuspenseInstance(suspenseInstance, fiber);
13428          }
13429          function skipPastDehydratedSuspenseInstance(fiber) {
13430            var suspenseState = fiber.memoizedState;
13431            var suspenseInstance = suspenseState !== null ? suspenseState.dehydrated : null;
13432            if (!suspenseInstance) {
13433              throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");
13434            }
13435            return getNextHydratableInstanceAfterSuspenseInstance(suspenseInstance);
13436          }
13437          function popToNextHostParent(fiber) {
13438            var parent = fiber.return;
13439            while (parent !== null && parent.tag !== HostComponent && parent.tag !== HostRoot && parent.tag !== SuspenseComponent) {
13440              parent = parent.return;
13441            }
13442            hydrationParentFiber = parent;
13443          }
13444          function popHydrationState(fiber) {
13445            if (fiber !== hydrationParentFiber) {
13446              return false;
13447            }
13448            if (!isHydrating) {
13449              popToNextHostParent(fiber);
13450              isHydrating = true;
13451              return false;
13452            }
13453            if (fiber.tag !== HostRoot && (fiber.tag !== HostComponent || shouldDeleteUnhydratedTailInstances(fiber.type) && !shouldSetTextContent(fiber.type, fiber.memoizedProps))) {
13454              var nextInstance = nextHydratableInstance;
13455              if (nextInstance) {
13456                if (shouldClientRenderOnMismatch(fiber)) {
13457                  warnIfUnhydratedTailNodes(fiber);
13458                  throwOnHydrationMismatch();
13459                } else {
13460                  while (nextInstance) {
13461                    deleteHydratableInstance(fiber, nextInstance);
13462                    nextInstance = getNextHydratableSibling(nextInstance);
13463                  }
13464                }
13465              }
13466            }
13467            popToNextHostParent(fiber);
13468            if (fiber.tag === SuspenseComponent) {
13469              nextHydratableInstance = skipPastDehydratedSuspenseInstance(fiber);
13470            } else {
13471              nextHydratableInstance = hydrationParentFiber ? getNextHydratableSibling(fiber.stateNode) : null;
13472            }
13473            return true;
13474          }
13475          function hasUnhydratedTailNodes() {
13476            return isHydrating && nextHydratableInstance !== null;
13477          }
13478          function warnIfUnhydratedTailNodes(fiber) {
13479            var nextInstance = nextHydratableInstance;
13480            while (nextInstance) {
13481              warnUnhydratedInstance(fiber, nextInstance);
13482              nextInstance = getNextHydratableSibling(nextInstance);
13483            }
13484          }
13485          function resetHydrationState() {
13486            hydrationParentFiber = null;
13487            nextHydratableInstance = null;
13488            isHydrating = false;
13489            didSuspendOrErrorDEV = false;
13490          }
13491          function upgradeHydrationErrorsToRecoverable() {
13492            if (hydrationErrors !== null) {
13493              queueRecoverableErrors(hydrationErrors);
13494              hydrationErrors = null;
13495            }
13496          }
13497          function getIsHydrating() {
13498            return isHydrating;
13499          }
13500          function queueHydrationError(error2) {
13501            if (hydrationErrors === null) {
13502              hydrationErrors = [error2];
13503            } else {
13504              hydrationErrors.push(error2);
13505            }
13506          }
13507          var ReactCurrentBatchConfig$1 = ReactSharedInternals.ReactCurrentBatchConfig;
13508          var NoTransition = null;
13509          function requestCurrentTransition() {
13510            return ReactCurrentBatchConfig$1.transition;
13511          }
13512          var ReactStrictModeWarnings = {
13513            recordUnsafeLifecycleWarnings: function(fiber, instance) {
13514            },
13515            flushPendingUnsafeLifecycleWarnings: function() {
13516            },
13517            recordLegacyContextWarning: function(fiber, instance) {
13518            },
13519            flushLegacyContextWarning: function() {
13520            },
13521            discardPendingWarnings: function() {
13522            }
13523          };
13524          {
13525            var findStrictRoot = function(fiber) {
13526              var maybeStrictRoot = null;
13527              var node2 = fiber;
13528              while (node2 !== null) {
13529                if (node2.mode & StrictLegacyMode) {
13530                  maybeStrictRoot = node2;
13531                }
13532                node2 = node2.return;
13533              }
13534              return maybeStrictRoot;
13535            };
13536            var setToSortedString = function(set2) {
13537              var array = [];
13538              set2.forEach(function(value) {
13539                array.push(value);
13540              });
13541              return array.sort().join(", ");
13542            };
13543            var pendingComponentWillMountWarnings = [];
13544            var pendingUNSAFE_ComponentWillMountWarnings = [];
13545            var pendingComponentWillReceivePropsWarnings = [];
13546            var pendingUNSAFE_ComponentWillReceivePropsWarnings = [];
13547            var pendingComponentWillUpdateWarnings = [];
13548            var pendingUNSAFE_ComponentWillUpdateWarnings = [];
13549            var didWarnAboutUnsafeLifecycles = /* @__PURE__ */ new Set();
13550            ReactStrictModeWarnings.recordUnsafeLifecycleWarnings = function(fiber, instance) {
13551              if (didWarnAboutUnsafeLifecycles.has(fiber.type)) {
13552                return;
13553              }
13554              if (typeof instance.componentWillMount === "function" && // Don't warn about react-lifecycles-compat polyfilled components.
13555              instance.componentWillMount.__suppressDeprecationWarning !== true) {
13556                pendingComponentWillMountWarnings.push(fiber);
13557              }
13558              if (fiber.mode & StrictLegacyMode && typeof instance.UNSAFE_componentWillMount === "function") {
13559                pendingUNSAFE_ComponentWillMountWarnings.push(fiber);
13560              }
13561              if (typeof instance.componentWillReceiveProps === "function" && instance.componentWillReceiveProps.__suppressDeprecationWarning !== true) {
13562                pendingComponentWillReceivePropsWarnings.push(fiber);
13563              }
13564              if (fiber.mode & StrictLegacyMode && typeof instance.UNSAFE_componentWillReceiveProps === "function") {
13565                pendingUNSAFE_ComponentWillReceivePropsWarnings.push(fiber);
13566              }
13567              if (typeof instance.componentWillUpdate === "function" && instance.componentWillUpdate.__suppressDeprecationWarning !== true) {
13568                pendingComponentWillUpdateWarnings.push(fiber);
13569              }
13570              if (fiber.mode & StrictLegacyMode && typeof instance.UNSAFE_componentWillUpdate === "function") {
13571                pendingUNSAFE_ComponentWillUpdateWarnings.push(fiber);
13572              }
13573            };
13574            ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings = function() {
13575              var componentWillMountUniqueNames = /* @__PURE__ */ new Set();
13576              if (pendingComponentWillMountWarnings.length > 0) {
13577                pendingComponentWillMountWarnings.forEach(function(fiber) {
13578                  componentWillMountUniqueNames.add(getComponentNameFromFiber(fiber) || "Component");
13579                  didWarnAboutUnsafeLifecycles.add(fiber.type);
13580                });
13581                pendingComponentWillMountWarnings = [];
13582              }
13583              var UNSAFE_componentWillMountUniqueNames = /* @__PURE__ */ new Set();
13584              if (pendingUNSAFE_ComponentWillMountWarnings.length > 0) {
13585                pendingUNSAFE_ComponentWillMountWarnings.forEach(function(fiber) {
13586                  UNSAFE_componentWillMountUniqueNames.add(getComponentNameFromFiber(fiber) || "Component");
13587                  didWarnAboutUnsafeLifecycles.add(fiber.type);
13588                });
13589                pendingUNSAFE_ComponentWillMountWarnings = [];
13590              }
13591              var componentWillReceivePropsUniqueNames = /* @__PURE__ */ new Set();
13592              if (pendingComponentWillReceivePropsWarnings.length > 0) {
13593                pendingComponentWillReceivePropsWarnings.forEach(function(fiber) {
13594                  componentWillReceivePropsUniqueNames.add(getComponentNameFromFiber(fiber) || "Component");
13595                  didWarnAboutUnsafeLifecycles.add(fiber.type);
13596                });
13597                pendingComponentWillReceivePropsWarnings = [];
13598              }
13599              var UNSAFE_componentWillReceivePropsUniqueNames = /* @__PURE__ */ new Set();
13600              if (pendingUNSAFE_ComponentWillReceivePropsWarnings.length > 0) {
13601                pendingUNSAFE_ComponentWillReceivePropsWarnings.forEach(function(fiber) {
13602                  UNSAFE_componentWillReceivePropsUniqueNames.add(getComponentNameFromFiber(fiber) || "Component");
13603                  didWarnAboutUnsafeLifecycles.add(fiber.type);
13604                });
13605                pendingUNSAFE_ComponentWillReceivePropsWarnings = [];
13606              }
13607              var componentWillUpdateUniqueNames = /* @__PURE__ */ new Set();
13608              if (pendingComponentWillUpdateWarnings.length > 0) {
13609                pendingComponentWillUpdateWarnings.forEach(function(fiber) {
13610                  componentWillUpdateUniqueNames.add(getComponentNameFromFiber(fiber) || "Component");
13611                  didWarnAboutUnsafeLifecycles.add(fiber.type);
13612                });
13613                pendingComponentWillUpdateWarnings = [];
13614              }
13615              var UNSAFE_componentWillUpdateUniqueNames = /* @__PURE__ */ new Set();
13616              if (pendingUNSAFE_ComponentWillUpdateWarnings.length > 0) {
13617                pendingUNSAFE_ComponentWillUpdateWarnings.forEach(function(fiber) {
13618                  UNSAFE_componentWillUpdateUniqueNames.add(getComponentNameFromFiber(fiber) || "Component");
13619                  didWarnAboutUnsafeLifecycles.add(fiber.type);
13620                });
13621                pendingUNSAFE_ComponentWillUpdateWarnings = [];
13622              }
13623              if (UNSAFE_componentWillMountUniqueNames.size > 0) {
13624                var sortedNames = setToSortedString(UNSAFE_componentWillMountUniqueNames);
13625                error("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s", sortedNames);
13626              }
13627              if (UNSAFE_componentWillReceivePropsUniqueNames.size > 0) {
13628                var _sortedNames = setToSortedString(UNSAFE_componentWillReceivePropsUniqueNames);
13629                error("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n\nPlease update the following components: %s", _sortedNames);
13630              }
13631              if (UNSAFE_componentWillUpdateUniqueNames.size > 0) {
13632                var _sortedNames2 = setToSortedString(UNSAFE_componentWillUpdateUniqueNames);
13633                error("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s", _sortedNames2);
13634              }
13635              if (componentWillMountUniqueNames.size > 0) {
13636                var _sortedNames3 = setToSortedString(componentWillMountUniqueNames);
13637                warn("componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s", _sortedNames3);
13638              }
13639              if (componentWillReceivePropsUniqueNames.size > 0) {
13640                var _sortedNames4 = setToSortedString(componentWillReceivePropsUniqueNames);
13641                warn("componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s", _sortedNames4);
13642              }
13643              if (componentWillUpdateUniqueNames.size > 0) {
13644                var _sortedNames5 = setToSortedString(componentWillUpdateUniqueNames);
13645                warn("componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s", _sortedNames5);
13646              }
13647            };
13648            var pendingLegacyContextWarning = /* @__PURE__ */ new Map();
13649            var didWarnAboutLegacyContext = /* @__PURE__ */ new Set();
13650            ReactStrictModeWarnings.recordLegacyContextWarning = function(fiber, instance) {
13651              var strictRoot = findStrictRoot(fiber);
13652              if (strictRoot === null) {
13653                error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");
13654                return;
13655              }
13656              if (didWarnAboutLegacyContext.has(fiber.type)) {
13657                return;
13658              }
13659              var warningsForRoot = pendingLegacyContextWarning.get(strictRoot);
13660              if (fiber.type.contextTypes != null || fiber.type.childContextTypes != null || instance !== null && typeof instance.getChildContext === "function") {
13661                if (warningsForRoot === void 0) {
13662                  warningsForRoot = [];
13663                  pendingLegacyContextWarning.set(strictRoot, warningsForRoot);
13664                }
13665                warningsForRoot.push(fiber);
13666              }
13667            };
13668            ReactStrictModeWarnings.flushLegacyContextWarning = function() {
13669              pendingLegacyContextWarning.forEach(function(fiberArray, strictRoot) {
13670                if (fiberArray.length === 0) {
13671                  return;
13672                }
13673                var firstFiber = fiberArray[0];
13674                var uniqueNames = /* @__PURE__ */ new Set();
13675                fiberArray.forEach(function(fiber) {
13676                  uniqueNames.add(getComponentNameFromFiber(fiber) || "Component");
13677                  didWarnAboutLegacyContext.add(fiber.type);
13678                });
13679                var sortedNames = setToSortedString(uniqueNames);
13680                try {
13681                  setCurrentFiber(firstFiber);
13682                  error("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context", sortedNames);
13683                } finally {
13684                  resetCurrentFiber();
13685                }
13686              });
13687            };
13688            ReactStrictModeWarnings.discardPendingWarnings = function() {
13689              pendingComponentWillMountWarnings = [];
13690              pendingUNSAFE_ComponentWillMountWarnings = [];
13691              pendingComponentWillReceivePropsWarnings = [];
13692              pendingUNSAFE_ComponentWillReceivePropsWarnings = [];
13693              pendingComponentWillUpdateWarnings = [];
13694              pendingUNSAFE_ComponentWillUpdateWarnings = [];
13695              pendingLegacyContextWarning = /* @__PURE__ */ new Map();
13696            };
13697          }
13698          var didWarnAboutMaps;
13699          var didWarnAboutGenerators;
13700          var didWarnAboutStringRefs;
13701          var ownerHasKeyUseWarning;
13702          var ownerHasFunctionTypeWarning;
13703          var warnForMissingKey = function(child, returnFiber) {
13704          };
13705          {
13706            didWarnAboutMaps = false;
13707            didWarnAboutGenerators = false;
13708            didWarnAboutStringRefs = {};
13709            ownerHasKeyUseWarning = {};
13710            ownerHasFunctionTypeWarning = {};
13711            warnForMissingKey = function(child, returnFiber) {
13712              if (child === null || typeof child !== "object") {
13713                return;
13714              }
13715              if (!child._store || child._store.validated || child.key != null) {
13716                return;
13717              }
13718              if (typeof child._store !== "object") {
13719                throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");
13720              }
13721              child._store.validated = true;
13722              var componentName = getComponentNameFromFiber(returnFiber) || "Component";
13723              if (ownerHasKeyUseWarning[componentName]) {
13724                return;
13725              }
13726              ownerHasKeyUseWarning[componentName] = true;
13727              error('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.');
13728            };
13729          }
13730          function isReactClass(type) {
13731            return type.prototype && type.prototype.isReactComponent;
13732          }
13733          function coerceRef(returnFiber, current2, element) {
13734            var mixedRef = element.ref;
13735            if (mixedRef !== null && typeof mixedRef !== "function" && typeof mixedRef !== "object") {
13736              {
13737                if ((returnFiber.mode & StrictLegacyMode || warnAboutStringRefs) && // We warn in ReactElement.js if owner and self are equal for string refs
13738                // because these cannot be automatically converted to an arrow function
13739                // using a codemod. Therefore, we don't have to warn about string refs again.
13740                !(element._owner && element._self && element._owner.stateNode !== element._self) && // Will already throw with "Function components cannot have string refs"
13741                !(element._owner && element._owner.tag !== ClassComponent) && // Will already warn with "Function components cannot be given refs"
13742                !(typeof element.type === "function" && !isReactClass(element.type)) && // Will already throw with "Element ref was specified as a string (someStringRef) but no owner was set"
13743                element._owner) {
13744                  var componentName = getComponentNameFromFiber(returnFiber) || "Component";
13745                  if (!didWarnAboutStringRefs[componentName]) {
13746                    {
13747                      error('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', componentName, mixedRef);
13748                    }
13749                    didWarnAboutStringRefs[componentName] = true;
13750                  }
13751                }
13752              }
13753              if (element._owner) {
13754                var owner = element._owner;
13755                var inst;
13756                if (owner) {
13757                  var ownerFiber = owner;
13758                  if (ownerFiber.tag !== ClassComponent) {
13759                    throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");
13760                  }
13761                  inst = ownerFiber.stateNode;
13762                }
13763                if (!inst) {
13764                  throw new Error("Missing owner for string ref " + mixedRef + ". This error is likely caused by a bug in React. Please file an issue.");
13765                }
13766                var resolvedInst = inst;
13767                {
13768                  checkPropStringCoercion(mixedRef, "ref");
13769                }
13770                var stringRef = "" + mixedRef;
13771                if (current2 !== null && current2.ref !== null && typeof current2.ref === "function" && current2.ref._stringRef === stringRef) {
13772                  return current2.ref;
13773                }
13774                var ref = function(value) {
13775                  var refs = resolvedInst.refs;
13776                  if (value === null) {
13777                    delete refs[stringRef];
13778                  } else {
13779                    refs[stringRef] = value;
13780                  }
13781                };
13782                ref._stringRef = stringRef;
13783                return ref;
13784              } else {
13785                if (typeof mixedRef !== "string") {
13786                  throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");
13787                }
13788                if (!element._owner) {
13789                  throw new Error("Element ref was specified as a string (" + mixedRef + ") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information.");
13790                }
13791              }
13792            }
13793            return mixedRef;
13794          }
13795          function throwOnInvalidObjectType(returnFiber, newChild) {
13796            var childString = Object.prototype.toString.call(newChild);
13797            throw new Error("Objects are not valid as a React child (found: " + (childString === "[object Object]" ? "object with keys {" + Object.keys(newChild).join(", ") + "}" : childString) + "). If you meant to render a collection of children, use an array instead.");
13798          }
13799          function warnOnFunctionType(returnFiber) {
13800            {
13801              var componentName = getComponentNameFromFiber(returnFiber) || "Component";
13802              if (ownerHasFunctionTypeWarning[componentName]) {
13803                return;
13804              }
13805              ownerHasFunctionTypeWarning[componentName] = true;
13806              error("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.");
13807            }
13808          }
13809          function resolveLazy(lazyType) {
13810            var payload = lazyType._payload;
13811            var init3 = lazyType._init;
13812            return init3(payload);
13813          }
13814          function ChildReconciler(shouldTrackSideEffects) {
13815            function deleteChild(returnFiber, childToDelete) {
13816              if (!shouldTrackSideEffects) {
13817                return;
13818              }
13819              var deletions = returnFiber.deletions;
13820              if (deletions === null) {
13821                returnFiber.deletions = [childToDelete];
13822                returnFiber.flags |= ChildDeletion;
13823              } else {
13824                deletions.push(childToDelete);
13825              }
13826            }
13827            function deleteRemainingChildren(returnFiber, currentFirstChild) {
13828              if (!shouldTrackSideEffects) {
13829                return null;
13830              }
13831              var childToDelete = currentFirstChild;
13832              while (childToDelete !== null) {
13833                deleteChild(returnFiber, childToDelete);
13834                childToDelete = childToDelete.sibling;
13835              }
13836              return null;
13837            }
13838            function mapRemainingChildren(returnFiber, currentFirstChild) {
13839              var existingChildren = /* @__PURE__ */ new Map();
13840              var existingChild = currentFirstChild;
13841              while (existingChild !== null) {
13842                if (existingChild.key !== null) {
13843                  existingChildren.set(existingChild.key, existingChild);
13844                } else {
13845                  existingChildren.set(existingChild.index, existingChild);
13846                }
13847                existingChild = existingChild.sibling;
13848              }
13849              return existingChildren;
13850            }
13851            function useFiber(fiber, pendingProps) {
13852              var clone = createWorkInProgress(fiber, pendingProps);
13853              clone.index = 0;
13854              clone.sibling = null;
13855              return clone;
13856            }
13857            function placeChild(newFiber, lastPlacedIndex, newIndex) {
13858              newFiber.index = newIndex;
13859              if (!shouldTrackSideEffects) {
13860                newFiber.flags |= Forked;
13861                return lastPlacedIndex;
13862              }
13863              var current2 = newFiber.alternate;
13864              if (current2 !== null) {
13865                var oldIndex = current2.index;
13866                if (oldIndex < lastPlacedIndex) {
13867                  newFiber.flags |= Placement;
13868                  return lastPlacedIndex;
13869                } else {
13870                  return oldIndex;
13871                }
13872              } else {
13873                newFiber.flags |= Placement;
13874                return lastPlacedIndex;
13875              }
13876            }
13877            function placeSingleChild(newFiber) {
13878              if (shouldTrackSideEffects && newFiber.alternate === null) {
13879                newFiber.flags |= Placement;
13880              }
13881              return newFiber;
13882            }
13883            function updateTextNode(returnFiber, current2, textContent, lanes) {
13884              if (current2 === null || current2.tag !== HostText) {
13885                var created = createFiberFromText(textContent, returnFiber.mode, lanes);
13886                created.return = returnFiber;
13887                return created;
13888              } else {
13889                var existing = useFiber(current2, textContent);
13890                existing.return = returnFiber;
13891                return existing;
13892              }
13893            }
13894            function updateElement(returnFiber, current2, element, lanes) {
13895              var elementType = element.type;
13896              if (elementType === REACT_FRAGMENT_TYPE) {
13897                return updateFragment2(returnFiber, current2, element.props.children, lanes, element.key);
13898              }
13899              if (current2 !== null) {
13900                if (current2.elementType === elementType || // Keep this check inline so it only runs on the false path:
13901                isCompatibleFamilyForHotReloading(current2, element) || // Lazy types should reconcile their resolved type.
13902                // We need to do this after the Hot Reloading check above,
13903                // because hot reloading has different semantics than prod because
13904                // it doesn't resuspend. So we can't let the call below suspend.
13905                typeof elementType === "object" && elementType !== null && elementType.$$typeof === REACT_LAZY_TYPE && resolveLazy(elementType) === current2.type) {
13906                  var existing = useFiber(current2, element.props);
13907                  existing.ref = coerceRef(returnFiber, current2, element);
13908                  existing.return = returnFiber;
13909                  {
13910                    existing._debugSource = element._source;
13911                    existing._debugOwner = element._owner;
13912                  }
13913                  return existing;
13914                }
13915              }
13916              var created = createFiberFromElement(element, returnFiber.mode, lanes);
13917              created.ref = coerceRef(returnFiber, current2, element);
13918              created.return = returnFiber;
13919              return created;
13920            }
13921            function updatePortal(returnFiber, current2, portal, lanes) {
13922              if (current2 === null || current2.tag !== HostPortal || current2.stateNode.containerInfo !== portal.containerInfo || current2.stateNode.implementation !== portal.implementation) {
13923                var created = createFiberFromPortal(portal, returnFiber.mode, lanes);
13924                created.return = returnFiber;
13925                return created;
13926              } else {
13927                var existing = useFiber(current2, portal.children || []);
13928                existing.return = returnFiber;
13929                return existing;
13930              }
13931            }
13932            function updateFragment2(returnFiber, current2, fragment, lanes, key) {
13933              if (current2 === null || current2.tag !== Fragment4) {
13934                var created = createFiberFromFragment(fragment, returnFiber.mode, lanes, key);
13935                created.return = returnFiber;
13936                return created;
13937              } else {
13938                var existing = useFiber(current2, fragment);
13939                existing.return = returnFiber;
13940                return existing;
13941              }
13942            }
13943            function createChild(returnFiber, newChild, lanes) {
13944              if (typeof newChild === "string" && newChild !== "" || typeof newChild === "number") {
13945                var created = createFiberFromText("" + newChild, returnFiber.mode, lanes);
13946                created.return = returnFiber;
13947                return created;
13948              }
13949              if (typeof newChild === "object" && newChild !== null) {
13950                switch (newChild.$$typeof) {
13951                  case REACT_ELEMENT_TYPE: {
13952                    var _created = createFiberFromElement(newChild, returnFiber.mode, lanes);
13953                    _created.ref = coerceRef(returnFiber, null, newChild);
13954                    _created.return = returnFiber;
13955                    return _created;
13956                  }
13957                  case REACT_PORTAL_TYPE: {
13958                    var _created2 = createFiberFromPortal(newChild, returnFiber.mode, lanes);
13959                    _created2.return = returnFiber;
13960                    return _created2;
13961                  }
13962                  case REACT_LAZY_TYPE: {
13963                    var payload = newChild._payload;
13964                    var init3 = newChild._init;
13965                    return createChild(returnFiber, init3(payload), lanes);
13966                  }
13967                }
13968                if (isArray3(newChild) || getIteratorFn(newChild)) {
13969                  var _created3 = createFiberFromFragment(newChild, returnFiber.mode, lanes, null);
13970                  _created3.return = returnFiber;
13971                  return _created3;
13972                }
13973                throwOnInvalidObjectType(returnFiber, newChild);
13974              }
13975              {
13976                if (typeof newChild === "function") {
13977                  warnOnFunctionType(returnFiber);
13978                }
13979              }
13980              return null;
13981            }
13982            function updateSlot(returnFiber, oldFiber, newChild, lanes) {
13983              var key = oldFiber !== null ? oldFiber.key : null;
13984              if (typeof newChild === "string" && newChild !== "" || typeof newChild === "number") {
13985                if (key !== null) {
13986                  return null;
13987                }
13988                return updateTextNode(returnFiber, oldFiber, "" + newChild, lanes);
13989              }
13990              if (typeof newChild === "object" && newChild !== null) {
13991                switch (newChild.$$typeof) {
13992                  case REACT_ELEMENT_TYPE: {
13993                    if (newChild.key === key) {
13994                      return updateElement(returnFiber, oldFiber, newChild, lanes);
13995                    } else {
13996                      return null;
13997                    }
13998                  }
13999                  case REACT_PORTAL_TYPE: {
14000                    if (newChild.key === key) {
14001                      return updatePortal(returnFiber, oldFiber, newChild, lanes);
14002                    } else {
14003                      return null;
14004                    }
14005                  }
14006                  case REACT_LAZY_TYPE: {
14007                    var payload = newChild._payload;
14008                    var init3 = newChild._init;
14009                    return updateSlot(returnFiber, oldFiber, init3(payload), lanes);
14010                  }
14011                }
14012                if (isArray3(newChild) || getIteratorFn(newChild)) {
14013                  if (key !== null) {
14014                    return null;
14015                  }
14016                  return updateFragment2(returnFiber, oldFiber, newChild, lanes, null);
14017                }
14018                throwOnInvalidObjectType(returnFiber, newChild);
14019              }
14020              {
14021                if (typeof newChild === "function") {
14022                  warnOnFunctionType(returnFiber);
14023                }
14024              }
14025              return null;
14026            }
14027            function updateFromMap(existingChildren, returnFiber, newIdx, newChild, lanes) {
14028              if (typeof newChild === "string" && newChild !== "" || typeof newChild === "number") {
14029                var matchedFiber = existingChildren.get(newIdx) || null;
14030                return updateTextNode(returnFiber, matchedFiber, "" + newChild, lanes);
14031              }
14032              if (typeof newChild === "object" && newChild !== null) {
14033                switch (newChild.$$typeof) {
14034                  case REACT_ELEMENT_TYPE: {
14035                    var _matchedFiber = existingChildren.get(newChild.key === null ? newIdx : newChild.key) || null;
14036                    return updateElement(returnFiber, _matchedFiber, newChild, lanes);
14037                  }
14038                  case REACT_PORTAL_TYPE: {
14039                    var _matchedFiber2 = existingChildren.get(newChild.key === null ? newIdx : newChild.key) || null;
14040                    return updatePortal(returnFiber, _matchedFiber2, newChild, lanes);
14041                  }
14042                  case REACT_LAZY_TYPE:
14043                    var payload = newChild._payload;
14044                    var init3 = newChild._init;
14045                    return updateFromMap(existingChildren, returnFiber, newIdx, init3(payload), lanes);
14046                }
14047                if (isArray3(newChild) || getIteratorFn(newChild)) {
14048                  var _matchedFiber3 = existingChildren.get(newIdx) || null;
14049                  return updateFragment2(returnFiber, _matchedFiber3, newChild, lanes, null);
14050                }
14051                throwOnInvalidObjectType(returnFiber, newChild);
14052              }
14053              {
14054                if (typeof newChild === "function") {
14055                  warnOnFunctionType(returnFiber);
14056                }
14057              }
14058              return null;
14059            }
14060            function warnOnInvalidKey(child, knownKeys, returnFiber) {
14061              {
14062                if (typeof child !== "object" || child === null) {
14063                  return knownKeys;
14064                }
14065                switch (child.$$typeof) {
14066                  case REACT_ELEMENT_TYPE:
14067                  case REACT_PORTAL_TYPE:
14068                    warnForMissingKey(child, returnFiber);
14069                    var key = child.key;
14070                    if (typeof key !== "string") {
14071                      break;
14072                    }
14073                    if (knownKeys === null) {
14074                      knownKeys = /* @__PURE__ */ new Set();
14075                      knownKeys.add(key);
14076                      break;
14077                    }
14078                    if (!knownKeys.has(key)) {
14079                      knownKeys.add(key);
14080                      break;
14081                    }
14082                    error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted \u2014 the behavior is unsupported and could change in a future version.", key);
14083                    break;
14084                  case REACT_LAZY_TYPE:
14085                    var payload = child._payload;
14086                    var init3 = child._init;
14087                    warnOnInvalidKey(init3(payload), knownKeys, returnFiber);
14088                    break;
14089                }
14090              }
14091              return knownKeys;
14092            }
14093            function reconcileChildrenArray(returnFiber, currentFirstChild, newChildren, lanes) {
14094              {
14095                var knownKeys = null;
14096                for (var i2 = 0; i2 < newChildren.length; i2++) {
14097                  var child = newChildren[i2];
14098                  knownKeys = warnOnInvalidKey(child, knownKeys, returnFiber);
14099                }
14100              }
14101              var resultingFirstChild = null;
14102              var previousNewFiber = null;
14103              var oldFiber = currentFirstChild;
14104              var lastPlacedIndex = 0;
14105              var newIdx = 0;
14106              var nextOldFiber = null;
14107              for (; oldFiber !== null && newIdx < newChildren.length; newIdx++) {
14108                if (oldFiber.index > newIdx) {
14109                  nextOldFiber = oldFiber;
14110                  oldFiber = null;
14111                } else {
14112                  nextOldFiber = oldFiber.sibling;
14113                }
14114                var newFiber = updateSlot(returnFiber, oldFiber, newChildren[newIdx], lanes);
14115                if (newFiber === null) {
14116                  if (oldFiber === null) {
14117                    oldFiber = nextOldFiber;
14118                  }
14119                  break;
14120                }
14121                if (shouldTrackSideEffects) {
14122                  if (oldFiber && newFiber.alternate === null) {
14123                    deleteChild(returnFiber, oldFiber);
14124                  }
14125                }
14126                lastPlacedIndex = placeChild(newFiber, lastPlacedIndex, newIdx);
14127                if (previousNewFiber === null) {
14128                  resultingFirstChild = newFiber;
14129                } else {
14130                  previousNewFiber.sibling = newFiber;
14131                }
14132                previousNewFiber = newFiber;
14133                oldFiber = nextOldFiber;
14134              }
14135              if (newIdx === newChildren.length) {
14136                deleteRemainingChildren(returnFiber, oldFiber);
14137                if (getIsHydrating()) {
14138                  var numberOfForks = newIdx;
14139                  pushTreeFork(returnFiber, numberOfForks);
14140                }
14141                return resultingFirstChild;
14142              }
14143              if (oldFiber === null) {
14144                for (; newIdx < newChildren.length; newIdx++) {
14145                  var _newFiber = createChild(returnFiber, newChildren[newIdx], lanes);
14146                  if (_newFiber === null) {
14147                    continue;
14148                  }
14149                  lastPlacedIndex = placeChild(_newFiber, lastPlacedIndex, newIdx);
14150                  if (previousNewFiber === null) {
14151                    resultingFirstChild = _newFiber;
14152                  } else {
14153                    previousNewFiber.sibling = _newFiber;
14154                  }
14155                  previousNewFiber = _newFiber;
14156                }
14157                if (getIsHydrating()) {
14158                  var _numberOfForks = newIdx;
14159                  pushTreeFork(returnFiber, _numberOfForks);
14160                }
14161                return resultingFirstChild;
14162              }
14163              var existingChildren = mapRemainingChildren(returnFiber, oldFiber);
14164              for (; newIdx < newChildren.length; newIdx++) {
14165                var _newFiber2 = updateFromMap(existingChildren, returnFiber, newIdx, newChildren[newIdx], lanes);
14166                if (_newFiber2 !== null) {
14167                  if (shouldTrackSideEffects) {
14168                    if (_newFiber2.alternate !== null) {
14169                      existingChildren.delete(_newFiber2.key === null ? newIdx : _newFiber2.key);
14170                    }
14171                  }
14172                  lastPlacedIndex = placeChild(_newFiber2, lastPlacedIndex, newIdx);
14173                  if (previousNewFiber === null) {
14174                    resultingFirstChild = _newFiber2;
14175                  } else {
14176                    previousNewFiber.sibling = _newFiber2;
14177                  }
14178                  previousNewFiber = _newFiber2;
14179                }
14180              }
14181              if (shouldTrackSideEffects) {
14182                existingChildren.forEach(function(child2) {
14183                  return deleteChild(returnFiber, child2);
14184                });
14185              }
14186              if (getIsHydrating()) {
14187                var _numberOfForks2 = newIdx;
14188                pushTreeFork(returnFiber, _numberOfForks2);
14189              }
14190              return resultingFirstChild;
14191            }
14192            function reconcileChildrenIterator(returnFiber, currentFirstChild, newChildrenIterable, lanes) {
14193              var iteratorFn = getIteratorFn(newChildrenIterable);
14194              if (typeof iteratorFn !== "function") {
14195                throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");
14196              }
14197              {
14198                if (typeof Symbol === "function" && // $FlowFixMe Flow doesn't know about toStringTag
14199                newChildrenIterable[Symbol.toStringTag] === "Generator") {
14200                  if (!didWarnAboutGenerators) {
14201                    error("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers.");
14202                  }
14203                  didWarnAboutGenerators = true;
14204                }
14205                if (newChildrenIterable.entries === iteratorFn) {
14206                  if (!didWarnAboutMaps) {
14207                    error("Using Maps as children is not supported. Use an array of keyed ReactElements instead.");
14208                  }
14209                  didWarnAboutMaps = true;
14210                }
14211                var _newChildren = iteratorFn.call(newChildrenIterable);
14212                if (_newChildren) {
14213                  var knownKeys = null;
14214                  var _step = _newChildren.next();
14215                  for (; !_step.done; _step = _newChildren.next()) {
14216                    var child = _step.value;
14217                    knownKeys = warnOnInvalidKey(child, knownKeys, returnFiber);
14218                  }
14219                }
14220              }
14221              var newChildren = iteratorFn.call(newChildrenIterable);
14222              if (newChildren == null) {
14223                throw new Error("An iterable object provided no iterator.");
14224              }
14225              var resultingFirstChild = null;
14226              var previousNewFiber = null;
14227              var oldFiber = currentFirstChild;
14228              var lastPlacedIndex = 0;
14229              var newIdx = 0;
14230              var nextOldFiber = null;
14231              var step = newChildren.next();
14232              for (; oldFiber !== null && !step.done; newIdx++, step = newChildren.next()) {
14233                if (oldFiber.index > newIdx) {
14234                  nextOldFiber = oldFiber;
14235                  oldFiber = null;
14236                } else {
14237                  nextOldFiber = oldFiber.sibling;
14238                }
14239                var newFiber = updateSlot(returnFiber, oldFiber, step.value, lanes);
14240                if (newFiber === null) {
14241                  if (oldFiber === null) {
14242                    oldFiber = nextOldFiber;
14243                  }
14244                  break;
14245                }
14246                if (shouldTrackSideEffects) {
14247                  if (oldFiber && newFiber.alternate === null) {
14248                    deleteChild(returnFiber, oldFiber);
14249                  }
14250                }
14251                lastPlacedIndex = placeChild(newFiber, lastPlacedIndex, newIdx);
14252                if (previousNewFiber === null) {
14253                  resultingFirstChild = newFiber;
14254                } else {
14255                  previousNewFiber.sibling = newFiber;
14256                }
14257                previousNewFiber = newFiber;
14258                oldFiber = nextOldFiber;
14259              }
14260              if (step.done) {
14261                deleteRemainingChildren(returnFiber, oldFiber);
14262                if (getIsHydrating()) {
14263                  var numberOfForks = newIdx;
14264                  pushTreeFork(returnFiber, numberOfForks);
14265                }
14266                return resultingFirstChild;
14267              }
14268              if (oldFiber === null) {
14269                for (; !step.done; newIdx++, step = newChildren.next()) {
14270                  var _newFiber3 = createChild(returnFiber, step.value, lanes);
14271                  if (_newFiber3 === null) {
14272                    continue;
14273                  }
14274                  lastPlacedIndex = placeChild(_newFiber3, lastPlacedIndex, newIdx);
14275                  if (previousNewFiber === null) {
14276                    resultingFirstChild = _newFiber3;
14277                  } else {
14278                    previousNewFiber.sibling = _newFiber3;
14279                  }
14280                  previousNewFiber = _newFiber3;
14281                }
14282                if (getIsHydrating()) {
14283                  var _numberOfForks3 = newIdx;
14284                  pushTreeFork(returnFiber, _numberOfForks3);
14285                }
14286                return resultingFirstChild;
14287              }
14288              var existingChildren = mapRemainingChildren(returnFiber, oldFiber);
14289              for (; !step.done; newIdx++, step = newChildren.next()) {
14290                var _newFiber4 = updateFromMap(existingChildren, returnFiber, newIdx, step.value, lanes);
14291                if (_newFiber4 !== null) {
14292                  if (shouldTrackSideEffects) {
14293                    if (_newFiber4.alternate !== null) {
14294                      existingChildren.delete(_newFiber4.key === null ? newIdx : _newFiber4.key);
14295                    }
14296                  }
14297                  lastPlacedIndex = placeChild(_newFiber4, lastPlacedIndex, newIdx);
14298                  if (previousNewFiber === null) {
14299                    resultingFirstChild = _newFiber4;
14300                  } else {
14301                    previousNewFiber.sibling = _newFiber4;
14302                  }
14303                  previousNewFiber = _newFiber4;
14304                }
14305              }
14306              if (shouldTrackSideEffects) {
14307                existingChildren.forEach(function(child2) {
14308                  return deleteChild(returnFiber, child2);
14309                });
14310              }
14311              if (getIsHydrating()) {
14312                var _numberOfForks4 = newIdx;
14313                pushTreeFork(returnFiber, _numberOfForks4);
14314              }
14315              return resultingFirstChild;
14316            }
14317            function reconcileSingleTextNode(returnFiber, currentFirstChild, textContent, lanes) {
14318              if (currentFirstChild !== null && currentFirstChild.tag === HostText) {
14319                deleteRemainingChildren(returnFiber, currentFirstChild.sibling);
14320                var existing = useFiber(currentFirstChild, textContent);
14321                existing.return = returnFiber;
14322                return existing;
14323              }
14324              deleteRemainingChildren(returnFiber, currentFirstChild);
14325              var created = createFiberFromText(textContent, returnFiber.mode, lanes);
14326              created.return = returnFiber;
14327              return created;
14328            }
14329            function reconcileSingleElement(returnFiber, currentFirstChild, element, lanes) {
14330              var key = element.key;
14331              var child = currentFirstChild;
14332              while (child !== null) {
14333                if (child.key === key) {
14334                  var elementType = element.type;
14335                  if (elementType === REACT_FRAGMENT_TYPE) {
14336                    if (child.tag === Fragment4) {
14337                      deleteRemainingChildren(returnFiber, child.sibling);
14338                      var existing = useFiber(child, element.props.children);
14339                      existing.return = returnFiber;
14340                      {
14341                        existing._debugSource = element._source;
14342                        existing._debugOwner = element._owner;
14343                      }
14344                      return existing;
14345                    }
14346                  } else {
14347                    if (child.elementType === elementType || // Keep this check inline so it only runs on the false path:
14348                    isCompatibleFamilyForHotReloading(child, element) || // Lazy types should reconcile their resolved type.
14349                    // We need to do this after the Hot Reloading check above,
14350                    // because hot reloading has different semantics than prod because
14351                    // it doesn't resuspend. So we can't let the call below suspend.
14352                    typeof elementType === "object" && elementType !== null && elementType.$$typeof === REACT_LAZY_TYPE && resolveLazy(elementType) === child.type) {
14353                      deleteRemainingChildren(returnFiber, child.sibling);
14354                      var _existing = useFiber(child, element.props);
14355                      _existing.ref = coerceRef(returnFiber, child, element);
14356                      _existing.return = returnFiber;
14357                      {
14358                        _existing._debugSource = element._source;
14359                        _existing._debugOwner = element._owner;
14360                      }
14361                      return _existing;
14362                    }
14363                  }
14364                  deleteRemainingChildren(returnFiber, child);
14365                  break;
14366                } else {
14367                  deleteChild(returnFiber, child);
14368                }
14369                child = child.sibling;
14370              }
14371              if (element.type === REACT_FRAGMENT_TYPE) {
14372                var created = createFiberFromFragment(element.props.children, returnFiber.mode, lanes, element.key);
14373                created.return = returnFiber;
14374                return created;
14375              } else {
14376                var _created4 = createFiberFromElement(element, returnFiber.mode, lanes);
14377                _created4.ref = coerceRef(returnFiber, currentFirstChild, element);
14378                _created4.return = returnFiber;
14379                return _created4;
14380              }
14381            }
14382            function reconcileSinglePortal(returnFiber, currentFirstChild, portal, lanes) {
14383              var key = portal.key;
14384              var child = currentFirstChild;
14385              while (child !== null) {
14386                if (child.key === key) {
14387                  if (child.tag === HostPortal && child.stateNode.containerInfo === portal.containerInfo && child.stateNode.implementation === portal.implementation) {
14388                    deleteRemainingChildren(returnFiber, child.sibling);
14389                    var existing = useFiber(child, portal.children || []);
14390                    existing.return = returnFiber;
14391                    return existing;
14392                  } else {
14393                    deleteRemainingChildren(returnFiber, child);
14394                    break;
14395                  }
14396                } else {
14397                  deleteChild(returnFiber, child);
14398                }
14399                child = child.sibling;
14400              }
14401              var created = createFiberFromPortal(portal, returnFiber.mode, lanes);
14402              created.return = returnFiber;
14403              return created;
14404            }
14405            function reconcileChildFibers2(returnFiber, currentFirstChild, newChild, lanes) {
14406              var isUnkeyedTopLevelFragment = typeof newChild === "object" && newChild !== null && newChild.type === REACT_FRAGMENT_TYPE && newChild.key === null;
14407              if (isUnkeyedTopLevelFragment) {
14408                newChild = newChild.props.children;
14409              }
14410              if (typeof newChild === "object" && newChild !== null) {
14411                switch (newChild.$$typeof) {
14412                  case REACT_ELEMENT_TYPE:
14413                    return placeSingleChild(reconcileSingleElement(returnFiber, currentFirstChild, newChild, lanes));
14414                  case REACT_PORTAL_TYPE:
14415                    return placeSingleChild(reconcileSinglePortal(returnFiber, currentFirstChild, newChild, lanes));
14416                  case REACT_LAZY_TYPE:
14417                    var payload = newChild._payload;
14418                    var init3 = newChild._init;
14419                    return reconcileChildFibers2(returnFiber, currentFirstChild, init3(payload), lanes);
14420                }
14421                if (isArray3(newChild)) {
14422                  return reconcileChildrenArray(returnFiber, currentFirstChild, newChild, lanes);
14423                }
14424                if (getIteratorFn(newChild)) {
14425                  return reconcileChildrenIterator(returnFiber, currentFirstChild, newChild, lanes);
14426                }
14427                throwOnInvalidObjectType(returnFiber, newChild);
14428              }
14429              if (typeof newChild === "string" && newChild !== "" || typeof newChild === "number") {
14430                return placeSingleChild(reconcileSingleTextNode(returnFiber, currentFirstChild, "" + newChild, lanes));
14431              }
14432              {
14433                if (typeof newChild === "function") {
14434                  warnOnFunctionType(returnFiber);
14435                }
14436              }
14437              return deleteRemainingChildren(returnFiber, currentFirstChild);
14438            }
14439            return reconcileChildFibers2;
14440          }
14441          var reconcileChildFibers = ChildReconciler(true);
14442          var mountChildFibers = ChildReconciler(false);
14443          function cloneChildFibers(current2, workInProgress2) {
14444            if (current2 !== null && workInProgress2.child !== current2.child) {
14445              throw new Error("Resuming work not yet implemented.");
14446            }
14447            if (workInProgress2.child === null) {
14448              return;
14449            }
14450            var currentChild = workInProgress2.child;
14451            var newChild = createWorkInProgress(currentChild, currentChild.pendingProps);
14452            workInProgress2.child = newChild;
14453            newChild.return = workInProgress2;
14454            while (currentChild.sibling !== null) {
14455              currentChild = currentChild.sibling;
14456              newChild = newChild.sibling = createWorkInProgress(currentChild, currentChild.pendingProps);
14457              newChild.return = workInProgress2;
14458            }
14459            newChild.sibling = null;
14460          }
14461          function resetChildFibers(workInProgress2, lanes) {
14462            var child = workInProgress2.child;
14463            while (child !== null) {
14464              resetWorkInProgress(child, lanes);
14465              child = child.sibling;
14466            }
14467          }
14468          var valueCursor = createCursor(null);
14469          var rendererSigil;
14470          {
14471            rendererSigil = {};
14472          }
14473          var currentlyRenderingFiber = null;
14474          var lastContextDependency = null;
14475          var lastFullyObservedContext = null;
14476          var isDisallowedContextReadInDEV = false;
14477          function resetContextDependencies() {
14478            currentlyRenderingFiber = null;
14479            lastContextDependency = null;
14480            lastFullyObservedContext = null;
14481            {
14482              isDisallowedContextReadInDEV = false;
14483            }
14484          }
14485          function enterDisallowedContextReadInDEV() {
14486            {
14487              isDisallowedContextReadInDEV = true;
14488            }
14489          }
14490          function exitDisallowedContextReadInDEV() {
14491            {
14492              isDisallowedContextReadInDEV = false;
14493            }
14494          }
14495          function pushProvider(providerFiber, context, nextValue) {
14496            {
14497              push(valueCursor, context._currentValue, providerFiber);
14498              context._currentValue = nextValue;
14499              {
14500                if (context._currentRenderer !== void 0 && context._currentRenderer !== null && context._currentRenderer !== rendererSigil) {
14501                  error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.");
14502                }
14503                context._currentRenderer = rendererSigil;
14504              }
14505            }
14506          }
14507          function popProvider(context, providerFiber) {
14508            var currentValue = valueCursor.current;
14509            pop(valueCursor, providerFiber);
14510            {
14511              {
14512                context._currentValue = currentValue;
14513              }
14514            }
14515          }
14516          function scheduleContextWorkOnParentPath(parent, renderLanes2, propagationRoot) {
14517            var node2 = parent;
14518            while (node2 !== null) {
14519              var alternate = node2.alternate;
14520              if (!isSubsetOfLanes(node2.childLanes, renderLanes2)) {
14521                node2.childLanes = mergeLanes(node2.childLanes, renderLanes2);
14522                if (alternate !== null) {
14523                  alternate.childLanes = mergeLanes(alternate.childLanes, renderLanes2);
14524                }
14525              } else if (alternate !== null && !isSubsetOfLanes(alternate.childLanes, renderLanes2)) {
14526                alternate.childLanes = mergeLanes(alternate.childLanes, renderLanes2);
14527              }
14528              if (node2 === propagationRoot) {
14529                break;
14530              }
14531              node2 = node2.return;
14532            }
14533            {
14534              if (node2 !== propagationRoot) {
14535                error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.");
14536              }
14537            }
14538          }
14539          function propagateContextChange(workInProgress2, context, renderLanes2) {
14540            {
14541              propagateContextChange_eager(workInProgress2, context, renderLanes2);
14542            }
14543          }
14544          function propagateContextChange_eager(workInProgress2, context, renderLanes2) {
14545            var fiber = workInProgress2.child;
14546            if (fiber !== null) {
14547              fiber.return = workInProgress2;
14548            }
14549            while (fiber !== null) {
14550              var nextFiber = void 0;
14551              var list = fiber.dependencies;
14552              if (list !== null) {
14553                nextFiber = fiber.child;
14554                var dependency = list.firstContext;
14555                while (dependency !== null) {
14556                  if (dependency.context === context) {
14557                    if (fiber.tag === ClassComponent) {
14558                      var lane = pickArbitraryLane(renderLanes2);
14559                      var update2 = createUpdate(NoTimestamp, lane);
14560                      update2.tag = ForceUpdate;
14561                      var updateQueue = fiber.updateQueue;
14562                      if (updateQueue === null) ;
14563                      else {
14564                        var sharedQueue = updateQueue.shared;
14565                        var pending = sharedQueue.pending;
14566                        if (pending === null) {
14567                          update2.next = update2;
14568                        } else {
14569                          update2.next = pending.next;
14570                          pending.next = update2;
14571                        }
14572                        sharedQueue.pending = update2;
14573                      }
14574                    }
14575                    fiber.lanes = mergeLanes(fiber.lanes, renderLanes2);
14576                    var alternate = fiber.alternate;
14577                    if (alternate !== null) {
14578                      alternate.lanes = mergeLanes(alternate.lanes, renderLanes2);
14579                    }
14580                    scheduleContextWorkOnParentPath(fiber.return, renderLanes2, workInProgress2);
14581                    list.lanes = mergeLanes(list.lanes, renderLanes2);
14582                    break;
14583                  }
14584                  dependency = dependency.next;
14585                }
14586              } else if (fiber.tag === ContextProvider) {
14587                nextFiber = fiber.type === workInProgress2.type ? null : fiber.child;
14588              } else if (fiber.tag === DehydratedFragment) {
14589                var parentSuspense = fiber.return;
14590                if (parentSuspense === null) {
14591                  throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");
14592                }
14593                parentSuspense.lanes = mergeLanes(parentSuspense.lanes, renderLanes2);
14594                var _alternate = parentSuspense.alternate;
14595                if (_alternate !== null) {
14596                  _alternate.lanes = mergeLanes(_alternate.lanes, renderLanes2);
14597                }
14598                scheduleContextWorkOnParentPath(parentSuspense, renderLanes2, workInProgress2);
14599                nextFiber = fiber.sibling;
14600              } else {
14601                nextFiber = fiber.child;
14602              }
14603              if (nextFiber !== null) {
14604                nextFiber.return = fiber;
14605              } else {
14606                nextFiber = fiber;
14607                while (nextFiber !== null) {
14608                  if (nextFiber === workInProgress2) {
14609                    nextFiber = null;
14610                    break;
14611                  }
14612                  var sibling = nextFiber.sibling;
14613                  if (sibling !== null) {
14614                    sibling.return = nextFiber.return;
14615                    nextFiber = sibling;
14616                    break;
14617                  }
14618                  nextFiber = nextFiber.return;
14619                }
14620              }
14621              fiber = nextFiber;
14622            }
14623          }
14624          function prepareToReadContext(workInProgress2, renderLanes2) {
14625            currentlyRenderingFiber = workInProgress2;
14626            lastContextDependency = null;
14627            lastFullyObservedContext = null;
14628            var dependencies = workInProgress2.dependencies;
14629            if (dependencies !== null) {
14630              {
14631                var firstContext = dependencies.firstContext;
14632                if (firstContext !== null) {
14633                  if (includesSomeLane(dependencies.lanes, renderLanes2)) {
14634                    markWorkInProgressReceivedUpdate();
14635                  }
14636                  dependencies.firstContext = null;
14637                }
14638              }
14639            }
14640          }
14641          function readContext(context) {
14642            {
14643              if (isDisallowedContextReadInDEV) {
14644                error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");
14645              }
14646            }
14647            var value = context._currentValue;
14648            if (lastFullyObservedContext === context) ;
14649            else {
14650              var contextItem = {
14651                context,
14652                memoizedValue: value,
14653                next: null
14654              };
14655              if (lastContextDependency === null) {
14656                if (currentlyRenderingFiber === null) {
14657                  throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");
14658                }
14659                lastContextDependency = contextItem;
14660                currentlyRenderingFiber.dependencies = {
14661                  lanes: NoLanes,
14662                  firstContext: contextItem
14663                };
14664              } else {
14665                lastContextDependency = lastContextDependency.next = contextItem;
14666              }
14667            }
14668            return value;
14669          }
14670          var concurrentQueues = null;
14671          function pushConcurrentUpdateQueue(queue) {
14672            if (concurrentQueues === null) {
14673              concurrentQueues = [queue];
14674            } else {
14675              concurrentQueues.push(queue);
14676            }
14677          }
14678          function finishQueueingConcurrentUpdates() {
14679            if (concurrentQueues !== null) {
14680              for (var i2 = 0; i2 < concurrentQueues.length; i2++) {
14681                var queue = concurrentQueues[i2];
14682                var lastInterleavedUpdate = queue.interleaved;
14683                if (lastInterleavedUpdate !== null) {
14684                  queue.interleaved = null;
14685                  var firstInterleavedUpdate = lastInterleavedUpdate.next;
14686                  var lastPendingUpdate = queue.pending;
14687                  if (lastPendingUpdate !== null) {
14688                    var firstPendingUpdate = lastPendingUpdate.next;
14689                    lastPendingUpdate.next = firstInterleavedUpdate;
14690                    lastInterleavedUpdate.next = firstPendingUpdate;
14691                  }
14692                  queue.pending = lastInterleavedUpdate;
14693                }
14694              }
14695              concurrentQueues = null;
14696            }
14697          }
14698          function enqueueConcurrentHookUpdate(fiber, queue, update2, lane) {
14699            var interleaved = queue.interleaved;
14700            if (interleaved === null) {
14701              update2.next = update2;
14702              pushConcurrentUpdateQueue(queue);
14703            } else {
14704              update2.next = interleaved.next;
14705              interleaved.next = update2;
14706            }
14707            queue.interleaved = update2;
14708            return markUpdateLaneFromFiberToRoot(fiber, lane);
14709          }
14710          function enqueueConcurrentHookUpdateAndEagerlyBailout(fiber, queue, update2, lane) {
14711            var interleaved = queue.interleaved;
14712            if (interleaved === null) {
14713              update2.next = update2;
14714              pushConcurrentUpdateQueue(queue);
14715            } else {
14716              update2.next = interleaved.next;
14717              interleaved.next = update2;
14718            }
14719            queue.interleaved = update2;
14720          }
14721          function enqueueConcurrentClassUpdate(fiber, queue, update2, lane) {
14722            var interleaved = queue.interleaved;
14723            if (interleaved === null) {
14724              update2.next = update2;
14725              pushConcurrentUpdateQueue(queue);
14726            } else {
14727              update2.next = interleaved.next;
14728              interleaved.next = update2;
14729            }
14730            queue.interleaved = update2;
14731            return markUpdateLaneFromFiberToRoot(fiber, lane);
14732          }
14733          function enqueueConcurrentRenderForLane(fiber, lane) {
14734            return markUpdateLaneFromFiberToRoot(fiber, lane);
14735          }
14736          var unsafe_markUpdateLaneFromFiberToRoot = markUpdateLaneFromFiberToRoot;
14737          function markUpdateLaneFromFiberToRoot(sourceFiber, lane) {
14738            sourceFiber.lanes = mergeLanes(sourceFiber.lanes, lane);
14739            var alternate = sourceFiber.alternate;
14740            if (alternate !== null) {
14741              alternate.lanes = mergeLanes(alternate.lanes, lane);
14742            }
14743            {
14744              if (alternate === null && (sourceFiber.flags & (Placement | Hydrating)) !== NoFlags) {
14745                warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber);
14746              }
14747            }
14748            var node2 = sourceFiber;
14749            var parent = sourceFiber.return;
14750            while (parent !== null) {
14751              parent.childLanes = mergeLanes(parent.childLanes, lane);
14752              alternate = parent.alternate;
14753              if (alternate !== null) {
14754                alternate.childLanes = mergeLanes(alternate.childLanes, lane);
14755              } else {
14756                {
14757                  if ((parent.flags & (Placement | Hydrating)) !== NoFlags) {
14758                    warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber);
14759                  }
14760                }
14761              }
14762              node2 = parent;
14763              parent = parent.return;
14764            }
14765            if (node2.tag === HostRoot) {
14766              var root2 = node2.stateNode;
14767              return root2;
14768            } else {
14769              return null;
14770            }
14771          }
14772          var UpdateState = 0;
14773          var ReplaceState = 1;
14774          var ForceUpdate = 2;
14775          var CaptureUpdate = 3;
14776          var hasForceUpdate = false;
14777          var didWarnUpdateInsideUpdate;
14778          var currentlyProcessingQueue;
14779          {
14780            didWarnUpdateInsideUpdate = false;
14781            currentlyProcessingQueue = null;
14782          }
14783          function initializeUpdateQueue(fiber) {
14784            var queue = {
14785              baseState: fiber.memoizedState,
14786              firstBaseUpdate: null,
14787              lastBaseUpdate: null,
14788              shared: {
14789                pending: null,
14790                interleaved: null,
14791                lanes: NoLanes
14792              },
14793              effects: null
14794            };
14795            fiber.updateQueue = queue;
14796          }
14797          function cloneUpdateQueue(current2, workInProgress2) {
14798            var queue = workInProgress2.updateQueue;
14799            var currentQueue = current2.updateQueue;
14800            if (queue === currentQueue) {
14801              var clone = {
14802                baseState: currentQueue.baseState,
14803                firstBaseUpdate: currentQueue.firstBaseUpdate,
14804                lastBaseUpdate: currentQueue.lastBaseUpdate,
14805                shared: currentQueue.shared,
14806                effects: currentQueue.effects
14807              };
14808              workInProgress2.updateQueue = clone;
14809            }
14810          }
14811          function createUpdate(eventTime, lane) {
14812            var update2 = {
14813              eventTime,
14814              lane,
14815              tag: UpdateState,
14816              payload: null,
14817              callback: null,
14818              next: null
14819            };
14820            return update2;
14821          }
14822          function enqueueUpdate(fiber, update2, lane) {
14823            var updateQueue = fiber.updateQueue;
14824            if (updateQueue === null) {
14825              return null;
14826            }
14827            var sharedQueue = updateQueue.shared;
14828            {
14829              if (currentlyProcessingQueue === sharedQueue && !didWarnUpdateInsideUpdate) {
14830                error("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.");
14831                didWarnUpdateInsideUpdate = true;
14832              }
14833            }
14834            if (isUnsafeClassRenderPhaseUpdate()) {
14835              var pending = sharedQueue.pending;
14836              if (pending === null) {
14837                update2.next = update2;
14838              } else {
14839                update2.next = pending.next;
14840                pending.next = update2;
14841              }
14842              sharedQueue.pending = update2;
14843              return unsafe_markUpdateLaneFromFiberToRoot(fiber, lane);
14844            } else {
14845              return enqueueConcurrentClassUpdate(fiber, sharedQueue, update2, lane);
14846            }
14847          }
14848          function entangleTransitions(root2, fiber, lane) {
14849            var updateQueue = fiber.updateQueue;
14850            if (updateQueue === null) {
14851              return;
14852            }
14853            var sharedQueue = updateQueue.shared;
14854            if (isTransitionLane(lane)) {
14855              var queueLanes = sharedQueue.lanes;
14856              queueLanes = intersectLanes(queueLanes, root2.pendingLanes);
14857              var newQueueLanes = mergeLanes(queueLanes, lane);
14858              sharedQueue.lanes = newQueueLanes;
14859              markRootEntangled(root2, newQueueLanes);
14860            }
14861          }
14862          function enqueueCapturedUpdate(workInProgress2, capturedUpdate) {
14863            var queue = workInProgress2.updateQueue;
14864            var current2 = workInProgress2.alternate;
14865            if (current2 !== null) {
14866              var currentQueue = current2.updateQueue;
14867              if (queue === currentQueue) {
14868                var newFirst = null;
14869                var newLast = null;
14870                var firstBaseUpdate = queue.firstBaseUpdate;
14871                if (firstBaseUpdate !== null) {
14872                  var update2 = firstBaseUpdate;
14873                  do {
14874                    var clone = {
14875                      eventTime: update2.eventTime,
14876                      lane: update2.lane,
14877                      tag: update2.tag,
14878                      payload: update2.payload,
14879                      callback: update2.callback,
14880                      next: null
14881                    };
14882                    if (newLast === null) {
14883                      newFirst = newLast = clone;
14884                    } else {
14885                      newLast.next = clone;
14886                      newLast = clone;
14887                    }
14888                    update2 = update2.next;
14889                  } while (update2 !== null);
14890                  if (newLast === null) {
14891                    newFirst = newLast = capturedUpdate;
14892                  } else {
14893                    newLast.next = capturedUpdate;
14894                    newLast = capturedUpdate;
14895                  }
14896                } else {
14897                  newFirst = newLast = capturedUpdate;
14898                }
14899                queue = {
14900                  baseState: currentQueue.baseState,
14901                  firstBaseUpdate: newFirst,
14902                  lastBaseUpdate: newLast,
14903                  shared: currentQueue.shared,
14904                  effects: currentQueue.effects
14905                };
14906                workInProgress2.updateQueue = queue;
14907                return;
14908              }
14909            }
14910            var lastBaseUpdate = queue.lastBaseUpdate;
14911            if (lastBaseUpdate === null) {
14912              queue.firstBaseUpdate = capturedUpdate;
14913            } else {
14914              lastBaseUpdate.next = capturedUpdate;
14915            }
14916            queue.lastBaseUpdate = capturedUpdate;
14917          }
14918          function getStateFromUpdate(workInProgress2, queue, update2, prevState, nextProps, instance) {
14919            switch (update2.tag) {
14920              case ReplaceState: {
14921                var payload = update2.payload;
14922                if (typeof payload === "function") {
14923                  {
14924                    enterDisallowedContextReadInDEV();
14925                  }
14926                  var nextState = payload.call(instance, prevState, nextProps);
14927                  {
14928                    if (workInProgress2.mode & StrictLegacyMode) {
14929                      setIsStrictModeForDevtools(true);
14930                      try {
14931                        payload.call(instance, prevState, nextProps);
14932                      } finally {
14933                        setIsStrictModeForDevtools(false);
14934                      }
14935                    }
14936                    exitDisallowedContextReadInDEV();
14937                  }
14938                  return nextState;
14939                }
14940                return payload;
14941              }
14942              case CaptureUpdate: {
14943                workInProgress2.flags = workInProgress2.flags & ~ShouldCapture | DidCapture;
14944              }
14945              // Intentional fallthrough
14946              case UpdateState: {
14947                var _payload = update2.payload;
14948                var partialState;
14949                if (typeof _payload === "function") {
14950                  {
14951                    enterDisallowedContextReadInDEV();
14952                  }
14953                  partialState = _payload.call(instance, prevState, nextProps);
14954                  {
14955                    if (workInProgress2.mode & StrictLegacyMode) {
14956                      setIsStrictModeForDevtools(true);
14957                      try {
14958                        _payload.call(instance, prevState, nextProps);
14959                      } finally {
14960                        setIsStrictModeForDevtools(false);
14961                      }
14962                    }
14963                    exitDisallowedContextReadInDEV();
14964                  }
14965                } else {
14966                  partialState = _payload;
14967                }
14968                if (partialState === null || partialState === void 0) {
14969                  return prevState;
14970                }
14971                return assign3({}, prevState, partialState);
14972              }
14973              case ForceUpdate: {
14974                hasForceUpdate = true;
14975                return prevState;
14976              }
14977            }
14978            return prevState;
14979          }
14980          function processUpdateQueue(workInProgress2, props, instance, renderLanes2) {
14981            var queue = workInProgress2.updateQueue;
14982            hasForceUpdate = false;
14983            {
14984              currentlyProcessingQueue = queue.shared;
14985            }
14986            var firstBaseUpdate = queue.firstBaseUpdate;
14987            var lastBaseUpdate = queue.lastBaseUpdate;
14988            var pendingQueue = queue.shared.pending;
14989            if (pendingQueue !== null) {
14990              queue.shared.pending = null;
14991              var lastPendingUpdate = pendingQueue;
14992              var firstPendingUpdate = lastPendingUpdate.next;
14993              lastPendingUpdate.next = null;
14994              if (lastBaseUpdate === null) {
14995                firstBaseUpdate = firstPendingUpdate;
14996              } else {
14997                lastBaseUpdate.next = firstPendingUpdate;
14998              }
14999              lastBaseUpdate = lastPendingUpdate;
15000              var current2 = workInProgress2.alternate;
15001              if (current2 !== null) {
15002                var currentQueue = current2.updateQueue;
15003                var currentLastBaseUpdate = currentQueue.lastBaseUpdate;
15004                if (currentLastBaseUpdate !== lastBaseUpdate) {
15005                  if (currentLastBaseUpdate === null) {
15006                    currentQueue.firstBaseUpdate = firstPendingUpdate;
15007                  } else {
15008                    currentLastBaseUpdate.next = firstPendingUpdate;
15009                  }
15010                  currentQueue.lastBaseUpdate = lastPendingUpdate;
15011                }
15012              }
15013            }
15014            if (firstBaseUpdate !== null) {
15015              var newState = queue.baseState;
15016              var newLanes = NoLanes;
15017              var newBaseState = null;
15018              var newFirstBaseUpdate = null;
15019              var newLastBaseUpdate = null;
15020              var update2 = firstBaseUpdate;
15021              do {
15022                var updateLane = update2.lane;
15023                var updateEventTime = update2.eventTime;
15024                if (!isSubsetOfLanes(renderLanes2, updateLane)) {
15025                  var clone = {
15026                    eventTime: updateEventTime,
15027                    lane: updateLane,
15028                    tag: update2.tag,
15029                    payload: update2.payload,
15030                    callback: update2.callback,
15031                    next: null
15032                  };
15033                  if (newLastBaseUpdate === null) {
15034                    newFirstBaseUpdate = newLastBaseUpdate = clone;
15035                    newBaseState = newState;
15036                  } else {
15037                    newLastBaseUpdate = newLastBaseUpdate.next = clone;
15038                  }
15039                  newLanes = mergeLanes(newLanes, updateLane);
15040                } else {
15041                  if (newLastBaseUpdate !== null) {
15042                    var _clone = {
15043                      eventTime: updateEventTime,
15044                      // This update is going to be committed so we never want uncommit
15045                      // it. Using NoLane works because 0 is a subset of all bitmasks, so
15046                      // this will never be skipped by the check above.
15047                      lane: NoLane,
15048                      tag: update2.tag,
15049                      payload: update2.payload,
15050                      callback: update2.callback,
15051                      next: null
15052                    };
15053                    newLastBaseUpdate = newLastBaseUpdate.next = _clone;
15054                  }
15055                  newState = getStateFromUpdate(workInProgress2, queue, update2, newState, props, instance);
15056                  var callback = update2.callback;
15057                  if (callback !== null && // If the update was already committed, we should not queue its
15058                  // callback again.
15059                  update2.lane !== NoLane) {
15060                    workInProgress2.flags |= Callback;
15061                    var effects = queue.effects;
15062                    if (effects === null) {
15063                      queue.effects = [update2];
15064                    } else {
15065                      effects.push(update2);
15066                    }
15067                  }
15068                }
15069                update2 = update2.next;
15070                if (update2 === null) {
15071                  pendingQueue = queue.shared.pending;
15072                  if (pendingQueue === null) {
15073                    break;
15074                  } else {
15075                    var _lastPendingUpdate = pendingQueue;
15076                    var _firstPendingUpdate = _lastPendingUpdate.next;
15077                    _lastPendingUpdate.next = null;
15078                    update2 = _firstPendingUpdate;
15079                    queue.lastBaseUpdate = _lastPendingUpdate;
15080                    queue.shared.pending = null;
15081                  }
15082                }
15083              } while (true);
15084              if (newLastBaseUpdate === null) {
15085                newBaseState = newState;
15086              }
15087              queue.baseState = newBaseState;
15088              queue.firstBaseUpdate = newFirstBaseUpdate;
15089              queue.lastBaseUpdate = newLastBaseUpdate;
15090              var lastInterleaved = queue.shared.interleaved;
15091              if (lastInterleaved !== null) {
15092                var interleaved = lastInterleaved;
15093                do {
15094                  newLanes = mergeLanes(newLanes, interleaved.lane);
15095                  interleaved = interleaved.next;
15096                } while (interleaved !== lastInterleaved);
15097              } else if (firstBaseUpdate === null) {
15098                queue.shared.lanes = NoLanes;
15099              }
15100              markSkippedUpdateLanes(newLanes);
15101              workInProgress2.lanes = newLanes;
15102              workInProgress2.memoizedState = newState;
15103            }
15104            {
15105              currentlyProcessingQueue = null;
15106            }
15107          }
15108          function callCallback(callback, context) {
15109            if (typeof callback !== "function") {
15110              throw new Error("Invalid argument passed as callback. Expected a function. Instead " + ("received: " + callback));
15111            }
15112            callback.call(context);
15113          }
15114          function resetHasForceUpdateBeforeProcessing() {
15115            hasForceUpdate = false;
15116          }
15117          function checkHasForceUpdateAfterProcessing() {
15118            return hasForceUpdate;
15119          }
15120          function commitUpdateQueue(finishedWork, finishedQueue, instance) {
15121            var effects = finishedQueue.effects;
15122            finishedQueue.effects = null;
15123            if (effects !== null) {
15124              for (var i2 = 0; i2 < effects.length; i2++) {
15125                var effect = effects[i2];
15126                var callback = effect.callback;
15127                if (callback !== null) {
15128                  effect.callback = null;
15129                  callCallback(callback, instance);
15130                }
15131              }
15132            }
15133          }
15134          var NO_CONTEXT = {};
15135          var contextStackCursor$1 = createCursor(NO_CONTEXT);
15136          var contextFiberStackCursor = createCursor(NO_CONTEXT);
15137          var rootInstanceStackCursor = createCursor(NO_CONTEXT);
15138          function requiredContext(c) {
15139            if (c === NO_CONTEXT) {
15140              throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");
15141            }
15142            return c;
15143          }
15144          function getRootHostContainer() {
15145            var rootInstance = requiredContext(rootInstanceStackCursor.current);
15146            return rootInstance;
15147          }
15148          function pushHostContainer(fiber, nextRootInstance) {
15149            push(rootInstanceStackCursor, nextRootInstance, fiber);
15150            push(contextFiberStackCursor, fiber, fiber);
15151            push(contextStackCursor$1, NO_CONTEXT, fiber);
15152            var nextRootContext = getRootHostContext(nextRootInstance);
15153            pop(contextStackCursor$1, fiber);
15154            push(contextStackCursor$1, nextRootContext, fiber);
15155          }
15156          function popHostContainer(fiber) {
15157            pop(contextStackCursor$1, fiber);
15158            pop(contextFiberStackCursor, fiber);
15159            pop(rootInstanceStackCursor, fiber);
15160          }
15161          function getHostContext() {
15162            var context = requiredContext(contextStackCursor$1.current);
15163            return context;
15164          }
15165          function pushHostContext(fiber) {
15166            var rootInstance = requiredContext(rootInstanceStackCursor.current);
15167            var context = requiredContext(contextStackCursor$1.current);
15168            var nextContext = getChildHostContext(context, fiber.type);
15169            if (context === nextContext) {
15170              return;
15171            }
15172            push(contextFiberStackCursor, fiber, fiber);
15173            push(contextStackCursor$1, nextContext, fiber);
15174          }
15175          function popHostContext(fiber) {
15176            if (contextFiberStackCursor.current !== fiber) {
15177              return;
15178            }
15179            pop(contextStackCursor$1, fiber);
15180            pop(contextFiberStackCursor, fiber);
15181          }
15182          var DefaultSuspenseContext = 0;
15183          var SubtreeSuspenseContextMask = 1;
15184          var InvisibleParentSuspenseContext = 1;
15185          var ForceSuspenseFallback = 2;
15186          var suspenseStackCursor = createCursor(DefaultSuspenseContext);
15187          function hasSuspenseContext(parentContext, flag) {
15188            return (parentContext & flag) !== 0;
15189          }
15190          function setDefaultShallowSuspenseContext(parentContext) {
15191            return parentContext & SubtreeSuspenseContextMask;
15192          }
15193          function setShallowSuspenseContext(parentContext, shallowContext) {
15194            return parentContext & SubtreeSuspenseContextMask | shallowContext;
15195          }
15196          function addSubtreeSuspenseContext(parentContext, subtreeContext) {
15197            return parentContext | subtreeContext;
15198          }
15199          function pushSuspenseContext(fiber, newContext) {
15200            push(suspenseStackCursor, newContext, fiber);
15201          }
15202          function popSuspenseContext(fiber) {
15203            pop(suspenseStackCursor, fiber);
15204          }
15205          function shouldCaptureSuspense(workInProgress2, hasInvisibleParent) {
15206            var nextState = workInProgress2.memoizedState;
15207            if (nextState !== null) {
15208              if (nextState.dehydrated !== null) {
15209                return true;
15210              }
15211              return false;
15212            }
15213            var props = workInProgress2.memoizedProps;
15214            {
15215              return true;
15216            }
15217          }
15218          function findFirstSuspended(row) {
15219            var node2 = row;
15220            while (node2 !== null) {
15221              if (node2.tag === SuspenseComponent) {
15222                var state = node2.memoizedState;
15223                if (state !== null) {
15224                  var dehydrated = state.dehydrated;
15225                  if (dehydrated === null || isSuspenseInstancePending(dehydrated) || isSuspenseInstanceFallback(dehydrated)) {
15226                    return node2;
15227                  }
15228                }
15229              } else if (node2.tag === SuspenseListComponent && // revealOrder undefined can't be trusted because it don't
15230              // keep track of whether it suspended or not.
15231              node2.memoizedProps.revealOrder !== void 0) {
15232                var didSuspend = (node2.flags & DidCapture) !== NoFlags;
15233                if (didSuspend) {
15234                  return node2;
15235                }
15236              } else if (node2.child !== null) {
15237                node2.child.return = node2;
15238                node2 = node2.child;
15239                continue;
15240              }
15241              if (node2 === row) {
15242                return null;
15243              }
15244              while (node2.sibling === null) {
15245                if (node2.return === null || node2.return === row) {
15246                  return null;
15247                }
15248                node2 = node2.return;
15249              }
15250              node2.sibling.return = node2.return;
15251              node2 = node2.sibling;
15252            }
15253            return null;
15254          }
15255          var NoFlags$1 = (
15256            /*   */
15257            0
15258          );
15259          var HasEffect = (
15260            /* */
15261            1
15262          );
15263          var Insertion3 = (
15264            /*  */
15265            2
15266          );
15267          var Layout = (
15268            /*    */
15269            4
15270          );
15271          var Passive$1 = (
15272            /*   */
15273            8
15274          );
15275          var workInProgressSources = [];
15276          function resetWorkInProgressVersions() {
15277            for (var i2 = 0; i2 < workInProgressSources.length; i2++) {
15278              var mutableSource = workInProgressSources[i2];
15279              {
15280                mutableSource._workInProgressVersionPrimary = null;
15281              }
15282            }
15283            workInProgressSources.length = 0;
15284          }
15285          function registerMutableSourceForHydration(root2, mutableSource) {
15286            var getVersion = mutableSource._getVersion;
15287            var version = getVersion(mutableSource._source);
15288            if (root2.mutableSourceEagerHydrationData == null) {
15289              root2.mutableSourceEagerHydrationData = [mutableSource, version];
15290            } else {
15291              root2.mutableSourceEagerHydrationData.push(mutableSource, version);
15292            }
15293          }
15294          var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher, ReactCurrentBatchConfig$2 = ReactSharedInternals.ReactCurrentBatchConfig;
15295          var didWarnAboutMismatchedHooksForComponent;
15296          var didWarnUncachedGetSnapshot;
15297          {
15298            didWarnAboutMismatchedHooksForComponent = /* @__PURE__ */ new Set();
15299          }
15300          var renderLanes = NoLanes;
15301          var currentlyRenderingFiber$1 = null;
15302          var currentHook = null;
15303          var workInProgressHook = null;
15304          var didScheduleRenderPhaseUpdate = false;
15305          var didScheduleRenderPhaseUpdateDuringThisPass = false;
15306          var localIdCounter = 0;
15307          var globalClientIdCounter = 0;
15308          var RE_RENDER_LIMIT = 25;
15309          var currentHookNameInDev = null;
15310          var hookTypesDev = null;
15311          var hookTypesUpdateIndexDev = -1;
15312          var ignorePreviousDependencies = false;
15313          function mountHookTypesDev() {
15314            {
15315              var hookName = currentHookNameInDev;
15316              if (hookTypesDev === null) {
15317                hookTypesDev = [hookName];
15318              } else {
15319                hookTypesDev.push(hookName);
15320              }
15321            }
15322          }
15323          function updateHookTypesDev() {
15324            {
15325              var hookName = currentHookNameInDev;
15326              if (hookTypesDev !== null) {
15327                hookTypesUpdateIndexDev++;
15328                if (hookTypesDev[hookTypesUpdateIndexDev] !== hookName) {
15329                  warnOnHookMismatchInDev(hookName);
15330                }
15331              }
15332            }
15333          }
15334          function checkDepsAreArrayDev(deps) {
15335            {
15336              if (deps !== void 0 && deps !== null && !isArray3(deps)) {
15337                error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.", currentHookNameInDev, typeof deps);
15338              }
15339            }
15340          }
15341          function warnOnHookMismatchInDev(currentHookName) {
15342            {
15343              var componentName = getComponentNameFromFiber(currentlyRenderingFiber$1);
15344              if (!didWarnAboutMismatchedHooksForComponent.has(componentName)) {
15345                didWarnAboutMismatchedHooksForComponent.add(componentName);
15346                if (hookTypesDev !== null) {
15347                  var table = "";
15348                  var secondColumnStart = 30;
15349                  for (var i2 = 0; i2 <= hookTypesUpdateIndexDev; i2++) {
15350                    var oldHookName = hookTypesDev[i2];
15351                    var newHookName = i2 === hookTypesUpdateIndexDev ? currentHookName : oldHookName;
15352                    var row = i2 + 1 + ". " + oldHookName;
15353                    while (row.length < secondColumnStart) {
15354                      row += " ";
15355                    }
15356                    row += newHookName + "\n";
15357                    table += row;
15358                  }
15359                  error("React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n   Previous render            Next render\n   ------------------------------------------------------\n%s   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", componentName, table);
15360                }
15361              }
15362            }
15363          }
15364          function throwInvalidHookError() {
15365            throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");
15366          }
15367          function areHookInputsEqual(nextDeps, prevDeps) {
15368            {
15369              if (ignorePreviousDependencies) {
15370                return false;
15371              }
15372            }
15373            if (prevDeps === null) {
15374              {
15375                error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.", currentHookNameInDev);
15376              }
15377              return false;
15378            }
15379            {
15380              if (nextDeps.length !== prevDeps.length) {
15381                error("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s", currentHookNameInDev, "[" + prevDeps.join(", ") + "]", "[" + nextDeps.join(", ") + "]");
15382              }
15383            }
15384            for (var i2 = 0; i2 < prevDeps.length && i2 < nextDeps.length; i2++) {
15385              if (objectIs(nextDeps[i2], prevDeps[i2])) {
15386                continue;
15387              }
15388              return false;
15389            }
15390            return true;
15391          }
15392          function renderWithHooks(current2, workInProgress2, Component2, props, secondArg, nextRenderLanes) {
15393            renderLanes = nextRenderLanes;
15394            currentlyRenderingFiber$1 = workInProgress2;
15395            {
15396              hookTypesDev = current2 !== null ? current2._debugHookTypes : null;
15397              hookTypesUpdateIndexDev = -1;
15398              ignorePreviousDependencies = current2 !== null && current2.type !== workInProgress2.type;
15399            }
15400            workInProgress2.memoizedState = null;
15401            workInProgress2.updateQueue = null;
15402            workInProgress2.lanes = NoLanes;
15403            {
15404              if (current2 !== null && current2.memoizedState !== null) {
15405                ReactCurrentDispatcher$1.current = HooksDispatcherOnUpdateInDEV;
15406              } else if (hookTypesDev !== null) {
15407                ReactCurrentDispatcher$1.current = HooksDispatcherOnMountWithHookTypesInDEV;
15408              } else {
15409                ReactCurrentDispatcher$1.current = HooksDispatcherOnMountInDEV;
15410              }
15411            }
15412            var children = Component2(props, secondArg);
15413            if (didScheduleRenderPhaseUpdateDuringThisPass) {
15414              var numberOfReRenders = 0;
15415              do {
15416                didScheduleRenderPhaseUpdateDuringThisPass = false;
15417                localIdCounter = 0;
15418                if (numberOfReRenders >= RE_RENDER_LIMIT) {
15419                  throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");
15420                }
15421                numberOfReRenders += 1;
15422                {
15423                  ignorePreviousDependencies = false;
15424                }
15425                currentHook = null;
15426                workInProgressHook = null;
15427                workInProgress2.updateQueue = null;
15428                {
15429                  hookTypesUpdateIndexDev = -1;
15430                }
15431                ReactCurrentDispatcher$1.current = HooksDispatcherOnRerenderInDEV;
15432                children = Component2(props, secondArg);
15433              } while (didScheduleRenderPhaseUpdateDuringThisPass);
15434            }
15435            ReactCurrentDispatcher$1.current = ContextOnlyDispatcher;
15436            {
15437              workInProgress2._debugHookTypes = hookTypesDev;
15438            }
15439            var didRenderTooFewHooks = currentHook !== null && currentHook.next !== null;
15440            renderLanes = NoLanes;
15441            currentlyRenderingFiber$1 = null;
15442            currentHook = null;
15443            workInProgressHook = null;
15444            {
15445              currentHookNameInDev = null;
15446              hookTypesDev = null;
15447              hookTypesUpdateIndexDev = -1;
15448              if (current2 !== null && (current2.flags & StaticMask) !== (workInProgress2.flags & StaticMask) && // Disable this warning in legacy mode, because legacy Suspense is weird
15449              // and creates false positives. To make this work in legacy mode, we'd
15450              // need to mark fibers that commit in an incomplete state, somehow. For
15451              // now I'll disable the warning that most of the bugs that would trigger
15452              // it are either exclusive to concurrent mode or exist in both.
15453              (current2.mode & ConcurrentMode) !== NoMode) {
15454                error("Internal React error: Expected static flag was missing. Please notify the React team.");
15455              }
15456            }
15457            didScheduleRenderPhaseUpdate = false;
15458            if (didRenderTooFewHooks) {
15459              throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");
15460            }
15461            return children;
15462          }
15463          function checkDidRenderIdHook() {
15464            var didRenderIdHook = localIdCounter !== 0;
15465            localIdCounter = 0;
15466            return didRenderIdHook;
15467          }
15468          function bailoutHooks(current2, workInProgress2, lanes) {
15469            workInProgress2.updateQueue = current2.updateQueue;
15470            if ((workInProgress2.mode & StrictEffectsMode) !== NoMode) {
15471              workInProgress2.flags &= ~(MountPassiveDev | MountLayoutDev | Passive | Update);
15472            } else {
15473              workInProgress2.flags &= ~(Passive | Update);
15474            }
15475            current2.lanes = removeLanes(current2.lanes, lanes);
15476          }
15477          function resetHooksAfterThrow() {
15478            ReactCurrentDispatcher$1.current = ContextOnlyDispatcher;
15479            if (didScheduleRenderPhaseUpdate) {
15480              var hook = currentlyRenderingFiber$1.memoizedState;
15481              while (hook !== null) {
15482                var queue = hook.queue;
15483                if (queue !== null) {
15484                  queue.pending = null;
15485                }
15486                hook = hook.next;
15487              }
15488              didScheduleRenderPhaseUpdate = false;
15489            }
15490            renderLanes = NoLanes;
15491            currentlyRenderingFiber$1 = null;
15492            currentHook = null;
15493            workInProgressHook = null;
15494            {
15495              hookTypesDev = null;
15496              hookTypesUpdateIndexDev = -1;
15497              currentHookNameInDev = null;
15498              isUpdatingOpaqueValueInRenderPhase = false;
15499            }
15500            didScheduleRenderPhaseUpdateDuringThisPass = false;
15501            localIdCounter = 0;
15502          }
15503          function mountWorkInProgressHook() {
15504            var hook = {
15505              memoizedState: null,
15506              baseState: null,
15507              baseQueue: null,
15508              queue: null,
15509              next: null
15510            };
15511            if (workInProgressHook === null) {
15512              currentlyRenderingFiber$1.memoizedState = workInProgressHook = hook;
15513            } else {
15514              workInProgressHook = workInProgressHook.next = hook;
15515            }
15516            return workInProgressHook;
15517          }
15518          function updateWorkInProgressHook() {
15519            var nextCurrentHook;
15520            if (currentHook === null) {
15521              var current2 = currentlyRenderingFiber$1.alternate;
15522              if (current2 !== null) {
15523                nextCurrentHook = current2.memoizedState;
15524              } else {
15525                nextCurrentHook = null;
15526              }
15527            } else {
15528              nextCurrentHook = currentHook.next;
15529            }
15530            var nextWorkInProgressHook;
15531            if (workInProgressHook === null) {
15532              nextWorkInProgressHook = currentlyRenderingFiber$1.memoizedState;
15533            } else {
15534              nextWorkInProgressHook = workInProgressHook.next;
15535            }
15536            if (nextWorkInProgressHook !== null) {
15537              workInProgressHook = nextWorkInProgressHook;
15538              nextWorkInProgressHook = workInProgressHook.next;
15539              currentHook = nextCurrentHook;
15540            } else {
15541              if (nextCurrentHook === null) {
15542                throw new Error("Rendered more hooks than during the previous render.");
15543              }
15544              currentHook = nextCurrentHook;
15545              var newHook = {
15546                memoizedState: currentHook.memoizedState,
15547                baseState: currentHook.baseState,
15548                baseQueue: currentHook.baseQueue,
15549                queue: currentHook.queue,
15550                next: null
15551              };
15552              if (workInProgressHook === null) {
15553                currentlyRenderingFiber$1.memoizedState = workInProgressHook = newHook;
15554              } else {
15555                workInProgressHook = workInProgressHook.next = newHook;
15556              }
15557            }
15558            return workInProgressHook;
15559          }
15560          function createFunctionComponentUpdateQueue() {
15561            return {
15562              lastEffect: null,
15563              stores: null
15564            };
15565          }
15566          function basicStateReducer(state, action) {
15567            return typeof action === "function" ? action(state) : action;
15568          }
15569          function mountReducer(reducer, initialArg, init3) {
15570            var hook = mountWorkInProgressHook();
15571            var initialState;
15572            if (init3 !== void 0) {
15573              initialState = init3(initialArg);
15574            } else {
15575              initialState = initialArg;
15576            }
15577            hook.memoizedState = hook.baseState = initialState;
15578            var queue = {
15579              pending: null,
15580              interleaved: null,
15581              lanes: NoLanes,
15582              dispatch: null,
15583              lastRenderedReducer: reducer,
15584              lastRenderedState: initialState
15585            };
15586            hook.queue = queue;
15587            var dispatch = queue.dispatch = dispatchReducerAction.bind(null, currentlyRenderingFiber$1, queue);
15588            return [hook.memoizedState, dispatch];
15589          }
15590          function updateReducer(reducer, initialArg, init3) {
15591            var hook = updateWorkInProgressHook();
15592            var queue = hook.queue;
15593            if (queue === null) {
15594              throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");
15595            }
15596            queue.lastRenderedReducer = reducer;
15597            var current2 = currentHook;
15598            var baseQueue = current2.baseQueue;
15599            var pendingQueue = queue.pending;
15600            if (pendingQueue !== null) {
15601              if (baseQueue !== null) {
15602                var baseFirst = baseQueue.next;
15603                var pendingFirst = pendingQueue.next;
15604                baseQueue.next = pendingFirst;
15605                pendingQueue.next = baseFirst;
15606              }
15607              {
15608                if (current2.baseQueue !== baseQueue) {
15609                  error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React.");
15610                }
15611              }
15612              current2.baseQueue = baseQueue = pendingQueue;
15613              queue.pending = null;
15614            }
15615            if (baseQueue !== null) {
15616              var first = baseQueue.next;
15617              var newState = current2.baseState;
15618              var newBaseState = null;
15619              var newBaseQueueFirst = null;
15620              var newBaseQueueLast = null;
15621              var update2 = first;
15622              do {
15623                var updateLane = update2.lane;
15624                if (!isSubsetOfLanes(renderLanes, updateLane)) {
15625                  var clone = {
15626                    lane: updateLane,
15627                    action: update2.action,
15628                    hasEagerState: update2.hasEagerState,
15629                    eagerState: update2.eagerState,
15630                    next: null
15631                  };
15632                  if (newBaseQueueLast === null) {
15633                    newBaseQueueFirst = newBaseQueueLast = clone;
15634                    newBaseState = newState;
15635                  } else {
15636                    newBaseQueueLast = newBaseQueueLast.next = clone;
15637                  }
15638                  currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, updateLane);
15639                  markSkippedUpdateLanes(updateLane);
15640                } else {
15641                  if (newBaseQueueLast !== null) {
15642                    var _clone = {
15643                      // This update is going to be committed so we never want uncommit
15644                      // it. Using NoLane works because 0 is a subset of all bitmasks, so
15645                      // this will never be skipped by the check above.
15646                      lane: NoLane,
15647                      action: update2.action,
15648                      hasEagerState: update2.hasEagerState,
15649                      eagerState: update2.eagerState,
15650                      next: null
15651                    };
15652                    newBaseQueueLast = newBaseQueueLast.next = _clone;
15653                  }
15654                  if (update2.hasEagerState) {
15655                    newState = update2.eagerState;
15656                  } else {
15657                    var action = update2.action;
15658                    newState = reducer(newState, action);
15659                  }
15660                }
15661                update2 = update2.next;
15662              } while (update2 !== null && update2 !== first);
15663              if (newBaseQueueLast === null) {
15664                newBaseState = newState;
15665              } else {
15666                newBaseQueueLast.next = newBaseQueueFirst;
15667              }
15668              if (!objectIs(newState, hook.memoizedState)) {
15669                markWorkInProgressReceivedUpdate();
15670              }
15671              hook.memoizedState = newState;
15672              hook.baseState = newBaseState;
15673              hook.baseQueue = newBaseQueueLast;
15674              queue.lastRenderedState = newState;
15675            }
15676            var lastInterleaved = queue.interleaved;
15677            if (lastInterleaved !== null) {
15678              var interleaved = lastInterleaved;
15679              do {
15680                var interleavedLane = interleaved.lane;
15681                currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, interleavedLane);
15682                markSkippedUpdateLanes(interleavedLane);
15683                interleaved = interleaved.next;
15684              } while (interleaved !== lastInterleaved);
15685            } else if (baseQueue === null) {
15686              queue.lanes = NoLanes;
15687            }
15688            var dispatch = queue.dispatch;
15689            return [hook.memoizedState, dispatch];
15690          }
15691          function rerenderReducer(reducer, initialArg, init3) {
15692            var hook = updateWorkInProgressHook();
15693            var queue = hook.queue;
15694            if (queue === null) {
15695              throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");
15696            }
15697            queue.lastRenderedReducer = reducer;
15698            var dispatch = queue.dispatch;
15699            var lastRenderPhaseUpdate = queue.pending;
15700            var newState = hook.memoizedState;
15701            if (lastRenderPhaseUpdate !== null) {
15702              queue.pending = null;
15703              var firstRenderPhaseUpdate = lastRenderPhaseUpdate.next;
15704              var update2 = firstRenderPhaseUpdate;
15705              do {
15706                var action = update2.action;
15707                newState = reducer(newState, action);
15708                update2 = update2.next;
15709              } while (update2 !== firstRenderPhaseUpdate);
15710              if (!objectIs(newState, hook.memoizedState)) {
15711                markWorkInProgressReceivedUpdate();
15712              }
15713              hook.memoizedState = newState;
15714              if (hook.baseQueue === null) {
15715                hook.baseState = newState;
15716              }
15717              queue.lastRenderedState = newState;
15718            }
15719            return [newState, dispatch];
15720          }
15721          function mountMutableSource(source, getSnapshot, subscribe) {
15722            {
15723              return void 0;
15724            }
15725          }
15726          function updateMutableSource(source, getSnapshot, subscribe) {
15727            {
15728              return void 0;
15729            }
15730          }
15731          function mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
15732            var fiber = currentlyRenderingFiber$1;
15733            var hook = mountWorkInProgressHook();
15734            var nextSnapshot;
15735            var isHydrating2 = getIsHydrating();
15736            if (isHydrating2) {
15737              if (getServerSnapshot === void 0) {
15738                throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");
15739              }
15740              nextSnapshot = getServerSnapshot();
15741              {
15742                if (!didWarnUncachedGetSnapshot) {
15743                  if (nextSnapshot !== getServerSnapshot()) {
15744                    error("The result of getServerSnapshot should be cached to avoid an infinite loop");
15745                    didWarnUncachedGetSnapshot = true;
15746                  }
15747                }
15748              }
15749            } else {
15750              nextSnapshot = getSnapshot();
15751              {
15752                if (!didWarnUncachedGetSnapshot) {
15753                  var cachedSnapshot = getSnapshot();
15754                  if (!objectIs(nextSnapshot, cachedSnapshot)) {
15755                    error("The result of getSnapshot should be cached to avoid an infinite loop");
15756                    didWarnUncachedGetSnapshot = true;
15757                  }
15758                }
15759              }
15760              var root2 = getWorkInProgressRoot();
15761              if (root2 === null) {
15762                throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");
15763              }
15764              if (!includesBlockingLane(root2, renderLanes)) {
15765                pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);
15766              }
15767            }
15768            hook.memoizedState = nextSnapshot;
15769            var inst = {
15770              value: nextSnapshot,
15771              getSnapshot
15772            };
15773            hook.queue = inst;
15774            mountEffect(subscribeToStore.bind(null, fiber, inst, subscribe), [subscribe]);
15775            fiber.flags |= Passive;
15776            pushEffect(HasEffect | Passive$1, updateStoreInstance.bind(null, fiber, inst, nextSnapshot, getSnapshot), void 0, null);
15777            return nextSnapshot;
15778          }
15779          function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
15780            var fiber = currentlyRenderingFiber$1;
15781            var hook = updateWorkInProgressHook();
15782            var nextSnapshot = getSnapshot();
15783            {
15784              if (!didWarnUncachedGetSnapshot) {
15785                var cachedSnapshot = getSnapshot();
15786                if (!objectIs(nextSnapshot, cachedSnapshot)) {
15787                  error("The result of getSnapshot should be cached to avoid an infinite loop");
15788                  didWarnUncachedGetSnapshot = true;
15789                }
15790              }
15791            }
15792            var prevSnapshot = hook.memoizedState;
15793            var snapshotChanged = !objectIs(prevSnapshot, nextSnapshot);
15794            if (snapshotChanged) {
15795              hook.memoizedState = nextSnapshot;
15796              markWorkInProgressReceivedUpdate();
15797            }
15798            var inst = hook.queue;
15799            updateEffect(subscribeToStore.bind(null, fiber, inst, subscribe), [subscribe]);
15800            if (inst.getSnapshot !== getSnapshot || snapshotChanged || // Check if the susbcribe function changed. We can save some memory by
15801            // checking whether we scheduled a subscription effect above.
15802            workInProgressHook !== null && workInProgressHook.memoizedState.tag & HasEffect) {
15803              fiber.flags |= Passive;
15804              pushEffect(HasEffect | Passive$1, updateStoreInstance.bind(null, fiber, inst, nextSnapshot, getSnapshot), void 0, null);
15805              var root2 = getWorkInProgressRoot();
15806              if (root2 === null) {
15807                throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");
15808              }
15809              if (!includesBlockingLane(root2, renderLanes)) {
15810                pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);
15811              }
15812            }
15813            return nextSnapshot;
15814          }
15815          function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) {
15816            fiber.flags |= StoreConsistency;
15817            var check = {
15818              getSnapshot,
15819              value: renderedSnapshot
15820            };
15821            var componentUpdateQueue = currentlyRenderingFiber$1.updateQueue;
15822            if (componentUpdateQueue === null) {
15823              componentUpdateQueue = createFunctionComponentUpdateQueue();
15824              currentlyRenderingFiber$1.updateQueue = componentUpdateQueue;
15825              componentUpdateQueue.stores = [check];
15826            } else {
15827              var stores = componentUpdateQueue.stores;
15828              if (stores === null) {
15829                componentUpdateQueue.stores = [check];
15830              } else {
15831                stores.push(check);
15832              }
15833            }
15834          }
15835          function updateStoreInstance(fiber, inst, nextSnapshot, getSnapshot) {
15836            inst.value = nextSnapshot;
15837            inst.getSnapshot = getSnapshot;
15838            if (checkIfSnapshotChanged(inst)) {
15839              forceStoreRerender(fiber);
15840            }
15841          }
15842          function subscribeToStore(fiber, inst, subscribe) {
15843            var handleStoreChange = function() {
15844              if (checkIfSnapshotChanged(inst)) {
15845                forceStoreRerender(fiber);
15846              }
15847            };
15848            return subscribe(handleStoreChange);
15849          }
15850          function checkIfSnapshotChanged(inst) {
15851            var latestGetSnapshot = inst.getSnapshot;
15852            var prevValue = inst.value;
15853            try {
15854              var nextValue = latestGetSnapshot();
15855              return !objectIs(prevValue, nextValue);
15856            } catch (error2) {
15857              return true;
15858            }
15859          }
15860          function forceStoreRerender(fiber) {
15861            var root2 = enqueueConcurrentRenderForLane(fiber, SyncLane);
15862            if (root2 !== null) {
15863              scheduleUpdateOnFiber(root2, fiber, SyncLane, NoTimestamp);
15864            }
15865          }
15866          function mountState(initialState) {
15867            var hook = mountWorkInProgressHook();
15868            if (typeof initialState === "function") {
15869              initialState = initialState();
15870            }
15871            hook.memoizedState = hook.baseState = initialState;
15872            var queue = {
15873              pending: null,
15874              interleaved: null,
15875              lanes: NoLanes,
15876              dispatch: null,
15877              lastRenderedReducer: basicStateReducer,
15878              lastRenderedState: initialState
15879            };
15880            hook.queue = queue;
15881            var dispatch = queue.dispatch = dispatchSetState.bind(null, currentlyRenderingFiber$1, queue);
15882            return [hook.memoizedState, dispatch];
15883          }
15884          function updateState(initialState) {
15885            return updateReducer(basicStateReducer);
15886          }
15887          function rerenderState(initialState) {
15888            return rerenderReducer(basicStateReducer);
15889          }
15890          function pushEffect(tag, create2, destroy, deps) {
15891            var effect = {
15892              tag,
15893              create: create2,
15894              destroy,
15895              deps,
15896              // Circular
15897              next: null
15898            };
15899            var componentUpdateQueue = currentlyRenderingFiber$1.updateQueue;
15900            if (componentUpdateQueue === null) {
15901              componentUpdateQueue = createFunctionComponentUpdateQueue();
15902              currentlyRenderingFiber$1.updateQueue = componentUpdateQueue;
15903              componentUpdateQueue.lastEffect = effect.next = effect;
15904            } else {
15905              var lastEffect = componentUpdateQueue.lastEffect;
15906              if (lastEffect === null) {
15907                componentUpdateQueue.lastEffect = effect.next = effect;
15908              } else {
15909                var firstEffect = lastEffect.next;
15910                lastEffect.next = effect;
15911                effect.next = firstEffect;
15912                componentUpdateQueue.lastEffect = effect;
15913              }
15914            }
15915            return effect;
15916          }
15917          function mountRef(initialValue) {
15918            var hook = mountWorkInProgressHook();
15919            {
15920              var _ref23 = {
15921                current: initialValue
15922              };
15923              hook.memoizedState = _ref23;
15924              return _ref23;
15925            }
15926          }
15927          function updateRef(initialValue) {
15928            var hook = updateWorkInProgressHook();
15929            return hook.memoizedState;
15930          }
15931          function mountEffectImpl(fiberFlags, hookFlags, create2, deps) {
15932            var hook = mountWorkInProgressHook();
15933            var nextDeps = deps === void 0 ? null : deps;
15934            currentlyRenderingFiber$1.flags |= fiberFlags;
15935            hook.memoizedState = pushEffect(HasEffect | hookFlags, create2, void 0, nextDeps);
15936          }
15937          function updateEffectImpl(fiberFlags, hookFlags, create2, deps) {
15938            var hook = updateWorkInProgressHook();
15939            var nextDeps = deps === void 0 ? null : deps;
15940            var destroy = void 0;
15941            if (currentHook !== null) {
15942              var prevEffect = currentHook.memoizedState;
15943              destroy = prevEffect.destroy;
15944              if (nextDeps !== null) {
15945                var prevDeps = prevEffect.deps;
15946                if (areHookInputsEqual(nextDeps, prevDeps)) {
15947                  hook.memoizedState = pushEffect(hookFlags, create2, destroy, nextDeps);
15948                  return;
15949                }
15950              }
15951            }
15952            currentlyRenderingFiber$1.flags |= fiberFlags;
15953            hook.memoizedState = pushEffect(HasEffect | hookFlags, create2, destroy, nextDeps);
15954          }
15955          function mountEffect(create2, deps) {
15956            if ((currentlyRenderingFiber$1.mode & StrictEffectsMode) !== NoMode) {
15957              return mountEffectImpl(MountPassiveDev | Passive | PassiveStatic, Passive$1, create2, deps);
15958            } else {
15959              return mountEffectImpl(Passive | PassiveStatic, Passive$1, create2, deps);
15960            }
15961          }
15962          function updateEffect(create2, deps) {
15963            return updateEffectImpl(Passive, Passive$1, create2, deps);
15964          }
15965          function mountInsertionEffect(create2, deps) {
15966            return mountEffectImpl(Update, Insertion3, create2, deps);
15967          }
15968          function updateInsertionEffect(create2, deps) {
15969            return updateEffectImpl(Update, Insertion3, create2, deps);
15970          }
15971          function mountLayoutEffect(create2, deps) {
15972            var fiberFlags = Update;
15973            {
15974              fiberFlags |= LayoutStatic;
15975            }
15976            if ((currentlyRenderingFiber$1.mode & StrictEffectsMode) !== NoMode) {
15977              fiberFlags |= MountLayoutDev;
15978            }
15979            return mountEffectImpl(fiberFlags, Layout, create2, deps);
15980          }
15981          function updateLayoutEffect(create2, deps) {
15982            return updateEffectImpl(Update, Layout, create2, deps);
15983          }
15984          function imperativeHandleEffect(create2, ref) {
15985            if (typeof ref === "function") {
15986              var refCallback = ref;
15987              var _inst = create2();
15988              refCallback(_inst);
15989              return function() {
15990                refCallback(null);
15991              };
15992            } else if (ref !== null && ref !== void 0) {
15993              var refObject = ref;
15994              {
15995                if (!refObject.hasOwnProperty("current")) {
15996                  error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.", "an object with keys {" + Object.keys(refObject).join(", ") + "}");
15997                }
15998              }
15999              var _inst2 = create2();
16000              refObject.current = _inst2;
16001              return function() {
16002                refObject.current = null;
16003              };
16004            }
16005          }
16006          function mountImperativeHandle(ref, create2, deps) {
16007            {
16008              if (typeof create2 !== "function") {
16009                error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.", create2 !== null ? typeof create2 : "null");
16010              }
16011            }
16012            var effectDeps = deps !== null && deps !== void 0 ? deps.concat([ref]) : null;
16013            var fiberFlags = Update;
16014            {
16015              fiberFlags |= LayoutStatic;
16016            }
16017            if ((currentlyRenderingFiber$1.mode & StrictEffectsMode) !== NoMode) {
16018              fiberFlags |= MountLayoutDev;
16019            }
16020            return mountEffectImpl(fiberFlags, Layout, imperativeHandleEffect.bind(null, create2, ref), effectDeps);
16021          }
16022          function updateImperativeHandle(ref, create2, deps) {
16023            {
16024              if (typeof create2 !== "function") {
16025                error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.", create2 !== null ? typeof create2 : "null");
16026              }
16027            }
16028            var effectDeps = deps !== null && deps !== void 0 ? deps.concat([ref]) : null;
16029            return updateEffectImpl(Update, Layout, imperativeHandleEffect.bind(null, create2, ref), effectDeps);
16030          }
16031          function mountDebugValue(value, formatterFn) {
16032          }
16033          var updateDebugValue = mountDebugValue;
16034          function mountCallback(callback, deps) {
16035            var hook = mountWorkInProgressHook();
16036            var nextDeps = deps === void 0 ? null : deps;
16037            hook.memoizedState = [callback, nextDeps];
16038            return callback;
16039          }
16040          function updateCallback(callback, deps) {
16041            var hook = updateWorkInProgressHook();
16042            var nextDeps = deps === void 0 ? null : deps;
16043            var prevState = hook.memoizedState;
16044            if (prevState !== null) {
16045              if (nextDeps !== null) {
16046                var prevDeps = prevState[1];
16047                if (areHookInputsEqual(nextDeps, prevDeps)) {
16048                  return prevState[0];
16049                }
16050              }
16051            }
16052            hook.memoizedState = [callback, nextDeps];
16053            return callback;
16054          }
16055          function mountMemo(nextCreate, deps) {
16056            var hook = mountWorkInProgressHook();
16057            var nextDeps = deps === void 0 ? null : deps;
16058            var nextValue = nextCreate();
16059            hook.memoizedState = [nextValue, nextDeps];
16060            return nextValue;
16061          }
16062          function updateMemo(nextCreate, deps) {
16063            var hook = updateWorkInProgressHook();
16064            var nextDeps = deps === void 0 ? null : deps;
16065            var prevState = hook.memoizedState;
16066            if (prevState !== null) {
16067              if (nextDeps !== null) {
16068                var prevDeps = prevState[1];
16069                if (areHookInputsEqual(nextDeps, prevDeps)) {
16070                  return prevState[0];
16071                }
16072              }
16073            }
16074            var nextValue = nextCreate();
16075            hook.memoizedState = [nextValue, nextDeps];
16076            return nextValue;
16077          }
16078          function mountDeferredValue(value) {
16079            var hook = mountWorkInProgressHook();
16080            hook.memoizedState = value;
16081            return value;
16082          }
16083          function updateDeferredValue(value) {
16084            var hook = updateWorkInProgressHook();
16085            var resolvedCurrentHook = currentHook;
16086            var prevValue = resolvedCurrentHook.memoizedState;
16087            return updateDeferredValueImpl(hook, prevValue, value);
16088          }
16089          function rerenderDeferredValue(value) {
16090            var hook = updateWorkInProgressHook();
16091            if (currentHook === null) {
16092              hook.memoizedState = value;
16093              return value;
16094            } else {
16095              var prevValue = currentHook.memoizedState;
16096              return updateDeferredValueImpl(hook, prevValue, value);
16097            }
16098          }
16099          function updateDeferredValueImpl(hook, prevValue, value) {
16100            var shouldDeferValue = !includesOnlyNonUrgentLanes(renderLanes);
16101            if (shouldDeferValue) {
16102              if (!objectIs(value, prevValue)) {
16103                var deferredLane = claimNextTransitionLane();
16104                currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, deferredLane);
16105                markSkippedUpdateLanes(deferredLane);
16106                hook.baseState = true;
16107              }
16108              return prevValue;
16109            } else {
16110              if (hook.baseState) {
16111                hook.baseState = false;
16112                markWorkInProgressReceivedUpdate();
16113              }
16114              hook.memoizedState = value;
16115              return value;
16116            }
16117          }
16118          function startTransition(setPending, callback, options3) {
16119            var previousPriority = getCurrentUpdatePriority();
16120            setCurrentUpdatePriority(higherEventPriority(previousPriority, ContinuousEventPriority));
16121            setPending(true);
16122            var prevTransition = ReactCurrentBatchConfig$2.transition;
16123            ReactCurrentBatchConfig$2.transition = {};
16124            var currentTransition = ReactCurrentBatchConfig$2.transition;
16125            {
16126              ReactCurrentBatchConfig$2.transition._updatedFibers = /* @__PURE__ */ new Set();
16127            }
16128            try {
16129              setPending(false);
16130              callback();
16131            } finally {
16132              setCurrentUpdatePriority(previousPriority);
16133              ReactCurrentBatchConfig$2.transition = prevTransition;
16134              {
16135                if (prevTransition === null && currentTransition._updatedFibers) {
16136                  var updatedFibersCount = currentTransition._updatedFibers.size;
16137                  if (updatedFibersCount > 10) {
16138                    warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.");
16139                  }
16140                  currentTransition._updatedFibers.clear();
16141                }
16142              }
16143            }
16144          }
16145          function mountTransition() {
16146            var _mountState = mountState(false), isPending = _mountState[0], setPending = _mountState[1];
16147            var start = startTransition.bind(null, setPending);
16148            var hook = mountWorkInProgressHook();
16149            hook.memoizedState = start;
16150            return [isPending, start];
16151          }
16152          function updateTransition() {
16153            var _updateState = updateState(), isPending = _updateState[0];
16154            var hook = updateWorkInProgressHook();
16155            var start = hook.memoizedState;
16156            return [isPending, start];
16157          }
16158          function rerenderTransition() {
16159            var _rerenderState = rerenderState(), isPending = _rerenderState[0];
16160            var hook = updateWorkInProgressHook();
16161            var start = hook.memoizedState;
16162            return [isPending, start];
16163          }
16164          var isUpdatingOpaqueValueInRenderPhase = false;
16165          function getIsUpdatingOpaqueValueInRenderPhaseInDEV() {
16166            {
16167              return isUpdatingOpaqueValueInRenderPhase;
16168            }
16169          }
16170          function mountId() {
16171            var hook = mountWorkInProgressHook();
16172            var root2 = getWorkInProgressRoot();
16173            var identifierPrefix = root2.identifierPrefix;
16174            var id;
16175            if (getIsHydrating()) {
16176              var treeId = getTreeId();
16177              id = ":" + identifierPrefix + "R" + treeId;
16178              var localId = localIdCounter++;
16179              if (localId > 0) {
16180                id += "H" + localId.toString(32);
16181              }
16182              id += ":";
16183            } else {
16184              var globalClientId = globalClientIdCounter++;
16185              id = ":" + identifierPrefix + "r" + globalClientId.toString(32) + ":";
16186            }
16187            hook.memoizedState = id;
16188            return id;
16189          }
16190          function updateId() {
16191            var hook = updateWorkInProgressHook();
16192            var id = hook.memoizedState;
16193            return id;
16194          }
16195          function dispatchReducerAction(fiber, queue, action) {
16196            {
16197              if (typeof arguments[3] === "function") {
16198                error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");
16199              }
16200            }
16201            var lane = requestUpdateLane(fiber);
16202            var update2 = {
16203              lane,
16204              action,
16205              hasEagerState: false,
16206              eagerState: null,
16207              next: null
16208            };
16209            if (isRenderPhaseUpdate(fiber)) {
16210              enqueueRenderPhaseUpdate(queue, update2);
16211            } else {
16212              var root2 = enqueueConcurrentHookUpdate(fiber, queue, update2, lane);
16213              if (root2 !== null) {
16214                var eventTime = requestEventTime();
16215                scheduleUpdateOnFiber(root2, fiber, lane, eventTime);
16216                entangleTransitionUpdate(root2, queue, lane);
16217              }
16218            }
16219            markUpdateInDevTools(fiber, lane);
16220          }
16221          function dispatchSetState(fiber, queue, action) {
16222            {
16223              if (typeof arguments[3] === "function") {
16224                error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");
16225              }
16226            }
16227            var lane = requestUpdateLane(fiber);
16228            var update2 = {
16229              lane,
16230              action,
16231              hasEagerState: false,
16232              eagerState: null,
16233              next: null
16234            };
16235            if (isRenderPhaseUpdate(fiber)) {
16236              enqueueRenderPhaseUpdate(queue, update2);
16237            } else {
16238              var alternate = fiber.alternate;
16239              if (fiber.lanes === NoLanes && (alternate === null || alternate.lanes === NoLanes)) {
16240                var lastRenderedReducer = queue.lastRenderedReducer;
16241                if (lastRenderedReducer !== null) {
16242                  var prevDispatcher;
16243                  {
16244                    prevDispatcher = ReactCurrentDispatcher$1.current;
16245                    ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;
16246                  }
16247                  try {
16248                    var currentState = queue.lastRenderedState;
16249                    var eagerState = lastRenderedReducer(currentState, action);
16250                    update2.hasEagerState = true;
16251                    update2.eagerState = eagerState;
16252                    if (objectIs(eagerState, currentState)) {
16253                      enqueueConcurrentHookUpdateAndEagerlyBailout(fiber, queue, update2, lane);
16254                      return;
16255                    }
16256                  } catch (error2) {
16257                  } finally {
16258                    {
16259                      ReactCurrentDispatcher$1.current = prevDispatcher;
16260                    }
16261                  }
16262                }
16263              }
16264              var root2 = enqueueConcurrentHookUpdate(fiber, queue, update2, lane);
16265              if (root2 !== null) {
16266                var eventTime = requestEventTime();
16267                scheduleUpdateOnFiber(root2, fiber, lane, eventTime);
16268                entangleTransitionUpdate(root2, queue, lane);
16269              }
16270            }
16271            markUpdateInDevTools(fiber, lane);
16272          }
16273          function isRenderPhaseUpdate(fiber) {
16274            var alternate = fiber.alternate;
16275            return fiber === currentlyRenderingFiber$1 || alternate !== null && alternate === currentlyRenderingFiber$1;
16276          }
16277          function enqueueRenderPhaseUpdate(queue, update2) {
16278            didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate = true;
16279            var pending = queue.pending;
16280            if (pending === null) {
16281              update2.next = update2;
16282            } else {
16283              update2.next = pending.next;
16284              pending.next = update2;
16285            }
16286            queue.pending = update2;
16287          }
16288          function entangleTransitionUpdate(root2, queue, lane) {
16289            if (isTransitionLane(lane)) {
16290              var queueLanes = queue.lanes;
16291              queueLanes = intersectLanes(queueLanes, root2.pendingLanes);
16292              var newQueueLanes = mergeLanes(queueLanes, lane);
16293              queue.lanes = newQueueLanes;
16294              markRootEntangled(root2, newQueueLanes);
16295            }
16296          }
16297          function markUpdateInDevTools(fiber, lane, action) {
16298            {
16299              markStateUpdateScheduled(fiber, lane);
16300            }
16301          }
16302          var ContextOnlyDispatcher = {
16303            readContext,
16304            useCallback: throwInvalidHookError,
16305            useContext: throwInvalidHookError,
16306            useEffect: throwInvalidHookError,
16307            useImperativeHandle: throwInvalidHookError,
16308            useInsertionEffect: throwInvalidHookError,
16309            useLayoutEffect: throwInvalidHookError,
16310            useMemo: throwInvalidHookError,
16311            useReducer: throwInvalidHookError,
16312            useRef: throwInvalidHookError,
16313            useState: throwInvalidHookError,
16314            useDebugValue: throwInvalidHookError,
16315            useDeferredValue: throwInvalidHookError,
16316            useTransition: throwInvalidHookError,
16317            useMutableSource: throwInvalidHookError,
16318            useSyncExternalStore: throwInvalidHookError,
16319            useId: throwInvalidHookError,
16320            unstable_isNewReconciler: enableNewReconciler
16321          };
16322          var HooksDispatcherOnMountInDEV = null;
16323          var HooksDispatcherOnMountWithHookTypesInDEV = null;
16324          var HooksDispatcherOnUpdateInDEV = null;
16325          var HooksDispatcherOnRerenderInDEV = null;
16326          var InvalidNestedHooksDispatcherOnMountInDEV = null;
16327          var InvalidNestedHooksDispatcherOnUpdateInDEV = null;
16328          var InvalidNestedHooksDispatcherOnRerenderInDEV = null;
16329          {
16330            var warnInvalidContextAccess = function() {
16331              error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");
16332            };
16333            var warnInvalidHookAccess = function() {
16334              error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks");
16335            };
16336            HooksDispatcherOnMountInDEV = {
16337              readContext: function(context) {
16338                return readContext(context);
16339              },
16340              useCallback: function(callback, deps) {
16341                currentHookNameInDev = "useCallback";
16342                mountHookTypesDev();
16343                checkDepsAreArrayDev(deps);
16344                return mountCallback(callback, deps);
16345              },
16346              useContext: function(context) {
16347                currentHookNameInDev = "useContext";
16348                mountHookTypesDev();
16349                return readContext(context);
16350              },
16351              useEffect: function(create2, deps) {
16352                currentHookNameInDev = "useEffect";
16353                mountHookTypesDev();
16354                checkDepsAreArrayDev(deps);
16355                return mountEffect(create2, deps);
16356              },
16357              useImperativeHandle: function(ref, create2, deps) {
16358                currentHookNameInDev = "useImperativeHandle";
16359                mountHookTypesDev();
16360                checkDepsAreArrayDev(deps);
16361                return mountImperativeHandle(ref, create2, deps);
16362              },
16363              useInsertionEffect: function(create2, deps) {
16364                currentHookNameInDev = "useInsertionEffect";
16365                mountHookTypesDev();
16366                checkDepsAreArrayDev(deps);
16367                return mountInsertionEffect(create2, deps);
16368              },
16369              useLayoutEffect: function(create2, deps) {
16370                currentHookNameInDev = "useLayoutEffect";
16371                mountHookTypesDev();
16372                checkDepsAreArrayDev(deps);
16373                return mountLayoutEffect(create2, deps);
16374              },
16375              useMemo: function(create2, deps) {
16376                currentHookNameInDev = "useMemo";
16377                mountHookTypesDev();
16378                checkDepsAreArrayDev(deps);
16379                var prevDispatcher = ReactCurrentDispatcher$1.current;
16380                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;
16381                try {
16382                  return mountMemo(create2, deps);
16383                } finally {
16384                  ReactCurrentDispatcher$1.current = prevDispatcher;
16385                }
16386              },
16387              useReducer: function(reducer, initialArg, init3) {
16388                currentHookNameInDev = "useReducer";
16389                mountHookTypesDev();
16390                var prevDispatcher = ReactCurrentDispatcher$1.current;
16391                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;
16392                try {
16393                  return mountReducer(reducer, initialArg, init3);
16394                } finally {
16395                  ReactCurrentDispatcher$1.current = prevDispatcher;
16396                }
16397              },
16398              useRef: function(initialValue) {
16399                currentHookNameInDev = "useRef";
16400                mountHookTypesDev();
16401                return mountRef(initialValue);
16402              },
16403              useState: function(initialState) {
16404                currentHookNameInDev = "useState";
16405                mountHookTypesDev();
16406                var prevDispatcher = ReactCurrentDispatcher$1.current;
16407                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;
16408                try {
16409                  return mountState(initialState);
16410                } finally {
16411                  ReactCurrentDispatcher$1.current = prevDispatcher;
16412                }
16413              },
16414              useDebugValue: function(value, formatterFn) {
16415                currentHookNameInDev = "useDebugValue";
16416                mountHookTypesDev();
16417                return mountDebugValue();
16418              },
16419              useDeferredValue: function(value) {
16420                currentHookNameInDev = "useDeferredValue";
16421                mountHookTypesDev();
16422                return mountDeferredValue(value);
16423              },
16424              useTransition: function() {
16425                currentHookNameInDev = "useTransition";
16426                mountHookTypesDev();
16427                return mountTransition();
16428              },
16429              useMutableSource: function(source, getSnapshot, subscribe) {
16430                currentHookNameInDev = "useMutableSource";
16431                mountHookTypesDev();
16432                return mountMutableSource();
16433              },
16434              useSyncExternalStore: function(subscribe, getSnapshot, getServerSnapshot) {
16435                currentHookNameInDev = "useSyncExternalStore";
16436                mountHookTypesDev();
16437                return mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
16438              },
16439              useId: function() {
16440                currentHookNameInDev = "useId";
16441                mountHookTypesDev();
16442                return mountId();
16443              },
16444              unstable_isNewReconciler: enableNewReconciler
16445            };
16446            HooksDispatcherOnMountWithHookTypesInDEV = {
16447              readContext: function(context) {
16448                return readContext(context);
16449              },
16450              useCallback: function(callback, deps) {
16451                currentHookNameInDev = "useCallback";
16452                updateHookTypesDev();
16453                return mountCallback(callback, deps);
16454              },
16455              useContext: function(context) {
16456                currentHookNameInDev = "useContext";
16457                updateHookTypesDev();
16458                return readContext(context);
16459              },
16460              useEffect: function(create2, deps) {
16461                currentHookNameInDev = "useEffect";
16462                updateHookTypesDev();
16463                return mountEffect(create2, deps);
16464              },
16465              useImperativeHandle: function(ref, create2, deps) {
16466                currentHookNameInDev = "useImperativeHandle";
16467                updateHookTypesDev();
16468                return mountImperativeHandle(ref, create2, deps);
16469              },
16470              useInsertionEffect: function(create2, deps) {
16471                currentHookNameInDev = "useInsertionEffect";
16472                updateHookTypesDev();
16473                return mountInsertionEffect(create2, deps);
16474              },
16475              useLayoutEffect: function(create2, deps) {
16476                currentHookNameInDev = "useLayoutEffect";
16477                updateHookTypesDev();
16478                return mountLayoutEffect(create2, deps);
16479              },
16480              useMemo: function(create2, deps) {
16481                currentHookNameInDev = "useMemo";
16482                updateHookTypesDev();
16483                var prevDispatcher = ReactCurrentDispatcher$1.current;
16484                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;
16485                try {
16486                  return mountMemo(create2, deps);
16487                } finally {
16488                  ReactCurrentDispatcher$1.current = prevDispatcher;
16489                }
16490              },
16491              useReducer: function(reducer, initialArg, init3) {
16492                currentHookNameInDev = "useReducer";
16493                updateHookTypesDev();
16494                var prevDispatcher = ReactCurrentDispatcher$1.current;
16495                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;
16496                try {
16497                  return mountReducer(reducer, initialArg, init3);
16498                } finally {
16499                  ReactCurrentDispatcher$1.current = prevDispatcher;
16500                }
16501              },
16502              useRef: function(initialValue) {
16503                currentHookNameInDev = "useRef";
16504                updateHookTypesDev();
16505                return mountRef(initialValue);
16506              },
16507              useState: function(initialState) {
16508                currentHookNameInDev = "useState";
16509                updateHookTypesDev();
16510                var prevDispatcher = ReactCurrentDispatcher$1.current;
16511                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;
16512                try {
16513                  return mountState(initialState);
16514                } finally {
16515                  ReactCurrentDispatcher$1.current = prevDispatcher;
16516                }
16517              },
16518              useDebugValue: function(value, formatterFn) {
16519                currentHookNameInDev = "useDebugValue";
16520                updateHookTypesDev();
16521                return mountDebugValue();
16522              },
16523              useDeferredValue: function(value) {
16524                currentHookNameInDev = "useDeferredValue";
16525                updateHookTypesDev();
16526                return mountDeferredValue(value);
16527              },
16528              useTransition: function() {
16529                currentHookNameInDev = "useTransition";
16530                updateHookTypesDev();
16531                return mountTransition();
16532              },
16533              useMutableSource: function(source, getSnapshot, subscribe) {
16534                currentHookNameInDev = "useMutableSource";
16535                updateHookTypesDev();
16536                return mountMutableSource();
16537              },
16538              useSyncExternalStore: function(subscribe, getSnapshot, getServerSnapshot) {
16539                currentHookNameInDev = "useSyncExternalStore";
16540                updateHookTypesDev();
16541                return mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
16542              },
16543              useId: function() {
16544                currentHookNameInDev = "useId";
16545                updateHookTypesDev();
16546                return mountId();
16547              },
16548              unstable_isNewReconciler: enableNewReconciler
16549            };
16550            HooksDispatcherOnUpdateInDEV = {
16551              readContext: function(context) {
16552                return readContext(context);
16553              },
16554              useCallback: function(callback, deps) {
16555                currentHookNameInDev = "useCallback";
16556                updateHookTypesDev();
16557                return updateCallback(callback, deps);
16558              },
16559              useContext: function(context) {
16560                currentHookNameInDev = "useContext";
16561                updateHookTypesDev();
16562                return readContext(context);
16563              },
16564              useEffect: function(create2, deps) {
16565                currentHookNameInDev = "useEffect";
16566                updateHookTypesDev();
16567                return updateEffect(create2, deps);
16568              },
16569              useImperativeHandle: function(ref, create2, deps) {
16570                currentHookNameInDev = "useImperativeHandle";
16571                updateHookTypesDev();
16572                return updateImperativeHandle(ref, create2, deps);
16573              },
16574              useInsertionEffect: function(create2, deps) {
16575                currentHookNameInDev = "useInsertionEffect";
16576                updateHookTypesDev();
16577                return updateInsertionEffect(create2, deps);
16578              },
16579              useLayoutEffect: function(create2, deps) {
16580                currentHookNameInDev = "useLayoutEffect";
16581                updateHookTypesDev();
16582                return updateLayoutEffect(create2, deps);
16583              },
16584              useMemo: function(create2, deps) {
16585                currentHookNameInDev = "useMemo";
16586                updateHookTypesDev();
16587                var prevDispatcher = ReactCurrentDispatcher$1.current;
16588                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;
16589                try {
16590                  return updateMemo(create2, deps);
16591                } finally {
16592                  ReactCurrentDispatcher$1.current = prevDispatcher;
16593                }
16594              },
16595              useReducer: function(reducer, initialArg, init3) {
16596                currentHookNameInDev = "useReducer";
16597                updateHookTypesDev();
16598                var prevDispatcher = ReactCurrentDispatcher$1.current;
16599                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;
16600                try {
16601                  return updateReducer(reducer, initialArg, init3);
16602                } finally {
16603                  ReactCurrentDispatcher$1.current = prevDispatcher;
16604                }
16605              },
16606              useRef: function(initialValue) {
16607                currentHookNameInDev = "useRef";
16608                updateHookTypesDev();
16609                return updateRef();
16610              },
16611              useState: function(initialState) {
16612                currentHookNameInDev = "useState";
16613                updateHookTypesDev();
16614                var prevDispatcher = ReactCurrentDispatcher$1.current;
16615                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;
16616                try {
16617                  return updateState(initialState);
16618                } finally {
16619                  ReactCurrentDispatcher$1.current = prevDispatcher;
16620                }
16621              },
16622              useDebugValue: function(value, formatterFn) {
16623                currentHookNameInDev = "useDebugValue";
16624                updateHookTypesDev();
16625                return updateDebugValue();
16626              },
16627              useDeferredValue: function(value) {
16628                currentHookNameInDev = "useDeferredValue";
16629                updateHookTypesDev();
16630                return updateDeferredValue(value);
16631              },
16632              useTransition: function() {
16633                currentHookNameInDev = "useTransition";
16634                updateHookTypesDev();
16635                return updateTransition();
16636              },
16637              useMutableSource: function(source, getSnapshot, subscribe) {
16638                currentHookNameInDev = "useMutableSource";
16639                updateHookTypesDev();
16640                return updateMutableSource();
16641              },
16642              useSyncExternalStore: function(subscribe, getSnapshot, getServerSnapshot) {
16643                currentHookNameInDev = "useSyncExternalStore";
16644                updateHookTypesDev();
16645                return updateSyncExternalStore(subscribe, getSnapshot);
16646              },
16647              useId: function() {
16648                currentHookNameInDev = "useId";
16649                updateHookTypesDev();
16650                return updateId();
16651              },
16652              unstable_isNewReconciler: enableNewReconciler
16653            };
16654            HooksDispatcherOnRerenderInDEV = {
16655              readContext: function(context) {
16656                return readContext(context);
16657              },
16658              useCallback: function(callback, deps) {
16659                currentHookNameInDev = "useCallback";
16660                updateHookTypesDev();
16661                return updateCallback(callback, deps);
16662              },
16663              useContext: function(context) {
16664                currentHookNameInDev = "useContext";
16665                updateHookTypesDev();
16666                return readContext(context);
16667              },
16668              useEffect: function(create2, deps) {
16669                currentHookNameInDev = "useEffect";
16670                updateHookTypesDev();
16671                return updateEffect(create2, deps);
16672              },
16673              useImperativeHandle: function(ref, create2, deps) {
16674                currentHookNameInDev = "useImperativeHandle";
16675                updateHookTypesDev();
16676                return updateImperativeHandle(ref, create2, deps);
16677              },
16678              useInsertionEffect: function(create2, deps) {
16679                currentHookNameInDev = "useInsertionEffect";
16680                updateHookTypesDev();
16681                return updateInsertionEffect(create2, deps);
16682              },
16683              useLayoutEffect: function(create2, deps) {
16684                currentHookNameInDev = "useLayoutEffect";
16685                updateHookTypesDev();
16686                return updateLayoutEffect(create2, deps);
16687              },
16688              useMemo: function(create2, deps) {
16689                currentHookNameInDev = "useMemo";
16690                updateHookTypesDev();
16691                var prevDispatcher = ReactCurrentDispatcher$1.current;
16692                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnRerenderInDEV;
16693                try {
16694                  return updateMemo(create2, deps);
16695                } finally {
16696                  ReactCurrentDispatcher$1.current = prevDispatcher;
16697                }
16698              },
16699              useReducer: function(reducer, initialArg, init3) {
16700                currentHookNameInDev = "useReducer";
16701                updateHookTypesDev();
16702                var prevDispatcher = ReactCurrentDispatcher$1.current;
16703                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnRerenderInDEV;
16704                try {
16705                  return rerenderReducer(reducer, initialArg, init3);
16706                } finally {
16707                  ReactCurrentDispatcher$1.current = prevDispatcher;
16708                }
16709              },
16710              useRef: function(initialValue) {
16711                currentHookNameInDev = "useRef";
16712                updateHookTypesDev();
16713                return updateRef();
16714              },
16715              useState: function(initialState) {
16716                currentHookNameInDev = "useState";
16717                updateHookTypesDev();
16718                var prevDispatcher = ReactCurrentDispatcher$1.current;
16719                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnRerenderInDEV;
16720                try {
16721                  return rerenderState(initialState);
16722                } finally {
16723                  ReactCurrentDispatcher$1.current = prevDispatcher;
16724                }
16725              },
16726              useDebugValue: function(value, formatterFn) {
16727                currentHookNameInDev = "useDebugValue";
16728                updateHookTypesDev();
16729                return updateDebugValue();
16730              },
16731              useDeferredValue: function(value) {
16732                currentHookNameInDev = "useDeferredValue";
16733                updateHookTypesDev();
16734                return rerenderDeferredValue(value);
16735              },
16736              useTransition: function() {
16737                currentHookNameInDev = "useTransition";
16738                updateHookTypesDev();
16739                return rerenderTransition();
16740              },
16741              useMutableSource: function(source, getSnapshot, subscribe) {
16742                currentHookNameInDev = "useMutableSource";
16743                updateHookTypesDev();
16744                return updateMutableSource();
16745              },
16746              useSyncExternalStore: function(subscribe, getSnapshot, getServerSnapshot) {
16747                currentHookNameInDev = "useSyncExternalStore";
16748                updateHookTypesDev();
16749                return updateSyncExternalStore(subscribe, getSnapshot);
16750              },
16751              useId: function() {
16752                currentHookNameInDev = "useId";
16753                updateHookTypesDev();
16754                return updateId();
16755              },
16756              unstable_isNewReconciler: enableNewReconciler
16757            };
16758            InvalidNestedHooksDispatcherOnMountInDEV = {
16759              readContext: function(context) {
16760                warnInvalidContextAccess();
16761                return readContext(context);
16762              },
16763              useCallback: function(callback, deps) {
16764                currentHookNameInDev = "useCallback";
16765                warnInvalidHookAccess();
16766                mountHookTypesDev();
16767                return mountCallback(callback, deps);
16768              },
16769              useContext: function(context) {
16770                currentHookNameInDev = "useContext";
16771                warnInvalidHookAccess();
16772                mountHookTypesDev();
16773                return readContext(context);
16774              },
16775              useEffect: function(create2, deps) {
16776                currentHookNameInDev = "useEffect";
16777                warnInvalidHookAccess();
16778                mountHookTypesDev();
16779                return mountEffect(create2, deps);
16780              },
16781              useImperativeHandle: function(ref, create2, deps) {
16782                currentHookNameInDev = "useImperativeHandle";
16783                warnInvalidHookAccess();
16784                mountHookTypesDev();
16785                return mountImperativeHandle(ref, create2, deps);
16786              },
16787              useInsertionEffect: function(create2, deps) {
16788                currentHookNameInDev = "useInsertionEffect";
16789                warnInvalidHookAccess();
16790                mountHookTypesDev();
16791                return mountInsertionEffect(create2, deps);
16792              },
16793              useLayoutEffect: function(create2, deps) {
16794                currentHookNameInDev = "useLayoutEffect";
16795                warnInvalidHookAccess();
16796                mountHookTypesDev();
16797                return mountLayoutEffect(create2, deps);
16798              },
16799              useMemo: function(create2, deps) {
16800                currentHookNameInDev = "useMemo";
16801                warnInvalidHookAccess();
16802                mountHookTypesDev();
16803                var prevDispatcher = ReactCurrentDispatcher$1.current;
16804                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;
16805                try {
16806                  return mountMemo(create2, deps);
16807                } finally {
16808                  ReactCurrentDispatcher$1.current = prevDispatcher;
16809                }
16810              },
16811              useReducer: function(reducer, initialArg, init3) {
16812                currentHookNameInDev = "useReducer";
16813                warnInvalidHookAccess();
16814                mountHookTypesDev();
16815                var prevDispatcher = ReactCurrentDispatcher$1.current;
16816                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;
16817                try {
16818                  return mountReducer(reducer, initialArg, init3);
16819                } finally {
16820                  ReactCurrentDispatcher$1.current = prevDispatcher;
16821                }
16822              },
16823              useRef: function(initialValue) {
16824                currentHookNameInDev = "useRef";
16825                warnInvalidHookAccess();
16826                mountHookTypesDev();
16827                return mountRef(initialValue);
16828              },
16829              useState: function(initialState) {
16830                currentHookNameInDev = "useState";
16831                warnInvalidHookAccess();
16832                mountHookTypesDev();
16833                var prevDispatcher = ReactCurrentDispatcher$1.current;
16834                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;
16835                try {
16836                  return mountState(initialState);
16837                } finally {
16838                  ReactCurrentDispatcher$1.current = prevDispatcher;
16839                }
16840              },
16841              useDebugValue: function(value, formatterFn) {
16842                currentHookNameInDev = "useDebugValue";
16843                warnInvalidHookAccess();
16844                mountHookTypesDev();
16845                return mountDebugValue();
16846              },
16847              useDeferredValue: function(value) {
16848                currentHookNameInDev = "useDeferredValue";
16849                warnInvalidHookAccess();
16850                mountHookTypesDev();
16851                return mountDeferredValue(value);
16852              },
16853              useTransition: function() {
16854                currentHookNameInDev = "useTransition";
16855                warnInvalidHookAccess();
16856                mountHookTypesDev();
16857                return mountTransition();
16858              },
16859              useMutableSource: function(source, getSnapshot, subscribe) {
16860                currentHookNameInDev = "useMutableSource";
16861                warnInvalidHookAccess();
16862                mountHookTypesDev();
16863                return mountMutableSource();
16864              },
16865              useSyncExternalStore: function(subscribe, getSnapshot, getServerSnapshot) {
16866                currentHookNameInDev = "useSyncExternalStore";
16867                warnInvalidHookAccess();
16868                mountHookTypesDev();
16869                return mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
16870              },
16871              useId: function() {
16872                currentHookNameInDev = "useId";
16873                warnInvalidHookAccess();
16874                mountHookTypesDev();
16875                return mountId();
16876              },
16877              unstable_isNewReconciler: enableNewReconciler
16878            };
16879            InvalidNestedHooksDispatcherOnUpdateInDEV = {
16880              readContext: function(context) {
16881                warnInvalidContextAccess();
16882                return readContext(context);
16883              },
16884              useCallback: function(callback, deps) {
16885                currentHookNameInDev = "useCallback";
16886                warnInvalidHookAccess();
16887                updateHookTypesDev();
16888                return updateCallback(callback, deps);
16889              },
16890              useContext: function(context) {
16891                currentHookNameInDev = "useContext";
16892                warnInvalidHookAccess();
16893                updateHookTypesDev();
16894                return readContext(context);
16895              },
16896              useEffect: function(create2, deps) {
16897                currentHookNameInDev = "useEffect";
16898                warnInvalidHookAccess();
16899                updateHookTypesDev();
16900                return updateEffect(create2, deps);
16901              },
16902              useImperativeHandle: function(ref, create2, deps) {
16903                currentHookNameInDev = "useImperativeHandle";
16904                warnInvalidHookAccess();
16905                updateHookTypesDev();
16906                return updateImperativeHandle(ref, create2, deps);
16907              },
16908              useInsertionEffect: function(create2, deps) {
16909                currentHookNameInDev = "useInsertionEffect";
16910                warnInvalidHookAccess();
16911                updateHookTypesDev();
16912                return updateInsertionEffect(create2, deps);
16913              },
16914              useLayoutEffect: function(create2, deps) {
16915                currentHookNameInDev = "useLayoutEffect";
16916                warnInvalidHookAccess();
16917                updateHookTypesDev();
16918                return updateLayoutEffect(create2, deps);
16919              },
16920              useMemo: function(create2, deps) {
16921                currentHookNameInDev = "useMemo";
16922                warnInvalidHookAccess();
16923                updateHookTypesDev();
16924                var prevDispatcher = ReactCurrentDispatcher$1.current;
16925                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;
16926                try {
16927                  return updateMemo(create2, deps);
16928                } finally {
16929                  ReactCurrentDispatcher$1.current = prevDispatcher;
16930                }
16931              },
16932              useReducer: function(reducer, initialArg, init3) {
16933                currentHookNameInDev = "useReducer";
16934                warnInvalidHookAccess();
16935                updateHookTypesDev();
16936                var prevDispatcher = ReactCurrentDispatcher$1.current;
16937                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;
16938                try {
16939                  return updateReducer(reducer, initialArg, init3);
16940                } finally {
16941                  ReactCurrentDispatcher$1.current = prevDispatcher;
16942                }
16943              },
16944              useRef: function(initialValue) {
16945                currentHookNameInDev = "useRef";
16946                warnInvalidHookAccess();
16947                updateHookTypesDev();
16948                return updateRef();
16949              },
16950              useState: function(initialState) {
16951                currentHookNameInDev = "useState";
16952                warnInvalidHookAccess();
16953                updateHookTypesDev();
16954                var prevDispatcher = ReactCurrentDispatcher$1.current;
16955                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;
16956                try {
16957                  return updateState(initialState);
16958                } finally {
16959                  ReactCurrentDispatcher$1.current = prevDispatcher;
16960                }
16961              },
16962              useDebugValue: function(value, formatterFn) {
16963                currentHookNameInDev = "useDebugValue";
16964                warnInvalidHookAccess();
16965                updateHookTypesDev();
16966                return updateDebugValue();
16967              },
16968              useDeferredValue: function(value) {
16969                currentHookNameInDev = "useDeferredValue";
16970                warnInvalidHookAccess();
16971                updateHookTypesDev();
16972                return updateDeferredValue(value);
16973              },
16974              useTransition: function() {
16975                currentHookNameInDev = "useTransition";
16976                warnInvalidHookAccess();
16977                updateHookTypesDev();
16978                return updateTransition();
16979              },
16980              useMutableSource: function(source, getSnapshot, subscribe) {
16981                currentHookNameInDev = "useMutableSource";
16982                warnInvalidHookAccess();
16983                updateHookTypesDev();
16984                return updateMutableSource();
16985              },
16986              useSyncExternalStore: function(subscribe, getSnapshot, getServerSnapshot) {
16987                currentHookNameInDev = "useSyncExternalStore";
16988                warnInvalidHookAccess();
16989                updateHookTypesDev();
16990                return updateSyncExternalStore(subscribe, getSnapshot);
16991              },
16992              useId: function() {
16993                currentHookNameInDev = "useId";
16994                warnInvalidHookAccess();
16995                updateHookTypesDev();
16996                return updateId();
16997              },
16998              unstable_isNewReconciler: enableNewReconciler
16999            };
17000            InvalidNestedHooksDispatcherOnRerenderInDEV = {
17001              readContext: function(context) {
17002                warnInvalidContextAccess();
17003                return readContext(context);
17004              },
17005              useCallback: function(callback, deps) {
17006                currentHookNameInDev = "useCallback";
17007                warnInvalidHookAccess();
17008                updateHookTypesDev();
17009                return updateCallback(callback, deps);
17010              },
17011              useContext: function(context) {
17012                currentHookNameInDev = "useContext";
17013                warnInvalidHookAccess();
17014                updateHookTypesDev();
17015                return readContext(context);
17016              },
17017              useEffect: function(create2, deps) {
17018                currentHookNameInDev = "useEffect";
17019                warnInvalidHookAccess();
17020                updateHookTypesDev();
17021                return updateEffect(create2, deps);
17022              },
17023              useImperativeHandle: function(ref, create2, deps) {
17024                currentHookNameInDev = "useImperativeHandle";
17025                warnInvalidHookAccess();
17026                updateHookTypesDev();
17027                return updateImperativeHandle(ref, create2, deps);
17028              },
17029              useInsertionEffect: function(create2, deps) {
17030                currentHookNameInDev = "useInsertionEffect";
17031                warnInvalidHookAccess();
17032                updateHookTypesDev();
17033                return updateInsertionEffect(create2, deps);
17034              },
17035              useLayoutEffect: function(create2, deps) {
17036                currentHookNameInDev = "useLayoutEffect";
17037                warnInvalidHookAccess();
17038                updateHookTypesDev();
17039                return updateLayoutEffect(create2, deps);
17040              },
17041              useMemo: function(create2, deps) {
17042                currentHookNameInDev = "useMemo";
17043                warnInvalidHookAccess();
17044                updateHookTypesDev();
17045                var prevDispatcher = ReactCurrentDispatcher$1.current;
17046                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;
17047                try {
17048                  return updateMemo(create2, deps);
17049                } finally {
17050                  ReactCurrentDispatcher$1.current = prevDispatcher;
17051                }
17052              },
17053              useReducer: function(reducer, initialArg, init3) {
17054                currentHookNameInDev = "useReducer";
17055                warnInvalidHookAccess();
17056                updateHookTypesDev();
17057                var prevDispatcher = ReactCurrentDispatcher$1.current;
17058                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;
17059                try {
17060                  return rerenderReducer(reducer, initialArg, init3);
17061                } finally {
17062                  ReactCurrentDispatcher$1.current = prevDispatcher;
17063                }
17064              },
17065              useRef: function(initialValue) {
17066                currentHookNameInDev = "useRef";
17067                warnInvalidHookAccess();
17068                updateHookTypesDev();
17069                return updateRef();
17070              },
17071              useState: function(initialState) {
17072                currentHookNameInDev = "useState";
17073                warnInvalidHookAccess();
17074                updateHookTypesDev();
17075                var prevDispatcher = ReactCurrentDispatcher$1.current;
17076                ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;
17077                try {
17078                  return rerenderState(initialState);
17079                } finally {
17080                  ReactCurrentDispatcher$1.current = prevDispatcher;
17081                }
17082              },
17083              useDebugValue: function(value, formatterFn) {
17084                currentHookNameInDev = "useDebugValue";
17085                warnInvalidHookAccess();
17086                updateHookTypesDev();
17087                return updateDebugValue();
17088              },
17089              useDeferredValue: function(value) {
17090                currentHookNameInDev = "useDeferredValue";
17091                warnInvalidHookAccess();
17092                updateHookTypesDev();
17093                return rerenderDeferredValue(value);
17094              },
17095              useTransition: function() {
17096                currentHookNameInDev = "useTransition";
17097                warnInvalidHookAccess();
17098                updateHookTypesDev();
17099                return rerenderTransition();
17100              },
17101              useMutableSource: function(source, getSnapshot, subscribe) {
17102                currentHookNameInDev = "useMutableSource";
17103                warnInvalidHookAccess();
17104                updateHookTypesDev();
17105                return updateMutableSource();
17106              },
17107              useSyncExternalStore: function(subscribe, getSnapshot, getServerSnapshot) {
17108                currentHookNameInDev = "useSyncExternalStore";
17109                warnInvalidHookAccess();
17110                updateHookTypesDev();
17111                return updateSyncExternalStore(subscribe, getSnapshot);
17112              },
17113              useId: function() {
17114                currentHookNameInDev = "useId";
17115                warnInvalidHookAccess();
17116                updateHookTypesDev();
17117                return updateId();
17118              },
17119              unstable_isNewReconciler: enableNewReconciler
17120            };
17121          }
17122          var now$1 = Scheduler.unstable_now;
17123          var commitTime = 0;
17124          var layoutEffectStartTime = -1;
17125          var profilerStartTime = -1;
17126          var passiveEffectStartTime = -1;
17127          var currentUpdateIsNested = false;
17128          var nestedUpdateScheduled = false;
17129          function isCurrentUpdateNested() {
17130            return currentUpdateIsNested;
17131          }
17132          function markNestedUpdateScheduled() {
17133            {
17134              nestedUpdateScheduled = true;
17135            }
17136          }
17137          function resetNestedUpdateFlag() {
17138            {
17139              currentUpdateIsNested = false;
17140              nestedUpdateScheduled = false;
17141            }
17142          }
17143          function syncNestedUpdateFlag() {
17144            {
17145              currentUpdateIsNested = nestedUpdateScheduled;
17146              nestedUpdateScheduled = false;
17147            }
17148          }
17149          function getCommitTime() {
17150            return commitTime;
17151          }
17152          function recordCommitTime() {
17153            commitTime = now$1();
17154          }
17155          function startProfilerTimer(fiber) {
17156            profilerStartTime = now$1();
17157            if (fiber.actualStartTime < 0) {
17158              fiber.actualStartTime = now$1();
17159            }
17160          }
17161          function stopProfilerTimerIfRunning(fiber) {
17162            profilerStartTime = -1;
17163          }
17164          function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) {
17165            if (profilerStartTime >= 0) {
17166              var elapsedTime = now$1() - profilerStartTime;
17167              fiber.actualDuration += elapsedTime;
17168              if (overrideBaseTime) {
17169                fiber.selfBaseDuration = elapsedTime;
17170              }
17171              profilerStartTime = -1;
17172            }
17173          }
17174          function recordLayoutEffectDuration(fiber) {
17175            if (layoutEffectStartTime >= 0) {
17176              var elapsedTime = now$1() - layoutEffectStartTime;
17177              layoutEffectStartTime = -1;
17178              var parentFiber = fiber.return;
17179              while (parentFiber !== null) {
17180                switch (parentFiber.tag) {
17181                  case HostRoot:
17182                    var root2 = parentFiber.stateNode;
17183                    root2.effectDuration += elapsedTime;
17184                    return;
17185                  case Profiler:
17186                    var parentStateNode = parentFiber.stateNode;
17187                    parentStateNode.effectDuration += elapsedTime;
17188                    return;
17189                }
17190                parentFiber = parentFiber.return;
17191              }
17192            }
17193          }
17194          function recordPassiveEffectDuration(fiber) {
17195            if (passiveEffectStartTime >= 0) {
17196              var elapsedTime = now$1() - passiveEffectStartTime;
17197              passiveEffectStartTime = -1;
17198              var parentFiber = fiber.return;
17199              while (parentFiber !== null) {
17200                switch (parentFiber.tag) {
17201                  case HostRoot:
17202                    var root2 = parentFiber.stateNode;
17203                    if (root2 !== null) {
17204                      root2.passiveEffectDuration += elapsedTime;
17205                    }
17206                    return;
17207                  case Profiler:
17208                    var parentStateNode = parentFiber.stateNode;
17209                    if (parentStateNode !== null) {
17210                      parentStateNode.passiveEffectDuration += elapsedTime;
17211                    }
17212                    return;
17213                }
17214                parentFiber = parentFiber.return;
17215              }
17216            }
17217          }
17218          function startLayoutEffectTimer() {
17219            layoutEffectStartTime = now$1();
17220          }
17221          function startPassiveEffectTimer() {
17222            passiveEffectStartTime = now$1();
17223          }
17224          function transferActualDuration(fiber) {
17225            var child = fiber.child;
17226            while (child) {
17227              fiber.actualDuration += child.actualDuration;
17228              child = child.sibling;
17229            }
17230          }
17231          function resolveDefaultProps(Component2, baseProps) {
17232            if (Component2 && Component2.defaultProps) {
17233              var props = assign3({}, baseProps);
17234              var defaultProps2 = Component2.defaultProps;
17235              for (var propName in defaultProps2) {
17236                if (props[propName] === void 0) {
17237                  props[propName] = defaultProps2[propName];
17238                }
17239              }
17240              return props;
17241            }
17242            return baseProps;
17243          }
17244          var fakeInternalInstance = {};
17245          var didWarnAboutStateAssignmentForComponent;
17246          var didWarnAboutUninitializedState;
17247          var didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate;
17248          var didWarnAboutLegacyLifecyclesAndDerivedState;
17249          var didWarnAboutUndefinedDerivedState;
17250          var warnOnUndefinedDerivedState;
17251          var warnOnInvalidCallback;
17252          var didWarnAboutDirectlyAssigningPropsToState;
17253          var didWarnAboutContextTypeAndContextTypes;
17254          var didWarnAboutInvalidateContextType;
17255          var didWarnAboutLegacyContext$1;
17256          {
17257            didWarnAboutStateAssignmentForComponent = /* @__PURE__ */ new Set();
17258            didWarnAboutUninitializedState = /* @__PURE__ */ new Set();
17259            didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate = /* @__PURE__ */ new Set();
17260            didWarnAboutLegacyLifecyclesAndDerivedState = /* @__PURE__ */ new Set();
17261            didWarnAboutDirectlyAssigningPropsToState = /* @__PURE__ */ new Set();
17262            didWarnAboutUndefinedDerivedState = /* @__PURE__ */ new Set();
17263            didWarnAboutContextTypeAndContextTypes = /* @__PURE__ */ new Set();
17264            didWarnAboutInvalidateContextType = /* @__PURE__ */ new Set();
17265            didWarnAboutLegacyContext$1 = /* @__PURE__ */ new Set();
17266            var didWarnOnInvalidCallback = /* @__PURE__ */ new Set();
17267            warnOnInvalidCallback = function(callback, callerName) {
17268              if (callback === null || typeof callback === "function") {
17269                return;
17270              }
17271              var key = callerName + "_" + callback;
17272              if (!didWarnOnInvalidCallback.has(key)) {
17273                didWarnOnInvalidCallback.add(key);
17274                error("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.", callerName, callback);
17275              }
17276            };
17277            warnOnUndefinedDerivedState = function(type, partialState) {
17278              if (partialState === void 0) {
17279                var componentName = getComponentNameFromType(type) || "Component";
17280                if (!didWarnAboutUndefinedDerivedState.has(componentName)) {
17281                  didWarnAboutUndefinedDerivedState.add(componentName);
17282                  error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.", componentName);
17283                }
17284              }
17285            };
17286            Object.defineProperty(fakeInternalInstance, "_processChildContext", {
17287              enumerable: false,
17288              value: function() {
17289                throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).");
17290              }
17291            });
17292            Object.freeze(fakeInternalInstance);
17293          }
17294          function applyDerivedStateFromProps(workInProgress2, ctor, getDerivedStateFromProps, nextProps) {
17295            var prevState = workInProgress2.memoizedState;
17296            var partialState = getDerivedStateFromProps(nextProps, prevState);
17297            {
17298              if (workInProgress2.mode & StrictLegacyMode) {
17299                setIsStrictModeForDevtools(true);
17300                try {
17301                  partialState = getDerivedStateFromProps(nextProps, prevState);
17302                } finally {
17303                  setIsStrictModeForDevtools(false);
17304                }
17305              }
17306              warnOnUndefinedDerivedState(ctor, partialState);
17307            }
17308            var memoizedState = partialState === null || partialState === void 0 ? prevState : assign3({}, prevState, partialState);
17309            workInProgress2.memoizedState = memoizedState;
17310            if (workInProgress2.lanes === NoLanes) {
17311              var updateQueue = workInProgress2.updateQueue;
17312              updateQueue.baseState = memoizedState;
17313            }
17314          }
17315          var classComponentUpdater = {
17316            isMounted,
17317            enqueueSetState: function(inst, payload, callback) {
17318              var fiber = get(inst);
17319              var eventTime = requestEventTime();
17320              var lane = requestUpdateLane(fiber);
17321              var update2 = createUpdate(eventTime, lane);
17322              update2.payload = payload;
17323              if (callback !== void 0 && callback !== null) {
17324                {
17325                  warnOnInvalidCallback(callback, "setState");
17326                }
17327                update2.callback = callback;
17328              }
17329              var root2 = enqueueUpdate(fiber, update2, lane);
17330              if (root2 !== null) {
17331                scheduleUpdateOnFiber(root2, fiber, lane, eventTime);
17332                entangleTransitions(root2, fiber, lane);
17333              }
17334              {
17335                markStateUpdateScheduled(fiber, lane);
17336              }
17337            },
17338            enqueueReplaceState: function(inst, payload, callback) {
17339              var fiber = get(inst);
17340              var eventTime = requestEventTime();
17341              var lane = requestUpdateLane(fiber);
17342              var update2 = createUpdate(eventTime, lane);
17343              update2.tag = ReplaceState;
17344              update2.payload = payload;
17345              if (callback !== void 0 && callback !== null) {
17346                {
17347                  warnOnInvalidCallback(callback, "replaceState");
17348                }
17349                update2.callback = callback;
17350              }
17351              var root2 = enqueueUpdate(fiber, update2, lane);
17352              if (root2 !== null) {
17353                scheduleUpdateOnFiber(root2, fiber, lane, eventTime);
17354                entangleTransitions(root2, fiber, lane);
17355              }
17356              {
17357                markStateUpdateScheduled(fiber, lane);
17358              }
17359            },
17360            enqueueForceUpdate: function(inst, callback) {
17361              var fiber = get(inst);
17362              var eventTime = requestEventTime();
17363              var lane = requestUpdateLane(fiber);
17364              var update2 = createUpdate(eventTime, lane);
17365              update2.tag = ForceUpdate;
17366              if (callback !== void 0 && callback !== null) {
17367                {
17368                  warnOnInvalidCallback(callback, "forceUpdate");
17369                }
17370                update2.callback = callback;
17371              }
17372              var root2 = enqueueUpdate(fiber, update2, lane);
17373              if (root2 !== null) {
17374                scheduleUpdateOnFiber(root2, fiber, lane, eventTime);
17375                entangleTransitions(root2, fiber, lane);
17376              }
17377              {
17378                markForceUpdateScheduled(fiber, lane);
17379              }
17380            }
17381          };
17382          function checkShouldComponentUpdate(workInProgress2, ctor, oldProps, newProps, oldState, newState, nextContext) {
17383            var instance = workInProgress2.stateNode;
17384            if (typeof instance.shouldComponentUpdate === "function") {
17385              var shouldUpdate = instance.shouldComponentUpdate(newProps, newState, nextContext);
17386              {
17387                if (workInProgress2.mode & StrictLegacyMode) {
17388                  setIsStrictModeForDevtools(true);
17389                  try {
17390                    shouldUpdate = instance.shouldComponentUpdate(newProps, newState, nextContext);
17391                  } finally {
17392                    setIsStrictModeForDevtools(false);
17393                  }
17394                }
17395                if (shouldUpdate === void 0) {
17396                  error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.", getComponentNameFromType(ctor) || "Component");
17397                }
17398              }
17399              return shouldUpdate;
17400            }
17401            if (ctor.prototype && ctor.prototype.isPureReactComponent) {
17402              return !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState);
17403            }
17404            return true;
17405          }
17406          function checkClassInstance(workInProgress2, ctor, newProps) {
17407            var instance = workInProgress2.stateNode;
17408            {
17409              var name2 = getComponentNameFromType(ctor) || "Component";
17410              var renderPresent = instance.render;
17411              if (!renderPresent) {
17412                if (ctor.prototype && typeof ctor.prototype.render === "function") {
17413                  error("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?", name2);
17414                } else {
17415                  error("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.", name2);
17416                }
17417              }
17418              if (instance.getInitialState && !instance.getInitialState.isReactClassApproved && !instance.state) {
17419                error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?", name2);
17420              }
17421              if (instance.getDefaultProps && !instance.getDefaultProps.isReactClassApproved) {
17422                error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.", name2);
17423              }
17424              if (instance.propTypes) {
17425                error("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.", name2);
17426              }
17427              if (instance.contextType) {
17428                error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.", name2);
17429              }
17430              {
17431                if (ctor.childContextTypes && !didWarnAboutLegacyContext$1.has(ctor) && // Strict Mode has its own warning for legacy context, so we can skip
17432                // this one.
17433                (workInProgress2.mode & StrictLegacyMode) === NoMode) {
17434                  didWarnAboutLegacyContext$1.add(ctor);
17435                  error("%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead\n\n.Learn more about this warning here: https://reactjs.org/link/legacy-context", name2);
17436                }
17437                if (ctor.contextTypes && !didWarnAboutLegacyContext$1.has(ctor) && // Strict Mode has its own warning for legacy context, so we can skip
17438                // this one.
17439                (workInProgress2.mode & StrictLegacyMode) === NoMode) {
17440                  didWarnAboutLegacyContext$1.add(ctor);
17441                  error("%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context", name2);
17442                }
17443                if (instance.contextTypes) {
17444                  error("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.", name2);
17445                }
17446                if (ctor.contextType && ctor.contextTypes && !didWarnAboutContextTypeAndContextTypes.has(ctor)) {
17447                  didWarnAboutContextTypeAndContextTypes.add(ctor);
17448                  error("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.", name2);
17449                }
17450              }
17451              if (typeof instance.componentShouldUpdate === "function") {
17452                error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.", name2);
17453              }
17454              if (ctor.prototype && ctor.prototype.isPureReactComponent && typeof instance.shouldComponentUpdate !== "undefined") {
17455                error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.", getComponentNameFromType(ctor) || "A pure component");
17456              }
17457              if (typeof instance.componentDidUnmount === "function") {
17458                error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?", name2);
17459              }
17460              if (typeof instance.componentDidReceiveProps === "function") {
17461                error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().", name2);
17462              }
17463              if (typeof instance.componentWillRecieveProps === "function") {
17464                error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?", name2);
17465              }
17466              if (typeof instance.UNSAFE_componentWillRecieveProps === "function") {
17467                error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?", name2);
17468              }
17469              var hasMutatedProps = instance.props !== newProps;
17470              if (instance.props !== void 0 && hasMutatedProps) {
17471                error("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.", name2, name2);
17472              }
17473              if (instance.defaultProps) {
17474                error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.", name2, name2);
17475              }
17476              if (typeof instance.getSnapshotBeforeUpdate === "function" && typeof instance.componentDidUpdate !== "function" && !didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.has(ctor)) {
17477                didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.add(ctor);
17478                error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.", getComponentNameFromType(ctor));
17479              }
17480              if (typeof instance.getDerivedStateFromProps === "function") {
17481                error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.", name2);
17482              }
17483              if (typeof instance.getDerivedStateFromError === "function") {
17484                error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.", name2);
17485              }
17486              if (typeof ctor.getSnapshotBeforeUpdate === "function") {
17487                error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.", name2);
17488              }
17489              var _state = instance.state;
17490              if (_state && (typeof _state !== "object" || isArray3(_state))) {
17491                error("%s.state: must be set to an object or null", name2);
17492              }
17493              if (typeof instance.getChildContext === "function" && typeof ctor.childContextTypes !== "object") {
17494                error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().", name2);
17495              }
17496            }
17497          }
17498          function adoptClassInstance(workInProgress2, instance) {
17499            instance.updater = classComponentUpdater;
17500            workInProgress2.stateNode = instance;
17501            set(instance, workInProgress2);
17502            {
17503              instance._reactInternalInstance = fakeInternalInstance;
17504            }
17505          }
17506          function constructClassInstance(workInProgress2, ctor, props) {
17507            var isLegacyContextConsumer = false;
17508            var unmaskedContext = emptyContextObject;
17509            var context = emptyContextObject;
17510            var contextType = ctor.contextType;
17511            {
17512              if ("contextType" in ctor) {
17513                var isValid = (
17514                  // Allow null for conditional declaration
17515                  contextType === null || contextType !== void 0 && contextType.$$typeof === REACT_CONTEXT_TYPE && contextType._context === void 0
17516                );
17517                if (!isValid && !didWarnAboutInvalidateContextType.has(ctor)) {
17518                  didWarnAboutInvalidateContextType.add(ctor);
17519                  var addendum = "";
17520                  if (contextType === void 0) {
17521                    addendum = " However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.";
17522                  } else if (typeof contextType !== "object") {
17523                    addendum = " However, it is set to a " + typeof contextType + ".";
17524                  } else if (contextType.$$typeof === REACT_PROVIDER_TYPE) {
17525                    addendum = " Did you accidentally pass the Context.Provider instead?";
17526                  } else if (contextType._context !== void 0) {
17527                    addendum = " Did you accidentally pass the Context.Consumer instead?";
17528                  } else {
17529                    addendum = " However, it is set to an object with keys {" + Object.keys(contextType).join(", ") + "}.";
17530                  }
17531                  error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s", getComponentNameFromType(ctor) || "Component", addendum);
17532                }
17533              }
17534            }
17535            if (typeof contextType === "object" && contextType !== null) {
17536              context = readContext(contextType);
17537            } else {
17538              unmaskedContext = getUnmaskedContext(workInProgress2, ctor, true);
17539              var contextTypes = ctor.contextTypes;
17540              isLegacyContextConsumer = contextTypes !== null && contextTypes !== void 0;
17541              context = isLegacyContextConsumer ? getMaskedContext(workInProgress2, unmaskedContext) : emptyContextObject;
17542            }
17543            var instance = new ctor(props, context);
17544            {
17545              if (workInProgress2.mode & StrictLegacyMode) {
17546                setIsStrictModeForDevtools(true);
17547                try {
17548                  instance = new ctor(props, context);
17549                } finally {
17550                  setIsStrictModeForDevtools(false);
17551                }
17552              }
17553            }
17554            var state = workInProgress2.memoizedState = instance.state !== null && instance.state !== void 0 ? instance.state : null;
17555            adoptClassInstance(workInProgress2, instance);
17556            {
17557              if (typeof ctor.getDerivedStateFromProps === "function" && state === null) {
17558                var componentName = getComponentNameFromType(ctor) || "Component";
17559                if (!didWarnAboutUninitializedState.has(componentName)) {
17560                  didWarnAboutUninitializedState.add(componentName);
17561                  error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", componentName, instance.state === null ? "null" : "undefined", componentName);
17562                }
17563              }
17564              if (typeof ctor.getDerivedStateFromProps === "function" || typeof instance.getSnapshotBeforeUpdate === "function") {
17565                var foundWillMountName = null;
17566                var foundWillReceivePropsName = null;
17567                var foundWillUpdateName = null;
17568                if (typeof instance.componentWillMount === "function" && instance.componentWillMount.__suppressDeprecationWarning !== true) {
17569                  foundWillMountName = "componentWillMount";
17570                } else if (typeof instance.UNSAFE_componentWillMount === "function") {
17571                  foundWillMountName = "UNSAFE_componentWillMount";
17572                }
17573                if (typeof instance.componentWillReceiveProps === "function" && instance.componentWillReceiveProps.__suppressDeprecationWarning !== true) {
17574                  foundWillReceivePropsName = "componentWillReceiveProps";
17575                } else if (typeof instance.UNSAFE_componentWillReceiveProps === "function") {
17576                  foundWillReceivePropsName = "UNSAFE_componentWillReceiveProps";
17577                }
17578                if (typeof instance.componentWillUpdate === "function" && instance.componentWillUpdate.__suppressDeprecationWarning !== true) {
17579                  foundWillUpdateName = "componentWillUpdate";
17580                } else if (typeof instance.UNSAFE_componentWillUpdate === "function") {
17581                  foundWillUpdateName = "UNSAFE_componentWillUpdate";
17582                }
17583                if (foundWillMountName !== null || foundWillReceivePropsName !== null || foundWillUpdateName !== null) {
17584                  var _componentName = getComponentNameFromType(ctor) || "Component";
17585                  var newApiName = typeof ctor.getDerivedStateFromProps === "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
17586                  if (!didWarnAboutLegacyLifecyclesAndDerivedState.has(_componentName)) {
17587                    didWarnAboutLegacyLifecyclesAndDerivedState.add(_componentName);
17588                    error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://reactjs.org/link/unsafe-component-lifecycles", _componentName, newApiName, foundWillMountName !== null ? "\n  " + foundWillMountName : "", foundWillReceivePropsName !== null ? "\n  " + foundWillReceivePropsName : "", foundWillUpdateName !== null ? "\n  " + foundWillUpdateName : "");
17589                  }
17590                }
17591              }
17592            }
17593            if (isLegacyContextConsumer) {
17594              cacheContext(workInProgress2, unmaskedContext, context);
17595            }
17596            return instance;
17597          }
17598          function callComponentWillMount(workInProgress2, instance) {
17599            var oldState = instance.state;
17600            if (typeof instance.componentWillMount === "function") {
17601              instance.componentWillMount();
17602            }
17603            if (typeof instance.UNSAFE_componentWillMount === "function") {
17604              instance.UNSAFE_componentWillMount();
17605            }
17606            if (oldState !== instance.state) {
17607              {
17608                error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", getComponentNameFromFiber(workInProgress2) || "Component");
17609              }
17610              classComponentUpdater.enqueueReplaceState(instance, instance.state, null);
17611            }
17612          }
17613          function callComponentWillReceiveProps(workInProgress2, instance, newProps, nextContext) {
17614            var oldState = instance.state;
17615            if (typeof instance.componentWillReceiveProps === "function") {
17616              instance.componentWillReceiveProps(newProps, nextContext);
17617            }
17618            if (typeof instance.UNSAFE_componentWillReceiveProps === "function") {
17619              instance.UNSAFE_componentWillReceiveProps(newProps, nextContext);
17620            }
17621            if (instance.state !== oldState) {
17622              {
17623                var componentName = getComponentNameFromFiber(workInProgress2) || "Component";
17624                if (!didWarnAboutStateAssignmentForComponent.has(componentName)) {
17625                  didWarnAboutStateAssignmentForComponent.add(componentName);
17626                  error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", componentName);
17627                }
17628              }
17629              classComponentUpdater.enqueueReplaceState(instance, instance.state, null);
17630            }
17631          }
17632          function mountClassInstance(workInProgress2, ctor, newProps, renderLanes2) {
17633            {
17634              checkClassInstance(workInProgress2, ctor, newProps);
17635            }
17636            var instance = workInProgress2.stateNode;
17637            instance.props = newProps;
17638            instance.state = workInProgress2.memoizedState;
17639            instance.refs = {};
17640            initializeUpdateQueue(workInProgress2);
17641            var contextType = ctor.contextType;
17642            if (typeof contextType === "object" && contextType !== null) {
17643              instance.context = readContext(contextType);
17644            } else {
17645              var unmaskedContext = getUnmaskedContext(workInProgress2, ctor, true);
17646              instance.context = getMaskedContext(workInProgress2, unmaskedContext);
17647            }
17648            {
17649              if (instance.state === newProps) {
17650                var componentName = getComponentNameFromType(ctor) || "Component";
17651                if (!didWarnAboutDirectlyAssigningPropsToState.has(componentName)) {
17652                  didWarnAboutDirectlyAssigningPropsToState.add(componentName);
17653                  error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.", componentName);
17654                }
17655              }
17656              if (workInProgress2.mode & StrictLegacyMode) {
17657                ReactStrictModeWarnings.recordLegacyContextWarning(workInProgress2, instance);
17658              }
17659              {
17660                ReactStrictModeWarnings.recordUnsafeLifecycleWarnings(workInProgress2, instance);
17661              }
17662            }
17663            instance.state = workInProgress2.memoizedState;
17664            var getDerivedStateFromProps = ctor.getDerivedStateFromProps;
17665            if (typeof getDerivedStateFromProps === "function") {
17666              applyDerivedStateFromProps(workInProgress2, ctor, getDerivedStateFromProps, newProps);
17667              instance.state = workInProgress2.memoizedState;
17668            }
17669            if (typeof ctor.getDerivedStateFromProps !== "function" && typeof instance.getSnapshotBeforeUpdate !== "function" && (typeof instance.UNSAFE_componentWillMount === "function" || typeof instance.componentWillMount === "function")) {
17670              callComponentWillMount(workInProgress2, instance);
17671              processUpdateQueue(workInProgress2, newProps, instance, renderLanes2);
17672              instance.state = workInProgress2.memoizedState;
17673            }
17674            if (typeof instance.componentDidMount === "function") {
17675              var fiberFlags = Update;
17676              {
17677                fiberFlags |= LayoutStatic;
17678              }
17679              if ((workInProgress2.mode & StrictEffectsMode) !== NoMode) {
17680                fiberFlags |= MountLayoutDev;
17681              }
17682              workInProgress2.flags |= fiberFlags;
17683            }
17684          }
17685          function resumeMountClassInstance(workInProgress2, ctor, newProps, renderLanes2) {
17686            var instance = workInProgress2.stateNode;
17687            var oldProps = workInProgress2.memoizedProps;
17688            instance.props = oldProps;
17689            var oldContext = instance.context;
17690            var contextType = ctor.contextType;
17691            var nextContext = emptyContextObject;
17692            if (typeof contextType === "object" && contextType !== null) {
17693              nextContext = readContext(contextType);
17694            } else {
17695              var nextLegacyUnmaskedContext = getUnmaskedContext(workInProgress2, ctor, true);
17696              nextContext = getMaskedContext(workInProgress2, nextLegacyUnmaskedContext);
17697            }
17698            var getDerivedStateFromProps = ctor.getDerivedStateFromProps;
17699            var hasNewLifecycles = typeof getDerivedStateFromProps === "function" || typeof instance.getSnapshotBeforeUpdate === "function";
17700            if (!hasNewLifecycles && (typeof instance.UNSAFE_componentWillReceiveProps === "function" || typeof instance.componentWillReceiveProps === "function")) {
17701              if (oldProps !== newProps || oldContext !== nextContext) {
17702                callComponentWillReceiveProps(workInProgress2, instance, newProps, nextContext);
17703              }
17704            }
17705            resetHasForceUpdateBeforeProcessing();
17706            var oldState = workInProgress2.memoizedState;
17707            var newState = instance.state = oldState;
17708            processUpdateQueue(workInProgress2, newProps, instance, renderLanes2);
17709            newState = workInProgress2.memoizedState;
17710            if (oldProps === newProps && oldState === newState && !hasContextChanged() && !checkHasForceUpdateAfterProcessing()) {
17711              if (typeof instance.componentDidMount === "function") {
17712                var fiberFlags = Update;
17713                {
17714                  fiberFlags |= LayoutStatic;
17715                }
17716                if ((workInProgress2.mode & StrictEffectsMode) !== NoMode) {
17717                  fiberFlags |= MountLayoutDev;
17718                }
17719                workInProgress2.flags |= fiberFlags;
17720              }
17721              return false;
17722            }
17723            if (typeof getDerivedStateFromProps === "function") {
17724              applyDerivedStateFromProps(workInProgress2, ctor, getDerivedStateFromProps, newProps);
17725              newState = workInProgress2.memoizedState;
17726            }
17727            var shouldUpdate = checkHasForceUpdateAfterProcessing() || checkShouldComponentUpdate(workInProgress2, ctor, oldProps, newProps, oldState, newState, nextContext);
17728            if (shouldUpdate) {
17729              if (!hasNewLifecycles && (typeof instance.UNSAFE_componentWillMount === "function" || typeof instance.componentWillMount === "function")) {
17730                if (typeof instance.componentWillMount === "function") {
17731                  instance.componentWillMount();
17732                }
17733                if (typeof instance.UNSAFE_componentWillMount === "function") {
17734                  instance.UNSAFE_componentWillMount();
17735                }
17736              }
17737              if (typeof instance.componentDidMount === "function") {
17738                var _fiberFlags = Update;
17739                {
17740                  _fiberFlags |= LayoutStatic;
17741                }
17742                if ((workInProgress2.mode & StrictEffectsMode) !== NoMode) {
17743                  _fiberFlags |= MountLayoutDev;
17744                }
17745                workInProgress2.flags |= _fiberFlags;
17746              }
17747            } else {
17748              if (typeof instance.componentDidMount === "function") {
17749                var _fiberFlags2 = Update;
17750                {
17751                  _fiberFlags2 |= LayoutStatic;
17752                }
17753                if ((workInProgress2.mode & StrictEffectsMode) !== NoMode) {
17754                  _fiberFlags2 |= MountLayoutDev;
17755                }
17756                workInProgress2.flags |= _fiberFlags2;
17757              }
17758              workInProgress2.memoizedProps = newProps;
17759              workInProgress2.memoizedState = newState;
17760            }
17761            instance.props = newProps;
17762            instance.state = newState;
17763            instance.context = nextContext;
17764            return shouldUpdate;
17765          }
17766          function updateClassInstance(current2, workInProgress2, ctor, newProps, renderLanes2) {
17767            var instance = workInProgress2.stateNode;
17768            cloneUpdateQueue(current2, workInProgress2);
17769            var unresolvedOldProps = workInProgress2.memoizedProps;
17770            var oldProps = workInProgress2.type === workInProgress2.elementType ? unresolvedOldProps : resolveDefaultProps(workInProgress2.type, unresolvedOldProps);
17771            instance.props = oldProps;
17772            var unresolvedNewProps = workInProgress2.pendingProps;
17773            var oldContext = instance.context;
17774            var contextType = ctor.contextType;
17775            var nextContext = emptyContextObject;
17776            if (typeof contextType === "object" && contextType !== null) {
17777              nextContext = readContext(contextType);
17778            } else {
17779              var nextUnmaskedContext = getUnmaskedContext(workInProgress2, ctor, true);
17780              nextContext = getMaskedContext(workInProgress2, nextUnmaskedContext);
17781            }
17782            var getDerivedStateFromProps = ctor.getDerivedStateFromProps;
17783            var hasNewLifecycles = typeof getDerivedStateFromProps === "function" || typeof instance.getSnapshotBeforeUpdate === "function";
17784            if (!hasNewLifecycles && (typeof instance.UNSAFE_componentWillReceiveProps === "function" || typeof instance.componentWillReceiveProps === "function")) {
17785              if (unresolvedOldProps !== unresolvedNewProps || oldContext !== nextContext) {
17786                callComponentWillReceiveProps(workInProgress2, instance, newProps, nextContext);
17787              }
17788            }
17789            resetHasForceUpdateBeforeProcessing();
17790            var oldState = workInProgress2.memoizedState;
17791            var newState = instance.state = oldState;
17792            processUpdateQueue(workInProgress2, newProps, instance, renderLanes2);
17793            newState = workInProgress2.memoizedState;
17794            if (unresolvedOldProps === unresolvedNewProps && oldState === newState && !hasContextChanged() && !checkHasForceUpdateAfterProcessing() && !enableLazyContextPropagation) {
17795              if (typeof instance.componentDidUpdate === "function") {
17796                if (unresolvedOldProps !== current2.memoizedProps || oldState !== current2.memoizedState) {
17797                  workInProgress2.flags |= Update;
17798                }
17799              }
17800              if (typeof instance.getSnapshotBeforeUpdate === "function") {
17801                if (unresolvedOldProps !== current2.memoizedProps || oldState !== current2.memoizedState) {
17802                  workInProgress2.flags |= Snapshot;
17803                }
17804              }
17805              return false;
17806            }
17807            if (typeof getDerivedStateFromProps === "function") {
17808              applyDerivedStateFromProps(workInProgress2, ctor, getDerivedStateFromProps, newProps);
17809              newState = workInProgress2.memoizedState;
17810            }
17811            var shouldUpdate = checkHasForceUpdateAfterProcessing() || checkShouldComponentUpdate(workInProgress2, ctor, oldProps, newProps, oldState, newState, nextContext) || // TODO: In some cases, we'll end up checking if context has changed twice,
17812            // both before and after `shouldComponentUpdate` has been called. Not ideal,
17813            // but I'm loath to refactor this function. This only happens for memoized
17814            // components so it's not that common.
17815            enableLazyContextPropagation;
17816            if (shouldUpdate) {
17817              if (!hasNewLifecycles && (typeof instance.UNSAFE_componentWillUpdate === "function" || typeof instance.componentWillUpdate === "function")) {
17818                if (typeof instance.componentWillUpdate === "function") {
17819                  instance.componentWillUpdate(newProps, newState, nextContext);
17820                }
17821                if (typeof instance.UNSAFE_componentWillUpdate === "function") {
17822                  instance.UNSAFE_componentWillUpdate(newProps, newState, nextContext);
17823                }
17824              }
17825              if (typeof instance.componentDidUpdate === "function") {
17826                workInProgress2.flags |= Update;
17827              }
17828              if (typeof instance.getSnapshotBeforeUpdate === "function") {
17829                workInProgress2.flags |= Snapshot;
17830              }
17831            } else {
17832              if (typeof instance.componentDidUpdate === "function") {
17833                if (unresolvedOldProps !== current2.memoizedProps || oldState !== current2.memoizedState) {
17834                  workInProgress2.flags |= Update;
17835                }
17836              }
17837              if (typeof instance.getSnapshotBeforeUpdate === "function") {
17838                if (unresolvedOldProps !== current2.memoizedProps || oldState !== current2.memoizedState) {
17839                  workInProgress2.flags |= Snapshot;
17840                }
17841              }
17842              workInProgress2.memoizedProps = newProps;
17843              workInProgress2.memoizedState = newState;
17844            }
17845            instance.props = newProps;
17846            instance.state = newState;
17847            instance.context = nextContext;
17848            return shouldUpdate;
17849          }
17850          function createCapturedValueAtFiber(value, source) {
17851            return {
17852              value,
17853              source,
17854              stack: getStackByFiberInDevAndProd(source),
17855              digest: null
17856            };
17857          }
17858          function createCapturedValue(value, digest, stack) {
17859            return {
17860              value,
17861              source: null,
17862              stack: stack != null ? stack : null,
17863              digest: digest != null ? digest : null
17864            };
17865          }
17866          function showErrorDialog(boundary, errorInfo) {
17867            return true;
17868          }
17869          function logCapturedError(boundary, errorInfo) {
17870            try {
17871              var logError = showErrorDialog(boundary, errorInfo);
17872              if (logError === false) {
17873                return;
17874              }
17875              var error2 = errorInfo.value;
17876              if (true) {
17877                var source = errorInfo.source;
17878                var stack = errorInfo.stack;
17879                var componentStack = stack !== null ? stack : "";
17880                if (error2 != null && error2._suppressLogging) {
17881                  if (boundary.tag === ClassComponent) {
17882                    return;
17883                  }
17884                  console["error"](error2);
17885                }
17886                var componentName = source ? getComponentNameFromFiber(source) : null;
17887                var componentNameMessage = componentName ? "The above error occurred in the <" + componentName + "> component:" : "The above error occurred in one of your React components:";
17888                var errorBoundaryMessage;
17889                if (boundary.tag === HostRoot) {
17890                  errorBoundaryMessage = "Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://reactjs.org/link/error-boundaries to learn more about error boundaries.";
17891                } else {
17892                  var errorBoundaryName = getComponentNameFromFiber(boundary) || "Anonymous";
17893                  errorBoundaryMessage = "React will try to recreate this component tree from scratch " + ("using the error boundary you provided, " + errorBoundaryName + ".");
17894                }
17895                var combinedMessage = componentNameMessage + "\n" + componentStack + "\n\n" + ("" + errorBoundaryMessage);
17896                console["error"](combinedMessage);
17897              } else {
17898                console["error"](error2);
17899              }
17900            } catch (e) {
17901              setTimeout(function() {
17902                throw e;
17903              });
17904            }
17905          }
17906          var PossiblyWeakMap$1 = typeof WeakMap === "function" ? WeakMap : Map;
17907          function createRootErrorUpdate(fiber, errorInfo, lane) {
17908            var update2 = createUpdate(NoTimestamp, lane);
17909            update2.tag = CaptureUpdate;
17910            update2.payload = {
17911              element: null
17912            };
17913            var error2 = errorInfo.value;
17914            update2.callback = function() {
17915              onUncaughtError(error2);
17916              logCapturedError(fiber, errorInfo);
17917            };
17918            return update2;
17919          }
17920          function createClassErrorUpdate(fiber, errorInfo, lane) {
17921            var update2 = createUpdate(NoTimestamp, lane);
17922            update2.tag = CaptureUpdate;
17923            var getDerivedStateFromError = fiber.type.getDerivedStateFromError;
17924            if (typeof getDerivedStateFromError === "function") {
17925              var error$1 = errorInfo.value;
17926              update2.payload = function() {
17927                return getDerivedStateFromError(error$1);
17928              };
17929              update2.callback = function() {
17930                {
17931                  markFailedErrorBoundaryForHotReloading(fiber);
17932                }
17933                logCapturedError(fiber, errorInfo);
17934              };
17935            }
17936            var inst = fiber.stateNode;
17937            if (inst !== null && typeof inst.componentDidCatch === "function") {
17938              update2.callback = function callback() {
17939                {
17940                  markFailedErrorBoundaryForHotReloading(fiber);
17941                }
17942                logCapturedError(fiber, errorInfo);
17943                if (typeof getDerivedStateFromError !== "function") {
17944                  markLegacyErrorBoundaryAsFailed(this);
17945                }
17946                var error$12 = errorInfo.value;
17947                var stack = errorInfo.stack;
17948                this.componentDidCatch(error$12, {
17949                  componentStack: stack !== null ? stack : ""
17950                });
17951                {
17952                  if (typeof getDerivedStateFromError !== "function") {
17953                    if (!includesSomeLane(fiber.lanes, SyncLane)) {
17954                      error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.", getComponentNameFromFiber(fiber) || "Unknown");
17955                    }
17956                  }
17957                }
17958              };
17959            }
17960            return update2;
17961          }
17962          function attachPingListener(root2, wakeable, lanes) {
17963            var pingCache = root2.pingCache;
17964            var threadIDs;
17965            if (pingCache === null) {
17966              pingCache = root2.pingCache = new PossiblyWeakMap$1();
17967              threadIDs = /* @__PURE__ */ new Set();
17968              pingCache.set(wakeable, threadIDs);
17969            } else {
17970              threadIDs = pingCache.get(wakeable);
17971              if (threadIDs === void 0) {
17972                threadIDs = /* @__PURE__ */ new Set();
17973                pingCache.set(wakeable, threadIDs);
17974              }
17975            }
17976            if (!threadIDs.has(lanes)) {
17977              threadIDs.add(lanes);
17978              var ping = pingSuspendedRoot.bind(null, root2, wakeable, lanes);
17979              {
17980                if (isDevToolsPresent) {
17981                  restorePendingUpdaters(root2, lanes);
17982                }
17983              }
17984              wakeable.then(ping, ping);
17985            }
17986          }
17987          function attachRetryListener(suspenseBoundary, root2, wakeable, lanes) {
17988            var wakeables = suspenseBoundary.updateQueue;
17989            if (wakeables === null) {
17990              var updateQueue = /* @__PURE__ */ new Set();
17991              updateQueue.add(wakeable);
17992              suspenseBoundary.updateQueue = updateQueue;
17993            } else {
17994              wakeables.add(wakeable);
17995            }
17996          }
17997          function resetSuspendedComponent(sourceFiber, rootRenderLanes) {
17998            var tag = sourceFiber.tag;
17999            if ((sourceFiber.mode & ConcurrentMode) === NoMode && (tag === FunctionComponent || tag === ForwardRef || tag === SimpleMemoComponent)) {
18000              var currentSource = sourceFiber.alternate;
18001              if (currentSource) {
18002                sourceFiber.updateQueue = currentSource.updateQueue;
18003                sourceFiber.memoizedState = currentSource.memoizedState;
18004                sourceFiber.lanes = currentSource.lanes;
18005              } else {
18006                sourceFiber.updateQueue = null;
18007                sourceFiber.memoizedState = null;
18008              }
18009            }
18010          }
18011          function getNearestSuspenseBoundaryToCapture(returnFiber) {
18012            var node2 = returnFiber;
18013            do {
18014              if (node2.tag === SuspenseComponent && shouldCaptureSuspense(node2)) {
18015                return node2;
18016              }
18017              node2 = node2.return;
18018            } while (node2 !== null);
18019            return null;
18020          }
18021          function markSuspenseBoundaryShouldCapture(suspenseBoundary, returnFiber, sourceFiber, root2, rootRenderLanes) {
18022            if ((suspenseBoundary.mode & ConcurrentMode) === NoMode) {
18023              if (suspenseBoundary === returnFiber) {
18024                suspenseBoundary.flags |= ShouldCapture;
18025              } else {
18026                suspenseBoundary.flags |= DidCapture;
18027                sourceFiber.flags |= ForceUpdateForLegacySuspense;
18028                sourceFiber.flags &= ~(LifecycleEffectMask | Incomplete);
18029                if (sourceFiber.tag === ClassComponent) {
18030                  var currentSourceFiber = sourceFiber.alternate;
18031                  if (currentSourceFiber === null) {
18032                    sourceFiber.tag = IncompleteClassComponent;
18033                  } else {
18034                    var update2 = createUpdate(NoTimestamp, SyncLane);
18035                    update2.tag = ForceUpdate;
18036                    enqueueUpdate(sourceFiber, update2, SyncLane);
18037                  }
18038                }
18039                sourceFiber.lanes = mergeLanes(sourceFiber.lanes, SyncLane);
18040              }
18041              return suspenseBoundary;
18042            }
18043            suspenseBoundary.flags |= ShouldCapture;
18044            suspenseBoundary.lanes = rootRenderLanes;
18045            return suspenseBoundary;
18046          }
18047          function throwException(root2, returnFiber, sourceFiber, value, rootRenderLanes) {
18048            sourceFiber.flags |= Incomplete;
18049            {
18050              if (isDevToolsPresent) {
18051                restorePendingUpdaters(root2, rootRenderLanes);
18052              }
18053            }
18054            if (value !== null && typeof value === "object" && typeof value.then === "function") {
18055              var wakeable = value;
18056              resetSuspendedComponent(sourceFiber);
18057              {
18058                if (getIsHydrating() && sourceFiber.mode & ConcurrentMode) {
18059                  markDidThrowWhileHydratingDEV();
18060                }
18061              }
18062              var suspenseBoundary = getNearestSuspenseBoundaryToCapture(returnFiber);
18063              if (suspenseBoundary !== null) {
18064                suspenseBoundary.flags &= ~ForceClientRender;
18065                markSuspenseBoundaryShouldCapture(suspenseBoundary, returnFiber, sourceFiber, root2, rootRenderLanes);
18066                if (suspenseBoundary.mode & ConcurrentMode) {
18067                  attachPingListener(root2, wakeable, rootRenderLanes);
18068                }
18069                attachRetryListener(suspenseBoundary, root2, wakeable);
18070                return;
18071              } else {
18072                if (!includesSyncLane(rootRenderLanes)) {
18073                  attachPingListener(root2, wakeable, rootRenderLanes);
18074                  renderDidSuspendDelayIfPossible();
18075                  return;
18076                }
18077                var uncaughtSuspenseError = new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");
18078                value = uncaughtSuspenseError;
18079              }
18080            } else {
18081              if (getIsHydrating() && sourceFiber.mode & ConcurrentMode) {
18082                markDidThrowWhileHydratingDEV();
18083                var _suspenseBoundary = getNearestSuspenseBoundaryToCapture(returnFiber);
18084                if (_suspenseBoundary !== null) {
18085                  if ((_suspenseBoundary.flags & ShouldCapture) === NoFlags) {
18086                    _suspenseBoundary.flags |= ForceClientRender;
18087                  }
18088                  markSuspenseBoundaryShouldCapture(_suspenseBoundary, returnFiber, sourceFiber, root2, rootRenderLanes);
18089                  queueHydrationError(createCapturedValueAtFiber(value, sourceFiber));
18090                  return;
18091                }
18092              }
18093            }
18094            value = createCapturedValueAtFiber(value, sourceFiber);
18095            renderDidError(value);
18096            var workInProgress2 = returnFiber;
18097            do {
18098              switch (workInProgress2.tag) {
18099                case HostRoot: {
18100                  var _errorInfo = value;
18101                  workInProgress2.flags |= ShouldCapture;
18102                  var lane = pickArbitraryLane(rootRenderLanes);
18103                  workInProgress2.lanes = mergeLanes(workInProgress2.lanes, lane);
18104                  var update2 = createRootErrorUpdate(workInProgress2, _errorInfo, lane);
18105                  enqueueCapturedUpdate(workInProgress2, update2);
18106                  return;
18107                }
18108                case ClassComponent:
18109                  var errorInfo = value;
18110                  var ctor = workInProgress2.type;
18111                  var instance = workInProgress2.stateNode;
18112                  if ((workInProgress2.flags & DidCapture) === NoFlags && (typeof ctor.getDerivedStateFromError === "function" || instance !== null && typeof instance.componentDidCatch === "function" && !isAlreadyFailedLegacyErrorBoundary(instance))) {
18113                    workInProgress2.flags |= ShouldCapture;
18114                    var _lane = pickArbitraryLane(rootRenderLanes);
18115                    workInProgress2.lanes = mergeLanes(workInProgress2.lanes, _lane);
18116                    var _update = createClassErrorUpdate(workInProgress2, errorInfo, _lane);
18117                    enqueueCapturedUpdate(workInProgress2, _update);
18118                    return;
18119                  }
18120                  break;
18121              }
18122              workInProgress2 = workInProgress2.return;
18123            } while (workInProgress2 !== null);
18124          }
18125          function getSuspendedCache() {
18126            {
18127              return null;
18128            }
18129          }
18130          var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
18131          var didReceiveUpdate = false;
18132          var didWarnAboutBadClass;
18133          var didWarnAboutModulePatternComponent;
18134          var didWarnAboutContextTypeOnFunctionComponent;
18135          var didWarnAboutGetDerivedStateOnFunctionComponent;
18136          var didWarnAboutFunctionRefs;
18137          var didWarnAboutReassigningProps;
18138          var didWarnAboutRevealOrder;
18139          var didWarnAboutTailOptions;
18140          var didWarnAboutDefaultPropsOnFunctionComponent;
18141          {
18142            didWarnAboutBadClass = {};
18143            didWarnAboutModulePatternComponent = {};
18144            didWarnAboutContextTypeOnFunctionComponent = {};
18145            didWarnAboutGetDerivedStateOnFunctionComponent = {};
18146            didWarnAboutFunctionRefs = {};
18147            didWarnAboutReassigningProps = false;
18148            didWarnAboutRevealOrder = {};
18149            didWarnAboutTailOptions = {};
18150            didWarnAboutDefaultPropsOnFunctionComponent = {};
18151          }
18152          function reconcileChildren(current2, workInProgress2, nextChildren, renderLanes2) {
18153            if (current2 === null) {
18154              workInProgress2.child = mountChildFibers(workInProgress2, null, nextChildren, renderLanes2);
18155            } else {
18156              workInProgress2.child = reconcileChildFibers(workInProgress2, current2.child, nextChildren, renderLanes2);
18157            }
18158          }
18159          function forceUnmountCurrentAndReconcile(current2, workInProgress2, nextChildren, renderLanes2) {
18160            workInProgress2.child = reconcileChildFibers(workInProgress2, current2.child, null, renderLanes2);
18161            workInProgress2.child = reconcileChildFibers(workInProgress2, null, nextChildren, renderLanes2);
18162          }
18163          function updateForwardRef(current2, workInProgress2, Component2, nextProps, renderLanes2) {
18164            {
18165              if (workInProgress2.type !== workInProgress2.elementType) {
18166                var innerPropTypes = Component2.propTypes;
18167                if (innerPropTypes) {
18168                  checkPropTypes(
18169                    innerPropTypes,
18170                    nextProps,
18171                    // Resolved props
18172                    "prop",
18173                    getComponentNameFromType(Component2)
18174                  );
18175                }
18176              }
18177            }
18178            var render3 = Component2.render;
18179            var ref = workInProgress2.ref;
18180            var nextChildren;
18181            var hasId;
18182            prepareToReadContext(workInProgress2, renderLanes2);
18183            {
18184              markComponentRenderStarted(workInProgress2);
18185            }
18186            {
18187              ReactCurrentOwner$1.current = workInProgress2;
18188              setIsRendering(true);
18189              nextChildren = renderWithHooks(current2, workInProgress2, render3, nextProps, ref, renderLanes2);
18190              hasId = checkDidRenderIdHook();
18191              if (workInProgress2.mode & StrictLegacyMode) {
18192                setIsStrictModeForDevtools(true);
18193                try {
18194                  nextChildren = renderWithHooks(current2, workInProgress2, render3, nextProps, ref, renderLanes2);
18195                  hasId = checkDidRenderIdHook();
18196                } finally {
18197                  setIsStrictModeForDevtools(false);
18198                }
18199              }
18200              setIsRendering(false);
18201            }
18202            {
18203              markComponentRenderStopped();
18204            }
18205            if (current2 !== null && !didReceiveUpdate) {
18206              bailoutHooks(current2, workInProgress2, renderLanes2);
18207              return bailoutOnAlreadyFinishedWork(current2, workInProgress2, renderLanes2);
18208            }
18209            if (getIsHydrating() && hasId) {
18210              pushMaterializedTreeId(workInProgress2);
18211            }
18212            workInProgress2.flags |= PerformedWork;
18213            reconcileChildren(current2, workInProgress2, nextChildren, renderLanes2);
18214            return workInProgress2.child;
18215          }
18216          function updateMemoComponent(current2, workInProgress2, Component2, nextProps, renderLanes2) {
18217            if (current2 === null) {
18218              var type = Component2.type;
18219              if (isSimpleFunctionComponent(type) && Component2.compare === null && // SimpleMemoComponent codepath doesn't resolve outer props either.
18220              Component2.defaultProps === void 0) {
18221                var resolvedType = type;
18222                {
18223                  resolvedType = resolveFunctionForHotReloading(type);
18224                }
18225                workInProgress2.tag = SimpleMemoComponent;
18226                workInProgress2.type = resolvedType;
18227                {
18228                  validateFunctionComponentInDev(workInProgress2, type);
18229                }
18230                return updateSimpleMemoComponent(current2, workInProgress2, resolvedType, nextProps, renderLanes2);
18231              }
18232              {
18233                var innerPropTypes = type.propTypes;
18234                if (innerPropTypes) {
18235                  checkPropTypes(
18236                    innerPropTypes,
18237                    nextProps,
18238                    // Resolved props
18239                    "prop",
18240                    getComponentNameFromType(type)
18241                  );
18242                }
18243                if (Component2.defaultProps !== void 0) {
18244                  var componentName = getComponentNameFromType(type) || "Unknown";
18245                  if (!didWarnAboutDefaultPropsOnFunctionComponent[componentName]) {
18246                    error("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.", componentName);
18247                    didWarnAboutDefaultPropsOnFunctionComponent[componentName] = true;
18248                  }
18249                }
18250              }
18251              var child = createFiberFromTypeAndProps(Component2.type, null, nextProps, workInProgress2, workInProgress2.mode, renderLanes2);
18252              child.ref = workInProgress2.ref;
18253              child.return = workInProgress2;
18254              workInProgress2.child = child;
18255              return child;
18256            }
18257            {
18258              var _type = Component2.type;
18259              var _innerPropTypes = _type.propTypes;
18260              if (_innerPropTypes) {
18261                checkPropTypes(
18262                  _innerPropTypes,
18263                  nextProps,
18264                  // Resolved props
18265                  "prop",
18266                  getComponentNameFromType(_type)
18267                );
18268              }
18269            }
18270            var currentChild = current2.child;
18271            var hasScheduledUpdateOrContext = checkScheduledUpdateOrContext(current2, renderLanes2);
18272            if (!hasScheduledUpdateOrContext) {
18273              var prevProps = currentChild.memoizedProps;
18274              var compare = Component2.compare;
18275              compare = compare !== null ? compare : shallowEqual;
18276              if (compare(prevProps, nextProps) && current2.ref === workInProgress2.ref) {
18277                return bailoutOnAlreadyFinishedWork(current2, workInProgress2, renderLanes2);
18278              }
18279            }
18280            workInProgress2.flags |= PerformedWork;
18281            var newChild = createWorkInProgress(currentChild, nextProps);
18282            newChild.ref = workInProgress2.ref;
18283            newChild.return = workInProgress2;
18284            workInProgress2.child = newChild;
18285            return newChild;
18286          }
18287          function updateSimpleMemoComponent(current2, workInProgress2, Component2, nextProps, renderLanes2) {
18288            {
18289              if (workInProgress2.type !== workInProgress2.elementType) {
18290                var outerMemoType = workInProgress2.elementType;
18291                if (outerMemoType.$$typeof === REACT_LAZY_TYPE) {
18292                  var lazyComponent = outerMemoType;
18293                  var payload = lazyComponent._payload;
18294                  var init3 = lazyComponent._init;
18295                  try {
18296                    outerMemoType = init3(payload);
18297                  } catch (x2) {
18298                    outerMemoType = null;
18299                  }
18300                  var outerPropTypes = outerMemoType && outerMemoType.propTypes;
18301                  if (outerPropTypes) {
18302                    checkPropTypes(
18303                      outerPropTypes,
18304                      nextProps,
18305                      // Resolved (SimpleMemoComponent has no defaultProps)
18306                      "prop",
18307                      getComponentNameFromType(outerMemoType)
18308                    );
18309                  }
18310                }
18311              }
18312            }
18313            if (current2 !== null) {
18314              var prevProps = current2.memoizedProps;
18315              if (shallowEqual(prevProps, nextProps) && current2.ref === workInProgress2.ref && // Prevent bailout if the implementation changed due to hot reload.
18316              workInProgress2.type === current2.type) {
18317                didReceiveUpdate = false;
18318                workInProgress2.pendingProps = nextProps = prevProps;
18319                if (!checkScheduledUpdateOrContext(current2, renderLanes2)) {
18320                  workInProgress2.lanes = current2.lanes;
18321                  return bailoutOnAlreadyFinishedWork(current2, workInProgress2, renderLanes2);
18322                } else if ((current2.flags & ForceUpdateForLegacySuspense) !== NoFlags) {
18323                  didReceiveUpdate = true;
18324                }
18325              }
18326            }
18327            return updateFunctionComponent(current2, workInProgress2, Component2, nextProps, renderLanes2);
18328          }
18329          function updateOffscreenComponent(current2, workInProgress2, renderLanes2) {
18330            var nextProps = workInProgress2.pendingProps;
18331            var nextChildren = nextProps.children;
18332            var prevState = current2 !== null ? current2.memoizedState : null;
18333            if (nextProps.mode === "hidden" || enableLegacyHidden) {
18334              if ((workInProgress2.mode & ConcurrentMode) === NoMode) {
18335                var nextState = {
18336                  baseLanes: NoLanes,
18337                  cachePool: null,
18338                  transitions: null
18339                };
18340                workInProgress2.memoizedState = nextState;
18341                pushRenderLanes(workInProgress2, renderLanes2);
18342              } else if (!includesSomeLane(renderLanes2, OffscreenLane)) {
18343                var spawnedCachePool = null;
18344                var nextBaseLanes;
18345                if (prevState !== null) {
18346                  var prevBaseLanes = prevState.baseLanes;
18347                  nextBaseLanes = mergeLanes(prevBaseLanes, renderLanes2);
18348                } else {
18349                  nextBaseLanes = renderLanes2;
18350                }
18351                workInProgress2.lanes = workInProgress2.childLanes = laneToLanes(OffscreenLane);
18352                var _nextState = {
18353                  baseLanes: nextBaseLanes,
18354                  cachePool: spawnedCachePool,
18355                  transitions: null
18356                };
18357                workInProgress2.memoizedState = _nextState;
18358                workInProgress2.updateQueue = null;
18359                pushRenderLanes(workInProgress2, nextBaseLanes);
18360                return null;
18361              } else {
18362                var _nextState2 = {
18363                  baseLanes: NoLanes,
18364                  cachePool: null,
18365                  transitions: null
18366                };
18367                workInProgress2.memoizedState = _nextState2;
18368                var subtreeRenderLanes2 = prevState !== null ? prevState.baseLanes : renderLanes2;
18369                pushRenderLanes(workInProgress2, subtreeRenderLanes2);
18370              }
18371            } else {
18372              var _subtreeRenderLanes;
18373              if (prevState !== null) {
18374                _subtreeRenderLanes = mergeLanes(prevState.baseLanes, renderLanes2);
18375                workInProgress2.memoizedState = null;
18376              } else {
18377                _subtreeRenderLanes = renderLanes2;
18378              }
18379              pushRenderLanes(workInProgress2, _subtreeRenderLanes);
18380            }
18381            reconcileChildren(current2, workInProgress2, nextChildren, renderLanes2);
18382            return workInProgress2.child;
18383          }
18384          function updateFragment(current2, workInProgress2, renderLanes2) {
18385            var nextChildren = workInProgress2.pendingProps;
18386            reconcileChildren(current2, workInProgress2, nextChildren, renderLanes2);
18387            return workInProgress2.child;
18388          }
18389          function updateMode(current2, workInProgress2, renderLanes2) {
18390            var nextChildren = workInProgress2.pendingProps.children;
18391            reconcileChildren(current2, workInProgress2, nextChildren, renderLanes2);
18392            return workInProgress2.child;
18393          }
18394          function updateProfiler(current2, workInProgress2, renderLanes2) {
18395            {
18396              workInProgress2.flags |= Update;
18397              {
18398                var stateNode = workInProgress2.stateNode;
18399                stateNode.effectDuration = 0;
18400                stateNode.passiveEffectDuration = 0;
18401              }
18402            }
18403            var nextProps = workInProgress2.pendingProps;
18404            var nextChildren = nextProps.children;
18405            reconcileChildren(current2, workInProgress2, nextChildren, renderLanes2);
18406            return workInProgress2.child;
18407          }
18408          function markRef(current2, workInProgress2) {
18409            var ref = workInProgress2.ref;
18410            if (current2 === null && ref !== null || current2 !== null && current2.ref !== ref) {
18411              workInProgress2.flags |= Ref;
18412              {
18413                workInProgress2.flags |= RefStatic;
18414              }
18415            }
18416          }
18417          function updateFunctionComponent(current2, workInProgress2, Component2, nextProps, renderLanes2) {
18418            {
18419              if (workInProgress2.type !== workInProgress2.elementType) {
18420                var innerPropTypes = Component2.propTypes;
18421                if (innerPropTypes) {
18422                  checkPropTypes(
18423                    innerPropTypes,
18424                    nextProps,
18425                    // Resolved props
18426                    "prop",
18427                    getComponentNameFromType(Component2)
18428                  );
18429                }
18430              }
18431            }
18432            var context;
18433            {
18434              var unmaskedContext = getUnmaskedContext(workInProgress2, Component2, true);
18435              context = getMaskedContext(workInProgress2, unmaskedContext);
18436            }
18437            var nextChildren;
18438            var hasId;
18439            prepareToReadContext(workInProgress2, renderLanes2);
18440            {
18441              markComponentRenderStarted(workInProgress2);
18442            }
18443            {
18444              ReactCurrentOwner$1.current = workInProgress2;
18445              setIsRendering(true);
18446              nextChildren = renderWithHooks(current2, workInProgress2, Component2, nextProps, context, renderLanes2);
18447              hasId = checkDidRenderIdHook();
18448              if (workInProgress2.mode & StrictLegacyMode) {
18449                setIsStrictModeForDevtools(true);
18450                try {
18451                  nextChildren = renderWithHooks(current2, workInProgress2, Component2, nextProps, context, renderLanes2);
18452                  hasId = checkDidRenderIdHook();
18453                } finally {
18454                  setIsStrictModeForDevtools(false);
18455                }
18456              }
18457              setIsRendering(false);
18458            }
18459            {
18460              markComponentRenderStopped();
18461            }
18462            if (current2 !== null && !didReceiveUpdate) {
18463              bailoutHooks(current2, workInProgress2, renderLanes2);
18464              return bailoutOnAlreadyFinishedWork(current2, workInProgress2, renderLanes2);
18465            }
18466            if (getIsHydrating() && hasId) {
18467              pushMaterializedTreeId(workInProgress2);
18468            }
18469            workInProgress2.flags |= PerformedWork;
18470            reconcileChildren(current2, workInProgress2, nextChildren, renderLanes2);
18471            return workInProgress2.child;
18472          }
18473          function updateClassComponent(current2, workInProgress2, Component2, nextProps, renderLanes2) {
18474            {
18475              switch (shouldError(workInProgress2)) {
18476                case false: {
18477                  var _instance = workInProgress2.stateNode;
18478                  var ctor = workInProgress2.type;
18479                  var tempInstance = new ctor(workInProgress2.memoizedProps, _instance.context);
18480                  var state = tempInstance.state;
18481                  _instance.updater.enqueueSetState(_instance, state, null);
18482                  break;
18483                }
18484                case true: {
18485                  workInProgress2.flags |= DidCapture;
18486                  workInProgress2.flags |= ShouldCapture;
18487                  var error$1 = new Error("Simulated error coming from DevTools");
18488                  var lane = pickArbitraryLane(renderLanes2);
18489                  workInProgress2.lanes = mergeLanes(workInProgress2.lanes, lane);
18490                  var update2 = createClassErrorUpdate(workInProgress2, createCapturedValueAtFiber(error$1, workInProgress2), lane);
18491                  enqueueCapturedUpdate(workInProgress2, update2);
18492                  break;
18493                }
18494              }
18495              if (workInProgress2.type !== workInProgress2.elementType) {
18496                var innerPropTypes = Component2.propTypes;
18497                if (innerPropTypes) {
18498                  checkPropTypes(
18499                    innerPropTypes,
18500                    nextProps,
18501                    // Resolved props
18502                    "prop",
18503                    getComponentNameFromType(Component2)
18504                  );
18505                }
18506              }
18507            }
18508            var hasContext;
18509            if (isContextProvider(Component2)) {
18510              hasContext = true;
18511              pushContextProvider(workInProgress2);
18512            } else {
18513              hasContext = false;
18514            }
18515            prepareToReadContext(workInProgress2, renderLanes2);
18516            var instance = workInProgress2.stateNode;
18517            var shouldUpdate;
18518            if (instance === null) {
18519              resetSuspendedCurrentOnMountInLegacyMode(current2, workInProgress2);
18520              constructClassInstance(workInProgress2, Component2, nextProps);
18521              mountClassInstance(workInProgress2, Component2, nextProps, renderLanes2);
18522              shouldUpdate = true;
18523            } else if (current2 === null) {
18524              shouldUpdate = resumeMountClassInstance(workInProgress2, Component2, nextProps, renderLanes2);
18525            } else {
18526              shouldUpdate = updateClassInstance(current2, workInProgress2, Component2, nextProps, renderLanes2);
18527            }
18528            var nextUnitOfWork = finishClassComponent(current2, workInProgress2, Component2, shouldUpdate, hasContext, renderLanes2);
18529            {
18530              var inst = workInProgress2.stateNode;
18531              if (shouldUpdate && inst.props !== nextProps) {
18532                if (!didWarnAboutReassigningProps) {
18533                  error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.", getComponentNameFromFiber(workInProgress2) || "a component");
18534                }
18535                didWarnAboutReassigningProps = true;
18536              }
18537            }
18538            return nextUnitOfWork;
18539          }
18540          function finishClassComponent(current2, workInProgress2, Component2, shouldUpdate, hasContext, renderLanes2) {
18541            markRef(current2, workInProgress2);
18542            var didCaptureError = (workInProgress2.flags & DidCapture) !== NoFlags;
18543            if (!shouldUpdate && !didCaptureError) {
18544              if (hasContext) {
18545                invalidateContextProvider(workInProgress2, Component2, false);
18546              }
18547              return bailoutOnAlreadyFinishedWork(current2, workInProgress2, renderLanes2);
18548            }
18549            var instance = workInProgress2.stateNode;
18550            ReactCurrentOwner$1.current = workInProgress2;
18551            var nextChildren;
18552            if (didCaptureError && typeof Component2.getDerivedStateFromError !== "function") {
18553              nextChildren = null;
18554              {
18555                stopProfilerTimerIfRunning();
18556              }
18557            } else {
18558              {
18559                markComponentRenderStarted(workInProgress2);
18560              }
18561              {
18562                setIsRendering(true);
18563                nextChildren = instance.render();
18564                if (workInProgress2.mode & StrictLegacyMode) {
18565                  setIsStrictModeForDevtools(true);
18566                  try {
18567                    instance.render();
18568                  } finally {
18569                    setIsStrictModeForDevtools(false);
18570                  }
18571                }
18572                setIsRendering(false);
18573              }
18574              {
18575                markComponentRenderStopped();
18576              }
18577            }
18578            workInProgress2.flags |= PerformedWork;
18579            if (current2 !== null && didCaptureError) {
18580              forceUnmountCurrentAndReconcile(current2, workInProgress2, nextChildren, renderLanes2);
18581            } else {
18582              reconcileChildren(current2, workInProgress2, nextChildren, renderLanes2);
18583            }
18584            workInProgress2.memoizedState = instance.state;
18585            if (hasContext) {
18586              invalidateContextProvider(workInProgress2, Component2, true);
18587            }
18588            return workInProgress2.child;
18589          }
18590          function pushHostRootContext(workInProgress2) {
18591            var root2 = workInProgress2.stateNode;
18592            if (root2.pendingContext) {
18593              pushTopLevelContextObject(workInProgress2, root2.pendingContext, root2.pendingContext !== root2.context);
18594            } else if (root2.context) {
18595              pushTopLevelContextObject(workInProgress2, root2.context, false);
18596            }
18597            pushHostContainer(workInProgress2, root2.containerInfo);
18598          }
18599          function updateHostRoot(current2, workInProgress2, renderLanes2) {
18600            pushHostRootContext(workInProgress2);
18601            if (current2 === null) {
18602              throw new Error("Should have a current fiber. This is a bug in React.");
18603            }
18604            var nextProps = workInProgress2.pendingProps;
18605            var prevState = workInProgress2.memoizedState;
18606            var prevChildren = prevState.element;
18607            cloneUpdateQueue(current2, workInProgress2);
18608            processUpdateQueue(workInProgress2, nextProps, null, renderLanes2);
18609            var nextState = workInProgress2.memoizedState;
18610            var root2 = workInProgress2.stateNode;
18611            var nextChildren = nextState.element;
18612            if (prevState.isDehydrated) {
18613              var overrideState = {
18614                element: nextChildren,
18615                isDehydrated: false,
18616                cache: nextState.cache,
18617                pendingSuspenseBoundaries: nextState.pendingSuspenseBoundaries,
18618                transitions: nextState.transitions
18619              };
18620              var updateQueue = workInProgress2.updateQueue;
18621              updateQueue.baseState = overrideState;
18622              workInProgress2.memoizedState = overrideState;
18623              if (workInProgress2.flags & ForceClientRender) {
18624                var recoverableError = createCapturedValueAtFiber(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."), workInProgress2);
18625                return mountHostRootWithoutHydrating(current2, workInProgress2, nextChildren, renderLanes2, recoverableError);
18626              } else if (nextChildren !== prevChildren) {
18627                var _recoverableError = createCapturedValueAtFiber(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."), workInProgress2);
18628                return mountHostRootWithoutHydrating(current2, workInProgress2, nextChildren, renderLanes2, _recoverableError);
18629              } else {
18630                enterHydrationState(workInProgress2);
18631                var child = mountChildFibers(workInProgress2, null, nextChildren, renderLanes2);
18632                workInProgress2.child = child;
18633                var node2 = child;
18634                while (node2) {
18635                  node2.flags = node2.flags & ~Placement | Hydrating;
18636                  node2 = node2.sibling;
18637                }
18638              }
18639            } else {
18640              resetHydrationState();
18641              if (nextChildren === prevChildren) {
18642                return bailoutOnAlreadyFinishedWork(current2, workInProgress2, renderLanes2);
18643              }
18644              reconcileChildren(current2, workInProgress2, nextChildren, renderLanes2);
18645            }
18646            return workInProgress2.child;
18647          }
18648          function mountHostRootWithoutHydrating(current2, workInProgress2, nextChildren, renderLanes2, recoverableError) {
18649            resetHydrationState();
18650            queueHydrationError(recoverableError);
18651            workInProgress2.flags |= ForceClientRender;
18652            reconcileChildren(current2, workInProgress2, nextChildren, renderLanes2);
18653            return workInProgress2.child;
18654          }
18655          function updateHostComponent(current2, workInProgress2, renderLanes2) {
18656            pushHostContext(workInProgress2);
18657            if (current2 === null) {
18658              tryToClaimNextHydratableInstance(workInProgress2);
18659            }
18660            var type = workInProgress2.type;
18661            var nextProps = workInProgress2.pendingProps;
18662            var prevProps = current2 !== null ? current2.memoizedProps : null;
18663            var nextChildren = nextProps.children;
18664            var isDirectTextChild = shouldSetTextContent(type, nextProps);
18665            if (isDirectTextChild) {
18666              nextChildren = null;
18667            } else if (prevProps !== null && shouldSetTextContent(type, prevProps)) {
18668              workInProgress2.flags |= ContentReset;
18669            }
18670            markRef(current2, workInProgress2);
18671            reconcileChildren(current2, workInProgress2, nextChildren, renderLanes2);
18672            return workInProgress2.child;
18673          }
18674          function updateHostText(current2, workInProgress2) {
18675            if (current2 === null) {
18676              tryToClaimNextHydratableInstance(workInProgress2);
18677            }
18678            return null;
18679          }
18680          function mountLazyComponent(_current, workInProgress2, elementType, renderLanes2) {
18681            resetSuspendedCurrentOnMountInLegacyMode(_current, workInProgress2);
18682            var props = workInProgress2.pendingProps;
18683            var lazyComponent = elementType;
18684            var payload = lazyComponent._payload;
18685            var init3 = lazyComponent._init;
18686            var Component2 = init3(payload);
18687            workInProgress2.type = Component2;
18688            var resolvedTag = workInProgress2.tag = resolveLazyComponentTag(Component2);
18689            var resolvedProps = resolveDefaultProps(Component2, props);
18690            var child;
18691            switch (resolvedTag) {
18692              case FunctionComponent: {
18693                {
18694                  validateFunctionComponentInDev(workInProgress2, Component2);
18695                  workInProgress2.type = Component2 = resolveFunctionForHotReloading(Component2);
18696                }
18697                child = updateFunctionComponent(null, workInProgress2, Component2, resolvedProps, renderLanes2);
18698                return child;
18699              }
18700              case ClassComponent: {
18701                {
18702                  workInProgress2.type = Component2 = resolveClassForHotReloading(Component2);
18703                }
18704                child = updateClassComponent(null, workInProgress2, Component2, resolvedProps, renderLanes2);
18705                return child;
18706              }
18707              case ForwardRef: {
18708                {
18709                  workInProgress2.type = Component2 = resolveForwardRefForHotReloading(Component2);
18710                }
18711                child = updateForwardRef(null, workInProgress2, Component2, resolvedProps, renderLanes2);
18712                return child;
18713              }
18714              case MemoComponent: {
18715                {
18716                  if (workInProgress2.type !== workInProgress2.elementType) {
18717                    var outerPropTypes = Component2.propTypes;
18718                    if (outerPropTypes) {
18719                      checkPropTypes(
18720                        outerPropTypes,
18721                        resolvedProps,
18722                        // Resolved for outer only
18723                        "prop",
18724                        getComponentNameFromType(Component2)
18725                      );
18726                    }
18727                  }
18728                }
18729                child = updateMemoComponent(
18730                  null,
18731                  workInProgress2,
18732                  Component2,
18733                  resolveDefaultProps(Component2.type, resolvedProps),
18734                  // The inner type can have defaults too
18735                  renderLanes2
18736                );
18737                return child;
18738              }
18739            }
18740            var hint = "";
18741            {
18742              if (Component2 !== null && typeof Component2 === "object" && Component2.$$typeof === REACT_LAZY_TYPE) {
18743                hint = " Did you wrap a component in React.lazy() more than once?";
18744              }
18745            }
18746            throw new Error("Element type is invalid. Received a promise that resolves to: " + Component2 + ". " + ("Lazy element type must resolve to a class or function." + hint));
18747          }
18748          function mountIncompleteClassComponent(_current, workInProgress2, Component2, nextProps, renderLanes2) {
18749            resetSuspendedCurrentOnMountInLegacyMode(_current, workInProgress2);
18750            workInProgress2.tag = ClassComponent;
18751            var hasContext;
18752            if (isContextProvider(Component2)) {
18753              hasContext = true;
18754              pushContextProvider(workInProgress2);
18755            } else {
18756              hasContext = false;
18757            }
18758            prepareToReadContext(workInProgress2, renderLanes2);
18759            constructClassInstance(workInProgress2, Component2, nextProps);
18760            mountClassInstance(workInProgress2, Component2, nextProps, renderLanes2);
18761            return finishClassComponent(null, workInProgress2, Component2, true, hasContext, renderLanes2);
18762          }
18763          function mountIndeterminateComponent(_current, workInProgress2, Component2, renderLanes2) {
18764            resetSuspendedCurrentOnMountInLegacyMode(_current, workInProgress2);
18765            var props = workInProgress2.pendingProps;
18766            var context;
18767            {
18768              var unmaskedContext = getUnmaskedContext(workInProgress2, Component2, false);
18769              context = getMaskedContext(workInProgress2, unmaskedContext);
18770            }
18771            prepareToReadContext(workInProgress2, renderLanes2);
18772            var value;
18773            var hasId;
18774            {
18775              markComponentRenderStarted(workInProgress2);
18776            }
18777            {
18778              if (Component2.prototype && typeof Component2.prototype.render === "function") {
18779                var componentName = getComponentNameFromType(Component2) || "Unknown";
18780                if (!didWarnAboutBadClass[componentName]) {
18781                  error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.", componentName, componentName);
18782                  didWarnAboutBadClass[componentName] = true;
18783                }
18784              }
18785              if (workInProgress2.mode & StrictLegacyMode) {
18786                ReactStrictModeWarnings.recordLegacyContextWarning(workInProgress2, null);
18787              }
18788              setIsRendering(true);
18789              ReactCurrentOwner$1.current = workInProgress2;
18790              value = renderWithHooks(null, workInProgress2, Component2, props, context, renderLanes2);
18791              hasId = checkDidRenderIdHook();
18792              setIsRendering(false);
18793            }
18794            {
18795              markComponentRenderStopped();
18796            }
18797            workInProgress2.flags |= PerformedWork;
18798            {
18799              if (typeof value === "object" && value !== null && typeof value.render === "function" && value.$$typeof === void 0) {
18800                var _componentName = getComponentNameFromType(Component2) || "Unknown";
18801                if (!didWarnAboutModulePatternComponent[_componentName]) {
18802                  error("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", _componentName, _componentName, _componentName);
18803                  didWarnAboutModulePatternComponent[_componentName] = true;
18804                }
18805              }
18806            }
18807            if (
18808              // Run these checks in production only if the flag is off.
18809              // Eventually we'll delete this branch altogether.
18810              typeof value === "object" && value !== null && typeof value.render === "function" && value.$$typeof === void 0
18811            ) {
18812              {
18813                var _componentName2 = getComponentNameFromType(Component2) || "Unknown";
18814                if (!didWarnAboutModulePatternComponent[_componentName2]) {
18815                  error("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", _componentName2, _componentName2, _componentName2);
18816                  didWarnAboutModulePatternComponent[_componentName2] = true;
18817                }
18818              }
18819              workInProgress2.tag = ClassComponent;
18820              workInProgress2.memoizedState = null;
18821              workInProgress2.updateQueue = null;
18822              var hasContext = false;
18823              if (isContextProvider(Component2)) {
18824                hasContext = true;
18825                pushContextProvider(workInProgress2);
18826              } else {
18827                hasContext = false;
18828              }
18829              workInProgress2.memoizedState = value.state !== null && value.state !== void 0 ? value.state : null;
18830              initializeUpdateQueue(workInProgress2);
18831              adoptClassInstance(workInProgress2, value);
18832              mountClassInstance(workInProgress2, Component2, props, renderLanes2);
18833              return finishClassComponent(null, workInProgress2, Component2, true, hasContext, renderLanes2);
18834            } else {
18835              workInProgress2.tag = FunctionComponent;
18836              {
18837                if (workInProgress2.mode & StrictLegacyMode) {
18838                  setIsStrictModeForDevtools(true);
18839                  try {
18840                    value = renderWithHooks(null, workInProgress2, Component2, props, context, renderLanes2);
18841                    hasId = checkDidRenderIdHook();
18842                  } finally {
18843                    setIsStrictModeForDevtools(false);
18844                  }
18845                }
18846              }
18847              if (getIsHydrating() && hasId) {
18848                pushMaterializedTreeId(workInProgress2);
18849              }
18850              reconcileChildren(null, workInProgress2, value, renderLanes2);
18851              {
18852                validateFunctionComponentInDev(workInProgress2, Component2);
18853              }
18854              return workInProgress2.child;
18855            }
18856          }
18857          function validateFunctionComponentInDev(workInProgress2, Component2) {
18858            {
18859              if (Component2) {
18860                if (Component2.childContextTypes) {
18861                  error("%s(...): childContextTypes cannot be defined on a function component.", Component2.displayName || Component2.name || "Component");
18862                }
18863              }
18864              if (workInProgress2.ref !== null) {
18865                var info = "";
18866                var ownerName = getCurrentFiberOwnerNameInDevOrNull();
18867                if (ownerName) {
18868                  info += "\n\nCheck the render method of `" + ownerName + "`.";
18869                }
18870                var warningKey = ownerName || "";
18871                var debugSource = workInProgress2._debugSource;
18872                if (debugSource) {
18873                  warningKey = debugSource.fileName + ":" + debugSource.lineNumber;
18874                }
18875                if (!didWarnAboutFunctionRefs[warningKey]) {
18876                  didWarnAboutFunctionRefs[warningKey] = true;
18877                  error("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s", info);
18878                }
18879              }
18880              if (Component2.defaultProps !== void 0) {
18881                var componentName = getComponentNameFromType(Component2) || "Unknown";
18882                if (!didWarnAboutDefaultPropsOnFunctionComponent[componentName]) {
18883                  error("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.", componentName);
18884                  didWarnAboutDefaultPropsOnFunctionComponent[componentName] = true;
18885                }
18886              }
18887              if (typeof Component2.getDerivedStateFromProps === "function") {
18888                var _componentName3 = getComponentNameFromType(Component2) || "Unknown";
18889                if (!didWarnAboutGetDerivedStateOnFunctionComponent[_componentName3]) {
18890                  error("%s: Function components do not support getDerivedStateFromProps.", _componentName3);
18891                  didWarnAboutGetDerivedStateOnFunctionComponent[_componentName3] = true;
18892                }
18893              }
18894              if (typeof Component2.contextType === "object" && Component2.contextType !== null) {
18895                var _componentName4 = getComponentNameFromType(Component2) || "Unknown";
18896                if (!didWarnAboutContextTypeOnFunctionComponent[_componentName4]) {
18897                  error("%s: Function components do not support contextType.", _componentName4);
18898                  didWarnAboutContextTypeOnFunctionComponent[_componentName4] = true;
18899                }
18900              }
18901            }
18902          }
18903          var SUSPENDED_MARKER = {
18904            dehydrated: null,
18905            treeContext: null,
18906            retryLane: NoLane
18907          };
18908          function mountSuspenseOffscreenState(renderLanes2) {
18909            return {
18910              baseLanes: renderLanes2,
18911              cachePool: getSuspendedCache(),
18912              transitions: null
18913            };
18914          }
18915          function updateSuspenseOffscreenState(prevOffscreenState, renderLanes2) {
18916            var cachePool = null;
18917            return {
18918              baseLanes: mergeLanes(prevOffscreenState.baseLanes, renderLanes2),
18919              cachePool,
18920              transitions: prevOffscreenState.transitions
18921            };
18922          }
18923          function shouldRemainOnFallback(suspenseContext, current2, workInProgress2, renderLanes2) {
18924            if (current2 !== null) {
18925              var suspenseState = current2.memoizedState;
18926              if (suspenseState === null) {
18927                return false;
18928              }
18929            }
18930            return hasSuspenseContext(suspenseContext, ForceSuspenseFallback);
18931          }
18932          function getRemainingWorkInPrimaryTree(current2, renderLanes2) {
18933            return removeLanes(current2.childLanes, renderLanes2);
18934          }
18935          function updateSuspenseComponent(current2, workInProgress2, renderLanes2) {
18936            var nextProps = workInProgress2.pendingProps;
18937            {
18938              if (shouldSuspend(workInProgress2)) {
18939                workInProgress2.flags |= DidCapture;
18940              }
18941            }
18942            var suspenseContext = suspenseStackCursor.current;
18943            var showFallback = false;
18944            var didSuspend = (workInProgress2.flags & DidCapture) !== NoFlags;
18945            if (didSuspend || shouldRemainOnFallback(suspenseContext, current2)) {
18946              showFallback = true;
18947              workInProgress2.flags &= ~DidCapture;
18948            } else {
18949              if (current2 === null || current2.memoizedState !== null) {
18950                {
18951                  suspenseContext = addSubtreeSuspenseContext(suspenseContext, InvisibleParentSuspenseContext);
18952                }
18953              }
18954            }
18955            suspenseContext = setDefaultShallowSuspenseContext(suspenseContext);
18956            pushSuspenseContext(workInProgress2, suspenseContext);
18957            if (current2 === null) {
18958              tryToClaimNextHydratableInstance(workInProgress2);
18959              var suspenseState = workInProgress2.memoizedState;
18960              if (suspenseState !== null) {
18961                var dehydrated = suspenseState.dehydrated;
18962                if (dehydrated !== null) {
18963                  return mountDehydratedSuspenseComponent(workInProgress2, dehydrated);
18964                }
18965              }
18966              var nextPrimaryChildren = nextProps.children;
18967              var nextFallbackChildren = nextProps.fallback;
18968              if (showFallback) {
18969                var fallbackFragment = mountSuspenseFallbackChildren(workInProgress2, nextPrimaryChildren, nextFallbackChildren, renderLanes2);
18970                var primaryChildFragment = workInProgress2.child;
18971                primaryChildFragment.memoizedState = mountSuspenseOffscreenState(renderLanes2);
18972                workInProgress2.memoizedState = SUSPENDED_MARKER;
18973                return fallbackFragment;
18974              } else {
18975                return mountSuspensePrimaryChildren(workInProgress2, nextPrimaryChildren);
18976              }
18977            } else {
18978              var prevState = current2.memoizedState;
18979              if (prevState !== null) {
18980                var _dehydrated = prevState.dehydrated;
18981                if (_dehydrated !== null) {
18982                  return updateDehydratedSuspenseComponent(current2, workInProgress2, didSuspend, nextProps, _dehydrated, prevState, renderLanes2);
18983                }
18984              }
18985              if (showFallback) {
18986                var _nextFallbackChildren = nextProps.fallback;
18987                var _nextPrimaryChildren = nextProps.children;
18988                var fallbackChildFragment = updateSuspenseFallbackChildren(current2, workInProgress2, _nextPrimaryChildren, _nextFallbackChildren, renderLanes2);
18989                var _primaryChildFragment2 = workInProgress2.child;
18990                var prevOffscreenState = current2.child.memoizedState;
18991                _primaryChildFragment2.memoizedState = prevOffscreenState === null ? mountSuspenseOffscreenState(renderLanes2) : updateSuspenseOffscreenState(prevOffscreenState, renderLanes2);
18992                _primaryChildFragment2.childLanes = getRemainingWorkInPrimaryTree(current2, renderLanes2);
18993                workInProgress2.memoizedState = SUSPENDED_MARKER;
18994                return fallbackChildFragment;
18995              } else {
18996                var _nextPrimaryChildren2 = nextProps.children;
18997                var _primaryChildFragment3 = updateSuspensePrimaryChildren(current2, workInProgress2, _nextPrimaryChildren2, renderLanes2);
18998                workInProgress2.memoizedState = null;
18999                return _primaryChildFragment3;
19000              }
19001            }
19002          }
19003          function mountSuspensePrimaryChildren(workInProgress2, primaryChildren, renderLanes2) {
19004            var mode = workInProgress2.mode;
19005            var primaryChildProps = {
19006              mode: "visible",
19007              children: primaryChildren
19008            };
19009            var primaryChildFragment = mountWorkInProgressOffscreenFiber(primaryChildProps, mode);
19010            primaryChildFragment.return = workInProgress2;
19011            workInProgress2.child = primaryChildFragment;
19012            return primaryChildFragment;
19013          }
19014          function mountSuspenseFallbackChildren(workInProgress2, primaryChildren, fallbackChildren, renderLanes2) {
19015            var mode = workInProgress2.mode;
19016            var progressedPrimaryFragment = workInProgress2.child;
19017            var primaryChildProps = {
19018              mode: "hidden",
19019              children: primaryChildren
19020            };
19021            var primaryChildFragment;
19022            var fallbackChildFragment;
19023            if ((mode & ConcurrentMode) === NoMode && progressedPrimaryFragment !== null) {
19024              primaryChildFragment = progressedPrimaryFragment;
19025              primaryChildFragment.childLanes = NoLanes;
19026              primaryChildFragment.pendingProps = primaryChildProps;
19027              if (workInProgress2.mode & ProfileMode) {
19028                primaryChildFragment.actualDuration = 0;
19029                primaryChildFragment.actualStartTime = -1;
19030                primaryChildFragment.selfBaseDuration = 0;
19031                primaryChildFragment.treeBaseDuration = 0;
19032              }
19033              fallbackChildFragment = createFiberFromFragment(fallbackChildren, mode, renderLanes2, null);
19034            } else {
19035              primaryChildFragment = mountWorkInProgressOffscreenFiber(primaryChildProps, mode);
19036              fallbackChildFragment = createFiberFromFragment(fallbackChildren, mode, renderLanes2, null);
19037            }
19038            primaryChildFragment.return = workInProgress2;
19039            fallbackChildFragment.return = workInProgress2;
19040            primaryChildFragment.sibling = fallbackChildFragment;
19041            workInProgress2.child = primaryChildFragment;
19042            return fallbackChildFragment;
19043          }
19044          function mountWorkInProgressOffscreenFiber(offscreenProps, mode, renderLanes2) {
19045            return createFiberFromOffscreen(offscreenProps, mode, NoLanes, null);
19046          }
19047          function updateWorkInProgressOffscreenFiber(current2, offscreenProps) {
19048            return createWorkInProgress(current2, offscreenProps);
19049          }
19050          function updateSuspensePrimaryChildren(current2, workInProgress2, primaryChildren, renderLanes2) {
19051            var currentPrimaryChildFragment = current2.child;
19052            var currentFallbackChildFragment = currentPrimaryChildFragment.sibling;
19053            var primaryChildFragment = updateWorkInProgressOffscreenFiber(currentPrimaryChildFragment, {
19054              mode: "visible",
19055              children: primaryChildren
19056            });
19057            if ((workInProgress2.mode & ConcurrentMode) === NoMode) {
19058              primaryChildFragment.lanes = renderLanes2;
19059            }
19060            primaryChildFragment.return = workInProgress2;
19061            primaryChildFragment.sibling = null;
19062            if (currentFallbackChildFragment !== null) {
19063              var deletions = workInProgress2.deletions;
19064              if (deletions === null) {
19065                workInProgress2.deletions = [currentFallbackChildFragment];
19066                workInProgress2.flags |= ChildDeletion;
19067              } else {
19068                deletions.push(currentFallbackChildFragment);
19069              }
19070            }
19071            workInProgress2.child = primaryChildFragment;
19072            return primaryChildFragment;
19073          }
19074          function updateSuspenseFallbackChildren(current2, workInProgress2, primaryChildren, fallbackChildren, renderLanes2) {
19075            var mode = workInProgress2.mode;
19076            var currentPrimaryChildFragment = current2.child;
19077            var currentFallbackChildFragment = currentPrimaryChildFragment.sibling;
19078            var primaryChildProps = {
19079              mode: "hidden",
19080              children: primaryChildren
19081            };
19082            var primaryChildFragment;
19083            if (
19084              // In legacy mode, we commit the primary tree as if it successfully
19085              // completed, even though it's in an inconsistent state.
19086              (mode & ConcurrentMode) === NoMode && // Make sure we're on the second pass, i.e. the primary child fragment was
19087              // already cloned. In legacy mode, the only case where this isn't true is
19088              // when DevTools forces us to display a fallback; we skip the first render
19089              // pass entirely and go straight to rendering the fallback. (In Concurrent
19090              // Mode, SuspenseList can also trigger this scenario, but this is a legacy-
19091              // only codepath.)
19092              workInProgress2.child !== currentPrimaryChildFragment
19093            ) {
19094              var progressedPrimaryFragment = workInProgress2.child;
19095              primaryChildFragment = progressedPrimaryFragment;
19096              primaryChildFragment.childLanes = NoLanes;
19097              primaryChildFragment.pendingProps = primaryChildProps;
19098              if (workInProgress2.mode & ProfileMode) {
19099                primaryChildFragment.actualDuration = 0;
19100                primaryChildFragment.actualStartTime = -1;
19101                primaryChildFragment.selfBaseDuration = currentPrimaryChildFragment.selfBaseDuration;
19102                primaryChildFragment.treeBaseDuration = currentPrimaryChildFragment.treeBaseDuration;
19103              }
19104              workInProgress2.deletions = null;
19105            } else {
19106              primaryChildFragment = updateWorkInProgressOffscreenFiber(currentPrimaryChildFragment, primaryChildProps);
19107              primaryChildFragment.subtreeFlags = currentPrimaryChildFragment.subtreeFlags & StaticMask;
19108            }
19109            var fallbackChildFragment;
19110            if (currentFallbackChildFragment !== null) {
19111              fallbackChildFragment = createWorkInProgress(currentFallbackChildFragment, fallbackChildren);
19112            } else {
19113              fallbackChildFragment = createFiberFromFragment(fallbackChildren, mode, renderLanes2, null);
19114              fallbackChildFragment.flags |= Placement;
19115            }
19116            fallbackChildFragment.return = workInProgress2;
19117            primaryChildFragment.return = workInProgress2;
19118            primaryChildFragment.sibling = fallbackChildFragment;
19119            workInProgress2.child = primaryChildFragment;
19120            return fallbackChildFragment;
19121          }
19122          function retrySuspenseComponentWithoutHydrating(current2, workInProgress2, renderLanes2, recoverableError) {
19123            if (recoverableError !== null) {
19124              queueHydrationError(recoverableError);
19125            }
19126            reconcileChildFibers(workInProgress2, current2.child, null, renderLanes2);
19127            var nextProps = workInProgress2.pendingProps;
19128            var primaryChildren = nextProps.children;
19129            var primaryChildFragment = mountSuspensePrimaryChildren(workInProgress2, primaryChildren);
19130            primaryChildFragment.flags |= Placement;
19131            workInProgress2.memoizedState = null;
19132            return primaryChildFragment;
19133          }
19134          function mountSuspenseFallbackAfterRetryWithoutHydrating(current2, workInProgress2, primaryChildren, fallbackChildren, renderLanes2) {
19135            var fiberMode = workInProgress2.mode;
19136            var primaryChildProps = {
19137              mode: "visible",
19138              children: primaryChildren
19139            };
19140            var primaryChildFragment = mountWorkInProgressOffscreenFiber(primaryChildProps, fiberMode);
19141            var fallbackChildFragment = createFiberFromFragment(fallbackChildren, fiberMode, renderLanes2, null);
19142            fallbackChildFragment.flags |= Placement;
19143            primaryChildFragment.return = workInProgress2;
19144            fallbackChildFragment.return = workInProgress2;
19145            primaryChildFragment.sibling = fallbackChildFragment;
19146            workInProgress2.child = primaryChildFragment;
19147            if ((workInProgress2.mode & ConcurrentMode) !== NoMode) {
19148              reconcileChildFibers(workInProgress2, current2.child, null, renderLanes2);
19149            }
19150            return fallbackChildFragment;
19151          }
19152          function mountDehydratedSuspenseComponent(workInProgress2, suspenseInstance, renderLanes2) {
19153            if ((workInProgress2.mode & ConcurrentMode) === NoMode) {
19154              {
19155                error("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components.");
19156              }
19157              workInProgress2.lanes = laneToLanes(SyncLane);
19158            } else if (isSuspenseInstanceFallback(suspenseInstance)) {
19159              workInProgress2.lanes = laneToLanes(DefaultHydrationLane);
19160            } else {
19161              workInProgress2.lanes = laneToLanes(OffscreenLane);
19162            }
19163            return null;
19164          }
19165          function updateDehydratedSuspenseComponent(current2, workInProgress2, didSuspend, nextProps, suspenseInstance, suspenseState, renderLanes2) {
19166            if (!didSuspend) {
19167              warnIfHydrating();
19168              if ((workInProgress2.mode & ConcurrentMode) === NoMode) {
19169                return retrySuspenseComponentWithoutHydrating(
19170                  current2,
19171                  workInProgress2,
19172                  renderLanes2,
19173                  // TODO: When we delete legacy mode, we should make this error argument
19174                  // required — every concurrent mode path that causes hydration to
19175                  // de-opt to client rendering should have an error message.
19176                  null
19177                );
19178              }
19179              if (isSuspenseInstanceFallback(suspenseInstance)) {
19180                var digest, message, stack;
19181                {
19182                  var _getSuspenseInstanceF = getSuspenseInstanceFallbackErrorDetails(suspenseInstance);
19183                  digest = _getSuspenseInstanceF.digest;
19184                  message = _getSuspenseInstanceF.message;
19185                  stack = _getSuspenseInstanceF.stack;
19186                }
19187                var error2;
19188                if (message) {
19189                  error2 = new Error(message);
19190                } else {
19191                  error2 = new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");
19192                }
19193                var capturedValue = createCapturedValue(error2, digest, stack);
19194                return retrySuspenseComponentWithoutHydrating(current2, workInProgress2, renderLanes2, capturedValue);
19195              }
19196              var hasContextChanged2 = includesSomeLane(renderLanes2, current2.childLanes);
19197              if (didReceiveUpdate || hasContextChanged2) {
19198                var root2 = getWorkInProgressRoot();
19199                if (root2 !== null) {
19200                  var attemptHydrationAtLane = getBumpedLaneForHydration(root2, renderLanes2);
19201                  if (attemptHydrationAtLane !== NoLane && attemptHydrationAtLane !== suspenseState.retryLane) {
19202                    suspenseState.retryLane = attemptHydrationAtLane;
19203                    var eventTime = NoTimestamp;
19204                    enqueueConcurrentRenderForLane(current2, attemptHydrationAtLane);
19205                    scheduleUpdateOnFiber(root2, current2, attemptHydrationAtLane, eventTime);
19206                  }
19207                }
19208                renderDidSuspendDelayIfPossible();
19209                var _capturedValue = createCapturedValue(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));
19210                return retrySuspenseComponentWithoutHydrating(current2, workInProgress2, renderLanes2, _capturedValue);
19211              } else if (isSuspenseInstancePending(suspenseInstance)) {
19212                workInProgress2.flags |= DidCapture;
19213                workInProgress2.child = current2.child;
19214                var retry = retryDehydratedSuspenseBoundary.bind(null, current2);
19215                registerSuspenseInstanceRetry(suspenseInstance, retry);
19216                return null;
19217              } else {
19218                reenterHydrationStateFromDehydratedSuspenseInstance(workInProgress2, suspenseInstance, suspenseState.treeContext);
19219                var primaryChildren = nextProps.children;
19220                var primaryChildFragment = mountSuspensePrimaryChildren(workInProgress2, primaryChildren);
19221                primaryChildFragment.flags |= Hydrating;
19222                return primaryChildFragment;
19223              }
19224            } else {
19225              if (workInProgress2.flags & ForceClientRender) {
19226                workInProgress2.flags &= ~ForceClientRender;
19227                var _capturedValue2 = createCapturedValue(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));
19228                return retrySuspenseComponentWithoutHydrating(current2, workInProgress2, renderLanes2, _capturedValue2);
19229              } else if (workInProgress2.memoizedState !== null) {
19230                workInProgress2.child = current2.child;
19231                workInProgress2.flags |= DidCapture;
19232                return null;
19233              } else {
19234                var nextPrimaryChildren = nextProps.children;
19235                var nextFallbackChildren = nextProps.fallback;
19236                var fallbackChildFragment = mountSuspenseFallbackAfterRetryWithoutHydrating(current2, workInProgress2, nextPrimaryChildren, nextFallbackChildren, renderLanes2);
19237                var _primaryChildFragment4 = workInProgress2.child;
19238                _primaryChildFragment4.memoizedState = mountSuspenseOffscreenState(renderLanes2);
19239                workInProgress2.memoizedState = SUSPENDED_MARKER;
19240                return fallbackChildFragment;
19241              }
19242            }
19243          }
19244          function scheduleSuspenseWorkOnFiber(fiber, renderLanes2, propagationRoot) {
19245            fiber.lanes = mergeLanes(fiber.lanes, renderLanes2);
19246            var alternate = fiber.alternate;
19247            if (alternate !== null) {
19248              alternate.lanes = mergeLanes(alternate.lanes, renderLanes2);
19249            }
19250            scheduleContextWorkOnParentPath(fiber.return, renderLanes2, propagationRoot);
19251          }
19252          function propagateSuspenseContextChange(workInProgress2, firstChild, renderLanes2) {
19253            var node2 = firstChild;
19254            while (node2 !== null) {
19255              if (node2.tag === SuspenseComponent) {
19256                var state = node2.memoizedState;
19257                if (state !== null) {
19258                  scheduleSuspenseWorkOnFiber(node2, renderLanes2, workInProgress2);
19259                }
19260              } else if (node2.tag === SuspenseListComponent) {
19261                scheduleSuspenseWorkOnFiber(node2, renderLanes2, workInProgress2);
19262              } else if (node2.child !== null) {
19263                node2.child.return = node2;
19264                node2 = node2.child;
19265                continue;
19266              }
19267              if (node2 === workInProgress2) {
19268                return;
19269              }
19270              while (node2.sibling === null) {
19271                if (node2.return === null || node2.return === workInProgress2) {
19272                  return;
19273                }
19274                node2 = node2.return;
19275              }
19276              node2.sibling.return = node2.return;
19277              node2 = node2.sibling;
19278            }
19279          }
19280          function findLastContentRow(firstChild) {
19281            var row = firstChild;
19282            var lastContentRow = null;
19283            while (row !== null) {
19284              var currentRow = row.alternate;
19285              if (currentRow !== null && findFirstSuspended(currentRow) === null) {
19286                lastContentRow = row;
19287              }
19288              row = row.sibling;
19289            }
19290            return lastContentRow;
19291          }
19292          function validateRevealOrder(revealOrder) {
19293            {
19294              if (revealOrder !== void 0 && revealOrder !== "forwards" && revealOrder !== "backwards" && revealOrder !== "together" && !didWarnAboutRevealOrder[revealOrder]) {
19295                didWarnAboutRevealOrder[revealOrder] = true;
19296                if (typeof revealOrder === "string") {
19297                  switch (revealOrder.toLowerCase()) {
19298                    case "together":
19299                    case "forwards":
19300                    case "backwards": {
19301                      error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.', revealOrder, revealOrder.toLowerCase());
19302                      break;
19303                    }
19304                    case "forward":
19305                    case "backward": {
19306                      error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.', revealOrder, revealOrder.toLowerCase());
19307                      break;
19308                    }
19309                    default:
19310                      error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?', revealOrder);
19311                      break;
19312                  }
19313                } else {
19314                  error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?', revealOrder);
19315                }
19316              }
19317            }
19318          }
19319          function validateTailOptions(tailMode, revealOrder) {
19320            {
19321              if (tailMode !== void 0 && !didWarnAboutTailOptions[tailMode]) {
19322                if (tailMode !== "collapsed" && tailMode !== "hidden") {
19323                  didWarnAboutTailOptions[tailMode] = true;
19324                  error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?', tailMode);
19325                } else if (revealOrder !== "forwards" && revealOrder !== "backwards") {
19326                  didWarnAboutTailOptions[tailMode] = true;
19327                  error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?', tailMode);
19328                }
19329              }
19330            }
19331          }
19332          function validateSuspenseListNestedChild(childSlot, index3) {
19333            {
19334              var isAnArray = isArray3(childSlot);
19335              var isIterable2 = !isAnArray && typeof getIteratorFn(childSlot) === "function";
19336              if (isAnArray || isIterable2) {
19337                var type = isAnArray ? "array" : "iterable";
19338                error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>", type, index3, type);
19339                return false;
19340              }
19341            }
19342            return true;
19343          }
19344          function validateSuspenseListChildren(children, revealOrder) {
19345            {
19346              if ((revealOrder === "forwards" || revealOrder === "backwards") && children !== void 0 && children !== null && children !== false) {
19347                if (isArray3(children)) {
19348                  for (var i2 = 0; i2 < children.length; i2++) {
19349                    if (!validateSuspenseListNestedChild(children[i2], i2)) {
19350                      return;
19351                    }
19352                  }
19353                } else {
19354                  var iteratorFn = getIteratorFn(children);
19355                  if (typeof iteratorFn === "function") {
19356                    var childrenIterator = iteratorFn.call(children);
19357                    if (childrenIterator) {
19358                      var step = childrenIterator.next();
19359                      var _i = 0;
19360                      for (; !step.done; step = childrenIterator.next()) {
19361                        if (!validateSuspenseListNestedChild(step.value, _i)) {
19362                          return;
19363                        }
19364                        _i++;
19365                      }
19366                    }
19367                  } else {
19368                    error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?', revealOrder);
19369                  }
19370                }
19371              }
19372            }
19373          }
19374          function initSuspenseListRenderState(workInProgress2, isBackwards, tail, lastContentRow, tailMode) {
19375            var renderState = workInProgress2.memoizedState;
19376            if (renderState === null) {
19377              workInProgress2.memoizedState = {
19378                isBackwards,
19379                rendering: null,
19380                renderingStartTime: 0,
19381                last: lastContentRow,
19382                tail,
19383                tailMode
19384              };
19385            } else {
19386              renderState.isBackwards = isBackwards;
19387              renderState.rendering = null;
19388              renderState.renderingStartTime = 0;
19389              renderState.last = lastContentRow;
19390              renderState.tail = tail;
19391              renderState.tailMode = tailMode;
19392            }
19393          }
19394          function updateSuspenseListComponent(current2, workInProgress2, renderLanes2) {
19395            var nextProps = workInProgress2.pendingProps;
19396            var revealOrder = nextProps.revealOrder;
19397            var tailMode = nextProps.tail;
19398            var newChildren = nextProps.children;
19399            validateRevealOrder(revealOrder);
19400            validateTailOptions(tailMode, revealOrder);
19401            validateSuspenseListChildren(newChildren, revealOrder);
19402            reconcileChildren(current2, workInProgress2, newChildren, renderLanes2);
19403            var suspenseContext = suspenseStackCursor.current;
19404            var shouldForceFallback = hasSuspenseContext(suspenseContext, ForceSuspenseFallback);
19405            if (shouldForceFallback) {
19406              suspenseContext = setShallowSuspenseContext(suspenseContext, ForceSuspenseFallback);
19407              workInProgress2.flags |= DidCapture;
19408            } else {
19409              var didSuspendBefore = current2 !== null && (current2.flags & DidCapture) !== NoFlags;
19410              if (didSuspendBefore) {
19411                propagateSuspenseContextChange(workInProgress2, workInProgress2.child, renderLanes2);
19412              }
19413              suspenseContext = setDefaultShallowSuspenseContext(suspenseContext);
19414            }
19415            pushSuspenseContext(workInProgress2, suspenseContext);
19416            if ((workInProgress2.mode & ConcurrentMode) === NoMode) {
19417              workInProgress2.memoizedState = null;
19418            } else {
19419              switch (revealOrder) {
19420                case "forwards": {
19421                  var lastContentRow = findLastContentRow(workInProgress2.child);
19422                  var tail;
19423                  if (lastContentRow === null) {
19424                    tail = workInProgress2.child;
19425                    workInProgress2.child = null;
19426                  } else {
19427                    tail = lastContentRow.sibling;
19428                    lastContentRow.sibling = null;
19429                  }
19430                  initSuspenseListRenderState(
19431                    workInProgress2,
19432                    false,
19433                    // isBackwards
19434                    tail,
19435                    lastContentRow,
19436                    tailMode
19437                  );
19438                  break;
19439                }
19440                case "backwards": {
19441                  var _tail = null;
19442                  var row = workInProgress2.child;
19443                  workInProgress2.child = null;
19444                  while (row !== null) {
19445                    var currentRow = row.alternate;
19446                    if (currentRow !== null && findFirstSuspended(currentRow) === null) {
19447                      workInProgress2.child = row;
19448                      break;
19449                    }
19450                    var nextRow = row.sibling;
19451                    row.sibling = _tail;
19452                    _tail = row;
19453                    row = nextRow;
19454                  }
19455                  initSuspenseListRenderState(
19456                    workInProgress2,
19457                    true,
19458                    // isBackwards
19459                    _tail,
19460                    null,
19461                    // last
19462                    tailMode
19463                  );
19464                  break;
19465                }
19466                case "together": {
19467                  initSuspenseListRenderState(
19468                    workInProgress2,
19469                    false,
19470                    // isBackwards
19471                    null,
19472                    // tail
19473                    null,
19474                    // last
19475                    void 0
19476                  );
19477                  break;
19478                }
19479                default: {
19480                  workInProgress2.memoizedState = null;
19481                }
19482              }
19483            }
19484            return workInProgress2.child;
19485          }
19486          function updatePortalComponent(current2, workInProgress2, renderLanes2) {
19487            pushHostContainer(workInProgress2, workInProgress2.stateNode.containerInfo);
19488            var nextChildren = workInProgress2.pendingProps;
19489            if (current2 === null) {
19490              workInProgress2.child = reconcileChildFibers(workInProgress2, null, nextChildren, renderLanes2);
19491            } else {
19492              reconcileChildren(current2, workInProgress2, nextChildren, renderLanes2);
19493            }
19494            return workInProgress2.child;
19495          }
19496          var hasWarnedAboutUsingNoValuePropOnContextProvider = false;
19497          function updateContextProvider(current2, workInProgress2, renderLanes2) {
19498            var providerType = workInProgress2.type;
19499            var context = providerType._context;
19500            var newProps = workInProgress2.pendingProps;
19501            var oldProps = workInProgress2.memoizedProps;
19502            var newValue = newProps.value;
19503            {
19504              if (!("value" in newProps)) {
19505                if (!hasWarnedAboutUsingNoValuePropOnContextProvider) {
19506                  hasWarnedAboutUsingNoValuePropOnContextProvider = true;
19507                  error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?");
19508                }
19509              }
19510              var providerPropTypes = workInProgress2.type.propTypes;
19511              if (providerPropTypes) {
19512                checkPropTypes(providerPropTypes, newProps, "prop", "Context.Provider");
19513              }
19514            }
19515            pushProvider(workInProgress2, context, newValue);
19516            {
19517              if (oldProps !== null) {
19518                var oldValue = oldProps.value;
19519                if (objectIs(oldValue, newValue)) {
19520                  if (oldProps.children === newProps.children && !hasContextChanged()) {
19521                    return bailoutOnAlreadyFinishedWork(current2, workInProgress2, renderLanes2);
19522                  }
19523                } else {
19524                  propagateContextChange(workInProgress2, context, renderLanes2);
19525                }
19526              }
19527            }
19528            var newChildren = newProps.children;
19529            reconcileChildren(current2, workInProgress2, newChildren, renderLanes2);
19530            return workInProgress2.child;
19531          }
19532          var hasWarnedAboutUsingContextAsConsumer = false;
19533          function updateContextConsumer(current2, workInProgress2, renderLanes2) {
19534            var context = workInProgress2.type;
19535            {
19536              if (context._context === void 0) {
19537                if (context !== context.Consumer) {
19538                  if (!hasWarnedAboutUsingContextAsConsumer) {
19539                    hasWarnedAboutUsingContextAsConsumer = true;
19540                    error("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?");
19541                  }
19542                }
19543              } else {
19544                context = context._context;
19545              }
19546            }
19547            var newProps = workInProgress2.pendingProps;
19548            var render3 = newProps.children;
19549            {
19550              if (typeof render3 !== "function") {
19551                error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");
19552              }
19553            }
19554            prepareToReadContext(workInProgress2, renderLanes2);
19555            var newValue = readContext(context);
19556            {
19557              markComponentRenderStarted(workInProgress2);
19558            }
19559            var newChildren;
19560            {
19561              ReactCurrentOwner$1.current = workInProgress2;
19562              setIsRendering(true);
19563              newChildren = render3(newValue);
19564              setIsRendering(false);
19565            }
19566            {
19567              markComponentRenderStopped();
19568            }
19569            workInProgress2.flags |= PerformedWork;
19570            reconcileChildren(current2, workInProgress2, newChildren, renderLanes2);
19571            return workInProgress2.child;
19572          }
19573          function markWorkInProgressReceivedUpdate() {
19574            didReceiveUpdate = true;
19575          }
19576          function resetSuspendedCurrentOnMountInLegacyMode(current2, workInProgress2) {
19577            if ((workInProgress2.mode & ConcurrentMode) === NoMode) {
19578              if (current2 !== null) {
19579                current2.alternate = null;
19580                workInProgress2.alternate = null;
19581                workInProgress2.flags |= Placement;
19582              }
19583            }
19584          }
19585          function bailoutOnAlreadyFinishedWork(current2, workInProgress2, renderLanes2) {
19586            if (current2 !== null) {
19587              workInProgress2.dependencies = current2.dependencies;
19588            }
19589            {
19590              stopProfilerTimerIfRunning();
19591            }
19592            markSkippedUpdateLanes(workInProgress2.lanes);
19593            if (!includesSomeLane(renderLanes2, workInProgress2.childLanes)) {
19594              {
19595                return null;
19596              }
19597            }
19598            cloneChildFibers(current2, workInProgress2);
19599            return workInProgress2.child;
19600          }
19601          function remountFiber(current2, oldWorkInProgress, newWorkInProgress) {
19602            {
19603              var returnFiber = oldWorkInProgress.return;
19604              if (returnFiber === null) {
19605                throw new Error("Cannot swap the root fiber.");
19606              }
19607              current2.alternate = null;
19608              oldWorkInProgress.alternate = null;
19609              newWorkInProgress.index = oldWorkInProgress.index;
19610              newWorkInProgress.sibling = oldWorkInProgress.sibling;
19611              newWorkInProgress.return = oldWorkInProgress.return;
19612              newWorkInProgress.ref = oldWorkInProgress.ref;
19613              if (oldWorkInProgress === returnFiber.child) {
19614                returnFiber.child = newWorkInProgress;
19615              } else {
19616                var prevSibling = returnFiber.child;
19617                if (prevSibling === null) {
19618                  throw new Error("Expected parent to have a child.");
19619                }
19620                while (prevSibling.sibling !== oldWorkInProgress) {
19621                  prevSibling = prevSibling.sibling;
19622                  if (prevSibling === null) {
19623                    throw new Error("Expected to find the previous sibling.");
19624                  }
19625                }
19626                prevSibling.sibling = newWorkInProgress;
19627              }
19628              var deletions = returnFiber.deletions;
19629              if (deletions === null) {
19630                returnFiber.deletions = [current2];
19631                returnFiber.flags |= ChildDeletion;
19632              } else {
19633                deletions.push(current2);
19634              }
19635              newWorkInProgress.flags |= Placement;
19636              return newWorkInProgress;
19637            }
19638          }
19639          function checkScheduledUpdateOrContext(current2, renderLanes2) {
19640            var updateLanes = current2.lanes;
19641            if (includesSomeLane(updateLanes, renderLanes2)) {
19642              return true;
19643            }
19644            return false;
19645          }
19646          function attemptEarlyBailoutIfNoScheduledUpdate(current2, workInProgress2, renderLanes2) {
19647            switch (workInProgress2.tag) {
19648              case HostRoot:
19649                pushHostRootContext(workInProgress2);
19650                var root2 = workInProgress2.stateNode;
19651                resetHydrationState();
19652                break;
19653              case HostComponent:
19654                pushHostContext(workInProgress2);
19655                break;
19656              case ClassComponent: {
19657                var Component2 = workInProgress2.type;
19658                if (isContextProvider(Component2)) {
19659                  pushContextProvider(workInProgress2);
19660                }
19661                break;
19662              }
19663              case HostPortal:
19664                pushHostContainer(workInProgress2, workInProgress2.stateNode.containerInfo);
19665                break;
19666              case ContextProvider: {
19667                var newValue = workInProgress2.memoizedProps.value;
19668                var context = workInProgress2.type._context;
19669                pushProvider(workInProgress2, context, newValue);
19670                break;
19671              }
19672              case Profiler:
19673                {
19674                  var hasChildWork = includesSomeLane(renderLanes2, workInProgress2.childLanes);
19675                  if (hasChildWork) {
19676                    workInProgress2.flags |= Update;
19677                  }
19678                  {
19679                    var stateNode = workInProgress2.stateNode;
19680                    stateNode.effectDuration = 0;
19681                    stateNode.passiveEffectDuration = 0;
19682                  }
19683                }
19684                break;
19685              case SuspenseComponent: {
19686                var state = workInProgress2.memoizedState;
19687                if (state !== null) {
19688                  if (state.dehydrated !== null) {
19689                    pushSuspenseContext(workInProgress2, setDefaultShallowSuspenseContext(suspenseStackCursor.current));
19690                    workInProgress2.flags |= DidCapture;
19691                    return null;
19692                  }
19693                  var primaryChildFragment = workInProgress2.child;
19694                  var primaryChildLanes = primaryChildFragment.childLanes;
19695                  if (includesSomeLane(renderLanes2, primaryChildLanes)) {
19696                    return updateSuspenseComponent(current2, workInProgress2, renderLanes2);
19697                  } else {
19698                    pushSuspenseContext(workInProgress2, setDefaultShallowSuspenseContext(suspenseStackCursor.current));
19699                    var child = bailoutOnAlreadyFinishedWork(current2, workInProgress2, renderLanes2);
19700                    if (child !== null) {
19701                      return child.sibling;
19702                    } else {
19703                      return null;
19704                    }
19705                  }
19706                } else {
19707                  pushSuspenseContext(workInProgress2, setDefaultShallowSuspenseContext(suspenseStackCursor.current));
19708                }
19709                break;
19710              }
19711              case SuspenseListComponent: {
19712                var didSuspendBefore = (current2.flags & DidCapture) !== NoFlags;
19713                var _hasChildWork = includesSomeLane(renderLanes2, workInProgress2.childLanes);
19714                if (didSuspendBefore) {
19715                  if (_hasChildWork) {
19716                    return updateSuspenseListComponent(current2, workInProgress2, renderLanes2);
19717                  }
19718                  workInProgress2.flags |= DidCapture;
19719                }
19720                var renderState = workInProgress2.memoizedState;
19721                if (renderState !== null) {
19722                  renderState.rendering = null;
19723                  renderState.tail = null;
19724                  renderState.lastEffect = null;
19725                }
19726                pushSuspenseContext(workInProgress2, suspenseStackCursor.current);
19727                if (_hasChildWork) {
19728                  break;
19729                } else {
19730                  return null;
19731                }
19732              }
19733              case OffscreenComponent:
19734              case LegacyHiddenComponent: {
19735                workInProgress2.lanes = NoLanes;
19736                return updateOffscreenComponent(current2, workInProgress2, renderLanes2);
19737              }
19738            }
19739            return bailoutOnAlreadyFinishedWork(current2, workInProgress2, renderLanes2);
19740          }
19741          function beginWork(current2, workInProgress2, renderLanes2) {
19742            {
19743              if (workInProgress2._debugNeedsRemount && current2 !== null) {
19744                return remountFiber(current2, workInProgress2, createFiberFromTypeAndProps(workInProgress2.type, workInProgress2.key, workInProgress2.pendingProps, workInProgress2._debugOwner || null, workInProgress2.mode, workInProgress2.lanes));
19745              }
19746            }
19747            if (current2 !== null) {
19748              var oldProps = current2.memoizedProps;
19749              var newProps = workInProgress2.pendingProps;
19750              if (oldProps !== newProps || hasContextChanged() || // Force a re-render if the implementation changed due to hot reload:
19751              workInProgress2.type !== current2.type) {
19752                didReceiveUpdate = true;
19753              } else {
19754                var hasScheduledUpdateOrContext = checkScheduledUpdateOrContext(current2, renderLanes2);
19755                if (!hasScheduledUpdateOrContext && // If this is the second pass of an error or suspense boundary, there
19756                // may not be work scheduled on `current`, so we check for this flag.
19757                (workInProgress2.flags & DidCapture) === NoFlags) {
19758                  didReceiveUpdate = false;
19759                  return attemptEarlyBailoutIfNoScheduledUpdate(current2, workInProgress2, renderLanes2);
19760                }
19761                if ((current2.flags & ForceUpdateForLegacySuspense) !== NoFlags) {
19762                  didReceiveUpdate = true;
19763                } else {
19764                  didReceiveUpdate = false;
19765                }
19766              }
19767            } else {
19768              didReceiveUpdate = false;
19769              if (getIsHydrating() && isForkedChild(workInProgress2)) {
19770                var slotIndex = workInProgress2.index;
19771                var numberOfForks = getForksAtLevel();
19772                pushTreeId(workInProgress2, numberOfForks, slotIndex);
19773              }
19774            }
19775            workInProgress2.lanes = NoLanes;
19776            switch (workInProgress2.tag) {
19777              case IndeterminateComponent: {
19778                return mountIndeterminateComponent(current2, workInProgress2, workInProgress2.type, renderLanes2);
19779              }
19780              case LazyComponent: {
19781                var elementType = workInProgress2.elementType;
19782                return mountLazyComponent(current2, workInProgress2, elementType, renderLanes2);
19783              }
19784              case FunctionComponent: {
19785                var Component2 = workInProgress2.type;
19786                var unresolvedProps = workInProgress2.pendingProps;
19787                var resolvedProps = workInProgress2.elementType === Component2 ? unresolvedProps : resolveDefaultProps(Component2, unresolvedProps);
19788                return updateFunctionComponent(current2, workInProgress2, Component2, resolvedProps, renderLanes2);
19789              }
19790              case ClassComponent: {
19791                var _Component = workInProgress2.type;
19792                var _unresolvedProps = workInProgress2.pendingProps;
19793                var _resolvedProps = workInProgress2.elementType === _Component ? _unresolvedProps : resolveDefaultProps(_Component, _unresolvedProps);
19794                return updateClassComponent(current2, workInProgress2, _Component, _resolvedProps, renderLanes2);
19795              }
19796              case HostRoot:
19797                return updateHostRoot(current2, workInProgress2, renderLanes2);
19798              case HostComponent:
19799                return updateHostComponent(current2, workInProgress2, renderLanes2);
19800              case HostText:
19801                return updateHostText(current2, workInProgress2);
19802              case SuspenseComponent:
19803                return updateSuspenseComponent(current2, workInProgress2, renderLanes2);
19804              case HostPortal:
19805                return updatePortalComponent(current2, workInProgress2, renderLanes2);
19806              case ForwardRef: {
19807                var type = workInProgress2.type;
19808                var _unresolvedProps2 = workInProgress2.pendingProps;
19809                var _resolvedProps2 = workInProgress2.elementType === type ? _unresolvedProps2 : resolveDefaultProps(type, _unresolvedProps2);
19810                return updateForwardRef(current2, workInProgress2, type, _resolvedProps2, renderLanes2);
19811              }
19812              case Fragment4:
19813                return updateFragment(current2, workInProgress2, renderLanes2);
19814              case Mode:
19815                return updateMode(current2, workInProgress2, renderLanes2);
19816              case Profiler:
19817                return updateProfiler(current2, workInProgress2, renderLanes2);
19818              case ContextProvider:
19819                return updateContextProvider(current2, workInProgress2, renderLanes2);
19820              case ContextConsumer:
19821                return updateContextConsumer(current2, workInProgress2, renderLanes2);
19822              case MemoComponent: {
19823                var _type2 = workInProgress2.type;
19824                var _unresolvedProps3 = workInProgress2.pendingProps;
19825                var _resolvedProps3 = resolveDefaultProps(_type2, _unresolvedProps3);
19826                {
19827                  if (workInProgress2.type !== workInProgress2.elementType) {
19828                    var outerPropTypes = _type2.propTypes;
19829                    if (outerPropTypes) {
19830                      checkPropTypes(
19831                        outerPropTypes,
19832                        _resolvedProps3,
19833                        // Resolved for outer only
19834                        "prop",
19835                        getComponentNameFromType(_type2)
19836                      );
19837                    }
19838                  }
19839                }
19840                _resolvedProps3 = resolveDefaultProps(_type2.type, _resolvedProps3);
19841                return updateMemoComponent(current2, workInProgress2, _type2, _resolvedProps3, renderLanes2);
19842              }
19843              case SimpleMemoComponent: {
19844                return updateSimpleMemoComponent(current2, workInProgress2, workInProgress2.type, workInProgress2.pendingProps, renderLanes2);
19845              }
19846              case IncompleteClassComponent: {
19847                var _Component2 = workInProgress2.type;
19848                var _unresolvedProps4 = workInProgress2.pendingProps;
19849                var _resolvedProps4 = workInProgress2.elementType === _Component2 ? _unresolvedProps4 : resolveDefaultProps(_Component2, _unresolvedProps4);
19850                return mountIncompleteClassComponent(current2, workInProgress2, _Component2, _resolvedProps4, renderLanes2);
19851              }
19852              case SuspenseListComponent: {
19853                return updateSuspenseListComponent(current2, workInProgress2, renderLanes2);
19854              }
19855              case ScopeComponent: {
19856                break;
19857              }
19858              case OffscreenComponent: {
19859                return updateOffscreenComponent(current2, workInProgress2, renderLanes2);
19860              }
19861            }
19862            throw new Error("Unknown unit of work tag (" + workInProgress2.tag + "). This error is likely caused by a bug in React. Please file an issue.");
19863          }
19864          function markUpdate(workInProgress2) {
19865            workInProgress2.flags |= Update;
19866          }
19867          function markRef$1(workInProgress2) {
19868            workInProgress2.flags |= Ref;
19869            {
19870              workInProgress2.flags |= RefStatic;
19871            }
19872          }
19873          var appendAllChildren;
19874          var updateHostContainer;
19875          var updateHostComponent$1;
19876          var updateHostText$1;
19877          {
19878            appendAllChildren = function(parent, workInProgress2, needsVisibilityToggle, isHidden) {
19879              var node2 = workInProgress2.child;
19880              while (node2 !== null) {
19881                if (node2.tag === HostComponent || node2.tag === HostText) {
19882                  appendInitialChild(parent, node2.stateNode);
19883                } else if (node2.tag === HostPortal) ;
19884                else if (node2.child !== null) {
19885                  node2.child.return = node2;
19886                  node2 = node2.child;
19887                  continue;
19888                }
19889                if (node2 === workInProgress2) {
19890                  return;
19891                }
19892                while (node2.sibling === null) {
19893                  if (node2.return === null || node2.return === workInProgress2) {
19894                    return;
19895                  }
19896                  node2 = node2.return;
19897                }
19898                node2.sibling.return = node2.return;
19899                node2 = node2.sibling;
19900              }
19901            };
19902            updateHostContainer = function(current2, workInProgress2) {
19903            };
19904            updateHostComponent$1 = function(current2, workInProgress2, type, newProps, rootContainerInstance) {
19905              var oldProps = current2.memoizedProps;
19906              if (oldProps === newProps) {
19907                return;
19908              }
19909              var instance = workInProgress2.stateNode;
19910              var currentHostContext = getHostContext();
19911              var updatePayload = prepareUpdate(instance, type, oldProps, newProps, rootContainerInstance, currentHostContext);
19912              workInProgress2.updateQueue = updatePayload;
19913              if (updatePayload) {
19914                markUpdate(workInProgress2);
19915              }
19916            };
19917            updateHostText$1 = function(current2, workInProgress2, oldText, newText) {
19918              if (oldText !== newText) {
19919                markUpdate(workInProgress2);
19920              }
19921            };
19922          }
19923          function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
19924            if (getIsHydrating()) {
19925              return;
19926            }
19927            switch (renderState.tailMode) {
19928              case "hidden": {
19929                var tailNode = renderState.tail;
19930                var lastTailNode = null;
19931                while (tailNode !== null) {
19932                  if (tailNode.alternate !== null) {
19933                    lastTailNode = tailNode;
19934                  }
19935                  tailNode = tailNode.sibling;
19936                }
19937                if (lastTailNode === null) {
19938                  renderState.tail = null;
19939                } else {
19940                  lastTailNode.sibling = null;
19941                }
19942                break;
19943              }
19944              case "collapsed": {
19945                var _tailNode = renderState.tail;
19946                var _lastTailNode = null;
19947                while (_tailNode !== null) {
19948                  if (_tailNode.alternate !== null) {
19949                    _lastTailNode = _tailNode;
19950                  }
19951                  _tailNode = _tailNode.sibling;
19952                }
19953                if (_lastTailNode === null) {
19954                  if (!hasRenderedATailFallback && renderState.tail !== null) {
19955                    renderState.tail.sibling = null;
19956                  } else {
19957                    renderState.tail = null;
19958                  }
19959                } else {
19960                  _lastTailNode.sibling = null;
19961                }
19962                break;
19963              }
19964            }
19965          }
19966          function bubbleProperties(completedWork) {
19967            var didBailout = completedWork.alternate !== null && completedWork.alternate.child === completedWork.child;
19968            var newChildLanes = NoLanes;
19969            var subtreeFlags = NoFlags;
19970            if (!didBailout) {
19971              if ((completedWork.mode & ProfileMode) !== NoMode) {
19972                var actualDuration = completedWork.actualDuration;
19973                var treeBaseDuration = completedWork.selfBaseDuration;
19974                var child = completedWork.child;
19975                while (child !== null) {
19976                  newChildLanes = mergeLanes(newChildLanes, mergeLanes(child.lanes, child.childLanes));
19977                  subtreeFlags |= child.subtreeFlags;
19978                  subtreeFlags |= child.flags;
19979                  actualDuration += child.actualDuration;
19980                  treeBaseDuration += child.treeBaseDuration;
19981                  child = child.sibling;
19982                }
19983                completedWork.actualDuration = actualDuration;
19984                completedWork.treeBaseDuration = treeBaseDuration;
19985              } else {
19986                var _child = completedWork.child;
19987                while (_child !== null) {
19988                  newChildLanes = mergeLanes(newChildLanes, mergeLanes(_child.lanes, _child.childLanes));
19989                  subtreeFlags |= _child.subtreeFlags;
19990                  subtreeFlags |= _child.flags;
19991                  _child.return = completedWork;
19992                  _child = _child.sibling;
19993                }
19994              }
19995              completedWork.subtreeFlags |= subtreeFlags;
19996            } else {
19997              if ((completedWork.mode & ProfileMode) !== NoMode) {
19998                var _treeBaseDuration = completedWork.selfBaseDuration;
19999                var _child2 = completedWork.child;
20000                while (_child2 !== null) {
20001                  newChildLanes = mergeLanes(newChildLanes, mergeLanes(_child2.lanes, _child2.childLanes));
20002                  subtreeFlags |= _child2.subtreeFlags & StaticMask;
20003                  subtreeFlags |= _child2.flags & StaticMask;
20004                  _treeBaseDuration += _child2.treeBaseDuration;
20005                  _child2 = _child2.sibling;
20006                }
20007                completedWork.treeBaseDuration = _treeBaseDuration;
20008              } else {
20009                var _child3 = completedWork.child;
20010                while (_child3 !== null) {
20011                  newChildLanes = mergeLanes(newChildLanes, mergeLanes(_child3.lanes, _child3.childLanes));
20012                  subtreeFlags |= _child3.subtreeFlags & StaticMask;
20013                  subtreeFlags |= _child3.flags & StaticMask;
20014                  _child3.return = completedWork;
20015                  _child3 = _child3.sibling;
20016                }
20017              }
20018              completedWork.subtreeFlags |= subtreeFlags;
20019            }
20020            completedWork.childLanes = newChildLanes;
20021            return didBailout;
20022          }
20023          function completeDehydratedSuspenseBoundary(current2, workInProgress2, nextState) {
20024            if (hasUnhydratedTailNodes() && (workInProgress2.mode & ConcurrentMode) !== NoMode && (workInProgress2.flags & DidCapture) === NoFlags) {
20025              warnIfUnhydratedTailNodes(workInProgress2);
20026              resetHydrationState();
20027              workInProgress2.flags |= ForceClientRender | Incomplete | ShouldCapture;
20028              return false;
20029            }
20030            var wasHydrated = popHydrationState(workInProgress2);
20031            if (nextState !== null && nextState.dehydrated !== null) {
20032              if (current2 === null) {
20033                if (!wasHydrated) {
20034                  throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");
20035                }
20036                prepareToHydrateHostSuspenseInstance(workInProgress2);
20037                bubbleProperties(workInProgress2);
20038                {
20039                  if ((workInProgress2.mode & ProfileMode) !== NoMode) {
20040                    var isTimedOutSuspense = nextState !== null;
20041                    if (isTimedOutSuspense) {
20042                      var primaryChildFragment = workInProgress2.child;
20043                      if (primaryChildFragment !== null) {
20044                        workInProgress2.treeBaseDuration -= primaryChildFragment.treeBaseDuration;
20045                      }
20046                    }
20047                  }
20048                }
20049                return false;
20050              } else {
20051                resetHydrationState();
20052                if ((workInProgress2.flags & DidCapture) === NoFlags) {
20053                  workInProgress2.memoizedState = null;
20054                }
20055                workInProgress2.flags |= Update;
20056                bubbleProperties(workInProgress2);
20057                {
20058                  if ((workInProgress2.mode & ProfileMode) !== NoMode) {
20059                    var _isTimedOutSuspense = nextState !== null;
20060                    if (_isTimedOutSuspense) {
20061                      var _primaryChildFragment = workInProgress2.child;
20062                      if (_primaryChildFragment !== null) {
20063                        workInProgress2.treeBaseDuration -= _primaryChildFragment.treeBaseDuration;
20064                      }
20065                    }
20066                  }
20067                }
20068                return false;
20069              }
20070            } else {
20071              upgradeHydrationErrorsToRecoverable();
20072              return true;
20073            }
20074          }
20075          function completeWork(current2, workInProgress2, renderLanes2) {
20076            var newProps = workInProgress2.pendingProps;
20077            popTreeContext(workInProgress2);
20078            switch (workInProgress2.tag) {
20079              case IndeterminateComponent:
20080              case LazyComponent:
20081              case SimpleMemoComponent:
20082              case FunctionComponent:
20083              case ForwardRef:
20084              case Fragment4:
20085              case Mode:
20086              case Profiler:
20087              case ContextConsumer:
20088              case MemoComponent:
20089                bubbleProperties(workInProgress2);
20090                return null;
20091              case ClassComponent: {
20092                var Component2 = workInProgress2.type;
20093                if (isContextProvider(Component2)) {
20094                  popContext(workInProgress2);
20095                }
20096                bubbleProperties(workInProgress2);
20097                return null;
20098              }
20099              case HostRoot: {
20100                var fiberRoot = workInProgress2.stateNode;
20101                popHostContainer(workInProgress2);
20102                popTopLevelContextObject(workInProgress2);
20103                resetWorkInProgressVersions();
20104                if (fiberRoot.pendingContext) {
20105                  fiberRoot.context = fiberRoot.pendingContext;
20106                  fiberRoot.pendingContext = null;
20107                }
20108                if (current2 === null || current2.child === null) {
20109                  var wasHydrated = popHydrationState(workInProgress2);
20110                  if (wasHydrated) {
20111                    markUpdate(workInProgress2);
20112                  } else {
20113                    if (current2 !== null) {
20114                      var prevState = current2.memoizedState;
20115                      if (
20116                        // Check if this is a client root
20117                        !prevState.isDehydrated || // Check if we reverted to client rendering (e.g. due to an error)
20118                        (workInProgress2.flags & ForceClientRender) !== NoFlags
20119                      ) {
20120                        workInProgress2.flags |= Snapshot;
20121                        upgradeHydrationErrorsToRecoverable();
20122                      }
20123                    }
20124                  }
20125                }
20126                updateHostContainer(current2, workInProgress2);
20127                bubbleProperties(workInProgress2);
20128                return null;
20129              }
20130              case HostComponent: {
20131                popHostContext(workInProgress2);
20132                var rootContainerInstance = getRootHostContainer();
20133                var type = workInProgress2.type;
20134                if (current2 !== null && workInProgress2.stateNode != null) {
20135                  updateHostComponent$1(current2, workInProgress2, type, newProps, rootContainerInstance);
20136                  if (current2.ref !== workInProgress2.ref) {
20137                    markRef$1(workInProgress2);
20138                  }
20139                } else {
20140                  if (!newProps) {
20141                    if (workInProgress2.stateNode === null) {
20142                      throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");
20143                    }
20144                    bubbleProperties(workInProgress2);
20145                    return null;
20146                  }
20147                  var currentHostContext = getHostContext();
20148                  var _wasHydrated = popHydrationState(workInProgress2);
20149                  if (_wasHydrated) {
20150                    if (prepareToHydrateHostInstance(workInProgress2, rootContainerInstance, currentHostContext)) {
20151                      markUpdate(workInProgress2);
20152                    }
20153                  } else {
20154                    var instance = createInstance2(type, newProps, rootContainerInstance, currentHostContext, workInProgress2);
20155                    appendAllChildren(instance, workInProgress2, false, false);
20156                    workInProgress2.stateNode = instance;
20157                    if (finalizeInitialChildren(instance, type, newProps, rootContainerInstance)) {
20158                      markUpdate(workInProgress2);
20159                    }
20160                  }
20161                  if (workInProgress2.ref !== null) {
20162                    markRef$1(workInProgress2);
20163                  }
20164                }
20165                bubbleProperties(workInProgress2);
20166                return null;
20167              }
20168              case HostText: {
20169                var newText = newProps;
20170                if (current2 && workInProgress2.stateNode != null) {
20171                  var oldText = current2.memoizedProps;
20172                  updateHostText$1(current2, workInProgress2, oldText, newText);
20173                } else {
20174                  if (typeof newText !== "string") {
20175                    if (workInProgress2.stateNode === null) {
20176                      throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");
20177                    }
20178                  }
20179                  var _rootContainerInstance = getRootHostContainer();
20180                  var _currentHostContext = getHostContext();
20181                  var _wasHydrated2 = popHydrationState(workInProgress2);
20182                  if (_wasHydrated2) {
20183                    if (prepareToHydrateHostTextInstance(workInProgress2)) {
20184                      markUpdate(workInProgress2);
20185                    }
20186                  } else {
20187                    workInProgress2.stateNode = createTextInstance(newText, _rootContainerInstance, _currentHostContext, workInProgress2);
20188                  }
20189                }
20190                bubbleProperties(workInProgress2);
20191                return null;
20192              }
20193              case SuspenseComponent: {
20194                popSuspenseContext(workInProgress2);
20195                var nextState = workInProgress2.memoizedState;
20196                if (current2 === null || current2.memoizedState !== null && current2.memoizedState.dehydrated !== null) {
20197                  var fallthroughToNormalSuspensePath = completeDehydratedSuspenseBoundary(current2, workInProgress2, nextState);
20198                  if (!fallthroughToNormalSuspensePath) {
20199                    if (workInProgress2.flags & ShouldCapture) {
20200                      return workInProgress2;
20201                    } else {
20202                      return null;
20203                    }
20204                  }
20205                }
20206                if ((workInProgress2.flags & DidCapture) !== NoFlags) {
20207                  workInProgress2.lanes = renderLanes2;
20208                  if ((workInProgress2.mode & ProfileMode) !== NoMode) {
20209                    transferActualDuration(workInProgress2);
20210                  }
20211                  return workInProgress2;
20212                }
20213                var nextDidTimeout = nextState !== null;
20214                var prevDidTimeout = current2 !== null && current2.memoizedState !== null;
20215                if (nextDidTimeout !== prevDidTimeout) {
20216                  if (nextDidTimeout) {
20217                    var _offscreenFiber2 = workInProgress2.child;
20218                    _offscreenFiber2.flags |= Visibility;
20219                    if ((workInProgress2.mode & ConcurrentMode) !== NoMode) {
20220                      var hasInvisibleChildContext = current2 === null && (workInProgress2.memoizedProps.unstable_avoidThisFallback !== true || !enableSuspenseAvoidThisFallback);
20221                      if (hasInvisibleChildContext || hasSuspenseContext(suspenseStackCursor.current, InvisibleParentSuspenseContext)) {
20222                        renderDidSuspend();
20223                      } else {
20224                        renderDidSuspendDelayIfPossible();
20225                      }
20226                    }
20227                  }
20228                }
20229                var wakeables = workInProgress2.updateQueue;
20230                if (wakeables !== null) {
20231                  workInProgress2.flags |= Update;
20232                }
20233                bubbleProperties(workInProgress2);
20234                {
20235                  if ((workInProgress2.mode & ProfileMode) !== NoMode) {
20236                    if (nextDidTimeout) {
20237                      var primaryChildFragment = workInProgress2.child;
20238                      if (primaryChildFragment !== null) {
20239                        workInProgress2.treeBaseDuration -= primaryChildFragment.treeBaseDuration;
20240                      }
20241                    }
20242                  }
20243                }
20244                return null;
20245              }
20246              case HostPortal:
20247                popHostContainer(workInProgress2);
20248                updateHostContainer(current2, workInProgress2);
20249                if (current2 === null) {
20250                  preparePortalMount(workInProgress2.stateNode.containerInfo);
20251                }
20252                bubbleProperties(workInProgress2);
20253                return null;
20254              case ContextProvider:
20255                var context = workInProgress2.type._context;
20256                popProvider(context, workInProgress2);
20257                bubbleProperties(workInProgress2);
20258                return null;
20259              case IncompleteClassComponent: {
20260                var _Component = workInProgress2.type;
20261                if (isContextProvider(_Component)) {
20262                  popContext(workInProgress2);
20263                }
20264                bubbleProperties(workInProgress2);
20265                return null;
20266              }
20267              case SuspenseListComponent: {
20268                popSuspenseContext(workInProgress2);
20269                var renderState = workInProgress2.memoizedState;
20270                if (renderState === null) {
20271                  bubbleProperties(workInProgress2);
20272                  return null;
20273                }
20274                var didSuspendAlready = (workInProgress2.flags & DidCapture) !== NoFlags;
20275                var renderedTail = renderState.rendering;
20276                if (renderedTail === null) {
20277                  if (!didSuspendAlready) {
20278                    var cannotBeSuspended = renderHasNotSuspendedYet() && (current2 === null || (current2.flags & DidCapture) === NoFlags);
20279                    if (!cannotBeSuspended) {
20280                      var row = workInProgress2.child;
20281                      while (row !== null) {
20282                        var suspended = findFirstSuspended(row);
20283                        if (suspended !== null) {
20284                          didSuspendAlready = true;
20285                          workInProgress2.flags |= DidCapture;
20286                          cutOffTailIfNeeded(renderState, false);
20287                          var newThenables = suspended.updateQueue;
20288                          if (newThenables !== null) {
20289                            workInProgress2.updateQueue = newThenables;
20290                            workInProgress2.flags |= Update;
20291                          }
20292                          workInProgress2.subtreeFlags = NoFlags;
20293                          resetChildFibers(workInProgress2, renderLanes2);
20294                          pushSuspenseContext(workInProgress2, setShallowSuspenseContext(suspenseStackCursor.current, ForceSuspenseFallback));
20295                          return workInProgress2.child;
20296                        }
20297                        row = row.sibling;
20298                      }
20299                    }
20300                    if (renderState.tail !== null && now() > getRenderTargetTime()) {
20301                      workInProgress2.flags |= DidCapture;
20302                      didSuspendAlready = true;
20303                      cutOffTailIfNeeded(renderState, false);
20304                      workInProgress2.lanes = SomeRetryLane;
20305                    }
20306                  } else {
20307                    cutOffTailIfNeeded(renderState, false);
20308                  }
20309                } else {
20310                  if (!didSuspendAlready) {
20311                    var _suspended = findFirstSuspended(renderedTail);
20312                    if (_suspended !== null) {
20313                      workInProgress2.flags |= DidCapture;
20314                      didSuspendAlready = true;
20315                      var _newThenables = _suspended.updateQueue;
20316                      if (_newThenables !== null) {
20317                        workInProgress2.updateQueue = _newThenables;
20318                        workInProgress2.flags |= Update;
20319                      }
20320                      cutOffTailIfNeeded(renderState, true);
20321                      if (renderState.tail === null && renderState.tailMode === "hidden" && !renderedTail.alternate && !getIsHydrating()) {
20322                        bubbleProperties(workInProgress2);
20323                        return null;
20324                      }
20325                    } else if (
20326                      // The time it took to render last row is greater than the remaining
20327                      // time we have to render. So rendering one more row would likely
20328                      // exceed it.
20329                      now() * 2 - renderState.renderingStartTime > getRenderTargetTime() && renderLanes2 !== OffscreenLane
20330                    ) {
20331                      workInProgress2.flags |= DidCapture;
20332                      didSuspendAlready = true;
20333                      cutOffTailIfNeeded(renderState, false);
20334                      workInProgress2.lanes = SomeRetryLane;
20335                    }
20336                  }
20337                  if (renderState.isBackwards) {
20338                    renderedTail.sibling = workInProgress2.child;
20339                    workInProgress2.child = renderedTail;
20340                  } else {
20341                    var previousSibling = renderState.last;
20342                    if (previousSibling !== null) {
20343                      previousSibling.sibling = renderedTail;
20344                    } else {
20345                      workInProgress2.child = renderedTail;
20346                    }
20347                    renderState.last = renderedTail;
20348                  }
20349                }
20350                if (renderState.tail !== null) {
20351                  var next2 = renderState.tail;
20352                  renderState.rendering = next2;
20353                  renderState.tail = next2.sibling;
20354                  renderState.renderingStartTime = now();
20355                  next2.sibling = null;
20356                  var suspenseContext = suspenseStackCursor.current;
20357                  if (didSuspendAlready) {
20358                    suspenseContext = setShallowSuspenseContext(suspenseContext, ForceSuspenseFallback);
20359                  } else {
20360                    suspenseContext = setDefaultShallowSuspenseContext(suspenseContext);
20361                  }
20362                  pushSuspenseContext(workInProgress2, suspenseContext);
20363                  return next2;
20364                }
20365                bubbleProperties(workInProgress2);
20366                return null;
20367              }
20368              case ScopeComponent: {
20369                break;
20370              }
20371              case OffscreenComponent:
20372              case LegacyHiddenComponent: {
20373                popRenderLanes(workInProgress2);
20374                var _nextState = workInProgress2.memoizedState;
20375                var nextIsHidden = _nextState !== null;
20376                if (current2 !== null) {
20377                  var _prevState = current2.memoizedState;
20378                  var prevIsHidden = _prevState !== null;
20379                  if (prevIsHidden !== nextIsHidden && // LegacyHidden doesn't do any hiding — it only pre-renders.
20380                  !enableLegacyHidden) {
20381                    workInProgress2.flags |= Visibility;
20382                  }
20383                }
20384                if (!nextIsHidden || (workInProgress2.mode & ConcurrentMode) === NoMode) {
20385                  bubbleProperties(workInProgress2);
20386                } else {
20387                  if (includesSomeLane(subtreeRenderLanes, OffscreenLane)) {
20388                    bubbleProperties(workInProgress2);
20389                    {
20390                      if (workInProgress2.subtreeFlags & (Placement | Update)) {
20391                        workInProgress2.flags |= Visibility;
20392                      }
20393                    }
20394                  }
20395                }
20396                return null;
20397              }
20398              case CacheComponent: {
20399                return null;
20400              }
20401              case TracingMarkerComponent: {
20402                return null;
20403              }
20404            }
20405            throw new Error("Unknown unit of work tag (" + workInProgress2.tag + "). This error is likely caused by a bug in React. Please file an issue.");
20406          }
20407          function unwindWork(current2, workInProgress2, renderLanes2) {
20408            popTreeContext(workInProgress2);
20409            switch (workInProgress2.tag) {
20410              case ClassComponent: {
20411                var Component2 = workInProgress2.type;
20412                if (isContextProvider(Component2)) {
20413                  popContext(workInProgress2);
20414                }
20415                var flags = workInProgress2.flags;
20416                if (flags & ShouldCapture) {
20417                  workInProgress2.flags = flags & ~ShouldCapture | DidCapture;
20418                  if ((workInProgress2.mode & ProfileMode) !== NoMode) {
20419                    transferActualDuration(workInProgress2);
20420                  }
20421                  return workInProgress2;
20422                }
20423                return null;
20424              }
20425              case HostRoot: {
20426                var root2 = workInProgress2.stateNode;
20427                popHostContainer(workInProgress2);
20428                popTopLevelContextObject(workInProgress2);
20429                resetWorkInProgressVersions();
20430                var _flags = workInProgress2.flags;
20431                if ((_flags & ShouldCapture) !== NoFlags && (_flags & DidCapture) === NoFlags) {
20432                  workInProgress2.flags = _flags & ~ShouldCapture | DidCapture;
20433                  return workInProgress2;
20434                }
20435                return null;
20436              }
20437              case HostComponent: {
20438                popHostContext(workInProgress2);
20439                return null;
20440              }
20441              case SuspenseComponent: {
20442                popSuspenseContext(workInProgress2);
20443                var suspenseState = workInProgress2.memoizedState;
20444                if (suspenseState !== null && suspenseState.dehydrated !== null) {
20445                  if (workInProgress2.alternate === null) {
20446                    throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");
20447                  }
20448                  resetHydrationState();
20449                }
20450                var _flags2 = workInProgress2.flags;
20451                if (_flags2 & ShouldCapture) {
20452                  workInProgress2.flags = _flags2 & ~ShouldCapture | DidCapture;
20453                  if ((workInProgress2.mode & ProfileMode) !== NoMode) {
20454                    transferActualDuration(workInProgress2);
20455                  }
20456                  return workInProgress2;
20457                }
20458                return null;
20459              }
20460              case SuspenseListComponent: {
20461                popSuspenseContext(workInProgress2);
20462                return null;
20463              }
20464              case HostPortal:
20465                popHostContainer(workInProgress2);
20466                return null;
20467              case ContextProvider:
20468                var context = workInProgress2.type._context;
20469                popProvider(context, workInProgress2);
20470                return null;
20471              case OffscreenComponent:
20472              case LegacyHiddenComponent:
20473                popRenderLanes(workInProgress2);
20474                return null;
20475              case CacheComponent:
20476                return null;
20477              default:
20478                return null;
20479            }
20480          }
20481          function unwindInterruptedWork(current2, interruptedWork, renderLanes2) {
20482            popTreeContext(interruptedWork);
20483            switch (interruptedWork.tag) {
20484              case ClassComponent: {
20485                var childContextTypes = interruptedWork.type.childContextTypes;
20486                if (childContextTypes !== null && childContextTypes !== void 0) {
20487                  popContext(interruptedWork);
20488                }
20489                break;
20490              }
20491              case HostRoot: {
20492                var root2 = interruptedWork.stateNode;
20493                popHostContainer(interruptedWork);
20494                popTopLevelContextObject(interruptedWork);
20495                resetWorkInProgressVersions();
20496                break;
20497              }
20498              case HostComponent: {
20499                popHostContext(interruptedWork);
20500                break;
20501              }
20502              case HostPortal:
20503                popHostContainer(interruptedWork);
20504                break;
20505              case SuspenseComponent:
20506                popSuspenseContext(interruptedWork);
20507                break;
20508              case SuspenseListComponent:
20509                popSuspenseContext(interruptedWork);
20510                break;
20511              case ContextProvider:
20512                var context = interruptedWork.type._context;
20513                popProvider(context, interruptedWork);
20514                break;
20515              case OffscreenComponent:
20516              case LegacyHiddenComponent:
20517                popRenderLanes(interruptedWork);
20518                break;
20519            }
20520          }
20521          var didWarnAboutUndefinedSnapshotBeforeUpdate = null;
20522          {
20523            didWarnAboutUndefinedSnapshotBeforeUpdate = /* @__PURE__ */ new Set();
20524          }
20525          var offscreenSubtreeIsHidden = false;
20526          var offscreenSubtreeWasHidden = false;
20527          var PossiblyWeakSet = typeof WeakSet === "function" ? WeakSet : Set;
20528          var nextEffect = null;
20529          var inProgressLanes = null;
20530          var inProgressRoot = null;
20531          function reportUncaughtErrorInDEV(error2) {
20532            {
20533              invokeGuardedCallback(null, function() {
20534                throw error2;
20535              });
20536              clearCaughtError();
20537            }
20538          }
20539          var callComponentWillUnmountWithTimer = function(current2, instance) {
20540            instance.props = current2.memoizedProps;
20541            instance.state = current2.memoizedState;
20542            if (current2.mode & ProfileMode) {
20543              try {
20544                startLayoutEffectTimer();
20545                instance.componentWillUnmount();
20546              } finally {
20547                recordLayoutEffectDuration(current2);
20548              }
20549            } else {
20550              instance.componentWillUnmount();
20551            }
20552          };
20553          function safelyCallCommitHookLayoutEffectListMount(current2, nearestMountedAncestor) {
20554            try {
20555              commitHookEffectListMount(Layout, current2);
20556            } catch (error2) {
20557              captureCommitPhaseError(current2, nearestMountedAncestor, error2);
20558            }
20559          }
20560          function safelyCallComponentWillUnmount(current2, nearestMountedAncestor, instance) {
20561            try {
20562              callComponentWillUnmountWithTimer(current2, instance);
20563            } catch (error2) {
20564              captureCommitPhaseError(current2, nearestMountedAncestor, error2);
20565            }
20566          }
20567          function safelyCallComponentDidMount(current2, nearestMountedAncestor, instance) {
20568            try {
20569              instance.componentDidMount();
20570            } catch (error2) {
20571              captureCommitPhaseError(current2, nearestMountedAncestor, error2);
20572            }
20573          }
20574          function safelyAttachRef(current2, nearestMountedAncestor) {
20575            try {
20576              commitAttachRef(current2);
20577            } catch (error2) {
20578              captureCommitPhaseError(current2, nearestMountedAncestor, error2);
20579            }
20580          }
20581          function safelyDetachRef(current2, nearestMountedAncestor) {
20582            var ref = current2.ref;
20583            if (ref !== null) {
20584              if (typeof ref === "function") {
20585                var retVal;
20586                try {
20587                  if (enableProfilerTimer && enableProfilerCommitHooks && current2.mode & ProfileMode) {
20588                    try {
20589                      startLayoutEffectTimer();
20590                      retVal = ref(null);
20591                    } finally {
20592                      recordLayoutEffectDuration(current2);
20593                    }
20594                  } else {
20595                    retVal = ref(null);
20596                  }
20597                } catch (error2) {
20598                  captureCommitPhaseError(current2, nearestMountedAncestor, error2);
20599                }
20600                {
20601                  if (typeof retVal === "function") {
20602                    error("Unexpected return value from a callback ref in %s. A callback ref should not return a function.", getComponentNameFromFiber(current2));
20603                  }
20604                }
20605              } else {
20606                ref.current = null;
20607              }
20608            }
20609          }
20610          function safelyCallDestroy(current2, nearestMountedAncestor, destroy) {
20611            try {
20612              destroy();
20613            } catch (error2) {
20614              captureCommitPhaseError(current2, nearestMountedAncestor, error2);
20615            }
20616          }
20617          var focusedInstanceHandle = null;
20618          var shouldFireAfterActiveInstanceBlur = false;
20619          function commitBeforeMutationEffects(root2, firstChild) {
20620            focusedInstanceHandle = prepareForCommit(root2.containerInfo);
20621            nextEffect = firstChild;
20622            commitBeforeMutationEffects_begin();
20623            var shouldFire = shouldFireAfterActiveInstanceBlur;
20624            shouldFireAfterActiveInstanceBlur = false;
20625            focusedInstanceHandle = null;
20626            return shouldFire;
20627          }
20628          function commitBeforeMutationEffects_begin() {
20629            while (nextEffect !== null) {
20630              var fiber = nextEffect;
20631              var child = fiber.child;
20632              if ((fiber.subtreeFlags & BeforeMutationMask) !== NoFlags && child !== null) {
20633                child.return = fiber;
20634                nextEffect = child;
20635              } else {
20636                commitBeforeMutationEffects_complete();
20637              }
20638            }
20639          }
20640          function commitBeforeMutationEffects_complete() {
20641            while (nextEffect !== null) {
20642              var fiber = nextEffect;
20643              setCurrentFiber(fiber);
20644              try {
20645                commitBeforeMutationEffectsOnFiber(fiber);
20646              } catch (error2) {
20647                captureCommitPhaseError(fiber, fiber.return, error2);
20648              }
20649              resetCurrentFiber();
20650              var sibling = fiber.sibling;
20651              if (sibling !== null) {
20652                sibling.return = fiber.return;
20653                nextEffect = sibling;
20654                return;
20655              }
20656              nextEffect = fiber.return;
20657            }
20658          }
20659          function commitBeforeMutationEffectsOnFiber(finishedWork) {
20660            var current2 = finishedWork.alternate;
20661            var flags = finishedWork.flags;
20662            if ((flags & Snapshot) !== NoFlags) {
20663              setCurrentFiber(finishedWork);
20664              switch (finishedWork.tag) {
20665                case FunctionComponent:
20666                case ForwardRef:
20667                case SimpleMemoComponent: {
20668                  break;
20669                }
20670                case ClassComponent: {
20671                  if (current2 !== null) {
20672                    var prevProps = current2.memoizedProps;
20673                    var prevState = current2.memoizedState;
20674                    var instance = finishedWork.stateNode;
20675                    {
20676                      if (finishedWork.type === finishedWork.elementType && !didWarnAboutReassigningProps) {
20677                        if (instance.props !== finishedWork.memoizedProps) {
20678                          error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance");
20679                        }
20680                        if (instance.state !== finishedWork.memoizedState) {
20681                          error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance");
20682                        }
20683                      }
20684                    }
20685                    var snapshot = instance.getSnapshotBeforeUpdate(finishedWork.elementType === finishedWork.type ? prevProps : resolveDefaultProps(finishedWork.type, prevProps), prevState);
20686                    {
20687                      var didWarnSet = didWarnAboutUndefinedSnapshotBeforeUpdate;
20688                      if (snapshot === void 0 && !didWarnSet.has(finishedWork.type)) {
20689                        didWarnSet.add(finishedWork.type);
20690                        error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.", getComponentNameFromFiber(finishedWork));
20691                      }
20692                    }
20693                    instance.__reactInternalSnapshotBeforeUpdate = snapshot;
20694                  }
20695                  break;
20696                }
20697                case HostRoot: {
20698                  {
20699                    var root2 = finishedWork.stateNode;
20700                    clearContainer(root2.containerInfo);
20701                  }
20702                  break;
20703                }
20704                case HostComponent:
20705                case HostText:
20706                case HostPortal:
20707                case IncompleteClassComponent:
20708                  break;
20709                default: {
20710                  throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.");
20711                }
20712              }
20713              resetCurrentFiber();
20714            }
20715          }
20716          function commitHookEffectListUnmount(flags, finishedWork, nearestMountedAncestor) {
20717            var updateQueue = finishedWork.updateQueue;
20718            var lastEffect = updateQueue !== null ? updateQueue.lastEffect : null;
20719            if (lastEffect !== null) {
20720              var firstEffect = lastEffect.next;
20721              var effect = firstEffect;
20722              do {
20723                if ((effect.tag & flags) === flags) {
20724                  var destroy = effect.destroy;
20725                  effect.destroy = void 0;
20726                  if (destroy !== void 0) {
20727                    {
20728                      if ((flags & Passive$1) !== NoFlags$1) {
20729                        markComponentPassiveEffectUnmountStarted(finishedWork);
20730                      } else if ((flags & Layout) !== NoFlags$1) {
20731                        markComponentLayoutEffectUnmountStarted(finishedWork);
20732                      }
20733                    }
20734                    {
20735                      if ((flags & Insertion3) !== NoFlags$1) {
20736                        setIsRunningInsertionEffect(true);
20737                      }
20738                    }
20739                    safelyCallDestroy(finishedWork, nearestMountedAncestor, destroy);
20740                    {
20741                      if ((flags & Insertion3) !== NoFlags$1) {
20742                        setIsRunningInsertionEffect(false);
20743                      }
20744                    }
20745                    {
20746                      if ((flags & Passive$1) !== NoFlags$1) {
20747                        markComponentPassiveEffectUnmountStopped();
20748                      } else if ((flags & Layout) !== NoFlags$1) {
20749                        markComponentLayoutEffectUnmountStopped();
20750                      }
20751                    }
20752                  }
20753                }
20754                effect = effect.next;
20755              } while (effect !== firstEffect);
20756            }
20757          }
20758          function commitHookEffectListMount(flags, finishedWork) {
20759            var updateQueue = finishedWork.updateQueue;
20760            var lastEffect = updateQueue !== null ? updateQueue.lastEffect : null;
20761            if (lastEffect !== null) {
20762              var firstEffect = lastEffect.next;
20763              var effect = firstEffect;
20764              do {
20765                if ((effect.tag & flags) === flags) {
20766                  {
20767                    if ((flags & Passive$1) !== NoFlags$1) {
20768                      markComponentPassiveEffectMountStarted(finishedWork);
20769                    } else if ((flags & Layout) !== NoFlags$1) {
20770                      markComponentLayoutEffectMountStarted(finishedWork);
20771                    }
20772                  }
20773                  var create2 = effect.create;
20774                  {
20775                    if ((flags & Insertion3) !== NoFlags$1) {
20776                      setIsRunningInsertionEffect(true);
20777                    }
20778                  }
20779                  effect.destroy = create2();
20780                  {
20781                    if ((flags & Insertion3) !== NoFlags$1) {
20782                      setIsRunningInsertionEffect(false);
20783                    }
20784                  }
20785                  {
20786                    if ((flags & Passive$1) !== NoFlags$1) {
20787                      markComponentPassiveEffectMountStopped();
20788                    } else if ((flags & Layout) !== NoFlags$1) {
20789                      markComponentLayoutEffectMountStopped();
20790                    }
20791                  }
20792                  {
20793                    var destroy = effect.destroy;
20794                    if (destroy !== void 0 && typeof destroy !== "function") {
20795                      var hookName = void 0;
20796                      if ((effect.tag & Layout) !== NoFlags) {
20797                        hookName = "useLayoutEffect";
20798                      } else if ((effect.tag & Insertion3) !== NoFlags) {
20799                        hookName = "useInsertionEffect";
20800                      } else {
20801                        hookName = "useEffect";
20802                      }
20803                      var addendum = void 0;
20804                      if (destroy === null) {
20805                        addendum = " You returned null. If your effect does not require clean up, return undefined (or nothing).";
20806                      } else if (typeof destroy.then === "function") {
20807                        addendum = "\n\nIt looks like you wrote " + hookName + "(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n" + hookName + "(() => {\n  async function fetchData() {\n    // You can await here\n    const response = await MyAPI.getData(someId);\n    // ...\n  }\n  fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching";
20808                      } else {
20809                        addendum = " You returned: " + destroy;
20810                      }
20811                      error("%s must not return anything besides a function, which is used for clean-up.%s", hookName, addendum);
20812                    }
20813                  }
20814                }
20815                effect = effect.next;
20816              } while (effect !== firstEffect);
20817            }
20818          }
20819          function commitPassiveEffectDurations(finishedRoot, finishedWork) {
20820            {
20821              if ((finishedWork.flags & Update) !== NoFlags) {
20822                switch (finishedWork.tag) {
20823                  case Profiler: {
20824                    var passiveEffectDuration = finishedWork.stateNode.passiveEffectDuration;
20825                    var _finishedWork$memoize = finishedWork.memoizedProps, id = _finishedWork$memoize.id, onPostCommit = _finishedWork$memoize.onPostCommit;
20826                    var commitTime2 = getCommitTime();
20827                    var phase = finishedWork.alternate === null ? "mount" : "update";
20828                    {
20829                      if (isCurrentUpdateNested()) {
20830                        phase = "nested-update";
20831                      }
20832                    }
20833                    if (typeof onPostCommit === "function") {
20834                      onPostCommit(id, phase, passiveEffectDuration, commitTime2);
20835                    }
20836                    var parentFiber = finishedWork.return;
20837                    outer: while (parentFiber !== null) {
20838                      switch (parentFiber.tag) {
20839                        case HostRoot:
20840                          var root2 = parentFiber.stateNode;
20841                          root2.passiveEffectDuration += passiveEffectDuration;
20842                          break outer;
20843                        case Profiler:
20844                          var parentStateNode = parentFiber.stateNode;
20845                          parentStateNode.passiveEffectDuration += passiveEffectDuration;
20846                          break outer;
20847                      }
20848                      parentFiber = parentFiber.return;
20849                    }
20850                    break;
20851                  }
20852                }
20853              }
20854            }
20855          }
20856          function commitLayoutEffectOnFiber(finishedRoot, current2, finishedWork, committedLanes) {
20857            if ((finishedWork.flags & LayoutMask) !== NoFlags) {
20858              switch (finishedWork.tag) {
20859                case FunctionComponent:
20860                case ForwardRef:
20861                case SimpleMemoComponent: {
20862                  if (!offscreenSubtreeWasHidden) {
20863                    if (finishedWork.mode & ProfileMode) {
20864                      try {
20865                        startLayoutEffectTimer();
20866                        commitHookEffectListMount(Layout | HasEffect, finishedWork);
20867                      } finally {
20868                        recordLayoutEffectDuration(finishedWork);
20869                      }
20870                    } else {
20871                      commitHookEffectListMount(Layout | HasEffect, finishedWork);
20872                    }
20873                  }
20874                  break;
20875                }
20876                case ClassComponent: {
20877                  var instance = finishedWork.stateNode;
20878                  if (finishedWork.flags & Update) {
20879                    if (!offscreenSubtreeWasHidden) {
20880                      if (current2 === null) {
20881                        {
20882                          if (finishedWork.type === finishedWork.elementType && !didWarnAboutReassigningProps) {
20883                            if (instance.props !== finishedWork.memoizedProps) {
20884                              error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance");
20885                            }
20886                            if (instance.state !== finishedWork.memoizedState) {
20887                              error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance");
20888                            }
20889                          }
20890                        }
20891                        if (finishedWork.mode & ProfileMode) {
20892                          try {
20893                            startLayoutEffectTimer();
20894                            instance.componentDidMount();
20895                          } finally {
20896                            recordLayoutEffectDuration(finishedWork);
20897                          }
20898                        } else {
20899                          instance.componentDidMount();
20900                        }
20901                      } else {
20902                        var prevProps = finishedWork.elementType === finishedWork.type ? current2.memoizedProps : resolveDefaultProps(finishedWork.type, current2.memoizedProps);
20903                        var prevState = current2.memoizedState;
20904                        {
20905                          if (finishedWork.type === finishedWork.elementType && !didWarnAboutReassigningProps) {
20906                            if (instance.props !== finishedWork.memoizedProps) {
20907                              error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance");
20908                            }
20909                            if (instance.state !== finishedWork.memoizedState) {
20910                              error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance");
20911                            }
20912                          }
20913                        }
20914                        if (finishedWork.mode & ProfileMode) {
20915                          try {
20916                            startLayoutEffectTimer();
20917                            instance.componentDidUpdate(prevProps, prevState, instance.__reactInternalSnapshotBeforeUpdate);
20918                          } finally {
20919                            recordLayoutEffectDuration(finishedWork);
20920                          }
20921                        } else {
20922                          instance.componentDidUpdate(prevProps, prevState, instance.__reactInternalSnapshotBeforeUpdate);
20923                        }
20924                      }
20925                    }
20926                  }
20927                  var updateQueue = finishedWork.updateQueue;
20928                  if (updateQueue !== null) {
20929                    {
20930                      if (finishedWork.type === finishedWork.elementType && !didWarnAboutReassigningProps) {
20931                        if (instance.props !== finishedWork.memoizedProps) {
20932                          error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance");
20933                        }
20934                        if (instance.state !== finishedWork.memoizedState) {
20935                          error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance");
20936                        }
20937                      }
20938                    }
20939                    commitUpdateQueue(finishedWork, updateQueue, instance);
20940                  }
20941                  break;
20942                }
20943                case HostRoot: {
20944                  var _updateQueue = finishedWork.updateQueue;
20945                  if (_updateQueue !== null) {
20946                    var _instance = null;
20947                    if (finishedWork.child !== null) {
20948                      switch (finishedWork.child.tag) {
20949                        case HostComponent:
20950                          _instance = getPublicInstance(finishedWork.child.stateNode);
20951                          break;
20952                        case ClassComponent:
20953                          _instance = finishedWork.child.stateNode;
20954                          break;
20955                      }
20956                    }
20957                    commitUpdateQueue(finishedWork, _updateQueue, _instance);
20958                  }
20959                  break;
20960                }
20961                case HostComponent: {
20962                  var _instance2 = finishedWork.stateNode;
20963                  if (current2 === null && finishedWork.flags & Update) {
20964                    var type = finishedWork.type;
20965                    var props = finishedWork.memoizedProps;
20966                    commitMount(_instance2, type, props);
20967                  }
20968                  break;
20969                }
20970                case HostText: {
20971                  break;
20972                }
20973                case HostPortal: {
20974                  break;
20975                }
20976                case Profiler: {
20977                  {
20978                    var _finishedWork$memoize2 = finishedWork.memoizedProps, onCommit = _finishedWork$memoize2.onCommit, onRender = _finishedWork$memoize2.onRender;
20979                    var effectDuration = finishedWork.stateNode.effectDuration;
20980                    var commitTime2 = getCommitTime();
20981                    var phase = current2 === null ? "mount" : "update";
20982                    {
20983                      if (isCurrentUpdateNested()) {
20984                        phase = "nested-update";
20985                      }
20986                    }
20987                    if (typeof onRender === "function") {
20988                      onRender(finishedWork.memoizedProps.id, phase, finishedWork.actualDuration, finishedWork.treeBaseDuration, finishedWork.actualStartTime, commitTime2);
20989                    }
20990                    {
20991                      if (typeof onCommit === "function") {
20992                        onCommit(finishedWork.memoizedProps.id, phase, effectDuration, commitTime2);
20993                      }
20994                      enqueuePendingPassiveProfilerEffect(finishedWork);
20995                      var parentFiber = finishedWork.return;
20996                      outer: while (parentFiber !== null) {
20997                        switch (parentFiber.tag) {
20998                          case HostRoot:
20999                            var root2 = parentFiber.stateNode;
21000                            root2.effectDuration += effectDuration;
21001                            break outer;
21002                          case Profiler:
21003                            var parentStateNode = parentFiber.stateNode;
21004                            parentStateNode.effectDuration += effectDuration;
21005                            break outer;
21006                        }
21007                        parentFiber = parentFiber.return;
21008                      }
21009                    }
21010                  }
21011                  break;
21012                }
21013                case SuspenseComponent: {
21014                  commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);
21015                  break;
21016                }
21017                case SuspenseListComponent:
21018                case IncompleteClassComponent:
21019                case ScopeComponent:
21020                case OffscreenComponent:
21021                case LegacyHiddenComponent:
21022                case TracingMarkerComponent: {
21023                  break;
21024                }
21025                default:
21026                  throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.");
21027              }
21028            }
21029            if (!offscreenSubtreeWasHidden) {
21030              {
21031                if (finishedWork.flags & Ref) {
21032                  commitAttachRef(finishedWork);
21033                }
21034              }
21035            }
21036          }
21037          function reappearLayoutEffectsOnFiber(node2) {
21038            switch (node2.tag) {
21039              case FunctionComponent:
21040              case ForwardRef:
21041              case SimpleMemoComponent: {
21042                if (node2.mode & ProfileMode) {
21043                  try {
21044                    startLayoutEffectTimer();
21045                    safelyCallCommitHookLayoutEffectListMount(node2, node2.return);
21046                  } finally {
21047                    recordLayoutEffectDuration(node2);
21048                  }
21049                } else {
21050                  safelyCallCommitHookLayoutEffectListMount(node2, node2.return);
21051                }
21052                break;
21053              }
21054              case ClassComponent: {
21055                var instance = node2.stateNode;
21056                if (typeof instance.componentDidMount === "function") {
21057                  safelyCallComponentDidMount(node2, node2.return, instance);
21058                }
21059                safelyAttachRef(node2, node2.return);
21060                break;
21061              }
21062              case HostComponent: {
21063                safelyAttachRef(node2, node2.return);
21064                break;
21065              }
21066            }
21067          }
21068          function hideOrUnhideAllChildren(finishedWork, isHidden) {
21069            var hostSubtreeRoot = null;
21070            {
21071              var node2 = finishedWork;
21072              while (true) {
21073                if (node2.tag === HostComponent) {
21074                  if (hostSubtreeRoot === null) {
21075                    hostSubtreeRoot = node2;
21076                    try {
21077                      var instance = node2.stateNode;
21078                      if (isHidden) {
21079                        hideInstance(instance);
21080                      } else {
21081                        unhideInstance(node2.stateNode, node2.memoizedProps);
21082                      }
21083                    } catch (error2) {
21084                      captureCommitPhaseError(finishedWork, finishedWork.return, error2);
21085                    }
21086                  }
21087                } else if (node2.tag === HostText) {
21088                  if (hostSubtreeRoot === null) {
21089                    try {
21090                      var _instance3 = node2.stateNode;
21091                      if (isHidden) {
21092                        hideTextInstance(_instance3);
21093                      } else {
21094                        unhideTextInstance(_instance3, node2.memoizedProps);
21095                      }
21096                    } catch (error2) {
21097                      captureCommitPhaseError(finishedWork, finishedWork.return, error2);
21098                    }
21099                  }
21100                } else if ((node2.tag === OffscreenComponent || node2.tag === LegacyHiddenComponent) && node2.memoizedState !== null && node2 !== finishedWork) ;
21101                else if (node2.child !== null) {
21102                  node2.child.return = node2;
21103                  node2 = node2.child;
21104                  continue;
21105                }
21106                if (node2 === finishedWork) {
21107                  return;
21108                }
21109                while (node2.sibling === null) {
21110                  if (node2.return === null || node2.return === finishedWork) {
21111                    return;
21112                  }
21113                  if (hostSubtreeRoot === node2) {
21114                    hostSubtreeRoot = null;
21115                  }
21116                  node2 = node2.return;
21117                }
21118                if (hostSubtreeRoot === node2) {
21119                  hostSubtreeRoot = null;
21120                }
21121                node2.sibling.return = node2.return;
21122                node2 = node2.sibling;
21123              }
21124            }
21125          }
21126          function commitAttachRef(finishedWork) {
21127            var ref = finishedWork.ref;
21128            if (ref !== null) {
21129              var instance = finishedWork.stateNode;
21130              var instanceToUse;
21131              switch (finishedWork.tag) {
21132                case HostComponent:
21133                  instanceToUse = getPublicInstance(instance);
21134                  break;
21135                default:
21136                  instanceToUse = instance;
21137              }
21138              if (typeof ref === "function") {
21139                var retVal;
21140                if (finishedWork.mode & ProfileMode) {
21141                  try {
21142                    startLayoutEffectTimer();
21143                    retVal = ref(instanceToUse);
21144                  } finally {
21145                    recordLayoutEffectDuration(finishedWork);
21146                  }
21147                } else {
21148                  retVal = ref(instanceToUse);
21149                }
21150                {
21151                  if (typeof retVal === "function") {
21152                    error("Unexpected return value from a callback ref in %s. A callback ref should not return a function.", getComponentNameFromFiber(finishedWork));
21153                  }
21154                }
21155              } else {
21156                {
21157                  if (!ref.hasOwnProperty("current")) {
21158                    error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().", getComponentNameFromFiber(finishedWork));
21159                  }
21160                }
21161                ref.current = instanceToUse;
21162              }
21163            }
21164          }
21165          function detachFiberMutation(fiber) {
21166            var alternate = fiber.alternate;
21167            if (alternate !== null) {
21168              alternate.return = null;
21169            }
21170            fiber.return = null;
21171          }
21172          function detachFiberAfterEffects(fiber) {
21173            var alternate = fiber.alternate;
21174            if (alternate !== null) {
21175              fiber.alternate = null;
21176              detachFiberAfterEffects(alternate);
21177            }
21178            {
21179              fiber.child = null;
21180              fiber.deletions = null;
21181              fiber.sibling = null;
21182              if (fiber.tag === HostComponent) {
21183                var hostInstance = fiber.stateNode;
21184                if (hostInstance !== null) {
21185                  detachDeletedInstance(hostInstance);
21186                }
21187              }
21188              fiber.stateNode = null;
21189              {
21190                fiber._debugOwner = null;
21191              }
21192              {
21193                fiber.return = null;
21194                fiber.dependencies = null;
21195                fiber.memoizedProps = null;
21196                fiber.memoizedState = null;
21197                fiber.pendingProps = null;
21198                fiber.stateNode = null;
21199                fiber.updateQueue = null;
21200              }
21201            }
21202          }
21203          function getHostParentFiber(fiber) {
21204            var parent = fiber.return;
21205            while (parent !== null) {
21206              if (isHostParent(parent)) {
21207                return parent;
21208              }
21209              parent = parent.return;
21210            }
21211            throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");
21212          }
21213          function isHostParent(fiber) {
21214            return fiber.tag === HostComponent || fiber.tag === HostRoot || fiber.tag === HostPortal;
21215          }
21216          function getHostSibling(fiber) {
21217            var node2 = fiber;
21218            siblings: while (true) {
21219              while (node2.sibling === null) {
21220                if (node2.return === null || isHostParent(node2.return)) {
21221                  return null;
21222                }
21223                node2 = node2.return;
21224              }
21225              node2.sibling.return = node2.return;
21226              node2 = node2.sibling;
21227              while (node2.tag !== HostComponent && node2.tag !== HostText && node2.tag !== DehydratedFragment) {
21228                if (node2.flags & Placement) {
21229                  continue siblings;
21230                }
21231                if (node2.child === null || node2.tag === HostPortal) {
21232                  continue siblings;
21233                } else {
21234                  node2.child.return = node2;
21235                  node2 = node2.child;
21236                }
21237              }
21238              if (!(node2.flags & Placement)) {
21239                return node2.stateNode;
21240              }
21241            }
21242          }
21243          function commitPlacement(finishedWork) {
21244            var parentFiber = getHostParentFiber(finishedWork);
21245            switch (parentFiber.tag) {
21246              case HostComponent: {
21247                var parent = parentFiber.stateNode;
21248                if (parentFiber.flags & ContentReset) {
21249                  resetTextContent(parent);
21250                  parentFiber.flags &= ~ContentReset;
21251                }
21252                var before = getHostSibling(finishedWork);
21253                insertOrAppendPlacementNode(finishedWork, before, parent);
21254                break;
21255              }
21256              case HostRoot:
21257              case HostPortal: {
21258                var _parent = parentFiber.stateNode.containerInfo;
21259                var _before = getHostSibling(finishedWork);
21260                insertOrAppendPlacementNodeIntoContainer(finishedWork, _before, _parent);
21261                break;
21262              }
21263              // eslint-disable-next-line-no-fallthrough
21264              default:
21265                throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.");
21266            }
21267          }
21268          function insertOrAppendPlacementNodeIntoContainer(node2, before, parent) {
21269            var tag = node2.tag;
21270            var isHost = tag === HostComponent || tag === HostText;
21271            if (isHost) {
21272              var stateNode = node2.stateNode;
21273              if (before) {
21274                insertInContainerBefore(parent, stateNode, before);
21275              } else {
21276                appendChildToContainer(parent, stateNode);
21277              }
21278            } else if (tag === HostPortal) ;
21279            else {
21280              var child = node2.child;
21281              if (child !== null) {
21282                insertOrAppendPlacementNodeIntoContainer(child, before, parent);
21283                var sibling = child.sibling;
21284                while (sibling !== null) {
21285                  insertOrAppendPlacementNodeIntoContainer(sibling, before, parent);
21286                  sibling = sibling.sibling;
21287                }
21288              }
21289            }
21290          }
21291          function insertOrAppendPlacementNode(node2, before, parent) {
21292            var tag = node2.tag;
21293            var isHost = tag === HostComponent || tag === HostText;
21294            if (isHost) {
21295              var stateNode = node2.stateNode;
21296              if (before) {
21297                insertBefore(parent, stateNode, before);
21298              } else {
21299                appendChild(parent, stateNode);
21300              }
21301            } else if (tag === HostPortal) ;
21302            else {
21303              var child = node2.child;
21304              if (child !== null) {
21305                insertOrAppendPlacementNode(child, before, parent);
21306                var sibling = child.sibling;
21307                while (sibling !== null) {
21308                  insertOrAppendPlacementNode(sibling, before, parent);
21309                  sibling = sibling.sibling;
21310                }
21311              }
21312            }
21313          }
21314          var hostParent = null;
21315          var hostParentIsContainer = false;
21316          function commitDeletionEffects(root2, returnFiber, deletedFiber) {
21317            {
21318              var parent = returnFiber;
21319              findParent: while (parent !== null) {
21320                switch (parent.tag) {
21321                  case HostComponent: {
21322                    hostParent = parent.stateNode;
21323                    hostParentIsContainer = false;
21324                    break findParent;
21325                  }
21326                  case HostRoot: {
21327                    hostParent = parent.stateNode.containerInfo;
21328                    hostParentIsContainer = true;
21329                    break findParent;
21330                  }
21331                  case HostPortal: {
21332                    hostParent = parent.stateNode.containerInfo;
21333                    hostParentIsContainer = true;
21334                    break findParent;
21335                  }
21336                }
21337                parent = parent.return;
21338              }
21339              if (hostParent === null) {
21340                throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");
21341              }
21342              commitDeletionEffectsOnFiber(root2, returnFiber, deletedFiber);
21343              hostParent = null;
21344              hostParentIsContainer = false;
21345            }
21346            detachFiberMutation(deletedFiber);
21347          }
21348          function recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, parent) {
21349            var child = parent.child;
21350            while (child !== null) {
21351              commitDeletionEffectsOnFiber(finishedRoot, nearestMountedAncestor, child);
21352              child = child.sibling;
21353            }
21354          }
21355          function commitDeletionEffectsOnFiber(finishedRoot, nearestMountedAncestor, deletedFiber) {
21356            onCommitUnmount(deletedFiber);
21357            switch (deletedFiber.tag) {
21358              case HostComponent: {
21359                if (!offscreenSubtreeWasHidden) {
21360                  safelyDetachRef(deletedFiber, nearestMountedAncestor);
21361                }
21362              }
21363              // eslint-disable-next-line-no-fallthrough
21364              case HostText: {
21365                {
21366                  var prevHostParent = hostParent;
21367                  var prevHostParentIsContainer = hostParentIsContainer;
21368                  hostParent = null;
21369                  recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
21370                  hostParent = prevHostParent;
21371                  hostParentIsContainer = prevHostParentIsContainer;
21372                  if (hostParent !== null) {
21373                    if (hostParentIsContainer) {
21374                      removeChildFromContainer(hostParent, deletedFiber.stateNode);
21375                    } else {
21376                      removeChild(hostParent, deletedFiber.stateNode);
21377                    }
21378                  }
21379                }
21380                return;
21381              }
21382              case DehydratedFragment: {
21383                {
21384                  if (hostParent !== null) {
21385                    if (hostParentIsContainer) {
21386                      clearSuspenseBoundaryFromContainer(hostParent, deletedFiber.stateNode);
21387                    } else {
21388                      clearSuspenseBoundary(hostParent, deletedFiber.stateNode);
21389                    }
21390                  }
21391                }
21392                return;
21393              }
21394              case HostPortal: {
21395                {
21396                  var _prevHostParent = hostParent;
21397                  var _prevHostParentIsContainer = hostParentIsContainer;
21398                  hostParent = deletedFiber.stateNode.containerInfo;
21399                  hostParentIsContainer = true;
21400                  recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
21401                  hostParent = _prevHostParent;
21402                  hostParentIsContainer = _prevHostParentIsContainer;
21403                }
21404                return;
21405              }
21406              case FunctionComponent:
21407              case ForwardRef:
21408              case MemoComponent:
21409              case SimpleMemoComponent: {
21410                if (!offscreenSubtreeWasHidden) {
21411                  var updateQueue = deletedFiber.updateQueue;
21412                  if (updateQueue !== null) {
21413                    var lastEffect = updateQueue.lastEffect;
21414                    if (lastEffect !== null) {
21415                      var firstEffect = lastEffect.next;
21416                      var effect = firstEffect;
21417                      do {
21418                        var _effect = effect, destroy = _effect.destroy, tag = _effect.tag;
21419                        if (destroy !== void 0) {
21420                          if ((tag & Insertion3) !== NoFlags$1) {
21421                            safelyCallDestroy(deletedFiber, nearestMountedAncestor, destroy);
21422                          } else if ((tag & Layout) !== NoFlags$1) {
21423                            {
21424                              markComponentLayoutEffectUnmountStarted(deletedFiber);
21425                            }
21426                            if (deletedFiber.mode & ProfileMode) {
21427                              startLayoutEffectTimer();
21428                              safelyCallDestroy(deletedFiber, nearestMountedAncestor, destroy);
21429                              recordLayoutEffectDuration(deletedFiber);
21430                            } else {
21431                              safelyCallDestroy(deletedFiber, nearestMountedAncestor, destroy);
21432                            }
21433                            {
21434                              markComponentLayoutEffectUnmountStopped();
21435                            }
21436                          }
21437                        }
21438                        effect = effect.next;
21439                      } while (effect !== firstEffect);
21440                    }
21441                  }
21442                }
21443                recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
21444                return;
21445              }
21446              case ClassComponent: {
21447                if (!offscreenSubtreeWasHidden) {
21448                  safelyDetachRef(deletedFiber, nearestMountedAncestor);
21449                  var instance = deletedFiber.stateNode;
21450                  if (typeof instance.componentWillUnmount === "function") {
21451                    safelyCallComponentWillUnmount(deletedFiber, nearestMountedAncestor, instance);
21452                  }
21453                }
21454                recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
21455                return;
21456              }
21457              case ScopeComponent: {
21458                recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
21459                return;
21460              }
21461              case OffscreenComponent: {
21462                if (
21463                  // TODO: Remove this dead flag
21464                  deletedFiber.mode & ConcurrentMode
21465                ) {
21466                  var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
21467                  offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || deletedFiber.memoizedState !== null;
21468                  recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
21469                  offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;
21470                } else {
21471                  recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
21472                }
21473                break;
21474              }
21475              default: {
21476                recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
21477                return;
21478              }
21479            }
21480          }
21481          function commitSuspenseCallback(finishedWork) {
21482            var newState = finishedWork.memoizedState;
21483          }
21484          function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) {
21485            var newState = finishedWork.memoizedState;
21486            if (newState === null) {
21487              var current2 = finishedWork.alternate;
21488              if (current2 !== null) {
21489                var prevState = current2.memoizedState;
21490                if (prevState !== null) {
21491                  var suspenseInstance = prevState.dehydrated;
21492                  if (suspenseInstance !== null) {
21493                    commitHydratedSuspenseInstance(suspenseInstance);
21494                  }
21495                }
21496              }
21497            }
21498          }
21499          function attachSuspenseRetryListeners(finishedWork) {
21500            var wakeables = finishedWork.updateQueue;
21501            if (wakeables !== null) {
21502              finishedWork.updateQueue = null;
21503              var retryCache = finishedWork.stateNode;
21504              if (retryCache === null) {
21505                retryCache = finishedWork.stateNode = new PossiblyWeakSet();
21506              }
21507              wakeables.forEach(function(wakeable) {
21508                var retry = resolveRetryWakeable.bind(null, finishedWork, wakeable);
21509                if (!retryCache.has(wakeable)) {
21510                  retryCache.add(wakeable);
21511                  {
21512                    if (isDevToolsPresent) {
21513                      if (inProgressLanes !== null && inProgressRoot !== null) {
21514                        restorePendingUpdaters(inProgressRoot, inProgressLanes);
21515                      } else {
21516                        throw Error("Expected finished root and lanes to be set. This is a bug in React.");
21517                      }
21518                    }
21519                  }
21520                  wakeable.then(retry, retry);
21521                }
21522              });
21523            }
21524          }
21525          function commitMutationEffects(root2, finishedWork, committedLanes) {
21526            inProgressLanes = committedLanes;
21527            inProgressRoot = root2;
21528            setCurrentFiber(finishedWork);
21529            commitMutationEffectsOnFiber(finishedWork, root2);
21530            setCurrentFiber(finishedWork);
21531            inProgressLanes = null;
21532            inProgressRoot = null;
21533          }
21534          function recursivelyTraverseMutationEffects(root2, parentFiber, lanes) {
21535            var deletions = parentFiber.deletions;
21536            if (deletions !== null) {
21537              for (var i2 = 0; i2 < deletions.length; i2++) {
21538                var childToDelete = deletions[i2];
21539                try {
21540                  commitDeletionEffects(root2, parentFiber, childToDelete);
21541                } catch (error2) {
21542                  captureCommitPhaseError(childToDelete, parentFiber, error2);
21543                }
21544              }
21545            }
21546            var prevDebugFiber = getCurrentFiber();
21547            if (parentFiber.subtreeFlags & MutationMask) {
21548              var child = parentFiber.child;
21549              while (child !== null) {
21550                setCurrentFiber(child);
21551                commitMutationEffectsOnFiber(child, root2);
21552                child = child.sibling;
21553              }
21554            }
21555            setCurrentFiber(prevDebugFiber);
21556          }
21557          function commitMutationEffectsOnFiber(finishedWork, root2, lanes) {
21558            var current2 = finishedWork.alternate;
21559            var flags = finishedWork.flags;
21560            switch (finishedWork.tag) {
21561              case FunctionComponent:
21562              case ForwardRef:
21563              case MemoComponent:
21564              case SimpleMemoComponent: {
21565                recursivelyTraverseMutationEffects(root2, finishedWork);
21566                commitReconciliationEffects(finishedWork);
21567                if (flags & Update) {
21568                  try {
21569                    commitHookEffectListUnmount(Insertion3 | HasEffect, finishedWork, finishedWork.return);
21570                    commitHookEffectListMount(Insertion3 | HasEffect, finishedWork);
21571                  } catch (error2) {
21572                    captureCommitPhaseError(finishedWork, finishedWork.return, error2);
21573                  }
21574                  if (finishedWork.mode & ProfileMode) {
21575                    try {
21576                      startLayoutEffectTimer();
21577                      commitHookEffectListUnmount(Layout | HasEffect, finishedWork, finishedWork.return);
21578                    } catch (error2) {
21579                      captureCommitPhaseError(finishedWork, finishedWork.return, error2);
21580                    }
21581                    recordLayoutEffectDuration(finishedWork);
21582                  } else {
21583                    try {
21584                      commitHookEffectListUnmount(Layout | HasEffect, finishedWork, finishedWork.return);
21585                    } catch (error2) {
21586                      captureCommitPhaseError(finishedWork, finishedWork.return, error2);
21587                    }
21588                  }
21589                }
21590                return;
21591              }
21592              case ClassComponent: {
21593                recursivelyTraverseMutationEffects(root2, finishedWork);
21594                commitReconciliationEffects(finishedWork);
21595                if (flags & Ref) {
21596                  if (current2 !== null) {
21597                    safelyDetachRef(current2, current2.return);
21598                  }
21599                }
21600                return;
21601              }
21602              case HostComponent: {
21603                recursivelyTraverseMutationEffects(root2, finishedWork);
21604                commitReconciliationEffects(finishedWork);
21605                if (flags & Ref) {
21606                  if (current2 !== null) {
21607                    safelyDetachRef(current2, current2.return);
21608                  }
21609                }
21610                {
21611                  if (finishedWork.flags & ContentReset) {
21612                    var instance = finishedWork.stateNode;
21613                    try {
21614                      resetTextContent(instance);
21615                    } catch (error2) {
21616                      captureCommitPhaseError(finishedWork, finishedWork.return, error2);
21617                    }
21618                  }
21619                  if (flags & Update) {
21620                    var _instance4 = finishedWork.stateNode;
21621                    if (_instance4 != null) {
21622                      var newProps = finishedWork.memoizedProps;
21623                      var oldProps = current2 !== null ? current2.memoizedProps : newProps;
21624                      var type = finishedWork.type;
21625                      var updatePayload = finishedWork.updateQueue;
21626                      finishedWork.updateQueue = null;
21627                      if (updatePayload !== null) {
21628                        try {
21629                          commitUpdate(_instance4, updatePayload, type, oldProps, newProps, finishedWork);
21630                        } catch (error2) {
21631                          captureCommitPhaseError(finishedWork, finishedWork.return, error2);
21632                        }
21633                      }
21634                    }
21635                  }
21636                }
21637                return;
21638              }
21639              case HostText: {
21640                recursivelyTraverseMutationEffects(root2, finishedWork);
21641                commitReconciliationEffects(finishedWork);
21642                if (flags & Update) {
21643                  {
21644                    if (finishedWork.stateNode === null) {
21645                      throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");
21646                    }
21647                    var textInstance = finishedWork.stateNode;
21648                    var newText = finishedWork.memoizedProps;
21649                    var oldText = current2 !== null ? current2.memoizedProps : newText;
21650                    try {
21651                      commitTextUpdate(textInstance, oldText, newText);
21652                    } catch (error2) {
21653                      captureCommitPhaseError(finishedWork, finishedWork.return, error2);
21654                    }
21655                  }
21656                }
21657                return;
21658              }
21659              case HostRoot: {
21660                recursivelyTraverseMutationEffects(root2, finishedWork);
21661                commitReconciliationEffects(finishedWork);
21662                if (flags & Update) {
21663                  {
21664                    if (current2 !== null) {
21665                      var prevRootState = current2.memoizedState;
21666                      if (prevRootState.isDehydrated) {
21667                        try {
21668                          commitHydratedContainer(root2.containerInfo);
21669                        } catch (error2) {
21670                          captureCommitPhaseError(finishedWork, finishedWork.return, error2);
21671                        }
21672                      }
21673                    }
21674                  }
21675                }
21676                return;
21677              }
21678              case HostPortal: {
21679                recursivelyTraverseMutationEffects(root2, finishedWork);
21680                commitReconciliationEffects(finishedWork);
21681                return;
21682              }
21683              case SuspenseComponent: {
21684                recursivelyTraverseMutationEffects(root2, finishedWork);
21685                commitReconciliationEffects(finishedWork);
21686                var offscreenFiber = finishedWork.child;
21687                if (offscreenFiber.flags & Visibility) {
21688                  var offscreenInstance = offscreenFiber.stateNode;
21689                  var newState = offscreenFiber.memoizedState;
21690                  var isHidden = newState !== null;
21691                  offscreenInstance.isHidden = isHidden;
21692                  if (isHidden) {
21693                    var wasHidden = offscreenFiber.alternate !== null && offscreenFiber.alternate.memoizedState !== null;
21694                    if (!wasHidden) {
21695                      markCommitTimeOfFallback();
21696                    }
21697                  }
21698                }
21699                if (flags & Update) {
21700                  try {
21701                    commitSuspenseCallback(finishedWork);
21702                  } catch (error2) {
21703                    captureCommitPhaseError(finishedWork, finishedWork.return, error2);
21704                  }
21705                  attachSuspenseRetryListeners(finishedWork);
21706                }
21707                return;
21708              }
21709              case OffscreenComponent: {
21710                var _wasHidden = current2 !== null && current2.memoizedState !== null;
21711                if (
21712                  // TODO: Remove this dead flag
21713                  finishedWork.mode & ConcurrentMode
21714                ) {
21715                  var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
21716                  offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || _wasHidden;
21717                  recursivelyTraverseMutationEffects(root2, finishedWork);
21718                  offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;
21719                } else {
21720                  recursivelyTraverseMutationEffects(root2, finishedWork);
21721                }
21722                commitReconciliationEffects(finishedWork);
21723                if (flags & Visibility) {
21724                  var _offscreenInstance = finishedWork.stateNode;
21725                  var _newState = finishedWork.memoizedState;
21726                  var _isHidden = _newState !== null;
21727                  var offscreenBoundary = finishedWork;
21728                  _offscreenInstance.isHidden = _isHidden;
21729                  {
21730                    if (_isHidden) {
21731                      if (!_wasHidden) {
21732                        if ((offscreenBoundary.mode & ConcurrentMode) !== NoMode) {
21733                          nextEffect = offscreenBoundary;
21734                          var offscreenChild = offscreenBoundary.child;
21735                          while (offscreenChild !== null) {
21736                            nextEffect = offscreenChild;
21737                            disappearLayoutEffects_begin(offscreenChild);
21738                            offscreenChild = offscreenChild.sibling;
21739                          }
21740                        }
21741                      }
21742                    }
21743                  }
21744                  {
21745                    hideOrUnhideAllChildren(offscreenBoundary, _isHidden);
21746                  }
21747                }
21748                return;
21749              }
21750              case SuspenseListComponent: {
21751                recursivelyTraverseMutationEffects(root2, finishedWork);
21752                commitReconciliationEffects(finishedWork);
21753                if (flags & Update) {
21754                  attachSuspenseRetryListeners(finishedWork);
21755                }
21756                return;
21757              }
21758              case ScopeComponent: {
21759                return;
21760              }
21761              default: {
21762                recursivelyTraverseMutationEffects(root2, finishedWork);
21763                commitReconciliationEffects(finishedWork);
21764                return;
21765              }
21766            }
21767          }
21768          function commitReconciliationEffects(finishedWork) {
21769            var flags = finishedWork.flags;
21770            if (flags & Placement) {
21771              try {
21772                commitPlacement(finishedWork);
21773              } catch (error2) {
21774                captureCommitPhaseError(finishedWork, finishedWork.return, error2);
21775              }
21776              finishedWork.flags &= ~Placement;
21777            }
21778            if (flags & Hydrating) {
21779              finishedWork.flags &= ~Hydrating;
21780            }
21781          }
21782          function commitLayoutEffects(finishedWork, root2, committedLanes) {
21783            inProgressLanes = committedLanes;
21784            inProgressRoot = root2;
21785            nextEffect = finishedWork;
21786            commitLayoutEffects_begin(finishedWork, root2, committedLanes);
21787            inProgressLanes = null;
21788            inProgressRoot = null;
21789          }
21790          function commitLayoutEffects_begin(subtreeRoot, root2, committedLanes) {
21791            var isModernRoot = (subtreeRoot.mode & ConcurrentMode) !== NoMode;
21792            while (nextEffect !== null) {
21793              var fiber = nextEffect;
21794              var firstChild = fiber.child;
21795              if (fiber.tag === OffscreenComponent && isModernRoot) {
21796                var isHidden = fiber.memoizedState !== null;
21797                var newOffscreenSubtreeIsHidden = isHidden || offscreenSubtreeIsHidden;
21798                if (newOffscreenSubtreeIsHidden) {
21799                  commitLayoutMountEffects_complete(subtreeRoot, root2, committedLanes);
21800                  continue;
21801                } else {
21802                  var current2 = fiber.alternate;
21803                  var wasHidden = current2 !== null && current2.memoizedState !== null;
21804                  var newOffscreenSubtreeWasHidden = wasHidden || offscreenSubtreeWasHidden;
21805                  var prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden;
21806                  var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
21807                  offscreenSubtreeIsHidden = newOffscreenSubtreeIsHidden;
21808                  offscreenSubtreeWasHidden = newOffscreenSubtreeWasHidden;
21809                  if (offscreenSubtreeWasHidden && !prevOffscreenSubtreeWasHidden) {
21810                    nextEffect = fiber;
21811                    reappearLayoutEffects_begin(fiber);
21812                  }
21813                  var child = firstChild;
21814                  while (child !== null) {
21815                    nextEffect = child;
21816                    commitLayoutEffects_begin(
21817                      child,
21818                      // New root; bubble back up to here and stop.
21819                      root2,
21820                      committedLanes
21821                    );
21822                    child = child.sibling;
21823                  }
21824                  nextEffect = fiber;
21825                  offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden;
21826                  offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;
21827                  commitLayoutMountEffects_complete(subtreeRoot, root2, committedLanes);
21828                  continue;
21829                }
21830              }
21831              if ((fiber.subtreeFlags & LayoutMask) !== NoFlags && firstChild !== null) {
21832                firstChild.return = fiber;
21833                nextEffect = firstChild;
21834              } else {
21835                commitLayoutMountEffects_complete(subtreeRoot, root2, committedLanes);
21836              }
21837            }
21838          }
21839          function commitLayoutMountEffects_complete(subtreeRoot, root2, committedLanes) {
21840            while (nextEffect !== null) {
21841              var fiber = nextEffect;
21842              if ((fiber.flags & LayoutMask) !== NoFlags) {
21843                var current2 = fiber.alternate;
21844                setCurrentFiber(fiber);
21845                try {
21846                  commitLayoutEffectOnFiber(root2, current2, fiber, committedLanes);
21847                } catch (error2) {
21848                  captureCommitPhaseError(fiber, fiber.return, error2);
21849                }
21850                resetCurrentFiber();
21851              }
21852              if (fiber === subtreeRoot) {
21853                nextEffect = null;
21854                return;
21855              }
21856              var sibling = fiber.sibling;
21857              if (sibling !== null) {
21858                sibling.return = fiber.return;
21859                nextEffect = sibling;
21860                return;
21861              }
21862              nextEffect = fiber.return;
21863            }
21864          }
21865          function disappearLayoutEffects_begin(subtreeRoot) {
21866            while (nextEffect !== null) {
21867              var fiber = nextEffect;
21868              var firstChild = fiber.child;
21869              switch (fiber.tag) {
21870                case FunctionComponent:
21871                case ForwardRef:
21872                case MemoComponent:
21873                case SimpleMemoComponent: {
21874                  if (fiber.mode & ProfileMode) {
21875                    try {
21876                      startLayoutEffectTimer();
21877                      commitHookEffectListUnmount(Layout, fiber, fiber.return);
21878                    } finally {
21879                      recordLayoutEffectDuration(fiber);
21880                    }
21881                  } else {
21882                    commitHookEffectListUnmount(Layout, fiber, fiber.return);
21883                  }
21884                  break;
21885                }
21886                case ClassComponent: {
21887                  safelyDetachRef(fiber, fiber.return);
21888                  var instance = fiber.stateNode;
21889                  if (typeof instance.componentWillUnmount === "function") {
21890                    safelyCallComponentWillUnmount(fiber, fiber.return, instance);
21891                  }
21892                  break;
21893                }
21894                case HostComponent: {
21895                  safelyDetachRef(fiber, fiber.return);
21896                  break;
21897                }
21898                case OffscreenComponent: {
21899                  var isHidden = fiber.memoizedState !== null;
21900                  if (isHidden) {
21901                    disappearLayoutEffects_complete(subtreeRoot);
21902                    continue;
21903                  }
21904                  break;
21905                }
21906              }
21907              if (firstChild !== null) {
21908                firstChild.return = fiber;
21909                nextEffect = firstChild;
21910              } else {
21911                disappearLayoutEffects_complete(subtreeRoot);
21912              }
21913            }
21914          }
21915          function disappearLayoutEffects_complete(subtreeRoot) {
21916            while (nextEffect !== null) {
21917              var fiber = nextEffect;
21918              if (fiber === subtreeRoot) {
21919                nextEffect = null;
21920                return;
21921              }
21922              var sibling = fiber.sibling;
21923              if (sibling !== null) {
21924                sibling.return = fiber.return;
21925                nextEffect = sibling;
21926                return;
21927              }
21928              nextEffect = fiber.return;
21929            }
21930          }
21931          function reappearLayoutEffects_begin(subtreeRoot) {
21932            while (nextEffect !== null) {
21933              var fiber = nextEffect;
21934              var firstChild = fiber.child;
21935              if (fiber.tag === OffscreenComponent) {
21936                var isHidden = fiber.memoizedState !== null;
21937                if (isHidden) {
21938                  reappearLayoutEffects_complete(subtreeRoot);
21939                  continue;
21940                }
21941              }
21942              if (firstChild !== null) {
21943                firstChild.return = fiber;
21944                nextEffect = firstChild;
21945              } else {
21946                reappearLayoutEffects_complete(subtreeRoot);
21947              }
21948            }
21949          }
21950          function reappearLayoutEffects_complete(subtreeRoot) {
21951            while (nextEffect !== null) {
21952              var fiber = nextEffect;
21953              setCurrentFiber(fiber);
21954              try {
21955                reappearLayoutEffectsOnFiber(fiber);
21956              } catch (error2) {
21957                captureCommitPhaseError(fiber, fiber.return, error2);
21958              }
21959              resetCurrentFiber();
21960              if (fiber === subtreeRoot) {
21961                nextEffect = null;
21962                return;
21963              }
21964              var sibling = fiber.sibling;
21965              if (sibling !== null) {
21966                sibling.return = fiber.return;
21967                nextEffect = sibling;
21968                return;
21969              }
21970              nextEffect = fiber.return;
21971            }
21972          }
21973          function commitPassiveMountEffects(root2, finishedWork, committedLanes, committedTransitions) {
21974            nextEffect = finishedWork;
21975            commitPassiveMountEffects_begin(finishedWork, root2, committedLanes, committedTransitions);
21976          }
21977          function commitPassiveMountEffects_begin(subtreeRoot, root2, committedLanes, committedTransitions) {
21978            while (nextEffect !== null) {
21979              var fiber = nextEffect;
21980              var firstChild = fiber.child;
21981              if ((fiber.subtreeFlags & PassiveMask) !== NoFlags && firstChild !== null) {
21982                firstChild.return = fiber;
21983                nextEffect = firstChild;
21984              } else {
21985                commitPassiveMountEffects_complete(subtreeRoot, root2, committedLanes, committedTransitions);
21986              }
21987            }
21988          }
21989          function commitPassiveMountEffects_complete(subtreeRoot, root2, committedLanes, committedTransitions) {
21990            while (nextEffect !== null) {
21991              var fiber = nextEffect;
21992              if ((fiber.flags & Passive) !== NoFlags) {
21993                setCurrentFiber(fiber);
21994                try {
21995                  commitPassiveMountOnFiber(root2, fiber, committedLanes, committedTransitions);
21996                } catch (error2) {
21997                  captureCommitPhaseError(fiber, fiber.return, error2);
21998                }
21999                resetCurrentFiber();
22000              }
22001              if (fiber === subtreeRoot) {
22002                nextEffect = null;
22003                return;
22004              }
22005              var sibling = fiber.sibling;
22006              if (sibling !== null) {
22007                sibling.return = fiber.return;
22008                nextEffect = sibling;
22009                return;
22010              }
22011              nextEffect = fiber.return;
22012            }
22013          }
22014          function commitPassiveMountOnFiber(finishedRoot, finishedWork, committedLanes, committedTransitions) {
22015            switch (finishedWork.tag) {
22016              case FunctionComponent:
22017              case ForwardRef:
22018              case SimpleMemoComponent: {
22019                if (finishedWork.mode & ProfileMode) {
22020                  startPassiveEffectTimer();
22021                  try {
22022                    commitHookEffectListMount(Passive$1 | HasEffect, finishedWork);
22023                  } finally {
22024                    recordPassiveEffectDuration(finishedWork);
22025                  }
22026                } else {
22027                  commitHookEffectListMount(Passive$1 | HasEffect, finishedWork);
22028                }
22029                break;
22030              }
22031            }
22032          }
22033          function commitPassiveUnmountEffects(firstChild) {
22034            nextEffect = firstChild;
22035            commitPassiveUnmountEffects_begin();
22036          }
22037          function commitPassiveUnmountEffects_begin() {
22038            while (nextEffect !== null) {
22039              var fiber = nextEffect;
22040              var child = fiber.child;
22041              if ((nextEffect.flags & ChildDeletion) !== NoFlags) {
22042                var deletions = fiber.deletions;
22043                if (deletions !== null) {
22044                  for (var i2 = 0; i2 < deletions.length; i2++) {
22045                    var fiberToDelete = deletions[i2];
22046                    nextEffect = fiberToDelete;
22047                    commitPassiveUnmountEffectsInsideOfDeletedTree_begin(fiberToDelete, fiber);
22048                  }
22049                  {
22050                    var previousFiber = fiber.alternate;
22051                    if (previousFiber !== null) {
22052                      var detachedChild = previousFiber.child;
22053                      if (detachedChild !== null) {
22054                        previousFiber.child = null;
22055                        do {
22056                          var detachedSibling = detachedChild.sibling;
22057                          detachedChild.sibling = null;
22058                          detachedChild = detachedSibling;
22059                        } while (detachedChild !== null);
22060                      }
22061                    }
22062                  }
22063                  nextEffect = fiber;
22064                }
22065              }
22066              if ((fiber.subtreeFlags & PassiveMask) !== NoFlags && child !== null) {
22067                child.return = fiber;
22068                nextEffect = child;
22069              } else {
22070                commitPassiveUnmountEffects_complete();
22071              }
22072            }
22073          }
22074          function commitPassiveUnmountEffects_complete() {
22075            while (nextEffect !== null) {
22076              var fiber = nextEffect;
22077              if ((fiber.flags & Passive) !== NoFlags) {
22078                setCurrentFiber(fiber);
22079                commitPassiveUnmountOnFiber(fiber);
22080                resetCurrentFiber();
22081              }
22082              var sibling = fiber.sibling;
22083              if (sibling !== null) {
22084                sibling.return = fiber.return;
22085                nextEffect = sibling;
22086                return;
22087              }
22088              nextEffect = fiber.return;
22089            }
22090          }
22091          function commitPassiveUnmountOnFiber(finishedWork) {
22092            switch (finishedWork.tag) {
22093              case FunctionComponent:
22094              case ForwardRef:
22095              case SimpleMemoComponent: {
22096                if (finishedWork.mode & ProfileMode) {
22097                  startPassiveEffectTimer();
22098                  commitHookEffectListUnmount(Passive$1 | HasEffect, finishedWork, finishedWork.return);
22099                  recordPassiveEffectDuration(finishedWork);
22100                } else {
22101                  commitHookEffectListUnmount(Passive$1 | HasEffect, finishedWork, finishedWork.return);
22102                }
22103                break;
22104              }
22105            }
22106          }
22107          function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(deletedSubtreeRoot, nearestMountedAncestor) {
22108            while (nextEffect !== null) {
22109              var fiber = nextEffect;
22110              setCurrentFiber(fiber);
22111              commitPassiveUnmountInsideDeletedTreeOnFiber(fiber, nearestMountedAncestor);
22112              resetCurrentFiber();
22113              var child = fiber.child;
22114              if (child !== null) {
22115                child.return = fiber;
22116                nextEffect = child;
22117              } else {
22118                commitPassiveUnmountEffectsInsideOfDeletedTree_complete(deletedSubtreeRoot);
22119              }
22120            }
22121          }
22122          function commitPassiveUnmountEffectsInsideOfDeletedTree_complete(deletedSubtreeRoot) {
22123            while (nextEffect !== null) {
22124              var fiber = nextEffect;
22125              var sibling = fiber.sibling;
22126              var returnFiber = fiber.return;
22127              {
22128                detachFiberAfterEffects(fiber);
22129                if (fiber === deletedSubtreeRoot) {
22130                  nextEffect = null;
22131                  return;
22132                }
22133              }
22134              if (sibling !== null) {
22135                sibling.return = returnFiber;
22136                nextEffect = sibling;
22137                return;
22138              }
22139              nextEffect = returnFiber;
22140            }
22141          }
22142          function commitPassiveUnmountInsideDeletedTreeOnFiber(current2, nearestMountedAncestor) {
22143            switch (current2.tag) {
22144              case FunctionComponent:
22145              case ForwardRef:
22146              case SimpleMemoComponent: {
22147                if (current2.mode & ProfileMode) {
22148                  startPassiveEffectTimer();
22149                  commitHookEffectListUnmount(Passive$1, current2, nearestMountedAncestor);
22150                  recordPassiveEffectDuration(current2);
22151                } else {
22152                  commitHookEffectListUnmount(Passive$1, current2, nearestMountedAncestor);
22153                }
22154                break;
22155              }
22156            }
22157          }
22158          function invokeLayoutEffectMountInDEV(fiber) {
22159            {
22160              switch (fiber.tag) {
22161                case FunctionComponent:
22162                case ForwardRef:
22163                case SimpleMemoComponent: {
22164                  try {
22165                    commitHookEffectListMount(Layout | HasEffect, fiber);
22166                  } catch (error2) {
22167                    captureCommitPhaseError(fiber, fiber.return, error2);
22168                  }
22169                  break;
22170                }
22171                case ClassComponent: {
22172                  var instance = fiber.stateNode;
22173                  try {
22174                    instance.componentDidMount();
22175                  } catch (error2) {
22176                    captureCommitPhaseError(fiber, fiber.return, error2);
22177                  }
22178                  break;
22179                }
22180              }
22181            }
22182          }
22183          function invokePassiveEffectMountInDEV(fiber) {
22184            {
22185              switch (fiber.tag) {
22186                case FunctionComponent:
22187                case ForwardRef:
22188                case SimpleMemoComponent: {
22189                  try {
22190                    commitHookEffectListMount(Passive$1 | HasEffect, fiber);
22191                  } catch (error2) {
22192                    captureCommitPhaseError(fiber, fiber.return, error2);
22193                  }
22194                  break;
22195                }
22196              }
22197            }
22198          }
22199          function invokeLayoutEffectUnmountInDEV(fiber) {
22200            {
22201              switch (fiber.tag) {
22202                case FunctionComponent:
22203                case ForwardRef:
22204                case SimpleMemoComponent: {
22205                  try {
22206                    commitHookEffectListUnmount(Layout | HasEffect, fiber, fiber.return);
22207                  } catch (error2) {
22208                    captureCommitPhaseError(fiber, fiber.return, error2);
22209                  }
22210                  break;
22211                }
22212                case ClassComponent: {
22213                  var instance = fiber.stateNode;
22214                  if (typeof instance.componentWillUnmount === "function") {
22215                    safelyCallComponentWillUnmount(fiber, fiber.return, instance);
22216                  }
22217                  break;
22218                }
22219              }
22220            }
22221          }
22222          function invokePassiveEffectUnmountInDEV(fiber) {
22223            {
22224              switch (fiber.tag) {
22225                case FunctionComponent:
22226                case ForwardRef:
22227                case SimpleMemoComponent: {
22228                  try {
22229                    commitHookEffectListUnmount(Passive$1 | HasEffect, fiber, fiber.return);
22230                  } catch (error2) {
22231                    captureCommitPhaseError(fiber, fiber.return, error2);
22232                  }
22233                }
22234              }
22235            }
22236          }
22237          var COMPONENT_TYPE = 0;
22238          var HAS_PSEUDO_CLASS_TYPE = 1;
22239          var ROLE_TYPE = 2;
22240          var TEST_NAME_TYPE = 3;
22241          var TEXT_TYPE = 4;
22242          if (typeof Symbol === "function" && Symbol.for) {
22243            var symbolFor = Symbol.for;
22244            COMPONENT_TYPE = symbolFor("selector.component");
22245            HAS_PSEUDO_CLASS_TYPE = symbolFor("selector.has_pseudo_class");
22246            ROLE_TYPE = symbolFor("selector.role");
22247            TEST_NAME_TYPE = symbolFor("selector.test_id");
22248            TEXT_TYPE = symbolFor("selector.text");
22249          }
22250          var commitHooks = [];
22251          function onCommitRoot$1() {
22252            {
22253              commitHooks.forEach(function(commitHook) {
22254                return commitHook();
22255              });
22256            }
22257          }
22258          var ReactCurrentActQueue = ReactSharedInternals.ReactCurrentActQueue;
22259          function isLegacyActEnvironment(fiber) {
22260            {
22261              var isReactActEnvironmentGlobal = (
22262                // $FlowExpectedError – Flow doesn't know about IS_REACT_ACT_ENVIRONMENT global
22263                typeof IS_REACT_ACT_ENVIRONMENT !== "undefined" ? IS_REACT_ACT_ENVIRONMENT : void 0
22264              );
22265              var jestIsDefined = typeof jest !== "undefined";
22266              return jestIsDefined && isReactActEnvironmentGlobal !== false;
22267            }
22268          }
22269          function isConcurrentActEnvironment() {
22270            {
22271              var isReactActEnvironmentGlobal = (
22272                // $FlowExpectedError – Flow doesn't know about IS_REACT_ACT_ENVIRONMENT global
22273                typeof IS_REACT_ACT_ENVIRONMENT !== "undefined" ? IS_REACT_ACT_ENVIRONMENT : void 0
22274              );
22275              if (!isReactActEnvironmentGlobal && ReactCurrentActQueue.current !== null) {
22276                error("The current testing environment is not configured to support act(...)");
22277              }
22278              return isReactActEnvironmentGlobal;
22279            }
22280          }
22281          var ceil = Math.ceil;
22282          var ReactCurrentDispatcher$2 = ReactSharedInternals.ReactCurrentDispatcher, ReactCurrentOwner$2 = ReactSharedInternals.ReactCurrentOwner, ReactCurrentBatchConfig$3 = ReactSharedInternals.ReactCurrentBatchConfig, ReactCurrentActQueue$1 = ReactSharedInternals.ReactCurrentActQueue;
22283          var NoContext = (
22284            /*             */
22285            0
22286          );
22287          var BatchedContext = (
22288            /*               */
22289            1
22290          );
22291          var RenderContext = (
22292            /*                */
22293            2
22294          );
22295          var CommitContext = (
22296            /*                */
22297            4
22298          );
22299          var RootInProgress = 0;
22300          var RootFatalErrored = 1;
22301          var RootErrored = 2;
22302          var RootSuspended = 3;
22303          var RootSuspendedWithDelay = 4;
22304          var RootCompleted = 5;
22305          var RootDidNotComplete = 6;
22306          var executionContext = NoContext;
22307          var workInProgressRoot = null;
22308          var workInProgress = null;
22309          var workInProgressRootRenderLanes = NoLanes;
22310          var subtreeRenderLanes = NoLanes;
22311          var subtreeRenderLanesCursor = createCursor(NoLanes);
22312          var workInProgressRootExitStatus = RootInProgress;
22313          var workInProgressRootFatalError = null;
22314          var workInProgressRootIncludedLanes = NoLanes;
22315          var workInProgressRootSkippedLanes = NoLanes;
22316          var workInProgressRootInterleavedUpdatedLanes = NoLanes;
22317          var workInProgressRootPingedLanes = NoLanes;
22318          var workInProgressRootConcurrentErrors = null;
22319          var workInProgressRootRecoverableErrors = null;
22320          var globalMostRecentFallbackTime = 0;
22321          var FALLBACK_THROTTLE_MS = 500;
22322          var workInProgressRootRenderTargetTime = Infinity;
22323          var RENDER_TIMEOUT_MS = 500;
22324          var workInProgressTransitions = null;
22325          function resetRenderTimer() {
22326            workInProgressRootRenderTargetTime = now() + RENDER_TIMEOUT_MS;
22327          }
22328          function getRenderTargetTime() {
22329            return workInProgressRootRenderTargetTime;
22330          }
22331          var hasUncaughtError = false;
22332          var firstUncaughtError = null;
22333          var legacyErrorBoundariesThatAlreadyFailed = null;
22334          var rootDoesHavePassiveEffects = false;
22335          var rootWithPendingPassiveEffects = null;
22336          var pendingPassiveEffectsLanes = NoLanes;
22337          var pendingPassiveProfilerEffects = [];
22338          var pendingPassiveTransitions = null;
22339          var NESTED_UPDATE_LIMIT = 50;
22340          var nestedUpdateCount = 0;
22341          var rootWithNestedUpdates = null;
22342          var isFlushingPassiveEffects = false;
22343          var didScheduleUpdateDuringPassiveEffects = false;
22344          var NESTED_PASSIVE_UPDATE_LIMIT = 50;
22345          var nestedPassiveUpdateCount = 0;
22346          var rootWithPassiveNestedUpdates = null;
22347          var currentEventTime = NoTimestamp;
22348          var currentEventTransitionLane = NoLanes;
22349          var isRunningInsertionEffect = false;
22350          function getWorkInProgressRoot() {
22351            return workInProgressRoot;
22352          }
22353          function requestEventTime() {
22354            if ((executionContext & (RenderContext | CommitContext)) !== NoContext) {
22355              return now();
22356            }
22357            if (currentEventTime !== NoTimestamp) {
22358              return currentEventTime;
22359            }
22360            currentEventTime = now();
22361            return currentEventTime;
22362          }
22363          function requestUpdateLane(fiber) {
22364            var mode = fiber.mode;
22365            if ((mode & ConcurrentMode) === NoMode) {
22366              return SyncLane;
22367            } else if ((executionContext & RenderContext) !== NoContext && workInProgressRootRenderLanes !== NoLanes) {
22368              return pickArbitraryLane(workInProgressRootRenderLanes);
22369            }
22370            var isTransition = requestCurrentTransition() !== NoTransition;
22371            if (isTransition) {
22372              if (ReactCurrentBatchConfig$3.transition !== null) {
22373                var transition = ReactCurrentBatchConfig$3.transition;
22374                if (!transition._updatedFibers) {
22375                  transition._updatedFibers = /* @__PURE__ */ new Set();
22376                }
22377                transition._updatedFibers.add(fiber);
22378              }
22379              if (currentEventTransitionLane === NoLane) {
22380                currentEventTransitionLane = claimNextTransitionLane();
22381              }
22382              return currentEventTransitionLane;
22383            }
22384            var updateLane = getCurrentUpdatePriority();
22385            if (updateLane !== NoLane) {
22386              return updateLane;
22387            }
22388            var eventLane = getCurrentEventPriority();
22389            return eventLane;
22390          }
22391          function requestRetryLane(fiber) {
22392            var mode = fiber.mode;
22393            if ((mode & ConcurrentMode) === NoMode) {
22394              return SyncLane;
22395            }
22396            return claimNextRetryLane();
22397          }
22398          function scheduleUpdateOnFiber(root2, fiber, lane, eventTime) {
22399            checkForNestedUpdates();
22400            {
22401              if (isRunningInsertionEffect) {
22402                error("useInsertionEffect must not schedule updates.");
22403              }
22404            }
22405            {
22406              if (isFlushingPassiveEffects) {
22407                didScheduleUpdateDuringPassiveEffects = true;
22408              }
22409            }
22410            markRootUpdated(root2, lane, eventTime);
22411            if ((executionContext & RenderContext) !== NoLanes && root2 === workInProgressRoot) {
22412              warnAboutRenderPhaseUpdatesInDEV(fiber);
22413            } else {
22414              {
22415                if (isDevToolsPresent) {
22416                  addFiberToLanesMap(root2, fiber, lane);
22417                }
22418              }
22419              warnIfUpdatesNotWrappedWithActDEV(fiber);
22420              if (root2 === workInProgressRoot) {
22421                if ((executionContext & RenderContext) === NoContext) {
22422                  workInProgressRootInterleavedUpdatedLanes = mergeLanes(workInProgressRootInterleavedUpdatedLanes, lane);
22423                }
22424                if (workInProgressRootExitStatus === RootSuspendedWithDelay) {
22425                  markRootSuspended$1(root2, workInProgressRootRenderLanes);
22426                }
22427              }
22428              ensureRootIsScheduled(root2, eventTime);
22429              if (lane === SyncLane && executionContext === NoContext && (fiber.mode & ConcurrentMode) === NoMode && // Treat `act` as if it's inside `batchedUpdates`, even in legacy mode.
22430              !ReactCurrentActQueue$1.isBatchingLegacy) {
22431                resetRenderTimer();
22432                flushSyncCallbacksOnlyInLegacyMode();
22433              }
22434            }
22435          }
22436          function scheduleInitialHydrationOnRoot(root2, lane, eventTime) {
22437            var current2 = root2.current;
22438            current2.lanes = lane;
22439            markRootUpdated(root2, lane, eventTime);
22440            ensureRootIsScheduled(root2, eventTime);
22441          }
22442          function isUnsafeClassRenderPhaseUpdate(fiber) {
22443            return (
22444              // TODO: Remove outdated deferRenderPhaseUpdateToNextBatch experiment. We
22445              // decided not to enable it.
22446              (executionContext & RenderContext) !== NoContext
22447            );
22448          }
22449          function ensureRootIsScheduled(root2, currentTime) {
22450            var existingCallbackNode = root2.callbackNode;
22451            markStarvedLanesAsExpired(root2, currentTime);
22452            var nextLanes = getNextLanes(root2, root2 === workInProgressRoot ? workInProgressRootRenderLanes : NoLanes);
22453            if (nextLanes === NoLanes) {
22454              if (existingCallbackNode !== null) {
22455                cancelCallback$1(existingCallbackNode);
22456              }
22457              root2.callbackNode = null;
22458              root2.callbackPriority = NoLane;
22459              return;
22460            }
22461            var newCallbackPriority = getHighestPriorityLane(nextLanes);
22462            var existingCallbackPriority = root2.callbackPriority;
22463            if (existingCallbackPriority === newCallbackPriority && // Special case related to `act`. If the currently scheduled task is a
22464            // Scheduler task, rather than an `act` task, cancel it and re-scheduled
22465            // on the `act` queue.
22466            !(ReactCurrentActQueue$1.current !== null && existingCallbackNode !== fakeActCallbackNode)) {
22467              {
22468                if (existingCallbackNode == null && existingCallbackPriority !== SyncLane) {
22469                  error("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");
22470                }
22471              }
22472              return;
22473            }
22474            if (existingCallbackNode != null) {
22475              cancelCallback$1(existingCallbackNode);
22476            }
22477            var newCallbackNode;
22478            if (newCallbackPriority === SyncLane) {
22479              if (root2.tag === LegacyRoot) {
22480                if (ReactCurrentActQueue$1.isBatchingLegacy !== null) {
22481                  ReactCurrentActQueue$1.didScheduleLegacyUpdate = true;
22482                }
22483                scheduleLegacySyncCallback(performSyncWorkOnRoot.bind(null, root2));
22484              } else {
22485                scheduleSyncCallback(performSyncWorkOnRoot.bind(null, root2));
22486              }
22487              {
22488                if (ReactCurrentActQueue$1.current !== null) {
22489                  ReactCurrentActQueue$1.current.push(flushSyncCallbacks);
22490                } else {
22491                  scheduleMicrotask(function() {
22492                    if ((executionContext & (RenderContext | CommitContext)) === NoContext) {
22493                      flushSyncCallbacks();
22494                    }
22495                  });
22496                }
22497              }
22498              newCallbackNode = null;
22499            } else {
22500              var schedulerPriorityLevel;
22501              switch (lanesToEventPriority(nextLanes)) {
22502                case DiscreteEventPriority:
22503                  schedulerPriorityLevel = ImmediatePriority;
22504                  break;
22505                case ContinuousEventPriority:
22506                  schedulerPriorityLevel = UserBlockingPriority;
22507                  break;
22508                case DefaultEventPriority:
22509                  schedulerPriorityLevel = NormalPriority;
22510                  break;
22511                case IdleEventPriority:
22512                  schedulerPriorityLevel = IdlePriority;
22513                  break;
22514                default:
22515                  schedulerPriorityLevel = NormalPriority;
22516                  break;
22517              }
22518              newCallbackNode = scheduleCallback$1(schedulerPriorityLevel, performConcurrentWorkOnRoot.bind(null, root2));
22519            }
22520            root2.callbackPriority = newCallbackPriority;
22521            root2.callbackNode = newCallbackNode;
22522          }
22523          function performConcurrentWorkOnRoot(root2, didTimeout) {
22524            {
22525              resetNestedUpdateFlag();
22526            }
22527            currentEventTime = NoTimestamp;
22528            currentEventTransitionLane = NoLanes;
22529            if ((executionContext & (RenderContext | CommitContext)) !== NoContext) {
22530              throw new Error("Should not already be working.");
22531            }
22532            var originalCallbackNode = root2.callbackNode;
22533            var didFlushPassiveEffects = flushPassiveEffects();
22534            if (didFlushPassiveEffects) {
22535              if (root2.callbackNode !== originalCallbackNode) {
22536                return null;
22537              }
22538            }
22539            var lanes = getNextLanes(root2, root2 === workInProgressRoot ? workInProgressRootRenderLanes : NoLanes);
22540            if (lanes === NoLanes) {
22541              return null;
22542            }
22543            var shouldTimeSlice = !includesBlockingLane(root2, lanes) && !includesExpiredLane(root2, lanes) && !didTimeout;
22544            var exitStatus = shouldTimeSlice ? renderRootConcurrent(root2, lanes) : renderRootSync(root2, lanes);
22545            if (exitStatus !== RootInProgress) {
22546              if (exitStatus === RootErrored) {
22547                var errorRetryLanes = getLanesToRetrySynchronouslyOnError(root2);
22548                if (errorRetryLanes !== NoLanes) {
22549                  lanes = errorRetryLanes;
22550                  exitStatus = recoverFromConcurrentError(root2, errorRetryLanes);
22551                }
22552              }
22553              if (exitStatus === RootFatalErrored) {
22554                var fatalError = workInProgressRootFatalError;
22555                prepareFreshStack(root2, NoLanes);
22556                markRootSuspended$1(root2, lanes);
22557                ensureRootIsScheduled(root2, now());
22558                throw fatalError;
22559              }
22560              if (exitStatus === RootDidNotComplete) {
22561                markRootSuspended$1(root2, lanes);
22562              } else {
22563                var renderWasConcurrent = !includesBlockingLane(root2, lanes);
22564                var finishedWork = root2.current.alternate;
22565                if (renderWasConcurrent && !isRenderConsistentWithExternalStores(finishedWork)) {
22566                  exitStatus = renderRootSync(root2, lanes);
22567                  if (exitStatus === RootErrored) {
22568                    var _errorRetryLanes = getLanesToRetrySynchronouslyOnError(root2);
22569                    if (_errorRetryLanes !== NoLanes) {
22570                      lanes = _errorRetryLanes;
22571                      exitStatus = recoverFromConcurrentError(root2, _errorRetryLanes);
22572                    }
22573                  }
22574                  if (exitStatus === RootFatalErrored) {
22575                    var _fatalError = workInProgressRootFatalError;
22576                    prepareFreshStack(root2, NoLanes);
22577                    markRootSuspended$1(root2, lanes);
22578                    ensureRootIsScheduled(root2, now());
22579                    throw _fatalError;
22580                  }
22581                }
22582                root2.finishedWork = finishedWork;
22583                root2.finishedLanes = lanes;
22584                finishConcurrentRender(root2, exitStatus, lanes);
22585              }
22586            }
22587            ensureRootIsScheduled(root2, now());
22588            if (root2.callbackNode === originalCallbackNode) {
22589              return performConcurrentWorkOnRoot.bind(null, root2);
22590            }
22591            return null;
22592          }
22593          function recoverFromConcurrentError(root2, errorRetryLanes) {
22594            var errorsFromFirstAttempt = workInProgressRootConcurrentErrors;
22595            if (isRootDehydrated(root2)) {
22596              var rootWorkInProgress = prepareFreshStack(root2, errorRetryLanes);
22597              rootWorkInProgress.flags |= ForceClientRender;
22598              {
22599                errorHydratingContainer(root2.containerInfo);
22600              }
22601            }
22602            var exitStatus = renderRootSync(root2, errorRetryLanes);
22603            if (exitStatus !== RootErrored) {
22604              var errorsFromSecondAttempt = workInProgressRootRecoverableErrors;
22605              workInProgressRootRecoverableErrors = errorsFromFirstAttempt;
22606              if (errorsFromSecondAttempt !== null) {
22607                queueRecoverableErrors(errorsFromSecondAttempt);
22608              }
22609            }
22610            return exitStatus;
22611          }
22612          function queueRecoverableErrors(errors) {
22613            if (workInProgressRootRecoverableErrors === null) {
22614              workInProgressRootRecoverableErrors = errors;
22615            } else {
22616              workInProgressRootRecoverableErrors.push.apply(workInProgressRootRecoverableErrors, errors);
22617            }
22618          }
22619          function finishConcurrentRender(root2, exitStatus, lanes) {
22620            switch (exitStatus) {
22621              case RootInProgress:
22622              case RootFatalErrored: {
22623                throw new Error("Root did not complete. This is a bug in React.");
22624              }
22625              // Flow knows about invariant, so it complains if I add a break
22626              // statement, but eslint doesn't know about invariant, so it complains
22627              // if I do. eslint-disable-next-line no-fallthrough
22628              case RootErrored: {
22629                commitRoot(root2, workInProgressRootRecoverableErrors, workInProgressTransitions);
22630                break;
22631              }
22632              case RootSuspended: {
22633                markRootSuspended$1(root2, lanes);
22634                if (includesOnlyRetries(lanes) && // do not delay if we're inside an act() scope
22635                !shouldForceFlushFallbacksInDEV()) {
22636                  var msUntilTimeout = globalMostRecentFallbackTime + FALLBACK_THROTTLE_MS - now();
22637                  if (msUntilTimeout > 10) {
22638                    var nextLanes = getNextLanes(root2, NoLanes);
22639                    if (nextLanes !== NoLanes) {
22640                      break;
22641                    }
22642                    var suspendedLanes = root2.suspendedLanes;
22643                    if (!isSubsetOfLanes(suspendedLanes, lanes)) {
22644                      var eventTime = requestEventTime();
22645                      markRootPinged(root2, suspendedLanes);
22646                      break;
22647                    }
22648                    root2.timeoutHandle = scheduleTimeout(commitRoot.bind(null, root2, workInProgressRootRecoverableErrors, workInProgressTransitions), msUntilTimeout);
22649                    break;
22650                  }
22651                }
22652                commitRoot(root2, workInProgressRootRecoverableErrors, workInProgressTransitions);
22653                break;
22654              }
22655              case RootSuspendedWithDelay: {
22656                markRootSuspended$1(root2, lanes);
22657                if (includesOnlyTransitions(lanes)) {
22658                  break;
22659                }
22660                if (!shouldForceFlushFallbacksInDEV()) {
22661                  var mostRecentEventTime = getMostRecentEventTime(root2, lanes);
22662                  var eventTimeMs = mostRecentEventTime;
22663                  var timeElapsedMs = now() - eventTimeMs;
22664                  var _msUntilTimeout = jnd(timeElapsedMs) - timeElapsedMs;
22665                  if (_msUntilTimeout > 10) {
22666                    root2.timeoutHandle = scheduleTimeout(commitRoot.bind(null, root2, workInProgressRootRecoverableErrors, workInProgressTransitions), _msUntilTimeout);
22667                    break;
22668                  }
22669                }
22670                commitRoot(root2, workInProgressRootRecoverableErrors, workInProgressTransitions);
22671                break;
22672              }
22673              case RootCompleted: {
22674                commitRoot(root2, workInProgressRootRecoverableErrors, workInProgressTransitions);
22675                break;
22676              }
22677              default: {
22678                throw new Error("Unknown root exit status.");
22679              }
22680            }
22681          }
22682          function isRenderConsistentWithExternalStores(finishedWork) {
22683            var node2 = finishedWork;
22684            while (true) {
22685              if (node2.flags & StoreConsistency) {
22686                var updateQueue = node2.updateQueue;
22687                if (updateQueue !== null) {
22688                  var checks = updateQueue.stores;
22689                  if (checks !== null) {
22690                    for (var i2 = 0; i2 < checks.length; i2++) {
22691                      var check = checks[i2];
22692                      var getSnapshot = check.getSnapshot;
22693                      var renderedValue = check.value;
22694                      try {
22695                        if (!objectIs(getSnapshot(), renderedValue)) {
22696                          return false;
22697                        }
22698                      } catch (error2) {
22699                        return false;
22700                      }
22701                    }
22702                  }
22703                }
22704              }
22705              var child = node2.child;
22706              if (node2.subtreeFlags & StoreConsistency && child !== null) {
22707                child.return = node2;
22708                node2 = child;
22709                continue;
22710              }
22711              if (node2 === finishedWork) {
22712                return true;
22713              }
22714              while (node2.sibling === null) {
22715                if (node2.return === null || node2.return === finishedWork) {
22716                  return true;
22717                }
22718                node2 = node2.return;
22719              }
22720              node2.sibling.return = node2.return;
22721              node2 = node2.sibling;
22722            }
22723            return true;
22724          }
22725          function markRootSuspended$1(root2, suspendedLanes) {
22726            suspendedLanes = removeLanes(suspendedLanes, workInProgressRootPingedLanes);
22727            suspendedLanes = removeLanes(suspendedLanes, workInProgressRootInterleavedUpdatedLanes);
22728            markRootSuspended(root2, suspendedLanes);
22729          }
22730          function performSyncWorkOnRoot(root2) {
22731            {
22732              syncNestedUpdateFlag();
22733            }
22734            if ((executionContext & (RenderContext | CommitContext)) !== NoContext) {
22735              throw new Error("Should not already be working.");
22736            }
22737            flushPassiveEffects();
22738            var lanes = getNextLanes(root2, NoLanes);
22739            if (!includesSomeLane(lanes, SyncLane)) {
22740              ensureRootIsScheduled(root2, now());
22741              return null;
22742            }
22743            var exitStatus = renderRootSync(root2, lanes);
22744            if (root2.tag !== LegacyRoot && exitStatus === RootErrored) {
22745              var errorRetryLanes = getLanesToRetrySynchronouslyOnError(root2);
22746              if (errorRetryLanes !== NoLanes) {
22747                lanes = errorRetryLanes;
22748                exitStatus = recoverFromConcurrentError(root2, errorRetryLanes);
22749              }
22750            }
22751            if (exitStatus === RootFatalErrored) {
22752              var fatalError = workInProgressRootFatalError;
22753              prepareFreshStack(root2, NoLanes);
22754              markRootSuspended$1(root2, lanes);
22755              ensureRootIsScheduled(root2, now());
22756              throw fatalError;
22757            }
22758            if (exitStatus === RootDidNotComplete) {
22759              throw new Error("Root did not complete. This is a bug in React.");
22760            }
22761            var finishedWork = root2.current.alternate;
22762            root2.finishedWork = finishedWork;
22763            root2.finishedLanes = lanes;
22764            commitRoot(root2, workInProgressRootRecoverableErrors, workInProgressTransitions);
22765            ensureRootIsScheduled(root2, now());
22766            return null;
22767          }
22768          function flushRoot(root2, lanes) {
22769            if (lanes !== NoLanes) {
22770              markRootEntangled(root2, mergeLanes(lanes, SyncLane));
22771              ensureRootIsScheduled(root2, now());
22772              if ((executionContext & (RenderContext | CommitContext)) === NoContext) {
22773                resetRenderTimer();
22774                flushSyncCallbacks();
22775              }
22776            }
22777          }
22778          function batchedUpdates$1(fn, a) {
22779            var prevExecutionContext = executionContext;
22780            executionContext |= BatchedContext;
22781            try {
22782              return fn(a);
22783            } finally {
22784              executionContext = prevExecutionContext;
22785              if (executionContext === NoContext && // Treat `act` as if it's inside `batchedUpdates`, even in legacy mode.
22786              !ReactCurrentActQueue$1.isBatchingLegacy) {
22787                resetRenderTimer();
22788                flushSyncCallbacksOnlyInLegacyMode();
22789              }
22790            }
22791          }
22792          function discreteUpdates(fn, a, b, c, d) {
22793            var previousPriority = getCurrentUpdatePriority();
22794            var prevTransition = ReactCurrentBatchConfig$3.transition;
22795            try {
22796              ReactCurrentBatchConfig$3.transition = null;
22797              setCurrentUpdatePriority(DiscreteEventPriority);
22798              return fn(a, b, c, d);
22799            } finally {
22800              setCurrentUpdatePriority(previousPriority);
22801              ReactCurrentBatchConfig$3.transition = prevTransition;
22802              if (executionContext === NoContext) {
22803                resetRenderTimer();
22804              }
22805            }
22806          }
22807          function flushSync(fn) {
22808            if (rootWithPendingPassiveEffects !== null && rootWithPendingPassiveEffects.tag === LegacyRoot && (executionContext & (RenderContext | CommitContext)) === NoContext) {
22809              flushPassiveEffects();
22810            }
22811            var prevExecutionContext = executionContext;
22812            executionContext |= BatchedContext;
22813            var prevTransition = ReactCurrentBatchConfig$3.transition;
22814            var previousPriority = getCurrentUpdatePriority();
22815            try {
22816              ReactCurrentBatchConfig$3.transition = null;
22817              setCurrentUpdatePriority(DiscreteEventPriority);
22818              if (fn) {
22819                return fn();
22820              } else {
22821                return void 0;
22822              }
22823            } finally {
22824              setCurrentUpdatePriority(previousPriority);
22825              ReactCurrentBatchConfig$3.transition = prevTransition;
22826              executionContext = prevExecutionContext;
22827              if ((executionContext & (RenderContext | CommitContext)) === NoContext) {
22828                flushSyncCallbacks();
22829              }
22830            }
22831          }
22832          function isAlreadyRendering() {
22833            return (executionContext & (RenderContext | CommitContext)) !== NoContext;
22834          }
22835          function pushRenderLanes(fiber, lanes) {
22836            push(subtreeRenderLanesCursor, subtreeRenderLanes, fiber);
22837            subtreeRenderLanes = mergeLanes(subtreeRenderLanes, lanes);
22838            workInProgressRootIncludedLanes = mergeLanes(workInProgressRootIncludedLanes, lanes);
22839          }
22840          function popRenderLanes(fiber) {
22841            subtreeRenderLanes = subtreeRenderLanesCursor.current;
22842            pop(subtreeRenderLanesCursor, fiber);
22843          }
22844          function prepareFreshStack(root2, lanes) {
22845            root2.finishedWork = null;
22846            root2.finishedLanes = NoLanes;
22847            var timeoutHandle = root2.timeoutHandle;
22848            if (timeoutHandle !== noTimeout) {
22849              root2.timeoutHandle = noTimeout;
22850              cancelTimeout(timeoutHandle);
22851            }
22852            if (workInProgress !== null) {
22853              var interruptedWork = workInProgress.return;
22854              while (interruptedWork !== null) {
22855                var current2 = interruptedWork.alternate;
22856                unwindInterruptedWork(current2, interruptedWork);
22857                interruptedWork = interruptedWork.return;
22858              }
22859            }
22860            workInProgressRoot = root2;
22861            var rootWorkInProgress = createWorkInProgress(root2.current, null);
22862            workInProgress = rootWorkInProgress;
22863            workInProgressRootRenderLanes = subtreeRenderLanes = workInProgressRootIncludedLanes = lanes;
22864            workInProgressRootExitStatus = RootInProgress;
22865            workInProgressRootFatalError = null;
22866            workInProgressRootSkippedLanes = NoLanes;
22867            workInProgressRootInterleavedUpdatedLanes = NoLanes;
22868            workInProgressRootPingedLanes = NoLanes;
22869            workInProgressRootConcurrentErrors = null;
22870            workInProgressRootRecoverableErrors = null;
22871            finishQueueingConcurrentUpdates();
22872            {
22873              ReactStrictModeWarnings.discardPendingWarnings();
22874            }
22875            return rootWorkInProgress;
22876          }
22877          function handleError(root2, thrownValue) {
22878            do {
22879              var erroredWork = workInProgress;
22880              try {
22881                resetContextDependencies();
22882                resetHooksAfterThrow();
22883                resetCurrentFiber();
22884                ReactCurrentOwner$2.current = null;
22885                if (erroredWork === null || erroredWork.return === null) {
22886                  workInProgressRootExitStatus = RootFatalErrored;
22887                  workInProgressRootFatalError = thrownValue;
22888                  workInProgress = null;
22889                  return;
22890                }
22891                if (enableProfilerTimer && erroredWork.mode & ProfileMode) {
22892                  stopProfilerTimerIfRunningAndRecordDelta(erroredWork, true);
22893                }
22894                if (enableSchedulingProfiler) {
22895                  markComponentRenderStopped();
22896                  if (thrownValue !== null && typeof thrownValue === "object" && typeof thrownValue.then === "function") {
22897                    var wakeable = thrownValue;
22898                    markComponentSuspended(erroredWork, wakeable, workInProgressRootRenderLanes);
22899                  } else {
22900                    markComponentErrored(erroredWork, thrownValue, workInProgressRootRenderLanes);
22901                  }
22902                }
22903                throwException(root2, erroredWork.return, erroredWork, thrownValue, workInProgressRootRenderLanes);
22904                completeUnitOfWork(erroredWork);
22905              } catch (yetAnotherThrownValue) {
22906                thrownValue = yetAnotherThrownValue;
22907                if (workInProgress === erroredWork && erroredWork !== null) {
22908                  erroredWork = erroredWork.return;
22909                  workInProgress = erroredWork;
22910                } else {
22911                  erroredWork = workInProgress;
22912                }
22913                continue;
22914              }
22915              return;
22916            } while (true);
22917          }
22918          function pushDispatcher() {
22919            var prevDispatcher = ReactCurrentDispatcher$2.current;
22920            ReactCurrentDispatcher$2.current = ContextOnlyDispatcher;
22921            if (prevDispatcher === null) {
22922              return ContextOnlyDispatcher;
22923            } else {
22924              return prevDispatcher;
22925            }
22926          }
22927          function popDispatcher(prevDispatcher) {
22928            ReactCurrentDispatcher$2.current = prevDispatcher;
22929          }
22930          function markCommitTimeOfFallback() {
22931            globalMostRecentFallbackTime = now();
22932          }
22933          function markSkippedUpdateLanes(lane) {
22934            workInProgressRootSkippedLanes = mergeLanes(lane, workInProgressRootSkippedLanes);
22935          }
22936          function renderDidSuspend() {
22937            if (workInProgressRootExitStatus === RootInProgress) {
22938              workInProgressRootExitStatus = RootSuspended;
22939            }
22940          }
22941          function renderDidSuspendDelayIfPossible() {
22942            if (workInProgressRootExitStatus === RootInProgress || workInProgressRootExitStatus === RootSuspended || workInProgressRootExitStatus === RootErrored) {
22943              workInProgressRootExitStatus = RootSuspendedWithDelay;
22944            }
22945            if (workInProgressRoot !== null && (includesNonIdleWork(workInProgressRootSkippedLanes) || includesNonIdleWork(workInProgressRootInterleavedUpdatedLanes))) {
22946              markRootSuspended$1(workInProgressRoot, workInProgressRootRenderLanes);
22947            }
22948          }
22949          function renderDidError(error2) {
22950            if (workInProgressRootExitStatus !== RootSuspendedWithDelay) {
22951              workInProgressRootExitStatus = RootErrored;
22952            }
22953            if (workInProgressRootConcurrentErrors === null) {
22954              workInProgressRootConcurrentErrors = [error2];
22955            } else {
22956              workInProgressRootConcurrentErrors.push(error2);
22957            }
22958          }
22959          function renderHasNotSuspendedYet() {
22960            return workInProgressRootExitStatus === RootInProgress;
22961          }
22962          function renderRootSync(root2, lanes) {
22963            var prevExecutionContext = executionContext;
22964            executionContext |= RenderContext;
22965            var prevDispatcher = pushDispatcher();
22966            if (workInProgressRoot !== root2 || workInProgressRootRenderLanes !== lanes) {
22967              {
22968                if (isDevToolsPresent) {
22969                  var memoizedUpdaters = root2.memoizedUpdaters;
22970                  if (memoizedUpdaters.size > 0) {
22971                    restorePendingUpdaters(root2, workInProgressRootRenderLanes);
22972                    memoizedUpdaters.clear();
22973                  }
22974                  movePendingFibersToMemoized(root2, lanes);
22975                }
22976              }
22977              workInProgressTransitions = getTransitionsForLanes();
22978              prepareFreshStack(root2, lanes);
22979            }
22980            {
22981              markRenderStarted(lanes);
22982            }
22983            do {
22984              try {
22985                workLoopSync();
22986                break;
22987              } catch (thrownValue) {
22988                handleError(root2, thrownValue);
22989              }
22990            } while (true);
22991            resetContextDependencies();
22992            executionContext = prevExecutionContext;
22993            popDispatcher(prevDispatcher);
22994            if (workInProgress !== null) {
22995              throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");
22996            }
22997            {
22998              markRenderStopped();
22999            }
23000            workInProgressRoot = null;
23001            workInProgressRootRenderLanes = NoLanes;
23002            return workInProgressRootExitStatus;
23003          }
23004          function workLoopSync() {
23005            while (workInProgress !== null) {
23006              performUnitOfWork(workInProgress);
23007            }
23008          }
23009          function renderRootConcurrent(root2, lanes) {
23010            var prevExecutionContext = executionContext;
23011            executionContext |= RenderContext;
23012            var prevDispatcher = pushDispatcher();
23013            if (workInProgressRoot !== root2 || workInProgressRootRenderLanes !== lanes) {
23014              {
23015                if (isDevToolsPresent) {
23016                  var memoizedUpdaters = root2.memoizedUpdaters;
23017                  if (memoizedUpdaters.size > 0) {
23018                    restorePendingUpdaters(root2, workInProgressRootRenderLanes);
23019                    memoizedUpdaters.clear();
23020                  }
23021                  movePendingFibersToMemoized(root2, lanes);
23022                }
23023              }
23024              workInProgressTransitions = getTransitionsForLanes();
23025              resetRenderTimer();
23026              prepareFreshStack(root2, lanes);
23027            }
23028            {
23029              markRenderStarted(lanes);
23030            }
23031            do {
23032              try {
23033                workLoopConcurrent();
23034                break;
23035              } catch (thrownValue) {
23036                handleError(root2, thrownValue);
23037              }
23038            } while (true);
23039            resetContextDependencies();
23040            popDispatcher(prevDispatcher);
23041            executionContext = prevExecutionContext;
23042            if (workInProgress !== null) {
23043              {
23044                markRenderYielded();
23045              }
23046              return RootInProgress;
23047            } else {
23048              {
23049                markRenderStopped();
23050              }
23051              workInProgressRoot = null;
23052              workInProgressRootRenderLanes = NoLanes;
23053              return workInProgressRootExitStatus;
23054            }
23055          }
23056          function workLoopConcurrent() {
23057            while (workInProgress !== null && !shouldYield()) {
23058              performUnitOfWork(workInProgress);
23059            }
23060          }
23061          function performUnitOfWork(unitOfWork) {
23062            var current2 = unitOfWork.alternate;
23063            setCurrentFiber(unitOfWork);
23064            var next2;
23065            if ((unitOfWork.mode & ProfileMode) !== NoMode) {
23066              startProfilerTimer(unitOfWork);
23067              next2 = beginWork$1(current2, unitOfWork, subtreeRenderLanes);
23068              stopProfilerTimerIfRunningAndRecordDelta(unitOfWork, true);
23069            } else {
23070              next2 = beginWork$1(current2, unitOfWork, subtreeRenderLanes);
23071            }
23072            resetCurrentFiber();
23073            unitOfWork.memoizedProps = unitOfWork.pendingProps;
23074            if (next2 === null) {
23075              completeUnitOfWork(unitOfWork);
23076            } else {
23077              workInProgress = next2;
23078            }
23079            ReactCurrentOwner$2.current = null;
23080          }
23081          function completeUnitOfWork(unitOfWork) {
23082            var completedWork = unitOfWork;
23083            do {
23084              var current2 = completedWork.alternate;
23085              var returnFiber = completedWork.return;
23086              if ((completedWork.flags & Incomplete) === NoFlags) {
23087                setCurrentFiber(completedWork);
23088                var next2 = void 0;
23089                if ((completedWork.mode & ProfileMode) === NoMode) {
23090                  next2 = completeWork(current2, completedWork, subtreeRenderLanes);
23091                } else {
23092                  startProfilerTimer(completedWork);
23093                  next2 = completeWork(current2, completedWork, subtreeRenderLanes);
23094                  stopProfilerTimerIfRunningAndRecordDelta(completedWork, false);
23095                }
23096                resetCurrentFiber();
23097                if (next2 !== null) {
23098                  workInProgress = next2;
23099                  return;
23100                }
23101              } else {
23102                var _next = unwindWork(current2, completedWork);
23103                if (_next !== null) {
23104                  _next.flags &= HostEffectMask;
23105                  workInProgress = _next;
23106                  return;
23107                }
23108                if ((completedWork.mode & ProfileMode) !== NoMode) {
23109                  stopProfilerTimerIfRunningAndRecordDelta(completedWork, false);
23110                  var actualDuration = completedWork.actualDuration;
23111                  var child = completedWork.child;
23112                  while (child !== null) {
23113                    actualDuration += child.actualDuration;
23114                    child = child.sibling;
23115                  }
23116                  completedWork.actualDuration = actualDuration;
23117                }
23118                if (returnFiber !== null) {
23119                  returnFiber.flags |= Incomplete;
23120                  returnFiber.subtreeFlags = NoFlags;
23121                  returnFiber.deletions = null;
23122                } else {
23123                  workInProgressRootExitStatus = RootDidNotComplete;
23124                  workInProgress = null;
23125                  return;
23126                }
23127              }
23128              var siblingFiber = completedWork.sibling;
23129              if (siblingFiber !== null) {
23130                workInProgress = siblingFiber;
23131                return;
23132              }
23133              completedWork = returnFiber;
23134              workInProgress = completedWork;
23135            } while (completedWork !== null);
23136            if (workInProgressRootExitStatus === RootInProgress) {
23137              workInProgressRootExitStatus = RootCompleted;
23138            }
23139          }
23140          function commitRoot(root2, recoverableErrors, transitions) {
23141            var previousUpdateLanePriority = getCurrentUpdatePriority();
23142            var prevTransition = ReactCurrentBatchConfig$3.transition;
23143            try {
23144              ReactCurrentBatchConfig$3.transition = null;
23145              setCurrentUpdatePriority(DiscreteEventPriority);
23146              commitRootImpl(root2, recoverableErrors, transitions, previousUpdateLanePriority);
23147            } finally {
23148              ReactCurrentBatchConfig$3.transition = prevTransition;
23149              setCurrentUpdatePriority(previousUpdateLanePriority);
23150            }
23151            return null;
23152          }
23153          function commitRootImpl(root2, recoverableErrors, transitions, renderPriorityLevel) {
23154            do {
23155              flushPassiveEffects();
23156            } while (rootWithPendingPassiveEffects !== null);
23157            flushRenderPhaseStrictModeWarningsInDEV();
23158            if ((executionContext & (RenderContext | CommitContext)) !== NoContext) {
23159              throw new Error("Should not already be working.");
23160            }
23161            var finishedWork = root2.finishedWork;
23162            var lanes = root2.finishedLanes;
23163            {
23164              markCommitStarted(lanes);
23165            }
23166            if (finishedWork === null) {
23167              {
23168                markCommitStopped();
23169              }
23170              return null;
23171            } else {
23172              {
23173                if (lanes === NoLanes) {
23174                  error("root.finishedLanes should not be empty during a commit. This is a bug in React.");
23175                }
23176              }
23177            }
23178            root2.finishedWork = null;
23179            root2.finishedLanes = NoLanes;
23180            if (finishedWork === root2.current) {
23181              throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");
23182            }
23183            root2.callbackNode = null;
23184            root2.callbackPriority = NoLane;
23185            var remainingLanes = mergeLanes(finishedWork.lanes, finishedWork.childLanes);
23186            markRootFinished(root2, remainingLanes);
23187            if (root2 === workInProgressRoot) {
23188              workInProgressRoot = null;
23189              workInProgress = null;
23190              workInProgressRootRenderLanes = NoLanes;
23191            }
23192            if ((finishedWork.subtreeFlags & PassiveMask) !== NoFlags || (finishedWork.flags & PassiveMask) !== NoFlags) {
23193              if (!rootDoesHavePassiveEffects) {
23194                rootDoesHavePassiveEffects = true;
23195                pendingPassiveTransitions = transitions;
23196                scheduleCallback$1(NormalPriority, function() {
23197                  flushPassiveEffects();
23198                  return null;
23199                });
23200              }
23201            }
23202            var subtreeHasEffects = (finishedWork.subtreeFlags & (BeforeMutationMask | MutationMask | LayoutMask | PassiveMask)) !== NoFlags;
23203            var rootHasEffect = (finishedWork.flags & (BeforeMutationMask | MutationMask | LayoutMask | PassiveMask)) !== NoFlags;
23204            if (subtreeHasEffects || rootHasEffect) {
23205              var prevTransition = ReactCurrentBatchConfig$3.transition;
23206              ReactCurrentBatchConfig$3.transition = null;
23207              var previousPriority = getCurrentUpdatePriority();
23208              setCurrentUpdatePriority(DiscreteEventPriority);
23209              var prevExecutionContext = executionContext;
23210              executionContext |= CommitContext;
23211              ReactCurrentOwner$2.current = null;
23212              var shouldFireAfterActiveInstanceBlur2 = commitBeforeMutationEffects(root2, finishedWork);
23213              {
23214                recordCommitTime();
23215              }
23216              commitMutationEffects(root2, finishedWork, lanes);
23217              resetAfterCommit(root2.containerInfo);
23218              root2.current = finishedWork;
23219              {
23220                markLayoutEffectsStarted(lanes);
23221              }
23222              commitLayoutEffects(finishedWork, root2, lanes);
23223              {
23224                markLayoutEffectsStopped();
23225              }
23226              requestPaint();
23227              executionContext = prevExecutionContext;
23228              setCurrentUpdatePriority(previousPriority);
23229              ReactCurrentBatchConfig$3.transition = prevTransition;
23230            } else {
23231              root2.current = finishedWork;
23232              {
23233                recordCommitTime();
23234              }
23235            }
23236            var rootDidHavePassiveEffects = rootDoesHavePassiveEffects;
23237            if (rootDoesHavePassiveEffects) {
23238              rootDoesHavePassiveEffects = false;
23239              rootWithPendingPassiveEffects = root2;
23240              pendingPassiveEffectsLanes = lanes;
23241            } else {
23242              {
23243                nestedPassiveUpdateCount = 0;
23244                rootWithPassiveNestedUpdates = null;
23245              }
23246            }
23247            remainingLanes = root2.pendingLanes;
23248            if (remainingLanes === NoLanes) {
23249              legacyErrorBoundariesThatAlreadyFailed = null;
23250            }
23251            {
23252              if (!rootDidHavePassiveEffects) {
23253                commitDoubleInvokeEffectsInDEV(root2.current, false);
23254              }
23255            }
23256            onCommitRoot(finishedWork.stateNode, renderPriorityLevel);
23257            {
23258              if (isDevToolsPresent) {
23259                root2.memoizedUpdaters.clear();
23260              }
23261            }
23262            {
23263              onCommitRoot$1();
23264            }
23265            ensureRootIsScheduled(root2, now());
23266            if (recoverableErrors !== null) {
23267              var onRecoverableError = root2.onRecoverableError;
23268              for (var i2 = 0; i2 < recoverableErrors.length; i2++) {
23269                var recoverableError = recoverableErrors[i2];
23270                var componentStack = recoverableError.stack;
23271                var digest = recoverableError.digest;
23272                onRecoverableError(recoverableError.value, {
23273                  componentStack,
23274                  digest
23275                });
23276              }
23277            }
23278            if (hasUncaughtError) {
23279              hasUncaughtError = false;
23280              var error$1 = firstUncaughtError;
23281              firstUncaughtError = null;
23282              throw error$1;
23283            }
23284            if (includesSomeLane(pendingPassiveEffectsLanes, SyncLane) && root2.tag !== LegacyRoot) {
23285              flushPassiveEffects();
23286            }
23287            remainingLanes = root2.pendingLanes;
23288            if (includesSomeLane(remainingLanes, SyncLane)) {
23289              {
23290                markNestedUpdateScheduled();
23291              }
23292              if (root2 === rootWithNestedUpdates) {
23293                nestedUpdateCount++;
23294              } else {
23295                nestedUpdateCount = 0;
23296                rootWithNestedUpdates = root2;
23297              }
23298            } else {
23299              nestedUpdateCount = 0;
23300            }
23301            flushSyncCallbacks();
23302            {
23303              markCommitStopped();
23304            }
23305            return null;
23306          }
23307          function flushPassiveEffects() {
23308            if (rootWithPendingPassiveEffects !== null) {
23309              var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes);
23310              var priority = lowerEventPriority(DefaultEventPriority, renderPriority);
23311              var prevTransition = ReactCurrentBatchConfig$3.transition;
23312              var previousPriority = getCurrentUpdatePriority();
23313              try {
23314                ReactCurrentBatchConfig$3.transition = null;
23315                setCurrentUpdatePriority(priority);
23316                return flushPassiveEffectsImpl();
23317              } finally {
23318                setCurrentUpdatePriority(previousPriority);
23319                ReactCurrentBatchConfig$3.transition = prevTransition;
23320              }
23321            }
23322            return false;
23323          }
23324          function enqueuePendingPassiveProfilerEffect(fiber) {
23325            {
23326              pendingPassiveProfilerEffects.push(fiber);
23327              if (!rootDoesHavePassiveEffects) {
23328                rootDoesHavePassiveEffects = true;
23329                scheduleCallback$1(NormalPriority, function() {
23330                  flushPassiveEffects();
23331                  return null;
23332                });
23333              }
23334            }
23335          }
23336          function flushPassiveEffectsImpl() {
23337            if (rootWithPendingPassiveEffects === null) {
23338              return false;
23339            }
23340            var transitions = pendingPassiveTransitions;
23341            pendingPassiveTransitions = null;
23342            var root2 = rootWithPendingPassiveEffects;
23343            var lanes = pendingPassiveEffectsLanes;
23344            rootWithPendingPassiveEffects = null;
23345            pendingPassiveEffectsLanes = NoLanes;
23346            if ((executionContext & (RenderContext | CommitContext)) !== NoContext) {
23347              throw new Error("Cannot flush passive effects while already rendering.");
23348            }
23349            {
23350              isFlushingPassiveEffects = true;
23351              didScheduleUpdateDuringPassiveEffects = false;
23352            }
23353            {
23354              markPassiveEffectsStarted(lanes);
23355            }
23356            var prevExecutionContext = executionContext;
23357            executionContext |= CommitContext;
23358            commitPassiveUnmountEffects(root2.current);
23359            commitPassiveMountEffects(root2, root2.current, lanes, transitions);
23360            {
23361              var profilerEffects = pendingPassiveProfilerEffects;
23362              pendingPassiveProfilerEffects = [];
23363              for (var i2 = 0; i2 < profilerEffects.length; i2++) {
23364                var _fiber = profilerEffects[i2];
23365                commitPassiveEffectDurations(root2, _fiber);
23366              }
23367            }
23368            {
23369              markPassiveEffectsStopped();
23370            }
23371            {
23372              commitDoubleInvokeEffectsInDEV(root2.current, true);
23373            }
23374            executionContext = prevExecutionContext;
23375            flushSyncCallbacks();
23376            {
23377              if (didScheduleUpdateDuringPassiveEffects) {
23378                if (root2 === rootWithPassiveNestedUpdates) {
23379                  nestedPassiveUpdateCount++;
23380                } else {
23381                  nestedPassiveUpdateCount = 0;
23382                  rootWithPassiveNestedUpdates = root2;
23383                }
23384              } else {
23385                nestedPassiveUpdateCount = 0;
23386              }
23387              isFlushingPassiveEffects = false;
23388              didScheduleUpdateDuringPassiveEffects = false;
23389            }
23390            onPostCommitRoot(root2);
23391            {
23392              var stateNode = root2.current.stateNode;
23393              stateNode.effectDuration = 0;
23394              stateNode.passiveEffectDuration = 0;
23395            }
23396            return true;
23397          }
23398          function isAlreadyFailedLegacyErrorBoundary(instance) {
23399            return legacyErrorBoundariesThatAlreadyFailed !== null && legacyErrorBoundariesThatAlreadyFailed.has(instance);
23400          }
23401          function markLegacyErrorBoundaryAsFailed(instance) {
23402            if (legacyErrorBoundariesThatAlreadyFailed === null) {
23403              legacyErrorBoundariesThatAlreadyFailed = /* @__PURE__ */ new Set([instance]);
23404            } else {
23405              legacyErrorBoundariesThatAlreadyFailed.add(instance);
23406            }
23407          }
23408          function prepareToThrowUncaughtError(error2) {
23409            if (!hasUncaughtError) {
23410              hasUncaughtError = true;
23411              firstUncaughtError = error2;
23412            }
23413          }
23414          var onUncaughtError = prepareToThrowUncaughtError;
23415          function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error2) {
23416            var errorInfo = createCapturedValueAtFiber(error2, sourceFiber);
23417            var update2 = createRootErrorUpdate(rootFiber, errorInfo, SyncLane);
23418            var root2 = enqueueUpdate(rootFiber, update2, SyncLane);
23419            var eventTime = requestEventTime();
23420            if (root2 !== null) {
23421              markRootUpdated(root2, SyncLane, eventTime);
23422              ensureRootIsScheduled(root2, eventTime);
23423            }
23424          }
23425          function captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error$1) {
23426            {
23427              reportUncaughtErrorInDEV(error$1);
23428              setIsRunningInsertionEffect(false);
23429            }
23430            if (sourceFiber.tag === HostRoot) {
23431              captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error$1);
23432              return;
23433            }
23434            var fiber = null;
23435            {
23436              fiber = nearestMountedAncestor;
23437            }
23438            while (fiber !== null) {
23439              if (fiber.tag === HostRoot) {
23440                captureCommitPhaseErrorOnRoot(fiber, sourceFiber, error$1);
23441                return;
23442              } else if (fiber.tag === ClassComponent) {
23443                var ctor = fiber.type;
23444                var instance = fiber.stateNode;
23445                if (typeof ctor.getDerivedStateFromError === "function" || typeof instance.componentDidCatch === "function" && !isAlreadyFailedLegacyErrorBoundary(instance)) {
23446                  var errorInfo = createCapturedValueAtFiber(error$1, sourceFiber);
23447                  var update2 = createClassErrorUpdate(fiber, errorInfo, SyncLane);
23448                  var root2 = enqueueUpdate(fiber, update2, SyncLane);
23449                  var eventTime = requestEventTime();
23450                  if (root2 !== null) {
23451                    markRootUpdated(root2, SyncLane, eventTime);
23452                    ensureRootIsScheduled(root2, eventTime);
23453                  }
23454                  return;
23455                }
23456              }
23457              fiber = fiber.return;
23458            }
23459            {
23460              error("Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s", error$1);
23461            }
23462          }
23463          function pingSuspendedRoot(root2, wakeable, pingedLanes) {
23464            var pingCache = root2.pingCache;
23465            if (pingCache !== null) {
23466              pingCache.delete(wakeable);
23467            }
23468            var eventTime = requestEventTime();
23469            markRootPinged(root2, pingedLanes);
23470            warnIfSuspenseResolutionNotWrappedWithActDEV(root2);
23471            if (workInProgressRoot === root2 && isSubsetOfLanes(workInProgressRootRenderLanes, pingedLanes)) {
23472              if (workInProgressRootExitStatus === RootSuspendedWithDelay || workInProgressRootExitStatus === RootSuspended && includesOnlyRetries(workInProgressRootRenderLanes) && now() - globalMostRecentFallbackTime < FALLBACK_THROTTLE_MS) {
23473                prepareFreshStack(root2, NoLanes);
23474              } else {
23475                workInProgressRootPingedLanes = mergeLanes(workInProgressRootPingedLanes, pingedLanes);
23476              }
23477            }
23478            ensureRootIsScheduled(root2, eventTime);
23479          }
23480          function retryTimedOutBoundary(boundaryFiber, retryLane) {
23481            if (retryLane === NoLane) {
23482              retryLane = requestRetryLane(boundaryFiber);
23483            }
23484            var eventTime = requestEventTime();
23485            var root2 = enqueueConcurrentRenderForLane(boundaryFiber, retryLane);
23486            if (root2 !== null) {
23487              markRootUpdated(root2, retryLane, eventTime);
23488              ensureRootIsScheduled(root2, eventTime);
23489            }
23490          }
23491          function retryDehydratedSuspenseBoundary(boundaryFiber) {
23492            var suspenseState = boundaryFiber.memoizedState;
23493            var retryLane = NoLane;
23494            if (suspenseState !== null) {
23495              retryLane = suspenseState.retryLane;
23496            }
23497            retryTimedOutBoundary(boundaryFiber, retryLane);
23498          }
23499          function resolveRetryWakeable(boundaryFiber, wakeable) {
23500            var retryLane = NoLane;
23501            var retryCache;
23502            switch (boundaryFiber.tag) {
23503              case SuspenseComponent:
23504                retryCache = boundaryFiber.stateNode;
23505                var suspenseState = boundaryFiber.memoizedState;
23506                if (suspenseState !== null) {
23507                  retryLane = suspenseState.retryLane;
23508                }
23509                break;
23510              case SuspenseListComponent:
23511                retryCache = boundaryFiber.stateNode;
23512                break;
23513              default:
23514                throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.");
23515            }
23516            if (retryCache !== null) {
23517              retryCache.delete(wakeable);
23518            }
23519            retryTimedOutBoundary(boundaryFiber, retryLane);
23520          }
23521          function jnd(timeElapsed) {
23522            return timeElapsed < 120 ? 120 : timeElapsed < 480 ? 480 : timeElapsed < 1080 ? 1080 : timeElapsed < 1920 ? 1920 : timeElapsed < 3e3 ? 3e3 : timeElapsed < 4320 ? 4320 : ceil(timeElapsed / 1960) * 1960;
23523          }
23524          function checkForNestedUpdates() {
23525            if (nestedUpdateCount > NESTED_UPDATE_LIMIT) {
23526              nestedUpdateCount = 0;
23527              rootWithNestedUpdates = null;
23528              throw new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");
23529            }
23530            {
23531              if (nestedPassiveUpdateCount > NESTED_PASSIVE_UPDATE_LIMIT) {
23532                nestedPassiveUpdateCount = 0;
23533                rootWithPassiveNestedUpdates = null;
23534                error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.");
23535              }
23536            }
23537          }
23538          function flushRenderPhaseStrictModeWarningsInDEV() {
23539            {
23540              ReactStrictModeWarnings.flushLegacyContextWarning();
23541              {
23542                ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings();
23543              }
23544            }
23545          }
23546          function commitDoubleInvokeEffectsInDEV(fiber, hasPassiveEffects) {
23547            {
23548              setCurrentFiber(fiber);
23549              invokeEffectsInDev(fiber, MountLayoutDev, invokeLayoutEffectUnmountInDEV);
23550              if (hasPassiveEffects) {
23551                invokeEffectsInDev(fiber, MountPassiveDev, invokePassiveEffectUnmountInDEV);
23552              }
23553              invokeEffectsInDev(fiber, MountLayoutDev, invokeLayoutEffectMountInDEV);
23554              if (hasPassiveEffects) {
23555                invokeEffectsInDev(fiber, MountPassiveDev, invokePassiveEffectMountInDEV);
23556              }
23557              resetCurrentFiber();
23558            }
23559          }
23560          function invokeEffectsInDev(firstChild, fiberFlags, invokeEffectFn) {
23561            {
23562              var current2 = firstChild;
23563              var subtreeRoot = null;
23564              while (current2 !== null) {
23565                var primarySubtreeFlag = current2.subtreeFlags & fiberFlags;
23566                if (current2 !== subtreeRoot && current2.child !== null && primarySubtreeFlag !== NoFlags) {
23567                  current2 = current2.child;
23568                } else {
23569                  if ((current2.flags & fiberFlags) !== NoFlags) {
23570                    invokeEffectFn(current2);
23571                  }
23572                  if (current2.sibling !== null) {
23573                    current2 = current2.sibling;
23574                  } else {
23575                    current2 = subtreeRoot = current2.return;
23576                  }
23577                }
23578              }
23579            }
23580          }
23581          var didWarnStateUpdateForNotYetMountedComponent = null;
23582          function warnAboutUpdateOnNotYetMountedFiberInDEV(fiber) {
23583            {
23584              if ((executionContext & RenderContext) !== NoContext) {
23585                return;
23586              }
23587              if (!(fiber.mode & ConcurrentMode)) {
23588                return;
23589              }
23590              var tag = fiber.tag;
23591              if (tag !== IndeterminateComponent && tag !== HostRoot && tag !== ClassComponent && tag !== FunctionComponent && tag !== ForwardRef && tag !== MemoComponent && tag !== SimpleMemoComponent) {
23592                return;
23593              }
23594              var componentName = getComponentNameFromFiber(fiber) || "ReactComponent";
23595              if (didWarnStateUpdateForNotYetMountedComponent !== null) {
23596                if (didWarnStateUpdateForNotYetMountedComponent.has(componentName)) {
23597                  return;
23598                }
23599                didWarnStateUpdateForNotYetMountedComponent.add(componentName);
23600              } else {
23601                didWarnStateUpdateForNotYetMountedComponent = /* @__PURE__ */ new Set([componentName]);
23602              }
23603              var previousFiber = current;
23604              try {
23605                setCurrentFiber(fiber);
23606                error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.");
23607              } finally {
23608                if (previousFiber) {
23609                  setCurrentFiber(fiber);
23610                } else {
23611                  resetCurrentFiber();
23612                }
23613              }
23614            }
23615          }
23616          var beginWork$1;
23617          {
23618            var dummyFiber = null;
23619            beginWork$1 = function(current2, unitOfWork, lanes) {
23620              var originalWorkInProgressCopy = assignFiberPropertiesInDEV(dummyFiber, unitOfWork);
23621              try {
23622                return beginWork(current2, unitOfWork, lanes);
23623              } catch (originalError) {
23624                if (didSuspendOrErrorWhileHydratingDEV() || originalError !== null && typeof originalError === "object" && typeof originalError.then === "function") {
23625                  throw originalError;
23626                }
23627                resetContextDependencies();
23628                resetHooksAfterThrow();
23629                unwindInterruptedWork(current2, unitOfWork);
23630                assignFiberPropertiesInDEV(unitOfWork, originalWorkInProgressCopy);
23631                if (unitOfWork.mode & ProfileMode) {
23632                  startProfilerTimer(unitOfWork);
23633                }
23634                invokeGuardedCallback(null, beginWork, null, current2, unitOfWork, lanes);
23635                if (hasCaughtError()) {
23636                  var replayError = clearCaughtError();
23637                  if (typeof replayError === "object" && replayError !== null && replayError._suppressLogging && typeof originalError === "object" && originalError !== null && !originalError._suppressLogging) {
23638                    originalError._suppressLogging = true;
23639                  }
23640                }
23641                throw originalError;
23642              }
23643            };
23644          }
23645          var didWarnAboutUpdateInRender = false;
23646          var didWarnAboutUpdateInRenderForAnotherComponent;
23647          {
23648            didWarnAboutUpdateInRenderForAnotherComponent = /* @__PURE__ */ new Set();
23649          }
23650          function warnAboutRenderPhaseUpdatesInDEV(fiber) {
23651            {
23652              if (isRendering && !getIsUpdatingOpaqueValueInRenderPhaseInDEV()) {
23653                switch (fiber.tag) {
23654                  case FunctionComponent:
23655                  case ForwardRef:
23656                  case SimpleMemoComponent: {
23657                    var renderingComponentName = workInProgress && getComponentNameFromFiber(workInProgress) || "Unknown";
23658                    var dedupeKey = renderingComponentName;
23659                    if (!didWarnAboutUpdateInRenderForAnotherComponent.has(dedupeKey)) {
23660                      didWarnAboutUpdateInRenderForAnotherComponent.add(dedupeKey);
23661                      var setStateComponentName = getComponentNameFromFiber(fiber) || "Unknown";
23662                      error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render", setStateComponentName, renderingComponentName, renderingComponentName);
23663                    }
23664                    break;
23665                  }
23666                  case ClassComponent: {
23667                    if (!didWarnAboutUpdateInRender) {
23668                      error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state.");
23669                      didWarnAboutUpdateInRender = true;
23670                    }
23671                    break;
23672                  }
23673                }
23674              }
23675            }
23676          }
23677          function restorePendingUpdaters(root2, lanes) {
23678            {
23679              if (isDevToolsPresent) {
23680                var memoizedUpdaters = root2.memoizedUpdaters;
23681                memoizedUpdaters.forEach(function(schedulingFiber) {
23682                  addFiberToLanesMap(root2, schedulingFiber, lanes);
23683                });
23684              }
23685            }
23686          }
23687          var fakeActCallbackNode = {};
23688          function scheduleCallback$1(priorityLevel, callback) {
23689            {
23690              var actQueue = ReactCurrentActQueue$1.current;
23691              if (actQueue !== null) {
23692                actQueue.push(callback);
23693                return fakeActCallbackNode;
23694              } else {
23695                return scheduleCallback(priorityLevel, callback);
23696              }
23697            }
23698          }
23699          function cancelCallback$1(callbackNode) {
23700            if (callbackNode === fakeActCallbackNode) {
23701              return;
23702            }
23703            return cancelCallback(callbackNode);
23704          }
23705          function shouldForceFlushFallbacksInDEV() {
23706            return ReactCurrentActQueue$1.current !== null;
23707          }
23708          function warnIfUpdatesNotWrappedWithActDEV(fiber) {
23709            {
23710              if (fiber.mode & ConcurrentMode) {
23711                if (!isConcurrentActEnvironment()) {
23712                  return;
23713                }
23714              } else {
23715                if (!isLegacyActEnvironment()) {
23716                  return;
23717                }
23718                if (executionContext !== NoContext) {
23719                  return;
23720                }
23721                if (fiber.tag !== FunctionComponent && fiber.tag !== ForwardRef && fiber.tag !== SimpleMemoComponent) {
23722                  return;
23723                }
23724              }
23725              if (ReactCurrentActQueue$1.current === null) {
23726                var previousFiber = current;
23727                try {
23728                  setCurrentFiber(fiber);
23729                  error("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n  /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act", getComponentNameFromFiber(fiber));
23730                } finally {
23731                  if (previousFiber) {
23732                    setCurrentFiber(fiber);
23733                  } else {
23734                    resetCurrentFiber();
23735                  }
23736                }
23737              }
23738            }
23739          }
23740          function warnIfSuspenseResolutionNotWrappedWithActDEV(root2) {
23741            {
23742              if (root2.tag !== LegacyRoot && isConcurrentActEnvironment() && ReactCurrentActQueue$1.current === null) {
23743                error("A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n  /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act");
23744              }
23745            }
23746          }
23747          function setIsRunningInsertionEffect(isRunning) {
23748            {
23749              isRunningInsertionEffect = isRunning;
23750            }
23751          }
23752          var resolveFamily = null;
23753          var failedBoundaries = null;
23754          var setRefreshHandler = function(handler) {
23755            {
23756              resolveFamily = handler;
23757            }
23758          };
23759          function resolveFunctionForHotReloading(type) {
23760            {
23761              if (resolveFamily === null) {
23762                return type;
23763              }
23764              var family = resolveFamily(type);
23765              if (family === void 0) {
23766                return type;
23767              }
23768              return family.current;
23769            }
23770          }
23771          function resolveClassForHotReloading(type) {
23772            return resolveFunctionForHotReloading(type);
23773          }
23774          function resolveForwardRefForHotReloading(type) {
23775            {
23776              if (resolveFamily === null) {
23777                return type;
23778              }
23779              var family = resolveFamily(type);
23780              if (family === void 0) {
23781                if (type !== null && type !== void 0 && typeof type.render === "function") {
23782                  var currentRender = resolveFunctionForHotReloading(type.render);
23783                  if (type.render !== currentRender) {
23784                    var syntheticType = {
23785                      $$typeof: REACT_FORWARD_REF_TYPE,
23786                      render: currentRender
23787                    };
23788                    if (type.displayName !== void 0) {
23789                      syntheticType.displayName = type.displayName;
23790                    }
23791                    return syntheticType;
23792                  }
23793                }
23794                return type;
23795              }
23796              return family.current;
23797            }
23798          }
23799          function isCompatibleFamilyForHotReloading(fiber, element) {
23800            {
23801              if (resolveFamily === null) {
23802                return false;
23803              }
23804              var prevType = fiber.elementType;
23805              var nextType = element.type;
23806              var needsCompareFamilies = false;
23807              var $$typeofNextType = typeof nextType === "object" && nextType !== null ? nextType.$$typeof : null;
23808              switch (fiber.tag) {
23809                case ClassComponent: {
23810                  if (typeof nextType === "function") {
23811                    needsCompareFamilies = true;
23812                  }
23813                  break;
23814                }
23815                case FunctionComponent: {
23816                  if (typeof nextType === "function") {
23817                    needsCompareFamilies = true;
23818                  } else if ($$typeofNextType === REACT_LAZY_TYPE) {
23819                    needsCompareFamilies = true;
23820                  }
23821                  break;
23822                }
23823                case ForwardRef: {
23824                  if ($$typeofNextType === REACT_FORWARD_REF_TYPE) {
23825                    needsCompareFamilies = true;
23826                  } else if ($$typeofNextType === REACT_LAZY_TYPE) {
23827                    needsCompareFamilies = true;
23828                  }
23829                  break;
23830                }
23831                case MemoComponent:
23832                case SimpleMemoComponent: {
23833                  if ($$typeofNextType === REACT_MEMO_TYPE) {
23834                    needsCompareFamilies = true;
23835                  } else if ($$typeofNextType === REACT_LAZY_TYPE) {
23836                    needsCompareFamilies = true;
23837                  }
23838                  break;
23839                }
23840                default:
23841                  return false;
23842              }
23843              if (needsCompareFamilies) {
23844                var prevFamily = resolveFamily(prevType);
23845                if (prevFamily !== void 0 && prevFamily === resolveFamily(nextType)) {
23846                  return true;
23847                }
23848              }
23849              return false;
23850            }
23851          }
23852          function markFailedErrorBoundaryForHotReloading(fiber) {
23853            {
23854              if (resolveFamily === null) {
23855                return;
23856              }
23857              if (typeof WeakSet !== "function") {
23858                return;
23859              }
23860              if (failedBoundaries === null) {
23861                failedBoundaries = /* @__PURE__ */ new WeakSet();
23862              }
23863              failedBoundaries.add(fiber);
23864            }
23865          }
23866          var scheduleRefresh = function(root2, update2) {
23867            {
23868              if (resolveFamily === null) {
23869                return;
23870              }
23871              var staleFamilies = update2.staleFamilies, updatedFamilies = update2.updatedFamilies;
23872              flushPassiveEffects();
23873              flushSync(function() {
23874                scheduleFibersWithFamiliesRecursively(root2.current, updatedFamilies, staleFamilies);
23875              });
23876            }
23877          };
23878          var scheduleRoot = function(root2, element) {
23879            {
23880              if (root2.context !== emptyContextObject) {
23881                return;
23882              }
23883              flushPassiveEffects();
23884              flushSync(function() {
23885                updateContainer(element, root2, null, null);
23886              });
23887            }
23888          };
23889          function scheduleFibersWithFamiliesRecursively(fiber, updatedFamilies, staleFamilies) {
23890            {
23891              var alternate = fiber.alternate, child = fiber.child, sibling = fiber.sibling, tag = fiber.tag, type = fiber.type;
23892              var candidateType = null;
23893              switch (tag) {
23894                case FunctionComponent:
23895                case SimpleMemoComponent:
23896                case ClassComponent:
23897                  candidateType = type;
23898                  break;
23899                case ForwardRef:
23900                  candidateType = type.render;
23901                  break;
23902              }
23903              if (resolveFamily === null) {
23904                throw new Error("Expected resolveFamily to be set during hot reload.");
23905              }
23906              var needsRender = false;
23907              var needsRemount = false;
23908              if (candidateType !== null) {
23909                var family = resolveFamily(candidateType);
23910                if (family !== void 0) {
23911                  if (staleFamilies.has(family)) {
23912                    needsRemount = true;
23913                  } else if (updatedFamilies.has(family)) {
23914                    if (tag === ClassComponent) {
23915                      needsRemount = true;
23916                    } else {
23917                      needsRender = true;
23918                    }
23919                  }
23920                }
23921              }
23922              if (failedBoundaries !== null) {
23923                if (failedBoundaries.has(fiber) || alternate !== null && failedBoundaries.has(alternate)) {
23924                  needsRemount = true;
23925                }
23926              }
23927              if (needsRemount) {
23928                fiber._debugNeedsRemount = true;
23929              }
23930              if (needsRemount || needsRender) {
23931                var _root = enqueueConcurrentRenderForLane(fiber, SyncLane);
23932                if (_root !== null) {
23933                  scheduleUpdateOnFiber(_root, fiber, SyncLane, NoTimestamp);
23934                }
23935              }
23936              if (child !== null && !needsRemount) {
23937                scheduleFibersWithFamiliesRecursively(child, updatedFamilies, staleFamilies);
23938              }
23939              if (sibling !== null) {
23940                scheduleFibersWithFamiliesRecursively(sibling, updatedFamilies, staleFamilies);
23941              }
23942            }
23943          }
23944          var findHostInstancesForRefresh = function(root2, families) {
23945            {
23946              var hostInstances = /* @__PURE__ */ new Set();
23947              var types = new Set(families.map(function(family) {
23948                return family.current;
23949              }));
23950              findHostInstancesForMatchingFibersRecursively(root2.current, types, hostInstances);
23951              return hostInstances;
23952            }
23953          };
23954          function findHostInstancesForMatchingFibersRecursively(fiber, types, hostInstances) {
23955            {
23956              var child = fiber.child, sibling = fiber.sibling, tag = fiber.tag, type = fiber.type;
23957              var candidateType = null;
23958              switch (tag) {
23959                case FunctionComponent:
23960                case SimpleMemoComponent:
23961                case ClassComponent:
23962                  candidateType = type;
23963                  break;
23964                case ForwardRef:
23965                  candidateType = type.render;
23966                  break;
23967              }
23968              var didMatch = false;
23969              if (candidateType !== null) {
23970                if (types.has(candidateType)) {
23971                  didMatch = true;
23972                }
23973              }
23974              if (didMatch) {
23975                findHostInstancesForFiberShallowly(fiber, hostInstances);
23976              } else {
23977                if (child !== null) {
23978                  findHostInstancesForMatchingFibersRecursively(child, types, hostInstances);
23979                }
23980              }
23981              if (sibling !== null) {
23982                findHostInstancesForMatchingFibersRecursively(sibling, types, hostInstances);
23983              }
23984            }
23985          }
23986          function findHostInstancesForFiberShallowly(fiber, hostInstances) {
23987            {
23988              var foundHostInstances = findChildHostInstancesForFiberShallowly(fiber, hostInstances);
23989              if (foundHostInstances) {
23990                return;
23991              }
23992              var node2 = fiber;
23993              while (true) {
23994                switch (node2.tag) {
23995                  case HostComponent:
23996                    hostInstances.add(node2.stateNode);
23997                    return;
23998                  case HostPortal:
23999                    hostInstances.add(node2.stateNode.containerInfo);
24000                    return;
24001                  case HostRoot:
24002                    hostInstances.add(node2.stateNode.containerInfo);
24003                    return;
24004                }
24005                if (node2.return === null) {
24006                  throw new Error("Expected to reach root first.");
24007                }
24008                node2 = node2.return;
24009              }
24010            }
24011          }
24012          function findChildHostInstancesForFiberShallowly(fiber, hostInstances) {
24013            {
24014              var node2 = fiber;
24015              var foundHostInstances = false;
24016              while (true) {
24017                if (node2.tag === HostComponent) {
24018                  foundHostInstances = true;
24019                  hostInstances.add(node2.stateNode);
24020                } else if (node2.child !== null) {
24021                  node2.child.return = node2;
24022                  node2 = node2.child;
24023                  continue;
24024                }
24025                if (node2 === fiber) {
24026                  return foundHostInstances;
24027                }
24028                while (node2.sibling === null) {
24029                  if (node2.return === null || node2.return === fiber) {
24030                    return foundHostInstances;
24031                  }
24032                  node2 = node2.return;
24033                }
24034                node2.sibling.return = node2.return;
24035                node2 = node2.sibling;
24036              }
24037            }
24038            return false;
24039          }
24040          var hasBadMapPolyfill;
24041          {
24042            hasBadMapPolyfill = false;
24043            try {
24044              var nonExtensibleObject = Object.preventExtensions({});
24045              /* @__PURE__ */ new Map([[nonExtensibleObject, null]]);
24046              /* @__PURE__ */ new Set([nonExtensibleObject]);
24047            } catch (e) {
24048              hasBadMapPolyfill = true;
24049            }
24050          }
24051          function FiberNode(tag, pendingProps, key, mode) {
24052            this.tag = tag;
24053            this.key = key;
24054            this.elementType = null;
24055            this.type = null;
24056            this.stateNode = null;
24057            this.return = null;
24058            this.child = null;
24059            this.sibling = null;
24060            this.index = 0;
24061            this.ref = null;
24062            this.pendingProps = pendingProps;
24063            this.memoizedProps = null;
24064            this.updateQueue = null;
24065            this.memoizedState = null;
24066            this.dependencies = null;
24067            this.mode = mode;
24068            this.flags = NoFlags;
24069            this.subtreeFlags = NoFlags;
24070            this.deletions = null;
24071            this.lanes = NoLanes;
24072            this.childLanes = NoLanes;
24073            this.alternate = null;
24074            {
24075              this.actualDuration = Number.NaN;
24076              this.actualStartTime = Number.NaN;
24077              this.selfBaseDuration = Number.NaN;
24078              this.treeBaseDuration = Number.NaN;
24079              this.actualDuration = 0;
24080              this.actualStartTime = -1;
24081              this.selfBaseDuration = 0;
24082              this.treeBaseDuration = 0;
24083            }
24084            {
24085              this._debugSource = null;
24086              this._debugOwner = null;
24087              this._debugNeedsRemount = false;
24088              this._debugHookTypes = null;
24089              if (!hasBadMapPolyfill && typeof Object.preventExtensions === "function") {
24090                Object.preventExtensions(this);
24091              }
24092            }
24093          }
24094          var createFiber = function(tag, pendingProps, key, mode) {
24095            return new FiberNode(tag, pendingProps, key, mode);
24096          };
24097          function shouldConstruct$1(Component2) {
24098            var prototype2 = Component2.prototype;
24099            return !!(prototype2 && prototype2.isReactComponent);
24100          }
24101          function isSimpleFunctionComponent(type) {
24102            return typeof type === "function" && !shouldConstruct$1(type) && type.defaultProps === void 0;
24103          }
24104          function resolveLazyComponentTag(Component2) {
24105            if (typeof Component2 === "function") {
24106              return shouldConstruct$1(Component2) ? ClassComponent : FunctionComponent;
24107            } else if (Component2 !== void 0 && Component2 !== null) {
24108              var $$typeof = Component2.$$typeof;
24109              if ($$typeof === REACT_FORWARD_REF_TYPE) {
24110                return ForwardRef;
24111              }
24112              if ($$typeof === REACT_MEMO_TYPE) {
24113                return MemoComponent;
24114              }
24115            }
24116            return IndeterminateComponent;
24117          }
24118          function createWorkInProgress(current2, pendingProps) {
24119            var workInProgress2 = current2.alternate;
24120            if (workInProgress2 === null) {
24121              workInProgress2 = createFiber(current2.tag, pendingProps, current2.key, current2.mode);
24122              workInProgress2.elementType = current2.elementType;
24123              workInProgress2.type = current2.type;
24124              workInProgress2.stateNode = current2.stateNode;
24125              {
24126                workInProgress2._debugSource = current2._debugSource;
24127                workInProgress2._debugOwner = current2._debugOwner;
24128                workInProgress2._debugHookTypes = current2._debugHookTypes;
24129              }
24130              workInProgress2.alternate = current2;
24131              current2.alternate = workInProgress2;
24132            } else {
24133              workInProgress2.pendingProps = pendingProps;
24134              workInProgress2.type = current2.type;
24135              workInProgress2.flags = NoFlags;
24136              workInProgress2.subtreeFlags = NoFlags;
24137              workInProgress2.deletions = null;
24138              {
24139                workInProgress2.actualDuration = 0;
24140                workInProgress2.actualStartTime = -1;
24141              }
24142            }
24143            workInProgress2.flags = current2.flags & StaticMask;
24144            workInProgress2.childLanes = current2.childLanes;
24145            workInProgress2.lanes = current2.lanes;
24146            workInProgress2.child = current2.child;
24147            workInProgress2.memoizedProps = current2.memoizedProps;
24148            workInProgress2.memoizedState = current2.memoizedState;
24149            workInProgress2.updateQueue = current2.updateQueue;
24150            var currentDependencies = current2.dependencies;
24151            workInProgress2.dependencies = currentDependencies === null ? null : {
24152              lanes: currentDependencies.lanes,
24153              firstContext: currentDependencies.firstContext
24154            };
24155            workInProgress2.sibling = current2.sibling;
24156            workInProgress2.index = current2.index;
24157            workInProgress2.ref = current2.ref;
24158            {
24159              workInProgress2.selfBaseDuration = current2.selfBaseDuration;
24160              workInProgress2.treeBaseDuration = current2.treeBaseDuration;
24161            }
24162            {
24163              workInProgress2._debugNeedsRemount = current2._debugNeedsRemount;
24164              switch (workInProgress2.tag) {
24165                case IndeterminateComponent:
24166                case FunctionComponent:
24167                case SimpleMemoComponent:
24168                  workInProgress2.type = resolveFunctionForHotReloading(current2.type);
24169                  break;
24170                case ClassComponent:
24171                  workInProgress2.type = resolveClassForHotReloading(current2.type);
24172                  break;
24173                case ForwardRef:
24174                  workInProgress2.type = resolveForwardRefForHotReloading(current2.type);
24175                  break;
24176              }
24177            }
24178            return workInProgress2;
24179          }
24180          function resetWorkInProgress(workInProgress2, renderLanes2) {
24181            workInProgress2.flags &= StaticMask | Placement;
24182            var current2 = workInProgress2.alternate;
24183            if (current2 === null) {
24184              workInProgress2.childLanes = NoLanes;
24185              workInProgress2.lanes = renderLanes2;
24186              workInProgress2.child = null;
24187              workInProgress2.subtreeFlags = NoFlags;
24188              workInProgress2.memoizedProps = null;
24189              workInProgress2.memoizedState = null;
24190              workInProgress2.updateQueue = null;
24191              workInProgress2.dependencies = null;
24192              workInProgress2.stateNode = null;
24193              {
24194                workInProgress2.selfBaseDuration = 0;
24195                workInProgress2.treeBaseDuration = 0;
24196              }
24197            } else {
24198              workInProgress2.childLanes = current2.childLanes;
24199              workInProgress2.lanes = current2.lanes;
24200              workInProgress2.child = current2.child;
24201              workInProgress2.subtreeFlags = NoFlags;
24202              workInProgress2.deletions = null;
24203              workInProgress2.memoizedProps = current2.memoizedProps;
24204              workInProgress2.memoizedState = current2.memoizedState;
24205              workInProgress2.updateQueue = current2.updateQueue;
24206              workInProgress2.type = current2.type;
24207              var currentDependencies = current2.dependencies;
24208              workInProgress2.dependencies = currentDependencies === null ? null : {
24209                lanes: currentDependencies.lanes,
24210                firstContext: currentDependencies.firstContext
24211              };
24212              {
24213                workInProgress2.selfBaseDuration = current2.selfBaseDuration;
24214                workInProgress2.treeBaseDuration = current2.treeBaseDuration;
24215              }
24216            }
24217            return workInProgress2;
24218          }
24219          function createHostRootFiber(tag, isStrictMode, concurrentUpdatesByDefaultOverride) {
24220            var mode;
24221            if (tag === ConcurrentRoot) {
24222              mode = ConcurrentMode;
24223              if (isStrictMode === true) {
24224                mode |= StrictLegacyMode;
24225                {
24226                  mode |= StrictEffectsMode;
24227                }
24228              }
24229            } else {
24230              mode = NoMode;
24231            }
24232            if (isDevToolsPresent) {
24233              mode |= ProfileMode;
24234            }
24235            return createFiber(HostRoot, null, null, mode);
24236          }
24237          function createFiberFromTypeAndProps(type, key, pendingProps, owner, mode, lanes) {
24238            var fiberTag = IndeterminateComponent;
24239            var resolvedType = type;
24240            if (typeof type === "function") {
24241              if (shouldConstruct$1(type)) {
24242                fiberTag = ClassComponent;
24243                {
24244                  resolvedType = resolveClassForHotReloading(resolvedType);
24245                }
24246              } else {
24247                {
24248                  resolvedType = resolveFunctionForHotReloading(resolvedType);
24249                }
24250              }
24251            } else if (typeof type === "string") {
24252              fiberTag = HostComponent;
24253            } else {
24254              getTag: switch (type) {
24255                case REACT_FRAGMENT_TYPE:
24256                  return createFiberFromFragment(pendingProps.children, mode, lanes, key);
24257                case REACT_STRICT_MODE_TYPE:
24258                  fiberTag = Mode;
24259                  mode |= StrictLegacyMode;
24260                  if ((mode & ConcurrentMode) !== NoMode) {
24261                    mode |= StrictEffectsMode;
24262                  }
24263                  break;
24264                case REACT_PROFILER_TYPE:
24265                  return createFiberFromProfiler(pendingProps, mode, lanes, key);
24266                case REACT_SUSPENSE_TYPE:
24267                  return createFiberFromSuspense(pendingProps, mode, lanes, key);
24268                case REACT_SUSPENSE_LIST_TYPE:
24269                  return createFiberFromSuspenseList(pendingProps, mode, lanes, key);
24270                case REACT_OFFSCREEN_TYPE:
24271                  return createFiberFromOffscreen(pendingProps, mode, lanes, key);
24272                case REACT_LEGACY_HIDDEN_TYPE:
24273                // eslint-disable-next-line no-fallthrough
24274                case REACT_SCOPE_TYPE:
24275                // eslint-disable-next-line no-fallthrough
24276                case REACT_CACHE_TYPE:
24277                // eslint-disable-next-line no-fallthrough
24278                case REACT_TRACING_MARKER_TYPE:
24279                // eslint-disable-next-line no-fallthrough
24280                case REACT_DEBUG_TRACING_MODE_TYPE:
24281                // eslint-disable-next-line no-fallthrough
24282                default: {
24283                  if (typeof type === "object" && type !== null) {
24284                    switch (type.$$typeof) {
24285                      case REACT_PROVIDER_TYPE:
24286                        fiberTag = ContextProvider;
24287                        break getTag;
24288                      case REACT_CONTEXT_TYPE:
24289                        fiberTag = ContextConsumer;
24290                        break getTag;
24291                      case REACT_FORWARD_REF_TYPE:
24292                        fiberTag = ForwardRef;
24293                        {
24294                          resolvedType = resolveForwardRefForHotReloading(resolvedType);
24295                        }
24296                        break getTag;
24297                      case REACT_MEMO_TYPE:
24298                        fiberTag = MemoComponent;
24299                        break getTag;
24300                      case REACT_LAZY_TYPE:
24301                        fiberTag = LazyComponent;
24302                        resolvedType = null;
24303                        break getTag;
24304                    }
24305                  }
24306                  var info = "";
24307                  {
24308                    if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
24309                      info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
24310                    }
24311                    var ownerName = owner ? getComponentNameFromFiber(owner) : null;
24312                    if (ownerName) {
24313                      info += "\n\nCheck the render method of `" + ownerName + "`.";
24314                    }
24315                  }
24316                  throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) " + ("but got: " + (type == null ? type : typeof type) + "." + info));
24317                }
24318              }
24319            }
24320            var fiber = createFiber(fiberTag, pendingProps, key, mode);
24321            fiber.elementType = type;
24322            fiber.type = resolvedType;
24323            fiber.lanes = lanes;
24324            {
24325              fiber._debugOwner = owner;
24326            }
24327            return fiber;
24328          }
24329          function createFiberFromElement(element, mode, lanes) {
24330            var owner = null;
24331            {
24332              owner = element._owner;
24333            }
24334            var type = element.type;
24335            var key = element.key;
24336            var pendingProps = element.props;
24337            var fiber = createFiberFromTypeAndProps(type, key, pendingProps, owner, mode, lanes);
24338            {
24339              fiber._debugSource = element._source;
24340              fiber._debugOwner = element._owner;
24341            }
24342            return fiber;
24343          }
24344          function createFiberFromFragment(elements, mode, lanes, key) {
24345            var fiber = createFiber(Fragment4, elements, key, mode);
24346            fiber.lanes = lanes;
24347            return fiber;
24348          }
24349          function createFiberFromProfiler(pendingProps, mode, lanes, key) {
24350            {
24351              if (typeof pendingProps.id !== "string") {
24352                error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.', typeof pendingProps.id);
24353              }
24354            }
24355            var fiber = createFiber(Profiler, pendingProps, key, mode | ProfileMode);
24356            fiber.elementType = REACT_PROFILER_TYPE;
24357            fiber.lanes = lanes;
24358            {
24359              fiber.stateNode = {
24360                effectDuration: 0,
24361                passiveEffectDuration: 0
24362              };
24363            }
24364            return fiber;
24365          }
24366          function createFiberFromSuspense(pendingProps, mode, lanes, key) {
24367            var fiber = createFiber(SuspenseComponent, pendingProps, key, mode);
24368            fiber.elementType = REACT_SUSPENSE_TYPE;
24369            fiber.lanes = lanes;
24370            return fiber;
24371          }
24372          function createFiberFromSuspenseList(pendingProps, mode, lanes, key) {
24373            var fiber = createFiber(SuspenseListComponent, pendingProps, key, mode);
24374            fiber.elementType = REACT_SUSPENSE_LIST_TYPE;
24375            fiber.lanes = lanes;
24376            return fiber;
24377          }
24378          function createFiberFromOffscreen(pendingProps, mode, lanes, key) {
24379            var fiber = createFiber(OffscreenComponent, pendingProps, key, mode);
24380            fiber.elementType = REACT_OFFSCREEN_TYPE;
24381            fiber.lanes = lanes;
24382            var primaryChildInstance = {
24383              isHidden: false
24384            };
24385            fiber.stateNode = primaryChildInstance;
24386            return fiber;
24387          }
24388          function createFiberFromText(content, mode, lanes) {
24389            var fiber = createFiber(HostText, content, null, mode);
24390            fiber.lanes = lanes;
24391            return fiber;
24392          }
24393          function createFiberFromHostInstanceForDeletion() {
24394            var fiber = createFiber(HostComponent, null, null, NoMode);
24395            fiber.elementType = "DELETED";
24396            return fiber;
24397          }
24398          function createFiberFromDehydratedFragment(dehydratedNode) {
24399            var fiber = createFiber(DehydratedFragment, null, null, NoMode);
24400            fiber.stateNode = dehydratedNode;
24401            return fiber;
24402          }
24403          function createFiberFromPortal(portal, mode, lanes) {
24404            var pendingProps = portal.children !== null ? portal.children : [];
24405            var fiber = createFiber(HostPortal, pendingProps, portal.key, mode);
24406            fiber.lanes = lanes;
24407            fiber.stateNode = {
24408              containerInfo: portal.containerInfo,
24409              pendingChildren: null,
24410              // Used by persistent updates
24411              implementation: portal.implementation
24412            };
24413            return fiber;
24414          }
24415          function assignFiberPropertiesInDEV(target, source) {
24416            if (target === null) {
24417              target = createFiber(IndeterminateComponent, null, null, NoMode);
24418            }
24419            target.tag = source.tag;
24420            target.key = source.key;
24421            target.elementType = source.elementType;
24422            target.type = source.type;
24423            target.stateNode = source.stateNode;
24424            target.return = source.return;
24425            target.child = source.child;
24426            target.sibling = source.sibling;
24427            target.index = source.index;
24428            target.ref = source.ref;
24429            target.pendingProps = source.pendingProps;
24430            target.memoizedProps = source.memoizedProps;
24431            target.updateQueue = source.updateQueue;
24432            target.memoizedState = source.memoizedState;
24433            target.dependencies = source.dependencies;
24434            target.mode = source.mode;
24435            target.flags = source.flags;
24436            target.subtreeFlags = source.subtreeFlags;
24437            target.deletions = source.deletions;
24438            target.lanes = source.lanes;
24439            target.childLanes = source.childLanes;
24440            target.alternate = source.alternate;
24441            {
24442              target.actualDuration = source.actualDuration;
24443              target.actualStartTime = source.actualStartTime;
24444              target.selfBaseDuration = source.selfBaseDuration;
24445              target.treeBaseDuration = source.treeBaseDuration;
24446            }
24447            target._debugSource = source._debugSource;
24448            target._debugOwner = source._debugOwner;
24449            target._debugNeedsRemount = source._debugNeedsRemount;
24450            target._debugHookTypes = source._debugHookTypes;
24451            return target;
24452          }
24453          function FiberRootNode(containerInfo, tag, hydrate2, identifierPrefix, onRecoverableError) {
24454            this.tag = tag;
24455            this.containerInfo = containerInfo;
24456            this.pendingChildren = null;
24457            this.current = null;
24458            this.pingCache = null;
24459            this.finishedWork = null;
24460            this.timeoutHandle = noTimeout;
24461            this.context = null;
24462            this.pendingContext = null;
24463            this.callbackNode = null;
24464            this.callbackPriority = NoLane;
24465            this.eventTimes = createLaneMap(NoLanes);
24466            this.expirationTimes = createLaneMap(NoTimestamp);
24467            this.pendingLanes = NoLanes;
24468            this.suspendedLanes = NoLanes;
24469            this.pingedLanes = NoLanes;
24470            this.expiredLanes = NoLanes;
24471            this.mutableReadLanes = NoLanes;
24472            this.finishedLanes = NoLanes;
24473            this.entangledLanes = NoLanes;
24474            this.entanglements = createLaneMap(NoLanes);
24475            this.identifierPrefix = identifierPrefix;
24476            this.onRecoverableError = onRecoverableError;
24477            {
24478              this.mutableSourceEagerHydrationData = null;
24479            }
24480            {
24481              this.effectDuration = 0;
24482              this.passiveEffectDuration = 0;
24483            }
24484            {
24485              this.memoizedUpdaters = /* @__PURE__ */ new Set();
24486              var pendingUpdatersLaneMap = this.pendingUpdatersLaneMap = [];
24487              for (var _i = 0; _i < TotalLanes; _i++) {
24488                pendingUpdatersLaneMap.push(/* @__PURE__ */ new Set());
24489              }
24490            }
24491            {
24492              switch (tag) {
24493                case ConcurrentRoot:
24494                  this._debugRootType = hydrate2 ? "hydrateRoot()" : "createRoot()";
24495                  break;
24496                case LegacyRoot:
24497                  this._debugRootType = hydrate2 ? "hydrate()" : "render()";
24498                  break;
24499              }
24500            }
24501          }
24502          function createFiberRoot(containerInfo, tag, hydrate2, initialChildren, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError, transitionCallbacks) {
24503            var root2 = new FiberRootNode(containerInfo, tag, hydrate2, identifierPrefix, onRecoverableError);
24504            var uninitializedFiber = createHostRootFiber(tag, isStrictMode);
24505            root2.current = uninitializedFiber;
24506            uninitializedFiber.stateNode = root2;
24507            {
24508              var _initialState = {
24509                element: initialChildren,
24510                isDehydrated: hydrate2,
24511                cache: null,
24512                // not enabled yet
24513                transitions: null,
24514                pendingSuspenseBoundaries: null
24515              };
24516              uninitializedFiber.memoizedState = _initialState;
24517            }
24518            initializeUpdateQueue(uninitializedFiber);
24519            return root2;
24520          }
24521          var ReactVersion = "18.3.1";
24522          function createPortal2(children, containerInfo, implementation) {
24523            var key = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null;
24524            {
24525              checkKeyStringCoercion(key);
24526            }
24527            return {
24528              // This tag allow us to uniquely identify this as a React Portal
24529              $$typeof: REACT_PORTAL_TYPE,
24530              key: key == null ? null : "" + key,
24531              children,
24532              containerInfo,
24533              implementation
24534            };
24535          }
24536          var didWarnAboutNestedUpdates;
24537          var didWarnAboutFindNodeInStrictMode;
24538          {
24539            didWarnAboutNestedUpdates = false;
24540            didWarnAboutFindNodeInStrictMode = {};
24541          }
24542          function getContextForSubtree(parentComponent) {
24543            if (!parentComponent) {
24544              return emptyContextObject;
24545            }
24546            var fiber = get(parentComponent);
24547            var parentContext = findCurrentUnmaskedContext(fiber);
24548            if (fiber.tag === ClassComponent) {
24549              var Component2 = fiber.type;
24550              if (isContextProvider(Component2)) {
24551                return processChildContext(fiber, Component2, parentContext);
24552              }
24553            }
24554            return parentContext;
24555          }
24556          function findHostInstanceWithWarning(component, methodName) {
24557            {
24558              var fiber = get(component);
24559              if (fiber === void 0) {
24560                if (typeof component.render === "function") {
24561                  throw new Error("Unable to find node on an unmounted component.");
24562                } else {
24563                  var keys = Object.keys(component).join(",");
24564                  throw new Error("Argument appears to not be a ReactComponent. Keys: " + keys);
24565                }
24566              }
24567              var hostFiber = findCurrentHostFiber(fiber);
24568              if (hostFiber === null) {
24569                return null;
24570              }
24571              if (hostFiber.mode & StrictLegacyMode) {
24572                var componentName = getComponentNameFromFiber(fiber) || "Component";
24573                if (!didWarnAboutFindNodeInStrictMode[componentName]) {
24574                  didWarnAboutFindNodeInStrictMode[componentName] = true;
24575                  var previousFiber = current;
24576                  try {
24577                    setCurrentFiber(hostFiber);
24578                    if (fiber.mode & StrictLegacyMode) {
24579                      error("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node", methodName, methodName, componentName);
24580                    } else {
24581                      error("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node", methodName, methodName, componentName);
24582                    }
24583                  } finally {
24584                    if (previousFiber) {
24585                      setCurrentFiber(previousFiber);
24586                    } else {
24587                      resetCurrentFiber();
24588                    }
24589                  }
24590                }
24591              }
24592              return hostFiber.stateNode;
24593            }
24594          }
24595          function createContainer(containerInfo, tag, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError, transitionCallbacks) {
24596            var hydrate2 = false;
24597            var initialChildren = null;
24598            return createFiberRoot(containerInfo, tag, hydrate2, initialChildren, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError);
24599          }
24600          function createHydrationContainer(initialChildren, callback, containerInfo, tag, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError, transitionCallbacks) {
24601            var hydrate2 = true;
24602            var root2 = createFiberRoot(containerInfo, tag, hydrate2, initialChildren, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError);
24603            root2.context = getContextForSubtree(null);
24604            var current2 = root2.current;
24605            var eventTime = requestEventTime();
24606            var lane = requestUpdateLane(current2);
24607            var update2 = createUpdate(eventTime, lane);
24608            update2.callback = callback !== void 0 && callback !== null ? callback : null;
24609            enqueueUpdate(current2, update2, lane);
24610            scheduleInitialHydrationOnRoot(root2, lane, eventTime);
24611            return root2;
24612          }
24613          function updateContainer(element, container, parentComponent, callback) {
24614            {
24615              onScheduleRoot(container, element);
24616            }
24617            var current$1 = container.current;
24618            var eventTime = requestEventTime();
24619            var lane = requestUpdateLane(current$1);
24620            {
24621              markRenderScheduled(lane);
24622            }
24623            var context = getContextForSubtree(parentComponent);
24624            if (container.context === null) {
24625              container.context = context;
24626            } else {
24627              container.pendingContext = context;
24628            }
24629            {
24630              if (isRendering && current !== null && !didWarnAboutNestedUpdates) {
24631                didWarnAboutNestedUpdates = true;
24632                error("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.", getComponentNameFromFiber(current) || "Unknown");
24633              }
24634            }
24635            var update2 = createUpdate(eventTime, lane);
24636            update2.payload = {
24637              element
24638            };
24639            callback = callback === void 0 ? null : callback;
24640            if (callback !== null) {
24641              {
24642                if (typeof callback !== "function") {
24643                  error("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.", callback);
24644                }
24645              }
24646              update2.callback = callback;
24647            }
24648            var root2 = enqueueUpdate(current$1, update2, lane);
24649            if (root2 !== null) {
24650              scheduleUpdateOnFiber(root2, current$1, lane, eventTime);
24651              entangleTransitions(root2, current$1, lane);
24652            }
24653            return lane;
24654          }
24655          function getPublicRootInstance(container) {
24656            var containerFiber = container.current;
24657            if (!containerFiber.child) {
24658              return null;
24659            }
24660            switch (containerFiber.child.tag) {
24661              case HostComponent:
24662                return getPublicInstance(containerFiber.child.stateNode);
24663              default:
24664                return containerFiber.child.stateNode;
24665            }
24666          }
24667          function attemptSynchronousHydration$1(fiber) {
24668            switch (fiber.tag) {
24669              case HostRoot: {
24670                var root2 = fiber.stateNode;
24671                if (isRootDehydrated(root2)) {
24672                  var lanes = getHighestPriorityPendingLanes(root2);
24673                  flushRoot(root2, lanes);
24674                }
24675                break;
24676              }
24677              case SuspenseComponent: {
24678                flushSync(function() {
24679                  var root3 = enqueueConcurrentRenderForLane(fiber, SyncLane);
24680                  if (root3 !== null) {
24681                    var eventTime = requestEventTime();
24682                    scheduleUpdateOnFiber(root3, fiber, SyncLane, eventTime);
24683                  }
24684                });
24685                var retryLane = SyncLane;
24686                markRetryLaneIfNotHydrated(fiber, retryLane);
24687                break;
24688              }
24689            }
24690          }
24691          function markRetryLaneImpl(fiber, retryLane) {
24692            var suspenseState = fiber.memoizedState;
24693            if (suspenseState !== null && suspenseState.dehydrated !== null) {
24694              suspenseState.retryLane = higherPriorityLane(suspenseState.retryLane, retryLane);
24695            }
24696          }
24697          function markRetryLaneIfNotHydrated(fiber, retryLane) {
24698            markRetryLaneImpl(fiber, retryLane);
24699            var alternate = fiber.alternate;
24700            if (alternate) {
24701              markRetryLaneImpl(alternate, retryLane);
24702            }
24703          }
24704          function attemptContinuousHydration$1(fiber) {
24705            if (fiber.tag !== SuspenseComponent) {
24706              return;
24707            }
24708            var lane = SelectiveHydrationLane;
24709            var root2 = enqueueConcurrentRenderForLane(fiber, lane);
24710            if (root2 !== null) {
24711              var eventTime = requestEventTime();
24712              scheduleUpdateOnFiber(root2, fiber, lane, eventTime);
24713            }
24714            markRetryLaneIfNotHydrated(fiber, lane);
24715          }
24716          function attemptHydrationAtCurrentPriority$1(fiber) {
24717            if (fiber.tag !== SuspenseComponent) {
24718              return;
24719            }
24720            var lane = requestUpdateLane(fiber);
24721            var root2 = enqueueConcurrentRenderForLane(fiber, lane);
24722            if (root2 !== null) {
24723              var eventTime = requestEventTime();
24724              scheduleUpdateOnFiber(root2, fiber, lane, eventTime);
24725            }
24726            markRetryLaneIfNotHydrated(fiber, lane);
24727          }
24728          function findHostInstanceWithNoPortals(fiber) {
24729            var hostFiber = findCurrentHostFiberWithNoPortals(fiber);
24730            if (hostFiber === null) {
24731              return null;
24732            }
24733            return hostFiber.stateNode;
24734          }
24735          var shouldErrorImpl = function(fiber) {
24736            return null;
24737          };
24738          function shouldError(fiber) {
24739            return shouldErrorImpl(fiber);
24740          }
24741          var shouldSuspendImpl = function(fiber) {
24742            return false;
24743          };
24744          function shouldSuspend(fiber) {
24745            return shouldSuspendImpl(fiber);
24746          }
24747          var overrideHookState = null;
24748          var overrideHookStateDeletePath = null;
24749          var overrideHookStateRenamePath = null;
24750          var overrideProps = null;
24751          var overridePropsDeletePath = null;
24752          var overridePropsRenamePath = null;
24753          var scheduleUpdate = null;
24754          var setErrorHandler = null;
24755          var setSuspenseHandler = null;
24756          {
24757            var copyWithDeleteImpl = function(obj, path, index3) {
24758              var key = path[index3];
24759              var updated = isArray3(obj) ? obj.slice() : assign3({}, obj);
24760              if (index3 + 1 === path.length) {
24761                if (isArray3(updated)) {
24762                  updated.splice(key, 1);
24763                } else {
24764                  delete updated[key];
24765                }
24766                return updated;
24767              }
24768              updated[key] = copyWithDeleteImpl(obj[key], path, index3 + 1);
24769              return updated;
24770            };
24771            var copyWithDelete = function(obj, path) {
24772              return copyWithDeleteImpl(obj, path, 0);
24773            };
24774            var copyWithRenameImpl = function(obj, oldPath, newPath, index3) {
24775              var oldKey = oldPath[index3];
24776              var updated = isArray3(obj) ? obj.slice() : assign3({}, obj);
24777              if (index3 + 1 === oldPath.length) {
24778                var newKey = newPath[index3];
24779                updated[newKey] = updated[oldKey];
24780                if (isArray3(updated)) {
24781                  updated.splice(oldKey, 1);
24782                } else {
24783                  delete updated[oldKey];
24784                }
24785              } else {
24786                updated[oldKey] = copyWithRenameImpl(
24787                  // $FlowFixMe number or string is fine here
24788                  obj[oldKey],
24789                  oldPath,
24790                  newPath,
24791                  index3 + 1
24792                );
24793              }
24794              return updated;
24795            };
24796            var copyWithRename = function(obj, oldPath, newPath) {
24797              if (oldPath.length !== newPath.length) {
24798                warn("copyWithRename() expects paths of the same length");
24799                return;
24800              } else {
24801                for (var i2 = 0; i2 < newPath.length - 1; i2++) {
24802                  if (oldPath[i2] !== newPath[i2]) {
24803                    warn("copyWithRename() expects paths to be the same except for the deepest key");
24804                    return;
24805                  }
24806                }
24807              }
24808              return copyWithRenameImpl(obj, oldPath, newPath, 0);
24809            };
24810            var copyWithSetImpl = function(obj, path, index3, value) {
24811              if (index3 >= path.length) {
24812                return value;
24813              }
24814              var key = path[index3];
24815              var updated = isArray3(obj) ? obj.slice() : assign3({}, obj);
24816              updated[key] = copyWithSetImpl(obj[key], path, index3 + 1, value);
24817              return updated;
24818            };
24819            var copyWithSet = function(obj, path, value) {
24820              return copyWithSetImpl(obj, path, 0, value);
24821            };
24822            var findHook = function(fiber, id) {
24823              var currentHook2 = fiber.memoizedState;
24824              while (currentHook2 !== null && id > 0) {
24825                currentHook2 = currentHook2.next;
24826                id--;
24827              }
24828              return currentHook2;
24829            };
24830            overrideHookState = function(fiber, id, path, value) {
24831              var hook = findHook(fiber, id);
24832              if (hook !== null) {
24833                var newState = copyWithSet(hook.memoizedState, path, value);
24834                hook.memoizedState = newState;
24835                hook.baseState = newState;
24836                fiber.memoizedProps = assign3({}, fiber.memoizedProps);
24837                var root2 = enqueueConcurrentRenderForLane(fiber, SyncLane);
24838                if (root2 !== null) {
24839                  scheduleUpdateOnFiber(root2, fiber, SyncLane, NoTimestamp);
24840                }
24841              }
24842            };
24843            overrideHookStateDeletePath = function(fiber, id, path) {
24844              var hook = findHook(fiber, id);
24845              if (hook !== null) {
24846                var newState = copyWithDelete(hook.memoizedState, path);
24847                hook.memoizedState = newState;
24848                hook.baseState = newState;
24849                fiber.memoizedProps = assign3({}, fiber.memoizedProps);
24850                var root2 = enqueueConcurrentRenderForLane(fiber, SyncLane);
24851                if (root2 !== null) {
24852                  scheduleUpdateOnFiber(root2, fiber, SyncLane, NoTimestamp);
24853                }
24854              }
24855            };
24856            overrideHookStateRenamePath = function(fiber, id, oldPath, newPath) {
24857              var hook = findHook(fiber, id);
24858              if (hook !== null) {
24859                var newState = copyWithRename(hook.memoizedState, oldPath, newPath);
24860                hook.memoizedState = newState;
24861                hook.baseState = newState;
24862                fiber.memoizedProps = assign3({}, fiber.memoizedProps);
24863                var root2 = enqueueConcurrentRenderForLane(fiber, SyncLane);
24864                if (root2 !== null) {
24865                  scheduleUpdateOnFiber(root2, fiber, SyncLane, NoTimestamp);
24866                }
24867              }
24868            };
24869            overrideProps = function(fiber, path, value) {
24870              fiber.pendingProps = copyWithSet(fiber.memoizedProps, path, value);
24871              if (fiber.alternate) {
24872                fiber.alternate.pendingProps = fiber.pendingProps;
24873              }
24874              var root2 = enqueueConcurrentRenderForLane(fiber, SyncLane);
24875              if (root2 !== null) {
24876                scheduleUpdateOnFiber(root2, fiber, SyncLane, NoTimestamp);
24877              }
24878            };
24879            overridePropsDeletePath = function(fiber, path) {
24880              fiber.pendingProps = copyWithDelete(fiber.memoizedProps, path);
24881              if (fiber.alternate) {
24882                fiber.alternate.pendingProps = fiber.pendingProps;
24883              }
24884              var root2 = enqueueConcurrentRenderForLane(fiber, SyncLane);
24885              if (root2 !== null) {
24886                scheduleUpdateOnFiber(root2, fiber, SyncLane, NoTimestamp);
24887              }
24888            };
24889            overridePropsRenamePath = function(fiber, oldPath, newPath) {
24890              fiber.pendingProps = copyWithRename(fiber.memoizedProps, oldPath, newPath);
24891              if (fiber.alternate) {
24892                fiber.alternate.pendingProps = fiber.pendingProps;
24893              }
24894              var root2 = enqueueConcurrentRenderForLane(fiber, SyncLane);
24895              if (root2 !== null) {
24896                scheduleUpdateOnFiber(root2, fiber, SyncLane, NoTimestamp);
24897              }
24898            };
24899            scheduleUpdate = function(fiber) {
24900              var root2 = enqueueConcurrentRenderForLane(fiber, SyncLane);
24901              if (root2 !== null) {
24902                scheduleUpdateOnFiber(root2, fiber, SyncLane, NoTimestamp);
24903              }
24904            };
24905            setErrorHandler = function(newShouldErrorImpl) {
24906              shouldErrorImpl = newShouldErrorImpl;
24907            };
24908            setSuspenseHandler = function(newShouldSuspendImpl) {
24909              shouldSuspendImpl = newShouldSuspendImpl;
24910            };
24911          }
24912          function findHostInstanceByFiber(fiber) {
24913            var hostFiber = findCurrentHostFiber(fiber);
24914            if (hostFiber === null) {
24915              return null;
24916            }
24917            return hostFiber.stateNode;
24918          }
24919          function emptyFindFiberByHostInstance(instance) {
24920            return null;
24921          }
24922          function getCurrentFiberForDevTools() {
24923            return current;
24924          }
24925          function injectIntoDevTools(devToolsConfig) {
24926            var findFiberByHostInstance = devToolsConfig.findFiberByHostInstance;
24927            var ReactCurrentDispatcher2 = ReactSharedInternals.ReactCurrentDispatcher;
24928            return injectInternals({
24929              bundleType: devToolsConfig.bundleType,
24930              version: devToolsConfig.version,
24931              rendererPackageName: devToolsConfig.rendererPackageName,
24932              rendererConfig: devToolsConfig.rendererConfig,
24933              overrideHookState,
24934              overrideHookStateDeletePath,
24935              overrideHookStateRenamePath,
24936              overrideProps,
24937              overridePropsDeletePath,
24938              overridePropsRenamePath,
24939              setErrorHandler,
24940              setSuspenseHandler,
24941              scheduleUpdate,
24942              currentDispatcherRef: ReactCurrentDispatcher2,
24943              findHostInstanceByFiber,
24944              findFiberByHostInstance: findFiberByHostInstance || emptyFindFiberByHostInstance,
24945              // React Refresh
24946              findHostInstancesForRefresh,
24947              scheduleRefresh,
24948              scheduleRoot,
24949              setRefreshHandler,
24950              // Enables DevTools to append owner stacks to error messages in DEV mode.
24951              getCurrentFiber: getCurrentFiberForDevTools,
24952              // Enables DevTools to detect reconciler version rather than renderer version
24953              // which may not match for third party renderers.
24954              reconcilerVersion: ReactVersion
24955            });
24956          }
24957          var defaultOnRecoverableError = typeof reportError === "function" ? (
24958            // In modern browsers, reportError will dispatch an error event,
24959            // emulating an uncaught JavaScript error.
24960            reportError
24961          ) : function(error2) {
24962            console["error"](error2);
24963          };
24964          function ReactDOMRoot(internalRoot) {
24965            this._internalRoot = internalRoot;
24966          }
24967          ReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render = function(children) {
24968            var root2 = this._internalRoot;
24969            if (root2 === null) {
24970              throw new Error("Cannot update an unmounted root.");
24971            }
24972            {
24973              if (typeof arguments[1] === "function") {
24974                error("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");
24975              } else if (isValidContainer(arguments[1])) {
24976                error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root.");
24977              } else if (typeof arguments[1] !== "undefined") {
24978                error("You passed a second argument to root.render(...) but it only accepts one argument.");
24979              }
24980              var container = root2.containerInfo;
24981              if (container.nodeType !== COMMENT_NODE) {
24982                var hostInstance = findHostInstanceWithNoPortals(root2.current);
24983                if (hostInstance) {
24984                  if (hostInstance.parentNode !== container) {
24985                    error("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.");
24986                  }
24987                }
24988              }
24989            }
24990            updateContainer(children, root2, null, null);
24991          };
24992          ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount = function() {
24993            {
24994              if (typeof arguments[0] === "function") {
24995                error("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");
24996              }
24997            }
24998            var root2 = this._internalRoot;
24999            if (root2 !== null) {
25000              this._internalRoot = null;
25001              var container = root2.containerInfo;
25002              {
25003                if (isAlreadyRendering()) {
25004                  error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition.");
25005                }
25006              }
25007              flushSync(function() {
25008                updateContainer(null, root2, null, null);
25009              });
25010              unmarkContainerAsRoot(container);
25011            }
25012          };
25013          function createRoot2(container, options3) {
25014            if (!isValidContainer(container)) {
25015              throw new Error("createRoot(...): Target container is not a DOM element.");
25016            }
25017            warnIfReactDOMContainerInDEV(container);
25018            var isStrictMode = false;
25019            var concurrentUpdatesByDefaultOverride = false;
25020            var identifierPrefix = "";
25021            var onRecoverableError = defaultOnRecoverableError;
25022            var transitionCallbacks = null;
25023            if (options3 !== null && options3 !== void 0) {
25024              {
25025                if (options3.hydrate) {
25026                  warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.");
25027                } else {
25028                  if (typeof options3 === "object" && options3 !== null && options3.$$typeof === REACT_ELEMENT_TYPE) {
25029                    error("You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n  let root = createRoot(domContainer);\n  root.render(<App />);");
25030                  }
25031                }
25032              }
25033              if (options3.unstable_strictMode === true) {
25034                isStrictMode = true;
25035              }
25036              if (options3.identifierPrefix !== void 0) {
25037                identifierPrefix = options3.identifierPrefix;
25038              }
25039              if (options3.onRecoverableError !== void 0) {
25040                onRecoverableError = options3.onRecoverableError;
25041              }
25042              if (options3.transitionCallbacks !== void 0) {
25043                transitionCallbacks = options3.transitionCallbacks;
25044              }
25045            }
25046            var root2 = createContainer(container, ConcurrentRoot, null, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError);
25047            markContainerAsRoot(root2.current, container);
25048            var rootContainerElement = container.nodeType === COMMENT_NODE ? container.parentNode : container;
25049            listenToAllSupportedEvents(rootContainerElement);
25050            return new ReactDOMRoot(root2);
25051          }
25052          function ReactDOMHydrationRoot(internalRoot) {
25053            this._internalRoot = internalRoot;
25054          }
25055          function scheduleHydration(target) {
25056            if (target) {
25057              queueExplicitHydrationTarget(target);
25058            }
25059          }
25060          ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = scheduleHydration;
25061          function hydrateRoot(container, initialChildren, options3) {
25062            if (!isValidContainer(container)) {
25063              throw new Error("hydrateRoot(...): Target container is not a DOM element.");
25064            }
25065            warnIfReactDOMContainerInDEV(container);
25066            {
25067              if (initialChildren === void 0) {
25068                error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");
25069              }
25070            }
25071            var hydrationCallbacks = options3 != null ? options3 : null;
25072            var mutableSources = options3 != null && options3.hydratedSources || null;
25073            var isStrictMode = false;
25074            var concurrentUpdatesByDefaultOverride = false;
25075            var identifierPrefix = "";
25076            var onRecoverableError = defaultOnRecoverableError;
25077            if (options3 !== null && options3 !== void 0) {
25078              if (options3.unstable_strictMode === true) {
25079                isStrictMode = true;
25080              }
25081              if (options3.identifierPrefix !== void 0) {
25082                identifierPrefix = options3.identifierPrefix;
25083              }
25084              if (options3.onRecoverableError !== void 0) {
25085                onRecoverableError = options3.onRecoverableError;
25086              }
25087            }
25088            var root2 = createHydrationContainer(initialChildren, null, container, ConcurrentRoot, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError);
25089            markContainerAsRoot(root2.current, container);
25090            listenToAllSupportedEvents(container);
25091            if (mutableSources) {
25092              for (var i2 = 0; i2 < mutableSources.length; i2++) {
25093                var mutableSource = mutableSources[i2];
25094                registerMutableSourceForHydration(root2, mutableSource);
25095              }
25096            }
25097            return new ReactDOMHydrationRoot(root2);
25098          }
25099          function isValidContainer(node2) {
25100            return !!(node2 && (node2.nodeType === ELEMENT_NODE || node2.nodeType === DOCUMENT_NODE || node2.nodeType === DOCUMENT_FRAGMENT_NODE || !disableCommentsAsDOMContainers));
25101          }
25102          function isValidContainerLegacy(node2) {
25103            return !!(node2 && (node2.nodeType === ELEMENT_NODE || node2.nodeType === DOCUMENT_NODE || node2.nodeType === DOCUMENT_FRAGMENT_NODE || node2.nodeType === COMMENT_NODE && node2.nodeValue === " react-mount-point-unstable "));
25104          }
25105          function warnIfReactDOMContainerInDEV(container) {
25106            {
25107              if (container.nodeType === ELEMENT_NODE && container.tagName && container.tagName.toUpperCase() === "BODY") {
25108                error("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app.");
25109              }
25110              if (isContainerMarkedAsRoot(container)) {
25111                if (container._reactRootContainer) {
25112                  error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.");
25113                } else {
25114                  error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.");
25115                }
25116              }
25117            }
25118          }
25119          var ReactCurrentOwner$3 = ReactSharedInternals.ReactCurrentOwner;
25120          var topLevelUpdateWarnings;
25121          {
25122            topLevelUpdateWarnings = function(container) {
25123              if (container._reactRootContainer && container.nodeType !== COMMENT_NODE) {
25124                var hostInstance = findHostInstanceWithNoPortals(container._reactRootContainer.current);
25125                if (hostInstance) {
25126                  if (hostInstance.parentNode !== container) {
25127                    error("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.");
25128                  }
25129                }
25130              }
25131              var isRootRenderedBySomeReact = !!container._reactRootContainer;
25132              var rootEl = getReactRootElementInContainer(container);
25133              var hasNonRootReactChild = !!(rootEl && getInstanceFromNode(rootEl));
25134              if (hasNonRootReactChild && !isRootRenderedBySomeReact) {
25135                error("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render.");
25136              }
25137              if (container.nodeType === ELEMENT_NODE && container.tagName && container.tagName.toUpperCase() === "BODY") {
25138                error("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.");
25139              }
25140            };
25141          }
25142          function getReactRootElementInContainer(container) {
25143            if (!container) {
25144              return null;
25145            }
25146            if (container.nodeType === DOCUMENT_NODE) {
25147              return container.documentElement;
25148            } else {
25149              return container.firstChild;
25150            }
25151          }
25152          function noopOnRecoverableError() {
25153          }
25154          function legacyCreateRootFromDOMContainer(container, initialChildren, parentComponent, callback, isHydrationContainer) {
25155            if (isHydrationContainer) {
25156              if (typeof callback === "function") {
25157                var originalCallback = callback;
25158                callback = function() {
25159                  var instance = getPublicRootInstance(root2);
25160                  originalCallback.call(instance);
25161                };
25162              }
25163              var root2 = createHydrationContainer(
25164                initialChildren,
25165                callback,
25166                container,
25167                LegacyRoot,
25168                null,
25169                // hydrationCallbacks
25170                false,
25171                // isStrictMode
25172                false,
25173                // concurrentUpdatesByDefaultOverride,
25174                "",
25175                // identifierPrefix
25176                noopOnRecoverableError
25177              );
25178              container._reactRootContainer = root2;
25179              markContainerAsRoot(root2.current, container);
25180              var rootContainerElement = container.nodeType === COMMENT_NODE ? container.parentNode : container;
25181              listenToAllSupportedEvents(rootContainerElement);
25182              flushSync();
25183              return root2;
25184            } else {
25185              var rootSibling;
25186              while (rootSibling = container.lastChild) {
25187                container.removeChild(rootSibling);
25188              }
25189              if (typeof callback === "function") {
25190                var _originalCallback = callback;
25191                callback = function() {
25192                  var instance = getPublicRootInstance(_root);
25193                  _originalCallback.call(instance);
25194                };
25195              }
25196              var _root = createContainer(
25197                container,
25198                LegacyRoot,
25199                null,
25200                // hydrationCallbacks
25201                false,
25202                // isStrictMode
25203                false,
25204                // concurrentUpdatesByDefaultOverride,
25205                "",
25206                // identifierPrefix
25207                noopOnRecoverableError
25208              );
25209              container._reactRootContainer = _root;
25210              markContainerAsRoot(_root.current, container);
25211              var _rootContainerElement = container.nodeType === COMMENT_NODE ? container.parentNode : container;
25212              listenToAllSupportedEvents(_rootContainerElement);
25213              flushSync(function() {
25214                updateContainer(initialChildren, _root, parentComponent, callback);
25215              });
25216              return _root;
25217            }
25218          }
25219          function warnOnInvalidCallback$1(callback, callerName) {
25220            {
25221              if (callback !== null && typeof callback !== "function") {
25222                error("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.", callerName, callback);
25223              }
25224            }
25225          }
25226          function legacyRenderSubtreeIntoContainer(parentComponent, children, container, forceHydrate, callback) {
25227            {
25228              topLevelUpdateWarnings(container);
25229              warnOnInvalidCallback$1(callback === void 0 ? null : callback, "render");
25230            }
25231            var maybeRoot = container._reactRootContainer;
25232            var root2;
25233            if (!maybeRoot) {
25234              root2 = legacyCreateRootFromDOMContainer(container, children, parentComponent, callback, forceHydrate);
25235            } else {
25236              root2 = maybeRoot;
25237              if (typeof callback === "function") {
25238                var originalCallback = callback;
25239                callback = function() {
25240                  var instance = getPublicRootInstance(root2);
25241                  originalCallback.call(instance);
25242                };
25243              }
25244              updateContainer(children, root2, parentComponent, callback);
25245            }
25246            return getPublicRootInstance(root2);
25247          }
25248          var didWarnAboutFindDOMNode = false;
25249          function findDOMNode(componentOrElement) {
25250            {
25251              if (!didWarnAboutFindDOMNode) {
25252                didWarnAboutFindDOMNode = true;
25253                error("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node");
25254              }
25255              var owner = ReactCurrentOwner$3.current;
25256              if (owner !== null && owner.stateNode !== null) {
25257                var warnedAboutRefsInRender = owner.stateNode._warnedAboutRefsInRender;
25258                if (!warnedAboutRefsInRender) {
25259                  error("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.", getComponentNameFromType(owner.type) || "A component");
25260                }
25261                owner.stateNode._warnedAboutRefsInRender = true;
25262              }
25263            }
25264            if (componentOrElement == null) {
25265              return null;
25266            }
25267            if (componentOrElement.nodeType === ELEMENT_NODE) {
25268              return componentOrElement;
25269            }
25270            {
25271              return findHostInstanceWithWarning(componentOrElement, "findDOMNode");
25272            }
25273          }
25274          function hydrate(element, container, callback) {
25275            {
25276              error("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot");
25277            }
25278            if (!isValidContainerLegacy(container)) {
25279              throw new Error("Target container is not a DOM element.");
25280            }
25281            {
25282              var isModernRoot = isContainerMarkedAsRoot(container) && container._reactRootContainer === void 0;
25283              if (isModernRoot) {
25284                error("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?");
25285              }
25286            }
25287            return legacyRenderSubtreeIntoContainer(null, element, container, true, callback);
25288          }
25289          function render2(element, container, callback) {
25290            {
25291              error("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot");
25292            }
25293            if (!isValidContainerLegacy(container)) {
25294              throw new Error("Target container is not a DOM element.");
25295            }
25296            {
25297              var isModernRoot = isContainerMarkedAsRoot(container) && container._reactRootContainer === void 0;
25298              if (isModernRoot) {
25299                error("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?");
25300              }
25301            }
25302            return legacyRenderSubtreeIntoContainer(null, element, container, false, callback);
25303          }
25304          function unstable_renderSubtreeIntoContainer(parentComponent, element, containerNode, callback) {
25305            {
25306              error("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot");
25307            }
25308            if (!isValidContainerLegacy(containerNode)) {
25309              throw new Error("Target container is not a DOM element.");
25310            }
25311            if (parentComponent == null || !has(parentComponent)) {
25312              throw new Error("parentComponent must be a valid React Component");
25313            }
25314            return legacyRenderSubtreeIntoContainer(parentComponent, element, containerNode, false, callback);
25315          }
25316          var didWarnAboutUnmountComponentAtNode = false;
25317          function unmountComponentAtNode(container) {
25318            {
25319              if (!didWarnAboutUnmountComponentAtNode) {
25320                didWarnAboutUnmountComponentAtNode = true;
25321                error("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot");
25322              }
25323            }
25324            if (!isValidContainerLegacy(container)) {
25325              throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");
25326            }
25327            {
25328              var isModernRoot = isContainerMarkedAsRoot(container) && container._reactRootContainer === void 0;
25329              if (isModernRoot) {
25330                error("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?");
25331              }
25332            }
25333            if (container._reactRootContainer) {
25334              {
25335                var rootEl = getReactRootElementInContainer(container);
25336                var renderedByDifferentReact = rootEl && !getInstanceFromNode(rootEl);
25337                if (renderedByDifferentReact) {
25338                  error("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.");
25339                }
25340              }
25341              flushSync(function() {
25342                legacyRenderSubtreeIntoContainer(null, null, container, false, function() {
25343                  container._reactRootContainer = null;
25344                  unmarkContainerAsRoot(container);
25345                });
25346              });
25347              return true;
25348            } else {
25349              {
25350                var _rootEl = getReactRootElementInContainer(container);
25351                var hasNonRootReactChild = !!(_rootEl && getInstanceFromNode(_rootEl));
25352                var isContainerReactRoot = container.nodeType === ELEMENT_NODE && isValidContainerLegacy(container.parentNode) && !!container.parentNode._reactRootContainer;
25353                if (hasNonRootReactChild) {
25354                  error("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s", isContainerReactRoot ? "You may have accidentally passed in a React root node instead of its container." : "Instead, have the parent component update its state and rerender in order to remove this component.");
25355                }
25356              }
25357              return false;
25358            }
25359          }
25360          setAttemptSynchronousHydration(attemptSynchronousHydration$1);
25361          setAttemptContinuousHydration(attemptContinuousHydration$1);
25362          setAttemptHydrationAtCurrentPriority(attemptHydrationAtCurrentPriority$1);
25363          setGetCurrentUpdatePriority(getCurrentUpdatePriority);
25364          setAttemptHydrationAtPriority(runWithPriority);
25365          {
25366            if (typeof Map !== "function" || // $FlowIssue Flow incorrectly thinks Map has no prototype
25367            Map.prototype == null || typeof Map.prototype.forEach !== "function" || typeof Set !== "function" || // $FlowIssue Flow incorrectly thinks Set has no prototype
25368            Set.prototype == null || typeof Set.prototype.clear !== "function" || typeof Set.prototype.forEach !== "function") {
25369              error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills");
25370            }
25371          }
25372          setRestoreImplementation(restoreControlledState$3);
25373          setBatchingImplementation(batchedUpdates$1, discreteUpdates, flushSync);
25374          function createPortal$1(children, container) {
25375            var key = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
25376            if (!isValidContainer(container)) {
25377              throw new Error("Target container is not a DOM element.");
25378            }
25379            return createPortal2(children, container, null, key);
25380          }
25381          function renderSubtreeIntoContainer(parentComponent, element, containerNode, callback) {
25382            return unstable_renderSubtreeIntoContainer(parentComponent, element, containerNode, callback);
25383          }
25384          var Internals = {
25385            usingClientEntryPoint: false,
25386            // Keep in sync with ReactTestUtils.js.
25387            // This is an array for better minification.
25388            Events: [getInstanceFromNode, getNodeFromInstance, getFiberCurrentPropsFromNode, enqueueStateRestore, restoreStateIfNeeded, batchedUpdates$1]
25389          };
25390          function createRoot$1(container, options3) {
25391            {
25392              if (!Internals.usingClientEntryPoint && true) {
25393                error('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".');
25394              }
25395            }
25396            return createRoot2(container, options3);
25397          }
25398          function hydrateRoot$1(container, initialChildren, options3) {
25399            {
25400              if (!Internals.usingClientEntryPoint && true) {
25401                error('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".');
25402              }
25403            }
25404            return hydrateRoot(container, initialChildren, options3);
25405          }
25406          function flushSync$1(fn) {
25407            {
25408              if (isAlreadyRendering()) {
25409                error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.");
25410              }
25411            }
25412            return flushSync(fn);
25413          }
25414          var foundDevTools = injectIntoDevTools({
25415            findFiberByHostInstance: getClosestInstanceFromNode,
25416            bundleType: 1,
25417            version: ReactVersion,
25418            rendererPackageName: "react-dom"
25419          });
25420          {
25421            if (!foundDevTools && canUseDOM2 && window.top === window.self) {
25422              if (navigator.userAgent.indexOf("Chrome") > -1 && navigator.userAgent.indexOf("Edge") === -1 || navigator.userAgent.indexOf("Firefox") > -1) {
25423                var protocol = window.location.protocol;
25424                if (/^(https?|file):$/.test(protocol)) {
25425                  console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools" + (protocol === "file:" ? "\nYou might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq" : ""), "font-weight:bold");
25426                }
25427              }
25428            }
25429          }
25430          exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
25431          exports.createPortal = createPortal$1;
25432          exports.createRoot = createRoot$1;
25433          exports.findDOMNode = findDOMNode;
25434          exports.flushSync = flushSync$1;
25435          exports.hydrate = hydrate;
25436          exports.hydrateRoot = hydrateRoot$1;
25437          exports.render = render2;
25438          exports.unmountComponentAtNode = unmountComponentAtNode;
25439          exports.unstable_batchedUpdates = batchedUpdates$1;
25440          exports.unstable_renderSubtreeIntoContainer = renderSubtreeIntoContainer;
25441          exports.version = ReactVersion;
25442          if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
25443            __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
25444          }
25445        })();
25446      }
25447    }
25448  });
25449
25450  
vendor: 345 bytes, lines 25450-25464
25450// node_modules/react-dom/index.js
25451  var require_react_dom = __commonJS({
25452    "node_modules/react-dom/index.js"(exports, module) {
25453      "use strict";
25454      init_esbuild_shims();
25455      if (false) {
25456        checkDCE();
25457        module.exports = null;
25458      } else {
25459        module.exports = require_react_dom_development();
25460      }
25461    }
25462  });
25463
25464  
vendor: 913 bytes, lines 25464-25496
25464// node_modules/react-dom/client.js
25465  var require_client = __commonJS({
25466    "node_modules/react-dom/client.js"(exports) {
25467      "use strict";
25468      init_esbuild_shims();
25469      var m = require_react_dom();
25470      if (false) {
25471        exports.createRoot = m.createRoot;
25472        exports.hydrateRoot = m.hydrateRoot;
25473      } else {
25474        i2 = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
25475        exports.createRoot = function(c, o2) {
25476          i2.usingClientEntryPoint = true;
25477          try {
25478            return m.createRoot(c, o2);
25479          } finally {
25480            i2.usingClientEntryPoint = false;
25481          }
25482        };
25483        exports.hydrateRoot = function(c, h, o2) {
25484          i2.usingClientEntryPoint = true;
25485          try {
25486            return m.hydrateRoot(c, h, o2);
25487          } finally {
25488            i2.usingClientEntryPoint = false;
25489          }
25490        };
25491      }
25492      var i2;
25493    }
25494  });
25495
25496  
vendor: 9,236 bytes, lines 25496-25792
25496// node_modules/remount/dist/remount.js
25497  function inject() {
25498    if (window.HTMLElement && window.HTMLElement._babelES5Adapter || void 0 === window.Reflect || void 0 === window.customElements || window.customElements.hasOwnProperty("polyfillWrapFlushCallback")) {
25499      return;
25500    }
25501    const a = HTMLElement;
25502    window.HTMLElement = function() {
25503      return Reflect.construct(a, [], this.constructor);
25504    };
25505    HTMLElement.prototype = a.prototype;
25506    HTMLElement.prototype.constructor = HTMLElement;
25507    Object.setPrototypeOf(HTMLElement, a);
25508    HTMLElement._babelES5Adapter = true;
25509  }
25510  function defineElement$1(elSpec, elName, events) {
25511    const { onUpdate, onUnmount, onMount } = events;
25512    inject();
25513    const attributes = elSpec.attributes || [];
25514    class ComponentElement extends HTMLElement {
25515      static get observedAttributes() {
25516        return ["props-json", ...attributes];
25517      }
25518      connectedCallback() {
25519        this._mountPoint = createMountPoint(this, elSpec);
25520        onMount(this, this._mountPoint);
25521      }
25522      disconnectedCallback() {
25523        if (!this._mountPoint) {
25524          return;
25525        }
25526        onUnmount(this, this._mountPoint);
25527      }
25528      attributeChangedCallback() {
25529        if (!this._mountPoint) {
25530          return;
25531        }
25532        onUpdate(this, this._mountPoint);
25533      }
25534    }
25535    if (elSpec.quiet && window.customElements.get(elName)) {
25536      return;
25537    }
25538    window.customElements.define(elName, ComponentElement);
25539  }
25540  function isSupported$1() {
25541    return !!(window.customElements && window.customElements.define);
25542  }
25543  function createMountPoint(element, elSpec) {
25544    const { shadow } = elSpec;
25545    if (shadow && element.attachShadow) {
25546      const mountPoint = document.createElement("span");
25547      element.attachShadow({ mode: "open" }).appendChild(mountPoint);
25548      return mountPoint;
25549    } else {
25550      return element;
25551    }
25552  }
25553  function supportsShadow$1() {
25554    return !!(document && document.body && document.body.attachShadow);
25555  }
25556  function each(list, fn) {
25557    for (let i2 = 0, len = list.length; i2 < len; i2++) {
25558      fn(list[i2]);
25559    }
25560  }
25561  function isSupported() {
25562    return "MutationObserver" in window;
25563  }
25564  function defineElement(elSpec, elName, events) {
25565    elName = elName.toLowerCase();
25566    if (!isValidName(elName)) {
25567      if (elSpec.quiet) {
25568        return;
25569      }
25570      throw new Error(`Remount: "${elName}" is not a valid custom element elName`);
25571    }
25572    if (observers[elName]) {
25573      if (elSpec.quiet) {
25574        return;
25575      }
25576      throw new Error(`Remount: "${elName}" is already registered`);
25577    }
25578    const observer = new MutationObserver(
25579      /** @type MutationCallback */
25580      (mutations) => {
25581        each(mutations, (mutation) => {
25582          each(mutation.addedNodes, (node2) => {
25583            if (isElement(node2)) {
25584              checkForMount(node2, elName, events);
25585            }
25586          });
25587        });
25588      }
25589    );
25590    observer.observe(document.body, {
25591      childList: true,
25592      subtree: true
25593    });
25594    observers[elName] = /* true */
25595    observer;
25596    function mountElementsInDOM() {
25597      const nodes = document.getElementsByTagName(elName);
25598      each(
25599        nodes,
25600        (node2) => checkForMount(node2, elName, events)
25601      );
25602    }
25603    if (document.readyState === "complete" || document.readyState === "interactive") {
25604      mountElementsInDOM();
25605    } else {
25606      window.addEventListener("DOMContentLoaded", mountElementsInDOM);
25607    }
25608  }
25609  function checkForMount(node2, elName, events) {
25610    if (node2.nodeName.toLowerCase() === elName) {
25611      events.onMount(node2, node2);
25612      observeForUpdates(node2, events);
25613      observeForRemoval(node2, events);
25614    } else if (node2.children && node2.children.length) {
25615      each(node2.children, (subnode) => {
25616        if (isElement(subnode)) {
25617          checkForMount(subnode, elName, events);
25618        }
25619      });
25620    }
25621  }
25622  function observeForUpdates(node2, events) {
25623    const { onUpdate } = events;
25624    const observer = new MutationObserver(
25625      /** @type MutationCallback */
25626      (mutations) => {
25627        each(mutations, (mutation) => {
25628          const targetNode = mutation.target;
25629          if (isElement(targetNode)) {
25630            onUpdate(targetNode, targetNode);
25631          }
25632        });
25633      }
25634    );
25635    observer.observe(node2, { attributes: true });
25636  }
25637  function observeForRemoval(node2, events) {
25638    const { onUnmount } = events;
25639    const parent = node2.parentNode;
25640    if (!parent) {
25641      return;
25642    }
25643    const observer = new MutationObserver(
25644      /** @type MutationCallback */
25645      (mutations) => {
25646        each(mutations, (mutation) => {
25647          each(mutation.removedNodes, (subnode) => {
25648            if (node2 !== subnode) {
25649              return;
25650            }
25651            if (isElement(node2)) {
25652              observer.disconnect(parent);
25653              onUnmount(node2, node2);
25654            }
25655          });
25656        });
25657      }
25658    );
25659    observer.observe(parent, { childList: true, subtree: true });
25660  }
25661  function isValidName(elName) {
25662    return !!(elName.indexOf("-") !== -1 && elName.match(/^[a-z][a-z0-9-]*$/));
25663  }
25664  function supportsShadow() {
25665    return false;
25666  }
25667  function isElement(node2) {
25668    if (node2) {
25669      return true;
25670    }
25671    return false;
25672  }
25673  function getStrategy() {
25674    if (cachedStrategy) {
25675      return cachedStrategy;
25676    }
25677    const StrategyUsed = [CustomElementsStrategy, MutationObserverStrategy].find(
25678      (strategy) => !!strategy.isSupported()
25679    );
25680    if (!StrategyUsed) {
25681      console.warn(
25682        "Remount: This browser doesn't support the MutationObserver API or the Custom Elements API. Including polyfills might fix this. Remount elements will not work. https://github.com/rstacruz/remount"
25683      );
25684    }
25685    cachedStrategy = StrategyUsed;
25686    return StrategyUsed;
25687  }
25688  function define2(components2, defaults2) {
25689    const Strategy = getStrategy();
25690    if (!Strategy) {
25691      return;
25692    }
25693    Object.keys(components2).forEach((name2) => {
25694      const elSpec = Object.assign({}, defaults2, toElementSpec(components2[name2]));
25695      const adapter2 = elSpec.adapter;
25696      if (!adapter2) throw new Error("No suitable adapter found");
25697      Strategy.defineElement(elSpec, name2, {
25698        onMount(element, mountPoint) {
25699          const props = getProps(element, elSpec.attributes);
25700          if (elSpec.shadow && elSpec.retarget) {
25701            adapter2.mount(elSpec, mountPoint, props, element);
25702          } else {
25703            adapter2.mount(elSpec, mountPoint, props, null);
25704          }
25705        },
25706        onUpdate(element, mountPoint) {
25707          const props = getProps(element, elSpec.attributes);
25708          adapter2.update(elSpec, mountPoint, props, null);
25709        },
25710        onUnmount(element, mountPoint) {
25711          adapter2.unmount(elSpec, mountPoint);
25712        }
25713      });
25714    });
25715  }
25716  function toElementSpec(thing) {
25717    if (isElementSpec(thing)) {
25718      return thing;
25719    }
25720    return { component: thing };
25721  }
25722  function isElementSpec(spec) {
25723    return typeof spec === "object" && spec.component;
25724  }
25725  function getProps(element, attributes) {
25726    const rawJson = element.getAttribute("props-json");
25727    if (rawJson) {
25728      return JSON.parse(rawJson);
25729    }
25730    const names = attributes || [];
25731    return names.reduce((result, attribute) => {
25732      result[attribute] = element.getAttribute(attribute);
25733      return result;
25734    }, {});
25735  }
25736  function mount(elSpec, mountPoint, props, element) {
25737    const reactElement = React.createElement(elSpec.component, props);
25738    const root = ReactDOM.createRoot(mountPoint);
25739    roots.set(mountPoint, root);
25740    root.render(reactElement);
25741  }
25742  function update(elSpec, mountPoint, props, element) {
25743    const reactElement = React.createElement(elSpec.component, props);
25744    const root = roots.get(mountPoint);
25745    if (root) root.render(reactElement);
25746  }
25747  function unmount(elSpec, mountPoint) {
25748    const root = roots.get(mountPoint);
25749    if (!root) return;
25750    root.unmount();
25751    roots.delete(mountPoint);
25752  }
25753  function defineReact(components2 = {}, options2 = {}) {
25754    return define2(components2, __spreadValues({
25755      adapter: ReactAdapter
25756    }, options2));
25757  }
25758  var React, ReactDOM, name$1, CustomElementsStrategy, name, observers, MutationObserverStrategy, cachedStrategy, roots, ReactAdapter;
25759  var init_remount = __esm({
25760    "node_modules/remount/dist/remount.js"() {
25761      init_esbuild_shims();
25762      React = __toESM(require_react());
25763      ReactDOM = __toESM(require_client());
25764      name$1 = "CustomElements";
25765      CustomElementsStrategy = /* @__PURE__ */ Object.freeze({
25766        __proto__: null,
25767        name: name$1,
25768        defineElement: defineElement$1,
25769        isSupported: isSupported$1,
25770        supportsShadow: supportsShadow$1
25771      });
25772      name = "MutationObserver";
25773      observers = {};
25774      MutationObserverStrategy = /* @__PURE__ */ Object.freeze({
25775        __proto__: null,
25776        name,
25777        observers,
25778        isSupported,
25779        defineElement,
25780        supportsShadow
25781      });
25782      roots = /* @__PURE__ */ new Map();
25783      ReactAdapter = /* @__PURE__ */ Object.freeze({
25784        __proto__: null,
25785        mount,
25786        update,
25787        unmount
25788      });
25789    }
25790  });
25791
25792  
vendor: 3,027 bytes, lines 25792-25881
25792// node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
25793  function sheetForTag(tag) {
25794    if (tag.sheet) {
25795      return tag.sheet;
25796    }
25797    for (var i2 = 0; i2 < document.styleSheets.length; i2++) {
25798      if (document.styleSheets[i2].ownerNode === tag) {
25799        return document.styleSheets[i2];
25800      }
25801    }
25802    return void 0;
25803  }
25804  function createStyleElement(options2) {
25805    var tag = document.createElement("style");
25806    tag.setAttribute("data-emotion", options2.key);
25807    if (options2.nonce !== void 0) {
25808      tag.setAttribute("nonce", options2.nonce);
25809    }
25810    tag.appendChild(document.createTextNode(""));
25811    tag.setAttribute("data-s", "");
25812    return tag;
25813  }
25814  var isDevelopment, StyleSheet;
25815  var init_emotion_sheet_esm = __esm({
25816    "node_modules/@emotion/sheet/dist/emotion-sheet.esm.js"() {
25817      init_esbuild_shims();
25818      isDevelopment = false;
25819      StyleSheet = /* @__PURE__ */ (function() {
25820        function StyleSheet2(options2) {
25821          var _this = this;
25822          this._insertTag = function(tag) {
25823            var before;
25824            if (_this.tags.length === 0) {
25825              if (_this.insertionPoint) {
25826                before = _this.insertionPoint.nextSibling;
25827              } else if (_this.prepend) {
25828                before = _this.container.firstChild;
25829              } else {
25830                before = _this.before;
25831              }
25832            } else {
25833              before = _this.tags[_this.tags.length - 1].nextSibling;
25834            }
25835            _this.container.insertBefore(tag, before);
25836            _this.tags.push(tag);
25837          };
25838          this.isSpeedy = options2.speedy === void 0 ? !isDevelopment : options2.speedy;
25839          this.tags = [];
25840          this.ctr = 0;
25841          this.nonce = options2.nonce;
25842          this.key = options2.key;
25843          this.container = options2.container;
25844          this.prepend = options2.prepend;
25845          this.insertionPoint = options2.insertionPoint;
25846          this.before = null;
25847        }
25848        var _proto = StyleSheet2.prototype;
25849        _proto.hydrate = function hydrate(nodes) {
25850          nodes.forEach(this._insertTag);
25851        };
25852        _proto.insert = function insert(rule) {
25853          if (this.ctr % (this.isSpeedy ? 65e3 : 1) === 0) {
25854            this._insertTag(createStyleElement(this));
25855          }
25856          var tag = this.tags[this.tags.length - 1];
25857          if (this.isSpeedy) {
25858            var sheet = sheetForTag(tag);
25859            try {
25860              sheet.insertRule(rule, sheet.cssRules.length);
25861            } catch (e) {
25862            }
25863          } else {
25864            tag.appendChild(document.createTextNode(rule));
25865          }
25866          this.ctr++;
25867        };
25868        _proto.flush = function flush2() {
25869          this.tags.forEach(function(tag) {
25870            var _tag$parentNode;
25871            return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
25872          });
25873          this.tags = [];
25874          this.ctr = 0;
25875        };
25876        return StyleSheet2;
25877      })();
25878    }
25879  });
25880
25881  
vendor: 451 bytes, lines 25881-25898
25881// node_modules/stylis/src/Enum.js
25882  var MS, MOZ, WEBKIT, COMMENT, RULESET, DECLARATION, IMPORT, KEYFRAMES, LAYER;
25883  var init_Enum = __esm({
25884    "node_modules/stylis/src/Enum.js"() {
25885      init_esbuild_shims();
25886      MS = "-ms-";
25887      MOZ = "-moz-";
25888      WEBKIT = "-webkit-";
25889      COMMENT = "comm";
25890      RULESET = "rule";
25891      DECLARATION = "decl";
25892      IMPORT = "@import";
25893      KEYFRAMES = "@keyframes";
25894      LAYER = "@layer";
25895    }
25896  });
25897
25898  
vendor: 1,217 bytes, lines 25898-25942
25898// node_modules/stylis/src/Utility.js
25899  function hash(value, length2) {
25900    return charat(value, 0) ^ 45 ? (((length2 << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
25901  }
25902  function trim(value) {
25903    return value.trim();
25904  }
25905  function match(value, pattern) {
25906    return (value = pattern.exec(value)) ? value[0] : value;
25907  }
25908  function replace(value, pattern, replacement) {
25909    return value.replace(pattern, replacement);
25910  }
25911  function indexof(value, search) {
25912    return value.indexOf(search);
25913  }
25914  function charat(value, index2) {
25915    return value.charCodeAt(index2) | 0;
25916  }
25917  function substr(value, begin2, end2) {
25918    return value.slice(begin2, end2);
25919  }
25920  function strlen(value) {
25921    return value.length;
25922  }
25923  function sizeof(value) {
25924    return value.length;
25925  }
25926  function append(value, array) {
25927    return array.push(value), value;
25928  }
25929  function combine(array, callback) {
25930    return array.map(callback).join("");
25931  }
25932  var abs, from, assign;
25933  var init_Utility = __esm({
25934    "node_modules/stylis/src/Utility.js"() {
25935      init_esbuild_shims();
25936      abs = Math.abs;
25937      from = String.fromCharCode;
25938      assign = Object.assign;
25939    }
25940  });
25941
25942  
vendor: 3,643 bytes, lines 25942-26085
25942// node_modules/stylis/src/Tokenizer.js
25943  function node(value, root, parent, type, props, children, length2) {
25944    return { value, root, parent, type, props, children, line, column, length: length2, return: "" };
25945  }
25946  function copy(root, props) {
25947    return assign(node("", null, null, "", null, null, 0), root, { length: -root.length }, props);
25948  }
25949  function char() {
25950    return character;
25951  }
25952  function prev() {
25953    character = position > 0 ? charat(characters, --position) : 0;
25954    if (column--, character === 10)
25955      column = 1, line--;
25956    return character;
25957  }
25958  function next() {
25959    character = position < length ? charat(characters, position++) : 0;
25960    if (column++, character === 10)
25961      column = 1, line++;
25962    return character;
25963  }
25964  function peek() {
25965    return charat(characters, position);
25966  }
25967  function caret() {
25968    return position;
25969  }
25970  function slice(begin2, end2) {
25971    return substr(characters, begin2, end2);
25972  }
25973  function token(type) {
25974    switch (type) {
25975      // \0 \t \n \r \s whitespace token
25976      case 0:
25977      case 9:
25978      case 10:
25979      case 13:
25980      case 32:
25981        return 5;
25982      // ! + , / > @ ~ isolate token
25983      case 33:
25984      case 43:
25985      case 44:
25986      case 47:
25987      case 62:
25988      case 64:
25989      case 126:
25990      // ; { } breakpoint token
25991      case 59:
25992      case 123:
25993      case 125:
25994        return 4;
25995      // : accompanied token
25996      case 58:
25997        return 3;
25998      // " ' ( [ opening delimit token
25999      case 34:
26000      case 39:
26001      case 40:
26002      case 91:
26003        return 2;
26004      // ) ] closing delimit token
26005      case 41:
26006      case 93:
26007        return 1;
26008    }
26009    return 0;
26010  }
26011  function alloc(value) {
26012    return line = column = 1, length = strlen(characters = value), position = 0, [];
26013  }
26014  function dealloc(value) {
26015    return characters = "", value;
26016  }
26017  function delimit(type) {
26018    return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
26019  }
26020  function whitespace(type) {
26021    while (character = peek())
26022      if (character < 33)
26023        next();
26024      else
26025        break;
26026    return token(type) > 2 || token(character) > 3 ? "" : " ";
26027  }
26028  function escaping(index2, count) {
26029    while (--count && next())
26030      if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97)
26031        break;
26032    return slice(index2, caret() + (count < 6 && peek() == 32 && next() == 32));
26033  }
26034  function delimiter(type) {
26035    while (next())
26036      switch (character) {
26037        // ] ) " '
26038        case type:
26039          return position;
26040        // " '
26041        case 34:
26042        case 39:
26043          if (type !== 34 && type !== 39)
26044            delimiter(character);
26045          break;
26046        // (
26047        case 40:
26048          if (type === 41)
26049            delimiter(type);
26050          break;
26051        // \
26052        case 92:
26053          next();
26054          break;
26055      }
26056    return position;
26057  }
26058  function commenter(type, index2) {
26059    while (next())
26060      if (type + character === 47 + 10)
26061        break;
26062      else if (type + character === 42 + 42 && peek() === 47)
26063        break;
26064    return "/*" + slice(index2, position - 1) + "*" + from(type === 47 ? type : next());
26065  }
26066  function identifier(index2) {
26067    while (!token(peek()))
26068      next();
26069    return slice(index2, position);
26070  }
26071  var line, column, length, position, character, characters;
26072  var init_Tokenizer = __esm({
26073    "node_modules/stylis/src/Tokenizer.js"() {
26074      init_esbuild_shims();
26075      init_Utility();
26076      line = 1;
26077      column = 1;
26078      length = 0;
26079      position = 0;
26080      character = 0;
26081      characters = "";
26082    }
26083  });
26084
26085  
vendor: 5,799 bytes, lines 26085-26242
26085// node_modules/stylis/src/Parser.js
26086  function compile(value) {
26087    return dealloc(parse("", null, null, null, [""], value = alloc(value), 0, [0], value));
26088  }
26089  function parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
26090    var index2 = 0;
26091    var offset2 = 0;
26092    var length2 = pseudo;
26093    var atrule = 0;
26094    var property = 0;
26095    var previous = 0;
26096    var variable = 1;
26097    var scanning = 1;
26098    var ampersand = 1;
26099    var character2 = 0;
26100    var type = "";
26101    var props = rules;
26102    var children = rulesets;
26103    var reference = rule;
26104    var characters2 = type;
26105    while (scanning)
26106      switch (previous = character2, character2 = next()) {
26107        // (
26108        case 40:
26109          if (previous != 108 && charat(characters2, length2 - 1) == 58) {
26110            if (indexof(characters2 += replace(delimit(character2), "&", "&\f"), "&\f") != -1)
26111              ampersand = -1;
26112            break;
26113          }
26114        // " ' [
26115        case 34:
26116        case 39:
26117        case 91:
26118          characters2 += delimit(character2);
26119          break;
26120        // \t \n \r \s
26121        case 9:
26122        case 10:
26123        case 13:
26124        case 32:
26125          characters2 += whitespace(previous);
26126          break;
26127        // \
26128        case 92:
26129          characters2 += escaping(caret() - 1, 7);
26130          continue;
26131        // /
26132        case 47:
26133          switch (peek()) {
26134            case 42:
26135            case 47:
26136              append(comment(commenter(next(), caret()), root, parent), declarations);
26137              break;
26138            default:
26139              characters2 += "/";
26140          }
26141          break;
26142        // {
26143        case 123 * variable:
26144          points[index2++] = strlen(characters2) * ampersand;
26145        // } ; \0
26146        case 125 * variable:
26147        case 59:
26148        case 0:
26149          switch (character2) {
26150            // \0 }
26151            case 0:
26152            case 125:
26153              scanning = 0;
26154            // ;
26155            case 59 + offset2:
26156              if (ampersand == -1) characters2 = replace(characters2, /\f/g, "");
26157              if (property > 0 && strlen(characters2) - length2)
26158                append(property > 32 ? declaration(characters2 + ";", rule, parent, length2 - 1) : declaration(replace(characters2, " ", "") + ";", rule, parent, length2 - 2), declarations);
26159              break;
26160            // @ ;
26161            case 59:
26162              characters2 += ";";
26163            // { rule/at-rule
26164            default:
26165              append(reference = ruleset(characters2, root, parent, index2, offset2, rules, points, type, props = [], children = [], length2), rulesets);
26166              if (character2 === 123)
26167                if (offset2 === 0)
26168                  parse(characters2, root, reference, reference, props, rulesets, length2, points, children);
26169                else
26170                  switch (atrule === 99 && charat(characters2, 3) === 110 ? 100 : atrule) {
26171                    // d l m s
26172                    case 100:
26173                    case 108:
26174                    case 109:
26175                    case 115:
26176                      parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length2), children), rules, children, length2, points, rule ? props : children);
26177                      break;
26178                    default:
26179                      parse(characters2, reference, reference, reference, [""], children, 0, points, children);
26180                  }
26181          }
26182          index2 = offset2 = property = 0, variable = ampersand = 1, type = characters2 = "", length2 = pseudo;
26183          break;
26184        // :
26185        case 58:
26186          length2 = 1 + strlen(characters2), property = previous;
26187        default:
26188          if (variable < 1) {
26189            if (character2 == 123)
26190              --variable;
26191            else if (character2 == 125 && variable++ == 0 && prev() == 125)
26192              continue;
26193          }
26194          switch (characters2 += from(character2), character2 * variable) {
26195            // &
26196            case 38:
26197              ampersand = offset2 > 0 ? 1 : (characters2 += "\f", -1);
26198              break;
26199            // ,
26200            case 44:
26201              points[index2++] = (strlen(characters2) - 1) * ampersand, ampersand = 1;
26202              break;
26203            // @
26204            case 64:
26205              if (peek() === 45)
26206                characters2 += delimit(next());
26207              atrule = peek(), offset2 = length2 = strlen(type = characters2 += identifier(caret())), character2++;
26208              break;
26209            // -
26210            case 45:
26211              if (previous === 45 && strlen(characters2) == 2)
26212                variable = 0;
26213          }
26214      }
26215    return rulesets;
26216  }
26217  function ruleset(value, root, parent, index2, offset2, rules, points, type, props, children, length2) {
26218    var post = offset2 - 1;
26219    var rule = offset2 === 0 ? rules : [""];
26220    var size2 = sizeof(rule);
26221    for (var i2 = 0, j2 = 0, k = 0; i2 < index2; ++i2)
26222      for (var x2 = 0, y = substr(value, post + 1, post = abs(j2 = points[i2])), z = value; x2 < size2; ++x2)
26223        if (z = trim(j2 > 0 ? rule[x2] + " " + y : replace(y, /&\f/g, rule[x2])))
26224          props[k++] = z;
26225    return node(value, root, parent, offset2 === 0 ? RULESET : type, props, children, length2);
26226  }
26227  function comment(value, root, parent) {
26228    return node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0);
26229  }
26230  function declaration(value, root, parent, length2) {
26231    return node(value, root, parent, DECLARATION, substr(value, 0, length2), substr(value, length2 + 1, -1), length2);
26232  }
26233  var init_Parser = __esm({
26234    "node_modules/stylis/src/Parser.js"() {
26235      init_esbuild_shims();
26236      init_Enum();
26237      init_Utility();
26238      init_Tokenizer();
26239    }
26240  });
26241
26242  
vendor: 158 bytes, lines 26242-26249
26242// node_modules/stylis/src/Prefixer.js
26243  var init_Prefixer = __esm({
26244    "node_modules/stylis/src/Prefixer.js"() {
26245      init_esbuild_shims();
26246    }
26247  });
26248
26249  
vendor: 1,066 bytes, lines 26249-26281
26249// node_modules/stylis/src/Serializer.js
26250  function serialize(children, callback) {
26251    var output = "";
26252    var length2 = sizeof(children);
26253    for (var i2 = 0; i2 < length2; i2++)
26254      output += callback(children[i2], i2, children, callback) || "";
26255    return output;
26256  }
26257  function stringify(element, index2, children, callback) {
26258    switch (element.type) {
26259      case LAYER:
26260        if (element.children.length) break;
26261      case IMPORT:
26262      case DECLARATION:
26263        return element.return = element.return || element.value;
26264      case COMMENT:
26265        return "";
26266      case KEYFRAMES:
26267        return element.return = element.value + "{" + serialize(element.children, callback) + "}";
26268      case RULESET:
26269        element.value = element.props.join(",");
26270    }
26271    return strlen(children = serialize(element.children, callback)) ? element.return = element.value + "{" + children + "}" : "";
26272  }
26273  var init_Serializer = __esm({
26274    "node_modules/stylis/src/Serializer.js"() {
26275      init_esbuild_shims();
26276      init_Enum();
26277      init_Utility();
26278    }
26279  });
26280
26281  
vendor: 671 bytes, lines 26281-26306
26281// node_modules/stylis/src/Middleware.js
26282  function middleware(collection) {
26283    var length2 = sizeof(collection);
26284    return function(element, index2, children, callback) {
26285      var output = "";
26286      for (var i2 = 0; i2 < length2; i2++)
26287        output += collection[i2](element, index2, children, callback) || "";
26288      return output;
26289    };
26290  }
26291  function rulesheet(callback) {
26292    return function(element) {
26293      if (!element.root) {
26294        if (element = element.return)
26295          callback(element);
26296      }
26297    };
26298  }
26299  var init_Middleware = __esm({
26300    "node_modules/stylis/src/Middleware.js"() {
26301      init_esbuild_shims();
26302      init_Utility();
26303    }
26304  });
26305
26306  
vendor: 301 bytes, lines 26306-26320
26306// node_modules/stylis/index.js
26307  var init_stylis = __esm({
26308    "node_modules/stylis/index.js"() {
26309      init_esbuild_shims();
26310      init_Enum();
26311      init_Utility();
26312      init_Parser();
26313      init_Prefixer();
26314      init_Tokenizer();
26315      init_Serializer();
26316      init_Middleware();
26317    }
26318  });
26319
26320  
vendor: 238 bytes, lines 26320-26327
26320// node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js
26321  var init_emotion_weak_memoize_esm = __esm({
26322    "node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js"() {
26323      init_esbuild_shims();
26324    }
26325  });
26326
26327  
vendor: 409 bytes, lines 26327-26341
26327// node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
26328  function memoize(fn) {
26329    var cache = /* @__PURE__ */ Object.create(null);
26330    return function(arg) {
26331      if (cache[arg] === void 0) cache[arg] = fn(arg);
26332      return cache[arg];
26333    };
26334  }
26335  var init_emotion_memoize_esm = __esm({
26336    "node_modules/@emotion/memoize/dist/emotion-memoize.esm.js"() {
26337      init_esbuild_shims();
26338    }
26339  });
26340
26341  
vendor: 13,067 bytes, lines 26341-26688
26341// node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
26342  function prefix(value, length2) {
26343    switch (hash(value, length2)) {
26344      // color-adjust
26345      case 5103:
26346        return WEBKIT + "print-" + value + value;
26347      // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
26348      case 5737:
26349      case 4201:
26350      case 3177:
26351      case 3433:
26352      case 1641:
26353      case 4457:
26354      case 2921:
26355      // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
26356      case 5572:
26357      case 6356:
26358      case 5844:
26359      case 3191:
26360      case 6645:
26361      case 3005:
26362      // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
26363      case 6391:
26364      case 5879:
26365      case 5623:
26366      case 6135:
26367      case 4599:
26368      case 4855:
26369      // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
26370      case 4215:
26371      case 6389:
26372      case 5109:
26373      case 5365:
26374      case 5621:
26375      case 3829:
26376        return WEBKIT + value + value;
26377      // appearance, user-select, transform, hyphens, text-size-adjust
26378      case 5349:
26379      case 4246:
26380      case 4810:
26381      case 6968:
26382      case 2756:
26383        return WEBKIT + value + MOZ + value + MS + value + value;
26384      // flex, flex-direction
26385      case 6828:
26386      case 4268:
26387        return WEBKIT + value + MS + value + value;
26388      // order
26389      case 6165:
26390        return WEBKIT + value + MS + "flex-" + value + value;
26391      // align-items
26392      case 5187:
26393        return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + "box-$1$2" + MS + "flex-$1$2") + value;
26394      // align-self
26395      case 5443:
26396        return WEBKIT + value + MS + "flex-item-" + replace(value, /flex-|-self/, "") + value;
26397      // align-content
26398      case 4675:
26399        return WEBKIT + value + MS + "flex-line-pack" + replace(value, /align-content|flex-|-self/, "") + value;
26400      // flex-shrink
26401      case 5548:
26402        return WEBKIT + value + MS + replace(value, "shrink", "negative") + value;
26403      // flex-basis
26404      case 5292:
26405        return WEBKIT + value + MS + replace(value, "basis", "preferred-size") + value;
26406      // flex-grow
26407      case 6060:
26408        return WEBKIT + "box-" + replace(value, "-grow", "") + WEBKIT + value + MS + replace(value, "grow", "positive") + value;
26409      // transition
26410      case 4554:
26411        return WEBKIT + replace(value, /([^-])(transform)/g, "$1" + WEBKIT + "$2") + value;
26412      // cursor
26413      case 6187:
26414        return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + "$1"), /(image-set)/, WEBKIT + "$1"), value, "") + value;
26415      // background, background-image
26416      case 5495:
26417      case 3959:
26418        return replace(value, /(image-set\([^]*)/, WEBKIT + "$1$`$1");
26419      // justify-content
26420      case 4968:
26421        return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + "box-pack:$3" + MS + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + WEBKIT + value + value;
26422      // (margin|padding)-inline-(start|end)
26423      case 4095:
26424      case 3583:
26425      case 4068:
26426      case 2532:
26427        return replace(value, /(.+)-inline(.+)/, WEBKIT + "$1$2") + value;
26428      // (min|max)?(width|height|inline-size|block-size)
26429      case 8116:
26430      case 7059:
26431      case 5753:
26432      case 5535:
26433      case 5445:
26434      case 5701:
26435      case 4933:
26436      case 4677:
26437      case 5533:
26438      case 5789:
26439      case 5021:
26440      case 4765:
26441        if (strlen(value) - 1 - length2 > 6) switch (charat(value, length2 + 1)) {
26442          // (m)ax-content, (m)in-content
26443          case 109:
26444            if (charat(value, length2 + 4) !== 45) break;
26445          // (f)ill-available, (f)it-content
26446          case 102:
26447            return replace(value, /(.+:)(.+)-([^]+)/, "$1" + WEBKIT + "$2-$3$1" + MOZ + (charat(value, length2 + 3) == 108 ? "$3" : "$2-$3")) + value;
26448          // (s)tretch
26449          case 115:
26450            return ~indexof(value, "stretch") ? prefix(replace(value, "stretch", "fill-available"), length2) + value : value;
26451        }
26452        break;
26453      // position: sticky
26454      case 4949:
26455        if (charat(value, length2 + 1) !== 115) break;
26456      // display: (flex|inline-flex)
26457      case 6444:
26458        switch (charat(value, strlen(value) - 3 - (~indexof(value, "!important") && 10))) {
26459          // stic(k)y
26460          case 107:
26461            return replace(value, ":", ":" + WEBKIT) + value;
26462          // (inline-)?fl(e)x
26463          case 101:
26464            return replace(value, /(.+:)([^;!]+)(;|!.+)?/, "$1" + WEBKIT + (charat(value, 14) === 45 ? "inline-" : "") + "box$3$1" + WEBKIT + "$2$3$1" + MS + "$2box$3") + value;
26465        }
26466        break;
26467      // writing-mode
26468      case 5936:
26469        switch (charat(value, length2 + 11)) {
26470          // vertical-l(r)
26471          case 114:
26472            return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb") + value;
26473          // vertical-r(l)
26474          case 108:
26475            return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb-rl") + value;
26476          // horizontal(-)tb
26477          case 45:
26478            return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "lr") + value;
26479        }
26480        return WEBKIT + value + MS + value + value;
26481    }
26482    return value;
26483  }
26484  var identifierWithPointTracking, toRules, getRules, fixedElements, compat, removeLabel, prefixer, defaultStylisPlugins, createCache;
26485  var init_emotion_cache_browser_esm = __esm({
26486    "node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js"() {
26487      init_esbuild_shims();
26488      init_emotion_sheet_esm();
26489      init_stylis();
26490      init_emotion_weak_memoize_esm();
26491      init_emotion_memoize_esm();
26492      identifierWithPointTracking = function identifierWithPointTracking2(begin2, points, index2) {
26493        var previous = 0;
26494        var character2 = 0;
26495        while (true) {
26496          previous = character2;
26497          character2 = peek();
26498          if (previous === 38 && character2 === 12) {
26499            points[index2] = 1;
26500          }
26501          if (token(character2)) {
26502            break;
26503          }
26504          next();
26505        }
26506        return slice(begin2, position);
26507      };
26508      toRules = function toRules2(parsed, points) {
26509        var index2 = -1;
26510        var character2 = 44;
26511        do {
26512          switch (token(character2)) {
26513            case 0:
26514              if (character2 === 38 && peek() === 12) {
26515                points[index2] = 1;
26516              }
26517              parsed[index2] += identifierWithPointTracking(position - 1, points, index2);
26518              break;
26519            case 2:
26520              parsed[index2] += delimit(character2);
26521              break;
26522            case 4:
26523              if (character2 === 44) {
26524                parsed[++index2] = peek() === 58 ? "&\f" : "";
26525                points[index2] = parsed[index2].length;
26526                break;
26527              }
26528            // fallthrough
26529            default:
26530              parsed[index2] += from(character2);
26531          }
26532        } while (character2 = next());
26533        return parsed;
26534      };
26535      getRules = function getRules2(value, points) {
26536        return dealloc(toRules(alloc(value), points));
26537      };
26538      fixedElements = /* @__PURE__ */ new WeakMap();
26539      compat = function compat2(element) {
26540        if (element.type !== "rule" || !element.parent || // positive .length indicates that this rule contains pseudo
26541        // negative .length indicates that this rule has been already prefixed
26542        element.length < 1) {
26543          return;
26544        }
26545        var value = element.value;
26546        var parent = element.parent;
26547        var isImplicitRule = element.column === parent.column && element.line === parent.line;
26548        while (parent.type !== "rule") {
26549          parent = parent.parent;
26550          if (!parent) return;
26551        }
26552        if (element.props.length === 1 && value.charCodeAt(0) !== 58 && !fixedElements.get(parent)) {
26553          return;
26554        }
26555        if (isImplicitRule) {
26556          return;
26557        }
26558        fixedElements.set(element, true);
26559        var points = [];
26560        var rules = getRules(value, points);
26561        var parentRules = parent.props;
26562        for (var i2 = 0, k = 0; i2 < rules.length; i2++) {
26563          for (var j2 = 0; j2 < parentRules.length; j2++, k++) {
26564            element.props[k] = points[i2] ? rules[i2].replace(/&\f/g, parentRules[j2]) : parentRules[j2] + " " + rules[i2];
26565          }
26566        }
26567      };
26568      removeLabel = function removeLabel2(element) {
26569        if (element.type === "decl") {
26570          var value = element.value;
26571          if (
26572            // charcode for l
26573            value.charCodeAt(0) === 108 && // charcode for b
26574            value.charCodeAt(2) === 98
26575          ) {
26576            element["return"] = "";
26577            element.value = "";
26578          }
26579        }
26580      };
26581      prefixer = function prefixer2(element, index2, children, callback) {
26582        if (element.length > -1) {
26583          if (!element["return"]) switch (element.type) {
26584            case DECLARATION:
26585              element["return"] = prefix(element.value, element.length);
26586              break;
26587            case KEYFRAMES:
26588              return serialize([copy(element, {
26589                value: replace(element.value, "@", "@" + WEBKIT)
26590              })], callback);
26591            case RULESET:
26592              if (element.length) return combine(element.props, function(value) {
26593                switch (match(value, /(::plac\w+|:read-\w+)/)) {
26594                  // :read-(only|write)
26595                  case ":read-only":
26596                  case ":read-write":
26597                    return serialize([copy(element, {
26598                      props: [replace(value, /:(read-\w+)/, ":" + MOZ + "$1")]
26599                    })], callback);
26600                  // :placeholder
26601                  case "::placeholder":
26602                    return serialize([copy(element, {
26603                      props: [replace(value, /:(plac\w+)/, ":" + WEBKIT + "input-$1")]
26604                    }), copy(element, {
26605                      props: [replace(value, /:(plac\w+)/, ":" + MOZ + "$1")]
26606                    }), copy(element, {
26607                      props: [replace(value, /:(plac\w+)/, MS + "input-$1")]
26608                    })], callback);
26609                }
26610                return "";
26611              });
26612          }
26613        }
26614      };
26615      defaultStylisPlugins = [prefixer];
26616      createCache = function createCache2(options2) {
26617        var key = options2.key;
26618        if (key === "css") {
26619          var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])");
26620          Array.prototype.forEach.call(ssrStyles, function(node2) {
26621            var dataEmotionAttribute = node2.getAttribute("data-emotion");
26622            if (dataEmotionAttribute.indexOf(" ") === -1) {
26623              return;
26624            }
26625            document.head.appendChild(node2);
26626            node2.setAttribute("data-s", "");
26627          });
26628        }
26629        var stylisPlugins = options2.stylisPlugins || defaultStylisPlugins;
26630        var inserted = {};
26631        var container;
26632        var nodesToHydrate = [];
26633        {
26634          container = options2.container || document.head;
26635          Array.prototype.forEach.call(
26636            // this means we will ignore elements which don't have a space in them which
26637            // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
26638            document.querySelectorAll('style[data-emotion^="' + key + ' "]'),
26639            function(node2) {
26640              var attrib = node2.getAttribute("data-emotion").split(" ");
26641              for (var i2 = 1; i2 < attrib.length; i2++) {
26642                inserted[attrib[i2]] = true;
26643              }
26644              nodesToHydrate.push(node2);
26645            }
26646          );
26647        }
26648        var _insert;
26649        var omnipresentPlugins = [compat, removeLabel];
26650        {
26651          var currentSheet;
26652          var finalizingPlugins = [stringify, rulesheet(function(rule) {
26653            currentSheet.insert(rule);
26654          })];
26655          var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
26656          var stylis = function stylis2(styles2) {
26657            return serialize(compile(styles2), serializer);
26658          };
26659          _insert = function insert(selector, serialized, sheet, shouldCache) {
26660            currentSheet = sheet;
26661            stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
26662            if (shouldCache) {
26663              cache.inserted[serialized.name] = true;
26664            }
26665          };
26666        }
26667        var cache = {
26668          key,
26669          sheet: new StyleSheet({
26670            key,
26671            container,
26672            nonce: options2.nonce,
26673            speedy: options2.speedy,
26674            prepend: options2.prepend,
26675            insertionPoint: options2.insertionPoint
26676          }),
26677          nonce: options2.nonce,
26678          inserted,
26679          registered: {},
26680          insert: _insert
26681        };
26682        cache.sheet.hydrate(nodesToHydrate);
26683        return cache;
26684      };
26685    }
26686  });
26687
26688  
vendor: 517 bytes, lines 26688-26704
26688// node_modules/@babel/runtime/helpers/esm/extends.js
26689  function _extends() {
26690    return _extends = Object.assign ? Object.assign.bind() : function(n) {
26691      for (var e = 1; e < arguments.length; e++) {
26692        var t2 = arguments[e];
26693        for (var r2 in t2) ({}).hasOwnProperty.call(t2, r2) && (n[r2] = t2[r2]);
26694      }
26695      return n;
26696    }, _extends.apply(null, arguments);
26697  }
26698  var init_extends = __esm({
26699    "node_modules/@babel/runtime/helpers/esm/extends.js"() {
26700      init_esbuild_shims();
26701    }
26702  });
26703
26704  
vendor: 8,199 bytes, lines 26704-26860
26704// node_modules/react-is/cjs/react-is.development.js
26705  var require_react_is_development = __commonJS({
26706    "node_modules/react-is/cjs/react-is.development.js"(exports) {
26707      "use strict";
26708      init_esbuild_shims();
26709      if (true) {
26710        (function() {
26711          "use strict";
26712          var hasSymbol = typeof Symbol === "function" && Symbol.for;
26713          var REACT_ELEMENT_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.element") : 60103;
26714          var REACT_PORTAL_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.portal") : 60106;
26715          var REACT_FRAGMENT_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107;
26716          var REACT_STRICT_MODE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108;
26717          var REACT_PROFILER_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114;
26718          var REACT_PROVIDER_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.provider") : 60109;
26719          var REACT_CONTEXT_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.context") : 60110;
26720          var REACT_ASYNC_MODE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111;
26721          var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111;
26722          var REACT_FORWARD_REF_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112;
26723          var REACT_SUSPENSE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113;
26724          var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120;
26725          var REACT_MEMO_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.memo") : 60115;
26726          var REACT_LAZY_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116;
26727          var REACT_BLOCK_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.block") : 60121;
26728          var REACT_FUNDAMENTAL_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117;
26729          var REACT_RESPONDER_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.responder") : 60118;
26730          var REACT_SCOPE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
26731          function isValidElementType(type) {
26732            return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
26733            type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
26734          }
26735          function typeOf(object) {
26736            if (typeof object === "object" && object !== null) {
26737              var $$typeof = object.$$typeof;
26738              switch ($$typeof) {
26739                case REACT_ELEMENT_TYPE:
26740                  var type = object.type;
26741                  switch (type) {
26742                    case REACT_ASYNC_MODE_TYPE:
26743                    case REACT_CONCURRENT_MODE_TYPE:
26744                    case REACT_FRAGMENT_TYPE:
26745                    case REACT_PROFILER_TYPE:
26746                    case REACT_STRICT_MODE_TYPE:
26747                    case REACT_SUSPENSE_TYPE:
26748                      return type;
26749                    default:
26750                      var $$typeofType = type && type.$$typeof;
26751                      switch ($$typeofType) {
26752                        case REACT_CONTEXT_TYPE:
26753                        case REACT_FORWARD_REF_TYPE:
26754                        case REACT_LAZY_TYPE:
26755                        case REACT_MEMO_TYPE:
26756                        case REACT_PROVIDER_TYPE:
26757                          return $$typeofType;
26758                        default:
26759                          return $$typeof;
26760                      }
26761                  }
26762                case REACT_PORTAL_TYPE:
26763                  return $$typeof;
26764              }
26765            }
26766            return void 0;
26767          }
26768          var AsyncMode = REACT_ASYNC_MODE_TYPE;
26769          var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
26770          var ContextConsumer = REACT_CONTEXT_TYPE;
26771          var ContextProvider = REACT_PROVIDER_TYPE;
26772          var Element2 = REACT_ELEMENT_TYPE;
26773          var ForwardRef = REACT_FORWARD_REF_TYPE;
26774          var Fragment4 = REACT_FRAGMENT_TYPE;
26775          var Lazy = REACT_LAZY_TYPE;
26776          var Memo = REACT_MEMO_TYPE;
26777          var Portal = REACT_PORTAL_TYPE;
26778          var Profiler = REACT_PROFILER_TYPE;
26779          var StrictMode = REACT_STRICT_MODE_TYPE;
26780          var Suspense = REACT_SUSPENSE_TYPE;
26781          var hasWarnedAboutDeprecatedIsAsyncMode = false;
26782          function isAsyncMode(object) {
26783            {
26784              if (!hasWarnedAboutDeprecatedIsAsyncMode) {
26785                hasWarnedAboutDeprecatedIsAsyncMode = true;
26786                console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");
26787              }
26788            }
26789            return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
26790          }
26791          function isConcurrentMode(object) {
26792            return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
26793          }
26794          function isContextConsumer(object) {
26795            return typeOf(object) === REACT_CONTEXT_TYPE;
26796          }
26797          function isContextProvider(object) {
26798            return typeOf(object) === REACT_PROVIDER_TYPE;
26799          }
26800          function isElement4(object) {
26801            return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
26802          }
26803          function isForwardRef(object) {
26804            return typeOf(object) === REACT_FORWARD_REF_TYPE;
26805          }
26806          function isFragment(object) {
26807            return typeOf(object) === REACT_FRAGMENT_TYPE;
26808          }
26809          function isLazy(object) {
26810            return typeOf(object) === REACT_LAZY_TYPE;
26811          }
26812          function isMemo(object) {
26813            return typeOf(object) === REACT_MEMO_TYPE;
26814          }
26815          function isPortal(object) {
26816            return typeOf(object) === REACT_PORTAL_TYPE;
26817          }
26818          function isProfiler(object) {
26819            return typeOf(object) === REACT_PROFILER_TYPE;
26820          }
26821          function isStrictMode(object) {
26822            return typeOf(object) === REACT_STRICT_MODE_TYPE;
26823          }
26824          function isSuspense(object) {
26825            return typeOf(object) === REACT_SUSPENSE_TYPE;
26826          }
26827          exports.AsyncMode = AsyncMode;
26828          exports.ConcurrentMode = ConcurrentMode;
26829          exports.ContextConsumer = ContextConsumer;
26830          exports.ContextProvider = ContextProvider;
26831          exports.Element = Element2;
26832          exports.ForwardRef = ForwardRef;
26833          exports.Fragment = Fragment4;
26834          exports.Lazy = Lazy;
26835          exports.Memo = Memo;
26836          exports.Portal = Portal;
26837          exports.Profiler = Profiler;
26838          exports.StrictMode = StrictMode;
26839          exports.Suspense = Suspense;
26840          exports.isAsyncMode = isAsyncMode;
26841          exports.isConcurrentMode = isConcurrentMode;
26842          exports.isContextConsumer = isContextConsumer;
26843          exports.isContextProvider = isContextProvider;
26844          exports.isElement = isElement4;
26845          exports.isForwardRef = isForwardRef;
26846          exports.isFragment = isFragment;
26847          exports.isLazy = isLazy;
26848          exports.isMemo = isMemo;
26849          exports.isPortal = isPortal;
26850          exports.isProfiler = isProfiler;
26851          exports.isStrictMode = isStrictMode;
26852          exports.isSuspense = isSuspense;
26853          exports.isValidElementType = isValidElementType;
26854          exports.typeOf = typeOf;
26855        })();
26856      }
26857    }
26858  });
26859
26860  
vendor: 321 bytes, lines 26860-26873
26860// node_modules/react-is/index.js
26861  var require_react_is = __commonJS({
26862    "node_modules/react-is/index.js"(exports, module) {
26863      "use strict";
26864      init_esbuild_shims();
26865      if (false) {
26866        module.exports = null;
26867      } else {
26868        module.exports = require_react_is_development();
26869      }
26870    }
26871  });
26872
26873  
vendor: 3,217 bytes, lines 26873-26962
26873// node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
26874  var require_hoist_non_react_statics_cjs = __commonJS({
26875    "node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(exports, module) {
26876      "use strict";
26877      init_esbuild_shims();
26878      var reactIs = require_react_is();
26879      var REACT_STATICS = {
26880        childContextTypes: true,
26881        contextType: true,
26882        contextTypes: true,
26883        defaultProps: true,
26884        displayName: true,
26885        getDefaultProps: true,
26886        getDerivedStateFromError: true,
26887        getDerivedStateFromProps: true,
26888        mixins: true,
26889        propTypes: true,
26890        type: true
26891      };
26892      var KNOWN_STATICS = {
26893        name: true,
26894        length: true,
26895        prototype: true,
26896        caller: true,
26897        callee: true,
26898        arguments: true,
26899        arity: true
26900      };
26901      var FORWARD_REF_STATICS = {
26902        "$$typeof": true,
26903        render: true,
26904        defaultProps: true,
26905        displayName: true,
26906        propTypes: true
26907      };
26908      var MEMO_STATICS = {
26909        "$$typeof": true,
26910        compare: true,
26911        defaultProps: true,
26912        displayName: true,
26913        propTypes: true,
26914        type: true
26915      };
26916      var TYPE_STATICS = {};
26917      TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
26918      TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
26919      function getStatics(component) {
26920        if (reactIs.isMemo(component)) {
26921          return MEMO_STATICS;
26922        }
26923        return TYPE_STATICS[component["$$typeof"]] || REACT_STATICS;
26924      }
26925      var defineProperty = Object.defineProperty;
26926      var getOwnPropertyNames = Object.getOwnPropertyNames;
26927      var getOwnPropertySymbols = Object.getOwnPropertySymbols;
26928      var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
26929      var getPrototypeOf2 = Object.getPrototypeOf;
26930      var objectPrototype = Object.prototype;
26931      function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
26932        if (typeof sourceComponent !== "string") {
26933          if (objectPrototype) {
26934            var inheritedComponent = getPrototypeOf2(sourceComponent);
26935            if (inheritedComponent && inheritedComponent !== objectPrototype) {
26936              hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
26937            }
26938          }
26939          var keys = getOwnPropertyNames(sourceComponent);
26940          if (getOwnPropertySymbols) {
26941            keys = keys.concat(getOwnPropertySymbols(sourceComponent));
26942          }
26943          var targetStatics = getStatics(targetComponent);
26944          var sourceStatics = getStatics(sourceComponent);
26945          for (var i2 = 0; i2 < keys.length; ++i2) {
26946            var key = keys[i2];
26947            if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
26948              var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
26949              try {
26950                defineProperty(targetComponent, key, descriptor);
26951              } catch (e) {
26952              }
26953            }
26954          }
26955        }
26956        return targetComponent;
26957      }
26958      module.exports = hoistNonReactStatics;
26959    }
26960  });
26961
26962  
vendor: 2,164 bytes, lines 26962-27010
26962// node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
26963  function getRegisteredStyles(registered, registeredStyles, classNames2) {
26964    var rawClassName = "";
26965    classNames2.split(" ").forEach(function(className) {
26966      if (registered[className] !== void 0) {
26967        registeredStyles.push(registered[className] + ";");
26968      } else if (className) {
26969        rawClassName += className + " ";
26970      }
26971    });
26972    return rawClassName;
26973  }
26974  var isBrowser, registerStyles, insertStyles;
26975  var init_emotion_utils_browser_esm = __esm({
26976    "node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js"() {
26977      init_esbuild_shims();
26978      isBrowser = true;
26979      registerStyles = function registerStyles2(cache, serialized, isStringTag) {
26980        var className = cache.key + "-" + serialized.name;
26981        if (
26982          // we only need to add the styles to the registered cache if the
26983          // class name could be used further down
26984          // the tree but if it's a string tag, we know it won't
26985          // so we don't have to add it to registered cache.
26986          // this improves memory usage since we can avoid storing the whole style string
26987          (isStringTag === false || // we need to always store it if we're in compat mode and
26988          // in node since emotion-server relies on whether a style is in
26989          // the registered cache to know whether a style is global or not
26990          // also, note that this check will be dead code eliminated in the browser
26991          isBrowser === false) && cache.registered[className] === void 0
26992        ) {
26993          cache.registered[className] = serialized.styles;
26994        }
26995      };
26996      insertStyles = function insertStyles2(cache, serialized, isStringTag) {
26997        registerStyles(cache, serialized, isStringTag);
26998        var className = cache.key + "-" + serialized.name;
26999        if (cache.inserted[serialized.name] === void 0) {
27000          var current = serialized;
27001          do {
27002            cache.insert(serialized === current ? "." + className : "", current, cache.sheet, true);
27003            current = current.next;
27004          } while (current !== void 0);
27005        }
27006      };
27007    }
27008  });
27009
27010  
vendor: 1,248 bytes, lines 27010-27045
27010// node_modules/@emotion/hash/dist/emotion-hash.esm.js
27011  function murmur2(str) {
27012    var h = 0;
27013    var k, i2 = 0, len = str.length;
27014    for (; len >= 4; ++i2, len -= 4) {
27015      k = str.charCodeAt(i2) & 255 | (str.charCodeAt(++i2) & 255) << 8 | (str.charCodeAt(++i2) & 255) << 16 | (str.charCodeAt(++i2) & 255) << 24;
27016      k = /* Math.imul(k, m): */
27017      (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16);
27018      k ^= /* k >>> r: */
27019      k >>> 24;
27020      h = /* Math.imul(k, m): */
27021      (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
27022      (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
27023    }
27024    switch (len) {
27025      case 3:
27026        h ^= (str.charCodeAt(i2 + 2) & 255) << 16;
27027      case 2:
27028        h ^= (str.charCodeAt(i2 + 1) & 255) << 8;
27029      case 1:
27030        h ^= str.charCodeAt(i2) & 255;
27031        h = /* Math.imul(h, m): */
27032        (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
27033    }
27034    h ^= h >>> 13;
27035    h = /* Math.imul(h, m): */
27036    (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
27037    return ((h ^ h >>> 15) >>> 0).toString(36);
27038  }
27039  var init_emotion_hash_esm = __esm({
27040    "node_modules/@emotion/hash/dist/emotion-hash.esm.js"() {
27041      init_esbuild_shims();
27042    }
27043  });
27044
27045  
vendor: 1,433 bytes, lines 27045-27103
27045// node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
27046  var unitlessKeys;
27047  var init_emotion_unitless_esm = __esm({
27048    "node_modules/@emotion/unitless/dist/emotion-unitless.esm.js"() {
27049      init_esbuild_shims();
27050      unitlessKeys = {
27051        animationIterationCount: 1,
27052        aspectRatio: 1,
27053        borderImageOutset: 1,
27054        borderImageSlice: 1,
27055        borderImageWidth: 1,
27056        boxFlex: 1,
27057        boxFlexGroup: 1,
27058        boxOrdinalGroup: 1,
27059        columnCount: 1,
27060        columns: 1,
27061        flex: 1,
27062        flexGrow: 1,
27063        flexPositive: 1,
27064        flexShrink: 1,
27065        flexNegative: 1,
27066        flexOrder: 1,
27067        gridRow: 1,
27068        gridRowEnd: 1,
27069        gridRowSpan: 1,
27070        gridRowStart: 1,
27071        gridColumn: 1,
27072        gridColumnEnd: 1,
27073        gridColumnSpan: 1,
27074        gridColumnStart: 1,
27075        msGridRow: 1,
27076        msGridRowSpan: 1,
27077        msGridColumn: 1,
27078        msGridColumnSpan: 1,
27079        fontWeight: 1,
27080        lineHeight: 1,
27081        opacity: 1,
27082        order: 1,
27083        orphans: 1,
27084        scale: 1,
27085        tabSize: 1,
27086        widows: 1,
27087        zIndex: 1,
27088        zoom: 1,
27089        WebkitLineClamp: 1,
27090        // SVG-related properties
27091        fillOpacity: 1,
27092        floodOpacity: 1,
27093        stopOpacity: 1,
27094        strokeDasharray: 1,
27095        strokeDashoffset: 1,
27096        strokeMiterlimit: 1,
27097        strokeOpacity: 1,
27098        strokeWidth: 1
27099      };
27100    }
27101  });
27102
27103  
vendor: 6,495 bytes, lines 27103-27285
27103// node_modules/@emotion/serialize/dist/emotion-serialize.esm.js
27104  function handleInterpolation(mergedProps, registered, interpolation) {
27105    if (interpolation == null) {
27106      return "";
27107    }
27108    var componentSelector = interpolation;
27109    if (componentSelector.__emotion_styles !== void 0) {
27110      return componentSelector;
27111    }
27112    switch (typeof interpolation) {
27113      case "boolean": {
27114        return "";
27115      }
27116      case "object": {
27117        var keyframes2 = interpolation;
27118        if (keyframes2.anim === 1) {
27119          cursor = {
27120            name: keyframes2.name,
27121            styles: keyframes2.styles,
27122            next: cursor
27123          };
27124          return keyframes2.name;
27125        }
27126        var serializedStyles = interpolation;
27127        if (serializedStyles.styles !== void 0) {
27128          var next2 = serializedStyles.next;
27129          if (next2 !== void 0) {
27130            while (next2 !== void 0) {
27131              cursor = {
27132                name: next2.name,
27133                styles: next2.styles,
27134                next: cursor
27135              };
27136              next2 = next2.next;
27137            }
27138          }
27139          var styles2 = serializedStyles.styles + ";";
27140          return styles2;
27141        }
27142        return createStringFromObject(mergedProps, registered, interpolation);
27143      }
27144      case "function": {
27145        if (mergedProps !== void 0) {
27146          var previousCursor = cursor;
27147          var result = interpolation(mergedProps);
27148          cursor = previousCursor;
27149          return handleInterpolation(mergedProps, registered, result);
27150        }
27151        break;
27152      }
27153    }
27154    var asString = interpolation;
27155    if (registered == null) {
27156      return asString;
27157    }
27158    var cached = registered[asString];
27159    return cached !== void 0 ? cached : asString;
27160  }
27161  function createStringFromObject(mergedProps, registered, obj) {
27162    var string = "";
27163    if (Array.isArray(obj)) {
27164      for (var i2 = 0; i2 < obj.length; i2++) {
27165        string += handleInterpolation(mergedProps, registered, obj[i2]) + ";";
27166      }
27167    } else {
27168      for (var key in obj) {
27169        var value = obj[key];
27170        if (typeof value !== "object") {
27171          var asString = value;
27172          if (registered != null && registered[asString] !== void 0) {
27173            string += key + "{" + registered[asString] + "}";
27174          } else if (isProcessableValue(asString)) {
27175            string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
27176          }
27177        } else {
27178          if (key === "NO_COMPONENT_SELECTOR" && isDevelopment2) {
27179            throw new Error(noComponentSelectorMessage);
27180          }
27181          if (Array.isArray(value) && typeof value[0] === "string" && (registered == null || registered[value[0]] === void 0)) {
27182            for (var _i = 0; _i < value.length; _i++) {
27183              if (isProcessableValue(value[_i])) {
27184                string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";";
27185              }
27186            }
27187          } else {
27188            var interpolated = handleInterpolation(mergedProps, registered, value);
27189            switch (key) {
27190              case "animation":
27191              case "animationName": {
27192                string += processStyleName(key) + ":" + interpolated + ";";
27193                break;
27194              }
27195              default: {
27196                string += key + "{" + interpolated + "}";
27197              }
27198            }
27199          }
27200        }
27201      }
27202    }
27203    return string;
27204  }
27205  function serializeStyles(args, registered, mergedProps) {
27206    if (args.length === 1 && typeof args[0] === "object" && args[0] !== null && args[0].styles !== void 0) {
27207      return args[0];
27208    }
27209    var stringMode = true;
27210    var styles2 = "";
27211    cursor = void 0;
27212    var strings = args[0];
27213    if (strings == null || strings.raw === void 0) {
27214      stringMode = false;
27215      styles2 += handleInterpolation(mergedProps, registered, strings);
27216    } else {
27217      var asTemplateStringsArr = strings;
27218      styles2 += asTemplateStringsArr[0];
27219    }
27220    for (var i2 = 1; i2 < args.length; i2++) {
27221      styles2 += handleInterpolation(mergedProps, registered, args[i2]);
27222      if (stringMode) {
27223        var templateStringsArr = strings;
27224        styles2 += templateStringsArr[i2];
27225      }
27226    }
27227    labelPattern.lastIndex = 0;
27228    var identifierName = "";
27229    var match2;
27230    while ((match2 = labelPattern.exec(styles2)) !== null) {
27231      identifierName += "-" + match2[1];
27232    }
27233    var name2 = murmur2(styles2) + identifierName;
27234    return {
27235      name: name2,
27236      styles: styles2,
27237      next: cursor
27238    };
27239  }
27240  var isDevelopment2, hyphenateRegex, animationRegex, isCustomProperty, isProcessableValue, processStyleName, processStyleValue, noComponentSelectorMessage, labelPattern, cursor;
27241  var init_emotion_serialize_esm = __esm({
27242    "node_modules/@emotion/serialize/dist/emotion-serialize.esm.js"() {
27243      init_esbuild_shims();
27244      init_emotion_hash_esm();
27245      init_emotion_unitless_esm();
27246      init_emotion_memoize_esm();
27247      isDevelopment2 = false;
27248      hyphenateRegex = /[A-Z]|^ms/g;
27249      animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
27250      isCustomProperty = function isCustomProperty2(property) {
27251        return property.charCodeAt(1) === 45;
27252      };
27253      isProcessableValue = function isProcessableValue2(value) {
27254        return value != null && typeof value !== "boolean";
27255      };
27256      processStyleName = /* @__PURE__ */ memoize(function(styleName) {
27257        return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, "-$&").toLowerCase();
27258      });
27259      processStyleValue = function processStyleValue2(key, value) {
27260        switch (key) {
27261          case "animation":
27262          case "animationName": {
27263            if (typeof value === "string") {
27264              return value.replace(animationRegex, function(match2, p1, p2) {
27265                cursor = {
27266                  name: p1,
27267                  styles: p2,
27268                  next: cursor
27269                };
27270                return p1;
27271              });
27272            }
27273          }
27274        }
27275        if (unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value === "number" && value !== 0) {
27276          return value + "px";
27277        }
27278        return value;
27279      };
27280      noComponentSelectorMessage = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
27281      labelPattern = /label:\s*([^\s;{]+)\s*(;|$)/g;
27282    }
27283  });
27284
27285  
vendor: 782 bytes, lines 27285-27299
27285// node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js
27286  var React2, syncFallback, useInsertionEffect2, useInsertionEffectAlwaysWithSyncFallback;
27287  var init_emotion_use_insertion_effect_with_fallbacks_browser_esm = __esm({
27288    "node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js"() {
27289      init_esbuild_shims();
27290      React2 = __toESM(require_react());
27291      syncFallback = function syncFallback2(create2) {
27292        return create2();
27293      };
27294      useInsertionEffect2 = React2["useInsertionEffect"] ? React2["useInsertionEffect"] : false;
27295      useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect2 || syncFallback;
27296    }
27297  });
27298
27299  
vendor: 4,057 bytes, lines 27299-27387
27299// node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js
27300  var React3, import_react, isDevelopment3, EmotionCacheContext, CacheProvider, withEmotionCache, ThemeContext, hasOwn, typePropName, createEmotionProps, Insertion, Emotion, Emotion$1;
27301  var init_emotion_element_f0de968e_browser_esm = __esm({
27302    "node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js"() {
27303      init_esbuild_shims();
27304      React3 = __toESM(require_react());
27305      import_react = __toESM(require_react());
27306      init_emotion_cache_browser_esm();
27307      init_extends();
27308      init_emotion_weak_memoize_esm();
27309      init_emotion_utils_browser_esm();
27310      init_emotion_serialize_esm();
27311      init_emotion_use_insertion_effect_with_fallbacks_browser_esm();
27312      isDevelopment3 = false;
27313      EmotionCacheContext = /* @__PURE__ */ React3.createContext(
27314        // we're doing this to avoid preconstruct's dead code elimination in this one case
27315        // because this module is primarily intended for the browser and node
27316        // but it's also required in react native and similar environments sometimes
27317        // and we could have a special build just for that
27318        // but this is much easier and the native packages
27319        // might use a different theme context in the future anyway
27320        typeof HTMLElement !== "undefined" ? /* @__PURE__ */ createCache({
27321          key: "css"
27322        }) : null
27323      );
27324      CacheProvider = EmotionCacheContext.Provider;
27325      withEmotionCache = function withEmotionCache2(func) {
27326        return /* @__PURE__ */ (0, import_react.forwardRef)(function(props, ref) {
27327          var cache = (0, import_react.useContext)(EmotionCacheContext);
27328          return func(props, cache, ref);
27329        });
27330      };
27331      ThemeContext = /* @__PURE__ */ React3.createContext({});
27332      hasOwn = {}.hasOwnProperty;
27333      typePropName = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__";
27334      createEmotionProps = function createEmotionProps2(type, props) {
27335        var newProps = {};
27336        for (var _key in props) {
27337          if (hasOwn.call(props, _key)) {
27338            newProps[_key] = props[_key];
27339          }
27340        }
27341        newProps[typePropName] = type;
27342        return newProps;
27343      };
27344      Insertion = function Insertion2(_ref3) {
27345        var cache = _ref3.cache, serialized = _ref3.serialized, isStringTag = _ref3.isStringTag;
27346        registerStyles(cache, serialized, isStringTag);
27347        useInsertionEffectAlwaysWithSyncFallback(function() {
27348          return insertStyles(cache, serialized, isStringTag);
27349        });
27350        return null;
27351      };
27352      Emotion = /* @__PURE__ */ withEmotionCache(function(props, cache, ref) {
27353        var cssProp = props.css;
27354        if (typeof cssProp === "string" && cache.registered[cssProp] !== void 0) {
27355          cssProp = cache.registered[cssProp];
27356        }
27357        var WrappedComponent = props[typePropName];
27358        var registeredStyles = [cssProp];
27359        var className = "";
27360        if (typeof props.className === "string") {
27361          className = getRegisteredStyles(cache.registered, registeredStyles, props.className);
27362        } else if (props.className != null) {
27363          className = props.className + " ";
27364        }
27365        var serialized = serializeStyles(registeredStyles, void 0, React3.useContext(ThemeContext));
27366        className += cache.key + "-" + serialized.name;
27367        var newProps = {};
27368        for (var _key2 in props) {
27369          if (hasOwn.call(props, _key2) && _key2 !== "css" && _key2 !== typePropName && !isDevelopment3) {
27370            newProps[_key2] = props[_key2];
27371          }
27372        }
27373        newProps.className = className;
27374        if (ref) {
27375          newProps.ref = ref;
27376        }
27377        return /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement(Insertion, {
27378          cache,
27379          serialized,
27380          isStringTag: typeof WrappedComponent === "string"
27381        }), /* @__PURE__ */ React3.createElement(WrappedComponent, newProps));
27382      });
27383      Emotion$1 = Emotion;
27384    }
27385  });
27386
27387  
vendor: 2,029 bytes, lines 27387-27441
27387// node_modules/@emotion/react/dist/emotion-react.browser.esm.js
27388  function css() {
27389    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
27390      args[_key] = arguments[_key];
27391    }
27392    return serializeStyles(args);
27393  }
27394  function keyframes() {
27395    var insertable = css.apply(void 0, arguments);
27396    var name2 = "animation-" + insertable.name;
27397    return {
27398      name: name2,
27399      styles: "@keyframes " + name2 + "{" + insertable.styles + "}",
27400      anim: 1,
27401      toString: function toString3() {
27402        return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
27403      }
27404    };
27405  }
27406  var React4, import_hoist_non_react_statics, jsx;
27407  var init_emotion_react_browser_esm = __esm({
27408    "node_modules/@emotion/react/dist/emotion-react.browser.esm.js"() {
27409      init_esbuild_shims();
27410      init_emotion_element_f0de968e_browser_esm();
27411      React4 = __toESM(require_react());
27412      init_emotion_utils_browser_esm();
27413      init_emotion_use_insertion_effect_with_fallbacks_browser_esm();
27414      init_emotion_serialize_esm();
27415      init_emotion_cache_browser_esm();
27416      init_extends();
27417      init_emotion_weak_memoize_esm();
27418      import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
27419      jsx = function jsx2(type, props) {
27420        var args = arguments;
27421        if (props == null || !hasOwn.call(props, "css")) {
27422          return React4.createElement.apply(void 0, args);
27423        }
27424        var argsLength = args.length;
27425        var createElementArgArray = new Array(argsLength);
27426        createElementArgArray[0] = Emotion$1;
27427        createElementArgArray[1] = createEmotionProps(type, props);
27428        for (var i2 = 2; i2 < argsLength; i2++) {
27429          createElementArgArray[i2] = args[i2];
27430        }
27431        return React4.createElement.apply(null, createElementArgArray);
27432      };
27433      (function(_jsx) {
27434        var JSX;
27435        /* @__PURE__ */ (function(_JSX) {
27436        })(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
27437      })(jsx || (jsx = {}));
27438    }
27439  });
27440
27441  
vendor: 1,924 bytes, lines 27441-27502
27441// node_modules/classnames/index.js
27442  var require_classnames = __commonJS({
27443    "node_modules/classnames/index.js"(exports, module) {
27444      init_esbuild_shims();
27445      (function() {
27446        "use strict";
27447        var hasOwn2 = {}.hasOwnProperty;
27448        function classNames2() {
27449          var classes = "";
27450          for (var i2 = 0; i2 < arguments.length; i2++) {
27451            var arg = arguments[i2];
27452            if (arg) {
27453              classes = appendClass(classes, parseValue(arg));
27454            }
27455          }
27456          return classes;
27457        }
27458        function parseValue(arg) {
27459          if (typeof arg === "string" || typeof arg === "number") {
27460            return arg;
27461          }
27462          if (typeof arg !== "object") {
27463            return "";
27464          }
27465          if (Array.isArray(arg)) {
27466            return classNames2.apply(null, arg);
27467          }
27468          if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes("[native code]")) {
27469            return arg.toString();
27470          }
27471          var classes = "";
27472          for (var key in arg) {
27473            if (hasOwn2.call(arg, key) && arg[key]) {
27474              classes = appendClass(classes, key);
27475            }
27476          }
27477          return classes;
27478        }
27479        function appendClass(value, newClass) {
27480          if (!newClass) {
27481            return value;
27482          }
27483          if (value) {
27484            return value + " " + newClass;
27485          }
27486          return value + newClass;
27487        }
27488        if (typeof module !== "undefined" && module.exports) {
27489          classNames2.default = classNames2;
27490          module.exports = classNames2;
27491        } else if (typeof define === "function" && typeof define.amd === "object" && define.amd) {
27492          define("classnames", [], function() {
27493            return classNames2;
27494          });
27495        } else {
27496          window.classNames = classNames2;
27497        }
27498      })();
27499    }
27500  });
27501
27502  
vendor: 2,357 bytes, lines 27502-27573
27502// node_modules/object-assign/index.js
27503  var require_object_assign = __commonJS({
27504    "node_modules/object-assign/index.js"(exports, module) {
27505      "use strict";
27506      init_esbuild_shims();
27507      var getOwnPropertySymbols = Object.getOwnPropertySymbols;
27508      var hasOwnProperty3 = Object.prototype.hasOwnProperty;
27509      var propIsEnumerable = Object.prototype.propertyIsEnumerable;
27510      function toObject(val) {
27511        if (val === null || val === void 0) {
27512          throw new TypeError("Object.assign cannot be called with null or undefined");
27513        }
27514        return Object(val);
27515      }
27516      function shouldUseNative() {
27517        try {
27518          if (!Object.assign) {
27519            return false;
27520          }
27521          var test1 = new String("abc");
27522          test1[5] = "de";
27523          if (Object.getOwnPropertyNames(test1)[0] === "5") {
27524            return false;
27525          }
27526          var test2 = {};
27527          for (var i2 = 0; i2 < 10; i2++) {
27528            test2["_" + String.fromCharCode(i2)] = i2;
27529          }
27530          var order2 = Object.getOwnPropertyNames(test2).map(function(n) {
27531            return test2[n];
27532          });
27533          if (order2.join("") !== "0123456789") {
27534            return false;
27535          }
27536          var test3 = {};
27537          "abcdefghijklmnopqrst".split("").forEach(function(letter) {
27538            test3[letter] = letter;
27539          });
27540          if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") {
27541            return false;
27542          }
27543          return true;
27544        } catch (err) {
27545          return false;
27546        }
27547      }
27548      module.exports = shouldUseNative() ? Object.assign : function(target, source) {
27549        var from2;
27550        var to = toObject(target);
27551        var symbols;
27552        for (var s2 = 1; s2 < arguments.length; s2++) {
27553          from2 = Object(arguments[s2]);
27554          for (var key in from2) {
27555            if (hasOwnProperty3.call(from2, key)) {
27556              to[key] = from2[key];
27557            }
27558          }
27559          if (getOwnPropertySymbols) {
27560            symbols = getOwnPropertySymbols(from2);
27561            for (var i2 = 0; i2 < symbols.length; i2++) {
27562              if (propIsEnumerable.call(from2, symbols[i2])) {
27563                to[symbols[i2]] = from2[symbols[i2]];
27564              }
27565            }
27566          }
27567        }
27568        return to;
27569      };
27570    }
27571  });
27572
27573  
vendor: 371 bytes, lines 27573-27583
27573// node_modules/prop-types/lib/ReactPropTypesSecret.js
27574  var require_ReactPropTypesSecret = __commonJS({
27575    "node_modules/prop-types/lib/ReactPropTypesSecret.js"(exports, module) {
27576      "use strict";
27577      init_esbuild_shims();
27578      var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
27579      module.exports = ReactPropTypesSecret;
27580    }
27581  });
27582
27583  
vendor: 250 bytes, lines 27583-27591
27583// node_modules/prop-types/lib/has.js
27584  var require_has = __commonJS({
27585    "node_modules/prop-types/lib/has.js"(exports, module) {
27586      init_esbuild_shims();
27587      module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
27588    }
27589  });
27590
27591  
vendor: 2,851 bytes, lines 27591-27658
27591// node_modules/prop-types/checkPropTypes.js
27592  var require_checkPropTypes = __commonJS({
27593    "node_modules/prop-types/checkPropTypes.js"(exports, module) {
27594      "use strict";
27595      init_esbuild_shims();
27596      var printWarning = function() {
27597      };
27598      if (true) {
27599        ReactPropTypesSecret = require_ReactPropTypesSecret();
27600        loggedTypeFailures = {};
27601        has = require_has();
27602        printWarning = function(text2) {
27603          var message = "Warning: " + text2;
27604          if (typeof console !== "undefined") {
27605            console.error(message);
27606          }
27607          try {
27608            throw new Error(message);
27609          } catch (x2) {
27610          }
27611        };
27612      }
27613      var ReactPropTypesSecret;
27614      var loggedTypeFailures;
27615      var has;
27616      function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
27617        if (true) {
27618          for (var typeSpecName in typeSpecs) {
27619            if (has(typeSpecs, typeSpecName)) {
27620              var error;
27621              try {
27622                if (typeof typeSpecs[typeSpecName] !== "function") {
27623                  var err = Error(
27624                    (componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
27625                  );
27626                  err.name = "Invariant Violation";
27627                  throw err;
27628                }
27629                error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
27630              } catch (ex) {
27631                error = ex;
27632              }
27633              if (error && !(error instanceof Error)) {
27634                printWarning(
27635                  (componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
27636                );
27637              }
27638              if (error instanceof Error && !(error.message in loggedTypeFailures)) {
27639                loggedTypeFailures[error.message] = true;
27640                var stack = getStack ? getStack() : "";
27641                printWarning(
27642                  "Failed " + location + " type: " + error.message + (stack != null ? stack : "")
27643                );
27644              }
27645            }
27646          }
27647        }
27648      }
27649      checkPropTypes.resetWarningCache = function() {
27650        if (true) {
27651          loggedTypeFailures = {};
27652        }
27653      };
27654      module.exports = checkPropTypes;
27655    }
27656  });
27657
27658  
vendor: 20,541 bytes, lines 27658-28102
27658// node_modules/prop-types/factoryWithTypeCheckers.js
27659  var require_factoryWithTypeCheckers = __commonJS({
27660    "node_modules/prop-types/factoryWithTypeCheckers.js"(exports, module) {
27661      "use strict";
27662      init_esbuild_shims();
27663      var ReactIs = require_react_is();
27664      var assign3 = require_object_assign();
27665      var ReactPropTypesSecret = require_ReactPropTypesSecret();
27666      var has = require_has();
27667      var checkPropTypes = require_checkPropTypes();
27668      var printWarning = function() {
27669      };
27670      if (true) {
27671        printWarning = function(text2) {
27672          var message = "Warning: " + text2;
27673          if (typeof console !== "undefined") {
27674            console.error(message);
27675          }
27676          try {
27677            throw new Error(message);
27678          } catch (x2) {
27679          }
27680        };
27681      }
27682      function emptyFunctionThatReturnsNull() {
27683        return null;
27684      }
27685      module.exports = function(isValidElement, throwOnDirectAccess) {
27686        var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
27687        var FAUX_ITERATOR_SYMBOL = "@@iterator";
27688        function getIteratorFn(maybeIterable) {
27689          var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
27690          if (typeof iteratorFn === "function") {
27691            return iteratorFn;
27692          }
27693        }
27694        var ANONYMOUS = "<<anonymous>>";
27695        var ReactPropTypes = {
27696          array: createPrimitiveTypeChecker("array"),
27697          bigint: createPrimitiveTypeChecker("bigint"),
27698          bool: createPrimitiveTypeChecker("boolean"),
27699          func: createPrimitiveTypeChecker("function"),
27700          number: createPrimitiveTypeChecker("number"),
27701          object: createPrimitiveTypeChecker("object"),
27702          string: createPrimitiveTypeChecker("string"),
27703          symbol: createPrimitiveTypeChecker("symbol"),
27704          any: createAnyTypeChecker(),
27705          arrayOf: createArrayOfTypeChecker,
27706          element: createElementTypeChecker(),
27707          elementType: createElementTypeTypeChecker(),
27708          instanceOf: createInstanceTypeChecker,
27709          node: createNodeChecker(),
27710          objectOf: createObjectOfTypeChecker,
27711          oneOf: createEnumTypeChecker,
27712          oneOfType: createUnionTypeChecker,
27713          shape: createShapeTypeChecker,
27714          exact: createStrictShapeTypeChecker
27715        };
27716        function is(x2, y) {
27717          if (x2 === y) {
27718            return x2 !== 0 || 1 / x2 === 1 / y;
27719          } else {
27720            return x2 !== x2 && y !== y;
27721          }
27722        }
27723        function PropTypeError(message, data) {
27724          this.message = message;
27725          this.data = data && typeof data === "object" ? data : {};
27726          this.stack = "";
27727        }
27728        PropTypeError.prototype = Error.prototype;
27729        function createChainableTypeChecker(validate) {
27730          if (true) {
27731            var manualPropTypeCallCache = {};
27732            var manualPropTypeWarningCount = 0;
27733          }
27734          function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
27735            componentName = componentName || ANONYMOUS;
27736            propFullName = propFullName || propName;
27737            if (secret !== ReactPropTypesSecret) {
27738              if (throwOnDirectAccess) {
27739                var err = new Error(
27740                  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
27741                );
27742                err.name = "Invariant Violation";
27743                throw err;
27744              } else if (typeof console !== "undefined") {
27745                var cacheKey = componentName + ":" + propName;
27746                if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
27747                manualPropTypeWarningCount < 3) {
27748                  printWarning(
27749                    "You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
27750                  );
27751                  manualPropTypeCallCache[cacheKey] = true;
27752                  manualPropTypeWarningCount++;
27753                }
27754              }
27755            }
27756            if (props[propName] == null) {
27757              if (isRequired) {
27758                if (props[propName] === null) {
27759                  return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`."));
27760                }
27761                return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`."));
27762              }
27763              return null;
27764            } else {
27765              return validate(props, propName, componentName, location, propFullName);
27766            }
27767          }
27768          var chainedCheckType = checkType.bind(null, false);
27769          chainedCheckType.isRequired = checkType.bind(null, true);
27770          return chainedCheckType;
27771        }
27772        function createPrimitiveTypeChecker(expectedType) {
27773          function validate(props, propName, componentName, location, propFullName, secret) {
27774            var propValue = props[propName];
27775            var propType = getPropType(propValue);
27776            if (propType !== expectedType) {
27777              var preciseType = getPreciseType(propValue);
27778              return new PropTypeError(
27779                "Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."),
27780                { expectedType }
27781              );
27782            }
27783            return null;
27784          }
27785          return createChainableTypeChecker(validate);
27786        }
27787        function createAnyTypeChecker() {
27788          return createChainableTypeChecker(emptyFunctionThatReturnsNull);
27789        }
27790        function createArrayOfTypeChecker(typeChecker) {
27791          function validate(props, propName, componentName, location, propFullName) {
27792            if (typeof typeChecker !== "function") {
27793              return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside arrayOf.");
27794            }
27795            var propValue = props[propName];
27796            if (!Array.isArray(propValue)) {
27797              var propType = getPropType(propValue);
27798              return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an array."));
27799            }
27800            for (var i2 = 0; i2 < propValue.length; i2++) {
27801              var error = typeChecker(propValue, i2, componentName, location, propFullName + "[" + i2 + "]", ReactPropTypesSecret);
27802              if (error instanceof Error) {
27803                return error;
27804              }
27805            }
27806            return null;
27807          }
27808          return createChainableTypeChecker(validate);
27809        }
27810        function createElementTypeChecker() {
27811          function validate(props, propName, componentName, location, propFullName) {
27812            var propValue = props[propName];
27813            if (!isValidElement(propValue)) {
27814              var propType = getPropType(propValue);
27815              return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement."));
27816            }
27817            return null;
27818          }
27819          return createChainableTypeChecker(validate);
27820        }
27821        function createElementTypeTypeChecker() {
27822          function validate(props, propName, componentName, location, propFullName) {
27823            var propValue = props[propName];
27824            if (!ReactIs.isValidElementType(propValue)) {
27825              var propType = getPropType(propValue);
27826              return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
27827            }
27828            return null;
27829          }
27830          return createChainableTypeChecker(validate);
27831        }
27832        function createInstanceTypeChecker(expectedClass) {
27833          function validate(props, propName, componentName, location, propFullName) {
27834            if (!(props[propName] instanceof expectedClass)) {
27835              var expectedClassName = expectedClass.name || ANONYMOUS;
27836              var actualClassName = getClassName(props[propName]);
27837              return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
27838            }
27839            return null;
27840          }
27841          return createChainableTypeChecker(validate);
27842        }
27843        function createEnumTypeChecker(expectedValues) {
27844          if (!Array.isArray(expectedValues)) {
27845            if (true) {
27846              if (arguments.length > 1) {
27847                printWarning(
27848                  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
27849                );
27850              } else {
27851                printWarning("Invalid argument supplied to oneOf, expected an array.");
27852              }
27853            }
27854            return emptyFunctionThatReturnsNull;
27855          }
27856          function validate(props, propName, componentName, location, propFullName) {
27857            var propValue = props[propName];
27858            for (var i2 = 0; i2 < expectedValues.length; i2++) {
27859              if (is(propValue, expectedValues[i2])) {
27860                return null;
27861              }
27862            }
27863            var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
27864              var type = getPreciseType(value);
27865              if (type === "symbol") {
27866                return String(value);
27867              }
27868              return value;
27869            });
27870            return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
27871          }
27872          return createChainableTypeChecker(validate);
27873        }
27874        function createObjectOfTypeChecker(typeChecker) {
27875          function validate(props, propName, componentName, location, propFullName) {
27876            if (typeof typeChecker !== "function") {
27877              return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
27878            }
27879            var propValue = props[propName];
27880            var propType = getPropType(propValue);
27881            if (propType !== "object") {
27882              return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
27883            }
27884            for (var key in propValue) {
27885              if (has(propValue, key)) {
27886                var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
27887                if (error instanceof Error) {
27888                  return error;
27889                }
27890              }
27891            }
27892            return null;
27893          }
27894          return createChainableTypeChecker(validate);
27895        }
27896        function createUnionTypeChecker(arrayOfTypeCheckers) {
27897          if (!Array.isArray(arrayOfTypeCheckers)) {
27898            true ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
27899            return emptyFunctionThatReturnsNull;
27900          }
27901          for (var i2 = 0; i2 < arrayOfTypeCheckers.length; i2++) {
27902            var checker = arrayOfTypeCheckers[i2];
27903            if (typeof checker !== "function") {
27904              printWarning(
27905                "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i2 + "."
27906              );
27907              return emptyFunctionThatReturnsNull;
27908            }
27909          }
27910          function validate(props, propName, componentName, location, propFullName) {
27911            var expectedTypes = [];
27912            for (var i3 = 0; i3 < arrayOfTypeCheckers.length; i3++) {
27913              var checker2 = arrayOfTypeCheckers[i3];
27914              var checkerResult = checker2(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
27915              if (checkerResult == null) {
27916                return null;
27917              }
27918              if (checkerResult.data && has(checkerResult.data, "expectedType")) {
27919                expectedTypes.push(checkerResult.data.expectedType);
27920              }
27921            }
27922            var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
27923            return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
27924          }
27925          return createChainableTypeChecker(validate);
27926        }
27927        function createNodeChecker() {
27928          function validate(props, propName, componentName, location, propFullName) {
27929            if (!isNode2(props[propName])) {
27930              return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
27931            }
27932            return null;
27933          }
27934          return createChainableTypeChecker(validate);
27935        }
27936        function invalidValidatorError(componentName, location, propFullName, key, type) {
27937          return new PropTypeError(
27938            (componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`."
27939          );
27940        }
27941        function createShapeTypeChecker(shapeTypes) {
27942          function validate(props, propName, componentName, location, propFullName) {
27943            var propValue = props[propName];
27944            var propType = getPropType(propValue);
27945            if (propType !== "object") {
27946              return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
27947            }
27948            for (var key in shapeTypes) {
27949              var checker = shapeTypes[key];
27950              if (typeof checker !== "function") {
27951                return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
27952              }
27953              var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
27954              if (error) {
27955                return error;
27956              }
27957            }
27958            return null;
27959          }
27960          return createChainableTypeChecker(validate);
27961        }
27962        function createStrictShapeTypeChecker(shapeTypes) {
27963          function validate(props, propName, componentName, location, propFullName) {
27964            var propValue = props[propName];
27965            var propType = getPropType(propValue);
27966            if (propType !== "object") {
27967              return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
27968            }
27969            var allKeys = assign3({}, props[propName], shapeTypes);
27970            for (var key in allKeys) {
27971              var checker = shapeTypes[key];
27972              if (has(shapeTypes, key) && typeof checker !== "function") {
27973                return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
27974              }
27975              if (!checker) {
27976                return new PropTypeError(
27977                  "Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, "  ") + "\nValid keys: " + JSON.stringify(Object.keys(shapeTypes), null, "  ")
27978                );
27979              }
27980              var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
27981              if (error) {
27982                return error;
27983              }
27984            }
27985            return null;
27986          }
27987          return createChainableTypeChecker(validate);
27988        }
27989        function isNode2(propValue) {
27990          switch (typeof propValue) {
27991            case "number":
27992            case "string":
27993            case "undefined":
27994              return true;
27995            case "boolean":
27996              return !propValue;
27997            case "object":
27998              if (Array.isArray(propValue)) {
27999                return propValue.every(isNode2);
28000              }
28001              if (propValue === null || isValidElement(propValue)) {
28002                return true;
28003              }
28004              var iteratorFn = getIteratorFn(propValue);
28005              if (iteratorFn) {
28006                var iterator2 = iteratorFn.call(propValue);
28007                var step;
28008                if (iteratorFn !== propValue.entries) {
28009                  while (!(step = iterator2.next()).done) {
28010                    if (!isNode2(step.value)) {
28011                      return false;
28012                    }
28013                  }
28014                } else {
28015                  while (!(step = iterator2.next()).done) {
28016                    var entry = step.value;
28017                    if (entry) {
28018                      if (!isNode2(entry[1])) {
28019                        return false;
28020                      }
28021                    }
28022                  }
28023                }
28024              } else {
28025                return false;
28026              }
28027              return true;
28028            default:
28029              return false;
28030          }
28031        }
28032        function isSymbol(propType, propValue) {
28033          if (propType === "symbol") {
28034            return true;
28035          }
28036          if (!propValue) {
28037            return false;
28038          }
28039          if (propValue["@@toStringTag"] === "Symbol") {
28040            return true;
28041          }
28042          if (typeof Symbol === "function" && propValue instanceof Symbol) {
28043            return true;
28044          }
28045          return false;
28046        }
28047        function getPropType(propValue) {
28048          var propType = typeof propValue;
28049          if (Array.isArray(propValue)) {
28050            return "array";
28051          }
28052          if (propValue instanceof RegExp) {
28053            return "object";
28054          }
28055          if (isSymbol(propType, propValue)) {
28056            return "symbol";
28057          }
28058          return propType;
28059        }
28060        function getPreciseType(propValue) {
28061          if (typeof propValue === "undefined" || propValue === null) {
28062            return "" + propValue;
28063          }
28064          var propType = getPropType(propValue);
28065          if (propType === "object") {
28066            if (propValue instanceof Date) {
28067              return "date";
28068            } else if (propValue instanceof RegExp) {
28069              return "regexp";
28070            }
28071          }
28072          return propType;
28073        }
28074        function getPostfixForTypeWarning(value) {
28075          var type = getPreciseType(value);
28076          switch (type) {
28077            case "array":
28078            case "object":
28079              return "an " + type;
28080            case "boolean":
28081            case "date":
28082            case "regexp":
28083              return "a " + type;
28084            default:
28085              return type;
28086          }
28087        }
28088        function getClassName(propValue) {
28089          if (!propValue.constructor || !propValue.constructor.name) {
28090            return ANONYMOUS;
28091          }
28092          return propValue.constructor.name;
28093        }
28094        ReactPropTypes.checkPropTypes = checkPropTypes;
28095        ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
28096        ReactPropTypes.PropTypes = ReactPropTypes;
28097        return ReactPropTypes;
28098      };
28099    }
28100  });
28101
28102  
vendor: 475 bytes, lines 28102-28118
28102// node_modules/prop-types/index.js
28103  var require_prop_types = __commonJS({
28104    "node_modules/prop-types/index.js"(exports, module) {
28105      init_esbuild_shims();
28106      if (true) {
28107        ReactIs = require_react_is();
28108        throwOnDirectAccess = true;
28109        module.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
28110      } else {
28111        module.exports = null();
28112      }
28113      var ReactIs;
28114      var throwOnDirectAccess;
28115    }
28116  });
28117
28118  
vendor: 852 bytes, lines 28118-28141
28118// node_modules/react-toggle/dist/component/check.js
28119  var require_check = __commonJS({
28120    "node_modules/react-toggle/dist/component/check.js"(exports) {
28121      "use strict";
28122      init_esbuild_shims();
28123      Object.defineProperty(exports, "__esModule", {
28124        value: true
28125      });
28126      var _react = require_react();
28127      var _react2 = _interopRequireDefault(_react);
28128      function _interopRequireDefault(obj) {
28129        return obj && obj.__esModule ? obj : { default: obj };
28130      }
28131      exports.default = function() {
28132        return _react2.default.createElement(
28133          "svg",
28134          { width: "14", height: "11", viewBox: "0 0 14 11" },
28135          _react2.default.createElement("path", { d: "M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0", fill: "#fff", fillRule: "evenodd" })
28136        );
28137      };
28138    }
28139  });
28140
28141  
vendor: 888 bytes, lines 28141-28164
28141// node_modules/react-toggle/dist/component/x.js
28142  var require_x = __commonJS({
28143    "node_modules/react-toggle/dist/component/x.js"(exports) {
28144      "use strict";
28145      init_esbuild_shims();
28146      Object.defineProperty(exports, "__esModule", {
28147        value: true
28148      });
28149      var _react = require_react();
28150      var _react2 = _interopRequireDefault(_react);
28151      function _interopRequireDefault(obj) {
28152        return obj && obj.__esModule ? obj : { default: obj };
28153      }
28154      exports.default = function() {
28155        return _react2.default.createElement(
28156          "svg",
28157          { width: "10", height: "10", viewBox: "0 0 10 10" },
28158          _react2.default.createElement("path", { d: "M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12", fill: "#fff", fillRule: "evenodd" })
28159        );
28160      };
28161    }
28162  });
28163
28164  
vendor: 806 bytes, lines 28164-28190
28164// node_modules/react-toggle/dist/component/util.js
28165  var require_util = __commonJS({
28166    "node_modules/react-toggle/dist/component/util.js"(exports) {
28167      "use strict";
28168      init_esbuild_shims();
28169      Object.defineProperty(exports, "__esModule", {
28170        value: true
28171      });
28172      exports.pointerCoord = pointerCoord;
28173      function pointerCoord(event) {
28174        if (event) {
28175          var changedTouches = event.changedTouches;
28176          if (changedTouches && changedTouches.length > 0) {
28177            var touch = changedTouches[0];
28178            return { x: touch.clientX, y: touch.clientY };
28179          }
28180          var pageX = event.pageX;
28181          if (pageX !== void 0) {
28182            return { x: pageX, y: event.pageY };
28183          }
28184        }
28185        return { x: 0, y: 0 };
28186      }
28187    }
28188  });
28189
28190  
vendor: 11,086 bytes, lines 28190-28465
28190// node_modules/react-toggle/dist/component/index.js
28191  var require_component = __commonJS({
28192    "node_modules/react-toggle/dist/component/index.js"(exports) {
28193      "use strict";
28194      init_esbuild_shims();
28195      Object.defineProperty(exports, "__esModule", {
28196        value: true
28197      });
28198      var _extends2 = Object.assign || function(target) {
28199        for (var i2 = 1; i2 < arguments.length; i2++) {
28200          var source = arguments[i2];
28201          for (var key in source) {
28202            if (Object.prototype.hasOwnProperty.call(source, key)) {
28203              target[key] = source[key];
28204            }
28205          }
28206        }
28207        return target;
28208      };
28209      var _createClass2 = /* @__PURE__ */ (function() {
28210        function defineProperties(target, props) {
28211          for (var i2 = 0; i2 < props.length; i2++) {
28212            var descriptor = props[i2];
28213            descriptor.enumerable = descriptor.enumerable || false;
28214            descriptor.configurable = true;
28215            if ("value" in descriptor) descriptor.writable = true;
28216            Object.defineProperty(target, descriptor.key, descriptor);
28217          }
28218        }
28219        return function(Constructor, protoProps, staticProps) {
28220          if (protoProps) defineProperties(Constructor.prototype, protoProps);
28221          if (staticProps) defineProperties(Constructor, staticProps);
28222          return Constructor;
28223        };
28224      })();
28225      var _react = require_react();
28226      var _react2 = _interopRequireDefault(_react);
28227      var _classnames = require_classnames();
28228      var _classnames2 = _interopRequireDefault(_classnames);
28229      var _propTypes = require_prop_types();
28230      var _propTypes2 = _interopRequireDefault(_propTypes);
28231      var _check = require_check();
28232      var _check2 = _interopRequireDefault(_check);
28233      var _x = require_x();
28234      var _x2 = _interopRequireDefault(_x);
28235      var _util = require_util();
28236      function _interopRequireDefault(obj) {
28237        return obj && obj.__esModule ? obj : { default: obj };
28238      }
28239      function _objectWithoutProperties3(obj, keys) {
28240        var target = {};
28241        for (var i2 in obj) {
28242          if (keys.indexOf(i2) >= 0) continue;
28243          if (!Object.prototype.hasOwnProperty.call(obj, i2)) continue;
28244          target[i2] = obj[i2];
28245        }
28246        return target;
28247      }
28248      function _classCallCheck2(instance, Constructor) {
28249        if (!(instance instanceof Constructor)) {
28250          throw new TypeError("Cannot call a class as a function");
28251        }
28252      }
28253      function _possibleConstructorReturn2(self2, call) {
28254        if (!self2) {
28255          throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
28256        }
28257        return call && (typeof call === "object" || typeof call === "function") ? call : self2;
28258      }
28259      function _inherits2(subClass, superClass) {
28260        if (typeof superClass !== "function" && superClass !== null) {
28261          throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
28262        }
28263        subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });
28264        if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
28265      }
28266      var Toggle2 = (function(_PureComponent) {
28267        _inherits2(Toggle3, _PureComponent);
28268        function Toggle3(props) {
28269          _classCallCheck2(this, Toggle3);
28270          var _this = _possibleConstructorReturn2(this, (Toggle3.__proto__ || Object.getPrototypeOf(Toggle3)).call(this, props));
28271          _this.handleClick = _this.handleClick.bind(_this);
28272          _this.handleTouchStart = _this.handleTouchStart.bind(_this);
28273          _this.handleTouchMove = _this.handleTouchMove.bind(_this);
28274          _this.handleTouchEnd = _this.handleTouchEnd.bind(_this);
28275          _this.handleFocus = _this.handleFocus.bind(_this);
28276          _this.handleBlur = _this.handleBlur.bind(_this);
28277          _this.previouslyChecked = !!(props.checked || props.defaultChecked);
28278          _this.state = {
28279            checked: !!(props.checked || props.defaultChecked),
28280            hasFocus: false
28281          };
28282          return _this;
28283        }
28284        _createClass2(Toggle3, [{
28285          key: "componentDidUpdate",
28286          value: function componentDidUpdate(prevProps) {
28287            if (prevProps.checked !== this.props.checked) {
28288              this.setState({ checked: !!this.props.checked });
28289            }
28290          }
28291        }, {
28292          key: "handleClick",
28293          value: function handleClick(event) {
28294            if (this.props.disabled) {
28295              return;
28296            }
28297            var checkbox = this.input;
28298            if (event.target !== checkbox && !this.moved) {
28299              this.previouslyChecked = checkbox.checked;
28300              event.preventDefault();
28301              checkbox.focus();
28302              checkbox.click();
28303              return;
28304            }
28305            var checked = this.props.hasOwnProperty("checked") ? this.props.checked : checkbox.checked;
28306            this.setState({ checked });
28307          }
28308        }, {
28309          key: "handleTouchStart",
28310          value: function handleTouchStart(event) {
28311            if (this.props.disabled) {
28312              return;
28313            }
28314            this.startX = (0, _util.pointerCoord)(event).x;
28315            this.activated = true;
28316          }
28317        }, {
28318          key: "handleTouchMove",
28319          value: function handleTouchMove(event) {
28320            if (!this.activated) return;
28321            this.moved = true;
28322            if (this.startX) {
28323              var currentX = (0, _util.pointerCoord)(event).x;
28324              if (this.state.checked && currentX + 15 < this.startX) {
28325                this.setState({ checked: false });
28326                this.startX = currentX;
28327                this.activated = true;
28328              } else if (currentX - 15 > this.startX) {
28329                this.setState({ checked: true });
28330                this.startX = currentX;
28331                this.activated = currentX < this.startX + 5;
28332              }
28333            }
28334          }
28335        }, {
28336          key: "handleTouchEnd",
28337          value: function handleTouchEnd(event) {
28338            if (!this.moved) return;
28339            var checkbox = this.input;
28340            event.preventDefault();
28341            if (this.startX) {
28342              var endX = (0, _util.pointerCoord)(event).x;
28343              if (this.previouslyChecked === true && this.startX + 4 > endX) {
28344                if (this.previouslyChecked !== this.state.checked) {
28345                  this.setState({ checked: false });
28346                  this.previouslyChecked = this.state.checked;
28347                  checkbox.click();
28348                }
28349              } else if (this.startX - 4 < endX) {
28350                if (this.previouslyChecked !== this.state.checked) {
28351                  this.setState({ checked: true });
28352                  this.previouslyChecked = this.state.checked;
28353                  checkbox.click();
28354                }
28355              }
28356              this.activated = false;
28357              this.startX = null;
28358              this.moved = false;
28359            }
28360          }
28361        }, {
28362          key: "handleFocus",
28363          value: function handleFocus(event) {
28364            var onFocus2 = this.props.onFocus;
28365            if (onFocus2) {
28366              onFocus2(event);
28367            }
28368            this.setState({ hasFocus: true });
28369          }
28370        }, {
28371          key: "handleBlur",
28372          value: function handleBlur(event) {
28373            var onBlur = this.props.onBlur;
28374            if (onBlur) {
28375              onBlur(event);
28376            }
28377            this.setState({ hasFocus: false });
28378          }
28379        }, {
28380          key: "getIcon",
28381          value: function getIcon(type) {
28382            var icons = this.props.icons;
28383            if (!icons) {
28384              return null;
28385            }
28386            return icons[type] === void 0 ? Toggle3.defaultProps.icons[type] : icons[type];
28387          }
28388        }, {
28389          key: "render",
28390          value: function render2() {
28391            var _this2 = this;
28392            var _props = this.props, className = _props.className, _icons = _props.icons, inputProps = _objectWithoutProperties3(_props, ["className", "icons"]);
28393            var classes = (0, _classnames2.default)("react-toggle", {
28394              "react-toggle--checked": this.state.checked,
28395              "react-toggle--focus": this.state.hasFocus,
28396              "react-toggle--disabled": this.props.disabled
28397            }, className);
28398            return _react2.default.createElement(
28399              "div",
28400              {
28401                className: classes,
28402                onClick: this.handleClick,
28403                onTouchStart: this.handleTouchStart,
28404                onTouchMove: this.handleTouchMove,
28405                onTouchEnd: this.handleTouchEnd
28406              },
28407              _react2.default.createElement(
28408                "div",
28409                { className: "react-toggle-track" },
28410                _react2.default.createElement(
28411                  "div",
28412                  { className: "react-toggle-track-check" },
28413                  this.getIcon("checked")
28414                ),
28415                _react2.default.createElement(
28416                  "div",
28417                  { className: "react-toggle-track-x" },
28418                  this.getIcon("unchecked")
28419                )
28420              ),
28421              _react2.default.createElement("div", { className: "react-toggle-thumb" }),
28422              _react2.default.createElement("input", _extends2({}, inputProps, {
28423                ref: function ref(_ref3) {
28424                  _this2.input = _ref3;
28425                },
28426                onFocus: this.handleFocus,
28427                onBlur: this.handleBlur,
28428                className: "react-toggle-screenreader-only",
28429                type: "checkbox"
28430              }))
28431            );
28432          }
28433        }]);
28434        return Toggle3;
28435      })(_react.PureComponent);
28436      exports.default = Toggle2;
28437      Toggle2.displayName = "Toggle";
28438      Toggle2.defaultProps = {
28439        icons: {
28440          checked: _react2.default.createElement(_check2.default, null),
28441          unchecked: _react2.default.createElement(_x2.default, null)
28442        }
28443      };
28444      Toggle2.propTypes = {
28445        checked: _propTypes2.default.bool,
28446        disabled: _propTypes2.default.bool,
28447        defaultChecked: _propTypes2.default.bool,
28448        onChange: _propTypes2.default.func,
28449        onFocus: _propTypes2.default.func,
28450        onBlur: _propTypes2.default.func,
28451        className: _propTypes2.default.string,
28452        name: _propTypes2.default.string,
28453        value: _propTypes2.default.string,
28454        id: _propTypes2.default.string,
28455        "aria-labelledby": _propTypes2.default.string,
28456        "aria-label": _propTypes2.default.string,
28457        icons: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.shape({
28458          checked: _propTypes2.default.node,
28459          unchecked: _propTypes2.default.node
28460        })])
28461      };
28462    }
28463  });
28464
28465  
vendor: 514 bytes, lines 28465-28480
28465// node_modules/react-html-parser/lib/utils/isEmptyTextNode.js
28466  var require_isEmptyTextNode = __commonJS({
28467    "node_modules/react-html-parser/lib/utils/isEmptyTextNode.js"(exports) {
28468      "use strict";
28469      init_esbuild_shims();
28470      Object.defineProperty(exports, "__esModule", {
28471        value: true
28472      });
28473      exports.default = isEmptyTextNode;
28474      function isEmptyTextNode(node2) {
28475        return node2.type === "text" && /\r?\n/.test(node2.data) && node2.data.trim() === "";
28476      }
28477    }
28478  });
28479
28480  
vendor: 537 bytes, lines 28480-28487
28480// node_modules/entities/maps/decode.json
28481  var require_decode = __commonJS({
28482    "node_modules/entities/maps/decode.json"(exports, module) {
28483      module.exports = { "0": 65533, "128": 8364, "130": 8218, "131": 402, "132": 8222, "133": 8230, "134": 8224, "135": 8225, "136": 710, "137": 8240, "138": 352, "139": 8249, "140": 338, "142": 381, "145": 8216, "146": 8217, "147": 8220, "148": 8221, "149": 8226, "150": 8211, "151": 8212, "152": 732, "153": 8482, "154": 353, "155": 8250, "156": 339, "158": 382, "159": 376 };
28484    }
28485  });
28486
28487  
vendor: 842 bytes, lines 28487-28512
28487// node_modules/entities/lib/decode_codepoint.js
28488  var require_decode_codepoint = __commonJS({
28489    "node_modules/entities/lib/decode_codepoint.js"(exports, module) {
28490      init_esbuild_shims();
28491      var decodeMap = require_decode();
28492      module.exports = decodeCodePoint;
28493      function decodeCodePoint(codePoint) {
28494        if (codePoint >= 55296 && codePoint <= 57343 || codePoint > 1114111) {
28495          return "\uFFFD";
28496        }
28497        if (codePoint in decodeMap) {
28498          codePoint = decodeMap[codePoint];
28499        }
28500        var output = "";
28501        if (codePoint > 65535) {
28502          codePoint -= 65536;
28503          output += String.fromCharCode(codePoint >>> 10 & 1023 | 55296);
28504          codePoint = 56320 | codePoint & 1023;
28505        }
28506        output += String.fromCharCode(codePoint);
28507        return output;
28508      }
28509    }
28510  });
28511
28512  
vendor: 40,177 bytes, lines 28512-28519
28512// node_modules/entities/maps/entities.json
28513  var require_entities = __commonJS({
28514    "node_modules/entities/maps/entities.json"(exports, module) {
28515      module.exports = { Aacute: "\xC1", aacute: "\xE1", Abreve: "\u0102", abreve: "\u0103", ac: "\u223E", acd: "\u223F", acE: "\u223E\u0333", Acirc: "\xC2", acirc: "\xE2", acute: "\xB4", Acy: "\u0410", acy: "\u0430", AElig: "\xC6", aelig: "\xE6", af: "\u2061", Afr: "\u{1D504}", afr: "\u{1D51E}", Agrave: "\xC0", agrave: "\xE0", alefsym: "\u2135", aleph: "\u2135", Alpha: "\u0391", alpha: "\u03B1", Amacr: "\u0100", amacr: "\u0101", amalg: "\u2A3F", amp: "&", AMP: "&", andand: "\u2A55", And: "\u2A53", and: "\u2227", andd: "\u2A5C", andslope: "\u2A58", andv: "\u2A5A", ang: "\u2220", ange: "\u29A4", angle: "\u2220", angmsdaa: "\u29A8", angmsdab: "\u29A9", angmsdac: "\u29AA", angmsdad: "\u29AB", angmsdae: "\u29AC", angmsdaf: "\u29AD", angmsdag: "\u29AE", angmsdah: "\u29AF", angmsd: "\u2221", angrt: "\u221F", angrtvb: "\u22BE", angrtvbd: "\u299D", angsph: "\u2222", angst: "\xC5", angzarr: "\u237C", Aogon: "\u0104", aogon: "\u0105", Aopf: "\u{1D538}", aopf: "\u{1D552}", apacir: "\u2A6F", ap: "\u2248", apE: "\u2A70", ape: "\u224A", apid: "\u224B", apos: "'", ApplyFunction: "\u2061", approx: "\u2248", approxeq: "\u224A", Aring: "\xC5", aring: "\xE5", Ascr: "\u{1D49C}", ascr: "\u{1D4B6}", Assign: "\u2254", ast: "*", asymp: "\u2248", asympeq: "\u224D", Atilde: "\xC3", atilde: "\xE3", Auml: "\xC4", auml: "\xE4", awconint: "\u2233", awint: "\u2A11", backcong: "\u224C", backepsilon: "\u03F6", backprime: "\u2035", backsim: "\u223D", backsimeq: "\u22CD", Backslash: "\u2216", Barv: "\u2AE7", barvee: "\u22BD", barwed: "\u2305", Barwed: "\u2306", barwedge: "\u2305", bbrk: "\u23B5", bbrktbrk: "\u23B6", bcong: "\u224C", Bcy: "\u0411", bcy: "\u0431", bdquo: "\u201E", becaus: "\u2235", because: "\u2235", Because: "\u2235", bemptyv: "\u29B0", bepsi: "\u03F6", bernou: "\u212C", Bernoullis: "\u212C", Beta: "\u0392", beta: "\u03B2", beth: "\u2136", between: "\u226C", Bfr: "\u{1D505}", bfr: "\u{1D51F}", bigcap: "\u22C2", bigcirc: "\u25EF", bigcup: "\u22C3", bigodot: "\u2A00", bigoplus: "\u2A01", bigotimes: "\u2A02", bigsqcup: "\u2A06", bigstar: "\u2605", bigtriangledown: "\u25BD", bigtriangleup: "\u25B3", biguplus: "\u2A04", bigvee: "\u22C1", bigwedge: "\u22C0", bkarow: "\u290D", blacklozenge: "\u29EB", blacksquare: "\u25AA", blacktriangle: "\u25B4", blacktriangledown: "\u25BE", blacktriangleleft: "\u25C2", blacktriangleright: "\u25B8", blank: "\u2423", blk12: "\u2592", blk14: "\u2591", blk34: "\u2593", block: "\u2588", bne: "=\u20E5", bnequiv: "\u2261\u20E5", bNot: "\u2AED", bnot: "\u2310", Bopf: "\u{1D539}", bopf: "\u{1D553}", bot: "\u22A5", bottom: "\u22A5", bowtie: "\u22C8", boxbox: "\u29C9", boxdl: "\u2510", boxdL: "\u2555", boxDl: "\u2556", boxDL: "\u2557", boxdr: "\u250C", boxdR: "\u2552", boxDr: "\u2553", boxDR: "\u2554", boxh: "\u2500", boxH: "\u2550", boxhd: "\u252C", boxHd: "\u2564", boxhD: "\u2565", boxHD: "\u2566", boxhu: "\u2534", boxHu: "\u2567", boxhU: "\u2568", boxHU: "\u2569", boxminus: "\u229F", boxplus: "\u229E", boxtimes: "\u22A0", boxul: "\u2518", boxuL: "\u255B", boxUl: "\u255C", boxUL: "\u255D", boxur: "\u2514", boxuR: "\u2558", boxUr: "\u2559", boxUR: "\u255A", boxv: "\u2502", boxV: "\u2551", boxvh: "\u253C", boxvH: "\u256A", boxVh: "\u256B", boxVH: "\u256C", boxvl: "\u2524", boxvL: "\u2561", boxVl: "\u2562", boxVL: "\u2563", boxvr: "\u251C", boxvR: "\u255E", boxVr: "\u255F", boxVR: "\u2560", bprime: "\u2035", breve: "\u02D8", Breve: "\u02D8", brvbar: "\xA6", bscr: "\u{1D4B7}", Bscr: "\u212C", bsemi: "\u204F", bsim: "\u223D", bsime: "\u22CD", bsolb: "\u29C5", bsol: "\\", bsolhsub: "\u27C8", bull: "\u2022", bullet: "\u2022", bump: "\u224E", bumpE: "\u2AAE", bumpe: "\u224F", Bumpeq: "\u224E", bumpeq: "\u224F", Cacute: "\u0106", cacute: "\u0107", capand: "\u2A44", capbrcup: "\u2A49", capcap: "\u2A4B", cap: "\u2229", Cap: "\u22D2", capcup: "\u2A47", capdot: "\u2A40", CapitalDifferentialD: "\u2145", caps: "\u2229\uFE00", caret: "\u2041", caron: "\u02C7", Cayleys: "\u212D", ccaps: "\u2A4D", Ccaron: "\u010C", ccaron: "\u010D", Ccedil: "\xC7", ccedil: "\xE7", Ccirc: "\u0108", ccirc: "\u0109", Cconint: "\u2230", ccups: "\u2A4C", ccupssm: "\u2A50", Cdot: "\u010A", cdot: "\u010B", cedil: "\xB8", Cedilla: "\xB8", cemptyv: "\u29B2", cent: "\xA2", centerdot: "\xB7", CenterDot: "\xB7", cfr: "\u{1D520}", Cfr: "\u212D", CHcy: "\u0427", chcy: "\u0447", check: "\u2713", checkmark: "\u2713", Chi: "\u03A7", chi: "\u03C7", circ: "\u02C6", circeq: "\u2257", circlearrowleft: "\u21BA", circlearrowright: "\u21BB", circledast: "\u229B", circledcirc: "\u229A", circleddash: "\u229D", CircleDot: "\u2299", circledR: "\xAE", circledS: "\u24C8", CircleMinus: "\u2296", CirclePlus: "\u2295", CircleTimes: "\u2297", cir: "\u25CB", cirE: "\u29C3", cire: "\u2257", cirfnint: "\u2A10", cirmid: "\u2AEF", cirscir: "\u29C2", ClockwiseContourIntegral: "\u2232", CloseCurlyDoubleQuote: "\u201D", CloseCurlyQuote: "\u2019", clubs: "\u2663", clubsuit: "\u2663", colon: ":", Colon: "\u2237", Colone: "\u2A74", colone: "\u2254", coloneq: "\u2254", comma: ",", commat: "@", comp: "\u2201", compfn: "\u2218", complement: "\u2201", complexes: "\u2102", cong: "\u2245", congdot: "\u2A6D", Congruent: "\u2261", conint: "\u222E", Conint: "\u222F", ContourIntegral: "\u222E", copf: "\u{1D554}", Copf: "\u2102", coprod: "\u2210", Coproduct: "\u2210", copy: "\xA9", COPY: "\xA9", copysr: "\u2117", CounterClockwiseContourIntegral: "\u2233", crarr: "\u21B5", cross: "\u2717", Cross: "\u2A2F", Cscr: "\u{1D49E}", cscr: "\u{1D4B8}", csub: "\u2ACF", csube: "\u2AD1", csup: "\u2AD0", csupe: "\u2AD2", ctdot: "\u22EF", cudarrl: "\u2938", cudarrr: "\u2935", cuepr: "\u22DE", cuesc: "\u22DF", cularr: "\u21B6", cularrp: "\u293D", cupbrcap: "\u2A48", cupcap: "\u2A46", CupCap: "\u224D", cup: "\u222A", Cup: "\u22D3", cupcup: "\u2A4A", cupdot: "\u228D", cupor: "\u2A45", cups: "\u222A\uFE00", curarr: "\u21B7", curarrm: "\u293C", curlyeqprec: "\u22DE", curlyeqsucc: "\u22DF", curlyvee: "\u22CE", curlywedge: "\u22CF", curren: "\xA4", curvearrowleft: "\u21B6", curvearrowright: "\u21B7", cuvee: "\u22CE", cuwed: "\u22CF", cwconint: "\u2232", cwint: "\u2231", cylcty: "\u232D", dagger: "\u2020", Dagger: "\u2021", daleth: "\u2138", darr: "\u2193", Darr: "\u21A1", dArr: "\u21D3", dash: "\u2010", Dashv: "\u2AE4", dashv: "\u22A3", dbkarow: "\u290F", dblac: "\u02DD", Dcaron: "\u010E", dcaron: "\u010F", Dcy: "\u0414", dcy: "\u0434", ddagger: "\u2021", ddarr: "\u21CA", DD: "\u2145", dd: "\u2146", DDotrahd: "\u2911", ddotseq: "\u2A77", deg: "\xB0", Del: "\u2207", Delta: "\u0394", delta: "\u03B4", demptyv: "\u29B1", dfisht: "\u297F", Dfr: "\u{1D507}", dfr: "\u{1D521}", dHar: "\u2965", dharl: "\u21C3", dharr: "\u21C2", DiacriticalAcute: "\xB4", DiacriticalDot: "\u02D9", DiacriticalDoubleAcute: "\u02DD", DiacriticalGrave: "`", DiacriticalTilde: "\u02DC", diam: "\u22C4", diamond: "\u22C4", Diamond: "\u22C4", diamondsuit: "\u2666", diams: "\u2666", die: "\xA8", DifferentialD: "\u2146", digamma: "\u03DD", disin: "\u22F2", div: "\xF7", divide: "\xF7", divideontimes: "\u22C7", divonx: "\u22C7", DJcy: "\u0402", djcy: "\u0452", dlcorn: "\u231E", dlcrop: "\u230D", dollar: "$", Dopf: "\u{1D53B}", dopf: "\u{1D555}", Dot: "\xA8", dot: "\u02D9", DotDot: "\u20DC", doteq: "\u2250", doteqdot: "\u2251", DotEqual: "\u2250", dotminus: "\u2238", dotplus: "\u2214", dotsquare: "\u22A1", doublebarwedge: "\u2306", DoubleContourIntegral: "\u222F", DoubleDot: "\xA8", DoubleDownArrow: "\u21D3", DoubleLeftArrow: "\u21D0", DoubleLeftRightArrow: "\u21D4", DoubleLeftTee: "\u2AE4", DoubleLongLeftArrow: "\u27F8", DoubleLongLeftRightArrow: "\u27FA", DoubleLongRightArrow: "\u27F9", DoubleRightArrow: "\u21D2", DoubleRightTee: "\u22A8", DoubleUpArrow: "\u21D1", DoubleUpDownArrow: "\u21D5", DoubleVerticalBar: "\u2225", DownArrowBar: "\u2913", downarrow: "\u2193", DownArrow: "\u2193", Downarrow: "\u21D3", DownArrowUpArrow: "\u21F5", DownBreve: "\u0311", downdownarrows: "\u21CA", downharpoonleft: "\u21C3", downharpoonright: "\u21C2", DownLeftRightVector: "\u2950", DownLeftTeeVector: "\u295E", DownLeftVectorBar: "\u2956", DownLeftVector: "\u21BD", DownRightTeeVector: "\u295F", DownRightVectorBar: "\u2957", DownRightVector: "\u21C1", DownTeeArrow: "\u21A7", DownTee: "\u22A4", drbkarow: "\u2910", drcorn: "\u231F", drcrop: "\u230C", Dscr: "\u{1D49F}", dscr: "\u{1D4B9}", DScy: "\u0405", dscy: "\u0455", dsol: "\u29F6", Dstrok: "\u0110", dstrok: "\u0111", dtdot: "\u22F1", dtri: "\u25BF", dtrif: "\u25BE", duarr: "\u21F5", duhar: "\u296F", dwangle: "\u29A6", DZcy: "\u040F", dzcy: "\u045F", dzigrarr: "\u27FF", Eacute: "\xC9", eacute: "\xE9", easter: "\u2A6E", Ecaron: "\u011A", ecaron: "\u011B", Ecirc: "\xCA", ecirc: "\xEA", ecir: "\u2256", ecolon: "\u2255", Ecy: "\u042D", ecy: "\u044D", eDDot: "\u2A77", Edot: "\u0116", edot: "\u0117", eDot: "\u2251", ee: "\u2147", efDot: "\u2252", Efr: "\u{1D508}", efr: "\u{1D522}", eg: "\u2A9A", Egrave: "\xC8", egrave: "\xE8", egs: "\u2A96", egsdot: "\u2A98", el: "\u2A99", Element: "\u2208", elinters: "\u23E7", ell: "\u2113", els: "\u2A95", elsdot: "\u2A97", Emacr: "\u0112", emacr: "\u0113", empty: "\u2205", emptyset: "\u2205", EmptySmallSquare: "\u25FB", emptyv: "\u2205", EmptyVerySmallSquare: "\u25AB", emsp13: "\u2004", emsp14: "\u2005", emsp: "\u2003", ENG: "\u014A", eng: "\u014B", ensp: "\u2002", Eogon: "\u0118", eogon: "\u0119", Eopf: "\u{1D53C}", eopf: "\u{1D556}", epar: "\u22D5", eparsl: "\u29E3", eplus: "\u2A71", epsi: "\u03B5", Epsilon: "\u0395", epsilon: "\u03B5", epsiv: "\u03F5", eqcirc: "\u2256", eqcolon: "\u2255", eqsim: "\u2242", eqslantgtr: "\u2A96", eqslantless: "\u2A95", Equal: "\u2A75", equals: "=", EqualTilde: "\u2242", equest: "\u225F", Equilibrium: "\u21CC", equiv: "\u2261", equivDD: "\u2A78", eqvparsl: "\u29E5", erarr: "\u2971", erDot: "\u2253", escr: "\u212F", Escr: "\u2130", esdot: "\u2250", Esim: "\u2A73", esim: "\u2242", Eta: "\u0397", eta: "\u03B7", ETH: "\xD0", eth: "\xF0", Euml: "\xCB", euml: "\xEB", euro: "\u20AC", excl: "!", exist: "\u2203", Exists: "\u2203", expectation: "\u2130", exponentiale: "\u2147", ExponentialE: "\u2147", fallingdotseq: "\u2252", Fcy: "\u0424", fcy: "\u0444", female: "\u2640", ffilig: "\uFB03", fflig: "\uFB00", ffllig: "\uFB04", Ffr: "\u{1D509}", ffr: "\u{1D523}", filig: "\uFB01", FilledSmallSquare: "\u25FC", FilledVerySmallSquare: "\u25AA", fjlig: "fj", flat: "\u266D", fllig: "\uFB02", fltns: "\u25B1", fnof: "\u0192", Fopf: "\u{1D53D}", fopf: "\u{1D557}", forall: "\u2200", ForAll: "\u2200", fork: "\u22D4", forkv: "\u2AD9", Fouriertrf: "\u2131", fpartint: "\u2A0D", frac12: "\xBD", frac13: "\u2153", frac14: "\xBC", frac15: "\u2155", frac16: "\u2159", frac18: "\u215B", frac23: "\u2154", frac25: "\u2156", frac34: "\xBE", frac35: "\u2157", frac38: "\u215C", frac45: "\u2158", frac56: "\u215A", frac58: "\u215D", frac78: "\u215E", frasl: "\u2044", frown: "\u2322", fscr: "\u{1D4BB}", Fscr: "\u2131", gacute: "\u01F5", Gamma: "\u0393", gamma: "\u03B3", Gammad: "\u03DC", gammad: "\u03DD", gap: "\u2A86", Gbreve: "\u011E", gbreve: "\u011F", Gcedil: "\u0122", Gcirc: "\u011C", gcirc: "\u011D", Gcy: "\u0413", gcy: "\u0433", Gdot: "\u0120", gdot: "\u0121", ge: "\u2265", gE: "\u2267", gEl: "\u2A8C", gel: "\u22DB", geq: "\u2265", geqq: "\u2267", geqslant: "\u2A7E", gescc: "\u2AA9", ges: "\u2A7E", gesdot: "\u2A80", gesdoto: "\u2A82", gesdotol: "\u2A84", gesl: "\u22DB\uFE00", gesles: "\u2A94", Gfr: "\u{1D50A}", gfr: "\u{1D524}", gg: "\u226B", Gg: "\u22D9", ggg: "\u22D9", gimel: "\u2137", GJcy: "\u0403", gjcy: "\u0453", gla: "\u2AA5", gl: "\u2277", glE: "\u2A92", glj: "\u2AA4", gnap: "\u2A8A", gnapprox: "\u2A8A", gne: "\u2A88", gnE: "\u2269", gneq: "\u2A88", gneqq: "\u2269", gnsim: "\u22E7", Gopf: "\u{1D53E}", gopf: "\u{1D558}", grave: "`", GreaterEqual: "\u2265", GreaterEqualLess: "\u22DB", GreaterFullEqual: "\u2267", GreaterGreater: "\u2AA2", GreaterLess: "\u2277", GreaterSlantEqual: "\u2A7E", GreaterTilde: "\u2273", Gscr: "\u{1D4A2}", gscr: "\u210A", gsim: "\u2273", gsime: "\u2A8E", gsiml: "\u2A90", gtcc: "\u2AA7", gtcir: "\u2A7A", gt: ">", GT: ">", Gt: "\u226B", gtdot: "\u22D7", gtlPar: "\u2995", gtquest: "\u2A7C", gtrapprox: "\u2A86", gtrarr: "\u2978", gtrdot: "\u22D7", gtreqless: "\u22DB", gtreqqless: "\u2A8C", gtrless: "\u2277", gtrsim: "\u2273", gvertneqq: "\u2269\uFE00", gvnE: "\u2269\uFE00", Hacek: "\u02C7", hairsp: "\u200A", half: "\xBD", hamilt: "\u210B", HARDcy: "\u042A", hardcy: "\u044A", harrcir: "\u2948", harr: "\u2194", hArr: "\u21D4", harrw: "\u21AD", Hat: "^", hbar: "\u210F", Hcirc: "\u0124", hcirc: "\u0125", hearts: "\u2665", heartsuit: "\u2665", hellip: "\u2026", hercon: "\u22B9", hfr: "\u{1D525}", Hfr: "\u210C", HilbertSpace: "\u210B", hksearow: "\u2925", hkswarow: "\u2926", hoarr: "\u21FF", homtht: "\u223B", hookleftarrow: "\u21A9", hookrightarrow: "\u21AA", hopf: "\u{1D559}", Hopf: "\u210D", horbar: "\u2015", HorizontalLine: "\u2500", hscr: "\u{1D4BD}", Hscr: "\u210B", hslash: "\u210F", Hstrok: "\u0126", hstrok: "\u0127", HumpDownHump: "\u224E", HumpEqual: "\u224F", hybull: "\u2043", hyphen: "\u2010", Iacute: "\xCD", iacute: "\xED", ic: "\u2063", Icirc: "\xCE", icirc: "\xEE", Icy: "\u0418", icy: "\u0438", Idot: "\u0130", IEcy: "\u0415", iecy: "\u0435", iexcl: "\xA1", iff: "\u21D4", ifr: "\u{1D526}", Ifr: "\u2111", Igrave: "\xCC", igrave: "\xEC", ii: "\u2148", iiiint: "\u2A0C", iiint: "\u222D", iinfin: "\u29DC", iiota: "\u2129", IJlig: "\u0132", ijlig: "\u0133", Imacr: "\u012A", imacr: "\u012B", image: "\u2111", ImaginaryI: "\u2148", imagline: "\u2110", imagpart: "\u2111", imath: "\u0131", Im: "\u2111", imof: "\u22B7", imped: "\u01B5", Implies: "\u21D2", incare: "\u2105", in: "\u2208", infin: "\u221E", infintie: "\u29DD", inodot: "\u0131", intcal: "\u22BA", int: "\u222B", Int: "\u222C", integers: "\u2124", Integral: "\u222B", intercal: "\u22BA", Intersection: "\u22C2", intlarhk: "\u2A17", intprod: "\u2A3C", InvisibleComma: "\u2063", InvisibleTimes: "\u2062", IOcy: "\u0401", iocy: "\u0451", Iogon: "\u012E", iogon: "\u012F", Iopf: "\u{1D540}", iopf: "\u{1D55A}", Iota: "\u0399", iota: "\u03B9", iprod: "\u2A3C", iquest: "\xBF", iscr: "\u{1D4BE}", Iscr: "\u2110", isin: "\u2208", isindot: "\u22F5", isinE: "\u22F9", isins: "\u22F4", isinsv: "\u22F3", isinv: "\u2208", it: "\u2062", Itilde: "\u0128", itilde: "\u0129", Iukcy: "\u0406", iukcy: "\u0456", Iuml: "\xCF", iuml: "\xEF", Jcirc: "\u0134", jcirc: "\u0135", Jcy: "\u0419", jcy: "\u0439", Jfr: "\u{1D50D}", jfr: "\u{1D527}", jmath: "\u0237", Jopf: "\u{1D541}", jopf: "\u{1D55B}", Jscr: "\u{1D4A5}", jscr: "\u{1D4BF}", Jsercy: "\u0408", jsercy: "\u0458", Jukcy: "\u0404", jukcy: "\u0454", Kappa: "\u039A", kappa: "\u03BA", kappav: "\u03F0", Kcedil: "\u0136", kcedil: "\u0137", Kcy: "\u041A", kcy: "\u043A", Kfr: "\u{1D50E}", kfr: "\u{1D528}", kgreen: "\u0138", KHcy: "\u0425", khcy: "\u0445", KJcy: "\u040C", kjcy: "\u045C", Kopf: "\u{1D542}", kopf: "\u{1D55C}", Kscr: "\u{1D4A6}", kscr: "\u{1D4C0}", lAarr: "\u21DA", Lacute: "\u0139", lacute: "\u013A", laemptyv: "\u29B4", lagran: "\u2112", Lambda: "\u039B", lambda: "\u03BB", lang: "\u27E8", Lang: "\u27EA", langd: "\u2991", langle: "\u27E8", lap: "\u2A85", Laplacetrf: "\u2112", laquo: "\xAB", larrb: "\u21E4", larrbfs: "\u291F", larr: "\u2190", Larr: "\u219E", lArr: "\u21D0", larrfs: "\u291D", larrhk: "\u21A9", larrlp: "\u21AB", larrpl: "\u2939", larrsim: "\u2973", larrtl: "\u21A2", latail: "\u2919", lAtail: "\u291B", lat: "\u2AAB", late: "\u2AAD", lates: "\u2AAD\uFE00", lbarr: "\u290C", lBarr: "\u290E", lbbrk: "\u2772", lbrace: "{", lbrack: "[", lbrke: "\u298B", lbrksld: "\u298F", lbrkslu: "\u298D", Lcaron: "\u013D", lcaron: "\u013E", Lcedil: "\u013B", lcedil: "\u013C", lceil: "\u2308", lcub: "{", Lcy: "\u041B", lcy: "\u043B", ldca: "\u2936", ldquo: "\u201C", ldquor: "\u201E", ldrdhar: "\u2967", ldrushar: "\u294B", ldsh: "\u21B2", le: "\u2264", lE: "\u2266", LeftAngleBracket: "\u27E8", LeftArrowBar: "\u21E4", leftarrow: "\u2190", LeftArrow: "\u2190", Leftarrow: "\u21D0", LeftArrowRightArrow: "\u21C6", leftarrowtail: "\u21A2", LeftCeiling: "\u2308", LeftDoubleBracket: "\u27E6", LeftDownTeeVector: "\u2961", LeftDownVectorBar: "\u2959", LeftDownVector: "\u21C3", LeftFloor: "\u230A", leftharpoondown: "\u21BD", leftharpoonup: "\u21BC", leftleftarrows: "\u21C7", leftrightarrow: "\u2194", LeftRightArrow: "\u2194", Leftrightarrow: "\u21D4", leftrightarrows: "\u21C6", leftrightharpoons: "\u21CB", leftrightsquigarrow: "\u21AD", LeftRightVector: "\u294E", LeftTeeArrow: "\u21A4", LeftTee: "\u22A3", LeftTeeVector: "\u295A", leftthreetimes: "\u22CB", LeftTriangleBar: "\u29CF", LeftTriangle: "\u22B2", LeftTriangleEqual: "\u22B4", LeftUpDownVector: "\u2951", LeftUpTeeVector: "\u2960", LeftUpVectorBar: "\u2958", LeftUpVector: "\u21BF", LeftVectorBar: "\u2952", LeftVector: "\u21BC", lEg: "\u2A8B", leg: "\u22DA", leq: "\u2264", leqq: "\u2266", leqslant: "\u2A7D", lescc: "\u2AA8", les: "\u2A7D", lesdot: "\u2A7F", lesdoto: "\u2A81", lesdotor: "\u2A83", lesg: "\u22DA\uFE00", lesges: "\u2A93", lessapprox: "\u2A85", lessdot: "\u22D6", lesseqgtr: "\u22DA", lesseqqgtr: "\u2A8B", LessEqualGreater: "\u22DA", LessFullEqual: "\u2266", LessGreater: "\u2276", lessgtr: "\u2276", LessLess: "\u2AA1", lesssim: "\u2272", LessSlantEqual: "\u2A7D", LessTilde: "\u2272", lfisht: "\u297C", lfloor: "\u230A", Lfr: "\u{1D50F}", lfr: "\u{1D529}", lg: "\u2276", lgE: "\u2A91", lHar: "\u2962", lhard: "\u21BD", lharu: "\u21BC", lharul: "\u296A", lhblk: "\u2584", LJcy: "\u0409", ljcy: "\u0459", llarr: "\u21C7", ll: "\u226A", Ll: "\u22D8", llcorner: "\u231E", Lleftarrow: "\u21DA", llhard: "\u296B", lltri: "\u25FA", Lmidot: "\u013F", lmidot: "\u0140", lmoustache: "\u23B0", lmoust: "\u23B0", lnap: "\u2A89", lnapprox: "\u2A89", lne: "\u2A87", lnE: "\u2268", lneq: "\u2A87", lneqq: "\u2268", lnsim: "\u22E6", loang: "\u27EC", loarr: "\u21FD", lobrk: "\u27E6", longleftarrow: "\u27F5", LongLeftArrow: "\u27F5", Longleftarrow: "\u27F8", longleftrightarrow: "\u27F7", LongLeftRightArrow: "\u27F7", Longleftrightarrow: "\u27FA", longmapsto: "\u27FC", longrightarrow: "\u27F6", LongRightArrow: "\u27F6", Longrightarrow: "\u27F9", looparrowleft: "\u21AB", looparrowright: "\u21AC", lopar: "\u2985", Lopf: "\u{1D543}", lopf: "\u{1D55D}", loplus: "\u2A2D", lotimes: "\u2A34", lowast: "\u2217", lowbar: "_", LowerLeftArrow: "\u2199", LowerRightArrow: "\u2198", loz: "\u25CA", lozenge: "\u25CA", lozf: "\u29EB", lpar: "(", lparlt: "\u2993", lrarr: "\u21C6", lrcorner: "\u231F", lrhar: "\u21CB", lrhard: "\u296D", lrm: "\u200E", lrtri: "\u22BF", lsaquo: "\u2039", lscr: "\u{1D4C1}", Lscr: "\u2112", lsh: "\u21B0", Lsh: "\u21B0", lsim: "\u2272", lsime: "\u2A8D", lsimg: "\u2A8F", lsqb: "[", lsquo: "\u2018", lsquor: "\u201A", Lstrok: "\u0141", lstrok: "\u0142", ltcc: "\u2AA6", ltcir: "\u2A79", lt: "<", LT: "<", Lt: "\u226A", ltdot: "\u22D6", lthree: "\u22CB", ltimes: "\u22C9", ltlarr: "\u2976", ltquest: "\u2A7B", ltri: "\u25C3", ltrie: "\u22B4", ltrif: "\u25C2", ltrPar: "\u2996", lurdshar: "\u294A", luruhar: "\u2966", lvertneqq: "\u2268\uFE00", lvnE: "\u2268\uFE00", macr: "\xAF", male: "\u2642", malt: "\u2720", maltese: "\u2720", Map: "\u2905", map: "\u21A6", mapsto: "\u21A6", mapstodown: "\u21A7", mapstoleft: "\u21A4", mapstoup: "\u21A5", marker: "\u25AE", mcomma: "\u2A29", Mcy: "\u041C", mcy: "\u043C", mdash: "\u2014", mDDot: "\u223A", measuredangle: "\u2221", MediumSpace: "\u205F", Mellintrf: "\u2133", Mfr: "\u{1D510}", mfr: "\u{1D52A}", mho: "\u2127", micro: "\xB5", midast: "*", midcir: "\u2AF0", mid: "\u2223", middot: "\xB7", minusb: "\u229F", minus: "\u2212", minusd: "\u2238", minusdu: "\u2A2A", MinusPlus: "\u2213", mlcp: "\u2ADB", mldr: "\u2026", mnplus: "\u2213", models: "\u22A7", Mopf: "\u{1D544}", mopf: "\u{1D55E}", mp: "\u2213", mscr: "\u{1D4C2}", Mscr: "\u2133", mstpos: "\u223E", Mu: "\u039C", mu: "\u03BC", multimap: "\u22B8", mumap: "\u22B8", nabla: "\u2207", Nacute: "\u0143", nacute: "\u0144", nang: "\u2220\u20D2", nap: "\u2249", napE: "\u2A70\u0338", napid: "\u224B\u0338", napos: "\u0149", napprox: "\u2249", natural: "\u266E", naturals: "\u2115", natur: "\u266E", nbsp: "\xA0", nbump: "\u224E\u0338", nbumpe: "\u224F\u0338", ncap: "\u2A43", Ncaron: "\u0147", ncaron: "\u0148", Ncedil: "\u0145", ncedil: "\u0146", ncong: "\u2247", ncongdot: "\u2A6D\u0338", ncup: "\u2A42", Ncy: "\u041D", ncy: "\u043D", ndash: "\u2013", nearhk: "\u2924", nearr: "\u2197", neArr: "\u21D7", nearrow: "\u2197", ne: "\u2260", nedot: "\u2250\u0338", NegativeMediumSpace: "\u200B", NegativeThickSpace: "\u200B", NegativeThinSpace: "\u200B", NegativeVeryThinSpace: "\u200B", nequiv: "\u2262", nesear: "\u2928", nesim: "\u2242\u0338", NestedGreaterGreater: "\u226B", NestedLessLess: "\u226A", NewLine: "\n", nexist: "\u2204", nexists: "\u2204", Nfr: "\u{1D511}", nfr: "\u{1D52B}", ngE: "\u2267\u0338", nge: "\u2271", ngeq: "\u2271", ngeqq: "\u2267\u0338", ngeqslant: "\u2A7E\u0338", nges: "\u2A7E\u0338", nGg: "\u22D9\u0338", ngsim: "\u2275", nGt: "\u226B\u20D2", ngt: "\u226F", ngtr: "\u226F", nGtv: "\u226B\u0338", nharr: "\u21AE", nhArr: "\u21CE", nhpar: "\u2AF2", ni: "\u220B", nis: "\u22FC", nisd: "\u22FA", niv: "\u220B", NJcy: "\u040A", njcy: "\u045A", nlarr: "\u219A", nlArr: "\u21CD", nldr: "\u2025", nlE: "\u2266\u0338", nle: "\u2270", nleftarrow: "\u219A", nLeftarrow: "\u21CD", nleftrightarrow: "\u21AE", nLeftrightarrow: "\u21CE", nleq: "\u2270", nleqq: "\u2266\u0338", nleqslant: "\u2A7D\u0338", nles: "\u2A7D\u0338", nless: "\u226E", nLl: "\u22D8\u0338", nlsim: "\u2274", nLt: "\u226A\u20D2", nlt: "\u226E", nltri: "\u22EA", nltrie: "\u22EC", nLtv: "\u226A\u0338", nmid: "\u2224", NoBreak: "\u2060", NonBreakingSpace: "\xA0", nopf: "\u{1D55F}", Nopf: "\u2115", Not: "\u2AEC", not: "\xAC", NotCongruent: "\u2262", NotCupCap: "\u226D", NotDoubleVerticalBar: "\u2226", NotElement: "\u2209", NotEqual: "\u2260", NotEqualTilde: "\u2242\u0338", NotExists: "\u2204", NotGreater: "\u226F", NotGreaterEqual: "\u2271", NotGreaterFullEqual: "\u2267\u0338", NotGreaterGreater: "\u226B\u0338", NotGreaterLess: "\u2279", NotGreaterSlantEqual: "\u2A7E\u0338", NotGreaterTilde: "\u2275", NotHumpDownHump: "\u224E\u0338", NotHumpEqual: "\u224F\u0338", notin: "\u2209", notindot: "\u22F5\u0338", notinE: "\u22F9\u0338", notinva: "\u2209", notinvb: "\u22F7", notinvc: "\u22F6", NotLeftTriangleBar: "\u29CF\u0338", NotLeftTriangle: "\u22EA", NotLeftTriangleEqual: "\u22EC", NotLess: "\u226E", NotLessEqual: "\u2270", NotLessGreater: "\u2278", NotLessLess: "\u226A\u0338", NotLessSlantEqual: "\u2A7D\u0338", NotLessTilde: "\u2274", NotNestedGreaterGreater: "\u2AA2\u0338", NotNestedLessLess: "\u2AA1\u0338", notni: "\u220C", notniva: "\u220C", notnivb: "\u22FE", notnivc: "\u22FD", NotPrecedes: "\u2280", NotPrecedesEqual: "\u2AAF\u0338", NotPrecedesSlantEqual: "\u22E0", NotReverseElement: "\u220C", NotRightTriangleBar: "\u29D0\u0338", NotRightTriangle: "\u22EB", NotRightTriangleEqual: "\u22ED", NotSquareSubset: "\u228F\u0338", NotSquareSubsetEqual: "\u22E2", NotSquareSuperset: "\u2290\u0338", NotSquareSupersetEqual: "\u22E3", NotSubset: "\u2282\u20D2", NotSubsetEqual: "\u2288", NotSucceeds: "\u2281", NotSucceedsEqual: "\u2AB0\u0338", NotSucceedsSlantEqual: "\u22E1", NotSucceedsTilde: "\u227F\u0338", NotSuperset: "\u2283\u20D2", NotSupersetEqual: "\u2289", NotTilde: "\u2241", NotTildeEqual: "\u2244", NotTildeFullEqual: "\u2247", NotTildeTilde: "\u2249", NotVerticalBar: "\u2224", nparallel: "\u2226", npar: "\u2226", nparsl: "\u2AFD\u20E5", npart: "\u2202\u0338", npolint: "\u2A14", npr: "\u2280", nprcue: "\u22E0", nprec: "\u2280", npreceq: "\u2AAF\u0338", npre: "\u2AAF\u0338", nrarrc: "\u2933\u0338", nrarr: "\u219B", nrArr: "\u21CF", nrarrw: "\u219D\u0338", nrightarrow: "\u219B", nRightarrow: "\u21CF", nrtri: "\u22EB", nrtrie: "\u22ED", nsc: "\u2281", nsccue: "\u22E1", nsce: "\u2AB0\u0338", Nscr: "\u{1D4A9}", nscr: "\u{1D4C3}", nshortmid: "\u2224", nshortparallel: "\u2226", nsim: "\u2241", nsime: "\u2244", nsimeq: "\u2244", nsmid: "\u2224", nspar: "\u2226", nsqsube: "\u22E2", nsqsupe: "\u22E3", nsub: "\u2284", nsubE: "\u2AC5\u0338", nsube: "\u2288", nsubset: "\u2282\u20D2", nsubseteq: "\u2288", nsubseteqq: "\u2AC5\u0338", nsucc: "\u2281", nsucceq: "\u2AB0\u0338", nsup: "\u2285", nsupE: "\u2AC6\u0338", nsupe: "\u2289", nsupset: "\u2283\u20D2", nsupseteq: "\u2289", nsupseteqq: "\u2AC6\u0338", ntgl: "\u2279", Ntilde: "\xD1", ntilde: "\xF1", ntlg: "\u2278", ntriangleleft: "\u22EA", ntrianglelefteq: "\u22EC", ntriangleright: "\u22EB", ntrianglerighteq: "\u22ED", Nu: "\u039D", nu: "\u03BD", num: "#", numero: "\u2116", numsp: "\u2007", nvap: "\u224D\u20D2", nvdash: "\u22AC", nvDash: "\u22AD", nVdash: "\u22AE", nVDash: "\u22AF", nvge: "\u2265\u20D2", nvgt: ">\u20D2", nvHarr: "\u2904", nvinfin: "\u29DE", nvlArr: "\u2902", nvle: "\u2264\u20D2", nvlt: "<\u20D2", nvltrie: "\u22B4\u20D2", nvrArr: "\u2903", nvrtrie: "\u22B5\u20D2", nvsim: "\u223C\u20D2", nwarhk: "\u2923", nwarr: "\u2196", nwArr: "\u21D6", nwarrow: "\u2196", nwnear: "\u2927", Oacute: "\xD3", oacute: "\xF3", oast: "\u229B", Ocirc: "\xD4", ocirc: "\xF4", ocir: "\u229A", Ocy: "\u041E", ocy: "\u043E", odash: "\u229D", Odblac: "\u0150", odblac: "\u0151", odiv: "\u2A38", odot: "\u2299", odsold: "\u29BC", OElig: "\u0152", oelig: "\u0153", ofcir: "\u29BF", Ofr: "\u{1D512}", ofr: "\u{1D52C}", ogon: "\u02DB", Ograve: "\xD2", ograve: "\xF2", ogt: "\u29C1", ohbar: "\u29B5", ohm: "\u03A9", oint: "\u222E", olarr: "\u21BA", olcir: "\u29BE", olcross: "\u29BB", oline: "\u203E", olt: "\u29C0", Omacr: "\u014C", omacr: "\u014D", Omega: "\u03A9", omega: "\u03C9", Omicron: "\u039F", omicron: "\u03BF", omid: "\u29B6", ominus: "\u2296", Oopf: "\u{1D546}", oopf: "\u{1D560}", opar: "\u29B7", OpenCurlyDoubleQuote: "\u201C", OpenCurlyQuote: "\u2018", operp: "\u29B9", oplus: "\u2295", orarr: "\u21BB", Or: "\u2A54", or: "\u2228", ord: "\u2A5D", order: "\u2134", orderof: "\u2134", ordf: "\xAA", ordm: "\xBA", origof: "\u22B6", oror: "\u2A56", orslope: "\u2A57", orv: "\u2A5B", oS: "\u24C8", Oscr: "\u{1D4AA}", oscr: "\u2134", Oslash: "\xD8", oslash: "\xF8", osol: "\u2298", Otilde: "\xD5", otilde: "\xF5", otimesas: "\u2A36", Otimes: "\u2A37", otimes: "\u2297", Ouml: "\xD6", ouml: "\xF6", ovbar: "\u233D", OverBar: "\u203E", OverBrace: "\u23DE", OverBracket: "\u23B4", OverParenthesis: "\u23DC", para: "\xB6", parallel: "\u2225", par: "\u2225", parsim: "\u2AF3", parsl: "\u2AFD", part: "\u2202", PartialD: "\u2202", Pcy: "\u041F", pcy: "\u043F", percnt: "%", period: ".", permil: "\u2030", perp: "\u22A5", pertenk: "\u2031", Pfr: "\u{1D513}", pfr: "\u{1D52D}", Phi: "\u03A6", phi: "\u03C6", phiv: "\u03D5", phmmat: "\u2133", phone: "\u260E", Pi: "\u03A0", pi: "\u03C0", pitchfork: "\u22D4", piv: "\u03D6", planck: "\u210F", planckh: "\u210E", plankv: "\u210F", plusacir: "\u2A23", plusb: "\u229E", pluscir: "\u2A22", plus: "+", plusdo: "\u2214", plusdu: "\u2A25", pluse: "\u2A72", PlusMinus: "\xB1", plusmn: "\xB1", plussim: "\u2A26", plustwo: "\u2A27", pm: "\xB1", Poincareplane: "\u210C", pointint: "\u2A15", popf: "\u{1D561}", Popf: "\u2119", pound: "\xA3", prap: "\u2AB7", Pr: "\u2ABB", pr: "\u227A", prcue: "\u227C", precapprox: "\u2AB7", prec: "\u227A", preccurlyeq: "\u227C", Precedes: "\u227A", PrecedesEqual: "\u2AAF", PrecedesSlantEqual: "\u227C", PrecedesTilde: "\u227E", preceq: "\u2AAF", precnapprox: "\u2AB9", precneqq: "\u2AB5", precnsim: "\u22E8", pre: "\u2AAF", prE: "\u2AB3", precsim: "\u227E", prime: "\u2032", Prime: "\u2033", primes: "\u2119", prnap: "\u2AB9", prnE: "\u2AB5", prnsim: "\u22E8", prod: "\u220F", Product: "\u220F", profalar: "\u232E", profline: "\u2312", profsurf: "\u2313", prop: "\u221D", Proportional: "\u221D", Proportion: "\u2237", propto: "\u221D", prsim: "\u227E", prurel: "\u22B0", Pscr: "\u{1D4AB}", pscr: "\u{1D4C5}", Psi: "\u03A8", psi: "\u03C8", puncsp: "\u2008", Qfr: "\u{1D514}", qfr: "\u{1D52E}", qint: "\u2A0C", qopf: "\u{1D562}", Qopf: "\u211A", qprime: "\u2057", Qscr: "\u{1D4AC}", qscr: "\u{1D4C6}", quaternions: "\u210D", quatint: "\u2A16", quest: "?", questeq: "\u225F", quot: '"', QUOT: '"', rAarr: "\u21DB", race: "\u223D\u0331", Racute: "\u0154", racute: "\u0155", radic: "\u221A", raemptyv: "\u29B3", rang: "\u27E9", Rang: "\u27EB", rangd: "\u2992", range: "\u29A5", rangle: "\u27E9", raquo: "\xBB", rarrap: "\u2975", rarrb: "\u21E5", rarrbfs: "\u2920", rarrc: "\u2933", rarr: "\u2192", Rarr: "\u21A0", rArr: "\u21D2", rarrfs: "\u291E", rarrhk: "\u21AA", rarrlp: "\u21AC", rarrpl: "\u2945", rarrsim: "\u2974", Rarrtl: "\u2916", rarrtl: "\u21A3", rarrw: "\u219D", ratail: "\u291A", rAtail: "\u291C", ratio: "\u2236", rationals: "\u211A", rbarr: "\u290D", rBarr: "\u290F", RBarr: "\u2910", rbbrk: "\u2773", rbrace: "}", rbrack: "]", rbrke: "\u298C", rbrksld: "\u298E", rbrkslu: "\u2990", Rcaron: "\u0158", rcaron: "\u0159", Rcedil: "\u0156", rcedil: "\u0157", rceil: "\u2309", rcub: "}", Rcy: "\u0420", rcy: "\u0440", rdca: "\u2937", rdldhar: "\u2969", rdquo: "\u201D", rdquor: "\u201D", rdsh: "\u21B3", real: "\u211C", realine: "\u211B", realpart: "\u211C", reals: "\u211D", Re: "\u211C", rect: "\u25AD", reg: "\xAE", REG: "\xAE", ReverseElement: "\u220B", ReverseEquilibrium: "\u21CB", ReverseUpEquilibrium: "\u296F", rfisht: "\u297D", rfloor: "\u230B", rfr: "\u{1D52F}", Rfr: "\u211C", rHar: "\u2964", rhard: "\u21C1", rharu: "\u21C0", rharul: "\u296C", Rho: "\u03A1", rho: "\u03C1", rhov: "\u03F1", RightAngleBracket: "\u27E9", RightArrowBar: "\u21E5", rightarrow: "\u2192", RightArrow: "\u2192", Rightarrow: "\u21D2", RightArrowLeftArrow: "\u21C4", rightarrowtail: "\u21A3", RightCeiling: "\u2309", RightDoubleBracket: "\u27E7", RightDownTeeVector: "\u295D", RightDownVectorBar: "\u2955", RightDownVector: "\u21C2", RightFloor: "\u230B", rightharpoondown: "\u21C1", rightharpoonup: "\u21C0", rightleftarrows: "\u21C4", rightleftharpoons: "\u21CC", rightrightarrows: "\u21C9", rightsquigarrow: "\u219D", RightTeeArrow: "\u21A6", RightTee: "\u22A2", RightTeeVector: "\u295B", rightthreetimes: "\u22CC", RightTriangleBar: "\u29D0", RightTriangle: "\u22B3", RightTriangleEqual: "\u22B5", RightUpDownVector: "\u294F", RightUpTeeVector: "\u295C", RightUpVectorBar: "\u2954", RightUpVector: "\u21BE", RightVectorBar: "\u2953", RightVector: "\u21C0", ring: "\u02DA", risingdotseq: "\u2253", rlarr: "\u21C4", rlhar: "\u21CC", rlm: "\u200F", rmoustache: "\u23B1", rmoust: "\u23B1", rnmid: "\u2AEE", roang: "\u27ED", roarr: "\u21FE", robrk: "\u27E7", ropar: "\u2986", ropf: "\u{1D563}", Ropf: "\u211D", roplus: "\u2A2E", rotimes: "\u2A35", RoundImplies: "\u2970", rpar: ")", rpargt: "\u2994", rppolint: "\u2A12", rrarr: "\u21C9", Rrightarrow: "\u21DB", rsaquo: "\u203A", rscr: "\u{1D4C7}", Rscr: "\u211B", rsh: "\u21B1", Rsh: "\u21B1", rsqb: "]", rsquo: "\u2019", rsquor: "\u2019", rthree: "\u22CC", rtimes: "\u22CA", rtri: "\u25B9", rtrie: "\u22B5", rtrif: "\u25B8", rtriltri: "\u29CE", RuleDelayed: "\u29F4", ruluhar: "\u2968", rx: "\u211E", Sacute: "\u015A", sacute: "\u015B", sbquo: "\u201A", scap: "\u2AB8", Scaron: "\u0160", scaron: "\u0161", Sc: "\u2ABC", sc: "\u227B", sccue: "\u227D", sce: "\u2AB0", scE: "\u2AB4", Scedil: "\u015E", scedil: "\u015F", Scirc: "\u015C", scirc: "\u015D", scnap: "\u2ABA", scnE: "\u2AB6", scnsim: "\u22E9", scpolint: "\u2A13", scsim: "\u227F", Scy: "\u0421", scy: "\u0441", sdotb: "\u22A1", sdot: "\u22C5", sdote: "\u2A66", searhk: "\u2925", searr: "\u2198", seArr: "\u21D8", searrow: "\u2198", sect: "\xA7", semi: ";", seswar: "\u2929", setminus: "\u2216", setmn: "\u2216", sext: "\u2736", Sfr: "\u{1D516}", sfr: "\u{1D530}", sfrown: "\u2322", sharp: "\u266F", SHCHcy: "\u0429", shchcy: "\u0449", SHcy: "\u0428", shcy: "\u0448", ShortDownArrow: "\u2193", ShortLeftArrow: "\u2190", shortmid: "\u2223", shortparallel: "\u2225", ShortRightArrow: "\u2192", ShortUpArrow: "\u2191", shy: "\xAD", Sigma: "\u03A3", sigma: "\u03C3", sigmaf: "\u03C2", sigmav: "\u03C2", sim: "\u223C", simdot: "\u2A6A", sime: "\u2243", simeq: "\u2243", simg: "\u2A9E", simgE: "\u2AA0", siml: "\u2A9D", simlE: "\u2A9F", simne: "\u2246", simplus: "\u2A24", simrarr: "\u2972", slarr: "\u2190", SmallCircle: "\u2218", smallsetminus: "\u2216", smashp: "\u2A33", smeparsl: "\u29E4", smid: "\u2223", smile: "\u2323", smt: "\u2AAA", smte: "\u2AAC", smtes: "\u2AAC\uFE00", SOFTcy: "\u042C", softcy: "\u044C", solbar: "\u233F", solb: "\u29C4", sol: "/", Sopf: "\u{1D54A}", sopf: "\u{1D564}", spades: "\u2660", spadesuit: "\u2660", spar: "\u2225", sqcap: "\u2293", sqcaps: "\u2293\uFE00", sqcup: "\u2294", sqcups: "\u2294\uFE00", Sqrt: "\u221A", sqsub: "\u228F", sqsube: "\u2291", sqsubset: "\u228F", sqsubseteq: "\u2291", sqsup: "\u2290", sqsupe: "\u2292", sqsupset: "\u2290", sqsupseteq: "\u2292", square: "\u25A1", Square: "\u25A1", SquareIntersection: "\u2293", SquareSubset: "\u228F", SquareSubsetEqual: "\u2291", SquareSuperset: "\u2290", SquareSupersetEqual: "\u2292", SquareUnion: "\u2294", squarf: "\u25AA", squ: "\u25A1", squf: "\u25AA", srarr: "\u2192", Sscr: "\u{1D4AE}", sscr: "\u{1D4C8}", ssetmn: "\u2216", ssmile: "\u2323", sstarf: "\u22C6", Star: "\u22C6", star: "\u2606", starf: "\u2605", straightepsilon: "\u03F5", straightphi: "\u03D5", strns: "\xAF", sub: "\u2282", Sub: "\u22D0", subdot: "\u2ABD", subE: "\u2AC5", sube: "\u2286", subedot: "\u2AC3", submult: "\u2AC1", subnE: "\u2ACB", subne: "\u228A", subplus: "\u2ABF", subrarr: "\u2979", subset: "\u2282", Subset: "\u22D0", subseteq: "\u2286", subseteqq: "\u2AC5", SubsetEqual: "\u2286", subsetneq: "\u228A", subsetneqq: "\u2ACB", subsim: "\u2AC7", subsub: "\u2AD5", subsup: "\u2AD3", succapprox: "\u2AB8", succ: "\u227B", succcurlyeq: "\u227D", Succeeds: "\u227B", SucceedsEqual: "\u2AB0", SucceedsSlantEqual: "\u227D", SucceedsTilde: "\u227F", succeq: "\u2AB0", succnapprox: "\u2ABA", succneqq: "\u2AB6", succnsim: "\u22E9", succsim: "\u227F", SuchThat: "\u220B", sum: "\u2211", Sum: "\u2211", sung: "\u266A", sup1: "\xB9", sup2: "\xB2", sup3: "\xB3", sup: "\u2283", Sup: "\u22D1", supdot: "\u2ABE", supdsub: "\u2AD8", supE: "\u2AC6", supe: "\u2287", supedot: "\u2AC4", Superset: "\u2283", SupersetEqual: "\u2287", suphsol: "\u27C9", suphsub: "\u2AD7", suplarr: "\u297B", supmult: "\u2AC2", supnE: "\u2ACC", supne: "\u228B", supplus: "\u2AC0", supset: "\u2283", Supset: "\u22D1", supseteq: "\u2287", supseteqq: "\u2AC6", supsetneq: "\u228B", supsetneqq: "\u2ACC", supsim: "\u2AC8", supsub: "\u2AD4", supsup: "\u2AD6", swarhk: "\u2926", swarr: "\u2199", swArr: "\u21D9", swarrow: "\u2199", swnwar: "\u292A", szlig: "\xDF", Tab: "	", target: "\u2316", Tau: "\u03A4", tau: "\u03C4", tbrk: "\u23B4", Tcaron: "\u0164", tcaron: "\u0165", Tcedil: "\u0162", tcedil: "\u0163", Tcy: "\u0422", tcy: "\u0442", tdot: "\u20DB", telrec: "\u2315", Tfr: "\u{1D517}", tfr: "\u{1D531}", there4: "\u2234", therefore: "\u2234", Therefore: "\u2234", Theta: "\u0398", theta: "\u03B8", thetasym: "\u03D1", thetav: "\u03D1", thickapprox: "\u2248", thicksim: "\u223C", ThickSpace: "\u205F\u200A", ThinSpace: "\u2009", thinsp: "\u2009", thkap: "\u2248", thksim: "\u223C", THORN: "\xDE", thorn: "\xFE", tilde: "\u02DC", Tilde: "\u223C", TildeEqual: "\u2243", TildeFullEqual: "\u2245", TildeTilde: "\u2248", timesbar: "\u2A31", timesb: "\u22A0", times: "\xD7", timesd: "\u2A30", tint: "\u222D", toea: "\u2928", topbot: "\u2336", topcir: "\u2AF1", top: "\u22A4", Topf: "\u{1D54B}", topf: "\u{1D565}", topfork: "\u2ADA", tosa: "\u2929", tprime: "\u2034", trade: "\u2122", TRADE: "\u2122", triangle: "\u25B5", triangledown: "\u25BF", triangleleft: "\u25C3", trianglelefteq: "\u22B4", triangleq: "\u225C", triangleright: "\u25B9", trianglerighteq: "\u22B5", tridot: "\u25EC", trie: "\u225C", triminus: "\u2A3A", TripleDot: "\u20DB", triplus: "\u2A39", trisb: "\u29CD", tritime: "\u2A3B", trpezium: "\u23E2", Tscr: "\u{1D4AF}", tscr: "\u{1D4C9}", TScy: "\u0426", tscy: "\u0446", TSHcy: "\u040B", tshcy: "\u045B", Tstrok: "\u0166", tstrok: "\u0167", twixt: "\u226C", twoheadleftarrow: "\u219E", twoheadrightarrow: "\u21A0", Uacute: "\xDA", uacute: "\xFA", uarr: "\u2191", Uarr: "\u219F", uArr: "\u21D1", Uarrocir: "\u2949", Ubrcy: "\u040E", ubrcy: "\u045E", Ubreve: "\u016C", ubreve: "\u016D", Ucirc: "\xDB", ucirc: "\xFB", Ucy: "\u0423", ucy: "\u0443", udarr: "\u21C5", Udblac: "\u0170", udblac: "\u0171", udhar: "\u296E", ufisht: "\u297E", Ufr: "\u{1D518}", ufr: "\u{1D532}", Ugrave: "\xD9", ugrave: "\xF9", uHar: "\u2963", uharl: "\u21BF", uharr: "\u21BE", uhblk: "\u2580", ulcorn: "\u231C", ulcorner: "\u231C", ulcrop: "\u230F", ultri: "\u25F8", Umacr: "\u016A", umacr: "\u016B", uml: "\xA8", UnderBar: "_", UnderBrace: "\u23DF", UnderBracket: "\u23B5", UnderParenthesis: "\u23DD", Union: "\u22C3", UnionPlus: "\u228E", Uogon: "\u0172", uogon: "\u0173", Uopf: "\u{1D54C}", uopf: "\u{1D566}", UpArrowBar: "\u2912", uparrow: "\u2191", UpArrow: "\u2191", Uparrow: "\u21D1", UpArrowDownArrow: "\u21C5", updownarrow: "\u2195", UpDownArrow: "\u2195", Updownarrow: "\u21D5", UpEquilibrium: "\u296E", upharpoonleft: "\u21BF", upharpoonright: "\u21BE", uplus: "\u228E", UpperLeftArrow: "\u2196", UpperRightArrow: "\u2197", upsi: "\u03C5", Upsi: "\u03D2", upsih: "\u03D2", Upsilon: "\u03A5", upsilon: "\u03C5", UpTeeArrow: "\u21A5", UpTee: "\u22A5", upuparrows: "\u21C8", urcorn: "\u231D", urcorner: "\u231D", urcrop: "\u230E", Uring: "\u016E", uring: "\u016F", urtri: "\u25F9", Uscr: "\u{1D4B0}", uscr: "\u{1D4CA}", utdot: "\u22F0", Utilde: "\u0168", utilde: "\u0169", utri: "\u25B5", utrif: "\u25B4", uuarr: "\u21C8", Uuml: "\xDC", uuml: "\xFC", uwangle: "\u29A7", vangrt: "\u299C", varepsilon: "\u03F5", varkappa: "\u03F0", varnothing: "\u2205", varphi: "\u03D5", varpi: "\u03D6", varpropto: "\u221D", varr: "\u2195", vArr: "\u21D5", varrho: "\u03F1", varsigma: "\u03C2", varsubsetneq: "\u228A\uFE00", varsubsetneqq: "\u2ACB\uFE00", varsupsetneq: "\u228B\uFE00", varsupsetneqq: "\u2ACC\uFE00", vartheta: "\u03D1", vartriangleleft: "\u22B2", vartriangleright: "\u22B3", vBar: "\u2AE8", Vbar: "\u2AEB", vBarv: "\u2AE9", Vcy: "\u0412", vcy: "\u0432", vdash: "\u22A2", vDash: "\u22A8", Vdash: "\u22A9", VDash: "\u22AB", Vdashl: "\u2AE6", veebar: "\u22BB", vee: "\u2228", Vee: "\u22C1", veeeq: "\u225A", vellip: "\u22EE", verbar: "|", Verbar: "\u2016", vert: "|", Vert: "\u2016", VerticalBar: "\u2223", VerticalLine: "|", VerticalSeparator: "\u2758", VerticalTilde: "\u2240", VeryThinSpace: "\u200A", Vfr: "\u{1D519}", vfr: "\u{1D533}", vltri: "\u22B2", vnsub: "\u2282\u20D2", vnsup: "\u2283\u20D2", Vopf: "\u{1D54D}", vopf: "\u{1D567}", vprop: "\u221D", vrtri: "\u22B3", Vscr: "\u{1D4B1}", vscr: "\u{1D4CB}", vsubnE: "\u2ACB\uFE00", vsubne: "\u228A\uFE00", vsupnE: "\u2ACC\uFE00", vsupne: "\u228B\uFE00", Vvdash: "\u22AA", vzigzag: "\u299A", Wcirc: "\u0174", wcirc: "\u0175", wedbar: "\u2A5F", wedge: "\u2227", Wedge: "\u22C0", wedgeq: "\u2259", weierp: "\u2118", Wfr: "\u{1D51A}", wfr: "\u{1D534}", Wopf: "\u{1D54E}", wopf: "\u{1D568}", wp: "\u2118", wr: "\u2240", wreath: "\u2240", Wscr: "\u{1D4B2}", wscr: "\u{1D4CC}", xcap: "\u22C2", xcirc: "\u25EF", xcup: "\u22C3", xdtri: "\u25BD", Xfr: "\u{1D51B}", xfr: "\u{1D535}", xharr: "\u27F7", xhArr: "\u27FA", Xi: "\u039E", xi: "\u03BE", xlarr: "\u27F5", xlArr: "\u27F8", xmap: "\u27FC", xnis: "\u22FB", xodot: "\u2A00", Xopf: "\u{1D54F}", xopf: "\u{1D569}", xoplus: "\u2A01", xotime: "\u2A02", xrarr: "\u27F6", xrArr: "\u27F9", Xscr: "\u{1D4B3}", xscr: "\u{1D4CD}", xsqcup: "\u2A06", xuplus: "\u2A04", xutri: "\u25B3", xvee: "\u22C1", xwedge: "\u22C0", Yacute: "\xDD", yacute: "\xFD", YAcy: "\u042F", yacy: "\u044F", Ycirc: "\u0176", ycirc: "\u0177", Ycy: "\u042B", ycy: "\u044B", yen: "\xA5", Yfr: "\u{1D51C}", yfr: "\u{1D536}", YIcy: "\u0407", yicy: "\u0457", Yopf: "\u{1D550}", yopf: "\u{1D56A}", Yscr: "\u{1D4B4}", yscr: "\u{1D4CE}", YUcy: "\u042E", yucy: "\u044E", yuml: "\xFF", Yuml: "\u0178", Zacute: "\u0179", zacute: "\u017A", Zcaron: "\u017D", zcaron: "\u017E", Zcy: "\u0417", zcy: "\u0437", Zdot: "\u017B", zdot: "\u017C", zeetrf: "\u2128", ZeroWidthSpace: "\u200B", Zeta: "\u0396", zeta: "\u03B6", zfr: "\u{1D537}", Zfr: "\u2128", ZHcy: "\u0416", zhcy: "\u0436", zigrarr: "\u21DD", zopf: "\u{1D56B}", Zopf: "\u2124", Zscr: "\u{1D4B5}", zscr: "\u{1D4CF}", zwj: "\u200D", zwnj: "\u200C" };
28516    }
28517  });
28518
28519  
vendor: 1,732 bytes, lines 28519-28526
28519// node_modules/entities/maps/legacy.json
28520  var require_legacy = __commonJS({
28521    "node_modules/entities/maps/legacy.json"(exports, module) {
28522      module.exports = { Aacute: "\xC1", aacute: "\xE1", Acirc: "\xC2", acirc: "\xE2", acute: "\xB4", AElig: "\xC6", aelig: "\xE6", Agrave: "\xC0", agrave: "\xE0", amp: "&", AMP: "&", Aring: "\xC5", aring: "\xE5", Atilde: "\xC3", atilde: "\xE3", Auml: "\xC4", auml: "\xE4", brvbar: "\xA6", Ccedil: "\xC7", ccedil: "\xE7", cedil: "\xB8", cent: "\xA2", copy: "\xA9", COPY: "\xA9", curren: "\xA4", deg: "\xB0", divide: "\xF7", Eacute: "\xC9", eacute: "\xE9", Ecirc: "\xCA", ecirc: "\xEA", Egrave: "\xC8", egrave: "\xE8", ETH: "\xD0", eth: "\xF0", Euml: "\xCB", euml: "\xEB", frac12: "\xBD", frac14: "\xBC", frac34: "\xBE", gt: ">", GT: ">", Iacute: "\xCD", iacute: "\xED", Icirc: "\xCE", icirc: "\xEE", iexcl: "\xA1", Igrave: "\xCC", igrave: "\xEC", iquest: "\xBF", Iuml: "\xCF", iuml: "\xEF", laquo: "\xAB", lt: "<", LT: "<", macr: "\xAF", micro: "\xB5", middot: "\xB7", nbsp: "\xA0", not: "\xAC", Ntilde: "\xD1", ntilde: "\xF1", Oacute: "\xD3", oacute: "\xF3", Ocirc: "\xD4", ocirc: "\xF4", Ograve: "\xD2", ograve: "\xF2", ordf: "\xAA", ordm: "\xBA", Oslash: "\xD8", oslash: "\xF8", Otilde: "\xD5", otilde: "\xF5", Ouml: "\xD6", ouml: "\xF6", para: "\xB6", plusmn: "\xB1", pound: "\xA3", quot: '"', QUOT: '"', raquo: "\xBB", reg: "\xAE", REG: "\xAE", sect: "\xA7", shy: "\xAD", sup1: "\xB9", sup2: "\xB2", sup3: "\xB3", szlig: "\xDF", THORN: "\xDE", thorn: "\xFE", times: "\xD7", Uacute: "\xDA", uacute: "\xFA", Ucirc: "\xDB", ucirc: "\xFB", Ugrave: "\xD9", ugrave: "\xF9", uml: "\xA8", Uuml: "\xDC", uuml: "\xFC", Yacute: "\xDD", yacute: "\xFD", yen: "\xA5", yuml: "\xFF" };
28523    }
28524  });
28525
28526  
vendor: 225 bytes, lines 28526-28533
28526// node_modules/entities/maps/xml.json
28527  var require_xml = __commonJS({
28528    "node_modules/entities/maps/xml.json"(exports, module) {
28529      module.exports = { amp: "&", apos: "'", gt: ">", lt: "<", quot: '"' };
28530    }
28531  });
28532
28533  
vendor: 29,754 bytes, lines 28533-29320
28533// node_modules/htmlparser2/lib/Tokenizer.js
28534  var require_Tokenizer = __commonJS({
28535    "node_modules/htmlparser2/lib/Tokenizer.js"(exports, module) {
28536      init_esbuild_shims();
28537      module.exports = Tokenizer;
28538      var decodeCodePoint = require_decode_codepoint();
28539      var entityMap = require_entities();
28540      var legacyMap = require_legacy();
28541      var xmlMap = require_xml();
28542      var i2 = 0;
28543      var TEXT = i2++;
28544      var BEFORE_TAG_NAME = i2++;
28545      var IN_TAG_NAME = i2++;
28546      var IN_SELF_CLOSING_TAG = i2++;
28547      var BEFORE_CLOSING_TAG_NAME = i2++;
28548      var IN_CLOSING_TAG_NAME = i2++;
28549      var AFTER_CLOSING_TAG_NAME = i2++;
28550      var BEFORE_ATTRIBUTE_NAME = i2++;
28551      var IN_ATTRIBUTE_NAME = i2++;
28552      var AFTER_ATTRIBUTE_NAME = i2++;
28553      var BEFORE_ATTRIBUTE_VALUE = i2++;
28554      var IN_ATTRIBUTE_VALUE_DQ = i2++;
28555      var IN_ATTRIBUTE_VALUE_SQ = i2++;
28556      var IN_ATTRIBUTE_VALUE_NQ = i2++;
28557      var BEFORE_DECLARATION = i2++;
28558      var IN_DECLARATION = i2++;
28559      var IN_PROCESSING_INSTRUCTION = i2++;
28560      var BEFORE_COMMENT = i2++;
28561      var IN_COMMENT = i2++;
28562      var AFTER_COMMENT_1 = i2++;
28563      var AFTER_COMMENT_2 = i2++;
28564      var BEFORE_CDATA_1 = i2++;
28565      var BEFORE_CDATA_2 = i2++;
28566      var BEFORE_CDATA_3 = i2++;
28567      var BEFORE_CDATA_4 = i2++;
28568      var BEFORE_CDATA_5 = i2++;
28569      var BEFORE_CDATA_6 = i2++;
28570      var IN_CDATA = i2++;
28571      var AFTER_CDATA_1 = i2++;
28572      var AFTER_CDATA_2 = i2++;
28573      var BEFORE_SPECIAL = i2++;
28574      var BEFORE_SPECIAL_END = i2++;
28575      var BEFORE_SCRIPT_1 = i2++;
28576      var BEFORE_SCRIPT_2 = i2++;
28577      var BEFORE_SCRIPT_3 = i2++;
28578      var BEFORE_SCRIPT_4 = i2++;
28579      var BEFORE_SCRIPT_5 = i2++;
28580      var AFTER_SCRIPT_1 = i2++;
28581      var AFTER_SCRIPT_2 = i2++;
28582      var AFTER_SCRIPT_3 = i2++;
28583      var AFTER_SCRIPT_4 = i2++;
28584      var AFTER_SCRIPT_5 = i2++;
28585      var BEFORE_STYLE_1 = i2++;
28586      var BEFORE_STYLE_2 = i2++;
28587      var BEFORE_STYLE_3 = i2++;
28588      var BEFORE_STYLE_4 = i2++;
28589      var AFTER_STYLE_1 = i2++;
28590      var AFTER_STYLE_2 = i2++;
28591      var AFTER_STYLE_3 = i2++;
28592      var AFTER_STYLE_4 = i2++;
28593      var BEFORE_ENTITY = i2++;
28594      var BEFORE_NUMERIC_ENTITY = i2++;
28595      var IN_NAMED_ENTITY = i2++;
28596      var IN_NUMERIC_ENTITY = i2++;
28597      var IN_HEX_ENTITY = i2++;
28598      var j2 = 0;
28599      var SPECIAL_NONE = j2++;
28600      var SPECIAL_SCRIPT = j2++;
28601      var SPECIAL_STYLE = j2++;
28602      function whitespace2(c) {
28603        return c === " " || c === "\n" || c === "	" || c === "\f" || c === "\r";
28604      }
28605      function ifElseState(upper, SUCCESS, FAILURE) {
28606        var lower = upper.toLowerCase();
28607        if (upper === lower) {
28608          return function(c) {
28609            if (c === lower) {
28610              this._state = SUCCESS;
28611            } else {
28612              this._state = FAILURE;
28613              this._index--;
28614            }
28615          };
28616        } else {
28617          return function(c) {
28618            if (c === lower || c === upper) {
28619              this._state = SUCCESS;
28620            } else {
28621              this._state = FAILURE;
28622              this._index--;
28623            }
28624          };
28625        }
28626      }
28627      function consumeSpecialNameChar(upper, NEXT_STATE) {
28628        var lower = upper.toLowerCase();
28629        return function(c) {
28630          if (c === lower || c === upper) {
28631            this._state = NEXT_STATE;
28632          } else {
28633            this._state = IN_TAG_NAME;
28634            this._index--;
28635          }
28636        };
28637      }
28638      function Tokenizer(options2, cbs) {
28639        this._state = TEXT;
28640        this._buffer = "";
28641        this._sectionStart = 0;
28642        this._index = 0;
28643        this._bufferOffset = 0;
28644        this._baseState = TEXT;
28645        this._special = SPECIAL_NONE;
28646        this._cbs = cbs;
28647        this._running = true;
28648        this._ended = false;
28649        this._xmlMode = !!(options2 && options2.xmlMode);
28650        this._decodeEntities = !!(options2 && options2.decodeEntities);
28651      }
28652      Tokenizer.prototype._stateText = function(c) {
28653        if (c === "<") {
28654          if (this._index > this._sectionStart) {
28655            this._cbs.ontext(this._getSection());
28656          }
28657          this._state = BEFORE_TAG_NAME;
28658          this._sectionStart = this._index;
28659        } else if (this._decodeEntities && this._special === SPECIAL_NONE && c === "&") {
28660          if (this._index > this._sectionStart) {
28661            this._cbs.ontext(this._getSection());
28662          }
28663          this._baseState = TEXT;
28664          this._state = BEFORE_ENTITY;
28665          this._sectionStart = this._index;
28666        }
28667      };
28668      Tokenizer.prototype._stateBeforeTagName = function(c) {
28669        if (c === "/") {
28670          this._state = BEFORE_CLOSING_TAG_NAME;
28671        } else if (c === "<") {
28672          this._cbs.ontext(this._getSection());
28673          this._sectionStart = this._index;
28674        } else if (c === ">" || this._special !== SPECIAL_NONE || whitespace2(c)) {
28675          this._state = TEXT;
28676        } else if (c === "!") {
28677          this._state = BEFORE_DECLARATION;
28678          this._sectionStart = this._index + 1;
28679        } else if (c === "?") {
28680          this._state = IN_PROCESSING_INSTRUCTION;
28681          this._sectionStart = this._index + 1;
28682        } else {
28683          this._state = !this._xmlMode && (c === "s" || c === "S") ? BEFORE_SPECIAL : IN_TAG_NAME;
28684          this._sectionStart = this._index;
28685        }
28686      };
28687      Tokenizer.prototype._stateInTagName = function(c) {
28688        if (c === "/" || c === ">" || whitespace2(c)) {
28689          this._emitToken("onopentagname");
28690          this._state = BEFORE_ATTRIBUTE_NAME;
28691          this._index--;
28692        }
28693      };
28694      Tokenizer.prototype._stateBeforeCloseingTagName = function(c) {
28695        if (whitespace2(c)) ;
28696        else if (c === ">") {
28697          this._state = TEXT;
28698        } else if (this._special !== SPECIAL_NONE) {
28699          if (c === "s" || c === "S") {
28700            this._state = BEFORE_SPECIAL_END;
28701          } else {
28702            this._state = TEXT;
28703            this._index--;
28704          }
28705        } else {
28706          this._state = IN_CLOSING_TAG_NAME;
28707          this._sectionStart = this._index;
28708        }
28709      };
28710      Tokenizer.prototype._stateInCloseingTagName = function(c) {
28711        if (c === ">" || whitespace2(c)) {
28712          this._emitToken("onclosetag");
28713          this._state = AFTER_CLOSING_TAG_NAME;
28714          this._index--;
28715        }
28716      };
28717      Tokenizer.prototype._stateAfterCloseingTagName = function(c) {
28718        if (c === ">") {
28719          this._state = TEXT;
28720          this._sectionStart = this._index + 1;
28721        }
28722      };
28723      Tokenizer.prototype._stateBeforeAttributeName = function(c) {
28724        if (c === ">") {
28725          this._cbs.onopentagend();
28726          this._state = TEXT;
28727          this._sectionStart = this._index + 1;
28728        } else if (c === "/") {
28729          this._state = IN_SELF_CLOSING_TAG;
28730        } else if (!whitespace2(c)) {
28731          this._state = IN_ATTRIBUTE_NAME;
28732          this._sectionStart = this._index;
28733        }
28734      };
28735      Tokenizer.prototype._stateInSelfClosingTag = function(c) {
28736        if (c === ">") {
28737          this._cbs.onselfclosingtag();
28738          this._state = TEXT;
28739          this._sectionStart = this._index + 1;
28740        } else if (!whitespace2(c)) {
28741          this._state = BEFORE_ATTRIBUTE_NAME;
28742          this._index--;
28743        }
28744      };
28745      Tokenizer.prototype._stateInAttributeName = function(c) {
28746        if (c === "=" || c === "/" || c === ">" || whitespace2(c)) {
28747          this._cbs.onattribname(this._getSection());
28748          this._sectionStart = -1;
28749          this._state = AFTER_ATTRIBUTE_NAME;
28750          this._index--;
28751        }
28752      };
28753      Tokenizer.prototype._stateAfterAttributeName = function(c) {
28754        if (c === "=") {
28755          this._state = BEFORE_ATTRIBUTE_VALUE;
28756        } else if (c === "/" || c === ">") {
28757          this._cbs.onattribend();
28758          this._state = BEFORE_ATTRIBUTE_NAME;
28759          this._index--;
28760        } else if (!whitespace2(c)) {
28761          this._cbs.onattribend();
28762          this._state = IN_ATTRIBUTE_NAME;
28763          this._sectionStart = this._index;
28764        }
28765      };
28766      Tokenizer.prototype._stateBeforeAttributeValue = function(c) {
28767        if (c === '"') {
28768          this._state = IN_ATTRIBUTE_VALUE_DQ;
28769          this._sectionStart = this._index + 1;
28770        } else if (c === "'") {
28771          this._state = IN_ATTRIBUTE_VALUE_SQ;
28772          this._sectionStart = this._index + 1;
28773        } else if (!whitespace2(c)) {
28774          this._state = IN_ATTRIBUTE_VALUE_NQ;
28775          this._sectionStart = this._index;
28776          this._index--;
28777        }
28778      };
28779      Tokenizer.prototype._stateInAttributeValueDoubleQuotes = function(c) {
28780        if (c === '"') {
28781          this._emitToken("onattribdata");
28782          this._cbs.onattribend();
28783          this._state = BEFORE_ATTRIBUTE_NAME;
28784        } else if (this._decodeEntities && c === "&") {
28785          this._emitToken("onattribdata");
28786          this._baseState = this._state;
28787          this._state = BEFORE_ENTITY;
28788          this._sectionStart = this._index;
28789        }
28790      };
28791      Tokenizer.prototype._stateInAttributeValueSingleQuotes = function(c) {
28792        if (c === "'") {
28793          this._emitToken("onattribdata");
28794          this._cbs.onattribend();
28795          this._state = BEFORE_ATTRIBUTE_NAME;
28796        } else if (this._decodeEntities && c === "&") {
28797          this._emitToken("onattribdata");
28798          this._baseState = this._state;
28799          this._state = BEFORE_ENTITY;
28800          this._sectionStart = this._index;
28801        }
28802      };
28803      Tokenizer.prototype._stateInAttributeValueNoQuotes = function(c) {
28804        if (whitespace2(c) || c === ">") {
28805          this._emitToken("onattribdata");
28806          this._cbs.onattribend();
28807          this._state = BEFORE_ATTRIBUTE_NAME;
28808          this._index--;
28809        } else if (this._decodeEntities && c === "&") {
28810          this._emitToken("onattribdata");
28811          this._baseState = this._state;
28812          this._state = BEFORE_ENTITY;
28813          this._sectionStart = this._index;
28814        }
28815      };
28816      Tokenizer.prototype._stateBeforeDeclaration = function(c) {
28817        this._state = c === "[" ? BEFORE_CDATA_1 : c === "-" ? BEFORE_COMMENT : IN_DECLARATION;
28818      };
28819      Tokenizer.prototype._stateInDeclaration = function(c) {
28820        if (c === ">") {
28821          this._cbs.ondeclaration(this._getSection());
28822          this._state = TEXT;
28823          this._sectionStart = this._index + 1;
28824        }
28825      };
28826      Tokenizer.prototype._stateInProcessingInstruction = function(c) {
28827        if (c === ">") {
28828          this._cbs.onprocessinginstruction(this._getSection());
28829          this._state = TEXT;
28830          this._sectionStart = this._index + 1;
28831        }
28832      };
28833      Tokenizer.prototype._stateBeforeComment = function(c) {
28834        if (c === "-") {
28835          this._state = IN_COMMENT;
28836          this._sectionStart = this._index + 1;
28837        } else {
28838          this._state = IN_DECLARATION;
28839        }
28840      };
28841      Tokenizer.prototype._stateInComment = function(c) {
28842        if (c === "-") this._state = AFTER_COMMENT_1;
28843      };
28844      Tokenizer.prototype._stateAfterComment1 = function(c) {
28845        if (c === "-") {
28846          this._state = AFTER_COMMENT_2;
28847        } else {
28848          this._state = IN_COMMENT;
28849        }
28850      };
28851      Tokenizer.prototype._stateAfterComment2 = function(c) {
28852        if (c === ">") {
28853          this._cbs.oncomment(
28854            this._buffer.substring(this._sectionStart, this._index - 2)
28855          );
28856          this._state = TEXT;
28857          this._sectionStart = this._index + 1;
28858        } else if (c !== "-") {
28859          this._state = IN_COMMENT;
28860        }
28861      };
28862      Tokenizer.prototype._stateBeforeCdata1 = ifElseState(
28863        "C",
28864        BEFORE_CDATA_2,
28865        IN_DECLARATION
28866      );
28867      Tokenizer.prototype._stateBeforeCdata2 = ifElseState(
28868        "D",
28869        BEFORE_CDATA_3,
28870        IN_DECLARATION
28871      );
28872      Tokenizer.prototype._stateBeforeCdata3 = ifElseState(
28873        "A",
28874        BEFORE_CDATA_4,
28875        IN_DECLARATION
28876      );
28877      Tokenizer.prototype._stateBeforeCdata4 = ifElseState(
28878        "T",
28879        BEFORE_CDATA_5,
28880        IN_DECLARATION
28881      );
28882      Tokenizer.prototype._stateBeforeCdata5 = ifElseState(
28883        "A",
28884        BEFORE_CDATA_6,
28885        IN_DECLARATION
28886      );
28887      Tokenizer.prototype._stateBeforeCdata6 = function(c) {
28888        if (c === "[") {
28889          this._state = IN_CDATA;
28890          this._sectionStart = this._index + 1;
28891        } else {
28892          this._state = IN_DECLARATION;
28893          this._index--;
28894        }
28895      };
28896      Tokenizer.prototype._stateInCdata = function(c) {
28897        if (c === "]") this._state = AFTER_CDATA_1;
28898      };
28899      Tokenizer.prototype._stateAfterCdata1 = function(c) {
28900        if (c === "]") this._state = AFTER_CDATA_2;
28901        else this._state = IN_CDATA;
28902      };
28903      Tokenizer.prototype._stateAfterCdata2 = function(c) {
28904        if (c === ">") {
28905          this._cbs.oncdata(
28906            this._buffer.substring(this._sectionStart, this._index - 2)
28907          );
28908          this._state = TEXT;
28909          this._sectionStart = this._index + 1;
28910        } else if (c !== "]") {
28911          this._state = IN_CDATA;
28912        }
28913      };
28914      Tokenizer.prototype._stateBeforeSpecial = function(c) {
28915        if (c === "c" || c === "C") {
28916          this._state = BEFORE_SCRIPT_1;
28917        } else if (c === "t" || c === "T") {
28918          this._state = BEFORE_STYLE_1;
28919        } else {
28920          this._state = IN_TAG_NAME;
28921          this._index--;
28922        }
28923      };
28924      Tokenizer.prototype._stateBeforeSpecialEnd = function(c) {
28925        if (this._special === SPECIAL_SCRIPT && (c === "c" || c === "C")) {
28926          this._state = AFTER_SCRIPT_1;
28927        } else if (this._special === SPECIAL_STYLE && (c === "t" || c === "T")) {
28928          this._state = AFTER_STYLE_1;
28929        } else this._state = TEXT;
28930      };
28931      Tokenizer.prototype._stateBeforeScript1 = consumeSpecialNameChar(
28932        "R",
28933        BEFORE_SCRIPT_2
28934      );
28935      Tokenizer.prototype._stateBeforeScript2 = consumeSpecialNameChar(
28936        "I",
28937        BEFORE_SCRIPT_3
28938      );
28939      Tokenizer.prototype._stateBeforeScript3 = consumeSpecialNameChar(
28940        "P",
28941        BEFORE_SCRIPT_4
28942      );
28943      Tokenizer.prototype._stateBeforeScript4 = consumeSpecialNameChar(
28944        "T",
28945        BEFORE_SCRIPT_5
28946      );
28947      Tokenizer.prototype._stateBeforeScript5 = function(c) {
28948        if (c === "/" || c === ">" || whitespace2(c)) {
28949          this._special = SPECIAL_SCRIPT;
28950        }
28951        this._state = IN_TAG_NAME;
28952        this._index--;
28953      };
28954      Tokenizer.prototype._stateAfterScript1 = ifElseState("R", AFTER_SCRIPT_2, TEXT);
28955      Tokenizer.prototype._stateAfterScript2 = ifElseState("I", AFTER_SCRIPT_3, TEXT);
28956      Tokenizer.prototype._stateAfterScript3 = ifElseState("P", AFTER_SCRIPT_4, TEXT);
28957      Tokenizer.prototype._stateAfterScript4 = ifElseState("T", AFTER_SCRIPT_5, TEXT);
28958      Tokenizer.prototype._stateAfterScript5 = function(c) {
28959        if (c === ">" || whitespace2(c)) {
28960          this._special = SPECIAL_NONE;
28961          this._state = IN_CLOSING_TAG_NAME;
28962          this._sectionStart = this._index - 6;
28963          this._index--;
28964        } else this._state = TEXT;
28965      };
28966      Tokenizer.prototype._stateBeforeStyle1 = consumeSpecialNameChar(
28967        "Y",
28968        BEFORE_STYLE_2
28969      );
28970      Tokenizer.prototype._stateBeforeStyle2 = consumeSpecialNameChar(
28971        "L",
28972        BEFORE_STYLE_3
28973      );
28974      Tokenizer.prototype._stateBeforeStyle3 = consumeSpecialNameChar(
28975        "E",
28976        BEFORE_STYLE_4
28977      );
28978      Tokenizer.prototype._stateBeforeStyle4 = function(c) {
28979        if (c === "/" || c === ">" || whitespace2(c)) {
28980          this._special = SPECIAL_STYLE;
28981        }
28982        this._state = IN_TAG_NAME;
28983        this._index--;
28984      };
28985      Tokenizer.prototype._stateAfterStyle1 = ifElseState("Y", AFTER_STYLE_2, TEXT);
28986      Tokenizer.prototype._stateAfterStyle2 = ifElseState("L", AFTER_STYLE_3, TEXT);
28987      Tokenizer.prototype._stateAfterStyle3 = ifElseState("E", AFTER_STYLE_4, TEXT);
28988      Tokenizer.prototype._stateAfterStyle4 = function(c) {
28989        if (c === ">" || whitespace2(c)) {
28990          this._special = SPECIAL_NONE;
28991          this._state = IN_CLOSING_TAG_NAME;
28992          this._sectionStart = this._index - 5;
28993          this._index--;
28994        } else this._state = TEXT;
28995      };
28996      Tokenizer.prototype._stateBeforeEntity = ifElseState(
28997        "#",
28998        BEFORE_NUMERIC_ENTITY,
28999        IN_NAMED_ENTITY
29000      );
29001      Tokenizer.prototype._stateBeforeNumericEntity = ifElseState(
29002        "X",
29003        IN_HEX_ENTITY,
29004        IN_NUMERIC_ENTITY
29005      );
29006      Tokenizer.prototype._parseNamedEntityStrict = function() {
29007        if (this._sectionStart + 1 < this._index) {
29008          var entity = this._buffer.substring(
29009            this._sectionStart + 1,
29010            this._index
29011          ), map = this._xmlMode ? xmlMap : entityMap;
29012          if (map.hasOwnProperty(entity)) {
29013            this._emitPartial(map[entity]);
29014            this._sectionStart = this._index + 1;
29015          }
29016        }
29017      };
29018      Tokenizer.prototype._parseLegacyEntity = function() {
29019        var start = this._sectionStart + 1, limit = this._index - start;
29020        if (limit > 6) limit = 6;
29021        while (limit >= 2) {
29022          var entity = this._buffer.substr(start, limit);
29023          if (legacyMap.hasOwnProperty(entity)) {
29024            this._emitPartial(legacyMap[entity]);
29025            this._sectionStart += limit + 1;
29026            return;
29027          } else {
29028            limit--;
29029          }
29030        }
29031      };
29032      Tokenizer.prototype._stateInNamedEntity = function(c) {
29033        if (c === ";") {
29034          this._parseNamedEntityStrict();
29035          if (this._sectionStart + 1 < this._index && !this._xmlMode) {
29036            this._parseLegacyEntity();
29037          }
29038          this._state = this._baseState;
29039        } else if ((c < "a" || c > "z") && (c < "A" || c > "Z") && (c < "0" || c > "9")) {
29040          if (this._xmlMode) ;
29041          else if (this._sectionStart + 1 === this._index) ;
29042          else if (this._baseState !== TEXT) {
29043            if (c !== "=") {
29044              this._parseNamedEntityStrict();
29045            }
29046          } else {
29047            this._parseLegacyEntity();
29048          }
29049          this._state = this._baseState;
29050          this._index--;
29051        }
29052      };
29053      Tokenizer.prototype._decodeNumericEntity = function(offset2, base) {
29054        var sectionStart = this._sectionStart + offset2;
29055        if (sectionStart !== this._index) {
29056          var entity = this._buffer.substring(sectionStart, this._index);
29057          var parsed = parseInt(entity, base);
29058          this._emitPartial(decodeCodePoint(parsed));
29059          this._sectionStart = this._index;
29060        } else {
29061          this._sectionStart--;
29062        }
29063        this._state = this._baseState;
29064      };
29065      Tokenizer.prototype._stateInNumericEntity = function(c) {
29066        if (c === ";") {
29067          this._decodeNumericEntity(2, 10);
29068          this._sectionStart++;
29069        } else if (c < "0" || c > "9") {
29070          if (!this._xmlMode) {
29071            this._decodeNumericEntity(2, 10);
29072          } else {
29073            this._state = this._baseState;
29074          }
29075          this._index--;
29076        }
29077      };
29078      Tokenizer.prototype._stateInHexEntity = function(c) {
29079        if (c === ";") {
29080          this._decodeNumericEntity(3, 16);
29081          this._sectionStart++;
29082        } else if ((c < "a" || c > "f") && (c < "A" || c > "F") && (c < "0" || c > "9")) {
29083          if (!this._xmlMode) {
29084            this._decodeNumericEntity(3, 16);
29085          } else {
29086            this._state = this._baseState;
29087          }
29088          this._index--;
29089        }
29090      };
29091      Tokenizer.prototype._cleanup = function() {
29092        if (this._sectionStart < 0) {
29093          this._buffer = "";
29094          this._bufferOffset += this._index;
29095          this._index = 0;
29096        } else if (this._running) {
29097          if (this._state === TEXT) {
29098            if (this._sectionStart !== this._index) {
29099              this._cbs.ontext(this._buffer.substr(this._sectionStart));
29100            }
29101            this._buffer = "";
29102            this._bufferOffset += this._index;
29103            this._index = 0;
29104          } else if (this._sectionStart === this._index) {
29105            this._buffer = "";
29106            this._bufferOffset += this._index;
29107            this._index = 0;
29108          } else {
29109            this._buffer = this._buffer.substr(this._sectionStart);
29110            this._index -= this._sectionStart;
29111            this._bufferOffset += this._sectionStart;
29112          }
29113          this._sectionStart = 0;
29114        }
29115      };
29116      Tokenizer.prototype.write = function(chunk) {
29117        if (this._ended) this._cbs.onerror(Error(".write() after done!"));
29118        this._buffer += chunk;
29119        this._parse();
29120      };
29121      Tokenizer.prototype._parse = function() {
29122        while (this._index < this._buffer.length && this._running) {
29123          var c = this._buffer.charAt(this._index);
29124          if (this._state === TEXT) {
29125            this._stateText(c);
29126          } else if (this._state === BEFORE_TAG_NAME) {
29127            this._stateBeforeTagName(c);
29128          } else if (this._state === IN_TAG_NAME) {
29129            this._stateInTagName(c);
29130          } else if (this._state === BEFORE_CLOSING_TAG_NAME) {
29131            this._stateBeforeCloseingTagName(c);
29132          } else if (this._state === IN_CLOSING_TAG_NAME) {
29133            this._stateInCloseingTagName(c);
29134          } else if (this._state === AFTER_CLOSING_TAG_NAME) {
29135            this._stateAfterCloseingTagName(c);
29136          } else if (this._state === IN_SELF_CLOSING_TAG) {
29137            this._stateInSelfClosingTag(c);
29138          } else if (this._state === BEFORE_ATTRIBUTE_NAME) {
29139            this._stateBeforeAttributeName(c);
29140          } else if (this._state === IN_ATTRIBUTE_NAME) {
29141            this._stateInAttributeName(c);
29142          } else if (this._state === AFTER_ATTRIBUTE_NAME) {
29143            this._stateAfterAttributeName(c);
29144          } else if (this._state === BEFORE_ATTRIBUTE_VALUE) {
29145            this._stateBeforeAttributeValue(c);
29146          } else if (this._state === IN_ATTRIBUTE_VALUE_DQ) {
29147            this._stateInAttributeValueDoubleQuotes(c);
29148          } else if (this._state === IN_ATTRIBUTE_VALUE_SQ) {
29149            this._stateInAttributeValueSingleQuotes(c);
29150          } else if (this._state === IN_ATTRIBUTE_VALUE_NQ) {
29151            this._stateInAttributeValueNoQuotes(c);
29152          } else if (this._state === BEFORE_DECLARATION) {
29153            this._stateBeforeDeclaration(c);
29154          } else if (this._state === IN_DECLARATION) {
29155            this._stateInDeclaration(c);
29156          } else if (this._state === IN_PROCESSING_INSTRUCTION) {
29157            this._stateInProcessingInstruction(c);
29158          } else if (this._state === BEFORE_COMMENT) {
29159            this._stateBeforeComment(c);
29160          } else if (this._state === IN_COMMENT) {
29161            this._stateInComment(c);
29162          } else if (this._state === AFTER_COMMENT_1) {
29163            this._stateAfterComment1(c);
29164          } else if (this._state === AFTER_COMMENT_2) {
29165            this._stateAfterComment2(c);
29166          } else if (this._state === BEFORE_CDATA_1) {
29167            this._stateBeforeCdata1(c);
29168          } else if (this._state === BEFORE_CDATA_2) {
29169            this._stateBeforeCdata2(c);
29170          } else if (this._state === BEFORE_CDATA_3) {
29171            this._stateBeforeCdata3(c);
29172          } else if (this._state === BEFORE_CDATA_4) {
29173            this._stateBeforeCdata4(c);
29174          } else if (this._state === BEFORE_CDATA_5) {
29175            this._stateBeforeCdata5(c);
29176          } else if (this._state === BEFORE_CDATA_6) {
29177            this._stateBeforeCdata6(c);
29178          } else if (this._state === IN_CDATA) {
29179            this._stateInCdata(c);
29180          } else if (this._state === AFTER_CDATA_1) {
29181            this._stateAfterCdata1(c);
29182          } else if (this._state === AFTER_CDATA_2) {
29183            this._stateAfterCdata2(c);
29184          } else if (this._state === BEFORE_SPECIAL) {
29185            this._stateBeforeSpecial(c);
29186          } else if (this._state === BEFORE_SPECIAL_END) {
29187            this._stateBeforeSpecialEnd(c);
29188          } else if (this._state === BEFORE_SCRIPT_1) {
29189            this._stateBeforeScript1(c);
29190          } else if (this._state === BEFORE_SCRIPT_2) {
29191            this._stateBeforeScript2(c);
29192          } else if (this._state === BEFORE_SCRIPT_3) {
29193            this._stateBeforeScript3(c);
29194          } else if (this._state === BEFORE_SCRIPT_4) {
29195            this._stateBeforeScript4(c);
29196          } else if (this._state === BEFORE_SCRIPT_5) {
29197            this._stateBeforeScript5(c);
29198          } else if (this._state === AFTER_SCRIPT_1) {
29199            this._stateAfterScript1(c);
29200          } else if (this._state === AFTER_SCRIPT_2) {
29201            this._stateAfterScript2(c);
29202          } else if (this._state === AFTER_SCRIPT_3) {
29203            this._stateAfterScript3(c);
29204          } else if (this._state === AFTER_SCRIPT_4) {
29205            this._stateAfterScript4(c);
29206          } else if (this._state === AFTER_SCRIPT_5) {
29207            this._stateAfterScript5(c);
29208          } else if (this._state === BEFORE_STYLE_1) {
29209            this._stateBeforeStyle1(c);
29210          } else if (this._state === BEFORE_STYLE_2) {
29211            this._stateBeforeStyle2(c);
29212          } else if (this._state === BEFORE_STYLE_3) {
29213            this._stateBeforeStyle3(c);
29214          } else if (this._state === BEFORE_STYLE_4) {
29215            this._stateBeforeStyle4(c);
29216          } else if (this._state === AFTER_STYLE_1) {
29217            this._stateAfterStyle1(c);
29218          } else if (this._state === AFTER_STYLE_2) {
29219            this._stateAfterStyle2(c);
29220          } else if (this._state === AFTER_STYLE_3) {
29221            this._stateAfterStyle3(c);
29222          } else if (this._state === AFTER_STYLE_4) {
29223            this._stateAfterStyle4(c);
29224          } else if (this._state === BEFORE_ENTITY) {
29225            this._stateBeforeEntity(c);
29226          } else if (this._state === BEFORE_NUMERIC_ENTITY) {
29227            this._stateBeforeNumericEntity(c);
29228          } else if (this._state === IN_NAMED_ENTITY) {
29229            this._stateInNamedEntity(c);
29230          } else if (this._state === IN_NUMERIC_ENTITY) {
29231            this._stateInNumericEntity(c);
29232          } else if (this._state === IN_HEX_ENTITY) {
29233            this._stateInHexEntity(c);
29234          } else {
29235            this._cbs.onerror(Error("unknown _state"), this._state);
29236          }
29237          this._index++;
29238        }
29239        this._cleanup();
29240      };
29241      Tokenizer.prototype.pause = function() {
29242        this._running = false;
29243      };
29244      Tokenizer.prototype.resume = function() {
29245        this._running = true;
29246        if (this._index < this._buffer.length) {
29247          this._parse();
29248        }
29249        if (this._ended) {
29250          this._finish();
29251        }
29252      };
29253      Tokenizer.prototype.end = function(chunk) {
29254        if (this._ended) this._cbs.onerror(Error(".end() after done!"));
29255        if (chunk) this.write(chunk);
29256        this._ended = true;
29257        if (this._running) this._finish();
29258      };
29259      Tokenizer.prototype._finish = function() {
29260        if (this._sectionStart < this._index) {
29261          this._handleTrailingData();
29262        }
29263        this._cbs.onend();
29264      };
29265      Tokenizer.prototype._handleTrailingData = function() {
29266        var data = this._buffer.substr(this._sectionStart);
29267        if (this._state === IN_CDATA || this._state === AFTER_CDATA_1 || this._state === AFTER_CDATA_2) {
29268          this._cbs.oncdata(data);
29269        } else if (this._state === IN_COMMENT || this._state === AFTER_COMMENT_1 || this._state === AFTER_COMMENT_2) {
29270          this._cbs.oncomment(data);
29271        } else if (this._state === IN_NAMED_ENTITY && !this._xmlMode) {
29272          this._parseLegacyEntity();
29273          if (this._sectionStart < this._index) {
29274            this._state = this._baseState;
29275            this._handleTrailingData();
29276          }
29277        } else if (this._state === IN_NUMERIC_ENTITY && !this._xmlMode) {
29278          this._decodeNumericEntity(2, 10);
29279          if (this._sectionStart < this._index) {
29280            this._state = this._baseState;
29281            this._handleTrailingData();
29282          }
29283        } else if (this._state === IN_HEX_ENTITY && !this._xmlMode) {
29284          this._decodeNumericEntity(3, 16);
29285          if (this._sectionStart < this._index) {
29286            this._state = this._baseState;
29287            this._handleTrailingData();
29288          }
29289        } else if (this._state !== IN_TAG_NAME && this._state !== BEFORE_ATTRIBUTE_NAME && this._state !== BEFORE_ATTRIBUTE_VALUE && this._state !== AFTER_ATTRIBUTE_NAME && this._state !== IN_ATTRIBUTE_NAME && this._state !== IN_ATTRIBUTE_VALUE_SQ && this._state !== IN_ATTRIBUTE_VALUE_DQ && this._state !== IN_ATTRIBUTE_VALUE_NQ && this._state !== IN_CLOSING_TAG_NAME) {
29290          this._cbs.ontext(data);
29291        }
29292      };
29293      Tokenizer.prototype.reset = function() {
29294        Tokenizer.call(
29295          this,
29296          { xmlMode: this._xmlMode, decodeEntities: this._decodeEntities },
29297          this._cbs
29298        );
29299      };
29300      Tokenizer.prototype.getAbsoluteIndex = function() {
29301        return this._bufferOffset + this._index;
29302      };
29303      Tokenizer.prototype._getSection = function() {
29304        return this._buffer.substring(this._sectionStart, this._index);
29305      };
29306      Tokenizer.prototype._emitToken = function(name2) {
29307        this._cbs[name2](this._getSection());
29308        this._sectionStart = -1;
29309      };
29310      Tokenizer.prototype._emitPartial = function(value) {
29311        if (this._baseState !== TEXT) {
29312          this._cbs.onattribdata(value);
29313        } else {
29314          this._cbs.ontext(value);
29315        }
29316      };
29317    }
29318  });
29319
29320  
vendor: 1,032 bytes, lines 29320-29353
29320// node_modules/inherits/inherits_browser.js
29321  var require_inherits_browser = __commonJS({
29322    "node_modules/inherits/inherits_browser.js"(exports, module) {
29323      init_esbuild_shims();
29324      if (typeof Object.create === "function") {
29325        module.exports = function inherits2(ctor, superCtor) {
29326          if (superCtor) {
29327            ctor.super_ = superCtor;
29328            ctor.prototype = Object.create(superCtor.prototype, {
29329              constructor: {
29330                value: ctor,
29331                enumerable: false,
29332                writable: true,
29333                configurable: true
29334              }
29335            });
29336          }
29337        };
29338      } else {
29339        module.exports = function inherits2(ctor, superCtor) {
29340          if (superCtor) {
29341            ctor.super_ = superCtor;
29342            var TempCtor = function() {
29343            };
29344            TempCtor.prototype = superCtor.prototype;
29345            ctor.prototype = new TempCtor();
29346            ctor.prototype.constructor = ctor;
29347          }
29348        };
29349      }
29350    }
29351  });
29352
29353  
vendor: 14,016 bytes, lines 29353-29723
29353// node_modules/events/events.js
29354  var require_events = __commonJS({
29355    "node_modules/events/events.js"(exports, module) {
29356      "use strict";
29357      init_esbuild_shims();
29358      var R = typeof Reflect === "object" ? Reflect : null;
29359      var ReflectApply = R && typeof R.apply === "function" ? R.apply : function ReflectApply2(target, receiver, args) {
29360        return Function.prototype.apply.call(target, receiver, args);
29361      };
29362      var ReflectOwnKeys;
29363      if (R && typeof R.ownKeys === "function") {
29364        ReflectOwnKeys = R.ownKeys;
29365      } else if (Object.getOwnPropertySymbols) {
29366        ReflectOwnKeys = function ReflectOwnKeys2(target) {
29367          return Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target));
29368        };
29369      } else {
29370        ReflectOwnKeys = function ReflectOwnKeys2(target) {
29371          return Object.getOwnPropertyNames(target);
29372        };
29373      }
29374      function ProcessEmitWarning(warning) {
29375        if (console && console.warn) console.warn(warning);
29376      }
29377      var NumberIsNaN = Number.isNaN || function NumberIsNaN2(value) {
29378        return value !== value;
29379      };
29380      function EventEmitter() {
29381        EventEmitter.init.call(this);
29382      }
29383      module.exports = EventEmitter;
29384      module.exports.once = once;
29385      EventEmitter.EventEmitter = EventEmitter;
29386      EventEmitter.prototype._events = void 0;
29387      EventEmitter.prototype._eventsCount = 0;
29388      EventEmitter.prototype._maxListeners = void 0;
29389      var defaultMaxListeners = 10;
29390      function checkListener(listener2) {
29391        if (typeof listener2 !== "function") {
29392          throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof listener2);
29393        }
29394      }
29395      Object.defineProperty(EventEmitter, "defaultMaxListeners", {
29396        enumerable: true,
29397        get: function() {
29398          return defaultMaxListeners;
29399        },
29400        set: function(arg) {
29401          if (typeof arg !== "number" || arg < 0 || NumberIsNaN(arg)) {
29402            throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + arg + ".");
29403          }
29404          defaultMaxListeners = arg;
29405        }
29406      });
29407      EventEmitter.init = function() {
29408        if (this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) {
29409          this._events = /* @__PURE__ */ Object.create(null);
29410          this._eventsCount = 0;
29411        }
29412        this._maxListeners = this._maxListeners || void 0;
29413      };
29414      EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {
29415        if (typeof n !== "number" || n < 0 || NumberIsNaN(n)) {
29416          throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + n + ".");
29417        }
29418        this._maxListeners = n;
29419        return this;
29420      };
29421      function _getMaxListeners(that) {
29422        if (that._maxListeners === void 0)
29423          return EventEmitter.defaultMaxListeners;
29424        return that._maxListeners;
29425      }
29426      EventEmitter.prototype.getMaxListeners = function getMaxListeners() {
29427        return _getMaxListeners(this);
29428      };
29429      EventEmitter.prototype.emit = function emit(type) {
29430        var args = [];
29431        for (var i2 = 1; i2 < arguments.length; i2++) args.push(arguments[i2]);
29432        var doError = type === "error";
29433        var events = this._events;
29434        if (events !== void 0)
29435          doError = doError && events.error === void 0;
29436        else if (!doError)
29437          return false;
29438        if (doError) {
29439          var er;
29440          if (args.length > 0)
29441            er = args[0];
29442          if (er instanceof Error) {
29443            throw er;
29444          }
29445          var err = new Error("Unhandled error." + (er ? " (" + er.message + ")" : ""));
29446          err.context = er;
29447          throw err;
29448        }
29449        var handler = events[type];
29450        if (handler === void 0)
29451          return false;
29452        if (typeof handler === "function") {
29453          ReflectApply(handler, this, args);
29454        } else {
29455          var len = handler.length;
29456          var listeners = arrayClone(handler, len);
29457          for (var i2 = 0; i2 < len; ++i2)
29458            ReflectApply(listeners[i2], this, args);
29459        }
29460        return true;
29461      };
29462      function _addListener(target, type, listener2, prepend) {
29463        var m;
29464        var events;
29465        var existing;
29466        checkListener(listener2);
29467        events = target._events;
29468        if (events === void 0) {
29469          events = target._events = /* @__PURE__ */ Object.create(null);
29470          target._eventsCount = 0;
29471        } else {
29472          if (events.newListener !== void 0) {
29473            target.emit(
29474              "newListener",
29475              type,
29476              listener2.listener ? listener2.listener : listener2
29477            );
29478            events = target._events;
29479          }
29480          existing = events[type];
29481        }
29482        if (existing === void 0) {
29483          existing = events[type] = listener2;
29484          ++target._eventsCount;
29485        } else {
29486          if (typeof existing === "function") {
29487            existing = events[type] = prepend ? [listener2, existing] : [existing, listener2];
29488          } else if (prepend) {
29489            existing.unshift(listener2);
29490          } else {
29491            existing.push(listener2);
29492          }
29493          m = _getMaxListeners(target);
29494          if (m > 0 && existing.length > m && !existing.warned) {
29495            existing.warned = true;
29496            var w3 = new Error("Possible EventEmitter memory leak detected. " + existing.length + " " + String(type) + " listeners added. Use emitter.setMaxListeners() to increase limit");
29497            w3.name = "MaxListenersExceededWarning";
29498            w3.emitter = target;
29499            w3.type = type;
29500            w3.count = existing.length;
29501            ProcessEmitWarning(w3);
29502          }
29503        }
29504        return target;
29505      }
29506      EventEmitter.prototype.addListener = function addListener(type, listener2) {
29507        return _addListener(this, type, listener2, false);
29508      };
29509      EventEmitter.prototype.on = EventEmitter.prototype.addListener;
29510      EventEmitter.prototype.prependListener = function prependListener(type, listener2) {
29511        return _addListener(this, type, listener2, true);
29512      };
29513      function onceWrapper() {
29514        if (!this.fired) {
29515          this.target.removeListener(this.type, this.wrapFn);
29516          this.fired = true;
29517          if (arguments.length === 0)
29518            return this.listener.call(this.target);
29519          return this.listener.apply(this.target, arguments);
29520        }
29521      }
29522      function _onceWrap(target, type, listener2) {
29523        var state = { fired: false, wrapFn: void 0, target, type, listener: listener2 };
29524        var wrapped = onceWrapper.bind(state);
29525        wrapped.listener = listener2;
29526        state.wrapFn = wrapped;
29527        return wrapped;
29528      }
29529      EventEmitter.prototype.once = function once2(type, listener2) {
29530        checkListener(listener2);
29531        this.on(type, _onceWrap(this, type, listener2));
29532        return this;
29533      };
29534      EventEmitter.prototype.prependOnceListener = function prependOnceListener(type, listener2) {
29535        checkListener(listener2);
29536        this.prependListener(type, _onceWrap(this, type, listener2));
29537        return this;
29538      };
29539      EventEmitter.prototype.removeListener = function removeListener(type, listener2) {
29540        var list, events, position2, i2, originalListener;
29541        checkListener(listener2);
29542        events = this._events;
29543        if (events === void 0)
29544          return this;
29545        list = events[type];
29546        if (list === void 0)
29547          return this;
29548        if (list === listener2 || list.listener === listener2) {
29549          if (--this._eventsCount === 0)
29550            this._events = /* @__PURE__ */ Object.create(null);
29551          else {
29552            delete events[type];
29553            if (events.removeListener)
29554              this.emit("removeListener", type, list.listener || listener2);
29555          }
29556        } else if (typeof list !== "function") {
29557          position2 = -1;
29558          for (i2 = list.length - 1; i2 >= 0; i2--) {
29559            if (list[i2] === listener2 || list[i2].listener === listener2) {
29560              originalListener = list[i2].listener;
29561              position2 = i2;
29562              break;
29563            }
29564          }
29565          if (position2 < 0)
29566            return this;
29567          if (position2 === 0)
29568            list.shift();
29569          else {
29570            spliceOne(list, position2);
29571          }
29572          if (list.length === 1)
29573            events[type] = list[0];
29574          if (events.removeListener !== void 0)
29575            this.emit("removeListener", type, originalListener || listener2);
29576        }
29577        return this;
29578      };
29579      EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
29580      EventEmitter.prototype.removeAllListeners = function removeAllListeners(type) {
29581        var listeners, events, i2;
29582        events = this._events;
29583        if (events === void 0)
29584          return this;
29585        if (events.removeListener === void 0) {
29586          if (arguments.length === 0) {
29587            this._events = /* @__PURE__ */ Object.create(null);
29588            this._eventsCount = 0;
29589          } else if (events[type] !== void 0) {
29590            if (--this._eventsCount === 0)
29591              this._events = /* @__PURE__ */ Object.create(null);
29592            else
29593              delete events[type];
29594          }
29595          return this;
29596        }
29597        if (arguments.length === 0) {
29598          var keys = Object.keys(events);
29599          var key;
29600          for (i2 = 0; i2 < keys.length; ++i2) {
29601            key = keys[i2];
29602            if (key === "removeListener") continue;
29603            this.removeAllListeners(key);
29604          }
29605          this.removeAllListeners("removeListener");
29606          this._events = /* @__PURE__ */ Object.create(null);
29607          this._eventsCount = 0;
29608          return this;
29609        }
29610        listeners = events[type];
29611        if (typeof listeners === "function") {
29612          this.removeListener(type, listeners);
29613        } else if (listeners !== void 0) {
29614          for (i2 = listeners.length - 1; i2 >= 0; i2--) {
29615            this.removeListener(type, listeners[i2]);
29616          }
29617        }
29618        return this;
29619      };
29620      function _listeners(target, type, unwrap) {
29621        var events = target._events;
29622        if (events === void 0)
29623          return [];
29624        var evlistener = events[type];
29625        if (evlistener === void 0)
29626          return [];
29627        if (typeof evlistener === "function")
29628          return unwrap ? [evlistener.listener || evlistener] : [evlistener];
29629        return unwrap ? unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);
29630      }
29631      EventEmitter.prototype.listeners = function listeners(type) {
29632        return _listeners(this, type, true);
29633      };
29634      EventEmitter.prototype.rawListeners = function rawListeners(type) {
29635        return _listeners(this, type, false);
29636      };
29637      EventEmitter.listenerCount = function(emitter, type) {
29638        if (typeof emitter.listenerCount === "function") {
29639          return emitter.listenerCount(type);
29640        } else {
29641          return listenerCount.call(emitter, type);
29642        }
29643      };
29644      EventEmitter.prototype.listenerCount = listenerCount;
29645      function listenerCount(type) {
29646        var events = this._events;
29647        if (events !== void 0) {
29648          var evlistener = events[type];
29649          if (typeof evlistener === "function") {
29650            return 1;
29651          } else if (evlistener !== void 0) {
29652            return evlistener.length;
29653          }
29654        }
29655        return 0;
29656      }
29657      EventEmitter.prototype.eventNames = function eventNames() {
29658        return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];
29659      };
29660      function arrayClone(arr, n) {
29661        var copy2 = new Array(n);
29662        for (var i2 = 0; i2 < n; ++i2)
29663          copy2[i2] = arr[i2];
29664        return copy2;
29665      }
29666      function spliceOne(list, index2) {
29667        for (; index2 + 1 < list.length; index2++)
29668          list[index2] = list[index2 + 1];
29669        list.pop();
29670      }
29671      function unwrapListeners(arr) {
29672        var ret = new Array(arr.length);
29673        for (var i2 = 0; i2 < ret.length; ++i2) {
29674          ret[i2] = arr[i2].listener || arr[i2];
29675        }
29676        return ret;
29677      }
29678      function once(emitter, name2) {
29679        return new Promise(function(resolve, reject) {
29680          function errorListener(err) {
29681            emitter.removeListener(name2, resolver);
29682            reject(err);
29683          }
29684          function resolver() {
29685            if (typeof emitter.removeListener === "function") {
29686              emitter.removeListener("error", errorListener);
29687            }
29688            resolve([].slice.call(arguments));
29689          }
29690          ;
29691          eventTargetAgnosticAddListener(emitter, name2, resolver, { once: true });
29692          if (name2 !== "error") {
29693            addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });
29694          }
29695        });
29696      }
29697      function addErrorHandlerIfEventEmitter(emitter, handler, flags) {
29698        if (typeof emitter.on === "function") {
29699          eventTargetAgnosticAddListener(emitter, "error", handler, flags);
29700        }
29701      }
29702      function eventTargetAgnosticAddListener(emitter, name2, listener2, flags) {
29703        if (typeof emitter.on === "function") {
29704          if (flags.once) {
29705            emitter.once(name2, listener2);
29706          } else {
29707            emitter.on(name2, listener2);
29708          }
29709        } else if (typeof emitter.addEventListener === "function") {
29710          emitter.addEventListener(name2, function wrapListener(arg) {
29711            if (flags.once) {
29712              emitter.removeEventListener(name2, wrapListener);
29713            }
29714            listener2(arg);
29715          });
29716        } else {
29717          throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof emitter);
29718        }
29719      }
29720    }
29721  });
29722
29723  
vendor: 9,710 bytes, lines 29723-29996
29723// node_modules/htmlparser2/lib/Parser.js
29724  var require_Parser = __commonJS({
29725    "node_modules/htmlparser2/lib/Parser.js"(exports, module) {
29726      init_esbuild_shims();
29727      var Tokenizer = require_Tokenizer();
29728      var formTags = {
29729        input: true,
29730        option: true,
29731        optgroup: true,
29732        select: true,
29733        button: true,
29734        datalist: true,
29735        textarea: true
29736      };
29737      var openImpliesClose = {
29738        tr: { tr: true, th: true, td: true },
29739        th: { th: true },
29740        td: { thead: true, th: true, td: true },
29741        body: { head: true, link: true, script: true },
29742        li: { li: true },
29743        p: { p: true },
29744        h1: { p: true },
29745        h2: { p: true },
29746        h3: { p: true },
29747        h4: { p: true },
29748        h5: { p: true },
29749        h6: { p: true },
29750        select: formTags,
29751        input: formTags,
29752        output: formTags,
29753        button: formTags,
29754        datalist: formTags,
29755        textarea: formTags,
29756        option: { option: true },
29757        optgroup: { optgroup: true }
29758      };
29759      var voidElements = {
29760        __proto__: null,
29761        area: true,
29762        base: true,
29763        basefont: true,
29764        br: true,
29765        col: true,
29766        command: true,
29767        embed: true,
29768        frame: true,
29769        hr: true,
29770        img: true,
29771        input: true,
29772        isindex: true,
29773        keygen: true,
29774        link: true,
29775        meta: true,
29776        param: true,
29777        source: true,
29778        track: true,
29779        wbr: true
29780      };
29781      var foreignContextElements = {
29782        __proto__: null,
29783        math: true,
29784        svg: true
29785      };
29786      var htmlIntegrationElements = {
29787        __proto__: null,
29788        mi: true,
29789        mo: true,
29790        mn: true,
29791        ms: true,
29792        mtext: true,
29793        "annotation-xml": true,
29794        foreignObject: true,
29795        desc: true,
29796        title: true
29797      };
29798      var re_nameEnd = /\s|\//;
29799      function Parser(cbs, options2) {
29800        this._options = options2 || {};
29801        this._cbs = cbs || {};
29802        this._tagname = "";
29803        this._attribname = "";
29804        this._attribvalue = "";
29805        this._attribs = null;
29806        this._stack = [];
29807        this._foreignContext = [];
29808        this.startIndex = 0;
29809        this.endIndex = null;
29810        this._lowerCaseTagNames = "lowerCaseTags" in this._options ? !!this._options.lowerCaseTags : !this._options.xmlMode;
29811        this._lowerCaseAttributeNames = "lowerCaseAttributeNames" in this._options ? !!this._options.lowerCaseAttributeNames : !this._options.xmlMode;
29812        if (this._options.Tokenizer) {
29813          Tokenizer = this._options.Tokenizer;
29814        }
29815        this._tokenizer = new Tokenizer(this._options, this);
29816        if (this._cbs.onparserinit) this._cbs.onparserinit(this);
29817      }
29818      require_inherits_browser()(Parser, require_events().EventEmitter);
29819      Parser.prototype._updatePosition = function(initialOffset) {
29820        if (this.endIndex === null) {
29821          if (this._tokenizer._sectionStart <= initialOffset) {
29822            this.startIndex = 0;
29823          } else {
29824            this.startIndex = this._tokenizer._sectionStart - initialOffset;
29825          }
29826        } else this.startIndex = this.endIndex + 1;
29827        this.endIndex = this._tokenizer.getAbsoluteIndex();
29828      };
29829      Parser.prototype.ontext = function(data) {
29830        this._updatePosition(1);
29831        this.endIndex--;
29832        if (this._cbs.ontext) this._cbs.ontext(data);
29833      };
29834      Parser.prototype.onopentagname = function(name2) {
29835        if (this._lowerCaseTagNames) {
29836          name2 = name2.toLowerCase();
29837        }
29838        this._tagname = name2;
29839        if (!this._options.xmlMode && name2 in openImpliesClose) {
29840          for (var el; (el = this._stack[this._stack.length - 1]) in openImpliesClose[name2]; this.onclosetag(el)) ;
29841        }
29842        if (this._options.xmlMode || !(name2 in voidElements)) {
29843          this._stack.push(name2);
29844          if (name2 in foreignContextElements) this._foreignContext.push(true);
29845          else if (name2 in htmlIntegrationElements)
29846            this._foreignContext.push(false);
29847        }
29848        if (this._cbs.onopentagname) this._cbs.onopentagname(name2);
29849        if (this._cbs.onopentag) this._attribs = {};
29850      };
29851      Parser.prototype.onopentagend = function() {
29852        this._updatePosition(1);
29853        if (this._attribs) {
29854          if (this._cbs.onopentag)
29855            this._cbs.onopentag(this._tagname, this._attribs);
29856          this._attribs = null;
29857        }
29858        if (!this._options.xmlMode && this._cbs.onclosetag && this._tagname in voidElements) {
29859          this._cbs.onclosetag(this._tagname);
29860        }
29861        this._tagname = "";
29862      };
29863      Parser.prototype.onclosetag = function(name2) {
29864        this._updatePosition(1);
29865        if (this._lowerCaseTagNames) {
29866          name2 = name2.toLowerCase();
29867        }
29868        if (name2 in foreignContextElements || name2 in htmlIntegrationElements) {
29869          this._foreignContext.pop();
29870        }
29871        if (this._stack.length && (!(name2 in voidElements) || this._options.xmlMode)) {
29872          var pos = this._stack.lastIndexOf(name2);
29873          if (pos !== -1) {
29874            if (this._cbs.onclosetag) {
29875              pos = this._stack.length - pos;
29876              while (pos--) this._cbs.onclosetag(this._stack.pop());
29877            } else this._stack.length = pos;
29878          } else if (name2 === "p" && !this._options.xmlMode) {
29879            this.onopentagname(name2);
29880            this._closeCurrentTag();
29881          }
29882        } else if (!this._options.xmlMode && (name2 === "br" || name2 === "p")) {
29883          this.onopentagname(name2);
29884          this._closeCurrentTag();
29885        }
29886      };
29887      Parser.prototype.onselfclosingtag = function() {
29888        if (this._options.xmlMode || this._options.recognizeSelfClosing || this._foreignContext[this._foreignContext.length - 1]) {
29889          this._closeCurrentTag();
29890        } else {
29891          this.onopentagend();
29892        }
29893      };
29894      Parser.prototype._closeCurrentTag = function() {
29895        var name2 = this._tagname;
29896        this.onopentagend();
29897        if (this._stack[this._stack.length - 1] === name2) {
29898          if (this._cbs.onclosetag) {
29899            this._cbs.onclosetag(name2);
29900          }
29901          this._stack.pop();
29902        }
29903      };
29904      Parser.prototype.onattribname = function(name2) {
29905        if (this._lowerCaseAttributeNames) {
29906          name2 = name2.toLowerCase();
29907        }
29908        this._attribname = name2;
29909      };
29910      Parser.prototype.onattribdata = function(value) {
29911        this._attribvalue += value;
29912      };
29913      Parser.prototype.onattribend = function() {
29914        if (this._cbs.onattribute)
29915          this._cbs.onattribute(this._attribname, this._attribvalue);
29916        if (this._attribs && !Object.prototype.hasOwnProperty.call(this._attribs, this._attribname)) {
29917          this._attribs[this._attribname] = this._attribvalue;
29918        }
29919        this._attribname = "";
29920        this._attribvalue = "";
29921      };
29922      Parser.prototype._getInstructionName = function(value) {
29923        var idx = value.search(re_nameEnd), name2 = idx < 0 ? value : value.substr(0, idx);
29924        if (this._lowerCaseTagNames) {
29925          name2 = name2.toLowerCase();
29926        }
29927        return name2;
29928      };
29929      Parser.prototype.ondeclaration = function(value) {
29930        if (this._cbs.onprocessinginstruction) {
29931          var name2 = this._getInstructionName(value);
29932          this._cbs.onprocessinginstruction("!" + name2, "!" + value);
29933        }
29934      };
29935      Parser.prototype.onprocessinginstruction = function(value) {
29936        if (this._cbs.onprocessinginstruction) {
29937          var name2 = this._getInstructionName(value);
29938          this._cbs.onprocessinginstruction("?" + name2, "?" + value);
29939        }
29940      };
29941      Parser.prototype.oncomment = function(value) {
29942        this._updatePosition(4);
29943        if (this._cbs.oncomment) this._cbs.oncomment(value);
29944        if (this._cbs.oncommentend) this._cbs.oncommentend();
29945      };
29946      Parser.prototype.oncdata = function(value) {
29947        this._updatePosition(1);
29948        if (this._options.xmlMode || this._options.recognizeCDATA) {
29949          if (this._cbs.oncdatastart) this._cbs.oncdatastart();
29950          if (this._cbs.ontext) this._cbs.ontext(value);
29951          if (this._cbs.oncdataend) this._cbs.oncdataend();
29952        } else {
29953          this.oncomment("[CDATA[" + value + "]]");
29954        }
29955      };
29956      Parser.prototype.onerror = function(err) {
29957        if (this._cbs.onerror) this._cbs.onerror(err);
29958      };
29959      Parser.prototype.onend = function() {
29960        if (this._cbs.onclosetag) {
29961          for (var i2 = this._stack.length; i2 > 0; this._cbs.onclosetag(this._stack[--i2])) ;
29962        }
29963        if (this._cbs.onend) this._cbs.onend();
29964      };
29965      Parser.prototype.reset = function() {
29966        if (this._cbs.onreset) this._cbs.onreset();
29967        this._tokenizer.reset();
29968        this._tagname = "";
29969        this._attribname = "";
29970        this._attribs = null;
29971        this._stack = [];
29972        if (this._cbs.onparserinit) this._cbs.onparserinit(this);
29973      };
29974      Parser.prototype.parseComplete = function(data) {
29975        this.reset();
29976        this.end(data);
29977      };
29978      Parser.prototype.write = function(chunk) {
29979        this._tokenizer.write(chunk);
29980      };
29981      Parser.prototype.end = function(chunk) {
29982        this._tokenizer.end(chunk);
29983      };
29984      Parser.prototype.pause = function() {
29985        this._tokenizer.pause();
29986      };
29987      Parser.prototype.resume = function() {
29988        this._tokenizer.resume();
29989      };
29990      Parser.prototype.parseChunk = Parser.prototype.write;
29991      Parser.prototype.done = Parser.prototype.end;
29992      module.exports = Parser;
29993    }
29994  });
29995
29996  
vendor: 709 bytes, lines 29996-30023
29996// node_modules/domelementtype/index.js
29997  var require_domelementtype = __commonJS({
29998    "node_modules/domelementtype/index.js"(exports, module) {
29999      init_esbuild_shims();
30000      module.exports = {
30001        Text: "text",
30002        //Text
30003        Directive: "directive",
30004        //<? ... ?>
30005        Comment: "comment",
30006        //<!-- ... -->
30007        Script: "script",
30008        //<script> tags
30009        Style: "style",
30010        //<style> tags
30011        Tag: "tag",
30012        //Any tag
30013        CDATA: "cdata",
30014        //<![CDATA[ ... ]]>
30015        Doctype: "doctype",
30016        isTag: function(elem) {
30017          return elem.type === "tag" || elem.type === "script" || elem.type === "style";
30018        }
30019      };
30020    }
30021  });
30022
30023  
vendor: 1,262 bytes, lines 30023-30069
30023// node_modules/domhandler/lib/node.js
30024  var require_node = __commonJS({
30025    "node_modules/domhandler/lib/node.js"(exports, module) {
30026      init_esbuild_shims();
30027      var NodePrototype = module.exports = {
30028        get firstChild() {
30029          var children = this.children;
30030          return children && children[0] || null;
30031        },
30032        get lastChild() {
30033          var children = this.children;
30034          return children && children[children.length - 1] || null;
30035        },
30036        get nodeType() {
30037          return nodeTypes[this.type] || nodeTypes.element;
30038        }
30039      };
30040      var domLvl1 = {
30041        tagName: "name",
30042        childNodes: "children",
30043        parentNode: "parent",
30044        previousSibling: "prev",
30045        nextSibling: "next",
30046        nodeValue: "data"
30047      };
30048      var nodeTypes = {
30049        element: 1,
30050        text: 3,
30051        cdata: 4,
30052        comment: 8
30053      };
30054      Object.keys(domLvl1).forEach(function(key) {
30055        var shorthand = domLvl1[key];
30056        Object.defineProperty(NodePrototype, key, {
30057          get: function() {
30058            return this[shorthand] || null;
30059          },
30060          set: function(val) {
30061            this[shorthand] = val;
30062            return val;
30063          }
30064        });
30065      });
30066    }
30067  });
30068
30069  
vendor: 712 bytes, lines 30069-30093
30069// node_modules/domhandler/lib/element.js
30070  var require_element = __commonJS({
30071    "node_modules/domhandler/lib/element.js"(exports, module) {
30072      init_esbuild_shims();
30073      var NodePrototype = require_node();
30074      var ElementPrototype = module.exports = Object.create(NodePrototype);
30075      var domLvl1 = {
30076        tagName: "name"
30077      };
30078      Object.keys(domLvl1).forEach(function(key) {
30079        var shorthand = domLvl1[key];
30080        Object.defineProperty(ElementPrototype, key, {
30081          get: function() {
30082            return this[shorthand] || null;
30083          },
30084          set: function(val) {
30085            this[shorthand] = val;
30086            return val;
30087          }
30088        });
30089      });
30090    }
30091  });
30092
30093  
vendor: 6,268 bytes, lines 30093-30267
30093// node_modules/domhandler/index.js
30094  var require_domhandler = __commonJS({
30095    "node_modules/domhandler/index.js"(exports, module) {
30096      init_esbuild_shims();
30097      var ElementType = require_domelementtype();
30098      var re_whitespace = /\s+/g;
30099      var NodePrototype = require_node();
30100      var ElementPrototype = require_element();
30101      function DomHandler(callback, options2, elementCB) {
30102        if (typeof callback === "object") {
30103          elementCB = options2;
30104          options2 = callback;
30105          callback = null;
30106        } else if (typeof options2 === "function") {
30107          elementCB = options2;
30108          options2 = defaultOpts;
30109        }
30110        this._callback = callback;
30111        this._options = options2 || defaultOpts;
30112        this._elementCB = elementCB;
30113        this.dom = [];
30114        this._done = false;
30115        this._tagStack = [];
30116        this._parser = this._parser || null;
30117      }
30118      var defaultOpts = {
30119        normalizeWhitespace: false,
30120        //Replace all whitespace with single spaces
30121        withStartIndices: false,
30122        //Add startIndex properties to nodes
30123        withEndIndices: false
30124        //Add endIndex properties to nodes
30125      };
30126      DomHandler.prototype.onparserinit = function(parser) {
30127        this._parser = parser;
30128      };
30129      DomHandler.prototype.onreset = function() {
30130        DomHandler.call(this, this._callback, this._options, this._elementCB);
30131      };
30132      DomHandler.prototype.onend = function() {
30133        if (this._done) return;
30134        this._done = true;
30135        this._parser = null;
30136        this._handleCallback(null);
30137      };
30138      DomHandler.prototype._handleCallback = DomHandler.prototype.onerror = function(error) {
30139        if (typeof this._callback === "function") {
30140          this._callback(error, this.dom);
30141        } else {
30142          if (error) throw error;
30143        }
30144      };
30145      DomHandler.prototype.onclosetag = function() {
30146        var elem = this._tagStack.pop();
30147        if (this._options.withEndIndices && elem) {
30148          elem.endIndex = this._parser.endIndex;
30149        }
30150        if (this._elementCB) this._elementCB(elem);
30151      };
30152      DomHandler.prototype._createDomElement = function(properties) {
30153        if (!this._options.withDomLvl1) return properties;
30154        var element;
30155        if (properties.type === "tag") {
30156          element = Object.create(ElementPrototype);
30157        } else {
30158          element = Object.create(NodePrototype);
30159        }
30160        for (var key in properties) {
30161          if (properties.hasOwnProperty(key)) {
30162            element[key] = properties[key];
30163          }
30164        }
30165        return element;
30166      };
30167      DomHandler.prototype._addDomElement = function(element) {
30168        var parent = this._tagStack[this._tagStack.length - 1];
30169        var siblings = parent ? parent.children : this.dom;
30170        var previousSibling = siblings[siblings.length - 1];
30171        element.next = null;
30172        if (this._options.withStartIndices) {
30173          element.startIndex = this._parser.startIndex;
30174        }
30175        if (this._options.withEndIndices) {
30176          element.endIndex = this._parser.endIndex;
30177        }
30178        if (previousSibling) {
30179          element.prev = previousSibling;
30180          previousSibling.next = element;
30181        } else {
30182          element.prev = null;
30183        }
30184        siblings.push(element);
30185        element.parent = parent || null;
30186      };
30187      DomHandler.prototype.onopentag = function(name2, attribs) {
30188        var properties = {
30189          type: name2 === "script" ? ElementType.Script : name2 === "style" ? ElementType.Style : ElementType.Tag,
30190          name: name2,
30191          attribs,
30192          children: []
30193        };
30194        var element = this._createDomElement(properties);
30195        this._addDomElement(element);
30196        this._tagStack.push(element);
30197      };
30198      DomHandler.prototype.ontext = function(data) {
30199        var normalize2 = this._options.normalizeWhitespace || this._options.ignoreWhitespace;
30200        var lastTag;
30201        if (!this._tagStack.length && this.dom.length && (lastTag = this.dom[this.dom.length - 1]).type === ElementType.Text) {
30202          if (normalize2) {
30203            lastTag.data = (lastTag.data + data).replace(re_whitespace, " ");
30204          } else {
30205            lastTag.data += data;
30206          }
30207        } else {
30208          if (this._tagStack.length && (lastTag = this._tagStack[this._tagStack.length - 1]) && (lastTag = lastTag.children[lastTag.children.length - 1]) && lastTag.type === ElementType.Text) {
30209            if (normalize2) {
30210              lastTag.data = (lastTag.data + data).replace(re_whitespace, " ");
30211            } else {
30212              lastTag.data += data;
30213            }
30214          } else {
30215            if (normalize2) {
30216              data = data.replace(re_whitespace, " ");
30217            }
30218            var element = this._createDomElement({
30219              data,
30220              type: ElementType.Text
30221            });
30222            this._addDomElement(element);
30223          }
30224        }
30225      };
30226      DomHandler.prototype.oncomment = function(data) {
30227        var lastTag = this._tagStack[this._tagStack.length - 1];
30228        if (lastTag && lastTag.type === ElementType.Comment) {
30229          lastTag.data += data;
30230          return;
30231        }
30232        var properties = {
30233          data,
30234          type: ElementType.Comment
30235        };
30236        var element = this._createDomElement(properties);
30237        this._addDomElement(element);
30238        this._tagStack.push(element);
30239      };
30240      DomHandler.prototype.oncdatastart = function() {
30241        var properties = {
30242          children: [{
30243            data: "",
30244            type: ElementType.Text
30245          }],
30246          type: ElementType.CDATA
30247        };
30248        var element = this._createDomElement(properties);
30249        this._addDomElement(element);
30250        this._tagStack.push(element);
30251      };
30252      DomHandler.prototype.oncommentend = DomHandler.prototype.oncdataend = function() {
30253        this._tagStack.pop();
30254      };
30255      DomHandler.prototype.onprocessinginstruction = function(name2, data) {
30256        var element = this._createDomElement({
30257          name: name2,
30258          data,
30259          type: ElementType.Directive
30260        });
30261        this._addDomElement(element);
30262      };
30263      module.exports = DomHandler;
30264    }
30265  });
30266
30267  
vendor: 1,595 bytes, lines 30267-30302
30267// node_modules/dom-serializer/node_modules/domelementtype/lib/index.js
30268  var require_lib = __commonJS({
30269    "node_modules/dom-serializer/node_modules/domelementtype/lib/index.js"(exports) {
30270      "use strict";
30271      init_esbuild_shims();
30272      Object.defineProperty(exports, "__esModule", { value: true });
30273      exports.Doctype = exports.CDATA = exports.Tag = exports.Style = exports.Script = exports.Comment = exports.Directive = exports.Text = exports.Root = exports.isTag = exports.ElementType = void 0;
30274      var ElementType;
30275      (function(ElementType2) {
30276        ElementType2["Root"] = "root";
30277        ElementType2["Text"] = "text";
30278        ElementType2["Directive"] = "directive";
30279        ElementType2["Comment"] = "comment";
30280        ElementType2["Script"] = "script";
30281        ElementType2["Style"] = "style";
30282        ElementType2["Tag"] = "tag";
30283        ElementType2["CDATA"] = "cdata";
30284        ElementType2["Doctype"] = "doctype";
30285      })(ElementType = exports.ElementType || (exports.ElementType = {}));
30286      function isTag(elem) {
30287        return elem.type === ElementType.Tag || elem.type === ElementType.Script || elem.type === ElementType.Style;
30288      }
30289      exports.isTag = isTag;
30290      exports.Root = ElementType.Root;
30291      exports.Text = ElementType.Text;
30292      exports.Directive = ElementType.Directive;
30293      exports.Comment = ElementType.Comment;
30294      exports.Script = ElementType.Script;
30295      exports.Style = ElementType.Style;
30296      exports.Tag = ElementType.Tag;
30297      exports.CDATA = ElementType.CDATA;
30298      exports.Doctype = ElementType.Doctype;
30299    }
30300  });
30301
30302  
vendor: 40,242 bytes, lines 30302-30309
30302// node_modules/dom-serializer/node_modules/entities/lib/maps/entities.json
30303  var require_entities2 = __commonJS({
30304    "node_modules/dom-serializer/node_modules/entities/lib/maps/entities.json"(exports, module) {
30305      module.exports = { Aacute: "\xC1", aacute: "\xE1", Abreve: "\u0102", abreve: "\u0103", ac: "\u223E", acd: "\u223F", acE: "\u223E\u0333", Acirc: "\xC2", acirc: "\xE2", acute: "\xB4", Acy: "\u0410", acy: "\u0430", AElig: "\xC6", aelig: "\xE6", af: "\u2061", Afr: "\u{1D504}", afr: "\u{1D51E}", Agrave: "\xC0", agrave: "\xE0", alefsym: "\u2135", aleph: "\u2135", Alpha: "\u0391", alpha: "\u03B1", Amacr: "\u0100", amacr: "\u0101", amalg: "\u2A3F", amp: "&", AMP: "&", andand: "\u2A55", And: "\u2A53", and: "\u2227", andd: "\u2A5C", andslope: "\u2A58", andv: "\u2A5A", ang: "\u2220", ange: "\u29A4", angle: "\u2220", angmsdaa: "\u29A8", angmsdab: "\u29A9", angmsdac: "\u29AA", angmsdad: "\u29AB", angmsdae: "\u29AC", angmsdaf: "\u29AD", angmsdag: "\u29AE", angmsdah: "\u29AF", angmsd: "\u2221", angrt: "\u221F", angrtvb: "\u22BE", angrtvbd: "\u299D", angsph: "\u2222", angst: "\xC5", angzarr: "\u237C", Aogon: "\u0104", aogon: "\u0105", Aopf: "\u{1D538}", aopf: "\u{1D552}", apacir: "\u2A6F", ap: "\u2248", apE: "\u2A70", ape: "\u224A", apid: "\u224B", apos: "'", ApplyFunction: "\u2061", approx: "\u2248", approxeq: "\u224A", Aring: "\xC5", aring: "\xE5", Ascr: "\u{1D49C}", ascr: "\u{1D4B6}", Assign: "\u2254", ast: "*", asymp: "\u2248", asympeq: "\u224D", Atilde: "\xC3", atilde: "\xE3", Auml: "\xC4", auml: "\xE4", awconint: "\u2233", awint: "\u2A11", backcong: "\u224C", backepsilon: "\u03F6", backprime: "\u2035", backsim: "\u223D", backsimeq: "\u22CD", Backslash: "\u2216", Barv: "\u2AE7", barvee: "\u22BD", barwed: "\u2305", Barwed: "\u2306", barwedge: "\u2305", bbrk: "\u23B5", bbrktbrk: "\u23B6", bcong: "\u224C", Bcy: "\u0411", bcy: "\u0431", bdquo: "\u201E", becaus: "\u2235", because: "\u2235", Because: "\u2235", bemptyv: "\u29B0", bepsi: "\u03F6", bernou: "\u212C", Bernoullis: "\u212C", Beta: "\u0392", beta: "\u03B2", beth: "\u2136", between: "\u226C", Bfr: "\u{1D505}", bfr: "\u{1D51F}", bigcap: "\u22C2", bigcirc: "\u25EF", bigcup: "\u22C3", bigodot: "\u2A00", bigoplus: "\u2A01", bigotimes: "\u2A02", bigsqcup: "\u2A06", bigstar: "\u2605", bigtriangledown: "\u25BD", bigtriangleup: "\u25B3", biguplus: "\u2A04", bigvee: "\u22C1", bigwedge: "\u22C0", bkarow: "\u290D", blacklozenge: "\u29EB", blacksquare: "\u25AA", blacktriangle: "\u25B4", blacktriangledown: "\u25BE", blacktriangleleft: "\u25C2", blacktriangleright: "\u25B8", blank: "\u2423", blk12: "\u2592", blk14: "\u2591", blk34: "\u2593", block: "\u2588", bne: "=\u20E5", bnequiv: "\u2261\u20E5", bNot: "\u2AED", bnot: "\u2310", Bopf: "\u{1D539}", bopf: "\u{1D553}", bot: "\u22A5", bottom: "\u22A5", bowtie: "\u22C8", boxbox: "\u29C9", boxdl: "\u2510", boxdL: "\u2555", boxDl: "\u2556", boxDL: "\u2557", boxdr: "\u250C", boxdR: "\u2552", boxDr: "\u2553", boxDR: "\u2554", boxh: "\u2500", boxH: "\u2550", boxhd: "\u252C", boxHd: "\u2564", boxhD: "\u2565", boxHD: "\u2566", boxhu: "\u2534", boxHu: "\u2567", boxhU: "\u2568", boxHU: "\u2569", boxminus: "\u229F", boxplus: "\u229E", boxtimes: "\u22A0", boxul: "\u2518", boxuL: "\u255B", boxUl: "\u255C", boxUL: "\u255D", boxur: "\u2514", boxuR: "\u2558", boxUr: "\u2559", boxUR: "\u255A", boxv: "\u2502", boxV: "\u2551", boxvh: "\u253C", boxvH: "\u256A", boxVh: "\u256B", boxVH: "\u256C", boxvl: "\u2524", boxvL: "\u2561", boxVl: "\u2562", boxVL: "\u2563", boxvr: "\u251C", boxvR: "\u255E", boxVr: "\u255F", boxVR: "\u2560", bprime: "\u2035", breve: "\u02D8", Breve: "\u02D8", brvbar: "\xA6", bscr: "\u{1D4B7}", Bscr: "\u212C", bsemi: "\u204F", bsim: "\u223D", bsime: "\u22CD", bsolb: "\u29C5", bsol: "\\", bsolhsub: "\u27C8", bull: "\u2022", bullet: "\u2022", bump: "\u224E", bumpE: "\u2AAE", bumpe: "\u224F", Bumpeq: "\u224E", bumpeq: "\u224F", Cacute: "\u0106", cacute: "\u0107", capand: "\u2A44", capbrcup: "\u2A49", capcap: "\u2A4B", cap: "\u2229", Cap: "\u22D2", capcup: "\u2A47", capdot: "\u2A40", CapitalDifferentialD: "\u2145", caps: "\u2229\uFE00", caret: "\u2041", caron: "\u02C7", Cayleys: "\u212D", ccaps: "\u2A4D", Ccaron: "\u010C", ccaron: "\u010D", Ccedil: "\xC7", ccedil: "\xE7", Ccirc: "\u0108", ccirc: "\u0109", Cconint: "\u2230", ccups: "\u2A4C", ccupssm: "\u2A50", Cdot: "\u010A", cdot: "\u010B", cedil: "\xB8", Cedilla: "\xB8", cemptyv: "\u29B2", cent: "\xA2", centerdot: "\xB7", CenterDot: "\xB7", cfr: "\u{1D520}", Cfr: "\u212D", CHcy: "\u0427", chcy: "\u0447", check: "\u2713", checkmark: "\u2713", Chi: "\u03A7", chi: "\u03C7", circ: "\u02C6", circeq: "\u2257", circlearrowleft: "\u21BA", circlearrowright: "\u21BB", circledast: "\u229B", circledcirc: "\u229A", circleddash: "\u229D", CircleDot: "\u2299", circledR: "\xAE", circledS: "\u24C8", CircleMinus: "\u2296", CirclePlus: "\u2295", CircleTimes: "\u2297", cir: "\u25CB", cirE: "\u29C3", cire: "\u2257", cirfnint: "\u2A10", cirmid: "\u2AEF", cirscir: "\u29C2", ClockwiseContourIntegral: "\u2232", CloseCurlyDoubleQuote: "\u201D", CloseCurlyQuote: "\u2019", clubs: "\u2663", clubsuit: "\u2663", colon: ":", Colon: "\u2237", Colone: "\u2A74", colone: "\u2254", coloneq: "\u2254", comma: ",", commat: "@", comp: "\u2201", compfn: "\u2218", complement: "\u2201", complexes: "\u2102", cong: "\u2245", congdot: "\u2A6D", Congruent: "\u2261", conint: "\u222E", Conint: "\u222F", ContourIntegral: "\u222E", copf: "\u{1D554}", Copf: "\u2102", coprod: "\u2210", Coproduct: "\u2210", copy: "\xA9", COPY: "\xA9", copysr: "\u2117", CounterClockwiseContourIntegral: "\u2233", crarr: "\u21B5", cross: "\u2717", Cross: "\u2A2F", Cscr: "\u{1D49E}", cscr: "\u{1D4B8}", csub: "\u2ACF", csube: "\u2AD1", csup: "\u2AD0", csupe: "\u2AD2", ctdot: "\u22EF", cudarrl: "\u2938", cudarrr: "\u2935", cuepr: "\u22DE", cuesc: "\u22DF", cularr: "\u21B6", cularrp: "\u293D", cupbrcap: "\u2A48", cupcap: "\u2A46", CupCap: "\u224D", cup: "\u222A", Cup: "\u22D3", cupcup: "\u2A4A", cupdot: "\u228D", cupor: "\u2A45", cups: "\u222A\uFE00", curarr: "\u21B7", curarrm: "\u293C", curlyeqprec: "\u22DE", curlyeqsucc: "\u22DF", curlyvee: "\u22CE", curlywedge: "\u22CF", curren: "\xA4", curvearrowleft: "\u21B6", curvearrowright: "\u21B7", cuvee: "\u22CE", cuwed: "\u22CF", cwconint: "\u2232", cwint: "\u2231", cylcty: "\u232D", dagger: "\u2020", Dagger: "\u2021", daleth: "\u2138", darr: "\u2193", Darr: "\u21A1", dArr: "\u21D3", dash: "\u2010", Dashv: "\u2AE4", dashv: "\u22A3", dbkarow: "\u290F", dblac: "\u02DD", Dcaron: "\u010E", dcaron: "\u010F", Dcy: "\u0414", dcy: "\u0434", ddagger: "\u2021", ddarr: "\u21CA", DD: "\u2145", dd: "\u2146", DDotrahd: "\u2911", ddotseq: "\u2A77", deg: "\xB0", Del: "\u2207", Delta: "\u0394", delta: "\u03B4", demptyv: "\u29B1", dfisht: "\u297F", Dfr: "\u{1D507}", dfr: "\u{1D521}", dHar: "\u2965", dharl: "\u21C3", dharr: "\u21C2", DiacriticalAcute: "\xB4", DiacriticalDot: "\u02D9", DiacriticalDoubleAcute: "\u02DD", DiacriticalGrave: "`", DiacriticalTilde: "\u02DC", diam: "\u22C4", diamond: "\u22C4", Diamond: "\u22C4", diamondsuit: "\u2666", diams: "\u2666", die: "\xA8", DifferentialD: "\u2146", digamma: "\u03DD", disin: "\u22F2", div: "\xF7", divide: "\xF7", divideontimes: "\u22C7", divonx: "\u22C7", DJcy: "\u0402", djcy: "\u0452", dlcorn: "\u231E", dlcrop: "\u230D", dollar: "$", Dopf: "\u{1D53B}", dopf: "\u{1D555}", Dot: "\xA8", dot: "\u02D9", DotDot: "\u20DC", doteq: "\u2250", doteqdot: "\u2251", DotEqual: "\u2250", dotminus: "\u2238", dotplus: "\u2214", dotsquare: "\u22A1", doublebarwedge: "\u2306", DoubleContourIntegral: "\u222F", DoubleDot: "\xA8", DoubleDownArrow: "\u21D3", DoubleLeftArrow: "\u21D0", DoubleLeftRightArrow: "\u21D4", DoubleLeftTee: "\u2AE4", DoubleLongLeftArrow: "\u27F8", DoubleLongLeftRightArrow: "\u27FA", DoubleLongRightArrow: "\u27F9", DoubleRightArrow: "\u21D2", DoubleRightTee: "\u22A8", DoubleUpArrow: "\u21D1", DoubleUpDownArrow: "\u21D5", DoubleVerticalBar: "\u2225", DownArrowBar: "\u2913", downarrow: "\u2193", DownArrow: "\u2193", Downarrow: "\u21D3", DownArrowUpArrow: "\u21F5", DownBreve: "\u0311", downdownarrows: "\u21CA", downharpoonleft: "\u21C3", downharpoonright: "\u21C2", DownLeftRightVector: "\u2950", DownLeftTeeVector: "\u295E", DownLeftVectorBar: "\u2956", DownLeftVector: "\u21BD", DownRightTeeVector: "\u295F", DownRightVectorBar: "\u2957", DownRightVector: "\u21C1", DownTeeArrow: "\u21A7", DownTee: "\u22A4", drbkarow: "\u2910", drcorn: "\u231F", drcrop: "\u230C", Dscr: "\u{1D49F}", dscr: "\u{1D4B9}", DScy: "\u0405", dscy: "\u0455", dsol: "\u29F6", Dstrok: "\u0110", dstrok: "\u0111", dtdot: "\u22F1", dtri: "\u25BF", dtrif: "\u25BE", duarr: "\u21F5", duhar: "\u296F", dwangle: "\u29A6", DZcy: "\u040F", dzcy: "\u045F", dzigrarr: "\u27FF", Eacute: "\xC9", eacute: "\xE9", easter: "\u2A6E", Ecaron: "\u011A", ecaron: "\u011B", Ecirc: "\xCA", ecirc: "\xEA", ecir: "\u2256", ecolon: "\u2255", Ecy: "\u042D", ecy: "\u044D", eDDot: "\u2A77", Edot: "\u0116", edot: "\u0117", eDot: "\u2251", ee: "\u2147", efDot: "\u2252", Efr: "\u{1D508}", efr: "\u{1D522}", eg: "\u2A9A", Egrave: "\xC8", egrave: "\xE8", egs: "\u2A96", egsdot: "\u2A98", el: "\u2A99", Element: "\u2208", elinters: "\u23E7", ell: "\u2113", els: "\u2A95", elsdot: "\u2A97", Emacr: "\u0112", emacr: "\u0113", empty: "\u2205", emptyset: "\u2205", EmptySmallSquare: "\u25FB", emptyv: "\u2205", EmptyVerySmallSquare: "\u25AB", emsp13: "\u2004", emsp14: "\u2005", emsp: "\u2003", ENG: "\u014A", eng: "\u014B", ensp: "\u2002", Eogon: "\u0118", eogon: "\u0119", Eopf: "\u{1D53C}", eopf: "\u{1D556}", epar: "\u22D5", eparsl: "\u29E3", eplus: "\u2A71", epsi: "\u03B5", Epsilon: "\u0395", epsilon: "\u03B5", epsiv: "\u03F5", eqcirc: "\u2256", eqcolon: "\u2255", eqsim: "\u2242", eqslantgtr: "\u2A96", eqslantless: "\u2A95", Equal: "\u2A75", equals: "=", EqualTilde: "\u2242", equest: "\u225F", Equilibrium: "\u21CC", equiv: "\u2261", equivDD: "\u2A78", eqvparsl: "\u29E5", erarr: "\u2971", erDot: "\u2253", escr: "\u212F", Escr: "\u2130", esdot: "\u2250", Esim: "\u2A73", esim: "\u2242", Eta: "\u0397", eta: "\u03B7", ETH: "\xD0", eth: "\xF0", Euml: "\xCB", euml: "\xEB", euro: "\u20AC", excl: "!", exist: "\u2203", Exists: "\u2203", expectation: "\u2130", exponentiale: "\u2147", ExponentialE: "\u2147", fallingdotseq: "\u2252", Fcy: "\u0424", fcy: "\u0444", female: "\u2640", ffilig: "\uFB03", fflig: "\uFB00", ffllig: "\uFB04", Ffr: "\u{1D509}", ffr: "\u{1D523}", filig: "\uFB01", FilledSmallSquare: "\u25FC", FilledVerySmallSquare: "\u25AA", fjlig: "fj", flat: "\u266D", fllig: "\uFB02", fltns: "\u25B1", fnof: "\u0192", Fopf: "\u{1D53D}", fopf: "\u{1D557}", forall: "\u2200", ForAll: "\u2200", fork: "\u22D4", forkv: "\u2AD9", Fouriertrf: "\u2131", fpartint: "\u2A0D", frac12: "\xBD", frac13: "\u2153", frac14: "\xBC", frac15: "\u2155", frac16: "\u2159", frac18: "\u215B", frac23: "\u2154", frac25: "\u2156", frac34: "\xBE", frac35: "\u2157", frac38: "\u215C", frac45: "\u2158", frac56: "\u215A", frac58: "\u215D", frac78: "\u215E", frasl: "\u2044", frown: "\u2322", fscr: "\u{1D4BB}", Fscr: "\u2131", gacute: "\u01F5", Gamma: "\u0393", gamma: "\u03B3", Gammad: "\u03DC", gammad: "\u03DD", gap: "\u2A86", Gbreve: "\u011E", gbreve: "\u011F", Gcedil: "\u0122", Gcirc: "\u011C", gcirc: "\u011D", Gcy: "\u0413", gcy: "\u0433", Gdot: "\u0120", gdot: "\u0121", ge: "\u2265", gE: "\u2267", gEl: "\u2A8C", gel: "\u22DB", geq: "\u2265", geqq: "\u2267", geqslant: "\u2A7E", gescc: "\u2AA9", ges: "\u2A7E", gesdot: "\u2A80", gesdoto: "\u2A82", gesdotol: "\u2A84", gesl: "\u22DB\uFE00", gesles: "\u2A94", Gfr: "\u{1D50A}", gfr: "\u{1D524}", gg: "\u226B", Gg: "\u22D9", ggg: "\u22D9", gimel: "\u2137", GJcy: "\u0403", gjcy: "\u0453", gla: "\u2AA5", gl: "\u2277", glE: "\u2A92", glj: "\u2AA4", gnap: "\u2A8A", gnapprox: "\u2A8A", gne: "\u2A88", gnE: "\u2269", gneq: "\u2A88", gneqq: "\u2269", gnsim: "\u22E7", Gopf: "\u{1D53E}", gopf: "\u{1D558}", grave: "`", GreaterEqual: "\u2265", GreaterEqualLess: "\u22DB", GreaterFullEqual: "\u2267", GreaterGreater: "\u2AA2", GreaterLess: "\u2277", GreaterSlantEqual: "\u2A7E", GreaterTilde: "\u2273", Gscr: "\u{1D4A2}", gscr: "\u210A", gsim: "\u2273", gsime: "\u2A8E", gsiml: "\u2A90", gtcc: "\u2AA7", gtcir: "\u2A7A", gt: ">", GT: ">", Gt: "\u226B", gtdot: "\u22D7", gtlPar: "\u2995", gtquest: "\u2A7C", gtrapprox: "\u2A86", gtrarr: "\u2978", gtrdot: "\u22D7", gtreqless: "\u22DB", gtreqqless: "\u2A8C", gtrless: "\u2277", gtrsim: "\u2273", gvertneqq: "\u2269\uFE00", gvnE: "\u2269\uFE00", Hacek: "\u02C7", hairsp: "\u200A", half: "\xBD", hamilt: "\u210B", HARDcy: "\u042A", hardcy: "\u044A", harrcir: "\u2948", harr: "\u2194", hArr: "\u21D4", harrw: "\u21AD", Hat: "^", hbar: "\u210F", Hcirc: "\u0124", hcirc: "\u0125", hearts: "\u2665", heartsuit: "\u2665", hellip: "\u2026", hercon: "\u22B9", hfr: "\u{1D525}", Hfr: "\u210C", HilbertSpace: "\u210B", hksearow: "\u2925", hkswarow: "\u2926", hoarr: "\u21FF", homtht: "\u223B", hookleftarrow: "\u21A9", hookrightarrow: "\u21AA", hopf: "\u{1D559}", Hopf: "\u210D", horbar: "\u2015", HorizontalLine: "\u2500", hscr: "\u{1D4BD}", Hscr: "\u210B", hslash: "\u210F", Hstrok: "\u0126", hstrok: "\u0127", HumpDownHump: "\u224E", HumpEqual: "\u224F", hybull: "\u2043", hyphen: "\u2010", Iacute: "\xCD", iacute: "\xED", ic: "\u2063", Icirc: "\xCE", icirc: "\xEE", Icy: "\u0418", icy: "\u0438", Idot: "\u0130", IEcy: "\u0415", iecy: "\u0435", iexcl: "\xA1", iff: "\u21D4", ifr: "\u{1D526}", Ifr: "\u2111", Igrave: "\xCC", igrave: "\xEC", ii: "\u2148", iiiint: "\u2A0C", iiint: "\u222D", iinfin: "\u29DC", iiota: "\u2129", IJlig: "\u0132", ijlig: "\u0133", Imacr: "\u012A", imacr: "\u012B", image: "\u2111", ImaginaryI: "\u2148", imagline: "\u2110", imagpart: "\u2111", imath: "\u0131", Im: "\u2111", imof: "\u22B7", imped: "\u01B5", Implies: "\u21D2", incare: "\u2105", in: "\u2208", infin: "\u221E", infintie: "\u29DD", inodot: "\u0131", intcal: "\u22BA", int: "\u222B", Int: "\u222C", integers: "\u2124", Integral: "\u222B", intercal: "\u22BA", Intersection: "\u22C2", intlarhk: "\u2A17", intprod: "\u2A3C", InvisibleComma: "\u2063", InvisibleTimes: "\u2062", IOcy: "\u0401", iocy: "\u0451", Iogon: "\u012E", iogon: "\u012F", Iopf: "\u{1D540}", iopf: "\u{1D55A}", Iota: "\u0399", iota: "\u03B9", iprod: "\u2A3C", iquest: "\xBF", iscr: "\u{1D4BE}", Iscr: "\u2110", isin: "\u2208", isindot: "\u22F5", isinE: "\u22F9", isins: "\u22F4", isinsv: "\u22F3", isinv: "\u2208", it: "\u2062", Itilde: "\u0128", itilde: "\u0129", Iukcy: "\u0406", iukcy: "\u0456", Iuml: "\xCF", iuml: "\xEF", Jcirc: "\u0134", jcirc: "\u0135", Jcy: "\u0419", jcy: "\u0439", Jfr: "\u{1D50D}", jfr: "\u{1D527}", jmath: "\u0237", Jopf: "\u{1D541}", jopf: "\u{1D55B}", Jscr: "\u{1D4A5}", jscr: "\u{1D4BF}", Jsercy: "\u0408", jsercy: "\u0458", Jukcy: "\u0404", jukcy: "\u0454", Kappa: "\u039A", kappa: "\u03BA", kappav: "\u03F0", Kcedil: "\u0136", kcedil: "\u0137", Kcy: "\u041A", kcy: "\u043A", Kfr: "\u{1D50E}", kfr: "\u{1D528}", kgreen: "\u0138", KHcy: "\u0425", khcy: "\u0445", KJcy: "\u040C", kjcy: "\u045C", Kopf: "\u{1D542}", kopf: "\u{1D55C}", Kscr: "\u{1D4A6}", kscr: "\u{1D4C0}", lAarr: "\u21DA", Lacute: "\u0139", lacute: "\u013A", laemptyv: "\u29B4", lagran: "\u2112", Lambda: "\u039B", lambda: "\u03BB", lang: "\u27E8", Lang: "\u27EA", langd: "\u2991", langle: "\u27E8", lap: "\u2A85", Laplacetrf: "\u2112", laquo: "\xAB", larrb: "\u21E4", larrbfs: "\u291F", larr: "\u2190", Larr: "\u219E", lArr: "\u21D0", larrfs: "\u291D", larrhk: "\u21A9", larrlp: "\u21AB", larrpl: "\u2939", larrsim: "\u2973", larrtl: "\u21A2", latail: "\u2919", lAtail: "\u291B", lat: "\u2AAB", late: "\u2AAD", lates: "\u2AAD\uFE00", lbarr: "\u290C", lBarr: "\u290E", lbbrk: "\u2772", lbrace: "{", lbrack: "[", lbrke: "\u298B", lbrksld: "\u298F", lbrkslu: "\u298D", Lcaron: "\u013D", lcaron: "\u013E", Lcedil: "\u013B", lcedil: "\u013C", lceil: "\u2308", lcub: "{", Lcy: "\u041B", lcy: "\u043B", ldca: "\u2936", ldquo: "\u201C", ldquor: "\u201E", ldrdhar: "\u2967", ldrushar: "\u294B", ldsh: "\u21B2", le: "\u2264", lE: "\u2266", LeftAngleBracket: "\u27E8", LeftArrowBar: "\u21E4", leftarrow: "\u2190", LeftArrow: "\u2190", Leftarrow: "\u21D0", LeftArrowRightArrow: "\u21C6", leftarrowtail: "\u21A2", LeftCeiling: "\u2308", LeftDoubleBracket: "\u27E6", LeftDownTeeVector: "\u2961", LeftDownVectorBar: "\u2959", LeftDownVector: "\u21C3", LeftFloor: "\u230A", leftharpoondown: "\u21BD", leftharpoonup: "\u21BC", leftleftarrows: "\u21C7", leftrightarrow: "\u2194", LeftRightArrow: "\u2194", Leftrightarrow: "\u21D4", leftrightarrows: "\u21C6", leftrightharpoons: "\u21CB", leftrightsquigarrow: "\u21AD", LeftRightVector: "\u294E", LeftTeeArrow: "\u21A4", LeftTee: "\u22A3", LeftTeeVector: "\u295A", leftthreetimes: "\u22CB", LeftTriangleBar: "\u29CF", LeftTriangle: "\u22B2", LeftTriangleEqual: "\u22B4", LeftUpDownVector: "\u2951", LeftUpTeeVector: "\u2960", LeftUpVectorBar: "\u2958", LeftUpVector: "\u21BF", LeftVectorBar: "\u2952", LeftVector: "\u21BC", lEg: "\u2A8B", leg: "\u22DA", leq: "\u2264", leqq: "\u2266", leqslant: "\u2A7D", lescc: "\u2AA8", les: "\u2A7D", lesdot: "\u2A7F", lesdoto: "\u2A81", lesdotor: "\u2A83", lesg: "\u22DA\uFE00", lesges: "\u2A93", lessapprox: "\u2A85", lessdot: "\u22D6", lesseqgtr: "\u22DA", lesseqqgtr: "\u2A8B", LessEqualGreater: "\u22DA", LessFullEqual: "\u2266", LessGreater: "\u2276", lessgtr: "\u2276", LessLess: "\u2AA1", lesssim: "\u2272", LessSlantEqual: "\u2A7D", LessTilde: "\u2272", lfisht: "\u297C", lfloor: "\u230A", Lfr: "\u{1D50F}", lfr: "\u{1D529}", lg: "\u2276", lgE: "\u2A91", lHar: "\u2962", lhard: "\u21BD", lharu: "\u21BC", lharul: "\u296A", lhblk: "\u2584", LJcy: "\u0409", ljcy: "\u0459", llarr: "\u21C7", ll: "\u226A", Ll: "\u22D8", llcorner: "\u231E", Lleftarrow: "\u21DA", llhard: "\u296B", lltri: "\u25FA", Lmidot: "\u013F", lmidot: "\u0140", lmoustache: "\u23B0", lmoust: "\u23B0", lnap: "\u2A89", lnapprox: "\u2A89", lne: "\u2A87", lnE: "\u2268", lneq: "\u2A87", lneqq: "\u2268", lnsim: "\u22E6", loang: "\u27EC", loarr: "\u21FD", lobrk: "\u27E6", longleftarrow: "\u27F5", LongLeftArrow: "\u27F5", Longleftarrow: "\u27F8", longleftrightarrow: "\u27F7", LongLeftRightArrow: "\u27F7", Longleftrightarrow: "\u27FA", longmapsto: "\u27FC", longrightarrow: "\u27F6", LongRightArrow: "\u27F6", Longrightarrow: "\u27F9", looparrowleft: "\u21AB", looparrowright: "\u21AC", lopar: "\u2985", Lopf: "\u{1D543}", lopf: "\u{1D55D}", loplus: "\u2A2D", lotimes: "\u2A34", lowast: "\u2217", lowbar: "_", LowerLeftArrow: "\u2199", LowerRightArrow: "\u2198", loz: "\u25CA", lozenge: "\u25CA", lozf: "\u29EB", lpar: "(", lparlt: "\u2993", lrarr: "\u21C6", lrcorner: "\u231F", lrhar: "\u21CB", lrhard: "\u296D", lrm: "\u200E", lrtri: "\u22BF", lsaquo: "\u2039", lscr: "\u{1D4C1}", Lscr: "\u2112", lsh: "\u21B0", Lsh: "\u21B0", lsim: "\u2272", lsime: "\u2A8D", lsimg: "\u2A8F", lsqb: "[", lsquo: "\u2018", lsquor: "\u201A", Lstrok: "\u0141", lstrok: "\u0142", ltcc: "\u2AA6", ltcir: "\u2A79", lt: "<", LT: "<", Lt: "\u226A", ltdot: "\u22D6", lthree: "\u22CB", ltimes: "\u22C9", ltlarr: "\u2976", ltquest: "\u2A7B", ltri: "\u25C3", ltrie: "\u22B4", ltrif: "\u25C2", ltrPar: "\u2996", lurdshar: "\u294A", luruhar: "\u2966", lvertneqq: "\u2268\uFE00", lvnE: "\u2268\uFE00", macr: "\xAF", male: "\u2642", malt: "\u2720", maltese: "\u2720", Map: "\u2905", map: "\u21A6", mapsto: "\u21A6", mapstodown: "\u21A7", mapstoleft: "\u21A4", mapstoup: "\u21A5", marker: "\u25AE", mcomma: "\u2A29", Mcy: "\u041C", mcy: "\u043C", mdash: "\u2014", mDDot: "\u223A", measuredangle: "\u2221", MediumSpace: "\u205F", Mellintrf: "\u2133", Mfr: "\u{1D510}", mfr: "\u{1D52A}", mho: "\u2127", micro: "\xB5", midast: "*", midcir: "\u2AF0", mid: "\u2223", middot: "\xB7", minusb: "\u229F", minus: "\u2212", minusd: "\u2238", minusdu: "\u2A2A", MinusPlus: "\u2213", mlcp: "\u2ADB", mldr: "\u2026", mnplus: "\u2213", models: "\u22A7", Mopf: "\u{1D544}", mopf: "\u{1D55E}", mp: "\u2213", mscr: "\u{1D4C2}", Mscr: "\u2133", mstpos: "\u223E", Mu: "\u039C", mu: "\u03BC", multimap: "\u22B8", mumap: "\u22B8", nabla: "\u2207", Nacute: "\u0143", nacute: "\u0144", nang: "\u2220\u20D2", nap: "\u2249", napE: "\u2A70\u0338", napid: "\u224B\u0338", napos: "\u0149", napprox: "\u2249", natural: "\u266E", naturals: "\u2115", natur: "\u266E", nbsp: "\xA0", nbump: "\u224E\u0338", nbumpe: "\u224F\u0338", ncap: "\u2A43", Ncaron: "\u0147", ncaron: "\u0148", Ncedil: "\u0145", ncedil: "\u0146", ncong: "\u2247", ncongdot: "\u2A6D\u0338", ncup: "\u2A42", Ncy: "\u041D", ncy: "\u043D", ndash: "\u2013", nearhk: "\u2924", nearr: "\u2197", neArr: "\u21D7", nearrow: "\u2197", ne: "\u2260", nedot: "\u2250\u0338", NegativeMediumSpace: "\u200B", NegativeThickSpace: "\u200B", NegativeThinSpace: "\u200B", NegativeVeryThinSpace: "\u200B", nequiv: "\u2262", nesear: "\u2928", nesim: "\u2242\u0338", NestedGreaterGreater: "\u226B", NestedLessLess: "\u226A", NewLine: "\n", nexist: "\u2204", nexists: "\u2204", Nfr: "\u{1D511}", nfr: "\u{1D52B}", ngE: "\u2267\u0338", nge: "\u2271", ngeq: "\u2271", ngeqq: "\u2267\u0338", ngeqslant: "\u2A7E\u0338", nges: "\u2A7E\u0338", nGg: "\u22D9\u0338", ngsim: "\u2275", nGt: "\u226B\u20D2", ngt: "\u226F", ngtr: "\u226F", nGtv: "\u226B\u0338", nharr: "\u21AE", nhArr: "\u21CE", nhpar: "\u2AF2", ni: "\u220B", nis: "\u22FC", nisd: "\u22FA", niv: "\u220B", NJcy: "\u040A", njcy: "\u045A", nlarr: "\u219A", nlArr: "\u21CD", nldr: "\u2025", nlE: "\u2266\u0338", nle: "\u2270", nleftarrow: "\u219A", nLeftarrow: "\u21CD", nleftrightarrow: "\u21AE", nLeftrightarrow: "\u21CE", nleq: "\u2270", nleqq: "\u2266\u0338", nleqslant: "\u2A7D\u0338", nles: "\u2A7D\u0338", nless: "\u226E", nLl: "\u22D8\u0338", nlsim: "\u2274", nLt: "\u226A\u20D2", nlt: "\u226E", nltri: "\u22EA", nltrie: "\u22EC", nLtv: "\u226A\u0338", nmid: "\u2224", NoBreak: "\u2060", NonBreakingSpace: "\xA0", nopf: "\u{1D55F}", Nopf: "\u2115", Not: "\u2AEC", not: "\xAC", NotCongruent: "\u2262", NotCupCap: "\u226D", NotDoubleVerticalBar: "\u2226", NotElement: "\u2209", NotEqual: "\u2260", NotEqualTilde: "\u2242\u0338", NotExists: "\u2204", NotGreater: "\u226F", NotGreaterEqual: "\u2271", NotGreaterFullEqual: "\u2267\u0338", NotGreaterGreater: "\u226B\u0338", NotGreaterLess: "\u2279", NotGreaterSlantEqual: "\u2A7E\u0338", NotGreaterTilde: "\u2275", NotHumpDownHump: "\u224E\u0338", NotHumpEqual: "\u224F\u0338", notin: "\u2209", notindot: "\u22F5\u0338", notinE: "\u22F9\u0338", notinva: "\u2209", notinvb: "\u22F7", notinvc: "\u22F6", NotLeftTriangleBar: "\u29CF\u0338", NotLeftTriangle: "\u22EA", NotLeftTriangleEqual: "\u22EC", NotLess: "\u226E", NotLessEqual: "\u2270", NotLessGreater: "\u2278", NotLessLess: "\u226A\u0338", NotLessSlantEqual: "\u2A7D\u0338", NotLessTilde: "\u2274", NotNestedGreaterGreater: "\u2AA2\u0338", NotNestedLessLess: "\u2AA1\u0338", notni: "\u220C", notniva: "\u220C", notnivb: "\u22FE", notnivc: "\u22FD", NotPrecedes: "\u2280", NotPrecedesEqual: "\u2AAF\u0338", NotPrecedesSlantEqual: "\u22E0", NotReverseElement: "\u220C", NotRightTriangleBar: "\u29D0\u0338", NotRightTriangle: "\u22EB", NotRightTriangleEqual: "\u22ED", NotSquareSubset: "\u228F\u0338", NotSquareSubsetEqual: "\u22E2", NotSquareSuperset: "\u2290\u0338", NotSquareSupersetEqual: "\u22E3", NotSubset: "\u2282\u20D2", NotSubsetEqual: "\u2288", NotSucceeds: "\u2281", NotSucceedsEqual: "\u2AB0\u0338", NotSucceedsSlantEqual: "\u22E1", NotSucceedsTilde: "\u227F\u0338", NotSuperset: "\u2283\u20D2", NotSupersetEqual: "\u2289", NotTilde: "\u2241", NotTildeEqual: "\u2244", NotTildeFullEqual: "\u2247", NotTildeTilde: "\u2249", NotVerticalBar: "\u2224", nparallel: "\u2226", npar: "\u2226", nparsl: "\u2AFD\u20E5", npart: "\u2202\u0338", npolint: "\u2A14", npr: "\u2280", nprcue: "\u22E0", nprec: "\u2280", npreceq: "\u2AAF\u0338", npre: "\u2AAF\u0338", nrarrc: "\u2933\u0338", nrarr: "\u219B", nrArr: "\u21CF", nrarrw: "\u219D\u0338", nrightarrow: "\u219B", nRightarrow: "\u21CF", nrtri: "\u22EB", nrtrie: "\u22ED", nsc: "\u2281", nsccue: "\u22E1", nsce: "\u2AB0\u0338", Nscr: "\u{1D4A9}", nscr: "\u{1D4C3}", nshortmid: "\u2224", nshortparallel: "\u2226", nsim: "\u2241", nsime: "\u2244", nsimeq: "\u2244", nsmid: "\u2224", nspar: "\u2226", nsqsube: "\u22E2", nsqsupe: "\u22E3", nsub: "\u2284", nsubE: "\u2AC5\u0338", nsube: "\u2288", nsubset: "\u2282\u20D2", nsubseteq: "\u2288", nsubseteqq: "\u2AC5\u0338", nsucc: "\u2281", nsucceq: "\u2AB0\u0338", nsup: "\u2285", nsupE: "\u2AC6\u0338", nsupe: "\u2289", nsupset: "\u2283\u20D2", nsupseteq: "\u2289", nsupseteqq: "\u2AC6\u0338", ntgl: "\u2279", Ntilde: "\xD1", ntilde: "\xF1", ntlg: "\u2278", ntriangleleft: "\u22EA", ntrianglelefteq: "\u22EC", ntriangleright: "\u22EB", ntrianglerighteq: "\u22ED", Nu: "\u039D", nu: "\u03BD", num: "#", numero: "\u2116", numsp: "\u2007", nvap: "\u224D\u20D2", nvdash: "\u22AC", nvDash: "\u22AD", nVdash: "\u22AE", nVDash: "\u22AF", nvge: "\u2265\u20D2", nvgt: ">\u20D2", nvHarr: "\u2904", nvinfin: "\u29DE", nvlArr: "\u2902", nvle: "\u2264\u20D2", nvlt: "<\u20D2", nvltrie: "\u22B4\u20D2", nvrArr: "\u2903", nvrtrie: "\u22B5\u20D2", nvsim: "\u223C\u20D2", nwarhk: "\u2923", nwarr: "\u2196", nwArr: "\u21D6", nwarrow: "\u2196", nwnear: "\u2927", Oacute: "\xD3", oacute: "\xF3", oast: "\u229B", Ocirc: "\xD4", ocirc: "\xF4", ocir: "\u229A", Ocy: "\u041E", ocy: "\u043E", odash: "\u229D", Odblac: "\u0150", odblac: "\u0151", odiv: "\u2A38", odot: "\u2299", odsold: "\u29BC", OElig: "\u0152", oelig: "\u0153", ofcir: "\u29BF", Ofr: "\u{1D512}", ofr: "\u{1D52C}", ogon: "\u02DB", Ograve: "\xD2", ograve: "\xF2", ogt: "\u29C1", ohbar: "\u29B5", ohm: "\u03A9", oint: "\u222E", olarr: "\u21BA", olcir: "\u29BE", olcross: "\u29BB", oline: "\u203E", olt: "\u29C0", Omacr: "\u014C", omacr: "\u014D", Omega: "\u03A9", omega: "\u03C9", Omicron: "\u039F", omicron: "\u03BF", omid: "\u29B6", ominus: "\u2296", Oopf: "\u{1D546}", oopf: "\u{1D560}", opar: "\u29B7", OpenCurlyDoubleQuote: "\u201C", OpenCurlyQuote: "\u2018", operp: "\u29B9", oplus: "\u2295", orarr: "\u21BB", Or: "\u2A54", or: "\u2228", ord: "\u2A5D", order: "\u2134", orderof: "\u2134", ordf: "\xAA", ordm: "\xBA", origof: "\u22B6", oror: "\u2A56", orslope: "\u2A57", orv: "\u2A5B", oS: "\u24C8", Oscr: "\u{1D4AA}", oscr: "\u2134", Oslash: "\xD8", oslash: "\xF8", osol: "\u2298", Otilde: "\xD5", otilde: "\xF5", otimesas: "\u2A36", Otimes: "\u2A37", otimes: "\u2297", Ouml: "\xD6", ouml: "\xF6", ovbar: "\u233D", OverBar: "\u203E", OverBrace: "\u23DE", OverBracket: "\u23B4", OverParenthesis: "\u23DC", para: "\xB6", parallel: "\u2225", par: "\u2225", parsim: "\u2AF3", parsl: "\u2AFD", part: "\u2202", PartialD: "\u2202", Pcy: "\u041F", pcy: "\u043F", percnt: "%", period: ".", permil: "\u2030", perp: "\u22A5", pertenk: "\u2031", Pfr: "\u{1D513}", pfr: "\u{1D52D}", Phi: "\u03A6", phi: "\u03C6", phiv: "\u03D5", phmmat: "\u2133", phone: "\u260E", Pi: "\u03A0", pi: "\u03C0", pitchfork: "\u22D4", piv: "\u03D6", planck: "\u210F", planckh: "\u210E", plankv: "\u210F", plusacir: "\u2A23", plusb: "\u229E", pluscir: "\u2A22", plus: "+", plusdo: "\u2214", plusdu: "\u2A25", pluse: "\u2A72", PlusMinus: "\xB1", plusmn: "\xB1", plussim: "\u2A26", plustwo: "\u2A27", pm: "\xB1", Poincareplane: "\u210C", pointint: "\u2A15", popf: "\u{1D561}", Popf: "\u2119", pound: "\xA3", prap: "\u2AB7", Pr: "\u2ABB", pr: "\u227A", prcue: "\u227C", precapprox: "\u2AB7", prec: "\u227A", preccurlyeq: "\u227C", Precedes: "\u227A", PrecedesEqual: "\u2AAF", PrecedesSlantEqual: "\u227C", PrecedesTilde: "\u227E", preceq: "\u2AAF", precnapprox: "\u2AB9", precneqq: "\u2AB5", precnsim: "\u22E8", pre: "\u2AAF", prE: "\u2AB3", precsim: "\u227E", prime: "\u2032", Prime: "\u2033", primes: "\u2119", prnap: "\u2AB9", prnE: "\u2AB5", prnsim: "\u22E8", prod: "\u220F", Product: "\u220F", profalar: "\u232E", profline: "\u2312", profsurf: "\u2313", prop: "\u221D", Proportional: "\u221D", Proportion: "\u2237", propto: "\u221D", prsim: "\u227E", prurel: "\u22B0", Pscr: "\u{1D4AB}", pscr: "\u{1D4C5}", Psi: "\u03A8", psi: "\u03C8", puncsp: "\u2008", Qfr: "\u{1D514}", qfr: "\u{1D52E}", qint: "\u2A0C", qopf: "\u{1D562}", Qopf: "\u211A", qprime: "\u2057", Qscr: "\u{1D4AC}", qscr: "\u{1D4C6}", quaternions: "\u210D", quatint: "\u2A16", quest: "?", questeq: "\u225F", quot: '"', QUOT: '"', rAarr: "\u21DB", race: "\u223D\u0331", Racute: "\u0154", racute: "\u0155", radic: "\u221A", raemptyv: "\u29B3", rang: "\u27E9", Rang: "\u27EB", rangd: "\u2992", range: "\u29A5", rangle: "\u27E9", raquo: "\xBB", rarrap: "\u2975", rarrb: "\u21E5", rarrbfs: "\u2920", rarrc: "\u2933", rarr: "\u2192", Rarr: "\u21A0", rArr: "\u21D2", rarrfs: "\u291E", rarrhk: "\u21AA", rarrlp: "\u21AC", rarrpl: "\u2945", rarrsim: "\u2974", Rarrtl: "\u2916", rarrtl: "\u21A3", rarrw: "\u219D", ratail: "\u291A", rAtail: "\u291C", ratio: "\u2236", rationals: "\u211A", rbarr: "\u290D", rBarr: "\u290F", RBarr: "\u2910", rbbrk: "\u2773", rbrace: "}", rbrack: "]", rbrke: "\u298C", rbrksld: "\u298E", rbrkslu: "\u2990", Rcaron: "\u0158", rcaron: "\u0159", Rcedil: "\u0156", rcedil: "\u0157", rceil: "\u2309", rcub: "}", Rcy: "\u0420", rcy: "\u0440", rdca: "\u2937", rdldhar: "\u2969", rdquo: "\u201D", rdquor: "\u201D", rdsh: "\u21B3", real: "\u211C", realine: "\u211B", realpart: "\u211C", reals: "\u211D", Re: "\u211C", rect: "\u25AD", reg: "\xAE", REG: "\xAE", ReverseElement: "\u220B", ReverseEquilibrium: "\u21CB", ReverseUpEquilibrium: "\u296F", rfisht: "\u297D", rfloor: "\u230B", rfr: "\u{1D52F}", Rfr: "\u211C", rHar: "\u2964", rhard: "\u21C1", rharu: "\u21C0", rharul: "\u296C", Rho: "\u03A1", rho: "\u03C1", rhov: "\u03F1", RightAngleBracket: "\u27E9", RightArrowBar: "\u21E5", rightarrow: "\u2192", RightArrow: "\u2192", Rightarrow: "\u21D2", RightArrowLeftArrow: "\u21C4", rightarrowtail: "\u21A3", RightCeiling: "\u2309", RightDoubleBracket: "\u27E7", RightDownTeeVector: "\u295D", RightDownVectorBar: "\u2955", RightDownVector: "\u21C2", RightFloor: "\u230B", rightharpoondown: "\u21C1", rightharpoonup: "\u21C0", rightleftarrows: "\u21C4", rightleftharpoons: "\u21CC", rightrightarrows: "\u21C9", rightsquigarrow: "\u219D", RightTeeArrow: "\u21A6", RightTee: "\u22A2", RightTeeVector: "\u295B", rightthreetimes: "\u22CC", RightTriangleBar: "\u29D0", RightTriangle: "\u22B3", RightTriangleEqual: "\u22B5", RightUpDownVector: "\u294F", RightUpTeeVector: "\u295C", RightUpVectorBar: "\u2954", RightUpVector: "\u21BE", RightVectorBar: "\u2953", RightVector: "\u21C0", ring: "\u02DA", risingdotseq: "\u2253", rlarr: "\u21C4", rlhar: "\u21CC", rlm: "\u200F", rmoustache: "\u23B1", rmoust: "\u23B1", rnmid: "\u2AEE", roang: "\u27ED", roarr: "\u21FE", robrk: "\u27E7", ropar: "\u2986", ropf: "\u{1D563}", Ropf: "\u211D", roplus: "\u2A2E", rotimes: "\u2A35", RoundImplies: "\u2970", rpar: ")", rpargt: "\u2994", rppolint: "\u2A12", rrarr: "\u21C9", Rrightarrow: "\u21DB", rsaquo: "\u203A", rscr: "\u{1D4C7}", Rscr: "\u211B", rsh: "\u21B1", Rsh: "\u21B1", rsqb: "]", rsquo: "\u2019", rsquor: "\u2019", rthree: "\u22CC", rtimes: "\u22CA", rtri: "\u25B9", rtrie: "\u22B5", rtrif: "\u25B8", rtriltri: "\u29CE", RuleDelayed: "\u29F4", ruluhar: "\u2968", rx: "\u211E", Sacute: "\u015A", sacute: "\u015B", sbquo: "\u201A", scap: "\u2AB8", Scaron: "\u0160", scaron: "\u0161", Sc: "\u2ABC", sc: "\u227B", sccue: "\u227D", sce: "\u2AB0", scE: "\u2AB4", Scedil: "\u015E", scedil: "\u015F", Scirc: "\u015C", scirc: "\u015D", scnap: "\u2ABA", scnE: "\u2AB6", scnsim: "\u22E9", scpolint: "\u2A13", scsim: "\u227F", Scy: "\u0421", scy: "\u0441", sdotb: "\u22A1", sdot: "\u22C5", sdote: "\u2A66", searhk: "\u2925", searr: "\u2198", seArr: "\u21D8", searrow: "\u2198", sect: "\xA7", semi: ";", seswar: "\u2929", setminus: "\u2216", setmn: "\u2216", sext: "\u2736", Sfr: "\u{1D516}", sfr: "\u{1D530}", sfrown: "\u2322", sharp: "\u266F", SHCHcy: "\u0429", shchcy: "\u0449", SHcy: "\u0428", shcy: "\u0448", ShortDownArrow: "\u2193", ShortLeftArrow: "\u2190", shortmid: "\u2223", shortparallel: "\u2225", ShortRightArrow: "\u2192", ShortUpArrow: "\u2191", shy: "\xAD", Sigma: "\u03A3", sigma: "\u03C3", sigmaf: "\u03C2", sigmav: "\u03C2", sim: "\u223C", simdot: "\u2A6A", sime: "\u2243", simeq: "\u2243", simg: "\u2A9E", simgE: "\u2AA0", siml: "\u2A9D", simlE: "\u2A9F", simne: "\u2246", simplus: "\u2A24", simrarr: "\u2972", slarr: "\u2190", SmallCircle: "\u2218", smallsetminus: "\u2216", smashp: "\u2A33", smeparsl: "\u29E4", smid: "\u2223", smile: "\u2323", smt: "\u2AAA", smte: "\u2AAC", smtes: "\u2AAC\uFE00", SOFTcy: "\u042C", softcy: "\u044C", solbar: "\u233F", solb: "\u29C4", sol: "/", Sopf: "\u{1D54A}", sopf: "\u{1D564}", spades: "\u2660", spadesuit: "\u2660", spar: "\u2225", sqcap: "\u2293", sqcaps: "\u2293\uFE00", sqcup: "\u2294", sqcups: "\u2294\uFE00", Sqrt: "\u221A", sqsub: "\u228F", sqsube: "\u2291", sqsubset: "\u228F", sqsubseteq: "\u2291", sqsup: "\u2290", sqsupe: "\u2292", sqsupset: "\u2290", sqsupseteq: "\u2292", square: "\u25A1", Square: "\u25A1", SquareIntersection: "\u2293", SquareSubset: "\u228F", SquareSubsetEqual: "\u2291", SquareSuperset: "\u2290", SquareSupersetEqual: "\u2292", SquareUnion: "\u2294", squarf: "\u25AA", squ: "\u25A1", squf: "\u25AA", srarr: "\u2192", Sscr: "\u{1D4AE}", sscr: "\u{1D4C8}", ssetmn: "\u2216", ssmile: "\u2323", sstarf: "\u22C6", Star: "\u22C6", star: "\u2606", starf: "\u2605", straightepsilon: "\u03F5", straightphi: "\u03D5", strns: "\xAF", sub: "\u2282", Sub: "\u22D0", subdot: "\u2ABD", subE: "\u2AC5", sube: "\u2286", subedot: "\u2AC3", submult: "\u2AC1", subnE: "\u2ACB", subne: "\u228A", subplus: "\u2ABF", subrarr: "\u2979", subset: "\u2282", Subset: "\u22D0", subseteq: "\u2286", subseteqq: "\u2AC5", SubsetEqual: "\u2286", subsetneq: "\u228A", subsetneqq: "\u2ACB", subsim: "\u2AC7", subsub: "\u2AD5", subsup: "\u2AD3", succapprox: "\u2AB8", succ: "\u227B", succcurlyeq: "\u227D", Succeeds: "\u227B", SucceedsEqual: "\u2AB0", SucceedsSlantEqual: "\u227D", SucceedsTilde: "\u227F", succeq: "\u2AB0", succnapprox: "\u2ABA", succneqq: "\u2AB6", succnsim: "\u22E9", succsim: "\u227F", SuchThat: "\u220B", sum: "\u2211", Sum: "\u2211", sung: "\u266A", sup1: "\xB9", sup2: "\xB2", sup3: "\xB3", sup: "\u2283", Sup: "\u22D1", supdot: "\u2ABE", supdsub: "\u2AD8", supE: "\u2AC6", supe: "\u2287", supedot: "\u2AC4", Superset: "\u2283", SupersetEqual: "\u2287", suphsol: "\u27C9", suphsub: "\u2AD7", suplarr: "\u297B", supmult: "\u2AC2", supnE: "\u2ACC", supne: "\u228B", supplus: "\u2AC0", supset: "\u2283", Supset: "\u22D1", supseteq: "\u2287", supseteqq: "\u2AC6", supsetneq: "\u228B", supsetneqq: "\u2ACC", supsim: "\u2AC8", supsub: "\u2AD4", supsup: "\u2AD6", swarhk: "\u2926", swarr: "\u2199", swArr: "\u21D9", swarrow: "\u2199", swnwar: "\u292A", szlig: "\xDF", Tab: "	", target: "\u2316", Tau: "\u03A4", tau: "\u03C4", tbrk: "\u23B4", Tcaron: "\u0164", tcaron: "\u0165", Tcedil: "\u0162", tcedil: "\u0163", Tcy: "\u0422", tcy: "\u0442", tdot: "\u20DB", telrec: "\u2315", Tfr: "\u{1D517}", tfr: "\u{1D531}", there4: "\u2234", therefore: "\u2234", Therefore: "\u2234", Theta: "\u0398", theta: "\u03B8", thetasym: "\u03D1", thetav: "\u03D1", thickapprox: "\u2248", thicksim: "\u223C", ThickSpace: "\u205F\u200A", ThinSpace: "\u2009", thinsp: "\u2009", thkap: "\u2248", thksim: "\u223C", THORN: "\xDE", thorn: "\xFE", tilde: "\u02DC", Tilde: "\u223C", TildeEqual: "\u2243", TildeFullEqual: "\u2245", TildeTilde: "\u2248", timesbar: "\u2A31", timesb: "\u22A0", times: "\xD7", timesd: "\u2A30", tint: "\u222D", toea: "\u2928", topbot: "\u2336", topcir: "\u2AF1", top: "\u22A4", Topf: "\u{1D54B}", topf: "\u{1D565}", topfork: "\u2ADA", tosa: "\u2929", tprime: "\u2034", trade: "\u2122", TRADE: "\u2122", triangle: "\u25B5", triangledown: "\u25BF", triangleleft: "\u25C3", trianglelefteq: "\u22B4", triangleq: "\u225C", triangleright: "\u25B9", trianglerighteq: "\u22B5", tridot: "\u25EC", trie: "\u225C", triminus: "\u2A3A", TripleDot: "\u20DB", triplus: "\u2A39", trisb: "\u29CD", tritime: "\u2A3B", trpezium: "\u23E2", Tscr: "\u{1D4AF}", tscr: "\u{1D4C9}", TScy: "\u0426", tscy: "\u0446", TSHcy: "\u040B", tshcy: "\u045B", Tstrok: "\u0166", tstrok: "\u0167", twixt: "\u226C", twoheadleftarrow: "\u219E", twoheadrightarrow: "\u21A0", Uacute: "\xDA", uacute: "\xFA", uarr: "\u2191", Uarr: "\u219F", uArr: "\u21D1", Uarrocir: "\u2949", Ubrcy: "\u040E", ubrcy: "\u045E", Ubreve: "\u016C", ubreve: "\u016D", Ucirc: "\xDB", ucirc: "\xFB", Ucy: "\u0423", ucy: "\u0443", udarr: "\u21C5", Udblac: "\u0170", udblac: "\u0171", udhar: "\u296E", ufisht: "\u297E", Ufr: "\u{1D518}", ufr: "\u{1D532}", Ugrave: "\xD9", ugrave: "\xF9", uHar: "\u2963", uharl: "\u21BF", uharr: "\u21BE", uhblk: "\u2580", ulcorn: "\u231C", ulcorner: "\u231C", ulcrop: "\u230F", ultri: "\u25F8", Umacr: "\u016A", umacr: "\u016B", uml: "\xA8", UnderBar: "_", UnderBrace: "\u23DF", UnderBracket: "\u23B5", UnderParenthesis: "\u23DD", Union: "\u22C3", UnionPlus: "\u228E", Uogon: "\u0172", uogon: "\u0173", Uopf: "\u{1D54C}", uopf: "\u{1D566}", UpArrowBar: "\u2912", uparrow: "\u2191", UpArrow: "\u2191", Uparrow: "\u21D1", UpArrowDownArrow: "\u21C5", updownarrow: "\u2195", UpDownArrow: "\u2195", Updownarrow: "\u21D5", UpEquilibrium: "\u296E", upharpoonleft: "\u21BF", upharpoonright: "\u21BE", uplus: "\u228E", UpperLeftArrow: "\u2196", UpperRightArrow: "\u2197", upsi: "\u03C5", Upsi: "\u03D2", upsih: "\u03D2", Upsilon: "\u03A5", upsilon: "\u03C5", UpTeeArrow: "\u21A5", UpTee: "\u22A5", upuparrows: "\u21C8", urcorn: "\u231D", urcorner: "\u231D", urcrop: "\u230E", Uring: "\u016E", uring: "\u016F", urtri: "\u25F9", Uscr: "\u{1D4B0}", uscr: "\u{1D4CA}", utdot: "\u22F0", Utilde: "\u0168", utilde: "\u0169", utri: "\u25B5", utrif: "\u25B4", uuarr: "\u21C8", Uuml: "\xDC", uuml: "\xFC", uwangle: "\u29A7", vangrt: "\u299C", varepsilon: "\u03F5", varkappa: "\u03F0", varnothing: "\u2205", varphi: "\u03D5", varpi: "\u03D6", varpropto: "\u221D", varr: "\u2195", vArr: "\u21D5", varrho: "\u03F1", varsigma: "\u03C2", varsubsetneq: "\u228A\uFE00", varsubsetneqq: "\u2ACB\uFE00", varsupsetneq: "\u228B\uFE00", varsupsetneqq: "\u2ACC\uFE00", vartheta: "\u03D1", vartriangleleft: "\u22B2", vartriangleright: "\u22B3", vBar: "\u2AE8", Vbar: "\u2AEB", vBarv: "\u2AE9", Vcy: "\u0412", vcy: "\u0432", vdash: "\u22A2", vDash: "\u22A8", Vdash: "\u22A9", VDash: "\u22AB", Vdashl: "\u2AE6", veebar: "\u22BB", vee: "\u2228", Vee: "\u22C1", veeeq: "\u225A", vellip: "\u22EE", verbar: "|", Verbar: "\u2016", vert: "|", Vert: "\u2016", VerticalBar: "\u2223", VerticalLine: "|", VerticalSeparator: "\u2758", VerticalTilde: "\u2240", VeryThinSpace: "\u200A", Vfr: "\u{1D519}", vfr: "\u{1D533}", vltri: "\u22B2", vnsub: "\u2282\u20D2", vnsup: "\u2283\u20D2", Vopf: "\u{1D54D}", vopf: "\u{1D567}", vprop: "\u221D", vrtri: "\u22B3", Vscr: "\u{1D4B1}", vscr: "\u{1D4CB}", vsubnE: "\u2ACB\uFE00", vsubne: "\u228A\uFE00", vsupnE: "\u2ACC\uFE00", vsupne: "\u228B\uFE00", Vvdash: "\u22AA", vzigzag: "\u299A", Wcirc: "\u0174", wcirc: "\u0175", wedbar: "\u2A5F", wedge: "\u2227", Wedge: "\u22C0", wedgeq: "\u2259", weierp: "\u2118", Wfr: "\u{1D51A}", wfr: "\u{1D534}", Wopf: "\u{1D54E}", wopf: "\u{1D568}", wp: "\u2118", wr: "\u2240", wreath: "\u2240", Wscr: "\u{1D4B2}", wscr: "\u{1D4CC}", xcap: "\u22C2", xcirc: "\u25EF", xcup: "\u22C3", xdtri: "\u25BD", Xfr: "\u{1D51B}", xfr: "\u{1D535}", xharr: "\u27F7", xhArr: "\u27FA", Xi: "\u039E", xi: "\u03BE", xlarr: "\u27F5", xlArr: "\u27F8", xmap: "\u27FC", xnis: "\u22FB", xodot: "\u2A00", Xopf: "\u{1D54F}", xopf: "\u{1D569}", xoplus: "\u2A01", xotime: "\u2A02", xrarr: "\u27F6", xrArr: "\u27F9", Xscr: "\u{1D4B3}", xscr: "\u{1D4CD}", xsqcup: "\u2A06", xuplus: "\u2A04", xutri: "\u25B3", xvee: "\u22C1", xwedge: "\u22C0", Yacute: "\xDD", yacute: "\xFD", YAcy: "\u042F", yacy: "\u044F", Ycirc: "\u0176", ycirc: "\u0177", Ycy: "\u042B", ycy: "\u044B", yen: "\xA5", Yfr: "\u{1D51C}", yfr: "\u{1D536}", YIcy: "\u0407", yicy: "\u0457", Yopf: "\u{1D550}", yopf: "\u{1D56A}", Yscr: "\u{1D4B4}", yscr: "\u{1D4CE}", YUcy: "\u042E", yucy: "\u044E", yuml: "\xFF", Yuml: "\u0178", Zacute: "\u0179", zacute: "\u017A", Zcaron: "\u017D", zcaron: "\u017E", Zcy: "\u0417", zcy: "\u0437", Zdot: "\u017B", zdot: "\u017C", zeetrf: "\u2128", ZeroWidthSpace: "\u200B", Zeta: "\u0396", zeta: "\u03B6", zfr: "\u{1D537}", Zfr: "\u2128", ZHcy: "\u0416", zhcy: "\u0436", zigrarr: "\u21DD", zopf: "\u{1D56B}", Zopf: "\u2124", Zscr: "\u{1D4B5}", zscr: "\u{1D4CF}", zwj: "\u200D", zwnj: "\u200C" };
30306    }
30307  });
30308
30309  
vendor: 1,797 bytes, lines 30309-30316
30309// node_modules/dom-serializer/node_modules/entities/lib/maps/legacy.json
30310  var require_legacy2 = __commonJS({
30311    "node_modules/dom-serializer/node_modules/entities/lib/maps/legacy.json"(exports, module) {
30312      module.exports = { Aacute: "\xC1", aacute: "\xE1", Acirc: "\xC2", acirc: "\xE2", acute: "\xB4", AElig: "\xC6", aelig: "\xE6", Agrave: "\xC0", agrave: "\xE0", amp: "&", AMP: "&", Aring: "\xC5", aring: "\xE5", Atilde: "\xC3", atilde: "\xE3", Auml: "\xC4", auml: "\xE4", brvbar: "\xA6", Ccedil: "\xC7", ccedil: "\xE7", cedil: "\xB8", cent: "\xA2", copy: "\xA9", COPY: "\xA9", curren: "\xA4", deg: "\xB0", divide: "\xF7", Eacute: "\xC9", eacute: "\xE9", Ecirc: "\xCA", ecirc: "\xEA", Egrave: "\xC8", egrave: "\xE8", ETH: "\xD0", eth: "\xF0", Euml: "\xCB", euml: "\xEB", frac12: "\xBD", frac14: "\xBC", frac34: "\xBE", gt: ">", GT: ">", Iacute: "\xCD", iacute: "\xED", Icirc: "\xCE", icirc: "\xEE", iexcl: "\xA1", Igrave: "\xCC", igrave: "\xEC", iquest: "\xBF", Iuml: "\xCF", iuml: "\xEF", laquo: "\xAB", lt: "<", LT: "<", macr: "\xAF", micro: "\xB5", middot: "\xB7", nbsp: "\xA0", not: "\xAC", Ntilde: "\xD1", ntilde: "\xF1", Oacute: "\xD3", oacute: "\xF3", Ocirc: "\xD4", ocirc: "\xF4", Ograve: "\xD2", ograve: "\xF2", ordf: "\xAA", ordm: "\xBA", Oslash: "\xD8", oslash: "\xF8", Otilde: "\xD5", otilde: "\xF5", Ouml: "\xD6", ouml: "\xF6", para: "\xB6", plusmn: "\xB1", pound: "\xA3", quot: '"', QUOT: '"', raquo: "\xBB", reg: "\xAE", REG: "\xAE", sect: "\xA7", shy: "\xAD", sup1: "\xB9", sup2: "\xB2", sup3: "\xB3", szlig: "\xDF", THORN: "\xDE", thorn: "\xFE", times: "\xD7", Uacute: "\xDA", uacute: "\xFA", Ucirc: "\xDB", ucirc: "\xFB", Ugrave: "\xD9", ugrave: "\xF9", uml: "\xA8", Uuml: "\xDC", uuml: "\xFC", Yacute: "\xDD", yacute: "\xFD", yen: "\xA5", yuml: "\xFF" };
30313    }
30314  });
30315
30316  
vendor: 290 bytes, lines 30316-30323
30316// node_modules/dom-serializer/node_modules/entities/lib/maps/xml.json
30317  var require_xml2 = __commonJS({
30318    "node_modules/dom-serializer/node_modules/entities/lib/maps/xml.json"(exports, module) {
30319      module.exports = { amp: "&", apos: "'", gt: ">", lt: "<", quot: '"' };
30320    }
30321  });
30322
30323  
vendor: 602 bytes, lines 30323-30330
30323// node_modules/dom-serializer/node_modules/entities/lib/maps/decode.json
30324  var require_decode2 = __commonJS({
30325    "node_modules/dom-serializer/node_modules/entities/lib/maps/decode.json"(exports, module) {
30326      module.exports = { "0": 65533, "128": 8364, "130": 8218, "131": 402, "132": 8222, "133": 8230, "134": 8224, "135": 8225, "136": 710, "137": 8240, "138": 352, "139": 8249, "140": 338, "142": 381, "145": 8216, "146": 8217, "147": 8220, "148": 8221, "149": 8226, "150": 8211, "151": 8212, "152": 732, "153": 8482, "154": 353, "155": 8250, "156": 339, "158": 382, "159": 376 };
30327    }
30328  });
30329
30330  
vendor: 1,421 bytes, lines 30330-30366
30330// node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js
30331  var require_decode_codepoint2 = __commonJS({
30332    "node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js"(exports) {
30333      "use strict";
30334      init_esbuild_shims();
30335      var __importDefault = exports && exports.__importDefault || function(mod) {
30336        return mod && mod.__esModule ? mod : { "default": mod };
30337      };
30338      Object.defineProperty(exports, "__esModule", { value: true });
30339      var decode_json_1 = __importDefault(require_decode2());
30340      var fromCodePoint = (
30341        // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
30342        String.fromCodePoint || function(codePoint) {
30343          var output = "";
30344          if (codePoint > 65535) {
30345            codePoint -= 65536;
30346            output += String.fromCharCode(codePoint >>> 10 & 1023 | 55296);
30347            codePoint = 56320 | codePoint & 1023;
30348          }
30349          output += String.fromCharCode(codePoint);
30350          return output;
30351        }
30352      );
30353      function decodeCodePoint(codePoint) {
30354        if (codePoint >= 55296 && codePoint <= 57343 || codePoint > 1114111) {
30355          return "\uFFFD";
30356        }
30357        if (codePoint in decode_json_1.default) {
30358          codePoint = decode_json_1.default[codePoint];
30359        }
30360        return fromCodePoint(codePoint);
30361      }
30362      exports.default = decodeCodePoint;
30363    }
30364  });
30365
30366  
vendor: 2,557 bytes, lines 30366-30429
30366// node_modules/dom-serializer/node_modules/entities/lib/decode.js
30367  var require_decode3 = __commonJS({
30368    "node_modules/dom-serializer/node_modules/entities/lib/decode.js"(exports) {
30369      "use strict";
30370      init_esbuild_shims();
30371      var __importDefault = exports && exports.__importDefault || function(mod) {
30372        return mod && mod.__esModule ? mod : { "default": mod };
30373      };
30374      Object.defineProperty(exports, "__esModule", { value: true });
30375      exports.decodeHTML = exports.decodeHTMLStrict = exports.decodeXML = void 0;
30376      var entities_json_1 = __importDefault(require_entities2());
30377      var legacy_json_1 = __importDefault(require_legacy2());
30378      var xml_json_1 = __importDefault(require_xml2());
30379      var decode_codepoint_1 = __importDefault(require_decode_codepoint2());
30380      var strictEntityRe = /&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;
30381      exports.decodeXML = getStrictDecoder(xml_json_1.default);
30382      exports.decodeHTMLStrict = getStrictDecoder(entities_json_1.default);
30383      function getStrictDecoder(map) {
30384        var replace3 = getReplacer(map);
30385        return function(str) {
30386          return String(str).replace(strictEntityRe, replace3);
30387        };
30388      }
30389      var sorter = function(a, b) {
30390        return a < b ? 1 : -1;
30391      };
30392      exports.decodeHTML = (function() {
30393        var legacy = Object.keys(legacy_json_1.default).sort(sorter);
30394        var keys = Object.keys(entities_json_1.default).sort(sorter);
30395        for (var i2 = 0, j2 = 0; i2 < keys.length; i2++) {
30396          if (legacy[j2] === keys[i2]) {
30397            keys[i2] += ";?";
30398            j2++;
30399          } else {
30400            keys[i2] += ";";
30401          }
30402        }
30403        var re = new RegExp("&(?:" + keys.join("|") + "|#[xX][\\da-fA-F]+;?|#\\d+;?)", "g");
30404        var replace3 = getReplacer(entities_json_1.default);
30405        function replacer(str) {
30406          if (str.substr(-1) !== ";")
30407            str += ";";
30408          return replace3(str);
30409        }
30410        return function(str) {
30411          return String(str).replace(re, replacer);
30412        };
30413      })();
30414      function getReplacer(map) {
30415        return function replace3(str) {
30416          if (str.charAt(1) === "#") {
30417            var secondChar = str.charAt(2);
30418            if (secondChar === "X" || secondChar === "x") {
30419              return decode_codepoint_1.default(parseInt(str.substr(3), 16));
30420            }
30421            return decode_codepoint_1.default(parseInt(str.substr(2), 10));
30422          }
30423          return map[str.slice(1, -1)] || str;
30424        };
30425      }
30426    }
30427  });
30428
30429  
vendor: 3,922 bytes, lines 30429-30523
30429// node_modules/dom-serializer/node_modules/entities/lib/encode.js
30430  var require_encode = __commonJS({
30431    "node_modules/dom-serializer/node_modules/entities/lib/encode.js"(exports) {
30432      "use strict";
30433      init_esbuild_shims();
30434      var __importDefault = exports && exports.__importDefault || function(mod) {
30435        return mod && mod.__esModule ? mod : { "default": mod };
30436      };
30437      Object.defineProperty(exports, "__esModule", { value: true });
30438      exports.escapeUTF8 = exports.escape = exports.encodeNonAsciiHTML = exports.encodeHTML = exports.encodeXML = void 0;
30439      var xml_json_1 = __importDefault(require_xml2());
30440      var inverseXML = getInverseObj(xml_json_1.default);
30441      var xmlReplacer = getInverseReplacer(inverseXML);
30442      exports.encodeXML = getASCIIEncoder(inverseXML);
30443      var entities_json_1 = __importDefault(require_entities2());
30444      var inverseHTML = getInverseObj(entities_json_1.default);
30445      var htmlReplacer = getInverseReplacer(inverseHTML);
30446      exports.encodeHTML = getInverse(inverseHTML, htmlReplacer);
30447      exports.encodeNonAsciiHTML = getASCIIEncoder(inverseHTML);
30448      function getInverseObj(obj) {
30449        return Object.keys(obj).sort().reduce(function(inverse, name2) {
30450          inverse[obj[name2]] = "&" + name2 + ";";
30451          return inverse;
30452        }, {});
30453      }
30454      function getInverseReplacer(inverse) {
30455        var single = [];
30456        var multiple = [];
30457        for (var _i = 0, _a4 = Object.keys(inverse); _i < _a4.length; _i++) {
30458          var k = _a4[_i];
30459          if (k.length === 1) {
30460            single.push("\\" + k);
30461          } else {
30462            multiple.push(k);
30463          }
30464        }
30465        single.sort();
30466        for (var start = 0; start < single.length - 1; start++) {
30467          var end2 = start;
30468          while (end2 < single.length - 1 && single[end2].charCodeAt(1) + 1 === single[end2 + 1].charCodeAt(1)) {
30469            end2 += 1;
30470          }
30471          var count = 1 + end2 - start;
30472          if (count < 3)
30473            continue;
30474          single.splice(start, count, single[start] + "-" + single[end2]);
30475        }
30476        multiple.unshift("[" + single.join("") + "]");
30477        return new RegExp(multiple.join("|"), "g");
30478      }
30479      var reNonASCII = /(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g;
30480      var getCodePoint = (
30481        // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
30482        String.prototype.codePointAt != null ? (
30483          // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
30484          function(str) {
30485            return str.codePointAt(0);
30486          }
30487        ) : (
30488          // http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
30489          function(c) {
30490            return (c.charCodeAt(0) - 55296) * 1024 + c.charCodeAt(1) - 56320 + 65536;
30491          }
30492        )
30493      );
30494      function singleCharReplacer(c) {
30495        return "&#x" + (c.length > 1 ? getCodePoint(c) : c.charCodeAt(0)).toString(16).toUpperCase() + ";";
30496      }
30497      function getInverse(inverse, re) {
30498        return function(data) {
30499          return data.replace(re, function(name2) {
30500            return inverse[name2];
30501          }).replace(reNonASCII, singleCharReplacer);
30502        };
30503      }
30504      var reEscapeChars = new RegExp(xmlReplacer.source + "|" + reNonASCII.source, "g");
30505      function escape2(data) {
30506        return data.replace(reEscapeChars, singleCharReplacer);
30507      }
30508      exports.escape = escape2;
30509      function escapeUTF8(data) {
30510        return data.replace(xmlReplacer, singleCharReplacer);
30511      }
30512      exports.escapeUTF8 = escapeUTF8;
30513      function getASCIIEncoder(obj) {
30514        return function(data) {
30515          return data.replace(reEscapeChars, function(c) {
30516            return obj[c] || singleCharReplacer(c);
30517          });
30518        };
30519      }
30520    }
30521  });
30522
30523  
vendor: 3,510 bytes, lines 30523-30594
30523// node_modules/dom-serializer/node_modules/entities/lib/index.js
30524  var require_lib2 = __commonJS({
30525    "node_modules/dom-serializer/node_modules/entities/lib/index.js"(exports) {
30526      "use strict";
30527      init_esbuild_shims();
30528      Object.defineProperty(exports, "__esModule", { value: true });
30529      exports.decodeXMLStrict = exports.decodeHTML5Strict = exports.decodeHTML4Strict = exports.decodeHTML5 = exports.decodeHTML4 = exports.decodeHTMLStrict = exports.decodeHTML = exports.decodeXML = exports.encodeHTML5 = exports.encodeHTML4 = exports.escapeUTF8 = exports.escape = exports.encodeNonAsciiHTML = exports.encodeHTML = exports.encodeXML = exports.encode = exports.decodeStrict = exports.decode = void 0;
30530      var decode_1 = require_decode3();
30531      var encode_1 = require_encode();
30532      function decode(data, level) {
30533        return (!level || level <= 0 ? decode_1.decodeXML : decode_1.decodeHTML)(data);
30534      }
30535      exports.decode = decode;
30536      function decodeStrict(data, level) {
30537        return (!level || level <= 0 ? decode_1.decodeXML : decode_1.decodeHTMLStrict)(data);
30538      }
30539      exports.decodeStrict = decodeStrict;
30540      function encode3(data, level) {
30541        return (!level || level <= 0 ? encode_1.encodeXML : encode_1.encodeHTML)(data);
30542      }
30543      exports.encode = encode3;
30544      var encode_2 = require_encode();
30545      Object.defineProperty(exports, "encodeXML", { enumerable: true, get: function() {
30546        return encode_2.encodeXML;
30547      } });
30548      Object.defineProperty(exports, "encodeHTML", { enumerable: true, get: function() {
30549        return encode_2.encodeHTML;
30550      } });
30551      Object.defineProperty(exports, "encodeNonAsciiHTML", { enumerable: true, get: function() {
30552        return encode_2.encodeNonAsciiHTML;
30553      } });
30554      Object.defineProperty(exports, "escape", { enumerable: true, get: function() {
30555        return encode_2.escape;
30556      } });
30557      Object.defineProperty(exports, "escapeUTF8", { enumerable: true, get: function() {
30558        return encode_2.escapeUTF8;
30559      } });
30560      Object.defineProperty(exports, "encodeHTML4", { enumerable: true, get: function() {
30561        return encode_2.encodeHTML;
30562      } });
30563      Object.defineProperty(exports, "encodeHTML5", { enumerable: true, get: function() {
30564        return encode_2.encodeHTML;
30565      } });
30566      var decode_2 = require_decode3();
30567      Object.defineProperty(exports, "decodeXML", { enumerable: true, get: function() {
30568        return decode_2.decodeXML;
30569      } });
30570      Object.defineProperty(exports, "decodeHTML", { enumerable: true, get: function() {
30571        return decode_2.decodeHTML;
30572      } });
30573      Object.defineProperty(exports, "decodeHTMLStrict", { enumerable: true, get: function() {
30574        return decode_2.decodeHTMLStrict;
30575      } });
30576      Object.defineProperty(exports, "decodeHTML4", { enumerable: true, get: function() {
30577        return decode_2.decodeHTML;
30578      } });
30579      Object.defineProperty(exports, "decodeHTML5", { enumerable: true, get: function() {
30580        return decode_2.decodeHTML;
30581      } });
30582      Object.defineProperty(exports, "decodeHTML4Strict", { enumerable: true, get: function() {
30583        return decode_2.decodeHTMLStrict;
30584      } });
30585      Object.defineProperty(exports, "decodeHTML5Strict", { enumerable: true, get: function() {
30586        return decode_2.decodeHTMLStrict;
30587      } });
30588      Object.defineProperty(exports, "decodeXMLStrict", { enumerable: true, get: function() {
30589        return decode_2.decodeXML;
30590      } });
30591    }
30592  });
30593
30594  
vendor: 4,046 bytes, lines 30594-30702
30594// node_modules/dom-serializer/foreignNames.json
30595  var require_foreignNames = __commonJS({
30596    "node_modules/dom-serializer/foreignNames.json"(exports, module) {
30597      module.exports = {
30598        elementNames: {
30599          altglyph: "altGlyph",
30600          altglyphdef: "altGlyphDef",
30601          altglyphitem: "altGlyphItem",
30602          animatecolor: "animateColor",
30603          animatemotion: "animateMotion",
30604          animatetransform: "animateTransform",
30605          clippath: "clipPath",
30606          feblend: "feBlend",
30607          fecolormatrix: "feColorMatrix",
30608          fecomponenttransfer: "feComponentTransfer",
30609          fecomposite: "feComposite",
30610          feconvolvematrix: "feConvolveMatrix",
30611          fediffuselighting: "feDiffuseLighting",
30612          fedisplacementmap: "feDisplacementMap",
30613          fedistantlight: "feDistantLight",
30614          fedropshadow: "feDropShadow",
30615          feflood: "feFlood",
30616          fefunca: "feFuncA",
30617          fefuncb: "feFuncB",
30618          fefuncg: "feFuncG",
30619          fefuncr: "feFuncR",
30620          fegaussianblur: "feGaussianBlur",
30621          feimage: "feImage",
30622          femerge: "feMerge",
30623          femergenode: "feMergeNode",
30624          femorphology: "feMorphology",
30625          feoffset: "feOffset",
30626          fepointlight: "fePointLight",
30627          fespecularlighting: "feSpecularLighting",
30628          fespotlight: "feSpotLight",
30629          fetile: "feTile",
30630          feturbulence: "feTurbulence",
30631          foreignobject: "foreignObject",
30632          glyphref: "glyphRef",
30633          lineargradient: "linearGradient",
30634          radialgradient: "radialGradient",
30635          textpath: "textPath"
30636        },
30637        attributeNames: {
30638          definitionurl: "definitionURL",
30639          attributename: "attributeName",
30640          attributetype: "attributeType",
30641          basefrequency: "baseFrequency",
30642          baseprofile: "baseProfile",
30643          calcmode: "calcMode",
30644          clippathunits: "clipPathUnits",
30645          diffuseconstant: "diffuseConstant",
30646          edgemode: "edgeMode",
30647          filterunits: "filterUnits",
30648          glyphref: "glyphRef",
30649          gradienttransform: "gradientTransform",
30650          gradientunits: "gradientUnits",
30651          kernelmatrix: "kernelMatrix",
30652          kernelunitlength: "kernelUnitLength",
30653          keypoints: "keyPoints",
30654          keysplines: "keySplines",
30655          keytimes: "keyTimes",
30656          lengthadjust: "lengthAdjust",
30657          limitingconeangle: "limitingConeAngle",
30658          markerheight: "markerHeight",
30659          markerunits: "markerUnits",
30660          markerwidth: "markerWidth",
30661          maskcontentunits: "maskContentUnits",
30662          maskunits: "maskUnits",
30663          numoctaves: "numOctaves",
30664          pathlength: "pathLength",
30665          patterncontentunits: "patternContentUnits",
30666          patterntransform: "patternTransform",
30667          patternunits: "patternUnits",
30668          pointsatx: "pointsAtX",
30669          pointsaty: "pointsAtY",
30670          pointsatz: "pointsAtZ",
30671          preservealpha: "preserveAlpha",
30672          preserveaspectratio: "preserveAspectRatio",
30673          primitiveunits: "primitiveUnits",
30674          refx: "refX",
30675          refy: "refY",
30676          repeatcount: "repeatCount",
30677          repeatdur: "repeatDur",
30678          requiredextensions: "requiredExtensions",
30679          requiredfeatures: "requiredFeatures",
30680          specularconstant: "specularConstant",
30681          specularexponent: "specularExponent",
30682          spreadmethod: "spreadMethod",
30683          startoffset: "startOffset",
30684          stddeviation: "stdDeviation",
30685          stitchtiles: "stitchTiles",
30686          surfacescale: "surfaceScale",
30687          systemlanguage: "systemLanguage",
30688          tablevalues: "tableValues",
30689          targetx: "targetX",
30690          targety: "targetY",
30691          textlength: "textLength",
30692          viewbox: "viewBox",
30693          viewtarget: "viewTarget",
30694          xchannelselector: "xChannelSelector",
30695          ychannelselector: "yChannelSelector",
30696          zoomandpan: "zoomAndPan"
30697        }
30698      };
30699    }
30700  });
30701
30702  
vendor: 4,254 bytes, lines 30702-30836
30702// node_modules/dom-serializer/index.js
30703  var require_dom_serializer = __commonJS({
30704    "node_modules/dom-serializer/index.js"(exports, module) {
30705      init_esbuild_shims();
30706      var ElementType = require_lib();
30707      var entities = require_lib2();
30708      var foreignNames = require_foreignNames();
30709      foreignNames.elementNames.__proto__ = null;
30710      foreignNames.attributeNames.__proto__ = null;
30711      var unencodedElements = {
30712        __proto__: null,
30713        style: true,
30714        script: true,
30715        xmp: true,
30716        iframe: true,
30717        noembed: true,
30718        noframes: true,
30719        plaintext: true,
30720        noscript: true
30721      };
30722      function formatAttrs(attributes, opts) {
30723        if (!attributes) return;
30724        var output = "";
30725        var value;
30726        for (var key in attributes) {
30727          value = attributes[key];
30728          if (output) {
30729            output += " ";
30730          }
30731          if (opts.xmlMode === "foreign") {
30732            key = foreignNames.attributeNames[key] || key;
30733          }
30734          output += key;
30735          if (value !== null && value !== "" || opts.xmlMode) {
30736            output += '="' + (opts.decodeEntities ? entities.encodeXML(value) : value.replace(/\"/g, "&quot;")) + '"';
30737          }
30738        }
30739        return output;
30740      }
30741      var singleTag = {
30742        __proto__: null,
30743        area: true,
30744        base: true,
30745        basefont: true,
30746        br: true,
30747        col: true,
30748        command: true,
30749        embed: true,
30750        frame: true,
30751        hr: true,
30752        img: true,
30753        input: true,
30754        isindex: true,
30755        keygen: true,
30756        link: true,
30757        meta: true,
30758        param: true,
30759        source: true,
30760        track: true,
30761        wbr: true
30762      };
30763      var render2 = module.exports = function(dom2, opts) {
30764        if (!Array.isArray(dom2) && !dom2.cheerio) dom2 = [dom2];
30765        opts = opts || {};
30766        var output = "";
30767        for (var i2 = 0; i2 < dom2.length; i2++) {
30768          var elem = dom2[i2];
30769          if (elem.type === "root") output += render2(elem.children, opts);
30770          else if (ElementType.isTag(elem)) output += renderTag(elem, opts);
30771          else if (elem.type === ElementType.Directive)
30772            output += renderDirective(elem);
30773          else if (elem.type === ElementType.Comment) output += renderComment(elem);
30774          else if (elem.type === ElementType.CDATA) output += renderCdata(elem);
30775          else output += renderText(elem, opts);
30776        }
30777        return output;
30778      };
30779      var foreignModeIntegrationPoints = [
30780        "mi",
30781        "mo",
30782        "mn",
30783        "ms",
30784        "mtext",
30785        "annotation-xml",
30786        "foreignObject",
30787        "desc",
30788        "title"
30789      ];
30790      function renderTag(elem, opts) {
30791        if (opts.xmlMode === "foreign") {
30792          elem.name = foreignNames.elementNames[elem.name] || elem.name;
30793          if (elem.parent && foreignModeIntegrationPoints.indexOf(elem.parent.name) >= 0)
30794            opts = Object.assign({}, opts, { xmlMode: false });
30795        }
30796        if (!opts.xmlMode && ["svg", "math"].indexOf(elem.name) >= 0) {
30797          opts = Object.assign({}, opts, { xmlMode: "foreign" });
30798        }
30799        var tag = "<" + elem.name;
30800        var attribs = formatAttrs(elem.attribs, opts);
30801        if (attribs) {
30802          tag += " " + attribs;
30803        }
30804        if (opts.xmlMode && (!elem.children || elem.children.length === 0)) {
30805          tag += "/>";
30806        } else {
30807          tag += ">";
30808          if (elem.children) {
30809            tag += render2(elem.children, opts);
30810          }
30811          if (!singleTag[elem.name] || opts.xmlMode) {
30812            tag += "</" + elem.name + ">";
30813          }
30814        }
30815        return tag;
30816      }
30817      function renderDirective(elem) {
30818        return "<" + elem.data + ">";
30819      }
30820      function renderText(elem, opts) {
30821        var data = elem.data || "";
30822        if (opts.decodeEntities && !(elem.parent && elem.parent.name in unencodedElements)) {
30823          data = entities.encodeXML(data);
30824        }
30825        return data;
30826      }
30827      function renderCdata(elem) {
30828        return "<![CDATA[" + elem.children[0].data + "]]>";
30829      }
30830      function renderComment(elem) {
30831        return "<!--" + elem.data + "-->";
30832      }
30833    }
30834  });
30835
30836  
vendor: 955 bytes, lines 30836-30863
30836// node_modules/domutils/lib/stringify.js
30837  var require_stringify = __commonJS({
30838    "node_modules/domutils/lib/stringify.js"(exports, module) {
30839      init_esbuild_shims();
30840      var ElementType = require_domelementtype();
30841      var getOuterHTML = require_dom_serializer();
30842      var isTag = ElementType.isTag;
30843      module.exports = {
30844        getInnerHTML,
30845        getOuterHTML,
30846        getText
30847      };
30848      function getInnerHTML(elem, opts) {
30849        return elem.children ? elem.children.map(function(elem2) {
30850          return getOuterHTML(elem2, opts);
30851        }).join("") : "";
30852      }
30853      function getText(elem) {
30854        if (Array.isArray(elem)) return elem.map(getText).join("");
30855        if (isTag(elem)) return elem.name === "br" ? "\n" : getText(elem.children);
30856        if (elem.type === ElementType.CDATA) return getText(elem.children);
30857        if (elem.type === ElementType.Text) return elem.data;
30858        return "";
30859      }
30860    }
30861  });
30862
30863  
vendor: 853 bytes, lines 30863-30889
30863// node_modules/domutils/lib/traversal.js
30864  var require_traversal = __commonJS({
30865    "node_modules/domutils/lib/traversal.js"(exports) {
30866      init_esbuild_shims();
30867      var getChildren = exports.getChildren = function(elem) {
30868        return elem.children;
30869      };
30870      var getParent = exports.getParent = function(elem) {
30871        return elem.parent;
30872      };
30873      exports.getSiblings = function(elem) {
30874        var parent = getParent(elem);
30875        return parent ? getChildren(parent) : [elem];
30876      };
30877      exports.getAttributeValue = function(elem, name2) {
30878        return elem.attribs && elem.attribs[name2];
30879      };
30880      exports.hasAttrib = function(elem, name2) {
30881        return !!elem.attribs && hasOwnProperty.call(elem.attribs, name2);
30882      };
30883      exports.getName = function(elem) {
30884        return elem.name;
30885      };
30886    }
30887  });
30888
30889  
vendor: 2,195 bytes, lines 30889-30958
30889// node_modules/domutils/lib/manipulation.js
30890  var require_manipulation = __commonJS({
30891    "node_modules/domutils/lib/manipulation.js"(exports) {
30892      init_esbuild_shims();
30893      exports.removeElement = function(elem) {
30894        if (elem.prev) elem.prev.next = elem.next;
30895        if (elem.next) elem.next.prev = elem.prev;
30896        if (elem.parent) {
30897          var childs = elem.parent.children;
30898          childs.splice(childs.lastIndexOf(elem), 1);
30899        }
30900      };
30901      exports.replaceElement = function(elem, replacement) {
30902        var prev2 = replacement.prev = elem.prev;
30903        if (prev2) {
30904          prev2.next = replacement;
30905        }
30906        var next2 = replacement.next = elem.next;
30907        if (next2) {
30908          next2.prev = replacement;
30909        }
30910        var parent = replacement.parent = elem.parent;
30911        if (parent) {
30912          var childs = parent.children;
30913          childs[childs.lastIndexOf(elem)] = replacement;
30914        }
30915      };
30916      exports.appendChild = function(elem, child) {
30917        child.parent = elem;
30918        if (elem.children.push(child) !== 1) {
30919          var sibling = elem.children[elem.children.length - 2];
30920          sibling.next = child;
30921          child.prev = sibling;
30922          child.next = null;
30923        }
30924      };
30925      exports.append = function(elem, next2) {
30926        var parent = elem.parent, currNext = elem.next;
30927        next2.next = currNext;
30928        next2.prev = elem;
30929        elem.next = next2;
30930        next2.parent = parent;
30931        if (currNext) {
30932          currNext.prev = next2;
30933          if (parent) {
30934            var childs = parent.children;
30935            childs.splice(childs.lastIndexOf(currNext), 0, next2);
30936          }
30937        } else if (parent) {
30938          parent.children.push(next2);
30939        }
30940      };
30941      exports.prepend = function(elem, prev2) {
30942        var parent = elem.parent;
30943        if (parent) {
30944          var childs = parent.children;
30945          childs.splice(childs.lastIndexOf(elem), 0, prev2);
30946        }
30947        if (elem.prev) {
30948          elem.prev.next = prev2;
30949        }
30950        prev2.parent = parent;
30951        prev2.prev = elem.prev;
30952        prev2.next = elem;
30953        elem.prev = prev2;
30954      };
30955    }
30956  });
30957
30958  
vendor: 2,596 bytes, lines 30958-31038
30958// node_modules/domutils/lib/querying.js
30959  var require_querying = __commonJS({
30960    "node_modules/domutils/lib/querying.js"(exports, module) {
30961      init_esbuild_shims();
30962      var isTag = require_domelementtype().isTag;
30963      module.exports = {
30964        filter: filter2,
30965        find,
30966        findOneChild,
30967        findOne,
30968        existsOne,
30969        findAll
30970      };
30971      function filter2(test2, element, recurse, limit) {
30972        if (!Array.isArray(element)) element = [element];
30973        if (typeof limit !== "number" || !isFinite(limit)) {
30974          limit = Infinity;
30975        }
30976        return find(test2, element, recurse !== false, limit);
30977      }
30978      function find(test2, elems, recurse, limit) {
30979        var result = [], childs;
30980        for (var i2 = 0, j2 = elems.length; i2 < j2; i2++) {
30981          if (test2(elems[i2])) {
30982            result.push(elems[i2]);
30983            if (--limit <= 0) break;
30984          }
30985          childs = elems[i2].children;
30986          if (recurse && childs && childs.length > 0) {
30987            childs = find(test2, childs, recurse, limit);
30988            result = result.concat(childs);
30989            limit -= childs.length;
30990            if (limit <= 0) break;
30991          }
30992        }
30993        return result;
30994      }
30995      function findOneChild(test2, elems) {
30996        for (var i2 = 0, l = elems.length; i2 < l; i2++) {
30997          if (test2(elems[i2])) return elems[i2];
30998        }
30999        return null;
31000      }
31001      function findOne(test2, elems) {
31002        var elem = null;
31003        for (var i2 = 0, l = elems.length; i2 < l && !elem; i2++) {
31004          if (!isTag(elems[i2])) {
31005            continue;
31006          } else if (test2(elems[i2])) {
31007            elem = elems[i2];
31008          } else if (elems[i2].children.length > 0) {
31009            elem = findOne(test2, elems[i2].children);
31010          }
31011        }
31012        return elem;
31013      }
31014      function existsOne(test2, elems) {
31015        for (var i2 = 0, l = elems.length; i2 < l; i2++) {
31016          if (isTag(elems[i2]) && (test2(elems[i2]) || elems[i2].children.length > 0 && existsOne(test2, elems[i2].children))) {
31017            return true;
31018          }
31019        }
31020        return false;
31021      }
31022      function findAll(test2, rootElems) {
31023        var result = [];
31024        var stack = rootElems.slice();
31025        while (stack.length) {
31026          var elem = stack.shift();
31027          if (!isTag(elem)) continue;
31028          if (elem.children && elem.children.length > 0) {
31029            stack.unshift.apply(stack, elem.children);
31030          }
31031          if (test2(elem)) result.push(elem);
31032        }
31033        return result;
31034      }
31035    }
31036  });
31037
31038  
vendor: 3,519 bytes, lines 31038-31141
31038// node_modules/domutils/lib/legacy.js
31039  var require_legacy3 = __commonJS({
31040    "node_modules/domutils/lib/legacy.js"(exports) {
31041      init_esbuild_shims();
31042      var ElementType = require_domelementtype();
31043      var isTag = exports.isTag = ElementType.isTag;
31044      exports.testElement = function(options2, element) {
31045        for (var key in options2) {
31046          if (!options2.hasOwnProperty(key)) ;
31047          else if (key === "tag_name") {
31048            if (!isTag(element) || !options2.tag_name(element.name)) {
31049              return false;
31050            }
31051          } else if (key === "tag_type") {
31052            if (!options2.tag_type(element.type)) return false;
31053          } else if (key === "tag_contains") {
31054            if (isTag(element) || !options2.tag_contains(element.data)) {
31055              return false;
31056            }
31057          } else if (!element.attribs || !options2[key](element.attribs[key])) {
31058            return false;
31059          }
31060        }
31061        return true;
31062      };
31063      var Checks = {
31064        tag_name: function(name2) {
31065          if (typeof name2 === "function") {
31066            return function(elem) {
31067              return isTag(elem) && name2(elem.name);
31068            };
31069          } else if (name2 === "*") {
31070            return isTag;
31071          } else {
31072            return function(elem) {
31073              return isTag(elem) && elem.name === name2;
31074            };
31075          }
31076        },
31077        tag_type: function(type) {
31078          if (typeof type === "function") {
31079            return function(elem) {
31080              return type(elem.type);
31081            };
31082          } else {
31083            return function(elem) {
31084              return elem.type === type;
31085            };
31086          }
31087        },
31088        tag_contains: function(data) {
31089          if (typeof data === "function") {
31090            return function(elem) {
31091              return !isTag(elem) && data(elem.data);
31092            };
31093          } else {
31094            return function(elem) {
31095              return !isTag(elem) && elem.data === data;
31096            };
31097          }
31098        }
31099      };
31100      function getAttribCheck(attrib, value) {
31101        if (typeof value === "function") {
31102          return function(elem) {
31103            return elem.attribs && value(elem.attribs[attrib]);
31104          };
31105        } else {
31106          return function(elem) {
31107            return elem.attribs && elem.attribs[attrib] === value;
31108          };
31109        }
31110      }
31111      function combineFuncs(a, b) {
31112        return function(elem) {
31113          return a(elem) || b(elem);
31114        };
31115      }
31116      exports.getElements = function(options2, element, recurse, limit) {
31117        var funcs = Object.keys(options2).map(function(key) {
31118          var value = options2[key];
31119          return key in Checks ? Checks[key](value) : getAttribCheck(key, value);
31120        });
31121        return funcs.length === 0 ? [] : this.filter(
31122          funcs.reduce(combineFuncs),
31123          element,
31124          recurse,
31125          limit
31126        );
31127      };
31128      exports.getElementById = function(id, element, recurse) {
31129        if (!Array.isArray(element)) element = [element];
31130        return this.findOne(getAttribCheck("id", id), element, recurse !== false);
31131      };
31132      exports.getElementsByTagName = function(name2, element, recurse, limit) {
31133        return this.filter(Checks.tag_name(name2), element, recurse, limit);
31134      };
31135      exports.getElementsByTagType = function(type, element, recurse, limit) {
31136        return this.filter(Checks.tag_type(type), element, recurse, limit);
31137      };
31138    }
31139  });
31140
31141  
vendor: 2,796 bytes, lines 31141-31236
31141// node_modules/domutils/lib/helpers.js
31142  var require_helpers = __commonJS({
31143    "node_modules/domutils/lib/helpers.js"(exports) {
31144      init_esbuild_shims();
31145      exports.removeSubsets = function(nodes) {
31146        var idx = nodes.length, node2, ancestor, replace3;
31147        while (--idx > -1) {
31148          node2 = ancestor = nodes[idx];
31149          nodes[idx] = null;
31150          replace3 = true;
31151          while (ancestor) {
31152            if (nodes.indexOf(ancestor) > -1) {
31153              replace3 = false;
31154              nodes.splice(idx, 1);
31155              break;
31156            }
31157            ancestor = ancestor.parent;
31158          }
31159          if (replace3) {
31160            nodes[idx] = node2;
31161          }
31162        }
31163        return nodes;
31164      };
31165      var POSITION = {
31166        DISCONNECTED: 1,
31167        PRECEDING: 2,
31168        FOLLOWING: 4,
31169        CONTAINS: 8,
31170        CONTAINED_BY: 16
31171      };
31172      var comparePos = exports.compareDocumentPosition = function(nodeA, nodeB) {
31173        var aParents = [];
31174        var bParents = [];
31175        var current, sharedParent, siblings, aSibling, bSibling, idx;
31176        if (nodeA === nodeB) {
31177          return 0;
31178        }
31179        current = nodeA;
31180        while (current) {
31181          aParents.unshift(current);
31182          current = current.parent;
31183        }
31184        current = nodeB;
31185        while (current) {
31186          bParents.unshift(current);
31187          current = current.parent;
31188        }
31189        idx = 0;
31190        while (aParents[idx] === bParents[idx]) {
31191          idx++;
31192        }
31193        if (idx === 0) {
31194          return POSITION.DISCONNECTED;
31195        }
31196        sharedParent = aParents[idx - 1];
31197        siblings = sharedParent.children;
31198        aSibling = aParents[idx];
31199        bSibling = bParents[idx];
31200        if (siblings.indexOf(aSibling) > siblings.indexOf(bSibling)) {
31201          if (sharedParent === nodeB) {
31202            return POSITION.FOLLOWING | POSITION.CONTAINED_BY;
31203          }
31204          return POSITION.FOLLOWING;
31205        } else {
31206          if (sharedParent === nodeA) {
31207            return POSITION.PRECEDING | POSITION.CONTAINS;
31208          }
31209          return POSITION.PRECEDING;
31210        }
31211      };
31212      exports.uniqueSort = function(nodes) {
31213        var idx = nodes.length, node2, position2;
31214        nodes = nodes.slice();
31215        while (--idx > -1) {
31216          node2 = nodes[idx];
31217          position2 = nodes.indexOf(node2);
31218          if (position2 > -1 && position2 < idx) {
31219            nodes.splice(idx, 1);
31220          }
31221        }
31222        nodes.sort(function(a, b) {
31223          var relative = comparePos(a, b);
31224          if (relative & POSITION.PRECEDING) {
31225            return -1;
31226          } else if (relative & POSITION.FOLLOWING) {
31227            return 1;
31228          }
31229          return 0;
31230        });
31231        return nodes;
31232      };
31233    }
31234  });
31235
31236  
vendor: 541 bytes, lines 31236-31256
31236// node_modules/domutils/index.js
31237  var require_domutils = __commonJS({
31238    "node_modules/domutils/index.js"(exports, module) {
31239      init_esbuild_shims();
31240      var DomUtils = module.exports;
31241      [
31242        require_stringify(),
31243        require_traversal(),
31244        require_manipulation(),
31245        require_querying(),
31246        require_legacy3(),
31247        require_helpers()
31248      ].forEach(function(ext) {
31249        Object.keys(ext).forEach(function(key) {
31250          DomUtils[key] = ext[key].bind(DomUtils);
31251        });
31252      });
31253    }
31254  });
31255
31256  
vendor: 4,141 bytes, lines 31256-31351
31256// node_modules/htmlparser2/lib/FeedHandler.js
31257  var require_FeedHandler = __commonJS({
31258    "node_modules/htmlparser2/lib/FeedHandler.js"(exports, module) {
31259      init_esbuild_shims();
31260      var DomHandler = require_domhandler();
31261      var DomUtils = require_domutils();
31262      function FeedHandler(callback, options2) {
31263        this.init(callback, options2);
31264      }
31265      require_inherits_browser()(FeedHandler, DomHandler);
31266      FeedHandler.prototype.init = DomHandler;
31267      function getElements(what, where) {
31268        return DomUtils.getElementsByTagName(what, where, true);
31269      }
31270      function getOneElement(what, where) {
31271        return DomUtils.getElementsByTagName(what, where, true, 1)[0];
31272      }
31273      function fetch2(what, where, recurse) {
31274        return DomUtils.getText(
31275          DomUtils.getElementsByTagName(what, where, recurse, 1)
31276        ).trim();
31277      }
31278      function addConditionally(obj, prop, what, where, recurse) {
31279        var tmp = fetch2(what, where, recurse);
31280        if (tmp) obj[prop] = tmp;
31281      }
31282      var isValidFeed = function(value) {
31283        return value === "rss" || value === "feed" || value === "rdf:RDF";
31284      };
31285      FeedHandler.prototype.onend = function() {
31286        var feed = {}, feedRoot = getOneElement(isValidFeed, this.dom), tmp, childs;
31287        if (feedRoot) {
31288          if (feedRoot.name === "feed") {
31289            childs = feedRoot.children;
31290            feed.type = "atom";
31291            addConditionally(feed, "id", "id", childs);
31292            addConditionally(feed, "title", "title", childs);
31293            if ((tmp = getOneElement("link", childs)) && (tmp = tmp.attribs) && (tmp = tmp.href))
31294              feed.link = tmp;
31295            addConditionally(feed, "description", "subtitle", childs);
31296            if (tmp = fetch2("updated", childs)) feed.updated = new Date(tmp);
31297            addConditionally(feed, "author", "email", childs, true);
31298            feed.items = getElements("entry", childs).map(function(item) {
31299              var entry = {}, tmp2;
31300              item = item.children;
31301              addConditionally(entry, "id", "id", item);
31302              addConditionally(entry, "title", "title", item);
31303              if ((tmp2 = getOneElement("link", item)) && (tmp2 = tmp2.attribs) && (tmp2 = tmp2.href))
31304                entry.link = tmp2;
31305              if (tmp2 = fetch2("summary", item) || fetch2("content", item))
31306                entry.description = tmp2;
31307              if (tmp2 = fetch2("updated", item))
31308                entry.pubDate = new Date(tmp2);
31309              return entry;
31310            });
31311          } else {
31312            childs = getOneElement("channel", feedRoot.children).children;
31313            feed.type = feedRoot.name.substr(0, 3);
31314            feed.id = "";
31315            addConditionally(feed, "title", "title", childs);
31316            addConditionally(feed, "link", "link", childs);
31317            addConditionally(feed, "description", "description", childs);
31318            if (tmp = fetch2("lastBuildDate", childs))
31319              feed.updated = new Date(tmp);
31320            addConditionally(feed, "author", "managingEditor", childs, true);
31321            feed.items = getElements("item", feedRoot.children).map(function(item) {
31322              var entry = {}, tmp2;
31323              item = item.children;
31324              addConditionally(entry, "id", "guid", item);
31325              addConditionally(entry, "title", "title", item);
31326              addConditionally(entry, "link", "link", item);
31327              addConditionally(entry, "description", "description", item);
31328              if (tmp2 = fetch2("pubDate", item))
31329                entry.pubDate = new Date(tmp2);
31330              return entry;
31331            });
31332          }
31333        }
31334        this.dom = feed;
31335        DomHandler.prototype._handleCallback.call(
31336          this,
31337          feedRoot ? null : Error("couldn't find root of feed")
31338        );
31339      };
31340      module.exports = FeedHandler;
31341    }
31342  });
31343
31344  // (disabled):node_modules/readable-stream/readable-browser.js
31345  var require_readable_browser = __commonJS({
31346    "(disabled):node_modules/readable-stream/readable-browser.js"() {
31347      init_esbuild_shims();
31348    }
31349  });
31350
31351  
vendor: 1,992 bytes, lines 31351-31410
31351// node_modules/string_decoder/node_modules/safe-buffer/index.js
31352  var require_safe_buffer = __commonJS({
31353    "node_modules/string_decoder/node_modules/safe-buffer/index.js"(exports, module) {
31354      init_esbuild_shims();
31355      var buffer = require_buffer();
31356      var Buffer3 = buffer.Buffer;
31357      function copyProps(src, dst) {
31358        for (var key in src) {
31359          dst[key] = src[key];
31360        }
31361      }
31362      if (Buffer3.from && Buffer3.alloc && Buffer3.allocUnsafe && Buffer3.allocUnsafeSlow) {
31363        module.exports = buffer;
31364      } else {
31365        copyProps(buffer, exports);
31366        exports.Buffer = SafeBuffer;
31367      }
31368      function SafeBuffer(arg, encodingOrOffset, length2) {
31369        return Buffer3(arg, encodingOrOffset, length2);
31370      }
31371      SafeBuffer.prototype = Object.create(Buffer3.prototype);
31372      copyProps(Buffer3, SafeBuffer);
31373      SafeBuffer.from = function(arg, encodingOrOffset, length2) {
31374        if (typeof arg === "number") {
31375          throw new TypeError("Argument must not be a number");
31376        }
31377        return Buffer3(arg, encodingOrOffset, length2);
31378      };
31379      SafeBuffer.alloc = function(size2, fill2, encoding) {
31380        if (typeof size2 !== "number") {
31381          throw new TypeError("Argument must be a number");
31382        }
31383        var buf = Buffer3(size2);
31384        if (fill2 !== void 0) {
31385          if (typeof encoding === "string") {
31386            buf.fill(fill2, encoding);
31387          } else {
31388            buf.fill(fill2);
31389          }
31390        } else {
31391          buf.fill(0);
31392        }
31393        return buf;
31394      };
31395      SafeBuffer.allocUnsafe = function(size2) {
31396        if (typeof size2 !== "number") {
31397          throw new TypeError("Argument must be a number");
31398        }
31399        return Buffer3(size2);
31400      };
31401      SafeBuffer.allocUnsafeSlow = function(size2) {
31402        if (typeof size2 !== "number") {
31403          throw new TypeError("Argument must be a number");
31404        }
31405        return buffer.SlowBuffer(size2);
31406      };
31407    }
31408  });
31409
31410  
vendor: 7,769 bytes, lines 31410-31649
31410// node_modules/string_decoder/lib/string_decoder.js
31411  var require_string_decoder = __commonJS({
31412    "node_modules/string_decoder/lib/string_decoder.js"(exports) {
31413      "use strict";
31414      init_esbuild_shims();
31415      var Buffer3 = require_safe_buffer().Buffer;
31416      var isEncoding = Buffer3.isEncoding || function(encoding) {
31417        encoding = "" + encoding;
31418        switch (encoding && encoding.toLowerCase()) {
31419          case "hex":
31420          case "utf8":
31421          case "utf-8":
31422          case "ascii":
31423          case "binary":
31424          case "base64":
31425          case "ucs2":
31426          case "ucs-2":
31427          case "utf16le":
31428          case "utf-16le":
31429          case "raw":
31430            return true;
31431          default:
31432            return false;
31433        }
31434      };
31435      function _normalizeEncoding(enc) {
31436        if (!enc) return "utf8";
31437        var retried;
31438        while (true) {
31439          switch (enc) {
31440            case "utf8":
31441            case "utf-8":
31442              return "utf8";
31443            case "ucs2":
31444            case "ucs-2":
31445            case "utf16le":
31446            case "utf-16le":
31447              return "utf16le";
31448            case "latin1":
31449            case "binary":
31450              return "latin1";
31451            case "base64":
31452            case "ascii":
31453            case "hex":
31454              return enc;
31455            default:
31456              if (retried) return;
31457              enc = ("" + enc).toLowerCase();
31458              retried = true;
31459          }
31460        }
31461      }
31462      function normalizeEncoding(enc) {
31463        var nenc = _normalizeEncoding(enc);
31464        if (typeof nenc !== "string" && (Buffer3.isEncoding === isEncoding || !isEncoding(enc))) throw new Error("Unknown encoding: " + enc);
31465        return nenc || enc;
31466      }
31467      exports.StringDecoder = StringDecoder;
31468      function StringDecoder(encoding) {
31469        this.encoding = normalizeEncoding(encoding);
31470        var nb;
31471        switch (this.encoding) {
31472          case "utf16le":
31473            this.text = utf16Text;
31474            this.end = utf16End;
31475            nb = 4;
31476            break;
31477          case "utf8":
31478            this.fillLast = utf8FillLast;
31479            nb = 4;
31480            break;
31481          case "base64":
31482            this.text = base64Text;
31483            this.end = base64End;
31484            nb = 3;
31485            break;
31486          default:
31487            this.write = simpleWrite;
31488            this.end = simpleEnd;
31489            return;
31490        }
31491        this.lastNeed = 0;
31492        this.lastTotal = 0;
31493        this.lastChar = Buffer3.allocUnsafe(nb);
31494      }
31495      StringDecoder.prototype.write = function(buf) {
31496        if (buf.length === 0) return "";
31497        var r2;
31498        var i2;
31499        if (this.lastNeed) {
31500          r2 = this.fillLast(buf);
31501          if (r2 === void 0) return "";
31502          i2 = this.lastNeed;
31503          this.lastNeed = 0;
31504        } else {
31505          i2 = 0;
31506        }
31507        if (i2 < buf.length) return r2 ? r2 + this.text(buf, i2) : this.text(buf, i2);
31508        return r2 || "";
31509      };
31510      StringDecoder.prototype.end = utf8End;
31511      StringDecoder.prototype.text = utf8Text;
31512      StringDecoder.prototype.fillLast = function(buf) {
31513        if (this.lastNeed <= buf.length) {
31514          buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);
31515          return this.lastChar.toString(this.encoding, 0, this.lastTotal);
31516        }
31517        buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);
31518        this.lastNeed -= buf.length;
31519      };
31520      function utf8CheckByte(byte) {
31521        if (byte <= 127) return 0;
31522        else if (byte >> 5 === 6) return 2;
31523        else if (byte >> 4 === 14) return 3;
31524        else if (byte >> 3 === 30) return 4;
31525        return byte >> 6 === 2 ? -1 : -2;
31526      }
31527      function utf8CheckIncomplete(self2, buf, i2) {
31528        var j2 = buf.length - 1;
31529        if (j2 < i2) return 0;
31530        var nb = utf8CheckByte(buf[j2]);
31531        if (nb >= 0) {
31532          if (nb > 0) self2.lastNeed = nb - 1;
31533          return nb;
31534        }
31535        if (--j2 < i2 || nb === -2) return 0;
31536        nb = utf8CheckByte(buf[j2]);
31537        if (nb >= 0) {
31538          if (nb > 0) self2.lastNeed = nb - 2;
31539          return nb;
31540        }
31541        if (--j2 < i2 || nb === -2) return 0;
31542        nb = utf8CheckByte(buf[j2]);
31543        if (nb >= 0) {
31544          if (nb > 0) {
31545            if (nb === 2) nb = 0;
31546            else self2.lastNeed = nb - 3;
31547          }
31548          return nb;
31549        }
31550        return 0;
31551      }
31552      function utf8CheckExtraBytes(self2, buf, p2) {
31553        if ((buf[0] & 192) !== 128) {
31554          self2.lastNeed = 0;
31555          return "\uFFFD";
31556        }
31557        if (self2.lastNeed > 1 && buf.length > 1) {
31558          if ((buf[1] & 192) !== 128) {
31559            self2.lastNeed = 1;
31560            return "\uFFFD";
31561          }
31562          if (self2.lastNeed > 2 && buf.length > 2) {
31563            if ((buf[2] & 192) !== 128) {
31564              self2.lastNeed = 2;
31565              return "\uFFFD";
31566            }
31567          }
31568        }
31569      }
31570      function utf8FillLast(buf) {
31571        var p2 = this.lastTotal - this.lastNeed;
31572        var r2 = utf8CheckExtraBytes(this, buf, p2);
31573        if (r2 !== void 0) return r2;
31574        if (this.lastNeed <= buf.length) {
31575          buf.copy(this.lastChar, p2, 0, this.lastNeed);
31576          return this.lastChar.toString(this.encoding, 0, this.lastTotal);
31577        }
31578        buf.copy(this.lastChar, p2, 0, buf.length);
31579        this.lastNeed -= buf.length;
31580      }
31581      function utf8Text(buf, i2) {
31582        var total = utf8CheckIncomplete(this, buf, i2);
31583        if (!this.lastNeed) return buf.toString("utf8", i2);
31584        this.lastTotal = total;
31585        var end2 = buf.length - (total - this.lastNeed);
31586        buf.copy(this.lastChar, 0, end2);
31587        return buf.toString("utf8", i2, end2);
31588      }
31589      function utf8End(buf) {
31590        var r2 = buf && buf.length ? this.write(buf) : "";
31591        if (this.lastNeed) return r2 + "\uFFFD";
31592        return r2;
31593      }
31594      function utf16Text(buf, i2) {
31595        if ((buf.length - i2) % 2 === 0) {
31596          var r2 = buf.toString("utf16le", i2);
31597          if (r2) {
31598            var c = r2.charCodeAt(r2.length - 1);
31599            if (c >= 55296 && c <= 56319) {
31600              this.lastNeed = 2;
31601              this.lastTotal = 4;
31602              this.lastChar[0] = buf[buf.length - 2];
31603              this.lastChar[1] = buf[buf.length - 1];
31604              return r2.slice(0, -1);
31605            }
31606          }
31607          return r2;
31608        }
31609        this.lastNeed = 1;
31610        this.lastTotal = 2;
31611        this.lastChar[0] = buf[buf.length - 1];
31612        return buf.toString("utf16le", i2, buf.length - 1);
31613      }
31614      function utf16End(buf) {
31615        var r2 = buf && buf.length ? this.write(buf) : "";
31616        if (this.lastNeed) {
31617          var end2 = this.lastTotal - this.lastNeed;
31618          return r2 + this.lastChar.toString("utf16le", 0, end2);
31619        }
31620        return r2;
31621      }
31622      function base64Text(buf, i2) {
31623        var n = (buf.length - i2) % 3;
31624        if (n === 0) return buf.toString("base64", i2);
31625        this.lastNeed = 3 - n;
31626        this.lastTotal = 3;
31627        if (n === 1) {
31628          this.lastChar[0] = buf[buf.length - 1];
31629        } else {
31630          this.lastChar[0] = buf[buf.length - 2];
31631          this.lastChar[1] = buf[buf.length - 1];
31632        }
31633        return buf.toString("base64", i2, buf.length - n);
31634      }
31635      function base64End(buf) {
31636        var r2 = buf && buf.length ? this.write(buf) : "";
31637        if (this.lastNeed) return r2 + this.lastChar.toString("base64", 0, 3 - this.lastNeed);
31638        return r2;
31639      }
31640      function simpleWrite(buf) {
31641        return buf.toString(this.encoding);
31642      }
31643      function simpleEnd(buf) {
31644        return buf && buf.length ? this.write(buf) : "";
31645      }
31646    }
31647  });
31648
31649  
vendor: 1,026 bytes, lines 31649-31675
31649// node_modules/htmlparser2/lib/WritableStream.js
31650  var require_WritableStream = __commonJS({
31651    "node_modules/htmlparser2/lib/WritableStream.js"(exports, module) {
31652      init_esbuild_shims();
31653      module.exports = Stream;
31654      var Parser = require_Parser();
31655      var WritableStream = require_readable_browser().Writable;
31656      var StringDecoder = require_string_decoder().StringDecoder;
31657      var Buffer3 = require_buffer().Buffer;
31658      function Stream(cbs, options2) {
31659        var parser = this._parser = new Parser(cbs, options2);
31660        var decoder = this._decoder = new StringDecoder();
31661        WritableStream.call(this, { decodeStrings: false });
31662        this.once("finish", function() {
31663          parser.end(decoder.end());
31664        });
31665      }
31666      require_inherits_browser()(Stream, WritableStream);
31667      Stream.prototype._write = function(chunk, encoding, cb) {
31668        if (chunk instanceof Buffer3) chunk = this._decoder.write(chunk);
31669        this._parser.write(chunk);
31670        cb();
31671      };
31672    }
31673  });
31674
31675  
vendor: 1,132 bytes, lines 31675-31710
31675// node_modules/htmlparser2/lib/Stream.js
31676  var require_Stream = __commonJS({
31677    "node_modules/htmlparser2/lib/Stream.js"(exports, module) {
31678      init_esbuild_shims();
31679      module.exports = Stream;
31680      var Parser = require_WritableStream();
31681      function Stream(options2) {
31682        Parser.call(this, new Cbs(this), options2);
31683      }
31684      require_inherits_browser()(Stream, Parser);
31685      Stream.prototype.readable = true;
31686      function Cbs(scope) {
31687        this.scope = scope;
31688      }
31689      var EVENTS = require_lib3().EVENTS;
31690      Object.keys(EVENTS).forEach(function(name2) {
31691        if (EVENTS[name2] === 0) {
31692          Cbs.prototype["on" + name2] = function() {
31693            this.scope.emit(name2);
31694          };
31695        } else if (EVENTS[name2] === 1) {
31696          Cbs.prototype["on" + name2] = function(a) {
31697            this.scope.emit(name2, a);
31698          };
31699        } else if (EVENTS[name2] === 2) {
31700          Cbs.prototype["on" + name2] = function(a, b) {
31701            this.scope.emit(name2, a, b);
31702          };
31703        } else {
31704          throw Error("wrong number of arguments!");
31705        }
31706      });
31707    }
31708  });
31709
31710  
vendor: 1,088 bytes, lines 31710-31742
31710// node_modules/htmlparser2/lib/ProxyHandler.js
31711  var require_ProxyHandler = __commonJS({
31712    "node_modules/htmlparser2/lib/ProxyHandler.js"(exports, module) {
31713      init_esbuild_shims();
31714      module.exports = ProxyHandler;
31715      function ProxyHandler(cbs) {
31716        this._cbs = cbs || {};
31717      }
31718      var EVENTS = require_lib3().EVENTS;
31719      Object.keys(EVENTS).forEach(function(name2) {
31720        if (EVENTS[name2] === 0) {
31721          name2 = "on" + name2;
31722          ProxyHandler.prototype[name2] = function() {
31723            if (this._cbs[name2]) this._cbs[name2]();
31724          };
31725        } else if (EVENTS[name2] === 1) {
31726          name2 = "on" + name2;
31727          ProxyHandler.prototype[name2] = function(a) {
31728            if (this._cbs[name2]) this._cbs[name2](a);
31729          };
31730        } else if (EVENTS[name2] === 2) {
31731          name2 = "on" + name2;
31732          ProxyHandler.prototype[name2] = function(a, b) {
31733            if (this._cbs[name2]) this._cbs[name2](a, b);
31734          };
31735        } else {
31736          throw Error("wrong number of arguments");
31737        }
31738      });
31739    }
31740  });
31741
31742  
vendor: 2,071 bytes, lines 31742-31800
31742// node_modules/htmlparser2/lib/CollectingHandler.js
31743  var require_CollectingHandler = __commonJS({
31744    "node_modules/htmlparser2/lib/CollectingHandler.js"(exports, module) {
31745      init_esbuild_shims();
31746      module.exports = CollectingHandler;
31747      function CollectingHandler(cbs) {
31748        this._cbs = cbs || {};
31749        this.events = [];
31750      }
31751      var EVENTS = require_lib3().EVENTS;
31752      Object.keys(EVENTS).forEach(function(name2) {
31753        if (EVENTS[name2] === 0) {
31754          name2 = "on" + name2;
31755          CollectingHandler.prototype[name2] = function() {
31756            this.events.push([name2]);
31757            if (this._cbs[name2]) this._cbs[name2]();
31758          };
31759        } else if (EVENTS[name2] === 1) {
31760          name2 = "on" + name2;
31761          CollectingHandler.prototype[name2] = function(a) {
31762            this.events.push([name2, a]);
31763            if (this._cbs[name2]) this._cbs[name2](a);
31764          };
31765        } else if (EVENTS[name2] === 2) {
31766          name2 = "on" + name2;
31767          CollectingHandler.prototype[name2] = function(a, b) {
31768            this.events.push([name2, a, b]);
31769            if (this._cbs[name2]) this._cbs[name2](a, b);
31770          };
31771        } else {
31772          throw Error("wrong number of arguments");
31773        }
31774      });
31775      CollectingHandler.prototype.onreset = function() {
31776        this.events = [];
31777        if (this._cbs.onreset) this._cbs.onreset();
31778      };
31779      CollectingHandler.prototype.restart = function() {
31780        if (this._cbs.onreset) this._cbs.onreset();
31781        for (var i2 = 0, len = this.events.length; i2 < len; i2++) {
31782          if (this._cbs[this.events[i2][0]]) {
31783            var num = this.events[i2].length;
31784            if (num === 1) {
31785              this._cbs[this.events[i2][0]]();
31786            } else if (num === 2) {
31787              this._cbs[this.events[i2][0]](this.events[i2][1]);
31788            } else {
31789              this._cbs[this.events[i2][0]](
31790                this.events[i2][1],
31791                this.events[i2][2]
31792              );
31793            }
31794          }
31795        }
31796      };
31797    }
31798  });
31799
31800  
vendor: 2,430 bytes, lines 31800-31877
31800// node_modules/htmlparser2/lib/index.js
31801  var require_lib3 = __commonJS({
31802    "node_modules/htmlparser2/lib/index.js"(exports, module) {
31803      init_esbuild_shims();
31804      var Parser = require_Parser();
31805      var DomHandler = require_domhandler();
31806      function defineProp(name2, value) {
31807        delete module.exports[name2];
31808        module.exports[name2] = value;
31809        return value;
31810      }
31811      module.exports = {
31812        Parser,
31813        Tokenizer: require_Tokenizer(),
31814        ElementType: require_domelementtype(),
31815        DomHandler,
31816        get FeedHandler() {
31817          return defineProp("FeedHandler", require_FeedHandler());
31818        },
31819        get Stream() {
31820          return defineProp("Stream", require_Stream());
31821        },
31822        get WritableStream() {
31823          return defineProp("WritableStream", require_WritableStream());
31824        },
31825        get ProxyHandler() {
31826          return defineProp("ProxyHandler", require_ProxyHandler());
31827        },
31828        get DomUtils() {
31829          return defineProp("DomUtils", require_domutils());
31830        },
31831        get CollectingHandler() {
31832          return defineProp(
31833            "CollectingHandler",
31834            require_CollectingHandler()
31835          );
31836        },
31837        // For legacy support
31838        DefaultHandler: DomHandler,
31839        get RssHandler() {
31840          return defineProp("RssHandler", this.FeedHandler);
31841        },
31842        //helper methods
31843        parseDOM: function(data, options2) {
31844          var handler = new DomHandler(options2);
31845          new Parser(handler, options2).end(data);
31846          return handler.dom;
31847        },
31848        parseFeed: function(feed, options2) {
31849          var handler = new module.exports.FeedHandler(options2);
31850          new Parser(handler, options2).end(feed);
31851          return handler.dom;
31852        },
31853        createDomStream: function(cb, options2, elementCb) {
31854          var handler = new DomHandler(cb, options2, elementCb);
31855          return new Parser(handler, options2);
31856        },
31857        // List of all events that the parser emits
31858        EVENTS: {
31859          /* Format: eventname: number of arguments */
31860          attribute: 2,
31861          cdatastart: 0,
31862          cdataend: 0,
31863          text: 1,
31864          processinginstruction: 2,
31865          comment: 1,
31866          commentend: 0,
31867          closetag: 1,
31868          opentag: 2,
31869          opentagname: 1,
31870          error: 1,
31871          end: 0
31872        }
31873      };
31874    }
31875  });
31876
31877  
vendor: 461 bytes, lines 31877-31892
31877// node_modules/react-html-parser/lib/elementTypes/TextElementType.js
31878  var require_TextElementType = __commonJS({
31879    "node_modules/react-html-parser/lib/elementTypes/TextElementType.js"(exports) {
31880      "use strict";
31881      init_esbuild_shims();
31882      Object.defineProperty(exports, "__esModule", {
31883        value: true
31884      });
31885      exports.default = TextElementType;
31886      function TextElementType(node2) {
31887        return node2.data;
31888      }
31889    }
31890  });
31891
31892  
vendor: 664 bytes, lines 31892-31904
31892// node_modules/react-html-parser/lib/dom/attributes/BooleanAttributes.js
31893  var require_BooleanAttributes = __commonJS({
31894    "node_modules/react-html-parser/lib/dom/attributes/BooleanAttributes.js"(exports) {
31895      "use strict";
31896      init_esbuild_shims();
31897      Object.defineProperty(exports, "__esModule", {
31898        value: true
31899      });
31900      exports.default = ["allowfullScreen", "async", "autoplay", "capture", "checked", "controls", "default", "defer", "disabled", "formnovalidate", "hidden", "loop", "multiple", "muted", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "scoped", "seamless", "selected", "itemscope"];
31901    }
31902  });
31903
31904  
vendor: 4,704 bytes, lines 31904-32073
31904// node_modules/react-html-parser/lib/dom/attributes/ReactAttributes.js
31905  var require_ReactAttributes = __commonJS({
31906    "node_modules/react-html-parser/lib/dom/attributes/ReactAttributes.js"(exports) {
31907      "use strict";
31908      init_esbuild_shims();
31909      Object.defineProperty(exports, "__esModule", {
31910        value: true
31911      });
31912      exports.default = {
31913        /**
31914         * Standard Properties
31915         */
31916        accept: "accept",
31917        "accept-charset": "acceptCharset",
31918        accesskey: "accessKey",
31919        action: "action",
31920        allowfullscreen: "allowFullScreen",
31921        allowtransparency: "allowTransparency",
31922        alt: "alt",
31923        as: "as",
31924        async: "async",
31925        autocomplete: "autoComplete",
31926        autoplay: "autoPlay",
31927        capture: "capture",
31928        cellpadding: "cellPadding",
31929        cellspacing: "cellSpacing",
31930        charset: "charSet",
31931        challenge: "challenge",
31932        checked: "checked",
31933        cite: "cite",
31934        classid: "classID",
31935        class: "className",
31936        cols: "cols",
31937        colspan: "colSpan",
31938        content: "content",
31939        contenteditable: "contentEditable",
31940        contextmenu: "contextMenu",
31941        controls: "controls",
31942        controlsList: "controlsList",
31943        coords: "coords",
31944        crossorigin: "crossOrigin",
31945        data: "data",
31946        datetime: "dateTime",
31947        default: "default",
31948        defer: "defer",
31949        dir: "dir",
31950        disabled: "disabled",
31951        download: "download",
31952        draggable: "draggable",
31953        enctype: "encType",
31954        form: "form",
31955        formaction: "formAction",
31956        formenctype: "formEncType",
31957        formmethod: "formMethod",
31958        formnovalidate: "formNoValidate",
31959        formtarget: "formTarget",
31960        frameborder: "frameBorder",
31961        headers: "headers",
31962        height: "height",
31963        hidden: "hidden",
31964        high: "high",
31965        href: "href",
31966        hreflang: "hrefLang",
31967        for: "htmlFor",
31968        "http-equiv": "httpEquiv",
31969        icon: "icon",
31970        id: "id",
31971        inputmode: "inputMode",
31972        integrity: "integrity",
31973        is: "is",
31974        keyparams: "keyParams",
31975        keytype: "keyType",
31976        kind: "kind",
31977        label: "label",
31978        lang: "lang",
31979        list: "list",
31980        loop: "loop",
31981        low: "low",
31982        manifest: "manifest",
31983        marginheight: "marginHeight",
31984        marginwidth: "marginWidth",
31985        max: "max",
31986        maxlength: "maxLength",
31987        media: "media",
31988        mediagroup: "mediaGroup",
31989        method: "method",
31990        min: "min",
31991        minlength: "minLength",
31992        multiple: "multiple",
31993        muted: "muted",
31994        name: "name",
31995        nonce: "nonce",
31996        novalidate: "noValidate",
31997        open: "open",
31998        optimum: "optimum",
31999        pattern: "pattern",
32000        placeholder: "placeholder",
32001        playsinline: "playsInline",
32002        poster: "poster",
32003        preload: "preload",
32004        profile: "profile",
32005        radiogroup: "radioGroup",
32006        readonly: "readOnly",
32007        referrerpolicy: "referrerPolicy",
32008        rel: "rel",
32009        required: "required",
32010        reversed: "reversed",
32011        role: "role",
32012        rows: "rows",
32013        rowspan: "rowSpan",
32014        sandbox: "sandbox",
32015        scope: "scope",
32016        scoped: "scoped",
32017        scrolling: "scrolling",
32018        seamless: "seamless",
32019        selected: "selected",
32020        shape: "shape",
32021        size: "size",
32022        sizes: "sizes",
32023        slot: "slot",
32024        span: "span",
32025        spellcheck: "spellCheck",
32026        src: "src",
32027        srcdoc: "srcDoc",
32028        srclang: "srcLang",
32029        srcset: "srcSet",
32030        start: "start",
32031        step: "step",
32032        style: "style",
32033        summary: "summary",
32034        tabindex: "tabIndex",
32035        target: "target",
32036        title: "title",
32037        type: "type",
32038        usemap: "useMap",
32039        value: "value",
32040        width: "width",
32041        wmode: "wmode",
32042        wrap: "wrap",
32043        /**
32044         * RDFa Properties
32045         */
32046        about: "about",
32047        datatype: "datatype",
32048        inlist: "inlist",
32049        prefix: "prefix",
32050        property: "property",
32051        resource: "resource",
32052        typeof: "typeof",
32053        vocab: "vocab",
32054        /**
32055         * Non-standard Properties
32056         */
32057        autocapitalize: "autoCapitalize",
32058        autocorrect: "autoCorrect",
32059        autosave: "autoSave",
32060        color: "color",
32061        itemprop: "itemProp",
32062        itemscope: "itemScope",
32063        itemtype: "itemType",
32064        itemid: "itemID",
32065        itemref: "itemRef",
32066        results: "results",
32067        security: "security",
32068        unselectable: "unselectable"
32069      };
32070    }
32071  });
32072
32073  
vendor: 714 bytes, lines 32073-32093
32073// node_modules/react-html-parser/lib/utils/isValidTagOrAttributeName.js
32074  var require_isValidTagOrAttributeName = __commonJS({
32075    "node_modules/react-html-parser/lib/utils/isValidTagOrAttributeName.js"(exports) {
32076      "use strict";
32077      init_esbuild_shims();
32078      Object.defineProperty(exports, "__esModule", {
32079        value: true
32080      });
32081      exports.default = isValidTagOrAttributeName;
32082      var VALID_TAG_REGEX = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/;
32083      var nameCache = {};
32084      function isValidTagOrAttributeName(tagName) {
32085        if (!nameCache.hasOwnProperty(tagName)) {
32086          nameCache[tagName] = VALID_TAG_REGEX.test(tagName);
32087        }
32088        return nameCache[tagName];
32089      }
32090    }
32091  });
32092
32093  
vendor: 1,853 bytes, lines 32093-32133
32093// node_modules/react-html-parser/lib/utils/htmlAttributesToReact.js
32094  var require_htmlAttributesToReact = __commonJS({
32095    "node_modules/react-html-parser/lib/utils/htmlAttributesToReact.js"(exports) {
32096      "use strict";
32097      init_esbuild_shims();
32098      Object.defineProperty(exports, "__esModule", {
32099        value: true
32100      });
32101      exports.default = htmlAttributesToReact;
32102      var _BooleanAttributes = require_BooleanAttributes();
32103      var _BooleanAttributes2 = _interopRequireDefault(_BooleanAttributes);
32104      var _ReactAttributes = require_ReactAttributes();
32105      var _ReactAttributes2 = _interopRequireDefault(_ReactAttributes);
32106      var _isValidTagOrAttributeName = require_isValidTagOrAttributeName();
32107      var _isValidTagOrAttributeName2 = _interopRequireDefault(_isValidTagOrAttributeName);
32108      function _interopRequireDefault(obj) {
32109        return obj && obj.__esModule ? obj : { default: obj };
32110      }
32111      var getParsedAttributeValue = function getParsedAttributeValue2(attribute, value) {
32112        var lowerBooleanAttributes = _BooleanAttributes2.default.map(function(attr) {
32113          return attr.toLowerCase();
32114        });
32115        if (lowerBooleanAttributes.indexOf(attribute.toLowerCase()) >= 0) {
32116          value = attribute;
32117        }
32118        return value;
32119      };
32120      function htmlAttributesToReact(attributes) {
32121        return Object.keys(attributes).filter(function(attr) {
32122          return (0, _isValidTagOrAttributeName2.default)(attr);
32123        }).reduce(function(mappedAttributes, attribute) {
32124          var lowerCaseAttribute = attribute.toLowerCase();
32125          var name2 = _ReactAttributes2.default[lowerCaseAttribute] || lowerCaseAttribute;
32126          mappedAttributes[name2] = getParsedAttributeValue(name2, attributes[attribute]);
32127          return mappedAttributes;
32128        }, {});
32129      }
32130    }
32131  });
32132
32133  
vendor: 2,404 bytes, lines 32133-32199
32133// node_modules/react-html-parser/lib/utils/inlineStyleToObject.js
32134  var require_inlineStyleToObject = __commonJS({
32135    "node_modules/react-html-parser/lib/utils/inlineStyleToObject.js"(exports) {
32136      "use strict";
32137      init_esbuild_shims();
32138      Object.defineProperty(exports, "__esModule", {
32139        value: true
32140      });
32141      var _slicedToArray2 = /* @__PURE__ */ (function() {
32142        function sliceIterator(arr, i2) {
32143          var _arr = [];
32144          var _n = true;
32145          var _d = false;
32146          var _e = void 0;
32147          try {
32148            for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
32149              _arr.push(_s.value);
32150              if (i2 && _arr.length === i2) break;
32151            }
32152          } catch (err) {
32153            _d = true;
32154            _e = err;
32155          } finally {
32156            try {
32157              if (!_n && _i["return"]) _i["return"]();
32158            } finally {
32159              if (_d) throw _e;
32160            }
32161          }
32162          return _arr;
32163        }
32164        return function(arr, i2) {
32165          if (Array.isArray(arr)) {
32166            return arr;
32167          } else if (Symbol.iterator in Object(arr)) {
32168            return sliceIterator(arr, i2);
32169          } else {
32170            throw new TypeError("Invalid attempt to destructure non-iterable instance");
32171          }
32172        };
32173      })();
32174      exports.default = InlineStyleToObject;
32175      function InlineStyleToObject() {
32176        var inlineStyle = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
32177        if (inlineStyle === "") {
32178          return {};
32179        }
32180        return inlineStyle.split(";").reduce(function(styleObject, stylePropertyValue) {
32181          var _stylePropertyValue$s = stylePropertyValue.split(/^([^:]+):/).filter(function(val, i2) {
32182            return i2 > 0;
32183          }).map(function(item) {
32184            return item.trim().toLowerCase();
32185          }), _stylePropertyValue$s2 = _slicedToArray2(_stylePropertyValue$s, 2), property = _stylePropertyValue$s2[0], value = _stylePropertyValue$s2[1];
32186          if (value === void 0) {
32187            return styleObject;
32188          }
32189          property = property.replace(/^-ms-/, "ms-").replace(/-(.)/g, function(_, character2) {
32190            return character2.toUpperCase();
32191          });
32192          styleObject[property] = value;
32193          return styleObject;
32194        }, {});
32195      }
32196    }
32197  });
32198
32199  
vendor: 1,594 bytes, lines 32199-32238
32199// node_modules/react-html-parser/lib/utils/generatePropsFromAttributes.js
32200  var require_generatePropsFromAttributes = __commonJS({
32201    "node_modules/react-html-parser/lib/utils/generatePropsFromAttributes.js"(exports) {
32202      "use strict";
32203      init_esbuild_shims();
32204      Object.defineProperty(exports, "__esModule", {
32205        value: true
32206      });
32207      var _extends2 = Object.assign || function(target) {
32208        for (var i2 = 1; i2 < arguments.length; i2++) {
32209          var source = arguments[i2];
32210          for (var key in source) {
32211            if (Object.prototype.hasOwnProperty.call(source, key)) {
32212              target[key] = source[key];
32213            }
32214          }
32215        }
32216        return target;
32217      };
32218      exports.default = generatePropsFromAttributes;
32219      var _htmlAttributesToReact = require_htmlAttributesToReact();
32220      var _htmlAttributesToReact2 = _interopRequireDefault(_htmlAttributesToReact);
32221      var _inlineStyleToObject = require_inlineStyleToObject();
32222      var _inlineStyleToObject2 = _interopRequireDefault(_inlineStyleToObject);
32223      function _interopRequireDefault(obj) {
32224        return obj && obj.__esModule ? obj : { default: obj };
32225      }
32226      function generatePropsFromAttributes(attributes, key) {
32227        var props = _extends2({}, (0, _htmlAttributesToReact2.default)(attributes), { key });
32228        if (typeof props.style === "string" || props.style instanceof String) {
32229          props.style = (0, _inlineStyleToObject2.default)(props.style);
32230        } else {
32231          delete props.style;
32232        }
32233        return props;
32234      }
32235    }
32236  });
32237
32238  
vendor: 494 bytes, lines 32238-32250
32238// node_modules/react-html-parser/lib/dom/elements/VoidElements.js
32239  var require_VoidElements = __commonJS({
32240    "node_modules/react-html-parser/lib/dom/elements/VoidElements.js"(exports) {
32241      "use strict";
32242      init_esbuild_shims();
32243      Object.defineProperty(exports, "__esModule", {
32244        value: true
32245      });
32246      exports.default = ["area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"];
32247    }
32248  });
32249
32250  
vendor: 1,698 bytes, lines 32250-32287
32250// node_modules/react-html-parser/lib/elementTypes/TagElementType.js
32251  var require_TagElementType = __commonJS({
32252    "node_modules/react-html-parser/lib/elementTypes/TagElementType.js"(exports) {
32253      "use strict";
32254      init_esbuild_shims();
32255      Object.defineProperty(exports, "__esModule", {
32256        value: true
32257      });
32258      exports.default = TagElementType;
32259      var _react = require_react();
32260      var _react2 = _interopRequireDefault(_react);
32261      var _processNodes = require_processNodes();
32262      var _processNodes2 = _interopRequireDefault(_processNodes);
32263      var _generatePropsFromAttributes = require_generatePropsFromAttributes();
32264      var _generatePropsFromAttributes2 = _interopRequireDefault(_generatePropsFromAttributes);
32265      var _VoidElements = require_VoidElements();
32266      var _VoidElements2 = _interopRequireDefault(_VoidElements);
32267      var _isValidTagOrAttributeName = require_isValidTagOrAttributeName();
32268      var _isValidTagOrAttributeName2 = _interopRequireDefault(_isValidTagOrAttributeName);
32269      function _interopRequireDefault(obj) {
32270        return obj && obj.__esModule ? obj : { default: obj };
32271      }
32272      function TagElementType(node2, index2, transform) {
32273        var tagName = node2.name;
32274        if (!(0, _isValidTagOrAttributeName2.default)(tagName)) {
32275          return null;
32276        }
32277        var props = (0, _generatePropsFromAttributes2.default)(node2.attribs, index2);
32278        var children = null;
32279        if (_VoidElements2.default.indexOf(tagName) === -1) {
32280          children = (0, _processNodes2.default)(node2.children, transform);
32281        }
32282        return _react2.default.createElement(tagName, props, children);
32283      }
32284    }
32285  });
32286
32287  
vendor: 1,110 bytes, lines 32287-32314
32287// node_modules/react-html-parser/lib/elementTypes/StyleElementType.js
32288  var require_StyleElementType = __commonJS({
32289    "node_modules/react-html-parser/lib/elementTypes/StyleElementType.js"(exports) {
32290      "use strict";
32291      init_esbuild_shims();
32292      Object.defineProperty(exports, "__esModule", {
32293        value: true
32294      });
32295      exports.default = StyleElementType;
32296      var _react = require_react();
32297      var _react2 = _interopRequireDefault(_react);
32298      var _generatePropsFromAttributes = require_generatePropsFromAttributes();
32299      var _generatePropsFromAttributes2 = _interopRequireDefault(_generatePropsFromAttributes);
32300      function _interopRequireDefault(obj) {
32301        return obj && obj.__esModule ? obj : { default: obj };
32302      }
32303      function StyleElementType(node2, index2) {
32304        var styles2 = void 0;
32305        if (node2.children.length > 0) {
32306          styles2 = node2.children[0].data;
32307        }
32308        var props = (0, _generatePropsFromAttributes2.default)(node2.attribs, index2);
32309        return _react2.default.createElement("style", props, styles2);
32310      }
32311    }
32312  });
32313
32314  
vendor: 485 bytes, lines 32314-32329
32314// node_modules/react-html-parser/lib/elementTypes/UnsupportedElementType.js
32315  var require_UnsupportedElementType = __commonJS({
32316    "node_modules/react-html-parser/lib/elementTypes/UnsupportedElementType.js"(exports) {
32317      "use strict";
32318      init_esbuild_shims();
32319      Object.defineProperty(exports, "__esModule", {
32320        value: true
32321      });
32322      exports.default = UnsupportedElementType;
32323      function UnsupportedElementType() {
32324        return null;
32325      }
32326    }
32327  });
32328
32329  
vendor: 2,229 bytes, lines 32329-32362
32329// node_modules/react-html-parser/lib/elementTypes/index.js
32330  var require_elementTypes = __commonJS({
32331    "node_modules/react-html-parser/lib/elementTypes/index.js"(exports) {
32332      "use strict";
32333      init_esbuild_shims();
32334      Object.defineProperty(exports, "__esModule", {
32335        value: true
32336      });
32337      var _ElementType$Text$Ele;
32338      var _htmlparser = require_lib3();
32339      var _TextElementType = require_TextElementType();
32340      var _TextElementType2 = _interopRequireDefault(_TextElementType);
32341      var _TagElementType = require_TagElementType();
32342      var _TagElementType2 = _interopRequireDefault(_TagElementType);
32343      var _StyleElementType = require_StyleElementType();
32344      var _StyleElementType2 = _interopRequireDefault(_StyleElementType);
32345      var _UnsupportedElementType = require_UnsupportedElementType();
32346      var _UnsupportedElementType2 = _interopRequireDefault(_UnsupportedElementType);
32347      function _interopRequireDefault(obj) {
32348        return obj && obj.__esModule ? obj : { default: obj };
32349      }
32350      function _defineProperty4(obj, key, value) {
32351        if (key in obj) {
32352          Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
32353        } else {
32354          obj[key] = value;
32355        }
32356        return obj;
32357      }
32358      exports.default = (_ElementType$Text$Ele = {}, _defineProperty4(_ElementType$Text$Ele, _htmlparser.ElementType.Text, _TextElementType2.default), _defineProperty4(_ElementType$Text$Ele, _htmlparser.ElementType.Tag, _TagElementType2.default), _defineProperty4(_ElementType$Text$Ele, _htmlparser.ElementType.Style, _StyleElementType2.default), _defineProperty4(_ElementType$Text$Ele, _htmlparser.ElementType.Directive, _UnsupportedElementType2.default), _defineProperty4(_ElementType$Text$Ele, _htmlparser.ElementType.Comment, _UnsupportedElementType2.default), _defineProperty4(_ElementType$Text$Ele, _htmlparser.ElementType.Script, _UnsupportedElementType2.default), _defineProperty4(_ElementType$Text$Ele, _htmlparser.ElementType.CDATA, _UnsupportedElementType2.default), _defineProperty4(_ElementType$Text$Ele, _htmlparser.ElementType.Doctype, _UnsupportedElementType2.default), _ElementType$Text$Ele);
32359    }
32360  });
32361
32362  
vendor: 761 bytes, lines 32362-32382
32362// node_modules/react-html-parser/lib/convertNodeToElement.js
32363  var require_convertNodeToElement = __commonJS({
32364    "node_modules/react-html-parser/lib/convertNodeToElement.js"(exports) {
32365      "use strict";
32366      init_esbuild_shims();
32367      Object.defineProperty(exports, "__esModule", {
32368        value: true
32369      });
32370      exports.default = convertNodeToElement;
32371      var _elementTypes = require_elementTypes();
32372      var _elementTypes2 = _interopRequireDefault(_elementTypes);
32373      function _interopRequireDefault(obj) {
32374        return obj && obj.__esModule ? obj : { default: obj };
32375      }
32376      function convertNodeToElement(node2, index2, transform) {
32377        return _elementTypes2.default[node2.type](node2, index2, transform);
32378      }
32379    }
32380  });
32381
32382  
vendor: 1,286 bytes, lines 32382-32415
32382// node_modules/react-html-parser/lib/processNodes.js
32383  var require_processNodes = __commonJS({
32384    "node_modules/react-html-parser/lib/processNodes.js"(exports) {
32385      "use strict";
32386      init_esbuild_shims();
32387      Object.defineProperty(exports, "__esModule", {
32388        value: true
32389      });
32390      exports.default = processNodes;
32391      var _isEmptyTextNode = require_isEmptyTextNode();
32392      var _isEmptyTextNode2 = _interopRequireDefault(_isEmptyTextNode);
32393      var _convertNodeToElement = require_convertNodeToElement();
32394      var _convertNodeToElement2 = _interopRequireDefault(_convertNodeToElement);
32395      function _interopRequireDefault(obj) {
32396        return obj && obj.__esModule ? obj : { default: obj };
32397      }
32398      function processNodes(nodes, transform) {
32399        return nodes.filter(function(node2) {
32400          return !(0, _isEmptyTextNode2.default)(node2);
32401        }).map(function(node2, index2) {
32402          var transformed = void 0;
32403          if (typeof transform === "function") {
32404            transformed = transform(node2, index2);
32405            if (transformed === null || !!transformed) {
32406              return transformed;
32407            }
32408          }
32409          return (0, _convertNodeToElement2.default)(node2, index2, transform);
32410        });
32411      }
32412    }
32413  });
32414
32415  
vendor: 1,290 bytes, lines 32415-32441
32415// node_modules/react-html-parser/lib/HtmlParser.js
32416  var require_HtmlParser = __commonJS({
32417    "node_modules/react-html-parser/lib/HtmlParser.js"(exports) {
32418      "use strict";
32419      init_esbuild_shims();
32420      Object.defineProperty(exports, "__esModule", {
32421        value: true
32422      });
32423      exports.default = HtmlParser5;
32424      var _htmlparser = require_lib3();
32425      var _htmlparser2 = _interopRequireDefault(_htmlparser);
32426      var _processNodes = require_processNodes();
32427      var _processNodes2 = _interopRequireDefault(_processNodes);
32428      function _interopRequireDefault(obj) {
32429        return obj && obj.__esModule ? obj : { default: obj };
32430      }
32431      function HtmlParser5(html) {
32432        var _ref3 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, _ref$decodeEntities = _ref3.decodeEntities, decodeEntities = _ref$decodeEntities === void 0 ? true : _ref$decodeEntities, transform = _ref3.transform, _ref$preprocessNodes = _ref3.preprocessNodes, preprocessNodes = _ref$preprocessNodes === void 0 ? function(nodes2) {
32433          return nodes2;
32434        } : _ref$preprocessNodes;
32435        var nodes = preprocessNodes(_htmlparser2.default.parseDOM(html, { decodeEntities }));
32436        return (0, _processNodes2.default)(nodes, transform);
32437      }
32438    }
32439  });
32440
32441  
vendor: 1,402 bytes, lines 32441-32480
32441// node_modules/react-html-parser/lib/index.js
32442  var require_lib4 = __commonJS({
32443    "node_modules/react-html-parser/lib/index.js"(exports) {
32444      "use strict";
32445      init_esbuild_shims();
32446      Object.defineProperty(exports, "__esModule", {
32447        value: true
32448      });
32449      exports.htmlparser2 = exports.convertNodeToElement = exports.processNodes = void 0;
32450      var _processNodes = require_processNodes();
32451      Object.defineProperty(exports, "processNodes", {
32452        enumerable: true,
32453        get: function get() {
32454          return _interopRequireDefault(_processNodes).default;
32455        }
32456      });
32457      var _convertNodeToElement = require_convertNodeToElement();
32458      Object.defineProperty(exports, "convertNodeToElement", {
32459        enumerable: true,
32460        get: function get() {
32461          return _interopRequireDefault(_convertNodeToElement).default;
32462        }
32463      });
32464      var _htmlparser = require_lib3();
32465      Object.defineProperty(exports, "htmlparser2", {
32466        enumerable: true,
32467        get: function get() {
32468          return _interopRequireDefault(_htmlparser).default;
32469        }
32470      });
32471      var _HtmlParser = require_HtmlParser();
32472      var _HtmlParser2 = _interopRequireDefault(_HtmlParser);
32473      function _interopRequireDefault(obj) {
32474        return obj && obj.__esModule ? obj : { default: obj };
32475      }
32476      exports.default = _HtmlParser2.default;
32477    }
32478  });
32479
32480  
vendor: 108,290 bytes, lines 32480-35288
32480// node_modules/@fortawesome/fontawesome-svg-core/index.mjs
32481  function _defineProperty(e, r2, t2) {
32482    return (r2 = _toPropertyKey(r2)) in e ? Object.defineProperty(e, r2, {
32483      value: t2,
32484      enumerable: true,
32485      configurable: true,
32486      writable: true
32487    }) : e[r2] = t2, e;
32488  }
32489  function ownKeys(e, r2) {
32490    var t2 = Object.keys(e);
32491    if (Object.getOwnPropertySymbols) {
32492      var o2 = Object.getOwnPropertySymbols(e);
32493      r2 && (o2 = o2.filter(function(r3) {
32494        return Object.getOwnPropertyDescriptor(e, r3).enumerable;
32495      })), t2.push.apply(t2, o2);
32496    }
32497    return t2;
32498  }
32499  function _objectSpread2(e) {
32500    for (var r2 = 1; r2 < arguments.length; r2++) {
32501      var t2 = null != arguments[r2] ? arguments[r2] : {};
32502      r2 % 2 ? ownKeys(Object(t2), true).forEach(function(r3) {
32503        _defineProperty(e, r3, t2[r3]);
32504      }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys(Object(t2)).forEach(function(r3) {
32505        Object.defineProperty(e, r3, Object.getOwnPropertyDescriptor(t2, r3));
32506      });
32507    }
32508    return e;
32509  }
32510  function _toPrimitive(t2, r2) {
32511    if ("object" != typeof t2 || !t2) return t2;
32512    var e = t2[Symbol.toPrimitive];
32513    if (void 0 !== e) {
32514      var i2 = e.call(t2, r2 || "default");
32515      if ("object" != typeof i2) return i2;
32516      throw new TypeError("@@toPrimitive must return a primitive value.");
32517    }
32518    return ("string" === r2 ? String : Number)(t2);
32519  }
32520  function _toPropertyKey(t2) {
32521    var i2 = _toPrimitive(t2, "string");
32522    return "symbol" == typeof i2 ? i2 : i2 + "";
32523  }
32524  function familyProxy(obj) {
32525    return new Proxy(obj, {
32526      get(target, prop) {
32527        return prop in target ? target[prop] : target[s];
32528      }
32529    });
32530  }
32531  function getAttrConfig(attr) {
32532    var element = DOCUMENT.querySelector("script[" + attr + "]");
32533    if (element) {
32534      return element.getAttribute(attr);
32535    }
32536  }
32537  function coerce(val) {
32538    if (val === "") return true;
32539    if (val === "false") return false;
32540    if (val === "true") return true;
32541    return val;
32542  }
32543  function onChange(cb) {
32544    _onChangeCb.push(cb);
32545    return () => {
32546      _onChangeCb.splice(_onChangeCb.indexOf(cb), 1);
32547    };
32548  }
32549  function insertCss(css6) {
32550    if (!css6 || !IS_DOM) {
32551      return;
32552    }
32553    const style = DOCUMENT.createElement("style");
32554    style.setAttribute("type", "text/css");
32555    style.innerHTML = css6;
32556    const headChildren = DOCUMENT.head.childNodes;
32557    let beforeChild = null;
32558    for (let i2 = headChildren.length - 1; i2 > -1; i2--) {
32559      const child = headChildren[i2];
32560      const tagName = (child.tagName || "").toUpperCase();
32561      if (["STYLE", "LINK"].indexOf(tagName) > -1) {
32562        beforeChild = child;
32563      }
32564    }
32565    DOCUMENT.head.insertBefore(style, beforeChild);
32566    return css6;
32567  }
32568  function nextUniqueId() {
32569    let size2 = 12;
32570    let id = "";
32571    while (size2-- > 0) {
32572      id += idPool[Math.random() * 62 | 0];
32573    }
32574    return id;
32575  }
32576  function toArray(obj) {
32577    const array = [];
32578    for (let i2 = (obj || []).length >>> 0; i2--; ) {
32579      array[i2] = obj[i2];
32580    }
32581    return array;
32582  }
32583  function classArray(node2) {
32584    if (node2.classList) {
32585      return toArray(node2.classList);
32586    } else {
32587      return (node2.getAttribute("class") || "").split(" ").filter((i2) => i2);
32588    }
32589  }
32590  function htmlEscape(str) {
32591    return "".concat(str).replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
32592  }
32593  function joinAttributes(attributes) {
32594    return Object.keys(attributes || {}).reduce((acc, attributeName) => {
32595      return acc + "".concat(attributeName, '="').concat(htmlEscape(attributes[attributeName]), '" ');
32596    }, "").trim();
32597  }
32598  function joinStyles(styles2) {
32599    return Object.keys(styles2 || {}).reduce((acc, styleName) => {
32600      return acc + "".concat(styleName, ": ").concat(styles2[styleName].trim(), ";");
32601    }, "");
32602  }
32603  function transformIsMeaningful(transform) {
32604    return transform.size !== meaninglessTransform.size || transform.x !== meaninglessTransform.x || transform.y !== meaninglessTransform.y || transform.rotate !== meaninglessTransform.rotate || transform.flipX || transform.flipY;
32605  }
32606  function transformForSvg(_ref3) {
32607    let {
32608      transform,
32609      containerWidth,
32610      iconWidth
32611    } = _ref3;
32612    const outer = {
32613      transform: "translate(".concat(containerWidth / 2, " 256)")
32614    };
32615    const innerTranslate = "translate(".concat(transform.x * 32, ", ").concat(transform.y * 32, ") ");
32616    const innerScale = "scale(".concat(transform.size / 16 * (transform.flipX ? -1 : 1), ", ").concat(transform.size / 16 * (transform.flipY ? -1 : 1), ") ");
32617    const innerRotate = "rotate(".concat(transform.rotate, " 0 0)");
32618    const inner = {
32619      transform: "".concat(innerTranslate, " ").concat(innerScale, " ").concat(innerRotate)
32620    };
32621    const path = {
32622      transform: "translate(".concat(iconWidth / 2 * -1, " -256)")
32623    };
32624    return {
32625      outer,
32626      inner,
32627      path
32628    };
32629  }
32630  function transformForCss(_ref23) {
32631    let {
32632      transform,
32633      width = UNITS_IN_GRID,
32634      height = UNITS_IN_GRID,
32635      startCentered = false
32636    } = _ref23;
32637    let val = "";
32638    if (startCentered && IS_IE) {
32639      val += "translate(".concat(transform.x / d$2 - width / 2, "em, ").concat(transform.y / d$2 - height / 2, "em) ");
32640    } else if (startCentered) {
32641      val += "translate(calc(-50% + ".concat(transform.x / d$2, "em), calc(-50% + ").concat(transform.y / d$2, "em)) ");
32642    } else {
32643      val += "translate(".concat(transform.x / d$2, "em, ").concat(transform.y / d$2, "em) ");
32644    }
32645    val += "scale(".concat(transform.size / d$2 * (transform.flipX ? -1 : 1), ", ").concat(transform.size / d$2 * (transform.flipY ? -1 : 1), ") ");
32646    val += "rotate(".concat(transform.rotate, "deg) ");
32647    return val;
32648  }
32649  function css2() {
32650    const dcp = DEFAULT_CSS_PREFIX;
32651    const drc = DEFAULT_REPLACEMENT_CLASS;
32652    const fp = config.cssPrefix;
32653    const rc = config.replacementClass;
32654    let s2 = baseStyles;
32655    if (fp !== dcp || rc !== drc) {
32656      const dPatt = new RegExp("\\.".concat(dcp, "\\-"), "g");
32657      const customPropPatt = new RegExp("\\--".concat(dcp, "\\-"), "g");
32658      const rPatt = new RegExp("\\.".concat(drc), "g");
32659      s2 = s2.replace(dPatt, ".".concat(fp, "-")).replace(customPropPatt, "--".concat(fp, "-")).replace(rPatt, ".".concat(rc));
32660    }
32661    return s2;
32662  }
32663  function ensureCss() {
32664    if (config.autoAddCss && !_cssInserted) {
32665      insertCss(css2());
32666      _cssInserted = true;
32667    }
32668  }
32669  function domready(fn) {
32670    if (!IS_DOM) return;
32671    loaded ? setTimeout(fn, 0) : functions.push(fn);
32672  }
32673  function toHtml(abstractNodes) {
32674    const {
32675      tag,
32676      attributes = {},
32677      children = []
32678    } = abstractNodes;
32679    if (typeof abstractNodes === "string") {
32680      return htmlEscape(abstractNodes);
32681    } else {
32682      return "<".concat(tag, " ").concat(joinAttributes(attributes), ">").concat(children.map(toHtml).join(""), "</").concat(tag, ">");
32683    }
32684  }
32685  function iconFromMapping(mapping, prefix2, iconName) {
32686    if (mapping && mapping[prefix2] && mapping[prefix2][iconName]) {
32687      return {
32688        prefix: prefix2,
32689        iconName,
32690        icon: mapping[prefix2][iconName]
32691      };
32692    }
32693  }
32694  function ucs2decode(string) {
32695    const output = [];
32696    let counter2 = 0;
32697    const length2 = string.length;
32698    while (counter2 < length2) {
32699      const value = string.charCodeAt(counter2++);
32700      if (value >= 55296 && value <= 56319 && counter2 < length2) {
32701        const extra = string.charCodeAt(counter2++);
32702        if ((extra & 64512) == 56320) {
32703          output.push(((value & 1023) << 10) + (extra & 1023) + 65536);
32704        } else {
32705          output.push(value);
32706          counter2--;
32707        }
32708      } else {
32709        output.push(value);
32710      }
32711    }
32712    return output;
32713  }
32714  function toHex(unicode) {
32715    const decoded = ucs2decode(unicode);
32716    return decoded.length === 1 ? decoded[0].toString(16) : null;
32717  }
32718  function codePointAt(string, index2) {
32719    const size2 = string.length;
32720    let first = string.charCodeAt(index2);
32721    let second;
32722    if (first >= 55296 && first <= 56319 && size2 > index2 + 1) {
32723      second = string.charCodeAt(index2 + 1);
32724      if (second >= 56320 && second <= 57343) {
32725        return (first - 55296) * 1024 + second - 56320 + 65536;
32726      }
32727    }
32728    return first;
32729  }
32730  function normalizeIcons(icons) {
32731    return Object.keys(icons).reduce((acc, iconName) => {
32732      const icon2 = icons[iconName];
32733      const expanded = !!icon2.icon;
32734      if (expanded) {
32735        acc[icon2.iconName] = icon2.icon;
32736      } else {
32737        acc[iconName] = icon2;
32738      }
32739      return acc;
32740    }, {});
32741  }
32742  function defineIcons(prefix2, icons) {
32743    let params = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
32744    const {
32745      skipHooks = false
32746    } = params;
32747    const normalized = normalizeIcons(icons);
32748    if (typeof namespace.hooks.addPack === "function" && !skipHooks) {
32749      namespace.hooks.addPack(prefix2, normalizeIcons(icons));
32750    } else {
32751      namespace.styles[prefix2] = _objectSpread2(_objectSpread2({}, namespace.styles[prefix2] || {}), normalized);
32752    }
32753    if (prefix2 === "fas") {
32754      defineIcons("fa", icons);
32755    }
32756  }
32757  function isReserved(name2) {
32758    return ~RESERVED_CLASSES.indexOf(name2);
32759  }
32760  function getIconName(cssPrefix, cls) {
32761    const parts = cls.split("-");
32762    const prefix2 = parts[0];
32763    const iconName = parts.slice(1).join("-");
32764    if (prefix2 === cssPrefix && iconName !== "" && !isReserved(iconName)) {
32765      return iconName;
32766    } else {
32767      return null;
32768    }
32769  }
32770  function byUnicode(prefix2, unicode) {
32771    return (_byUnicode[prefix2] || {})[unicode];
32772  }
32773  function byLigature(prefix2, ligature) {
32774    return (_byLigature[prefix2] || {})[ligature];
32775  }
32776  function byAlias(prefix2, alias) {
32777    return (_byAlias[prefix2] || {})[alias];
32778  }
32779  function byOldName(name2) {
32780    return _byOldName[name2] || {
32781      prefix: null,
32782      iconName: null
32783    };
32784  }
32785  function byOldUnicode(unicode) {
32786    const oldUnicode = _byOldUnicode[unicode];
32787    const newUnicode = byUnicode("fas", unicode);
32788    return oldUnicode || (newUnicode ? {
32789      prefix: "fas",
32790      iconName: newUnicode
32791    } : null) || {
32792      prefix: null,
32793      iconName: null
32794    };
32795  }
32796  function getDefaultUsablePrefix() {
32797    return _defaultUsablePrefix;
32798  }
32799  function getFamilyId(values) {
32800    let family = s;
32801    const famProps = FAMILY_NAMES.reduce((acc, familyId) => {
32802      acc[familyId] = "".concat(config.cssPrefix, "-").concat(familyId);
32803      return acc;
32804    }, {});
32805    L.forEach((familyId) => {
32806      if (values.includes(famProps[familyId]) || values.some((v$$1) => PREFIXES_FOR_FAMILY[familyId].includes(v$$1))) {
32807        family = familyId;
32808      }
32809    });
32810    return family;
32811  }
32812  function getCanonicalPrefix(styleOrPrefix) {
32813    let params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
32814    const {
32815      family = s
32816    } = params;
32817    const style = PREFIX_TO_STYLE[family][styleOrPrefix];
32818    if (family === t && !styleOrPrefix) {
32819      return "fad";
32820    }
32821    const prefix2 = STYLE_TO_PREFIX[family][styleOrPrefix] || STYLE_TO_PREFIX[family][style];
32822    const defined = styleOrPrefix in namespace.styles ? styleOrPrefix : null;
32823    const result = prefix2 || defined || null;
32824    return result;
32825  }
32826  function moveNonFaClassesToRest(classNames2) {
32827    let rest = [];
32828    let iconName = null;
32829    classNames2.forEach((cls) => {
32830      const result = getIconName(config.cssPrefix, cls);
32831      if (result) {
32832        iconName = result;
32833      } else if (cls) {
32834        rest.push(cls);
32835      }
32836    });
32837    return {
32838      iconName,
32839      rest
32840    };
32841  }
32842  function sortedUniqueValues(arr) {
32843    return arr.sort().filter((value, index2, arr2) => {
32844      return arr2.indexOf(value) === index2;
32845    });
32846  }
32847  function getCanonicalIcon(values) {
32848    let params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
32849    const {
32850      skipLookups = false
32851    } = params;
32852    let givenPrefix = null;
32853    const faCombinedClasses = Ia.concat(bt$1);
32854    const faStyleOrFamilyClasses = sortedUniqueValues(values.filter((cls) => faCombinedClasses.includes(cls)));
32855    const nonStyleOrFamilyClasses = sortedUniqueValues(values.filter((cls) => !Ia.includes(cls)));
32856    const faStyles = faStyleOrFamilyClasses.filter((cls) => {
32857      givenPrefix = cls;
32858      return !P.includes(cls);
32859    });
32860    const [styleFromValues = null] = faStyles;
32861    const family = getFamilyId(faStyleOrFamilyClasses);
32862    const canonical = _objectSpread2(_objectSpread2({}, moveNonFaClassesToRest(nonStyleOrFamilyClasses)), {}, {
32863      prefix: getCanonicalPrefix(styleFromValues, {
32864        family
32865      })
32866    });
32867    return _objectSpread2(_objectSpread2(_objectSpread2({}, canonical), getDefaultCanonicalPrefix({
32868      values,
32869      family,
32870      styles,
32871      config,
32872      canonical,
32873      givenPrefix
32874    })), applyShimAndAlias(skipLookups, givenPrefix, canonical));
32875  }
32876  function applyShimAndAlias(skipLookups, givenPrefix, canonical) {
32877    let {
32878      prefix: prefix2,
32879      iconName
32880    } = canonical;
32881    if (skipLookups || !prefix2 || !iconName) {
32882      return {
32883        prefix: prefix2,
32884        iconName
32885      };
32886    }
32887    const shim = givenPrefix === "fa" ? byOldName(iconName) : {};
32888    const aliasIconName = byAlias(prefix2, iconName);
32889    iconName = shim.iconName || aliasIconName || iconName;
32890    prefix2 = shim.prefix || prefix2;
32891    if (prefix2 === "far" && !styles["far"] && styles["fas"] && !config.autoFetchSvg) {
32892      prefix2 = "fas";
32893    }
32894    return {
32895      prefix: prefix2,
32896      iconName
32897    };
32898  }
32899  function getDefaultCanonicalPrefix(prefixOptions) {
32900    const {
32901      values,
32902      family,
32903      canonical,
32904      givenPrefix = "",
32905      styles: styles2 = {},
32906      config: config$$1 = {}
32907    } = prefixOptions;
32908    const isDuotoneFamily = family === t;
32909    const valuesHasDuotone = values.includes("fa-duotone") || values.includes("fad");
32910    const defaultFamilyIsDuotone = config$$1.familyDefault === "duotone";
32911    const canonicalPrefixIsDuotone = canonical.prefix === "fad" || canonical.prefix === "fa-duotone";
32912    if (!isDuotoneFamily && (valuesHasDuotone || defaultFamilyIsDuotone || canonicalPrefixIsDuotone)) {
32913      canonical.prefix = "fad";
32914    }
32915    if (values.includes("fa-brands") || values.includes("fab")) {
32916      canonical.prefix = "fab";
32917    }
32918    if (!canonical.prefix && newCanonicalFamilies.includes(family)) {
32919      const validPrefix = Object.keys(styles2).find((key) => newCanonicalStyles.includes(key));
32920      if (validPrefix || config$$1.autoFetchSvg) {
32921        const defaultPrefix = pt.get(family).defaultShortPrefixId;
32922        canonical.prefix = defaultPrefix;
32923        canonical.iconName = byAlias(canonical.prefix, canonical.iconName) || canonical.iconName;
32924      }
32925    }
32926    if (canonical.prefix === "fa" || givenPrefix === "fa") {
32927      canonical.prefix = getDefaultUsablePrefix() || "fas";
32928    }
32929    return canonical;
32930  }
32931  function registerPlugins(nextPlugins, _ref3) {
32932    let {
32933      mixoutsTo: obj
32934    } = _ref3;
32935    _plugins = nextPlugins;
32936    _hooks = {};
32937    Object.keys(providers).forEach((k) => {
32938      if (defaultProviderKeys.indexOf(k) === -1) {
32939        delete providers[k];
32940      }
32941    });
32942    _plugins.forEach((plugin) => {
32943      const mixout = plugin.mixout ? plugin.mixout() : {};
32944      Object.keys(mixout).forEach((tk) => {
32945        if (typeof mixout[tk] === "function") {
32946          obj[tk] = mixout[tk];
32947        }
32948        if (typeof mixout[tk] === "object") {
32949          Object.keys(mixout[tk]).forEach((sk) => {
32950            if (!obj[tk]) {
32951              obj[tk] = {};
32952            }
32953            obj[tk][sk] = mixout[tk][sk];
32954          });
32955        }
32956      });
32957      if (plugin.hooks) {
32958        const hooks = plugin.hooks();
32959        Object.keys(hooks).forEach((hook) => {
32960          if (!_hooks[hook]) {
32961            _hooks[hook] = [];
32962          }
32963          _hooks[hook].push(hooks[hook]);
32964        });
32965      }
32966      if (plugin.provides) {
32967        plugin.provides(providers);
32968      }
32969    });
32970    return obj;
32971  }
32972  function chainHooks(hook, accumulator) {
32973    for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
32974      args[_key - 2] = arguments[_key];
32975    }
32976    const hookFns = _hooks[hook] || [];
32977    hookFns.forEach((hookFn) => {
32978      accumulator = hookFn.apply(null, [accumulator, ...args]);
32979    });
32980    return accumulator;
32981  }
32982  function callHooks(hook) {
32983    for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
32984      args[_key2 - 1] = arguments[_key2];
32985    }
32986    const hookFns = _hooks[hook] || [];
32987    hookFns.forEach((hookFn) => {
32988      hookFn.apply(null, args);
32989    });
32990    return void 0;
32991  }
32992  function callProvided() {
32993    const hook = arguments[0];
32994    const args = Array.prototype.slice.call(arguments, 1);
32995    return providers[hook] ? providers[hook].apply(null, args) : void 0;
32996  }
32997  function findIconDefinition(iconLookup) {
32998    if (iconLookup.prefix === "fa") {
32999      iconLookup.prefix = "fas";
33000    }
33001    let {
33002      iconName
33003    } = iconLookup;
33004    const prefix2 = iconLookup.prefix || getDefaultUsablePrefix();
33005    if (!iconName) return;
33006    iconName = byAlias(prefix2, iconName) || iconName;
33007    return iconFromMapping(library.definitions, prefix2, iconName) || iconFromMapping(namespace.styles, prefix2, iconName);
33008  }
33009  function domVariants(val, abstractCreator) {
33010    Object.defineProperty(val, "abstract", {
33011      get: abstractCreator
33012    });
33013    Object.defineProperty(val, "html", {
33014      get: function() {
33015        return val.abstract.map((a) => toHtml(a));
33016      }
33017    });
33018    Object.defineProperty(val, "node", {
33019      get: function() {
33020        if (!IS_DOM) return;
33021        const container = DOCUMENT.createElement("div");
33022        container.innerHTML = val.html;
33023        return container.children;
33024      }
33025    });
33026    return val;
33027  }
33028  function asIcon(_ref3) {
33029    let {
33030      children,
33031      main,
33032      mask,
33033      attributes,
33034      styles: styles2,
33035      transform
33036    } = _ref3;
33037    if (transformIsMeaningful(transform) && main.found && !mask.found) {
33038      const {
33039        width,
33040        height
33041      } = main;
33042      const offset2 = {
33043        x: width / height / 2,
33044        y: 0.5
33045      };
33046      attributes["style"] = joinStyles(_objectSpread2(_objectSpread2({}, styles2), {}, {
33047        "transform-origin": "".concat(offset2.x + transform.x / 16, "em ").concat(offset2.y + transform.y / 16, "em")
33048      }));
33049    }
33050    return [{
33051      tag: "svg",
33052      attributes,
33053      children
33054    }];
33055  }
33056  function asSymbol(_ref3) {
33057    let {
33058      prefix: prefix2,
33059      iconName,
33060      children,
33061      attributes,
33062      symbol
33063    } = _ref3;
33064    const id = symbol === true ? "".concat(prefix2, "-").concat(config.cssPrefix, "-").concat(iconName) : symbol;
33065    return [{
33066      tag: "svg",
33067      attributes: {
33068        style: "display: none;"
33069      },
33070      children: [{
33071        tag: "symbol",
33072        attributes: _objectSpread2(_objectSpread2({}, attributes), {}, {
33073          id
33074        }),
33075        children
33076      }]
33077    }];
33078  }
33079  function makeInlineSvgAbstract(params) {
33080    const {
33081      icons: {
33082        main,
33083        mask
33084      },
33085      prefix: prefix2,
33086      iconName,
33087      transform,
33088      symbol,
33089      title,
33090      maskId,
33091      titleId,
33092      extra,
33093      watchable = false
33094    } = params;
33095    const {
33096      width,
33097      height
33098    } = mask.found ? mask : main;
33099    const isUploadedIcon = Lt.includes(prefix2);
33100    const attrClass = [config.replacementClass, iconName ? "".concat(config.cssPrefix, "-").concat(iconName) : ""].filter((c$$1) => extra.classes.indexOf(c$$1) === -1).filter((c$$1) => c$$1 !== "" || !!c$$1).concat(extra.classes).join(" ");
33101    let content = {
33102      children: [],
33103      attributes: _objectSpread2(_objectSpread2({}, extra.attributes), {}, {
33104        "data-prefix": prefix2,
33105        "data-icon": iconName,
33106        "class": attrClass,
33107        "role": extra.attributes.role || "img",
33108        "xmlns": "http://www.w3.org/2000/svg",
33109        "viewBox": "0 0 ".concat(width, " ").concat(height)
33110      })
33111    };
33112    const uploadedIconWidthStyle = isUploadedIcon && !~extra.classes.indexOf("fa-fw") ? {
33113      width: "".concat(width / height * 16 * 0.0625, "em")
33114    } : {};
33115    if (watchable) {
33116      content.attributes[DATA_FA_I2SVG] = "";
33117    }
33118    if (title) {
33119      content.children.push({
33120        tag: "title",
33121        attributes: {
33122          id: content.attributes["aria-labelledby"] || "title-".concat(titleId || nextUniqueId())
33123        },
33124        children: [title]
33125      });
33126      delete content.attributes.title;
33127    }
33128    const args = _objectSpread2(_objectSpread2({}, content), {}, {
33129      prefix: prefix2,
33130      iconName,
33131      main,
33132      mask,
33133      maskId,
33134      transform,
33135      symbol,
33136      styles: _objectSpread2(_objectSpread2({}, uploadedIconWidthStyle), extra.styles)
33137    });
33138    const {
33139      children,
33140      attributes
33141    } = mask.found && main.found ? callProvided("generateAbstractMask", args) || {
33142      children: [],
33143      attributes: {}
33144    } : callProvided("generateAbstractIcon", args) || {
33145      children: [],
33146      attributes: {}
33147    };
33148    args.children = children;
33149    args.attributes = attributes;
33150    if (symbol) {
33151      return asSymbol(args);
33152    } else {
33153      return asIcon(args);
33154    }
33155  }
33156  function makeLayersTextAbstract(params) {
33157    const {
33158      content,
33159      width,
33160      height,
33161      transform,
33162      title,
33163      extra,
33164      watchable = false
33165    } = params;
33166    const attributes = _objectSpread2(_objectSpread2(_objectSpread2({}, extra.attributes), title ? {
33167      "title": title
33168    } : {}), {}, {
33169      "class": extra.classes.join(" ")
33170    });
33171    if (watchable) {
33172      attributes[DATA_FA_I2SVG] = "";
33173    }
33174    const styles2 = _objectSpread2({}, extra.styles);
33175    if (transformIsMeaningful(transform)) {
33176      styles2["transform"] = transformForCss({
33177        transform,
33178        startCentered: true,
33179        width,
33180        height
33181      });
33182      styles2["-webkit-transform"] = styles2["transform"];
33183    }
33184    const styleString = joinStyles(styles2);
33185    if (styleString.length > 0) {
33186      attributes["style"] = styleString;
33187    }
33188    const val = [];
33189    val.push({
33190      tag: "span",
33191      attributes,
33192      children: [content]
33193    });
33194    if (title) {
33195      val.push({
33196        tag: "span",
33197        attributes: {
33198          class: "sr-only"
33199        },
33200        children: [title]
33201      });
33202    }
33203    return val;
33204  }
33205  function makeLayersCounterAbstract(params) {
33206    const {
33207      content,
33208      title,
33209      extra
33210    } = params;
33211    const attributes = _objectSpread2(_objectSpread2(_objectSpread2({}, extra.attributes), title ? {
33212      "title": title
33213    } : {}), {}, {
33214      "class": extra.classes.join(" ")
33215    });
33216    const styleString = joinStyles(extra.styles);
33217    if (styleString.length > 0) {
33218      attributes["style"] = styleString;
33219    }
33220    const val = [];
33221    val.push({
33222      tag: "span",
33223      attributes,
33224      children: [content]
33225    });
33226    if (title) {
33227      val.push({
33228        tag: "span",
33229        attributes: {
33230          class: "sr-only"
33231        },
33232        children: [title]
33233      });
33234    }
33235    return val;
33236  }
33237  function asFoundIcon(icon2) {
33238    const width = icon2[0];
33239    const height = icon2[1];
33240    const [vectorData] = icon2.slice(4);
33241    let element = null;
33242    if (Array.isArray(vectorData)) {
33243      element = {
33244        tag: "g",
33245        attributes: {
33246          class: "".concat(config.cssPrefix, "-").concat(DUOTONE_CLASSES.GROUP)
33247        },
33248        children: [{
33249          tag: "path",
33250          attributes: {
33251            class: "".concat(config.cssPrefix, "-").concat(DUOTONE_CLASSES.SECONDARY),
33252            fill: "currentColor",
33253            d: vectorData[0]
33254          }
33255        }, {
33256          tag: "path",
33257          attributes: {
33258            class: "".concat(config.cssPrefix, "-").concat(DUOTONE_CLASSES.PRIMARY),
33259            fill: "currentColor",
33260            d: vectorData[1]
33261          }
33262        }]
33263      };
33264    } else {
33265      element = {
33266        tag: "path",
33267        attributes: {
33268          fill: "currentColor",
33269          d: vectorData
33270        }
33271      };
33272    }
33273    return {
33274      found: true,
33275      width,
33276      height,
33277      icon: element
33278    };
33279  }
33280  function maybeNotifyMissing(iconName, prefix2) {
33281    if (!PRODUCTION && !config.showMissingIcons && iconName) {
33282      console.error('Icon with name "'.concat(iconName, '" and prefix "').concat(prefix2, '" is missing.'));
33283    }
33284  }
33285  function findIcon(iconName, prefix2) {
33286    let givenPrefix = prefix2;
33287    if (prefix2 === "fa" && config.styleDefault !== null) {
33288      prefix2 = getDefaultUsablePrefix();
33289    }
33290    return new Promise((resolve, reject) => {
33291      if (givenPrefix === "fa") {
33292        const shim = byOldName(iconName) || {};
33293        iconName = shim.iconName || iconName;
33294        prefix2 = shim.prefix || prefix2;
33295      }
33296      if (iconName && prefix2 && styles$1[prefix2] && styles$1[prefix2][iconName]) {
33297        const icon2 = styles$1[prefix2][iconName];
33298        return resolve(asFoundIcon(icon2));
33299      }
33300      maybeNotifyMissing(iconName, prefix2);
33301      resolve(_objectSpread2(_objectSpread2({}, missingIconResolutionMixin), {}, {
33302        icon: config.showMissingIcons && iconName ? callProvided("missingIconAbstract") || {} : {}
33303      }));
33304    });
33305  }
33306  function isWatched(node2) {
33307    const i2svg = node2.getAttribute ? node2.getAttribute(DATA_FA_I2SVG) : null;
33308    return typeof i2svg === "string";
33309  }
33310  function hasPrefixAndIcon(node2) {
33311    const prefix2 = node2.getAttribute ? node2.getAttribute(DATA_PREFIX) : null;
33312    const icon2 = node2.getAttribute ? node2.getAttribute(DATA_ICON) : null;
33313    return prefix2 && icon2;
33314  }
33315  function hasBeenReplaced(node2) {
33316    return node2 && node2.classList && node2.classList.contains && node2.classList.contains(config.replacementClass);
33317  }
33318  function getMutator() {
33319    if (config.autoReplaceSvg === true) {
33320      return mutators.replace;
33321    }
33322    const mutator = mutators[config.autoReplaceSvg];
33323    return mutator || mutators.replace;
33324  }
33325  function createElementNS(tag) {
33326    return DOCUMENT.createElementNS("http://www.w3.org/2000/svg", tag);
33327  }
33328  function createElement4(tag) {
33329    return DOCUMENT.createElement(tag);
33330  }
33331  function convertSVG(abstractObj) {
33332    let params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
33333    const {
33334      ceFn = abstractObj.tag === "svg" ? createElementNS : createElement4
33335    } = params;
33336    if (typeof abstractObj === "string") {
33337      return DOCUMENT.createTextNode(abstractObj);
33338    }
33339    const tag = ceFn(abstractObj.tag);
33340    Object.keys(abstractObj.attributes || []).forEach(function(key) {
33341      tag.setAttribute(key, abstractObj.attributes[key]);
33342    });
33343    const children = abstractObj.children || [];
33344    children.forEach(function(child) {
33345      tag.appendChild(convertSVG(child, {
33346        ceFn
33347      }));
33348    });
33349    return tag;
33350  }
33351  function nodeAsComment(node2) {
33352    let comment2 = " ".concat(node2.outerHTML, " ");
33353    comment2 = "".concat(comment2, "Font Awesome fontawesome.com ");
33354    return comment2;
33355  }
33356  function performOperationSync(op) {
33357    op();
33358  }
33359  function perform(mutations, callback) {
33360    const callbackFunction = typeof callback === "function" ? callback : noop$2;
33361    if (mutations.length === 0) {
33362      callbackFunction();
33363    } else {
33364      let frame = performOperationSync;
33365      if (config.mutateApproach === MUTATION_APPROACH_ASYNC) {
33366        frame = WINDOW.requestAnimationFrame || performOperationSync;
33367      }
33368      frame(() => {
33369        const mutator = getMutator();
33370        const mark = perf.begin("mutate");
33371        mutations.map(mutator);
33372        mark();
33373        callbackFunction();
33374      });
33375    }
33376  }
33377  function disableObservation() {
33378    disabled = true;
33379  }
33380  function enableObservation() {
33381    disabled = false;
33382  }
33383  function observe(options2) {
33384    if (!MUTATION_OBSERVER) {
33385      return;
33386    }
33387    if (!config.observeMutations) {
33388      return;
33389    }
33390    const {
33391      treeCallback = noop$2,
33392      nodeCallback = noop$2,
33393      pseudoElementsCallback = noop$2,
33394      observeMutationsRoot = DOCUMENT
33395    } = options2;
33396    mo = new MUTATION_OBSERVER((objects) => {
33397      if (disabled) return;
33398      const defaultPrefix = getDefaultUsablePrefix();
33399      toArray(objects).forEach((mutationRecord) => {
33400        if (mutationRecord.type === "childList" && mutationRecord.addedNodes.length > 0 && !isWatched(mutationRecord.addedNodes[0])) {
33401          if (config.searchPseudoElements) {
33402            pseudoElementsCallback(mutationRecord.target);
33403          }
33404          treeCallback(mutationRecord.target);
33405        }
33406        if (mutationRecord.type === "attributes" && mutationRecord.target.parentNode && config.searchPseudoElements) {
33407          pseudoElementsCallback(mutationRecord.target.parentNode);
33408        }
33409        if (mutationRecord.type === "attributes" && isWatched(mutationRecord.target) && ~ATTRIBUTES_WATCHED_FOR_MUTATION.indexOf(mutationRecord.attributeName)) {
33410          if (mutationRecord.attributeName === "class" && hasPrefixAndIcon(mutationRecord.target)) {
33411            const {
33412              prefix: prefix2,
33413              iconName
33414            } = getCanonicalIcon(classArray(mutationRecord.target));
33415            mutationRecord.target.setAttribute(DATA_PREFIX, prefix2 || defaultPrefix);
33416            if (iconName) mutationRecord.target.setAttribute(DATA_ICON, iconName);
33417          } else if (hasBeenReplaced(mutationRecord.target)) {
33418            nodeCallback(mutationRecord.target);
33419          }
33420        }
33421      });
33422    });
33423    if (!IS_DOM) return;
33424    mo.observe(observeMutationsRoot, {
33425      childList: true,
33426      attributes: true,
33427      characterData: true,
33428      subtree: true
33429    });
33430  }
33431  function disconnect() {
33432    if (!mo) return;
33433    mo.disconnect();
33434  }
33435  function styleParser(node2) {
33436    const style = node2.getAttribute("style");
33437    let val = [];
33438    if (style) {
33439      val = style.split(";").reduce((acc, style2) => {
33440        const styles2 = style2.split(":");
33441        const prop = styles2[0];
33442        const value = styles2.slice(1);
33443        if (prop && value.length > 0) {
33444          acc[prop] = value.join(":").trim();
33445        }
33446        return acc;
33447      }, {});
33448    }
33449    return val;
33450  }
33451  function classParser(node2) {
33452    const existingPrefix = node2.getAttribute("data-prefix");
33453    const existingIconName = node2.getAttribute("data-icon");
33454    const innerText = node2.innerText !== void 0 ? node2.innerText.trim() : "";
33455    let val = getCanonicalIcon(classArray(node2));
33456    if (!val.prefix) {
33457      val.prefix = getDefaultUsablePrefix();
33458    }
33459    if (existingPrefix && existingIconName) {
33460      val.prefix = existingPrefix;
33461      val.iconName = existingIconName;
33462    }
33463    if (val.iconName && val.prefix) {
33464      return val;
33465    }
33466    if (val.prefix && innerText.length > 0) {
33467      val.iconName = byLigature(val.prefix, node2.innerText) || byUnicode(val.prefix, toHex(node2.innerText));
33468    }
33469    if (!val.iconName && config.autoFetchSvg && node2.firstChild && node2.firstChild.nodeType === Node.TEXT_NODE) {
33470      val.iconName = node2.firstChild.data;
33471    }
33472    return val;
33473  }
33474  function attributesParser(node2) {
33475    const extraAttributes = toArray(node2.attributes).reduce((acc, attr) => {
33476      if (acc.name !== "class" && acc.name !== "style") {
33477        acc[attr.name] = attr.value;
33478      }
33479      return acc;
33480    }, {});
33481    const title = node2.getAttribute("title");
33482    const titleId = node2.getAttribute("data-fa-title-id");
33483    if (config.autoA11y) {
33484      if (title) {
33485        extraAttributes["aria-labelledby"] = "".concat(config.replacementClass, "-title-").concat(titleId || nextUniqueId());
33486      } else {
33487        extraAttributes["aria-hidden"] = "true";
33488        extraAttributes["focusable"] = "false";
33489      }
33490    }
33491    return extraAttributes;
33492  }
33493  function blankMeta() {
33494    return {
33495      iconName: null,
33496      title: null,
33497      titleId: null,
33498      prefix: null,
33499      transform: meaninglessTransform,
33500      symbol: false,
33501      mask: {
33502        iconName: null,
33503        prefix: null,
33504        rest: []
33505      },
33506      maskId: null,
33507      extra: {
33508        classes: [],
33509        styles: {},
33510        attributes: {}
33511      }
33512    };
33513  }
33514  function parseMeta(node2) {
33515    let parser = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
33516      styleParser: true
33517    };
33518    const {
33519      iconName,
33520      prefix: prefix2,
33521      rest: extraClasses
33522    } = classParser(node2);
33523    const extraAttributes = attributesParser(node2);
33524    const pluginMeta = chainHooks("parseNodeAttributes", {}, node2);
33525    let extraStyles = parser.styleParser ? styleParser(node2) : [];
33526    return _objectSpread2({
33527      iconName,
33528      title: node2.getAttribute("title"),
33529      titleId: node2.getAttribute("data-fa-title-id"),
33530      prefix: prefix2,
33531      transform: meaninglessTransform,
33532      mask: {
33533        iconName: null,
33534        prefix: null,
33535        rest: []
33536      },
33537      maskId: null,
33538      symbol: false,
33539      extra: {
33540        classes: extraClasses,
33541        styles: extraStyles,
33542        attributes: extraAttributes
33543      }
33544    }, pluginMeta);
33545  }
33546  function generateMutation(node2) {
33547    const nodeMeta = config.autoReplaceSvg === "nest" ? parseMeta(node2, {
33548      styleParser: false
33549    }) : parseMeta(node2);
33550    if (~nodeMeta.extra.classes.indexOf(LAYERS_TEXT_CLASSNAME)) {
33551      return callProvided("generateLayersText", node2, nodeMeta);
33552    } else {
33553      return callProvided("generateSvgReplacementMutation", node2, nodeMeta);
33554    }
33555  }
33556  function getKnownPrefixes() {
33557    return [...Ft, ...Ia];
33558  }
33559  function onTree(root) {
33560    let callback = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
33561    if (!IS_DOM) return Promise.resolve();
33562    const htmlClassList = DOCUMENT.documentElement.classList;
33563    const hclAdd = (suffix) => htmlClassList.add("".concat(HTML_CLASS_I2SVG_BASE_CLASS, "-").concat(suffix));
33564    const hclRemove = (suffix) => htmlClassList.remove("".concat(HTML_CLASS_I2SVG_BASE_CLASS, "-").concat(suffix));
33565    const prefixes = config.autoFetchSvg ? getKnownPrefixes() : P.concat(Object.keys(styles$2));
33566    if (!prefixes.includes("fa")) {
33567      prefixes.push("fa");
33568    }
33569    const prefixesDomQuery = [".".concat(LAYERS_TEXT_CLASSNAME, ":not([").concat(DATA_FA_I2SVG, "])")].concat(prefixes.map((p$$1) => ".".concat(p$$1, ":not([").concat(DATA_FA_I2SVG, "])"))).join(", ");
33570    if (prefixesDomQuery.length === 0) {
33571      return Promise.resolve();
33572    }
33573    let candidates = [];
33574    try {
33575      candidates = toArray(root.querySelectorAll(prefixesDomQuery));
33576    } catch (e$$1) {
33577    }
33578    if (candidates.length > 0) {
33579      hclAdd("pending");
33580      hclRemove("complete");
33581    } else {
33582      return Promise.resolve();
33583    }
33584    const mark = perf.begin("onTree");
33585    const mutations = candidates.reduce((acc, node2) => {
33586      try {
33587        const mutation = generateMutation(node2);
33588        if (mutation) {
33589          acc.push(mutation);
33590        }
33591      } catch (e$$1) {
33592        if (!PRODUCTION) {
33593          if (e$$1.name === "MissingIcon") {
33594            console.error(e$$1);
33595          }
33596        }
33597      }
33598      return acc;
33599    }, []);
33600    return new Promise((resolve, reject) => {
33601      Promise.all(mutations).then((resolvedMutations) => {
33602        perform(resolvedMutations, () => {
33603          hclAdd("active");
33604          hclAdd("complete");
33605          hclRemove("pending");
33606          if (typeof callback === "function") callback();
33607          mark();
33608          resolve();
33609        });
33610      }).catch((e$$1) => {
33611        mark();
33612        reject(e$$1);
33613      });
33614    });
33615  }
33616  function onNode(node2) {
33617    let callback = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
33618    generateMutation(node2).then((mutation) => {
33619      if (mutation) {
33620        perform([mutation], callback);
33621      }
33622    });
33623  }
33624  function resolveIcons(next2) {
33625    return function(maybeIconDefinition) {
33626      let params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
33627      const iconDefinition = (maybeIconDefinition || {}).icon ? maybeIconDefinition : findIconDefinition(maybeIconDefinition || {});
33628      let {
33629        mask
33630      } = params;
33631      if (mask) {
33632        mask = (mask || {}).icon ? mask : findIconDefinition(mask || {});
33633      }
33634      return next2(iconDefinition, _objectSpread2(_objectSpread2({}, params), {}, {
33635        mask
33636      }));
33637    };
33638  }
33639  function hexValueFromContent(content) {
33640    const cleaned = content.replace(CLEAN_CONTENT_PATTERN, "");
33641    const codePoint = codePointAt(cleaned, 0);
33642    const isPrependTen = codePoint >= SECONDARY_UNICODE_RANGE[0] && codePoint <= SECONDARY_UNICODE_RANGE[1];
33643    const isDoubled = cleaned.length === 2 ? cleaned[0] === cleaned[1] : false;
33644    return {
33645      value: isDoubled ? toHex(cleaned[0]) : toHex(cleaned),
33646      isSecondary: isPrependTen || isDoubled
33647    };
33648  }
33649  function getPrefix(fontFamily, fontWeight) {
33650    const fontFamilySanitized = fontFamily.replace(/^['"]|['"]$/g, "").toLowerCase();
33651    const fontWeightInteger = parseInt(fontWeight);
33652    const fontWeightSanitized = isNaN(fontWeightInteger) ? "normal" : fontWeightInteger;
33653    return (FONT_FAMILY_WEIGHT_TO_PREFIX[fontFamilySanitized] || {})[fontWeightSanitized] || FONT_FAMILY_WEIGHT_FALLBACK[fontFamilySanitized];
33654  }
33655  function replaceForPosition(node2, position2) {
33656    const pendingAttribute = "".concat(DATA_FA_PSEUDO_ELEMENT_PENDING).concat(position2.replace(":", "-"));
33657    return new Promise((resolve, reject) => {
33658      if (node2.getAttribute(pendingAttribute) !== null) {
33659        return resolve();
33660      }
33661      const children = toArray(node2.children);
33662      const alreadyProcessedPseudoElement = children.filter((c$$1) => c$$1.getAttribute(DATA_FA_PSEUDO_ELEMENT) === position2)[0];
33663      const styles2 = WINDOW.getComputedStyle(node2, position2);
33664      const fontFamily = styles2.getPropertyValue("font-family");
33665      const fontFamilyMatch = fontFamily.match(FONT_FAMILY_PATTERN);
33666      const fontWeight = styles2.getPropertyValue("font-weight");
33667      const content = styles2.getPropertyValue("content");
33668      if (alreadyProcessedPseudoElement && !fontFamilyMatch) {
33669        node2.removeChild(alreadyProcessedPseudoElement);
33670        return resolve();
33671      } else if (fontFamilyMatch && content !== "none" && content !== "") {
33672        const content2 = styles2.getPropertyValue("content");
33673        let prefix2 = getPrefix(fontFamily, fontWeight);
33674        const {
33675          value: hexValue2,
33676          isSecondary
33677        } = hexValueFromContent(content2);
33678        const isV4 = fontFamilyMatch[0].startsWith("FontAwesome");
33679        let iconName = byUnicode(prefix2, hexValue2);
33680        let iconIdentifier = iconName;
33681        if (isV4) {
33682          const iconName4 = byOldUnicode(hexValue2);
33683          if (iconName4.iconName && iconName4.prefix) {
33684            iconName = iconName4.iconName;
33685            prefix2 = iconName4.prefix;
33686          }
33687        }
33688        if (iconName && !isSecondary && (!alreadyProcessedPseudoElement || alreadyProcessedPseudoElement.getAttribute(DATA_PREFIX) !== prefix2 || alreadyProcessedPseudoElement.getAttribute(DATA_ICON) !== iconIdentifier)) {
33689          node2.setAttribute(pendingAttribute, iconIdentifier);
33690          if (alreadyProcessedPseudoElement) {
33691            node2.removeChild(alreadyProcessedPseudoElement);
33692          }
33693          const meta = blankMeta();
33694          const {
33695            extra
33696          } = meta;
33697          extra.attributes[DATA_FA_PSEUDO_ELEMENT] = position2;
33698          findIcon(iconName, prefix2).then((main) => {
33699            const abstract = makeInlineSvgAbstract(_objectSpread2(_objectSpread2({}, meta), {}, {
33700              icons: {
33701                main,
33702                mask: emptyCanonicalIcon()
33703              },
33704              prefix: prefix2,
33705              iconName: iconIdentifier,
33706              extra,
33707              watchable: true
33708            }));
33709            const element = DOCUMENT.createElementNS("http://www.w3.org/2000/svg", "svg");
33710            if (position2 === "::before") {
33711              node2.insertBefore(element, node2.firstChild);
33712            } else {
33713              node2.appendChild(element);
33714            }
33715            element.outerHTML = abstract.map((a$$1) => toHtml(a$$1)).join("\n");
33716            node2.removeAttribute(pendingAttribute);
33717            resolve();
33718          }).catch(reject);
33719        } else {
33720          resolve();
33721        }
33722      } else {
33723        resolve();
33724      }
33725    });
33726  }
33727  function replace2(node2) {
33728    return Promise.all([replaceForPosition(node2, "::before"), replaceForPosition(node2, "::after")]);
33729  }
33730  function processable(node2) {
33731    return node2.parentNode !== document.head && !~TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS.indexOf(node2.tagName.toUpperCase()) && !node2.getAttribute(DATA_FA_PSEUDO_ELEMENT) && (!node2.parentNode || node2.parentNode.tagName !== "svg");
33732  }
33733  function searchPseudoElements(root) {
33734    if (!IS_DOM) return;
33735    return new Promise((resolve, reject) => {
33736      const operations = toArray(root.querySelectorAll("*")).filter(processable).map(replace2);
33737      const end2 = perf.begin("searchPseudoElements");
33738      disableObservation();
33739      Promise.all(operations).then(() => {
33740        end2();
33741        enableObservation();
33742        resolve();
33743      }).catch(() => {
33744        end2();
33745        enableObservation();
33746        reject();
33747      });
33748    });
33749  }
33750  function fillBlack(abstract) {
33751    let force = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : true;
33752    if (abstract.attributes && (abstract.attributes.fill || force)) {
33753      abstract.attributes.fill = "black";
33754    }
33755    return abstract;
33756  }
33757  function deGroup(abstract) {
33758    if (abstract.tag === "g") {
33759      return abstract.children;
33760    } else {
33761      return [abstract];
33762    }
33763  }
33764  var noop, _WINDOW, _DOCUMENT, _MUTATION_OBSERVER, _PERFORMANCE, userAgent, WINDOW, DOCUMENT, MUTATION_OBSERVER, PERFORMANCE, IS_BROWSER, IS_DOM, IS_IE, p, g, S, A, P, s, t, r, o, L, G, lt, pt, xt, Ft, St, At, Ct, Lt, Wt, Et, t$1, r$1, bt$1, Yt, ua, I$1, ga, x, Ia, m$1, c$1, F$1, ma, wa, NAMESPACE_IDENTIFIER, UNITS_IN_GRID, DEFAULT_CSS_PREFIX, DEFAULT_REPLACEMENT_CLASS, DATA_FA_I2SVG, DATA_FA_PSEUDO_ELEMENT, DATA_FA_PSEUDO_ELEMENT_PENDING, DATA_PREFIX, DATA_ICON, HTML_CLASS_I2SVG_BASE_CLASS, MUTATION_APPROACH_ASYNC, TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS, PRODUCTION, _PREFIX_TO_STYLE, PREFIX_TO_STYLE, _STYLE_TO_PREFIX, STYLE_TO_PREFIX, _PREFIX_TO_LONG_STYLE, PREFIX_TO_LONG_STYLE, _LONG_STYLE_TO_PREFIX, LONG_STYLE_TO_PREFIX, ICON_SELECTION_SYNTAX_PATTERN, LAYERS_TEXT_CLASSNAME, FONT_FAMILY_PATTERN, _FONT_WEIGHT_TO_PREFIX, FONT_WEIGHT_TO_PREFIX, ATTRIBUTES_WATCHED_FOR_MUTATION, DUOTONE_CLASSES, RESERVED_CLASSES, initial, _default, _config, config, _onChangeCb, d$2, meaninglessTransform, idPool, baseStyles, _cssInserted, InjectCSS, w, namespace, functions, listener, loaded, bindInternal4, reduce, styles, shims, FAMILY_NAMES, PREFIXES_FOR_FAMILY, _defaultUsablePrefix, _byUnicode, _byLigature, _byOldName, _byOldUnicode, _byAlias, build, emptyCanonicalIcon, newCanonicalFamilies, newCanonicalStyles, Library, _plugins, _hooks, providers, defaultProviderKeys, library, noAuto, dom, parse2, api, autoReplace, styles$1, missingIconResolutionMixin, noop$1, p$2, preamble, begin, end, perf, noop$2, mutators, disabled, mo, styles$2, render, ReplaceElements, Layers, LayersCounter, LayersText, CLEAN_CONTENT_PATTERN, SECONDARY_UNICODE_RANGE, _FONT_FAMILY_WEIGHT_TO_PREFIX, FONT_FAMILY_WEIGHT_TO_PREFIX, FONT_FAMILY_WEIGHT_FALLBACK, PseudoElements, _unwatched, MutationObserver$1, parseTransformString, PowerTransforms, ALL_SPACE, Masks, MissingIconIndicator, SvgSymbols, plugins, noAuto$1, config$1, library$1, dom$1, parse$1, findIconDefinition$1, toHtml$1, icon, layer, text, counter;
33765  var init_fontawesome_svg_core = __esm({
33766    "node_modules/@fortawesome/fontawesome-svg-core/index.mjs"() {
33767      init_esbuild_shims();
33768      noop = () => {
33769      };
33770      _WINDOW = {};
33771      _DOCUMENT = {};
33772      _MUTATION_OBSERVER = null;
33773      _PERFORMANCE = {
33774        mark: noop,
33775        measure: noop
33776      };
33777      try {
33778        if (typeof window !== "undefined") _WINDOW = window;
33779        if (typeof document !== "undefined") _DOCUMENT = document;
33780        if (typeof MutationObserver !== "undefined") _MUTATION_OBSERVER = MutationObserver;
33781        if (typeof performance !== "undefined") _PERFORMANCE = performance;
33782      } catch (e) {
33783      }
33784      ({
33785        userAgent = ""
33786      } = _WINDOW.navigator || {});
33787      WINDOW = _WINDOW;
33788      DOCUMENT = _DOCUMENT;
33789      MUTATION_OBSERVER = _MUTATION_OBSERVER;
33790      PERFORMANCE = _PERFORMANCE;
33791      IS_BROWSER = !!WINDOW.document;
33792      IS_DOM = !!DOCUMENT.documentElement && !!DOCUMENT.head && typeof DOCUMENT.addEventListener === "function" && typeof DOCUMENT.createElement === "function";
33793      IS_IE = ~userAgent.indexOf("MSIE") || ~userAgent.indexOf("Trident/");
33794      p = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/;
33795      g = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i;
33796      S = {
33797        classic: {
33798          fa: "solid",
33799          fas: "solid",
33800          "fa-solid": "solid",
33801          far: "regular",
33802          "fa-regular": "regular",
33803          fal: "light",
33804          "fa-light": "light",
33805          fat: "thin",
33806          "fa-thin": "thin",
33807          fab: "brands",
33808          "fa-brands": "brands"
33809        },
33810        duotone: {
33811          fa: "solid",
33812          fad: "solid",
33813          "fa-solid": "solid",
33814          "fa-duotone": "solid",
33815          fadr: "regular",
33816          "fa-regular": "regular",
33817          fadl: "light",
33818          "fa-light": "light",
33819          fadt: "thin",
33820          "fa-thin": "thin"
33821        },
33822        sharp: {
33823          fa: "solid",
33824          fass: "solid",
33825          "fa-solid": "solid",
33826          fasr: "regular",
33827          "fa-regular": "regular",
33828          fasl: "light",
33829          "fa-light": "light",
33830          fast: "thin",
33831          "fa-thin": "thin"
33832        },
33833        "sharp-duotone": {
33834          fa: "solid",
33835          fasds: "solid",
33836          "fa-solid": "solid",
33837          fasdr: "regular",
33838          "fa-regular": "regular",
33839          fasdl: "light",
33840          "fa-light": "light",
33841          fasdt: "thin",
33842          "fa-thin": "thin"
33843        }
33844      };
33845      A = {
33846        GROUP: "duotone-group",
33847        SWAP_OPACITY: "swap-opacity",
33848        PRIMARY: "primary",
33849        SECONDARY: "secondary"
33850      };
33851      P = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone"];
33852      s = "classic";
33853      t = "duotone";
33854      r = "sharp";
33855      o = "sharp-duotone";
33856      L = [s, t, r, o];
33857      G = {
33858        classic: {
33859          900: "fas",
33860          400: "far",
33861          normal: "far",
33862          300: "fal",
33863          100: "fat"
33864        },
33865        duotone: {
33866          900: "fad",
33867          400: "fadr",
33868          300: "fadl",
33869          100: "fadt"
33870        },
33871        sharp: {
33872          900: "fass",
33873          400: "fasr",
33874          300: "fasl",
33875          100: "fast"
33876        },
33877        "sharp-duotone": {
33878          900: "fasds",
33879          400: "fasdr",
33880          300: "fasdl",
33881          100: "fasdt"
33882        }
33883      };
33884      lt = {
33885        "Font Awesome 6 Free": {
33886          900: "fas",
33887          400: "far"
33888        },
33889        "Font Awesome 6 Pro": {
33890          900: "fas",
33891          400: "far",
33892          normal: "far",
33893          300: "fal",
33894          100: "fat"
33895        },
33896        "Font Awesome 6 Brands": {
33897          400: "fab",
33898          normal: "fab"
33899        },
33900        "Font Awesome 6 Duotone": {
33901          900: "fad",
33902          400: "fadr",
33903          normal: "fadr",
33904          300: "fadl",
33905          100: "fadt"
33906        },
33907        "Font Awesome 6 Sharp": {
33908          900: "fass",
33909          400: "fasr",
33910          normal: "fasr",
33911          300: "fasl",
33912          100: "fast"
33913        },
33914        "Font Awesome 6 Sharp Duotone": {
33915          900: "fasds",
33916          400: "fasdr",
33917          normal: "fasdr",
33918          300: "fasdl",
33919          100: "fasdt"
33920        }
33921      };
33922      pt = /* @__PURE__ */ new Map([["classic", {
33923        defaultShortPrefixId: "fas",
33924        defaultStyleId: "solid",
33925        styleIds: ["solid", "regular", "light", "thin", "brands"],
33926        futureStyleIds: [],
33927        defaultFontWeight: 900
33928      }], ["sharp", {
33929        defaultShortPrefixId: "fass",
33930        defaultStyleId: "solid",
33931        styleIds: ["solid", "regular", "light", "thin"],
33932        futureStyleIds: [],
33933        defaultFontWeight: 900
33934      }], ["duotone", {
33935        defaultShortPrefixId: "fad",
33936        defaultStyleId: "solid",
33937        styleIds: ["solid", "regular", "light", "thin"],
33938        futureStyleIds: [],
33939        defaultFontWeight: 900
33940      }], ["sharp-duotone", {
33941        defaultShortPrefixId: "fasds",
33942        defaultStyleId: "solid",
33943        styleIds: ["solid", "regular", "light", "thin"],
33944        futureStyleIds: [],
33945        defaultFontWeight: 900
33946      }]]);
33947      xt = {
33948        classic: {
33949          solid: "fas",
33950          regular: "far",
33951          light: "fal",
33952          thin: "fat",
33953          brands: "fab"
33954        },
33955        duotone: {
33956          solid: "fad",
33957          regular: "fadr",
33958          light: "fadl",
33959          thin: "fadt"
33960        },
33961        sharp: {
33962          solid: "fass",
33963          regular: "fasr",
33964          light: "fasl",
33965          thin: "fast"
33966        },
33967        "sharp-duotone": {
33968          solid: "fasds",
33969          regular: "fasdr",
33970          light: "fasdl",
33971          thin: "fasdt"
33972        }
33973      };
33974      Ft = ["fak", "fa-kit", "fakd", "fa-kit-duotone"];
33975      St = {
33976        kit: {
33977          fak: "kit",
33978          "fa-kit": "kit"
33979        },
33980        "kit-duotone": {
33981          fakd: "kit-duotone",
33982          "fa-kit-duotone": "kit-duotone"
33983        }
33984      };
33985      At = ["kit"];
33986      Ct = {
33987        kit: {
33988          "fa-kit": "fak"
33989        },
33990        "kit-duotone": {
33991          "fa-kit-duotone": "fakd"
33992        }
33993      };
33994      Lt = ["fak", "fakd"];
33995      Wt = {
33996        kit: {
33997          fak: "fa-kit"
33998        },
33999        "kit-duotone": {
34000          fakd: "fa-kit-duotone"
34001        }
34002      };
34003      Et = {
34004        kit: {
34005          kit: "fak"
34006        },
34007        "kit-duotone": {
34008          "kit-duotone": "fakd"
34009        }
34010      };
34011      t$1 = {
34012        GROUP: "duotone-group",
34013        SWAP_OPACITY: "swap-opacity",
34014        PRIMARY: "primary",
34015        SECONDARY: "secondary"
34016      };
34017      r$1 = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone"];
34018      bt$1 = ["fak", "fa-kit", "fakd", "fa-kit-duotone"];
34019      Yt = {
34020        "Font Awesome Kit": {
34021          400: "fak",
34022          normal: "fak"
34023        },
34024        "Font Awesome Kit Duotone": {
34025          400: "fakd",
34026          normal: "fakd"
34027        }
34028      };
34029      ua = {
34030        classic: {
34031          "fa-brands": "fab",
34032          "fa-duotone": "fad",
34033          "fa-light": "fal",
34034          "fa-regular": "far",
34035          "fa-solid": "fas",
34036          "fa-thin": "fat"
34037        },
34038        duotone: {
34039          "fa-regular": "fadr",
34040          "fa-light": "fadl",
34041          "fa-thin": "fadt"
34042        },
34043        sharp: {
34044          "fa-solid": "fass",
34045          "fa-regular": "fasr",
34046          "fa-light": "fasl",
34047          "fa-thin": "fast"
34048        },
34049        "sharp-duotone": {
34050          "fa-solid": "fasds",
34051          "fa-regular": "fasdr",
34052          "fa-light": "fasdl",
34053          "fa-thin": "fasdt"
34054        }
34055      };
34056      I$1 = {
34057        classic: ["fas", "far", "fal", "fat", "fad"],
34058        duotone: ["fadr", "fadl", "fadt"],
34059        sharp: ["fass", "fasr", "fasl", "fast"],
34060        "sharp-duotone": ["fasds", "fasdr", "fasdl", "fasdt"]
34061      };
34062      ga = {
34063        classic: {
34064          fab: "fa-brands",
34065          fad: "fa-duotone",
34066          fal: "fa-light",
34067          far: "fa-regular",
34068          fas: "fa-solid",
34069          fat: "fa-thin"
34070        },
34071        duotone: {
34072          fadr: "fa-regular",
34073          fadl: "fa-light",
34074          fadt: "fa-thin"
34075        },
34076        sharp: {
34077          fass: "fa-solid",
34078          fasr: "fa-regular",
34079          fasl: "fa-light",
34080          fast: "fa-thin"
34081        },
34082        "sharp-duotone": {
34083          fasds: "fa-solid",
34084          fasdr: "fa-regular",
34085          fasdl: "fa-light",
34086          fasdt: "fa-thin"
34087        }
34088      };
34089      x = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands"];
34090      Ia = ["fa", "fas", "far", "fal", "fat", "fad", "fadr", "fadl", "fadt", "fab", "fass", "fasr", "fasl", "fast", "fasds", "fasdr", "fasdl", "fasdt", ...r$1, ...x];
34091      m$1 = ["solid", "regular", "light", "thin", "duotone", "brands"];
34092      c$1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
34093      F$1 = c$1.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]);
34094      ma = [...Object.keys(I$1), ...m$1, "2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "fw", "inverse", "layers-counter", "layers-text", "layers", "li", "pull-left", "pull-right", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", t$1.GROUP, t$1.SWAP_OPACITY, t$1.PRIMARY, t$1.SECONDARY].concat(c$1.map((a) => "".concat(a, "x"))).concat(F$1.map((a) => "w-".concat(a)));
34095      wa = {
34096        "Font Awesome 5 Free": {
34097          900: "fas",
34098          400: "far"
34099        },
34100        "Font Awesome 5 Pro": {
34101          900: "fas",
34102          400: "far",
34103          normal: "far",
34104          300: "fal"
34105        },
34106        "Font Awesome 5 Brands": {
34107          400: "fab",
34108          normal: "fab"
34109        },
34110        "Font Awesome 5 Duotone": {
34111          900: "fad"
34112        }
34113      };
34114      NAMESPACE_IDENTIFIER = "___FONT_AWESOME___";
34115      UNITS_IN_GRID = 16;
34116      DEFAULT_CSS_PREFIX = "fa";
34117      DEFAULT_REPLACEMENT_CLASS = "svg-inline--fa";
34118      DATA_FA_I2SVG = "data-fa-i2svg";
34119      DATA_FA_PSEUDO_ELEMENT = "data-fa-pseudo-element";
34120      DATA_FA_PSEUDO_ELEMENT_PENDING = "data-fa-pseudo-element-pending";
34121      DATA_PREFIX = "data-prefix";
34122      DATA_ICON = "data-icon";
34123      HTML_CLASS_I2SVG_BASE_CLASS = "fontawesome-i2svg";
34124      MUTATION_APPROACH_ASYNC = "async";
34125      TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS = ["HTML", "HEAD", "STYLE", "SCRIPT"];
34126      PRODUCTION = (() => {
34127        try {
34128          return false;
34129        } catch (e$$1) {
34130          return false;
34131        }
34132      })();
34133      _PREFIX_TO_STYLE = _objectSpread2({}, S);
34134      _PREFIX_TO_STYLE[s] = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, {
34135        "fa-duotone": "duotone"
34136      }), S[s]), St["kit"]), St["kit-duotone"]);
34137      PREFIX_TO_STYLE = familyProxy(_PREFIX_TO_STYLE);
34138      _STYLE_TO_PREFIX = _objectSpread2({}, xt);
34139      _STYLE_TO_PREFIX[s] = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, {
34140        duotone: "fad"
34141      }), _STYLE_TO_PREFIX[s]), Et["kit"]), Et["kit-duotone"]);
34142      STYLE_TO_PREFIX = familyProxy(_STYLE_TO_PREFIX);
34143      _PREFIX_TO_LONG_STYLE = _objectSpread2({}, ga);
34144      _PREFIX_TO_LONG_STYLE[s] = _objectSpread2(_objectSpread2({}, _PREFIX_TO_LONG_STYLE[s]), Wt["kit"]);
34145      PREFIX_TO_LONG_STYLE = familyProxy(_PREFIX_TO_LONG_STYLE);
34146      _LONG_STYLE_TO_PREFIX = _objectSpread2({}, ua);
34147      _LONG_STYLE_TO_PREFIX[s] = _objectSpread2(_objectSpread2({}, _LONG_STYLE_TO_PREFIX[s]), Ct["kit"]);
34148      LONG_STYLE_TO_PREFIX = familyProxy(_LONG_STYLE_TO_PREFIX);
34149      ICON_SELECTION_SYNTAX_PATTERN = p;
34150      LAYERS_TEXT_CLASSNAME = "fa-layers-text";
34151      FONT_FAMILY_PATTERN = g;
34152      _FONT_WEIGHT_TO_PREFIX = _objectSpread2({}, G);
34153      FONT_WEIGHT_TO_PREFIX = familyProxy(_FONT_WEIGHT_TO_PREFIX);
34154      ATTRIBUTES_WATCHED_FOR_MUTATION = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"];
34155      DUOTONE_CLASSES = A;
34156      RESERVED_CLASSES = [...At, ...ma];
34157      initial = WINDOW.FontAwesomeConfig || {};
34158      if (DOCUMENT && typeof DOCUMENT.querySelector === "function") {
34159        const attrs = [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-auto-a11y", "autoA11y"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]];
34160        attrs.forEach((_ref3) => {
34161          let [attr, key] = _ref3;
34162          const val = coerce(getAttrConfig(attr));
34163          if (val !== void 0 && val !== null) {
34164            initial[key] = val;
34165          }
34166        });
34167      }
34168      _default = {
34169        styleDefault: "solid",
34170        familyDefault: s,
34171        cssPrefix: DEFAULT_CSS_PREFIX,
34172        replacementClass: DEFAULT_REPLACEMENT_CLASS,
34173        autoReplaceSvg: true,
34174        autoAddCss: true,
34175        autoA11y: true,
34176        searchPseudoElements: false,
34177        observeMutations: true,
34178        mutateApproach: "async",
34179        keepOriginalSource: true,
34180        measurePerformance: false,
34181        showMissingIcons: true
34182      };
34183      if (initial.familyPrefix) {
34184        initial.cssPrefix = initial.familyPrefix;
34185      }
34186      _config = _objectSpread2(_objectSpread2({}, _default), initial);
34187      if (!_config.autoReplaceSvg) _config.observeMutations = false;
34188      config = {};
34189      Object.keys(_default).forEach((key) => {
34190        Object.defineProperty(config, key, {
34191          enumerable: true,
34192          set: function(val) {
34193            _config[key] = val;
34194            _onChangeCb.forEach((cb) => cb(config));
34195          },
34196          get: function() {
34197            return _config[key];
34198          }
34199        });
34200      });
34201      Object.defineProperty(config, "familyPrefix", {
34202        enumerable: true,
34203        set: function(val) {
34204          _config.cssPrefix = val;
34205          _onChangeCb.forEach((cb) => cb(config));
34206        },
34207        get: function() {
34208          return _config.cssPrefix;
34209        }
34210      });
34211      WINDOW.FontAwesomeConfig = config;
34212      _onChangeCb = [];
34213      d$2 = UNITS_IN_GRID;
34214      meaninglessTransform = {
34215        size: 16,
34216        x: 0,
34217        y: 0,
34218        rotate: 0,
34219        flipX: false,
34220        flipY: false
34221      };
34222      idPool = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
34223      baseStyles = ':root, :host {\n  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";\n  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";\n  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";\n  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";\n  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n  --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";\n  --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";\n  --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";\n  --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n  overflow: visible;\n  box-sizing: content-box;\n}\n\n.svg-inline--fa {\n  display: var(--fa-display, inline-block);\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n  vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n  vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n  vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n  vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n  vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-li {\n  width: var(--fa-li-width, 2em);\n  top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n  width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  transform-origin: center center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  transform: translate(-50%, -50%);\n  transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: var(--fa-counter-background-color, #ff253a);\n  border-radius: var(--fa-counter-border-radius, 1em);\n  box-sizing: border-box;\n  color: var(--fa-inverse, #fff);\n  line-height: var(--fa-counter-line-height, 1);\n  max-width: var(--fa-counter-max-width, 5em);\n  min-width: var(--fa-counter-min-width, 1.5em);\n  overflow: hidden;\n  padding: var(--fa-counter-padding, 0.25em 0.5em);\n  right: var(--fa-right, 0);\n  text-overflow: ellipsis;\n  top: var(--fa-top, 0);\n  transform: scale(var(--fa-counter-scale, 0.25));\n  transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: var(--fa-bottom, 0);\n  right: var(--fa-right, 0);\n  top: auto;\n  transform: scale(var(--fa-layers-scale, 0.25));\n  transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: var(--fa-bottom, 0);\n  left: var(--fa-left, 0);\n  right: auto;\n  top: auto;\n  transform: scale(var(--fa-layers-scale, 0.25));\n  transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  top: var(--fa-top, 0);\n  right: var(--fa-right, 0);\n  transform: scale(var(--fa-layers-scale, 0.25));\n  transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: var(--fa-left, 0);\n  right: auto;\n  top: var(--fa-top, 0);\n  transform: scale(var(--fa-layers-scale, 0.25));\n  transform-origin: top left;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-2xs {\n  font-size: 0.625em;\n  line-height: 0.1em;\n  vertical-align: 0.225em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n  line-height: 0.0833333337em;\n  vertical-align: 0.125em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n  line-height: 0.0714285718em;\n  vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n  font-size: 1.25em;\n  line-height: 0.05em;\n  vertical-align: -0.075em;\n}\n\n.fa-xl {\n  font-size: 1.5em;\n  line-height: 0.0416666682em;\n  vertical-align: -0.125em;\n}\n\n.fa-2xl {\n  font-size: 2em;\n  line-height: 0.03125em;\n  vertical-align: -0.1875em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: var(--fa-li-margin, 2.5em);\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: calc(-1 * var(--fa-li-width, 2em));\n  position: absolute;\n  text-align: center;\n  width: var(--fa-li-width, 2em);\n  line-height: inherit;\n}\n\n.fa-border {\n  border-color: var(--fa-border-color, #eee);\n  border-radius: var(--fa-border-radius, 0.1em);\n  border-style: var(--fa-border-style, solid);\n  border-width: var(--fa-border-width, 0.08em);\n  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n  float: left;\n  margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n  float: right;\n  margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n  animation-name: fa-beat;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n  animation-name: fa-bounce;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n  animation-name: fa-fade;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n  animation-name: fa-beat-fade;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n  animation-name: fa-flip;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n  animation-name: fa-shake;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n  animation-name: fa-spin;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 2s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n  --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n  animation-name: fa-spin;\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n    animation-delay: -1ms;\n    animation-duration: 1ms;\n    animation-iteration-count: 1;\n    transition-delay: 0s;\n    transition-duration: 0s;\n  }\n}\n@keyframes fa-beat {\n  0%, 90% {\n    transform: scale(1);\n  }\n  45% {\n    transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@keyframes fa-bounce {\n  0% {\n    transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    transform: scale(1, 1) translateY(0);\n  }\n}\n@keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@keyframes fa-flip {\n  50% {\n    transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@keyframes fa-shake {\n  0% {\n    transform: rotate(-15deg);\n  }\n  4% {\n    transform: rotate(15deg);\n  }\n  8%, 24% {\n    transform: rotate(-18deg);\n  }\n  12%, 28% {\n    transform: rotate(18deg);\n  }\n  16% {\n    transform: rotate(-22deg);\n  }\n  20% {\n    transform: rotate(22deg);\n  }\n  32% {\n    transform: rotate(-12deg);\n  }\n  36% {\n    transform: rotate(12deg);\n  }\n  40%, 100% {\n    transform: rotate(0deg);\n  }\n}\n@keyframes fa-spin {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n  transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n  transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n  display: inline-block;\n  vertical-align: middle;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n  z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}';
34224      _cssInserted = false;
34225      InjectCSS = {
34226        mixout() {
34227          return {
34228            dom: {
34229              css: css2,
34230              insertCss: ensureCss
34231            }
34232          };
34233        },
34234        hooks() {
34235          return {
34236            beforeDOMElementCreation() {
34237              ensureCss();
34238            },
34239            beforeI2svg() {
34240              ensureCss();
34241            }
34242          };
34243        }
34244      };
34245      w = WINDOW || {};
34246      if (!w[NAMESPACE_IDENTIFIER]) w[NAMESPACE_IDENTIFIER] = {};
34247      if (!w[NAMESPACE_IDENTIFIER].styles) w[NAMESPACE_IDENTIFIER].styles = {};
34248      if (!w[NAMESPACE_IDENTIFIER].hooks) w[NAMESPACE_IDENTIFIER].hooks = {};
34249      if (!w[NAMESPACE_IDENTIFIER].shims) w[NAMESPACE_IDENTIFIER].shims = [];
34250      namespace = w[NAMESPACE_IDENTIFIER];
34251      functions = [];
34252      listener = function() {
34253        DOCUMENT.removeEventListener("DOMContentLoaded", listener);
34254        loaded = 1;
34255        functions.map((fn) => fn());
34256      };
34257      loaded = false;
34258      if (IS_DOM) {
34259        loaded = (DOCUMENT.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(DOCUMENT.readyState);
34260        if (!loaded) DOCUMENT.addEventListener("DOMContentLoaded", listener);
34261      }
34262      bindInternal4 = function bindInternal42(func, thisContext) {
34263        return function(a, b, c, d) {
34264          return func.call(thisContext, a, b, c, d);
34265        };
34266      };
34267      reduce = function fastReduceObject(subject, fn, initialValue, thisContext) {
34268        var keys = Object.keys(subject), length2 = keys.length, iterator2 = thisContext !== void 0 ? bindInternal4(fn, thisContext) : fn, i2, key, result;
34269        if (initialValue === void 0) {
34270          i2 = 1;
34271          result = subject[keys[0]];
34272        } else {
34273          i2 = 0;
34274          result = initialValue;
34275        }
34276        for (; i2 < length2; i2++) {
34277          key = keys[i2];
34278          result = iterator2(result, subject[key], key, subject);
34279        }
34280        return result;
34281      };
34282      ({
34283        styles,
34284        shims
34285      } = namespace);
34286      FAMILY_NAMES = Object.keys(PREFIX_TO_LONG_STYLE);
34287      PREFIXES_FOR_FAMILY = FAMILY_NAMES.reduce((acc, familyId) => {
34288        acc[familyId] = Object.keys(PREFIX_TO_LONG_STYLE[familyId]);
34289        return acc;
34290      }, {});
34291      _defaultUsablePrefix = null;
34292      _byUnicode = {};
34293      _byLigature = {};
34294      _byOldName = {};
34295      _byOldUnicode = {};
34296      _byAlias = {};
34297      build = () => {
34298        const lookup = (reducer) => {
34299          return reduce(styles, (o$$1, style, prefix2) => {
34300            o$$1[prefix2] = reduce(style, reducer, {});
34301            return o$$1;
34302          }, {});
34303        };
34304        _byUnicode = lookup((acc, icon2, iconName) => {
34305          if (icon2[3]) {
34306            acc[icon2[3]] = iconName;
34307          }
34308          if (icon2[2]) {
34309            const aliases = icon2[2].filter((a$$1) => {
34310              return typeof a$$1 === "number";
34311            });
34312            aliases.forEach((alias) => {
34313              acc[alias.toString(16)] = iconName;
34314            });
34315          }
34316          return acc;
34317        });
34318        _byLigature = lookup((acc, icon2, iconName) => {
34319          acc[iconName] = iconName;
34320          if (icon2[2]) {
34321            const aliases = icon2[2].filter((a$$1) => {
34322              return typeof a$$1 === "string";
34323            });
34324            aliases.forEach((alias) => {
34325              acc[alias] = iconName;
34326            });
34327          }
34328          return acc;
34329        });
34330        _byAlias = lookup((acc, icon2, iconName) => {
34331          const aliases = icon2[2];
34332          acc[iconName] = iconName;
34333          aliases.forEach((alias) => {
34334            acc[alias] = iconName;
34335          });
34336          return acc;
34337        });
34338        const hasRegular = "far" in styles || config.autoFetchSvg;
34339        const shimLookups = reduce(shims, (acc, shim) => {
34340          const maybeNameMaybeUnicode = shim[0];
34341          let prefix2 = shim[1];
34342          const iconName = shim[2];
34343          if (prefix2 === "far" && !hasRegular) {
34344            prefix2 = "fas";
34345          }
34346          if (typeof maybeNameMaybeUnicode === "string") {
34347            acc.names[maybeNameMaybeUnicode] = {
34348              prefix: prefix2,
34349              iconName
34350            };
34351          }
34352          if (typeof maybeNameMaybeUnicode === "number") {
34353            acc.unicodes[maybeNameMaybeUnicode.toString(16)] = {
34354              prefix: prefix2,
34355              iconName
34356            };
34357          }
34358          return acc;
34359        }, {
34360          names: {},
34361          unicodes: {}
34362        });
34363        _byOldName = shimLookups.names;
34364        _byOldUnicode = shimLookups.unicodes;
34365        _defaultUsablePrefix = getCanonicalPrefix(config.styleDefault, {
34366          family: config.familyDefault
34367        });
34368      };
34369      onChange((c$$1) => {
34370        _defaultUsablePrefix = getCanonicalPrefix(c$$1.styleDefault, {
34371          family: config.familyDefault
34372        });
34373      });
34374      build();
34375      emptyCanonicalIcon = () => {
34376        return {
34377          prefix: null,
34378          iconName: null,
34379          rest: []
34380        };
34381      };
34382      newCanonicalFamilies = L.filter((familyId) => {
34383        return familyId !== s || familyId !== t;
34384      });
34385      newCanonicalStyles = Object.keys(ga).filter((key) => key !== s).map((key) => Object.keys(ga[key])).flat();
34386      Library = class {
34387        constructor() {
34388          this.definitions = {};
34389        }
34390        add() {
34391          for (var _len = arguments.length, definitions = new Array(_len), _key = 0; _key < _len; _key++) {
34392            definitions[_key] = arguments[_key];
34393          }
34394          const additions = definitions.reduce(this._pullDefinitions, {});
34395          Object.keys(additions).forEach((key) => {
34396            this.definitions[key] = _objectSpread2(_objectSpread2({}, this.definitions[key] || {}), additions[key]);
34397            defineIcons(key, additions[key]);
34398            const longPrefix = PREFIX_TO_LONG_STYLE[s][key];
34399            if (longPrefix) defineIcons(longPrefix, additions[key]);
34400            build();
34401          });
34402        }
34403        reset() {
34404          this.definitions = {};
34405        }
34406        _pullDefinitions(additions, definition) {
34407          const normalized = definition.prefix && definition.iconName && definition.icon ? {
34408            0: definition
34409          } : definition;
34410          Object.keys(normalized).map((key) => {
34411            const {
34412              prefix: prefix2,
34413              iconName,
34414              icon: icon2
34415            } = normalized[key];
34416            const aliases = icon2[2];
34417            if (!additions[prefix2]) additions[prefix2] = {};
34418            if (aliases.length > 0) {
34419              aliases.forEach((alias) => {
34420                if (typeof alias === "string") {
34421                  additions[prefix2][alias] = icon2;
34422                }
34423              });
34424            }
34425            additions[prefix2][iconName] = icon2;
34426          });
34427          return additions;
34428        }
34429      };
34430      _plugins = [];
34431      _hooks = {};
34432      providers = {};
34433      defaultProviderKeys = Object.keys(providers);
34434      library = new Library();
34435      noAuto = () => {
34436        config.autoReplaceSvg = false;
34437        config.observeMutations = false;
34438        callHooks("noAuto");
34439      };
34440      dom = {
34441        i2svg: function() {
34442          let params = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
34443          if (IS_DOM) {
34444            callHooks("beforeI2svg", params);
34445            callProvided("pseudoElements2svg", params);
34446            return callProvided("i2svg", params);
34447          } else {
34448            return Promise.reject(new Error("Operation requires a DOM of some kind."));
34449          }
34450        },
34451        watch: function() {
34452          let params = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
34453          const {
34454            autoReplaceSvgRoot
34455          } = params;
34456          if (config.autoReplaceSvg === false) {
34457            config.autoReplaceSvg = true;
34458          }
34459          config.observeMutations = true;
34460          domready(() => {
34461            autoReplace({
34462              autoReplaceSvgRoot
34463            });
34464            callHooks("watch", params);
34465          });
34466        }
34467      };
34468      parse2 = {
34469        icon: (icon2) => {
34470          if (icon2 === null) {
34471            return null;
34472          }
34473          if (typeof icon2 === "object" && icon2.prefix && icon2.iconName) {
34474            return {
34475              prefix: icon2.prefix,
34476              iconName: byAlias(icon2.prefix, icon2.iconName) || icon2.iconName
34477            };
34478          }
34479          if (Array.isArray(icon2) && icon2.length === 2) {
34480            const iconName = icon2[1].indexOf("fa-") === 0 ? icon2[1].slice(3) : icon2[1];
34481            const prefix2 = getCanonicalPrefix(icon2[0]);
34482            return {
34483              prefix: prefix2,
34484              iconName: byAlias(prefix2, iconName) || iconName
34485            };
34486          }
34487          if (typeof icon2 === "string" && (icon2.indexOf("".concat(config.cssPrefix, "-")) > -1 || icon2.match(ICON_SELECTION_SYNTAX_PATTERN))) {
34488            const canonicalIcon = getCanonicalIcon(icon2.split(" "), {
34489              skipLookups: true
34490            });
34491            return {
34492              prefix: canonicalIcon.prefix || getDefaultUsablePrefix(),
34493              iconName: byAlias(canonicalIcon.prefix, canonicalIcon.iconName) || canonicalIcon.iconName
34494            };
34495          }
34496          if (typeof icon2 === "string") {
34497            const prefix2 = getDefaultUsablePrefix();
34498            return {
34499              prefix: prefix2,
34500              iconName: byAlias(prefix2, icon2) || icon2
34501            };
34502          }
34503        }
34504      };
34505      api = {
34506        noAuto,
34507        config,
34508        dom,
34509        parse: parse2,
34510        library,
34511        findIconDefinition,
34512        toHtml
34513      };
34514      autoReplace = function() {
34515        let params = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
34516        const {
34517          autoReplaceSvgRoot = DOCUMENT
34518        } = params;
34519        if ((Object.keys(namespace.styles).length > 0 || config.autoFetchSvg) && IS_DOM && config.autoReplaceSvg) api.dom.i2svg({
34520          node: autoReplaceSvgRoot
34521        });
34522      };
34523      ({
34524        styles: styles$1
34525      } = namespace);
34526      missingIconResolutionMixin = {
34527        found: false,
34528        width: 512,
34529        height: 512
34530      };
34531      noop$1 = () => {
34532      };
34533      p$2 = config.measurePerformance && PERFORMANCE && PERFORMANCE.mark && PERFORMANCE.measure ? PERFORMANCE : {
34534        mark: noop$1,
34535        measure: noop$1
34536      };
34537      preamble = 'FA "6.7.2"';
34538      begin = (name2) => {
34539        p$2.mark("".concat(preamble, " ").concat(name2, " begins"));
34540        return () => end(name2);
34541      };
34542      end = (name2) => {
34543        p$2.mark("".concat(preamble, " ").concat(name2, " ends"));
34544        p$2.measure("".concat(preamble, " ").concat(name2), "".concat(preamble, " ").concat(name2, " begins"), "".concat(preamble, " ").concat(name2, " ends"));
34545      };
34546      perf = {
34547        begin,
34548        end
34549      };
34550      noop$2 = () => {
34551      };
34552      mutators = {
34553        replace: function(mutation) {
34554          const node2 = mutation[0];
34555          if (node2.parentNode) {
34556            mutation[1].forEach((abstract) => {
34557              node2.parentNode.insertBefore(convertSVG(abstract), node2);
34558            });
34559            if (node2.getAttribute(DATA_FA_I2SVG) === null && config.keepOriginalSource) {
34560              let comment2 = DOCUMENT.createComment(nodeAsComment(node2));
34561              node2.parentNode.replaceChild(comment2, node2);
34562            } else {
34563              node2.remove();
34564            }
34565          }
34566        },
34567        nest: function(mutation) {
34568          const node2 = mutation[0];
34569          const abstract = mutation[1];
34570          if (~classArray(node2).indexOf(config.replacementClass)) {
34571            return mutators.replace(mutation);
34572          }
34573          const forSvg = new RegExp("".concat(config.cssPrefix, "-.*"));
34574          delete abstract[0].attributes.id;
34575          if (abstract[0].attributes.class) {
34576            const splitClasses = abstract[0].attributes.class.split(" ").reduce((acc, cls) => {
34577              if (cls === config.replacementClass || cls.match(forSvg)) {
34578                acc.toSvg.push(cls);
34579              } else {
34580                acc.toNode.push(cls);
34581              }
34582              return acc;
34583            }, {
34584              toNode: [],
34585              toSvg: []
34586            });
34587            abstract[0].attributes.class = splitClasses.toSvg.join(" ");
34588            if (splitClasses.toNode.length === 0) {
34589              node2.removeAttribute("class");
34590            } else {
34591              node2.setAttribute("class", splitClasses.toNode.join(" "));
34592            }
34593          }
34594          const newInnerHTML = abstract.map((a) => toHtml(a)).join("\n");
34595          node2.setAttribute(DATA_FA_I2SVG, "");
34596          node2.innerHTML = newInnerHTML;
34597        }
34598      };
34599      disabled = false;
34600      mo = null;
34601      ({
34602        styles: styles$2
34603      } = namespace);
34604      render = function(iconDefinition) {
34605        let params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
34606        const {
34607          transform = meaninglessTransform,
34608          symbol = false,
34609          mask = null,
34610          maskId = null,
34611          title = null,
34612          titleId = null,
34613          classes = [],
34614          attributes = {},
34615          styles: styles2 = {}
34616        } = params;
34617        if (!iconDefinition) return;
34618        const {
34619          prefix: prefix2,
34620          iconName,
34621          icon: icon2
34622        } = iconDefinition;
34623        return domVariants(_objectSpread2({
34624          type: "icon"
34625        }, iconDefinition), () => {
34626          callHooks("beforeDOMElementCreation", {
34627            iconDefinition,
34628            params
34629          });
34630          if (config.autoA11y) {
34631            if (title) {
34632              attributes["aria-labelledby"] = "".concat(config.replacementClass, "-title-").concat(titleId || nextUniqueId());
34633            } else {
34634              attributes["aria-hidden"] = "true";
34635              attributes["focusable"] = "false";
34636            }
34637          }
34638          return makeInlineSvgAbstract({
34639            icons: {
34640              main: asFoundIcon(icon2),
34641              mask: mask ? asFoundIcon(mask.icon) : {
34642                found: false,
34643                width: null,
34644                height: null,
34645                icon: {}
34646              }
34647            },
34648            prefix: prefix2,
34649            iconName,
34650            transform: _objectSpread2(_objectSpread2({}, meaninglessTransform), transform),
34651            symbol,
34652            title,
34653            maskId,
34654            titleId,
34655            extra: {
34656              attributes,
34657              styles: styles2,
34658              classes
34659            }
34660          });
34661        });
34662      };
34663      ReplaceElements = {
34664        mixout() {
34665          return {
34666            icon: resolveIcons(render)
34667          };
34668        },
34669        hooks() {
34670          return {
34671            mutationObserverCallbacks(accumulator) {
34672              accumulator.treeCallback = onTree;
34673              accumulator.nodeCallback = onNode;
34674              return accumulator;
34675            }
34676          };
34677        },
34678        provides(providers$$1) {
34679          providers$$1.i2svg = function(params) {
34680            const {
34681              node: node2 = DOCUMENT,
34682              callback = () => {
34683              }
34684            } = params;
34685            return onTree(node2, callback);
34686          };
34687          providers$$1.generateSvgReplacementMutation = function(node2, nodeMeta) {
34688            const {
34689              iconName,
34690              title,
34691              titleId,
34692              prefix: prefix2,
34693              transform,
34694              symbol,
34695              mask,
34696              maskId,
34697              extra
34698            } = nodeMeta;
34699            return new Promise((resolve, reject) => {
34700              Promise.all([findIcon(iconName, prefix2), mask.iconName ? findIcon(mask.iconName, mask.prefix) : Promise.resolve({
34701                found: false,
34702                width: 512,
34703                height: 512,
34704                icon: {}
34705              })]).then((_ref3) => {
34706                let [main, mask2] = _ref3;
34707                resolve([node2, makeInlineSvgAbstract({
34708                  icons: {
34709                    main,
34710                    mask: mask2
34711                  },
34712                  prefix: prefix2,
34713                  iconName,
34714                  transform,
34715                  symbol,
34716                  maskId,
34717                  title,
34718                  titleId,
34719                  extra,
34720                  watchable: true
34721                })]);
34722              }).catch(reject);
34723            });
34724          };
34725          providers$$1.generateAbstractIcon = function(_ref23) {
34726            let {
34727              children,
34728              attributes,
34729              main,
34730              transform,
34731              styles: styles2
34732            } = _ref23;
34733            const styleString = joinStyles(styles2);
34734            if (styleString.length > 0) {
34735              attributes["style"] = styleString;
34736            }
34737            let nextChild;
34738            if (transformIsMeaningful(transform)) {
34739              nextChild = callProvided("generateAbstractTransformGrouping", {
34740                main,
34741                transform,
34742                containerWidth: main.width,
34743                iconWidth: main.width
34744              });
34745            }
34746            children.push(nextChild || main.icon);
34747            return {
34748              children,
34749              attributes
34750            };
34751          };
34752        }
34753      };
34754      Layers = {
34755        mixout() {
34756          return {
34757            layer(assembler) {
34758              let params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
34759              const {
34760                classes = []
34761              } = params;
34762              return domVariants({
34763                type: "layer"
34764              }, () => {
34765                callHooks("beforeDOMElementCreation", {
34766                  assembler,
34767                  params
34768                });
34769                let children = [];
34770                assembler((args) => {
34771                  Array.isArray(args) ? args.map((a) => {
34772                    children = children.concat(a.abstract);
34773                  }) : children = children.concat(args.abstract);
34774                });
34775                return [{
34776                  tag: "span",
34777                  attributes: {
34778                    class: ["".concat(config.cssPrefix, "-layers"), ...classes].join(" ")
34779                  },
34780                  children
34781                }];
34782              });
34783            }
34784          };
34785        }
34786      };
34787      LayersCounter = {
34788        mixout() {
34789          return {
34790            counter(content) {
34791              let params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
34792              const {
34793                title = null,
34794                classes = [],
34795                attributes = {},
34796                styles: styles2 = {}
34797              } = params;
34798              return domVariants({
34799                type: "counter",
34800                content
34801              }, () => {
34802                callHooks("beforeDOMElementCreation", {
34803                  content,
34804                  params
34805                });
34806                return makeLayersCounterAbstract({
34807                  content: content.toString(),
34808                  title,
34809                  extra: {
34810                    attributes,
34811                    styles: styles2,
34812                    classes: ["".concat(config.cssPrefix, "-layers-counter"), ...classes]
34813                  }
34814                });
34815              });
34816            }
34817          };
34818        }
34819      };
34820      LayersText = {
34821        mixout() {
34822          return {
34823            text(content) {
34824              let params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
34825              const {
34826                transform = meaninglessTransform,
34827                title = null,
34828                classes = [],
34829                attributes = {},
34830                styles: styles2 = {}
34831              } = params;
34832              return domVariants({
34833                type: "text",
34834                content
34835              }, () => {
34836                callHooks("beforeDOMElementCreation", {
34837                  content,
34838                  params
34839                });
34840                return makeLayersTextAbstract({
34841                  content,
34842                  transform: _objectSpread2(_objectSpread2({}, meaninglessTransform), transform),
34843                  title,
34844                  extra: {
34845                    attributes,
34846                    styles: styles2,
34847                    classes: ["".concat(config.cssPrefix, "-layers-text"), ...classes]
34848                  }
34849                });
34850              });
34851            }
34852          };
34853        },
34854        provides(providers$$1) {
34855          providers$$1.generateLayersText = function(node2, nodeMeta) {
34856            const {
34857              title,
34858              transform,
34859              extra
34860            } = nodeMeta;
34861            let width = null;
34862            let height = null;
34863            if (IS_IE) {
34864              const computedFontSize = parseInt(getComputedStyle(node2).fontSize, 10);
34865              const boundingClientRect = node2.getBoundingClientRect();
34866              width = boundingClientRect.width / computedFontSize;
34867              height = boundingClientRect.height / computedFontSize;
34868            }
34869            if (config.autoA11y && !title) {
34870              extra.attributes["aria-hidden"] = "true";
34871            }
34872            return Promise.resolve([node2, makeLayersTextAbstract({
34873              content: node2.innerHTML,
34874              width,
34875              height,
34876              transform,
34877              title,
34878              extra,
34879              watchable: true
34880            })]);
34881          };
34882        }
34883      };
34884      CLEAN_CONTENT_PATTERN = new RegExp('"', "ug");
34885      SECONDARY_UNICODE_RANGE = [1105920, 1112319];
34886      _FONT_FAMILY_WEIGHT_TO_PREFIX = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, {
34887        FontAwesome: {
34888          normal: "fas",
34889          400: "fas"
34890        }
34891      }), lt), wa), Yt);
34892      FONT_FAMILY_WEIGHT_TO_PREFIX = Object.keys(_FONT_FAMILY_WEIGHT_TO_PREFIX).reduce((acc, key) => {
34893        acc[key.toLowerCase()] = _FONT_FAMILY_WEIGHT_TO_PREFIX[key];
34894        return acc;
34895      }, {});
34896      FONT_FAMILY_WEIGHT_FALLBACK = Object.keys(FONT_FAMILY_WEIGHT_TO_PREFIX).reduce((acc, fontFamily) => {
34897        const weights = FONT_FAMILY_WEIGHT_TO_PREFIX[fontFamily];
34898        acc[fontFamily] = weights[900] || [...Object.entries(weights)][0][1];
34899        return acc;
34900      }, {});
34901      PseudoElements = {
34902        hooks() {
34903          return {
34904            mutationObserverCallbacks(accumulator) {
34905              accumulator.pseudoElementsCallback = searchPseudoElements;
34906              return accumulator;
34907            }
34908          };
34909        },
34910        provides(providers2) {
34911          providers2.pseudoElements2svg = function(params) {
34912            const {
34913              node: node2 = DOCUMENT
34914            } = params;
34915            if (config.searchPseudoElements) {
34916              searchPseudoElements(node2);
34917            }
34918          };
34919        }
34920      };
34921      _unwatched = false;
34922      MutationObserver$1 = {
34923        mixout() {
34924          return {
34925            dom: {
34926              unwatch() {
34927                disableObservation();
34928                _unwatched = true;
34929              }
34930            }
34931          };
34932        },
34933        hooks() {
34934          return {
34935            bootstrap() {
34936              observe(chainHooks("mutationObserverCallbacks", {}));
34937            },
34938            noAuto() {
34939              disconnect();
34940            },
34941            watch(params) {
34942              const {
34943                observeMutationsRoot
34944              } = params;
34945              if (_unwatched) {
34946                enableObservation();
34947              } else {
34948                observe(chainHooks("mutationObserverCallbacks", {
34949                  observeMutationsRoot
34950                }));
34951              }
34952            }
34953          };
34954        }
34955      };
34956      parseTransformString = (transformString) => {
34957        let transform = {
34958          size: 16,
34959          x: 0,
34960          y: 0,
34961          flipX: false,
34962          flipY: false,
34963          rotate: 0
34964        };
34965        return transformString.toLowerCase().split(" ").reduce((acc, n) => {
34966          const parts = n.toLowerCase().split("-");
34967          const first = parts[0];
34968          let rest = parts.slice(1).join("-");
34969          if (first && rest === "h") {
34970            acc.flipX = true;
34971            return acc;
34972          }
34973          if (first && rest === "v") {
34974            acc.flipY = true;
34975            return acc;
34976          }
34977          rest = parseFloat(rest);
34978          if (isNaN(rest)) {
34979            return acc;
34980          }
34981          switch (first) {
34982            case "grow":
34983              acc.size = acc.size + rest;
34984              break;
34985            case "shrink":
34986              acc.size = acc.size - rest;
34987              break;
34988            case "left":
34989              acc.x = acc.x - rest;
34990              break;
34991            case "right":
34992              acc.x = acc.x + rest;
34993              break;
34994            case "up":
34995              acc.y = acc.y - rest;
34996              break;
34997            case "down":
34998              acc.y = acc.y + rest;
34999              break;
35000            case "rotate":
35001              acc.rotate = acc.rotate + rest;
35002              break;
35003          }
35004          return acc;
35005        }, transform);
35006      };
35007      PowerTransforms = {
35008        mixout() {
35009          return {
35010            parse: {
35011              transform: (transformString) => {
35012                return parseTransformString(transformString);
35013              }
35014            }
35015          };
35016        },
35017        hooks() {
35018          return {
35019            parseNodeAttributes(accumulator, node2) {
35020              const transformString = node2.getAttribute("data-fa-transform");
35021              if (transformString) {
35022                accumulator.transform = parseTransformString(transformString);
35023              }
35024              return accumulator;
35025            }
35026          };
35027        },
35028        provides(providers2) {
35029          providers2.generateAbstractTransformGrouping = function(_ref3) {
35030            let {
35031              main,
35032              transform,
35033              containerWidth,
35034              iconWidth
35035            } = _ref3;
35036            const outer = {
35037              transform: "translate(".concat(containerWidth / 2, " 256)")
35038            };
35039            const innerTranslate = "translate(".concat(transform.x * 32, ", ").concat(transform.y * 32, ") ");
35040            const innerScale = "scale(".concat(transform.size / 16 * (transform.flipX ? -1 : 1), ", ").concat(transform.size / 16 * (transform.flipY ? -1 : 1), ") ");
35041            const innerRotate = "rotate(".concat(transform.rotate, " 0 0)");
35042            const inner = {
35043              transform: "".concat(innerTranslate, " ").concat(innerScale, " ").concat(innerRotate)
35044            };
35045            const path = {
35046              transform: "translate(".concat(iconWidth / 2 * -1, " -256)")
35047            };
35048            const operations = {
35049              outer,
35050              inner,
35051              path
35052            };
35053            return {
35054              tag: "g",
35055              attributes: _objectSpread2({}, operations.outer),
35056              children: [{
35057                tag: "g",
35058                attributes: _objectSpread2({}, operations.inner),
35059                children: [{
35060                  tag: main.icon.tag,
35061                  children: main.icon.children,
35062                  attributes: _objectSpread2(_objectSpread2({}, main.icon.attributes), operations.path)
35063                }]
35064              }]
35065            };
35066          };
35067        }
35068      };
35069      ALL_SPACE = {
35070        x: 0,
35071        y: 0,
35072        width: "100%",
35073        height: "100%"
35074      };
35075      Masks = {
35076        hooks() {
35077          return {
35078            parseNodeAttributes(accumulator, node2) {
35079              const maskData = node2.getAttribute("data-fa-mask");
35080              const mask = !maskData ? emptyCanonicalIcon() : getCanonicalIcon(maskData.split(" ").map((i2) => i2.trim()));
35081              if (!mask.prefix) {
35082                mask.prefix = getDefaultUsablePrefix();
35083              }
35084              accumulator.mask = mask;
35085              accumulator.maskId = node2.getAttribute("data-fa-mask-id");
35086              return accumulator;
35087            }
35088          };
35089        },
35090        provides(providers2) {
35091          providers2.generateAbstractMask = function(_ref3) {
35092            let {
35093              children,
35094              attributes,
35095              main,
35096              mask,
35097              maskId: explicitMaskId,
35098              transform
35099            } = _ref3;
35100            const {
35101              width: mainWidth,
35102              icon: mainPath
35103            } = main;
35104            const {
35105              width: maskWidth,
35106              icon: maskPath
35107            } = mask;
35108            const trans = transformForSvg({
35109              transform,
35110              containerWidth: maskWidth,
35111              iconWidth: mainWidth
35112            });
35113            const maskRect = {
35114              tag: "rect",
35115              attributes: _objectSpread2(_objectSpread2({}, ALL_SPACE), {}, {
35116                fill: "white"
35117              })
35118            };
35119            const maskInnerGroupChildrenMixin = mainPath.children ? {
35120              children: mainPath.children.map(fillBlack)
35121            } : {};
35122            const maskInnerGroup = {
35123              tag: "g",
35124              attributes: _objectSpread2({}, trans.inner),
35125              children: [fillBlack(_objectSpread2({
35126                tag: mainPath.tag,
35127                attributes: _objectSpread2(_objectSpread2({}, mainPath.attributes), trans.path)
35128              }, maskInnerGroupChildrenMixin))]
35129            };
35130            const maskOuterGroup = {
35131              tag: "g",
35132              attributes: _objectSpread2({}, trans.outer),
35133              children: [maskInnerGroup]
35134            };
35135            const maskId = "mask-".concat(explicitMaskId || nextUniqueId());
35136            const clipId = "clip-".concat(explicitMaskId || nextUniqueId());
35137            const maskTag = {
35138              tag: "mask",
35139              attributes: _objectSpread2(_objectSpread2({}, ALL_SPACE), {}, {
35140                id: maskId,
35141                maskUnits: "userSpaceOnUse",
35142                maskContentUnits: "userSpaceOnUse"
35143              }),
35144              children: [maskRect, maskOuterGroup]
35145            };
35146            const defs = {
35147              tag: "defs",
35148              children: [{
35149                tag: "clipPath",
35150                attributes: {
35151                  id: clipId
35152                },
35153                children: deGroup(maskPath)
35154              }, maskTag]
35155            };
35156            children.push(defs, {
35157              tag: "rect",
35158              attributes: _objectSpread2({
35159                fill: "currentColor",
35160                "clip-path": "url(#".concat(clipId, ")"),
35161                mask: "url(#".concat(maskId, ")")
35162              }, ALL_SPACE)
35163            });
35164            return {
35165              children,
35166              attributes
35167            };
35168          };
35169        }
35170      };
35171      MissingIconIndicator = {
35172        provides(providers2) {
35173          let reduceMotion = false;
35174          if (WINDOW.matchMedia) {
35175            reduceMotion = WINDOW.matchMedia("(prefers-reduced-motion: reduce)").matches;
35176          }
35177          providers2.missingIconAbstract = function() {
35178            const gChildren = [];
35179            const FILL = {
35180              fill: "currentColor"
35181            };
35182            const ANIMATION_BASE = {
35183              attributeType: "XML",
35184              repeatCount: "indefinite",
35185              dur: "2s"
35186            };
35187            gChildren.push({
35188              tag: "path",
35189              attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
35190                d: "M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"
35191              })
35192            });
35193            const OPACITY_ANIMATE = _objectSpread2(_objectSpread2({}, ANIMATION_BASE), {}, {
35194              attributeName: "opacity"
35195            });
35196            const dot = {
35197              tag: "circle",
35198              attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
35199                cx: "256",
35200                cy: "364",
35201                r: "28"
35202              }),
35203              children: []
35204            };
35205            if (!reduceMotion) {
35206              dot.children.push({
35207                tag: "animate",
35208                attributes: _objectSpread2(_objectSpread2({}, ANIMATION_BASE), {}, {
35209                  attributeName: "r",
35210                  values: "28;14;28;28;14;28;"
35211                })
35212              }, {
35213                tag: "animate",
35214                attributes: _objectSpread2(_objectSpread2({}, OPACITY_ANIMATE), {}, {
35215                  values: "1;0;1;1;0;1;"
35216                })
35217              });
35218            }
35219            gChildren.push(dot);
35220            gChildren.push({
35221              tag: "path",
35222              attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
35223                opacity: "1",
35224                d: "M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"
35225              }),
35226              children: reduceMotion ? [] : [{
35227                tag: "animate",
35228                attributes: _objectSpread2(_objectSpread2({}, OPACITY_ANIMATE), {}, {
35229                  values: "1;0;0;0;0;1;"
35230                })
35231              }]
35232            });
35233            if (!reduceMotion) {
35234              gChildren.push({
35235                tag: "path",
35236                attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
35237                  opacity: "0",
35238                  d: "M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"
35239                }),
35240                children: [{
35241                  tag: "animate",
35242                  attributes: _objectSpread2(_objectSpread2({}, OPACITY_ANIMATE), {}, {
35243                    values: "0;0;1;1;0;0;"
35244                  })
35245                }]
35246              });
35247            }
35248            return {
35249              tag: "g",
35250              attributes: {
35251                "class": "missing"
35252              },
35253              children: gChildren
35254            };
35255          };
35256        }
35257      };
35258      SvgSymbols = {
35259        hooks() {
35260          return {
35261            parseNodeAttributes(accumulator, node2) {
35262              const symbolData = node2.getAttribute("data-fa-symbol");
35263              const symbol = symbolData === null ? false : symbolData === "" ? true : symbolData;
35264              accumulator["symbol"] = symbol;
35265              return accumulator;
35266            }
35267          };
35268        }
35269      };
35270      plugins = [InjectCSS, ReplaceElements, Layers, LayersCounter, LayersText, PseudoElements, MutationObserver$1, PowerTransforms, Masks, MissingIconIndicator, SvgSymbols];
35271      registerPlugins(plugins, {
35272        mixoutsTo: api
35273      });
35274      noAuto$1 = api.noAuto;
35275      config$1 = api.config;
35276      library$1 = api.library;
35277      dom$1 = api.dom;
35278      parse$1 = api.parse;
35279      findIconDefinition$1 = api.findIconDefinition;
35280      toHtml$1 = api.toHtml;
35281      icon = api.icon;
35282      layer = api.layer;
35283      text = api.text;
35284      counter = api.counter;
35285    }
35286  });
35287
35288  
vendor: 13,347 bytes, lines 35288-35610
35288// node_modules/@fortawesome/react-fontawesome/index.es.js
35289  function ownKeys2(object, enumerableOnly) {
35290    var keys = Object.keys(object);
35291    if (Object.getOwnPropertySymbols) {
35292      var symbols = Object.getOwnPropertySymbols(object);
35293      enumerableOnly && (symbols = symbols.filter(function(sym) {
35294        return Object.getOwnPropertyDescriptor(object, sym).enumerable;
35295      })), keys.push.apply(keys, symbols);
35296    }
35297    return keys;
35298  }
35299  function _objectSpread22(target) {
35300    for (var i2 = 1; i2 < arguments.length; i2++) {
35301      var source = null != arguments[i2] ? arguments[i2] : {};
35302      i2 % 2 ? ownKeys2(Object(source), true).forEach(function(key) {
35303        _defineProperty2(target, key, source[key]);
35304      }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys2(Object(source)).forEach(function(key) {
35305        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
35306      });
35307    }
35308    return target;
35309  }
35310  function _typeof(obj) {
35311    "@babel/helpers - typeof";
35312    return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
35313      return typeof obj2;
35314    } : function(obj2) {
35315      return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
35316    }, _typeof(obj);
35317  }
35318  function _defineProperty2(obj, key, value) {
35319    if (key in obj) {
35320      Object.defineProperty(obj, key, {
35321        value,
35322        enumerable: true,
35323        configurable: true,
35324        writable: true
35325      });
35326    } else {
35327      obj[key] = value;
35328    }
35329    return obj;
35330  }
35331  function _objectWithoutPropertiesLoose(source, excluded) {
35332    if (source == null) return {};
35333    var target = {};
35334    var sourceKeys = Object.keys(source);
35335    var key, i2;
35336    for (i2 = 0; i2 < sourceKeys.length; i2++) {
35337      key = sourceKeys[i2];
35338      if (excluded.indexOf(key) >= 0) continue;
35339      target[key] = source[key];
35340    }
35341    return target;
35342  }
35343  function _objectWithoutProperties(source, excluded) {
35344    if (source == null) return {};
35345    var target = _objectWithoutPropertiesLoose(source, excluded);
35346    var key, i2;
35347    if (Object.getOwnPropertySymbols) {
35348      var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
35349      for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
35350        key = sourceSymbolKeys[i2];
35351        if (excluded.indexOf(key) >= 0) continue;
35352        if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
35353        target[key] = source[key];
35354      }
35355    }
35356    return target;
35357  }
35358  function _toConsumableArray(arr) {
35359    return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
35360  }
35361  function _arrayWithoutHoles(arr) {
35362    if (Array.isArray(arr)) return _arrayLikeToArray(arr);
35363  }
35364  function _iterableToArray(iter) {
35365    if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
35366  }
35367  function _unsupportedIterableToArray(o2, minLen) {
35368    if (!o2) return;
35369    if (typeof o2 === "string") return _arrayLikeToArray(o2, minLen);
35370    var n = Object.prototype.toString.call(o2).slice(8, -1);
35371    if (n === "Object" && o2.constructor) n = o2.constructor.name;
35372    if (n === "Map" || n === "Set") return Array.from(o2);
35373    if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o2, minLen);
35374  }
35375  function _arrayLikeToArray(arr, len) {
35376    if (len == null || len > arr.length) len = arr.length;
35377    for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++) arr2[i2] = arr[i2];
35378    return arr2;
35379  }
35380  function _nonIterableSpread() {
35381    throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
35382  }
35383  function classList(props) {
35384    var _classes;
35385    var beat = props.beat, fade = props.fade, beatFade = props.beatFade, bounce = props.bounce, shake = props.shake, flash = props.flash, spin = props.spin, spinPulse = props.spinPulse, spinReverse = props.spinReverse, pulse = props.pulse, fixedWidth = props.fixedWidth, inverse = props.inverse, border = props.border, listItem = props.listItem, flip2 = props.flip, size2 = props.size, rotation = props.rotation, pull = props.pull;
35386    var classes = (_classes = {
35387      "fa-beat": beat,
35388      "fa-fade": fade,
35389      "fa-beat-fade": beatFade,
35390      "fa-bounce": bounce,
35391      "fa-shake": shake,
35392      "fa-flash": flash,
35393      "fa-spin": spin,
35394      "fa-spin-reverse": spinReverse,
35395      "fa-spin-pulse": spinPulse,
35396      "fa-pulse": pulse,
35397      "fa-fw": fixedWidth,
35398      "fa-inverse": inverse,
35399      "fa-border": border,
35400      "fa-li": listItem,
35401      "fa-flip": flip2 === true,
35402      "fa-flip-horizontal": flip2 === "horizontal" || flip2 === "both",
35403      "fa-flip-vertical": flip2 === "vertical" || flip2 === "both"
35404    }, _defineProperty2(_classes, "fa-".concat(size2), typeof size2 !== "undefined" && size2 !== null), _defineProperty2(_classes, "fa-rotate-".concat(rotation), typeof rotation !== "undefined" && rotation !== null && rotation !== 0), _defineProperty2(_classes, "fa-pull-".concat(pull), typeof pull !== "undefined" && pull !== null), _defineProperty2(_classes, "fa-swap-opacity", props.swapOpacity), _classes);
35405    return Object.keys(classes).map(function(key) {
35406      return classes[key] ? key : null;
35407    }).filter(function(key) {
35408      return key;
35409    });
35410  }
35411  function _isNumerical(obj) {
35412    obj = obj - 0;
35413    return obj === obj;
35414  }
35415  function camelize(string) {
35416    if (_isNumerical(string)) {
35417      return string;
35418    }
35419    string = string.replace(/[\-_\s]+(.)?/g, function(match2, chr) {
35420      return chr ? chr.toUpperCase() : "";
35421    });
35422    return string.substr(0, 1).toLowerCase() + string.substr(1);
35423  }
35424  function capitalize(val) {
35425    return val.charAt(0).toUpperCase() + val.slice(1);
35426  }
35427  function styleToObject(style) {
35428    return style.split(";").map(function(s2) {
35429      return s2.trim();
35430    }).filter(function(s2) {
35431      return s2;
35432    }).reduce(function(acc, pair) {
35433      var i2 = pair.indexOf(":");
35434      var prop = camelize(pair.slice(0, i2));
35435      var value = pair.slice(i2 + 1).trim();
35436      prop.startsWith("webkit") ? acc[capitalize(prop)] = value : acc[prop] = value;
35437      return acc;
35438    }, {});
35439  }
35440  function convert(createElement7, element) {
35441    var extraProps = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
35442    if (typeof element === "string") {
35443      return element;
35444    }
35445    var children = (element.children || []).map(function(child) {
35446      return convert(createElement7, child);
35447    });
35448    var mixins = Object.keys(element.attributes || {}).reduce(function(acc, key) {
35449      var val = element.attributes[key];
35450      switch (key) {
35451        case "class":
35452          acc.attrs["className"] = val;
35453          delete element.attributes["class"];
35454          break;
35455        case "style":
35456          acc.attrs["style"] = styleToObject(val);
35457          break;
35458        default:
35459          if (key.indexOf("aria-") === 0 || key.indexOf("data-") === 0) {
35460            acc.attrs[key.toLowerCase()] = val;
35461          } else {
35462            acc.attrs[camelize(key)] = val;
35463          }
35464      }
35465      return acc;
35466    }, {
35467      attrs: {}
35468    });
35469    var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties(extraProps, _excluded);
35470    mixins.attrs["style"] = _objectSpread22(_objectSpread22({}, mixins.attrs["style"]), existingStyle);
35471    return createElement7.apply(void 0, [element.tag, _objectSpread22(_objectSpread22({}, mixins.attrs), remaining)].concat(_toConsumableArray(children)));
35472  }
35473  function log() {
35474    if (!PRODUCTION2 && console && typeof console.error === "function") {
35475      var _console;
35476      (_console = console).error.apply(_console, arguments);
35477    }
35478  }
35479  function normalizeIconArgs(icon2) {
35480    if (icon2 && _typeof(icon2) === "object" && icon2.prefix && icon2.iconName && icon2.icon) {
35481      return icon2;
35482    }
35483    if (parse$1.icon) {
35484      return parse$1.icon(icon2);
35485    }
35486    if (icon2 === null) {
35487      return null;
35488    }
35489    if (icon2 && _typeof(icon2) === "object" && icon2.prefix && icon2.iconName) {
35490      return icon2;
35491    }
35492    if (Array.isArray(icon2) && icon2.length === 2) {
35493      return {
35494        prefix: icon2[0],
35495        iconName: icon2[1]
35496      };
35497    }
35498    if (typeof icon2 === "string") {
35499      return {
35500        prefix: "fas",
35501        iconName: icon2
35502      };
35503    }
35504  }
35505  function objectWithKey(key, value) {
35506    return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty2({}, key, value) : {};
35507  }
35508  var import_prop_types, import_react2, _excluded, PRODUCTION2, FontAwesomeIcon, convertCurry;
35509  var init_index_es = __esm({
35510    "node_modules/@fortawesome/react-fontawesome/index.es.js"() {
35511      init_esbuild_shims();
35512      init_fontawesome_svg_core();
35513      import_prop_types = __toESM(require_prop_types());
35514      import_react2 = __toESM(require_react());
35515      _excluded = ["style"];
35516      PRODUCTION2 = false;
35517      try {
35518        PRODUCTION2 = false;
35519      } catch (e) {
35520      }
35521      FontAwesomeIcon = /* @__PURE__ */ import_react2.default.forwardRef(function(props, ref) {
35522        var iconArgs = props.icon, maskArgs = props.mask, symbol = props.symbol, className = props.className, title = props.title, titleId = props.titleId, maskId = props.maskId;
35523        var iconLookup = normalizeIconArgs(iconArgs);
35524        var classes = objectWithKey("classes", [].concat(_toConsumableArray(classList(props)), _toConsumableArray(className.split(" "))));
35525        var transform = objectWithKey("transform", typeof props.transform === "string" ? parse$1.transform(props.transform) : props.transform);
35526        var mask = objectWithKey("mask", normalizeIconArgs(maskArgs));
35527        var renderedIcon = icon(iconLookup, _objectSpread22(_objectSpread22(_objectSpread22(_objectSpread22({}, classes), transform), mask), {}, {
35528          symbol,
35529          title,
35530          titleId,
35531          maskId
35532        }));
35533        if (!renderedIcon) {
35534          log("Could not find icon", iconLookup);
35535          return null;
35536        }
35537        var abstract = renderedIcon.abstract;
35538        var extraProps = {
35539          ref
35540        };
35541        Object.keys(props).forEach(function(key) {
35542          if (!FontAwesomeIcon.defaultProps.hasOwnProperty(key)) {
35543            extraProps[key] = props[key];
35544          }
35545        });
35546        return convertCurry(abstract[0], extraProps);
35547      });
35548      FontAwesomeIcon.displayName = "FontAwesomeIcon";
35549      FontAwesomeIcon.propTypes = {
35550        beat: import_prop_types.default.bool,
35551        border: import_prop_types.default.bool,
35552        beatFade: import_prop_types.default.bool,
35553        bounce: import_prop_types.default.bool,
35554        className: import_prop_types.default.string,
35555        fade: import_prop_types.default.bool,
35556        flash: import_prop_types.default.bool,
35557        mask: import_prop_types.default.oneOfType([import_prop_types.default.object, import_prop_types.default.array, import_prop_types.default.string]),
35558        maskId: import_prop_types.default.string,
35559        fixedWidth: import_prop_types.default.bool,
35560        inverse: import_prop_types.default.bool,
35561        flip: import_prop_types.default.oneOf([true, false, "horizontal", "vertical", "both"]),
35562        icon: import_prop_types.default.oneOfType([import_prop_types.default.object, import_prop_types.default.array, import_prop_types.default.string]),
35563        listItem: import_prop_types.default.bool,
35564        pull: import_prop_types.default.oneOf(["right", "left"]),
35565        pulse: import_prop_types.default.bool,
35566        rotation: import_prop_types.default.oneOf([0, 90, 180, 270]),
35567        shake: import_prop_types.default.bool,
35568        size: import_prop_types.default.oneOf(["2xs", "xs", "sm", "lg", "xl", "2xl", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"]),
35569        spin: import_prop_types.default.bool,
35570        spinPulse: import_prop_types.default.bool,
35571        spinReverse: import_prop_types.default.bool,
35572        symbol: import_prop_types.default.oneOfType([import_prop_types.default.bool, import_prop_types.default.string]),
35573        title: import_prop_types.default.string,
35574        titleId: import_prop_types.default.string,
35575        transform: import_prop_types.default.oneOfType([import_prop_types.default.string, import_prop_types.default.object]),
35576        swapOpacity: import_prop_types.default.bool
35577      };
35578      FontAwesomeIcon.defaultProps = {
35579        border: false,
35580        className: "",
35581        mask: null,
35582        maskId: null,
35583        fixedWidth: false,
35584        inverse: false,
35585        flip: false,
35586        icon: null,
35587        listItem: false,
35588        pull: null,
35589        pulse: false,
35590        rotation: null,
35591        size: null,
35592        spin: false,
35593        spinPulse: false,
35594        spinReverse: false,
35595        beat: false,
35596        fade: false,
35597        beatFade: false,
35598        bounce: false,
35599        shake: false,
35600        symbol: false,
35601        title: "",
35602        titleId: null,
35603        transform: null,
35604        swapOpacity: false
35605      };
35606      convertCurry = convert.bind(null, import_react2.default.createElement);
35607    }
35608  });
35609
35610  
vendor: 3,358 bytes, lines 35610-35715
35610// node_modules/js-cookie/dist/js.cookie.mjs
35611  function assign2(target) {
35612    for (var i2 = 1; i2 < arguments.length; i2++) {
35613      var source = arguments[i2];
35614      for (var key in source) {
35615        if (key === "__proto__") continue;
35616        target[key] = source[key];
35617      }
35618    }
35619    return target;
35620  }
35621  function init(converter, defaultAttributes) {
35622    function set(name2, value, attributes) {
35623      if (typeof document === "undefined") {
35624        return;
35625      }
35626      attributes = assign2({}, defaultAttributes, attributes);
35627      if (typeof attributes.expires === "number") {
35628        attributes.expires = new Date(Date.now() + attributes.expires * 864e5);
35629      }
35630      if (attributes.expires) {
35631        attributes.expires = attributes.expires.toUTCString();
35632      }
35633      name2 = encodeURIComponent(name2).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
35634      var stringifiedAttributes = "";
35635      for (var attributeName in attributes) {
35636        if (!attributes[attributeName]) {
35637          continue;
35638        }
35639        stringifiedAttributes += "; " + attributeName;
35640        if (attributes[attributeName] === true) {
35641          continue;
35642        }
35643        stringifiedAttributes += "=" + attributes[attributeName].split(";")[0];
35644      }
35645      return document.cookie = name2 + "=" + converter.write(value, name2) + stringifiedAttributes;
35646    }
35647    function get(name2) {
35648      if (typeof document === "undefined" || arguments.length && !name2) {
35649        return;
35650      }
35651      var cookies = document.cookie ? document.cookie.split("; ") : [];
35652      var jar = {};
35653      for (var i2 = 0; i2 < cookies.length; i2++) {
35654        var parts = cookies[i2].split("=");
35655        var value = parts.slice(1).join("=");
35656        try {
35657          var found = decodeURIComponent(parts[0]);
35658          if (!(found in jar)) jar[found] = converter.read(value, found);
35659          if (name2 === found) {
35660            break;
35661          }
35662        } catch (_e) {
35663        }
35664      }
35665      return name2 ? jar[name2] : jar;
35666    }
35667    return Object.create(
35668      {
35669        set,
35670        get,
35671        remove: function(name2, attributes) {
35672          set(
35673            name2,
35674            "",
35675            assign2({}, attributes, {
35676              expires: -1
35677            })
35678          );
35679        },
35680        withAttributes: function(attributes) {
35681          return init(this.converter, assign2({}, this.attributes, attributes));
35682        },
35683        withConverter: function(converter2) {
35684          return init(assign2({}, this.converter, converter2), this.attributes);
35685        }
35686      },
35687      {
35688        attributes: { value: Object.freeze(defaultAttributes) },
35689        converter: { value: Object.freeze(converter) }
35690      }
35691    );
35692  }
35693  var defaultConverter, api2;
35694  var init_js_cookie = __esm({
35695    "node_modules/js-cookie/dist/js.cookie.mjs"() {
35696      init_esbuild_shims();
35697      defaultConverter = {
35698        read: function(value) {
35699          if (value[0] === '"') {
35700            value = value.slice(1, -1);
35701          }
35702          return value.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
35703        },
35704        write: function(value) {
35705          return encodeURIComponent(value).replace(
35706            /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,
35707            decodeURIComponent
35708          );
35709        }
35710      };
35711      api2 = init(defaultConverter, { path: "/" });
35712    }
35713  });
35714
35715  
vendor: 295 bytes, lines 35715-35728
35715// node_modules/axios/lib/helpers/bind.js
35716  function bind(fn, thisArg) {
35717    return function wrap3() {
35718      return fn.apply(thisArg, arguments);
35719    };
35720  }
35721  var init_bind = __esm({
35722    "node_modules/axios/lib/helpers/bind.js"() {
35723      "use strict";
35724      init_esbuild_shims();
35725    }
35726  });
35727
35728  
vendor: 20,497 bytes, lines 35728-36284
35728// node_modules/axios/lib/utils.js
35729  function isBuffer(val) {
35730    return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);
35731  }
35732  function isArrayBufferView(val) {
35733    let result;
35734    if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
35735      result = ArrayBuffer.isView(val);
35736    } else {
35737      result = val && val.buffer && isArrayBuffer(val.buffer);
35738    }
35739    return result;
35740  }
35741  function getGlobal() {
35742    if (typeof globalThis !== "undefined") return globalThis;
35743    if (typeof self !== "undefined") return self;
35744    if (typeof window !== "undefined") return window;
35745    if (typeof global !== "undefined") return global;
35746    return {};
35747  }
35748  function forEach(obj, fn, { allOwnKeys = false } = {}) {
35749    if (obj === null || typeof obj === "undefined") {
35750      return;
35751    }
35752    let i2;
35753    let l;
35754    if (typeof obj !== "object") {
35755      obj = [obj];
35756    }
35757    if (isArray(obj)) {
35758      for (i2 = 0, l = obj.length; i2 < l; i2++) {
35759        fn.call(null, obj[i2], i2, obj);
35760      }
35761    } else {
35762      if (isBuffer(obj)) {
35763        return;
35764      }
35765      const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
35766      const len = keys.length;
35767      let key;
35768      for (i2 = 0; i2 < len; i2++) {
35769        key = keys[i2];
35770        fn.call(null, obj[key], key, obj);
35771      }
35772    }
35773  }
35774  function findKey(obj, key) {
35775    if (isBuffer(obj)) {
35776      return null;
35777    }
35778    key = key.toLowerCase();
35779    const keys = Object.keys(obj);
35780    let i2 = keys.length;
35781    let _key;
35782    while (i2-- > 0) {
35783      _key = keys[i2];
35784      if (key === _key.toLowerCase()) {
35785        return _key;
35786      }
35787    }
35788    return null;
35789  }
35790  function merge(...objs) {
35791    const { caseless, skipUndefined } = isContextDefined(this) && this || {};
35792    const result = {};
35793    const assignValue = (val, key) => {
35794      if (key === "__proto__" || key === "constructor" || key === "prototype") {
35795        return;
35796      }
35797      const targetKey = caseless && typeof key === "string" && findKey(result, key) || key;
35798      const existing = hasOwnProperty2(result, targetKey) ? result[targetKey] : void 0;
35799      if (isPlainObject(existing) && isPlainObject(val)) {
35800        result[targetKey] = merge(existing, val);
35801      } else if (isPlainObject(val)) {
35802        result[targetKey] = merge({}, val);
35803      } else if (isArray(val)) {
35804        result[targetKey] = val.slice();
35805      } else if (!skipUndefined || !isUndefined(val)) {
35806        result[targetKey] = val;
35807      }
35808    };
35809    for (let i2 = 0, l = objs.length; i2 < l; i2++) {
35810      const source = objs[i2];
35811      if (!source || isBuffer(source)) {
35812        continue;
35813      }
35814      forEach(source, assignValue);
35815      if (typeof source !== "object" || isArray(source)) {
35816        continue;
35817      }
35818      const symbols = Object.getOwnPropertySymbols(source);
35819      for (let j2 = 0; j2 < symbols.length; j2++) {
35820        const symbol = symbols[j2];
35821        if (propertyIsEnumerable.call(source, symbol)) {
35822          assignValue(source[symbol], symbol);
35823        }
35824      }
35825    }
35826    return result;
35827  }
35828  function isSpecCompliantForm(thing) {
35829    return !!(thing && isFunction(thing.append) && thing[toStringTag] === "FormData" && thing[iterator]);
35830  }
35831  var toString, getPrototypeOf, iterator, toStringTag, hasOwnProperty2, isUnsafeObjectKey, isPrototypeBoundary, isSafeAndFullyMutable, hasOwnInPrototypeChain, getSafeProp, toSafeFlatObject, kindOf, kindOfTest, typeOfTest, isArray, isUndefined, isArrayBuffer, isString, isFunction, isNumber, isObject, isBoolean, isPlainObject, isEmptyObject, isDate, isFile, isReactNativeBlob, isReactNative, isBlob, isFileList, isSet, isStream, G2, FormDataCtor, isFormData, isURLSearchParams, isReadableStream, isRequest, isResponse, isHeaders, trim2, _global, isContextDefined, extend, stripBOM, inherits, toFlatObject, endsWith, toArray2, isTypedArray, forEachEntry, matchAll, isHTMLForm, toCamelCase, propertyIsEnumerable, isRegExp, reduceDescriptors, freezeMethods, toObjectSet, noop2, toFiniteNumber, toJSONObject, isAsyncFn, isThenable, _setImmediate, asap, isIterable, isSafeIterable, utils_default;
35832  var init_utils = __esm({
35833    "node_modules/axios/lib/utils.js"() {
35834      "use strict";
35835      init_esbuild_shims();
35836      init_bind();
35837      ({ toString } = Object.prototype);
35838      ({ getPrototypeOf } = Object);
35839      ({ iterator, toStringTag } = Symbol);
35840      hasOwnProperty2 = (({ hasOwnProperty: hasOwnProperty3 }) => (obj, prop) => hasOwnProperty3.call(obj, prop))(Object.prototype);
35841      isUnsafeObjectKey = (prop) => typeof prop === "string" && (prop === "__proto__" || prop === "constructor" || prop === "prototype");
35842      isPrototypeBoundary = (obj, prototype2, source) => obj === Object.prototype || !source && prototype2 === null;
35843      isSafeAndFullyMutable = (obj) => {
35844        if (!Object.isExtensible(obj)) {
35845          return false;
35846        }
35847        const props = Object.getOwnPropertyNames(obj);
35848        if (Object.getOwnPropertySymbols) {
35849          props.push(...Object.getOwnPropertySymbols(obj));
35850        }
35851        return props.every((prop) => {
35852          if (isUnsafeObjectKey(prop)) {
35853            return false;
35854          }
35855          const descriptor = Object.getOwnPropertyDescriptor(obj, prop);
35856          return !!descriptor && descriptor.configurable && descriptor.writable === true;
35857        });
35858      };
35859      hasOwnInPrototypeChain = (thing, prop) => {
35860        let obj = thing;
35861        const seen = [];
35862        while (obj != null) {
35863          if (seen.indexOf(obj) !== -1) {
35864            return false;
35865          }
35866          seen.push(obj);
35867          const prototype2 = getPrototypeOf(obj);
35868          if (isPrototypeBoundary(obj, prototype2, obj === thing)) {
35869            return false;
35870          }
35871          if (hasOwnProperty2(obj, prop)) {
35872            return true;
35873          }
35874          obj = prototype2;
35875        }
35876        return false;
35877      };
35878      getSafeProp = (obj, prop) => obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : void 0;
35879      toSafeFlatObject = (thing) => {
35880        if (thing == null || typeof thing !== "object" && typeof thing !== "function") {
35881          return thing;
35882        }
35883        const sourcePrototype = getPrototypeOf(thing);
35884        if (sourcePrototype === null && isSafeAndFullyMutable(thing)) {
35885          return thing;
35886        }
35887        const result = /* @__PURE__ */ Object.create(null);
35888        const merged = /* @__PURE__ */ Object.create(null);
35889        const seen = [];
35890        let current = thing;
35891        while (current != null) {
35892          if (seen.indexOf(current) !== -1) {
35893            break;
35894          }
35895          seen.push(current);
35896          const prototype2 = current === thing ? sourcePrototype : getPrototypeOf(current);
35897          if (isPrototypeBoundary(current, prototype2, current === thing)) {
35898            break;
35899          }
35900          const props = Object.getOwnPropertyNames(current);
35901          if (Object.getOwnPropertySymbols) {
35902            props.push(...Object.getOwnPropertySymbols(current));
35903          }
35904          for (const prop of props) {
35905            if (isUnsafeObjectKey(prop)) {
35906              continue;
35907            }
35908            if (!hasOwnProperty2(merged, prop)) {
35909              result[prop] = thing[prop];
35910              merged[prop] = true;
35911            }
35912          }
35913          current = prototype2;
35914        }
35915        return result;
35916      };
35917      kindOf = /* @__PURE__ */ ((cache) => (thing) => {
35918        const str = toString.call(thing);
35919        return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
35920      })(/* @__PURE__ */ Object.create(null));
35921      kindOfTest = (type) => {
35922        type = type.toLowerCase();
35923        return (thing) => kindOf(thing) === type;
35924      };
35925      typeOfTest = (type) => (thing) => typeof thing === type;
35926      ({ isArray } = Array);
35927      isUndefined = typeOfTest("undefined");
35928      isArrayBuffer = kindOfTest("ArrayBuffer");
35929      isString = typeOfTest("string");
35930      isFunction = typeOfTest("function");
35931      isNumber = typeOfTest("number");
35932      isObject = (thing) => thing !== null && typeof thing === "object";
35933      isBoolean = (thing) => thing === true || thing === false;
35934      isPlainObject = (val) => {
35935        if (!isObject(val)) {
35936          return false;
35937        }
35938        const prototype2 = getPrototypeOf(val);
35939        return (prototype2 === null || prototype2 === Object.prototype || getPrototypeOf(prototype2) === null) && // Treat safe own/inherited Symbol.toStringTag or Symbol.iterator members as
35940        // evidence the value is tagged/iterable, while ignoring members reachable
35941        // only through shared or terminal prototype boundaries.
35942        !hasOwnInPrototypeChain(val, toStringTag) && !hasOwnInPrototypeChain(val, iterator);
35943      };
35944      isEmptyObject = (val) => {
35945        if (!isObject(val) || isBuffer(val)) {
35946          return false;
35947        }
35948        try {
35949          return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
35950        } catch (e) {
35951          return false;
35952        }
35953      };
35954      isDate = kindOfTest("Date");
35955      isFile = kindOfTest("File");
35956      isReactNativeBlob = (value) => {
35957        return !!(value && typeof value.uri !== "undefined");
35958      };
35959      isReactNative = (formData) => formData && typeof formData.getParts !== "undefined";
35960      isBlob = kindOfTest("Blob");
35961      isFileList = kindOfTest("FileList");
35962      isSet = kindOfTest("Set");
35963      isStream = (val) => isObject(val) && isFunction(val.pipe);
35964      G2 = getGlobal();
35965      FormDataCtor = typeof G2.FormData !== "undefined" ? G2.FormData : void 0;
35966      isFormData = (thing) => {
35967        if (!thing) return false;
35968        if (FormDataCtor && thing instanceof FormDataCtor) return true;
35969        const proto = getPrototypeOf(thing);
35970        if (!proto || proto === Object.prototype) return false;
35971        if (!isFunction(thing.append)) return false;
35972        const kind = kindOf(thing);
35973        return kind === "formdata" || // detect form-data instance
35974        kind === "object" && isFunction(thing.toString) && thing.toString() === "[object FormData]";
35975      };
35976      isURLSearchParams = kindOfTest("URLSearchParams");
35977      [isReadableStream, isRequest, isResponse, isHeaders] = [
35978        "ReadableStream",
35979        "Request",
35980        "Response",
35981        "Headers"
35982      ].map(kindOfTest);
35983      trim2 = (str) => {
35984        return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
35985      };
35986      _global = (() => {
35987        if (typeof globalThis !== "undefined") return globalThis;
35988        return typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : global;
35989      })();
35990      isContextDefined = (context) => !isUndefined(context) && context !== _global;
35991      extend = (a, b, thisArg, { allOwnKeys } = {}) => {
35992        forEach(
35993          b,
35994          (val, key) => {
35995            if (thisArg && isFunction(val)) {
35996              Object.defineProperty(a, key, {
35997                // Null-proto descriptor so a polluted Object.prototype.get cannot
35998                // hijack defineProperty's accessor-vs-data resolution.
35999                __proto__: null,
36000                value: bind(val, thisArg),
36001                writable: true,
36002                enumerable: true,
36003                configurable: true
36004              });
36005            } else {
36006              Object.defineProperty(a, key, {
36007                __proto__: null,
36008                value: val,
36009                writable: true,
36010                enumerable: true,
36011                configurable: true
36012              });
36013            }
36014          },
36015          { allOwnKeys }
36016        );
36017        return a;
36018      };
36019      stripBOM = (content) => {
36020        if (content.charCodeAt(0) === 65279) {
36021          content = content.slice(1);
36022        }
36023        return content;
36024      };
36025      inherits = (constructor, superConstructor, props, descriptors) => {
36026        constructor.prototype = Object.create(superConstructor.prototype, descriptors);
36027        Object.defineProperty(constructor.prototype, "constructor", {
36028          __proto__: null,
36029          value: constructor,
36030          writable: true,
36031          enumerable: false,
36032          configurable: true
36033        });
36034        Object.defineProperty(constructor, "super", {
36035          __proto__: null,
36036          value: superConstructor.prototype
36037        });
36038        props && Object.assign(constructor.prototype, props);
36039      };
36040      toFlatObject = (sourceObj, destObj, filter2, propFilter) => {
36041        let props;
36042        let i2;
36043        let prop;
36044        const merged = {};
36045        destObj = destObj || {};
36046        if (sourceObj == null) return destObj;
36047        do {
36048          props = Object.getOwnPropertyNames(sourceObj);
36049          i2 = props.length;
36050          while (i2-- > 0) {
36051            prop = props[i2];
36052            if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {
36053              destObj[prop] = sourceObj[prop];
36054              merged[prop] = true;
36055            }
36056          }
36057          sourceObj = filter2 !== false && getPrototypeOf(sourceObj);
36058        } while (sourceObj && (!filter2 || filter2(sourceObj, destObj)) && sourceObj !== Object.prototype);
36059        return destObj;
36060      };
36061      endsWith = (str, searchString, position2) => {
36062        str = String(str);
36063        if (position2 === void 0 || position2 > str.length) {
36064          position2 = str.length;
36065        }
36066        position2 -= searchString.length;
36067        const lastIndex = str.indexOf(searchString, position2);
36068        return lastIndex !== -1 && lastIndex === position2;
36069      };
36070      toArray2 = (thing) => {
36071        if (!thing) return null;
36072        if (isArray(thing)) return thing;
36073        let i2 = thing.length;
36074        if (!isNumber(i2)) return null;
36075        const arr = new Array(i2);
36076        while (i2-- > 0) {
36077          arr[i2] = thing[i2];
36078        }
36079        return arr;
36080      };
36081      isTypedArray = /* @__PURE__ */ ((TypedArray) => {
36082        return (thing) => {
36083          return TypedArray && thing instanceof TypedArray;
36084        };
36085      })(typeof Uint8Array !== "undefined" && getPrototypeOf(Uint8Array));
36086      forEachEntry = (obj, fn) => {
36087        const generator = obj && obj[iterator];
36088        const _iterator = generator.call(obj);
36089        let result;
36090        while ((result = _iterator.next()) && !result.done) {
36091          const pair = result.value;
36092          fn.call(obj, pair[0], pair[1]);
36093        }
36094      };
36095      matchAll = (regExp, str) => {
36096        let matches;
36097        const arr = [];
36098        while ((matches = regExp.exec(str)) !== null) {
36099          arr.push(matches);
36100        }
36101        return arr;
36102      };
36103      isHTMLForm = kindOfTest("HTMLFormElement");
36104      toCamelCase = (str) => {
36105        return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
36106          return p1.toUpperCase() + p2;
36107        });
36108      };
36109      ({ propertyIsEnumerable } = Object.prototype);
36110      isRegExp = kindOfTest("RegExp");
36111      reduceDescriptors = (obj, reducer) => {
36112        const descriptors = Object.getOwnPropertyDescriptors(obj);
36113        const reducedDescriptors = {};
36114        forEach(descriptors, (descriptor, name2) => {
36115          let ret;
36116          if ((ret = reducer(descriptor, name2, obj)) !== false) {
36117            reducedDescriptors[name2] = ret || descriptor;
36118          }
36119        });
36120        Object.defineProperties(obj, reducedDescriptors);
36121      };
36122      freezeMethods = (obj) => {
36123        reduceDescriptors(obj, (descriptor, name2) => {
36124          if (isFunction(obj) && ["arguments", "caller", "callee"].includes(name2)) {
36125            return false;
36126          }
36127          const value = obj[name2];
36128          if (!isFunction(value)) return;
36129          descriptor.enumerable = false;
36130          if ("writable" in descriptor) {
36131            descriptor.writable = false;
36132            return;
36133          }
36134          if (!descriptor.set) {
36135            descriptor.set = () => {
36136              throw Error("Can not rewrite read-only method '" + name2 + "'");
36137            };
36138          }
36139        });
36140      };
36141      toObjectSet = (arrayOrString, delimiter2) => {
36142        const obj = {};
36143        const define3 = (arr) => {
36144          arr.forEach((value) => {
36145            obj[value] = true;
36146          });
36147        };
36148        isArray(arrayOrString) ? define3(arrayOrString) : define3(String(arrayOrString).split(delimiter2));
36149        return obj;
36150      };
36151      noop2 = () => {
36152      };
36153      toFiniteNumber = (value, defaultValue) => {
36154        return value != null && Number.isFinite(value = +value) ? value : defaultValue;
36155      };
36156      toJSONObject = (obj) => {
36157        const visited = /* @__PURE__ */ new WeakSet();
36158        const visit2 = (source) => {
36159          if (isObject(source)) {
36160            if (visited.has(source)) {
36161              return;
36162            }
36163            if (isBuffer(source)) {
36164              return source;
36165            }
36166            if (!("toJSON" in source)) {
36167              visited.add(source);
36168              let target;
36169              if (isSet(source)) {
36170                target = [];
36171                for (const value of source) {
36172                  const reducedValue = visit2(value);
36173                  !isUndefined(reducedValue) && target.push(reducedValue);
36174                }
36175              } else {
36176                target = isArray(source) ? [] : {};
36177                forEach(source, (value, key) => {
36178                  const reducedValue = visit2(value);
36179                  !isUndefined(reducedValue) && (target[key] = reducedValue);
36180                });
36181              }
36182              visited.delete(source);
36183              return target;
36184            }
36185          }
36186          return source;
36187        };
36188        return visit2(obj);
36189      };
36190      isAsyncFn = kindOfTest("AsyncFunction");
36191      isThenable = (thing) => thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);
36192      _setImmediate = ((setImmediateSupported, postMessageSupported) => {
36193        if (setImmediateSupported) {
36194          return setImmediate;
36195        }
36196        return postMessageSupported ? ((token2, callbacks) => {
36197          _global.addEventListener(
36198            "message",
36199            ({ source, data }) => {
36200              if (source === _global && data === token2) {
36201                callbacks.length && callbacks.shift()();
36202              }
36203            },
36204            false
36205          );
36206          return (cb) => {
36207            callbacks.push(cb);
36208            _global.postMessage(token2, "*");
36209          };
36210        })(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);
36211      })(typeof setImmediate === "function", isFunction(_global.postMessage));
36212      asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
36213      isIterable = (thing) => thing != null && isFunction(thing[iterator]);
36214      isSafeIterable = (thing) => thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing);
36215      utils_default = {
36216        isArray,
36217        isArrayBuffer,
36218        isBuffer,
36219        isFormData,
36220        isArrayBufferView,
36221        isString,
36222        isNumber,
36223        isBoolean,
36224        isObject,
36225        isPlainObject,
36226        isEmptyObject,
36227        isReadableStream,
36228        isRequest,
36229        isResponse,
36230        isHeaders,
36231        isUndefined,
36232        isDate,
36233        isFile,
36234        isReactNativeBlob,
36235        isReactNative,
36236        isBlob,
36237        isRegExp,
36238        isFunction,
36239        isStream,
36240        isURLSearchParams,
36241        isTypedArray,
36242        isFileList,
36243        forEach,
36244        merge,
36245        extend,
36246        trim: trim2,
36247        stripBOM,
36248        inherits,
36249        toFlatObject,
36250        kindOf,
36251        kindOfTest,
36252        endsWith,
36253        toArray: toArray2,
36254        forEachEntry,
36255        matchAll,
36256        isHTMLForm,
36257        hasOwnProperty: hasOwnProperty2,
36258        hasOwnProp: hasOwnProperty2,
36259        // an alias to avoid ESLint no-prototype-builtins detection
36260        hasOwnInPrototypeChain,
36261        getSafeProp,
36262        toSafeFlatObject,
36263        reduceDescriptors,
36264        freezeMethods,
36265        toObjectSet,
36266        toCamelCase,
36267        noop: noop2,
36268        toFiniteNumber,
36269        findKey,
36270        global: _global,
36271        isContextDefined,
36272        isSpecCompliantForm,
36273        toJSONObject,
36274        isAsyncFn,
36275        isThenable,
36276        setImmediate: _setImmediate,
36277        asap,
36278        isIterable,
36279        isSafeIterable
36280      };
36281    }
36282  });
36283
36284  
vendor: 1,554 bytes, lines 36284-36338
36284// node_modules/axios/lib/helpers/parseHeaders.js
36285  var ignoreDuplicateOf, parseHeaders_default;
36286  var init_parseHeaders = __esm({
36287    "node_modules/axios/lib/helpers/parseHeaders.js"() {
36288      "use strict";
36289      init_esbuild_shims();
36290      init_utils();
36291      ignoreDuplicateOf = utils_default.toObjectSet([
36292        "age",
36293        "authorization",
36294        "content-length",
36295        "content-type",
36296        "etag",
36297        "expires",
36298        "from",
36299        "host",
36300        "if-modified-since",
36301        "if-unmodified-since",
36302        "last-modified",
36303        "location",
36304        "max-forwards",
36305        "proxy-authorization",
36306        "referer",
36307        "retry-after",
36308        "user-agent"
36309      ]);
36310      parseHeaders_default = (rawHeaders) => {
36311        const parsed = {};
36312        let key;
36313        let val;
36314        let i2;
36315        rawHeaders && rawHeaders.split("\n").forEach(function parser(line2) {
36316          i2 = line2.indexOf(":");
36317          key = line2.substring(0, i2).trim().toLowerCase();
36318          val = line2.substring(i2 + 1).trim();
36319          const hasKey = utils_default.hasOwnProp(parsed, key);
36320          if (!key || hasKey && utils_default.hasOwnProp(ignoreDuplicateOf, key)) {
36321            return;
36322          }
36323          if (key === "set-cookie") {
36324            if (hasKey) {
36325              parsed[key].push(val);
36326            } else {
36327              parsed[key] = [val];
36328            }
36329          } else {
36330            parsed[key] = hasKey ? parsed[key] + ", " + val : val;
36331          }
36332        });
36333        return parsed;
36334      };
36335    }
36336  });
36337
36338  
vendor: 1,797 bytes, lines 36338-36384
36338// node_modules/axios/lib/helpers/sanitizeHeaderValue.js
36339  function trimSPorHTAB(str) {
36340    let start = 0;
36341    let end2 = str.length;
36342    while (start < end2) {
36343      const code = str.charCodeAt(start);
36344      if (code !== 9 && code !== 32) {
36345        break;
36346      }
36347      start += 1;
36348    }
36349    while (end2 > start) {
36350      const code = str.charCodeAt(end2 - 1);
36351      if (code !== 9 && code !== 32) {
36352        break;
36353      }
36354      end2 -= 1;
36355    }
36356    return start === 0 && end2 === str.length ? str : str.slice(start, end2);
36357  }
36358  function sanitizeValue(value, invalidChars) {
36359    if (utils_default.isArray(value)) {
36360      return value.map((item) => sanitizeValue(item, invalidChars));
36361    }
36362    return trimSPorHTAB(String(value).replace(invalidChars, ""));
36363  }
36364  function toByteStringHeaderObject(headers) {
36365    const byteStringHeaders = /* @__PURE__ */ Object.create(null);
36366    utils_default.forEach(headers.toJSON(), (value, header) => {
36367      byteStringHeaders[header] = sanitizeByteStringHeaderValue(value);
36368    });
36369    return byteStringHeaders;
36370  }
36371  var INVALID_UNICODE_HEADER_VALUE_CHARS, INVALID_BYTE_STRING_HEADER_VALUE_CHARS, sanitizeHeaderValue, sanitizeByteStringHeaderValue;
36372  var init_sanitizeHeaderValue = __esm({
36373    "node_modules/axios/lib/helpers/sanitizeHeaderValue.js"() {
36374      "use strict";
36375      init_esbuild_shims();
36376      init_utils();
36377      INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+", "g");
36378      INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+", "g");
36379      sanitizeHeaderValue = (value) => sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS);
36380      sanitizeByteStringHeaderValue = (value) => sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS);
36381    }
36382  });
36383
36384  
vendor: 11,948 bytes, lines 36384-36727
36384// node_modules/axios/lib/core/AxiosHeaders.js
36385  function normalizeHeader(header) {
36386    return header && String(header).trim().toLowerCase();
36387  }
36388  function normalizeValue(value) {
36389    if (value === false || value == null) {
36390      return value;
36391    }
36392    return utils_default.isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value));
36393  }
36394  function parseTokens(str) {
36395    const tokens = /* @__PURE__ */ Object.create(null);
36396    const tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
36397    let match2;
36398    while (match2 = tokensRE.exec(str)) {
36399      tokens[match2[1]] = match2[2];
36400    }
36401    return tokens;
36402  }
36403  function trimOWS(value) {
36404    let start = 0;
36405    let end2 = value.length;
36406    while (start < end2) {
36407      const code = value.charCodeAt(start);
36408      if (code !== 9 && code !== 32) {
36409        break;
36410      }
36411      start += 1;
36412    }
36413    while (end2 > start) {
36414      const code = value.charCodeAt(end2 - 1);
36415      if (code !== 9 && code !== 32) {
36416        break;
36417      }
36418      end2 -= 1;
36419    }
36420    return start === 0 && end2 === value.length ? value : value.slice(start, end2);
36421  }
36422  function decodeQuotedString(value) {
36423    const last = value.length - 1;
36424    if (last < 1 || value.charCodeAt(0) !== 34 || value.charCodeAt(last) !== 34) {
36425      return value;
36426    }
36427    let decoded = "";
36428    for (let i2 = 1; i2 < last; i2++) {
36429      const code = value.charCodeAt(i2);
36430      if (code === 34) {
36431        return value;
36432      }
36433      if (code === 92) {
36434        i2 += 1;
36435        if (i2 >= last) {
36436          return value;
36437        }
36438      }
36439      decoded += value[i2];
36440    }
36441    return decoded;
36442  }
36443  function parseParameters(value) {
36444    const parameters = /* @__PURE__ */ Object.create(null);
36445    const str = String(value);
36446    let start = 0;
36447    let quoted = false;
36448    let escaped = false;
36449    function parseParameter(end2) {
36450      const part = trimOWS(str.slice(start, end2));
36451      const equals = part.indexOf("=");
36452      if (equals < 1) {
36453        return;
36454      }
36455      const name2 = trimOWS(part.slice(0, equals));
36456      if (!parameterNameRE.test(name2)) {
36457        return;
36458      }
36459      const normalizedName = name2.toLowerCase();
36460      if (normalizedName === "__proto__" || normalizedName === "constructor" || normalizedName === "prototype") {
36461        return;
36462      }
36463      const parameterValue = trimOWS(part.slice(equals + 1));
36464      parameters[normalizedName] = decodeQuotedString(parameterValue);
36465    }
36466    for (let i2 = 0; i2 < str.length; i2++) {
36467      const code = str.charCodeAt(i2);
36468      if (quoted) {
36469        if (escaped) {
36470          escaped = false;
36471        } else if (code === 92) {
36472          escaped = true;
36473        } else if (code === 34) {
36474          quoted = false;
36475        }
36476      } else if (code === 34) {
36477        quoted = true;
36478      } else if (code === 44 || code === 59) {
36479        parseParameter(i2);
36480        start = i2 + 1;
36481      }
36482    }
36483    parseParameter(str.length);
36484    return parameters;
36485  }
36486  function matchHeaderValue(context, value, header, filter2, isHeaderNameFilter) {
36487    if (utils_default.isFunction(filter2)) {
36488      return filter2.call(this, value, header);
36489    }
36490    if (isHeaderNameFilter) {
36491      value = header;
36492    }
36493    if (!utils_default.isString(value)) return;
36494    if (utils_default.isString(filter2)) {
36495      return value.indexOf(filter2) !== -1;
36496    }
36497    if (utils_default.isRegExp(filter2)) {
36498      return filter2.test(value);
36499    }
36500  }
36501  function formatHeader(header) {
36502    return header.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (w3, char2, str) => {
36503      return char2.toUpperCase() + str;
36504    });
36505  }
36506  function buildAccessors(obj, header) {
36507    const accessorName = utils_default.toCamelCase(" " + header);
36508    ["get", "set", "has"].forEach((methodName) => {
36509      Object.defineProperty(obj, methodName + accessorName, {
36510        // Null-proto descriptor so a polluted Object.prototype.get cannot turn
36511        // this data descriptor into an accessor descriptor on the way in.
36512        __proto__: null,
36513        value: function(arg1, arg2, arg3) {
36514          return this[methodName].call(this, header, arg1, arg2, arg3);
36515        },
36516        configurable: true
36517      });
36518    });
36519  }
36520  var $internals, parameterNameRE, isValidHeaderName, AxiosHeaders, AxiosHeaders_default;
36521  var init_AxiosHeaders = __esm({
36522    "node_modules/axios/lib/core/AxiosHeaders.js"() {
36523      "use strict";
36524      init_esbuild_shims();
36525      init_utils();
36526      init_parseHeaders();
36527      init_sanitizeHeaderValue();
36528      $internals = /* @__PURE__ */ Symbol("internals");
36529      parameterNameRE = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
36530      isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());
36531      AxiosHeaders = class {
36532        constructor(headers) {
36533          headers && this.set(headers);
36534        }
36535        set(header, valueOrRewrite, rewrite) {
36536          const self2 = this;
36537          function setHeader(_value, _header, _rewrite) {
36538            const lHeader = normalizeHeader(_header);
36539            if (!lHeader) {
36540              return;
36541            }
36542            const key = utils_default.findKey(self2, lHeader);
36543            if (!key || self2[key] === void 0 || _rewrite === true || _rewrite === void 0 && self2[key] !== false) {
36544              self2[key || _header] = normalizeValue(_value);
36545            }
36546          }
36547          const setHeaders = (headers, _rewrite) => utils_default.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));
36548          if (utils_default.isPlainObject(header) || header instanceof this.constructor) {
36549            setHeaders(header, valueOrRewrite);
36550          } else if (utils_default.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
36551            setHeaders(parseHeaders_default(header), valueOrRewrite);
36552          } else if (utils_default.isObject(header) && utils_default.isSafeIterable(header)) {
36553            let obj = /* @__PURE__ */ Object.create(null), dest, key;
36554            for (const entry of header) {
36555              if (!utils_default.isArray(entry)) {
36556                throw new TypeError("Object iterator must return a key-value pair");
36557              }
36558              key = entry[0];
36559              if (utils_default.hasOwnProp(obj, key)) {
36560                dest = obj[key];
36561                obj[key] = utils_default.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]];
36562              } else {
36563                obj[key] = entry[1];
36564              }
36565            }
36566            setHeaders(obj, valueOrRewrite);
36567          } else {
36568            header != null && setHeader(valueOrRewrite, header, rewrite);
36569          }
36570          return this;
36571        }
36572        get(header, parser) {
36573          header = normalizeHeader(header);
36574          if (header) {
36575            const key = utils_default.findKey(this, header);
36576            if (key) {
36577              const value = this[key];
36578              if (!parser) {
36579                return value;
36580              }
36581              if (parser === true) {
36582                return parseTokens(value);
36583              }
36584              if (utils_default.isFunction(parser)) {
36585                return parser.call(this, value, key);
36586              }
36587              if (utils_default.isRegExp(parser)) {
36588                return parser.exec(value);
36589              }
36590              throw new TypeError("parser must be boolean|regexp|function");
36591            }
36592          }
36593        }
36594        has(header, matcher) {
36595          header = normalizeHeader(header);
36596          if (header) {
36597            const key = utils_default.findKey(this, header);
36598            return !!(key && this[key] !== void 0 && (!matcher || matchHeaderValue(this, this[key], key, matcher)));
36599          }
36600          return false;
36601        }
36602        delete(header, matcher) {
36603          const self2 = this;
36604          let deleted = false;
36605          function deleteHeader(_header) {
36606            _header = normalizeHeader(_header);
36607            if (_header) {
36608              const key = utils_default.findKey(self2, _header);
36609              if (key && (!matcher || matchHeaderValue(self2, self2[key], key, matcher))) {
36610                delete self2[key];
36611                deleted = true;
36612              }
36613            }
36614          }
36615          if (utils_default.isArray(header)) {
36616            header.forEach(deleteHeader);
36617          } else {
36618            deleteHeader(header);
36619          }
36620          return deleted;
36621        }
36622        clear(matcher) {
36623          const keys = Object.keys(this);
36624          let i2 = keys.length;
36625          let deleted = false;
36626          while (i2--) {
36627            const key = keys[i2];
36628            if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
36629              delete this[key];
36630              deleted = true;
36631            }
36632          }
36633          return deleted;
36634        }
36635        normalize(format) {
36636          const self2 = this;
36637          const headers = {};
36638          utils_default.forEach(this, (value, header) => {
36639            const key = utils_default.findKey(headers, header);
36640            if (key) {
36641              self2[key] = normalizeValue(value);
36642              delete self2[header];
36643              return;
36644            }
36645            const normalized = format ? formatHeader(header) : String(header).trim();
36646            if (normalized !== header) {
36647              delete self2[header];
36648            }
36649            self2[normalized] = normalizeValue(value);
36650            headers[normalized] = true;
36651          });
36652          return this;
36653        }
36654        concat(...targets) {
36655          return this.constructor.concat(this, ...targets);
36656        }
36657        toJSON(asStrings) {
36658          const obj = /* @__PURE__ */ Object.create(null);
36659          utils_default.forEach(this, (value, header) => {
36660            value != null && value !== false && (obj[header] = asStrings && utils_default.isArray(value) ? value.join(", ") : value);
36661          });
36662          return obj;
36663        }
36664        [Symbol.iterator]() {
36665          return Object.entries(this.toJSON())[Symbol.iterator]();
36666        }
36667        toString() {
36668          return Object.entries(this.toJSON()).map(([header, value]) => header + ": " + value).join("\n");
36669        }
36670        getSetCookie() {
36671          const value = this.get("set-cookie");
36672          return utils_default.isArray(value) ? value : value == null || value === false ? [] : [value];
36673        }
36674        get [Symbol.toStringTag]() {
36675          return "AxiosHeaders";
36676        }
36677        static from(thing) {
36678          return thing instanceof this ? thing : new this(thing);
36679        }
36680        static parseParameters(value) {
36681          return parseParameters(value);
36682        }
36683        static concat(first, ...targets) {
36684          const computed = new this(first);
36685          targets.forEach((target) => computed.set(target));
36686          return computed;
36687        }
36688        static accessor(header) {
36689          const internals = this[$internals] = this[$internals] = {
36690            accessors: {}
36691          };
36692          const accessors = internals.accessors;
36693          const prototype2 = this.prototype;
36694          function defineAccessor(_header) {
36695            const lHeader = normalizeHeader(_header);
36696            if (!accessors[lHeader]) {
36697              buildAccessors(prototype2, _header);
36698              accessors[lHeader] = true;
36699            }
36700          }
36701          utils_default.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);
36702          return this;
36703        }
36704      };
36705      AxiosHeaders.accessor([
36706        "Content-Type",
36707        "Content-Length",
36708        "Accept",
36709        "Accept-Encoding",
36710        "User-Agent",
36711        "Authorization"
36712      ]);
36713      utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
36714        let mapped = key[0].toUpperCase() + key.slice(1);
36715        return {
36716          get: () => value,
36717          set(headerValue) {
36718            this[mapped] = headerValue;
36719          }
36720        };
36721      });
36722      utils_default.freezeMethods(AxiosHeaders);
36723      AxiosHeaders_default = AxiosHeaders;
36724    }
36725  });
36726
36727  
vendor: 6,392 bytes, lines 36727-36898
36727// node_modules/axios/lib/core/AxiosError.js
36728  function hasOwnOrPrototypeToJSON(source) {
36729    if (utils_default.hasOwnProp(source, "toJSON")) {
36730      return true;
36731    }
36732    let prototype2 = Object.getPrototypeOf(source);
36733    while (prototype2 && prototype2 !== Object.prototype) {
36734      if (utils_default.hasOwnProp(prototype2, "toJSON")) {
36735        return true;
36736      }
36737      prototype2 = Object.getPrototypeOf(prototype2);
36738    }
36739    return false;
36740  }
36741  function redactConfig(config2, redactKeys) {
36742    const lowerKeys = new Set(redactKeys.map((k) => String(k).toLowerCase()));
36743    const seen = [];
36744    const visit2 = (source) => {
36745      if (source === null || typeof source !== "object") return source;
36746      if (utils_default.isBuffer(source)) return source;
36747      if (seen.indexOf(source) !== -1) return void 0;
36748      if (source instanceof AxiosHeaders_default) {
36749        source = source.toJSON();
36750      }
36751      seen.push(source);
36752      let result;
36753      if (utils_default.isArray(source)) {
36754        result = [];
36755        source.forEach((v, i2) => {
36756          const reducedValue = visit2(v);
36757          if (!utils_default.isUndefined(reducedValue)) {
36758            result[i2] = reducedValue;
36759          }
36760        });
36761      } else {
36762        if (!utils_default.isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) {
36763          seen.pop();
36764          return source;
36765        }
36766        result = /* @__PURE__ */ Object.create(null);
36767        for (const [key, value] of Object.entries(source)) {
36768          const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit2(value);
36769          if (!utils_default.isUndefined(reducedValue)) {
36770            result[key] = reducedValue;
36771          }
36772        }
36773      }
36774      seen.pop();
36775      return result;
36776    };
36777    return visit2(config2);
36778  }
36779  function stringifySafely(value) {
36780    try {
36781      return String(value);
36782    } catch (err) {
36783      return "";
36784    }
36785  }
36786  function aggregateErrorMessage(error) {
36787    const message = error.errors.map((entry) => {
36788      try {
36789        return entry && entry.message ? stringifySafely(entry.message) : stringifySafely(entry);
36790      } catch (err) {
36791        return "";
36792      }
36793    }).filter(Boolean).join("; ");
36794    return message || error.name || "AggregateError";
36795  }
36796  var REDACTED, AxiosError, AxiosError_default;
36797  var init_AxiosError = __esm({
36798    "node_modules/axios/lib/core/AxiosError.js"() {
36799      "use strict";
36800      init_esbuild_shims();
36801      init_utils();
36802      init_AxiosHeaders();
36803      REDACTED = "[REDACTED ****]";
36804      AxiosError = class _AxiosError extends Error {
36805        static from(error, code, config2, request, response, customProps) {
36806          let message = error.message;
36807          if (!message && utils_default.isArray(error.errors) && error.errors.length) {
36808            message = aggregateErrorMessage(error);
36809          }
36810          const axiosError = new _AxiosError(message, code || error.code, config2, request, response);
36811          Object.defineProperty(axiosError, "cause", {
36812            __proto__: null,
36813            value: error,
36814            writable: true,
36815            enumerable: false,
36816            configurable: true
36817          });
36818          axiosError.name = error.name;
36819          if (error.status != null && axiosError.status == null) {
36820            axiosError.status = error.status;
36821          }
36822          customProps && Object.assign(axiosError, customProps);
36823          return axiosError;
36824        }
36825        /**
36826         * Create an Error with the specified message, config, error code, request and response.
36827         *
36828         * @param {string} message The error message.
36829         * @param {string} [code] The error code (for example, 'ECONNABORTED').
36830         * @param {Object} [config] The config.
36831         * @param {Object} [request] The request.
36832         * @param {Object} [response] The response.
36833         *
36834         * @returns {Error} The created error.
36835         */
36836        constructor(message, code, config2, request, response) {
36837          super(message);
36838          Object.defineProperty(this, "message", {
36839            // Null-proto descriptor so a polluted Object.prototype.get cannot turn
36840            // this data descriptor into an accessor descriptor on the way in.
36841            __proto__: null,
36842            value: message,
36843            enumerable: true,
36844            writable: true,
36845            configurable: true
36846          });
36847          this.name = "AxiosError";
36848          this.isAxiosError = true;
36849          code && (this.code = code);
36850          config2 && (this.config = config2);
36851          request && (this.request = request);
36852          if (response) {
36853            this.response = response;
36854            this.status = response.status;
36855          }
36856        }
36857        toJSON() {
36858          const config2 = this.config;
36859          const redactKeys = config2 && utils_default.hasOwnProp(config2, "redact") ? config2.redact : void 0;
36860          const serializedConfig = utils_default.isArray(redactKeys) && redactKeys.length > 0 ? redactConfig(config2, redactKeys) : utils_default.toJSONObject(config2);
36861          return {
36862            // Standard
36863            message: this.message,
36864            name: this.name,
36865            // Microsoft
36866            description: this.description,
36867            number: this.number,
36868            // Mozilla
36869            fileName: this.fileName,
36870            lineNumber: this.lineNumber,
36871            columnNumber: this.columnNumber,
36872            stack: this.stack,
36873            // Axios
36874            config: serializedConfig,
36875            code: this.code,
36876            status: this.status
36877          };
36878        }
36879      };
36880      AxiosError.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE";
36881      AxiosError.ERR_BAD_OPTION = "ERR_BAD_OPTION";
36882      AxiosError.ECONNABORTED = "ECONNABORTED";
36883      AxiosError.ETIMEDOUT = "ETIMEDOUT";
36884      AxiosError.ECONNREFUSED = "ECONNREFUSED";
36885      AxiosError.ERR_NETWORK = "ERR_NETWORK";
36886      AxiosError.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS";
36887      AxiosError.ERR_DEPRECATED = "ERR_DEPRECATED";
36888      AxiosError.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE";
36889      AxiosError.ERR_BAD_REQUEST = "ERR_BAD_REQUEST";
36890      AxiosError.ERR_CANCELED = "ERR_CANCELED";
36891      AxiosError.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
36892      AxiosError.ERR_INVALID_URL = "ERR_INVALID_URL";
36893      AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = "ERR_FORM_DATA_DEPTH_EXCEEDED";
36894      AxiosError_default = AxiosError;
36895    }
36896  });
36897
36898  
vendor: 207 bytes, lines 36898-36907
36898// node_modules/axios/lib/helpers/null.js
36899  var null_default;
36900  var init_null = __esm({
36901    "node_modules/axios/lib/helpers/null.js"() {
36902      init_esbuild_shims();
36903      null_default = null;
36904    }
36905  });
36906
36907  
vendor: 6,025 bytes, lines 36907-37065
36907// node_modules/axios/lib/helpers/toFormData.js
36908  function isVisitable(thing) {
36909    return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
36910  }
36911  function removeBrackets(key) {
36912    return utils_default.endsWith(key, "[]") ? key.slice(0, -2) : key;
36913  }
36914  function renderKey(path, key, dots) {
36915    if (!path) return key;
36916    return path.concat(key).map(function each2(token2, i2) {
36917      token2 = removeBrackets(token2);
36918      return !dots && i2 ? "[" + token2 + "]" : token2;
36919    }).join(dots ? "." : "");
36920  }
36921  function isFlatArray(arr) {
36922    return utils_default.isArray(arr) && !arr.some(isVisitable);
36923  }
36924  function toFormData(obj, formData, options2) {
36925    if (!utils_default.isObject(obj)) {
36926      throw new TypeError("target must be an object");
36927    }
36928    formData = formData || new (null_default || FormData)();
36929    const option = (name2, fallback) => {
36930      const value = utils_default.getSafeProp(options2, name2);
36931      return utils_default.isUndefined(value) ? fallback : value;
36932    };
36933    const metaTokens = option("metaTokens", true);
36934    const visitor = option("visitor") || defaultVisitor;
36935    const dots = option("dots", false);
36936    const indexes = option("indexes", false);
36937    const _Blob = option("Blob") || typeof Blob !== "undefined" && Blob;
36938    const maxDepth = option("maxDepth", DEFAULT_FORM_DATA_MAX_DEPTH);
36939    const useBlob = _Blob && utils_default.isSpecCompliantForm(formData);
36940    const stack = [];
36941    if (!utils_default.isFunction(visitor)) {
36942      throw new TypeError("visitor must be a function");
36943    }
36944    function convertValue(value) {
36945      if (value === null) return "";
36946      if (utils_default.isDate(value)) {
36947        return value.toISOString();
36948      }
36949      if (utils_default.isBoolean(value)) {
36950        return value.toString();
36951      }
36952      if (!useBlob && utils_default.isBlob(value)) {
36953        throw new AxiosError_default("Blob is not supported. Use a Buffer instead.");
36954      }
36955      if (utils_default.isArrayBuffer(value) || utils_default.isTypedArray(value)) {
36956        if (useBlob && typeof _Blob === "function") {
36957          return new _Blob([value]);
36958        }
36959        if (null_default && null_default.isBufferAvailable()) {
36960          return null_default.from(value);
36961        }
36962        throw new AxiosError_default(
36963          "Blob is not supported. Use a Buffer instead.",
36964          AxiosError_default.ERR_NOT_SUPPORT
36965        );
36966      }
36967      return value;
36968    }
36969    function throwIfMaxDepthExceeded(depth) {
36970      if (depth > maxDepth) {
36971        throw new AxiosError_default(
36972          "Object is too deeply nested (" + depth + " levels). Max depth: " + maxDepth,
36973          AxiosError_default.ERR_FORM_DATA_DEPTH_EXCEEDED
36974        );
36975      }
36976    }
36977    function stringifyWithDepthLimit(value, depth) {
36978      if (maxDepth === Infinity) {
36979        return JSON.stringify(value);
36980      }
36981      const ancestors = [];
36982      return JSON.stringify(value, function limitDepth(_key, currentValue) {
36983        if (!utils_default.isObject(currentValue)) {
36984          return currentValue;
36985        }
36986        while (ancestors.length && ancestors[ancestors.length - 1] !== this) {
36987          ancestors.pop();
36988        }
36989        ancestors.push(currentValue);
36990        throwIfMaxDepthExceeded(depth + ancestors.length - 1);
36991        return currentValue;
36992      });
36993    }
36994    function defaultVisitor(value, key, path) {
36995      let arr = value;
36996      if (utils_default.isReactNative(formData) && utils_default.isReactNativeBlob(value)) {
36997        formData.append(renderKey(path, key, dots), convertValue(value));
36998        return false;
36999      }
37000      if (value && !path && typeof value === "object") {
37001        if (utils_default.endsWith(key, "{}")) {
37002          key = metaTokens ? key : key.slice(0, -2);
37003          value = stringifyWithDepthLimit(value, 1);
37004        } else if (utils_default.isArray(value) && isFlatArray(value) || (utils_default.isFileList(value) || utils_default.endsWith(key, "[]")) && (arr = utils_default.toArray(value))) {
37005          key = removeBrackets(key);
37006          arr.forEach(function each2(el, index2) {
37007            !(utils_default.isUndefined(el) || el === null) && formData.append(
37008              // eslint-disable-next-line no-nested-ternary
37009              indexes === true ? renderKey([key], index2, dots) : indexes === null ? key : key + "[]",
37010              convertValue(el)
37011            );
37012          });
37013          return false;
37014        }
37015      }
37016      if (isVisitable(value)) {
37017        return true;
37018      }
37019      formData.append(renderKey(path, key, dots), convertValue(value));
37020      return false;
37021    }
37022    const exposedHelpers = Object.assign(predicates, {
37023      defaultVisitor,
37024      convertValue,
37025      isVisitable
37026    });
37027    function build2(value, path, depth = 0) {
37028      if (utils_default.isUndefined(value)) return;
37029      throwIfMaxDepthExceeded(depth);
37030      if (stack.indexOf(value) !== -1) {
37031        throw new Error("Circular reference detected in " + path.join("."));
37032      }
37033      stack.push(value);
37034      utils_default.forEach(value, function each2(el, key) {
37035        const result = !(utils_default.isUndefined(el) || el === null) && visitor.call(formData, el, utils_default.isString(key) ? key.trim() : key, path, exposedHelpers);
37036        if (result === true) {
37037          build2(el, path ? path.concat(key) : [key], depth + 1);
37038        }
37039      });
37040      stack.pop();
37041    }
37042    if (!utils_default.isObject(obj)) {
37043      throw new TypeError("data must be an object");
37044    }
37045    build2(obj);
37046    return formData;
37047  }
37048  var DEFAULT_FORM_DATA_MAX_DEPTH, predicates, toFormData_default;
37049  var init_toFormData = __esm({
37050    "node_modules/axios/lib/helpers/toFormData.js"() {
37051      "use strict";
37052      init_esbuild_shims();
37053      init_utils();
37054      init_AxiosError();
37055      init_null();
37056      init_null();
37057      DEFAULT_FORM_DATA_MAX_DEPTH = 100;
37058      predicates = utils_default.toFlatObject(utils_default, {}, null, function filter(prop) {
37059        return /^is[A-Z]/.test(prop);
37060      });
37061      toFormData_default = toFormData;
37062    }
37063  });
37064
37065  
vendor: 1,239 bytes, lines 37065-37103
37065// node_modules/axios/lib/helpers/AxiosURLSearchParams.js
37066  function encode(str) {
37067    const charMap = {
37068      "!": "%21",
37069      "'": "%27",
37070      "(": "%28",
37071      ")": "%29",
37072      "~": "%7E",
37073      "%20": "+"
37074    };
37075    return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match2) {
37076      return charMap[match2];
37077    });
37078  }
37079  function AxiosURLSearchParams(params, options2) {
37080    this._pairs = [];
37081    params && toFormData_default(params, this, options2);
37082  }
37083  var prototype, AxiosURLSearchParams_default;
37084  var init_AxiosURLSearchParams = __esm({
37085    "node_modules/axios/lib/helpers/AxiosURLSearchParams.js"() {
37086      "use strict";
37087      init_esbuild_shims();
37088      init_toFormData();
37089      prototype = AxiosURLSearchParams.prototype;
37090      prototype.append = function append2(name2, value) {
37091        this._pairs.push([name2, value]);
37092      };
37093      prototype.toString = function toString2(encoder) {
37094        const _encode = encoder ? (value) => encoder.call(this, value, encode) : encode;
37095        return this._pairs.map(function each2(pair) {
37096          return _encode(pair[0]) + "=" + _encode(pair[1]);
37097        }, "").join("&");
37098      };
37099      AxiosURLSearchParams_default = AxiosURLSearchParams;
37100    }
37101  });
37102
37103  
vendor: 1,301 bytes, lines 37103-37141
37103// node_modules/axios/lib/helpers/buildURL.js
37104  function encode2(val) {
37105    return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
37106  }
37107  function buildURL(url, params, options2) {
37108    if (!params) {
37109      return url;
37110    }
37111    url = url || "";
37112    const _options = utils_default.isFunction(options2) ? {
37113      serialize: options2
37114    } : options2;
37115    const _encode = utils_default.getSafeProp(_options, "encode") || encode2;
37116    const serializeFn = utils_default.getSafeProp(_options, "serialize");
37117    let serializedParams;
37118    if (serializeFn) {
37119      serializedParams = serializeFn(params, _options);
37120    } else {
37121      serializedParams = utils_default.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams_default(params, _options).toString(_encode);
37122    }
37123    if (serializedParams) {
37124      const hashmarkIndex = url.indexOf("#");
37125      if (hashmarkIndex !== -1) {
37126        url = url.slice(0, hashmarkIndex);
37127      }
37128      url += (url.indexOf("?") === -1 ? "?" : "&") + serializedParams;
37129    }
37130    return url;
37131  }
37132  var init_buildURL = __esm({
37133    "node_modules/axios/lib/helpers/buildURL.js"() {
37134      "use strict";
37135      init_esbuild_shims();
37136      init_utils();
37137      init_AxiosURLSearchParams();
37138    }
37139  });
37140
37141  
vendor: 4,845 bytes, lines 37141-37287
37141// node_modules/axios/lib/core/InterceptorManager.js
37142  function countHandlers(handlers2) {
37143    return handlers2 ? handlers2.length : 0;
37144  }
37145  function trimHandlers(handlers2) {
37146    if (!handlers2) {
37147      return;
37148    }
37149    while (handlers2.length && handlers2[handlers2.length - 1] === null) {
37150      handlers2.pop();
37151    }
37152  }
37153  function syncHandlerEntries(manager, internals) {
37154    const handlers2 = manager.handlers;
37155    const length2 = countHandlers(handlers2);
37156    if (handlers2 !== internals.handlersRef) {
37157      internals.handlersRef = handlers2;
37158      internals.handlerEntries.clear();
37159    } else if (length2 !== internals.handlersLength) {
37160      if (!length2) {
37161        internals.handlerEntries.clear();
37162      } else {
37163        internals.handlerEntries.forEach(function removeStaleEntry(entry, id) {
37164          if (handlers2[entry.index] !== entry.handler) {
37165            internals.handlerEntries.delete(id);
37166          }
37167        });
37168      }
37169    }
37170    internals.handlersLength = length2;
37171  }
37172  var $internals2, InterceptorManager, InterceptorManager_default;
37173  var init_InterceptorManager = __esm({
37174    "node_modules/axios/lib/core/InterceptorManager.js"() {
37175      "use strict";
37176      init_esbuild_shims();
37177      init_utils();
37178      $internals2 = /* @__PURE__ */ Symbol("internals");
37179      InterceptorManager = class {
37180        constructor() {
37181          this.handlers = [];
37182          this[$internals2] = {
37183            handlersRef: this.handlers,
37184            handlersLength: this.handlers.length,
37185            handlerEntries: /* @__PURE__ */ new Map(),
37186            iterationDepth: 0,
37187            nextId: 0
37188          };
37189        }
37190        /**
37191         * Add a new interceptor to the stack
37192         *
37193         * @param {Function} fulfilled The function to handle `then` for a `Promise`
37194         * @param {Function} rejected The function to handle `reject` for a `Promise`
37195         * @param {Object} options The options for the interceptor, synchronous and runWhen
37196         *
37197         * @return {Number} An ID used to remove interceptor later
37198         */
37199        use(fulfilled, rejected, options2) {
37200          const handler = {
37201            fulfilled,
37202            rejected,
37203            synchronous: options2 ? options2.synchronous : false,
37204            runWhen: options2 ? options2.runWhen : null
37205          };
37206          const internals = this[$internals2];
37207          if (this.handlers == null) {
37208            this.handlers = [];
37209          }
37210          syncHandlerEntries(this, internals);
37211          const id = internals.nextId++;
37212          this.handlers.push(handler);
37213          internals.handlerEntries.set(id, {
37214            handler,
37215            index: this.handlers.length - 1
37216          });
37217          internals.handlersLength = this.handlers.length;
37218          return id;
37219        }
37220        /**
37221         * Remove an interceptor from the stack
37222         *
37223         * @param {Number} id The ID that was returned by `use`
37224         *
37225         * @returns {void}
37226         */
37227        eject(id) {
37228          const internals = this[$internals2];
37229          syncHandlerEntries(this, internals);
37230          const entry = internals.handlerEntries.get(id);
37231          if (entry) {
37232            internals.handlerEntries.delete(id);
37233            if (this.handlers[entry.index] !== entry.handler) {
37234              return;
37235            }
37236            this.handlers[entry.index] = null;
37237            if (!internals.iterationDepth) {
37238              trimHandlers(this.handlers);
37239              internals.handlersLength = this.handlers.length;
37240            }
37241          }
37242        }
37243        /**
37244         * Clear all interceptors from the stack
37245         *
37246         * @returns {void}
37247         */
37248        clear() {
37249          if (this.handlers) {
37250            this.handlers = [];
37251            syncHandlerEntries(this, this[$internals2]);
37252          }
37253        }
37254        /**
37255         * Iterate over all the registered interceptors
37256         *
37257         * This method is particularly useful for skipping over any
37258         * interceptors that may have become `null` calling `eject`.
37259         *
37260         * @param {Function} fn The function to call for each interceptor
37261         *
37262         * @returns {void}
37263         */
37264        forEach(fn) {
37265          const internals = this[$internals2];
37266          syncHandlerEntries(this, internals);
37267          internals.iterationDepth++;
37268          try {
37269            utils_default.forEach(this.handlers, function forEachHandler(h) {
37270              if (h !== null) {
37271                fn(h);
37272              }
37273            });
37274          } finally {
37275            if (!--internals.iterationDepth) {
37276              syncHandlerEntries(this, internals);
37277              trimHandlers(this.handlers);
37278              internals.handlersLength = countHandlers(this.handlers);
37279            }
37280          }
37281        }
37282      };
37283      InterceptorManager_default = InterceptorManager;
37284    }
37285  });
37286
37287  
vendor: 513 bytes, lines 37287-37304
37287// node_modules/axios/lib/defaults/transitional.js
37288  var transitional_default;
37289  var init_transitional = __esm({
37290    "node_modules/axios/lib/defaults/transitional.js"() {
37291      "use strict";
37292      init_esbuild_shims();
37293      transitional_default = {
37294        silentJSONParsing: true,
37295        forcedJSONParsing: true,
37296        clarifyTimeoutError: false,
37297        legacyInterceptorReqResOrdering: true,
37298        advertiseZstdAcceptEncoding: false,
37299        validateStatusUndefinedResolves: true
37300      };
37301    }
37302  });
37303
37304  
vendor: 434 bytes, lines 37304-37315
37304// node_modules/axios/lib/platform/browser/classes/URLSearchParams.js
37305  var URLSearchParams_default;
37306  var init_URLSearchParams = __esm({
37307    "node_modules/axios/lib/platform/browser/classes/URLSearchParams.js"() {
37308      "use strict";
37309      init_esbuild_shims();
37310      init_AxiosURLSearchParams();
37311      URLSearchParams_default = typeof URLSearchParams !== "undefined" ? URLSearchParams : AxiosURLSearchParams_default;
37312    }
37313  });
37314
37315  
vendor: 326 bytes, lines 37315-37325
37315// node_modules/axios/lib/platform/browser/classes/FormData.js
37316  var FormData_default;
37317  var init_FormData = __esm({
37318    "node_modules/axios/lib/platform/browser/classes/FormData.js"() {
37319      "use strict";
37320      init_esbuild_shims();
37321      FormData_default = typeof FormData !== "undefined" ? FormData : null;
37322    }
37323  });
37324
37325  
vendor: 298 bytes, lines 37325-37335
37325// node_modules/axios/lib/platform/browser/classes/Blob.js
37326  var Blob_default;
37327  var init_Blob = __esm({
37328    "node_modules/axios/lib/platform/browser/classes/Blob.js"() {
37329      "use strict";
37330      init_esbuild_shims();
37331      Blob_default = typeof Blob !== "undefined" ? Blob : null;
37332    }
37333  });
37334
37335  
vendor: 555 bytes, lines 37335-37355
37335// node_modules/axios/lib/platform/browser/index.js
37336  var browser_default;
37337  var init_browser = __esm({
37338    "node_modules/axios/lib/platform/browser/index.js"() {
37339      init_esbuild_shims();
37340      init_URLSearchParams();
37341      init_FormData();
37342      init_Blob();
37343      browser_default = {
37344        isBrowser: true,
37345        classes: {
37346          URLSearchParams: URLSearchParams_default,
37347          FormData: FormData_default,
37348          Blob: Blob_default
37349        },
37350        protocols: ["http", "https", "file", "blob", "url", "data"]
37351      };
37352    }
37353  });
37354
37355  
vendor: 1,179 bytes, lines 37355-37379
37355// node_modules/axios/lib/platform/common/utils.js
37356  var utils_exports = {};
37357  __export(utils_exports, {
37358    hasBrowserEnv: () => hasBrowserEnv,
37359    hasStandardBrowserEnv: () => hasStandardBrowserEnv,
37360    hasStandardBrowserWebWorkerEnv: () => hasStandardBrowserWebWorkerEnv,
37361    navigator: () => _navigator,
37362    origin: () => origin
37363  });
37364  var hasBrowserEnv, _navigator, hasStandardBrowserEnv, hasStandardBrowserWebWorkerEnv, origin;
37365  var init_utils2 = __esm({
37366    "node_modules/axios/lib/platform/common/utils.js"() {
37367      init_esbuild_shims();
37368      hasBrowserEnv = typeof window !== "undefined" && typeof document !== "undefined";
37369      _navigator = typeof navigator === "object" && navigator || void 0;
37370      hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || ["ReactNative", "NativeScript", "NS"].indexOf(_navigator.product) < 0);
37371      hasStandardBrowserWebWorkerEnv = (() => {
37372        return typeof WorkerGlobalScope !== "undefined" && // eslint-disable-next-line no-undef
37373        self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
37374      })();
37375      origin = hasBrowserEnv && window.location.href || "http://localhost";
37376    }
37377  });
37378
37379  
vendor: 328 bytes, lines 37379-37390
37379// node_modules/axios/lib/platform/index.js
37380  var platform_default;
37381  var init_platform = __esm({
37382    "node_modules/axios/lib/platform/index.js"() {
37383      init_esbuild_shims();
37384      init_browser();
37385      init_utils2();
37386      platform_default = __spreadValues(__spreadValues({}, utils_exports), browser_default);
37387    }
37388  });
37389
37390  
vendor: 737 bytes, lines 37390-37412
37390// node_modules/axios/lib/helpers/toURLEncodedForm.js
37391  function toURLEncodedForm(data, options2) {
37392    return toFormData_default(data, new platform_default.classes.URLSearchParams(), __spreadValues({
37393      visitor: function(value, key, path, helpers) {
37394        if (platform_default.isNode && utils_default.isBuffer(value)) {
37395          this.append(key, value.toString("base64"));
37396          return false;
37397        }
37398        return helpers.defaultVisitor.apply(this, arguments);
37399      }
37400    }, options2));
37401  }
37402  var init_toURLEncodedForm = __esm({
37403    "node_modules/axios/lib/helpers/toURLEncodedForm.js"() {
37404      "use strict";
37405      init_esbuild_shims();
37406      init_utils();
37407      init_toFormData();
37408      init_platform();
37409    }
37410  });
37411
37412  
vendor: 2,571 bytes, lines 37412-37490
37412// node_modules/axios/lib/helpers/formDataToJSON.js
37413  function throwIfDepthExceeded(index2) {
37414    if (index2 > MAX_DEPTH) {
37415      throw new AxiosError_default(
37416        "FormData field is too deeply nested (" + index2 + " levels). Max depth: " + MAX_DEPTH,
37417        AxiosError_default.ERR_FORM_DATA_DEPTH_EXCEEDED
37418      );
37419    }
37420  }
37421  function parsePropPath(name2) {
37422    const path = [];
37423    const pattern = /[^.[\]]+|\[([^.[\]]*)]/g;
37424    let match2;
37425    while ((match2 = pattern.exec(name2)) !== null) {
37426      throwIfDepthExceeded(path.length);
37427      path.push(match2[0] === "[]" ? "" : match2[1] || match2[0]);
37428    }
37429    return path;
37430  }
37431  function arrayToObject(arr) {
37432    const obj = {};
37433    const keys = Object.keys(arr);
37434    let i2;
37435    const len = keys.length;
37436    let key;
37437    for (i2 = 0; i2 < len; i2++) {
37438      key = keys[i2];
37439      obj[key] = arr[key];
37440    }
37441    return obj;
37442  }
37443  function formDataToJSON(formData) {
37444    function buildPath(path, value, target, index2) {
37445      throwIfDepthExceeded(index2);
37446      let name2 = path[index2++];
37447      if (name2 === "__proto__") return true;
37448      const isNumericKey = Number.isFinite(+name2);
37449      const isLast = index2 >= path.length;
37450      name2 = !name2 && utils_default.isArray(target) ? target.length : name2;
37451      if (isLast) {
37452        if (utils_default.hasOwnProp(target, name2)) {
37453          target[name2] = utils_default.isArray(target[name2]) ? target[name2].concat(value) : [target[name2], value];
37454        } else {
37455          target[name2] = value;
37456        }
37457        return !isNumericKey;
37458      }
37459      if (!utils_default.hasOwnProp(target, name2) || !utils_default.isObject(target[name2])) {
37460        target[name2] = [];
37461      }
37462      const result = buildPath(path, value, target[name2], index2);
37463      if (result && utils_default.isArray(target[name2])) {
37464        target[name2] = arrayToObject(target[name2]);
37465      }
37466      return !isNumericKey;
37467    }
37468    if (utils_default.isFormData(formData) && utils_default.isFunction(formData.entries)) {
37469      const obj = {};
37470      utils_default.forEachEntry(formData, (name2, value) => {
37471        buildPath(parsePropPath(name2), value, obj, 0);
37472      });
37473      return obj;
37474    }
37475    return null;
37476  }
37477  var MAX_DEPTH, formDataToJSON_default;
37478  var init_formDataToJSON = __esm({
37479    "node_modules/axios/lib/helpers/formDataToJSON.js"() {
37480      "use strict";
37481      init_esbuild_shims();
37482      init_utils();
37483      init_AxiosError();
37484      init_toFormData();
37485      MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH;
37486      formDataToJSON_default = formDataToJSON;
37487    }
37488  });
37489
37490  
vendor: 497 bytes, lines 37490-37513
37490// node_modules/axios/lib/core/methodList.js
37491  var methodList, methodList_default;
37492  var init_methodList = __esm({
37493    "node_modules/axios/lib/core/methodList.js"() {
37494      "use strict";
37495      init_esbuild_shims();
37496      methodList = Object.freeze([
37497        "get",
37498        "delete",
37499        "head",
37500        "options",
37501        "post",
37502        "put",
37503        "patch",
37504        "purge",
37505        "link",
37506        "unlink",
37507        "query"
37508      ]);
37509      methodList_default = methodList;
37510    }
37511  });
37512
37513  
vendor: 5,270 bytes, lines 37513-37645
37513// node_modules/axios/lib/defaults/index.js
37514  function stringifySafely2(rawValue, parser, encoder) {
37515    if (utils_default.isString(rawValue)) {
37516      try {
37517        (parser || JSON.parse)(rawValue);
37518        return utils_default.trim(rawValue);
37519      } catch (e) {
37520        if (e.name !== "SyntaxError") {
37521          throw e;
37522        }
37523      }
37524    }
37525    return (encoder || JSON.stringify)(rawValue);
37526  }
37527  var own, defaults, defaults_default;
37528  var init_defaults = __esm({
37529    "node_modules/axios/lib/defaults/index.js"() {
37530      "use strict";
37531      init_esbuild_shims();
37532      init_utils();
37533      init_AxiosError();
37534      init_transitional();
37535      init_toFormData();
37536      init_toURLEncodedForm();
37537      init_platform();
37538      init_formDataToJSON();
37539      init_methodList();
37540      own = (obj, key) => obj != null && utils_default.hasOwnProp(obj, key) ? obj[key] : void 0;
37541      defaults = {
37542        transitional: transitional_default,
37543        adapter: ["xhr", "http", "fetch"],
37544        transformRequest: [
37545          function transformRequest(data, headers) {
37546            const contentType = headers.getContentType() || "";
37547            const hasJSONContentType = contentType.indexOf("application/json") > -1;
37548            const isObjectPayload = utils_default.isObject(data);
37549            if (isObjectPayload && utils_default.isHTMLForm(data)) {
37550              data = new FormData(data);
37551            }
37552            const isFormData2 = utils_default.isFormData(data);
37553            if (isFormData2) {
37554              return hasJSONContentType ? JSON.stringify(formDataToJSON_default(data)) : data;
37555            }
37556            if (utils_default.isArrayBuffer(data) || utils_default.isBuffer(data) || utils_default.isStream(data) || utils_default.isFile(data) || utils_default.isBlob(data) || utils_default.isReadableStream(data)) {
37557              return data;
37558            }
37559            if (utils_default.isArrayBufferView(data)) {
37560              return data.buffer;
37561            }
37562            if (utils_default.isURLSearchParams(data)) {
37563              headers.setContentType("application/x-www-form-urlencoded;charset=utf-8", false);
37564              return data.toString();
37565            }
37566            let isFileList2;
37567            if (isObjectPayload) {
37568              const formSerializer = own(this, "formSerializer");
37569              if (contentType.indexOf("application/x-www-form-urlencoded") > -1) {
37570                return toURLEncodedForm(data, formSerializer).toString();
37571              }
37572              if ((isFileList2 = utils_default.isFileList(data)) || contentType.indexOf("multipart/form-data") > -1) {
37573                const env = own(this, "env");
37574                const _FormData = env && env.FormData;
37575                return toFormData_default(
37576                  isFileList2 ? { "files[]": data } : data,
37577                  _FormData && new _FormData(),
37578                  formSerializer
37579                );
37580              }
37581            }
37582            if (isObjectPayload || hasJSONContentType) {
37583              headers.setContentType("application/json", false);
37584              return stringifySafely2(data);
37585            }
37586            return data;
37587          }
37588        ],
37589        transformResponse: [
37590          function transformResponse(data) {
37591            const transitional2 = own(this, "transitional") || defaults.transitional;
37592            const forcedJSONParsing = transitional2 && transitional2.forcedJSONParsing;
37593            const responseType = own(this, "responseType");
37594            const JSONRequested = responseType === "json";
37595            if (utils_default.isResponse(data) || utils_default.isReadableStream(data)) {
37596              return data;
37597            }
37598            if (data && utils_default.isString(data) && (forcedJSONParsing && !responseType || JSONRequested)) {
37599              const silentJSONParsing = transitional2 && transitional2.silentJSONParsing;
37600              const strictJSONParsing = !silentJSONParsing && JSONRequested;
37601              try {
37602                return JSON.parse(data, own(this, "parseReviver"));
37603              } catch (e) {
37604                if (strictJSONParsing) {
37605                  if (e.name === "SyntaxError") {
37606                    throw AxiosError_default.from(e, AxiosError_default.ERR_BAD_RESPONSE, this, null, own(this, "response"));
37607                  }
37608                  throw e;
37609                }
37610              }
37611            }
37612            return data;
37613          }
37614        ],
37615        /**
37616         * A timeout in milliseconds to abort a request. If set to 0 (default) a
37617         * timeout is not created.
37618         */
37619        timeout: 0,
37620        xsrfCookieName: "XSRF-TOKEN",
37621        xsrfHeaderName: "X-XSRF-TOKEN",
37622        maxContentLength: -1,
37623        maxBodyLength: -1,
37624        env: {
37625          FormData: platform_default.classes.FormData,
37626          Blob: platform_default.classes.Blob
37627        },
37628        validateStatus: function validateStatus(status) {
37629          return status >= 200 && status < 300;
37630        },
37631        headers: {
37632          common: {
37633            Accept: "application/json, text/plain, */*",
37634            "Content-Type": void 0
37635          }
37636        }
37637      };
37638      utils_default.forEach(methodList_default, (method) => {
37639        defaults.headers[method] = {};
37640      });
37641      defaults_default = defaults;
37642    }
37643  });
37644
37645  
vendor: 698 bytes, lines 37645-37667
37645// node_modules/axios/lib/core/transformData.js
37646  function transformData(fns, response) {
37647    const config2 = this || defaults_default;
37648    const context = response || config2;
37649    const headers = AxiosHeaders_default.from(context.headers);
37650    let data = context.data;
37651    utils_default.forEach(fns, function transform(fn) {
37652      data = fn.call(config2, data, headers.normalize(), response ? response.status : void 0);
37653    });
37654    headers.normalize();
37655    return data;
37656  }
37657  var init_transformData = __esm({
37658    "node_modules/axios/lib/core/transformData.js"() {
37659      "use strict";
37660      init_esbuild_shims();
37661      init_utils();
37662      init_defaults();
37663      init_AxiosHeaders();
37664    }
37665  });
37666
37667  
vendor: 265 bytes, lines 37667-37678
37667// node_modules/axios/lib/cancel/isCancel.js
37668  function isCancel(value) {
37669    return !!(value && value.__CANCEL__);
37670  }
37671  var init_isCancel = __esm({
37672    "node_modules/axios/lib/cancel/isCancel.js"() {
37673      "use strict";
37674      init_esbuild_shims();
37675    }
37676  });
37677
37678  
vendor: 959 bytes, lines 37678-37705
37678// node_modules/axios/lib/cancel/CanceledError.js
37679  var CanceledError, CanceledError_default;
37680  var init_CanceledError = __esm({
37681    "node_modules/axios/lib/cancel/CanceledError.js"() {
37682      "use strict";
37683      init_esbuild_shims();
37684      init_AxiosError();
37685      CanceledError = class extends AxiosError_default {
37686        /**
37687         * A `CanceledError` is an object that is thrown when an operation is canceled.
37688         *
37689         * @param {string=} message The message.
37690         * @param {Object=} config The config.
37691         * @param {Object=} request The request.
37692         *
37693         * @returns {CanceledError} The created error.
37694         */
37695        constructor(message, config2, request) {
37696          super(message == null ? "canceled" : message, AxiosError_default.ERR_CANCELED, config2, request);
37697          this.name = "CanceledError";
37698          this.__CANCEL__ = true;
37699        }
37700      };
37701      CanceledError_default = CanceledError;
37702    }
37703  });
37704
37705  
vendor: 753 bytes, lines 37705-37728
37705// node_modules/axios/lib/core/settle.js
37706  function settle(resolve, reject, response) {
37707    const validateStatus2 = response.config.validateStatus;
37708    if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
37709      resolve(response);
37710    } else {
37711      reject(new AxiosError_default(
37712        "Request failed with status code " + response.status,
37713        response.status >= 400 && response.status < 500 ? AxiosError_default.ERR_BAD_REQUEST : AxiosError_default.ERR_BAD_RESPONSE,
37714        response.config,
37715        response.request,
37716        response
37717      ));
37718    }
37719  }
37720  var init_settle = __esm({
37721    "node_modules/axios/lib/core/settle.js"() {
37722      "use strict";
37723      init_esbuild_shims();
37724      init_AxiosError();
37725    }
37726  });
37727
37728  
vendor: 617 bytes, lines 37728-37748
37728// node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js
37729  function normalizeURLForProtocolCheck(url) {
37730    if (typeof url !== "string") {
37731      return url;
37732    }
37733    let start = 0;
37734    while (start < url.length && url.charCodeAt(start) <= 32) {
37735      start++;
37736    }
37737    return url.slice(start).replace(urlParserControlCharacters, "");
37738  }
37739  var urlParserControlCharacters;
37740  var init_normalizeURLForProtocolCheck = __esm({
37741    "node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js"() {
37742      "use strict";
37743      init_esbuild_shims();
37744      urlParserControlCharacters = /[\t\n\r]/g;
37745    }
37746  });
37747
37748  
vendor: 339 bytes, lines 37748-37760
37748// node_modules/axios/lib/helpers/parseProtocol.js
37749  function parseProtocol(url) {
37750    const match2 = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url);
37751    return match2 && match2[1] || "";
37752  }
37753  var init_parseProtocol = __esm({
37754    "node_modules/axios/lib/helpers/parseProtocol.js"() {
37755      "use strict";
37756      init_esbuild_shims();
37757    }
37758  });
37759
37760  
vendor: 1,247 bytes, lines 37760-37803
37760// node_modules/axios/lib/helpers/speedometer.js
37761  function speedometer(samplesCount, min2) {
37762    samplesCount = samplesCount || 10;
37763    const bytes = new Array(samplesCount);
37764    const timestamps = new Array(samplesCount);
37765    let head = 0;
37766    let tail = 0;
37767    let firstSampleTS;
37768    min2 = min2 !== void 0 ? min2 : 1e3;
37769    return function push(chunkLength) {
37770      const now = Date.now();
37771      const startedAt = timestamps[tail];
37772      if (!firstSampleTS) {
37773        firstSampleTS = now;
37774      }
37775      bytes[head] = chunkLength;
37776      timestamps[head] = now;
37777      let i2 = tail;
37778      let bytesCount = 0;
37779      while (i2 !== head) {
37780        bytesCount += bytes[i2++];
37781        i2 = i2 % samplesCount;
37782      }
37783      head = (head + 1) % samplesCount;
37784      if (head === tail) {
37785        tail = (tail + 1) % samplesCount;
37786      }
37787      if (now - firstSampleTS < min2) {
37788        return;
37789      }
37790      const passed = startedAt && now - startedAt;
37791      return passed ? Math.round(bytesCount * 1e3 / passed) : void 0;
37792    };
37793  }
37794  var speedometer_default;
37795  var init_speedometer = __esm({
37796    "node_modules/axios/lib/helpers/speedometer.js"() {
37797      "use strict";
37798      init_esbuild_shims();
37799      speedometer_default = speedometer;
37800    }
37801  });
37802
37803  
vendor: 1,080 bytes, lines 37803-37845
37803// node_modules/axios/lib/helpers/throttle.js
37804  function throttle(fn, freq) {
37805    let timestamp = 0;
37806    let threshold = 1e3 / freq;
37807    let lastArgs;
37808    let timer;
37809    const invoke = (args, now = Date.now()) => {
37810      timestamp = now;
37811      lastArgs = null;
37812      if (timer) {
37813        clearTimeout(timer);
37814        timer = null;
37815      }
37816      fn(...args);
37817    };
37818    const throttled = (...args) => {
37819      const now = Date.now();
37820      const passed = now - timestamp;
37821      if (passed >= threshold) {
37822        invoke(args, now);
37823      } else {
37824        lastArgs = args;
37825        if (!timer) {
37826          timer = setTimeout(() => {
37827            timer = null;
37828            invoke(lastArgs);
37829          }, threshold - passed);
37830        }
37831      }
37832    };
37833    const flush2 = () => lastArgs && invoke(lastArgs);
37834    const flushWith = (...args) => invoke(args);
37835    return [throttled, flush2, flushWith];
37836  }
37837  var throttle_default;
37838  var init_throttle = __esm({
37839    "node_modules/axios/lib/helpers/throttle.js"() {
37840      init_esbuild_shims();
37841      throttle_default = throttle;
37842    }
37843  });
37844
37845  
vendor: 1,887 bytes, lines 37845-37895
37845// node_modules/axios/lib/helpers/progressEventReducer.js
37846  var progressEventReducer, progressEventDecorator, asyncDecorator;
37847  var init_progressEventReducer = __esm({
37848    "node_modules/axios/lib/helpers/progressEventReducer.js"() {
37849      init_esbuild_shims();
37850      init_speedometer();
37851      init_throttle();
37852      init_utils();
37853      progressEventReducer = (listener2, isDownloadStream, freq = 3) => {
37854        let bytesNotified = 0;
37855        const _speedometer = speedometer_default(50, 250);
37856        return throttle_default((e) => {
37857          if (!e || !utils_default.isNumber(e.loaded)) {
37858            return;
37859          }
37860          const rawLoaded = e.loaded;
37861          const total = e.lengthComputable ? e.total : void 0;
37862          const loaded2 = Math.max(0, total != null ? Math.min(rawLoaded, total) : rawLoaded);
37863          const progressBytes = Math.max(0, loaded2 - bytesNotified);
37864          const rate = _speedometer(progressBytes);
37865          bytesNotified = Math.max(bytesNotified, loaded2);
37866          const data = {
37867            loaded: loaded2,
37868            total,
37869            progress: total ? loaded2 / total : void 0,
37870            bytes: progressBytes,
37871            rate: rate ? rate : void 0,
37872            estimated: rate && total ? (total - loaded2) / rate : void 0,
37873            event: e,
37874            lengthComputable: total != null,
37875            [isDownloadStream ? "download" : "upload"]: true
37876          };
37877          listener2(data);
37878        }, freq);
37879      };
37880      progressEventDecorator = (total, throttled) => {
37881        const lengthComputable = total != null;
37882        return [
37883          (loaded2) => throttled[0]({
37884            lengthComputable,
37885            total,
37886            loaded: loaded2
37887          }),
37888          throttled[1]
37889        ];
37890      };
37891      asyncDecorator = (fn, scheduler = utils_default.asap) => (...args) => scheduler(() => fn(...args));
37892    }
37893  });
37894
37895  
vendor: 715 bytes, lines 37895-37911
37895// node_modules/axios/lib/helpers/isURLSameOrigin.js
37896  var isURLSameOrigin_default;
37897  var init_isURLSameOrigin = __esm({
37898    "node_modules/axios/lib/helpers/isURLSameOrigin.js"() {
37899      init_esbuild_shims();
37900      init_platform();
37901      isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PURE__ */ ((origin2, isMSIE) => (url) => {
37902        url = new URL(url, platform_default.origin);
37903        return origin2.protocol === url.protocol && origin2.host === url.host && (isMSIE || origin2.port === url.port);
37904      })(
37905        new URL(platform_default.origin),
37906        platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
37907      ) : () => true;
37908    }
37909  });
37910
37911  
vendor: 2,169 bytes, lines 37911-37976
37911// node_modules/axios/lib/helpers/cookies.js
37912  var cookies_default;
37913  var init_cookies = __esm({
37914    "node_modules/axios/lib/helpers/cookies.js"() {
37915      init_esbuild_shims();
37916      init_utils();
37917      init_platform();
37918      cookies_default = platform_default.hasStandardBrowserEnv ? (
37919        // Standard browser envs support document.cookie
37920        {
37921          write(name2, value, expires, path, domain, secure, sameSite) {
37922            if (typeof document === "undefined") return;
37923            const cookie = [`${name2}=${encodeURIComponent(value)}`];
37924            if (utils_default.isNumber(expires)) {
37925              cookie.push(`expires=${new Date(expires).toUTCString()}`);
37926            }
37927            if (utils_default.isString(path)) {
37928              cookie.push(`path=${path}`);
37929            }
37930            if (utils_default.isString(domain)) {
37931              cookie.push(`domain=${domain}`);
37932            }
37933            if (secure === true) {
37934              cookie.push("secure");
37935            }
37936            if (utils_default.isString(sameSite)) {
37937              cookie.push(`SameSite=${sameSite}`);
37938            }
37939            document.cookie = cookie.join("; ");
37940          },
37941          read(name2) {
37942            if (typeof document === "undefined") return null;
37943            const cookies = document.cookie.split(";");
37944            for (let i2 = 0; i2 < cookies.length; i2++) {
37945              const cookie = cookies[i2].replace(/^\s+/, "");
37946              const eq = cookie.indexOf("=");
37947              if (eq !== -1 && cookie.slice(0, eq) === name2) {
37948                try {
37949                  return decodeURIComponent(cookie.slice(eq + 1));
37950                } catch (e) {
37951                  return cookie.slice(eq + 1);
37952                }
37953              }
37954            }
37955            return null;
37956          },
37957          remove(name2) {
37958            this.write(name2, "", Date.now() - 864e5, "/");
37959          }
37960        }
37961      ) : (
37962        // Non-standard browser env (web workers, react-native) lack needed support.
37963        {
37964          write() {
37965          },
37966          read() {
37967            return null;
37968          },
37969          remove() {
37970          }
37971        }
37972      );
37973    }
37974  });
37975
37976  
vendor: 356 bytes, lines 37976-37990
37976// node_modules/axios/lib/helpers/isAbsoluteURL.js
37977  function isAbsoluteURL(url) {
37978    if (typeof url !== "string") {
37979      return false;
37980    }
37981    return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
37982  }
37983  var init_isAbsoluteURL = __esm({
37984    "node_modules/axios/lib/helpers/isAbsoluteURL.js"() {
37985      "use strict";
37986      init_esbuild_shims();
37987    }
37988  });
37989
37990  
vendor: 492 bytes, lines 37990-38008
37990// node_modules/axios/lib/helpers/combineURLs.js
37991  function combineURLs(baseURL, relativeURL) {
37992    if (!relativeURL) {
37993      return baseURL;
37994    }
37995    let end2 = baseURL.length;
37996    while (end2 > 0 && baseURL.charCodeAt(end2 - 1) === 47) {
37997      end2--;
37998    }
37999    return baseURL.slice(0, end2) + "/" + relativeURL.replace(/^\/+/, "");
38000  }
38001  var init_combineURLs = __esm({
38002    "node_modules/axios/lib/helpers/combineURLs.js"() {
38003      "use strict";
38004      init_esbuild_shims();
38005    }
38006  });
38007
38008  
vendor: 2,093 bytes, lines 38008-38064
38008// node_modules/axios/lib/core/buildFullPath.js
38009  function redactFragment(fragment) {
38010    if (!fragment) {
38011      return fragment;
38012    }
38013    return fragment.replace(/(^|&)([^=&]*=)?[^&]+/g, (match2, separator, parameterName = "") => {
38014      return `${separator}${parameterName}${REDACTED}`;
38015    });
38016  }
38017  function redactSensitiveURLParts(url) {
38018    const redactedURL = url.replace(/^(https?:\/{0,2})[^/?#]*@/i, `$1${REDACTED}@`);
38019    const fragmentIndex = redactedURL.indexOf("#");
38020    const urlWithoutFragment = fragmentIndex === -1 ? redactedURL : redactedURL.slice(0, fragmentIndex);
38021    const redactedURLWithoutFragment = urlWithoutFragment.replace(
38022      /([?&][^=&#]*=)[^&#]*/g,
38023      `$1${REDACTED}`
38024    );
38025    if (fragmentIndex === -1) {
38026      return redactedURLWithoutFragment;
38027    }
38028    return `${redactedURLWithoutFragment}#${redactFragment(redactedURL.slice(fragmentIndex + 1))}`;
38029  }
38030  function assertValidHttpProtocolURL(url, config2) {
38031    if (typeof url === "string") {
38032      const normalizedURL = normalizeURLForProtocolCheck(url);
38033      if (malformedHttpProtocol.test(normalizedURL)) {
38034        throw new AxiosError_default(
38035          `Invalid URL ${JSON.stringify(redactSensitiveURLParts(normalizedURL))}: missing "//" after protocol`,
38036          AxiosError_default.ERR_INVALID_URL,
38037          config2
38038        );
38039      }
38040    }
38041  }
38042  function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config2) {
38043    assertValidHttpProtocolURL(requestedURL, config2);
38044    let isRelativeUrl = !isAbsoluteURL(requestedURL);
38045    if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) {
38046      assertValidHttpProtocolURL(baseURL, config2);
38047      return combineURLs(baseURL, requestedURL);
38048    }
38049    return requestedURL;
38050  }
38051  var malformedHttpProtocol;
38052  var init_buildFullPath = __esm({
38053    "node_modules/axios/lib/core/buildFullPath.js"() {
38054      "use strict";
38055      init_esbuild_shims();
38056      init_AxiosError();
38057      init_isAbsoluteURL();
38058      init_combineURLs();
38059      init_normalizeURLForProtocolCheck();
38060      malformedHttpProtocol = /^https?:(?!\/\/)/i;
38061    }
38062  });
38063
38064  
vendor: 5,680 bytes, lines 38064-38201
38064// node_modules/axios/lib/core/mergeConfig.js
38065  function mergeConfig(config1, config2) {
38066    config1 = config1 || {};
38067    config2 = config2 || {};
38068    const config3 = /* @__PURE__ */ Object.create(null);
38069    Object.defineProperty(config3, "hasOwnProperty", {
38070      // Null-proto descriptor so a polluted Object.prototype.get cannot turn
38071      // this data descriptor into an accessor descriptor on the way in.
38072      __proto__: null,
38073      value: Object.prototype.hasOwnProperty,
38074      enumerable: false,
38075      writable: true,
38076      configurable: true
38077    });
38078    function getMergedValue(target, source, prop, caseless) {
38079      if (utils_default.isPlainObject(target) && utils_default.isPlainObject(source)) {
38080        return utils_default.merge.call({ caseless }, target, source);
38081      } else if (utils_default.isPlainObject(source)) {
38082        return utils_default.merge({}, source);
38083      } else if (utils_default.isArray(source)) {
38084        return source.slice();
38085      }
38086      return source;
38087    }
38088    function mergeDeepProperties(a, b, prop, caseless) {
38089      if (!utils_default.isUndefined(b)) {
38090        return getMergedValue(a, b, prop, caseless);
38091      } else if (!utils_default.isUndefined(a)) {
38092        return getMergedValue(void 0, a, prop, caseless);
38093      }
38094    }
38095    function valueFromConfig2(a, b) {
38096      if (!utils_default.isUndefined(b)) {
38097        return getMergedValue(void 0, b);
38098      }
38099    }
38100    function defaultToConfig2(a, b) {
38101      if (!utils_default.isUndefined(b)) {
38102        return getMergedValue(void 0, b);
38103      } else if (!utils_default.isUndefined(a)) {
38104        return getMergedValue(void 0, a);
38105      }
38106    }
38107    function getMergedTransitionalOption(prop) {
38108      const transitional2 = utils_default.hasOwnProp(config2, "transitional") ? config2.transitional : void 0;
38109      if (!utils_default.isUndefined(transitional2)) {
38110        if (utils_default.isPlainObject(transitional2)) {
38111          if (utils_default.hasOwnProp(transitional2, prop)) {
38112            return transitional2[prop];
38113          }
38114        } else {
38115          return void 0;
38116        }
38117      }
38118      const transitional1 = utils_default.hasOwnProp(config1, "transitional") ? config1.transitional : void 0;
38119      if (utils_default.isPlainObject(transitional1) && utils_default.hasOwnProp(transitional1, prop)) {
38120        return transitional1[prop];
38121      }
38122      return void 0;
38123    }
38124    function mergeDirectKeys(a, b, prop) {
38125      if (utils_default.hasOwnProp(config2, prop)) {
38126        return getMergedValue(a, b);
38127      } else if (utils_default.hasOwnProp(config1, prop)) {
38128        return getMergedValue(void 0, a);
38129      }
38130    }
38131    const mergeMap = {
38132      url: valueFromConfig2,
38133      method: valueFromConfig2,
38134      data: valueFromConfig2,
38135      baseURL: defaultToConfig2,
38136      transformRequest: defaultToConfig2,
38137      transformResponse: defaultToConfig2,
38138      paramsSerializer: defaultToConfig2,
38139      timeout: defaultToConfig2,
38140      timeoutErrorMessage: defaultToConfig2,
38141      withCredentials: defaultToConfig2,
38142      withXSRFToken: defaultToConfig2,
38143      adapter: defaultToConfig2,
38144      responseType: defaultToConfig2,
38145      xsrfCookieName: defaultToConfig2,
38146      xsrfHeaderName: defaultToConfig2,
38147      onUploadProgress: defaultToConfig2,
38148      onDownloadProgress: defaultToConfig2,
38149      decompress: defaultToConfig2,
38150      maxContentLength: defaultToConfig2,
38151      maxBodyLength: defaultToConfig2,
38152      beforeRedirect: defaultToConfig2,
38153      transport: defaultToConfig2,
38154      httpAgent: defaultToConfig2,
38155      httpsAgent: defaultToConfig2,
38156      cancelToken: defaultToConfig2,
38157      socketPath: defaultToConfig2,
38158      allowedSocketPaths: defaultToConfig2,
38159      responseEncoding: defaultToConfig2,
38160      validateStatus: mergeDirectKeys,
38161      headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
38162    };
38163    utils_default.forEach(ownEnumerableKeys(__spreadValues(__spreadValues({}, config1), config2)), function computeConfigValue(prop) {
38164      if (prop === "__proto__" || prop === "constructor" || prop === "prototype") return;
38165      const merge2 = utils_default.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
38166      const a = utils_default.hasOwnProp(config1, prop) ? config1[prop] : void 0;
38167      const b = utils_default.hasOwnProp(config2, prop) ? config2[prop] : void 0;
38168      const configValue = merge2(a, b, prop);
38169      utils_default.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config3[prop] = configValue);
38170    });
38171    if (utils_default.hasOwnProp(config2, "validateStatus") && utils_default.isUndefined(config2.validateStatus) && getMergedTransitionalOption("validateStatusUndefinedResolves") === false) {
38172      if (utils_default.hasOwnProp(config1, "validateStatus")) {
38173        config3.validateStatus = getMergedValue(void 0, config1.validateStatus);
38174      } else {
38175        delete config3.validateStatus;
38176      }
38177    }
38178    return config3;
38179  }
38180  var headersToObject, ownEnumerableKeys;
38181  var init_mergeConfig = __esm({
38182    "node_modules/axios/lib/core/mergeConfig.js"() {
38183      "use strict";
38184      init_esbuild_shims();
38185      init_utils();
38186      init_AxiosHeaders();
38187      headersToObject = (thing) => thing instanceof AxiosHeaders_default ? __spreadValues({}, thing) : thing;
38188      ownEnumerableKeys = (thing) => {
38189        if (Object.getOwnPropertySymbols && Object.getOwnPropertyDescriptor) {
38190          return Object.keys(thing).concat(
38191            Object.getOwnPropertySymbols(thing).filter(
38192              (symbol) => Object.getOwnPropertyDescriptor(thing, symbol).enumerable
38193            )
38194          );
38195        }
38196        return Object.keys(thing);
38197      };
38198    }
38199  });
38200
38201  
vendor: 652 bytes, lines 38201-38222
38201// node_modules/axios/lib/core/setFormDataHeaders.js
38202  function setFormDataHeaders(headers, formHeaders, policy) {
38203    if (policy !== "content-only") {
38204      headers.set(formHeaders);
38205      return;
38206    }
38207    Object.entries(formHeaders || {}).forEach(([key, val]) => {
38208      if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) {
38209        headers.set(key, val);
38210      }
38211    });
38212  }
38213  var FORM_DATA_CONTENT_HEADERS;
38214  var init_setFormDataHeaders = __esm({
38215    "node_modules/axios/lib/core/setFormDataHeaders.js"() {
38216      "use strict";
38217      init_esbuild_shims();
38218      FORM_DATA_CONTENT_HEADERS = ["content-type", "content-length"];
38219    }
38220  });
38221
38222  
vendor: 2,892 bytes, lines 38222-38297
38222// node_modules/axios/lib/helpers/resolveConfig.js
38223  function resolveConfig(config2) {
38224    const newConfig = mergeConfig({}, config2);
38225    const own2 = (key) => utils_default.hasOwnProp(newConfig, key) ? newConfig[key] : void 0;
38226    const data = own2("data");
38227    let withXSRFToken = own2("withXSRFToken");
38228    const xsrfHeaderName = own2("xsrfHeaderName");
38229    const xsrfCookieName = own2("xsrfCookieName");
38230    let headers = own2("headers");
38231    const auth = own2("auth");
38232    const baseURL = own2("baseURL");
38233    const allowAbsoluteUrls = own2("allowAbsoluteUrls");
38234    const url = own2("url");
38235    newConfig.headers = headers = AxiosHeaders_default.from(headers);
38236    newConfig.url = buildURL(
38237      buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig),
38238      own2("params"),
38239      own2("paramsSerializer")
38240    );
38241    if (auth) {
38242      const username = utils_default.getSafeProp(auth, "username") || "";
38243      const password = utils_default.getSafeProp(auth, "password") || "";
38244      try {
38245        headers.set(
38246          "Authorization",
38247          "Basic " + btoa(username + ":" + (password ? encodeUTF8(password) : ""))
38248        );
38249      } catch (e) {
38250        throw AxiosError_default.from(e, AxiosError_default.ERR_BAD_OPTION_VALUE, config2);
38251      }
38252    }
38253    if (utils_default.isFormData(data)) {
38254      const getHeaders = utils_default.getSafeProp(data, "getHeaders");
38255      if (platform_default.hasStandardBrowserEnv || platform_default.hasStandardBrowserWebWorkerEnv || utils_default.isReactNative(data)) {
38256        headers.setContentType(void 0);
38257      } else if (utils_default.isFunction(getHeaders)) {
38258        setFormDataHeaders(headers, getHeaders.call(data), own2("formDataHeaderPolicy"));
38259      }
38260    }
38261    if (platform_default.hasStandardBrowserEnv) {
38262      if (utils_default.isFunction(withXSRFToken)) {
38263        withXSRFToken = withXSRFToken(newConfig);
38264      }
38265      const shouldSendXSRF = withXSRFToken === true || withXSRFToken == null && isURLSameOrigin_default(newConfig.url);
38266      if (shouldSendXSRF) {
38267        const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies_default.read(xsrfCookieName);
38268        if (xsrfValue) {
38269          headers.set(xsrfHeaderName, xsrfValue);
38270        }
38271      }
38272    }
38273    return newConfig;
38274  }
38275  var encodeUTF8, resolveConfig_default;
38276  var init_resolveConfig = __esm({
38277    "node_modules/axios/lib/helpers/resolveConfig.js"() {
38278      init_esbuild_shims();
38279      init_platform();
38280      init_utils();
38281      init_AxiosError();
38282      init_isURLSameOrigin();
38283      init_cookies();
38284      init_buildFullPath();
38285      init_mergeConfig();
38286      init_AxiosHeaders();
38287      init_setFormDataHeaders();
38288      init_buildURL();
38289      encodeUTF8 = (str) => encodeURIComponent(str).replace(
38290        /%([0-9A-F]{2})/gi,
38291        (_, hex) => String.fromCharCode(parseInt(hex, 16))
38292      );
38293      resolveConfig_default = resolveConfig;
38294    }
38295  });
38296
38297  
vendor: 7,574 bytes, lines 38297-38485
38297// node_modules/axios/lib/adapters/xhr.js
38298  var isXHRAdapterSupported, xhr_default;
38299  var init_xhr = __esm({
38300    "node_modules/axios/lib/adapters/xhr.js"() {
38301      init_esbuild_shims();
38302      init_utils();
38303      init_settle();
38304      init_transitional();
38305      init_AxiosError();
38306      init_CanceledError();
38307      init_normalizeURLForProtocolCheck();
38308      init_parseProtocol();
38309      init_platform();
38310      init_AxiosHeaders();
38311      init_progressEventReducer();
38312      init_resolveConfig();
38313      init_sanitizeHeaderValue();
38314      isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
38315      xhr_default = isXHRAdapterSupported && function(config2) {
38316        return new Promise(function dispatchXhrRequest(resolve, reject) {
38317          const _config2 = resolveConfig_default(config2);
38318          let requestData = _config2.data;
38319          const requestHeaders = AxiosHeaders_default.from(_config2.headers).normalize();
38320          let { responseType, onUploadProgress, onDownloadProgress } = _config2;
38321          let onCanceled;
38322          let uploadThrottled, downloadThrottled;
38323          let flushUpload, flushDownload, flushDownloadWithEvent;
38324          function done() {
38325            flushUpload && flushUpload();
38326            flushDownload && flushDownload();
38327            _config2.cancelToken && _config2.cancelToken.unsubscribe(onCanceled);
38328            _config2.signal && _config2.signal.removeEventListener("abort", onCanceled);
38329          }
38330          let request = new XMLHttpRequest();
38331          request.open(_config2.method.toUpperCase(), _config2.url, true);
38332          request.timeout = _config2.timeout;
38333          function onloadend(event) {
38334            if (!request) {
38335              return;
38336            }
38337            if (request.status === 0 && (parseProtocol(normalizeURLForProtocolCheck(_config2.url)) || parseProtocol(platform_default.origin)) !== "file" && !(request.responseURL && request.responseURL.startsWith("file:"))) {
38338              reject(new AxiosError_default("Request aborted", AxiosError_default.ECONNABORTED, config2, request));
38339              done();
38340              request = null;
38341              return;
38342            }
38343            try {
38344              if (event) {
38345                flushDownloadWithEvent && flushDownloadWithEvent(event);
38346              } else {
38347                flushDownload && flushDownload();
38348              }
38349            } catch (err) {
38350              setTimeout(() => {
38351                throw err;
38352              });
38353            }
38354            if (!request) {
38355              return;
38356            }
38357            const responseHeaders = AxiosHeaders_default.from(
38358              "getAllResponseHeaders" in request && request.getAllResponseHeaders()
38359            );
38360            const responseData = !responseType || responseType === "text" || responseType === "json" ? request.responseText : request.response;
38361            const response = {
38362              data: responseData,
38363              status: request.status,
38364              statusText: request.statusText,
38365              headers: responseHeaders,
38366              config: config2,
38367              request
38368            };
38369            settle(
38370              function _resolve(value) {
38371                resolve(value);
38372                done();
38373              },
38374              function _reject(err) {
38375                reject(err);
38376                done();
38377              },
38378              response
38379            );
38380            request = null;
38381          }
38382          if ("onloadend" in request) {
38383            request.onloadend = onloadend;
38384          } else {
38385            request.onreadystatechange = function handleLoad() {
38386              if (!request || request.readyState !== 4) {
38387                return;
38388              }
38389              if (request.status === 0 && !(request.responseURL && request.responseURL.startsWith("file:"))) {
38390                return;
38391              }
38392              setTimeout(onloadend);
38393            };
38394          }
38395          request.onabort = function handleAbort() {
38396            if (!request) {
38397              return;
38398            }
38399            reject(new AxiosError_default("Request aborted", AxiosError_default.ECONNABORTED, config2, request));
38400            done();
38401            request = null;
38402          };
38403          request.onerror = function handleError(event) {
38404            const msg = event && event.message ? event.message : "Network Error";
38405            const err = new AxiosError_default(msg, AxiosError_default.ERR_NETWORK, config2, request);
38406            err.event = event || null;
38407            reject(err);
38408            done();
38409            request = null;
38410          };
38411          request.ontimeout = function handleTimeout() {
38412            let timeoutErrorMessage = _config2.timeout ? "timeout of " + _config2.timeout + "ms exceeded" : "timeout exceeded";
38413            const transitional2 = _config2.transitional || transitional_default;
38414            if (_config2.timeoutErrorMessage) {
38415              timeoutErrorMessage = _config2.timeoutErrorMessage;
38416            }
38417            reject(
38418              new AxiosError_default(
38419                timeoutErrorMessage,
38420                transitional2.clarifyTimeoutError ? AxiosError_default.ETIMEDOUT : AxiosError_default.ECONNABORTED,
38421                config2,
38422                request
38423              )
38424            );
38425            done();
38426            request = null;
38427          };
38428          requestData === void 0 && requestHeaders.setContentType(null);
38429          if ("setRequestHeader" in request) {
38430            utils_default.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) {
38431              request.setRequestHeader(key, val);
38432            });
38433          }
38434          if (!utils_default.isUndefined(_config2.withCredentials)) {
38435            request.withCredentials = !!_config2.withCredentials;
38436          }
38437          if (responseType && responseType !== "json") {
38438            request.responseType = _config2.responseType;
38439          }
38440          if (onDownloadProgress) {
38441            [downloadThrottled, flushDownload, flushDownloadWithEvent] = progressEventReducer(
38442              onDownloadProgress,
38443              true
38444            );
38445            request.addEventListener("progress", downloadThrottled);
38446          }
38447          if (onUploadProgress && request.upload) {
38448            [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress);
38449            request.upload.addEventListener("progress", uploadThrottled);
38450            request.upload.addEventListener("loadend", flushUpload);
38451          }
38452          if (_config2.cancelToken || _config2.signal) {
38453            onCanceled = (cancel) => {
38454              if (!request) {
38455                return;
38456              }
38457              reject(!cancel || cancel.type ? new CanceledError_default(null, config2, request) : cancel);
38458              request.abort();
38459              done();
38460              request = null;
38461            };
38462            _config2.cancelToken && _config2.cancelToken.subscribe(onCanceled);
38463            if (_config2.signal) {
38464              _config2.signal.aborted ? onCanceled() : _config2.signal.addEventListener("abort", onCanceled);
38465            }
38466          }
38467          const protocol = parseProtocol(_config2.url);
38468          if (protocol && !platform_default.protocols.includes(protocol)) {
38469            reject(
38470              new AxiosError_default(
38471                "Unsupported protocol " + protocol + ":",
38472                AxiosError_default.ERR_BAD_REQUEST,
38473                config2
38474              )
38475            );
38476            done();
38477            return;
38478          }
38479          request.send(requestData || null);
38480        });
38481      };
38482    }
38483  });
38484
38485  
vendor: 1,982 bytes, lines 38485-38543
38485// node_modules/axios/lib/helpers/composeSignals.js
38486  var composeSignals, composeSignals_default;
38487  var init_composeSignals = __esm({
38488    "node_modules/axios/lib/helpers/composeSignals.js"() {
38489      init_esbuild_shims();
38490      init_CanceledError();
38491      init_AxiosError();
38492      init_utils();
38493      composeSignals = (signals, timeout) => {
38494        signals = signals ? signals.filter(Boolean) : [];
38495        if (!timeout && !signals.length) {
38496          return;
38497        }
38498        const controller = new AbortController();
38499        let aborted = false;
38500        const onabort = function(reason) {
38501          if (!aborted) {
38502            aborted = true;
38503            unsubscribe();
38504            const err = reason instanceof Error ? reason : this.reason;
38505            controller.abort(
38506              err instanceof AxiosError_default ? err : new CanceledError_default(err instanceof Error ? err.message : err)
38507            );
38508          }
38509        };
38510        let timer = timeout && setTimeout(() => {
38511          timer = null;
38512          onabort(new AxiosError_default(`timeout of ${timeout}ms exceeded`, AxiosError_default.ETIMEDOUT));
38513        }, timeout);
38514        const unsubscribe = () => {
38515          if (!signals) {
38516            return;
38517          }
38518          timer && clearTimeout(timer);
38519          timer = null;
38520          signals.forEach((signal2) => {
38521            signal2.unsubscribe ? signal2.unsubscribe(onabort) : signal2.removeEventListener("abort", onabort);
38522          });
38523          signals = null;
38524        };
38525        signals.forEach((signal2) => {
38526          if (aborted) {
38527            return;
38528          }
38529          if (signal2.aborted) {
38530            onabort.call(signal2);
38531            return;
38532          }
38533          signal2.addEventListener("abort", onabort, { once: true });
38534        });
38535        const { signal } = controller;
38536        signal.unsubscribe = () => utils_default.asap(unsubscribe);
38537        return signal;
38538      };
38539      composeSignals_default = composeSignals;
38540    }
38541  });
38542
38543  
vendor: 3,180 bytes, lines 38543-38647
38543// node_modules/axios/lib/helpers/trackStream.js
38544  var streamChunk, readBytes, readStream, trackStream;
38545  var init_trackStream = __esm({
38546    "node_modules/axios/lib/helpers/trackStream.js"() {
38547      init_esbuild_shims();
38548      streamChunk = function* (chunk, chunkSize) {
38549        let len = chunk.byteLength;
38550        if (!chunkSize || len < chunkSize) {
38551          yield chunk;
38552          return;
38553        }
38554        let pos = 0;
38555        let end2;
38556        while (pos < len) {
38557          end2 = pos + chunkSize;
38558          yield chunk.slice(pos, end2);
38559          pos = end2;
38560        }
38561      };
38562      readBytes = function(iterable, chunkSize) {
38563        return __asyncGenerator(this, null, function* () {
38564          try {
38565            for (var iter = __forAwait(readStream(iterable)), more, temp, error; more = !(temp = yield new __await(iter.next())).done; more = false) {
38566              const chunk = temp.value;
38567              yield* __yieldStar(streamChunk(chunk, chunkSize));
38568            }
38569          } catch (temp) {
38570            error = [temp];
38571          } finally {
38572            try {
38573              more && (temp = iter.return) && (yield new __await(temp.call(iter)));
38574            } finally {
38575              if (error)
38576                throw error[0];
38577            }
38578          }
38579        });
38580      };
38581      readStream = function(stream) {
38582        return __asyncGenerator(this, null, function* () {
38583          if (stream[Symbol.asyncIterator]) {
38584            yield* __yieldStar(stream);
38585            return;
38586          }
38587          const reader = stream.getReader();
38588          try {
38589            for (; ; ) {
38590              const { done, value } = yield new __await(reader.read());
38591              if (done) {
38592                break;
38593              }
38594              yield value;
38595            }
38596          } finally {
38597            yield new __await(reader.cancel());
38598          }
38599        });
38600      };
38601      trackStream = (stream, chunkSize, onProgress, onFinish) => {
38602        const iterator2 = readBytes(stream, chunkSize);
38603        let bytes = 0;
38604        let done;
38605        let _onFinish = (e) => {
38606          if (!done) {
38607            done = true;
38608            onFinish && onFinish(e);
38609          }
38610        };
38611        return new ReadableStream(
38612          {
38613            pull(controller) {
38614              return __async(this, null, function* () {
38615                try {
38616                  const { done: done2, value } = yield iterator2.next();
38617                  if (done2) {
38618                    _onFinish();
38619                    controller.close();
38620                    return;
38621                  }
38622                  let len = value.byteLength;
38623                  if (onProgress) {
38624                    let loadedBytes = bytes += len;
38625                    onProgress(loadedBytes);
38626                  }
38627                  controller.enqueue(new Uint8Array(value));
38628                } catch (err) {
38629                  _onFinish(err);
38630                  throw err;
38631                }
38632              });
38633            },
38634            cancel(reason) {
38635              _onFinish(reason);
38636              return iterator2.return();
38637            }
38638          },
38639          {
38640            highWaterMark: 2
38641          }
38642        );
38643      };
38644    }
38645  });
38646
38647  
vendor: 4,207 bytes, lines 38647-38753
38647// node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
38648  function estimateDataURLDecodedBytes(url) {
38649    const fragmentIndex = typeof url === "string" ? url.indexOf("#") : -1;
38650    return estimateDataURLBytes(
38651      fragmentIndex === -1 ? url : url.slice(0, fragmentIndex),
38652      estimatePercentDecodedBase64Bytes
38653    );
38654  }
38655  var isHexDigit, isPercentEncodedByte, hexValue, isBase64Char, isBase64Whitespace, base64Bytes, estimateBase64BufferAllocation, estimatePercentDecodedBase64Bytes, estimateDataURLBytes;
38656  var init_estimateDataURLDecodedBytes = __esm({
38657    "node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js"() {
38658      init_esbuild_shims();
38659      isHexDigit = (charCode) => charCode >= 48 && charCode <= 57 || charCode >= 65 && charCode <= 70 || charCode >= 97 && charCode <= 102;
38660      isPercentEncodedByte = (str, i2, len) => i2 + 2 < len && isHexDigit(str.charCodeAt(i2 + 1)) && isHexDigit(str.charCodeAt(i2 + 2));
38661      hexValue = (charCode) => charCode <= 57 ? charCode - 48 : (charCode & 223) - 55;
38662      isBase64Char = (charCode) => charCode >= 65 && charCode <= 90 || // A-Z
38663      charCode >= 97 && charCode <= 122 || // a-z
38664      charCode >= 48 && charCode <= 57 || // 0-9
38665      charCode === 43 || // +
38666      charCode === 47 || // /
38667      charCode === 45 || // - (base64url)
38668      charCode === 95;
38669      isBase64Whitespace = (charCode) => charCode === 9 || charCode === 10 || charCode === 12 || charCode === 13 || charCode === 32;
38670      base64Bytes = (significant) => {
38671        const groups = Math.floor(significant / 4);
38672        const remainder = significant % 4;
38673        return groups * 3 + (remainder === 2 ? 1 : remainder === 3 ? 2 : 0);
38674      };
38675      estimateBase64BufferAllocation = (body) => {
38676        const len = body.length;
38677        let padding = 0;
38678        if (len > 0 && body.charCodeAt(len - 1) === 61) {
38679          padding++;
38680          if (len > 1 && body.charCodeAt(len - 2) === 61) {
38681            padding++;
38682          }
38683        }
38684        return Math.floor((len - padding) * 3 / 4);
38685      };
38686      estimatePercentDecodedBase64Bytes = (body) => {
38687        const len = body.length;
38688        let significant = 0;
38689        let padding = 0;
38690        let invalid = false;
38691        for (let i2 = 0; i2 < len; i2++) {
38692          let code = body.charCodeAt(i2);
38693          if (code === 37 && isPercentEncodedByte(body, i2, len)) {
38694            code = hexValue(body.charCodeAt(i2 + 1)) * 16 + hexValue(body.charCodeAt(i2 + 2));
38695            i2 += 2;
38696          }
38697          if (isBase64Whitespace(code)) {
38698            continue;
38699          }
38700          if (code === 61) {
38701            padding++;
38702            continue;
38703          }
38704          if (!isBase64Char(code) || padding > 0) {
38705            invalid = true;
38706            continue;
38707          }
38708          significant++;
38709        }
38710        if (invalid || padding > 2 || padding > 0 && (significant + padding) % 4 !== 0 || significant % 4 === 1) {
38711          return estimateBase64BufferAllocation(body);
38712        }
38713        return base64Bytes(significant);
38714      };
38715      estimateDataURLBytes = (url, estimateBase64) => {
38716        if (!url || typeof url !== "string") return 0;
38717        if (!url.startsWith("data:")) return 0;
38718        const comma = url.indexOf(",");
38719        if (comma < 0) return 0;
38720        const meta = url.slice(5, comma);
38721        const body = url.slice(comma + 1);
38722        const isBase64 = /;base64/i.test(meta);
38723        if (isBase64) {
38724          return estimateBase64(body);
38725        }
38726        let bytes = 0;
38727        for (let i2 = 0, len = body.length; i2 < len; i2++) {
38728          const c = body.charCodeAt(i2);
38729          if (c === 37 && isPercentEncodedByte(body, i2, len)) {
38730            bytes += 1;
38731            i2 += 2;
38732          } else if (c < 128) {
38733            bytes += 1;
38734          } else if (c < 2048) {
38735            bytes += 2;
38736          } else if (c >= 55296 && c <= 56319 && i2 + 1 < len) {
38737            const next2 = body.charCodeAt(i2 + 1);
38738            if (next2 >= 56320 && next2 <= 57343) {
38739              bytes += 4;
38740              i2++;
38741            } else {
38742              bytes += 3;
38743            }
38744          } else {
38745            bytes += 3;
38746          }
38747        }
38748        return bytes;
38749      };
38750    }
38751  });
38752
38753  
vendor: 193 bytes, lines 38753-38762
38753// node_modules/axios/lib/env/data.js
38754  var VERSION;
38755  var init_data = __esm({
38756    "node_modules/axios/lib/env/data.js"() {
38757      init_esbuild_shims();
38758      VERSION = "1.20.0";
38759    }
38760  });
38761
38762  
vendor: 20,635 bytes, lines 38762-39238
38762// node_modules/axios/lib/adapters/fetch.js
38763  var DEFAULT_CHUNK_SIZE, DEFAULT_REQUEST_OPTIONS, isFunction2, encodeUTF82, decodeURIComponentSafe, test, maybeWithAuthCredentials, factory, seedCache, getFetch, adapter;
38764  var init_fetch = __esm({
38765    "node_modules/axios/lib/adapters/fetch.js"() {
38766      init_esbuild_shims();
38767      init_platform();
38768      init_utils();
38769      init_AxiosError();
38770      init_composeSignals();
38771      init_trackStream();
38772      init_AxiosHeaders();
38773      init_progressEventReducer();
38774      init_resolveConfig();
38775      init_settle();
38776      init_estimateDataURLDecodedBytes();
38777      init_data();
38778      init_sanitizeHeaderValue();
38779      DEFAULT_CHUNK_SIZE = 64 * 1024;
38780      DEFAULT_REQUEST_OPTIONS = {
38781        cache: "default",
38782        redirect: "follow",
38783        referrer: "about:client",
38784        referrerPolicy: "",
38785        mode: "cors",
38786        integrity: "",
38787        keepalive: false,
38788        priority: "auto",
38789        window: null
38790      };
38791      ({ isFunction: isFunction2 } = utils_default);
38792      encodeUTF82 = (str) => encodeURIComponent(str).replace(
38793        /%([0-9A-F]{2})/gi,
38794        (_, hex) => String.fromCharCode(parseInt(hex, 16))
38795      );
38796      decodeURIComponentSafe = (value) => {
38797        if (!utils_default.isString(value)) {
38798          return value;
38799        }
38800        try {
38801          return decodeURIComponent(value);
38802        } catch (error) {
38803          return value;
38804        }
38805      };
38806      test = (fn, ...args) => {
38807        try {
38808          return !!fn(...args);
38809        } catch (e) {
38810          return false;
38811        }
38812      };
38813      maybeWithAuthCredentials = (url) => {
38814        const protocolIndex = url.indexOf("://");
38815        let urlToCheck = url;
38816        if (protocolIndex !== -1) {
38817          urlToCheck = urlToCheck.slice(protocolIndex + 3);
38818        }
38819        return urlToCheck.includes("@") || urlToCheck.includes(":");
38820      };
38821      factory = (env) => {
38822        const globalObject = utils_default.global !== void 0 && utils_default.global !== null ? utils_default.global : globalThis;
38823        const { ReadableStream: ReadableStream2, TextEncoder: TextEncoder2 } = globalObject;
38824        env = utils_default.merge.call(
38825          {
38826            skipUndefined: true
38827          },
38828          {
38829            Request: globalObject.Request,
38830            Response: globalObject.Response
38831          },
38832          env
38833        );
38834        const { fetch: envFetch, Request: Request2, Response: Response2 } = env;
38835        const isFetchSupported = envFetch ? isFunction2(envFetch) : typeof fetch === "function";
38836        const isRequestSupported = isFunction2(Request2);
38837        const isResponseSupported = isFunction2(Response2);
38838        if (!isFetchSupported) {
38839          return false;
38840        }
38841        const isReadableStreamSupported = isFetchSupported && isFunction2(ReadableStream2);
38842        const encodeText = isFetchSupported && (typeof TextEncoder2 === "function" ? /* @__PURE__ */ ((encoder) => (str) => encoder.encode(str))(new TextEncoder2()) : (str) => __async(null, null, function* () {
38843          return new Uint8Array(yield new Request2(str).arrayBuffer());
38844        }));
38845        const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => {
38846          let duplexAccessed = false;
38847          const request = new Request2(platform_default.origin, {
38848            body: new ReadableStream2(),
38849            method: "POST",
38850            get duplex() {
38851              duplexAccessed = true;
38852              return "half";
38853            }
38854          });
38855          const hasContentType = request.headers.has("Content-Type");
38856          if (request.body != null) {
38857            request.body.cancel();
38858          }
38859          return duplexAccessed && !hasContentType;
38860        });
38861        const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(() => utils_default.isReadableStream(new Response2("").body));
38862        const resolvers = {
38863          stream: supportsResponseStream && ((res) => res.body)
38864        };
38865        isFetchSupported && (() => {
38866          ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
38867            !resolvers[type] && (resolvers[type] = (res, config2) => {
38868              let method = res && res[type];
38869              if (method) {
38870                return method.call(res);
38871              }
38872              throw new AxiosError_default(
38873                `Response type '${type}' is not supported`,
38874                AxiosError_default.ERR_NOT_SUPPORT,
38875                config2
38876              );
38877            });
38878          });
38879        })();
38880        const getBodyLength = (body) => __async(null, null, function* () {
38881          if (body == null) {
38882            return 0;
38883          }
38884          if (utils_default.isBlob(body)) {
38885            return body.size;
38886          }
38887          if (utils_default.isSpecCompliantForm(body)) {
38888            const _request = new Request2(platform_default.origin, {
38889              method: "POST",
38890              body
38891            });
38892            return (yield _request.arrayBuffer()).byteLength;
38893          }
38894          if (utils_default.isArrayBufferView(body) || utils_default.isArrayBuffer(body)) {
38895            return body.byteLength;
38896          }
38897          if (utils_default.isURLSearchParams(body)) {
38898            body = body + "";
38899          }
38900          if (utils_default.isString(body)) {
38901            return (yield encodeText(body)).byteLength;
38902          }
38903        });
38904        const resolveBodyLength = (headers, body) => __async(null, null, function* () {
38905          const length2 = utils_default.toFiniteNumber(headers.getContentLength());
38906          return length2 == null ? getBodyLength(body) : length2;
38907        });
38908        return (config2) => __async(null, null, function* () {
38909          let {
38910            url,
38911            method,
38912            data,
38913            signal,
38914            cancelToken,
38915            timeout,
38916            onDownloadProgress,
38917            onUploadProgress,
38918            responseType,
38919            headers,
38920            withCredentials = "same-origin",
38921            fetchOptions,
38922            maxContentLength,
38923            maxBodyLength,
38924            maxRedirects
38925          } = resolveConfig_default(config2);
38926          const hasMaxContentLength = utils_default.isNumber(maxContentLength) && maxContentLength > -1;
38927          const hasMaxBodyLength = utils_default.isNumber(maxBodyLength) && maxBodyLength > -1;
38928          const own2 = (key) => utils_default.hasOwnProp(config2, key) ? config2[key] : void 0;
38929          let _fetch = envFetch || fetch;
38930          responseType = responseType ? (responseType + "").toLowerCase() : "text";
38931          let composedSignal = composeSignals_default(
38932            [signal, cancelToken && cancelToken.toAbortSignal()],
38933            timeout
38934          );
38935          let request = null;
38936          const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
38937            composedSignal.unsubscribe();
38938          });
38939          let requestContentLength;
38940          let pendingBodyError = null;
38941          const maxBodyLengthError = () => new AxiosError_default(
38942            "Request body larger than maxBodyLength limit",
38943            AxiosError_default.ERR_BAD_REQUEST,
38944            config2,
38945            request
38946          );
38947          try {
38948            let auth = void 0;
38949            const configAuth = own2("auth");
38950            if (configAuth) {
38951              const username = utils_default.getSafeProp(configAuth, "username") || "";
38952              const password = utils_default.getSafeProp(configAuth, "password") || "";
38953              auth = {
38954                username,
38955                password
38956              };
38957            }
38958            if (maybeWithAuthCredentials(url)) {
38959              const parsedURL = new URL(url, platform_default.origin);
38960              if (!auth && (parsedURL.username || parsedURL.password)) {
38961                const urlUsername = decodeURIComponentSafe(parsedURL.username);
38962                const urlPassword = decodeURIComponentSafe(parsedURL.password);
38963                auth = {
38964                  username: urlUsername,
38965                  password: urlPassword
38966                };
38967              }
38968              if (parsedURL.username || parsedURL.password) {
38969                parsedURL.username = "";
38970                parsedURL.password = "";
38971                url = parsedURL.href;
38972              }
38973            }
38974            if (auth) {
38975              headers.delete("authorization");
38976              headers.set(
38977                "Authorization",
38978                "Basic " + btoa(encodeUTF82((auth.username || "") + ":" + (auth.password || "")))
38979              );
38980            }
38981            if (hasMaxContentLength && typeof url === "string" && url.startsWith("data:")) {
38982              const estimated = estimateDataURLDecodedBytes(url);
38983              if (estimated > maxContentLength) {
38984                throw new AxiosError_default(
38985                  "maxContentLength size of " + maxContentLength + " exceeded",
38986                  AxiosError_default.ERR_BAD_RESPONSE,
38987                  config2,
38988                  request
38989                );
38990              }
38991            }
38992            if (hasMaxBodyLength && method !== "get" && method !== "head") {
38993              const outboundLength = yield getBodyLength(data);
38994              if (typeof outboundLength === "number" && isFinite(outboundLength)) {
38995                requestContentLength = outboundLength;
38996                if (outboundLength > maxBodyLength) {
38997                  throw maxBodyLengthError();
38998                }
38999              }
39000            }
39001            const mustEnforceStreamBody = hasMaxBodyLength && (utils_default.isReadableStream(data) || utils_default.isStream(data));
39002            const trackRequestStream = (stream, onProgress, flush2) => trackStream(
39003              stream,
39004              DEFAULT_CHUNK_SIZE,
39005              (loadedBytes) => {
39006                if (hasMaxBodyLength && loadedBytes > maxBodyLength) {
39007                  throw pendingBodyError = maxBodyLengthError();
39008                }
39009                onProgress && onProgress(loadedBytes);
39010              },
39011              flush2
39012            );
39013            if (supportsRequestStream && method !== "get" && method !== "head" && (onUploadProgress || mustEnforceStreamBody)) {
39014              requestContentLength = requestContentLength == null ? yield resolveBodyLength(headers, data) : requestContentLength;
39015              if (requestContentLength !== 0 || mustEnforceStreamBody) {
39016                let _request = new Request2(url, {
39017                  method: "POST",
39018                  body: data,
39019                  duplex: "half"
39020                });
39021                let contentTypeHeader;
39022                if (utils_default.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
39023                  headers.setContentType(contentTypeHeader);
39024                }
39025                if (_request.body) {
39026                  const [onProgress, flush2] = onUploadProgress && progressEventDecorator(
39027                    requestContentLength,
39028                    progressEventReducer(asyncDecorator(onUploadProgress))
39029                  ) || [];
39030                  data = trackRequestStream(_request.body, onProgress, flush2);
39031                }
39032              }
39033            } else if (mustEnforceStreamBody && !isRequestSupported && isReadableStreamSupported && method !== "get" && method !== "head") {
39034              data = trackRequestStream(data);
39035            } else if (mustEnforceStreamBody && isRequestSupported && !supportsRequestStream && method !== "get" && method !== "head") {
39036              throw new AxiosError_default(
39037                "Stream request bodies are not supported by the current fetch implementation",
39038                AxiosError_default.ERR_NOT_SUPPORT,
39039                config2,
39040                request
39041              );
39042            }
39043            if (!utils_default.isString(withCredentials)) {
39044              withCredentials = withCredentials ? "include" : "omit";
39045            }
39046            const isCredentialsSupported = isRequestSupported && "credentials" in Request2.prototype;
39047            if (utils_default.isFormData(data)) {
39048              const contentType = headers.getContentType();
39049              if (contentType && /^multipart\/form-data/i.test(contentType) && !/boundary=/i.test(contentType)) {
39050                headers.delete("content-type");
39051              }
39052            }
39053            headers.set("User-Agent", "axios/" + VERSION, false);
39054            const safeFetchOptions = fetchOptions == null ? fetchOptions : Object.assign(/* @__PURE__ */ Object.create(null), fetchOptions);
39055            if (safeFetchOptions) {
39056              delete safeFetchOptions.body;
39057              delete safeFetchOptions.headers;
39058              delete safeFetchOptions.method;
39059              delete safeFetchOptions.signal;
39060              delete safeFetchOptions.duplex;
39061              delete safeFetchOptions.credentials;
39062            }
39063            const resolvedOptions = Object.assign(/* @__PURE__ */ Object.create(null), safeFetchOptions, {
39064              signal: composedSignal,
39065              method: method.toUpperCase(),
39066              headers: toByteStringHeaderObject(headers.normalize()),
39067              body: data,
39068              duplex: "half",
39069              credentials: isCredentialsSupported ? withCredentials : void 0
39070            });
39071            if (isRequestSupported) {
39072              utils_default.forEach(DEFAULT_REQUEST_OPTIONS, (value, key) => {
39073                if (resolvedOptions[key] === void 0) {
39074                  resolvedOptions[key] = value;
39075                }
39076              });
39077              if (resolvedOptions.signal === void 0) {
39078                resolvedOptions.signal = null;
39079              }
39080              if (resolvedOptions.body === void 0) {
39081                resolvedOptions.body = null;
39082              }
39083            }
39084            if (maxRedirects === 0) {
39085              resolvedOptions.redirect = "manual";
39086              if (safeFetchOptions) {
39087                safeFetchOptions.redirect = "manual";
39088              }
39089            }
39090            request = isRequestSupported && new Request2(url, resolvedOptions);
39091            let response = yield isRequestSupported ? _fetch(request, safeFetchOptions) : _fetch(url, resolvedOptions);
39092            const responseHeaders = AxiosHeaders_default.from(response.headers);
39093            if (hasMaxContentLength) {
39094              const declaredLength = utils_default.toFiniteNumber(responseHeaders.getContentLength());
39095              if (declaredLength != null && declaredLength > maxContentLength) {
39096                throw new AxiosError_default(
39097                  "maxContentLength size of " + maxContentLength + " exceeded",
39098                  AxiosError_default.ERR_BAD_RESPONSE,
39099                  config2,
39100                  request
39101                );
39102              }
39103            }
39104            const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
39105            if (supportsResponseStream && response.body && (onDownloadProgress || hasMaxContentLength || isStreamResponse && unsubscribe)) {
39106              const options2 = {};
39107              ["status", "statusText", "headers"].forEach((prop) => {
39108                options2[prop] = response[prop];
39109              });
39110              const responseContentLength = utils_default.toFiniteNumber(responseHeaders.getContentLength());
39111              const [onProgress, flush2] = onDownloadProgress && progressEventDecorator(
39112                responseContentLength,
39113                progressEventReducer(asyncDecorator(onDownloadProgress), true)
39114              ) || [];
39115              let bytesRead = 0;
39116              const onChunkProgress = (loadedBytes) => {
39117                if (hasMaxContentLength) {
39118                  bytesRead = loadedBytes;
39119                  if (bytesRead > maxContentLength) {
39120                    throw new AxiosError_default(
39121                      "maxContentLength size of " + maxContentLength + " exceeded",
39122                      AxiosError_default.ERR_BAD_RESPONSE,
39123                      config2,
39124                      request
39125                    );
39126                  }
39127                }
39128                onProgress && onProgress(loadedBytes);
39129              };
39130              response = new Response2(
39131                trackStream(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, () => {
39132                  flush2 && flush2();
39133                  unsubscribe && unsubscribe();
39134                }),
39135                options2
39136              );
39137            }
39138            responseType = responseType || "text";
39139            let responseData = yield resolvers[utils_default.findKey(resolvers, responseType) || "text"](
39140              response,
39141              config2
39142            );
39143            if (hasMaxContentLength && !supportsResponseStream && !isStreamResponse) {
39144              let materializedSize;
39145              if (responseData != null) {
39146                if (typeof responseData.byteLength === "number") {
39147                  materializedSize = responseData.byteLength;
39148                } else if (typeof responseData.size === "number") {
39149                  materializedSize = responseData.size;
39150                } else if (typeof responseData === "string") {
39151                  materializedSize = typeof TextEncoder2 === "function" ? new TextEncoder2().encode(responseData).byteLength : responseData.length;
39152                }
39153              }
39154              if (typeof materializedSize === "number" && materializedSize > maxContentLength) {
39155                throw new AxiosError_default(
39156                  "maxContentLength size of " + maxContentLength + " exceeded",
39157                  AxiosError_default.ERR_BAD_RESPONSE,
39158                  config2,
39159                  request
39160                );
39161              }
39162            }
39163            !isStreamResponse && unsubscribe && unsubscribe();
39164            return yield new Promise((resolve, reject) => {
39165              settle(resolve, reject, {
39166                data: responseData,
39167                headers: AxiosHeaders_default.from(response.headers),
39168                status: response.status,
39169                statusText: response.statusText,
39170                config: config2,
39171                request
39172              });
39173            });
39174          } catch (err) {
39175            unsubscribe && unsubscribe();
39176            if (composedSignal && composedSignal.aborted && composedSignal.reason instanceof AxiosError_default) {
39177              const canceledError = composedSignal.reason;
39178              canceledError.config = config2;
39179              request && (canceledError.request = request);
39180              if (err !== canceledError) {
39181                Object.defineProperty(canceledError, "cause", {
39182                  __proto__: null,
39183                  value: err,
39184                  writable: true,
39185                  enumerable: false,
39186                  configurable: true
39187                });
39188              }
39189              throw canceledError;
39190            }
39191            if (pendingBodyError) {
39192              request && !pendingBodyError.request && (pendingBodyError.request = request);
39193              throw pendingBodyError;
39194            }
39195            if (err instanceof AxiosError_default) {
39196              request && !err.request && (err.request = request);
39197              throw err;
39198            }
39199            if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
39200              const networkError = new AxiosError_default(
39201                "Network Error",
39202                AxiosError_default.ERR_NETWORK,
39203                config2,
39204                request,
39205                err && err.response
39206              );
39207              Object.defineProperty(networkError, "cause", {
39208                __proto__: null,
39209                value: err.cause || err,
39210                writable: true,
39211                enumerable: false,
39212                configurable: true
39213              });
39214              throw networkError;
39215            }
39216            throw AxiosError_default.from(err, err && err.code, config2, request, err && err.response);
39217          }
39218        });
39219      };
39220      seedCache = /* @__PURE__ */ new Map();
39221      getFetch = (config2) => {
39222        let env = config2 && config2.env || {};
39223        const { fetch: fetch2, Request: Request2, Response: Response2 } = env;
39224        const seeds = [Request2, Response2, fetch2];
39225        let len = seeds.length, i2 = len, seed, target, map = seedCache;
39226        while (i2--) {
39227          seed = seeds[i2];
39228          target = map.get(seed);
39229          target === void 0 && map.set(seed, target = i2 ? /* @__PURE__ */ new Map() : factory(env));
39230          map = target;
39231        }
39232        return target;
39233      };
39234      adapter = getFetch();
39235    }
39236  });
39237
39238  
vendor: 2,633 bytes, lines 39238-39314
39238// node_modules/axios/lib/adapters/adapters.js
39239  function getAdapter(adapters, config2) {
39240    adapters = utils_default.isArray(adapters) ? adapters : [adapters];
39241    const { length: length2 } = adapters;
39242    let nameOrAdapter;
39243    let adapter2;
39244    const rejectedReasons = {};
39245    for (let i2 = 0; i2 < length2; i2++) {
39246      nameOrAdapter = adapters[i2];
39247      let id;
39248      adapter2 = nameOrAdapter;
39249      if (!isResolvedHandle(nameOrAdapter)) {
39250        adapter2 = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
39251        if (adapter2 === void 0) {
39252          throw new AxiosError_default(`Unknown adapter '${id}'`);
39253        }
39254      }
39255      if (adapter2 && (utils_default.isFunction(adapter2) || (adapter2 = adapter2.get(config2)))) {
39256        break;
39257      }
39258      rejectedReasons[id || "#" + i2] = adapter2;
39259    }
39260    if (!adapter2) {
39261      const reasons = Object.entries(rejectedReasons).map(
39262        ([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
39263      );
39264      let s2 = length2 ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
39265      throw new AxiosError_default(
39266        `There is no suitable adapter to dispatch the request ` + s2,
39267        AxiosError_default.ERR_NOT_SUPPORT
39268      );
39269    }
39270    return adapter2;
39271  }
39272  var knownAdapters, renderReason, isResolvedHandle, adapters_default;
39273  var init_adapters = __esm({
39274    "node_modules/axios/lib/adapters/adapters.js"() {
39275      init_esbuild_shims();
39276      init_utils();
39277      init_null();
39278      init_xhr();
39279      init_fetch();
39280      init_AxiosError();
39281      knownAdapters = {
39282        http: null_default,
39283        xhr: xhr_default,
39284        fetch: {
39285          get: getFetch
39286        }
39287      };
39288      utils_default.forEach(knownAdapters, (fn, value) => {
39289        if (fn) {
39290          try {
39291            Object.defineProperty(fn, "name", { __proto__: null, value });
39292          } catch (e) {
39293          }
39294          Object.defineProperty(fn, "adapterName", { __proto__: null, value });
39295        }
39296      });
39297      renderReason = (reason) => `- ${reason}`;
39298      isResolvedHandle = (adapter2) => utils_default.isFunction(adapter2) || adapter2 === null || adapter2 === false;
39299      adapters_default = {
39300        /**
39301         * Resolve an adapter from a list of adapter names or functions.
39302         * @type {Function}
39303         */
39304        getAdapter,
39305        /**
39306         * Exposes all known adapters
39307         * @type {Object<string, Function|Object>}
39308         */
39309        adapters: knownAdapters
39310      };
39311    }
39312  });
39313
39314  
vendor: 2,301 bytes, lines 39314-39379
39314// node_modules/axios/lib/core/dispatchRequest.js
39315  function throwIfCancellationRequested(config2) {
39316    if (config2.cancelToken) {
39317      config2.cancelToken.throwIfRequested();
39318    }
39319    if (config2.signal && config2.signal.aborted) {
39320      throw new CanceledError_default(null, config2);
39321    }
39322  }
39323  function dispatchRequest(_config2) {
39324    const config2 = utils_default.toSafeFlatObject(_config2);
39325    throwIfCancellationRequested(config2);
39326    config2.headers = AxiosHeaders_default.from(utils_default.getSafeProp(config2, "headers"));
39327    config2.data = transformData.call(config2, config2.transformRequest);
39328    if (["post", "put", "patch"].indexOf(config2.method) !== -1) {
39329      config2.headers.setContentType("application/x-www-form-urlencoded", false);
39330    }
39331    const adapter2 = adapters_default.getAdapter(config2.adapter || defaults_default.adapter, config2);
39332    return adapter2(config2).then(
39333      function onAdapterResolution(response) {
39334        throwIfCancellationRequested(config2);
39335        config2.response = response;
39336        try {
39337          response.data = transformData.call(config2, config2.transformResponse, response);
39338        } finally {
39339          delete config2.response;
39340        }
39341        response.headers = AxiosHeaders_default.from(response.headers);
39342        return response;
39343      },
39344      function onAdapterRejection(reason) {
39345        if (!isCancel(reason)) {
39346          throwIfCancellationRequested(config2);
39347          if (reason && reason.response) {
39348            config2.response = reason.response;
39349            try {
39350              reason.response.data = transformData.call(
39351                config2,
39352                config2.transformResponse,
39353                reason.response
39354              );
39355            } finally {
39356              delete config2.response;
39357            }
39358            reason.response.headers = AxiosHeaders_default.from(reason.response.headers);
39359          }
39360        }
39361        return Promise.reject(reason);
39362      }
39363    );
39364  }
39365  var init_dispatchRequest = __esm({
39366    "node_modules/axios/lib/core/dispatchRequest.js"() {
39367      "use strict";
39368      init_esbuild_shims();
39369      init_transformData();
39370      init_isCancel();
39371      init_defaults();
39372      init_CanceledError();
39373      init_AxiosHeaders();
39374      init_adapters();
39375      init_utils();
39376    }
39377  });
39378
39379  
vendor: 2,801 bytes, lines 39379-39455
39379// node_modules/axios/lib/helpers/validator.js
39380  function assertOptions(options2, schema, allowUnknown) {
39381    if (typeof options2 !== "object" || options2 === null) {
39382      throw new AxiosError_default("options must be an object", AxiosError_default.ERR_BAD_OPTION_VALUE);
39383    }
39384    const keys = Object.keys(options2);
39385    let i2 = keys.length;
39386    while (i2-- > 0) {
39387      const opt = keys[i2];
39388      const validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : void 0;
39389      if (validator) {
39390        const value = options2[opt];
39391        const result = value === void 0 || validator(value, opt, options2);
39392        if (result !== true) {
39393          throw new AxiosError_default(
39394            "option " + opt + " must be " + result,
39395            AxiosError_default.ERR_BAD_OPTION_VALUE
39396          );
39397        }
39398        continue;
39399      }
39400      if (allowUnknown !== true) {
39401        throw new AxiosError_default("Unknown option " + opt, AxiosError_default.ERR_BAD_OPTION);
39402      }
39403    }
39404  }
39405  var validators, deprecatedWarnings, validator_default;
39406  var init_validator = __esm({
39407    "node_modules/axios/lib/helpers/validator.js"() {
39408      "use strict";
39409      init_esbuild_shims();
39410      init_data();
39411      init_AxiosError();
39412      validators = {};
39413      ["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i2) => {
39414        validators[type] = function validator(thing) {
39415          return typeof thing === type || "a" + (i2 < 1 ? "n " : " ") + type;
39416        };
39417      });
39418      deprecatedWarnings = {};
39419      validators.transitional = function transitional(validator, version, message) {
39420        function formatMessage(opt, desc) {
39421          return "[Axios v" + VERSION + "] Transitional option '" + opt + "'" + desc + (message ? ". " + message : "");
39422        }
39423        return (value, opt, opts) => {
39424          if (validator === false) {
39425            throw new AxiosError_default(
39426              formatMessage(opt, " has been removed" + (version ? " in " + version : "")),
39427              AxiosError_default.ERR_DEPRECATED
39428            );
39429          }
39430          if (version && !deprecatedWarnings[opt]) {
39431            deprecatedWarnings[opt] = true;
39432            console.warn(
39433              formatMessage(
39434                opt,
39435                " has been deprecated since v" + version + " and will be removed in the near future"
39436              )
39437            );
39438          }
39439          return validator ? validator(value, opt, opts) : true;
39440        };
39441      };
39442      validators.spelling = function spelling(correctSpelling) {
39443        return (value, opt) => {
39444          console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);
39445          return true;
39446        };
39447      };
39448      validator_default = {
39449        assertOptions,
39450        validators
39451      };
39452    }
39453  });
39454
39455  
vendor: 9,687 bytes, lines 39455-39692
39455// node_modules/axios/lib/core/Axios.js
39456  var validators2, Axios, Axios_default;
39457  var init_Axios = __esm({
39458    "node_modules/axios/lib/core/Axios.js"() {
39459      "use strict";
39460      init_esbuild_shims();
39461      init_utils();
39462      init_buildURL();
39463      init_InterceptorManager();
39464      init_dispatchRequest();
39465      init_mergeConfig();
39466      init_buildFullPath();
39467      init_methodList();
39468      init_validator();
39469      init_AxiosHeaders();
39470      init_transitional();
39471      validators2 = validator_default.validators;
39472      Axios = class {
39473        constructor(instanceConfig) {
39474          this.defaults = instanceConfig || {};
39475          this.interceptors = {
39476            request: new InterceptorManager_default(),
39477            response: new InterceptorManager_default()
39478          };
39479        }
39480        /**
39481         * Dispatch a request
39482         *
39483         * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
39484         * @param {?Object} config
39485         *
39486         * @returns {Promise} The Promise to be fulfilled
39487         */
39488        request(configOrUrl, config2) {
39489          return __async(this, null, function* () {
39490            try {
39491              return yield this._request(configOrUrl, config2);
39492            } catch (err) {
39493              if (err instanceof Error) {
39494                try {
39495                  let dummy = {};
39496                  Error.captureStackTrace ? Error.captureStackTrace(dummy) : dummy = new Error();
39497                  const dummyStack = dummy.stack;
39498                  let stack = "";
39499                  if (typeof dummyStack === "string") {
39500                    const firstNewlineIndex = dummyStack.indexOf("\n");
39501                    stack = firstNewlineIndex === -1 ? "" : dummyStack.slice(firstNewlineIndex + 1);
39502                  }
39503                  if (!err.stack) {
39504                    err.stack = stack;
39505                  } else if (stack) {
39506                    const firstNewlineIndex = stack.indexOf("\n");
39507                    const secondNewlineIndex = firstNewlineIndex === -1 ? -1 : stack.indexOf("\n", firstNewlineIndex + 1);
39508                    const stackWithoutTwoTopLines = secondNewlineIndex === -1 ? "" : stack.slice(secondNewlineIndex + 1);
39509                    if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) {
39510                      err.stack += "\n" + stack;
39511                    }
39512                  }
39513                } catch (e) {
39514                }
39515              }
39516              throw err;
39517            }
39518          });
39519        }
39520        _request(configOrUrl, config2) {
39521          if (typeof configOrUrl === "string") {
39522            config2 = config2 || {};
39523            config2.url = configOrUrl;
39524          } else {
39525            config2 = configOrUrl || {};
39526          }
39527          config2 = mergeConfig(this.defaults, config2);
39528          const { transitional: transitional2, paramsSerializer, headers } = config2;
39529          if (transitional2 !== void 0) {
39530            validator_default.assertOptions(
39531              transitional2,
39532              {
39533                silentJSONParsing: validators2.transitional(validators2.boolean),
39534                forcedJSONParsing: validators2.transitional(validators2.boolean),
39535                clarifyTimeoutError: validators2.transitional(validators2.boolean),
39536                legacyInterceptorReqResOrdering: validators2.transitional(validators2.boolean),
39537                advertiseZstdAcceptEncoding: validators2.transitional(validators2.boolean),
39538                validateStatusUndefinedResolves: validators2.transitional(validators2.boolean)
39539              },
39540              false
39541            );
39542          }
39543          if (paramsSerializer != null) {
39544            if (utils_default.isFunction(paramsSerializer)) {
39545              config2.paramsSerializer = {
39546                serialize: paramsSerializer
39547              };
39548            } else {
39549              validator_default.assertOptions(
39550                paramsSerializer,
39551                {
39552                  encode: validators2.function,
39553                  serialize: validators2.function
39554                },
39555                true
39556              );
39557            }
39558          }
39559          if (config2.allowAbsoluteUrls !== void 0) {
39560          } else if (this.defaults.allowAbsoluteUrls !== void 0) {
39561            config2.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
39562          } else {
39563            config2.allowAbsoluteUrls = true;
39564          }
39565          validator_default.assertOptions(
39566            config2,
39567            {
39568              baseUrl: validators2.spelling("baseURL"),
39569              withXsrfToken: validators2.spelling("withXSRFToken")
39570            },
39571            true
39572          );
39573          config2.method = (utils_default.getSafeProp(config2, "method") || utils_default.getSafeProp(this.defaults, "method") || "get").toLowerCase();
39574          let contextHeaders = headers && utils_default.merge(headers.common, headers[config2.method]);
39575          headers && utils_default.forEach(methodList_default.concat("common"), (method) => {
39576            delete headers[method];
39577          });
39578          config2.headers = AxiosHeaders_default.concat(contextHeaders, headers);
39579          const requestInterceptorChain = [];
39580          let synchronousRequestInterceptors = true;
39581          this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
39582            if (typeof interceptor.runWhen === "function" && interceptor.runWhen(config2) === false) {
39583              return;
39584            }
39585            synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
39586            const transitional3 = config2.transitional || transitional_default;
39587            const legacyInterceptorReqResOrdering = transitional3 && transitional3.legacyInterceptorReqResOrdering;
39588            if (legacyInterceptorReqResOrdering) {
39589              requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
39590            } else {
39591              requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
39592            }
39593          });
39594          const responseInterceptorChain = [];
39595          this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
39596            responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
39597          });
39598          let promise;
39599          let i2 = 0;
39600          let len;
39601          if (!synchronousRequestInterceptors) {
39602            const chain = [dispatchRequest.bind(this), void 0];
39603            chain.unshift(...requestInterceptorChain);
39604            chain.push(...responseInterceptorChain);
39605            len = chain.length;
39606            promise = Promise.resolve(config2);
39607            while (i2 < len) {
39608              promise = promise.then(chain[i2++], chain[i2++]);
39609            }
39610            return promise;
39611          }
39612          len = requestInterceptorChain.length;
39613          let newConfig = config2;
39614          while (i2 < len) {
39615            const onFulfilled = requestInterceptorChain[i2++];
39616            const onRejected = requestInterceptorChain[i2++];
39617            try {
39618              newConfig = onFulfilled ? onFulfilled(newConfig) : newConfig;
39619            } catch (error) {
39620              if (!onRejected) {
39621                promise = Promise.reject(error);
39622                break;
39623              }
39624              try {
39625                const rejectedResult = onRejected.call(this, error);
39626                if (utils_default.isThenable(rejectedResult)) {
39627                  promise = Promise.resolve(rejectedResult).then(
39628                    () => dispatchRequest.call(this, newConfig)
39629                  );
39630                }
39631              } catch (rejectedError) {
39632                promise = Promise.reject(rejectedError);
39633              }
39634              break;
39635            }
39636          }
39637          if (!promise) {
39638            try {
39639              promise = dispatchRequest.call(this, newConfig);
39640            } catch (error) {
39641              promise = Promise.reject(error);
39642            }
39643          }
39644          i2 = 0;
39645          len = responseInterceptorChain.length;
39646          while (i2 < len) {
39647            promise = promise.then(responseInterceptorChain[i2++], responseInterceptorChain[i2++]);
39648          }
39649          return promise;
39650        }
39651        getUri(config2) {
39652          config2 = mergeConfig(this.defaults, config2);
39653          const fullPath = buildFullPath(config2.baseURL, config2.url, config2.allowAbsoluteUrls, config2);
39654          return buildURL(fullPath, config2.params, config2.paramsSerializer);
39655        }
39656      };
39657      utils_default.forEach(["delete", "get", "head", "options"], function forEachMethodNoData(method) {
39658        Axios.prototype[method] = function(url, config2) {
39659          return this.request(
39660            mergeConfig(config2 || {}, {
39661              method,
39662              url,
39663              data: config2 && utils_default.hasOwnProp(config2, "data") ? config2.data : void 0
39664            })
39665          );
39666        };
39667      });
39668      utils_default.forEach(["post", "put", "patch", "query"], function forEachMethodWithData(method) {
39669        function generateHTTPMethod(isForm) {
39670          return function httpMethod(url, data, config2) {
39671            return this.request(
39672              mergeConfig(config2 || {}, {
39673                method,
39674                headers: isForm ? {
39675                  "Content-Type": "multipart/form-data"
39676                } : {},
39677                url,
39678                data
39679              })
39680            );
39681          };
39682        }
39683        Axios.prototype[method] = generateHTTPMethod();
39684        if (method !== "query") {
39685          Axios.prototype[method + "Form"] = generateHTTPMethod(true);
39686        }
39687      });
39688      Axios_default = Axios;
39689    }
39690  });
39691
39692  
vendor: 3,250 bytes, lines 39692-39798
39692// node_modules/axios/lib/cancel/CancelToken.js
39693  var CancelToken, CancelToken_default;
39694  var init_CancelToken = __esm({
39695    "node_modules/axios/lib/cancel/CancelToken.js"() {
39696      "use strict";
39697      init_esbuild_shims();
39698      init_CanceledError();
39699      CancelToken = class _CancelToken {
39700        constructor(executor) {
39701          if (typeof executor !== "function") {
39702            throw new TypeError("executor must be a function.");
39703          }
39704          let resolvePromise;
39705          this.promise = new Promise(function promiseExecutor(resolve) {
39706            resolvePromise = resolve;
39707          });
39708          const token2 = this;
39709          this.promise.then((cancel) => {
39710            if (!token2._listeners) return;
39711            let i2 = token2._listeners.length;
39712            while (i2-- > 0) {
39713              token2._listeners[i2](cancel);
39714            }
39715            token2._listeners = null;
39716          });
39717          this.promise.then = (onfulfilled) => {
39718            let _resolve;
39719            const promise = new Promise((resolve) => {
39720              token2.subscribe(resolve);
39721              _resolve = resolve;
39722            }).then(onfulfilled);
39723            promise.cancel = function reject() {
39724              token2.unsubscribe(_resolve);
39725            };
39726            return promise;
39727          };
39728          executor(function cancel(message, config2, request) {
39729            if (token2.reason) {
39730              return;
39731            }
39732            token2.reason = new CanceledError_default(message, config2, request);
39733            resolvePromise(token2.reason);
39734          });
39735        }
39736        /**
39737         * Throws a `CanceledError` if cancellation has been requested.
39738         */
39739        throwIfRequested() {
39740          if (this.reason) {
39741            throw this.reason;
39742          }
39743        }
39744        /**
39745         * Subscribe to the cancel signal
39746         */
39747        subscribe(listener2) {
39748          if (this.reason) {
39749            listener2(this.reason);
39750            return;
39751          }
39752          if (this._listeners) {
39753            this._listeners.push(listener2);
39754          } else {
39755            this._listeners = [listener2];
39756          }
39757        }
39758        /**
39759         * Unsubscribe from the cancel signal
39760         */
39761        unsubscribe(listener2) {
39762          if (!this._listeners) {
39763            return;
39764          }
39765          const index2 = this._listeners.indexOf(listener2);
39766          if (index2 !== -1) {
39767            this._listeners.splice(index2, 1);
39768          }
39769        }
39770        toAbortSignal() {
39771          const controller = new AbortController();
39772          const abort = (err) => {
39773            controller.abort(err);
39774          };
39775          this.subscribe(abort);
39776          controller.signal.unsubscribe = () => this.unsubscribe(abort);
39777          return controller.signal;
39778        }
39779        /**
39780         * Returns an object that contains a new `CancelToken` and a function that, when called,
39781         * cancels the `CancelToken`.
39782         */
39783        static source() {
39784          let cancel;
39785          const token2 = new _CancelToken(function executor(c) {
39786            cancel = c;
39787          });
39788          return {
39789            token: token2,
39790            cancel
39791          };
39792        }
39793      };
39794      CancelToken_default = CancelToken;
39795    }
39796  });
39797
39798  
vendor: 300 bytes, lines 39798-39811
39798// node_modules/axios/lib/helpers/spread.js
39799  function spread(callback) {
39800    return function wrap3(arr) {
39801      return callback.apply(null, arr);
39802    };
39803  }
39804  var init_spread = __esm({
39805    "node_modules/axios/lib/helpers/spread.js"() {
39806      "use strict";
39807      init_esbuild_shims();
39808    }
39809  });
39810
39811  
vendor: 340 bytes, lines 39811-39823
39811// node_modules/axios/lib/helpers/isAxiosError.js
39812  function isAxiosError(payload) {
39813    return utils_default.isObject(payload) && payload.isAxiosError === true;
39814  }
39815  var init_isAxiosError = __esm({
39816    "node_modules/axios/lib/helpers/isAxiosError.js"() {
39817      "use strict";
39818      init_esbuild_shims();
39819      init_utils();
39820    }
39821  });
39822
39823  
vendor: 2,778 bytes, lines 39823-39917
39823// node_modules/axios/lib/helpers/HttpStatusCode.js
39824  var HttpStatusCode, HttpStatusCode_default;
39825  var init_HttpStatusCode = __esm({
39826    "node_modules/axios/lib/helpers/HttpStatusCode.js"() {
39827      init_esbuild_shims();
39828      HttpStatusCode = {
39829        Continue: 100,
39830        SwitchingProtocols: 101,
39831        Processing: 102,
39832        EarlyHints: 103,
39833        Ok: 200,
39834        Created: 201,
39835        Accepted: 202,
39836        NonAuthoritativeInformation: 203,
39837        NoContent: 204,
39838        ResetContent: 205,
39839        PartialContent: 206,
39840        MultiStatus: 207,
39841        AlreadyReported: 208,
39842        ImUsed: 226,
39843        MultipleChoices: 300,
39844        MovedPermanently: 301,
39845        Found: 302,
39846        SeeOther: 303,
39847        NotModified: 304,
39848        UseProxy: 305,
39849        Unused: 306,
39850        TemporaryRedirect: 307,
39851        PermanentRedirect: 308,
39852        BadRequest: 400,
39853        Unauthorized: 401,
39854        PaymentRequired: 402,
39855        Forbidden: 403,
39856        NotFound: 404,
39857        MethodNotAllowed: 405,
39858        NotAcceptable: 406,
39859        ProxyAuthenticationRequired: 407,
39860        RequestTimeout: 408,
39861        Conflict: 409,
39862        Gone: 410,
39863        LengthRequired: 411,
39864        PreconditionFailed: 412,
39865        /**
39866         * @deprecated Use `ContentTooLarge` instead.
39867         */
39868        PayloadTooLarge: 413,
39869        ContentTooLarge: 413,
39870        UriTooLong: 414,
39871        UnsupportedMediaType: 415,
39872        RangeNotSatisfiable: 416,
39873        ExpectationFailed: 417,
39874        ImATeapot: 418,
39875        MisdirectedRequest: 421,
39876        /**
39877         * @deprecated Use `UnprocessableContent` instead.
39878         */
39879        UnprocessableEntity: 422,
39880        UnprocessableContent: 422,
39881        Locked: 423,
39882        FailedDependency: 424,
39883        TooEarly: 425,
39884        UpgradeRequired: 426,
39885        PreconditionRequired: 428,
39886        TooManyRequests: 429,
39887        RequestHeaderFieldsTooLarge: 431,
39888        UnavailableForLegalReasons: 451,
39889        InternalServerError: 500,
39890        NotImplemented: 501,
39891        BadGateway: 502,
39892        ServiceUnavailable: 503,
39893        GatewayTimeout: 504,
39894        HttpVersionNotSupported: 505,
39895        VariantAlsoNegotiates: 506,
39896        InsufficientStorage: 507,
39897        LoopDetected: 508,
39898        NotExtended: 510,
39899        NetworkAuthenticationRequired: 511,
39900        WebServerReturnsAnUnknownError: 520,
39901        WebServerIsDown: 521,
39902        ConnectionTimedOut: 522,
39903        OriginIsUnreachable: 523,
39904        TimeoutOccurred: 524,
39905        SslHandshakeFailed: 525,
39906        InvalidSslCertificate: 526
39907      };
39908      Object.entries(HttpStatusCode).forEach(([key, value]) => {
39909        if (HttpStatusCode[value] === void 0) {
39910          HttpStatusCode[value] = key;
39911        }
39912      });
39913      HttpStatusCode_default = HttpStatusCode;
39914    }
39915  });
39916
39917  
vendor: 2,011 bytes, lines 39917-39974
39917// node_modules/axios/lib/axios.js
39918  function createInstance(defaultConfig) {
39919    const context = new Axios_default(defaultConfig);
39920    const instance = bind(Axios_default.prototype.request, context);
39921    utils_default.extend(instance, Axios_default.prototype, context, { allOwnKeys: true });
39922    utils_default.extend(instance, context, null, { allOwnKeys: true });
39923    instance.create = function create2(instanceConfig) {
39924      return createInstance(mergeConfig(defaultConfig, instanceConfig));
39925    };
39926    return instance;
39927  }
39928  var axios, axios_default;
39929  var init_axios = __esm({
39930    "node_modules/axios/lib/axios.js"() {
39931      "use strict";
39932      init_esbuild_shims();
39933      init_utils();
39934      init_bind();
39935      init_Axios();
39936      init_mergeConfig();
39937      init_defaults();
39938      init_formDataToJSON();
39939      init_CanceledError();
39940      init_CancelToken();
39941      init_isCancel();
39942      init_data();
39943      init_toFormData();
39944      init_AxiosError();
39945      init_spread();
39946      init_isAxiosError();
39947      init_AxiosHeaders();
39948      init_adapters();
39949      init_HttpStatusCode();
39950      axios = createInstance(defaults_default);
39951      axios.Axios = Axios_default;
39952      axios.CanceledError = CanceledError_default;
39953      axios.CancelToken = CancelToken_default;
39954      axios.isCancel = isCancel;
39955      axios.VERSION = VERSION;
39956      axios.toFormData = toFormData_default;
39957      axios.AxiosError = AxiosError_default;
39958      axios.Cancel = axios.CanceledError;
39959      axios.all = function all(promises) {
39960        return Promise.all(promises);
39961      };
39962      axios.spread = spread;
39963      axios.isAxiosError = isAxiosError;
39964      axios.mergeConfig = mergeConfig;
39965      axios.AxiosHeaders = AxiosHeaders_default;
39966      axios.formToJSON = (thing) => formDataToJSON_default(utils_default.isHTMLForm(thing) ? new FormData(thing) : thing);
39967      axios.getAdapter = adapters_default.getAdapter;
39968      axios.HttpStatusCode = HttpStatusCode_default;
39969      axios.default = axios;
39970      axios_default = axios;
39971    }
39972  });
39973
39974  
vendor: 900 bytes, lines 39974-40002
39974// node_modules/axios/index.js
39975  var Axios2, AxiosError2, CanceledError2, isCancel2, CancelToken2, VERSION2, all2, Cancel, isAxiosError2, spread2, toFormData2, AxiosHeaders2, HttpStatusCode2, formToJSON, getAdapter2, mergeConfig2, create;
39976  var init_axios2 = __esm({
39977    "node_modules/axios/index.js"() {
39978      init_esbuild_shims();
39979      init_axios();
39980      ({
39981        Axios: Axios2,
39982        AxiosError: AxiosError2,
39983        CanceledError: CanceledError2,
39984        isCancel: isCancel2,
39985        CancelToken: CancelToken2,
39986        VERSION: VERSION2,
39987        all: all2,
39988        Cancel,
39989        isAxiosError: isAxiosError2,
39990        spread: spread2,
39991        toFormData: toFormData2,
39992        AxiosHeaders: AxiosHeaders2,
39993        HttpStatusCode: HttpStatusCode2,
39994        formToJSON,
39995        getAdapter: getAdapter2,
39996        mergeConfig: mergeConfig2,
39997        create
39998      } = axios_default);
39999    }
40000  });
40001
40002  
40002// apps/base/javascript/generic/cookies/CookieCounterService.tsx
40003  var CookieCounterService, CookieCounterService_default;
40004  var init_CookieCounterService = __esm({
40005    "apps/base/javascript/generic/cookies/CookieCounterService.tsx"() {
40006      "use strict";
40007      init_esbuild_shims();
40008      init_axios2();
40009      CookieCounterService = class {
40010        incrementCookieCount(cookie_type, language, obtrusive) {
40011          return __async(this, null, function* () {
40012            return yield axios_default.post(`/${language}/api/system/cookie_counts/`, {
40013              type: cookie_type,
40014              obtrusive
40015            });
40016          });
40017        }
40018      };
40019      CookieCounterService_default = new CookieCounterService();
40020    }
40021  });
40022
40023  
40023// apps/base/javascript/generic/cookies/plausible.ts
40024  var originalPlausible, rolesMeta, roles, plausible;
40025  var init_plausible = __esm({
40026    "apps/base/javascript/generic/cookies/plausible.ts"() {
40027      "use strict";
40028      init_esbuild_shims();
40029      window.plausible = window.plausible || function() {
40030        ;
40031        (window.plausible.q = window.plausible.q || []).push(arguments);
40032      };
40033      originalPlausible = window.plausible;
40034      rolesMeta = document.querySelector("meta[name=roles]");
40035      roles = rolesMeta ? rolesMeta.content : "";
40036      window.plausible = function(eventName, args) {
40037        originalPlausible(eventName, __spreadProps(__spreadValues({}, args), {
40038          props: __spreadProps(__spreadValues({}, (args == null ? void 0 : args.props) || {}), {
40039            roles
40040          })
40041        }));
40042      };
40043      plausible = window.plausible;
40044    }
40045  });
40046
40047  
40047// apps/base/javascript/generic/cookies/cookieHelpers.ts
40048  var setAllCookies, getCookieConsent, getAllCookiesConsent, setCookieConsent;
40049  var init_cookieHelpers = __esm({
40050    "apps/base/javascript/generic/cookies/cookieHelpers.ts"() {
40051      "use strict";
40052      init_esbuild_shims();
40053      init_js_cookie();
40054      init_CookieCounterService();
40055      init_plausible();
40056      setAllCookies = (sections, consentGiven, language, obtrusive) => {
40057        sections == null ? void 0 : sections.forEach((section) => {
40058          setCookieConsent(section.cookie_type, consentGiven);
40059        });
40060        if (consentGiven) {
40061          plausible("Accepted all cookies");
40062          CookieCounterService_default.incrementCookieCount("all", language, obtrusive);
40063        } else {
40064          plausible("Rejected all cookies");
40065          CookieCounterService_default.incrementCookieCount("essential", language, obtrusive);
40066        }
40067      };
40068      getCookieConsent = (cookieType) => {
40069        const cookiesConsent = getAllCookiesConsent();
40070        return cookiesConsent[cookieType] === true;
40071      };
40072      getAllCookiesConsent = () => {
40073        return JSON.parse(api2.get("consent") || "{}");
40074      };
40075      setCookieConsent = (cookieType, consentGiven) => {
40076        if (cookieType === "essentials") return;
40077        const cookiesConsent = JSON.parse(api2.get("consent") || "{}");
40078        cookiesConsent[cookieType] = consentGiven;
40079        api2.set("consent", JSON.stringify(cookiesConsent), { expires: 365 });
40080      };
40081    }
40082  });
40083
40084  
40084// apps/base/javascript/styles/Theme.ts
40085  var Theme_exports = {};
40086  __export(Theme_exports, {
40087    Theme: () => Theme
40088  });
40089  var Theme;
40090  var init_Theme = __esm({
40091    "apps/base/javascript/styles/Theme.ts"() {
40092      "use strict";
40093      init_esbuild_shims();
40094      Theme = {
40095        colors: {
40096          general: {
40097            baseFontColor: "#4C5157",
40098            headingFontColor: "darken(base-font-color, 10)",
40099            captionFontColor: "lighten(base-font-color, 25)",
40100            omronBlue: "#005eb8",
40101            linkColor: "#005eb8",
40102            warningRed: "#EC1700",
40103            approvalGreen: "#62B300",
40104            indicatorGreen: "#87C916",
40105            indicatorRed: "#EA5E28",
40106            indicatorOrange: "#FFBA00",
40107            indicatorGrey: "#D8D8D8",
40108            linkedinBlue: "#388ebe",
40109            lightGrey: "#d5d5d5",
40110            error: "#E74524",
40111            divider: "#EEE"
40112          },
40113          backgrounds: {
40114            lightBlue: "#EAF0F5",
40115            lightGrey: "#F8F8F8",
40116            lightRed: "#ffa095",
40117            mediumGrey: "#ebebeb",
40118            lightBlueGrey: "#E2F2FF"
40119          },
40120          buttons: {
40121            grey: "#eeeeee",
40122            subtleGrey: "#BBBFC6"
40123          },
40124          borders: {
40125            grey: "#D8D8D8"
40126          },
40127          tags: {
40128            greyTagColor: "#505F6C",
40129            silverTagColor: "#90A5B7",
40130            darkBlueTagColor: "#1F4D72",
40131            lightBlueTagColor: "#55A2E0",
40132            turquoiseTagColor: "#59AFBF",
40133            greenTagColor: "#74AB38",
40134            limeGreenTagColor: "#C5C624",
40135            yellowTagColor: "#F4AF13",
40136            orangeTagColor: "#ED6A32",
40137            redTagColor: "#C33333"
40138          }
40139        },
40140        breakpoints: {
40141          smallMobileDown: "(max-width: 350px)",
40142          mobile: "(min-width: 480px)",
40143          mobileDown: "(max-width: 480px)",
40144          small: "(min-width: 640px)",
40145          smallDown: "(max-width: 640px)",
40146          medium: "(min-width: 800px)",
40147          mediumDown: "(max-width: 800px)",
40148          desktop: "(min-width: 960px)",
40149          desktopDown: "(max-width: 960px)",
40150          pageWidthDown: "(max-width: 1280px)",
40151          pageWidthDownOld: "(max-width: 1080px)",
40152          largeDesktop: "(min-width: 1280px)",
40153          largeDesktopDown: "(max-width: 1280px)"
40154        },
40155        zIndex: {
40156          // z-index values from apps/base/assets/stylesheets/config/_1_z-index.scss
40157          // So they could be used in React
40158          stickyNavigation: "400",
40159          cookiebar: "402",
40160          tooltip: "200",
40161          // react-modal: '120',
40162          countryselector: "110",
40163          countries: "100",
40164          login: "60",
40165          mainNavigation: "58",
40166          breadcrumb: "49",
40167          catalogNavigation: "48",
40168          listingTabs: "11",
40169          bgShadow: "10",
40170          default: "1"
40171        },
40172        fonts: {
40173          baseFontFamily: "Arial, sans-serif"
40174        },
40175        REM: 15,
40176        pageWidth: 128,
40177        pageWidthOld: 108
40178      };
40179    }
40180  });
40181
40182  
40182// apps/base/javascript/generic/cookies/ConsentSection.tsx
40183  var import_react_toggle, import_react4, import_react_html_parser, ConsentSection, sectionStyles, toggleStyles, ConsentSection_default;
40184  var init_ConsentSection = __esm({
40185    "apps/base/javascript/generic/cookies/ConsentSection.tsx"() {
40186      "use strict";
40187      init_esbuild_shims();
40188      init_emotion_react_browser_esm();
40189      import_react_toggle = __toESM(require_component());
40190      import_react4 = __toESM(require_react());
40191      import_react_html_parser = __toESM(require_lib4());
40192      init_index_es();
40193      init_cookieHelpers();
40194      init_Theme();
40195      init_CookieCounterService();
40196      ConsentSection = ({
40197        title,
40198        content,
40199        cookie_type,
40200        cookie_details,
40201        learn_more,
40202        language,
40203        obtrusive
40204      }) => {
40205        const [open, setOpen] = (0, import_react4.useState)(false);
40206        const [consentGiven, setConsentGiven] = (0, import_react4.useState)(
40207          getCookieConsent(cookie_type)
40208        );
40209        (0, import_react4.useEffect)(() => {
40210          setCookieConsent(cookie_type, consentGiven);
40211        }, [consentGiven]);
40212        const handleToggleChange = () => {
40213          if (window.location.href.includes("cookie-policy")) {
40214            CookieCounterService_default.incrementCookieCount(
40215              "edit_policy",
40216              language,
40217              obtrusive
40218            );
40219          }
40220          setConsentGiven(!consentGiven);
40221        };
40222        return /* @__PURE__ */ jsx("section", { css: sectionStyles }, /* @__PURE__ */ jsx("div", { className: "section-header", css: toggleStyles }, /* @__PURE__ */ jsx(
40223          "div",
40224          {
40225            onClick: () => {
40226              setOpen(!open);
40227            }
40228          },
40229          /* @__PURE__ */ jsx(
40230            FontAwesomeIcon,
40231            {
40232              icon: ["far", "angle-right"],
40233              rotation: open ? 90 : void 0,
40234              size: "1x"
40235            }
40236          ),
40237          /* @__PURE__ */ jsx("h3", null, title)
40238        ), cookie_type !== "essentials" && /* @__PURE__ */ jsx(
40239          import_react_toggle.default,
40240          {
40241            onChange: handleToggleChange,
40242            icons: false,
40243            defaultChecked: consentGiven
40244          }
40245        )), /* @__PURE__ */ jsx("div", { className: `section-intro ${open ? "" : "hidden-mobile"}` }, (0, import_react_html_parser.default)(content), /* @__PURE__ */ jsx("div", { className: `description ${open ? "" : "hidden"}` }, (0, import_react_html_parser.default)(cookie_details))), /* @__PURE__ */ jsx("div", { className: `highlighted-text ${open ? "" : "hidden"}` }, (0, import_react_html_parser.default)(learn_more)));
40246      };
40247      sectionStyles = css`
40248  border-top: 1px solid #eeeeee;
40249  margin-top: 1.5rem;
40250  padding-top: 1.5rem;
40251  @media ${Theme.breakpoints.mobileDown} {
40252    margin-top: 2rem;
40253    padding-top: 2rem;
40254  }
40255
40256  .hidden {
40257    display: none;
40258  }
40259
40260  .fa-angle-right {
40261    margin-top: 0.2rem;
40262    font-size: 2rem;
40263  }
40264
40265  .section-header {
40266    display: flex;
40267    justify-content: space-between;
40268    > div {
40269      display: flex;
40270      align-items: flex-start;
40271      h3 {
40272        margin: 0;
40273        padding: 0 2rem;
40274        cursor: pointer;
40275        &:after {
40276          content: '';
40277          position: absolute;
40278          top: 0;
40279          left: 2rem;
40280          width: 100%;
40281        }
40282        &:hover {
40283          color: ${Theme.colors.general.omronBlue};
40284        }
40285      }
40286    }
40287  }
40288
40289  .section-intro {
40290    padding-left: 2.6rem;
40291    padding-top: 1rem;
40292    padding-bottom: 0;
40293    max-width: 50rem;
40294
40295    .description {
40296      padding-top: 1.6rem;
40297      padding-bottom: 1rem;
40298      p {
40299        margin-bottom: 0.5rem;
40300      }
40301    }
40302    @media ${Theme.breakpoints.mobileDown} {
40303      &.hidden-mobile {
40304        display: none;
40305      }
40306    }
40307  }
40308
40309  .highlighted-text {
40310    background-color: ${Theme.colors.backgrounds.lightBlueGrey};
40311    padding: 1.2rem 2.5rem;
40312  }
40313`;
40314      toggleStyles = css`
40315  .react-toggle {
40316    touch-action: pan-x;
40317
40318    display: inline-block;
40319    position: relative;
40320    cursor: pointer;
40321    background-color: transparent;
40322    border: 0;
40323    padding: 0;
40324
40325    -webkit-touch-callout: none;
40326    -webkit-user-select: none;
40327    -khtml-user-select: none;
40328    -moz-user-select: none;
40329    -ms-user-select: none;
40330    user-select: none;
40331
40332    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
40333    -webkit-tap-highlight-color: transparent;
40334    &:after {
40335      content: '';
40336      position: absolute;
40337      left: -10px;
40338      top: -10px;
40339      width: 56px;
40340      height: 44px;
40341      background: none;
40342    }
40343  }
40344
40345  .react-toggle-screenreader-only {
40346    border: 0;
40347    clip: rect(0 0 0 0);
40348    height: 1px;
40349    margin: -1px;
40350    overflow: hidden;
40351    padding: 0;
40352    position: absolute;
40353    width: 1px;
40354  }
40355
40356  .react-toggle--disabled {
40357    cursor: not-allowed;
40358    opacity: 0.5;
40359    -webkit-transition: opacity 0.25s;
40360    transition: opacity 0.25s;
40361  }
40362
40363  .react-toggle-track {
40364    width: 36px;
40365    height: 24px;
40366    padding: 0;
40367    border-radius: 30px;
40368    background-color: #cacaca;
40369    -webkit-transition: all 0.2s ease;
40370    -moz-transition: all 0.2s ease;
40371    transition: all 0.2s ease;
40372  }
40373
40374  .react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track {
40375    background-color: #bababa;
40376  }
40377
40378  .react-toggle--checked .react-toggle-track {
40379    background-color: #62b300;
40380  }
40381
40382  .react-toggle--checked:hover:not(.react-toggle--disabled)
40383    .react-toggle-track {
40384    background-color: #128d15;
40385  }
40386
40387  .react-toggle-track-check {
40388    position: absolute;
40389    width: 14px;
40390    height: 10px;
40391    top: 0px;
40392    bottom: 0px;
40393    margin-top: auto;
40394    margin-bottom: auto;
40395    line-height: 0;
40396    left: 8px;
40397    opacity: 0;
40398    -webkit-transition: opacity 0.25s ease;
40399    -moz-transition: opacity 0.25s ease;
40400    transition: opacity 0.25s ease;
40401  }
40402
40403  .react-toggle--checked .react-toggle-track-check {
40404    opacity: 1;
40405    -webkit-transition: opacity 0.25s ease;
40406    -moz-transition: opacity 0.25s ease;
40407    transition: opacity 0.25s ease;
40408  }
40409
40410  .react-toggle-track-x {
40411    position: absolute;
40412    width: 10px;
40413    height: 10px;
40414    top: 0px;
40415    bottom: 0px;
40416    margin-top: auto;
40417    margin-bottom: auto;
40418    line-height: 0;
40419    right: 10px;
40420    opacity: 1;
40421    -webkit-transition: opacity 0.25s ease;
40422    -moz-transition: opacity 0.25s ease;
40423    transition: opacity 0.25s ease;
40424  }
40425
40426  .react-toggle--checked .react-toggle-track-x {
40427    opacity: 0;
40428  }
40429
40430  .react-toggle-thumb {
40431    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0ms;
40432    position: absolute;
40433    top: 2px;
40434    left: 2px;
40435    width: 20px;
40436    height: 20px;
40437    border: 1px solid #cacaca;
40438    border-radius: 50%;
40439    background-color: #fafafa;
40440
40441    -webkit-box-sizing: border-box;
40442    -moz-box-sizing: border-box;
40443    box-sizing: border-box;
40444
40445    -webkit-transition: all 0.25s ease;
40446    -moz-transition: all 0.25s ease;
40447    transition: all 0.25s ease;
40448  }
40449
40450  .react-toggle--checked .react-toggle-thumb {
40451    left: 13px;
40452    border-color: #62b300;
40453  }
40454
40455  .react-toggle--focus .react-toggle-thumb {
40456    -webkit-box-shadow: 0px 0px 3px 2px #0099e0;
40457    -moz-box-shadow: 0px 0px 3px 2px #0099e0;
40458    box-shadow: 0px 0px 2px 3px #0099e0;
40459  }
40460
40461  .react-toggle:active:not(.react-toggle--disabled) .react-toggle-thumb {
40462    -webkit-box-shadow: 0px 0px 5px 5px #0099e0;
40463    -moz-box-shadow: 0px 0px 5px 5px #0099e0;
40464    box-shadow: 0px 0px 5px 5px #0099e0;
40465  }
40466`;
40467      ConsentSection_default = ConsentSection;
40468    }
40469  });
40470
40471  
40471// apps/base/javascript/generic/cookies/SettingsDialog.tsx
40472  var import_react_html_parser2, SettingsDialog, dialogStyles, SettingsDialog_default;
40473  var init_SettingsDialog = __esm({
40474    "apps/base/javascript/generic/cookies/SettingsDialog.tsx"() {
40475      "use strict";
40476      init_esbuild_shims();
40477      init_emotion_react_browser_esm();
40478      init_ConsentSection();
40479      import_react_html_parser2 = __toESM(require_lib4());
40480      init_Theme();
40481      SettingsDialog = ({
40482        intro,
40483        title,
40484        sections,
40485        learn_more,
40486        language,
40487        obtrusive
40488      }) => {
40489        return /* @__PURE__ */ jsx("section", { className: "info", id: "cookie-settings", css: dialogStyles }, /* @__PURE__ */ jsx("div", { className: "dialog-header" }, /* @__PURE__ */ jsx("h2", null, title), (0, import_react_html_parser2.default)(intro)), sections == null ? void 0 : sections.map((section) => /* @__PURE__ */ jsx(
40490          ConsentSection_default,
40491          {
40492            key: section.cookie_type,
40493            title: section.title,
40494            content: section.text,
40495            cookie_type: section.cookie_type,
40496            cookie_details: section.cookie_details,
40497            learn_more,
40498            language,
40499            obtrusive
40500          }
40501        )));
40502      };
40503      dialogStyles = css`
40504  padding: 4.5rem 4.5rem 1rem 4.5rem;
40505  display: flex;
40506  flex-direction: column;
40507
40508  section:last-child {
40509    border-bottom: 1px solid #eeeeee;
40510    margin-bottom: 1.5rem;
40511    padding-bottom: 1.5rem;
40512  }
40513  .dialog-header {
40514    h2 {
40515      margin-top: 0;
40516    }
40517  }
40518
40519  p {
40520    margin-top: 1rem;
40521  }
40522
40523  @media ${Theme.breakpoints.mobileDown} {
40524    padding: 2rem;
40525    section:last-child {
40526      margin-bottom: 2rem;
40527      padding-bottom: 2rem;
40528    }
40529  }
40530`;
40531      SettingsDialog_default = SettingsDialog;
40532    }
40533  });
40534
40535  
40535// apps/base/javascript/generic/cookies/thirdparty_scripts/yandex.js
40536  var yandex;
40537  var init_yandex = __esm({
40538    "apps/base/javascript/generic/cookies/thirdparty_scripts/yandex.js"() {
40539      "use strict";
40540      init_esbuild_shims();
40541      yandex = () => {
40542        const comment2 = document.createComment("Yandex Tracking Started");
40543        document.head.appendChild(comment2);
40544        (function(m, e, t2, r2, i2, k, a) {
40545          m[i2] = m[i2] || function() {
40546            ;
40547            (m[i2].a = m[i2].a || []).push(arguments);
40548          };
40549          m[i2].l = 1 * /* @__PURE__ */ new Date();
40550          k = e.createElement(t2), a = e.getElementsByTagName(t2)[0], k.async = 1, k.src = r2, a.parentNode.insertBefore(k, a);
40551        })(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
40552        ym(55931782, "init", {
40553          clickmap: true,
40554          trackLinks: true,
40555          accurateTrackBounce: true,
40556          webvisor: true
40557        });
40558      };
40559    }
40560  });
40561
40562  
40562// apps/base/javascript/generic/cookies/thirdparty_scripts/eloqua.js
40563  var eloqua;
40564  var init_eloqua = __esm({
40565    "apps/base/javascript/generic/cookies/thirdparty_scripts/eloqua.js"() {
40566      "use strict";
40567      init_esbuild_shims();
40568      eloqua = () => {
40569        const comment2 = document.createComment("Eloqua Tracking Started");
40570        document.head.appendChild(comment2);
40571        window._elqQ = window._elqQ || [];
40572        window._elqQ.push(["elqSetSiteId", "1011873893"]);
40573        const hostname = window.location.hostname;
40574        const omronIndex = hostname.indexOf("omron.");
40575        const firstPartyCookieDomain = omronIndex === -1 ? `tracking.${hostname}` : `tracking.${hostname.slice(omronIndex)}`;
40576        window._elqQ.push(["elqUseFirstPartyCookie", firstPartyCookieDomain]);
40577        window._elqQ.push(["elqTrackPageView", window.location.href]);
40578        (function() {
40579          function async_load() {
40580            var s2 = document.createElement("script");
40581            s2.type = "text/javascript";
40582            s2.async = true;
40583            s2.src = "//img.en25.com/i/elqCfg.min.js";
40584            var x2 = document.getElementsByTagName("script")[0];
40585            x2.parentNode.insertBefore(s2, x2);
40586          }
40587          if (document.readyState === "loading") {
40588            window.addEventListener("DOMContentLoaded", async_load, false);
40589          } else {
40590            async_load();
40591          }
40592        })();
40593        function elqGetGuidCookieValue() {
40594          var name2, value, index2, cookies = document.cookie.split(";");
40595          for (var i2 = 0; i2 < cookies.length; i2++) {
40596            index2 = cookies[i2].indexOf("=");
40597            if (index2 > 0 && cookies[i2].length > index2 + 1) {
40598              name2 = cookies[i2].substr(0, index2).trim();
40599              if (name2 == "ELOQUA") {
40600                value = cookies[i2].substr(index2 + 1);
40601                var subCookies = value.split("&");
40602                for (var l = 0; l < subCookies.length; l++) {
40603                  var subCookie = subCookies[l].split("=");
40604                  if (subCookie.length == 2 && subCookie[0] == "GUID") {
40605                    return subCookie[1];
40606                  }
40607                }
40608              }
40609            }
40610          }
40611          return "";
40612        }
40613        var timerId = null, timeout = 5;
40614        function WaitUntilCustomerGUIDCookieIsSet() {
40615          if (!!timerId) {
40616            if (timeout == 0) {
40617              return;
40618            }
40619            var eloquaId = elqGetGuidCookieValue();
40620            if (eloquaId) {
40621              jQuery.cookie("tracking_id", eloquaId);
40622              window._elqQ.push(["elqVisitorGuid", eloquaId]);
40623              return;
40624            }
40625            timeout -= 1;
40626          }
40627          timerId = setTimeout("WaitUntilCustomerGUIDCookieIsSet()", 500);
40628          return;
40629        }
40630        window.WaitUntilCustomerGUIDCookieIsSet = WaitUntilCustomerGUIDCookieIsSet;
40631        window.onload = window.WaitUntilCustomerGUIDCookieIsSet();
40632      };
40633    }
40634  });
40635
40636  
40636// apps/base/javascript/generic/cookies/thirdparty_scripts/adobeAnalytics.js
40637  var adobeAnalytics;
40638  var init_adobeAnalytics = __esm({
40639    "apps/base/javascript/generic/cookies/thirdparty_scripts/adobeAnalytics.js"() {
40640      "use strict";
40641      init_esbuild_shims();
40642      adobeAnalytics = () => {
40643        let script = document.createElement("script");
40644        script.type = "text/javascript";
40645        script.async = true;
40646        script.src = "https://assets.adobedtm.com/7ae85cc798d4/c89bf22a9096/launch-33a6e729cb8f.min.js";
40647        document.head.appendChild(script);
40648      };
40649    }
40650  });
40651
40652  
40652// apps/base/javascript/generic/cookies/thirdparty_scripts/google_tracking/doubleClick.js
40653  var doubleclick;
40654  var init_doubleClick = __esm({
40655    "apps/base/javascript/generic/cookies/thirdparty_scripts/google_tracking/doubleClick.js"() {
40656      "use strict";
40657      init_esbuild_shims();
40658      doubleclick = () => {
40659        let link = document.createElement("link");
40660        link.rel = "preconnect";
40661        link.href = "https://stats.g.doubleclick.net";
40662        link.crossOrigin = "";
40663        document.head.appendChild(link);
40664      };
40665    }
40666  });
40667
40668  
40668// apps/base/javascript/generic/cookies/thirdparty_scripts/google_tracking/gtm_consent.ts
40669  function gtmConsent() {
40670    const measurementId = document.querySelector(
40671      "[name=measurement_id]"
40672    );
40673    gtag("consent", "update", {
40674      ad_storage: getCookieConsent("marketing") ? "granted" : "denied",
40675      analytics_storage: getCookieConsent("analytics") ? "granted" : "denied",
40676      personalization_storage: getCookieConsent("personalization") ? "granted" : "denied",
40677      security_storage: getCookieConsent("security") ? "granted" : "denied"
40678    });
40679    gtag("js", /* @__PURE__ */ new Date());
40680    if (measurementId && measurementId.content) {
40681      try {
40682        const measurementIds = JSON.parse(measurementId.content);
40683        if (Array.isArray(measurementIds)) {
40684          measurementIds.forEach((id) => {
40685            gtag("config", id);
40686          });
40687        }
40688      } catch (error) {
40689        console.warn("Failed to parse measurement_id JSON:", error);
40690      }
40691    }
40692  }
40693  var gtag;
40694  var init_gtm_consent = __esm({
40695    "apps/base/javascript/generic/cookies/thirdparty_scripts/google_tracking/gtm_consent.ts"() {
40696      "use strict";
40697      init_esbuild_shims();
40698      init_cookieHelpers();
40699      gtag = function() {
40700        var _a4;
40701        (_a4 = window.dataLayer) == null ? void 0 : _a4.push(arguments);
40702      };
40703    }
40704  });
40705
40706  
40706// apps/base/javascript/generic/cookies/thirdparty_scripts/google_tracking/googleTagManager.js
40707  var googleTagManager;
40708  var init_googleTagManager = __esm({
40709    "apps/base/javascript/generic/cookies/thirdparty_scripts/google_tracking/googleTagManager.js"() {
40710      "use strict";
40711      init_esbuild_shims();
40712      init_gtm_consent();
40713      googleTagManager = () => {
40714        const isAuthenticated = document.querySelector(
40715          "meta[name=is_authenticated]"
40716        ).content;
40717        const roles2 = document.querySelector("meta[name=roles]").content;
40718        const enableTrackingScripts = document.querySelector(
40719          "meta[name=enable_tracking_scripts]"
40720        ).content;
40721        if (enableTrackingScripts === "true") {
40722          let dimensions = {
40723            authenticated: isAuthenticated,
40724            user_agent: window.navigator.userAgent
40725          };
40726          if (roles2) {
40727            dimensions.roles = roles2;
40728          }
40729          dataLayer = [dimensions];
40730          gtmConsent();
40731          (function(w3, d, s2, l, i2) {
40732            w3[l] = w3[l] || [];
40733            w3[l].push({ "gtm.start": (/* @__PURE__ */ new Date()).getTime(), event: "gtm.js" });
40734            var f = d.getElementsByTagName(s2)[0], j2 = d.createElement(s2), dl = l != "dataLayer" ? "&l=" + l : "";
40735            j2.async = true;
40736            j2.src = "//www.googletagmanager.com/gtm.js?id=" + i2 + dl;
40737            f.parentNode.insertBefore(j2, f);
40738          })(window, document, "script", "dataLayer", "GTM-P7CNJR");
40739        }
40740      };
40741    }
40742  });
40743
40744  
40744// apps/base/javascript/generic/cookies/thirdparty_scripts/google_tracking/youtube.js
40745  var youtubeMinimalPlayerCookies;
40746  var init_youtube = __esm({
40747    "apps/base/javascript/generic/cookies/thirdparty_scripts/google_tracking/youtube.js"() {
40748      "use strict";
40749      init_esbuild_shims();
40750      youtubeMinimalPlayerCookies = () => {
40751        var tag = document.createElement("script");
40752        tag.src = "https://www.youtube.com/iframe_api";
40753        var firstScriptTag = document.getElementsByTagName("script")[0];
40754        firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
40755        var player;
40756        function onYouTubeIframeAPIReady() {
40757          player = new YT.Player("player", {
40758            height: "390",
40759            width: "640",
40760            videoId: "M7lc1UVf-VE",
40761            host: "https://www.youtube-nocookie.com",
40762            playerVars: {
40763              playsinline: 1
40764            },
40765            events: {
40766              onReady: onPlayerReady,
40767              onStateChange: onPlayerStateChange
40768            }
40769          });
40770        }
40771        function onPlayerReady(event) {
40772          event.target.playVideo();
40773        }
40774        var done = false;
40775        function onPlayerStateChange(event) {
40776          if (event.data == YT.PlayerState.PLAYING && !done) {
40777            setTimeout(stopVideo, 6e3);
40778            done = true;
40779          }
40780        }
40781        function stopVideo() {
40782          player.stopVideo();
40783        }
40784      };
40785    }
40786  });
40787
40788  
40788// apps/base/javascript/generic/cookies/thirdparty_scripts/google_tracking/googleAnalytics.js
40789  var googleAnalytics;
40790  var init_googleAnalytics = __esm({
40791    "apps/base/javascript/generic/cookies/thirdparty_scripts/google_tracking/googleAnalytics.js"() {
40792      "use strict";
40793      init_esbuild_shims();
40794      googleAnalytics = () => {
40795        let link = document.createElement("link");
40796        link.rel = "preconnect";
40797        link.href = "https://www.google-analytics.com";
40798        link.crossOrigin = "";
40799        document.head.appendChild(link);
40800      };
40801    }
40802  });
40803
40804  
40804// apps/base/javascript/generic/helpers/getMetaTagContent.ts
40805  var getMetaTagContent_default;
40806  var init_getMetaTagContent = __esm({
40807    "apps/base/javascript/generic/helpers/getMetaTagContent.ts"() {
40808      "use strict";
40809      init_esbuild_shims();
40810      getMetaTagContent_default = (name2) => {
40811        const metaTag = document.querySelector(`meta[name=${name2}]`);
40812        return metaTag ? metaTag.getAttribute("content") : null;
40813      };
40814    }
40815  });
40816
40817  
40817// apps/base/javascript/generic/cookies/tracking_scripts.ts
40818  var callTrackingScripts;
40819  var init_tracking_scripts = __esm({
40820    "apps/base/javascript/generic/cookies/tracking_scripts.ts"() {
40821      "use strict";
40822      init_esbuild_shims();
40823      init_yandex();
40824      init_eloqua();
40825      init_adobeAnalytics();
40826      init_doubleClick();
40827      init_googleTagManager();
40828      init_youtube();
40829      init_googleAnalytics();
40830      init_cookieHelpers();
40831      init_getMetaTagContent();
40832      callTrackingScripts = () => {
40833        const allCookiesConsent = getAllCookiesConsent();
40834        const eloquaTrackingAvailable = getMetaTagContent_default("eloqua_tracking_available") === "true";
40835        const yandexTrackingAvailable = getMetaTagContent_default("yandex_tracking_available") === "true";
40836        if (getCookieConsent("marketing")) {
40837          if (yandexTrackingAvailable) {
40838            yandex();
40839          }
40840          if (eloquaTrackingAvailable) {
40841            eloqua();
40842          }
40843          doubleclick();
40844        }
40845        if (getCookieConsent("analytics")) {
40846          adobeAnalytics();
40847          googleAnalytics();
40848        }
40849        if (getCookieConsent("personalization")) {
40850        }
40851        if (getCookieConsent("security")) {
40852        }
40853        if (Object.values(allCookiesConsent).some((v) => v === true)) {
40854          googleTagManager();
40855        }
40856        youtubeMinimalPlayerCookies();
40857      };
40858    }
40859  });
40860
40861  
vendor: 2,758 bytes, lines 40861-40921
40861// node_modules/react-modal/lib/helpers/tabbable.js
40862  var require_tabbable = __commonJS({
40863    "node_modules/react-modal/lib/helpers/tabbable.js"(exports, module) {
40864      "use strict";
40865      init_esbuild_shims();
40866      Object.defineProperty(exports, "__esModule", {
40867        value: true
40868      });
40869      exports.default = findTabbableDescendants;
40870      var DISPLAY_NONE = "none";
40871      var DISPLAY_CONTENTS = "contents";
40872      var tabbableNode = /^(input|select|textarea|button|object|iframe)$/;
40873      function isNotOverflowing(element, style) {
40874        return style.getPropertyValue("overflow") !== "visible" || // if 'overflow: visible' set, check if there is actually any overflow
40875        element.scrollWidth <= 0 && element.scrollHeight <= 0;
40876      }
40877      function hidesContents(element) {
40878        var zeroSize = element.offsetWidth <= 0 && element.offsetHeight <= 0;
40879        if (zeroSize && !element.innerHTML) return true;
40880        try {
40881          var style = window.getComputedStyle(element);
40882          var displayValue = style.getPropertyValue("display");
40883          return zeroSize ? displayValue !== DISPLAY_CONTENTS && isNotOverflowing(element, style) : displayValue === DISPLAY_NONE;
40884        } catch (exception) {
40885          console.warn("Failed to inspect element style");
40886          return false;
40887        }
40888      }
40889      function visible(element) {
40890        var parentElement = element;
40891        var rootNode = element.getRootNode && element.getRootNode();
40892        while (parentElement) {
40893          if (parentElement === document.body) break;
40894          if (rootNode && parentElement === rootNode) parentElement = rootNode.host.parentNode;
40895          if (hidesContents(parentElement)) return false;
40896          parentElement = parentElement.parentNode;
40897        }
40898        return true;
40899      }
40900      function focusable(element, isTabIndexNotNaN) {
40901        var nodeName = element.nodeName.toLowerCase();
40902        var res = tabbableNode.test(nodeName) && !element.disabled || (nodeName === "a" ? element.href || isTabIndexNotNaN : isTabIndexNotNaN);
40903        return res && visible(element);
40904      }
40905      function tabbable(element) {
40906        var tabIndex = element.getAttribute("tabindex");
40907        if (tabIndex === null) tabIndex = void 0;
40908        var isTabIndexNaN = isNaN(tabIndex);
40909        return (isTabIndexNaN || tabIndex >= 0) && focusable(element, !isTabIndexNaN);
40910      }
40911      function findTabbableDescendants(element) {
40912        var descendants = [].slice.call(element.querySelectorAll("*"), 0).reduce(function(finished, el) {
40913          return finished.concat(!el.shadowRoot ? [el] : findTabbableDescendants(el.shadowRoot));
40914        }, []);
40915        return descendants.filter(tabbable);
40916      }
40917      module.exports = exports["default"];
40918    }
40919  });
40920
40921  
vendor: 3,382 bytes, lines 40921-41019
40921// node_modules/react-modal/lib/helpers/focusManager.js
40922  var require_focusManager = __commonJS({
40923    "node_modules/react-modal/lib/helpers/focusManager.js"(exports) {
40924      "use strict";
40925      init_esbuild_shims();
40926      Object.defineProperty(exports, "__esModule", {
40927        value: true
40928      });
40929      exports.resetState = resetState;
40930      exports.log = log2;
40931      exports.handleBlur = handleBlur;
40932      exports.handleFocus = handleFocus;
40933      exports.markForFocusLater = markForFocusLater;
40934      exports.returnFocus = returnFocus;
40935      exports.popWithoutFocus = popWithoutFocus;
40936      exports.setupScopedFocus = setupScopedFocus;
40937      exports.teardownScopedFocus = teardownScopedFocus;
40938      var _tabbable = require_tabbable();
40939      var _tabbable2 = _interopRequireDefault(_tabbable);
40940      function _interopRequireDefault(obj) {
40941        return obj && obj.__esModule ? obj : { default: obj };
40942      }
40943      var focusLaterElements = [];
40944      var modalElement = null;
40945      var needToFocus = false;
40946      function resetState() {
40947        focusLaterElements = [];
40948      }
40949      function log2() {
40950        if (true) {
40951          console.log("focusManager ----------");
40952          focusLaterElements.forEach(function(f) {
40953            var check = f || {};
40954            console.log(check.nodeName, check.className, check.id);
40955          });
40956          console.log("end focusManager ----------");
40957        }
40958      }
40959      function handleBlur() {
40960        needToFocus = true;
40961      }
40962      function handleFocus() {
40963        if (needToFocus) {
40964          needToFocus = false;
40965          if (!modalElement) {
40966            return;
40967          }
40968          setTimeout(function() {
40969            if (modalElement.contains(document.activeElement)) {
40970              return;
40971            }
40972            var el = (0, _tabbable2.default)(modalElement)[0] || modalElement;
40973            el.focus();
40974          }, 0);
40975        }
40976      }
40977      function markForFocusLater() {
40978        focusLaterElements.push(document.activeElement);
40979      }
40980      function returnFocus() {
40981        var preventScroll = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : false;
40982        var toFocus = null;
40983        try {
40984          if (focusLaterElements.length !== 0) {
40985            toFocus = focusLaterElements.pop();
40986            toFocus.focus({ preventScroll });
40987          }
40988          return;
40989        } catch (e) {
40990          console.warn(["You tried to return focus to", toFocus, "but it is not in the DOM anymore"].join(" "));
40991        }
40992      }
40993      function popWithoutFocus() {
40994        focusLaterElements.length > 0 && focusLaterElements.pop();
40995      }
40996      function setupScopedFocus(element) {
40997        modalElement = element;
40998        if (window.addEventListener) {
40999          window.addEventListener("blur", handleBlur, false);
41000          document.addEventListener("focus", handleFocus, true);
41001        } else {
41002          window.attachEvent("onBlur", handleBlur);
41003          document.attachEvent("onFocus", handleFocus);
41004        }
41005      }
41006      function teardownScopedFocus() {
41007        modalElement = null;
41008        if (window.addEventListener) {
41009          window.removeEventListener("blur", handleBlur);
41010          document.removeEventListener("focus", handleFocus);
41011        } else {
41012          window.detachEvent("onBlur", handleBlur);
41013          document.detachEvent("onFocus", handleFocus);
41014        }
41015      }
41016    }
41017  });
41018
41019  
vendor: 2,272 bytes, lines 41019-41084
41019// node_modules/react-modal/lib/helpers/scopeTab.js
41020  var require_scopeTab = __commonJS({
41021    "node_modules/react-modal/lib/helpers/scopeTab.js"(exports, module) {
41022      "use strict";
41023      init_esbuild_shims();
41024      Object.defineProperty(exports, "__esModule", {
41025        value: true
41026      });
41027      exports.default = scopeTab;
41028      var _tabbable = require_tabbable();
41029      var _tabbable2 = _interopRequireDefault(_tabbable);
41030      function _interopRequireDefault(obj) {
41031        return obj && obj.__esModule ? obj : { default: obj };
41032      }
41033      function getActiveElement() {
41034        var el = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document;
41035        return el.activeElement.shadowRoot ? getActiveElement(el.activeElement.shadowRoot) : el.activeElement;
41036      }
41037      function scopeTab(node2, event) {
41038        var tabbable = (0, _tabbable2.default)(node2);
41039        if (!tabbable.length) {
41040          event.preventDefault();
41041          return;
41042        }
41043        var target = void 0;
41044        var shiftKey = event.shiftKey;
41045        var head = tabbable[0];
41046        var tail = tabbable[tabbable.length - 1];
41047        var activeElement = getActiveElement();
41048        if (node2 === activeElement) {
41049          if (!shiftKey) return;
41050          target = tail;
41051        }
41052        if (tail === activeElement && !shiftKey) {
41053          target = head;
41054        }
41055        if (head === activeElement && shiftKey) {
41056          target = tail;
41057        }
41058        if (target) {
41059          event.preventDefault();
41060          target.focus();
41061          return;
41062        }
41063        var checkSafari = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);
41064        var isSafariDesktop = checkSafari != null && checkSafari[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
41065        if (!isSafariDesktop) return;
41066        var x2 = tabbable.indexOf(activeElement);
41067        if (x2 > -1) {
41068          x2 += shiftKey ? -1 : 1;
41069        }
41070        target = tabbable[x2];
41071        if (typeof target === "undefined") {
41072          event.preventDefault();
41073          target = shiftKey ? tail : head;
41074          target.focus();
41075          return;
41076        }
41077        event.preventDefault();
41078        target.focus();
41079      }
41080      module.exports = exports["default"];
41081    }
41082  });
41083
41084  
vendor: 1,490 bytes, lines 41084-41132
41084// node_modules/warning/warning.js
41085  var require_warning = __commonJS({
41086    "node_modules/warning/warning.js"(exports, module) {
41087      "use strict";
41088      init_esbuild_shims();
41089      var __DEV__ = true;
41090      var warning = function() {
41091      };
41092      if (__DEV__) {
41093        printWarning = function printWarning2(format, args) {
41094          var len = arguments.length;
41095          args = new Array(len > 1 ? len - 1 : 0);
41096          for (var key = 1; key < len; key++) {
41097            args[key - 1] = arguments[key];
41098          }
41099          var argIndex = 0;
41100          var message = "Warning: " + format.replace(/%s/g, function() {
41101            return args[argIndex++];
41102          });
41103          if (typeof console !== "undefined") {
41104            console.error(message);
41105          }
41106          try {
41107            throw new Error(message);
41108          } catch (x2) {
41109          }
41110        };
41111        warning = function(condition, format, args) {
41112          var len = arguments.length;
41113          args = new Array(len > 2 ? len - 2 : 0);
41114          for (var key = 2; key < len; key++) {
41115            args[key - 2] = arguments[key];
41116          }
41117          if (format === void 0) {
41118            throw new Error(
41119              "`warning(condition, format, ...args)` requires a warning message argument"
41120            );
41121          }
41122          if (!condition) {
41123            printWarning.apply(null, [format].concat(args));
41124          }
41125        };
41126      }
41127      var printWarning;
41128      module.exports = warning;
41129    }
41130  });
41131
41132  
vendor: 1,003 bytes, lines 41132-41158
41132// node_modules/exenv/index.js
41133  var require_exenv = __commonJS({
41134    "node_modules/exenv/index.js"(exports, module) {
41135      init_esbuild_shims();
41136      (function() {
41137        "use strict";
41138        var canUseDOM2 = !!(typeof window !== "undefined" && window.document && window.document.createElement);
41139        var ExecutionEnvironment = {
41140          canUseDOM: canUseDOM2,
41141          canUseWorkers: typeof Worker !== "undefined",
41142          canUseEventListeners: canUseDOM2 && !!(window.addEventListener || window.attachEvent),
41143          canUseViewport: canUseDOM2 && !!window.screen
41144        };
41145        if (typeof define === "function" && typeof define.amd === "object" && define.amd) {
41146          define(function() {
41147            return ExecutionEnvironment;
41148          });
41149        } else if (typeof module !== "undefined" && module.exports) {
41150          module.exports = ExecutionEnvironment;
41151        } else {
41152          window.ExecutionEnvironment = ExecutionEnvironment;
41153        }
41154      })();
41155    }
41156  });
41157
41158  
vendor: 999 bytes, lines 41158-41181
41158// node_modules/react-modal/lib/helpers/safeHTMLElement.js
41159  var require_safeHTMLElement = __commonJS({
41160    "node_modules/react-modal/lib/helpers/safeHTMLElement.js"(exports) {
41161      "use strict";
41162      init_esbuild_shims();
41163      Object.defineProperty(exports, "__esModule", {
41164        value: true
41165      });
41166      exports.canUseDOM = exports.SafeNodeList = exports.SafeHTMLCollection = void 0;
41167      var _exenv = require_exenv();
41168      var _exenv2 = _interopRequireDefault(_exenv);
41169      function _interopRequireDefault(obj) {
41170        return obj && obj.__esModule ? obj : { default: obj };
41171      }
41172      var EE = _exenv2.default;
41173      var SafeHTMLElement = EE.canUseDOM ? window.HTMLElement : {};
41174      var SafeHTMLCollection = exports.SafeHTMLCollection = EE.canUseDOM ? window.HTMLCollection : {};
41175      var SafeNodeList = exports.SafeNodeList = EE.canUseDOM ? window.NodeList : {};
41176      var canUseDOM2 = exports.canUseDOM = EE.canUseDOM;
41177      exports.default = SafeHTMLElement;
41178    }
41179  });
41180
41181  
vendor: 4,758 bytes, lines 41181-41306
41181// node_modules/react-modal/lib/helpers/ariaAppHider.js
41182  var require_ariaAppHider = __commonJS({
41183    "node_modules/react-modal/lib/helpers/ariaAppHider.js"(exports) {
41184      "use strict";
41185      init_esbuild_shims();
41186      Object.defineProperty(exports, "__esModule", {
41187        value: true
41188      });
41189      exports.resetState = resetState;
41190      exports.log = log2;
41191      exports.assertNodeList = assertNodeList;
41192      exports.setElement = setElement;
41193      exports.validateElement = validateElement;
41194      exports.hide = hide2;
41195      exports.show = show;
41196      exports.documentNotReadyOrSSRTesting = documentNotReadyOrSSRTesting;
41197      var _warning = require_warning();
41198      var _warning2 = _interopRequireDefault(_warning);
41199      var _safeHTMLElement = require_safeHTMLElement();
41200      function _interopRequireDefault(obj) {
41201        return obj && obj.__esModule ? obj : { default: obj };
41202      }
41203      var globalElement = null;
41204      function resetState() {
41205        if (globalElement) {
41206          if (globalElement.removeAttribute) {
41207            globalElement.removeAttribute("aria-hidden");
41208          } else if (globalElement.length != null) {
41209            globalElement.forEach(function(element) {
41210              return element.removeAttribute("aria-hidden");
41211            });
41212          } else {
41213            document.querySelectorAll(globalElement).forEach(function(element) {
41214              return element.removeAttribute("aria-hidden");
41215            });
41216          }
41217        }
41218        globalElement = null;
41219      }
41220      function log2() {
41221        if (true) {
41222          var check = globalElement || {};
41223          console.log("ariaAppHider ----------");
41224          console.log(check.nodeName, check.className, check.id);
41225          console.log("end ariaAppHider ----------");
41226        }
41227      }
41228      function assertNodeList(nodeList, selector) {
41229        if (!nodeList || !nodeList.length) {
41230          throw new Error("react-modal: No elements were found for selector " + selector + ".");
41231        }
41232      }
41233      function setElement(element) {
41234        var useElement = element;
41235        if (typeof useElement === "string" && _safeHTMLElement.canUseDOM) {
41236          var el = document.querySelectorAll(useElement);
41237          assertNodeList(el, useElement);
41238          useElement = el;
41239        }
41240        globalElement = useElement || globalElement;
41241        return globalElement;
41242      }
41243      function validateElement(appElement) {
41244        var el = appElement || globalElement;
41245        if (el) {
41246          return Array.isArray(el) || el instanceof HTMLCollection || el instanceof NodeList ? el : [el];
41247        } else {
41248          (0, _warning2.default)(false, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" "));
41249          return [];
41250        }
41251      }
41252      function hide2(appElement) {
41253        var _iteratorNormalCompletion = true;
41254        var _didIteratorError = false;
41255        var _iteratorError = void 0;
41256        try {
41257          for (var _iterator = validateElement(appElement)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
41258            var el = _step.value;
41259            el.setAttribute("aria-hidden", "true");
41260          }
41261        } catch (err) {
41262          _didIteratorError = true;
41263          _iteratorError = err;
41264        } finally {
41265          try {
41266            if (!_iteratorNormalCompletion && _iterator.return) {
41267              _iterator.return();
41268            }
41269          } finally {
41270            if (_didIteratorError) {
41271              throw _iteratorError;
41272            }
41273          }
41274        }
41275      }
41276      function show(appElement) {
41277        var _iteratorNormalCompletion2 = true;
41278        var _didIteratorError2 = false;
41279        var _iteratorError2 = void 0;
41280        try {
41281          for (var _iterator2 = validateElement(appElement)[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
41282            var el = _step2.value;
41283            el.removeAttribute("aria-hidden");
41284          }
41285        } catch (err) {
41286          _didIteratorError2 = true;
41287          _iteratorError2 = err;
41288        } finally {
41289          try {
41290            if (!_iteratorNormalCompletion2 && _iterator2.return) {
41291              _iterator2.return();
41292            }
41293          } finally {
41294            if (_didIteratorError2) {
41295              throw _iteratorError2;
41296            }
41297          }
41298        }
41299      }
41300      function documentNotReadyOrSSRTesting() {
41301        globalElement = null;
41302      }
41303    }
41304  });
41305
41306  
vendor: 2,934 bytes, lines 41306-41384
41306// node_modules/react-modal/lib/helpers/classList.js
41307  var require_classList = __commonJS({
41308    "node_modules/react-modal/lib/helpers/classList.js"(exports) {
41309      "use strict";
41310      init_esbuild_shims();
41311      Object.defineProperty(exports, "__esModule", {
41312        value: true
41313      });
41314      exports.resetState = resetState;
41315      exports.log = log2;
41316      var htmlClassList = {};
41317      var docBodyClassList = {};
41318      function removeClass(at, cls) {
41319        at.classList.remove(cls);
41320      }
41321      function resetState() {
41322        var htmlElement = document.getElementsByTagName("html")[0];
41323        for (var cls in htmlClassList) {
41324          removeClass(htmlElement, htmlClassList[cls]);
41325        }
41326        var body = document.body;
41327        for (var _cls in docBodyClassList) {
41328          removeClass(body, docBodyClassList[_cls]);
41329        }
41330        htmlClassList = {};
41331        docBodyClassList = {};
41332      }
41333      function log2() {
41334        if (true) {
41335          var classes = document.getElementsByTagName("html")[0].className;
41336          var buffer = "Show tracked classes:\n\n";
41337          buffer += "<html /> (" + classes + "):\n  ";
41338          for (var x2 in htmlClassList) {
41339            buffer += "  " + x2 + " " + htmlClassList[x2] + "\n  ";
41340          }
41341          classes = document.body.className;
41342          buffer += "\n\ndoc.body (" + classes + "):\n  ";
41343          for (var _x in docBodyClassList) {
41344            buffer += "  " + _x + " " + docBodyClassList[_x] + "\n  ";
41345          }
41346          buffer += "\n";
41347          console.log(buffer);
41348        }
41349      }
41350      var incrementReference = function incrementReference2(poll, className) {
41351        if (!poll[className]) {
41352          poll[className] = 0;
41353        }
41354        poll[className] += 1;
41355        return className;
41356      };
41357      var decrementReference = function decrementReference2(poll, className) {
41358        if (poll[className]) {
41359          poll[className] -= 1;
41360        }
41361        return className;
41362      };
41363      var trackClass = function trackClass2(classListRef, poll, classes) {
41364        classes.forEach(function(className) {
41365          incrementReference(poll, className);
41366          classListRef.add(className);
41367        });
41368      };
41369      var untrackClass = function untrackClass2(classListRef, poll, classes) {
41370        classes.forEach(function(className) {
41371          decrementReference(poll, className);
41372          poll[className] === 0 && classListRef.remove(className);
41373        });
41374      };
41375      var add = exports.add = function add2(element, classString) {
41376        return trackClass(element.classList, element.nodeName.toLowerCase() == "html" ? htmlClassList : docBodyClassList, classString.split(" "));
41377      };
41378      var remove = exports.remove = function remove2(element, classString) {
41379        return untrackClass(element.classList, element.nodeName.toLowerCase() == "html" ? htmlClassList : docBodyClassList, classString.split(" "));
41380      };
41381    }
41382  });
41383
41384  
vendor: 2,532 bytes, lines 41384-41454
41384// node_modules/react-modal/lib/helpers/portalOpenInstances.js
41385  var require_portalOpenInstances = __commonJS({
41386    "node_modules/react-modal/lib/helpers/portalOpenInstances.js"(exports) {
41387      "use strict";
41388      init_esbuild_shims();
41389      Object.defineProperty(exports, "__esModule", {
41390        value: true
41391      });
41392      exports.log = log2;
41393      exports.resetState = resetState;
41394      function _classCallCheck2(instance, Constructor) {
41395        if (!(instance instanceof Constructor)) {
41396          throw new TypeError("Cannot call a class as a function");
41397        }
41398      }
41399      var PortalOpenInstances = function PortalOpenInstances2() {
41400        var _this = this;
41401        _classCallCheck2(this, PortalOpenInstances2);
41402        this.register = function(openInstance) {
41403          if (_this.openInstances.indexOf(openInstance) !== -1) {
41404            if (true) {
41405              console.warn("React-Modal: Cannot register modal instance that's already open");
41406            }
41407            return;
41408          }
41409          _this.openInstances.push(openInstance);
41410          _this.emit("register");
41411        };
41412        this.deregister = function(openInstance) {
41413          var index2 = _this.openInstances.indexOf(openInstance);
41414          if (index2 === -1) {
41415            if (true) {
41416              console.warn("React-Modal: Unable to deregister " + openInstance + " as it was never registered");
41417            }
41418            return;
41419          }
41420          _this.openInstances.splice(index2, 1);
41421          _this.emit("deregister");
41422        };
41423        this.subscribe = function(callback) {
41424          _this.subscribers.push(callback);
41425        };
41426        this.emit = function(eventType) {
41427          _this.subscribers.forEach(function(subscriber) {
41428            return subscriber(
41429              eventType,
41430              // shallow copy to avoid accidental mutation
41431              _this.openInstances.slice()
41432            );
41433          });
41434        };
41435        this.openInstances = [];
41436        this.subscribers = [];
41437      };
41438      var portalOpenInstances = new PortalOpenInstances();
41439      function log2() {
41440        console.log("portalOpenInstances ----------");
41441        console.log(portalOpenInstances.openInstances.length);
41442        portalOpenInstances.openInstances.forEach(function(p2) {
41443          return console.log(p2);
41444        });
41445        console.log("end portalOpenInstances ----------");
41446      }
41447      function resetState() {
41448        portalOpenInstances = new PortalOpenInstances();
41449      }
41450      exports.default = portalOpenInstances;
41451    }
41452  });
41453
41454  
vendor: 2,797 bytes, lines 41454-41534
41454// node_modules/react-modal/lib/helpers/bodyTrap.js
41455  var require_bodyTrap = __commonJS({
41456    "node_modules/react-modal/lib/helpers/bodyTrap.js"(exports) {
41457      "use strict";
41458      init_esbuild_shims();
41459      Object.defineProperty(exports, "__esModule", {
41460        value: true
41461      });
41462      exports.resetState = resetState;
41463      exports.log = log2;
41464      var _portalOpenInstances = require_portalOpenInstances();
41465      var _portalOpenInstances2 = _interopRequireDefault(_portalOpenInstances);
41466      function _interopRequireDefault(obj) {
41467        return obj && obj.__esModule ? obj : { default: obj };
41468      }
41469      var before = void 0;
41470      var after = void 0;
41471      var instances = [];
41472      function resetState() {
41473        var _arr = [before, after];
41474        for (var _i = 0; _i < _arr.length; _i++) {
41475          var item = _arr[_i];
41476          if (!item) continue;
41477          item.parentNode && item.parentNode.removeChild(item);
41478        }
41479        before = after = null;
41480        instances = [];
41481      }
41482      function log2() {
41483        console.log("bodyTrap ----------");
41484        console.log(instances.length);
41485        var _arr2 = [before, after];
41486        for (var _i2 = 0; _i2 < _arr2.length; _i2++) {
41487          var item = _arr2[_i2];
41488          var check = item || {};
41489          console.log(check.nodeName, check.className, check.id);
41490        }
41491        console.log("edn bodyTrap ----------");
41492      }
41493      function focusContent() {
41494        if (instances.length === 0) {
41495          if (true) {
41496            console.warn("React-Modal: Open instances > 0 expected");
41497          }
41498          return;
41499        }
41500        instances[instances.length - 1].focusContent();
41501      }
41502      function bodyTrap(eventType, openInstances) {
41503        if (!before && !after) {
41504          before = document.createElement("div");
41505          before.setAttribute("data-react-modal-body-trap", "");
41506          before.style.position = "absolute";
41507          before.style.opacity = "0";
41508          before.setAttribute("tabindex", "0");
41509          before.addEventListener("focus", focusContent);
41510          after = before.cloneNode();
41511          after.addEventListener("focus", focusContent);
41512        }
41513        instances = openInstances;
41514        if (instances.length > 0) {
41515          if (document.body.firstChild !== before) {
41516            document.body.insertBefore(before, document.body.firstChild);
41517          }
41518          if (document.body.lastChild !== after) {
41519            document.body.appendChild(after);
41520          }
41521        } else {
41522          if (before.parentElement) {
41523            before.parentElement.removeChild(before);
41524          }
41525          if (after.parentElement) {
41526            after.parentElement.removeChild(after);
41527          }
41528        }
41529      }
41530      _portalOpenInstances2.default.subscribe(bodyTrap);
41531    }
41532  });
41533
41534  
vendor: 18,269 bytes, lines 41534-41934
41534// node_modules/react-modal/lib/components/ModalPortal.js
41535  var require_ModalPortal = __commonJS({
41536    "node_modules/react-modal/lib/components/ModalPortal.js"(exports, module) {
41537      "use strict";
41538      init_esbuild_shims();
41539      Object.defineProperty(exports, "__esModule", {
41540        value: true
41541      });
41542      var _extends2 = Object.assign || function(target) {
41543        for (var i2 = 1; i2 < arguments.length; i2++) {
41544          var source = arguments[i2];
41545          for (var key in source) {
41546            if (Object.prototype.hasOwnProperty.call(source, key)) {
41547              target[key] = source[key];
41548            }
41549          }
41550        }
41551        return target;
41552      };
41553      var _typeof3 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
41554        return typeof obj;
41555      } : function(obj) {
41556        return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
41557      };
41558      var _createClass2 = /* @__PURE__ */ (function() {
41559        function defineProperties(target, props) {
41560          for (var i2 = 0; i2 < props.length; i2++) {
41561            var descriptor = props[i2];
41562            descriptor.enumerable = descriptor.enumerable || false;
41563            descriptor.configurable = true;
41564            if ("value" in descriptor) descriptor.writable = true;
41565            Object.defineProperty(target, descriptor.key, descriptor);
41566          }
41567        }
41568        return function(Constructor, protoProps, staticProps) {
41569          if (protoProps) defineProperties(Constructor.prototype, protoProps);
41570          if (staticProps) defineProperties(Constructor, staticProps);
41571          return Constructor;
41572        };
41573      })();
41574      var _react = require_react();
41575      var _propTypes = require_prop_types();
41576      var _propTypes2 = _interopRequireDefault(_propTypes);
41577      var _focusManager = require_focusManager();
41578      var focusManager = _interopRequireWildcard(_focusManager);
41579      var _scopeTab = require_scopeTab();
41580      var _scopeTab2 = _interopRequireDefault(_scopeTab);
41581      var _ariaAppHider = require_ariaAppHider();
41582      var ariaAppHider = _interopRequireWildcard(_ariaAppHider);
41583      var _classList = require_classList();
41584      var classList2 = _interopRequireWildcard(_classList);
41585      var _safeHTMLElement = require_safeHTMLElement();
41586      var _safeHTMLElement2 = _interopRequireDefault(_safeHTMLElement);
41587      var _portalOpenInstances = require_portalOpenInstances();
41588      var _portalOpenInstances2 = _interopRequireDefault(_portalOpenInstances);
41589      require_bodyTrap();
41590      function _interopRequireWildcard(obj) {
41591        if (obj && obj.__esModule) {
41592          return obj;
41593        } else {
41594          var newObj = {};
41595          if (obj != null) {
41596            for (var key in obj) {
41597              if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];
41598            }
41599          }
41600          newObj.default = obj;
41601          return newObj;
41602        }
41603      }
41604      function _interopRequireDefault(obj) {
41605        return obj && obj.__esModule ? obj : { default: obj };
41606      }
41607      function _classCallCheck2(instance, Constructor) {
41608        if (!(instance instanceof Constructor)) {
41609          throw new TypeError("Cannot call a class as a function");
41610        }
41611      }
41612      function _possibleConstructorReturn2(self2, call) {
41613        if (!self2) {
41614          throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
41615        }
41616        return call && (typeof call === "object" || typeof call === "function") ? call : self2;
41617      }
41618      function _inherits2(subClass, superClass) {
41619        if (typeof superClass !== "function" && superClass !== null) {
41620          throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
41621        }
41622        subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });
41623        if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
41624      }
41625      var CLASS_NAMES = {
41626        overlay: "ReactModal__Overlay",
41627        content: "ReactModal__Content"
41628      };
41629      var isTabKey = function isTabKey2(event) {
41630        return event.code === "Tab" || event.keyCode === 9;
41631      };
41632      var isEscKey = function isEscKey2(event) {
41633        return event.code === "Escape" || event.keyCode === 27;
41634      };
41635      var ariaHiddenInstances = 0;
41636      var ModalPortal = (function(_Component) {
41637        _inherits2(ModalPortal2, _Component);
41638        function ModalPortal2(props) {
41639          _classCallCheck2(this, ModalPortal2);
41640          var _this = _possibleConstructorReturn2(this, (ModalPortal2.__proto__ || Object.getPrototypeOf(ModalPortal2)).call(this, props));
41641          _this.setOverlayRef = function(overlay) {
41642            _this.overlay = overlay;
41643            _this.props.overlayRef && _this.props.overlayRef(overlay);
41644          };
41645          _this.setContentRef = function(content) {
41646            _this.content = content;
41647            _this.props.contentRef && _this.props.contentRef(content);
41648          };
41649          _this.afterClose = function() {
41650            var _this$props = _this.props, appElement = _this$props.appElement, ariaHideApp = _this$props.ariaHideApp, htmlOpenClassName = _this$props.htmlOpenClassName, bodyOpenClassName = _this$props.bodyOpenClassName, parentSelector = _this$props.parentSelector;
41651            var parentDocument = parentSelector && parentSelector().ownerDocument || document;
41652            bodyOpenClassName && classList2.remove(parentDocument.body, bodyOpenClassName);
41653            htmlOpenClassName && classList2.remove(parentDocument.getElementsByTagName("html")[0], htmlOpenClassName);
41654            if (ariaHideApp && ariaHiddenInstances > 0) {
41655              ariaHiddenInstances -= 1;
41656              if (ariaHiddenInstances === 0) {
41657                ariaAppHider.show(appElement);
41658              }
41659            }
41660            if (_this.props.shouldFocusAfterRender) {
41661              if (_this.props.shouldReturnFocusAfterClose) {
41662                focusManager.returnFocus(_this.props.preventScroll);
41663                focusManager.teardownScopedFocus();
41664              } else {
41665                focusManager.popWithoutFocus();
41666              }
41667            }
41668            if (_this.props.onAfterClose) {
41669              _this.props.onAfterClose();
41670            }
41671            _portalOpenInstances2.default.deregister(_this);
41672          };
41673          _this.open = function() {
41674            _this.beforeOpen();
41675            if (_this.state.afterOpen && _this.state.beforeClose) {
41676              clearTimeout(_this.closeTimer);
41677              _this.setState({ beforeClose: false });
41678            } else {
41679              if (_this.props.shouldFocusAfterRender) {
41680                focusManager.setupScopedFocus(_this.node);
41681                focusManager.markForFocusLater();
41682              }
41683              _this.setState({ isOpen: true }, function() {
41684                _this.openAnimationFrame = requestAnimationFrame(function() {
41685                  _this.setState({ afterOpen: true });
41686                  if (_this.props.isOpen && _this.props.onAfterOpen) {
41687                    _this.props.onAfterOpen({
41688                      overlayEl: _this.overlay,
41689                      contentEl: _this.content
41690                    });
41691                  }
41692                });
41693              });
41694            }
41695          };
41696          _this.close = function() {
41697            if (_this.props.closeTimeoutMS > 0) {
41698              _this.closeWithTimeout();
41699            } else {
41700              _this.closeWithoutTimeout();
41701            }
41702          };
41703          _this.focusContent = function() {
41704            return _this.content && !_this.contentHasFocus() && _this.content.focus({ preventScroll: true });
41705          };
41706          _this.closeWithTimeout = function() {
41707            var closesAt = Date.now() + _this.props.closeTimeoutMS;
41708            _this.setState({ beforeClose: true, closesAt }, function() {
41709              _this.closeTimer = setTimeout(_this.closeWithoutTimeout, _this.state.closesAt - Date.now());
41710            });
41711          };
41712          _this.closeWithoutTimeout = function() {
41713            _this.setState({
41714              beforeClose: false,
41715              isOpen: false,
41716              afterOpen: false,
41717              closesAt: null
41718            }, _this.afterClose);
41719          };
41720          _this.handleKeyDown = function(event) {
41721            if (isTabKey(event)) {
41722              (0, _scopeTab2.default)(_this.content, event);
41723            }
41724            if (_this.props.shouldCloseOnEsc && isEscKey(event)) {
41725              event.stopPropagation();
41726              _this.requestClose(event);
41727            }
41728          };
41729          _this.handleOverlayOnClick = function(event) {
41730            if (_this.shouldClose === null) {
41731              _this.shouldClose = true;
41732            }
41733            if (_this.shouldClose && _this.props.shouldCloseOnOverlayClick) {
41734              if (_this.ownerHandlesClose()) {
41735                _this.requestClose(event);
41736              } else {
41737                _this.focusContent();
41738              }
41739            }
41740            _this.shouldClose = null;
41741          };
41742          _this.handleContentOnMouseUp = function() {
41743            _this.shouldClose = false;
41744          };
41745          _this.handleOverlayOnMouseDown = function(event) {
41746            if (!_this.props.shouldCloseOnOverlayClick && event.target == _this.overlay) {
41747              event.preventDefault();
41748            }
41749          };
41750          _this.handleContentOnClick = function() {
41751            _this.shouldClose = false;
41752          };
41753          _this.handleContentOnMouseDown = function() {
41754            _this.shouldClose = false;
41755          };
41756          _this.requestClose = function(event) {
41757            return _this.ownerHandlesClose() && _this.props.onRequestClose(event);
41758          };
41759          _this.ownerHandlesClose = function() {
41760            return _this.props.onRequestClose;
41761          };
41762          _this.shouldBeClosed = function() {
41763            return !_this.state.isOpen && !_this.state.beforeClose;
41764          };
41765          _this.contentHasFocus = function() {
41766            return document.activeElement === _this.content || _this.content.contains(document.activeElement);
41767          };
41768          _this.buildClassName = function(which, additional) {
41769            var classNames2 = (typeof additional === "undefined" ? "undefined" : _typeof3(additional)) === "object" ? additional : {
41770              base: CLASS_NAMES[which],
41771              afterOpen: CLASS_NAMES[which] + "--after-open",
41772              beforeClose: CLASS_NAMES[which] + "--before-close"
41773            };
41774            var className = classNames2.base;
41775            if (_this.state.afterOpen) {
41776              className = className + " " + classNames2.afterOpen;
41777            }
41778            if (_this.state.beforeClose) {
41779              className = className + " " + classNames2.beforeClose;
41780            }
41781            return typeof additional === "string" && additional ? className + " " + additional : className;
41782          };
41783          _this.attributesFromObject = function(prefix2, items) {
41784            return Object.keys(items).reduce(function(acc, name2) {
41785              acc[prefix2 + "-" + name2] = items[name2];
41786              return acc;
41787            }, {});
41788          };
41789          _this.state = {
41790            afterOpen: false,
41791            beforeClose: false
41792          };
41793          _this.shouldClose = null;
41794          _this.moveFromContentToOverlay = null;
41795          return _this;
41796        }
41797        _createClass2(ModalPortal2, [{
41798          key: "componentDidMount",
41799          value: function componentDidMount() {
41800            if (this.props.isOpen) {
41801              this.open();
41802            }
41803          }
41804        }, {
41805          key: "componentDidUpdate",
41806          value: function componentDidUpdate(prevProps, prevState) {
41807            if (true) {
41808              if (prevProps.bodyOpenClassName !== this.props.bodyOpenClassName) {
41809                console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.');
41810              }
41811              if (prevProps.htmlOpenClassName !== this.props.htmlOpenClassName) {
41812                console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.');
41813              }
41814            }
41815            if (this.props.isOpen && !prevProps.isOpen) {
41816              this.open();
41817            } else if (!this.props.isOpen && prevProps.isOpen) {
41818              this.close();
41819            }
41820            if (this.props.shouldFocusAfterRender && this.state.isOpen && !prevState.isOpen) {
41821              this.focusContent();
41822            }
41823          }
41824        }, {
41825          key: "componentWillUnmount",
41826          value: function componentWillUnmount() {
41827            if (this.state.isOpen) {
41828              this.afterClose();
41829            }
41830            clearTimeout(this.closeTimer);
41831            cancelAnimationFrame(this.openAnimationFrame);
41832          }
41833        }, {
41834          key: "beforeOpen",
41835          value: function beforeOpen() {
41836            var _props = this.props, appElement = _props.appElement, ariaHideApp = _props.ariaHideApp, htmlOpenClassName = _props.htmlOpenClassName, bodyOpenClassName = _props.bodyOpenClassName, parentSelector = _props.parentSelector;
41837            var parentDocument = parentSelector && parentSelector().ownerDocument || document;
41838            bodyOpenClassName && classList2.add(parentDocument.body, bodyOpenClassName);
41839            htmlOpenClassName && classList2.add(parentDocument.getElementsByTagName("html")[0], htmlOpenClassName);
41840            if (ariaHideApp) {
41841              ariaHiddenInstances += 1;
41842              ariaAppHider.hide(appElement);
41843            }
41844            _portalOpenInstances2.default.register(this);
41845          }
41846          // Don't steal focus from inner elements
41847        }, {
41848          key: "render",
41849          value: function render2() {
41850            var _props2 = this.props, id = _props2.id, className = _props2.className, overlayClassName = _props2.overlayClassName, defaultStyles2 = _props2.defaultStyles, children = _props2.children;
41851            var contentStyles = className ? {} : defaultStyles2.content;
41852            var overlayStyles = overlayClassName ? {} : defaultStyles2.overlay;
41853            if (this.shouldBeClosed()) {
41854              return null;
41855            }
41856            var overlayProps = {
41857              ref: this.setOverlayRef,
41858              className: this.buildClassName("overlay", overlayClassName),
41859              style: _extends2({}, overlayStyles, this.props.style.overlay),
41860              onClick: this.handleOverlayOnClick,
41861              onMouseDown: this.handleOverlayOnMouseDown
41862            };
41863            var contentProps = _extends2({
41864              id,
41865              ref: this.setContentRef,
41866              style: _extends2({}, contentStyles, this.props.style.content),
41867              className: this.buildClassName("content", className),
41868              tabIndex: "-1",
41869              onKeyDown: this.handleKeyDown,
41870              onMouseDown: this.handleContentOnMouseDown,
41871              onMouseUp: this.handleContentOnMouseUp,
41872              onClick: this.handleContentOnClick,
41873              role: this.props.role,
41874              "aria-label": this.props.contentLabel
41875            }, this.attributesFromObject("aria", _extends2({ modal: true }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
41876              "data-testid": this.props.testId
41877            });
41878            var contentElement = this.props.contentElement(contentProps, children);
41879            return this.props.overlayElement(overlayProps, contentElement);
41880          }
41881        }]);
41882        return ModalPortal2;
41883      })(_react.Component);
41884      ModalPortal.defaultProps = {
41885        style: {
41886          overlay: {},
41887          content: {}
41888        },
41889        defaultStyles: {}
41890      };
41891      ModalPortal.propTypes = {
41892        isOpen: _propTypes2.default.bool.isRequired,
41893        defaultStyles: _propTypes2.default.shape({
41894          content: _propTypes2.default.object,
41895          overlay: _propTypes2.default.object
41896        }),
41897        style: _propTypes2.default.shape({
41898          content: _propTypes2.default.object,
41899          overlay: _propTypes2.default.object
41900        }),
41901        className: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.object]),
41902        overlayClassName: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.object]),
41903        parentSelector: _propTypes2.default.func,
41904        bodyOpenClassName: _propTypes2.default.string,
41905        htmlOpenClassName: _propTypes2.default.string,
41906        ariaHideApp: _propTypes2.default.bool,
41907        appElement: _propTypes2.default.oneOfType([_propTypes2.default.instanceOf(_safeHTMLElement2.default), _propTypes2.default.instanceOf(_safeHTMLElement.SafeHTMLCollection), _propTypes2.default.instanceOf(_safeHTMLElement.SafeNodeList), _propTypes2.default.arrayOf(_propTypes2.default.instanceOf(_safeHTMLElement2.default))]),
41908        onAfterOpen: _propTypes2.default.func,
41909        onAfterClose: _propTypes2.default.func,
41910        onRequestClose: _propTypes2.default.func,
41911        closeTimeoutMS: _propTypes2.default.number,
41912        shouldFocusAfterRender: _propTypes2.default.bool,
41913        shouldCloseOnOverlayClick: _propTypes2.default.bool,
41914        shouldReturnFocusAfterClose: _propTypes2.default.bool,
41915        preventScroll: _propTypes2.default.bool,
41916        role: _propTypes2.default.string,
41917        contentLabel: _propTypes2.default.string,
41918        aria: _propTypes2.default.object,
41919        data: _propTypes2.default.object,
41920        children: _propTypes2.default.node,
41921        shouldCloseOnEsc: _propTypes2.default.bool,
41922        overlayRef: _propTypes2.default.func,
41923        contentRef: _propTypes2.default.func,
41924        id: _propTypes2.default.string,
41925        overlayElement: _propTypes2.default.func,
41926        contentElement: _propTypes2.default.func,
41927        testId: _propTypes2.default.string
41928      };
41929      exports.default = ModalPortal;
41930      module.exports = exports["default"];
41931    }
41932  });
41933
41934  
vendor: 4,955 bytes, lines 41934-42028
41934// node_modules/react-lifecycles-compat/react-lifecycles-compat.cjs.js
41935  var require_react_lifecycles_compat_cjs = __commonJS({
41936    "node_modules/react-lifecycles-compat/react-lifecycles-compat.cjs.js"(exports) {
41937      "use strict";
41938      init_esbuild_shims();
41939      Object.defineProperty(exports, "__esModule", { value: true });
41940      function componentWillMount() {
41941        var state = this.constructor.getDerivedStateFromProps(this.props, this.state);
41942        if (state !== null && state !== void 0) {
41943          this.setState(state);
41944        }
41945      }
41946      function componentWillReceiveProps(nextProps) {
41947        function updater(prevState) {
41948          var state = this.constructor.getDerivedStateFromProps(nextProps, prevState);
41949          return state !== null && state !== void 0 ? state : null;
41950        }
41951        this.setState(updater.bind(this));
41952      }
41953      function componentWillUpdate(nextProps, nextState) {
41954        try {
41955          var prevProps = this.props;
41956          var prevState = this.state;
41957          this.props = nextProps;
41958          this.state = nextState;
41959          this.__reactInternalSnapshotFlag = true;
41960          this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(
41961            prevProps,
41962            prevState
41963          );
41964        } finally {
41965          this.props = prevProps;
41966          this.state = prevState;
41967        }
41968      }
41969      componentWillMount.__suppressDeprecationWarning = true;
41970      componentWillReceiveProps.__suppressDeprecationWarning = true;
41971      componentWillUpdate.__suppressDeprecationWarning = true;
41972      function polyfill(Component2) {
41973        var prototype2 = Component2.prototype;
41974        if (!prototype2 || !prototype2.isReactComponent) {
41975          throw new Error("Can only polyfill class components");
41976        }
41977        if (typeof Component2.getDerivedStateFromProps !== "function" && typeof prototype2.getSnapshotBeforeUpdate !== "function") {
41978          return Component2;
41979        }
41980        var foundWillMountName = null;
41981        var foundWillReceivePropsName = null;
41982        var foundWillUpdateName = null;
41983        if (typeof prototype2.componentWillMount === "function") {
41984          foundWillMountName = "componentWillMount";
41985        } else if (typeof prototype2.UNSAFE_componentWillMount === "function") {
41986          foundWillMountName = "UNSAFE_componentWillMount";
41987        }
41988        if (typeof prototype2.componentWillReceiveProps === "function") {
41989          foundWillReceivePropsName = "componentWillReceiveProps";
41990        } else if (typeof prototype2.UNSAFE_componentWillReceiveProps === "function") {
41991          foundWillReceivePropsName = "UNSAFE_componentWillReceiveProps";
41992        }
41993        if (typeof prototype2.componentWillUpdate === "function") {
41994          foundWillUpdateName = "componentWillUpdate";
41995        } else if (typeof prototype2.UNSAFE_componentWillUpdate === "function") {
41996          foundWillUpdateName = "UNSAFE_componentWillUpdate";
41997        }
41998        if (foundWillMountName !== null || foundWillReceivePropsName !== null || foundWillUpdateName !== null) {
41999          var componentName = Component2.displayName || Component2.name;
42000          var newApiName = typeof Component2.getDerivedStateFromProps === "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
42001          throw Error(
42002            "Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n" + componentName + " uses " + newApiName + " but also contains the following legacy lifecycles:" + (foundWillMountName !== null ? "\n  " + foundWillMountName : "") + (foundWillReceivePropsName !== null ? "\n  " + foundWillReceivePropsName : "") + (foundWillUpdateName !== null ? "\n  " + foundWillUpdateName : "") + "\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks"
42003          );
42004        }
42005        if (typeof Component2.getDerivedStateFromProps === "function") {
42006          prototype2.componentWillMount = componentWillMount;
42007          prototype2.componentWillReceiveProps = componentWillReceiveProps;
42008        }
42009        if (typeof prototype2.getSnapshotBeforeUpdate === "function") {
42010          if (typeof prototype2.componentDidUpdate !== "function") {
42011            throw new Error(
42012              "Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype"
42013            );
42014          }
42015          prototype2.componentWillUpdate = componentWillUpdate;
42016          var componentDidUpdate = prototype2.componentDidUpdate;
42017          prototype2.componentDidUpdate = function componentDidUpdatePolyfill(prevProps, prevState, maybeSnapshot) {
42018            var snapshot = this.__reactInternalSnapshotFlag ? this.__reactInternalSnapshot : maybeSnapshot;
42019            componentDidUpdate.call(this, prevProps, prevState, snapshot);
42020          };
42021        }
42022        return Component2;
42023      }
42024      exports.polyfill = polyfill;
42025    }
42026  });
42027
42028  
vendor: 13,052 bytes, lines 42028-42329
42028// node_modules/react-modal/lib/components/Modal.js
42029  var require_Modal = __commonJS({
42030    "node_modules/react-modal/lib/components/Modal.js"(exports) {
42031      "use strict";
42032      init_esbuild_shims();
42033      Object.defineProperty(exports, "__esModule", {
42034        value: true
42035      });
42036      exports.bodyOpenClassName = exports.portalClassName = void 0;
42037      var _extends2 = Object.assign || function(target) {
42038        for (var i2 = 1; i2 < arguments.length; i2++) {
42039          var source = arguments[i2];
42040          for (var key in source) {
42041            if (Object.prototype.hasOwnProperty.call(source, key)) {
42042              target[key] = source[key];
42043            }
42044          }
42045        }
42046        return target;
42047      };
42048      var _createClass2 = /* @__PURE__ */ (function() {
42049        function defineProperties(target, props) {
42050          for (var i2 = 0; i2 < props.length; i2++) {
42051            var descriptor = props[i2];
42052            descriptor.enumerable = descriptor.enumerable || false;
42053            descriptor.configurable = true;
42054            if ("value" in descriptor) descriptor.writable = true;
42055            Object.defineProperty(target, descriptor.key, descriptor);
42056          }
42057        }
42058        return function(Constructor, protoProps, staticProps) {
42059          if (protoProps) defineProperties(Constructor.prototype, protoProps);
42060          if (staticProps) defineProperties(Constructor, staticProps);
42061          return Constructor;
42062        };
42063      })();
42064      var _react = require_react();
42065      var _react2 = _interopRequireDefault(_react);
42066      var _reactDom = require_react_dom();
42067      var _reactDom2 = _interopRequireDefault(_reactDom);
42068      var _propTypes = require_prop_types();
42069      var _propTypes2 = _interopRequireDefault(_propTypes);
42070      var _ModalPortal = require_ModalPortal();
42071      var _ModalPortal2 = _interopRequireDefault(_ModalPortal);
42072      var _ariaAppHider = require_ariaAppHider();
42073      var ariaAppHider = _interopRequireWildcard(_ariaAppHider);
42074      var _safeHTMLElement = require_safeHTMLElement();
42075      var _safeHTMLElement2 = _interopRequireDefault(_safeHTMLElement);
42076      var _reactLifecyclesCompat = require_react_lifecycles_compat_cjs();
42077      function _interopRequireWildcard(obj) {
42078        if (obj && obj.__esModule) {
42079          return obj;
42080        } else {
42081          var newObj = {};
42082          if (obj != null) {
42083            for (var key in obj) {
42084              if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];
42085            }
42086          }
42087          newObj.default = obj;
42088          return newObj;
42089        }
42090      }
42091      function _interopRequireDefault(obj) {
42092        return obj && obj.__esModule ? obj : { default: obj };
42093      }
42094      function _classCallCheck2(instance, Constructor) {
42095        if (!(instance instanceof Constructor)) {
42096          throw new TypeError("Cannot call a class as a function");
42097        }
42098      }
42099      function _possibleConstructorReturn2(self2, call) {
42100        if (!self2) {
42101          throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
42102        }
42103        return call && (typeof call === "object" || typeof call === "function") ? call : self2;
42104      }
42105      function _inherits2(subClass, superClass) {
42106        if (typeof superClass !== "function" && superClass !== null) {
42107          throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
42108        }
42109        subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });
42110        if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
42111      }
42112      var portalClassName = exports.portalClassName = "ReactModalPortal";
42113      var bodyOpenClassName = exports.bodyOpenClassName = "ReactModal__Body--open";
42114      var isReact16 = _safeHTMLElement.canUseDOM && _reactDom2.default.createPortal !== void 0;
42115      var createHTMLElement = function createHTMLElement2(name2) {
42116        return document.createElement(name2);
42117      };
42118      var getCreatePortal = function getCreatePortal2() {
42119        return isReact16 ? _reactDom2.default.createPortal : _reactDom2.default.unstable_renderSubtreeIntoContainer;
42120      };
42121      function getParentElement(parentSelector) {
42122        return parentSelector();
42123      }
42124      var Modal4 = (function(_Component) {
42125        _inherits2(Modal5, _Component);
42126        function Modal5() {
42127          var _ref3;
42128          var _temp, _this, _ret;
42129          _classCallCheck2(this, Modal5);
42130          for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
42131            args[_key] = arguments[_key];
42132          }
42133          return _ret = (_temp = (_this = _possibleConstructorReturn2(this, (_ref3 = Modal5.__proto__ || Object.getPrototypeOf(Modal5)).call.apply(_ref3, [this].concat(args))), _this), _this.removePortal = function() {
42134            !isReact16 && _reactDom2.default.unmountComponentAtNode(_this.node);
42135            var parent = getParentElement(_this.props.parentSelector);
42136            if (parent && parent.contains(_this.node)) {
42137              parent.removeChild(_this.node);
42138            } else {
42139              console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.');
42140            }
42141          }, _this.portalRef = function(ref) {
42142            _this.portal = ref;
42143          }, _this.renderPortal = function(props) {
42144            var createPortal2 = getCreatePortal();
42145            var portal = createPortal2(_this, _react2.default.createElement(_ModalPortal2.default, _extends2({ defaultStyles: Modal5.defaultStyles }, props)), _this.node);
42146            _this.portalRef(portal);
42147          }, _temp), _possibleConstructorReturn2(_this, _ret);
42148        }
42149        _createClass2(Modal5, [{
42150          key: "componentDidMount",
42151          value: function componentDidMount() {
42152            if (!_safeHTMLElement.canUseDOM) return;
42153            if (!isReact16) {
42154              this.node = createHTMLElement("div");
42155            }
42156            this.node.className = this.props.portalClassName;
42157            var parent = getParentElement(this.props.parentSelector);
42158            parent.appendChild(this.node);
42159            !isReact16 && this.renderPortal(this.props);
42160          }
42161        }, {
42162          key: "getSnapshotBeforeUpdate",
42163          value: function getSnapshotBeforeUpdate(prevProps) {
42164            var prevParent = getParentElement(prevProps.parentSelector);
42165            var nextParent = getParentElement(this.props.parentSelector);
42166            return { prevParent, nextParent };
42167          }
42168        }, {
42169          key: "componentDidUpdate",
42170          value: function componentDidUpdate(prevProps, _, snapshot) {
42171            if (!_safeHTMLElement.canUseDOM) return;
42172            var _props = this.props, isOpen = _props.isOpen, portalClassName2 = _props.portalClassName;
42173            if (prevProps.portalClassName !== portalClassName2) {
42174              this.node.className = portalClassName2;
42175            }
42176            var prevParent = snapshot.prevParent, nextParent = snapshot.nextParent;
42177            if (nextParent !== prevParent) {
42178              prevParent.removeChild(this.node);
42179              nextParent.appendChild(this.node);
42180            }
42181            if (!prevProps.isOpen && !isOpen) return;
42182            !isReact16 && this.renderPortal(this.props);
42183          }
42184        }, {
42185          key: "componentWillUnmount",
42186          value: function componentWillUnmount() {
42187            if (!_safeHTMLElement.canUseDOM || !this.node || !this.portal) return;
42188            var state = this.portal.state;
42189            var now = Date.now();
42190            var closesAt = state.isOpen && this.props.closeTimeoutMS && (state.closesAt || now + this.props.closeTimeoutMS);
42191            if (closesAt) {
42192              if (!state.beforeClose) {
42193                this.portal.closeWithTimeout();
42194              }
42195              setTimeout(this.removePortal, closesAt - now);
42196            } else {
42197              this.removePortal();
42198            }
42199          }
42200        }, {
42201          key: "render",
42202          value: function render2() {
42203            if (!_safeHTMLElement.canUseDOM || !isReact16) {
42204              return null;
42205            }
42206            if (!this.node && isReact16) {
42207              this.node = createHTMLElement("div");
42208            }
42209            var createPortal2 = getCreatePortal();
42210            return createPortal2(_react2.default.createElement(_ModalPortal2.default, _extends2({
42211              ref: this.portalRef,
42212              defaultStyles: Modal5.defaultStyles
42213            }, this.props)), this.node);
42214          }
42215        }], [{
42216          key: "setAppElement",
42217          value: function setAppElement(element) {
42218            ariaAppHider.setElement(element);
42219          }
42220          /* eslint-disable react/no-unused-prop-types */
42221          /* eslint-enable react/no-unused-prop-types */
42222        }]);
42223        return Modal5;
42224      })(_react.Component);
42225      Modal4.propTypes = {
42226        isOpen: _propTypes2.default.bool.isRequired,
42227        style: _propTypes2.default.shape({
42228          content: _propTypes2.default.object,
42229          overlay: _propTypes2.default.object
42230        }),
42231        portalClassName: _propTypes2.default.string,
42232        bodyOpenClassName: _propTypes2.default.string,
42233        htmlOpenClassName: _propTypes2.default.string,
42234        className: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.shape({
42235          base: _propTypes2.default.string.isRequired,
42236          afterOpen: _propTypes2.default.string.isRequired,
42237          beforeClose: _propTypes2.default.string.isRequired
42238        })]),
42239        overlayClassName: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.shape({
42240          base: _propTypes2.default.string.isRequired,
42241          afterOpen: _propTypes2.default.string.isRequired,
42242          beforeClose: _propTypes2.default.string.isRequired
42243        })]),
42244        appElement: _propTypes2.default.oneOfType([_propTypes2.default.instanceOf(_safeHTMLElement2.default), _propTypes2.default.instanceOf(_safeHTMLElement.SafeHTMLCollection), _propTypes2.default.instanceOf(_safeHTMLElement.SafeNodeList), _propTypes2.default.arrayOf(_propTypes2.default.instanceOf(_safeHTMLElement2.default))]),
42245        onAfterOpen: _propTypes2.default.func,
42246        onRequestClose: _propTypes2.default.func,
42247        closeTimeoutMS: _propTypes2.default.number,
42248        ariaHideApp: _propTypes2.default.bool,
42249        shouldFocusAfterRender: _propTypes2.default.bool,
42250        shouldCloseOnOverlayClick: _propTypes2.default.bool,
42251        shouldReturnFocusAfterClose: _propTypes2.default.bool,
42252        preventScroll: _propTypes2.default.bool,
42253        parentSelector: _propTypes2.default.func,
42254        aria: _propTypes2.default.object,
42255        data: _propTypes2.default.object,
42256        role: _propTypes2.default.string,
42257        contentLabel: _propTypes2.default.string,
42258        shouldCloseOnEsc: _propTypes2.default.bool,
42259        overlayRef: _propTypes2.default.func,
42260        contentRef: _propTypes2.default.func,
42261        id: _propTypes2.default.string,
42262        overlayElement: _propTypes2.default.func,
42263        contentElement: _propTypes2.default.func
42264      };
42265      Modal4.defaultProps = {
42266        isOpen: false,
42267        portalClassName,
42268        bodyOpenClassName,
42269        role: "dialog",
42270        ariaHideApp: true,
42271        closeTimeoutMS: 0,
42272        shouldFocusAfterRender: true,
42273        shouldCloseOnEsc: true,
42274        shouldCloseOnOverlayClick: true,
42275        shouldReturnFocusAfterClose: true,
42276        preventScroll: false,
42277        parentSelector: function parentSelector() {
42278          return document.body;
42279        },
42280        overlayElement: function overlayElement(props, contentEl) {
42281          return _react2.default.createElement(
42282            "div",
42283            props,
42284            contentEl
42285          );
42286        },
42287        contentElement: function contentElement(props, children) {
42288          return _react2.default.createElement(
42289            "div",
42290            props,
42291            children
42292          );
42293        }
42294      };
42295      Modal4.defaultStyles = {
42296        overlay: {
42297          position: "fixed",
42298          top: 0,
42299          left: 0,
42300          right: 0,
42301          bottom: 0,
42302          backgroundColor: "rgba(255, 255, 255, 0.75)"
42303        },
42304        content: {
42305          position: "absolute",
42306          top: "40px",
42307          left: "40px",
42308          right: "40px",
42309          bottom: "40px",
42310          border: "1px solid #ccc",
42311          background: "#fff",
42312          overflow: "auto",
42313          WebkitOverflowScrolling: "touch",
42314          borderRadius: "4px",
42315          outline: "none",
42316          padding: "20px"
42317        }
42318      };
42319      (0, _reactLifecyclesCompat.polyfill)(Modal4);
42320      if (true) {
42321        Modal4.setCreateHTMLElement = function(fn) {
42322          return createHTMLElement = fn;
42323        };
42324      }
42325      exports.default = Modal4;
42326    }
42327  });
42328
42329  
vendor: 572 bytes, lines 42329-42347
42329// node_modules/react-modal/lib/index.js
42330  var require_lib5 = __commonJS({
42331    "node_modules/react-modal/lib/index.js"(exports, module) {
42332      "use strict";
42333      init_esbuild_shims();
42334      Object.defineProperty(exports, "__esModule", {
42335        value: true
42336      });
42337      var _Modal = require_Modal();
42338      var _Modal2 = _interopRequireDefault(_Modal);
42339      function _interopRequireDefault(obj) {
42340        return obj && obj.__esModule ? obj : { default: obj };
42341      }
42342      exports.default = _Modal2.default;
42343      module.exports = exports["default"];
42344    }
42345  });
42346
42347  
42347// apps/base/javascript/generic/typescript/Button.tsx
42348  function Button({
42349    id,
42350    text: text2,
42351    disabled: disabled2,
42352    className,
42353    type,
42354    onClick,
42355    loading,
42356    link,
42357    icon: icon2,
42358    iconPosition,
42359    size: size2 = "medium"
42360  }) {
42361    return link ? /* @__PURE__ */ import_react6.default.createElement(
42362      "a",
42363      {
42364        href: link,
42365        className: `button ${className ? className : "blue"} ${loading ? "spinning" : ""} ${size2}`,
42366        id,
42367        onClick
42368      },
42369      /* @__PURE__ */ import_react6.default.createElement("span", null, icon2 && iconPosition != "right" && /* @__PURE__ */ import_react6.default.createElement(FontAwesomeIcon, { icon: icon2 }), text2, icon2 && iconPosition == "right" && /* @__PURE__ */ import_react6.default.createElement(FontAwesomeIcon, { className: "right", icon: icon2 }))
42370    ) : /* @__PURE__ */ import_react6.default.createElement(
42371      "button",
42372      {
42373        className: `${className ? className : "blue"} ${loading ? "spinning" : ""} ${size2}`,
42374        id,
42375        disabled: disabled2,
42376        type,
42377        onClick
42378      },
42379      /* @__PURE__ */ import_react6.default.createElement("span", null, icon2 && iconPosition != "right" && /* @__PURE__ */ import_react6.default.createElement(FontAwesomeIcon, { icon: icon2 }), text2, icon2 && iconPosition == "right" && /* @__PURE__ */ import_react6.default.createElement(FontAwesomeIcon, { className: "right", icon: icon2 }))
42380    );
42381  }
42382  var import_react6;
42383  var init_Button = __esm({
42384    "apps/base/javascript/generic/typescript/Button.tsx"() {
42385      "use strict";
42386      init_esbuild_shims();
42387      init_index_es();
42388      import_react6 = __toESM(require_react());
42389    }
42390  });
42391
42392  
42392// apps/base/javascript/generic/cookies/CookieDialogButtons.tsx
42393  var increaseCookieCount, CookieDialogButtons, dialogButtonsStyles, CookieDialogButtons_default;
42394  var init_CookieDialogButtons = __esm({
42395    "apps/base/javascript/generic/cookies/CookieDialogButtons.tsx"() {
42396      "use strict";
42397      init_esbuild_shims();
42398      init_emotion_react_browser_esm();
42399      init_Theme();
42400      init_cookieHelpers();
42401      init_js_cookie();
42402      init_CookieCounterService();
42403      init_plausible();
42404      increaseCookieCount = (language, obtrusive) => {
42405        const cookiesConsent = JSON.parse(api2.get("consent") || "{}");
42406        if (cookiesConsent["analytics"] && cookiesConsent["marketing"]) {
42407          plausible("Accepted all cookies");
42408          CookieCounterService_default.incrementCookieCount("all", language, obtrusive);
42409        } else if (cookiesConsent["analytics"]) {
42410          plausible("Accepted only analytics cookies");
42411          CookieCounterService_default.incrementCookieCount("analytics", language, obtrusive);
42412        } else if (cookiesConsent["marketing"]) {
42413          plausible("Accepted only marketing cookies");
42414          CookieCounterService_default.incrementCookieCount("marketing", language, obtrusive);
42415        } else {
42416          plausible("Rejected all cookies");
42417          CookieCounterService_default.incrementCookieCount("essential", language, obtrusive);
42418        }
42419      };
42420      CookieDialogButtons = ({
42421        sections,
42422        onClick,
42423        dialog_accept_button,
42424        dialog_reject_button,
42425        dialog_save_button,
42426        language,
42427        obtrusive
42428      }) => {
42429        return /* @__PURE__ */ jsx("div", { css: dialogButtonsStyles }, /* @__PURE__ */ jsx("div", { className: "left" }, /* @__PURE__ */ jsx(
42430          "a",
42431          {
42432            href: "",
42433            className: "button subtle-grey",
42434            id: "reject",
42435            onClick: (e) => {
42436              e.preventDefault();
42437              setAllCookies(sections, false, language, obtrusive);
42438              onClick();
42439            }
42440          },
42441          dialog_reject_button
42442        )), /* @__PURE__ */ jsx("div", { className: "right" }, /* @__PURE__ */ jsx(
42443          "a",
42444          {
42445            href: "",
42446            className: "button subtle-grey",
42447            id: "accept",
42448            onClick: (e) => {
42449              e.preventDefault();
42450              setAllCookies(sections, true, language, obtrusive);
42451              onClick();
42452            }
42453          },
42454          dialog_accept_button
42455        ), /* @__PURE__ */ jsx(
42456          "a",
42457          {
42458            href: "",
42459            className: "button blue",
42460            id: "save",
42461            onClick: (e) => {
42462              e.preventDefault();
42463              onClick();
42464              increaseCookieCount(language, obtrusive);
42465            }
42466          },
42467          dialog_save_button
42468        )));
42469      };
42470      dialogButtonsStyles = css`
42471  display: flex;
42472  justify-content: space-between;
42473  padding: 0 4.5rem 4.5rem 4.5rem;
42474  gap: 1rem;
42475
42476  .button {
42477    color: white;
42478    padding: 1.3rem 2rem;
42479    text-align: center;
42480  }
42481  .right {
42482    display: flex;
42483    justify-content: space-between;
42484    gap: 1rem;
42485  }
42486
42487  @media ${Theme.breakpoints.mobileDown} {
42488    margin-bottom: 0;
42489    .left {
42490      display: none;
42491    }
42492    .right {
42493      flex-grow: 1;
42494    }
42495    #save {
42496      width: 100%;
42497      padding: 1.3rem 1.6rem;
42498    }
42499    #accept,
42500    #reject {
42501      display: none;
42502    }
42503  }
42504`;
42505      CookieDialogButtons_default = CookieDialogButtons;
42506    }
42507  });
42508
42509  
vendor: 20,162 bytes, lines 42509-42701
42509// node_modules/@fortawesome/pro-solid-svg-icons/index.mjs
42510  var faPencil, faBars, faPenToSquare, faEdit, faShareNodes, faShareAlt, faEyeSlash, faAngleRight, faChartSimple, faUser, faFileArrowUp, faFileUpload, faFileExcel, faArrowRight, faHeart, faFileImage, faEye, faTrash, faUserSecret, faCircleInfo, faInfoCircle, faArrowRotateLeft, faUndo, faMinus, faFileCertificate, faTrashUndo, faAngleDown, faStarOfLife, faLink, faObjectUnion, faCopy, faPlus, faXmark, faTimes, faBuilding, faInfinity, faCirclePlus, faPlusCircle, faCheck, faAngleLeft, faCircleXmark, faTimesCircle, faMagnifyingGlassMinus, faSearchMinus;
42511  var init_pro_solid_svg_icons = __esm({
42512    "node_modules/@fortawesome/pro-solid-svg-icons/index.mjs"() {
42513      init_esbuild_shims();
42514      faPencil = {
42515        prefix: "fas",
42516        iconName: "pencil",
42517        icon: [512, 512, [9999, 61504, "pencil-alt"], "f303", "M410.3 231l11.3-11.3-33.9-33.9-62.1-62.1L291.7 89.8l-11.3 11.3-22.6 22.6L58.6 322.9c-10.4 10.4-18 23.3-22.2 37.4L1 480.7c-2.5 8.4-.2 17.5 6.1 23.7s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L387.7 253.7 410.3 231zM160 399.4l-9.1 22.7c-4 3.1-8.5 5.4-13.3 6.9L59.4 452l23-78.1c1.4-4.9 3.8-9.4 6.9-13.3l22.7-9.1 0 32c0 8.8 7.2 16 16 16l32 0zM362.7 18.7L348.3 33.2 325.7 55.8 314.3 67.1l33.9 33.9 62.1 62.1 33.9 33.9 11.3-11.3 22.6-22.6 14.5-14.5c25-25 25-65.5 0-90.5L453.3 18.7c-25-25-65.5-25-90.5 0zm-47.4 168l-144 144c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l144-144c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]
42518      };
42519      faBars = {
42520        prefix: "fas",
42521        iconName: "bars",
42522        icon: [448, 512, ["navicon"], "f0c9", "M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]
42523      };
42524      faPenToSquare = {
42525        prefix: "fas",
42526        iconName: "pen-to-square",
42527        icon: [512, 512, ["edit"], "f044", "M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160L0 416c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-96c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 64z"]
42528      };
42529      faEdit = faPenToSquare;
42530      faShareNodes = {
42531        prefix: "fas",
42532        iconName: "share-nodes",
42533        icon: [448, 512, ["share-alt"], "f1e0", "M352 224c53 0 96-43 96-96s-43-96-96-96s-96 43-96 96c0 4 .2 8 .7 11.9l-94.1 47C145.4 170.2 121.9 160 96 160c-53 0-96 43-96 96s43 96 96 96c25.9 0 49.4-10.2 66.6-26.9l94.1 47c-.5 3.9-.7 7.8-.7 11.9c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-25.9 0-49.4 10.2-66.6 26.9l-94.1-47c.5-3.9 .7-7.8 .7-11.9s-.2-8-.7-11.9l94.1-47C302.6 213.8 326.1 224 352 224z"]
42534      };
42535      faShareAlt = faShareNodes;
42536      faEyeSlash = {
42537        prefix: "fas",
42538        iconName: "eye-slash",
42539        icon: [640, 512, [], "f070", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]
42540      };
42541      faAngleRight = {
42542        prefix: "fas",
42543        iconName: "angle-right",
42544        icon: [320, 512, [8250], "f105", "M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"]
42545      };
42546      faChartSimple = {
42547        prefix: "fas",
42548        iconName: "chart-simple",
42549        icon: [448, 512, [], "e473", "M160 80c0-26.5 21.5-48 48-48l32 0c26.5 0 48 21.5 48 48l0 352c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48l0-352zM0 272c0-26.5 21.5-48 48-48l32 0c26.5 0 48 21.5 48 48l0 160c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48L0 272zM368 96l32 0c26.5 0 48 21.5 48 48l0 288c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48z"]
42550      };
42551      faUser = {
42552        prefix: "fas",
42553        iconName: "user",
42554        icon: [448, 512, [128100, 62144], "f007", "M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0z"]
42555      };
42556      faFileArrowUp = {
42557        prefix: "fas",
42558        iconName: "file-arrow-up",
42559        icon: [384, 512, ["file-upload"], "f574", "M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM216 408c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-102.1-31 31c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l72-72c9.4-9.4 24.6-9.4 33.9 0l72 72c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-31-31L216 408z"]
42560      };
42561      faFileUpload = faFileArrowUp;
42562      faFileExcel = {
42563        prefix: "fas",
42564        iconName: "file-excel",
42565        icon: [384, 512, [], "f1c3", "M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM155.7 250.2L192 302.1l36.3-51.9c7.6-10.9 22.6-13.5 33.4-5.9s13.5 22.6 5.9 33.4L221.3 344l46.4 66.2c7.6 10.9 5 25.8-5.9 33.4s-25.8 5-33.4-5.9L192 385.8l-36.3 51.9c-7.6 10.9-22.6 13.5-33.4 5.9s-13.5-22.6-5.9-33.4L162.7 344l-46.4-66.2c-7.6-10.9-5-25.8 5.9-33.4s25.8-5 33.4 5.9z"]
42566      };
42567      faArrowRight = {
42568        prefix: "fas",
42569        iconName: "arrow-right",
42570        icon: [448, 512, [8594], "f061", "M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]
42571      };
42572      faHeart = {
42573        prefix: "fas",
42574        iconName: "heart",
42575        icon: [512, 512, [128153, 128154, 128155, 128156, 128420, 129293, 129294, 129505, 9829, 10084, 61578], "f004", "M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z"]
42576      };
42577      faFileImage = {
42578        prefix: "fas",
42579        iconName: "file-image",
42580        icon: [384, 512, [128443], "f1c5", "M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM64 256a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm152 32c5.3 0 10.2 2.6 13.2 6.9l88 128c3.4 4.9 3.7 11.3 1 16.5s-8.2 8.6-14.2 8.6l-88 0-40 0-48 0-48 0c-5.8 0-11.1-3.1-13.9-8.1s-2.8-11.2 .2-16.1l48-80c2.9-4.8 8.1-7.8 13.7-7.8s10.8 2.9 13.7 7.8l12.8 21.4 48.3-70.2c3-4.3 7.9-6.9 13.2-6.9z"]
42581      };
42582      faEye = {
42583        prefix: "fas",
42584        iconName: "eye",
42585        icon: [576, 512, [128065], "f06e", "M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]
42586      };
42587      faTrash = {
42588        prefix: "fas",
42589        iconName: "trash",
42590        icon: [448, 512, [], "f1f8", "M135.2 17.7L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-7.2-14.3C307.4 6.8 296.3 0 284.2 0L163.8 0c-12.1 0-23.2 6.8-28.6 17.7zM416 128L32 128 53.2 467c1.6 25.3 22.6 45 47.9 45l245.8 0c25.3 0 46.3-19.7 47.9-45L416 128z"]
42591      };
42592      faUserSecret = {
42593        prefix: "fas",
42594        iconName: "user-secret",
42595        icon: [448, 512, [128373], "f21b", "M224 16c-6.7 0-10.8-2.8-15.5-6.1C201.9 5.4 194 0 176 0c-30.5 0-52 43.7-66 89.4C62.7 98.1 32 112.2 32 128c0 14.3 25 27.1 64.6 35.9c-.4 4-.6 8-.6 12.1c0 17 3.3 33.2 9.3 48l-59.9 0C38 224 32 230 32 237.4c0 1.7 .3 3.4 1 5l38.8 96.9C28.2 371.8 0 423.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7c0-58.5-28.2-110.4-71.7-143L415 242.4c.6-1.6 1-3.3 1-5c0-7.4-6-13.4-13.4-13.4l-59.9 0c6-14.8 9.3-31 9.3-48c0-4.1-.2-8.1-.6-12.1C391 155.1 416 142.3 416 128c0-15.8-30.7-29.9-78-38.6C324 43.7 302.5 0 272 0c-18 0-25.9 5.4-32.5 9.9c-4.8 3.3-8.8 6.1-15.5 6.1zm56 208l-12.4 0c-16.5 0-31.1-10.6-36.3-26.2c-2.3-7-12.2-7-14.5 0c-5.2 15.6-19.9 26.2-36.3 26.2L168 224c-22.1 0-40-17.9-40-40l0-14.4c28.2 4.1 61 6.4 96 6.4s67.8-2.3 96-6.4l0 14.4c0 22.1-17.9 40-40 40zm-88 96l16 32L176 480 128 288l64 32zm128-32L272 480 240 352l16-32 64-32z"]
42596      };
42597      faCircleInfo = {
42598        prefix: "fas",
42599        iconName: "circle-info",
42600        icon: [512, 512, ["info-circle"], "f05a", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]
42601      };
42602      faInfoCircle = faCircleInfo;
42603      faArrowRotateLeft = {
42604        prefix: "fas",
42605        iconName: "arrow-rotate-left",
42606        icon: [512, 512, [8634, "arrow-left-rotate", "arrow-rotate-back", "arrow-rotate-backward", "undo"], "f0e2", "M125.7 160l50.3 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L48 224c-17.7 0-32-14.3-32-32L16 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 51.2L97.6 97.6c87.5-87.5 229.3-87.5 316.8 0s87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3s-163.8-62.5-226.3 0L125.7 160z"]
42607      };
42608      faUndo = faArrowRotateLeft;
42609      faMinus = {
42610        prefix: "fas",
42611        iconName: "minus",
42612        icon: [448, 512, [8211, 8722, 10134, "subtract"], "f068", "M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"]
42613      };
42614      faFileCertificate = {
42615        prefix: "fas",
42616        iconName: "file-certificate",
42617        icon: [512, 512, ["file-award"], "f5f3", "M128 64c0-35.3 28.7-64 64-64L352 0l0 128c0 17.7 14.3 32 32 32l128 0 0 288c0 35.3-28.7 64-64 64l-226.7 0c1.8-5.1 2.7-10.5 2.7-16l0-80c1.3-.5 2.5-1 3.8-1.5c6.8-3 14.3-7.8 20.6-15.5c6.4-7.9 10.1-17.2 11.4-27.1c.5-3.6 .8-5.7 1.1-7.1c1.1-.9 2.8-2.3 5.6-4.5c19.9-15.4 27.1-42.2 17.5-65.5c-1.4-3.3-2.1-5.4-2.6-6.7c.5-1.4 1.2-3.4 2.6-6.7c9.5-23.3 2.4-50.1-17.5-65.5c-2.8-2.2-4.5-3.6-5.6-4.5c-.3-1.4-.6-3.6-1.1-7.1c-3.4-24.9-23-44.6-47.9-47.9c-3.6-.5-5.7-.8-7.1-1.1c-.9-1.1-2.3-2.8-4.5-5.6c-15.4-19.9-42.2-27.1-65.5-17.5c-2.6 1.1-5.1 2.3-6.6 3l-.1 .1L128 64zm384 64l-128 0L384 0 512 128zM109.2 161.6L125 168c1.9 .8 4.1 .8 6.1 0l15.8-6.5c10-4.1 21.5-1 28.1 7.5l10.5 13.5c1.3 1.7 3.2 2.7 5.2 3l16.9 2.3c10.7 1.5 19.1 9.9 20.5 20.5l2.3 16.9c.3 2.1 1.4 4 3 5.2l13.5 10.5c8.5 6.6 11.6 18.1 7.5 28.1L248 285c-.8 1.9-.8 4.1 0 6.1l6.5 15.8c4.1 10 1 21.5-7.5 28.1l-13.5 10.5c-1.7 1.3-2.7 3.2-3 5.2l-2.3 16.9c-1.5 10.7-9.9 19.1-20.5 20.6L192 390.2 192 496c0 5.9-3.2 11.3-8.5 14.1s-11.5 2.5-16.4-.8L128 483.2 88.9 509.3c-4.9 3.3-11.2 3.6-16.4 .8s-8.5-8.2-8.5-14.1l0-105.8-15.5-2.1c-10.7-1.5-19.1-9.9-20.5-20.6l-2.3-16.9c-.3-2.1-1.4-4-3-5.2L9.1 334.9c-8.5-6.6-11.6-18.1-7.5-28.1L8 291c.8-1.9 .8-4.1 0-6.1L1.6 269.2c-4.1-10-1-21.5 7.5-28.1l13.5-10.5c1.7-1.3 2.7-3.2 3-5.2l2.3-16.9c1.5-10.7 9.9-19.1 20.5-20.5l16.9-2.3c2.1-.3 4-1.4 5.2-3l10.5-13.5c6.6-8.5 18.1-11.6 28.1-7.5zM192 288A64 64 0 1 0 64 288a64 64 0 1 0 128 0z"]
42618      };
42619      faTrashUndo = {
42620        prefix: "fas",
42621        iconName: "trash-undo",
42622        icon: [448, 512, ["trash-arrow-turn-left"], "f895", "M135.2 17.7L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-7.2-14.3C307.4 6.8 296.3 0 284.2 0L163.8 0c-12.1 0-23.2 6.8-28.6 17.7zM416 128L32 128 53.2 467c1.6 25.3 22.6 45 47.9 45l245.8 0c25.3 0 46.3-19.7 47.9-45L416 128zM217.8 199.9c8.9 9.9 8.1 25-1.8 33.9L182.5 264l57.5 0c48.6 0 88 39.4 88 88l0 40c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-40c0-22.1-17.9-40-40-40l-57.5 0 33.5 30.2c9.9 8.9 10.7 24 1.8 33.9s-24 10.7-33.9 1.8l-80-72c-5.1-4.6-7.9-11-7.9-17.8s2.9-13.3 7.9-17.8l80-72c9.9-8.9 25-8.1 33.9 1.8z"]
42623      };
42624      faAngleDown = {
42625        prefix: "fas",
42626        iconName: "angle-down",
42627        icon: [448, 512, [8964], "f107", "M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]
42628      };
42629      faStarOfLife = {
42630        prefix: "fas",
42631        iconName: "star-of-life",
42632        icon: [512, 512, [], "f621", "M208 32c0-17.7 14.3-32 32-32l32 0c17.7 0 32 14.3 32 32l0 140.9 122-70.4c15.3-8.8 34.9-3.6 43.7 11.7l16 27.7c8.8 15.3 3.6 34.9-11.7 43.7L352 256l122 70.4c15.3 8.8 20.6 28.4 11.7 43.7l-16 27.7c-8.8 15.3-28.4 20.6-43.7 11.7L304 339.1 304 480c0 17.7-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32l0-140.9L86 409.6c-15.3 8.8-34.9 3.6-43.7-11.7l-16-27.7c-8.8-15.3-3.6-34.9 11.7-43.7L160 256 38 185.6c-15.3-8.8-20.5-28.4-11.7-43.7l16-27.7C51.1 98.8 70.7 93.6 86 102.4l122 70.4L208 32z"]
42633      };
42634      faLink = {
42635        prefix: "fas",
42636        iconName: "link",
42637        icon: [640, 512, [128279, "chain"], "f0c1", "M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"]
42638      };
42639      faObjectUnion = {
42640        prefix: "fas",
42641        iconName: "object-union",
42642        icon: [512, 512, [], "e49f", "M64 0C28.7 0 0 28.7 0 64L0 288c0 35.3 28.7 64 64 64l96 0 0 96c0 35.3 28.7 64 64 64l224 0c35.3 0 64-28.7 64-64l0-224c0-35.3-28.7-64-64-64l-96 0 0-96c0-35.3-28.7-64-64-64L64 0z"]
42643      };
42644      faCopy = {
42645        prefix: "fas",
42646        iconName: "copy",
42647        icon: [448, 512, [], "f0c5", "M208 0L332.1 0c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9L448 336c0 26.5-21.5 48-48 48l-192 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48zM48 128l80 0 0 64-64 0 0 256 192 0 0-32 64 0 0 48c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 176c0-26.5 21.5-48 48-48z"]
42648      };
42649      faPlus = {
42650        prefix: "fas",
42651        iconName: "plus",
42652        icon: [448, 512, [10133, 61543, "add"], "2b", "M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]
42653      };
42654      faXmark = {
42655        prefix: "fas",
42656        iconName: "xmark",
42657        icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]
42658      };
42659      faTimes = faXmark;
42660      faBuilding = {
42661        prefix: "fas",
42662        iconName: "building",
42663        icon: [384, 512, [127970, 61687], "f1ad", "M48 0C21.5 0 0 21.5 0 48L0 464c0 26.5 21.5 48 48 48l96 0 0-80c0-26.5 21.5-48 48-48s48 21.5 48 48l0 80 96 0c26.5 0 48-21.5 48-48l0-416c0-26.5-21.5-48-48-48L48 0zM64 240c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zm112-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zM80 96l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zM272 96l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16z"]
42664      };
42665      faInfinity = {
42666        prefix: "fas",
42667        iconName: "infinity",
42668        icon: [640, 512, [8734, 9854], "f534", "M0 241.1C0 161 65 96 145.1 96c38.5 0 75.4 15.3 102.6 42.5L320 210.7l72.2-72.2C419.5 111.3 456.4 96 494.9 96C575 96 640 161 640 241.1l0 29.7C640 351 575 416 494.9 416c-38.5 0-75.4-15.3-102.6-42.5L320 301.3l-72.2 72.2C220.5 400.7 183.6 416 145.1 416C65 416 0 351 0 270.9l0-29.7zM274.7 256l-72.2-72.2c-15.2-15.2-35.9-23.8-57.4-23.8C100.3 160 64 196.3 64 241.1l0 29.7c0 44.8 36.3 81.1 81.1 81.1c21.5 0 42.2-8.5 57.4-23.8L274.7 256zm90.5 0l72.2 72.2c15.2 15.2 35.9 23.8 57.4 23.8c44.8 0 81.1-36.3 81.1-81.1l0-29.7c0-44.8-36.3-81.1-81.1-81.1c-21.5 0-42.2 8.5-57.4 23.8L365.3 256z"]
42669      };
42670      faCirclePlus = {
42671        prefix: "fas",
42672        iconName: "circle-plus",
42673        icon: [512, 512, ["plus-circle"], "f055", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344l0-64-64 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l64 0 0-64c0-13.3 10.7-24 24-24s24 10.7 24 24l0 64 64 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-64 0 0 64c0 13.3-10.7 24-24 24s-24-10.7-24-24z"]
42674      };
42675      faPlusCircle = faCirclePlus;
42676      faCheck = {
42677        prefix: "fas",
42678        iconName: "check",
42679        icon: [448, 512, [10003, 10004], "f00c", "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]
42680      };
42681      faAngleLeft = {
42682        prefix: "fas",
42683        iconName: "angle-left",
42684        icon: [320, 512, [8249], "f104", "M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]
42685      };
42686      faCircleXmark = {
42687        prefix: "fas",
42688        iconName: "circle-xmark",
42689        icon: [512, 512, [61532, "times-circle", "xmark-circle"], "f057", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]
42690      };
42691      faTimesCircle = faCircleXmark;
42692      faMagnifyingGlassMinus = {
42693        prefix: "fas",
42694        iconName: "magnifying-glass-minus",
42695        icon: [512, 512, ["search-minus"], "f010", "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM136 184c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z"]
42696      };
42697      faSearchMinus = faMagnifyingGlassMinus;
42698    }
42699  });
42700
42701  
42701// apps/base/javascript/generic/cookies/NonObtrusiveCookieBar.tsx
42702  var import_react9, import_react_modal, import_react_html_parser3, NonObtrusiveCookieBar, modalStyles, _a, headerHeight, _a2, navHeight, cookiebarHeightDifference, cookiebarStyles, NonObtrusiveCookieBar_default;
42703  var init_NonObtrusiveCookieBar = __esm({
42704    "apps/base/javascript/generic/cookies/NonObtrusiveCookieBar.tsx"() {
42705      "use strict";
42706      init_esbuild_shims();
42707      init_emotion_react_browser_esm();
42708      init_SettingsDialog();
42709      import_react9 = __toESM(require_react());
42710      init_js_cookie();
42711      init_tracking_scripts();
42712      import_react_modal = __toESM(require_lib5());
42713      import_react_html_parser3 = __toESM(require_lib4());
42714      init_Theme();
42715      init_cookieHelpers();
42716      init_Button();
42717      init_CookieDialogButtons();
42718      init_index_es();
42719      init_pro_solid_svg_icons();
42720      NonObtrusiveCookieBar = ({
42721        title,
42722        body,
42723        accept_button,
42724        essentials_button,
42725        manage_button,
42726        dialog,
42727        dialog_accept_button,
42728        dialog_reject_button,
42729        dialog_save_button,
42730        language
42731      }) => {
42732        const [isVisible, setVisible] = (0, import_react9.useState)(true);
42733        const [isModalOpen, setModalOpen] = (0, import_react9.useState)(false);
42734        const [showTextOnMobile, setShowTextOnMobile] = (0, import_react9.useState)(false);
42735        import_react_modal.default.setAppElement("body");
42736        (0, import_react9.useEffect)(() => {
42737          if (!isVisible) callTrackingScripts();
42738        }, [isVisible]);
42739        const handleClick = () => {
42740          setModalOpen(false);
42741          setVisible(false);
42742          api2.set("visited", "true", { expires: 365 });
42743        };
42744        return /* @__PURE__ */ jsx(
42745          "div",
42746          {
42747            id: "cookiebar",
42748            css: cookiebarStyles(showTextOnMobile),
42749            className: `${isVisible ? "" : "hidden"}`
42750          },
42751          /* @__PURE__ */ jsx("div", { className: "page-width" }, /* @__PURE__ */ jsx("div", { className: "policy-text" }, /* @__PURE__ */ jsx("h3", null, title, /* @__PURE__ */ jsx(
42752            FontAwesomeIcon,
42753            {
42754              icon: faInfoCircle,
42755              onClick: () => setShowTextOnMobile(true)
42756            }
42757          )), /* @__PURE__ */ jsx("div", { className: "content main" }, (0, import_react_html_parser3.default)(body))), /* @__PURE__ */ jsx("div", { className: "policy-buttons" }, /* @__PURE__ */ jsx(
42758            Button,
42759            {
42760              className: "button light-blue",
42761              id: "accept-button",
42762              onClick: () => {
42763                handleClick();
42764                setAllCookies(dialog.sections, true, language, false);
42765              },
42766              text: accept_button
42767            }
42768          ), /* @__PURE__ */ jsx(
42769            Button,
42770            {
42771              className: "button light-blue",
42772              id: "essentials-button",
42773              onClick: () => {
42774                handleClick();
42775                setAllCookies(dialog.sections, false, language, false);
42776              },
42777              text: essentials_button
42778            }
42779          ), /* @__PURE__ */ jsx(
42780            Button,
42781            {
42782              id: "manage-button",
42783              className: "button light-blue",
42784              onClick: () => {
42785                setModalOpen(true);
42786              },
42787              text: manage_button
42788            }
42789          )), isModalOpen && /* @__PURE__ */ jsx(
42790            import_react_modal.default,
42791            {
42792              id: "dialog-modal",
42793              isOpen: isModalOpen,
42794              style: modalStyles,
42795              onRequestClose: () => {
42796                setModalOpen(false);
42797              }
42798            },
42799            /* @__PURE__ */ jsx(
42800              FontAwesomeIcon,
42801              {
42802                icon: ["fal", "times"],
42803                size: "2x",
42804                onClick: () => setModalOpen(false)
42805              }
42806            ),
42807            /* @__PURE__ */ jsx(
42808              SettingsDialog_default,
42809              {
42810                title: dialog.title,
42811                intro: dialog.intro,
42812                sections: dialog.sections,
42813                learn_more: dialog.learn_more,
42814                language,
42815                obtrusive: false
42816              }
42817            ),
42818            /* @__PURE__ */ jsx(
42819              CookieDialogButtons_default,
42820              {
42821                onClick: handleClick,
42822                sections: dialog.sections || [],
42823                dialog_accept_button,
42824                dialog_reject_button,
42825                dialog_save_button,
42826                language,
42827                obtrusive: false
42828              }
42829            )
42830          ))
42831        );
42832      };
42833      modalStyles = {
42834        content: {
42835          top: "50%",
42836          left: "50%",
42837          right: "auto",
42838          bottom: "auto",
42839          marginRight: "-50%",
42840          transform: "translate(-50%, -50%)",
42841          zIndex: 404,
42842          maxWidth: "80rem",
42843          padding: "0"
42844        },
42845        overlay: {
42846          zIndex: 403,
42847          backgroundColor: "rgba(0, 0, 0, 0.5)"
42848        }
42849      };
42850      headerHeight = ((_a = document.querySelector("header")) == null ? void 0 : _a.clientHeight) || 0;
42851      navHeight = ((_a2 = document.querySelector("nav")) == null ? void 0 : _a2.clientHeight) || 0;
42852      cookiebarHeightDifference = headerHeight + navHeight;
42853      cookiebarStyles = (showTextOnMobile) => css`
42854  position: fixed;
42855  bottom: 0;
42856  width: 100%;
42857  max-height: calc(100vh - ${cookiebarHeightDifference}px);
42858  z-index: ${Theme.zIndex.cookiebar};
42859  padding: 2.7rem 3rem;
42860  color: white;
42861  background: ${Theme.colors.general.omronBlue};
42862  font-size: 1.3rem;
42863  line-height: 1.9rem;
42864
42865  &.hidden {
42866    display: none;
42867  }
42868
42869  .page-width {
42870    display: flex;
42871    flex-direction: row;
42872    justify-content: space-between;
42873    max-height: calc(100vh - ${cookiebarHeightDifference}px - 6rem);
42874  }
42875
42876  .policy-text {
42877    display: flex;
42878    flex-direction: column;
42879
42880    h3 {
42881      padding: 0;
42882
42883      svg {
42884        margin-left: 1rem;
42885
42886        @media ${Theme.breakpoints.small} {
42887          display: none;
42888        }
42889      }
42890    }
42891
42892    .content {
42893      width: fit-content;
42894      font-size: 1.3rem;
42895
42896      @media ${Theme.breakpoints.smallDown} {
42897        display: ${showTextOnMobile ? "block" : "none"};
42898      }
42899    }
42900
42901    .content.main {
42902      margin-bottom: 1rem;
42903    }
42904
42905    a {
42906      color: white;
42907      text-decoration: revert;
42908    }
42909
42910    p:last-child {
42911      margin-bottom: 0;
42912    }
42913  }
42914
42915  .policy-buttons {
42916    display: flex;
42917    flex-direction: column;
42918    align-items: stretch;
42919    justify-content: center;
42920    gap: 0.4rem;
42921    padding: 0 0 0 2rem;
42922
42923    button.button {
42924      display: block;
42925      margin: 0.2rem 0;
42926      color: white;
42927      text-decoration: none;
42928      cursor: pointer;
42929      white-space: nowrap;
42930      text-align: center;
42931    }
42932
42933    #manage-button {
42934      background-color: unset;
42935    }
42936  }
42937
42938  @media ${Theme.breakpoints.mobileDown} {
42939    padding: 2.5rem;
42940
42941    .page-width {
42942      flex-direction: column;
42943      justify-content: center;
42944      padding: unset;
42945      width: 100%;
42946    }
42947
42948    .policy-text {
42949      width: 100%;
42950      padding: 0;
42951      overflow-y: scroll;
42952
42953      h3 {
42954        padding-right: 4rem;
42955      }
42956
42957      .content.main {
42958        margin-bottom: 0;
42959      }
42960    }
42961
42962    .policy-buttons {
42963      margin-top: 1rem;
42964      padding: 0;
42965      gap: 0.25rem;
42966    }
42967  }
42968`;
42969      NonObtrusiveCookieBar_default = NonObtrusiveCookieBar;
42970    }
42971  });
42972
42973  
42973// apps/base/javascript/generic/cookies/ObtrusiveCookieBar.tsx
42974  var import_react11, import_react_modal2, import_react_html_parser4, ObtrusiveCookieBar, modalStyles2, cookiebarStyles2, ObtrusiveCookieBar_default;
42975  var init_ObtrusiveCookieBar = __esm({
42976    "apps/base/javascript/generic/cookies/ObtrusiveCookieBar.tsx"() {
42977      "use strict";
42978      init_esbuild_shims();
42979      init_emotion_react_browser_esm();
42980      init_SettingsDialog();
42981      import_react11 = __toESM(require_react());
42982      init_js_cookie();
42983      init_tracking_scripts();
42984      import_react_modal2 = __toESM(require_lib5());
42985      import_react_html_parser4 = __toESM(require_lib4());
42986      init_Theme();
42987      init_cookieHelpers();
42988      init_Button();
42989      init_CookieDialogButtons();
42990      init_index_es();
42991      init_pro_solid_svg_icons();
42992      ObtrusiveCookieBar = ({
42993        title,
42994        body,
42995        accept_button,
42996        essentials_button,
42997        manage_button,
42998        dialog,
42999        dialog_accept_button,
43000        dialog_reject_button,
43001        dialog_save_button,
43002        language
43003      }) => {
43004        const [isVisible, setVisible] = (0, import_react11.useState)(
43005          () => !api2.get("visited")
43006        );
43007        const [isModalOpen, setModalOpen] = (0, import_react11.useState)(false);
43008        const [showTextOnMobile, setShowTextOnMobile] = (0, import_react11.useState)(false);
43009        import_react_modal2.default.setAppElement("body");
43010        (0, import_react11.useEffect)(() => {
43011          if (isVisible) {
43012            document.body.style.overflow = "hidden";
43013          } else {
43014            document.body.style.overflow = "";
43015            callTrackingScripts();
43016          }
43017          return () => {
43018            document.body.style.overflow = "";
43019          };
43020        }, [isVisible]);
43021        const handleClick = () => {
43022          setModalOpen(false);
43023          setVisible(false);
43024          api2.set("visited", "true", { expires: 365 });
43025        };
43026        return /* @__PURE__ */ jsx(
43027          "div",
43028          {
43029            id: "cookiebar",
43030            css: cookiebarStyles2(showTextOnMobile),
43031            className: `${isVisible ? "" : "hidden"}`
43032          },
43033          /* @__PURE__ */ jsx("div", { className: "page-width" }, /* @__PURE__ */ jsx("div", { className: "policy-text" }, /* @__PURE__ */ jsx("h3", null, title, /* @__PURE__ */ jsx(
43034            FontAwesomeIcon,
43035            {
43036              icon: faInfoCircle,
43037              onClick: () => setShowTextOnMobile(true)
43038            }
43039          )), /* @__PURE__ */ jsx("div", { className: "content main" }, (0, import_react_html_parser4.default)(body))), /* @__PURE__ */ jsx("hr", { className: "divider" }), /* @__PURE__ */ jsx("div", { className: "policy-buttons" }, /* @__PURE__ */ jsx(
43040            Button,
43041            {
43042              id: "manage-button",
43043              className: "button",
43044              onClick: () => setModalOpen(true),
43045              text: manage_button
43046            }
43047          ), /* @__PURE__ */ jsx(
43048            Button,
43049            {
43050              id: "essentials-button",
43051              className: "button",
43052              onClick: () => {
43053                handleClick();
43054                setAllCookies(dialog.sections, false, language, true);
43055              },
43056              text: essentials_button
43057            }
43058          ), /* @__PURE__ */ jsx(
43059            Button,
43060            {
43061              id: "accept-button",
43062              className: "button",
43063              onClick: () => {
43064                handleClick();
43065                setAllCookies(dialog.sections, true, language, true);
43066              },
43067              text: accept_button
43068            }
43069          )), isModalOpen && /* @__PURE__ */ jsx(
43070            import_react_modal2.default,
43071            {
43072              id: "dialog-modal",
43073              isOpen: isModalOpen,
43074              style: modalStyles2,
43075              onRequestClose: () => setModalOpen(false)
43076            },
43077            /* @__PURE__ */ jsx(
43078              FontAwesomeIcon,
43079              {
43080                icon: ["fal", "times"],
43081                size: "2x",
43082                onClick: () => setModalOpen(false),
43083                style: {
43084                  position: "absolute",
43085                  top: "1rem",
43086                  right: "1rem",
43087                  cursor: "pointer"
43088                }
43089              }
43090            ),
43091            /* @__PURE__ */ jsx(
43092              SettingsDialog_default,
43093              {
43094                title: dialog.title,
43095                intro: dialog.intro,
43096                sections: dialog.sections,
43097                learn_more: dialog.learn_more,
43098                language,
43099                obtrusive: true
43100              }
43101            ),
43102            /* @__PURE__ */ jsx(
43103              CookieDialogButtons_default,
43104              {
43105                onClick: handleClick,
43106                sections: dialog.sections || [],
43107                dialog_accept_button,
43108                dialog_reject_button,
43109                dialog_save_button,
43110                language,
43111                obtrusive: true
43112              }
43113            )
43114          ))
43115        );
43116      };
43117      modalStyles2 = {
43118        content: {
43119          top: "50%",
43120          left: "50%",
43121          right: "auto",
43122          bottom: "auto",
43123          marginRight: "-50%",
43124          transform: "translate(-50%, -50%)",
43125          zIndex: 404,
43126          maxWidth: "80rem",
43127          padding: "0"
43128        },
43129        overlay: {
43130          zIndex: 403,
43131          backgroundColor: "rgba(0, 0, 0, 0)"
43132        }
43133      };
43134      cookiebarStyles2 = (showTextOnMobile) => css`
43135  @keyframes fadeInOverlay {
43136    from {
43137      background-color: rgba(0, 0, 0, 0);
43138      backdrop-filter: blur(0px);
43139    }
43140    to {
43141      background-color: rgba(0, 0, 0, 0.5);
43142      backdrop-filter: blur(4px);
43143    }
43144  }
43145
43146  @keyframes fadeInPopup {
43147    from {
43148      opacity: 0;
43149      transform: scale(0.97);
43150    }
43151    to {
43152      opacity: 1;
43153      transform: scale(1);
43154    }
43155  }
43156
43157  position: fixed;
43158  top: 0;
43159  left: 0;
43160  width: 100vw;
43161  height: 100vh;
43162  z-index: ${Theme.zIndex.cookiebar};
43163  display: flex;
43164  align-items: center;
43165  justify-content: center;
43166  animation: fadeInOverlay 0.4s ease-out forwards;
43167
43168  &.hidden {
43169    display: none;
43170  }
43171
43172  .page-width {
43173    display: flex;
43174    flex-direction: column;
43175    background: white;
43176    padding: 2.5rem;
43177    width: min-content;
43178    max-height: calc(100vh - 5rem);
43179    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
43180    overflow-y: auto;
43181    will-change: transform, opacity;
43182    animation: fadeInPopup 0.4s ease-out;
43183
43184    @media ${Theme.breakpoints.smallDown} {
43185      min-width: 90%;
43186    }
43187  }
43188
43189  .policy-text {
43190    h3 {
43191      margin: 0;
43192      font-size: 2.8rem;
43193      font-weight: 400;
43194      line-height: 3.4rem;
43195      letter-spacing: -0.025rem;
43196      align-items: center;
43197
43198      svg {
43199        margin-left: 0.75rem;
43200
43201        @media ${Theme.breakpoints.small} {
43202          display: none;
43203        }
43204      }
43205    }
43206
43207    .content {
43208      margin: 2.5rem 0 0 0;
43209      font-size: 1.4rem;
43210
43211      a {
43212        color: ${Theme.colors.general.linkColor};
43213        text-decoration: underline;
43214      }
43215
43216      p:last-of-type {
43217        margin-bottom: 0;
43218      }
43219
43220      @media ${Theme.breakpoints.smallDown} {
43221        display: ${showTextOnMobile ? "block" : "none"};
43222      }
43223    }
43224  }
43225
43226  hr.divider {
43227    margin: 2.5rem 0;
43228    border: none;
43229    border-top: 1px solid ${Theme.colors.general.divider};
43230  }
43231
43232  .policy-buttons {
43233    display: flex;
43234    flex-wrap: nowrap;
43235    justify-content: space-between;
43236    gap: 1rem;
43237
43238    button.button {
43239      height: 4rem;
43240      padding: 0 1.2rem;
43241      border: none;
43242      cursor: pointer;
43243      white-space: nowrap;
43244      transition: all 0.2s ease;
43245    }
43246
43247    #accept-button {
43248      background-color: ${Theme.colors.general.omronBlue};
43249      color: white;
43250
43251      &:hover {
43252        background-color: #004f9e;
43253      }
43254    }
43255
43256    #manage-button,
43257    #essentials-button {
43258      background: white;
43259      border: 2px solid #333;
43260
43261      &:hover {
43262        background-color: ${Theme.colors.backgrounds.lightGrey};
43263      }
43264    }
43265
43266    @media ${Theme.breakpoints.smallDown} {
43267      flex-direction: column;
43268      gap: 1rem;
43269    }
43270  }
43271`;
43272      ObtrusiveCookieBar_default = ObtrusiveCookieBar;
43273    }
43274  });
43275
43276  
43276// apps/base/javascript/generic/cookies/CookieBar.tsx
43277  var import_react12, CookieBar, CookieBar_default;
43278  var init_CookieBar = __esm({
43279    "apps/base/javascript/generic/cookies/CookieBar.tsx"() {
43280      "use strict";
43281      init_esbuild_shims();
43282      init_NonObtrusiveCookieBar();
43283      init_ObtrusiveCookieBar();
43284      import_react12 = __toESM(require_react());
43285      CookieBar = (props) => {
43286        return props.obtrusive ? /* @__PURE__ */ import_react12.default.createElement(ObtrusiveCookieBar_default, __spreadValues({}, props)) : /* @__PURE__ */ import_react12.default.createElement(NonObtrusiveCookieBar_default, __spreadValues({}, props));
43287      };
43288      CookieBar_default = CookieBar;
43289    }
43290  });
43291
43292  
43292// apps/base/javascript/generic/cookies/cookies.js
43293  var cookies_exports = {};
43294  var init_cookies2 = __esm({
43295    "apps/base/javascript/generic/cookies/cookies.js"() {
43296      "use strict";
43297      init_esbuild_shims();
43298      init_remount();
43299      init_SettingsDialog();
43300      init_CookieBar();
43301      init_tracking_scripts();
43302      init_js_cookie();
43303      window.dataLayer = window.dataLayer || [];
43304      defineReact({
43305        "cookies-setting-dialog": SettingsDialog_default,
43306        "cookie-bar": CookieBar_default
43307      });
43308      if (api2.get("visited") === "true") {
43309        callTrackingScripts();
43310        api2.set("visited", "true", { expires: 1 * 365, path: "/" });
43311      }
43312    }
43313  });
43314
43315  
vendor: 2,138 bytes, lines 43315-43386
43315// node_modules/@sentry/utils/esm/is.js
43316  function isError(wat) {
43317    switch (objectToString.call(wat)) {
43318      case "[object Error]":
43319      case "[object Exception]":
43320      case "[object DOMException]":
43321        return true;
43322      default:
43323        return isInstanceOf(wat, Error);
43324    }
43325  }
43326  function isBuiltin(wat, className) {
43327    return objectToString.call(wat) === `[object ${className}]`;
43328  }
43329  function isErrorEvent(wat) {
43330    return isBuiltin(wat, "ErrorEvent");
43331  }
43332  function isDOMError(wat) {
43333    return isBuiltin(wat, "DOMError");
43334  }
43335  function isDOMException(wat) {
43336    return isBuiltin(wat, "DOMException");
43337  }
43338  function isString2(wat) {
43339    return isBuiltin(wat, "String");
43340  }
43341  function isParameterizedString(wat) {
43342    return typeof wat === "object" && wat !== null && "__sentry_template_string__" in wat && "__sentry_template_values__" in wat;
43343  }
43344  function isPrimitive(wat) {
43345    return wat === null || isParameterizedString(wat) || typeof wat !== "object" && typeof wat !== "function";
43346  }
43347  function isPlainObject2(wat) {
43348    return isBuiltin(wat, "Object");
43349  }
43350  function isEvent(wat) {
43351    return typeof Event !== "undefined" && isInstanceOf(wat, Event);
43352  }
43353  function isElement2(wat) {
43354    return typeof Element !== "undefined" && isInstanceOf(wat, Element);
43355  }
43356  function isRegExp2(wat) {
43357    return isBuiltin(wat, "RegExp");
43358  }
43359  function isThenable2(wat) {
43360    return Boolean(wat && wat.then && typeof wat.then === "function");
43361  }
43362  function isSyntheticEvent(wat) {
43363    return isPlainObject2(wat) && "nativeEvent" in wat && "preventDefault" in wat && "stopPropagation" in wat;
43364  }
43365  function isNaN2(wat) {
43366    return typeof wat === "number" && wat !== wat;
43367  }
43368  function isInstanceOf(wat, base) {
43369    try {
43370      return wat instanceof base;
43371    } catch (_e) {
43372      return false;
43373    }
43374  }
43375  function isVueViewModel(wat) {
43376    return !!(typeof wat === "object" && wat !== null && (wat.__isVue || wat._isVue));
43377  }
43378  var objectToString;
43379  var init_is = __esm({
43380    "node_modules/@sentry/utils/esm/is.js"() {
43381      init_esbuild_shims();
43382      objectToString = Object.prototype.toString;
43383    }
43384  });
43385
43386  
vendor: 1,397 bytes, lines 43386-43434
43386// node_modules/@sentry/utils/esm/string.js
43387  function truncate(str, max2 = 0) {
43388    if (typeof str !== "string" || max2 === 0) {
43389      return str;
43390    }
43391    return str.length <= max2 ? str : `${str.slice(0, max2)}...`;
43392  }
43393  function safeJoin(input, delimiter2) {
43394    if (!Array.isArray(input)) {
43395      return "";
43396    }
43397    const output = [];
43398    for (let i2 = 0; i2 < input.length; i2++) {
43399      const value = input[i2];
43400      try {
43401        if (isVueViewModel(value)) {
43402          output.push("[VueViewModel]");
43403        } else {
43404          output.push(String(value));
43405        }
43406      } catch (e) {
43407        output.push("[value cannot be serialized]");
43408      }
43409    }
43410    return output.join(delimiter2);
43411  }
43412  function isMatchingPattern(value, pattern, requireExactStringMatch = false) {
43413    if (!isString2(value)) {
43414      return false;
43415    }
43416    if (isRegExp2(pattern)) {
43417      return pattern.test(value);
43418    }
43419    if (isString2(pattern)) {
43420      return requireExactStringMatch ? value === pattern : value.includes(pattern);
43421    }
43422    return false;
43423  }
43424  function stringMatchesSomePattern(testString, patterns = [], requireExactStringMatch = false) {
43425    return patterns.some((pattern) => isMatchingPattern(testString, pattern, requireExactStringMatch));
43426  }
43427  var init_string = __esm({
43428    "node_modules/@sentry/utils/esm/string.js"() {
43429      init_esbuild_shims();
43430      init_is();
43431    }
43432  });
43433
43434  
vendor: 3,712 bytes, lines 43434-43530
43434// node_modules/@sentry/utils/esm/aggregate-errors.js
43435  function applyAggregateErrorsToEvent(exceptionFromErrorImplementation, parser, maxValueLimit = 250, key, limit, event, hint) {
43436    if (!event.exception || !event.exception.values || !hint || !isInstanceOf(hint.originalException, Error)) {
43437      return;
43438    }
43439    const originalException = event.exception.values.length > 0 ? event.exception.values[event.exception.values.length - 1] : void 0;
43440    if (originalException) {
43441      event.exception.values = truncateAggregateExceptions(
43442        aggregateExceptionsFromError(
43443          exceptionFromErrorImplementation,
43444          parser,
43445          limit,
43446          hint.originalException,
43447          key,
43448          event.exception.values,
43449          originalException,
43450          0
43451        ),
43452        maxValueLimit
43453      );
43454    }
43455  }
43456  function aggregateExceptionsFromError(exceptionFromErrorImplementation, parser, limit, error, key, prevExceptions, exception, exceptionId) {
43457    if (prevExceptions.length >= limit + 1) {
43458      return prevExceptions;
43459    }
43460    let newExceptions = [...prevExceptions];
43461    if (isInstanceOf(error[key], Error)) {
43462      applyExceptionGroupFieldsForParentException(exception, exceptionId);
43463      const newException = exceptionFromErrorImplementation(parser, error[key]);
43464      const newExceptionId = newExceptions.length;
43465      applyExceptionGroupFieldsForChildException(newException, key, newExceptionId, exceptionId);
43466      newExceptions = aggregateExceptionsFromError(
43467        exceptionFromErrorImplementation,
43468        parser,
43469        limit,
43470        error[key],
43471        key,
43472        [newException, ...newExceptions],
43473        newException,
43474        newExceptionId
43475      );
43476    }
43477    if (Array.isArray(error.errors)) {
43478      error.errors.forEach((childError, i2) => {
43479        if (isInstanceOf(childError, Error)) {
43480          applyExceptionGroupFieldsForParentException(exception, exceptionId);
43481          const newException = exceptionFromErrorImplementation(parser, childError);
43482          const newExceptionId = newExceptions.length;
43483          applyExceptionGroupFieldsForChildException(newException, `errors[${i2}]`, newExceptionId, exceptionId);
43484          newExceptions = aggregateExceptionsFromError(
43485            exceptionFromErrorImplementation,
43486            parser,
43487            limit,
43488            childError,
43489            key,
43490            [newException, ...newExceptions],
43491            newException,
43492            newExceptionId
43493          );
43494        }
43495      });
43496    }
43497    return newExceptions;
43498  }
43499  function applyExceptionGroupFieldsForParentException(exception, exceptionId) {
43500    exception.mechanism = exception.mechanism || { type: "generic", handled: true };
43501    exception.mechanism = __spreadProps(__spreadValues(__spreadValues({}, exception.mechanism), exception.type === "AggregateError" && { is_exception_group: true }), {
43502      exception_id: exceptionId
43503    });
43504  }
43505  function applyExceptionGroupFieldsForChildException(exception, source, exceptionId, parentId) {
43506    exception.mechanism = exception.mechanism || { type: "generic", handled: true };
43507    exception.mechanism = __spreadProps(__spreadValues({}, exception.mechanism), {
43508      type: "chained",
43509      source,
43510      exception_id: exceptionId,
43511      parent_id: parentId
43512    });
43513  }
43514  function truncateAggregateExceptions(exceptions, maxValueLength) {
43515    return exceptions.map((exception) => {
43516      if (exception.value) {
43517        exception.value = truncate(exception.value, maxValueLength);
43518      }
43519      return exception;
43520    });
43521  }
43522  var init_aggregate_errors = __esm({
43523    "node_modules/@sentry/utils/esm/aggregate-errors.js"() {
43524      init_esbuild_shims();
43525      init_is();
43526      init_string();
43527    }
43528  });
43529
43530  
vendor: 944 bytes, lines 43530-43554
43530// node_modules/@sentry/utils/esm/worldwide.js
43531  function isGlobalObj(obj) {
43532    return obj && obj.Math == Math ? obj : void 0;
43533  }
43534  function getGlobalObject() {
43535    return GLOBAL_OBJ;
43536  }
43537  function getGlobalSingleton(name2, creator, obj) {
43538    const gbl = obj || GLOBAL_OBJ;
43539    const __SENTRY__ = gbl.__SENTRY__ = gbl.__SENTRY__ || {};
43540    const singleton = __SENTRY__[name2] || (__SENTRY__[name2] = creator());
43541    return singleton;
43542  }
43543  var GLOBAL_OBJ;
43544  var init_worldwide = __esm({
43545    "node_modules/@sentry/utils/esm/worldwide.js"() {
43546      init_esbuild_shims();
43547      GLOBAL_OBJ = typeof globalThis == "object" && isGlobalObj(globalThis) || // eslint-disable-next-line no-restricted-globals
43548      typeof window == "object" && isGlobalObj(window) || typeof self == "object" && isGlobalObj(self) || typeof global == "object" && isGlobalObj(global) || /* @__PURE__ */ (function() {
43549        return this;
43550      })() || {};
43551    }
43552  });
43553
43554  
vendor: 3,343 bytes, lines 43554-43663
43554// node_modules/@sentry/utils/esm/browser.js
43555  function htmlTreeAsString(elem, options2 = {}) {
43556    if (!elem) {
43557      return "<unknown>";
43558    }
43559    try {
43560      let currentElem = elem;
43561      const MAX_TRAVERSE_HEIGHT = 5;
43562      const out = [];
43563      let height = 0;
43564      let len = 0;
43565      const separator = " > ";
43566      const sepLength = separator.length;
43567      let nextStr;
43568      const keyAttrs = Array.isArray(options2) ? options2 : options2.keyAttrs;
43569      const maxStringLength = !Array.isArray(options2) && options2.maxStringLength || DEFAULT_MAX_STRING_LENGTH;
43570      while (currentElem && height++ < MAX_TRAVERSE_HEIGHT) {
43571        nextStr = _htmlElementAsString(currentElem, keyAttrs);
43572        if (nextStr === "html" || height > 1 && len + out.length * sepLength + nextStr.length >= maxStringLength) {
43573          break;
43574        }
43575        out.push(nextStr);
43576        len += nextStr.length;
43577        currentElem = currentElem.parentNode;
43578      }
43579      return out.reverse().join(separator);
43580    } catch (_oO) {
43581      return "<unknown>";
43582    }
43583  }
43584  function _htmlElementAsString(el, keyAttrs) {
43585    const elem = el;
43586    const out = [];
43587    let className;
43588    let classes;
43589    let key;
43590    let attr;
43591    let i2;
43592    if (!elem || !elem.tagName) {
43593      return "";
43594    }
43595    if (WINDOW2.HTMLElement) {
43596      if (elem instanceof HTMLElement && elem.dataset && elem.dataset["sentryComponent"]) {
43597        return elem.dataset["sentryComponent"];
43598      }
43599    }
43600    out.push(elem.tagName.toLowerCase());
43601    const keyAttrPairs = keyAttrs && keyAttrs.length ? keyAttrs.filter((keyAttr) => elem.getAttribute(keyAttr)).map((keyAttr) => [keyAttr, elem.getAttribute(keyAttr)]) : null;
43602    if (keyAttrPairs && keyAttrPairs.length) {
43603      keyAttrPairs.forEach((keyAttrPair) => {
43604        out.push(`[${keyAttrPair[0]}="${keyAttrPair[1]}"]`);
43605      });
43606    } else {
43607      if (elem.id) {
43608        out.push(`#${elem.id}`);
43609      }
43610      className = elem.className;
43611      if (className && isString2(className)) {
43612        classes = className.split(/\s+/);
43613        for (i2 = 0; i2 < classes.length; i2++) {
43614          out.push(`.${classes[i2]}`);
43615        }
43616      }
43617    }
43618    const allowedAttrs = ["aria-label", "type", "name", "title", "alt"];
43619    for (i2 = 0; i2 < allowedAttrs.length; i2++) {
43620      key = allowedAttrs[i2];
43621      attr = elem.getAttribute(key);
43622      if (attr) {
43623        out.push(`[${key}="${attr}"]`);
43624      }
43625    }
43626    return out.join("");
43627  }
43628  function getLocationHref() {
43629    try {
43630      return WINDOW2.document.location.href;
43631    } catch (oO) {
43632      return "";
43633    }
43634  }
43635  function getComponentName(elem) {
43636    if (!WINDOW2.HTMLElement) {
43637      return null;
43638    }
43639    let currentElem = elem;
43640    const MAX_TRAVERSE_HEIGHT = 5;
43641    for (let i2 = 0; i2 < MAX_TRAVERSE_HEIGHT; i2++) {
43642      if (!currentElem) {
43643        return null;
43644      }
43645      if (currentElem instanceof HTMLElement && currentElem.dataset["sentryComponent"]) {
43646        return currentElem.dataset["sentryComponent"];
43647      }
43648      currentElem = currentElem.parentNode;
43649    }
43650    return null;
43651  }
43652  var WINDOW2, DEFAULT_MAX_STRING_LENGTH;
43653  var init_browser2 = __esm({
43654    "node_modules/@sentry/utils/esm/browser.js"() {
43655      init_esbuild_shims();
43656      init_is();
43657      init_worldwide();
43658      WINDOW2 = getGlobalObject();
43659      DEFAULT_MAX_STRING_LENGTH = 80;
43660    }
43661  });
43662
43663  
vendor: 281 bytes, lines 43663-43672
43663// node_modules/@sentry/utils/esm/debug-build.js
43664  var DEBUG_BUILD;
43665  var init_debug_build = __esm({
43666    "node_modules/@sentry/utils/esm/debug-build.js"() {
43667      init_esbuild_shims();
43668      DEBUG_BUILD = typeof __SENTRY_DEBUG__ === "undefined" || __SENTRY_DEBUG__;
43669    }
43670  });
43671
43672  
vendor: 1,774 bytes, lines 43672-43742
43672// node_modules/@sentry/utils/esm/logger.js
43673  function consoleSandbox(callback) {
43674    if (!("console" in GLOBAL_OBJ)) {
43675      return callback();
43676    }
43677    const console2 = GLOBAL_OBJ.console;
43678    const wrappedFuncs = {};
43679    const wrappedLevels = Object.keys(originalConsoleMethods);
43680    wrappedLevels.forEach((level) => {
43681      const originalConsoleMethod = originalConsoleMethods[level];
43682      wrappedFuncs[level] = console2[level];
43683      console2[level] = originalConsoleMethod;
43684    });
43685    try {
43686      return callback();
43687    } finally {
43688      wrappedLevels.forEach((level) => {
43689        console2[level] = wrappedFuncs[level];
43690      });
43691    }
43692  }
43693  function makeLogger() {
43694    let enabled = false;
43695    const logger2 = {
43696      enable: () => {
43697        enabled = true;
43698      },
43699      disable: () => {
43700        enabled = false;
43701      },
43702      isEnabled: () => enabled
43703    };
43704    if (DEBUG_BUILD) {
43705      CONSOLE_LEVELS.forEach((name2) => {
43706        logger2[name2] = (...args) => {
43707          if (enabled) {
43708            consoleSandbox(() => {
43709              GLOBAL_OBJ.console[name2](`${PREFIX}[${name2}]:`, ...args);
43710            });
43711          }
43712        };
43713      });
43714    } else {
43715      CONSOLE_LEVELS.forEach((name2) => {
43716        logger2[name2] = () => void 0;
43717      });
43718    }
43719    return logger2;
43720  }
43721  var PREFIX, CONSOLE_LEVELS, originalConsoleMethods, logger;
43722  var init_logger = __esm({
43723    "node_modules/@sentry/utils/esm/logger.js"() {
43724      init_esbuild_shims();
43725      init_debug_build();
43726      init_worldwide();
43727      PREFIX = "Sentry Logger ";
43728      CONSOLE_LEVELS = [
43729        "debug",
43730        "info",
43731        "warn",
43732        "error",
43733        "log",
43734        "assert",
43735        "trace"
43736      ];
43737      originalConsoleMethods = {};
43738      logger = makeLogger();
43739    }
43740  });
43741
43742  
vendor: 2,930 bytes, lines 43742-43832
43742// node_modules/@sentry/utils/esm/dsn.js
43743  function isValidProtocol(protocol) {
43744    return protocol === "http" || protocol === "https";
43745  }
43746  function dsnToString(dsn, withPassword = false) {
43747    const { host, path, pass, port, projectId, protocol, publicKey } = dsn;
43748    return `${protocol}://${publicKey}${withPassword && pass ? `:${pass}` : ""}@${host}${port ? `:${port}` : ""}/${path ? `${path}/` : path}${projectId}`;
43749  }
43750  function dsnFromString(str) {
43751    const match2 = DSN_REGEX.exec(str);
43752    if (!match2) {
43753      consoleSandbox(() => {
43754        console.error(`Invalid Sentry Dsn: ${str}`);
43755      });
43756      return void 0;
43757    }
43758    const [protocol, publicKey, pass = "", host, port = "", lastPath] = match2.slice(1);
43759    let path = "";
43760    let projectId = lastPath;
43761    const split = projectId.split("/");
43762    if (split.length > 1) {
43763      path = split.slice(0, -1).join("/");
43764      projectId = split.pop();
43765    }
43766    if (projectId) {
43767      const projectMatch = projectId.match(/^\d+/);
43768      if (projectMatch) {
43769        projectId = projectMatch[0];
43770      }
43771    }
43772    return dsnFromComponents({ host, pass, path, projectId, port, protocol, publicKey });
43773  }
43774  function dsnFromComponents(components2) {
43775    return {
43776      protocol: components2.protocol,
43777      publicKey: components2.publicKey || "",
43778      pass: components2.pass || "",
43779      host: components2.host,
43780      port: components2.port || "",
43781      path: components2.path || "",
43782      projectId: components2.projectId
43783    };
43784  }
43785  function validateDsn(dsn) {
43786    if (!DEBUG_BUILD) {
43787      return true;
43788    }
43789    const { port, projectId, protocol } = dsn;
43790    const requiredComponents = ["protocol", "publicKey", "host", "projectId"];
43791    const hasMissingRequiredComponent = requiredComponents.find((component) => {
43792      if (!dsn[component]) {
43793        logger.error(`Invalid Sentry Dsn: ${component} missing`);
43794        return true;
43795      }
43796      return false;
43797    });
43798    if (hasMissingRequiredComponent) {
43799      return false;
43800    }
43801    if (!projectId.match(/^\d+$/)) {
43802      logger.error(`Invalid Sentry Dsn: Invalid projectId ${projectId}`);
43803      return false;
43804    }
43805    if (!isValidProtocol(protocol)) {
43806      logger.error(`Invalid Sentry Dsn: Invalid protocol ${protocol}`);
43807      return false;
43808    }
43809    if (port && isNaN(parseInt(port, 10))) {
43810      logger.error(`Invalid Sentry Dsn: Invalid port ${port}`);
43811      return false;
43812    }
43813    return true;
43814  }
43815  function makeDsn(from2) {
43816    const components2 = typeof from2 === "string" ? dsnFromString(from2) : dsnFromComponents(from2);
43817    if (!components2 || !validateDsn(components2)) {
43818      return void 0;
43819    }
43820    return components2;
43821  }
43822  var DSN_REGEX;
43823  var init_dsn = __esm({
43824    "node_modules/@sentry/utils/esm/dsn.js"() {
43825      init_esbuild_shims();
43826      init_debug_build();
43827      init_logger();
43828      DSN_REGEX = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;
43829    }
43830  });
43831
43832  
vendor: 563 bytes, lines 43832-43850
43832// node_modules/@sentry/utils/esm/error.js
43833  var SentryError;
43834  var init_error = __esm({
43835    "node_modules/@sentry/utils/esm/error.js"() {
43836      init_esbuild_shims();
43837      SentryError = class extends Error {
43838        /** Display name of this error instance. */
43839        constructor(message, logLevel = "warn") {
43840          super(message);
43841          this.message = message;
43842          this.name = new.target.prototype.constructor.name;
43843          Object.setPrototypeOf(this, new.target.prototype);
43844          this.logLevel = logLevel;
43845        }
43846      };
43847    }
43848  });
43849
43850  
vendor: 4,755 bytes, lines 43850-44005
43850// node_modules/@sentry/utils/esm/object.js
43851  function fill(source, name2, replacementFactory) {
43852    if (!(name2 in source)) {
43853      return;
43854    }
43855    const original = source[name2];
43856    const wrapped = replacementFactory(original);
43857    if (typeof wrapped === "function") {
43858      markFunctionWrapped(wrapped, original);
43859    }
43860    source[name2] = wrapped;
43861  }
43862  function addNonEnumerableProperty(obj, name2, value) {
43863    try {
43864      Object.defineProperty(obj, name2, {
43865        // enumerable: false, // the default, so we can save on bundle size by not explicitly setting it
43866        value,
43867        writable: true,
43868        configurable: true
43869      });
43870    } catch (o_O) {
43871      DEBUG_BUILD && logger.log(`Failed to add non-enumerable property "${name2}" to object`, obj);
43872    }
43873  }
43874  function markFunctionWrapped(wrapped, original) {
43875    try {
43876      const proto = original.prototype || {};
43877      wrapped.prototype = original.prototype = proto;
43878      addNonEnumerableProperty(wrapped, "__sentry_original__", original);
43879    } catch (o_O) {
43880    }
43881  }
43882  function getOriginalFunction(func) {
43883    return func.__sentry_original__;
43884  }
43885  function urlEncode(object) {
43886    return Object.keys(object).map((key) => `${encodeURIComponent(key)}=${encodeURIComponent(object[key])}`).join("&");
43887  }
43888  function convertToPlainObject(value) {
43889    if (isError(value)) {
43890      return __spreadValues({
43891        message: value.message,
43892        name: value.name,
43893        stack: value.stack
43894      }, getOwnProperties(value));
43895    } else if (isEvent(value)) {
43896      const newObj = __spreadValues({
43897        type: value.type,
43898        target: serializeEventTarget(value.target),
43899        currentTarget: serializeEventTarget(value.currentTarget)
43900      }, getOwnProperties(value));
43901      if (typeof CustomEvent !== "undefined" && isInstanceOf(value, CustomEvent)) {
43902        newObj.detail = value.detail;
43903      }
43904      return newObj;
43905    } else {
43906      return value;
43907    }
43908  }
43909  function serializeEventTarget(target) {
43910    try {
43911      return isElement2(target) ? htmlTreeAsString(target) : Object.prototype.toString.call(target);
43912    } catch (_oO) {
43913      return "<unknown>";
43914    }
43915  }
43916  function getOwnProperties(obj) {
43917    if (typeof obj === "object" && obj !== null) {
43918      const extractedProps = {};
43919      for (const property in obj) {
43920        if (Object.prototype.hasOwnProperty.call(obj, property)) {
43921          extractedProps[property] = obj[property];
43922        }
43923      }
43924      return extractedProps;
43925    } else {
43926      return {};
43927    }
43928  }
43929  function extractExceptionKeysForMessage(exception, maxLength = 40) {
43930    const keys = Object.keys(convertToPlainObject(exception));
43931    keys.sort();
43932    if (!keys.length) {
43933      return "[object has no keys]";
43934    }
43935    if (keys[0].length >= maxLength) {
43936      return truncate(keys[0], maxLength);
43937    }
43938    for (let includedKeys = keys.length; includedKeys > 0; includedKeys--) {
43939      const serialized = keys.slice(0, includedKeys).join(", ");
43940      if (serialized.length > maxLength) {
43941        continue;
43942      }
43943      if (includedKeys === keys.length) {
43944        return serialized;
43945      }
43946      return truncate(serialized, maxLength);
43947    }
43948    return "";
43949  }
43950  function dropUndefinedKeys(inputValue) {
43951    const memoizationMap = /* @__PURE__ */ new Map();
43952    return _dropUndefinedKeys(inputValue, memoizationMap);
43953  }
43954  function _dropUndefinedKeys(inputValue, memoizationMap) {
43955    if (isPojo(inputValue)) {
43956      const memoVal = memoizationMap.get(inputValue);
43957      if (memoVal !== void 0) {
43958        return memoVal;
43959      }
43960      const returnValue = {};
43961      memoizationMap.set(inputValue, returnValue);
43962      for (const key of Object.keys(inputValue)) {
43963        if (typeof inputValue[key] !== "undefined") {
43964          returnValue[key] = _dropUndefinedKeys(inputValue[key], memoizationMap);
43965        }
43966      }
43967      return returnValue;
43968    }
43969    if (Array.isArray(inputValue)) {
43970      const memoVal = memoizationMap.get(inputValue);
43971      if (memoVal !== void 0) {
43972        return memoVal;
43973      }
43974      const returnValue = [];
43975      memoizationMap.set(inputValue, returnValue);
43976      inputValue.forEach((item) => {
43977        returnValue.push(_dropUndefinedKeys(item, memoizationMap));
43978      });
43979      return returnValue;
43980    }
43981    return inputValue;
43982  }
43983  function isPojo(input) {
43984    if (!isPlainObject2(input)) {
43985      return false;
43986    }
43987    try {
43988      const name2 = Object.getPrototypeOf(input).constructor.name;
43989      return !name2 || name2 === "Object";
43990    } catch (e) {
43991      return true;
43992    }
43993  }
43994  var init_object = __esm({
43995    "node_modules/@sentry/utils/esm/object.js"() {
43996      init_esbuild_shims();
43997      init_browser2();
43998      init_debug_build();
43999      init_is();
44000      init_logger();
44001      init_string();
44002    }
44003  });
44004
44005  
vendor: 2,545 bytes, lines 44005-44081
44005// node_modules/@sentry/utils/esm/stacktrace.js
44006  function createStackParser(...parsers) {
44007    const sortedParsers = parsers.sort((a, b) => a[0] - b[0]).map((p2) => p2[1]);
44008    return (stack, skipFirst = 0) => {
44009      const frames = [];
44010      const lines = stack.split("\n");
44011      for (let i2 = skipFirst; i2 < lines.length; i2++) {
44012        const line2 = lines[i2];
44013        if (line2.length > 1024) {
44014          continue;
44015        }
44016        const cleanedLine = WEBPACK_ERROR_REGEXP.test(line2) ? line2.replace(WEBPACK_ERROR_REGEXP, "$1") : line2;
44017        if (cleanedLine.match(/\S*Error: /)) {
44018          continue;
44019        }
44020        for (const parser of sortedParsers) {
44021          const frame = parser(cleanedLine);
44022          if (frame) {
44023            frames.push(frame);
44024            break;
44025          }
44026        }
44027        if (frames.length >= STACKTRACE_FRAME_LIMIT) {
44028          break;
44029        }
44030      }
44031      return stripSentryFramesAndReverse(frames);
44032    };
44033  }
44034  function stackParserFromStackParserOptions(stackParser) {
44035    if (Array.isArray(stackParser)) {
44036      return createStackParser(...stackParser);
44037    }
44038    return stackParser;
44039  }
44040  function stripSentryFramesAndReverse(stack) {
44041    if (!stack.length) {
44042      return [];
44043    }
44044    const localStack = Array.from(stack);
44045    if (/sentryWrapped/.test(localStack[localStack.length - 1].function || "")) {
44046      localStack.pop();
44047    }
44048    localStack.reverse();
44049    if (STRIP_FRAME_REGEXP.test(localStack[localStack.length - 1].function || "")) {
44050      localStack.pop();
44051      if (STRIP_FRAME_REGEXP.test(localStack[localStack.length - 1].function || "")) {
44052        localStack.pop();
44053      }
44054    }
44055    return localStack.slice(0, STACKTRACE_FRAME_LIMIT).map((frame) => __spreadProps(__spreadValues({}, frame), {
44056      filename: frame.filename || localStack[localStack.length - 1].filename,
44057      function: frame.function || "?"
44058    }));
44059  }
44060  function getFunctionName(fn) {
44061    try {
44062      if (!fn || typeof fn !== "function") {
44063        return defaultFunctionName;
44064      }
44065      return fn.name || defaultFunctionName;
44066    } catch (e) {
44067      return defaultFunctionName;
44068    }
44069  }
44070  var STACKTRACE_FRAME_LIMIT, WEBPACK_ERROR_REGEXP, STRIP_FRAME_REGEXP, defaultFunctionName;
44071  var init_stacktrace = __esm({
44072    "node_modules/@sentry/utils/esm/stacktrace.js"() {
44073      init_esbuild_shims();
44074      STACKTRACE_FRAME_LIMIT = 50;
44075      WEBPACK_ERROR_REGEXP = /\(error: (.*)\)/;
44076      STRIP_FRAME_REGEXP = /captureMessage|captureException/;
44077      defaultFunctionName = "<anonymous>";
44078    }
44079  });
44080
44081  
vendor: 1,035 bytes, lines 44081-44123
44081// node_modules/@sentry/utils/esm/instrument/_handlers.js
44082  function addHandler(type, handler) {
44083    handlers[type] = handlers[type] || [];
44084    handlers[type].push(handler);
44085  }
44086  function maybeInstrument(type, instrumentFn) {
44087    if (!instrumented[type]) {
44088      instrumentFn();
44089      instrumented[type] = true;
44090    }
44091  }
44092  function triggerHandlers(type, data) {
44093    const typeHandlers = type && handlers[type];
44094    if (!typeHandlers) {
44095      return;
44096    }
44097    for (const handler of typeHandlers) {
44098      try {
44099        handler(data);
44100      } catch (e) {
44101        DEBUG_BUILD && logger.error(
44102          `Error while triggering instrumentation handler.
44103Type: ${type}
44104Name: ${getFunctionName(handler)}
44105Error:`,
44106          e
44107        );
44108      }
44109    }
44110  }
44111  var handlers, instrumented;
44112  var init_handlers = __esm({
44113    "node_modules/@sentry/utils/esm/instrument/_handlers.js"() {
44114      init_esbuild_shims();
44115      init_debug_build();
44116      init_logger();
44117      init_stacktrace();
44118      handlers = {};
44119      instrumented = {};
44120    }
44121  });
44122
44123  
vendor: 1,059 bytes, lines 44123-44158
44123// node_modules/@sentry/utils/esm/instrument/console.js
44124  function addConsoleInstrumentationHandler(handler) {
44125    const type = "console";
44126    addHandler(type, handler);
44127    maybeInstrument(type, instrumentConsole);
44128  }
44129  function instrumentConsole() {
44130    if (!("console" in GLOBAL_OBJ)) {
44131      return;
44132    }
44133    CONSOLE_LEVELS.forEach(function(level) {
44134      if (!(level in GLOBAL_OBJ.console)) {
44135        return;
44136      }
44137      fill(GLOBAL_OBJ.console, level, function(originalConsoleMethod) {
44138        originalConsoleMethods[level] = originalConsoleMethod;
44139        return function(...args) {
44140          const handlerData = { args, level };
44141          triggerHandlers("console", handlerData);
44142          const log2 = originalConsoleMethods[level];
44143          log2 && log2.apply(GLOBAL_OBJ.console, args);
44144        };
44145      });
44146    });
44147  }
44148  var init_console = __esm({
44149    "node_modules/@sentry/utils/esm/instrument/console.js"() {
44150      init_esbuild_shims();
44151      init_logger();
44152      init_object();
44153      init_worldwide();
44154      init_handlers();
44155    }
44156  });
44157
44158  
vendor: 2,935 bytes, lines 44158-44246
44158// node_modules/@sentry/utils/esm/misc.js
44159  function uuid4() {
44160    const gbl = GLOBAL_OBJ;
44161    const crypto = gbl.crypto || gbl.msCrypto;
44162    let getRandomByte = () => Math.random() * 16;
44163    try {
44164      if (crypto && crypto.randomUUID) {
44165        return crypto.randomUUID().replace(/-/g, "");
44166      }
44167      if (crypto && crypto.getRandomValues) {
44168        getRandomByte = () => {
44169          const typedArray = new Uint8Array(1);
44170          crypto.getRandomValues(typedArray);
44171          return typedArray[0];
44172        };
44173      }
44174    } catch (_) {
44175    }
44176    return ("10000000100040008000" + 1e11).replace(
44177      /[018]/g,
44178      (c) => (
44179        // eslint-disable-next-line no-bitwise
44180        (c ^ (getRandomByte() & 15) >> c / 4).toString(16)
44181      )
44182    );
44183  }
44184  function getFirstException(event) {
44185    return event.exception && event.exception.values ? event.exception.values[0] : void 0;
44186  }
44187  function getEventDescription(event) {
44188    const { message, event_id: eventId } = event;
44189    if (message) {
44190      return message;
44191    }
44192    const firstException = getFirstException(event);
44193    if (firstException) {
44194      if (firstException.type && firstException.value) {
44195        return `${firstException.type}: ${firstException.value}`;
44196      }
44197      return firstException.type || firstException.value || eventId || "<unknown>";
44198    }
44199    return eventId || "<unknown>";
44200  }
44201  function addExceptionTypeValue(event, value, type) {
44202    const exception = event.exception = event.exception || {};
44203    const values = exception.values = exception.values || [];
44204    const firstException = values[0] = values[0] || {};
44205    if (!firstException.value) {
44206      firstException.value = value || "";
44207    }
44208    if (!firstException.type) {
44209      firstException.type = type || "Error";
44210    }
44211  }
44212  function addExceptionMechanism(event, newMechanism) {
44213    const firstException = getFirstException(event);
44214    if (!firstException) {
44215      return;
44216    }
44217    const defaultMechanism = { type: "generic", handled: true };
44218    const currentMechanism = firstException.mechanism;
44219    firstException.mechanism = __spreadValues(__spreadValues(__spreadValues({}, defaultMechanism), currentMechanism), newMechanism);
44220    if (newMechanism && "data" in newMechanism) {
44221      const mergedData = __spreadValues(__spreadValues({}, currentMechanism && currentMechanism.data), newMechanism.data);
44222      firstException.mechanism.data = mergedData;
44223    }
44224  }
44225  function checkOrSetAlreadyCaught(exception) {
44226    if (exception && exception.__sentry_captured__) {
44227      return true;
44228    }
44229    try {
44230      addNonEnumerableProperty(exception, "__sentry_captured__", true);
44231    } catch (err) {
44232    }
44233    return false;
44234  }
44235  function arrayify(maybeArray) {
44236    return Array.isArray(maybeArray) ? maybeArray : [maybeArray];
44237  }
44238  var init_misc = __esm({
44239    "node_modules/@sentry/utils/esm/misc.js"() {
44240      init_esbuild_shims();
44241      init_object();
44242      init_worldwide();
44243    }
44244  });
44245
44246  
vendor: 4,968 bytes, lines 44246-44385
44246// node_modules/@sentry/utils/esm/instrument/dom.js
44247  function addClickKeypressInstrumentationHandler(handler) {
44248    const type = "dom";
44249    addHandler(type, handler);
44250    maybeInstrument(type, instrumentDOM);
44251  }
44252  function instrumentDOM() {
44253    if (!WINDOW3.document) {
44254      return;
44255    }
44256    const triggerDOMHandler = triggerHandlers.bind(null, "dom");
44257    const globalDOMEventHandler = makeDOMEventHandler(triggerDOMHandler, true);
44258    WINDOW3.document.addEventListener("click", globalDOMEventHandler, false);
44259    WINDOW3.document.addEventListener("keypress", globalDOMEventHandler, false);
44260    ["EventTarget", "Node"].forEach((target) => {
44261      const proto = WINDOW3[target] && WINDOW3[target].prototype;
44262      if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty("addEventListener")) {
44263        return;
44264      }
44265      fill(proto, "addEventListener", function(originalAddEventListener) {
44266        return function(type, listener2, options2) {
44267          if (type === "click" || type == "keypress") {
44268            try {
44269              const el = this;
44270              const handlers2 = el.__sentry_instrumentation_handlers__ = el.__sentry_instrumentation_handlers__ || {};
44271              const handlerForType = handlers2[type] = handlers2[type] || { refCount: 0 };
44272              if (!handlerForType.handler) {
44273                const handler = makeDOMEventHandler(triggerDOMHandler);
44274                handlerForType.handler = handler;
44275                originalAddEventListener.call(this, type, handler, options2);
44276              }
44277              handlerForType.refCount++;
44278            } catch (e) {
44279            }
44280          }
44281          return originalAddEventListener.call(this, type, listener2, options2);
44282        };
44283      });
44284      fill(
44285        proto,
44286        "removeEventListener",
44287        function(originalRemoveEventListener) {
44288          return function(type, listener2, options2) {
44289            if (type === "click" || type == "keypress") {
44290              try {
44291                const el = this;
44292                const handlers2 = el.__sentry_instrumentation_handlers__ || {};
44293                const handlerForType = handlers2[type];
44294                if (handlerForType) {
44295                  handlerForType.refCount--;
44296                  if (handlerForType.refCount <= 0) {
44297                    originalRemoveEventListener.call(this, type, handlerForType.handler, options2);
44298                    handlerForType.handler = void 0;
44299                    delete handlers2[type];
44300                  }
44301                  if (Object.keys(handlers2).length === 0) {
44302                    delete el.__sentry_instrumentation_handlers__;
44303                  }
44304                }
44305              } catch (e) {
44306              }
44307            }
44308            return originalRemoveEventListener.call(this, type, listener2, options2);
44309          };
44310        }
44311      );
44312    });
44313  }
44314  function isSimilarToLastCapturedEvent(event) {
44315    if (event.type !== lastCapturedEventType) {
44316      return false;
44317    }
44318    try {
44319      if (!event.target || event.target._sentryId !== lastCapturedEventTargetId) {
44320        return false;
44321      }
44322    } catch (e) {
44323    }
44324    return true;
44325  }
44326  function shouldSkipDOMEvent(eventType, target) {
44327    if (eventType !== "keypress") {
44328      return false;
44329    }
44330    if (!target || !target.tagName) {
44331      return true;
44332    }
44333    if (target.tagName === "INPUT" || target.tagName === "TEXTAREA" || target.isContentEditable) {
44334      return false;
44335    }
44336    return true;
44337  }
44338  function makeDOMEventHandler(handler, globalListener = false) {
44339    return (event) => {
44340      if (!event || event["_sentryCaptured"]) {
44341        return;
44342      }
44343      const target = getEventTarget(event);
44344      if (shouldSkipDOMEvent(event.type, target)) {
44345        return;
44346      }
44347      addNonEnumerableProperty(event, "_sentryCaptured", true);
44348      if (target && !target._sentryId) {
44349        addNonEnumerableProperty(target, "_sentryId", uuid4());
44350      }
44351      const name2 = event.type === "keypress" ? "input" : event.type;
44352      if (!isSimilarToLastCapturedEvent(event)) {
44353        const handlerData = { event, name: name2, global: globalListener };
44354        handler(handlerData);
44355        lastCapturedEventType = event.type;
44356        lastCapturedEventTargetId = target ? target._sentryId : void 0;
44357      }
44358      clearTimeout(debounceTimerID);
44359      debounceTimerID = WINDOW3.setTimeout(() => {
44360        lastCapturedEventTargetId = void 0;
44361        lastCapturedEventType = void 0;
44362      }, DEBOUNCE_DURATION);
44363    };
44364  }
44365  function getEventTarget(event) {
44366    try {
44367      return event.target;
44368    } catch (e) {
44369      return null;
44370    }
44371  }
44372  var WINDOW3, DEBOUNCE_DURATION, debounceTimerID, lastCapturedEventType, lastCapturedEventTargetId;
44373  var init_dom = __esm({
44374    "node_modules/@sentry/utils/esm/instrument/dom.js"() {
44375      init_esbuild_shims();
44376      init_misc();
44377      init_object();
44378      init_worldwide();
44379      init_handlers();
44380      WINDOW3 = GLOBAL_OBJ;
44381      DEBOUNCE_DURATION = 1e3;
44382    }
44383  });
44384
44385  
vendor: 1,512 bytes, lines 44385-44440
44385// node_modules/@sentry/utils/esm/supports.js
44386  function supportsFetch() {
44387    if (!("fetch" in WINDOW4)) {
44388      return false;
44389    }
44390    try {
44391      new Headers();
44392      new Request("http://www.example.com");
44393      new Response();
44394      return true;
44395    } catch (e) {
44396      return false;
44397    }
44398  }
44399  function isNativeFetch(func) {
44400    return func && /^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(func.toString());
44401  }
44402  function supportsNativeFetch() {
44403    if (typeof EdgeRuntime === "string") {
44404      return true;
44405    }
44406    if (!supportsFetch()) {
44407      return false;
44408    }
44409    if (isNativeFetch(WINDOW4.fetch)) {
44410      return true;
44411    }
44412    let result = false;
44413    const doc = WINDOW4.document;
44414    if (doc && typeof doc.createElement === "function") {
44415      try {
44416        const sandbox = doc.createElement("iframe");
44417        sandbox.hidden = true;
44418        doc.head.appendChild(sandbox);
44419        if (sandbox.contentWindow && sandbox.contentWindow.fetch) {
44420          result = isNativeFetch(sandbox.contentWindow.fetch);
44421        }
44422        doc.head.removeChild(sandbox);
44423      } catch (err) {
44424        DEBUG_BUILD && logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", err);
44425      }
44426    }
44427    return result;
44428  }
44429  var WINDOW4;
44430  var init_supports = __esm({
44431    "node_modules/@sentry/utils/esm/supports.js"() {
44432      init_esbuild_shims();
44433      init_debug_build();
44434      init_logger();
44435      init_worldwide();
44436      WINDOW4 = getGlobalObject();
44437    }
44438  });
44439
44440  
vendor: 2,497 bytes, lines 44440-44528
44440// node_modules/@sentry/utils/esm/instrument/fetch.js
44441  function addFetchInstrumentationHandler(handler) {
44442    const type = "fetch";
44443    addHandler(type, handler);
44444    maybeInstrument(type, instrumentFetch);
44445  }
44446  function instrumentFetch() {
44447    if (!supportsNativeFetch()) {
44448      return;
44449    }
44450    fill(GLOBAL_OBJ, "fetch", function(originalFetch) {
44451      return function(...args) {
44452        const { method, url } = parseFetchArgs(args);
44453        const handlerData = {
44454          args,
44455          fetchData: {
44456            method,
44457            url
44458          },
44459          startTimestamp: Date.now()
44460        };
44461        triggerHandlers("fetch", __spreadValues({}, handlerData));
44462        return originalFetch.apply(GLOBAL_OBJ, args).then(
44463          (response) => {
44464            const finishedHandlerData = __spreadProps(__spreadValues({}, handlerData), {
44465              endTimestamp: Date.now(),
44466              response
44467            });
44468            triggerHandlers("fetch", finishedHandlerData);
44469            return response;
44470          },
44471          (error) => {
44472            const erroredHandlerData = __spreadProps(__spreadValues({}, handlerData), {
44473              endTimestamp: Date.now(),
44474              error
44475            });
44476            triggerHandlers("fetch", erroredHandlerData);
44477            throw error;
44478          }
44479        );
44480      };
44481    });
44482  }
44483  function hasProp(obj, prop) {
44484    return !!obj && typeof obj === "object" && !!obj[prop];
44485  }
44486  function getUrlFromResource(resource) {
44487    if (typeof resource === "string") {
44488      return resource;
44489    }
44490    if (!resource) {
44491      return "";
44492    }
44493    if (hasProp(resource, "url")) {
44494      return resource.url;
44495    }
44496    if (resource.toString) {
44497      return resource.toString();
44498    }
44499    return "";
44500  }
44501  function parseFetchArgs(fetchArgs) {
44502    if (fetchArgs.length === 0) {
44503      return { method: "GET", url: "" };
44504    }
44505    if (fetchArgs.length === 2) {
44506      const [url, options2] = fetchArgs;
44507      return {
44508        url: getUrlFromResource(url),
44509        method: hasProp(options2, "method") ? String(options2.method).toUpperCase() : "GET"
44510      };
44511    }
44512    const arg = fetchArgs[0];
44513    return {
44514      url: getUrlFromResource(arg),
44515      method: hasProp(arg, "method") ? String(arg.method).toUpperCase() : "GET"
44516    };
44517  }
44518  var init_fetch2 = __esm({
44519    "node_modules/@sentry/utils/esm/instrument/fetch.js"() {
44520      init_esbuild_shims();
44521      init_object();
44522      init_supports();
44523      init_worldwide();
44524      init_handlers();
44525    }
44526  });
44527
44528  
vendor: 1,011 bytes, lines 44528-44562
44528// node_modules/@sentry/utils/esm/instrument/globalError.js
44529  function addGlobalErrorInstrumentationHandler(handler) {
44530    const type = "error";
44531    addHandler(type, handler);
44532    maybeInstrument(type, instrumentError);
44533  }
44534  function instrumentError() {
44535    _oldOnErrorHandler = GLOBAL_OBJ.onerror;
44536    GLOBAL_OBJ.onerror = function(msg, url, line2, column2, error) {
44537      const handlerData = {
44538        column: column2,
44539        error,
44540        line: line2,
44541        msg,
44542        url
44543      };
44544      triggerHandlers("error", handlerData);
44545      if (_oldOnErrorHandler && !_oldOnErrorHandler.__SENTRY_LOADER__) {
44546        return _oldOnErrorHandler.apply(this, arguments);
44547      }
44548      return false;
44549    };
44550    GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__ = true;
44551  }
44552  var _oldOnErrorHandler;
44553  var init_globalError = __esm({
44554    "node_modules/@sentry/utils/esm/instrument/globalError.js"() {
44555      init_esbuild_shims();
44556      init_worldwide();
44557      init_handlers();
44558      _oldOnErrorHandler = null;
44559    }
44560  });
44561
44562  
vendor: 1,107 bytes, lines 44562-44590
44562// node_modules/@sentry/utils/esm/instrument/globalUnhandledRejection.js
44563  function addGlobalUnhandledRejectionInstrumentationHandler(handler) {
44564    const type = "unhandledrejection";
44565    addHandler(type, handler);
44566    maybeInstrument(type, instrumentUnhandledRejection);
44567  }
44568  function instrumentUnhandledRejection() {
44569    _oldOnUnhandledRejectionHandler = GLOBAL_OBJ.onunhandledrejection;
44570    GLOBAL_OBJ.onunhandledrejection = function(e) {
44571      const handlerData = e;
44572      triggerHandlers("unhandledrejection", handlerData);
44573      if (_oldOnUnhandledRejectionHandler && !_oldOnUnhandledRejectionHandler.__SENTRY_LOADER__) {
44574        return _oldOnUnhandledRejectionHandler.apply(this, arguments);
44575      }
44576      return true;
44577    };
44578    GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__ = true;
44579  }
44580  var _oldOnUnhandledRejectionHandler;
44581  var init_globalUnhandledRejection = __esm({
44582    "node_modules/@sentry/utils/esm/instrument/globalUnhandledRejection.js"() {
44583      init_esbuild_shims();
44584      init_worldwide();
44585      init_handlers();
44586      _oldOnUnhandledRejectionHandler = null;
44587    }
44588  });
44589
44590  
vendor: 602 bytes, lines 44590-44606
44590// node_modules/@sentry/utils/esm/vendor/supportsHistory.js
44591  function supportsHistory() {
44592    const chromeVar = WINDOW5.chrome;
44593    const isChromePackagedApp = chromeVar && chromeVar.app && chromeVar.app.runtime;
44594    const hasHistoryApi = "history" in WINDOW5 && !!WINDOW5.history.pushState && !!WINDOW5.history.replaceState;
44595    return !isChromePackagedApp && hasHistoryApi;
44596  }
44597  var WINDOW5;
44598  var init_supportsHistory = __esm({
44599    "node_modules/@sentry/utils/esm/vendor/supportsHistory.js"() {
44600      init_esbuild_shims();
44601      init_worldwide();
44602      WINDOW5 = getGlobalObject();
44603    }
44604  });
44605
44606  
vendor: 1,601 bytes, lines 44606-44658
44606// node_modules/@sentry/utils/esm/instrument/history.js
44607  function addHistoryInstrumentationHandler(handler) {
44608    const type = "history";
44609    addHandler(type, handler);
44610    maybeInstrument(type, instrumentHistory);
44611  }
44612  function instrumentHistory() {
44613    if (!supportsHistory()) {
44614      return;
44615    }
44616    const oldOnPopState = WINDOW6.onpopstate;
44617    WINDOW6.onpopstate = function(...args) {
44618      const to = WINDOW6.location.href;
44619      const from2 = lastHref;
44620      lastHref = to;
44621      const handlerData = { from: from2, to };
44622      triggerHandlers("history", handlerData);
44623      if (oldOnPopState) {
44624        try {
44625          return oldOnPopState.apply(this, args);
44626        } catch (_oO) {
44627        }
44628      }
44629    };
44630    function historyReplacementFunction(originalHistoryFunction) {
44631      return function(...args) {
44632        const url = args.length > 2 ? args[2] : void 0;
44633        if (url) {
44634          const from2 = lastHref;
44635          const to = String(url);
44636          lastHref = to;
44637          const handlerData = { from: from2, to };
44638          triggerHandlers("history", handlerData);
44639        }
44640        return originalHistoryFunction.apply(this, args);
44641      };
44642    }
44643    fill(WINDOW6.history, "pushState", historyReplacementFunction);
44644    fill(WINDOW6.history, "replaceState", historyReplacementFunction);
44645  }
44646  var WINDOW6, lastHref;
44647  var init_history = __esm({
44648    "node_modules/@sentry/utils/esm/instrument/history.js"() {
44649      init_esbuild_shims();
44650      init_object();
44651      init_worldwide();
44652      init_supportsHistory();
44653      init_handlers();
44654      WINDOW6 = GLOBAL_OBJ;
44655    }
44656  });
44657
44658  
vendor: 3,502 bytes, lines 44658-44769
44658// node_modules/@sentry/utils/esm/instrument/xhr.js
44659  function addXhrInstrumentationHandler(handler) {
44660    const type = "xhr";
44661    addHandler(type, handler);
44662    maybeInstrument(type, instrumentXHR);
44663  }
44664  function instrumentXHR() {
44665    if (!WINDOW7.XMLHttpRequest) {
44666      return;
44667    }
44668    const xhrproto = XMLHttpRequest.prototype;
44669    fill(xhrproto, "open", function(originalOpen) {
44670      return function(...args) {
44671        const startTimestamp = Date.now();
44672        const method = isString2(args[0]) ? args[0].toUpperCase() : void 0;
44673        const url = parseUrl(args[1]);
44674        if (!method || !url) {
44675          return originalOpen.apply(this, args);
44676        }
44677        this[SENTRY_XHR_DATA_KEY] = {
44678          method,
44679          url,
44680          request_headers: {}
44681        };
44682        if (method === "POST" && url.match(/sentry_key/)) {
44683          this.__sentry_own_request__ = true;
44684        }
44685        const onreadystatechangeHandler = () => {
44686          const xhrInfo = this[SENTRY_XHR_DATA_KEY];
44687          if (!xhrInfo) {
44688            return;
44689          }
44690          if (this.readyState === 4) {
44691            try {
44692              xhrInfo.status_code = this.status;
44693            } catch (e) {
44694            }
44695            const handlerData = {
44696              args: [method, url],
44697              endTimestamp: Date.now(),
44698              startTimestamp,
44699              xhr: this
44700            };
44701            triggerHandlers("xhr", handlerData);
44702          }
44703        };
44704        if ("onreadystatechange" in this && typeof this.onreadystatechange === "function") {
44705          fill(this, "onreadystatechange", function(original) {
44706            return function(...readyStateArgs) {
44707              onreadystatechangeHandler();
44708              return original.apply(this, readyStateArgs);
44709            };
44710          });
44711        } else {
44712          this.addEventListener("readystatechange", onreadystatechangeHandler);
44713        }
44714        fill(this, "setRequestHeader", function(original) {
44715          return function(...setRequestHeaderArgs) {
44716            const [header, value] = setRequestHeaderArgs;
44717            const xhrInfo = this[SENTRY_XHR_DATA_KEY];
44718            if (xhrInfo && isString2(header) && isString2(value)) {
44719              xhrInfo.request_headers[header.toLowerCase()] = value;
44720            }
44721            return original.apply(this, setRequestHeaderArgs);
44722          };
44723        });
44724        return originalOpen.apply(this, args);
44725      };
44726    });
44727    fill(xhrproto, "send", function(originalSend) {
44728      return function(...args) {
44729        const sentryXhrData = this[SENTRY_XHR_DATA_KEY];
44730        if (!sentryXhrData) {
44731          return originalSend.apply(this, args);
44732        }
44733        if (args[0] !== void 0) {
44734          sentryXhrData.body = args[0];
44735        }
44736        const handlerData = {
44737          args: [sentryXhrData.method, sentryXhrData.url],
44738          startTimestamp: Date.now(),
44739          xhr: this
44740        };
44741        triggerHandlers("xhr", handlerData);
44742        return originalSend.apply(this, args);
44743      };
44744    });
44745  }
44746  function parseUrl(url) {
44747    if (isString2(url)) {
44748      return url;
44749    }
44750    try {
44751      return url.toString();
44752    } catch (e2) {
44753    }
44754    return void 0;
44755  }
44756  var WINDOW7, SENTRY_XHR_DATA_KEY;
44757  var init_xhr2 = __esm({
44758    "node_modules/@sentry/utils/esm/instrument/xhr.js"() {
44759      init_esbuild_shims();
44760      init_is();
44761      init_object();
44762      init_worldwide();
44763      init_handlers();
44764      WINDOW7 = GLOBAL_OBJ;
44765      SENTRY_XHR_DATA_KEY = "__sentry_xhr_v3__";
44766    }
44767  });
44768
44769  
vendor: 207 bytes, lines 44769-44779
44769// node_modules/@sentry/utils/esm/env.js
44770  function getSDKSource() {
44771    return "npm";
44772  }
44773  var init_env = __esm({
44774    "node_modules/@sentry/utils/esm/env.js"() {
44775      init_esbuild_shims();
44776    }
44777  });
44778
44779  
vendor: 989 bytes, lines 44779-44820
44779// node_modules/@sentry/utils/esm/memo.js
44780  function memoBuilder() {
44781    const hasWeakSet = typeof WeakSet === "function";
44782    const inner = hasWeakSet ? /* @__PURE__ */ new WeakSet() : [];
44783    function memoize2(obj) {
44784      if (hasWeakSet) {
44785        if (inner.has(obj)) {
44786          return true;
44787        }
44788        inner.add(obj);
44789        return false;
44790      }
44791      for (let i2 = 0; i2 < inner.length; i2++) {
44792        const value = inner[i2];
44793        if (value === obj) {
44794          return true;
44795        }
44796      }
44797      inner.push(obj);
44798      return false;
44799    }
44800    function unmemoize(obj) {
44801      if (hasWeakSet) {
44802        inner.delete(obj);
44803      } else {
44804        for (let i2 = 0; i2 < inner.length; i2++) {
44805          if (inner[i2] === obj) {
44806            inner.splice(i2, 1);
44807            break;
44808          }
44809        }
44810      }
44811    }
44812    return [memoize2, unmemoize];
44813  }
44814  var init_memo = __esm({
44815    "node_modules/@sentry/utils/esm/memo.js"() {
44816      init_esbuild_shims();
44817    }
44818  });
44819
44820  
vendor: 4,120 bytes, lines 44820-44945
44820// node_modules/@sentry/utils/esm/normalize.js
44821  function normalize(input, depth = 100, maxProperties = Infinity) {
44822    try {
44823      return visit("", input, depth, maxProperties);
44824    } catch (err) {
44825      return { ERROR: `**non-serializable** (${err})` };
44826    }
44827  }
44828  function normalizeToSize(object, depth = 3, maxSize = 100 * 1024) {
44829    const normalized = normalize(object, depth);
44830    if (jsonSize(normalized) > maxSize) {
44831      return normalizeToSize(object, depth - 1, maxSize);
44832    }
44833    return normalized;
44834  }
44835  function visit(key, value, depth = Infinity, maxProperties = Infinity, memo = memoBuilder()) {
44836    const [memoize2, unmemoize] = memo;
44837    if (value == null || // this matches null and undefined -> eqeq not eqeqeq
44838    ["number", "boolean", "string"].includes(typeof value) && !isNaN2(value)) {
44839      return value;
44840    }
44841    const stringified = stringifyValue(key, value);
44842    if (!stringified.startsWith("[object ")) {
44843      return stringified;
44844    }
44845    if (value["__sentry_skip_normalization__"]) {
44846      return value;
44847    }
44848    const remainingDepth = typeof value["__sentry_override_normalization_depth__"] === "number" ? value["__sentry_override_normalization_depth__"] : depth;
44849    if (remainingDepth === 0) {
44850      return stringified.replace("object ", "");
44851    }
44852    if (memoize2(value)) {
44853      return "[Circular ~]";
44854    }
44855    const valueWithToJSON = value;
44856    if (valueWithToJSON && typeof valueWithToJSON.toJSON === "function") {
44857      try {
44858        const jsonValue = valueWithToJSON.toJSON();
44859        return visit("", jsonValue, remainingDepth - 1, maxProperties, memo);
44860      } catch (err) {
44861      }
44862    }
44863    const normalized = Array.isArray(value) ? [] : {};
44864    let numAdded = 0;
44865    const visitable = convertToPlainObject(value);
44866    for (const visitKey in visitable) {
44867      if (!Object.prototype.hasOwnProperty.call(visitable, visitKey)) {
44868        continue;
44869      }
44870      if (numAdded >= maxProperties) {
44871        normalized[visitKey] = "[MaxProperties ~]";
44872        break;
44873      }
44874      const visitValue = visitable[visitKey];
44875      normalized[visitKey] = visit(visitKey, visitValue, remainingDepth - 1, maxProperties, memo);
44876      numAdded++;
44877    }
44878    unmemoize(value);
44879    return normalized;
44880  }
44881  function stringifyValue(key, value) {
44882    try {
44883      if (key === "domain" && value && typeof value === "object" && value._events) {
44884        return "[Domain]";
44885      }
44886      if (key === "domainEmitter") {
44887        return "[DomainEmitter]";
44888      }
44889      if (typeof global !== "undefined" && value === global) {
44890        return "[Global]";
44891      }
44892      if (typeof window !== "undefined" && value === window) {
44893        return "[Window]";
44894      }
44895      if (typeof document !== "undefined" && value === document) {
44896        return "[Document]";
44897      }
44898      if (isVueViewModel(value)) {
44899        return "[VueViewModel]";
44900      }
44901      if (isSyntheticEvent(value)) {
44902        return "[SyntheticEvent]";
44903      }
44904      if (typeof value === "number" && value !== value) {
44905        return "[NaN]";
44906      }
44907      if (typeof value === "function") {
44908        return `[Function: ${getFunctionName(value)}]`;
44909      }
44910      if (typeof value === "symbol") {
44911        return `[${String(value)}]`;
44912      }
44913      if (typeof value === "bigint") {
44914        return `[BigInt: ${String(value)}]`;
44915      }
44916      const objName = getConstructorName(value);
44917      if (/^HTML(\w*)Element$/.test(objName)) {
44918        return `[HTMLElement: ${objName}]`;
44919      }
44920      return `[object ${objName}]`;
44921    } catch (err) {
44922      return `**non-serializable** (${err})`;
44923    }
44924  }
44925  function getConstructorName(value) {
44926    const prototype2 = Object.getPrototypeOf(value);
44927    return prototype2 ? prototype2.constructor.name : "null prototype";
44928  }
44929  function utf8Length(value) {
44930    return ~-encodeURI(value).split(/%..|./).length;
44931  }
44932  function jsonSize(value) {
44933    return utf8Length(JSON.stringify(value));
44934  }
44935  var init_normalize = __esm({
44936    "node_modules/@sentry/utils/esm/normalize.js"() {
44937      init_esbuild_shims();
44938      init_is();
44939      init_memo();
44940      init_object();
44941      init_stacktrace();
44942    }
44943  });
44944
44945  
vendor: 4,471 bytes, lines 44945-45100
44945// node_modules/@sentry/utils/esm/syncpromise.js
44946  function resolvedSyncPromise(value) {
44947    return new SyncPromise((resolve) => {
44948      resolve(value);
44949    });
44950  }
44951  function rejectedSyncPromise(reason) {
44952    return new SyncPromise((_, reject) => {
44953      reject(reason);
44954    });
44955  }
44956  var States, SyncPromise;
44957  var init_syncpromise = __esm({
44958    "node_modules/@sentry/utils/esm/syncpromise.js"() {
44959      init_esbuild_shims();
44960      init_is();
44961      (function(States2) {
44962        const PENDING = 0;
44963        States2[States2["PENDING"] = PENDING] = "PENDING";
44964        const RESOLVED = 1;
44965        States2[States2["RESOLVED"] = RESOLVED] = "RESOLVED";
44966        const REJECTED = 2;
44967        States2[States2["REJECTED"] = REJECTED] = "REJECTED";
44968      })(States || (States = {}));
44969      SyncPromise = class _SyncPromise {
44970        constructor(executor) {
44971          _SyncPromise.prototype.__init.call(this);
44972          _SyncPromise.prototype.__init2.call(this);
44973          _SyncPromise.prototype.__init3.call(this);
44974          _SyncPromise.prototype.__init4.call(this);
44975          this._state = States.PENDING;
44976          this._handlers = [];
44977          try {
44978            executor(this._resolve, this._reject);
44979          } catch (e) {
44980            this._reject(e);
44981          }
44982        }
44983        /** JSDoc */
44984        then(onfulfilled, onrejected) {
44985          return new _SyncPromise((resolve, reject) => {
44986            this._handlers.push([
44987              false,
44988              (result) => {
44989                if (!onfulfilled) {
44990                  resolve(result);
44991                } else {
44992                  try {
44993                    resolve(onfulfilled(result));
44994                  } catch (e) {
44995                    reject(e);
44996                  }
44997                }
44998              },
44999              (reason) => {
45000                if (!onrejected) {
45001                  reject(reason);
45002                } else {
45003                  try {
45004                    resolve(onrejected(reason));
45005                  } catch (e) {
45006                    reject(e);
45007                  }
45008                }
45009              }
45010            ]);
45011            this._executeHandlers();
45012          });
45013        }
45014        /** JSDoc */
45015        catch(onrejected) {
45016          return this.then((val) => val, onrejected);
45017        }
45018        /** JSDoc */
45019        finally(onfinally) {
45020          return new _SyncPromise((resolve, reject) => {
45021            let val;
45022            let isRejected;
45023            return this.then(
45024              (value) => {
45025                isRejected = false;
45026                val = value;
45027                if (onfinally) {
45028                  onfinally();
45029                }
45030              },
45031              (reason) => {
45032                isRejected = true;
45033                val = reason;
45034                if (onfinally) {
45035                  onfinally();
45036                }
45037              }
45038            ).then(() => {
45039              if (isRejected) {
45040                reject(val);
45041                return;
45042              }
45043              resolve(val);
45044            });
45045          });
45046        }
45047        /** JSDoc */
45048        __init() {
45049          this._resolve = (value) => {
45050            this._setResult(States.RESOLVED, value);
45051          };
45052        }
45053        /** JSDoc */
45054        __init2() {
45055          this._reject = (reason) => {
45056            this._setResult(States.REJECTED, reason);
45057          };
45058        }
45059        /** JSDoc */
45060        __init3() {
45061          this._setResult = (state, value) => {
45062            if (this._state !== States.PENDING) {
45063              return;
45064            }
45065            if (isThenable2(value)) {
45066              void value.then(this._resolve, this._reject);
45067              return;
45068            }
45069            this._state = state;
45070            this._value = value;
45071            this._executeHandlers();
45072          };
45073        }
45074        /** JSDoc */
45075        __init4() {
45076          this._executeHandlers = () => {
45077            if (this._state === States.PENDING) {
45078              return;
45079            }
45080            const cachedHandlers = this._handlers.slice();
45081            this._handlers = [];
45082            cachedHandlers.forEach((handler) => {
45083              if (handler[0]) {
45084                return;
45085              }
45086              if (this._state === States.RESOLVED) {
45087                handler[1](this._value);
45088              }
45089              if (this._state === States.REJECTED) {
45090                handler[2](this._value);
45091              }
45092              handler[0] = true;
45093            });
45094          };
45095        }
45096      };
45097    }
45098  });
45099
45100  
vendor: 1,575 bytes, lines 45100-45159
45100// node_modules/@sentry/utils/esm/promisebuffer.js
45101  function makePromiseBuffer(limit) {
45102    const buffer = [];
45103    function isReady() {
45104      return limit === void 0 || buffer.length < limit;
45105    }
45106    function remove(task) {
45107      return buffer.splice(buffer.indexOf(task), 1)[0];
45108    }
45109    function add(taskProducer) {
45110      if (!isReady()) {
45111        return rejectedSyncPromise(new SentryError("Not adding Promise because buffer limit was reached."));
45112      }
45113      const task = taskProducer();
45114      if (buffer.indexOf(task) === -1) {
45115        buffer.push(task);
45116      }
45117      void task.then(() => remove(task)).then(
45118        null,
45119        () => remove(task).then(null, () => {
45120        })
45121      );
45122      return task;
45123    }
45124    function drain(timeout) {
45125      return new SyncPromise((resolve, reject) => {
45126        let counter2 = buffer.length;
45127        if (!counter2) {
45128          return resolve(true);
45129        }
45130        const capturedSetTimeout = setTimeout(() => {
45131          if (timeout && timeout > 0) {
45132            resolve(false);
45133          }
45134        }, timeout);
45135        buffer.forEach((item) => {
45136          void resolvedSyncPromise(item).then(() => {
45137            if (!--counter2) {
45138              clearTimeout(capturedSetTimeout);
45139              resolve(true);
45140            }
45141          }, reject);
45142        });
45143      });
45144    }
45145    return {
45146      $: buffer,
45147      add,
45148      drain
45149    };
45150  }
45151  var init_promisebuffer = __esm({
45152    "node_modules/@sentry/utils/esm/promisebuffer.js"() {
45153      init_esbuild_shims();
45154      init_error();
45155      init_syncpromise();
45156    }
45157  });
45158
45159  
vendor: 651 bytes, lines 45159-45186
45159// node_modules/@sentry/utils/esm/url.js
45160  function parseUrl2(url) {
45161    if (!url) {
45162      return {};
45163    }
45164    const match2 = url.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);
45165    if (!match2) {
45166      return {};
45167    }
45168    const query = match2[6] || "";
45169    const fragment = match2[8] || "";
45170    return {
45171      host: match2[4],
45172      path: match2[5],
45173      protocol: match2[2],
45174      search: query,
45175      hash: fragment,
45176      relative: match2[5] + query + fragment
45177      // everything minus origin
45178    };
45179  }
45180  var init_url = __esm({
45181    "node_modules/@sentry/utils/esm/url.js"() {
45182      init_esbuild_shims();
45183    }
45184  });
45185
45186  
vendor: 425 bytes, lines 45186-45198
45186// node_modules/@sentry/utils/esm/severity.js
45187  function severityLevelFromString(level) {
45188    return level === "warn" ? "warning" : validSeverityLevels.includes(level) ? level : "log";
45189  }
45190  var validSeverityLevels;
45191  var init_severity = __esm({
45192    "node_modules/@sentry/utils/esm/severity.js"() {
45193      init_esbuild_shims();
45194      validSeverityLevels = ["fatal", "error", "warning", "log", "info", "debug"];
45195    }
45196  });
45197
45198  
vendor: 2,332 bytes, lines 45198-45250
45198// node_modules/@sentry/utils/esm/time.js
45199  function dateTimestampInSeconds() {
45200    return Date.now() / ONE_SECOND_IN_MS;
45201  }
45202  function createUnixTimestampInSecondsFunc() {
45203    const { performance: performance2 } = GLOBAL_OBJ;
45204    if (!performance2 || !performance2.now) {
45205      return dateTimestampInSeconds;
45206    }
45207    const approxStartingTimeOrigin = Date.now() - performance2.now();
45208    const timeOrigin = performance2.timeOrigin == void 0 ? approxStartingTimeOrigin : performance2.timeOrigin;
45209    return () => {
45210      return (timeOrigin + performance2.now()) / ONE_SECOND_IN_MS;
45211    };
45212  }
45213  var ONE_SECOND_IN_MS, timestampInSeconds, _browserPerformanceTimeOriginMode, browserPerformanceTimeOrigin;
45214  var init_time = __esm({
45215    "node_modules/@sentry/utils/esm/time.js"() {
45216      init_esbuild_shims();
45217      init_worldwide();
45218      ONE_SECOND_IN_MS = 1e3;
45219      timestampInSeconds = createUnixTimestampInSecondsFunc();
45220      browserPerformanceTimeOrigin = (() => {
45221        const { performance: performance2 } = GLOBAL_OBJ;
45222        if (!performance2 || !performance2.now) {
45223          _browserPerformanceTimeOriginMode = "none";
45224          return void 0;
45225        }
45226        const threshold = 3600 * 1e3;
45227        const performanceNow = performance2.now();
45228        const dateNow = Date.now();
45229        const timeOriginDelta = performance2.timeOrigin ? Math.abs(performance2.timeOrigin + performanceNow - dateNow) : threshold;
45230        const timeOriginIsReliable = timeOriginDelta < threshold;
45231        const navigationStart = performance2.timing && performance2.timing.navigationStart;
45232        const hasNavigationStart = typeof navigationStart === "number";
45233        const navigationStartDelta = hasNavigationStart ? Math.abs(navigationStart + performanceNow - dateNow) : threshold;
45234        const navigationStartIsReliable = navigationStartDelta < threshold;
45235        if (timeOriginIsReliable || navigationStartIsReliable) {
45236          if (timeOriginDelta <= navigationStartDelta) {
45237            _browserPerformanceTimeOriginMode = "timeOrigin";
45238            return performance2.timeOrigin;
45239          } else {
45240            _browserPerformanceTimeOriginMode = "navigationStart";
45241            return navigationStart;
45242          }
45243        }
45244        _browserPerformanceTimeOriginMode = "dateNow";
45245        return dateNow;
45246      })();
45247    }
45248  });
45249
45250  
vendor: 4,062 bytes, lines 45250-45370
45250// node_modules/@sentry/utils/esm/envelope.js
45251  function createEnvelope(headers, items = []) {
45252    return [headers, items];
45253  }
45254  function addItemToEnvelope(envelope, newItem) {
45255    const [headers, items] = envelope;
45256    return [headers, [...items, newItem]];
45257  }
45258  function forEachEnvelopeItem(envelope, callback) {
45259    const envelopeItems = envelope[1];
45260    for (const envelopeItem of envelopeItems) {
45261      const envelopeItemType = envelopeItem[0].type;
45262      const result = callback(envelopeItem, envelopeItemType);
45263      if (result) {
45264        return true;
45265      }
45266    }
45267    return false;
45268  }
45269  function encodeUTF83(input, textEncoder) {
45270    const utf8 = textEncoder || new TextEncoder();
45271    return utf8.encode(input);
45272  }
45273  function serializeEnvelope(envelope, textEncoder) {
45274    const [envHeaders, items] = envelope;
45275    let parts = JSON.stringify(envHeaders);
45276    function append3(next2) {
45277      if (typeof parts === "string") {
45278        parts = typeof next2 === "string" ? parts + next2 : [encodeUTF83(parts, textEncoder), next2];
45279      } else {
45280        parts.push(typeof next2 === "string" ? encodeUTF83(next2, textEncoder) : next2);
45281      }
45282    }
45283    for (const item of items) {
45284      const [itemHeaders, payload] = item;
45285      append3(`
45286${JSON.stringify(itemHeaders)}
45287`);
45288      if (typeof payload === "string" || payload instanceof Uint8Array) {
45289        append3(payload);
45290      } else {
45291        let stringifiedPayload;
45292        try {
45293          stringifiedPayload = JSON.stringify(payload);
45294        } catch (e) {
45295          stringifiedPayload = JSON.stringify(normalize(payload));
45296        }
45297        append3(stringifiedPayload);
45298      }
45299    }
45300    return typeof parts === "string" ? parts : concatBuffers(parts);
45301  }
45302  function concatBuffers(buffers) {
45303    const totalLength = buffers.reduce((acc, buf) => acc + buf.length, 0);
45304    const merged = new Uint8Array(totalLength);
45305    let offset2 = 0;
45306    for (const buffer of buffers) {
45307      merged.set(buffer, offset2);
45308      offset2 += buffer.length;
45309    }
45310    return merged;
45311  }
45312  function createAttachmentEnvelopeItem(attachment, textEncoder) {
45313    const buffer = typeof attachment.data === "string" ? encodeUTF83(attachment.data, textEncoder) : attachment.data;
45314    return [
45315      dropUndefinedKeys({
45316        type: "attachment",
45317        length: buffer.length,
45318        filename: attachment.filename,
45319        content_type: attachment.contentType,
45320        attachment_type: attachment.attachmentType
45321      }),
45322      buffer
45323    ];
45324  }
45325  function envelopeItemTypeToDataCategory(type) {
45326    return ITEM_TYPE_TO_DATA_CATEGORY_MAP[type];
45327  }
45328  function getSdkMetadataForEnvelopeHeader(metadataOrEvent) {
45329    if (!metadataOrEvent || !metadataOrEvent.sdk) {
45330      return;
45331    }
45332    const { name: name2, version } = metadataOrEvent.sdk;
45333    return { name: name2, version };
45334  }
45335  function createEventEnvelopeHeaders(event, sdkInfo, tunnel, dsn) {
45336    const dynamicSamplingContext = event.sdkProcessingMetadata && event.sdkProcessingMetadata.dynamicSamplingContext;
45337    return __spreadValues(__spreadValues(__spreadValues({
45338      event_id: event.event_id,
45339      sent_at: (/* @__PURE__ */ new Date()).toISOString()
45340    }, sdkInfo && { sdk: sdkInfo }), !!tunnel && dsn && { dsn: dsnToString(dsn) }), dynamicSamplingContext && {
45341      trace: dropUndefinedKeys(__spreadValues({}, dynamicSamplingContext))
45342    });
45343  }
45344  var ITEM_TYPE_TO_DATA_CATEGORY_MAP;
45345  var init_envelope = __esm({
45346    "node_modules/@sentry/utils/esm/envelope.js"() {
45347      init_esbuild_shims();
45348      init_dsn();
45349      init_normalize();
45350      init_object();
45351      ITEM_TYPE_TO_DATA_CATEGORY_MAP = {
45352        session: "session",
45353        sessions: "session",
45354        attachment: "attachment",
45355        transaction: "transaction",
45356        event: "error",
45357        client_report: "internal",
45358        user_report: "default",
45359        profile: "profile",
45360        replay_event: "replay",
45361        replay_recording: "replay",
45362        check_in: "monitor",
45363        feedback: "feedback",
45364        span: "span",
45365        statsd: "metric_bucket"
45366      };
45367    }
45368  });
45369
45370  
vendor: 541 bytes, lines 45370-45389
45370// node_modules/@sentry/utils/esm/clientreport.js
45371  function createClientReportEnvelope(discarded_events, dsn, timestamp) {
45372    const clientReportItem = [
45373      { type: "client_report" },
45374      {
45375        timestamp: timestamp || dateTimestampInSeconds(),
45376        discarded_events
45377      }
45378    ];
45379    return createEnvelope(dsn ? { dsn } : {}, [clientReportItem]);
45380  }
45381  var init_clientreport = __esm({
45382    "node_modules/@sentry/utils/esm/clientreport.js"() {
45383      init_esbuild_shims();
45384      init_envelope();
45385      init_time();
45386    }
45387  });
45388
45389  
vendor: 2,080 bytes, lines 45389-45445
45389// node_modules/@sentry/utils/esm/ratelimit.js
45390  function parseRetryAfterHeader(header, now = Date.now()) {
45391    const headerDelay = parseInt(`${header}`, 10);
45392    if (!isNaN(headerDelay)) {
45393      return headerDelay * 1e3;
45394    }
45395    const headerDate = Date.parse(`${header}`);
45396    if (!isNaN(headerDate)) {
45397      return headerDate - now;
45398    }
45399    return DEFAULT_RETRY_AFTER;
45400  }
45401  function disabledUntil(limits, dataCategory) {
45402    return limits[dataCategory] || limits.all || 0;
45403  }
45404  function isRateLimited(limits, dataCategory, now = Date.now()) {
45405    return disabledUntil(limits, dataCategory) > now;
45406  }
45407  function updateRateLimits(limits, { statusCode, headers }, now = Date.now()) {
45408    const updatedRateLimits = __spreadValues({}, limits);
45409    const rateLimitHeader = headers && headers["x-sentry-rate-limits"];
45410    const retryAfterHeader = headers && headers["retry-after"];
45411    if (rateLimitHeader) {
45412      for (const limit of rateLimitHeader.trim().split(",")) {
45413        const [retryAfter, categories, , , namespaces] = limit.split(":", 5);
45414        const headerDelay = parseInt(retryAfter, 10);
45415        const delay = (!isNaN(headerDelay) ? headerDelay : 60) * 1e3;
45416        if (!categories) {
45417          updatedRateLimits.all = now + delay;
45418        } else {
45419          for (const category of categories.split(";")) {
45420            if (category === "metric_bucket") {
45421              if (!namespaces || namespaces.split(";").includes("custom")) {
45422                updatedRateLimits[category] = now + delay;
45423              }
45424            } else {
45425              updatedRateLimits[category] = now + delay;
45426            }
45427          }
45428        }
45429      }
45430    } else if (retryAfterHeader) {
45431      updatedRateLimits.all = now + parseRetryAfterHeader(retryAfterHeader, now);
45432    } else if (statusCode === 429) {
45433      updatedRateLimits.all = now + 60 * 1e3;
45434    }
45435    return updatedRateLimits;
45436  }
45437  var DEFAULT_RETRY_AFTER;
45438  var init_ratelimit = __esm({
45439    "node_modules/@sentry/utils/esm/ratelimit.js"() {
45440      init_esbuild_shims();
45441      DEFAULT_RETRY_AFTER = 60 * 1e3;
45442    }
45443  });
45444
45445  
vendor: 599 bytes, lines 45445-45466
45445// node_modules/@sentry/utils/esm/eventbuilder.js
45446  function parseStackFrames(stackParser, error) {
45447    return stackParser(error.stack || "", 1);
45448  }
45449  function exceptionFromError(stackParser, error) {
45450    const exception = {
45451      type: error.name || error.constructor.name,
45452      value: error.message
45453    };
45454    const frames = parseStackFrames(stackParser, error);
45455    if (frames.length) {
45456      exception.stacktrace = { frames };
45457    }
45458    return exception;
45459  }
45460  var init_eventbuilder = __esm({
45461    "node_modules/@sentry/utils/esm/eventbuilder.js"() {
45462      init_esbuild_shims();
45463    }
45464  });
45465
45466  
vendor: 848 bytes, lines 45466-45503
45466// node_modules/@sentry/utils/esm/index.js
45467  var init_esm = __esm({
45468    "node_modules/@sentry/utils/esm/index.js"() {
45469      init_esbuild_shims();
45470      init_aggregate_errors();
45471      init_browser2();
45472      init_dsn();
45473      init_error();
45474      init_worldwide();
45475      init_is();
45476      init_logger();
45477      init_misc();
45478      init_normalize();
45479      init_object();
45480      init_promisebuffer();
45481      init_severity();
45482      init_stacktrace();
45483      init_string();
45484      init_supports();
45485      init_syncpromise();
45486      init_time();
45487      init_env();
45488      init_envelope();
45489      init_clientreport();
45490      init_ratelimit();
45491      init_url();
45492      init_eventbuilder();
45493      init_console();
45494      init_dom();
45495      init_xhr2();
45496      init_fetch2();
45497      init_history();
45498      init_globalError();
45499      init_globalUnhandledRejection();
45500    }
45501  });
45502
45503  
vendor: 282 bytes, lines 45503-45512
45503// node_modules/@sentry/core/esm/debug-build.js
45504  var DEBUG_BUILD2;
45505  var init_debug_build2 = __esm({
45506    "node_modules/@sentry/core/esm/debug-build.js"() {
45507      init_esbuild_shims();
45508      DEBUG_BUILD2 = typeof __SENTRY_DEBUG__ === "undefined" || __SENTRY_DEBUG__;
45509    }
45510  });
45511
45512  
vendor: 242 bytes, lines 45512-45521
45512// node_modules/@sentry/core/esm/constants.js
45513  var DEFAULT_ENVIRONMENT;
45514  var init_constants = __esm({
45515    "node_modules/@sentry/core/esm/constants.js"() {
45516      init_esbuild_shims();
45517      DEFAULT_ENVIRONMENT = "production";
45518    }
45519  });
45520
45521  
vendor: 1,224 bytes, lines 45521-45552
45521// node_modules/@sentry/core/esm/eventProcessors.js
45522  function getGlobalEventProcessors() {
45523    return getGlobalSingleton("globalEventProcessors", () => []);
45524  }
45525  function addGlobalEventProcessor(callback) {
45526    getGlobalEventProcessors().push(callback);
45527  }
45528  function notifyEventProcessors(processors, event, hint, index2 = 0) {
45529    return new SyncPromise((resolve, reject) => {
45530      const processor = processors[index2];
45531      if (event === null || typeof processor !== "function") {
45532        resolve(event);
45533      } else {
45534        const result = processor(__spreadValues({}, event), hint);
45535        DEBUG_BUILD2 && processor.id && result === null && logger.log(`Event processor "${processor.id}" dropped event`);
45536        if (isThenable2(result)) {
45537          void result.then((final) => notifyEventProcessors(processors, final, hint, index2 + 1).then(resolve)).then(null, reject);
45538        } else {
45539          void notifyEventProcessors(processors, result, hint, index2 + 1).then(resolve).then(null, reject);
45540        }
45541      }
45542    });
45543  }
45544  var init_eventProcessors = __esm({
45545    "node_modules/@sentry/core/esm/eventProcessors.js"() {
45546      init_esbuild_shims();
45547      init_esm();
45548      init_debug_build2();
45549    }
45550  });
45551
45552  
vendor: 3,395 bytes, lines 45552-45662
45552// node_modules/@sentry/core/esm/session.js
45553  function makeSession(context) {
45554    const startingTime = timestampInSeconds();
45555    const session = {
45556      sid: uuid4(),
45557      init: true,
45558      timestamp: startingTime,
45559      started: startingTime,
45560      duration: 0,
45561      status: "ok",
45562      errors: 0,
45563      ignoreDuration: false,
45564      toJSON: () => sessionToJSON(session)
45565    };
45566    if (context) {
45567      updateSession(session, context);
45568    }
45569    return session;
45570  }
45571  function updateSession(session, context = {}) {
45572    if (context.user) {
45573      if (!session.ipAddress && context.user.ip_address) {
45574        session.ipAddress = context.user.ip_address;
45575      }
45576      if (!session.did && !context.did) {
45577        session.did = context.user.id || context.user.email || context.user.username;
45578      }
45579    }
45580    session.timestamp = context.timestamp || timestampInSeconds();
45581    if (context.abnormal_mechanism) {
45582      session.abnormal_mechanism = context.abnormal_mechanism;
45583    }
45584    if (context.ignoreDuration) {
45585      session.ignoreDuration = context.ignoreDuration;
45586    }
45587    if (context.sid) {
45588      session.sid = context.sid.length === 32 ? context.sid : uuid4();
45589    }
45590    if (context.init !== void 0) {
45591      session.init = context.init;
45592    }
45593    if (!session.did && context.did) {
45594      session.did = `${context.did}`;
45595    }
45596    if (typeof context.started === "number") {
45597      session.started = context.started;
45598    }
45599    if (session.ignoreDuration) {
45600      session.duration = void 0;
45601    } else if (typeof context.duration === "number") {
45602      session.duration = context.duration;
45603    } else {
45604      const duration = session.timestamp - session.started;
45605      session.duration = duration >= 0 ? duration : 0;
45606    }
45607    if (context.release) {
45608      session.release = context.release;
45609    }
45610    if (context.environment) {
45611      session.environment = context.environment;
45612    }
45613    if (!session.ipAddress && context.ipAddress) {
45614      session.ipAddress = context.ipAddress;
45615    }
45616    if (!session.userAgent && context.userAgent) {
45617      session.userAgent = context.userAgent;
45618    }
45619    if (typeof context.errors === "number") {
45620      session.errors = context.errors;
45621    }
45622    if (context.status) {
45623      session.status = context.status;
45624    }
45625  }
45626  function closeSession(session, status) {
45627    let context = {};
45628    if (status) {
45629      context = { status };
45630    } else if (session.status === "ok") {
45631      context = { status: "exited" };
45632    }
45633    updateSession(session, context);
45634  }
45635  function sessionToJSON(session) {
45636    return dropUndefinedKeys({
45637      sid: `${session.sid}`,
45638      init: session.init,
45639      // Make sure that sec is converted to ms for date constructor
45640      started: new Date(session.started * 1e3).toISOString(),
45641      timestamp: new Date(session.timestamp * 1e3).toISOString(),
45642      status: session.status,
45643      errors: session.errors,
45644      did: typeof session.did === "number" || typeof session.did === "string" ? `${session.did}` : void 0,
45645      duration: session.duration,
45646      abnormal_mechanism: session.abnormal_mechanism,
45647      attrs: {
45648        release: session.release,
45649        environment: session.environment,
45650        ip_address: session.ipAddress,
45651        user_agent: session.userAgent
45652      }
45653    });
45654  }
45655  var init_session = __esm({
45656    "node_modules/@sentry/core/esm/session.js"() {
45657      init_esbuild_shims();
45658      init_esm();
45659    }
45660  });
45661
45662  
vendor: 1,051 bytes, lines 45662-45702
45662// node_modules/@sentry/core/esm/utils/spanUtils.js
45663  function spanToTraceContext(span) {
45664    const { spanId: span_id, traceId: trace_id } = span.spanContext();
45665    const { data, op, parent_span_id, status, tags, origin: origin2 } = spanToJSON(span);
45666    return dropUndefinedKeys({
45667      data,
45668      op,
45669      parent_span_id,
45670      span_id,
45671      status,
45672      tags,
45673      trace_id,
45674      origin: origin2
45675    });
45676  }
45677  function spanToJSON(span) {
45678    if (spanIsSpanClass(span)) {
45679      return span.getSpanJSON();
45680    }
45681    if (typeof span.toJSON === "function") {
45682      return span.toJSON();
45683    }
45684    return {};
45685  }
45686  function spanIsSpanClass(span) {
45687    return typeof span.getSpanJSON === "function";
45688  }
45689  function spanIsSampled(span) {
45690    const { traceFlags } = span.spanContext();
45691    return Boolean(traceFlags & TRACE_FLAG_SAMPLED);
45692  }
45693  var TRACE_FLAG_SAMPLED;
45694  var init_spanUtils = __esm({
45695    "node_modules/@sentry/core/esm/utils/spanUtils.js"() {
45696      init_esbuild_shims();
45697      init_esm();
45698      TRACE_FLAG_SAMPLED = 1;
45699    }
45700  });
45701
45702  
vendor: 8,156 bytes, lines 45702-45938
45702// node_modules/@sentry/core/esm/utils/prepareEvent.js
45703  function prepareEvent(options2, event, hint, scope, client, isolationScope) {
45704    const { normalizeDepth = 3, normalizeMaxBreadth = 1e3 } = options2;
45705    const prepared = __spreadProps(__spreadValues({}, event), {
45706      event_id: event.event_id || hint.event_id || uuid4(),
45707      timestamp: event.timestamp || dateTimestampInSeconds()
45708    });
45709    const integrations = hint.integrations || options2.integrations.map((i2) => i2.name);
45710    applyClientOptions(prepared, options2);
45711    applyIntegrationsMetadata(prepared, integrations);
45712    if (event.type === void 0) {
45713      applyDebugIds(prepared, options2.stackParser);
45714    }
45715    const finalScope = getFinalScope(scope, hint.captureContext);
45716    if (hint.mechanism) {
45717      addExceptionMechanism(prepared, hint.mechanism);
45718    }
45719    const clientEventProcessors = client && client.getEventProcessors ? client.getEventProcessors() : [];
45720    const data = getGlobalScope().getScopeData();
45721    if (isolationScope) {
45722      const isolationData = isolationScope.getScopeData();
45723      mergeScopeData(data, isolationData);
45724    }
45725    if (finalScope) {
45726      const finalScopeData = finalScope.getScopeData();
45727      mergeScopeData(data, finalScopeData);
45728    }
45729    const attachments = [...hint.attachments || [], ...data.attachments];
45730    if (attachments.length) {
45731      hint.attachments = attachments;
45732    }
45733    applyScopeDataToEvent(prepared, data);
45734    const eventProcessors = [
45735      ...clientEventProcessors,
45736      // eslint-disable-next-line deprecation/deprecation
45737      ...getGlobalEventProcessors(),
45738      // Run scope event processors _after_ all other processors
45739      ...data.eventProcessors
45740    ];
45741    const result = notifyEventProcessors(eventProcessors, prepared, hint);
45742    return result.then((evt) => {
45743      if (evt) {
45744        applyDebugMeta(evt);
45745      }
45746      if (typeof normalizeDepth === "number" && normalizeDepth > 0) {
45747        return normalizeEvent(evt, normalizeDepth, normalizeMaxBreadth);
45748      }
45749      return evt;
45750    });
45751  }
45752  function applyClientOptions(event, options2) {
45753    const { environment, release, dist, maxValueLength = 250 } = options2;
45754    if (!("environment" in event)) {
45755      event.environment = "environment" in options2 ? environment : DEFAULT_ENVIRONMENT;
45756    }
45757    if (event.release === void 0 && release !== void 0) {
45758      event.release = release;
45759    }
45760    if (event.dist === void 0 && dist !== void 0) {
45761      event.dist = dist;
45762    }
45763    if (event.message) {
45764      event.message = truncate(event.message, maxValueLength);
45765    }
45766    const exception = event.exception && event.exception.values && event.exception.values[0];
45767    if (exception && exception.value) {
45768      exception.value = truncate(exception.value, maxValueLength);
45769    }
45770    const request = event.request;
45771    if (request && request.url) {
45772      request.url = truncate(request.url, maxValueLength);
45773    }
45774  }
45775  function applyDebugIds(event, stackParser) {
45776    const debugIdMap = GLOBAL_OBJ._sentryDebugIds;
45777    if (!debugIdMap) {
45778      return;
45779    }
45780    let debugIdStackFramesCache;
45781    const cachedDebugIdStackFrameCache = debugIdStackParserCache.get(stackParser);
45782    if (cachedDebugIdStackFrameCache) {
45783      debugIdStackFramesCache = cachedDebugIdStackFrameCache;
45784    } else {
45785      debugIdStackFramesCache = /* @__PURE__ */ new Map();
45786      debugIdStackParserCache.set(stackParser, debugIdStackFramesCache);
45787    }
45788    const filenameDebugIdMap = Object.keys(debugIdMap).reduce((acc, debugIdStackTrace) => {
45789      let parsedStack;
45790      const cachedParsedStack = debugIdStackFramesCache.get(debugIdStackTrace);
45791      if (cachedParsedStack) {
45792        parsedStack = cachedParsedStack;
45793      } else {
45794        parsedStack = stackParser(debugIdStackTrace);
45795        debugIdStackFramesCache.set(debugIdStackTrace, parsedStack);
45796      }
45797      for (let i2 = parsedStack.length - 1; i2 >= 0; i2--) {
45798        const stackFrame = parsedStack[i2];
45799        if (stackFrame.filename) {
45800          acc[stackFrame.filename] = debugIdMap[debugIdStackTrace];
45801          break;
45802        }
45803      }
45804      return acc;
45805    }, {});
45806    try {
45807      event.exception.values.forEach((exception) => {
45808        exception.stacktrace.frames.forEach((frame) => {
45809          if (frame.filename) {
45810            frame.debug_id = filenameDebugIdMap[frame.filename];
45811          }
45812        });
45813      });
45814    } catch (e) {
45815    }
45816  }
45817  function applyDebugMeta(event) {
45818    const filenameDebugIdMap = {};
45819    try {
45820      event.exception.values.forEach((exception) => {
45821        exception.stacktrace.frames.forEach((frame) => {
45822          if (frame.debug_id) {
45823            if (frame.abs_path) {
45824              filenameDebugIdMap[frame.abs_path] = frame.debug_id;
45825            } else if (frame.filename) {
45826              filenameDebugIdMap[frame.filename] = frame.debug_id;
45827            }
45828            delete frame.debug_id;
45829          }
45830        });
45831      });
45832    } catch (e) {
45833    }
45834    if (Object.keys(filenameDebugIdMap).length === 0) {
45835      return;
45836    }
45837    event.debug_meta = event.debug_meta || {};
45838    event.debug_meta.images = event.debug_meta.images || [];
45839    const images = event.debug_meta.images;
45840    Object.keys(filenameDebugIdMap).forEach((filename) => {
45841      images.push({
45842        type: "sourcemap",
45843        code_file: filename,
45844        debug_id: filenameDebugIdMap[filename]
45845      });
45846    });
45847  }
45848  function applyIntegrationsMetadata(event, integrationNames) {
45849    if (integrationNames.length > 0) {
45850      event.sdk = event.sdk || {};
45851      event.sdk.integrations = [...event.sdk.integrations || [], ...integrationNames];
45852    }
45853  }
45854  function normalizeEvent(event, depth, maxBreadth) {
45855    if (!event) {
45856      return null;
45857    }
45858    const normalized = __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, event), event.breadcrumbs && {
45859      breadcrumbs: event.breadcrumbs.map((b) => __spreadValues(__spreadValues({}, b), b.data && {
45860        data: normalize(b.data, depth, maxBreadth)
45861      }))
45862    }), event.user && {
45863      user: normalize(event.user, depth, maxBreadth)
45864    }), event.contexts && {
45865      contexts: normalize(event.contexts, depth, maxBreadth)
45866    }), event.extra && {
45867      extra: normalize(event.extra, depth, maxBreadth)
45868    });
45869    if (event.contexts && event.contexts.trace && normalized.contexts) {
45870      normalized.contexts.trace = event.contexts.trace;
45871      if (event.contexts.trace.data) {
45872        normalized.contexts.trace.data = normalize(event.contexts.trace.data, depth, maxBreadth);
45873      }
45874    }
45875    if (event.spans) {
45876      normalized.spans = event.spans.map((span) => {
45877        const data = spanToJSON(span).data;
45878        if (data) {
45879          span.data = normalize(data, depth, maxBreadth);
45880        }
45881        return span;
45882      });
45883    }
45884    return normalized;
45885  }
45886  function getFinalScope(scope, captureContext) {
45887    if (!captureContext) {
45888      return scope;
45889    }
45890    const finalScope = scope ? scope.clone() : new Scope();
45891    finalScope.update(captureContext);
45892    return finalScope;
45893  }
45894  function parseEventHintOrCaptureContext(hint) {
45895    if (!hint) {
45896      return void 0;
45897    }
45898    if (hintIsScopeOrFunction(hint)) {
45899      return { captureContext: hint };
45900    }
45901    if (hintIsScopeContext(hint)) {
45902      return {
45903        captureContext: hint
45904      };
45905    }
45906    return hint;
45907  }
45908  function hintIsScopeOrFunction(hint) {
45909    return hint instanceof Scope || typeof hint === "function";
45910  }
45911  function hintIsScopeContext(hint) {
45912    return Object.keys(hint).some((key) => captureContextKeys.includes(key));
45913  }
45914  var debugIdStackParserCache, captureContextKeys;
45915  var init_prepareEvent = __esm({
45916    "node_modules/@sentry/core/esm/utils/prepareEvent.js"() {
45917      init_esbuild_shims();
45918      init_esm();
45919      init_constants();
45920      init_eventProcessors();
45921      init_scope();
45922      init_applyScopeDataToEvent();
45923      init_spanUtils();
45924      debugIdStackParserCache = /* @__PURE__ */ new WeakMap();
45925      captureContextKeys = [
45926        "user",
45927        "level",
45928        "extra",
45929        "contexts",
45930        "tags",
45931        "fingerprint",
45932        "requestSession",
45933        "propagationContext"
45934      ];
45935    }
45936  });
45937
45938  
vendor: 2,855 bytes, lines 45938-46029
45938// node_modules/@sentry/core/esm/exports.js
45939  function captureException(exception, hint) {
45940    return getCurrentHub().captureException(exception, parseEventHintOrCaptureContext(hint));
45941  }
45942  function captureEvent(event, hint) {
45943    return getCurrentHub().captureEvent(event, hint);
45944  }
45945  function addBreadcrumb(breadcrumb, hint) {
45946    getCurrentHub().addBreadcrumb(breadcrumb, hint);
45947  }
45948  function setTag(key, value) {
45949    getCurrentHub().setTag(key, value);
45950  }
45951  function withScope(...rest) {
45952    const hub = getCurrentHub();
45953    if (rest.length === 2) {
45954      const [scope, callback] = rest;
45955      if (!scope) {
45956        return hub.withScope(callback);
45957      }
45958      return hub.withScope(() => {
45959        hub.getStackTop().scope = scope;
45960        return callback(scope);
45961      });
45962    }
45963    return hub.withScope(rest[0]);
45964  }
45965  function getClient() {
45966    return getCurrentHub().getClient();
45967  }
45968  function getCurrentScope() {
45969    return getCurrentHub().getScope();
45970  }
45971  function startSession(context) {
45972    const client = getClient();
45973    const isolationScope = getIsolationScope();
45974    const currentScope = getCurrentScope();
45975    const { release, environment = DEFAULT_ENVIRONMENT } = client && client.getOptions() || {};
45976    const { userAgent: userAgent2 } = GLOBAL_OBJ.navigator || {};
45977    const session = makeSession(__spreadValues(__spreadValues({
45978      release,
45979      environment,
45980      user: currentScope.getUser() || isolationScope.getUser()
45981    }, userAgent2 && { userAgent: userAgent2 }), context));
45982    const currentSession = isolationScope.getSession();
45983    if (currentSession && currentSession.status === "ok") {
45984      updateSession(currentSession, { status: "exited" });
45985    }
45986    endSession();
45987    isolationScope.setSession(session);
45988    currentScope.setSession(session);
45989    return session;
45990  }
45991  function endSession() {
45992    const isolationScope = getIsolationScope();
45993    const currentScope = getCurrentScope();
45994    const session = currentScope.getSession() || isolationScope.getSession();
45995    if (session) {
45996      closeSession(session);
45997    }
45998    _sendSessionUpdate();
45999    isolationScope.setSession();
46000    currentScope.setSession();
46001  }
46002  function _sendSessionUpdate() {
46003    const isolationScope = getIsolationScope();
46004    const currentScope = getCurrentScope();
46005    const client = getClient();
46006    const session = currentScope.getSession() || isolationScope.getSession();
46007    if (session && client && client.captureSession) {
46008      client.captureSession(session);
46009    }
46010  }
46011  function captureSession(end2 = false) {
46012    if (end2) {
46013      endSession();
46014      return;
46015    }
46016    _sendSessionUpdate();
46017  }
46018  var init_exports = __esm({
46019    "node_modules/@sentry/core/esm/exports.js"() {
46020      init_esbuild_shims();
46021      init_esm();
46022      init_constants();
46023      init_hub();
46024      init_session();
46025      init_prepareEvent();
46026    }
46027  });
46028
46029  
vendor: 255 bytes, lines 46029-46039
46029// node_modules/@sentry/core/esm/utils/getRootSpan.js
46030  function getRootSpan(span) {
46031    return span.transaction;
46032  }
46033  var init_getRootSpan = __esm({
46034    "node_modules/@sentry/core/esm/utils/getRootSpan.js"() {
46035      init_esbuild_shims();
46036    }
46037  });
46038
46039  
vendor: 1,686 bytes, lines 46039-46091
46039// node_modules/@sentry/core/esm/tracing/dynamicSamplingContext.js
46040  function getDynamicSamplingContextFromClient(trace_id, client, scope) {
46041    const options2 = client.getOptions();
46042    const { publicKey: public_key } = client.getDsn() || {};
46043    const { segment: user_segment } = scope && scope.getUser() || {};
46044    const dsc = dropUndefinedKeys({
46045      environment: options2.environment || DEFAULT_ENVIRONMENT,
46046      release: options2.release,
46047      user_segment,
46048      public_key,
46049      trace_id
46050    });
46051    client.emit && client.emit("createDsc", dsc);
46052    return dsc;
46053  }
46054  function getDynamicSamplingContextFromSpan(span) {
46055    const client = getClient();
46056    if (!client) {
46057      return {};
46058    }
46059    const dsc = getDynamicSamplingContextFromClient(spanToJSON(span).trace_id || "", client, getCurrentScope());
46060    const txn = getRootSpan(span);
46061    if (!txn) {
46062      return dsc;
46063    }
46064    const v7FrozenDsc = txn && txn._frozenDynamicSamplingContext;
46065    if (v7FrozenDsc) {
46066      return v7FrozenDsc;
46067    }
46068    const { sampleRate: maybeSampleRate, source } = txn.metadata;
46069    if (maybeSampleRate != null) {
46070      dsc.sample_rate = `${maybeSampleRate}`;
46071    }
46072    const jsonSpan = spanToJSON(txn);
46073    if (source && source !== "url") {
46074      dsc.transaction = jsonSpan.description;
46075    }
46076    dsc.sampled = String(spanIsSampled(txn));
46077    client.emit && client.emit("createDsc", dsc);
46078    return dsc;
46079  }
46080  var init_dynamicSamplingContext = __esm({
46081    "node_modules/@sentry/core/esm/tracing/dynamicSamplingContext.js"() {
46082      init_esbuild_shims();
46083      init_esm();
46084      init_constants();
46085      init_exports();
46086      init_getRootSpan();
46087      init_spanUtils();
46088    }
46089  });
46090
46091  
vendor: 4,863 bytes, lines 46091-46229
46091// node_modules/@sentry/core/esm/utils/applyScopeDataToEvent.js
46092  function applyScopeDataToEvent(event, data) {
46093    const { fingerprint, span, breadcrumbs, sdkProcessingMetadata } = data;
46094    applyDataToEvent(event, data);
46095    if (span) {
46096      applySpanToEvent(event, span);
46097    }
46098    applyFingerprintToEvent(event, fingerprint);
46099    applyBreadcrumbsToEvent(event, breadcrumbs);
46100    applySdkMetadataToEvent(event, sdkProcessingMetadata);
46101  }
46102  function mergeScopeData(data, mergeData) {
46103    const {
46104      extra,
46105      tags,
46106      user,
46107      contexts,
46108      level,
46109      sdkProcessingMetadata,
46110      breadcrumbs,
46111      fingerprint,
46112      eventProcessors,
46113      attachments,
46114      propagationContext,
46115      // eslint-disable-next-line deprecation/deprecation
46116      transactionName,
46117      span
46118    } = mergeData;
46119    mergeAndOverwriteScopeData(data, "extra", extra);
46120    mergeAndOverwriteScopeData(data, "tags", tags);
46121    mergeAndOverwriteScopeData(data, "user", user);
46122    mergeAndOverwriteScopeData(data, "contexts", contexts);
46123    mergeAndOverwriteScopeData(data, "sdkProcessingMetadata", sdkProcessingMetadata);
46124    if (level) {
46125      data.level = level;
46126    }
46127    if (transactionName) {
46128      data.transactionName = transactionName;
46129    }
46130    if (span) {
46131      data.span = span;
46132    }
46133    if (breadcrumbs.length) {
46134      data.breadcrumbs = [...data.breadcrumbs, ...breadcrumbs];
46135    }
46136    if (fingerprint.length) {
46137      data.fingerprint = [...data.fingerprint, ...fingerprint];
46138    }
46139    if (eventProcessors.length) {
46140      data.eventProcessors = [...data.eventProcessors, ...eventProcessors];
46141    }
46142    if (attachments.length) {
46143      data.attachments = [...data.attachments, ...attachments];
46144    }
46145    data.propagationContext = __spreadValues(__spreadValues({}, data.propagationContext), propagationContext);
46146  }
46147  function mergeAndOverwriteScopeData(data, prop, mergeVal) {
46148    if (mergeVal && Object.keys(mergeVal).length) {
46149      data[prop] = __spreadValues({}, data[prop]);
46150      for (const key in mergeVal) {
46151        if (Object.prototype.hasOwnProperty.call(mergeVal, key)) {
46152          data[prop][key] = mergeVal[key];
46153        }
46154      }
46155    }
46156  }
46157  function applyDataToEvent(event, data) {
46158    const {
46159      extra,
46160      tags,
46161      user,
46162      contexts,
46163      level,
46164      // eslint-disable-next-line deprecation/deprecation
46165      transactionName
46166    } = data;
46167    const cleanedExtra = dropUndefinedKeys(extra);
46168    if (cleanedExtra && Object.keys(cleanedExtra).length) {
46169      event.extra = __spreadValues(__spreadValues({}, cleanedExtra), event.extra);
46170    }
46171    const cleanedTags = dropUndefinedKeys(tags);
46172    if (cleanedTags && Object.keys(cleanedTags).length) {
46173      event.tags = __spreadValues(__spreadValues({}, cleanedTags), event.tags);
46174    }
46175    const cleanedUser = dropUndefinedKeys(user);
46176    if (cleanedUser && Object.keys(cleanedUser).length) {
46177      event.user = __spreadValues(__spreadValues({}, cleanedUser), event.user);
46178    }
46179    const cleanedContexts = dropUndefinedKeys(contexts);
46180    if (cleanedContexts && Object.keys(cleanedContexts).length) {
46181      event.contexts = __spreadValues(__spreadValues({}, cleanedContexts), event.contexts);
46182    }
46183    if (level) {
46184      event.level = level;
46185    }
46186    if (transactionName) {
46187      event.transaction = transactionName;
46188    }
46189  }
46190  function applyBreadcrumbsToEvent(event, breadcrumbs) {
46191    const mergedBreadcrumbs = [...event.breadcrumbs || [], ...breadcrumbs];
46192    event.breadcrumbs = mergedBreadcrumbs.length ? mergedBreadcrumbs : void 0;
46193  }
46194  function applySdkMetadataToEvent(event, sdkProcessingMetadata) {
46195    event.sdkProcessingMetadata = __spreadValues(__spreadValues({}, event.sdkProcessingMetadata), sdkProcessingMetadata);
46196  }
46197  function applySpanToEvent(event, span) {
46198    event.contexts = __spreadValues({ trace: spanToTraceContext(span) }, event.contexts);
46199    const rootSpan = getRootSpan(span);
46200    if (rootSpan) {
46201      event.sdkProcessingMetadata = __spreadValues({
46202        dynamicSamplingContext: getDynamicSamplingContextFromSpan(span)
46203      }, event.sdkProcessingMetadata);
46204      const transactionName = spanToJSON(rootSpan).description;
46205      if (transactionName) {
46206        event.tags = __spreadValues({ transaction: transactionName }, event.tags);
46207      }
46208    }
46209  }
46210  function applyFingerprintToEvent(event, fingerprint) {
46211    event.fingerprint = event.fingerprint ? arrayify(event.fingerprint) : [];
46212    if (fingerprint) {
46213      event.fingerprint = event.fingerprint.concat(fingerprint);
46214    }
46215    if (event.fingerprint && !event.fingerprint.length) {
46216      delete event.fingerprint;
46217    }
46218  }
46219  var init_applyScopeDataToEvent = __esm({
46220    "node_modules/@sentry/core/esm/utils/applyScopeDataToEvent.js"() {
46221      init_esbuild_shims();
46222      init_esm();
46223      init_dynamicSamplingContext();
46224      init_getRootSpan();
46225      init_spanUtils();
46226    }
46227  });
46228
46229  
vendor: 17,921 bytes, lines 46229-46774
46229// node_modules/@sentry/core/esm/scope.js
46230  function getGlobalScope() {
46231    if (!globalScope) {
46232      globalScope = new Scope();
46233    }
46234    return globalScope;
46235  }
46236  function generatePropagationContext() {
46237    return {
46238      traceId: uuid4(),
46239      spanId: uuid4().substring(16)
46240    };
46241  }
46242  var DEFAULT_MAX_BREADCRUMBS, globalScope, Scope;
46243  var init_scope = __esm({
46244    "node_modules/@sentry/core/esm/scope.js"() {
46245      init_esbuild_shims();
46246      init_esm();
46247      init_eventProcessors();
46248      init_session();
46249      init_applyScopeDataToEvent();
46250      DEFAULT_MAX_BREADCRUMBS = 100;
46251      Scope = class _Scope {
46252        /** Flag if notifying is happening. */
46253        /** Callback for client to receive scope changes. */
46254        /** Callback list that will be called after {@link applyToEvent}. */
46255        /** Array of breadcrumbs. */
46256        /** User */
46257        /** Tags */
46258        /** Extra */
46259        /** Contexts */
46260        /** Attachments */
46261        /** Propagation Context for distributed tracing */
46262        /**
46263         * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get
46264         * sent to Sentry
46265         */
46266        /** Fingerprint */
46267        /** Severity */
46268        // eslint-disable-next-line deprecation/deprecation
46269        /**
46270         * Transaction Name
46271         */
46272        /** Span */
46273        /** Session */
46274        /** Request Mode Session Status */
46275        /** The client on this scope */
46276        // NOTE: Any field which gets added here should get added not only to the constructor but also to the `clone` method.
46277        constructor() {
46278          this._notifyingListeners = false;
46279          this._scopeListeners = [];
46280          this._eventProcessors = [];
46281          this._breadcrumbs = [];
46282          this._attachments = [];
46283          this._user = {};
46284          this._tags = {};
46285          this._extra = {};
46286          this._contexts = {};
46287          this._sdkProcessingMetadata = {};
46288          this._propagationContext = generatePropagationContext();
46289        }
46290        /**
46291         * Inherit values from the parent scope.
46292         * @deprecated Use `scope.clone()` and `new Scope()` instead.
46293         */
46294        static clone(scope) {
46295          return scope ? scope.clone() : new _Scope();
46296        }
46297        /**
46298         * Clone this scope instance.
46299         */
46300        clone() {
46301          const newScope = new _Scope();
46302          newScope._breadcrumbs = [...this._breadcrumbs];
46303          newScope._tags = __spreadValues({}, this._tags);
46304          newScope._extra = __spreadValues({}, this._extra);
46305          newScope._contexts = __spreadValues({}, this._contexts);
46306          newScope._user = this._user;
46307          newScope._level = this._level;
46308          newScope._span = this._span;
46309          newScope._session = this._session;
46310          newScope._transactionName = this._transactionName;
46311          newScope._fingerprint = this._fingerprint;
46312          newScope._eventProcessors = [...this._eventProcessors];
46313          newScope._requestSession = this._requestSession;
46314          newScope._attachments = [...this._attachments];
46315          newScope._sdkProcessingMetadata = __spreadValues({}, this._sdkProcessingMetadata);
46316          newScope._propagationContext = __spreadValues({}, this._propagationContext);
46317          newScope._client = this._client;
46318          return newScope;
46319        }
46320        /** Update the client on the scope. */
46321        setClient(client) {
46322          this._client = client;
46323        }
46324        /**
46325         * Get the client assigned to this scope.
46326         *
46327         * It is generally recommended to use the global function `Sentry.getClient()` instead, unless you know what you are doing.
46328         */
46329        getClient() {
46330          return this._client;
46331        }
46332        /**
46333         * Add internal on change listener. Used for sub SDKs that need to store the scope.
46334         * @hidden
46335         */
46336        addScopeListener(callback) {
46337          this._scopeListeners.push(callback);
46338        }
46339        /**
46340         * @inheritDoc
46341         */
46342        addEventProcessor(callback) {
46343          this._eventProcessors.push(callback);
46344          return this;
46345        }
46346        /**
46347         * @inheritDoc
46348         */
46349        setUser(user) {
46350          this._user = user || {
46351            email: void 0,
46352            id: void 0,
46353            ip_address: void 0,
46354            segment: void 0,
46355            username: void 0
46356          };
46357          if (this._session) {
46358            updateSession(this._session, { user });
46359          }
46360          this._notifyScopeListeners();
46361          return this;
46362        }
46363        /**
46364         * @inheritDoc
46365         */
46366        getUser() {
46367          return this._user;
46368        }
46369        /**
46370         * @inheritDoc
46371         */
46372        getRequestSession() {
46373          return this._requestSession;
46374        }
46375        /**
46376         * @inheritDoc
46377         */
46378        setRequestSession(requestSession) {
46379          this._requestSession = requestSession;
46380          return this;
46381        }
46382        /**
46383         * @inheritDoc
46384         */
46385        setTags(tags) {
46386          this._tags = __spreadValues(__spreadValues({}, this._tags), tags);
46387          this._notifyScopeListeners();
46388          return this;
46389        }
46390        /**
46391         * @inheritDoc
46392         */
46393        setTag(key, value) {
46394          this._tags = __spreadProps(__spreadValues({}, this._tags), { [key]: value });
46395          this._notifyScopeListeners();
46396          return this;
46397        }
46398        /**
46399         * @inheritDoc
46400         */
46401        setExtras(extras) {
46402          this._extra = __spreadValues(__spreadValues({}, this._extra), extras);
46403          this._notifyScopeListeners();
46404          return this;
46405        }
46406        /**
46407         * @inheritDoc
46408         */
46409        setExtra(key, extra) {
46410          this._extra = __spreadProps(__spreadValues({}, this._extra), { [key]: extra });
46411          this._notifyScopeListeners();
46412          return this;
46413        }
46414        /**
46415         * @inheritDoc
46416         */
46417        setFingerprint(fingerprint) {
46418          this._fingerprint = fingerprint;
46419          this._notifyScopeListeners();
46420          return this;
46421        }
46422        /**
46423         * @inheritDoc
46424         */
46425        setLevel(level) {
46426          this._level = level;
46427          this._notifyScopeListeners();
46428          return this;
46429        }
46430        /**
46431         * Sets the transaction name on the scope for future events.
46432         */
46433        setTransactionName(name2) {
46434          this._transactionName = name2;
46435          this._notifyScopeListeners();
46436          return this;
46437        }
46438        /**
46439         * @inheritDoc
46440         */
46441        setContext(key, context) {
46442          if (context === null) {
46443            delete this._contexts[key];
46444          } else {
46445            this._contexts[key] = context;
46446          }
46447          this._notifyScopeListeners();
46448          return this;
46449        }
46450        /**
46451         * Sets the Span on the scope.
46452         * @param span Span
46453         * @deprecated Instead of setting a span on a scope, use `startSpan()`/`startSpanManual()` instead.
46454         */
46455        setSpan(span) {
46456          this._span = span;
46457          this._notifyScopeListeners();
46458          return this;
46459        }
46460        /**
46461         * Returns the `Span` if there is one.
46462         * @deprecated Use `getActiveSpan()` instead.
46463         */
46464        getSpan() {
46465          return this._span;
46466        }
46467        /**
46468         * Returns the `Transaction` attached to the scope (if there is one).
46469         * @deprecated You should not rely on the transaction, but just use `startSpan()` APIs instead.
46470         */
46471        getTransaction() {
46472          const span = this._span;
46473          return span && span.transaction;
46474        }
46475        /**
46476         * @inheritDoc
46477         */
46478        setSession(session) {
46479          if (!session) {
46480            delete this._session;
46481          } else {
46482            this._session = session;
46483          }
46484          this._notifyScopeListeners();
46485          return this;
46486        }
46487        /**
46488         * @inheritDoc
46489         */
46490        getSession() {
46491          return this._session;
46492        }
46493        /**
46494         * @inheritDoc
46495         */
46496        update(captureContext) {
46497          if (!captureContext) {
46498            return this;
46499          }
46500          const scopeToMerge = typeof captureContext === "function" ? captureContext(this) : captureContext;
46501          if (scopeToMerge instanceof _Scope) {
46502            const scopeData = scopeToMerge.getScopeData();
46503            this._tags = __spreadValues(__spreadValues({}, this._tags), scopeData.tags);
46504            this._extra = __spreadValues(__spreadValues({}, this._extra), scopeData.extra);
46505            this._contexts = __spreadValues(__spreadValues({}, this._contexts), scopeData.contexts);
46506            if (scopeData.user && Object.keys(scopeData.user).length) {
46507              this._user = scopeData.user;
46508            }
46509            if (scopeData.level) {
46510              this._level = scopeData.level;
46511            }
46512            if (scopeData.fingerprint.length) {
46513              this._fingerprint = scopeData.fingerprint;
46514            }
46515            if (scopeToMerge.getRequestSession()) {
46516              this._requestSession = scopeToMerge.getRequestSession();
46517            }
46518            if (scopeData.propagationContext) {
46519              this._propagationContext = scopeData.propagationContext;
46520            }
46521          } else if (isPlainObject2(scopeToMerge)) {
46522            const scopeContext = captureContext;
46523            this._tags = __spreadValues(__spreadValues({}, this._tags), scopeContext.tags);
46524            this._extra = __spreadValues(__spreadValues({}, this._extra), scopeContext.extra);
46525            this._contexts = __spreadValues(__spreadValues({}, this._contexts), scopeContext.contexts);
46526            if (scopeContext.user) {
46527              this._user = scopeContext.user;
46528            }
46529            if (scopeContext.level) {
46530              this._level = scopeContext.level;
46531            }
46532            if (scopeContext.fingerprint) {
46533              this._fingerprint = scopeContext.fingerprint;
46534            }
46535            if (scopeContext.requestSession) {
46536              this._requestSession = scopeContext.requestSession;
46537            }
46538            if (scopeContext.propagationContext) {
46539              this._propagationContext = scopeContext.propagationContext;
46540            }
46541          }
46542          return this;
46543        }
46544        /**
46545         * @inheritDoc
46546         */
46547        clear() {
46548          this._breadcrumbs = [];
46549          this._tags = {};
46550          this._extra = {};
46551          this._user = {};
46552          this._contexts = {};
46553          this._level = void 0;
46554          this._transactionName = void 0;
46555          this._fingerprint = void 0;
46556          this._requestSession = void 0;
46557          this._span = void 0;
46558          this._session = void 0;
46559          this._notifyScopeListeners();
46560          this._attachments = [];
46561          this._propagationContext = generatePropagationContext();
46562          return this;
46563        }
46564        /**
46565         * @inheritDoc
46566         */
46567        addBreadcrumb(breadcrumb, maxBreadcrumbs) {
46568          const maxCrumbs = typeof maxBreadcrumbs === "number" ? maxBreadcrumbs : DEFAULT_MAX_BREADCRUMBS;
46569          if (maxCrumbs <= 0) {
46570            return this;
46571          }
46572          const mergedBreadcrumb = __spreadValues({
46573            timestamp: dateTimestampInSeconds()
46574          }, breadcrumb);
46575          const breadcrumbs = this._breadcrumbs;
46576          breadcrumbs.push(mergedBreadcrumb);
46577          this._breadcrumbs = breadcrumbs.length > maxCrumbs ? breadcrumbs.slice(-maxCrumbs) : breadcrumbs;
46578          this._notifyScopeListeners();
46579          return this;
46580        }
46581        /**
46582         * @inheritDoc
46583         */
46584        getLastBreadcrumb() {
46585          return this._breadcrumbs[this._breadcrumbs.length - 1];
46586        }
46587        /**
46588         * @inheritDoc
46589         */
46590        clearBreadcrumbs() {
46591          this._breadcrumbs = [];
46592          this._notifyScopeListeners();
46593          return this;
46594        }
46595        /**
46596         * @inheritDoc
46597         */
46598        addAttachment(attachment) {
46599          this._attachments.push(attachment);
46600          return this;
46601        }
46602        /**
46603         * @inheritDoc
46604         * @deprecated Use `getScopeData()` instead.
46605         */
46606        getAttachments() {
46607          const data = this.getScopeData();
46608          return data.attachments;
46609        }
46610        /**
46611         * @inheritDoc
46612         */
46613        clearAttachments() {
46614          this._attachments = [];
46615          return this;
46616        }
46617        /** @inheritDoc */
46618        getScopeData() {
46619          const {
46620            _breadcrumbs,
46621            _attachments,
46622            _contexts,
46623            _tags,
46624            _extra,
46625            _user,
46626            _level,
46627            _fingerprint,
46628            _eventProcessors,
46629            _propagationContext,
46630            _sdkProcessingMetadata,
46631            _transactionName,
46632            _span
46633          } = this;
46634          return {
46635            breadcrumbs: _breadcrumbs,
46636            attachments: _attachments,
46637            contexts: _contexts,
46638            tags: _tags,
46639            extra: _extra,
46640            user: _user,
46641            level: _level,
46642            fingerprint: _fingerprint || [],
46643            eventProcessors: _eventProcessors,
46644            propagationContext: _propagationContext,
46645            sdkProcessingMetadata: _sdkProcessingMetadata,
46646            transactionName: _transactionName,
46647            span: _span
46648          };
46649        }
46650        /**
46651         * Applies data from the scope to the event and runs all event processors on it.
46652         *
46653         * @param event Event
46654         * @param hint Object containing additional information about the original exception, for use by the event processors.
46655         * @hidden
46656         * @deprecated Use `applyScopeDataToEvent()` directly
46657         */
46658        applyToEvent(event, hint = {}, additionalEventProcessors = []) {
46659          applyScopeDataToEvent(event, this.getScopeData());
46660          const eventProcessors = [
46661            ...additionalEventProcessors,
46662            // eslint-disable-next-line deprecation/deprecation
46663            ...getGlobalEventProcessors(),
46664            ...this._eventProcessors
46665          ];
46666          return notifyEventProcessors(eventProcessors, event, hint);
46667        }
46668        /**
46669         * Add data which will be accessible during event processing but won't get sent to Sentry
46670         */
46671        setSDKProcessingMetadata(newData) {
46672          this._sdkProcessingMetadata = __spreadValues(__spreadValues({}, this._sdkProcessingMetadata), newData);
46673          return this;
46674        }
46675        /**
46676         * @inheritDoc
46677         */
46678        setPropagationContext(context) {
46679          this._propagationContext = context;
46680          return this;
46681        }
46682        /**
46683         * @inheritDoc
46684         */
46685        getPropagationContext() {
46686          return this._propagationContext;
46687        }
46688        /**
46689         * Capture an exception for this scope.
46690         *
46691         * @param exception The exception to capture.
46692         * @param hint Optinal additional data to attach to the Sentry event.
46693         * @returns the id of the captured Sentry event.
46694         */
46695        captureException(exception, hint) {
46696          const eventId = hint && hint.event_id ? hint.event_id : uuid4();
46697          if (!this._client) {
46698            logger.warn("No client configured on scope - will not capture exception!");
46699            return eventId;
46700          }
46701          const syntheticException = new Error("Sentry syntheticException");
46702          this._client.captureException(
46703            exception,
46704            __spreadProps(__spreadValues({
46705              originalException: exception,
46706              syntheticException
46707            }, hint), {
46708              event_id: eventId
46709            }),
46710            this
46711          );
46712          return eventId;
46713        }
46714        /**
46715         * Capture a message for this scope.
46716         *
46717         * @param message The message to capture.
46718         * @param level An optional severity level to report the message with.
46719         * @param hint Optional additional data to attach to the Sentry event.
46720         * @returns the id of the captured message.
46721         */
46722        captureMessage(message, level, hint) {
46723          const eventId = hint && hint.event_id ? hint.event_id : uuid4();
46724          if (!this._client) {
46725            logger.warn("No client configured on scope - will not capture message!");
46726            return eventId;
46727          }
46728          const syntheticException = new Error(message);
46729          this._client.captureMessage(
46730            message,
46731            level,
46732            __spreadProps(__spreadValues({
46733              originalException: message,
46734              syntheticException
46735            }, hint), {
46736              event_id: eventId
46737            }),
46738            this
46739          );
46740          return eventId;
46741        }
46742        /**
46743         * Captures a manually created event for this scope and sends it to Sentry.
46744         *
46745         * @param exception The event to capture.
46746         * @param hint Optional additional data to attach to the Sentry event.
46747         * @returns the id of the captured event.
46748         */
46749        captureEvent(event, hint) {
46750          const eventId = hint && hint.event_id ? hint.event_id : uuid4();
46751          if (!this._client) {
46752            logger.warn("No client configured on scope - will not capture event!");
46753            return eventId;
46754          }
46755          this._client.captureEvent(event, __spreadProps(__spreadValues({}, hint), { event_id: eventId }), this);
46756          return eventId;
46757        }
46758        /**
46759         * This will be called on every set call.
46760         */
46761        _notifyScopeListeners() {
46762          if (!this._notifyingListeners) {
46763            this._notifyingListeners = true;
46764            this._scopeListeners.forEach((callback) => {
46765              callback(this);
46766            });
46767            this._notifyingListeners = false;
46768          }
46769        }
46770      };
46771    }
46772  });
46773
46774  
vendor: 217 bytes, lines 46774-46783
46774// node_modules/@sentry/core/esm/version.js
46775  var SDK_VERSION;
46776  var init_version = __esm({
46777    "node_modules/@sentry/core/esm/version.js"() {
46778      init_esbuild_shims();
46779      SDK_VERSION = "7.120.4";
46780    }
46781  });
46782
46783  
vendor: 18,151 bytes, lines 46783-47313
46783// node_modules/@sentry/core/esm/hub.js
46784  function getMainCarrier() {
46785    GLOBAL_OBJ.__SENTRY__ = GLOBAL_OBJ.__SENTRY__ || {
46786      extensions: {},
46787      hub: void 0
46788    };
46789    return GLOBAL_OBJ;
46790  }
46791  function makeMain(hub) {
46792    const registry = getMainCarrier();
46793    const oldHub = getHubFromCarrier(registry);
46794    setHubOnCarrier(registry, hub);
46795    return oldHub;
46796  }
46797  function getCurrentHub() {
46798    const registry = getMainCarrier();
46799    if (registry.__SENTRY__ && registry.__SENTRY__.acs) {
46800      const hub = registry.__SENTRY__.acs.getCurrentHub();
46801      if (hub) {
46802        return hub;
46803      }
46804    }
46805    return getGlobalHub(registry);
46806  }
46807  function getIsolationScope() {
46808    return getCurrentHub().getIsolationScope();
46809  }
46810  function getGlobalHub(registry = getMainCarrier()) {
46811    if (!hasHubOnCarrier(registry) || // eslint-disable-next-line deprecation/deprecation
46812    getHubFromCarrier(registry).isOlderThan(API_VERSION)) {
46813      setHubOnCarrier(registry, new Hub());
46814    }
46815    return getHubFromCarrier(registry);
46816  }
46817  function hasHubOnCarrier(carrier) {
46818    return !!(carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub);
46819  }
46820  function getHubFromCarrier(carrier) {
46821    return getGlobalSingleton("hub", () => new Hub(), carrier);
46822  }
46823  function setHubOnCarrier(carrier, hub) {
46824    if (!carrier) return false;
46825    const __SENTRY__ = carrier.__SENTRY__ = carrier.__SENTRY__ || {};
46826    __SENTRY__.hub = hub;
46827    return true;
46828  }
46829  var API_VERSION, DEFAULT_BREADCRUMBS, Hub;
46830  var init_hub = __esm({
46831    "node_modules/@sentry/core/esm/hub.js"() {
46832      init_esbuild_shims();
46833      init_esm();
46834      init_constants();
46835      init_debug_build2();
46836      init_scope();
46837      init_session();
46838      init_version();
46839      API_VERSION = parseFloat(SDK_VERSION);
46840      DEFAULT_BREADCRUMBS = 100;
46841      Hub = class {
46842        /** Is a {@link Layer}[] containing the client and scope */
46843        /** Contains the last event id of a captured event.  */
46844        /**
46845         * Creates a new instance of the hub, will push one {@link Layer} into the
46846         * internal stack on creation.
46847         *
46848         * @param client bound to the hub.
46849         * @param scope bound to the hub.
46850         * @param version number, higher number means higher priority.
46851         *
46852         * @deprecated Instantiation of Hub objects is deprecated and the constructor will be removed in version 8 of the SDK.
46853         *
46854         * If you are currently using the Hub for multi-client use like so:
46855         *
46856         * ```
46857         * // OLD
46858         * const hub = new Hub();
46859         * hub.bindClient(client);
46860         * makeMain(hub)
46861         * ```
46862         *
46863         * instead initialize the client as follows:
46864         *
46865         * ```
46866         * // NEW
46867         * Sentry.withIsolationScope(() => {
46868         *    Sentry.setCurrentClient(client);
46869         *    client.init();
46870         * });
46871         * ```
46872         *
46873         * If you are using the Hub to capture events like so:
46874         *
46875         * ```
46876         * // OLD
46877         * const client = new Client();
46878         * const hub = new Hub(client);
46879         * hub.captureException()
46880         * ```
46881         *
46882         * instead capture isolated events as follows:
46883         *
46884         * ```
46885         * // NEW
46886         * const client = new Client();
46887         * const scope = new Scope();
46888         * scope.setClient(client);
46889         * scope.captureException();
46890         * ```
46891         */
46892        constructor(client, scope, isolationScope, _version = API_VERSION) {
46893          this._version = _version;
46894          let assignedScope;
46895          if (!scope) {
46896            assignedScope = new Scope();
46897            assignedScope.setClient(client);
46898          } else {
46899            assignedScope = scope;
46900          }
46901          let assignedIsolationScope;
46902          if (!isolationScope) {
46903            assignedIsolationScope = new Scope();
46904            assignedIsolationScope.setClient(client);
46905          } else {
46906            assignedIsolationScope = isolationScope;
46907          }
46908          this._stack = [{ scope: assignedScope }];
46909          if (client) {
46910            this.bindClient(client);
46911          }
46912          this._isolationScope = assignedIsolationScope;
46913        }
46914        /**
46915         * Checks if this hub's version is older than the given version.
46916         *
46917         * @param version A version number to compare to.
46918         * @return True if the given version is newer; otherwise false.
46919         *
46920         * @deprecated This will be removed in v8.
46921         */
46922        isOlderThan(version) {
46923          return this._version < version;
46924        }
46925        /**
46926         * This binds the given client to the current scope.
46927         * @param client An SDK client (client) instance.
46928         *
46929         * @deprecated Use `initAndBind()` directly, or `setCurrentClient()` and/or `client.init()` instead.
46930         */
46931        bindClient(client) {
46932          const top = this.getStackTop();
46933          top.client = client;
46934          top.scope.setClient(client);
46935          if (client && client.setupIntegrations) {
46936            client.setupIntegrations();
46937          }
46938        }
46939        /**
46940         * @inheritDoc
46941         *
46942         * @deprecated Use `withScope` instead.
46943         */
46944        pushScope() {
46945          const scope = this.getScope().clone();
46946          this.getStack().push({
46947            // eslint-disable-next-line deprecation/deprecation
46948            client: this.getClient(),
46949            scope
46950          });
46951          return scope;
46952        }
46953        /**
46954         * @inheritDoc
46955         *
46956         * @deprecated Use `withScope` instead.
46957         */
46958        popScope() {
46959          if (this.getStack().length <= 1) return false;
46960          return !!this.getStack().pop();
46961        }
46962        /**
46963         * @inheritDoc
46964         *
46965         * @deprecated Use `Sentry.withScope()` instead.
46966         */
46967        withScope(callback) {
46968          const scope = this.pushScope();
46969          let maybePromiseResult;
46970          try {
46971            maybePromiseResult = callback(scope);
46972          } catch (e) {
46973            this.popScope();
46974            throw e;
46975          }
46976          if (isThenable2(maybePromiseResult)) {
46977            return maybePromiseResult.then(
46978              (res) => {
46979                this.popScope();
46980                return res;
46981              },
46982              (e) => {
46983                this.popScope();
46984                throw e;
46985              }
46986            );
46987          }
46988          this.popScope();
46989          return maybePromiseResult;
46990        }
46991        /**
46992         * @inheritDoc
46993         *
46994         * @deprecated Use `Sentry.getClient()` instead.
46995         */
46996        getClient() {
46997          return this.getStackTop().client;
46998        }
46999        /**
47000         * Returns the scope of the top stack.
47001         *
47002         * @deprecated Use `Sentry.getCurrentScope()` instead.
47003         */
47004        getScope() {
47005          return this.getStackTop().scope;
47006        }
47007        /**
47008         * @deprecated Use `Sentry.getIsolationScope()` instead.
47009         */
47010        getIsolationScope() {
47011          return this._isolationScope;
47012        }
47013        /**
47014         * Returns the scope stack for domains or the process.
47015         * @deprecated This will be removed in v8.
47016         */
47017        getStack() {
47018          return this._stack;
47019        }
47020        /**
47021         * Returns the topmost scope layer in the order domain > local > process.
47022         * @deprecated This will be removed in v8.
47023         */
47024        getStackTop() {
47025          return this._stack[this._stack.length - 1];
47026        }
47027        /**
47028         * @inheritDoc
47029         *
47030         * @deprecated Use `Sentry.captureException()` instead.
47031         */
47032        captureException(exception, hint) {
47033          const eventId = this._lastEventId = hint && hint.event_id ? hint.event_id : uuid4();
47034          const syntheticException = new Error("Sentry syntheticException");
47035          this.getScope().captureException(exception, __spreadProps(__spreadValues({
47036            originalException: exception,
47037            syntheticException
47038          }, hint), {
47039            event_id: eventId
47040          }));
47041          return eventId;
47042        }
47043        /**
47044         * @inheritDoc
47045         *
47046         * @deprecated Use  `Sentry.captureMessage()` instead.
47047         */
47048        captureMessage(message, level, hint) {
47049          const eventId = this._lastEventId = hint && hint.event_id ? hint.event_id : uuid4();
47050          const syntheticException = new Error(message);
47051          this.getScope().captureMessage(message, level, __spreadProps(__spreadValues({
47052            originalException: message,
47053            syntheticException
47054          }, hint), {
47055            event_id: eventId
47056          }));
47057          return eventId;
47058        }
47059        /**
47060         * @inheritDoc
47061         *
47062         * @deprecated Use `Sentry.captureEvent()` instead.
47063         */
47064        captureEvent(event, hint) {
47065          const eventId = hint && hint.event_id ? hint.event_id : uuid4();
47066          if (!event.type) {
47067            this._lastEventId = eventId;
47068          }
47069          this.getScope().captureEvent(event, __spreadProps(__spreadValues({}, hint), { event_id: eventId }));
47070          return eventId;
47071        }
47072        /**
47073         * @inheritDoc
47074         *
47075         * @deprecated This will be removed in v8.
47076         */
47077        lastEventId() {
47078          return this._lastEventId;
47079        }
47080        /**
47081         * @inheritDoc
47082         *
47083         * @deprecated Use `Sentry.addBreadcrumb()` instead.
47084         */
47085        addBreadcrumb(breadcrumb, hint) {
47086          const { scope, client } = this.getStackTop();
47087          if (!client) return;
47088          const { beforeBreadcrumb = null, maxBreadcrumbs = DEFAULT_BREADCRUMBS } = client.getOptions && client.getOptions() || {};
47089          if (maxBreadcrumbs <= 0) return;
47090          const timestamp = dateTimestampInSeconds();
47091          const mergedBreadcrumb = __spreadValues({ timestamp }, breadcrumb);
47092          const finalBreadcrumb = beforeBreadcrumb ? consoleSandbox(() => beforeBreadcrumb(mergedBreadcrumb, hint)) : mergedBreadcrumb;
47093          if (finalBreadcrumb === null) return;
47094          if (client.emit) {
47095            client.emit("beforeAddBreadcrumb", finalBreadcrumb, hint);
47096          }
47097          scope.addBreadcrumb(finalBreadcrumb, maxBreadcrumbs);
47098        }
47099        /**
47100         * @inheritDoc
47101         * @deprecated Use `Sentry.setUser()` instead.
47102         */
47103        setUser(user) {
47104          this.getScope().setUser(user);
47105          this.getIsolationScope().setUser(user);
47106        }
47107        /**
47108         * @inheritDoc
47109         * @deprecated Use `Sentry.setTags()` instead.
47110         */
47111        setTags(tags) {
47112          this.getScope().setTags(tags);
47113          this.getIsolationScope().setTags(tags);
47114        }
47115        /**
47116         * @inheritDoc
47117         * @deprecated Use `Sentry.setExtras()` instead.
47118         */
47119        setExtras(extras) {
47120          this.getScope().setExtras(extras);
47121          this.getIsolationScope().setExtras(extras);
47122        }
47123        /**
47124         * @inheritDoc
47125         * @deprecated Use `Sentry.setTag()` instead.
47126         */
47127        setTag(key, value) {
47128          this.getScope().setTag(key, value);
47129          this.getIsolationScope().setTag(key, value);
47130        }
47131        /**
47132         * @inheritDoc
47133         * @deprecated Use `Sentry.setExtra()` instead.
47134         */
47135        setExtra(key, extra) {
47136          this.getScope().setExtra(key, extra);
47137          this.getIsolationScope().setExtra(key, extra);
47138        }
47139        /**
47140         * @inheritDoc
47141         * @deprecated Use `Sentry.setContext()` instead.
47142         */
47143        // eslint-disable-next-line @typescript-eslint/no-explicit-any
47144        setContext(name2, context) {
47145          this.getScope().setContext(name2, context);
47146          this.getIsolationScope().setContext(name2, context);
47147        }
47148        /**
47149         * @inheritDoc
47150         *
47151         * @deprecated Use `getScope()` directly.
47152         */
47153        configureScope(callback) {
47154          const { scope, client } = this.getStackTop();
47155          if (client) {
47156            callback(scope);
47157          }
47158        }
47159        /**
47160         * @inheritDoc
47161         */
47162        // eslint-disable-next-line deprecation/deprecation
47163        run(callback) {
47164          const oldHub = makeMain(this);
47165          try {
47166            callback(this);
47167          } finally {
47168            makeMain(oldHub);
47169          }
47170        }
47171        /**
47172         * @inheritDoc
47173         * @deprecated Use `Sentry.getClient().getIntegrationByName()` instead.
47174         */
47175        getIntegration(integration) {
47176          const client = this.getClient();
47177          if (!client) return null;
47178          try {
47179            return client.getIntegration(integration);
47180          } catch (_oO) {
47181            DEBUG_BUILD2 && logger.warn(`Cannot retrieve integration ${integration.id} from the current Hub`);
47182            return null;
47183          }
47184        }
47185        /**
47186         * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.
47187         *
47188         * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a
47189         * new child span within the transaction or any span, call the respective `.startChild()` method.
47190         *
47191         * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded.
47192         *
47193         * The transaction must be finished with a call to its `.end()` method, at which point the transaction with all its
47194         * finished child spans will be sent to Sentry.
47195         *
47196         * @param context Properties of the new `Transaction`.
47197         * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent
47198         * default values). See {@link Options.tracesSampler}.
47199         *
47200         * @returns The transaction which was just started
47201         *
47202         * @deprecated Use `startSpan()`, `startSpanManual()` or `startInactiveSpan()` instead.
47203         */
47204        startTransaction(context, customSamplingContext) {
47205          const result = this._callExtensionMethod("startTransaction", context, customSamplingContext);
47206          if (DEBUG_BUILD2 && !result) {
47207            const client = this.getClient();
47208            if (!client) {
47209              logger.warn(
47210                "Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'"
47211              );
47212            } else {
47213              logger.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
47214Sentry.addTracingExtensions();
47215Sentry.init({...});
47216`);
47217            }
47218          }
47219          return result;
47220        }
47221        /**
47222         * @inheritDoc
47223         * @deprecated Use `spanToTraceHeader()` instead.
47224         */
47225        traceHeaders() {
47226          return this._callExtensionMethod("traceHeaders");
47227        }
47228        /**
47229         * @inheritDoc
47230         *
47231         * @deprecated Use top level `captureSession` instead.
47232         */
47233        captureSession(endSession2 = false) {
47234          if (endSession2) {
47235            return this.endSession();
47236          }
47237          this._sendSessionUpdate();
47238        }
47239        /**
47240         * @inheritDoc
47241         * @deprecated Use top level `endSession` instead.
47242         */
47243        endSession() {
47244          const layer2 = this.getStackTop();
47245          const scope = layer2.scope;
47246          const session = scope.getSession();
47247          if (session) {
47248            closeSession(session);
47249          }
47250          this._sendSessionUpdate();
47251          scope.setSession();
47252        }
47253        /**
47254         * @inheritDoc
47255         * @deprecated Use top level `startSession` instead.
47256         */
47257        startSession(context) {
47258          const { scope, client } = this.getStackTop();
47259          const { release, environment = DEFAULT_ENVIRONMENT } = client && client.getOptions() || {};
47260          const { userAgent: userAgent2 } = GLOBAL_OBJ.navigator || {};
47261          const session = makeSession(__spreadValues(__spreadValues({
47262            release,
47263            environment,
47264            user: scope.getUser()
47265          }, userAgent2 && { userAgent: userAgent2 }), context));
47266          const currentSession = scope.getSession && scope.getSession();
47267          if (currentSession && currentSession.status === "ok") {
47268            updateSession(currentSession, { status: "exited" });
47269          }
47270          this.endSession();
47271          scope.setSession(session);
47272          return session;
47273        }
47274        /**
47275         * Returns if default PII should be sent to Sentry and propagated in ourgoing requests
47276         * when Tracing is used.
47277         *
47278         * @deprecated Use top-level `getClient().getOptions().sendDefaultPii` instead. This function
47279         * only unnecessarily increased API surface but only wrapped accessing the option.
47280         */
47281        shouldSendDefaultPii() {
47282          const client = this.getClient();
47283          const options2 = client && client.getOptions();
47284          return Boolean(options2 && options2.sendDefaultPii);
47285        }
47286        /**
47287         * Sends the current Session on the scope
47288         */
47289        _sendSessionUpdate() {
47290          const { scope, client } = this.getStackTop();
47291          const session = scope.getSession();
47292          if (session && client && client.captureSession) {
47293            client.captureSession(session);
47294          }
47295        }
47296        /**
47297         * Calls global extension method and binding current instance to the function call
47298         */
47299        // @ts-expect-error Function lacks ending return statement and return type does not include 'undefined'. ts(2366)
47300        // eslint-disable-next-line @typescript-eslint/no-explicit-any
47301        _callExtensionMethod(method, ...args) {
47302          const carrier = getMainCarrier();
47303          const sentry = carrier.__SENTRY__;
47304          if (sentry && sentry.extensions && typeof sentry.extensions[method] === "function") {
47305            return sentry.extensions[method].apply(this, args);
47306          }
47307          DEBUG_BUILD2 && logger.warn(`Extension method ${method} couldn't be found, doing nothing.`);
47308        }
47309      };
47310    }
47311  });
47312
47313  
vendor: 1,674 bytes, lines 47313-47349
47313// node_modules/@sentry/core/esm/envelope.js
47314  function enhanceEventWithSdkInfo(event, sdkInfo) {
47315    if (!sdkInfo) {
47316      return event;
47317    }
47318    event.sdk = event.sdk || {};
47319    event.sdk.name = event.sdk.name || sdkInfo.name;
47320    event.sdk.version = event.sdk.version || sdkInfo.version;
47321    event.sdk.integrations = [...event.sdk.integrations || [], ...sdkInfo.integrations || []];
47322    event.sdk.packages = [...event.sdk.packages || [], ...sdkInfo.packages || []];
47323    return event;
47324  }
47325  function createSessionEnvelope(session, dsn, metadata, tunnel) {
47326    const sdkInfo = getSdkMetadataForEnvelopeHeader(metadata);
47327    const envelopeHeaders = __spreadValues(__spreadValues({
47328      sent_at: (/* @__PURE__ */ new Date()).toISOString()
47329    }, sdkInfo && { sdk: sdkInfo }), !!tunnel && dsn && { dsn: dsnToString(dsn) });
47330    const envelopeItem = "aggregates" in session ? [{ type: "sessions" }, session] : [{ type: "session" }, session.toJSON()];
47331    return createEnvelope(envelopeHeaders, [envelopeItem]);
47332  }
47333  function createEventEnvelope(event, dsn, metadata, tunnel) {
47334    const sdkInfo = getSdkMetadataForEnvelopeHeader(metadata);
47335    const eventType = event.type && event.type !== "replay_event" ? event.type : "event";
47336    enhanceEventWithSdkInfo(event, metadata && metadata.sdk);
47337    const envelopeHeaders = createEventEnvelopeHeaders(event, sdkInfo, tunnel, dsn);
47338    delete event.sdkProcessingMetadata;
47339    const eventItem = [{ type: eventType }, event];
47340    return createEnvelope(envelopeHeaders, [eventItem]);
47341  }
47342  var init_envelope2 = __esm({
47343    "node_modules/@sentry/core/esm/envelope.js"() {
47344      init_esbuild_shims();
47345      init_esm();
47346    }
47347  });
47348
47349  
vendor: 1,341 bytes, lines 47349-47380
47349// node_modules/@sentry/core/esm/api.js
47350  function getBaseApiEndpoint(dsn) {
47351    const protocol = dsn.protocol ? `${dsn.protocol}:` : "";
47352    const port = dsn.port ? `:${dsn.port}` : "";
47353    return `${protocol}//${dsn.host}${port}${dsn.path ? `/${dsn.path}` : ""}/api/`;
47354  }
47355  function _getIngestEndpoint(dsn) {
47356    return `${getBaseApiEndpoint(dsn)}${dsn.projectId}/envelope/`;
47357  }
47358  function _encodedAuth(dsn, sdkInfo) {
47359    return urlEncode(__spreadValues({
47360      // We send only the minimum set of required information. See
47361      // https://github.com/getsentry/sentry-javascript/issues/2572.
47362      sentry_key: dsn.publicKey,
47363      sentry_version: SENTRY_API_VERSION
47364    }, sdkInfo && { sentry_client: `${sdkInfo.name}/${sdkInfo.version}` }));
47365  }
47366  function getEnvelopeEndpointWithUrlEncodedAuth(dsn, tunnelOrOptions = {}) {
47367    const tunnel = typeof tunnelOrOptions === "string" ? tunnelOrOptions : tunnelOrOptions.tunnel;
47368    const sdkInfo = typeof tunnelOrOptions === "string" || !tunnelOrOptions._metadata ? void 0 : tunnelOrOptions._metadata.sdk;
47369    return tunnel ? tunnel : `${_getIngestEndpoint(dsn)}?${_encodedAuth(dsn, sdkInfo)}`;
47370  }
47371  var SENTRY_API_VERSION;
47372  var init_api = __esm({
47373    "node_modules/@sentry/core/esm/api.js"() {
47374      init_esbuild_shims();
47375      init_esm();
47376      SENTRY_API_VERSION = "7";
47377    }
47378  });
47379
47380  
vendor: 3,965 bytes, lines 47380-47486
47380// node_modules/@sentry/core/esm/integration.js
47381  function filterDuplicates(integrations) {
47382    const integrationsByName = {};
47383    integrations.forEach((currentInstance) => {
47384      const { name: name2 } = currentInstance;
47385      const existingInstance = integrationsByName[name2];
47386      if (existingInstance && !existingInstance.isDefaultInstance && currentInstance.isDefaultInstance) {
47387        return;
47388      }
47389      integrationsByName[name2] = currentInstance;
47390    });
47391    return Object.keys(integrationsByName).map((k) => integrationsByName[k]);
47392  }
47393  function getIntegrationsToSetup(options2) {
47394    const defaultIntegrations2 = options2.defaultIntegrations || [];
47395    const userIntegrations = options2.integrations;
47396    defaultIntegrations2.forEach((integration) => {
47397      integration.isDefaultInstance = true;
47398    });
47399    let integrations;
47400    if (Array.isArray(userIntegrations)) {
47401      integrations = [...defaultIntegrations2, ...userIntegrations];
47402    } else if (typeof userIntegrations === "function") {
47403      integrations = arrayify(userIntegrations(defaultIntegrations2));
47404    } else {
47405      integrations = defaultIntegrations2;
47406    }
47407    const finalIntegrations = filterDuplicates(integrations);
47408    const debugIndex = findIndex(finalIntegrations, (integration) => integration.name === "Debug");
47409    if (debugIndex !== -1) {
47410      const [debugInstance] = finalIntegrations.splice(debugIndex, 1);
47411      finalIntegrations.push(debugInstance);
47412    }
47413    return finalIntegrations;
47414  }
47415  function setupIntegrations(client, integrations) {
47416    const integrationIndex = {};
47417    integrations.forEach((integration) => {
47418      if (integration) {
47419        setupIntegration(client, integration, integrationIndex);
47420      }
47421    });
47422    return integrationIndex;
47423  }
47424  function afterSetupIntegrations(client, integrations) {
47425    for (const integration of integrations) {
47426      if (integration && integration.afterAllSetup) {
47427        integration.afterAllSetup(client);
47428      }
47429    }
47430  }
47431  function setupIntegration(client, integration, integrationIndex) {
47432    if (integrationIndex[integration.name]) {
47433      DEBUG_BUILD2 && logger.log(`Integration skipped because it was already installed: ${integration.name}`);
47434      return;
47435    }
47436    integrationIndex[integration.name] = integration;
47437    if (installedIntegrations.indexOf(integration.name) === -1) {
47438      integration.setupOnce(addGlobalEventProcessor, getCurrentHub);
47439      installedIntegrations.push(integration.name);
47440    }
47441    if (integration.setup && typeof integration.setup === "function") {
47442      integration.setup(client);
47443    }
47444    if (client.on && typeof integration.preprocessEvent === "function") {
47445      const callback = integration.preprocessEvent.bind(integration);
47446      client.on("preprocessEvent", (event, hint) => callback(event, hint, client));
47447    }
47448    if (client.addEventProcessor && typeof integration.processEvent === "function") {
47449      const callback = integration.processEvent.bind(integration);
47450      const processor = (event, hint) => callback(event, hint, client);
47451      processor.id = integration.name;
47452      client.addEventProcessor(processor);
47453    }
47454    DEBUG_BUILD2 && logger.log(`Integration installed: ${integration.name}`);
47455  }
47456  function findIndex(arr, callback) {
47457    for (let i2 = 0; i2 < arr.length; i2++) {
47458      if (callback(arr[i2]) === true) {
47459        return i2;
47460      }
47461    }
47462    return -1;
47463  }
47464  function convertIntegrationFnToClass(name2, fn) {
47465    const ConvertedIntegration = function ConvertedIntegration2(...args) {
47466      return fn(...args);
47467    };
47468    ConvertedIntegration.id = name2;
47469    return ConvertedIntegration;
47470  }
47471  function defineIntegration(fn) {
47472    return fn;
47473  }
47474  var installedIntegrations;
47475  var init_integration = __esm({
47476    "node_modules/@sentry/core/esm/integration.js"() {
47477      init_esbuild_shims();
47478      init_esm();
47479      init_debug_build2();
47480      init_eventProcessors();
47481      init_hub();
47482      installedIntegrations = [];
47483    }
47484  });
47485
47486  
vendor: 604 bytes, lines 47486-47503
47486// node_modules/@sentry/core/esm/metrics/utils.js
47487  function serializeMetricBuckets(metricBucketItems) {
47488    let out = "";
47489    for (const item of metricBucketItems) {
47490      const tagEntries = Object.entries(item.tags);
47491      const maybeTags = tagEntries.length > 0 ? `|#${tagEntries.map(([key, value]) => `${key}:${value}`).join(",")}` : "";
47492      out += `${item.name}@${item.unit}:${item.metric}|${item.metricType}${maybeTags}|T${item.timestamp}
47493`;
47494    }
47495    return out;
47496  }
47497  var init_utils3 = __esm({
47498    "node_modules/@sentry/core/esm/metrics/utils.js"() {
47499      init_esbuild_shims();
47500    }
47501  });
47502
47503  
vendor: 961 bytes, lines 47503-47536
47503// node_modules/@sentry/core/esm/metrics/envelope.js
47504  function createMetricEnvelope(metricBucketItems, dsn, metadata, tunnel) {
47505    const headers = {
47506      sent_at: (/* @__PURE__ */ new Date()).toISOString()
47507    };
47508    if (metadata && metadata.sdk) {
47509      headers.sdk = {
47510        name: metadata.sdk.name,
47511        version: metadata.sdk.version
47512      };
47513    }
47514    if (!!tunnel && dsn) {
47515      headers.dsn = dsnToString(dsn);
47516    }
47517    const item = createMetricEnvelopeItem(metricBucketItems);
47518    return createEnvelope(headers, [item]);
47519  }
47520  function createMetricEnvelopeItem(metricBucketItems) {
47521    const payload = serializeMetricBuckets(metricBucketItems);
47522    const metricHeaders = {
47523      type: "statsd",
47524      length: payload.length
47525    };
47526    return [metricHeaders, payload];
47527  }
47528  var init_envelope3 = __esm({
47529    "node_modules/@sentry/core/esm/metrics/envelope.js"() {
47530      init_esbuild_shims();
47531      init_esm();
47532      init_utils3();
47533    }
47534  });
47535
47536  
vendor: 23,904 bytes, lines 47536-48152
47536// node_modules/@sentry/core/esm/baseclient.js
47537  function _validateBeforeSendResult(beforeSendResult, beforeSendLabel) {
47538    const invalidValueError = `${beforeSendLabel} must return \`null\` or a valid event.`;
47539    if (isThenable2(beforeSendResult)) {
47540      return beforeSendResult.then(
47541        (event) => {
47542          if (!isPlainObject2(event) && event !== null) {
47543            throw new SentryError(invalidValueError);
47544          }
47545          return event;
47546        },
47547        (e) => {
47548          throw new SentryError(`${beforeSendLabel} rejected with ${e}`);
47549        }
47550      );
47551    } else if (!isPlainObject2(beforeSendResult) && beforeSendResult !== null) {
47552      throw new SentryError(invalidValueError);
47553    }
47554    return beforeSendResult;
47555  }
47556  function processBeforeSend(options2, event, hint) {
47557    const { beforeSend, beforeSendTransaction } = options2;
47558    if (isErrorEvent2(event) && beforeSend) {
47559      return beforeSend(event, hint);
47560    }
47561    if (isTransactionEvent(event) && beforeSendTransaction) {
47562      if (event.spans) {
47563        const spanCountBefore = event.spans.length;
47564        event.sdkProcessingMetadata = __spreadProps(__spreadValues({}, event.sdkProcessingMetadata), {
47565          spanCountBeforeProcessing: spanCountBefore
47566        });
47567      }
47568      return beforeSendTransaction(event, hint);
47569    }
47570    return event;
47571  }
47572  function isErrorEvent2(event) {
47573    return event.type === void 0;
47574  }
47575  function isTransactionEvent(event) {
47576    return event.type === "transaction";
47577  }
47578  var ALREADY_SEEN_ERROR, BaseClient;
47579  var init_baseclient = __esm({
47580    "node_modules/@sentry/core/esm/baseclient.js"() {
47581      init_esbuild_shims();
47582      init_esm();
47583      init_api();
47584      init_debug_build2();
47585      init_envelope2();
47586      init_hub();
47587      init_integration();
47588      init_envelope3();
47589      init_session();
47590      init_dynamicSamplingContext();
47591      init_prepareEvent();
47592      ALREADY_SEEN_ERROR = "Not capturing exception because it's already been captured.";
47593      BaseClient = class {
47594        /**
47595         * A reference to a metrics aggregator
47596         *
47597         * @experimental Note this is alpha API. It may experience breaking changes in the future.
47598         */
47599        /** Options passed to the SDK. */
47600        /** The client Dsn, if specified in options. Without this Dsn, the SDK will be disabled. */
47601        /** Array of set up integrations. */
47602        /** Indicates whether this client's integrations have been set up. */
47603        /** Number of calls being processed */
47604        /** Holds flushable  */
47605        // eslint-disable-next-line @typescript-eslint/ban-types
47606        /**
47607         * Initializes this client instance.
47608         *
47609         * @param options Options for the client.
47610         */
47611        constructor(options2) {
47612          this._options = options2;
47613          this._integrations = {};
47614          this._integrationsInitialized = false;
47615          this._numProcessing = 0;
47616          this._outcomes = {};
47617          this._hooks = {};
47618          this._eventProcessors = [];
47619          if (options2.dsn) {
47620            this._dsn = makeDsn(options2.dsn);
47621          } else {
47622            DEBUG_BUILD2 && logger.warn("No DSN provided, client will not send events.");
47623          }
47624          if (this._dsn) {
47625            const url = getEnvelopeEndpointWithUrlEncodedAuth(this._dsn, options2);
47626            this._transport = options2.transport(__spreadProps(__spreadValues({
47627              tunnel: this._options.tunnel,
47628              recordDroppedEvent: this.recordDroppedEvent.bind(this)
47629            }, options2.transportOptions), {
47630              url
47631            }));
47632          }
47633        }
47634        /**
47635         * @inheritDoc
47636         */
47637        // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
47638        captureException(exception, hint, scope) {
47639          if (checkOrSetAlreadyCaught(exception)) {
47640            DEBUG_BUILD2 && logger.log(ALREADY_SEEN_ERROR);
47641            return;
47642          }
47643          let eventId = hint && hint.event_id;
47644          this._process(
47645            this.eventFromException(exception, hint).then((event) => this._captureEvent(event, hint, scope)).then((result) => {
47646              eventId = result;
47647            })
47648          );
47649          return eventId;
47650        }
47651        /**
47652         * @inheritDoc
47653         */
47654        captureMessage(message, level, hint, scope) {
47655          let eventId = hint && hint.event_id;
47656          const eventMessage = isParameterizedString(message) ? message : String(message);
47657          const promisedEvent = isPrimitive(message) ? this.eventFromMessage(eventMessage, level, hint) : this.eventFromException(message, hint);
47658          this._process(
47659            promisedEvent.then((event) => this._captureEvent(event, hint, scope)).then((result) => {
47660              eventId = result;
47661            })
47662          );
47663          return eventId;
47664        }
47665        /**
47666         * @inheritDoc
47667         */
47668        captureEvent(event, hint, scope) {
47669          if (hint && hint.originalException && checkOrSetAlreadyCaught(hint.originalException)) {
47670            DEBUG_BUILD2 && logger.log(ALREADY_SEEN_ERROR);
47671            return;
47672          }
47673          let eventId = hint && hint.event_id;
47674          const sdkProcessingMetadata = event.sdkProcessingMetadata || {};
47675          const capturedSpanScope = sdkProcessingMetadata.capturedSpanScope;
47676          this._process(
47677            this._captureEvent(event, hint, capturedSpanScope || scope).then((result) => {
47678              eventId = result;
47679            })
47680          );
47681          return eventId;
47682        }
47683        /**
47684         * @inheritDoc
47685         */
47686        captureSession(session) {
47687          if (!(typeof session.release === "string")) {
47688            DEBUG_BUILD2 && logger.warn("Discarded session because of missing or non-string release");
47689          } else {
47690            this.sendSession(session);
47691            updateSession(session, { init: false });
47692          }
47693        }
47694        /**
47695         * @inheritDoc
47696         */
47697        getDsn() {
47698          return this._dsn;
47699        }
47700        /**
47701         * @inheritDoc
47702         */
47703        getOptions() {
47704          return this._options;
47705        }
47706        /**
47707         * @see SdkMetadata in @sentry/types
47708         *
47709         * @return The metadata of the SDK
47710         */
47711        getSdkMetadata() {
47712          return this._options._metadata;
47713        }
47714        /**
47715         * @inheritDoc
47716         */
47717        getTransport() {
47718          return this._transport;
47719        }
47720        /**
47721         * @inheritDoc
47722         */
47723        flush(timeout) {
47724          const transport = this._transport;
47725          if (transport) {
47726            if (this.metricsAggregator) {
47727              this.metricsAggregator.flush();
47728            }
47729            return this._isClientDoneProcessing(timeout).then((clientFinished) => {
47730              return transport.flush(timeout).then((transportFlushed) => clientFinished && transportFlushed);
47731            });
47732          } else {
47733            return resolvedSyncPromise(true);
47734          }
47735        }
47736        /**
47737         * @inheritDoc
47738         */
47739        close(timeout) {
47740          return this.flush(timeout).then((result) => {
47741            this.getOptions().enabled = false;
47742            if (this.metricsAggregator) {
47743              this.metricsAggregator.close();
47744            }
47745            return result;
47746          });
47747        }
47748        /** Get all installed event processors. */
47749        getEventProcessors() {
47750          return this._eventProcessors;
47751        }
47752        /** @inheritDoc */
47753        addEventProcessor(eventProcessor) {
47754          this._eventProcessors.push(eventProcessor);
47755        }
47756        /**
47757         * This is an internal function to setup all integrations that should run on the client.
47758         * @deprecated Use `client.init()` instead.
47759         */
47760        setupIntegrations(forceInitialize) {
47761          if (forceInitialize && !this._integrationsInitialized || this._isEnabled() && !this._integrationsInitialized) {
47762            this._setupIntegrations();
47763          }
47764        }
47765        /** @inheritdoc */
47766        init() {
47767          if (this._isEnabled()) {
47768            this._setupIntegrations();
47769          }
47770        }
47771        /**
47772         * Gets an installed integration by its `id`.
47773         *
47774         * @returns The installed integration or `undefined` if no integration with that `id` was installed.
47775         * @deprecated Use `getIntegrationByName()` instead.
47776         */
47777        getIntegrationById(integrationId) {
47778          return this.getIntegrationByName(integrationId);
47779        }
47780        /**
47781         * Gets an installed integration by its name.
47782         *
47783         * @returns The installed integration or `undefined` if no integration with that `name` was installed.
47784         */
47785        getIntegrationByName(integrationName) {
47786          return this._integrations[integrationName];
47787        }
47788        /**
47789         * Returns the client's instance of the given integration class, it any.
47790         * @deprecated Use `getIntegrationByName()` instead.
47791         */
47792        getIntegration(integration) {
47793          try {
47794            return this._integrations[integration.id] || null;
47795          } catch (_oO) {
47796            DEBUG_BUILD2 && logger.warn(`Cannot retrieve integration ${integration.id} from the current Client`);
47797            return null;
47798          }
47799        }
47800        /**
47801         * @inheritDoc
47802         */
47803        addIntegration(integration) {
47804          const isAlreadyInstalled = this._integrations[integration.name];
47805          setupIntegration(this, integration, this._integrations);
47806          if (!isAlreadyInstalled) {
47807            afterSetupIntegrations(this, [integration]);
47808          }
47809        }
47810        /**
47811         * @inheritDoc
47812         */
47813        sendEvent(event, hint = {}) {
47814          this.emit("beforeSendEvent", event, hint);
47815          let env = createEventEnvelope(event, this._dsn, this._options._metadata, this._options.tunnel);
47816          for (const attachment of hint.attachments || []) {
47817            env = addItemToEnvelope(
47818              env,
47819              createAttachmentEnvelopeItem(
47820                attachment,
47821                this._options.transportOptions && this._options.transportOptions.textEncoder
47822              )
47823            );
47824          }
47825          const promise = this._sendEnvelope(env);
47826          if (promise) {
47827            promise.then((sendResponse) => this.emit("afterSendEvent", event, sendResponse), null);
47828          }
47829        }
47830        /**
47831         * @inheritDoc
47832         */
47833        sendSession(session) {
47834          const env = createSessionEnvelope(session, this._dsn, this._options._metadata, this._options.tunnel);
47835          this._sendEnvelope(env);
47836        }
47837        /**
47838         * @inheritDoc
47839         */
47840        recordDroppedEvent(reason, category, eventOrCount) {
47841          if (this._options.sendClientReports) {
47842            const count = typeof eventOrCount === "number" ? eventOrCount : 1;
47843            const key = `${reason}:${category}`;
47844            DEBUG_BUILD2 && logger.log(`Recording outcome: "${key}"${count > 1 ? ` (${count} times)` : ""}`);
47845            this._outcomes[key] = (this._outcomes[key] || 0) + count;
47846          }
47847        }
47848        /**
47849         * @inheritDoc
47850         */
47851        captureAggregateMetrics(metricBucketItems) {
47852          DEBUG_BUILD2 && logger.log(`Flushing aggregated metrics, number of metrics: ${metricBucketItems.length}`);
47853          const metricsEnvelope = createMetricEnvelope(
47854            metricBucketItems,
47855            this._dsn,
47856            this._options._metadata,
47857            this._options.tunnel
47858          );
47859          this._sendEnvelope(metricsEnvelope);
47860        }
47861        // Keep on() & emit() signatures in sync with types' client.ts interface
47862        /* eslint-disable @typescript-eslint/unified-signatures */
47863        /** @inheritdoc */
47864        /** @inheritdoc */
47865        on(hook, callback) {
47866          if (!this._hooks[hook]) {
47867            this._hooks[hook] = [];
47868          }
47869          this._hooks[hook].push(callback);
47870        }
47871        /** @inheritdoc */
47872        /** @inheritdoc */
47873        emit(hook, ...rest) {
47874          if (this._hooks[hook]) {
47875            this._hooks[hook].forEach((callback) => callback(...rest));
47876          }
47877        }
47878        /* eslint-enable @typescript-eslint/unified-signatures */
47879        /** Setup integrations for this client. */
47880        _setupIntegrations() {
47881          const { integrations } = this._options;
47882          this._integrations = setupIntegrations(this, integrations);
47883          afterSetupIntegrations(this, integrations);
47884          this._integrationsInitialized = true;
47885        }
47886        /** Updates existing session based on the provided event */
47887        _updateSessionFromEvent(session, event) {
47888          let crashed = false;
47889          let errored = false;
47890          const exceptions = event.exception && event.exception.values;
47891          if (exceptions) {
47892            errored = true;
47893            for (const ex of exceptions) {
47894              const mechanism = ex.mechanism;
47895              if (mechanism && mechanism.handled === false) {
47896                crashed = true;
47897                break;
47898              }
47899            }
47900          }
47901          const sessionNonTerminal = session.status === "ok";
47902          const shouldUpdateAndSend = sessionNonTerminal && session.errors === 0 || sessionNonTerminal && crashed;
47903          if (shouldUpdateAndSend) {
47904            updateSession(session, __spreadProps(__spreadValues({}, crashed && { status: "crashed" }), {
47905              errors: session.errors || Number(errored || crashed)
47906            }));
47907            this.captureSession(session);
47908          }
47909        }
47910        /**
47911         * Determine if the client is finished processing. Returns a promise because it will wait `timeout` ms before saying
47912         * "no" (resolving to `false`) in order to give the client a chance to potentially finish first.
47913         *
47914         * @param timeout The time, in ms, after which to resolve to `false` if the client is still busy. Passing `0` (or not
47915         * passing anything) will make the promise wait as long as it takes for processing to finish before resolving to
47916         * `true`.
47917         * @returns A promise which will resolve to `true` if processing is already done or finishes before the timeout, and
47918         * `false` otherwise
47919         */
47920        _isClientDoneProcessing(timeout) {
47921          return new SyncPromise((resolve) => {
47922            let ticked = 0;
47923            const tick = 1;
47924            const interval = setInterval(() => {
47925              if (this._numProcessing == 0) {
47926                clearInterval(interval);
47927                resolve(true);
47928              } else {
47929                ticked += tick;
47930                if (timeout && ticked >= timeout) {
47931                  clearInterval(interval);
47932                  resolve(false);
47933                }
47934              }
47935            }, tick);
47936          });
47937        }
47938        /** Determines whether this SDK is enabled and a transport is present. */
47939        _isEnabled() {
47940          return this.getOptions().enabled !== false && this._transport !== void 0;
47941        }
47942        /**
47943         * Adds common information to events.
47944         *
47945         * The information includes release and environment from `options`,
47946         * breadcrumbs and context (extra, tags and user) from the scope.
47947         *
47948         * Information that is already present in the event is never overwritten. For
47949         * nested objects, such as the context, keys are merged.
47950         *
47951         * @param event The original event.
47952         * @param hint May contain additional information about the original exception.
47953         * @param scope A scope containing event metadata.
47954         * @returns A new event with more information.
47955         */
47956        _prepareEvent(event, hint, scope, isolationScope = getIsolationScope()) {
47957          const options2 = this.getOptions();
47958          const integrations = Object.keys(this._integrations);
47959          if (!hint.integrations && integrations.length > 0) {
47960            hint.integrations = integrations;
47961          }
47962          this.emit("preprocessEvent", event, hint);
47963          return prepareEvent(options2, event, hint, scope, this, isolationScope).then((evt) => {
47964            if (evt === null) {
47965              return evt;
47966            }
47967            const propagationContext = __spreadValues(__spreadValues({}, isolationScope.getPropagationContext()), scope ? scope.getPropagationContext() : void 0);
47968            const trace2 = evt.contexts && evt.contexts.trace;
47969            if (!trace2 && propagationContext) {
47970              const { traceId: trace_id, spanId, parentSpanId, dsc } = propagationContext;
47971              evt.contexts = __spreadValues({
47972                trace: {
47973                  trace_id,
47974                  span_id: spanId,
47975                  parent_span_id: parentSpanId
47976                }
47977              }, evt.contexts);
47978              const dynamicSamplingContext = dsc ? dsc : getDynamicSamplingContextFromClient(trace_id, this, scope);
47979              evt.sdkProcessingMetadata = __spreadValues({
47980                dynamicSamplingContext
47981              }, evt.sdkProcessingMetadata);
47982            }
47983            return evt;
47984          });
47985        }
47986        /**
47987         * Processes the event and logs an error in case of rejection
47988         * @param event
47989         * @param hint
47990         * @param scope
47991         */
47992        _captureEvent(event, hint = {}, scope) {
47993          return this._processEvent(event, hint, scope).then(
47994            (finalEvent) => {
47995              return finalEvent.event_id;
47996            },
47997            (reason) => {
47998              if (DEBUG_BUILD2) {
47999                const sentryError = reason;
48000                if (sentryError.logLevel === "log") {
48001                  logger.log(sentryError.message);
48002                } else {
48003                  logger.warn(sentryError);
48004                }
48005              }
48006              return void 0;
48007            }
48008          );
48009        }
48010        /**
48011         * Processes an event (either error or message) and sends it to Sentry.
48012         *
48013         * This also adds breadcrumbs and context information to the event. However,
48014         * platform specific meta data (such as the User's IP address) must be added
48015         * by the SDK implementor.
48016         *
48017         *
48018         * @param event The event to send to Sentry.
48019         * @param hint May contain additional information about the original exception.
48020         * @param scope A scope containing event metadata.
48021         * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.
48022         */
48023        _processEvent(event, hint, scope) {
48024          const options2 = this.getOptions();
48025          const { sampleRate } = options2;
48026          const isTransaction = isTransactionEvent(event);
48027          const isError2 = isErrorEvent2(event);
48028          const eventType = event.type || "error";
48029          const beforeSendLabel = `before send for type \`${eventType}\``;
48030          if (isError2 && typeof sampleRate === "number" && Math.random() > sampleRate) {
48031            this.recordDroppedEvent("sample_rate", "error", event);
48032            return rejectedSyncPromise(
48033              new SentryError(
48034                `Discarding event because it's not included in the random sample (sampling rate = ${sampleRate})`,
48035                "log"
48036              )
48037            );
48038          }
48039          const dataCategory = eventType === "replay_event" ? "replay" : eventType;
48040          const sdkProcessingMetadata = event.sdkProcessingMetadata || {};
48041          const capturedSpanIsolationScope = sdkProcessingMetadata.capturedSpanIsolationScope;
48042          return this._prepareEvent(event, hint, scope, capturedSpanIsolationScope).then((prepared) => {
48043            if (prepared === null) {
48044              this.recordDroppedEvent("event_processor", dataCategory, event);
48045              throw new SentryError("An event processor returned `null`, will not send event.", "log");
48046            }
48047            const isInternalException = hint.data && hint.data.__sentry__ === true;
48048            if (isInternalException) {
48049              return prepared;
48050            }
48051            const result = processBeforeSend(options2, prepared, hint);
48052            return _validateBeforeSendResult(result, beforeSendLabel);
48053          }).then((processedEvent) => {
48054            if (processedEvent === null) {
48055              this.recordDroppedEvent("before_send", dataCategory, event);
48056              if (isTransaction) {
48057                const spans = event.spans || [];
48058                const spanCount = 1 + spans.length;
48059                this.recordDroppedEvent("before_send", "span", spanCount);
48060              }
48061              throw new SentryError(`${beforeSendLabel} returned \`null\`, will not send event.`, "log");
48062            }
48063            const session = scope && scope.getSession();
48064            if (!isTransaction && session) {
48065              this._updateSessionFromEvent(session, processedEvent);
48066            }
48067            if (isTransaction) {
48068              const spanCountBefore = processedEvent.sdkProcessingMetadata && processedEvent.sdkProcessingMetadata.spanCountBeforeProcessing || 0;
48069              const spanCountAfter = processedEvent.spans ? processedEvent.spans.length : 0;
48070              const droppedSpanCount = spanCountBefore - spanCountAfter;
48071              if (droppedSpanCount > 0) {
48072                this.recordDroppedEvent("before_send", "span", droppedSpanCount);
48073              }
48074            }
48075            const transactionInfo = processedEvent.transaction_info;
48076            if (isTransaction && transactionInfo && processedEvent.transaction !== event.transaction) {
48077              const source = "custom";
48078              processedEvent.transaction_info = __spreadProps(__spreadValues({}, transactionInfo), {
48079                source
48080              });
48081            }
48082            this.sendEvent(processedEvent, hint);
48083            return processedEvent;
48084          }).then(null, (reason) => {
48085            if (reason instanceof SentryError) {
48086              throw reason;
48087            }
48088            this.captureException(reason, {
48089              data: {
48090                __sentry__: true
48091              },
48092              originalException: reason
48093            });
48094            throw new SentryError(
48095              `Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
48096Reason: ${reason}`
48097            );
48098          });
48099        }
48100        /**
48101         * Occupies the client with processing and event
48102         */
48103        _process(promise) {
48104          this._numProcessing++;
48105          void promise.then(
48106            (value) => {
48107              this._numProcessing--;
48108              return value;
48109            },
48110            (reason) => {
48111              this._numProcessing--;
48112              return reason;
48113            }
48114          );
48115        }
48116        /**
48117         * @inheritdoc
48118         */
48119        _sendEnvelope(envelope) {
48120          this.emit("beforeEnvelope", envelope);
48121          if (this._isEnabled() && this._transport) {
48122            return this._transport.send(envelope).then(null, (reason) => {
48123              DEBUG_BUILD2 && logger.error("Error while sending event:", reason);
48124            });
48125          } else {
48126            DEBUG_BUILD2 && logger.error("Transport disabled");
48127          }
48128        }
48129        /**
48130         * Clears outcomes on this client and returns them.
48131         */
48132        _clearOutcomes() {
48133          const outcomes = this._outcomes;
48134          this._outcomes = {};
48135          return Object.keys(outcomes).map((key) => {
48136            const [reason, category] = key.split(":");
48137            return {
48138              reason,
48139              category,
48140              quantity: outcomes[key]
48141            };
48142          });
48143        }
48144        /**
48145         * @inheritDoc
48146         */
48147        // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
48148      };
48149    }
48150  });
48151
48152  
vendor: 1,075 bytes, lines 48152-48192
48152// node_modules/@sentry/core/esm/sdk.js
48153  function initAndBind(clientClass, options2) {
48154    if (options2.debug === true) {
48155      if (DEBUG_BUILD2) {
48156        logger.enable();
48157      } else {
48158        consoleSandbox(() => {
48159          console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
48160        });
48161      }
48162    }
48163    const scope = getCurrentScope();
48164    scope.update(options2.initialScope);
48165    const client = new clientClass(options2);
48166    setCurrentClient(client);
48167    initializeClient(client);
48168  }
48169  function setCurrentClient(client) {
48170    const hub = getCurrentHub();
48171    const top = hub.getStackTop();
48172    top.client = client;
48173    top.scope.setClient(client);
48174  }
48175  function initializeClient(client) {
48176    if (client.init) {
48177      client.init();
48178    } else if (client.setupIntegrations) {
48179      client.setupIntegrations();
48180    }
48181  }
48182  var init_sdk = __esm({
48183    "node_modules/@sentry/core/esm/sdk.js"() {
48184      init_esbuild_shims();
48185      init_esm();
48186      init_debug_build2();
48187      init_exports();
48188      init_hub();
48189    }
48190  });
48191
48192  
vendor: 2,734 bytes, lines 48192-48267
48192// node_modules/@sentry/core/esm/transports/base.js
48193  function createTransport(options2, makeRequest, buffer = makePromiseBuffer(
48194    options2.bufferSize || DEFAULT_TRANSPORT_BUFFER_SIZE
48195  )) {
48196    let rateLimits = {};
48197    const flush2 = (timeout) => buffer.drain(timeout);
48198    function send(envelope) {
48199      const filteredEnvelopeItems = [];
48200      forEachEnvelopeItem(envelope, (item, type) => {
48201        const dataCategory = envelopeItemTypeToDataCategory(type);
48202        if (isRateLimited(rateLimits, dataCategory)) {
48203          const event = getEventForEnvelopeItem(item, type);
48204          options2.recordDroppedEvent("ratelimit_backoff", dataCategory, event);
48205        } else {
48206          filteredEnvelopeItems.push(item);
48207        }
48208      });
48209      if (filteredEnvelopeItems.length === 0) {
48210        return resolvedSyncPromise();
48211      }
48212      const filteredEnvelope = createEnvelope(envelope[0], filteredEnvelopeItems);
48213      const recordEnvelopeLoss = (reason) => {
48214        forEachEnvelopeItem(filteredEnvelope, (item, type) => {
48215          const event = getEventForEnvelopeItem(item, type);
48216          options2.recordDroppedEvent(reason, envelopeItemTypeToDataCategory(type), event);
48217        });
48218      };
48219      const requestTask = () => makeRequest({ body: serializeEnvelope(filteredEnvelope, options2.textEncoder) }).then(
48220        (response) => {
48221          if (response.statusCode !== void 0 && (response.statusCode < 200 || response.statusCode >= 300)) {
48222            DEBUG_BUILD2 && logger.warn(`Sentry responded with status code ${response.statusCode} to sent event.`);
48223          }
48224          rateLimits = updateRateLimits(rateLimits, response);
48225          return response;
48226        },
48227        (error) => {
48228          recordEnvelopeLoss("network_error");
48229          throw error;
48230        }
48231      );
48232      return buffer.add(requestTask).then(
48233        (result) => result,
48234        (error) => {
48235          if (error instanceof SentryError) {
48236            DEBUG_BUILD2 && logger.error("Skipped sending event because buffer is full.");
48237            recordEnvelopeLoss("queue_overflow");
48238            return resolvedSyncPromise();
48239          } else {
48240            throw error;
48241          }
48242        }
48243      );
48244    }
48245    send.__sentry__baseTransport__ = true;
48246    return {
48247      send,
48248      flush: flush2
48249    };
48250  }
48251  function getEventForEnvelopeItem(item, type) {
48252    if (type !== "event" && type !== "transaction") {
48253      return void 0;
48254    }
48255    return Array.isArray(item) ? item[1] : void 0;
48256  }
48257  var DEFAULT_TRANSPORT_BUFFER_SIZE;
48258  var init_base = __esm({
48259    "node_modules/@sentry/core/esm/transports/base.js"() {
48260      init_esbuild_shims();
48261      init_esm();
48262      init_debug_build2();
48263      DEFAULT_TRANSPORT_BUFFER_SIZE = 30;
48264    }
48265  });
48266
48267  
vendor: 647 bytes, lines 48267-48289
48267// node_modules/@sentry/core/esm/utils/sdkMetadata.js
48268  function applySdkMetadata(options2, name2, names = [name2], source = "npm") {
48269    const metadata = options2._metadata || {};
48270    if (!metadata.sdk) {
48271      metadata.sdk = {
48272        name: `sentry.javascript.${name2}`,
48273        packages: names.map((name3) => ({
48274          name: `${source}:@sentry/${name3}`,
48275          version: SDK_VERSION
48276        })),
48277        version: SDK_VERSION
48278      };
48279    }
48280    options2._metadata = metadata;
48281  }
48282  var init_sdkMetadata = __esm({
48283    "node_modules/@sentry/core/esm/utils/sdkMetadata.js"() {
48284      init_esbuild_shims();
48285      init_version();
48286    }
48287  });
48288
48289  
vendor: 6,374 bytes, lines 48289-48473
48289// node_modules/@sentry/core/esm/integrations/inboundfilters.js
48290  function _mergeOptions(internalOptions = {}, clientOptions = {}) {
48291    return {
48292      allowUrls: [...internalOptions.allowUrls || [], ...clientOptions.allowUrls || []],
48293      denyUrls: [...internalOptions.denyUrls || [], ...clientOptions.denyUrls || []],
48294      ignoreErrors: [
48295        ...internalOptions.ignoreErrors || [],
48296        ...clientOptions.ignoreErrors || [],
48297        ...internalOptions.disableErrorDefaults ? [] : DEFAULT_IGNORE_ERRORS
48298      ],
48299      ignoreTransactions: [
48300        ...internalOptions.ignoreTransactions || [],
48301        ...clientOptions.ignoreTransactions || [],
48302        ...internalOptions.disableTransactionDefaults ? [] : DEFAULT_IGNORE_TRANSACTIONS
48303      ],
48304      ignoreInternal: internalOptions.ignoreInternal !== void 0 ? internalOptions.ignoreInternal : true
48305    };
48306  }
48307  function _shouldDropEvent(event, options2) {
48308    if (options2.ignoreInternal && _isSentryError(event)) {
48309      DEBUG_BUILD2 && logger.warn(`Event dropped due to being internal Sentry Error.
48310Event: ${getEventDescription(event)}`);
48311      return true;
48312    }
48313    if (_isIgnoredError(event, options2.ignoreErrors)) {
48314      DEBUG_BUILD2 && logger.warn(
48315        `Event dropped due to being matched by \`ignoreErrors\` option.
48316Event: ${getEventDescription(event)}`
48317      );
48318      return true;
48319    }
48320    if (_isIgnoredTransaction(event, options2.ignoreTransactions)) {
48321      DEBUG_BUILD2 && logger.warn(
48322        `Event dropped due to being matched by \`ignoreTransactions\` option.
48323Event: ${getEventDescription(event)}`
48324      );
48325      return true;
48326    }
48327    if (_isDeniedUrl(event, options2.denyUrls)) {
48328      DEBUG_BUILD2 && logger.warn(
48329        `Event dropped due to being matched by \`denyUrls\` option.
48330Event: ${getEventDescription(
48331          event
48332        )}.
48333Url: ${_getEventFilterUrl(event)}`
48334      );
48335      return true;
48336    }
48337    if (!_isAllowedUrl(event, options2.allowUrls)) {
48338      DEBUG_BUILD2 && logger.warn(
48339        `Event dropped due to not being matched by \`allowUrls\` option.
48340Event: ${getEventDescription(
48341          event
48342        )}.
48343Url: ${_getEventFilterUrl(event)}`
48344      );
48345      return true;
48346    }
48347    return false;
48348  }
48349  function _isIgnoredError(event, ignoreErrors) {
48350    if (event.type || !ignoreErrors || !ignoreErrors.length) {
48351      return false;
48352    }
48353    return _getPossibleEventMessages(event).some((message) => stringMatchesSomePattern(message, ignoreErrors));
48354  }
48355  function _isIgnoredTransaction(event, ignoreTransactions) {
48356    if (event.type !== "transaction" || !ignoreTransactions || !ignoreTransactions.length) {
48357      return false;
48358    }
48359    const name2 = event.transaction;
48360    return name2 ? stringMatchesSomePattern(name2, ignoreTransactions) : false;
48361  }
48362  function _isDeniedUrl(event, denyUrls) {
48363    if (!denyUrls || !denyUrls.length) {
48364      return false;
48365    }
48366    const url = _getEventFilterUrl(event);
48367    return !url ? false : stringMatchesSomePattern(url, denyUrls);
48368  }
48369  function _isAllowedUrl(event, allowUrls) {
48370    if (!allowUrls || !allowUrls.length) {
48371      return true;
48372    }
48373    const url = _getEventFilterUrl(event);
48374    return !url ? true : stringMatchesSomePattern(url, allowUrls);
48375  }
48376  function _getPossibleEventMessages(event) {
48377    const possibleMessages = [];
48378    if (event.message) {
48379      possibleMessages.push(event.message);
48380    }
48381    let lastException;
48382    try {
48383      lastException = event.exception.values[event.exception.values.length - 1];
48384    } catch (e) {
48385    }
48386    if (lastException) {
48387      if (lastException.value) {
48388        possibleMessages.push(lastException.value);
48389        if (lastException.type) {
48390          possibleMessages.push(`${lastException.type}: ${lastException.value}`);
48391        }
48392      }
48393    }
48394    if (DEBUG_BUILD2 && possibleMessages.length === 0) {
48395      logger.error(`Could not extract message for event ${getEventDescription(event)}`);
48396    }
48397    return possibleMessages;
48398  }
48399  function _isSentryError(event) {
48400    try {
48401      return event.exception.values[0].type === "SentryError";
48402    } catch (e) {
48403    }
48404    return false;
48405  }
48406  function _getLastValidUrl(frames = []) {
48407    for (let i2 = frames.length - 1; i2 >= 0; i2--) {
48408      const frame = frames[i2];
48409      if (frame && frame.filename !== "<anonymous>" && frame.filename !== "[native code]") {
48410        return frame.filename || null;
48411      }
48412    }
48413    return null;
48414  }
48415  function _getEventFilterUrl(event) {
48416    try {
48417      let frames;
48418      try {
48419        frames = event.exception.values[0].stacktrace.frames;
48420      } catch (e) {
48421      }
48422      return frames ? _getLastValidUrl(frames) : null;
48423    } catch (oO) {
48424      DEBUG_BUILD2 && logger.error(`Cannot extract url for event ${getEventDescription(event)}`);
48425      return null;
48426    }
48427  }
48428  var DEFAULT_IGNORE_ERRORS, DEFAULT_IGNORE_TRANSACTIONS, INTEGRATION_NAME, _inboundFiltersIntegration, inboundFiltersIntegration, InboundFilters;
48429  var init_inboundfilters = __esm({
48430    "node_modules/@sentry/core/esm/integrations/inboundfilters.js"() {
48431      init_esbuild_shims();
48432      init_esm();
48433      init_debug_build2();
48434      init_integration();
48435      DEFAULT_IGNORE_ERRORS = [
48436        /^Script error\.?$/,
48437        /^Javascript error: Script error\.? on line 0$/,
48438        /^ResizeObserver loop completed with undelivered notifications.$/,
48439        /^Cannot redefine property: googletag$/
48440      ];
48441      DEFAULT_IGNORE_TRANSACTIONS = [
48442        /^.*\/healthcheck$/,
48443        /^.*\/healthy$/,
48444        /^.*\/live$/,
48445        /^.*\/ready$/,
48446        /^.*\/heartbeat$/,
48447        /^.*\/health$/,
48448        /^.*\/healthz$/
48449      ];
48450      INTEGRATION_NAME = "InboundFilters";
48451      _inboundFiltersIntegration = ((options2 = {}) => {
48452        return {
48453          name: INTEGRATION_NAME,
48454          // TODO v8: Remove this
48455          setupOnce() {
48456          },
48457          // eslint-disable-line @typescript-eslint/no-empty-function
48458          processEvent(event, _hint, client) {
48459            const clientOptions = client.getOptions();
48460            const mergedOptions = _mergeOptions(options2, clientOptions);
48461            return _shouldDropEvent(event, mergedOptions) ? null : event;
48462          }
48463        };
48464      });
48465      inboundFiltersIntegration = defineIntegration(_inboundFiltersIntegration);
48466      InboundFilters = convertIntegrationFnToClass(
48467        INTEGRATION_NAME,
48468        inboundFiltersIntegration
48469      );
48470    }
48471  });
48472
48473  
vendor: 1,444 bytes, lines 48473-48510
48473// node_modules/@sentry/core/esm/integrations/functiontostring.js
48474  var originalFunctionToString, INTEGRATION_NAME2, SETUP_CLIENTS, _functionToStringIntegration, functionToStringIntegration, FunctionToString;
48475  var init_functiontostring = __esm({
48476    "node_modules/@sentry/core/esm/integrations/functiontostring.js"() {
48477      init_esbuild_shims();
48478      init_esm();
48479      init_exports();
48480      init_integration();
48481      INTEGRATION_NAME2 = "FunctionToString";
48482      SETUP_CLIENTS = /* @__PURE__ */ new WeakMap();
48483      _functionToStringIntegration = (() => {
48484        return {
48485          name: INTEGRATION_NAME2,
48486          setupOnce() {
48487            originalFunctionToString = Function.prototype.toString;
48488            try {
48489              Function.prototype.toString = function(...args) {
48490                const originalFunction = getOriginalFunction(this);
48491                const context = SETUP_CLIENTS.has(getClient()) && originalFunction !== void 0 ? originalFunction : this;
48492                return originalFunctionToString.apply(context, args);
48493              };
48494            } catch (e) {
48495            }
48496          },
48497          setup(client) {
48498            SETUP_CLIENTS.set(client, true);
48499          }
48500        };
48501      });
48502      functionToStringIntegration = defineIntegration(_functionToStringIntegration);
48503      FunctionToString = convertIntegrationFnToClass(
48504        INTEGRATION_NAME2,
48505        functionToStringIntegration
48506      );
48507    }
48508  });
48509
48510  
vendor: 1,366 bytes, lines 48510-48548
48510// node_modules/@sentry/core/esm/integrations/linkederrors.js
48511  var DEFAULT_KEY, DEFAULT_LIMIT, INTEGRATION_NAME3, _linkedErrorsIntegration, linkedErrorsIntegration, LinkedErrors;
48512  var init_linkederrors = __esm({
48513    "node_modules/@sentry/core/esm/integrations/linkederrors.js"() {
48514      init_esbuild_shims();
48515      init_esm();
48516      init_integration();
48517      DEFAULT_KEY = "cause";
48518      DEFAULT_LIMIT = 5;
48519      INTEGRATION_NAME3 = "LinkedErrors";
48520      _linkedErrorsIntegration = ((options2 = {}) => {
48521        const limit = options2.limit || DEFAULT_LIMIT;
48522        const key = options2.key || DEFAULT_KEY;
48523        return {
48524          name: INTEGRATION_NAME3,
48525          // TODO v8: Remove this
48526          setupOnce() {
48527          },
48528          // eslint-disable-line @typescript-eslint/no-empty-function
48529          preprocessEvent(event, hint, client) {
48530            const options3 = client.getOptions();
48531            applyAggregateErrorsToEvent(
48532              exceptionFromError,
48533              options3.stackParser,
48534              options3.maxValueLength,
48535              key,
48536              limit,
48537              event,
48538              hint
48539            );
48540          }
48541        };
48542      });
48543      linkedErrorsIntegration = defineIntegration(_linkedErrorsIntegration);
48544      LinkedErrors = convertIntegrationFnToClass(INTEGRATION_NAME3, linkedErrorsIntegration);
48545    }
48546  });
48547
48548  
vendor: 480 bytes, lines 48548-48564
48548// node_modules/@sentry/core/esm/integrations/index.js
48549  var integrations_exports = {};
48550  __export(integrations_exports, {
48551    FunctionToString: () => FunctionToString,
48552    InboundFilters: () => InboundFilters,
48553    LinkedErrors: () => LinkedErrors
48554  });
48555  var init_integrations = __esm({
48556    "node_modules/@sentry/core/esm/integrations/index.js"() {
48557      init_esbuild_shims();
48558      init_functiontostring();
48559      init_inboundfilters();
48560      init_linkederrors();
48561    }
48562  });
48563
48564  
vendor: 446 bytes, lines 48564-48582
48564// node_modules/@sentry/core/esm/index.js
48565  var Integrations;
48566  var init_esm2 = __esm({
48567    "node_modules/@sentry/core/esm/index.js"() {
48568      init_esbuild_shims();
48569      init_exports();
48570      init_baseclient();
48571      init_sdk();
48572      init_base();
48573      init_integration();
48574      init_sdkMetadata();
48575      init_inboundfilters();
48576      init_functiontostring();
48577      init_integrations();
48578      Integrations = integrations_exports;
48579    }
48580  });
48581
48582  
vendor: 2,401 bytes, lines 48582-48671
48582// node_modules/@sentry/browser/esm/helpers.js
48583  function shouldIgnoreOnError() {
48584    return ignoreOnError > 0;
48585  }
48586  function ignoreNextOnError() {
48587    ignoreOnError++;
48588    setTimeout(() => {
48589      ignoreOnError--;
48590    });
48591  }
48592  function wrap(fn, options2 = {}, before) {
48593    if (typeof fn !== "function") {
48594      return fn;
48595    }
48596    try {
48597      const wrapper = fn.__sentry_wrapped__;
48598      if (wrapper) {
48599        if (typeof wrapper === "function") {
48600          return wrapper;
48601        } else {
48602          return fn;
48603        }
48604      }
48605      if (getOriginalFunction(fn)) {
48606        return fn;
48607      }
48608    } catch (e) {
48609      return fn;
48610    }
48611    const sentryWrapped = function() {
48612      const args = Array.prototype.slice.call(arguments);
48613      try {
48614        if (before && typeof before === "function") {
48615          before.apply(this, arguments);
48616        }
48617        const wrappedArguments = args.map((arg) => wrap(arg, options2));
48618        return fn.apply(this, wrappedArguments);
48619      } catch (ex) {
48620        ignoreNextOnError();
48621        withScope((scope) => {
48622          scope.addEventProcessor((event) => {
48623            if (options2.mechanism) {
48624              addExceptionTypeValue(event, void 0, void 0);
48625              addExceptionMechanism(event, options2.mechanism);
48626            }
48627            event.extra = __spreadProps(__spreadValues({}, event.extra), {
48628              arguments: args
48629            });
48630            return event;
48631          });
48632          captureException(ex);
48633        });
48634        throw ex;
48635      }
48636    };
48637    try {
48638      for (const property in fn) {
48639        if (Object.prototype.hasOwnProperty.call(fn, property)) {
48640          sentryWrapped[property] = fn[property];
48641        }
48642      }
48643    } catch (_oO) {
48644    }
48645    markFunctionWrapped(sentryWrapped, fn);
48646    addNonEnumerableProperty(fn, "__sentry_wrapped__", sentryWrapped);
48647    try {
48648      const descriptor = Object.getOwnPropertyDescriptor(sentryWrapped, "name");
48649      if (descriptor.configurable) {
48650        Object.defineProperty(sentryWrapped, "name", {
48651          get() {
48652            return fn.name;
48653          }
48654        });
48655      }
48656    } catch (_oO) {
48657    }
48658    return sentryWrapped;
48659  }
48660  var WINDOW8, ignoreOnError;
48661  var init_helpers = __esm({
48662    "node_modules/@sentry/browser/esm/helpers.js"() {
48663      init_esbuild_shims();
48664      init_esm2();
48665      init_esm();
48666      WINDOW8 = GLOBAL_OBJ;
48667      ignoreOnError = 0;
48668    }
48669  });
48670
48671  
vendor: 288 bytes, lines 48671-48680
48671// node_modules/@sentry/browser/esm/debug-build.js
48672  var DEBUG_BUILD3;
48673  var init_debug_build3 = __esm({
48674    "node_modules/@sentry/browser/esm/debug-build.js"() {
48675      init_esbuild_shims();
48676      DEBUG_BUILD3 = typeof __SENTRY_DEBUG__ === "undefined" || __SENTRY_DEBUG__;
48677    }
48678  });
48679
48680  
vendor: 6,463 bytes, lines 48680-48864
48680// node_modules/@sentry/browser/esm/eventbuilder.js
48681  function exceptionFromError2(stackParser, ex) {
48682    const frames = parseStackFrames2(stackParser, ex);
48683    const exception = {
48684      type: ex && ex.name,
48685      value: extractMessage(ex)
48686    };
48687    if (frames.length) {
48688      exception.stacktrace = { frames };
48689    }
48690    if (exception.type === void 0 && exception.value === "") {
48691      exception.value = "Unrecoverable error caught";
48692    }
48693    return exception;
48694  }
48695  function eventFromPlainObject(stackParser, exception, syntheticException, isUnhandledRejection) {
48696    const client = getClient();
48697    const normalizeDepth = client && client.getOptions().normalizeDepth;
48698    const event = {
48699      exception: {
48700        values: [
48701          {
48702            type: isEvent(exception) ? exception.constructor.name : isUnhandledRejection ? "UnhandledRejection" : "Error",
48703            value: getNonErrorObjectExceptionValue(exception, { isUnhandledRejection })
48704          }
48705        ]
48706      },
48707      extra: {
48708        __serialized__: normalizeToSize(exception, normalizeDepth)
48709      }
48710    };
48711    if (syntheticException) {
48712      const frames = parseStackFrames2(stackParser, syntheticException);
48713      if (frames.length) {
48714        event.exception.values[0].stacktrace = { frames };
48715      }
48716    }
48717    return event;
48718  }
48719  function eventFromError(stackParser, ex) {
48720    return {
48721      exception: {
48722        values: [exceptionFromError2(stackParser, ex)]
48723      }
48724    };
48725  }
48726  function parseStackFrames2(stackParser, ex) {
48727    const stacktrace = ex.stacktrace || ex.stack || "";
48728    const popSize = getPopSize(ex);
48729    try {
48730      return stackParser(stacktrace, popSize);
48731    } catch (e) {
48732    }
48733    return [];
48734  }
48735  function getPopSize(ex) {
48736    if (ex) {
48737      if (typeof ex.framesToPop === "number") {
48738        return ex.framesToPop;
48739      }
48740      if (reactMinifiedRegexp.test(ex.message)) {
48741        return 1;
48742      }
48743    }
48744    return 0;
48745  }
48746  function extractMessage(ex) {
48747    const message = ex && ex.message;
48748    if (!message) {
48749      return "No error message";
48750    }
48751    if (message.error && typeof message.error.message === "string") {
48752      return message.error.message;
48753    }
48754    return message;
48755  }
48756  function eventFromException(stackParser, exception, hint, attachStacktrace) {
48757    const syntheticException = hint && hint.syntheticException || void 0;
48758    const event = eventFromUnknownInput2(stackParser, exception, syntheticException, attachStacktrace);
48759    addExceptionMechanism(event);
48760    event.level = "error";
48761    if (hint && hint.event_id) {
48762      event.event_id = hint.event_id;
48763    }
48764    return resolvedSyncPromise(event);
48765  }
48766  function eventFromMessage2(stackParser, message, level = "info", hint, attachStacktrace) {
48767    const syntheticException = hint && hint.syntheticException || void 0;
48768    const event = eventFromString(stackParser, message, syntheticException, attachStacktrace);
48769    event.level = level;
48770    if (hint && hint.event_id) {
48771      event.event_id = hint.event_id;
48772    }
48773    return resolvedSyncPromise(event);
48774  }
48775  function eventFromUnknownInput2(stackParser, exception, syntheticException, attachStacktrace, isUnhandledRejection) {
48776    let event;
48777    if (isErrorEvent(exception) && exception.error) {
48778      const errorEvent = exception;
48779      return eventFromError(stackParser, errorEvent.error);
48780    }
48781    if (isDOMError(exception) || isDOMException(exception)) {
48782      const domException = exception;
48783      if ("stack" in exception) {
48784        event = eventFromError(stackParser, exception);
48785      } else {
48786        const name2 = domException.name || (isDOMError(domException) ? "DOMError" : "DOMException");
48787        const message = domException.message ? `${name2}: ${domException.message}` : name2;
48788        event = eventFromString(stackParser, message, syntheticException, attachStacktrace);
48789        addExceptionTypeValue(event, message);
48790      }
48791      if ("code" in domException) {
48792        event.tags = __spreadProps(__spreadValues({}, event.tags), { "DOMException.code": `${domException.code}` });
48793      }
48794      return event;
48795    }
48796    if (isError(exception)) {
48797      return eventFromError(stackParser, exception);
48798    }
48799    if (isPlainObject2(exception) || isEvent(exception)) {
48800      const objectException = exception;
48801      event = eventFromPlainObject(stackParser, objectException, syntheticException, isUnhandledRejection);
48802      addExceptionMechanism(event, {
48803        synthetic: true
48804      });
48805      return event;
48806    }
48807    event = eventFromString(stackParser, exception, syntheticException, attachStacktrace);
48808    addExceptionTypeValue(event, `${exception}`, void 0);
48809    addExceptionMechanism(event, {
48810      synthetic: true
48811    });
48812    return event;
48813  }
48814  function eventFromString(stackParser, message, syntheticException, attachStacktrace) {
48815    const event = {};
48816    if (attachStacktrace && syntheticException) {
48817      const frames = parseStackFrames2(stackParser, syntheticException);
48818      if (frames.length) {
48819        event.exception = {
48820          values: [{ value: message, stacktrace: { frames } }]
48821        };
48822      }
48823    }
48824    if (isParameterizedString(message)) {
48825      const { __sentry_template_string__, __sentry_template_values__ } = message;
48826      event.logentry = {
48827        message: __sentry_template_string__,
48828        params: __sentry_template_values__
48829      };
48830      return event;
48831    }
48832    event.message = message;
48833    return event;
48834  }
48835  function getNonErrorObjectExceptionValue(exception, { isUnhandledRejection }) {
48836    const keys = extractExceptionKeysForMessage(exception);
48837    const captureType = isUnhandledRejection ? "promise rejection" : "exception";
48838    if (isErrorEvent(exception)) {
48839      return `Event \`ErrorEvent\` captured as ${captureType} with message \`${exception.message}\``;
48840    }
48841    if (isEvent(exception)) {
48842      const className = getObjectClassName(exception);
48843      return `Event \`${className}\` (type=${exception.type}) captured as ${captureType}`;
48844    }
48845    return `Object captured as ${captureType} with keys: ${keys}`;
48846  }
48847  function getObjectClassName(obj) {
48848    try {
48849      const prototype2 = Object.getPrototypeOf(obj);
48850      return prototype2 ? prototype2.constructor.name : void 0;
48851    } catch (e) {
48852    }
48853  }
48854  var reactMinifiedRegexp;
48855  var init_eventbuilder2 = __esm({
48856    "node_modules/@sentry/browser/esm/eventbuilder.js"() {
48857      init_esbuild_shims();
48858      init_esm2();
48859      init_esm();
48860      reactMinifiedRegexp = /Minified React error #\d+;/i;
48861    }
48862  });
48863
48864  
vendor: 896 bytes, lines 48864-48895
48864// node_modules/@sentry/browser/esm/userfeedback.js
48865  function createUserFeedbackEnvelope(feedback, {
48866    metadata,
48867    tunnel,
48868    dsn
48869  }) {
48870    const headers = __spreadValues(__spreadValues({
48871      event_id: feedback.event_id,
48872      sent_at: (/* @__PURE__ */ new Date()).toISOString()
48873    }, metadata && metadata.sdk && {
48874      sdk: {
48875        name: metadata.sdk.name,
48876        version: metadata.sdk.version
48877      }
48878    }), !!tunnel && !!dsn && { dsn: dsnToString(dsn) });
48879    const item = createUserFeedbackEnvelopeItem(feedback);
48880    return createEnvelope(headers, [item]);
48881  }
48882  function createUserFeedbackEnvelopeItem(feedback) {
48883    const feedbackHeaders = {
48884      type: "user_report"
48885    };
48886    return [feedbackHeaders, feedback];
48887  }
48888  var init_userfeedback = __esm({
48889    "node_modules/@sentry/browser/esm/userfeedback.js"() {
48890      init_esbuild_shims();
48891      init_esm();
48892    }
48893  });
48894
48895  
vendor: 2,880 bytes, lines 48895-48979
48895// node_modules/@sentry/browser/esm/client.js
48896  var BrowserClient;
48897  var init_client = __esm({
48898    "node_modules/@sentry/browser/esm/client.js"() {
48899      init_esbuild_shims();
48900      init_esm2();
48901      init_esm();
48902      init_debug_build3();
48903      init_eventbuilder2();
48904      init_helpers();
48905      init_userfeedback();
48906      BrowserClient = class extends BaseClient {
48907        /**
48908         * Creates a new Browser SDK instance.
48909         *
48910         * @param options Configuration options for this SDK.
48911         */
48912        constructor(options2) {
48913          const sdkSource = WINDOW8.SENTRY_SDK_SOURCE || getSDKSource();
48914          applySdkMetadata(options2, "browser", ["browser"], sdkSource);
48915          super(options2);
48916          if (options2.sendClientReports && WINDOW8.document) {
48917            WINDOW8.document.addEventListener("visibilitychange", () => {
48918              if (WINDOW8.document.visibilityState === "hidden") {
48919                this._flushOutcomes();
48920              }
48921            });
48922          }
48923        }
48924        /**
48925         * @inheritDoc
48926         */
48927        eventFromException(exception, hint) {
48928          return eventFromException(this._options.stackParser, exception, hint, this._options.attachStacktrace);
48929        }
48930        /**
48931         * @inheritDoc
48932         */
48933        eventFromMessage(message, level = "info", hint) {
48934          return eventFromMessage2(this._options.stackParser, message, level, hint, this._options.attachStacktrace);
48935        }
48936        /**
48937         * Sends user feedback to Sentry.
48938         */
48939        captureUserFeedback(feedback) {
48940          if (!this._isEnabled()) {
48941            DEBUG_BUILD3 && logger.warn("SDK not enabled, will not capture user feedback.");
48942            return;
48943          }
48944          const envelope = createUserFeedbackEnvelope(feedback, {
48945            metadata: this.getSdkMetadata(),
48946            dsn: this.getDsn(),
48947            tunnel: this.getOptions().tunnel
48948          });
48949          this._sendEnvelope(envelope);
48950        }
48951        /**
48952         * @inheritDoc
48953         */
48954        _prepareEvent(event, hint, scope) {
48955          event.platform = event.platform || "javascript";
48956          return super._prepareEvent(event, hint, scope);
48957        }
48958        /**
48959         * Sends client reports as an envelope.
48960         */
48961        _flushOutcomes() {
48962          const outcomes = this._clearOutcomes();
48963          if (outcomes.length === 0) {
48964            DEBUG_BUILD3 && logger.log("No outcomes to send");
48965            return;
48966          }
48967          if (!this._dsn) {
48968            DEBUG_BUILD3 && logger.log("No dsn provided, will not send outcomes");
48969            return;
48970          }
48971          DEBUG_BUILD3 && logger.log("Sending outcomes:", outcomes);
48972          const envelope = createClientReportEnvelope(outcomes, this._options.tunnel && dsnToString(this._dsn));
48973          this._sendEnvelope(envelope);
48974        }
48975      };
48976    }
48977  });
48978
48979  
vendor: 1,315 bytes, lines 48979-49019
48979// node_modules/@sentry/browser/esm/transports/utils.js
48980  function getNativeFetchImplementation() {
48981    if (cachedFetchImpl) {
48982      return cachedFetchImpl;
48983    }
48984    if (isNativeFetch(WINDOW8.fetch)) {
48985      return cachedFetchImpl = WINDOW8.fetch.bind(WINDOW8);
48986    }
48987    const document2 = WINDOW8.document;
48988    let fetchImpl = WINDOW8.fetch;
48989    if (document2 && typeof document2.createElement === "function") {
48990      try {
48991        const sandbox = document2.createElement("iframe");
48992        sandbox.hidden = true;
48993        document2.head.appendChild(sandbox);
48994        const contentWindow = sandbox.contentWindow;
48995        if (contentWindow && contentWindow.fetch) {
48996          fetchImpl = contentWindow.fetch;
48997        }
48998        document2.head.removeChild(sandbox);
48999      } catch (e) {
49000        DEBUG_BUILD3 && logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
49001      }
49002    }
49003    return cachedFetchImpl = fetchImpl.bind(WINDOW8);
49004  }
49005  function clearCachedFetchImplementation() {
49006    cachedFetchImpl = void 0;
49007  }
49008  var cachedFetchImpl;
49009  var init_utils4 = __esm({
49010    "node_modules/@sentry/browser/esm/transports/utils.js"() {
49011      init_esbuild_shims();
49012      init_esm();
49013      init_debug_build3();
49014      init_helpers();
49015      cachedFetchImpl = void 0;
49016    }
49017  });
49018
49019  
vendor: 2,501 bytes, lines 49019-49075
49019// node_modules/@sentry/browser/esm/transports/fetch.js
49020  function makeFetchTransport(options2, nativeFetch = getNativeFetchImplementation()) {
49021    let pendingBodySize = 0;
49022    let pendingCount = 0;
49023    function makeRequest(request) {
49024      const requestSize = request.body.length;
49025      pendingBodySize += requestSize;
49026      pendingCount++;
49027      const requestOptions = __spreadValues({
49028        body: request.body,
49029        method: "POST",
49030        referrerPolicy: "origin",
49031        headers: options2.headers,
49032        // Outgoing requests are usually cancelled when navigating to a different page, causing a "TypeError: Failed to
49033        // fetch" error and sending a "network_error" client-outcome - in Chrome, the request status shows "(cancelled)".
49034        // The `keepalive` flag keeps outgoing requests alive, even when switching pages. We want this since we're
49035        // frequently sending events right before the user is switching pages (eg. whenfinishing navigation transactions).
49036        // Gotchas:
49037        // - `keepalive` isn't supported by Firefox
49038        // - As per spec (https://fetch.spec.whatwg.org/#http-network-or-cache-fetch):
49039        //   If the sum of contentLength and inflightKeepaliveBytes is greater than 64 kibibytes, then return a network error.
49040        //   We will therefore only activate the flag when we're below that limit.
49041        // There is also a limit of requests that can be open at the same time, so we also limit this to 15
49042        // See https://github.com/getsentry/sentry-javascript/pull/7553 for details
49043        keepalive: pendingBodySize <= 6e4 && pendingCount < 15
49044      }, options2.fetchOptions);
49045      try {
49046        return nativeFetch(options2.url, requestOptions).then((response) => {
49047          pendingBodySize -= requestSize;
49048          pendingCount--;
49049          return {
49050            statusCode: response.status,
49051            headers: {
49052              "x-sentry-rate-limits": response.headers.get("X-Sentry-Rate-Limits"),
49053              "retry-after": response.headers.get("Retry-After")
49054            }
49055          };
49056        });
49057      } catch (e) {
49058        clearCachedFetchImplementation();
49059        pendingBodySize -= requestSize;
49060        pendingCount--;
49061        return rejectedSyncPromise(e);
49062      }
49063    }
49064    return createTransport(options2, makeRequest);
49065  }
49066  var init_fetch3 = __esm({
49067    "node_modules/@sentry/browser/esm/transports/fetch.js"() {
49068      init_esbuild_shims();
49069      init_esm2();
49070      init_esm();
49071      init_utils4();
49072    }
49073  });
49074
49075  
vendor: 1,233 bytes, lines 49075-49113
49075// node_modules/@sentry/browser/esm/transports/xhr.js
49076  function makeXHRTransport(options2) {
49077    function makeRequest(request) {
49078      return new SyncPromise((resolve, reject) => {
49079        const xhr = new XMLHttpRequest();
49080        xhr.onerror = reject;
49081        xhr.onreadystatechange = () => {
49082          if (xhr.readyState === XHR_READYSTATE_DONE) {
49083            resolve({
49084              statusCode: xhr.status,
49085              headers: {
49086                "x-sentry-rate-limits": xhr.getResponseHeader("X-Sentry-Rate-Limits"),
49087                "retry-after": xhr.getResponseHeader("Retry-After")
49088              }
49089            });
49090          }
49091        };
49092        xhr.open("POST", options2.url);
49093        for (const header in options2.headers) {
49094          if (Object.prototype.hasOwnProperty.call(options2.headers, header)) {
49095            xhr.setRequestHeader(header, options2.headers[header]);
49096          }
49097        }
49098        xhr.send(request.body);
49099      });
49100    }
49101    return createTransport(options2, makeRequest);
49102  }
49103  var XHR_READYSTATE_DONE;
49104  var init_xhr3 = __esm({
49105    "node_modules/@sentry/browser/esm/transports/xhr.js"() {
49106      init_esbuild_shims();
49107      init_esm2();
49108      init_esm();
49109      XHR_READYSTATE_DONE = 4;
49110    }
49111  });
49112
49113  
vendor: 4,023 bytes, lines 49113-49200
49113// node_modules/@sentry/browser/esm/stack-parsers.js
49114  function createFrame(filename, func, lineno, colno) {
49115    const frame = {
49116      filename,
49117      function: func,
49118      in_app: true
49119      // All browser frames are considered in_app
49120    };
49121    if (lineno !== void 0) {
49122      frame.lineno = lineno;
49123    }
49124    if (colno !== void 0) {
49125      frame.colno = colno;
49126    }
49127    return frame;
49128  }
49129  var UNKNOWN_FUNCTION, CHROME_PRIORITY, WINJS_PRIORITY, GECKO_PRIORITY, chromeRegex, chromeEvalRegex, chromeStackParserFn, chromeStackLineParser, geckoREgex, geckoEvalRegex, gecko, geckoStackLineParser, winjsRegex, winjs, winjsStackLineParser, defaultStackLineParsers, defaultStackParser, extractSafariExtensionDetails;
49130  var init_stack_parsers = __esm({
49131    "node_modules/@sentry/browser/esm/stack-parsers.js"() {
49132      init_esbuild_shims();
49133      init_esm();
49134      UNKNOWN_FUNCTION = "?";
49135      CHROME_PRIORITY = 30;
49136      WINJS_PRIORITY = 40;
49137      GECKO_PRIORITY = 50;
49138      chromeRegex = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
49139      chromeEvalRegex = /\((\S*)(?::(\d+))(?::(\d+))\)/;
49140      chromeStackParserFn = (line2) => {
49141        const parts = chromeRegex.exec(line2);
49142        if (parts) {
49143          const isEval = parts[2] && parts[2].indexOf("eval") === 0;
49144          if (isEval) {
49145            const subMatch = chromeEvalRegex.exec(parts[2]);
49146            if (subMatch) {
49147              parts[2] = subMatch[1];
49148              parts[3] = subMatch[2];
49149              parts[4] = subMatch[3];
49150            }
49151          }
49152          const [func, filename] = extractSafariExtensionDetails(parts[1] || UNKNOWN_FUNCTION, parts[2]);
49153          return createFrame(filename, func, parts[3] ? +parts[3] : void 0, parts[4] ? +parts[4] : void 0);
49154        }
49155        return;
49156      };
49157      chromeStackLineParser = [CHROME_PRIORITY, chromeStackParserFn];
49158      geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;
49159      geckoEvalRegex = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
49160      gecko = (line2) => {
49161        const parts = geckoREgex.exec(line2);
49162        if (parts) {
49163          const isEval = parts[3] && parts[3].indexOf(" > eval") > -1;
49164          if (isEval) {
49165            const subMatch = geckoEvalRegex.exec(parts[3]);
49166            if (subMatch) {
49167              parts[1] = parts[1] || "eval";
49168              parts[3] = subMatch[1];
49169              parts[4] = subMatch[2];
49170              parts[5] = "";
49171            }
49172          }
49173          let filename = parts[3];
49174          let func = parts[1] || UNKNOWN_FUNCTION;
49175          [func, filename] = extractSafariExtensionDetails(func, filename);
49176          return createFrame(filename, func, parts[4] ? +parts[4] : void 0, parts[5] ? +parts[5] : void 0);
49177        }
49178        return;
49179      };
49180      geckoStackLineParser = [GECKO_PRIORITY, gecko];
49181      winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
49182      winjs = (line2) => {
49183        const parts = winjsRegex.exec(line2);
49184        return parts ? createFrame(parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : void 0) : void 0;
49185      };
49186      winjsStackLineParser = [WINJS_PRIORITY, winjs];
49187      defaultStackLineParsers = [chromeStackLineParser, geckoStackLineParser, winjsStackLineParser];
49188      defaultStackParser = createStackParser(...defaultStackLineParsers);
49189      extractSafariExtensionDetails = (func, filename) => {
49190        const isSafariExtension = func.indexOf("safari-extension") !== -1;
49191        const isSafariWebExtension = func.indexOf("safari-web-extension") !== -1;
49192        return isSafariExtension || isSafariWebExtension ? [
49193          func.indexOf("@") !== -1 ? func.split("@")[0] : UNKNOWN_FUNCTION,
49194          isSafariExtension ? `safari-extension:${filename}` : `safari-web-extension:${filename}`
49195        ] : [func, filename];
49196      };
49197    }
49198  });
49199
49200  
vendor: 7,944 bytes, lines 49200-49456
49200// node_modules/@sentry/browser/esm/integrations/breadcrumbs.js
49201  function _getSentryBreadcrumbHandler(client) {
49202    return function addSentryBreadcrumb(event) {
49203      if (getClient() !== client) {
49204        return;
49205      }
49206      addBreadcrumb(
49207        {
49208          category: `sentry.${event.type === "transaction" ? "transaction" : "event"}`,
49209          event_id: event.event_id,
49210          level: event.level,
49211          message: getEventDescription(event)
49212        },
49213        {
49214          event
49215        }
49216      );
49217    };
49218  }
49219  function _getDomBreadcrumbHandler(client, dom2) {
49220    return function _innerDomBreadcrumb(handlerData) {
49221      if (getClient() !== client) {
49222        return;
49223      }
49224      let target;
49225      let componentName;
49226      let keyAttrs = typeof dom2 === "object" ? dom2.serializeAttribute : void 0;
49227      let maxStringLength = typeof dom2 === "object" && typeof dom2.maxStringLength === "number" ? dom2.maxStringLength : void 0;
49228      if (maxStringLength && maxStringLength > MAX_ALLOWED_STRING_LENGTH) {
49229        DEBUG_BUILD3 && logger.warn(
49230          `\`dom.maxStringLength\` cannot exceed ${MAX_ALLOWED_STRING_LENGTH}, but a value of ${maxStringLength} was configured. Sentry will use ${MAX_ALLOWED_STRING_LENGTH} instead.`
49231        );
49232        maxStringLength = MAX_ALLOWED_STRING_LENGTH;
49233      }
49234      if (typeof keyAttrs === "string") {
49235        keyAttrs = [keyAttrs];
49236      }
49237      try {
49238        const event = handlerData.event;
49239        const element = _isEvent(event) ? event.target : event;
49240        target = htmlTreeAsString(element, { keyAttrs, maxStringLength });
49241        componentName = getComponentName(element);
49242      } catch (e) {
49243        target = "<unknown>";
49244      }
49245      if (target.length === 0) {
49246        return;
49247      }
49248      const breadcrumb = {
49249        category: `ui.${handlerData.name}`,
49250        message: target
49251      };
49252      if (componentName) {
49253        breadcrumb.data = { "ui.component_name": componentName };
49254      }
49255      addBreadcrumb(breadcrumb, {
49256        event: handlerData.event,
49257        name: handlerData.name,
49258        global: handlerData.global
49259      });
49260    };
49261  }
49262  function _getConsoleBreadcrumbHandler(client) {
49263    return function _consoleBreadcrumb(handlerData) {
49264      if (getClient() !== client) {
49265        return;
49266      }
49267      const breadcrumb = {
49268        category: "console",
49269        data: {
49270          arguments: handlerData.args,
49271          logger: "console"
49272        },
49273        level: severityLevelFromString(handlerData.level),
49274        message: safeJoin(handlerData.args, " ")
49275      };
49276      if (handlerData.level === "assert") {
49277        if (handlerData.args[0] === false) {
49278          breadcrumb.message = `Assertion failed: ${safeJoin(handlerData.args.slice(1), " ") || "console.assert"}`;
49279          breadcrumb.data.arguments = handlerData.args.slice(1);
49280        } else {
49281          return;
49282        }
49283      }
49284      addBreadcrumb(breadcrumb, {
49285        input: handlerData.args,
49286        level: handlerData.level
49287      });
49288    };
49289  }
49290  function _getXhrBreadcrumbHandler(client) {
49291    return function _xhrBreadcrumb(handlerData) {
49292      if (getClient() !== client) {
49293        return;
49294      }
49295      const { startTimestamp, endTimestamp } = handlerData;
49296      const sentryXhrData = handlerData.xhr[SENTRY_XHR_DATA_KEY];
49297      if (!startTimestamp || !endTimestamp || !sentryXhrData) {
49298        return;
49299      }
49300      const { method, url, status_code, body } = sentryXhrData;
49301      const data = {
49302        method,
49303        url,
49304        status_code
49305      };
49306      const hint = {
49307        xhr: handlerData.xhr,
49308        input: body,
49309        startTimestamp,
49310        endTimestamp
49311      };
49312      addBreadcrumb(
49313        {
49314          category: "xhr",
49315          data,
49316          type: "http"
49317        },
49318        hint
49319      );
49320    };
49321  }
49322  function _getFetchBreadcrumbHandler(client) {
49323    return function _fetchBreadcrumb(handlerData) {
49324      if (getClient() !== client) {
49325        return;
49326      }
49327      const { startTimestamp, endTimestamp } = handlerData;
49328      if (!endTimestamp) {
49329        return;
49330      }
49331      if (handlerData.fetchData.url.match(/sentry_key/) && handlerData.fetchData.method === "POST") {
49332        return;
49333      }
49334      if (handlerData.error) {
49335        const data = handlerData.fetchData;
49336        const hint = {
49337          data: handlerData.error,
49338          input: handlerData.args,
49339          startTimestamp,
49340          endTimestamp
49341        };
49342        addBreadcrumb(
49343          {
49344            category: "fetch",
49345            data,
49346            level: "error",
49347            type: "http"
49348          },
49349          hint
49350        );
49351      } else {
49352        const response = handlerData.response;
49353        const data = __spreadProps(__spreadValues({}, handlerData.fetchData), {
49354          status_code: response && response.status
49355        });
49356        const hint = {
49357          input: handlerData.args,
49358          response,
49359          startTimestamp,
49360          endTimestamp
49361        };
49362        addBreadcrumb(
49363          {
49364            category: "fetch",
49365            data,
49366            type: "http"
49367          },
49368          hint
49369        );
49370      }
49371    };
49372  }
49373  function _getHistoryBreadcrumbHandler(client) {
49374    return function _historyBreadcrumb(handlerData) {
49375      if (getClient() !== client) {
49376        return;
49377      }
49378      let from2 = handlerData.from;
49379      let to = handlerData.to;
49380      const parsedLoc = parseUrl2(WINDOW8.location.href);
49381      let parsedFrom = from2 ? parseUrl2(from2) : void 0;
49382      const parsedTo = parseUrl2(to);
49383      if (!parsedFrom || !parsedFrom.path) {
49384        parsedFrom = parsedLoc;
49385      }
49386      if (parsedLoc.protocol === parsedTo.protocol && parsedLoc.host === parsedTo.host) {
49387        to = parsedTo.relative;
49388      }
49389      if (parsedLoc.protocol === parsedFrom.protocol && parsedLoc.host === parsedFrom.host) {
49390        from2 = parsedFrom.relative;
49391      }
49392      addBreadcrumb({
49393        category: "navigation",
49394        data: {
49395          from: from2,
49396          to
49397        }
49398      });
49399    };
49400  }
49401  function _isEvent(event) {
49402    return !!event && !!event.target;
49403  }
49404  var MAX_ALLOWED_STRING_LENGTH, INTEGRATION_NAME4, _breadcrumbsIntegration, breadcrumbsIntegration, Breadcrumbs;
49405  var init_breadcrumbs = __esm({
49406    "node_modules/@sentry/browser/esm/integrations/breadcrumbs.js"() {
49407      init_esbuild_shims();
49408      init_esm2();
49409      init_esm();
49410      init_debug_build3();
49411      init_helpers();
49412      MAX_ALLOWED_STRING_LENGTH = 1024;
49413      INTEGRATION_NAME4 = "Breadcrumbs";
49414      _breadcrumbsIntegration = ((options2 = {}) => {
49415        const _options = __spreadValues({
49416          console: true,
49417          dom: true,
49418          fetch: true,
49419          history: true,
49420          sentry: true,
49421          xhr: true
49422        }, options2);
49423        return {
49424          name: INTEGRATION_NAME4,
49425          // TODO v8: Remove this
49426          setupOnce() {
49427          },
49428          // eslint-disable-line @typescript-eslint/no-empty-function
49429          setup(client) {
49430            if (_options.console) {
49431              addConsoleInstrumentationHandler(_getConsoleBreadcrumbHandler(client));
49432            }
49433            if (_options.dom) {
49434              addClickKeypressInstrumentationHandler(_getDomBreadcrumbHandler(client, _options.dom));
49435            }
49436            if (_options.xhr) {
49437              addXhrInstrumentationHandler(_getXhrBreadcrumbHandler(client));
49438            }
49439            if (_options.fetch) {
49440              addFetchInstrumentationHandler(_getFetchBreadcrumbHandler(client));
49441            }
49442            if (_options.history) {
49443              addHistoryInstrumentationHandler(_getHistoryBreadcrumbHandler(client));
49444            }
49445            if (_options.sentry && client.on) {
49446              client.on("beforeSendEvent", _getSentryBreadcrumbHandler(client));
49447            }
49448          }
49449        };
49450      });
49451      breadcrumbsIntegration = defineIntegration(_breadcrumbsIntegration);
49452      Breadcrumbs = convertIntegrationFnToClass(INTEGRATION_NAME4, breadcrumbsIntegration);
49453    }
49454  });
49455
49456  
vendor: 4,643 bytes, lines 49456-49596
49456// node_modules/@sentry/browser/esm/integrations/dedupe.js
49457  function _shouldDropEvent2(currentEvent, previousEvent) {
49458    if (!previousEvent) {
49459      return false;
49460    }
49461    if (_isSameMessageEvent(currentEvent, previousEvent)) {
49462      return true;
49463    }
49464    if (_isSameExceptionEvent(currentEvent, previousEvent)) {
49465      return true;
49466    }
49467    return false;
49468  }
49469  function _isSameMessageEvent(currentEvent, previousEvent) {
49470    const currentMessage = currentEvent.message;
49471    const previousMessage = previousEvent.message;
49472    if (!currentMessage && !previousMessage) {
49473      return false;
49474    }
49475    if (currentMessage && !previousMessage || !currentMessage && previousMessage) {
49476      return false;
49477    }
49478    if (currentMessage !== previousMessage) {
49479      return false;
49480    }
49481    if (!_isSameFingerprint(currentEvent, previousEvent)) {
49482      return false;
49483    }
49484    if (!_isSameStacktrace(currentEvent, previousEvent)) {
49485      return false;
49486    }
49487    return true;
49488  }
49489  function _isSameExceptionEvent(currentEvent, previousEvent) {
49490    const previousException = _getExceptionFromEvent(previousEvent);
49491    const currentException = _getExceptionFromEvent(currentEvent);
49492    if (!previousException || !currentException) {
49493      return false;
49494    }
49495    if (previousException.type !== currentException.type || previousException.value !== currentException.value) {
49496      return false;
49497    }
49498    if (!_isSameFingerprint(currentEvent, previousEvent)) {
49499      return false;
49500    }
49501    if (!_isSameStacktrace(currentEvent, previousEvent)) {
49502      return false;
49503    }
49504    return true;
49505  }
49506  function _isSameStacktrace(currentEvent, previousEvent) {
49507    let currentFrames = _getFramesFromEvent(currentEvent);
49508    let previousFrames = _getFramesFromEvent(previousEvent);
49509    if (!currentFrames && !previousFrames) {
49510      return true;
49511    }
49512    if (currentFrames && !previousFrames || !currentFrames && previousFrames) {
49513      return false;
49514    }
49515    currentFrames = currentFrames;
49516    previousFrames = previousFrames;
49517    if (previousFrames.length !== currentFrames.length) {
49518      return false;
49519    }
49520    for (let i2 = 0; i2 < previousFrames.length; i2++) {
49521      const frameA = previousFrames[i2];
49522      const frameB = currentFrames[i2];
49523      if (frameA.filename !== frameB.filename || frameA.lineno !== frameB.lineno || frameA.colno !== frameB.colno || frameA.function !== frameB.function) {
49524        return false;
49525      }
49526    }
49527    return true;
49528  }
49529  function _isSameFingerprint(currentEvent, previousEvent) {
49530    let currentFingerprint = currentEvent.fingerprint;
49531    let previousFingerprint = previousEvent.fingerprint;
49532    if (!currentFingerprint && !previousFingerprint) {
49533      return true;
49534    }
49535    if (currentFingerprint && !previousFingerprint || !currentFingerprint && previousFingerprint) {
49536      return false;
49537    }
49538    currentFingerprint = currentFingerprint;
49539    previousFingerprint = previousFingerprint;
49540    try {
49541      return !!(currentFingerprint.join("") === previousFingerprint.join(""));
49542    } catch (_oO) {
49543      return false;
49544    }
49545  }
49546  function _getExceptionFromEvent(event) {
49547    return event.exception && event.exception.values && event.exception.values[0];
49548  }
49549  function _getFramesFromEvent(event) {
49550    const exception = event.exception;
49551    if (exception) {
49552      try {
49553        return exception.values[0].stacktrace.frames;
49554      } catch (_oO) {
49555        return void 0;
49556      }
49557    }
49558    return void 0;
49559  }
49560  var INTEGRATION_NAME5, _dedupeIntegration, dedupeIntegration, Dedupe;
49561  var init_dedupe = __esm({
49562    "node_modules/@sentry/browser/esm/integrations/dedupe.js"() {
49563      init_esbuild_shims();
49564      init_esm2();
49565      init_esm();
49566      init_debug_build3();
49567      INTEGRATION_NAME5 = "Dedupe";
49568      _dedupeIntegration = (() => {
49569        let previousEvent;
49570        return {
49571          name: INTEGRATION_NAME5,
49572          // TODO v8: Remove this
49573          setupOnce() {
49574          },
49575          // eslint-disable-line @typescript-eslint/no-empty-function
49576          processEvent(currentEvent) {
49577            if (currentEvent.type) {
49578              return currentEvent;
49579            }
49580            try {
49581              if (_shouldDropEvent2(currentEvent, previousEvent)) {
49582                DEBUG_BUILD3 && logger.warn("Event dropped due to being a duplicate of previously captured event.");
49583                return null;
49584              }
49585            } catch (_oO) {
49586            }
49587            return previousEvent = currentEvent;
49588          }
49589        };
49590      });
49591      dedupeIntegration = defineIntegration(_dedupeIntegration);
49592      Dedupe = convertIntegrationFnToClass(INTEGRATION_NAME5, dedupeIntegration);
49593    }
49594  });
49595
49596  
vendor: 5,272 bytes, lines 49596-49758
49596// node_modules/@sentry/browser/esm/integrations/globalhandlers.js
49597  function _installGlobalOnErrorHandler(client) {
49598    addGlobalErrorInstrumentationHandler((data) => {
49599      const { stackParser, attachStacktrace } = getOptions();
49600      if (getClient() !== client || shouldIgnoreOnError()) {
49601        return;
49602      }
49603      const { msg, url, line: line2, column: column2, error } = data;
49604      const event = error === void 0 && isString2(msg) ? _eventFromIncompleteOnError(msg, url, line2, column2) : _enhanceEventWithInitialFrame(
49605        eventFromUnknownInput2(stackParser, error || msg, void 0, attachStacktrace, false),
49606        url,
49607        line2,
49608        column2
49609      );
49610      event.level = "error";
49611      captureEvent(event, {
49612        originalException: error,
49613        mechanism: {
49614          handled: false,
49615          type: "onerror"
49616        }
49617      });
49618    });
49619  }
49620  function _installGlobalOnUnhandledRejectionHandler(client) {
49621    addGlobalUnhandledRejectionInstrumentationHandler((e) => {
49622      const { stackParser, attachStacktrace } = getOptions();
49623      if (getClient() !== client || shouldIgnoreOnError()) {
49624        return;
49625      }
49626      const error = _getUnhandledRejectionError(e);
49627      const event = isPrimitive(error) ? _eventFromRejectionWithPrimitive(error) : eventFromUnknownInput2(stackParser, error, void 0, attachStacktrace, true);
49628      event.level = "error";
49629      captureEvent(event, {
49630        originalException: error,
49631        mechanism: {
49632          handled: false,
49633          type: "onunhandledrejection"
49634        }
49635      });
49636    });
49637  }
49638  function _getUnhandledRejectionError(error) {
49639    if (isPrimitive(error)) {
49640      return error;
49641    }
49642    const e = error;
49643    try {
49644      if ("reason" in e) {
49645        return e.reason;
49646      } else if ("detail" in e && "reason" in e.detail) {
49647        return e.detail.reason;
49648      }
49649    } catch (e2) {
49650    }
49651    return error;
49652  }
49653  function _eventFromRejectionWithPrimitive(reason) {
49654    return {
49655      exception: {
49656        values: [
49657          {
49658            type: "UnhandledRejection",
49659            // String() is needed because the Primitive type includes symbols (which can't be automatically stringified)
49660            value: `Non-Error promise rejection captured with value: ${String(reason)}`
49661          }
49662        ]
49663      }
49664    };
49665  }
49666  function _eventFromIncompleteOnError(msg, url, line2, column2) {
49667    const ERROR_TYPES_RE = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
49668    let message = isErrorEvent(msg) ? msg.message : msg;
49669    let name2 = "Error";
49670    const groups = message.match(ERROR_TYPES_RE);
49671    if (groups) {
49672      name2 = groups[1];
49673      message = groups[2];
49674    }
49675    const event = {
49676      exception: {
49677        values: [
49678          {
49679            type: name2,
49680            value: message
49681          }
49682        ]
49683      }
49684    };
49685    return _enhanceEventWithInitialFrame(event, url, line2, column2);
49686  }
49687  function _enhanceEventWithInitialFrame(event, url, line2, column2) {
49688    const e = event.exception = event.exception || {};
49689    const ev = e.values = e.values || [];
49690    const ev0 = ev[0] = ev[0] || {};
49691    const ev0s = ev0.stacktrace = ev0.stacktrace || {};
49692    const ev0sf = ev0s.frames = ev0s.frames || [];
49693    const colno = isNaN(parseInt(column2, 10)) ? void 0 : column2;
49694    const lineno = isNaN(parseInt(line2, 10)) ? void 0 : line2;
49695    const filename = isString2(url) && url.length > 0 ? url : getLocationHref();
49696    if (ev0sf.length === 0) {
49697      ev0sf.push({
49698        colno,
49699        filename,
49700        function: "?",
49701        in_app: true,
49702        lineno
49703      });
49704    }
49705    return event;
49706  }
49707  function globalHandlerLog(type) {
49708    DEBUG_BUILD3 && logger.log(`Global Handler attached: ${type}`);
49709  }
49710  function getOptions() {
49711    const client = getClient();
49712    const options2 = client && client.getOptions() || {
49713      stackParser: () => [],
49714      attachStacktrace: false
49715    };
49716    return options2;
49717  }
49718  var INTEGRATION_NAME6, _globalHandlersIntegration, globalHandlersIntegration, GlobalHandlers;
49719  var init_globalhandlers = __esm({
49720    "node_modules/@sentry/browser/esm/integrations/globalhandlers.js"() {
49721      init_esbuild_shims();
49722      init_esm2();
49723      init_esm();
49724      init_debug_build3();
49725      init_eventbuilder2();
49726      init_helpers();
49727      INTEGRATION_NAME6 = "GlobalHandlers";
49728      _globalHandlersIntegration = ((options2 = {}) => {
49729        const _options = __spreadValues({
49730          onerror: true,
49731          onunhandledrejection: true
49732        }, options2);
49733        return {
49734          name: INTEGRATION_NAME6,
49735          setupOnce() {
49736            Error.stackTraceLimit = 50;
49737          },
49738          setup(client) {
49739            if (_options.onerror) {
49740              _installGlobalOnErrorHandler(client);
49741              globalHandlerLog("onerror");
49742            }
49743            if (_options.onunhandledrejection) {
49744              _installGlobalOnUnhandledRejectionHandler(client);
49745              globalHandlerLog("onunhandledrejection");
49746            }
49747          }
49748        };
49749      });
49750      globalHandlersIntegration = defineIntegration(_globalHandlersIntegration);
49751      GlobalHandlers = convertIntegrationFnToClass(
49752        INTEGRATION_NAME6,
49753        globalHandlersIntegration
49754      );
49755    }
49756  });
49757
49758  
vendor: 1,557 bytes, lines 49758-49791
49758// node_modules/@sentry/browser/esm/integrations/httpcontext.js
49759  var INTEGRATION_NAME7, _httpContextIntegration, httpContextIntegration, HttpContext;
49760  var init_httpcontext = __esm({
49761    "node_modules/@sentry/browser/esm/integrations/httpcontext.js"() {
49762      init_esbuild_shims();
49763      init_esm2();
49764      init_helpers();
49765      INTEGRATION_NAME7 = "HttpContext";
49766      _httpContextIntegration = (() => {
49767        return {
49768          name: INTEGRATION_NAME7,
49769          // TODO v8: Remove this
49770          setupOnce() {
49771          },
49772          // eslint-disable-line @typescript-eslint/no-empty-function
49773          preprocessEvent(event) {
49774            if (!WINDOW8.navigator && !WINDOW8.location && !WINDOW8.document) {
49775              return;
49776            }
49777            const url = event.request && event.request.url || WINDOW8.location && WINDOW8.location.href;
49778            const { referrer } = WINDOW8.document || {};
49779            const { userAgent: userAgent2 } = WINDOW8.navigator || {};
49780            const headers = __spreadValues(__spreadValues(__spreadValues({}, event.request && event.request.headers), referrer && { Referer: referrer }), userAgent2 && { "User-Agent": userAgent2 });
49781            const request = __spreadProps(__spreadValues(__spreadValues({}, event.request), url && { url }), { headers });
49782            event.request = request;
49783          }
49784        };
49785      });
49786      httpContextIntegration = defineIntegration(_httpContextIntegration);
49787      HttpContext = convertIntegrationFnToClass(INTEGRATION_NAME7, httpContextIntegration);
49788    }
49789  });
49790
49791  
vendor: 1,530 bytes, lines 49791-49831
49791// node_modules/@sentry/browser/esm/integrations/linkederrors.js
49792  var DEFAULT_KEY2, DEFAULT_LIMIT2, INTEGRATION_NAME8, _linkedErrorsIntegration2, linkedErrorsIntegration2, LinkedErrors2;
49793  var init_linkederrors2 = __esm({
49794    "node_modules/@sentry/browser/esm/integrations/linkederrors.js"() {
49795      init_esbuild_shims();
49796      init_esm2();
49797      init_esm();
49798      init_eventbuilder2();
49799      DEFAULT_KEY2 = "cause";
49800      DEFAULT_LIMIT2 = 5;
49801      INTEGRATION_NAME8 = "LinkedErrors";
49802      _linkedErrorsIntegration2 = ((options2 = {}) => {
49803        const limit = options2.limit || DEFAULT_LIMIT2;
49804        const key = options2.key || DEFAULT_KEY2;
49805        return {
49806          name: INTEGRATION_NAME8,
49807          // TODO v8: Remove this
49808          setupOnce() {
49809          },
49810          // eslint-disable-line @typescript-eslint/no-empty-function
49811          preprocessEvent(event, hint, client) {
49812            const options3 = client.getOptions();
49813            applyAggregateErrorsToEvent(
49814              // This differs from the LinkedErrors integration in core by using a different exceptionFromError function
49815              exceptionFromError2,
49816              options3.stackParser,
49817              options3.maxValueLength,
49818              key,
49819              limit,
49820              event,
49821              hint
49822            );
49823          }
49824        };
49825      });
49826      linkedErrorsIntegration2 = defineIntegration(_linkedErrorsIntegration2);
49827      LinkedErrors2 = convertIntegrationFnToClass(INTEGRATION_NAME8, linkedErrorsIntegration2);
49828    }
49829  });
49830
49831  
vendor: 6,363 bytes, lines 49831-50031
49831// node_modules/@sentry/browser/esm/integrations/trycatch.js
49832  function _wrapTimeFunction(original) {
49833    return function(...args) {
49834      const originalCallback = args[0];
49835      args[0] = wrap(originalCallback, {
49836        mechanism: {
49837          data: { function: getFunctionName(original) },
49838          handled: false,
49839          type: "instrument"
49840        }
49841      });
49842      return original.apply(this, args);
49843    };
49844  }
49845  function _wrapRAF(original) {
49846    return function(callback) {
49847      return original.apply(this, [
49848        wrap(callback, {
49849          mechanism: {
49850            data: {
49851              function: "requestAnimationFrame",
49852              handler: getFunctionName(original)
49853            },
49854            handled: false,
49855            type: "instrument"
49856          }
49857        })
49858      ]);
49859    };
49860  }
49861  function _wrapXHR(originalSend) {
49862    return function(...args) {
49863      const xhr = this;
49864      const xmlHttpRequestProps = ["onload", "onerror", "onprogress", "onreadystatechange"];
49865      xmlHttpRequestProps.forEach((prop) => {
49866        if (prop in xhr && typeof xhr[prop] === "function") {
49867          fill(xhr, prop, function(original) {
49868            const wrapOptions = {
49869              mechanism: {
49870                data: {
49871                  function: prop,
49872                  handler: getFunctionName(original)
49873                },
49874                handled: false,
49875                type: "instrument"
49876              }
49877            };
49878            const originalFunction = getOriginalFunction(original);
49879            if (originalFunction) {
49880              wrapOptions.mechanism.data.handler = getFunctionName(originalFunction);
49881            }
49882            return wrap(original, wrapOptions);
49883          });
49884        }
49885      });
49886      return originalSend.apply(this, args);
49887    };
49888  }
49889  function _wrapEventTarget(target) {
49890    const globalObject = WINDOW8;
49891    const proto = globalObject[target] && globalObject[target].prototype;
49892    if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty("addEventListener")) {
49893      return;
49894    }
49895    fill(proto, "addEventListener", function(original) {
49896      return function(eventName, fn, options2) {
49897        try {
49898          if (typeof fn.handleEvent === "function") {
49899            fn.handleEvent = wrap(fn.handleEvent, {
49900              mechanism: {
49901                data: {
49902                  function: "handleEvent",
49903                  handler: getFunctionName(fn),
49904                  target
49905                },
49906                handled: false,
49907                type: "instrument"
49908              }
49909            });
49910          }
49911        } catch (err) {
49912        }
49913        return original.apply(this, [
49914          eventName,
49915          // eslint-disable-next-line @typescript-eslint/no-explicit-any
49916          wrap(fn, {
49917            mechanism: {
49918              data: {
49919                function: "addEventListener",
49920                handler: getFunctionName(fn),
49921                target
49922              },
49923              handled: false,
49924              type: "instrument"
49925            }
49926          }),
49927          options2
49928        ]);
49929      };
49930    });
49931    fill(
49932      proto,
49933      "removeEventListener",
49934      function(originalRemoveEventListener) {
49935        return function(eventName, fn, options2) {
49936          const wrappedEventHandler = fn;
49937          try {
49938            const originalEventHandler = wrappedEventHandler && wrappedEventHandler.__sentry_wrapped__;
49939            if (originalEventHandler) {
49940              originalRemoveEventListener.call(this, eventName, originalEventHandler, options2);
49941            }
49942          } catch (e) {
49943          }
49944          return originalRemoveEventListener.call(this, eventName, wrappedEventHandler, options2);
49945        };
49946      }
49947    );
49948  }
49949  var DEFAULT_EVENT_TARGET, INTEGRATION_NAME9, _browserApiErrorsIntegration, browserApiErrorsIntegration, TryCatch;
49950  var init_trycatch = __esm({
49951    "node_modules/@sentry/browser/esm/integrations/trycatch.js"() {
49952      init_esbuild_shims();
49953      init_esm2();
49954      init_esm();
49955      init_helpers();
49956      DEFAULT_EVENT_TARGET = [
49957        "EventTarget",
49958        "Window",
49959        "Node",
49960        "ApplicationCache",
49961        "AudioTrackList",
49962        "BroadcastChannel",
49963        "ChannelMergerNode",
49964        "CryptoOperation",
49965        "EventSource",
49966        "FileReader",
49967        "HTMLUnknownElement",
49968        "IDBDatabase",
49969        "IDBRequest",
49970        "IDBTransaction",
49971        "KeyOperation",
49972        "MediaController",
49973        "MessagePort",
49974        "ModalWindow",
49975        "Notification",
49976        "SVGElementInstance",
49977        "Screen",
49978        "SharedWorker",
49979        "TextTrack",
49980        "TextTrackCue",
49981        "TextTrackList",
49982        "WebSocket",
49983        "WebSocketWorker",
49984        "Worker",
49985        "XMLHttpRequest",
49986        "XMLHttpRequestEventTarget",
49987        "XMLHttpRequestUpload"
49988      ];
49989      INTEGRATION_NAME9 = "TryCatch";
49990      _browserApiErrorsIntegration = ((options2 = {}) => {
49991        const _options = __spreadValues({
49992          XMLHttpRequest: true,
49993          eventTarget: true,
49994          requestAnimationFrame: true,
49995          setInterval: true,
49996          setTimeout: true
49997        }, options2);
49998        return {
49999          name: INTEGRATION_NAME9,
50000          // TODO: This currently only works for the first client this is setup
50001          // We may want to adjust this to check for client etc.
50002          setupOnce() {
50003            if (_options.setTimeout) {
50004              fill(WINDOW8, "setTimeout", _wrapTimeFunction);
50005            }
50006            if (_options.setInterval) {
50007              fill(WINDOW8, "setInterval", _wrapTimeFunction);
50008            }
50009            if (_options.requestAnimationFrame) {
50010              fill(WINDOW8, "requestAnimationFrame", _wrapRAF);
50011            }
50012            if (_options.XMLHttpRequest && "XMLHttpRequest" in WINDOW8) {
50013              fill(XMLHttpRequest.prototype, "send", _wrapXHR);
50014            }
50015            const eventTargetOption = _options.eventTarget;
50016            if (eventTargetOption) {
50017              const eventTarget = Array.isArray(eventTargetOption) ? eventTargetOption : DEFAULT_EVENT_TARGET;
50018              eventTarget.forEach(_wrapEventTarget);
50019            }
50020          }
50021        };
50022      });
50023      browserApiErrorsIntegration = defineIntegration(_browserApiErrorsIntegration);
50024      TryCatch = convertIntegrationFnToClass(
50025        INTEGRATION_NAME9,
50026        browserApiErrorsIntegration
50027      );
50028    }
50029  });
50030
50031  
vendor: 2,580 bytes, lines 50031-50111
50031// node_modules/@sentry/browser/esm/sdk.js
50032  function getDefaultIntegrations(_options) {
50033    return [
50034      // eslint-disable-next-line deprecation/deprecation
50035      ...defaultIntegrations
50036    ];
50037  }
50038  function init2(options2 = {}) {
50039    if (options2.defaultIntegrations === void 0) {
50040      options2.defaultIntegrations = getDefaultIntegrations();
50041    }
50042    if (options2.release === void 0) {
50043      if (typeof __SENTRY_RELEASE__ === "string") {
50044        options2.release = __SENTRY_RELEASE__;
50045      }
50046      if (WINDOW8.SENTRY_RELEASE && WINDOW8.SENTRY_RELEASE.id) {
50047        options2.release = WINDOW8.SENTRY_RELEASE.id;
50048      }
50049    }
50050    if (options2.autoSessionTracking === void 0) {
50051      options2.autoSessionTracking = true;
50052    }
50053    if (options2.sendClientReports === void 0) {
50054      options2.sendClientReports = true;
50055    }
50056    const clientOptions = __spreadProps(__spreadValues({}, options2), {
50057      stackParser: stackParserFromStackParserOptions(options2.stackParser || defaultStackParser),
50058      integrations: getIntegrationsToSetup(options2),
50059      transport: options2.transport || (supportsFetch() ? makeFetchTransport : makeXHRTransport)
50060    });
50061    initAndBind(BrowserClient, clientOptions);
50062    if (options2.autoSessionTracking) {
50063      startSessionTracking();
50064    }
50065  }
50066  function startSessionTracking() {
50067    if (typeof WINDOW8.document === "undefined") {
50068      DEBUG_BUILD3 && logger.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");
50069      return;
50070    }
50071    startSession({ ignoreDuration: true });
50072    captureSession();
50073    addHistoryInstrumentationHandler(({ from: from2, to }) => {
50074      if (from2 !== void 0 && from2 !== to) {
50075        startSession({ ignoreDuration: true });
50076        captureSession();
50077      }
50078    });
50079  }
50080  var defaultIntegrations;
50081  var init_sdk2 = __esm({
50082    "node_modules/@sentry/browser/esm/sdk.js"() {
50083      init_esbuild_shims();
50084      init_esm2();
50085      init_esm();
50086      init_client();
50087      init_debug_build3();
50088      init_helpers();
50089      init_breadcrumbs();
50090      init_dedupe();
50091      init_globalhandlers();
50092      init_httpcontext();
50093      init_linkederrors2();
50094      init_trycatch();
50095      init_stack_parsers();
50096      init_fetch3();
50097      init_xhr3();
50098      defaultIntegrations = [
50099        inboundFiltersIntegration(),
50100        functionToStringIntegration(),
50101        browserApiErrorsIntegration(),
50102        breadcrumbsIntegration(),
50103        globalHandlersIntegration(),
50104        linkedErrorsIntegration2(),
50105        dedupeIntegration(),
50106        httpContextIntegration()
50107      ];
50108    }
50109  });
50110
50111  
vendor: 638 bytes, lines 50111-50133
50111// node_modules/@sentry/browser/esm/integrations/index.js
50112  var integrations_exports2 = {};
50113  __export(integrations_exports2, {
50114    Breadcrumbs: () => Breadcrumbs,
50115    Dedupe: () => Dedupe,
50116    GlobalHandlers: () => GlobalHandlers,
50117    HttpContext: () => HttpContext,
50118    LinkedErrors: () => LinkedErrors2,
50119    TryCatch: () => TryCatch
50120  });
50121  var init_integrations2 = __esm({
50122    "node_modules/@sentry/browser/esm/integrations/index.js"() {
50123      init_esbuild_shims();
50124      init_globalhandlers();
50125      init_trycatch();
50126      init_breadcrumbs();
50127      init_linkederrors2();
50128      init_httpcontext();
50129      init_dedupe();
50130    }
50131  });
50132
50133  
vendor: 599 bytes, lines 50133-50151
50133// node_modules/@sentry/browser/esm/index.js
50134  var windowIntegrations, INTEGRATIONS;
50135  var init_esm3 = __esm({
50136    "node_modules/@sentry/browser/esm/index.js"() {
50137      init_esbuild_shims();
50138      init_esm2();
50139      init_esm2();
50140      init_helpers();
50141      init_sdk2();
50142      init_integrations2();
50143      windowIntegrations = {};
50144      if (WINDOW8.Sentry && WINDOW8.Sentry.Integrations) {
50145        windowIntegrations = WINDOW8.Sentry.Integrations;
50146      }
50147      INTEGRATIONS = __spreadValues(__spreadValues(__spreadValues({}, windowIntegrations), Integrations), integrations_exports2);
50148    }
50149  });
50150
50151  
50151// apps/base/javascript/generic/error_tracking.ts
50152  var error_tracking_exports = {};
50153  var _a3, isSentryEnabled;
50154  var init_error_tracking = __esm({
50155    "apps/base/javascript/generic/error_tracking.ts"() {
50156      "use strict";
50157      init_esbuild_shims();
50158      init_esm3();
50159      isSentryEnabled = ((_a3 = document == null ? void 0 : document.querySelector('meta[name="sentry_reporting"]')) == null ? void 0 : _a3.getAttribute("content")) === "true";
50160      if (isSentryEnabled) {
50161        init2({
50162          dsn: "https://[email protected]/5637108",
50163          tracesSampleRate: 0.01,
50164          ignoreErrors: [
50165            // TODO: Find a way to fix these errors instead of ignoring them
50166            // This error only happens in Safari because it fails to parse the JSON-LD
50167            `undefined is not an object (evaluating 'r["@context"].toLowerCase')`,
50168            // These errors are thrown without any way for us to debug them
50169            `Non-Error promise rejection captured with value: Timeout`,
50170            // These errors are thrown because we use jQuery for this error handling, and it considers
50171            // the error to be an unhandled promise rejection
50172            `Object captured as promise rejection with keys: abort, always, complete, done, error`,
50173            // These errors are caused by Adobe Analytics launch.js, and we haven't found a way to fix them
50174            `document.documentElement.attributes.class is undefined`,
50175            "undefined is not an object (evaluating 'document.documentElement.attributes.class.value')"
50176          ]
50177        });
50178        setTag("client_side", "true");
50179      }
50180    }
50181  });
50182
50183  
vendor: 545 bytes, lines 50183-50198
50183// node_modules/@babel/runtime/helpers/esm/typeof.js
50184  function _typeof2(o2) {
50185    "@babel/helpers - typeof";
50186    return _typeof2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o3) {
50187      return typeof o3;
50188    } : function(o3) {
50189      return o3 && "function" == typeof Symbol && o3.constructor === Symbol && o3 !== Symbol.prototype ? "symbol" : typeof o3;
50190    }, _typeof2(o2);
50191  }
50192  var init_typeof = __esm({
50193    "node_modules/@babel/runtime/helpers/esm/typeof.js"() {
50194      init_esbuild_shims();
50195    }
50196  });
50197
50198  
vendor: 593 bytes, lines 50198-50216
50198// node_modules/@babel/runtime/helpers/esm/toPrimitive.js
50199  function toPrimitive(t2, r2) {
50200    if ("object" != _typeof2(t2) || !t2) return t2;
50201    var e = t2[Symbol.toPrimitive];
50202    if (void 0 !== e) {
50203      var i2 = e.call(t2, r2 || "default");
50204      if ("object" != _typeof2(i2)) return i2;
50205      throw new TypeError("@@toPrimitive must return a primitive value.");
50206    }
50207    return ("string" === r2 ? String : Number)(t2);
50208  }
50209  var init_toPrimitive = __esm({
50210    "node_modules/@babel/runtime/helpers/esm/toPrimitive.js"() {
50211      init_esbuild_shims();
50212      init_typeof();
50213    }
50214  });
50215
50216  
vendor: 379 bytes, lines 50216-50229
50216// node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
50217  function toPropertyKey(t2) {
50218    var i2 = toPrimitive(t2, "string");
50219    return "symbol" == _typeof2(i2) ? i2 : i2 + "";
50220  }
50221  var init_toPropertyKey = __esm({
50222    "node_modules/@babel/runtime/helpers/esm/toPropertyKey.js"() {
50223      init_esbuild_shims();
50224      init_typeof();
50225      init_toPrimitive();
50226    }
50227  });
50228
50229  
vendor: 467 bytes, lines 50229-50245
50229// node_modules/@babel/runtime/helpers/esm/defineProperty.js
50230  function _defineProperty3(e, r2, t2) {
50231    return (r2 = toPropertyKey(r2)) in e ? Object.defineProperty(e, r2, {
50232      value: t2,
50233      enumerable: true,
50234      configurable: true,
50235      writable: true
50236    }) : e[r2] = t2, e;
50237  }
50238  var init_defineProperty = __esm({
50239    "node_modules/@babel/runtime/helpers/esm/defineProperty.js"() {
50240      init_esbuild_shims();
50241      init_toPropertyKey();
50242    }
50243  });
50244
50245  
vendor: 1,067 bytes, lines 50245-50274
50245// node_modules/@babel/runtime/helpers/esm/objectSpread2.js
50246  function ownKeys3(e, r2) {
50247    var t2 = Object.keys(e);
50248    if (Object.getOwnPropertySymbols) {
50249      var o2 = Object.getOwnPropertySymbols(e);
50250      r2 && (o2 = o2.filter(function(r3) {
50251        return Object.getOwnPropertyDescriptor(e, r3).enumerable;
50252      })), t2.push.apply(t2, o2);
50253    }
50254    return t2;
50255  }
50256  function _objectSpread23(e) {
50257    for (var r2 = 1; r2 < arguments.length; r2++) {
50258      var t2 = null != arguments[r2] ? arguments[r2] : {};
50259      r2 % 2 ? ownKeys3(Object(t2), true).forEach(function(r3) {
50260        _defineProperty3(e, r3, t2[r3]);
50261      }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys3(Object(t2)).forEach(function(r3) {
50262        Object.defineProperty(e, r3, Object.getOwnPropertyDescriptor(t2, r3));
50263      });
50264    }
50265    return e;
50266  }
50267  var init_objectSpread2 = __esm({
50268    "node_modules/@babel/runtime/helpers/esm/objectSpread2.js"() {
50269      init_esbuild_shims();
50270      init_defineProperty();
50271    }
50272  });
50273
50274  
vendor: 283 bytes, lines 50274-50284
50274// node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
50275  function _arrayWithHoles(r2) {
50276    if (Array.isArray(r2)) return r2;
50277  }
50278  var init_arrayWithHoles = __esm({
50279    "node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js"() {
50280      init_esbuild_shims();
50281    }
50282  });
50283
50284  
vendor: 940 bytes, lines 50284-50312
50284// node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
50285  function _iterableToArrayLimit(r2, l) {
50286    var t2 = null == r2 ? null : "undefined" != typeof Symbol && r2[Symbol.iterator] || r2["@@iterator"];
50287    if (null != t2) {
50288      var e, n, i2, u, a = [], f = true, o2 = false;
50289      try {
50290        if (i2 = (t2 = t2.call(r2)).next, 0 === l) {
50291          if (Object(t2) !== t2) return;
50292          f = false;
50293        } else for (; !(f = (e = i2.call(t2)).done) && (a.push(e.value), a.length !== l); f = true) ;
50294      } catch (r3) {
50295        o2 = true, n = r3;
50296      } finally {
50297        try {
50298          if (!f && null != t2["return"] && (u = t2["return"](), Object(u) !== u)) return;
50299        } finally {
50300          if (o2) throw n;
50301        }
50302      }
50303      return a;
50304    }
50305  }
50306  var init_iterableToArrayLimit = __esm({
50307    "node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js"() {
50308      init_esbuild_shims();
50309    }
50310  });
50311
50312  
vendor: 384 bytes, lines 50312-50324
50312// node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
50313  function _arrayLikeToArray2(r2, a) {
50314    (null == a || a > r2.length) && (a = r2.length);
50315    for (var e = 0, n = Array(a); e < a; e++) n[e] = r2[e];
50316    return n;
50317  }
50318  var init_arrayLikeToArray = __esm({
50319    "node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js"() {
50320      init_esbuild_shims();
50321    }
50322  });
50323
50324  
vendor: 703 bytes, lines 50324-50339
50324// node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
50325  function _unsupportedIterableToArray2(r2, a) {
50326    if (r2) {
50327      if ("string" == typeof r2) return _arrayLikeToArray2(r2, a);
50328      var t2 = {}.toString.call(r2).slice(8, -1);
50329      return "Object" === t2 && r2.constructor && (t2 = r2.constructor.name), "Map" === t2 || "Set" === t2 ? Array.from(r2) : "Arguments" === t2 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t2) ? _arrayLikeToArray2(r2, a) : void 0;
50330    }
50331  }
50332  var init_unsupportedIterableToArray = __esm({
50333    "node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"() {
50334      init_esbuild_shims();
50335      init_arrayLikeToArray();
50336    }
50337  });
50338
50339  
vendor: 413 bytes, lines 50339-50349
50339// node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
50340  function _nonIterableRest() {
50341    throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
50342  }
50343  var init_nonIterableRest = __esm({
50344    "node_modules/@babel/runtime/helpers/esm/nonIterableRest.js"() {
50345      init_esbuild_shims();
50346    }
50347  });
50348
50349  
vendor: 504 bytes, lines 50349-50363
50349// node_modules/@babel/runtime/helpers/esm/slicedToArray.js
50350  function _slicedToArray(r2, e) {
50351    return _arrayWithHoles(r2) || _iterableToArrayLimit(r2, e) || _unsupportedIterableToArray2(r2, e) || _nonIterableRest();
50352  }
50353  var init_slicedToArray = __esm({
50354    "node_modules/@babel/runtime/helpers/esm/slicedToArray.js"() {
50355      init_esbuild_shims();
50356      init_arrayWithHoles();
50357      init_iterableToArrayLimit();
50358      init_unsupportedIterableToArray();
50359      init_nonIterableRest();
50360    }
50361  });
50362
50363  
vendor: 495 bytes, lines 50363-50379
50363// node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
50364  function _objectWithoutPropertiesLoose2(r2, e) {
50365    if (null == r2) return {};
50366    var t2 = {};
50367    for (var n in r2) if ({}.hasOwnProperty.call(r2, n)) {
50368      if (-1 !== e.indexOf(n)) continue;
50369      t2[n] = r2[n];
50370    }
50371    return t2;
50372  }
50373  var init_objectWithoutPropertiesLoose = __esm({
50374    "node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"() {
50375      init_esbuild_shims();
50376    }
50377  });
50378
50379  
vendor: 660 bytes, lines 50379-50396
50379// node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
50380  function _objectWithoutProperties2(e, t2) {
50381    if (null == e) return {};
50382    var o2, r2, i2 = _objectWithoutPropertiesLoose2(e, t2);
50383    if (Object.getOwnPropertySymbols) {
50384      var n = Object.getOwnPropertySymbols(e);
50385      for (r2 = 0; r2 < n.length; r2++) o2 = n[r2], -1 === t2.indexOf(o2) && {}.propertyIsEnumerable.call(e, o2) && (i2[o2] = e[o2]);
50386    }
50387    return i2;
50388  }
50389  var init_objectWithoutProperties = __esm({
50390    "node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"() {
50391      init_esbuild_shims();
50392      init_objectWithoutPropertiesLoose();
50393    }
50394  });
50395
50396  
vendor: 3,419 bytes, lines 50396-50452
50396// node_modules/react-select/dist/useStateManager-7e1e8489.esm.js
50397  function useStateManager(_ref3) {
50398    var _ref$defaultInputValu = _ref3.defaultInputValue, defaultInputValue = _ref$defaultInputValu === void 0 ? "" : _ref$defaultInputValu, _ref$defaultMenuIsOpe = _ref3.defaultMenuIsOpen, defaultMenuIsOpen = _ref$defaultMenuIsOpe === void 0 ? false : _ref$defaultMenuIsOpe, _ref$defaultValue = _ref3.defaultValue, defaultValue = _ref$defaultValue === void 0 ? null : _ref$defaultValue, propsInputValue = _ref3.inputValue, propsMenuIsOpen = _ref3.menuIsOpen, propsOnChange = _ref3.onChange, propsOnInputChange = _ref3.onInputChange, propsOnMenuClose = _ref3.onMenuClose, propsOnMenuOpen = _ref3.onMenuOpen, propsValue = _ref3.value, restSelectProps = _objectWithoutProperties2(_ref3, _excluded2);
50399    var _useState = (0, import_react13.useState)(propsInputValue !== void 0 ? propsInputValue : defaultInputValue), _useState2 = _slicedToArray(_useState, 2), stateInputValue = _useState2[0], setStateInputValue = _useState2[1];
50400    var _useState3 = (0, import_react13.useState)(propsMenuIsOpen !== void 0 ? propsMenuIsOpen : defaultMenuIsOpen), _useState4 = _slicedToArray(_useState3, 2), stateMenuIsOpen = _useState4[0], setStateMenuIsOpen = _useState4[1];
50401    var _useState5 = (0, import_react13.useState)(propsValue !== void 0 ? propsValue : defaultValue), _useState6 = _slicedToArray(_useState5, 2), stateValue = _useState6[0], setStateValue = _useState6[1];
50402    var onChange3 = (0, import_react13.useCallback)(function(value2, actionMeta) {
50403      if (typeof propsOnChange === "function") {
50404        propsOnChange(value2, actionMeta);
50405      }
50406      setStateValue(value2);
50407    }, [propsOnChange]);
50408    var onInputChange = (0, import_react13.useCallback)(function(value2, actionMeta) {
50409      var newValue;
50410      if (typeof propsOnInputChange === "function") {
50411        newValue = propsOnInputChange(value2, actionMeta);
50412      }
50413      setStateInputValue(newValue !== void 0 ? newValue : value2);
50414    }, [propsOnInputChange]);
50415    var onMenuOpen = (0, import_react13.useCallback)(function() {
50416      if (typeof propsOnMenuOpen === "function") {
50417        propsOnMenuOpen();
50418      }
50419      setStateMenuIsOpen(true);
50420    }, [propsOnMenuOpen]);
50421    var onMenuClose = (0, import_react13.useCallback)(function() {
50422      if (typeof propsOnMenuClose === "function") {
50423        propsOnMenuClose();
50424      }
50425      setStateMenuIsOpen(false);
50426    }, [propsOnMenuClose]);
50427    var inputValue = propsInputValue !== void 0 ? propsInputValue : stateInputValue;
50428    var menuIsOpen = propsMenuIsOpen !== void 0 ? propsMenuIsOpen : stateMenuIsOpen;
50429    var value = propsValue !== void 0 ? propsValue : stateValue;
50430    return _objectSpread23(_objectSpread23({}, restSelectProps), {}, {
50431      inputValue,
50432      menuIsOpen,
50433      onChange: onChange3,
50434      onInputChange,
50435      onMenuClose,
50436      onMenuOpen,
50437      value
50438    });
50439  }
50440  var import_react13, _excluded2;
50441  var init_useStateManager_7e1e8489_esm = __esm({
50442    "node_modules/react-select/dist/useStateManager-7e1e8489.esm.js"() {
50443      init_esbuild_shims();
50444      init_objectSpread2();
50445      init_slicedToArray();
50446      init_objectWithoutProperties();
50447      import_react13 = __toESM(require_react());
50448      _excluded2 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
50449    }
50450  });
50451
50452  
vendor: 332 bytes, lines 50452-50462
50452// node_modules/@babel/runtime/helpers/esm/classCallCheck.js
50453  function _classCallCheck(a, n) {
50454    if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
50455  }
50456  var init_classCallCheck = __esm({
50457    "node_modules/@babel/runtime/helpers/esm/classCallCheck.js"() {
50458      init_esbuild_shims();
50459    }
50460  });
50461
50462  
vendor: 704 bytes, lines 50462-50481
50462// node_modules/@babel/runtime/helpers/esm/createClass.js
50463  function _defineProperties(e, r2) {
50464    for (var t2 = 0; t2 < r2.length; t2++) {
50465      var o2 = r2[t2];
50466      o2.enumerable = o2.enumerable || false, o2.configurable = true, "value" in o2 && (o2.writable = true), Object.defineProperty(e, toPropertyKey(o2.key), o2);
50467    }
50468  }
50469  function _createClass(e, r2, t2) {
50470    return r2 && _defineProperties(e.prototype, r2), t2 && _defineProperties(e, t2), Object.defineProperty(e, "prototype", {
50471      writable: false
50472    }), e;
50473  }
50474  var init_createClass = __esm({
50475    "node_modules/@babel/runtime/helpers/esm/createClass.js"() {
50476      init_esbuild_shims();
50477      init_toPropertyKey();
50478    }
50479  });
50480
50481  
vendor: 418 bytes, lines 50481-50493
50481// node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
50482  function _setPrototypeOf(t2, e) {
50483    return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t3, e2) {
50484      return t3.__proto__ = e2, t3;
50485    }, _setPrototypeOf(t2, e);
50486  }
50487  var init_setPrototypeOf = __esm({
50488    "node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"() {
50489      init_esbuild_shims();
50490    }
50491  });
50492
50493  
vendor: 634 bytes, lines 50493-50513
50493// node_modules/@babel/runtime/helpers/esm/inherits.js
50494  function _inherits(t2, e) {
50495    if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
50496    t2.prototype = Object.create(e && e.prototype, {
50497      constructor: {
50498        value: t2,
50499        writable: true,
50500        configurable: true
50501      }
50502    }), Object.defineProperty(t2, "prototype", {
50503      writable: false
50504    }), e && _setPrototypeOf(t2, e);
50505  }
50506  var init_inherits = __esm({
50507    "node_modules/@babel/runtime/helpers/esm/inherits.js"() {
50508      init_esbuild_shims();
50509      init_setPrototypeOf();
50510    }
50511  });
50512
50513  
vendor: 428 bytes, lines 50513-50525
50513// node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
50514  function _getPrototypeOf(t2) {
50515    return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t3) {
50516      return t3.__proto__ || Object.getPrototypeOf(t3);
50517    }, _getPrototypeOf(t2);
50518  }
50519  var init_getPrototypeOf = __esm({
50520    "node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js"() {
50521      init_esbuild_shims();
50522    }
50523  });
50524
50525  
vendor: 529 bytes, lines 50525-50542
50525// node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
50526  function _isNativeReflectConstruct() {
50527    try {
50528      var t2 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
50529      }));
50530    } catch (t3) {
50531    }
50532    return (_isNativeReflectConstruct = function _isNativeReflectConstruct2() {
50533      return !!t2;
50534    })();
50535  }
50536  var init_isNativeReflectConstruct = __esm({
50537    "node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js"() {
50538      init_esbuild_shims();
50539    }
50540  });
50541
50542  
vendor: 395 bytes, lines 50542-50553
50542// node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
50543  function _assertThisInitialized(e) {
50544    if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
50545    return e;
50546  }
50547  var init_assertThisInitialized = __esm({
50548    "node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"() {
50549      init_esbuild_shims();
50550    }
50551  });
50552
50553  
vendor: 567 bytes, lines 50553-50567
50553// node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
50554  function _possibleConstructorReturn(t2, e) {
50555    if (e && ("object" == _typeof2(e) || "function" == typeof e)) return e;
50556    if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
50557    return _assertThisInitialized(t2);
50558  }
50559  var init_possibleConstructorReturn = __esm({
50560    "node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js"() {
50561      init_esbuild_shims();
50562      init_typeof();
50563      init_assertThisInitialized();
50564    }
50565  });
50566
50567  
vendor: 665 bytes, lines 50567-50588
50567// node_modules/@babel/runtime/helpers/esm/createSuper.js
50568  function _createSuper(t2) {
50569    var r2 = _isNativeReflectConstruct();
50570    return function() {
50571      var e, o2 = _getPrototypeOf(t2);
50572      if (r2) {
50573        var s2 = _getPrototypeOf(this).constructor;
50574        e = Reflect.construct(o2, arguments, s2);
50575      } else e = o2.apply(this, arguments);
50576      return _possibleConstructorReturn(this, e);
50577    };
50578  }
50579  var init_createSuper = __esm({
50580    "node_modules/@babel/runtime/helpers/esm/createSuper.js"() {
50581      init_esbuild_shims();
50582      init_getPrototypeOf();
50583      init_isNativeReflectConstruct();
50584      init_possibleConstructorReturn();
50585    }
50586  });
50587
50588  
vendor: 347 bytes, lines 50588-50599
50588// node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
50589  function _arrayWithoutHoles2(r2) {
50590    if (Array.isArray(r2)) return _arrayLikeToArray2(r2);
50591  }
50592  var init_arrayWithoutHoles = __esm({
50593    "node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js"() {
50594      init_esbuild_shims();
50595      init_arrayLikeToArray();
50596    }
50597  });
50598
50599  
vendor: 370 bytes, lines 50599-50609
50599// node_modules/@babel/runtime/helpers/esm/iterableToArray.js
50600  function _iterableToArray2(r2) {
50601    if ("undefined" != typeof Symbol && null != r2[Symbol.iterator] || null != r2["@@iterator"]) return Array.from(r2);
50602  }
50603  var init_iterableToArray = __esm({
50604    "node_modules/@babel/runtime/helpers/esm/iterableToArray.js"() {
50605      init_esbuild_shims();
50606    }
50607  });
50608
50609  
vendor: 417 bytes, lines 50609-50619
50609// node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
50610  function _nonIterableSpread2() {
50611    throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
50612  }
50613  var init_nonIterableSpread = __esm({
50614    "node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js"() {
50615      init_esbuild_shims();
50616    }
50617  });
50618
50619  
vendor: 515 bytes, lines 50619-50633
50619// node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
50620  function _toConsumableArray2(r2) {
50621    return _arrayWithoutHoles2(r2) || _iterableToArray2(r2) || _unsupportedIterableToArray2(r2) || _nonIterableSpread2();
50622  }
50623  var init_toConsumableArray = __esm({
50624    "node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"() {
50625      init_esbuild_shims();
50626      init_arrayWithoutHoles();
50627      init_iterableToArray();
50628      init_unsupportedIterableToArray();
50629      init_nonIterableSpread();
50630    }
50631  });
50632
50633  
vendor: 418 bytes, lines 50633-50647
50633// node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js
50634  function _taggedTemplateLiteral(e, t2) {
50635    return t2 || (t2 = e.slice(0)), Object.freeze(Object.defineProperties(e, {
50636      raw: {
50637        value: Object.freeze(t2)
50638      }
50639    }));
50640  }
50641  var init_taggedTemplateLiteral = __esm({
50642    "node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js"() {
50643      init_esbuild_shims();
50644    }
50645  });
50646
50647  
vendor: 684 bytes, lines 50647-50681
50647// node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
50648  function rectToClientRect(rect) {
50649    const {
50650      x: x2,
50651      y,
50652      width,
50653      height
50654    } = rect;
50655    return {
50656      width,
50657      height,
50658      top: y,
50659      left: x2,
50660      right: x2 + width,
50661      bottom: y + height,
50662      x: x2,
50663      y
50664    };
50665  }
50666  var min, max, round, floor, createCoords;
50667  var init_floating_ui_utils = __esm({
50668    "node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"() {
50669      init_esbuild_shims();
50670      min = Math.min;
50671      max = Math.max;
50672      round = Math.round;
50673      floor = Math.floor;
50674      createCoords = (v) => ({
50675        x: v,
50676        y: v
50677      });
50678    }
50679  });
50680
50681  
vendor: 240 bytes, lines 50681-50689
50681// node_modules/@floating-ui/core/dist/floating-ui.core.mjs
50682  var init_floating_ui_core = __esm({
50683    "node_modules/@floating-ui/core/dist/floating-ui.core.mjs"() {
50684      init_esbuild_shims();
50685      init_floating_ui_utils();
50686    }
50687  });
50688
50689  
vendor: 4,060 bytes, lines 50689-50803
50689// node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
50690  function hasWindow() {
50691    return typeof window !== "undefined";
50692  }
50693  function getNodeName(node2) {
50694    if (isNode(node2)) {
50695      return (node2.nodeName || "").toLowerCase();
50696    }
50697    return "#document";
50698  }
50699  function getWindow(node2) {
50700    var _node$ownerDocument;
50701    return (node2 == null || (_node$ownerDocument = node2.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
50702  }
50703  function getDocumentElement(node2) {
50704    var _ref3;
50705    return (_ref3 = (isNode(node2) ? node2.ownerDocument : node2.document) || window.document) == null ? void 0 : _ref3.documentElement;
50706  }
50707  function isNode(value) {
50708    if (!hasWindow()) {
50709      return false;
50710    }
50711    return value instanceof Node || value instanceof getWindow(value).Node;
50712  }
50713  function isElement3(value) {
50714    if (!hasWindow()) {
50715      return false;
50716    }
50717    return value instanceof Element || value instanceof getWindow(value).Element;
50718  }
50719  function isHTMLElement(value) {
50720    if (!hasWindow()) {
50721      return false;
50722    }
50723    return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
50724  }
50725  function isShadowRoot(value) {
50726    if (!hasWindow() || typeof ShadowRoot === "undefined") {
50727      return false;
50728    }
50729    return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
50730  }
50731  function isOverflowElement(element) {
50732    const {
50733      overflow,
50734      overflowX,
50735      overflowY,
50736      display
50737    } = getComputedStyle2(element);
50738    return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== "inline" && display !== "contents";
50739  }
50740  function isWebKit() {
50741    if (isWebKitValue == null) {
50742      isWebKitValue = typeof CSS !== "undefined" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none");
50743    }
50744    return isWebKitValue;
50745  }
50746  function isLastTraversableNode(node2) {
50747    return /^(html|body|#document)$/.test(getNodeName(node2));
50748  }
50749  function getComputedStyle2(element) {
50750    return getWindow(element).getComputedStyle(element);
50751  }
50752  function getParentNode(node2) {
50753    if (getNodeName(node2) === "html") {
50754      return node2;
50755    }
50756    const result = (
50757      // Step into the shadow DOM of the parent of a slotted node.
50758      node2.assignedSlot || // DOM Element detected.
50759      node2.parentNode || // ShadowRoot detected.
50760      isShadowRoot(node2) && node2.host || // Fallback.
50761      getDocumentElement(node2)
50762    );
50763    return isShadowRoot(result) ? result.host : result;
50764  }
50765  function getNearestOverflowAncestor(node2) {
50766    const parentNode = getParentNode(node2);
50767    if (isLastTraversableNode(parentNode)) {
50768      return (node2.ownerDocument || node2).body;
50769    }
50770    if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
50771      return parentNode;
50772    }
50773    return getNearestOverflowAncestor(parentNode);
50774  }
50775  function getOverflowAncestors(node2, list, traverseIframes) {
50776    var _node$ownerDocument2;
50777    if (list === void 0) {
50778      list = [];
50779    }
50780    if (traverseIframes === void 0) {
50781      traverseIframes = true;
50782    }
50783    const scrollableAncestor = getNearestOverflowAncestor(node2);
50784    const isBody = scrollableAncestor === ((_node$ownerDocument2 = node2.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
50785    const win = getWindow(scrollableAncestor);
50786    if (isBody) {
50787      const frameElement = getFrameElement(win);
50788      return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
50789    } else {
50790      return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
50791    }
50792  }
50793  function getFrameElement(win) {
50794    return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
50795  }
50796  var isWebKitValue;
50797  var init_floating_ui_utils_dom = __esm({
50798    "node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"() {
50799      init_esbuild_shims();
50800    }
50801  });
50802
50803  
vendor: 9,177 bytes, lines 50803-51078
50803// node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
50804  function getCssDimensions(element) {
50805    const css6 = getComputedStyle2(element);
50806    let width = parseFloat(css6.width) || 0;
50807    let height = parseFloat(css6.height) || 0;
50808    const hasOffset = isHTMLElement(element);
50809    const offsetWidth = hasOffset ? element.offsetWidth : width;
50810    const offsetHeight = hasOffset ? element.offsetHeight : height;
50811    const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
50812    if (shouldFallback) {
50813      width = offsetWidth;
50814      height = offsetHeight;
50815    }
50816    return {
50817      width,
50818      height,
50819      $: shouldFallback
50820    };
50821  }
50822  function unwrapElement(element) {
50823    return !isElement3(element) ? element.contextElement : element;
50824  }
50825  function getScale(element) {
50826    const domElement = unwrapElement(element);
50827    if (!isHTMLElement(domElement)) {
50828      return createCoords(1);
50829    }
50830    const rect = domElement.getBoundingClientRect();
50831    const {
50832      width,
50833      height,
50834      $
50835    } = getCssDimensions(domElement);
50836    let x2 = ($ ? round(rect.width) : rect.width) / width;
50837    let y = ($ ? round(rect.height) : rect.height) / height;
50838    if (!x2 || !Number.isFinite(x2)) {
50839      x2 = 1;
50840    }
50841    if (!y || !Number.isFinite(y)) {
50842      y = 1;
50843    }
50844    return {
50845      x: x2,
50846      y
50847    };
50848  }
50849  function getVisualOffsets(element) {
50850    const win = getWindow(element);
50851    if (!isWebKit() || !win.visualViewport) {
50852      return noOffsets;
50853    }
50854    return {
50855      x: win.visualViewport.offsetLeft,
50856      y: win.visualViewport.offsetTop
50857    };
50858  }
50859  function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
50860    if (isFixed === void 0) {
50861      isFixed = false;
50862    }
50863    return !!floatingOffsetParent && isFixed && floatingOffsetParent === getWindow(element);
50864  }
50865  function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
50866    if (includeScale === void 0) {
50867      includeScale = false;
50868    }
50869    if (isFixedStrategy === void 0) {
50870      isFixedStrategy = false;
50871    }
50872    const clientRect = element.getBoundingClientRect();
50873    const domElement = unwrapElement(element);
50874    let scale = createCoords(1);
50875    if (includeScale) {
50876      if (offsetParent) {
50877        if (isElement3(offsetParent)) {
50878          scale = getScale(offsetParent);
50879        }
50880      } else {
50881        scale = getScale(element);
50882      }
50883    }
50884    const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
50885    let x2 = (clientRect.left + visualOffsets.x) / scale.x;
50886    let y = (clientRect.top + visualOffsets.y) / scale.y;
50887    let width = clientRect.width / scale.x;
50888    let height = clientRect.height / scale.y;
50889    if (domElement && offsetParent) {
50890      const win = getWindow(domElement);
50891      const offsetWin = isElement3(offsetParent) ? getWindow(offsetParent) : offsetParent;
50892      let currentWin = win;
50893      let currentIFrame = getFrameElement(currentWin);
50894      while (currentIFrame && offsetWin !== currentWin) {
50895        const iframeScale = getScale(currentIFrame);
50896        const iframeRect = currentIFrame.getBoundingClientRect();
50897        const css6 = getComputedStyle2(currentIFrame);
50898        const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css6.paddingLeft)) * iframeScale.x;
50899        const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css6.paddingTop)) * iframeScale.y;
50900        x2 *= iframeScale.x;
50901        y *= iframeScale.y;
50902        width *= iframeScale.x;
50903        height *= iframeScale.y;
50904        x2 += left;
50905        y += top;
50906        currentWin = getWindow(currentIFrame);
50907        currentIFrame = getFrameElement(currentWin);
50908      }
50909    }
50910    return rectToClientRect({
50911      width,
50912      height,
50913      x: x2,
50914      y
50915    });
50916  }
50917  function rectsAreEqual(a, b) {
50918    return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
50919  }
50920  function observeMove(element, onMove, ancestorResize) {
50921    let io = null;
50922    let timeoutId;
50923    const root = getDocumentElement(element);
50924    function cleanup() {
50925      var _io;
50926      clearTimeout(timeoutId);
50927      (_io = io) == null || _io.disconnect();
50928      io = null;
50929    }
50930    function refresh(skip, threshold) {
50931      if (skip === void 0) {
50932        skip = false;
50933      }
50934      if (threshold === void 0) {
50935        threshold = 1;
50936      }
50937      cleanup();
50938      const elementRectForRootMargin = element.getBoundingClientRect();
50939      const {
50940        left,
50941        top,
50942        width,
50943        height
50944      } = elementRectForRootMargin;
50945      if (!skip) {
50946        onMove();
50947      }
50948      if (!width || !height) {
50949        return;
50950      }
50951      const insetTop = floor(top);
50952      const insetRight = floor(root.clientWidth - (left + width));
50953      const insetBottom = floor(root.clientHeight - (top + height));
50954      const insetLeft = floor(left);
50955      const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
50956      const options2 = {
50957        rootMargin,
50958        threshold: max(0, min(1, threshold)) || 1
50959      };
50960      let isFirstUpdate = true;
50961      function handleObserve(entries) {
50962        const ratio = entries[0].intersectionRatio;
50963        if (!rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
50964          return refresh();
50965        }
50966        if (ratio !== threshold) {
50967          if (!isFirstUpdate) {
50968            return refresh();
50969          }
50970          if (!ratio) {
50971            timeoutId = setTimeout(() => {
50972              refresh(false, 1e-7);
50973            }, 1e3);
50974          } else {
50975            refresh(false, ratio);
50976          }
50977        }
50978        isFirstUpdate = false;
50979      }
50980      try {
50981        io = new IntersectionObserver(handleObserve, __spreadProps(__spreadValues({}, options2), {
50982          // Handle <iframe>s
50983          root: root.ownerDocument
50984        }));
50985      } catch (_e) {
50986        io = new IntersectionObserver(handleObserve, options2);
50987      }
50988      io.observe(element);
50989    }
50990    const win = getWindow(element);
50991    const handleResize = () => refresh(ancestorResize);
50992    win.addEventListener("resize", handleResize);
50993    refresh(true);
50994    return () => {
50995      win.removeEventListener("resize", handleResize);
50996      cleanup();
50997    };
50998  }
50999  function autoUpdate(reference, floating, update2, options2) {
51000    if (options2 === void 0) {
51001      options2 = {};
51002    }
51003    const {
51004      ancestorScroll = true,
51005      ancestorResize = true,
51006      elementResize = typeof ResizeObserver === "function",
51007      layoutShift = typeof IntersectionObserver === "function",
51008      animationFrame = false
51009    } = options2;
51010    const referenceEl = unwrapElement(reference);
51011    const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...floating ? getOverflowAncestors(floating) : []] : [];
51012    ancestors.forEach((ancestor) => {
51013      ancestorScroll && ancestor.addEventListener("scroll", update2);
51014      ancestorResize && ancestor.addEventListener("resize", update2);
51015    });
51016    const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update2, ancestorResize) : null;
51017    let reobserveFrame = -1;
51018    let resizeObserver = null;
51019    if (elementResize) {
51020      resizeObserver = new ResizeObserver((_ref3) => {
51021        let [firstEntry] = _ref3;
51022        if (firstEntry && firstEntry.target === referenceEl && resizeObserver && floating) {
51023          resizeObserver.unobserve(floating);
51024          cancelAnimationFrame(reobserveFrame);
51025          reobserveFrame = requestAnimationFrame(() => {
51026            var _resizeObserver;
51027            (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
51028          });
51029        }
51030        update2();
51031      });
51032      if (referenceEl && !animationFrame) {
51033        resizeObserver.observe(referenceEl);
51034      }
51035      if (floating) {
51036        resizeObserver.observe(floating);
51037      }
51038    }
51039    let frameId;
51040    let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
51041    if (animationFrame) {
51042      frameLoop();
51043    }
51044    function frameLoop() {
51045      const nextRefRect = getBoundingClientRect(reference);
51046      if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
51047        update2();
51048      }
51049      prevRefRect = nextRefRect;
51050      frameId = requestAnimationFrame(frameLoop);
51051    }
51052    update2();
51053    return () => {
51054      var _resizeObserver2;
51055      ancestors.forEach((ancestor) => {
51056        ancestorScroll && ancestor.removeEventListener("scroll", update2);
51057        ancestorResize && ancestor.removeEventListener("resize", update2);
51058      });
51059      cleanupIo == null || cleanupIo();
51060      (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
51061      resizeObserver = null;
51062      if (animationFrame) {
51063        cancelAnimationFrame(frameId);
51064      }
51065    };
51066  }
51067  var noOffsets;
51068  var init_floating_ui_dom = __esm({
51069    "node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"() {
51070      init_esbuild_shims();
51071      init_floating_ui_core();
51072      init_floating_ui_utils();
51073      init_floating_ui_utils_dom();
51074      noOffsets = /* @__PURE__ */ createCoords(0);
51075    }
51076  });
51077
51078  
vendor: 424 bytes, lines 51078-51088
51078// node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js
51079  var import_react14, index;
51080  var init_use_isomorphic_layout_effect_browser_esm = __esm({
51081    "node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js"() {
51082      init_esbuild_shims();
51083      import_react14 = __toESM(require_react());
51084      index = import_react14.useLayoutEffect;
51085    }
51086  });
51087
51088  
vendor: 68,774 bytes, lines 51088-52128
51088// node_modules/react-select/dist/index-641ee5b8.esm.js
51089  function applyPrefixToName(prefix2, name2) {
51090    if (!name2) {
51091      return prefix2;
51092    } else if (name2[0] === "-") {
51093      return prefix2 + name2;
51094    } else {
51095      return prefix2 + "__" + name2;
51096    }
51097  }
51098  function classNames(prefix2, state) {
51099    for (var _len = arguments.length, classNameList = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
51100      classNameList[_key - 2] = arguments[_key];
51101    }
51102    var arr = [].concat(classNameList);
51103    if (state && prefix2) {
51104      for (var key in state) {
51105        if (state.hasOwnProperty(key) && state[key]) {
51106          arr.push("".concat(applyPrefixToName(prefix2, key)));
51107        }
51108      }
51109    }
51110    return arr.filter(function(i2) {
51111      return i2;
51112    }).map(function(i2) {
51113      return String(i2).trim();
51114    }).join(" ");
51115  }
51116  function isDocumentElement(el) {
51117    return [document.documentElement, document.body, window].indexOf(el) > -1;
51118  }
51119  function normalizedHeight(el) {
51120    if (isDocumentElement(el)) {
51121      return window.innerHeight;
51122    }
51123    return el.clientHeight;
51124  }
51125  function getScrollTop(el) {
51126    if (isDocumentElement(el)) {
51127      return window.pageYOffset;
51128    }
51129    return el.scrollTop;
51130  }
51131  function scrollTo(el, top) {
51132    if (isDocumentElement(el)) {
51133      window.scrollTo(0, top);
51134      return;
51135    }
51136    el.scrollTop = top;
51137  }
51138  function getScrollParent(element) {
51139    var style = getComputedStyle(element);
51140    var excludeStaticParent = style.position === "absolute";
51141    var overflowRx = /(auto|scroll)/;
51142    if (style.position === "fixed") return document.documentElement;
51143    for (var parent = element; parent = parent.parentElement; ) {
51144      style = getComputedStyle(parent);
51145      if (excludeStaticParent && style.position === "static") {
51146        continue;
51147      }
51148      if (overflowRx.test(style.overflow + style.overflowY + style.overflowX)) {
51149        return parent;
51150      }
51151    }
51152    return document.documentElement;
51153  }
51154  function easeOutCubic(t2, b, c, d) {
51155    return c * ((t2 = t2 / d - 1) * t2 * t2 + 1) + b;
51156  }
51157  function animatedScrollTo(element, to) {
51158    var duration = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200;
51159    var callback = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : noop3;
51160    var start = getScrollTop(element);
51161    var change = to - start;
51162    var increment = 10;
51163    var currentTime = 0;
51164    function animateScroll() {
51165      currentTime += increment;
51166      var val = easeOutCubic(currentTime, start, change, duration);
51167      scrollTo(element, val);
51168      if (currentTime < duration) {
51169        window.requestAnimationFrame(animateScroll);
51170      } else {
51171        callback(element);
51172      }
51173    }
51174    animateScroll();
51175  }
51176  function scrollIntoView(menuEl, focusedEl) {
51177    var menuRect = menuEl.getBoundingClientRect();
51178    var focusedRect = focusedEl.getBoundingClientRect();
51179    var overScroll = focusedEl.offsetHeight / 3;
51180    if (focusedRect.bottom + overScroll > menuRect.bottom) {
51181      scrollTo(menuEl, Math.min(focusedEl.offsetTop + focusedEl.clientHeight - menuEl.offsetHeight + overScroll, menuEl.scrollHeight));
51182    } else if (focusedRect.top - overScroll < menuRect.top) {
51183      scrollTo(menuEl, Math.max(focusedEl.offsetTop - overScroll, 0));
51184    }
51185  }
51186  function getBoundingClientObj(element) {
51187    var rect = element.getBoundingClientRect();
51188    return {
51189      bottom: rect.bottom,
51190      height: rect.height,
51191      left: rect.left,
51192      right: rect.right,
51193      top: rect.top,
51194      width: rect.width
51195    };
51196  }
51197  function isTouchCapable() {
51198    try {
51199      document.createEvent("TouchEvent");
51200      return true;
51201    } catch (e) {
51202      return false;
51203    }
51204  }
51205  function isMobileDevice() {
51206    try {
51207      return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
51208    } catch (e) {
51209      return false;
51210    }
51211  }
51212  function notNullish(item) {
51213    return item != null;
51214  }
51215  function isArray2(arg) {
51216    return Array.isArray(arg);
51217  }
51218  function valueTernary(isMulti, multiValue, singleValue) {
51219    return isMulti ? multiValue : singleValue;
51220  }
51221  function singleValueAsValue(singleValue) {
51222    return singleValue;
51223  }
51224  function multiValueAsValue(multiValue) {
51225    return multiValue;
51226  }
51227  function getMenuPlacement(_ref3) {
51228    var preferredMaxHeight = _ref3.maxHeight, menuEl = _ref3.menuEl, minHeight = _ref3.minHeight, preferredPlacement = _ref3.placement, shouldScroll = _ref3.shouldScroll, isFixedPosition = _ref3.isFixedPosition, controlHeight2 = _ref3.controlHeight;
51229    var scrollParent = getScrollParent(menuEl);
51230    var defaultState = {
51231      placement: "bottom",
51232      maxHeight: preferredMaxHeight
51233    };
51234    if (!menuEl || !menuEl.offsetParent) return defaultState;
51235    var _scrollParent$getBoun = scrollParent.getBoundingClientRect(), scrollHeight = _scrollParent$getBoun.height;
51236    var _menuEl$getBoundingCl = menuEl.getBoundingClientRect(), menuBottom = _menuEl$getBoundingCl.bottom, menuHeight = _menuEl$getBoundingCl.height, menuTop = _menuEl$getBoundingCl.top;
51237    var _menuEl$offsetParent$ = menuEl.offsetParent.getBoundingClientRect(), containerTop = _menuEl$offsetParent$.top;
51238    var viewHeight = isFixedPosition ? window.innerHeight : normalizedHeight(scrollParent);
51239    var scrollTop = getScrollTop(scrollParent);
51240    var marginBottom = parseInt(getComputedStyle(menuEl).marginBottom, 10);
51241    var marginTop = parseInt(getComputedStyle(menuEl).marginTop, 10);
51242    var viewSpaceAbove = containerTop - marginTop;
51243    var viewSpaceBelow = viewHeight - menuTop;
51244    var scrollSpaceAbove = viewSpaceAbove + scrollTop;
51245    var scrollSpaceBelow = scrollHeight - scrollTop - menuTop;
51246    var scrollDown = menuBottom - viewHeight + scrollTop + marginBottom;
51247    var scrollUp = scrollTop + menuTop - marginTop;
51248    var scrollDuration = 160;
51249    switch (preferredPlacement) {
51250      case "auto":
51251      case "bottom":
51252        if (viewSpaceBelow >= menuHeight) {
51253          return {
51254            placement: "bottom",
51255            maxHeight: preferredMaxHeight
51256          };
51257        }
51258        if (scrollSpaceBelow >= menuHeight && !isFixedPosition) {
51259          if (shouldScroll) {
51260            animatedScrollTo(scrollParent, scrollDown, scrollDuration);
51261          }
51262          return {
51263            placement: "bottom",
51264            maxHeight: preferredMaxHeight
51265          };
51266        }
51267        if (!isFixedPosition && scrollSpaceBelow >= minHeight || isFixedPosition && viewSpaceBelow >= minHeight) {
51268          if (shouldScroll) {
51269            animatedScrollTo(scrollParent, scrollDown, scrollDuration);
51270          }
51271          var constrainedHeight = isFixedPosition ? viewSpaceBelow - marginBottom : scrollSpaceBelow - marginBottom;
51272          return {
51273            placement: "bottom",
51274            maxHeight: constrainedHeight
51275          };
51276        }
51277        if (preferredPlacement === "auto" || isFixedPosition) {
51278          var _constrainedHeight = preferredMaxHeight;
51279          var spaceAbove = isFixedPosition ? viewSpaceAbove : scrollSpaceAbove;
51280          if (spaceAbove >= minHeight) {
51281            _constrainedHeight = Math.min(spaceAbove - marginBottom - controlHeight2, preferredMaxHeight);
51282          }
51283          return {
51284            placement: "top",
51285            maxHeight: _constrainedHeight
51286          };
51287        }
51288        if (preferredPlacement === "bottom") {
51289          if (shouldScroll) {
51290            scrollTo(scrollParent, scrollDown);
51291          }
51292          return {
51293            placement: "bottom",
51294            maxHeight: preferredMaxHeight
51295          };
51296        }
51297        break;
51298      case "top":
51299        if (viewSpaceAbove >= menuHeight) {
51300          return {
51301            placement: "top",
51302            maxHeight: preferredMaxHeight
51303          };
51304        }
51305        if (scrollSpaceAbove >= menuHeight && !isFixedPosition) {
51306          if (shouldScroll) {
51307            animatedScrollTo(scrollParent, scrollUp, scrollDuration);
51308          }
51309          return {
51310            placement: "top",
51311            maxHeight: preferredMaxHeight
51312          };
51313        }
51314        if (!isFixedPosition && scrollSpaceAbove >= minHeight || isFixedPosition && viewSpaceAbove >= minHeight) {
51315          var _constrainedHeight2 = preferredMaxHeight;
51316          if (!isFixedPosition && scrollSpaceAbove >= minHeight || isFixedPosition && viewSpaceAbove >= minHeight) {
51317            _constrainedHeight2 = isFixedPosition ? viewSpaceAbove - marginTop : scrollSpaceAbove - marginTop;
51318          }
51319          if (shouldScroll) {
51320            animatedScrollTo(scrollParent, scrollUp, scrollDuration);
51321          }
51322          return {
51323            placement: "top",
51324            maxHeight: _constrainedHeight2
51325          };
51326        }
51327        return {
51328          placement: "bottom",
51329          maxHeight: preferredMaxHeight
51330        };
51331      default:
51332        throw new Error('Invalid placement provided "'.concat(preferredPlacement, '".'));
51333    }
51334    return defaultState;
51335  }
51336  function alignToControl(placement) {
51337    var placementToCSSProp = {
51338      bottom: "top",
51339      top: "bottom"
51340    };
51341    return placement ? placementToCSSProp[placement] : "bottom";
51342  }
51343  function _EMOTION_STRINGIFIED_CSS_ERROR__() {
51344    return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
51345  }
51346  function MultiValueRemove(_ref5) {
51347    var children = _ref5.children, innerProps = _ref5.innerProps;
51348    return jsx("div", _extends({
51349      role: "button"
51350    }, innerProps), children || jsx(CrossIcon, {
51351      size: 14
51352    }));
51353  }
51354  var import_react16, import_react_dom, _excluded$4, noop3, cleanValue, cleanCommonProps, getStyleProps, passiveOptionAccessed, options, w2, supportsPassiveEvents, removeProps, _excluded$3, _excluded2$1, coercePlacement, menuCSS, PortalPlacementContext, MenuPlacer, Menu, Menu$1, menuListCSS, MenuList, noticeCSS, noOptionsMessageCSS, loadingMessageCSS, NoOptionsMessage, LoadingMessage, menuPortalCSS, MenuPortal, containerCSS, SelectContainer, valueContainerCSS, ValueContainer, indicatorsContainerCSS, IndicatorsContainer, _templateObject, _excluded$2, _excluded22, _ref2, Svg, CrossIcon, DownChevron, baseCSS, dropdownIndicatorCSS, DropdownIndicator, clearIndicatorCSS, ClearIndicator, indicatorSeparatorCSS, IndicatorSeparator, loadingDotAnimations, loadingIndicatorCSS, LoadingDot, LoadingIndicator, css$1, Control, Control$1, _excluded$1, groupCSS, Group, groupHeadingCSS, GroupHeading, Group$1, _excluded3, inputCSS, spacingStyle, containerStyle, inputStyle, Input, Input$1, multiValueCSS, multiValueLabelCSS, multiValueRemoveCSS, MultiValueGeneric, MultiValueContainer, MultiValueLabel, MultiValue, MultiValue$1, optionCSS, Option, Option$1, placeholderCSS, Placeholder, Placeholder$1, css4, SingleValue, SingleValue$1, components, defaultComponents;
51355  var init_index_641ee5b8_esm = __esm({
51356    "node_modules/react-select/dist/index-641ee5b8.esm.js"() {
51357      init_esbuild_shims();
51358      init_objectSpread2();
51359      init_extends();
51360      init_emotion_react_browser_esm();
51361      init_slicedToArray();
51362      init_objectWithoutProperties();
51363      init_typeof();
51364      init_taggedTemplateLiteral();
51365      init_defineProperty();
51366      import_react16 = __toESM(require_react());
51367      import_react_dom = __toESM(require_react_dom());
51368      init_floating_ui_dom();
51369      init_use_isomorphic_layout_effect_browser_esm();
51370      _excluded$4 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
51371      noop3 = function noop4() {
51372      };
51373      cleanValue = function cleanValue2(value) {
51374        if (isArray2(value)) return value.filter(Boolean);
51375        if (_typeof2(value) === "object" && value !== null) return [value];
51376        return [];
51377      };
51378      cleanCommonProps = function cleanCommonProps2(props) {
51379        props.className;
51380        props.clearValue;
51381        props.cx;
51382        props.getStyles;
51383        props.getClassNames;
51384        props.getValue;
51385        props.hasValue;
51386        props.isMulti;
51387        props.isRtl;
51388        props.options;
51389        props.selectOption;
51390        props.selectProps;
51391        props.setValue;
51392        props.theme;
51393        var innerProps = _objectWithoutProperties2(props, _excluded$4);
51394        return _objectSpread23({}, innerProps);
51395      };
51396      getStyleProps = function getStyleProps2(props, name2, classNamesState) {
51397        var cx = props.cx, getStyles = props.getStyles, getClassNames = props.getClassNames, className = props.className;
51398        return {
51399          css: getStyles(name2, props),
51400          className: cx(classNamesState !== null && classNamesState !== void 0 ? classNamesState : {}, getClassNames(name2, props), className)
51401        };
51402      };
51403      passiveOptionAccessed = false;
51404      options = {
51405        get passive() {
51406          return passiveOptionAccessed = true;
51407        }
51408      };
51409      w2 = typeof window !== "undefined" ? window : {};
51410      if (w2.addEventListener && w2.removeEventListener) {
51411        w2.addEventListener("p", noop3, options);
51412        w2.removeEventListener("p", noop3, false);
51413      }
51414      supportsPassiveEvents = passiveOptionAccessed;
51415      removeProps = function removeProps2(propsObj) {
51416        for (var _len2 = arguments.length, properties = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
51417          properties[_key2 - 1] = arguments[_key2];
51418        }
51419        var propsMap = Object.entries(propsObj).filter(function(_ref3) {
51420          var _ref23 = _slicedToArray(_ref3, 1), key = _ref23[0];
51421          return !properties.includes(key);
51422        });
51423        return propsMap.reduce(function(newProps, _ref3) {
51424          var _ref4 = _slicedToArray(_ref3, 2), key = _ref4[0], val = _ref4[1];
51425          newProps[key] = val;
51426          return newProps;
51427        }, {});
51428      };
51429      _excluded$3 = ["children", "innerProps"];
51430      _excluded2$1 = ["children", "innerProps"];
51431      coercePlacement = function coercePlacement2(p2) {
51432        return p2 === "auto" ? "bottom" : p2;
51433      };
51434      menuCSS = function menuCSS2(_ref23, unstyled) {
51435        var _objectSpread24;
51436        var placement = _ref23.placement, _ref2$theme = _ref23.theme, borderRadius2 = _ref2$theme.borderRadius, spacing2 = _ref2$theme.spacing, colors2 = _ref2$theme.colors;
51437        return _objectSpread23((_objectSpread24 = {
51438          label: "menu"
51439        }, _defineProperty3(_objectSpread24, alignToControl(placement), "100%"), _defineProperty3(_objectSpread24, "position", "absolute"), _defineProperty3(_objectSpread24, "width", "100%"), _defineProperty3(_objectSpread24, "zIndex", 1), _objectSpread24), unstyled ? {} : {
51440          backgroundColor: colors2.neutral0,
51441          borderRadius: borderRadius2,
51442          boxShadow: "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",
51443          marginBottom: spacing2.menuGutter,
51444          marginTop: spacing2.menuGutter
51445        });
51446      };
51447      PortalPlacementContext = /* @__PURE__ */ (0, import_react16.createContext)(null);
51448      MenuPlacer = function MenuPlacer2(props) {
51449        var children = props.children, minMenuHeight = props.minMenuHeight, maxMenuHeight = props.maxMenuHeight, menuPlacement = props.menuPlacement, menuPosition = props.menuPosition, menuShouldScrollIntoView = props.menuShouldScrollIntoView, theme = props.theme;
51450        var _ref3 = (0, import_react16.useContext)(PortalPlacementContext) || {}, setPortalPlacement = _ref3.setPortalPlacement;
51451        var ref = (0, import_react16.useRef)(null);
51452        var _useState = (0, import_react16.useState)(maxMenuHeight), _useState2 = _slicedToArray(_useState, 2), maxHeight = _useState2[0], setMaxHeight = _useState2[1];
51453        var _useState3 = (0, import_react16.useState)(null), _useState4 = _slicedToArray(_useState3, 2), placement = _useState4[0], setPlacement = _useState4[1];
51454        var controlHeight2 = theme.spacing.controlHeight;
51455        index(function() {
51456          var menuEl = ref.current;
51457          if (!menuEl) return;
51458          var isFixedPosition = menuPosition === "fixed";
51459          var shouldScroll = menuShouldScrollIntoView && !isFixedPosition;
51460          var state = getMenuPlacement({
51461            maxHeight: maxMenuHeight,
51462            menuEl,
51463            minHeight: minMenuHeight,
51464            placement: menuPlacement,
51465            shouldScroll,
51466            isFixedPosition,
51467            controlHeight: controlHeight2
51468          });
51469          setMaxHeight(state.maxHeight);
51470          setPlacement(state.placement);
51471          setPortalPlacement === null || setPortalPlacement === void 0 ? void 0 : setPortalPlacement(state.placement);
51472        }, [maxMenuHeight, menuPlacement, menuPosition, menuShouldScrollIntoView, minMenuHeight, setPortalPlacement, controlHeight2]);
51473        return children({
51474          ref,
51475          placerProps: _objectSpread23(_objectSpread23({}, props), {}, {
51476            placement: placement || coercePlacement(menuPlacement),
51477            maxHeight
51478          })
51479        });
51480      };
51481      Menu = function Menu2(props) {
51482        var children = props.children, innerRef = props.innerRef, innerProps = props.innerProps;
51483        return jsx("div", _extends({}, getStyleProps(props, "menu", {
51484          menu: true
51485        }), {
51486          ref: innerRef
51487        }, innerProps), children);
51488      };
51489      Menu$1 = Menu;
51490      menuListCSS = function menuListCSS2(_ref4, unstyled) {
51491        var maxHeight = _ref4.maxHeight, baseUnit2 = _ref4.theme.spacing.baseUnit;
51492        return _objectSpread23({
51493          maxHeight,
51494          overflowY: "auto",
51495          position: "relative",
51496          // required for offset[Height, Top] > keyboard scroll
51497          WebkitOverflowScrolling: "touch"
51498        }, unstyled ? {} : {
51499          paddingBottom: baseUnit2,
51500          paddingTop: baseUnit2
51501        });
51502      };
51503      MenuList = function MenuList2(props) {
51504        var children = props.children, innerProps = props.innerProps, innerRef = props.innerRef, isMulti = props.isMulti;
51505        return jsx("div", _extends({}, getStyleProps(props, "menuList", {
51506          "menu-list": true,
51507          "menu-list--is-multi": isMulti
51508        }), {
51509          ref: innerRef
51510        }, innerProps), children);
51511      };
51512      noticeCSS = function noticeCSS2(_ref5, unstyled) {
51513        var _ref5$theme = _ref5.theme, baseUnit2 = _ref5$theme.spacing.baseUnit, colors2 = _ref5$theme.colors;
51514        return _objectSpread23({
51515          textAlign: "center"
51516        }, unstyled ? {} : {
51517          color: colors2.neutral40,
51518          padding: "".concat(baseUnit2 * 2, "px ").concat(baseUnit2 * 3, "px")
51519        });
51520      };
51521      noOptionsMessageCSS = noticeCSS;
51522      loadingMessageCSS = noticeCSS;
51523      NoOptionsMessage = function NoOptionsMessage2(_ref6) {
51524        var _ref6$children = _ref6.children, children = _ref6$children === void 0 ? "No options" : _ref6$children, innerProps = _ref6.innerProps, restProps = _objectWithoutProperties2(_ref6, _excluded$3);
51525        return jsx("div", _extends({}, getStyleProps(_objectSpread23(_objectSpread23({}, restProps), {}, {
51526          children,
51527          innerProps
51528        }), "noOptionsMessage", {
51529          "menu-notice": true,
51530          "menu-notice--no-options": true
51531        }), innerProps), children);
51532      };
51533      LoadingMessage = function LoadingMessage2(_ref7) {
51534        var _ref7$children = _ref7.children, children = _ref7$children === void 0 ? "Loading..." : _ref7$children, innerProps = _ref7.innerProps, restProps = _objectWithoutProperties2(_ref7, _excluded2$1);
51535        return jsx("div", _extends({}, getStyleProps(_objectSpread23(_objectSpread23({}, restProps), {}, {
51536          children,
51537          innerProps
51538        }), "loadingMessage", {
51539          "menu-notice": true,
51540          "menu-notice--loading": true
51541        }), innerProps), children);
51542      };
51543      menuPortalCSS = function menuPortalCSS2(_ref8) {
51544        var rect = _ref8.rect, offset2 = _ref8.offset, position2 = _ref8.position;
51545        return {
51546          left: rect.left,
51547          position: position2,
51548          top: offset2,
51549          width: rect.width,
51550          zIndex: 1
51551        };
51552      };
51553      MenuPortal = function MenuPortal2(props) {
51554        var appendTo = props.appendTo, children = props.children, controlElement = props.controlElement, innerProps = props.innerProps, menuPlacement = props.menuPlacement, menuPosition = props.menuPosition;
51555        var menuPortalRef = (0, import_react16.useRef)(null);
51556        var cleanupRef = (0, import_react16.useRef)(null);
51557        var _useState5 = (0, import_react16.useState)(coercePlacement(menuPlacement)), _useState6 = _slicedToArray(_useState5, 2), placement = _useState6[0], setPortalPlacement = _useState6[1];
51558        var portalPlacementContext = (0, import_react16.useMemo)(function() {
51559          return {
51560            setPortalPlacement
51561          };
51562        }, []);
51563        var _useState7 = (0, import_react16.useState)(null), _useState8 = _slicedToArray(_useState7, 2), computedPosition = _useState8[0], setComputedPosition = _useState8[1];
51564        var updateComputedPosition = (0, import_react16.useCallback)(function() {
51565          if (!controlElement) return;
51566          var rect = getBoundingClientObj(controlElement);
51567          var scrollDistance = menuPosition === "fixed" ? 0 : window.pageYOffset;
51568          var offset2 = rect[placement] + scrollDistance;
51569          if (offset2 !== (computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.offset) || rect.left !== (computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.left) || rect.width !== (computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.width)) {
51570            setComputedPosition({
51571              offset: offset2,
51572              rect
51573            });
51574          }
51575        }, [controlElement, menuPosition, placement, computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.offset, computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.left, computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.width]);
51576        index(function() {
51577          updateComputedPosition();
51578        }, [updateComputedPosition]);
51579        var runAutoUpdate = (0, import_react16.useCallback)(function() {
51580          if (typeof cleanupRef.current === "function") {
51581            cleanupRef.current();
51582            cleanupRef.current = null;
51583          }
51584          if (controlElement && menuPortalRef.current) {
51585            cleanupRef.current = autoUpdate(controlElement, menuPortalRef.current, updateComputedPosition, {
51586              elementResize: "ResizeObserver" in window
51587            });
51588          }
51589        }, [controlElement, updateComputedPosition]);
51590        index(function() {
51591          runAutoUpdate();
51592        }, [runAutoUpdate]);
51593        var setMenuPortalElement = (0, import_react16.useCallback)(function(menuPortalElement) {
51594          menuPortalRef.current = menuPortalElement;
51595          runAutoUpdate();
51596        }, [runAutoUpdate]);
51597        if (!appendTo && menuPosition !== "fixed" || !computedPosition) return null;
51598        var menuWrapper = jsx("div", _extends({
51599          ref: setMenuPortalElement
51600        }, getStyleProps(_objectSpread23(_objectSpread23({}, props), {}, {
51601          offset: computedPosition.offset,
51602          position: menuPosition,
51603          rect: computedPosition.rect
51604        }), "menuPortal", {
51605          "menu-portal": true
51606        }), innerProps), children);
51607        return jsx(PortalPlacementContext.Provider, {
51608          value: portalPlacementContext
51609        }, appendTo ? /* @__PURE__ */ (0, import_react_dom.createPortal)(menuWrapper, appendTo) : menuWrapper);
51610      };
51611      containerCSS = function containerCSS2(_ref3) {
51612        var isDisabled = _ref3.isDisabled, isRtl = _ref3.isRtl;
51613        return {
51614          label: "container",
51615          direction: isRtl ? "rtl" : void 0,
51616          pointerEvents: isDisabled ? "none" : void 0,
51617          // cancel mouse events when disabled
51618          position: "relative"
51619        };
51620      };
51621      SelectContainer = function SelectContainer2(props) {
51622        var children = props.children, innerProps = props.innerProps, isDisabled = props.isDisabled, isRtl = props.isRtl;
51623        return jsx("div", _extends({}, getStyleProps(props, "container", {
51624          "--is-disabled": isDisabled,
51625          "--is-rtl": isRtl
51626        }), innerProps), children);
51627      };
51628      valueContainerCSS = function valueContainerCSS2(_ref23, unstyled) {
51629        var spacing2 = _ref23.theme.spacing, isMulti = _ref23.isMulti, hasValue = _ref23.hasValue, controlShouldRenderValue = _ref23.selectProps.controlShouldRenderValue;
51630        return _objectSpread23({
51631          alignItems: "center",
51632          display: isMulti && hasValue && controlShouldRenderValue ? "flex" : "grid",
51633          flex: 1,
51634          flexWrap: "wrap",
51635          WebkitOverflowScrolling: "touch",
51636          position: "relative",
51637          overflow: "hidden"
51638        }, unstyled ? {} : {
51639          padding: "".concat(spacing2.baseUnit / 2, "px ").concat(spacing2.baseUnit * 2, "px")
51640        });
51641      };
51642      ValueContainer = function ValueContainer2(props) {
51643        var children = props.children, innerProps = props.innerProps, isMulti = props.isMulti, hasValue = props.hasValue;
51644        return jsx("div", _extends({}, getStyleProps(props, "valueContainer", {
51645          "value-container": true,
51646          "value-container--is-multi": isMulti,
51647          "value-container--has-value": hasValue
51648        }), innerProps), children);
51649      };
51650      indicatorsContainerCSS = function indicatorsContainerCSS2() {
51651        return {
51652          alignItems: "center",
51653          alignSelf: "stretch",
51654          display: "flex",
51655          flexShrink: 0
51656        };
51657      };
51658      IndicatorsContainer = function IndicatorsContainer2(props) {
51659        var children = props.children, innerProps = props.innerProps;
51660        return jsx("div", _extends({}, getStyleProps(props, "indicatorsContainer", {
51661          indicators: true
51662        }), innerProps), children);
51663      };
51664      _excluded$2 = ["size"];
51665      _excluded22 = ["innerProps", "isRtl", "size"];
51666      _ref2 = false ? {
51667        name: "8mmkcg",
51668        styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"
51669      } : {
51670        name: "tj5bde-Svg",
51671        styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
51672        map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",
51673        toString: _EMOTION_STRINGIFIED_CSS_ERROR__
51674      };
51675      Svg = function Svg2(_ref3) {
51676        var size2 = _ref3.size, props = _objectWithoutProperties2(_ref3, _excluded$2);
51677        return jsx("svg", _extends({
51678          height: size2,
51679          width: size2,
51680          viewBox: "0 0 20 20",
51681          "aria-hidden": "true",
51682          focusable: "false",
51683          css: _ref2
51684        }, props));
51685      };
51686      CrossIcon = function CrossIcon2(props) {
51687        return jsx(Svg, _extends({
51688          size: 20
51689        }, props), jsx("path", {
51690          d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
51691        }));
51692      };
51693      DownChevron = function DownChevron2(props) {
51694        return jsx(Svg, _extends({
51695          size: 20
51696        }, props), jsx("path", {
51697          d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
51698        }));
51699      };
51700      baseCSS = function baseCSS2(_ref3, unstyled) {
51701        var isFocused = _ref3.isFocused, _ref3$theme = _ref3.theme, baseUnit2 = _ref3$theme.spacing.baseUnit, colors2 = _ref3$theme.colors;
51702        return _objectSpread23({
51703          label: "indicatorContainer",
51704          display: "flex",
51705          transition: "color 150ms"
51706        }, unstyled ? {} : {
51707          color: isFocused ? colors2.neutral60 : colors2.neutral20,
51708          padding: baseUnit2 * 2,
51709          ":hover": {
51710            color: isFocused ? colors2.neutral80 : colors2.neutral40
51711          }
51712        });
51713      };
51714      dropdownIndicatorCSS = baseCSS;
51715      DropdownIndicator = function DropdownIndicator2(props) {
51716        var children = props.children, innerProps = props.innerProps;
51717        return jsx("div", _extends({}, getStyleProps(props, "dropdownIndicator", {
51718          indicator: true,
51719          "dropdown-indicator": true
51720        }), innerProps), children || jsx(DownChevron, null));
51721      };
51722      clearIndicatorCSS = baseCSS;
51723      ClearIndicator = function ClearIndicator2(props) {
51724        var children = props.children, innerProps = props.innerProps;
51725        return jsx("div", _extends({}, getStyleProps(props, "clearIndicator", {
51726          indicator: true,
51727          "clear-indicator": true
51728        }), innerProps), children || jsx(CrossIcon, null));
51729      };
51730      indicatorSeparatorCSS = function indicatorSeparatorCSS2(_ref4, unstyled) {
51731        var isDisabled = _ref4.isDisabled, _ref4$theme = _ref4.theme, baseUnit2 = _ref4$theme.spacing.baseUnit, colors2 = _ref4$theme.colors;
51732        return _objectSpread23({
51733          label: "indicatorSeparator",
51734          alignSelf: "stretch",
51735          width: 1
51736        }, unstyled ? {} : {
51737          backgroundColor: isDisabled ? colors2.neutral10 : colors2.neutral20,
51738          marginBottom: baseUnit2 * 2,
51739          marginTop: baseUnit2 * 2
51740        });
51741      };
51742      IndicatorSeparator = function IndicatorSeparator2(props) {
51743        var innerProps = props.innerProps;
51744        return jsx("span", _extends({}, innerProps, getStyleProps(props, "indicatorSeparator", {
51745          "indicator-separator": true
51746        })));
51747      };
51748      loadingDotAnimations = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"])));
51749      loadingIndicatorCSS = function loadingIndicatorCSS2(_ref5, unstyled) {
51750        var isFocused = _ref5.isFocused, size2 = _ref5.size, _ref5$theme = _ref5.theme, colors2 = _ref5$theme.colors, baseUnit2 = _ref5$theme.spacing.baseUnit;
51751        return _objectSpread23({
51752          label: "loadingIndicator",
51753          display: "flex",
51754          transition: "color 150ms",
51755          alignSelf: "center",
51756          fontSize: size2,
51757          lineHeight: 1,
51758          marginRight: size2,
51759          textAlign: "center",
51760          verticalAlign: "middle"
51761        }, unstyled ? {} : {
51762          color: isFocused ? colors2.neutral60 : colors2.neutral20,
51763          padding: baseUnit2 * 2
51764        });
51765      };
51766      LoadingDot = function LoadingDot2(_ref6) {
51767        var delay = _ref6.delay, offset2 = _ref6.offset;
51768        return jsx("span", {
51769          css: /* @__PURE__ */ css({
51770            animation: "".concat(loadingDotAnimations, " 1s ease-in-out ").concat(delay, "ms infinite;"),
51771            backgroundColor: "currentColor",
51772            borderRadius: "1em",
51773            display: "inline-block",
51774            marginLeft: offset2 ? "1em" : void 0,
51775            height: "1em",
51776            verticalAlign: "top",
51777            width: "1em"
51778          }, false ? "" : ";label:LoadingDot;", false ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")
51779        });
51780      };
51781      LoadingIndicator = function LoadingIndicator2(_ref7) {
51782        var innerProps = _ref7.innerProps, isRtl = _ref7.isRtl, _ref7$size = _ref7.size, size2 = _ref7$size === void 0 ? 4 : _ref7$size, restProps = _objectWithoutProperties2(_ref7, _excluded22);
51783        return jsx("div", _extends({}, getStyleProps(_objectSpread23(_objectSpread23({}, restProps), {}, {
51784          innerProps,
51785          isRtl,
51786          size: size2
51787        }), "loadingIndicator", {
51788          indicator: true,
51789          "loading-indicator": true
51790        }), innerProps), jsx(LoadingDot, {
51791          delay: 0,
51792          offset: isRtl
51793        }), jsx(LoadingDot, {
51794          delay: 160,
51795          offset: true
51796        }), jsx(LoadingDot, {
51797          delay: 320,
51798          offset: !isRtl
51799        }));
51800      };
51801      css$1 = function css3(_ref3, unstyled) {
51802        var isDisabled = _ref3.isDisabled, isFocused = _ref3.isFocused, _ref$theme = _ref3.theme, colors2 = _ref$theme.colors, borderRadius2 = _ref$theme.borderRadius, spacing2 = _ref$theme.spacing;
51803        return _objectSpread23({
51804          label: "control",
51805          alignItems: "center",
51806          cursor: "default",
51807          display: "flex",
51808          flexWrap: "wrap",
51809          justifyContent: "space-between",
51810          minHeight: spacing2.controlHeight,
51811          outline: "0 !important",
51812          position: "relative",
51813          transition: "all 100ms"
51814        }, unstyled ? {} : {
51815          backgroundColor: isDisabled ? colors2.neutral5 : colors2.neutral0,
51816          borderColor: isDisabled ? colors2.neutral10 : isFocused ? colors2.primary : colors2.neutral20,
51817          borderRadius: borderRadius2,
51818          borderStyle: "solid",
51819          borderWidth: 1,
51820          boxShadow: isFocused ? "0 0 0 1px ".concat(colors2.primary) : void 0,
51821          "&:hover": {
51822            borderColor: isFocused ? colors2.primary : colors2.neutral30
51823          }
51824        });
51825      };
51826      Control = function Control2(props) {
51827        var children = props.children, isDisabled = props.isDisabled, isFocused = props.isFocused, innerRef = props.innerRef, innerProps = props.innerProps, menuIsOpen = props.menuIsOpen;
51828        return jsx("div", _extends({
51829          ref: innerRef
51830        }, getStyleProps(props, "control", {
51831          control: true,
51832          "control--is-disabled": isDisabled,
51833          "control--is-focused": isFocused,
51834          "control--menu-is-open": menuIsOpen
51835        }), innerProps, {
51836          "aria-disabled": isDisabled || void 0
51837        }), children);
51838      };
51839      Control$1 = Control;
51840      _excluded$1 = ["data"];
51841      groupCSS = function groupCSS2(_ref3, unstyled) {
51842        var spacing2 = _ref3.theme.spacing;
51843        return unstyled ? {} : {
51844          paddingBottom: spacing2.baseUnit * 2,
51845          paddingTop: spacing2.baseUnit * 2
51846        };
51847      };
51848      Group = function Group2(props) {
51849        var children = props.children, cx = props.cx, getStyles = props.getStyles, getClassNames = props.getClassNames, Heading = props.Heading, headingProps = props.headingProps, innerProps = props.innerProps, label = props.label, theme = props.theme, selectProps = props.selectProps;
51850        return jsx("div", _extends({}, getStyleProps(props, "group", {
51851          group: true
51852        }), innerProps), jsx(Heading, _extends({}, headingProps, {
51853          selectProps,
51854          theme,
51855          getStyles,
51856          getClassNames,
51857          cx
51858        }), label), jsx("div", null, children));
51859      };
51860      groupHeadingCSS = function groupHeadingCSS2(_ref23, unstyled) {
51861        var _ref2$theme = _ref23.theme, colors2 = _ref2$theme.colors, spacing2 = _ref2$theme.spacing;
51862        return _objectSpread23({
51863          label: "group",
51864          cursor: "default",
51865          display: "block"
51866        }, unstyled ? {} : {
51867          color: colors2.neutral40,
51868          fontSize: "75%",
51869          fontWeight: 500,
51870          marginBottom: "0.25em",
51871          paddingLeft: spacing2.baseUnit * 3,
51872          paddingRight: spacing2.baseUnit * 3,
51873          textTransform: "uppercase"
51874        });
51875      };
51876      GroupHeading = function GroupHeading2(props) {
51877        var _cleanCommonProps = cleanCommonProps(props);
51878        _cleanCommonProps.data;
51879        var innerProps = _objectWithoutProperties2(_cleanCommonProps, _excluded$1);
51880        return jsx("div", _extends({}, getStyleProps(props, "groupHeading", {
51881          "group-heading": true
51882        }), innerProps));
51883      };
51884      Group$1 = Group;
51885      _excluded3 = ["innerRef", "isDisabled", "isHidden", "inputClassName"];
51886      inputCSS = function inputCSS2(_ref3, unstyled) {
51887        var isDisabled = _ref3.isDisabled, value = _ref3.value, _ref$theme = _ref3.theme, spacing2 = _ref$theme.spacing, colors2 = _ref$theme.colors;
51888        return _objectSpread23(_objectSpread23({
51889          visibility: isDisabled ? "hidden" : "visible",
51890          // force css to recompute when value change due to @emotion bug.
51891          // We can remove it whenever the bug is fixed.
51892          transform: value ? "translateZ(0)" : ""
51893        }, containerStyle), unstyled ? {} : {
51894          margin: spacing2.baseUnit / 2,
51895          paddingBottom: spacing2.baseUnit / 2,
51896          paddingTop: spacing2.baseUnit / 2,
51897          color: colors2.neutral80
51898        });
51899      };
51900      spacingStyle = {
51901        gridArea: "1 / 2",
51902        font: "inherit",
51903        minWidth: "2px",
51904        border: 0,
51905        margin: 0,
51906        outline: 0,
51907        padding: 0
51908      };
51909      containerStyle = {
51910        flex: "1 1 auto",
51911        display: "inline-grid",
51912        gridArea: "1 / 1 / 2 / 3",
51913        gridTemplateColumns: "0 min-content",
51914        "&:after": _objectSpread23({
51915          content: 'attr(data-value) " "',
51916          visibility: "hidden",
51917          whiteSpace: "pre"
51918        }, spacingStyle)
51919      };
51920      inputStyle = function inputStyle2(isHidden) {
51921        return _objectSpread23({
51922          label: "input",
51923          color: "inherit",
51924          background: 0,
51925          opacity: isHidden ? 0 : 1,
51926          width: "100%"
51927        }, spacingStyle);
51928      };
51929      Input = function Input2(props) {
51930        var cx = props.cx, value = props.value;
51931        var _cleanCommonProps = cleanCommonProps(props), innerRef = _cleanCommonProps.innerRef, isDisabled = _cleanCommonProps.isDisabled, isHidden = _cleanCommonProps.isHidden, inputClassName = _cleanCommonProps.inputClassName, innerProps = _objectWithoutProperties2(_cleanCommonProps, _excluded3);
51932        return jsx("div", _extends({}, getStyleProps(props, "input", {
51933          "input-container": true
51934        }), {
51935          "data-value": value || ""
51936        }), jsx("input", _extends({
51937          className: cx({
51938            input: true
51939          }, inputClassName),
51940          ref: innerRef,
51941          style: inputStyle(isHidden),
51942          disabled: isDisabled
51943        }, innerProps)));
51944      };
51945      Input$1 = Input;
51946      multiValueCSS = function multiValueCSS2(_ref3, unstyled) {
51947        var _ref$theme = _ref3.theme, spacing2 = _ref$theme.spacing, borderRadius2 = _ref$theme.borderRadius, colors2 = _ref$theme.colors;
51948        return _objectSpread23({
51949          label: "multiValue",
51950          display: "flex",
51951          minWidth: 0
51952        }, unstyled ? {} : {
51953          backgroundColor: colors2.neutral10,
51954          borderRadius: borderRadius2 / 2,
51955          margin: spacing2.baseUnit / 2
51956        });
51957      };
51958      multiValueLabelCSS = function multiValueLabelCSS2(_ref23, unstyled) {
51959        var _ref2$theme = _ref23.theme, borderRadius2 = _ref2$theme.borderRadius, colors2 = _ref2$theme.colors, cropWithEllipsis = _ref23.cropWithEllipsis;
51960        return _objectSpread23({
51961          overflow: "hidden",
51962          textOverflow: cropWithEllipsis || cropWithEllipsis === void 0 ? "ellipsis" : void 0,
51963          whiteSpace: "nowrap"
51964        }, unstyled ? {} : {
51965          borderRadius: borderRadius2 / 2,
51966          color: colors2.neutral80,
51967          fontSize: "85%",
51968          padding: 3,
51969          paddingLeft: 6
51970        });
51971      };
51972      multiValueRemoveCSS = function multiValueRemoveCSS2(_ref3, unstyled) {
51973        var _ref3$theme = _ref3.theme, spacing2 = _ref3$theme.spacing, borderRadius2 = _ref3$theme.borderRadius, colors2 = _ref3$theme.colors, isFocused = _ref3.isFocused;
51974        return _objectSpread23({
51975          alignItems: "center",
51976          display: "flex"
51977        }, unstyled ? {} : {
51978          borderRadius: borderRadius2 / 2,
51979          backgroundColor: isFocused ? colors2.dangerLight : void 0,
51980          paddingLeft: spacing2.baseUnit,
51981          paddingRight: spacing2.baseUnit,
51982          ":hover": {
51983            backgroundColor: colors2.dangerLight,
51984            color: colors2.danger
51985          }
51986        });
51987      };
51988      MultiValueGeneric = function MultiValueGeneric2(_ref4) {
51989        var children = _ref4.children, innerProps = _ref4.innerProps;
51990        return jsx("div", innerProps, children);
51991      };
51992      MultiValueContainer = MultiValueGeneric;
51993      MultiValueLabel = MultiValueGeneric;
51994      MultiValue = function MultiValue2(props) {
51995        var children = props.children, components2 = props.components, data = props.data, innerProps = props.innerProps, isDisabled = props.isDisabled, removeProps3 = props.removeProps, selectProps = props.selectProps;
51996        var Container = components2.Container, Label = components2.Label, Remove = components2.Remove;
51997        return jsx(Container, {
51998          data,
51999          innerProps: _objectSpread23(_objectSpread23({}, getStyleProps(props, "multiValue", {
52000            "multi-value": true,
52001            "multi-value--is-disabled": isDisabled
52002          })), innerProps),
52003          selectProps
52004        }, jsx(Label, {
52005          data,
52006          innerProps: _objectSpread23({}, getStyleProps(props, "multiValueLabel", {
52007            "multi-value__label": true
52008          })),
52009          selectProps
52010        }, children), jsx(Remove, {
52011          data,
52012          innerProps: _objectSpread23(_objectSpread23({}, getStyleProps(props, "multiValueRemove", {
52013            "multi-value__remove": true
52014          })), {}, {
52015            "aria-label": "Remove ".concat(children || "option")
52016          }, removeProps3),
52017          selectProps
52018        }));
52019      };
52020      MultiValue$1 = MultiValue;
52021      optionCSS = function optionCSS2(_ref3, unstyled) {
52022        var isDisabled = _ref3.isDisabled, isFocused = _ref3.isFocused, isSelected = _ref3.isSelected, _ref$theme = _ref3.theme, spacing2 = _ref$theme.spacing, colors2 = _ref$theme.colors;
52023        return _objectSpread23({
52024          label: "option",
52025          cursor: "default",
52026          display: "block",
52027          fontSize: "inherit",
52028          width: "100%",
52029          userSelect: "none",
52030          WebkitTapHighlightColor: "rgba(0, 0, 0, 0)"
52031        }, unstyled ? {} : {
52032          backgroundColor: isSelected ? colors2.primary : isFocused ? colors2.primary25 : "transparent",
52033          color: isDisabled ? colors2.neutral20 : isSelected ? colors2.neutral0 : "inherit",
52034          padding: "".concat(spacing2.baseUnit * 2, "px ").concat(spacing2.baseUnit * 3, "px"),
52035          // provide some affordance on touch devices
52036          ":active": {
52037            backgroundColor: !isDisabled ? isSelected ? colors2.primary : colors2.primary50 : void 0
52038          }
52039        });
52040      };
52041      Option = function Option2(props) {
52042        var children = props.children, isDisabled = props.isDisabled, isFocused = props.isFocused, isSelected = props.isSelected, innerRef = props.innerRef, innerProps = props.innerProps;
52043        return jsx("div", _extends({}, getStyleProps(props, "option", {
52044          option: true,
52045          "option--is-disabled": isDisabled,
52046          "option--is-focused": isFocused,
52047          "option--is-selected": isSelected
52048        }), {
52049          ref: innerRef,
52050          "aria-disabled": isDisabled
52051        }, innerProps), children);
52052      };
52053      Option$1 = Option;
52054      placeholderCSS = function placeholderCSS2(_ref3, unstyled) {
52055        var _ref$theme = _ref3.theme, spacing2 = _ref$theme.spacing, colors2 = _ref$theme.colors;
52056        return _objectSpread23({
52057          label: "placeholder",
52058          gridArea: "1 / 1 / 2 / 3"
52059        }, unstyled ? {} : {
52060          color: colors2.neutral50,
52061          marginLeft: spacing2.baseUnit / 2,
52062          marginRight: spacing2.baseUnit / 2
52063        });
52064      };
52065      Placeholder = function Placeholder2(props) {
52066        var children = props.children, innerProps = props.innerProps;
52067        return jsx("div", _extends({}, getStyleProps(props, "placeholder", {
52068          placeholder: true
52069        }), innerProps), children);
52070      };
52071      Placeholder$1 = Placeholder;
52072      css4 = function css5(_ref3, unstyled) {
52073        var isDisabled = _ref3.isDisabled, _ref$theme = _ref3.theme, spacing2 = _ref$theme.spacing, colors2 = _ref$theme.colors;
52074        return _objectSpread23({
52075          label: "singleValue",
52076          gridArea: "1 / 1 / 2 / 3",
52077          maxWidth: "100%",
52078          overflow: "hidden",
52079          textOverflow: "ellipsis",
52080          whiteSpace: "nowrap"
52081        }, unstyled ? {} : {
52082          color: isDisabled ? colors2.neutral40 : colors2.neutral80,
52083          marginLeft: spacing2.baseUnit / 2,
52084          marginRight: spacing2.baseUnit / 2
52085        });
52086      };
52087      SingleValue = function SingleValue2(props) {
52088        var children = props.children, isDisabled = props.isDisabled, innerProps = props.innerProps;
52089        return jsx("div", _extends({}, getStyleProps(props, "singleValue", {
52090          "single-value": true,
52091          "single-value--is-disabled": isDisabled
52092        }), innerProps), children);
52093      };
52094      SingleValue$1 = SingleValue;
52095      components = {
52096        ClearIndicator,
52097        Control: Control$1,
52098        DropdownIndicator,
52099        DownChevron,
52100        CrossIcon,
52101        Group: Group$1,
52102        GroupHeading,
52103        IndicatorsContainer,
52104        IndicatorSeparator,
52105        Input: Input$1,
52106        LoadingIndicator,
52107        Menu: Menu$1,
52108        MenuList,
52109        MenuPortal,
52110        LoadingMessage,
52111        NoOptionsMessage,
52112        MultiValue: MultiValue$1,
52113        MultiValueContainer,
52114        MultiValueLabel,
52115        MultiValueRemove,
52116        Option: Option$1,
52117        Placeholder: Placeholder$1,
52118        SelectContainer,
52119        SingleValue: SingleValue$1,
52120        ValueContainer
52121      };
52122      defaultComponents = function defaultComponents2(props) {
52123        return _objectSpread23(_objectSpread23({}, components), props.components);
52124      };
52125    }
52126  });
52127
52128  
vendor: 1,546 bytes, lines 52128-52185
52128// node_modules/react-select/node_modules/memoize-one/dist/memoize-one.esm.js
52129  function isEqual(first, second) {
52130    if (first === second) {
52131      return true;
52132    }
52133    if (safeIsNaN(first) && safeIsNaN(second)) {
52134      return true;
52135    }
52136    return false;
52137  }
52138  function areInputsEqual(newInputs, lastInputs) {
52139    if (newInputs.length !== lastInputs.length) {
52140      return false;
52141    }
52142    for (var i2 = 0; i2 < newInputs.length; i2++) {
52143      if (!isEqual(newInputs[i2], lastInputs[i2])) {
52144        return false;
52145      }
52146    }
52147    return true;
52148  }
52149  function memoizeOne(resultFn, isEqual2) {
52150    if (isEqual2 === void 0) {
52151      isEqual2 = areInputsEqual;
52152    }
52153    var cache = null;
52154    function memoized() {
52155      var newArgs = [];
52156      for (var _i = 0; _i < arguments.length; _i++) {
52157        newArgs[_i] = arguments[_i];
52158      }
52159      if (cache && cache.lastThis === this && isEqual2(newArgs, cache.lastArgs)) {
52160        return cache.lastResult;
52161      }
52162      var lastResult = resultFn.apply(this, newArgs);
52163      cache = {
52164        lastResult,
52165        lastArgs: newArgs,
52166        lastThis: this
52167      };
52168      return lastResult;
52169    }
52170    memoized.clear = function clear() {
52171      cache = null;
52172    };
52173    return memoized;
52174  }
52175  var safeIsNaN;
52176  var init_memoize_one_esm = __esm({
52177    "node_modules/react-select/node_modules/memoize-one/dist/memoize-one.esm.js"() {
52178      init_esbuild_shims();
52179      safeIsNaN = Number.isNaN || function ponyfill(value) {
52180        return typeof value === "number" && value !== value;
52181      };
52182    }
52183  });
52184
52185  
vendor: 108,455 bytes, lines 52185-54502
52185// node_modules/react-select/dist/Select-ef7c0426.esm.js
52186  function _EMOTION_STRINGIFIED_CSS_ERROR__$2() {
52187    return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
52188  }
52189  function DummyInput(_ref3) {
52190    var innerRef = _ref3.innerRef, props = _objectWithoutProperties2(_ref3, _excluded4);
52191    var filteredProps = removeProps(props, "onExited", "in", "enter", "exit", "appear");
52192    return jsx("input", _extends({
52193      ref: innerRef
52194    }, filteredProps, {
52195      css: /* @__PURE__ */ css({
52196        label: "dummyInput",
52197        // get rid of any default styles
52198        background: 0,
52199        border: 0,
52200        // important! this hides the flashing cursor
52201        caretColor: "transparent",
52202        fontSize: "inherit",
52203        gridArea: "1 / 1 / 2 / 3",
52204        outline: 0,
52205        padding: 0,
52206        // important! without `width` browsers won't allow focus
52207        width: 1,
52208        // remove cursor on desktop
52209        color: "transparent",
52210        // remove cursor on mobile whilst maintaining "scroll into view" behaviour
52211        left: -100,
52212        opacity: 0,
52213        position: "relative",
52214        transform: "scale(.01)"
52215      }, false ? "" : ";label:DummyInput;", false ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")
52216    }));
52217  }
52218  function useScrollCapture(_ref3) {
52219    var isEnabled = _ref3.isEnabled, onBottomArrive = _ref3.onBottomArrive, onBottomLeave = _ref3.onBottomLeave, onTopArrive = _ref3.onTopArrive, onTopLeave = _ref3.onTopLeave;
52220    var isBottom = (0, import_react17.useRef)(false);
52221    var isTop = (0, import_react17.useRef)(false);
52222    var touchStart = (0, import_react17.useRef)(0);
52223    var scrollTarget = (0, import_react17.useRef)(null);
52224    var handleEventDelta = (0, import_react17.useCallback)(function(event, delta) {
52225      if (scrollTarget.current === null) return;
52226      var _scrollTarget$current = scrollTarget.current, scrollTop = _scrollTarget$current.scrollTop, scrollHeight = _scrollTarget$current.scrollHeight, clientHeight = _scrollTarget$current.clientHeight;
52227      var target = scrollTarget.current;
52228      var isDeltaPositive = delta > 0;
52229      var availableScroll = scrollHeight - clientHeight - scrollTop;
52230      var shouldCancelScroll = false;
52231      if (availableScroll > delta && isBottom.current) {
52232        if (onBottomLeave) onBottomLeave(event);
52233        isBottom.current = false;
52234      }
52235      if (isDeltaPositive && isTop.current) {
52236        if (onTopLeave) onTopLeave(event);
52237        isTop.current = false;
52238      }
52239      if (isDeltaPositive && delta > availableScroll) {
52240        if (onBottomArrive && !isBottom.current) {
52241          onBottomArrive(event);
52242        }
52243        target.scrollTop = scrollHeight;
52244        shouldCancelScroll = true;
52245        isBottom.current = true;
52246      } else if (!isDeltaPositive && -delta > scrollTop) {
52247        if (onTopArrive && !isTop.current) {
52248          onTopArrive(event);
52249        }
52250        target.scrollTop = 0;
52251        shouldCancelScroll = true;
52252        isTop.current = true;
52253      }
52254      if (shouldCancelScroll) {
52255        cancelScroll(event);
52256      }
52257    }, [onBottomArrive, onBottomLeave, onTopArrive, onTopLeave]);
52258    var onWheel = (0, import_react17.useCallback)(function(event) {
52259      handleEventDelta(event, event.deltaY);
52260    }, [handleEventDelta]);
52261    var onTouchStart = (0, import_react17.useCallback)(function(event) {
52262      touchStart.current = event.changedTouches[0].clientY;
52263    }, []);
52264    var onTouchMove = (0, import_react17.useCallback)(function(event) {
52265      var deltaY = touchStart.current - event.changedTouches[0].clientY;
52266      handleEventDelta(event, deltaY);
52267    }, [handleEventDelta]);
52268    var startListening = (0, import_react17.useCallback)(function(el) {
52269      if (!el) return;
52270      var notPassive = supportsPassiveEvents ? {
52271        passive: false
52272      } : false;
52273      el.addEventListener("wheel", onWheel, notPassive);
52274      el.addEventListener("touchstart", onTouchStart, notPassive);
52275      el.addEventListener("touchmove", onTouchMove, notPassive);
52276    }, [onTouchMove, onTouchStart, onWheel]);
52277    var stopListening = (0, import_react17.useCallback)(function(el) {
52278      if (!el) return;
52279      el.removeEventListener("wheel", onWheel, false);
52280      el.removeEventListener("touchstart", onTouchStart, false);
52281      el.removeEventListener("touchmove", onTouchMove, false);
52282    }, [onTouchMove, onTouchStart, onWheel]);
52283    (0, import_react17.useEffect)(function() {
52284      if (!isEnabled) return;
52285      var element = scrollTarget.current;
52286      startListening(element);
52287      return function() {
52288        stopListening(element);
52289      };
52290    }, [isEnabled, startListening, stopListening]);
52291    return function(element) {
52292      scrollTarget.current = element;
52293    };
52294  }
52295  function preventTouchMove(e) {
52296    if (e.cancelable) e.preventDefault();
52297  }
52298  function allowTouchMove(e) {
52299    e.stopPropagation();
52300  }
52301  function preventInertiaScroll() {
52302    var top = this.scrollTop;
52303    var totalScroll = this.scrollHeight;
52304    var currentScroll = top + this.offsetHeight;
52305    if (top === 0) {
52306      this.scrollTop = 1;
52307    } else if (currentScroll === totalScroll) {
52308      this.scrollTop = top - 1;
52309    }
52310  }
52311  function isTouchDevice() {
52312    return "ontouchstart" in window || navigator.maxTouchPoints;
52313  }
52314  function useScrollLock(_ref3) {
52315    var isEnabled = _ref3.isEnabled, _ref$accountForScroll = _ref3.accountForScrollbars, accountForScrollbars = _ref$accountForScroll === void 0 ? true : _ref$accountForScroll;
52316    var originalStyles = (0, import_react17.useRef)({});
52317    var scrollTarget = (0, import_react17.useRef)(null);
52318    var addScrollLock = (0, import_react17.useCallback)(function(touchScrollTarget) {
52319      if (!canUseDOM) return;
52320      var target = document.body;
52321      var targetStyle = target && target.style;
52322      if (accountForScrollbars) {
52323        STYLE_KEYS.forEach(function(key) {
52324          var val = targetStyle && targetStyle[key];
52325          originalStyles.current[key] = val;
52326        });
52327      }
52328      if (accountForScrollbars && activeScrollLocks < 1) {
52329        var currentPadding = parseInt(originalStyles.current.paddingRight, 10) || 0;
52330        var clientWidth = document.body ? document.body.clientWidth : 0;
52331        var adjustedPadding = window.innerWidth - clientWidth + currentPadding || 0;
52332        Object.keys(LOCK_STYLES).forEach(function(key) {
52333          var val = LOCK_STYLES[key];
52334          if (targetStyle) {
52335            targetStyle[key] = val;
52336          }
52337        });
52338        if (targetStyle) {
52339          targetStyle.paddingRight = "".concat(adjustedPadding, "px");
52340        }
52341      }
52342      if (target && isTouchDevice()) {
52343        target.addEventListener("touchmove", preventTouchMove, listenerOptions);
52344        if (touchScrollTarget) {
52345          touchScrollTarget.addEventListener("touchstart", preventInertiaScroll, listenerOptions);
52346          touchScrollTarget.addEventListener("touchmove", allowTouchMove, listenerOptions);
52347        }
52348      }
52349      activeScrollLocks += 1;
52350    }, [accountForScrollbars]);
52351    var removeScrollLock = (0, import_react17.useCallback)(function(touchScrollTarget) {
52352      if (!canUseDOM) return;
52353      var target = document.body;
52354      var targetStyle = target && target.style;
52355      activeScrollLocks = Math.max(activeScrollLocks - 1, 0);
52356      if (accountForScrollbars && activeScrollLocks < 1) {
52357        STYLE_KEYS.forEach(function(key) {
52358          var val = originalStyles.current[key];
52359          if (targetStyle) {
52360            targetStyle[key] = val;
52361          }
52362        });
52363      }
52364      if (target && isTouchDevice()) {
52365        target.removeEventListener("touchmove", preventTouchMove, listenerOptions);
52366        if (touchScrollTarget) {
52367          touchScrollTarget.removeEventListener("touchstart", preventInertiaScroll, listenerOptions);
52368          touchScrollTarget.removeEventListener("touchmove", allowTouchMove, listenerOptions);
52369        }
52370      }
52371    }, [accountForScrollbars]);
52372    (0, import_react17.useEffect)(function() {
52373      if (!isEnabled) return;
52374      var element = scrollTarget.current;
52375      addScrollLock(element);
52376      return function() {
52377        removeScrollLock(element);
52378      };
52379    }, [isEnabled, addScrollLock, removeScrollLock]);
52380    return function(element) {
52381      scrollTarget.current = element;
52382    };
52383  }
52384  function _EMOTION_STRINGIFIED_CSS_ERROR__$1() {
52385    return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
52386  }
52387  function ScrollManager(_ref3) {
52388    var children = _ref3.children, lockEnabled = _ref3.lockEnabled, _ref$captureEnabled = _ref3.captureEnabled, captureEnabled = _ref$captureEnabled === void 0 ? true : _ref$captureEnabled, onBottomArrive = _ref3.onBottomArrive, onBottomLeave = _ref3.onBottomLeave, onTopArrive = _ref3.onTopArrive, onTopLeave = _ref3.onTopLeave;
52389    var setScrollCaptureTarget = useScrollCapture({
52390      isEnabled: captureEnabled,
52391      onBottomArrive,
52392      onBottomLeave,
52393      onTopArrive,
52394      onTopLeave
52395    });
52396    var setScrollLockTarget = useScrollLock({
52397      isEnabled: lockEnabled
52398    });
52399    var targetRef = function targetRef2(element) {
52400      setScrollCaptureTarget(element);
52401      setScrollLockTarget(element);
52402    };
52403    return jsx(import_react17.Fragment, null, lockEnabled && jsx("div", {
52404      onClick: blurSelectInput,
52405      css: _ref2$1
52406    }), children(targetRef));
52407  }
52408  function _EMOTION_STRINGIFIED_CSS_ERROR__2() {
52409    return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
52410  }
52411  function testPlatform(re) {
52412    var _window$navigator$use;
52413    return typeof window !== "undefined" && window.navigator != null ? re.test(((_window$navigator$use = window.navigator["userAgentData"]) === null || _window$navigator$use === void 0 ? void 0 : _window$navigator$use.platform) || window.navigator.platform) : false;
52414  }
52415  function isIPhone() {
52416    return testPlatform(/^iPhone/i);
52417  }
52418  function isMac() {
52419    return testPlatform(/^Mac/i);
52420  }
52421  function isIPad() {
52422    return testPlatform(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
52423    isMac() && navigator.maxTouchPoints > 1;
52424  }
52425  function isIOS() {
52426    return isIPhone() || isIPad();
52427  }
52428  function isAppleDevice() {
52429    return isMac() || isIOS();
52430  }
52431  function toCategorizedOption(props, option, selectValue, index2) {
52432    var isDisabled = _isOptionDisabled(props, option, selectValue);
52433    var isSelected = _isOptionSelected(props, option, selectValue);
52434    var label = getOptionLabel2(props, option);
52435    var value = getOptionValue2(props, option);
52436    return {
52437      type: "option",
52438      data: option,
52439      isDisabled,
52440      isSelected,
52441      label,
52442      value,
52443      index: index2
52444    };
52445  }
52446  function buildCategorizedOptions(props, selectValue) {
52447    return props.options.map(function(groupOrOption, groupOrOptionIndex) {
52448      if ("options" in groupOrOption) {
52449        var categorizedOptions = groupOrOption.options.map(function(option, optionIndex) {
52450          return toCategorizedOption(props, option, selectValue, optionIndex);
52451        }).filter(function(categorizedOption2) {
52452          return isFocusable(props, categorizedOption2);
52453        });
52454        return categorizedOptions.length > 0 ? {
52455          type: "group",
52456          data: groupOrOption,
52457          options: categorizedOptions,
52458          index: groupOrOptionIndex
52459        } : void 0;
52460      }
52461      var categorizedOption = toCategorizedOption(props, groupOrOption, selectValue, groupOrOptionIndex);
52462      return isFocusable(props, categorizedOption) ? categorizedOption : void 0;
52463    }).filter(notNullish);
52464  }
52465  function buildFocusableOptionsFromCategorizedOptions(categorizedOptions) {
52466    return categorizedOptions.reduce(function(optionsAccumulator, categorizedOption) {
52467      if (categorizedOption.type === "group") {
52468        optionsAccumulator.push.apply(optionsAccumulator, _toConsumableArray2(categorizedOption.options.map(function(option) {
52469          return option.data;
52470        })));
52471      } else {
52472        optionsAccumulator.push(categorizedOption.data);
52473      }
52474      return optionsAccumulator;
52475    }, []);
52476  }
52477  function buildFocusableOptionsWithIds(categorizedOptions, optionId) {
52478    return categorizedOptions.reduce(function(optionsAccumulator, categorizedOption) {
52479      if (categorizedOption.type === "group") {
52480        optionsAccumulator.push.apply(optionsAccumulator, _toConsumableArray2(categorizedOption.options.map(function(option) {
52481          return {
52482            data: option.data,
52483            id: "".concat(optionId, "-").concat(categorizedOption.index, "-").concat(option.index)
52484          };
52485        })));
52486      } else {
52487        optionsAccumulator.push({
52488          data: categorizedOption.data,
52489          id: "".concat(optionId, "-").concat(categorizedOption.index)
52490        });
52491      }
52492      return optionsAccumulator;
52493    }, []);
52494  }
52495  function buildFocusableOptions(props, selectValue) {
52496    return buildFocusableOptionsFromCategorizedOptions(buildCategorizedOptions(props, selectValue));
52497  }
52498  function isFocusable(props, categorizedOption) {
52499    var _props$inputValue = props.inputValue, inputValue = _props$inputValue === void 0 ? "" : _props$inputValue;
52500    var data = categorizedOption.data, isSelected = categorizedOption.isSelected, label = categorizedOption.label, value = categorizedOption.value;
52501    return (!shouldHideSelectedOptions(props) || !isSelected) && _filterOption(props, {
52502      label,
52503      value,
52504      data
52505    }, inputValue);
52506  }
52507  function getNextFocusedValue(state, nextSelectValue) {
52508    var focusedValue = state.focusedValue, lastSelectValue = state.selectValue;
52509    var lastFocusedIndex = lastSelectValue.indexOf(focusedValue);
52510    if (lastFocusedIndex > -1) {
52511      var nextFocusedIndex = nextSelectValue.indexOf(focusedValue);
52512      if (nextFocusedIndex > -1) {
52513        return focusedValue;
52514      } else if (lastFocusedIndex < nextSelectValue.length) {
52515        return nextSelectValue[lastFocusedIndex];
52516      }
52517    }
52518    return null;
52519  }
52520  function getNextFocusedOption(state, options2) {
52521    var lastFocusedOption = state.focusedOption;
52522    return lastFocusedOption && options2.indexOf(lastFocusedOption) > -1 ? lastFocusedOption : options2[0];
52523  }
52524  function _isOptionDisabled(props, option, selectValue) {
52525    return typeof props.isOptionDisabled === "function" ? props.isOptionDisabled(option, selectValue) : false;
52526  }
52527  function _isOptionSelected(props, option, selectValue) {
52528    if (selectValue.indexOf(option) > -1) return true;
52529    if (typeof props.isOptionSelected === "function") {
52530      return props.isOptionSelected(option, selectValue);
52531    }
52532    var candidate = getOptionValue2(props, option);
52533    return selectValue.some(function(i2) {
52534      return getOptionValue2(props, i2) === candidate;
52535    });
52536  }
52537  function _filterOption(props, option, inputValue) {
52538    return props.filterOption ? props.filterOption(option, inputValue) : true;
52539  }
52540  var React8, import_react17, _ref, A11yText, A11yText$1, defaultAriaLiveMessages, LiveRegion, LiveRegion$1, diacritics, anyDiacritic, diacriticToBase, diacritic, j, i, stripDiacritics, memoizedStripDiacriticsForInput, trimString, defaultStringify, createFilter, _excluded4, cancelScroll, STYLE_KEYS, LOCK_STYLES, canUseDOM, activeScrollLocks, listenerOptions, blurSelectInput, _ref2$1, _ref22, RequiredInput, RequiredInput$1, formatGroupLabel, getOptionLabel$1, getOptionValue$1, isOptionDisabled, defaultStyles, colors, borderRadius, baseUnit, controlHeight, menuGutter, spacing, defaultTheme, defaultProps, getFocusedOptionId, getOptionLabel2, getOptionValue2, shouldHideSelectedOptions, instanceId, Select;
52541  var init_Select_ef7c0426_esm = __esm({
52542    "node_modules/react-select/dist/Select-ef7c0426.esm.js"() {
52543      init_esbuild_shims();
52544      init_extends();
52545      init_objectSpread2();
52546      init_classCallCheck();
52547      init_createClass();
52548      init_inherits();
52549      init_createSuper();
52550      init_toConsumableArray();
52551      React8 = __toESM(require_react());
52552      import_react17 = __toESM(require_react());
52553      init_index_641ee5b8_esm();
52554      init_emotion_react_browser_esm();
52555      init_memoize_one_esm();
52556      init_objectWithoutProperties();
52557      _ref = false ? {
52558        name: "7pg0cj-a11yText",
52559        styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"
52560      } : {
52561        name: "1f43avz-a11yText-A11yText",
52562        styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",
52563        map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",
52564        toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
52565      };
52566      A11yText = function A11yText2(props) {
52567        return jsx("span", _extends({
52568          css: _ref
52569        }, props));
52570      };
52571      A11yText$1 = A11yText;
52572      defaultAriaLiveMessages = {
52573        guidance: function guidance(props) {
52574          var isSearchable = props.isSearchable, isMulti = props.isMulti, tabSelectsValue = props.tabSelectsValue, context = props.context, isInitialFocus = props.isInitialFocus;
52575          switch (context) {
52576            case "menu":
52577              return "Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(tabSelectsValue ? ", press Tab to select the option and exit the menu" : "", ".");
52578            case "input":
52579              return isInitialFocus ? "".concat(props["aria-label"] || "Select", " is focused ").concat(isSearchable ? ",type to refine list" : "", ", press Down to open the menu, ").concat(isMulti ? " press left to focus selected values" : "") : "";
52580            case "value":
52581              return "Use left and right to toggle between focused values, press Backspace to remove the currently focused value";
52582            default:
52583              return "";
52584          }
52585        },
52586        onChange: function onChange2(props) {
52587          var action = props.action, _props$label = props.label, label = _props$label === void 0 ? "" : _props$label, labels = props.labels, isDisabled = props.isDisabled;
52588          switch (action) {
52589            case "deselect-option":
52590            case "pop-value":
52591            case "remove-value":
52592              return "option ".concat(label, ", deselected.");
52593            case "clear":
52594              return "All selected options have been cleared.";
52595            case "initial-input-focus":
52596              return "option".concat(labels.length > 1 ? "s" : "", " ").concat(labels.join(","), ", selected.");
52597            case "select-option":
52598              return isDisabled ? "option ".concat(label, " is disabled. Select another option.") : "option ".concat(label, ", selected.");
52599            default:
52600              return "";
52601          }
52602        },
52603        onFocus: function onFocus(props) {
52604          var context = props.context, focused = props.focused, options2 = props.options, _props$label2 = props.label, label = _props$label2 === void 0 ? "" : _props$label2, selectValue = props.selectValue, isDisabled = props.isDisabled, isSelected = props.isSelected, isAppleDevice2 = props.isAppleDevice;
52605          var getArrayIndex = function getArrayIndex2(arr, item) {
52606            return arr && arr.length ? "".concat(arr.indexOf(item) + 1, " of ").concat(arr.length) : "";
52607          };
52608          if (context === "value" && selectValue) {
52609            return "value ".concat(label, " focused, ").concat(getArrayIndex(selectValue, focused), ".");
52610          }
52611          if (context === "menu" && isAppleDevice2) {
52612            var disabled2 = isDisabled ? " disabled" : "";
52613            var status = "".concat(isSelected ? " selected" : "").concat(disabled2);
52614            return "".concat(label).concat(status, ", ").concat(getArrayIndex(options2, focused), ".");
52615          }
52616          return "";
52617        },
52618        onFilter: function onFilter(props) {
52619          var inputValue = props.inputValue, resultsMessage = props.resultsMessage;
52620          return "".concat(resultsMessage).concat(inputValue ? " for search term " + inputValue : "", ".");
52621        }
52622      };
52623      LiveRegion = function LiveRegion2(props) {
52624        var ariaSelection = props.ariaSelection, focusedOption = props.focusedOption, focusedValue = props.focusedValue, focusableOptions = props.focusableOptions, isFocused = props.isFocused, selectValue = props.selectValue, selectProps = props.selectProps, id = props.id, isAppleDevice2 = props.isAppleDevice;
52625        var ariaLiveMessages = selectProps.ariaLiveMessages, getOptionLabel4 = selectProps.getOptionLabel, inputValue = selectProps.inputValue, isMulti = selectProps.isMulti, isOptionDisabled3 = selectProps.isOptionDisabled, isSearchable = selectProps.isSearchable, menuIsOpen = selectProps.menuIsOpen, options2 = selectProps.options, screenReaderStatus2 = selectProps.screenReaderStatus, tabSelectsValue = selectProps.tabSelectsValue, isLoading = selectProps.isLoading;
52626        var ariaLabel = selectProps["aria-label"];
52627        var ariaLive = selectProps["aria-live"];
52628        var messages = (0, import_react17.useMemo)(function() {
52629          return _objectSpread23(_objectSpread23({}, defaultAriaLiveMessages), ariaLiveMessages || {});
52630        }, [ariaLiveMessages]);
52631        var ariaSelected = (0, import_react17.useMemo)(function() {
52632          var message = "";
52633          if (ariaSelection && messages.onChange) {
52634            var option = ariaSelection.option, selectedOptions = ariaSelection.options, removedValue = ariaSelection.removedValue, removedValues = ariaSelection.removedValues, value = ariaSelection.value;
52635            var asOption = function asOption2(val) {
52636              return !Array.isArray(val) ? val : null;
52637            };
52638            var selected = removedValue || option || asOption(value);
52639            var label = selected ? getOptionLabel4(selected) : "";
52640            var multiSelected = selectedOptions || removedValues || void 0;
52641            var labels = multiSelected ? multiSelected.map(getOptionLabel4) : [];
52642            var onChangeProps = _objectSpread23({
52643              // multiSelected items are usually items that have already been selected
52644              // or set by the user as a default value so we assume they are not disabled
52645              isDisabled: selected && isOptionDisabled3(selected, selectValue),
52646              label,
52647              labels
52648            }, ariaSelection);
52649            message = messages.onChange(onChangeProps);
52650          }
52651          return message;
52652        }, [ariaSelection, messages, isOptionDisabled3, selectValue, getOptionLabel4]);
52653        var ariaFocused = (0, import_react17.useMemo)(function() {
52654          var focusMsg = "";
52655          var focused = focusedOption || focusedValue;
52656          var isSelected = !!(focusedOption && selectValue && selectValue.includes(focusedOption));
52657          if (focused && messages.onFocus) {
52658            var onFocusProps = {
52659              focused,
52660              label: getOptionLabel4(focused),
52661              isDisabled: isOptionDisabled3(focused, selectValue),
52662              isSelected,
52663              options: focusableOptions,
52664              context: focused === focusedOption ? "menu" : "value",
52665              selectValue,
52666              isAppleDevice: isAppleDevice2
52667            };
52668            focusMsg = messages.onFocus(onFocusProps);
52669          }
52670          return focusMsg;
52671        }, [focusedOption, focusedValue, getOptionLabel4, isOptionDisabled3, messages, focusableOptions, selectValue, isAppleDevice2]);
52672        var ariaResults = (0, import_react17.useMemo)(function() {
52673          var resultsMsg = "";
52674          if (menuIsOpen && options2.length && !isLoading && messages.onFilter) {
52675            var resultsMessage = screenReaderStatus2({
52676              count: focusableOptions.length
52677            });
52678            resultsMsg = messages.onFilter({
52679              inputValue,
52680              resultsMessage
52681            });
52682          }
52683          return resultsMsg;
52684        }, [focusableOptions, inputValue, menuIsOpen, messages, options2, screenReaderStatus2, isLoading]);
52685        var isInitialFocus = (ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === "initial-input-focus";
52686        var ariaGuidance = (0, import_react17.useMemo)(function() {
52687          var guidanceMsg = "";
52688          if (messages.guidance) {
52689            var context = focusedValue ? "value" : menuIsOpen ? "menu" : "input";
52690            guidanceMsg = messages.guidance({
52691              "aria-label": ariaLabel,
52692              context,
52693              isDisabled: focusedOption && isOptionDisabled3(focusedOption, selectValue),
52694              isMulti,
52695              isSearchable,
52696              tabSelectsValue,
52697              isInitialFocus
52698            });
52699          }
52700          return guidanceMsg;
52701        }, [ariaLabel, focusedOption, focusedValue, isMulti, isOptionDisabled3, isSearchable, menuIsOpen, messages, selectValue, tabSelectsValue, isInitialFocus]);
52702        var ScreenReaderText = jsx(import_react17.Fragment, null, jsx("span", {
52703          id: "aria-selection"
52704        }, ariaSelected), jsx("span", {
52705          id: "aria-focused"
52706        }, ariaFocused), jsx("span", {
52707          id: "aria-results"
52708        }, ariaResults), jsx("span", {
52709          id: "aria-guidance"
52710        }, ariaGuidance));
52711        return jsx(import_react17.Fragment, null, jsx(A11yText$1, {
52712          id
52713        }, isInitialFocus && ScreenReaderText), jsx(A11yText$1, {
52714          "aria-live": ariaLive,
52715          "aria-atomic": "false",
52716          "aria-relevant": "additions text",
52717          role: "log"
52718        }, isFocused && !isInitialFocus && ScreenReaderText));
52719      };
52720      LiveRegion$1 = LiveRegion;
52721      diacritics = [{
52722        base: "A",
52723        letters: "A\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F"
52724      }, {
52725        base: "AA",
52726        letters: "\uA732"
52727      }, {
52728        base: "AE",
52729        letters: "\xC6\u01FC\u01E2"
52730      }, {
52731        base: "AO",
52732        letters: "\uA734"
52733      }, {
52734        base: "AU",
52735        letters: "\uA736"
52736      }, {
52737        base: "AV",
52738        letters: "\uA738\uA73A"
52739      }, {
52740        base: "AY",
52741        letters: "\uA73C"
52742      }, {
52743        base: "B",
52744        letters: "B\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181"
52745      }, {
52746        base: "C",
52747        letters: "C\u24B8\uFF23\u0106\u0108\u010A\u010C\xC7\u1E08\u0187\u023B\uA73E"
52748      }, {
52749        base: "D",
52750        letters: "D\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779"
52751      }, {
52752        base: "DZ",
52753        letters: "\u01F1\u01C4"
52754      }, {
52755        base: "Dz",
52756        letters: "\u01F2\u01C5"
52757      }, {
52758        base: "E",
52759        letters: "E\u24BA\uFF25\xC8\xC9\xCA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\xCB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E"
52760      }, {
52761        base: "F",
52762        letters: "F\u24BB\uFF26\u1E1E\u0191\uA77B"
52763      }, {
52764        base: "G",
52765        letters: "G\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E"
52766      }, {
52767        base: "H",
52768        letters: "H\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D"
52769      }, {
52770        base: "I",
52771        letters: "I\u24BE\uFF29\xCC\xCD\xCE\u0128\u012A\u012C\u0130\xCF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197"
52772      }, {
52773        base: "J",
52774        letters: "J\u24BF\uFF2A\u0134\u0248"
52775      }, {
52776        base: "K",
52777        letters: "K\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2"
52778      }, {
52779        base: "L",
52780        letters: "L\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780"
52781      }, {
52782        base: "LJ",
52783        letters: "\u01C7"
52784      }, {
52785        base: "Lj",
52786        letters: "\u01C8"
52787      }, {
52788        base: "M",
52789        letters: "M\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C"
52790      }, {
52791        base: "N",
52792        letters: "N\u24C3\uFF2E\u01F8\u0143\xD1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4"
52793      }, {
52794        base: "NJ",
52795        letters: "\u01CA"
52796      }, {
52797        base: "Nj",
52798        letters: "\u01CB"
52799      }, {
52800        base: "O",
52801        letters: "O\u24C4\uFF2F\xD2\xD3\xD4\u1ED2\u1ED0\u1ED6\u1ED4\xD5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\xD6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\xD8\u01FE\u0186\u019F\uA74A\uA74C"
52802      }, {
52803        base: "OI",
52804        letters: "\u01A2"
52805      }, {
52806        base: "OO",
52807        letters: "\uA74E"
52808      }, {
52809        base: "OU",
52810        letters: "\u0222"
52811      }, {
52812        base: "P",
52813        letters: "P\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754"
52814      }, {
52815        base: "Q",
52816        letters: "Q\u24C6\uFF31\uA756\uA758\u024A"
52817      }, {
52818        base: "R",
52819        letters: "R\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782"
52820      }, {
52821        base: "S",
52822        letters: "S\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784"
52823      }, {
52824        base: "T",
52825        letters: "T\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786"
52826      }, {
52827        base: "TZ",
52828        letters: "\uA728"
52829      }, {
52830        base: "U",
52831        letters: "U\u24CA\uFF35\xD9\xDA\xDB\u0168\u1E78\u016A\u1E7A\u016C\xDC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244"
52832      }, {
52833        base: "V",
52834        letters: "V\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245"
52835      }, {
52836        base: "VY",
52837        letters: "\uA760"
52838      }, {
52839        base: "W",
52840        letters: "W\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72"
52841      }, {
52842        base: "X",
52843        letters: "X\u24CD\uFF38\u1E8A\u1E8C"
52844      }, {
52845        base: "Y",
52846        letters: "Y\u24CE\uFF39\u1EF2\xDD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE"
52847      }, {
52848        base: "Z",
52849        letters: "Z\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762"
52850      }, {
52851        base: "a",
52852        letters: "a\u24D0\uFF41\u1E9A\xE0\xE1\xE2\u1EA7\u1EA5\u1EAB\u1EA9\xE3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\xE4\u01DF\u1EA3\xE5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250"
52853      }, {
52854        base: "aa",
52855        letters: "\uA733"
52856      }, {
52857        base: "ae",
52858        letters: "\xE6\u01FD\u01E3"
52859      }, {
52860        base: "ao",
52861        letters: "\uA735"
52862      }, {
52863        base: "au",
52864        letters: "\uA737"
52865      }, {
52866        base: "av",
52867        letters: "\uA739\uA73B"
52868      }, {
52869        base: "ay",
52870        letters: "\uA73D"
52871      }, {
52872        base: "b",
52873        letters: "b\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253"
52874      }, {
52875        base: "c",
52876        letters: "c\u24D2\uFF43\u0107\u0109\u010B\u010D\xE7\u1E09\u0188\u023C\uA73F\u2184"
52877      }, {
52878        base: "d",
52879        letters: "d\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A"
52880      }, {
52881        base: "dz",
52882        letters: "\u01F3\u01C6"
52883      }, {
52884        base: "e",
52885        letters: "e\u24D4\uFF45\xE8\xE9\xEA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\xEB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD"
52886      }, {
52887        base: "f",
52888        letters: "f\u24D5\uFF46\u1E1F\u0192\uA77C"
52889      }, {
52890        base: "g",
52891        letters: "g\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F"
52892      }, {
52893        base: "h",
52894        letters: "h\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265"
52895      }, {
52896        base: "hv",
52897        letters: "\u0195"
52898      }, {
52899        base: "i",
52900        letters: "i\u24D8\uFF49\xEC\xED\xEE\u0129\u012B\u012D\xEF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131"
52901      }, {
52902        base: "j",
52903        letters: "j\u24D9\uFF4A\u0135\u01F0\u0249"
52904      }, {
52905        base: "k",
52906        letters: "k\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3"
52907      }, {
52908        base: "l",
52909        letters: "l\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747"
52910      }, {
52911        base: "lj",
52912        letters: "\u01C9"
52913      }, {
52914        base: "m",
52915        letters: "m\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F"
52916      }, {
52917        base: "n",
52918        letters: "n\u24DD\uFF4E\u01F9\u0144\xF1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5"
52919      }, {
52920        base: "nj",
52921        letters: "\u01CC"
52922      }, {
52923        base: "o",
52924        letters: "o\u24DE\uFF4F\xF2\xF3\xF4\u1ED3\u1ED1\u1ED7\u1ED5\xF5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\xF6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\xF8\u01FF\u0254\uA74B\uA74D\u0275"
52925      }, {
52926        base: "oi",
52927        letters: "\u01A3"
52928      }, {
52929        base: "ou",
52930        letters: "\u0223"
52931      }, {
52932        base: "oo",
52933        letters: "\uA74F"
52934      }, {
52935        base: "p",
52936        letters: "p\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755"
52937      }, {
52938        base: "q",
52939        letters: "q\u24E0\uFF51\u024B\uA757\uA759"
52940      }, {
52941        base: "r",
52942        letters: "r\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783"
52943      }, {
52944        base: "s",
52945        letters: "s\u24E2\uFF53\xDF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B"
52946      }, {
52947        base: "t",
52948        letters: "t\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787"
52949      }, {
52950        base: "tz",
52951        letters: "\uA729"
52952      }, {
52953        base: "u",
52954        letters: "u\u24E4\uFF55\xF9\xFA\xFB\u0169\u1E79\u016B\u1E7B\u016D\xFC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289"
52955      }, {
52956        base: "v",
52957        letters: "v\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C"
52958      }, {
52959        base: "vy",
52960        letters: "\uA761"
52961      }, {
52962        base: "w",
52963        letters: "w\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73"
52964      }, {
52965        base: "x",
52966        letters: "x\u24E7\uFF58\u1E8B\u1E8D"
52967      }, {
52968        base: "y",
52969        letters: "y\u24E8\uFF59\u1EF3\xFD\u0177\u1EF9\u0233\u1E8F\xFF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF"
52970      }, {
52971        base: "z",
52972        letters: "z\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763"
52973      }];
52974      anyDiacritic = new RegExp("[" + diacritics.map(function(d) {
52975        return d.letters;
52976      }).join("") + "]", "g");
52977      diacriticToBase = {};
52978      for (i = 0; i < diacritics.length; i++) {
52979        diacritic = diacritics[i];
52980        for (j = 0; j < diacritic.letters.length; j++) {
52981          diacriticToBase[diacritic.letters[j]] = diacritic.base;
52982        }
52983      }
52984      stripDiacritics = function stripDiacritics2(str) {
52985        return str.replace(anyDiacritic, function(match2) {
52986          return diacriticToBase[match2];
52987        });
52988      };
52989      memoizedStripDiacriticsForInput = memoizeOne(stripDiacritics);
52990      trimString = function trimString2(str) {
52991        return str.replace(/^\s+|\s+$/g, "");
52992      };
52993      defaultStringify = function defaultStringify2(option) {
52994        return "".concat(option.label, " ").concat(option.value);
52995      };
52996      createFilter = function createFilter2(config2) {
52997        return function(option, rawInput) {
52998          if (option.data.__isNew__) return true;
52999          var _ignoreCase$ignoreAcc = _objectSpread23({
53000            ignoreCase: true,
53001            ignoreAccents: true,
53002            stringify: defaultStringify,
53003            trim: true,
53004            matchFrom: "any"
53005          }, config2), ignoreCase = _ignoreCase$ignoreAcc.ignoreCase, ignoreAccents = _ignoreCase$ignoreAcc.ignoreAccents, stringify2 = _ignoreCase$ignoreAcc.stringify, trim3 = _ignoreCase$ignoreAcc.trim, matchFrom = _ignoreCase$ignoreAcc.matchFrom;
53006          var input = trim3 ? trimString(rawInput) : rawInput;
53007          var candidate = trim3 ? trimString(stringify2(option)) : stringify2(option);
53008          if (ignoreCase) {
53009            input = input.toLowerCase();
53010            candidate = candidate.toLowerCase();
53011          }
53012          if (ignoreAccents) {
53013            input = memoizedStripDiacriticsForInput(input);
53014            candidate = stripDiacritics(candidate);
53015          }
53016          return matchFrom === "start" ? candidate.substr(0, input.length) === input : candidate.indexOf(input) > -1;
53017        };
53018      };
53019      _excluded4 = ["innerRef"];
53020      cancelScroll = function cancelScroll2(event) {
53021        if (event.cancelable) event.preventDefault();
53022        event.stopPropagation();
53023      };
53024      STYLE_KEYS = ["boxSizing", "height", "overflow", "paddingRight", "position"];
53025      LOCK_STYLES = {
53026        boxSizing: "border-box",
53027        // account for possible declaration `width: 100%;` on body
53028        overflow: "hidden",
53029        position: "relative",
53030        height: "100%"
53031      };
53032      canUseDOM = !!(typeof window !== "undefined" && window.document && window.document.createElement);
53033      activeScrollLocks = 0;
53034      listenerOptions = {
53035        capture: false,
53036        passive: false
53037      };
53038      blurSelectInput = function blurSelectInput2(event) {
53039        var element = event.target;
53040        return element.ownerDocument.activeElement && element.ownerDocument.activeElement.blur();
53041      };
53042      _ref2$1 = false ? {
53043        name: "1kfdb0e",
53044        styles: "position:fixed;left:0;bottom:0;right:0;top:0"
53045      } : {
53046        name: "bp8cua-ScrollManager",
53047        styles: "position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",
53048        map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",
53049        toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1
53050      };
53051      _ref22 = false ? {
53052        name: "1a0ro4n-requiredInput",
53053        styles: "label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"
53054      } : {
53055        name: "5kkxb2-requiredInput-RequiredInput",
53056        styles: "label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",
53057        map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",
53058        toString: _EMOTION_STRINGIFIED_CSS_ERROR__2
53059      };
53060      RequiredInput = function RequiredInput2(_ref3) {
53061        var name2 = _ref3.name, onFocus2 = _ref3.onFocus;
53062        return jsx("input", {
53063          required: true,
53064          name: name2,
53065          tabIndex: -1,
53066          "aria-hidden": "true",
53067          onFocus: onFocus2,
53068          css: _ref22,
53069          value: "",
53070          onChange: function onChange3() {
53071          }
53072        });
53073      };
53074      RequiredInput$1 = RequiredInput;
53075      formatGroupLabel = function formatGroupLabel2(group) {
53076        return group.label;
53077      };
53078      getOptionLabel$1 = function getOptionLabel(option) {
53079        return option.label;
53080      };
53081      getOptionValue$1 = function getOptionValue(option) {
53082        return option.value;
53083      };
53084      isOptionDisabled = function isOptionDisabled2(option) {
53085        return !!option.isDisabled;
53086      };
53087      defaultStyles = {
53088        clearIndicator: clearIndicatorCSS,
53089        container: containerCSS,
53090        control: css$1,
53091        dropdownIndicator: dropdownIndicatorCSS,
53092        group: groupCSS,
53093        groupHeading: groupHeadingCSS,
53094        indicatorsContainer: indicatorsContainerCSS,
53095        indicatorSeparator: indicatorSeparatorCSS,
53096        input: inputCSS,
53097        loadingIndicator: loadingIndicatorCSS,
53098        loadingMessage: loadingMessageCSS,
53099        menu: menuCSS,
53100        menuList: menuListCSS,
53101        menuPortal: menuPortalCSS,
53102        multiValue: multiValueCSS,
53103        multiValueLabel: multiValueLabelCSS,
53104        multiValueRemove: multiValueRemoveCSS,
53105        noOptionsMessage: noOptionsMessageCSS,
53106        option: optionCSS,
53107        placeholder: placeholderCSS,
53108        singleValue: css4,
53109        valueContainer: valueContainerCSS
53110      };
53111      colors = {
53112        primary: "#2684FF",
53113        primary75: "#4C9AFF",
53114        primary50: "#B2D4FF",
53115        primary25: "#DEEBFF",
53116        danger: "#DE350B",
53117        dangerLight: "#FFBDAD",
53118        neutral0: "hsl(0, 0%, 100%)",
53119        neutral5: "hsl(0, 0%, 95%)",
53120        neutral10: "hsl(0, 0%, 90%)",
53121        neutral20: "hsl(0, 0%, 80%)",
53122        neutral30: "hsl(0, 0%, 70%)",
53123        neutral40: "hsl(0, 0%, 60%)",
53124        neutral50: "hsl(0, 0%, 50%)",
53125        neutral60: "hsl(0, 0%, 40%)",
53126        neutral70: "hsl(0, 0%, 30%)",
53127        neutral80: "hsl(0, 0%, 20%)",
53128        neutral90: "hsl(0, 0%, 10%)"
53129      };
53130      borderRadius = 4;
53131      baseUnit = 4;
53132      controlHeight = 38;
53133      menuGutter = baseUnit * 2;
53134      spacing = {
53135        baseUnit,
53136        controlHeight,
53137        menuGutter
53138      };
53139      defaultTheme = {
53140        borderRadius,
53141        colors,
53142        spacing
53143      };
53144      defaultProps = {
53145        "aria-live": "polite",
53146        backspaceRemovesValue: true,
53147        blurInputOnSelect: isTouchCapable(),
53148        captureMenuScroll: !isTouchCapable(),
53149        classNames: {},
53150        closeMenuOnSelect: true,
53151        closeMenuOnScroll: false,
53152        components: {},
53153        controlShouldRenderValue: true,
53154        escapeClearsValue: false,
53155        filterOption: createFilter(),
53156        formatGroupLabel,
53157        getOptionLabel: getOptionLabel$1,
53158        getOptionValue: getOptionValue$1,
53159        isDisabled: false,
53160        isLoading: false,
53161        isMulti: false,
53162        isRtl: false,
53163        isSearchable: true,
53164        isOptionDisabled,
53165        loadingMessage: function loadingMessage() {
53166          return "Loading...";
53167        },
53168        maxMenuHeight: 300,
53169        minMenuHeight: 140,
53170        menuIsOpen: false,
53171        menuPlacement: "bottom",
53172        menuPosition: "absolute",
53173        menuShouldBlockScroll: false,
53174        menuShouldScrollIntoView: !isMobileDevice(),
53175        noOptionsMessage: function noOptionsMessage() {
53176          return "No options";
53177        },
53178        openMenuOnFocus: false,
53179        openMenuOnClick: true,
53180        options: [],
53181        pageSize: 5,
53182        placeholder: "Select...",
53183        screenReaderStatus: function screenReaderStatus(_ref3) {
53184          var count = _ref3.count;
53185          return "".concat(count, " result").concat(count !== 1 ? "s" : "", " available");
53186        },
53187        styles: {},
53188        tabIndex: 0,
53189        tabSelectsValue: true,
53190        unstyled: false
53191      };
53192      getFocusedOptionId = function getFocusedOptionId2(focusableOptionsWithIds, focusedOption) {
53193        var _focusableOptionsWith;
53194        var focusedOptionId = (_focusableOptionsWith = focusableOptionsWithIds.find(function(option) {
53195          return option.data === focusedOption;
53196        })) === null || _focusableOptionsWith === void 0 ? void 0 : _focusableOptionsWith.id;
53197        return focusedOptionId || null;
53198      };
53199      getOptionLabel2 = function getOptionLabel3(props, data) {
53200        return props.getOptionLabel(data);
53201      };
53202      getOptionValue2 = function getOptionValue3(props, data) {
53203        return props.getOptionValue(data);
53204      };
53205      shouldHideSelectedOptions = function shouldHideSelectedOptions2(props) {
53206        var hideSelectedOptions = props.hideSelectedOptions, isMulti = props.isMulti;
53207        if (hideSelectedOptions === void 0) return isMulti;
53208        return hideSelectedOptions;
53209      };
53210      instanceId = 1;
53211      Select = /* @__PURE__ */ (function(_Component) {
53212        _inherits(Select2, _Component);
53213        var _super = _createSuper(Select2);
53214        function Select2(_props) {
53215          var _this;
53216          _classCallCheck(this, Select2);
53217          _this = _super.call(this, _props);
53218          _this.state = {
53219            ariaSelection: null,
53220            focusedOption: null,
53221            focusedOptionId: null,
53222            focusableOptionsWithIds: [],
53223            focusedValue: null,
53224            inputIsHidden: false,
53225            isFocused: false,
53226            selectValue: [],
53227            clearFocusValueOnUpdate: false,
53228            prevWasFocused: false,
53229            inputIsHiddenAfterUpdate: void 0,
53230            prevProps: void 0,
53231            instancePrefix: "",
53232            isAppleDevice: false
53233          };
53234          _this.blockOptionHover = false;
53235          _this.isComposing = false;
53236          _this.commonProps = void 0;
53237          _this.initialTouchX = 0;
53238          _this.initialTouchY = 0;
53239          _this.openAfterFocus = false;
53240          _this.scrollToFocusedOptionOnUpdate = false;
53241          _this.userIsDragging = void 0;
53242          _this.controlRef = null;
53243          _this.getControlRef = function(ref) {
53244            _this.controlRef = ref;
53245          };
53246          _this.focusedOptionRef = null;
53247          _this.getFocusedOptionRef = function(ref) {
53248            _this.focusedOptionRef = ref;
53249          };
53250          _this.menuListRef = null;
53251          _this.getMenuListRef = function(ref) {
53252            _this.menuListRef = ref;
53253          };
53254          _this.inputRef = null;
53255          _this.getInputRef = function(ref) {
53256            _this.inputRef = ref;
53257          };
53258          _this.focus = _this.focusInput;
53259          _this.blur = _this.blurInput;
53260          _this.onChange = function(newValue, actionMeta) {
53261            var _this$props = _this.props, onChange3 = _this$props.onChange, name2 = _this$props.name;
53262            actionMeta.name = name2;
53263            _this.ariaOnChange(newValue, actionMeta);
53264            onChange3(newValue, actionMeta);
53265          };
53266          _this.setValue = function(newValue, action, option) {
53267            var _this$props2 = _this.props, closeMenuOnSelect = _this$props2.closeMenuOnSelect, isMulti = _this$props2.isMulti, inputValue = _this$props2.inputValue;
53268            _this.onInputChange("", {
53269              action: "set-value",
53270              prevInputValue: inputValue
53271            });
53272            if (closeMenuOnSelect) {
53273              _this.setState({
53274                inputIsHiddenAfterUpdate: !isMulti
53275              });
53276              _this.onMenuClose();
53277            }
53278            _this.setState({
53279              clearFocusValueOnUpdate: true
53280            });
53281            _this.onChange(newValue, {
53282              action,
53283              option
53284            });
53285          };
53286          _this.selectOption = function(newValue) {
53287            var _this$props3 = _this.props, blurInputOnSelect = _this$props3.blurInputOnSelect, isMulti = _this$props3.isMulti, name2 = _this$props3.name;
53288            var selectValue = _this.state.selectValue;
53289            var deselected = isMulti && _this.isOptionSelected(newValue, selectValue);
53290            var isDisabled = _this.isOptionDisabled(newValue, selectValue);
53291            if (deselected) {
53292              var candidate = _this.getOptionValue(newValue);
53293              _this.setValue(multiValueAsValue(selectValue.filter(function(i2) {
53294                return _this.getOptionValue(i2) !== candidate;
53295              })), "deselect-option", newValue);
53296            } else if (!isDisabled) {
53297              if (isMulti) {
53298                _this.setValue(multiValueAsValue([].concat(_toConsumableArray2(selectValue), [newValue])), "select-option", newValue);
53299              } else {
53300                _this.setValue(singleValueAsValue(newValue), "select-option");
53301              }
53302            } else {
53303              _this.ariaOnChange(singleValueAsValue(newValue), {
53304                action: "select-option",
53305                option: newValue,
53306                name: name2
53307              });
53308              return;
53309            }
53310            if (blurInputOnSelect) {
53311              _this.blurInput();
53312            }
53313          };
53314          _this.removeValue = function(removedValue) {
53315            var isMulti = _this.props.isMulti;
53316            var selectValue = _this.state.selectValue;
53317            var candidate = _this.getOptionValue(removedValue);
53318            var newValueArray = selectValue.filter(function(i2) {
53319              return _this.getOptionValue(i2) !== candidate;
53320            });
53321            var newValue = valueTernary(isMulti, newValueArray, newValueArray[0] || null);
53322            _this.onChange(newValue, {
53323              action: "remove-value",
53324              removedValue
53325            });
53326            _this.focusInput();
53327          };
53328          _this.clearValue = function() {
53329            var selectValue = _this.state.selectValue;
53330            _this.onChange(valueTernary(_this.props.isMulti, [], null), {
53331              action: "clear",
53332              removedValues: selectValue
53333            });
53334          };
53335          _this.popValue = function() {
53336            var isMulti = _this.props.isMulti;
53337            var selectValue = _this.state.selectValue;
53338            var lastSelectedValue = selectValue[selectValue.length - 1];
53339            var newValueArray = selectValue.slice(0, selectValue.length - 1);
53340            var newValue = valueTernary(isMulti, newValueArray, newValueArray[0] || null);
53341            if (lastSelectedValue) {
53342              _this.onChange(newValue, {
53343                action: "pop-value",
53344                removedValue: lastSelectedValue
53345              });
53346            }
53347          };
53348          _this.getFocusedOptionId = function(focusedOption) {
53349            return getFocusedOptionId(_this.state.focusableOptionsWithIds, focusedOption);
53350          };
53351          _this.getFocusableOptionsWithIds = function() {
53352            return buildFocusableOptionsWithIds(buildCategorizedOptions(_this.props, _this.state.selectValue), _this.getElementId("option"));
53353          };
53354          _this.getValue = function() {
53355            return _this.state.selectValue;
53356          };
53357          _this.cx = function() {
53358            for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
53359              args[_key] = arguments[_key];
53360            }
53361            return classNames.apply(void 0, [_this.props.classNamePrefix].concat(args));
53362          };
53363          _this.getOptionLabel = function(data) {
53364            return getOptionLabel2(_this.props, data);
53365          };
53366          _this.getOptionValue = function(data) {
53367            return getOptionValue2(_this.props, data);
53368          };
53369          _this.getStyles = function(key, props) {
53370            var unstyled = _this.props.unstyled;
53371            var base = defaultStyles[key](props, unstyled);
53372            base.boxSizing = "border-box";
53373            var custom = _this.props.styles[key];
53374            return custom ? custom(base, props) : base;
53375          };
53376          _this.getClassNames = function(key, props) {
53377            var _this$props$className, _this$props$className2;
53378            return (_this$props$className = (_this$props$className2 = _this.props.classNames)[key]) === null || _this$props$className === void 0 ? void 0 : _this$props$className.call(_this$props$className2, props);
53379          };
53380          _this.getElementId = function(element) {
53381            return "".concat(_this.state.instancePrefix, "-").concat(element);
53382          };
53383          _this.getComponents = function() {
53384            return defaultComponents(_this.props);
53385          };
53386          _this.buildCategorizedOptions = function() {
53387            return buildCategorizedOptions(_this.props, _this.state.selectValue);
53388          };
53389          _this.getCategorizedOptions = function() {
53390            return _this.props.menuIsOpen ? _this.buildCategorizedOptions() : [];
53391          };
53392          _this.buildFocusableOptions = function() {
53393            return buildFocusableOptionsFromCategorizedOptions(_this.buildCategorizedOptions());
53394          };
53395          _this.getFocusableOptions = function() {
53396            return _this.props.menuIsOpen ? _this.buildFocusableOptions() : [];
53397          };
53398          _this.ariaOnChange = function(value, actionMeta) {
53399            _this.setState({
53400              ariaSelection: _objectSpread23({
53401                value
53402              }, actionMeta)
53403            });
53404          };
53405          _this.onMenuMouseDown = function(event) {
53406            if (event.button !== 0) {
53407              return;
53408            }
53409            event.stopPropagation();
53410            event.preventDefault();
53411            _this.focusInput();
53412          };
53413          _this.onMenuMouseMove = function(event) {
53414            _this.blockOptionHover = false;
53415          };
53416          _this.onControlMouseDown = function(event) {
53417            if (event.defaultPrevented) {
53418              return;
53419            }
53420            var openMenuOnClick = _this.props.openMenuOnClick;
53421            if (!_this.state.isFocused) {
53422              if (openMenuOnClick) {
53423                _this.openAfterFocus = true;
53424              }
53425              _this.focusInput();
53426            } else if (!_this.props.menuIsOpen) {
53427              if (openMenuOnClick) {
53428                _this.openMenu("first");
53429              }
53430            } else {
53431              if (event.target.tagName !== "INPUT" && event.target.tagName !== "TEXTAREA") {
53432                _this.onMenuClose();
53433              }
53434            }
53435            if (event.target.tagName !== "INPUT" && event.target.tagName !== "TEXTAREA") {
53436              event.preventDefault();
53437            }
53438          };
53439          _this.onDropdownIndicatorMouseDown = function(event) {
53440            if (event && event.type === "mousedown" && event.button !== 0) {
53441              return;
53442            }
53443            if (_this.props.isDisabled) return;
53444            var _this$props4 = _this.props, isMulti = _this$props4.isMulti, menuIsOpen = _this$props4.menuIsOpen;
53445            _this.focusInput();
53446            if (menuIsOpen) {
53447              _this.setState({
53448                inputIsHiddenAfterUpdate: !isMulti
53449              });
53450              _this.onMenuClose();
53451            } else {
53452              _this.openMenu("first");
53453            }
53454            event.preventDefault();
53455          };
53456          _this.onClearIndicatorMouseDown = function(event) {
53457            if (event && event.type === "mousedown" && event.button !== 0) {
53458              return;
53459            }
53460            _this.clearValue();
53461            event.preventDefault();
53462            _this.openAfterFocus = false;
53463            if (event.type === "touchend") {
53464              _this.focusInput();
53465            } else {
53466              setTimeout(function() {
53467                return _this.focusInput();
53468              });
53469            }
53470          };
53471          _this.onScroll = function(event) {
53472            if (typeof _this.props.closeMenuOnScroll === "boolean") {
53473              if (event.target instanceof HTMLElement && isDocumentElement(event.target)) {
53474                _this.props.onMenuClose();
53475              }
53476            } else if (typeof _this.props.closeMenuOnScroll === "function") {
53477              if (_this.props.closeMenuOnScroll(event)) {
53478                _this.props.onMenuClose();
53479              }
53480            }
53481          };
53482          _this.onCompositionStart = function() {
53483            _this.isComposing = true;
53484          };
53485          _this.onCompositionEnd = function() {
53486            _this.isComposing = false;
53487          };
53488          _this.onTouchStart = function(_ref23) {
53489            var touches = _ref23.touches;
53490            var touch = touches && touches.item(0);
53491            if (!touch) {
53492              return;
53493            }
53494            _this.initialTouchX = touch.clientX;
53495            _this.initialTouchY = touch.clientY;
53496            _this.userIsDragging = false;
53497          };
53498          _this.onTouchMove = function(_ref3) {
53499            var touches = _ref3.touches;
53500            var touch = touches && touches.item(0);
53501            if (!touch) {
53502              return;
53503            }
53504            var deltaX = Math.abs(touch.clientX - _this.initialTouchX);
53505            var deltaY = Math.abs(touch.clientY - _this.initialTouchY);
53506            var moveThreshold = 5;
53507            _this.userIsDragging = deltaX > moveThreshold || deltaY > moveThreshold;
53508          };
53509          _this.onTouchEnd = function(event) {
53510            if (_this.userIsDragging) return;
53511            if (_this.controlRef && !_this.controlRef.contains(event.target) && _this.menuListRef && !_this.menuListRef.contains(event.target)) {
53512              _this.blurInput();
53513            }
53514            _this.initialTouchX = 0;
53515            _this.initialTouchY = 0;
53516          };
53517          _this.onControlTouchEnd = function(event) {
53518            if (_this.userIsDragging) return;
53519            _this.onControlMouseDown(event);
53520          };
53521          _this.onClearIndicatorTouchEnd = function(event) {
53522            if (_this.userIsDragging) return;
53523            _this.onClearIndicatorMouseDown(event);
53524          };
53525          _this.onDropdownIndicatorTouchEnd = function(event) {
53526            if (_this.userIsDragging) return;
53527            _this.onDropdownIndicatorMouseDown(event);
53528          };
53529          _this.handleInputChange = function(event) {
53530            var prevInputValue = _this.props.inputValue;
53531            var inputValue = event.currentTarget.value;
53532            _this.setState({
53533              inputIsHiddenAfterUpdate: false
53534            });
53535            _this.onInputChange(inputValue, {
53536              action: "input-change",
53537              prevInputValue
53538            });
53539            if (!_this.props.menuIsOpen) {
53540              _this.onMenuOpen();
53541            }
53542          };
53543          _this.onInputFocus = function(event) {
53544            if (_this.props.onFocus) {
53545              _this.props.onFocus(event);
53546            }
53547            _this.setState({
53548              inputIsHiddenAfterUpdate: false,
53549              isFocused: true
53550            });
53551            if (_this.openAfterFocus || _this.props.openMenuOnFocus) {
53552              _this.openMenu("first");
53553            }
53554            _this.openAfterFocus = false;
53555          };
53556          _this.onInputBlur = function(event) {
53557            var prevInputValue = _this.props.inputValue;
53558            if (_this.menuListRef && _this.menuListRef.contains(document.activeElement)) {
53559              _this.inputRef.focus();
53560              return;
53561            }
53562            if (_this.props.onBlur) {
53563              _this.props.onBlur(event);
53564            }
53565            _this.onInputChange("", {
53566              action: "input-blur",
53567              prevInputValue
53568            });
53569            _this.onMenuClose();
53570            _this.setState({
53571              focusedValue: null,
53572              isFocused: false
53573            });
53574          };
53575          _this.onOptionHover = function(focusedOption) {
53576            if (_this.blockOptionHover || _this.state.focusedOption === focusedOption) {
53577              return;
53578            }
53579            var options2 = _this.getFocusableOptions();
53580            var focusedOptionIndex = options2.indexOf(focusedOption);
53581            _this.setState({
53582              focusedOption,
53583              focusedOptionId: focusedOptionIndex > -1 ? _this.getFocusedOptionId(focusedOption) : null
53584            });
53585          };
53586          _this.shouldHideSelectedOptions = function() {
53587            return shouldHideSelectedOptions(_this.props);
53588          };
53589          _this.onValueInputFocus = function(e) {
53590            e.preventDefault();
53591            e.stopPropagation();
53592            _this.focus();
53593          };
53594          _this.onKeyDown = function(event) {
53595            var _this$props5 = _this.props, isMulti = _this$props5.isMulti, backspaceRemovesValue = _this$props5.backspaceRemovesValue, escapeClearsValue = _this$props5.escapeClearsValue, inputValue = _this$props5.inputValue, isClearable = _this$props5.isClearable, isDisabled = _this$props5.isDisabled, menuIsOpen = _this$props5.menuIsOpen, onKeyDown = _this$props5.onKeyDown, tabSelectsValue = _this$props5.tabSelectsValue, openMenuOnFocus = _this$props5.openMenuOnFocus;
53596            var _this$state = _this.state, focusedOption = _this$state.focusedOption, focusedValue = _this$state.focusedValue, selectValue = _this$state.selectValue;
53597            if (isDisabled) return;
53598            if (typeof onKeyDown === "function") {
53599              onKeyDown(event);
53600              if (event.defaultPrevented) {
53601                return;
53602              }
53603            }
53604            _this.blockOptionHover = true;
53605            switch (event.key) {
53606              case "ArrowLeft":
53607                if (!isMulti || inputValue) return;
53608                _this.focusValue("previous");
53609                break;
53610              case "ArrowRight":
53611                if (!isMulti || inputValue) return;
53612                _this.focusValue("next");
53613                break;
53614              case "Delete":
53615              case "Backspace":
53616                if (inputValue) return;
53617                if (focusedValue) {
53618                  _this.removeValue(focusedValue);
53619                } else {
53620                  if (!backspaceRemovesValue) return;
53621                  if (isMulti) {
53622                    _this.popValue();
53623                  } else if (isClearable) {
53624                    _this.clearValue();
53625                  }
53626                }
53627                break;
53628              case "Tab":
53629                if (_this.isComposing) return;
53630                if (event.shiftKey || !menuIsOpen || !tabSelectsValue || !focusedOption || // don't capture the event if the menu opens on focus and the focused
53631                // option is already selected; it breaks the flow of navigation
53632                openMenuOnFocus && _this.isOptionSelected(focusedOption, selectValue)) {
53633                  return;
53634                }
53635                _this.selectOption(focusedOption);
53636                break;
53637              case "Enter":
53638                if (event.keyCode === 229) {
53639                  break;
53640                }
53641                if (menuIsOpen) {
53642                  if (!focusedOption) return;
53643                  if (_this.isComposing) return;
53644                  _this.selectOption(focusedOption);
53645                  break;
53646                }
53647                return;
53648              case "Escape":
53649                if (menuIsOpen) {
53650                  _this.setState({
53651                    inputIsHiddenAfterUpdate: false
53652                  });
53653                  _this.onInputChange("", {
53654                    action: "menu-close",
53655                    prevInputValue: inputValue
53656                  });
53657                  _this.onMenuClose();
53658                } else if (isClearable && escapeClearsValue) {
53659                  _this.clearValue();
53660                }
53661                break;
53662              case " ":
53663                if (inputValue) {
53664                  return;
53665                }
53666                if (!menuIsOpen) {
53667                  _this.openMenu("first");
53668                  break;
53669                }
53670                if (!focusedOption) return;
53671                _this.selectOption(focusedOption);
53672                break;
53673              case "ArrowUp":
53674                if (menuIsOpen) {
53675                  _this.focusOption("up");
53676                } else {
53677                  _this.openMenu("last");
53678                }
53679                break;
53680              case "ArrowDown":
53681                if (menuIsOpen) {
53682                  _this.focusOption("down");
53683                } else {
53684                  _this.openMenu("first");
53685                }
53686                break;
53687              case "PageUp":
53688                if (!menuIsOpen) return;
53689                _this.focusOption("pageup");
53690                break;
53691              case "PageDown":
53692                if (!menuIsOpen) return;
53693                _this.focusOption("pagedown");
53694                break;
53695              case "Home":
53696                if (!menuIsOpen) return;
53697                _this.focusOption("first");
53698                break;
53699              case "End":
53700                if (!menuIsOpen) return;
53701                _this.focusOption("last");
53702                break;
53703              default:
53704                return;
53705            }
53706            event.preventDefault();
53707          };
53708          _this.state.instancePrefix = "react-select-" + (_this.props.instanceId || ++instanceId);
53709          _this.state.selectValue = cleanValue(_props.value);
53710          if (_props.menuIsOpen && _this.state.selectValue.length) {
53711            var focusableOptionsWithIds = _this.getFocusableOptionsWithIds();
53712            var focusableOptions = _this.buildFocusableOptions();
53713            var optionIndex = focusableOptions.indexOf(_this.state.selectValue[0]);
53714            _this.state.focusableOptionsWithIds = focusableOptionsWithIds;
53715            _this.state.focusedOption = focusableOptions[optionIndex];
53716            _this.state.focusedOptionId = getFocusedOptionId(focusableOptionsWithIds, focusableOptions[optionIndex]);
53717          }
53718          return _this;
53719        }
53720        _createClass(Select2, [{
53721          key: "componentDidMount",
53722          value: function componentDidMount() {
53723            this.startListeningComposition();
53724            this.startListeningToTouch();
53725            if (this.props.closeMenuOnScroll && document && document.addEventListener) {
53726              document.addEventListener("scroll", this.onScroll, true);
53727            }
53728            if (this.props.autoFocus) {
53729              this.focusInput();
53730            }
53731            if (this.props.menuIsOpen && this.state.focusedOption && this.menuListRef && this.focusedOptionRef) {
53732              scrollIntoView(this.menuListRef, this.focusedOptionRef);
53733            }
53734            if (isAppleDevice()) {
53735              this.setState({
53736                isAppleDevice: true
53737              });
53738            }
53739          }
53740        }, {
53741          key: "componentDidUpdate",
53742          value: function componentDidUpdate(prevProps) {
53743            var _this$props6 = this.props, isDisabled = _this$props6.isDisabled, menuIsOpen = _this$props6.menuIsOpen;
53744            var isFocused = this.state.isFocused;
53745            if (
53746              // ensure focus is restored correctly when the control becomes enabled
53747              isFocused && !isDisabled && prevProps.isDisabled || // ensure focus is on the Input when the menu opens
53748              isFocused && menuIsOpen && !prevProps.menuIsOpen
53749            ) {
53750              this.focusInput();
53751            }
53752            if (isFocused && isDisabled && !prevProps.isDisabled) {
53753              this.setState({
53754                isFocused: false
53755              }, this.onMenuClose);
53756            } else if (!isFocused && !isDisabled && prevProps.isDisabled && this.inputRef === document.activeElement) {
53757              this.setState({
53758                isFocused: true
53759              });
53760            }
53761            if (this.menuListRef && this.focusedOptionRef && this.scrollToFocusedOptionOnUpdate) {
53762              scrollIntoView(this.menuListRef, this.focusedOptionRef);
53763              this.scrollToFocusedOptionOnUpdate = false;
53764            }
53765          }
53766        }, {
53767          key: "componentWillUnmount",
53768          value: function componentWillUnmount() {
53769            this.stopListeningComposition();
53770            this.stopListeningToTouch();
53771            document.removeEventListener("scroll", this.onScroll, true);
53772          }
53773          // ==============================
53774          // Consumer Handlers
53775          // ==============================
53776        }, {
53777          key: "onMenuOpen",
53778          value: function onMenuOpen() {
53779            this.props.onMenuOpen();
53780          }
53781        }, {
53782          key: "onMenuClose",
53783          value: function onMenuClose() {
53784            this.onInputChange("", {
53785              action: "menu-close",
53786              prevInputValue: this.props.inputValue
53787            });
53788            this.props.onMenuClose();
53789          }
53790        }, {
53791          key: "onInputChange",
53792          value: function onInputChange(newValue, actionMeta) {
53793            this.props.onInputChange(newValue, actionMeta);
53794          }
53795          // ==============================
53796          // Methods
53797          // ==============================
53798        }, {
53799          key: "focusInput",
53800          value: function focusInput() {
53801            if (!this.inputRef) return;
53802            this.inputRef.focus();
53803          }
53804        }, {
53805          key: "blurInput",
53806          value: function blurInput() {
53807            if (!this.inputRef) return;
53808            this.inputRef.blur();
53809          }
53810          // aliased for consumers
53811        }, {
53812          key: "openMenu",
53813          value: function openMenu(focusOption) {
53814            var _this2 = this;
53815            var _this$state2 = this.state, selectValue = _this$state2.selectValue, isFocused = _this$state2.isFocused;
53816            var focusableOptions = this.buildFocusableOptions();
53817            var openAtIndex = focusOption === "first" ? 0 : focusableOptions.length - 1;
53818            if (!this.props.isMulti) {
53819              var selectedIndex = focusableOptions.indexOf(selectValue[0]);
53820              if (selectedIndex > -1) {
53821                openAtIndex = selectedIndex;
53822              }
53823            }
53824            this.scrollToFocusedOptionOnUpdate = !(isFocused && this.menuListRef);
53825            this.setState({
53826              inputIsHiddenAfterUpdate: false,
53827              focusedValue: null,
53828              focusedOption: focusableOptions[openAtIndex],
53829              focusedOptionId: this.getFocusedOptionId(focusableOptions[openAtIndex])
53830            }, function() {
53831              return _this2.onMenuOpen();
53832            });
53833          }
53834        }, {
53835          key: "focusValue",
53836          value: function focusValue(direction) {
53837            var _this$state3 = this.state, selectValue = _this$state3.selectValue, focusedValue = _this$state3.focusedValue;
53838            if (!this.props.isMulti) return;
53839            this.setState({
53840              focusedOption: null
53841            });
53842            var focusedIndex = selectValue.indexOf(focusedValue);
53843            if (!focusedValue) {
53844              focusedIndex = -1;
53845            }
53846            var lastIndex = selectValue.length - 1;
53847            var nextFocus = -1;
53848            if (!selectValue.length) return;
53849            switch (direction) {
53850              case "previous":
53851                if (focusedIndex === 0) {
53852                  nextFocus = 0;
53853                } else if (focusedIndex === -1) {
53854                  nextFocus = lastIndex;
53855                } else {
53856                  nextFocus = focusedIndex - 1;
53857                }
53858                break;
53859              case "next":
53860                if (focusedIndex > -1 && focusedIndex < lastIndex) {
53861                  nextFocus = focusedIndex + 1;
53862                }
53863                break;
53864            }
53865            this.setState({
53866              inputIsHidden: nextFocus !== -1,
53867              focusedValue: selectValue[nextFocus]
53868            });
53869          }
53870        }, {
53871          key: "focusOption",
53872          value: function focusOption() {
53873            var direction = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "first";
53874            var pageSize = this.props.pageSize;
53875            var focusedOption = this.state.focusedOption;
53876            var options2 = this.getFocusableOptions();
53877            if (!options2.length) return;
53878            var nextFocus = 0;
53879            var focusedIndex = options2.indexOf(focusedOption);
53880            if (!focusedOption) {
53881              focusedIndex = -1;
53882            }
53883            if (direction === "up") {
53884              nextFocus = focusedIndex > 0 ? focusedIndex - 1 : options2.length - 1;
53885            } else if (direction === "down") {
53886              nextFocus = (focusedIndex + 1) % options2.length;
53887            } else if (direction === "pageup") {
53888              nextFocus = focusedIndex - pageSize;
53889              if (nextFocus < 0) nextFocus = 0;
53890            } else if (direction === "pagedown") {
53891              nextFocus = focusedIndex + pageSize;
53892              if (nextFocus > options2.length - 1) nextFocus = options2.length - 1;
53893            } else if (direction === "last") {
53894              nextFocus = options2.length - 1;
53895            }
53896            this.scrollToFocusedOptionOnUpdate = true;
53897            this.setState({
53898              focusedOption: options2[nextFocus],
53899              focusedValue: null,
53900              focusedOptionId: this.getFocusedOptionId(options2[nextFocus])
53901            });
53902          }
53903        }, {
53904          key: "getTheme",
53905          value: (
53906            // ==============================
53907            // Getters
53908            // ==============================
53909            function getTheme() {
53910              if (!this.props.theme) {
53911                return defaultTheme;
53912              }
53913              if (typeof this.props.theme === "function") {
53914                return this.props.theme(defaultTheme);
53915              }
53916              return _objectSpread23(_objectSpread23({}, defaultTheme), this.props.theme);
53917            }
53918          )
53919        }, {
53920          key: "getCommonProps",
53921          value: function getCommonProps() {
53922            var clearValue = this.clearValue, cx = this.cx, getStyles = this.getStyles, getClassNames = this.getClassNames, getValue = this.getValue, selectOption = this.selectOption, setValue = this.setValue, props = this.props;
53923            var isMulti = props.isMulti, isRtl = props.isRtl, options2 = props.options;
53924            var hasValue = this.hasValue();
53925            return {
53926              clearValue,
53927              cx,
53928              getStyles,
53929              getClassNames,
53930              getValue,
53931              hasValue,
53932              isMulti,
53933              isRtl,
53934              options: options2,
53935              selectOption,
53936              selectProps: props,
53937              setValue,
53938              theme: this.getTheme()
53939            };
53940          }
53941        }, {
53942          key: "hasValue",
53943          value: function hasValue() {
53944            var selectValue = this.state.selectValue;
53945            return selectValue.length > 0;
53946          }
53947        }, {
53948          key: "hasOptions",
53949          value: function hasOptions() {
53950            return !!this.getFocusableOptions().length;
53951          }
53952        }, {
53953          key: "isClearable",
53954          value: function isClearable() {
53955            var _this$props7 = this.props, isClearable2 = _this$props7.isClearable, isMulti = _this$props7.isMulti;
53956            if (isClearable2 === void 0) return isMulti;
53957            return isClearable2;
53958          }
53959        }, {
53960          key: "isOptionDisabled",
53961          value: function isOptionDisabled3(option, selectValue) {
53962            return _isOptionDisabled(this.props, option, selectValue);
53963          }
53964        }, {
53965          key: "isOptionSelected",
53966          value: function isOptionSelected(option, selectValue) {
53967            return _isOptionSelected(this.props, option, selectValue);
53968          }
53969        }, {
53970          key: "filterOption",
53971          value: function filterOption(option, inputValue) {
53972            return _filterOption(this.props, option, inputValue);
53973          }
53974        }, {
53975          key: "formatOptionLabel",
53976          value: function formatOptionLabel(data, context) {
53977            if (typeof this.props.formatOptionLabel === "function") {
53978              var _inputValue = this.props.inputValue;
53979              var _selectValue = this.state.selectValue;
53980              return this.props.formatOptionLabel(data, {
53981                context,
53982                inputValue: _inputValue,
53983                selectValue: _selectValue
53984              });
53985            } else {
53986              return this.getOptionLabel(data);
53987            }
53988          }
53989        }, {
53990          key: "formatGroupLabel",
53991          value: function formatGroupLabel3(data) {
53992            return this.props.formatGroupLabel(data);
53993          }
53994          // ==============================
53995          // Mouse Handlers
53996          // ==============================
53997        }, {
53998          key: "startListeningComposition",
53999          value: (
54000            // ==============================
54001            // Composition Handlers
54002            // ==============================
54003            function startListeningComposition() {
54004              if (document && document.addEventListener) {
54005                document.addEventListener("compositionstart", this.onCompositionStart, false);
54006                document.addEventListener("compositionend", this.onCompositionEnd, false);
54007              }
54008            }
54009          )
54010        }, {
54011          key: "stopListeningComposition",
54012          value: function stopListeningComposition() {
54013            if (document && document.removeEventListener) {
54014              document.removeEventListener("compositionstart", this.onCompositionStart);
54015              document.removeEventListener("compositionend", this.onCompositionEnd);
54016            }
54017          }
54018        }, {
54019          key: "startListeningToTouch",
54020          value: (
54021            // ==============================
54022            // Touch Handlers
54023            // ==============================
54024            function startListeningToTouch() {
54025              if (document && document.addEventListener) {
54026                document.addEventListener("touchstart", this.onTouchStart, false);
54027                document.addEventListener("touchmove", this.onTouchMove, false);
54028                document.addEventListener("touchend", this.onTouchEnd, false);
54029              }
54030            }
54031          )
54032        }, {
54033          key: "stopListeningToTouch",
54034          value: function stopListeningToTouch() {
54035            if (document && document.removeEventListener) {
54036              document.removeEventListener("touchstart", this.onTouchStart);
54037              document.removeEventListener("touchmove", this.onTouchMove);
54038              document.removeEventListener("touchend", this.onTouchEnd);
54039            }
54040          }
54041        }, {
54042          key: "renderInput",
54043          value: (
54044            // ==============================
54045            // Renderers
54046            // ==============================
54047            function renderInput() {
54048              var _this$props8 = this.props, isDisabled = _this$props8.isDisabled, isSearchable = _this$props8.isSearchable, inputId = _this$props8.inputId, inputValue = _this$props8.inputValue, tabIndex = _this$props8.tabIndex, form = _this$props8.form, menuIsOpen = _this$props8.menuIsOpen, required = _this$props8.required;
54049              var _this$getComponents = this.getComponents(), Input3 = _this$getComponents.Input;
54050              var _this$state4 = this.state, inputIsHidden = _this$state4.inputIsHidden, ariaSelection = _this$state4.ariaSelection;
54051              var commonProps = this.commonProps;
54052              var id = inputId || this.getElementId("input");
54053              var ariaAttributes = _objectSpread23(_objectSpread23(_objectSpread23({
54054                "aria-autocomplete": "list",
54055                "aria-expanded": menuIsOpen,
54056                "aria-haspopup": true,
54057                "aria-errormessage": this.props["aria-errormessage"],
54058                "aria-invalid": this.props["aria-invalid"],
54059                "aria-label": this.props["aria-label"],
54060                "aria-labelledby": this.props["aria-labelledby"],
54061                "aria-required": required,
54062                role: "combobox",
54063                "aria-activedescendant": this.state.isAppleDevice ? void 0 : this.state.focusedOptionId || ""
54064              }, menuIsOpen && {
54065                "aria-controls": this.getElementId("listbox")
54066              }), !isSearchable && {
54067                "aria-readonly": true
54068              }), this.hasValue() ? (ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === "initial-input-focus" && {
54069                "aria-describedby": this.getElementId("live-region")
54070              } : {
54071                "aria-describedby": this.getElementId("placeholder")
54072              });
54073              if (!isSearchable) {
54074                return /* @__PURE__ */ React8.createElement(DummyInput, _extends({
54075                  id,
54076                  innerRef: this.getInputRef,
54077                  onBlur: this.onInputBlur,
54078                  onChange: noop3,
54079                  onFocus: this.onInputFocus,
54080                  disabled: isDisabled,
54081                  tabIndex,
54082                  inputMode: "none",
54083                  form,
54084                  value: ""
54085                }, ariaAttributes));
54086              }
54087              return /* @__PURE__ */ React8.createElement(Input3, _extends({}, commonProps, {
54088                autoCapitalize: "none",
54089                autoComplete: "off",
54090                autoCorrect: "off",
54091                id,
54092                innerRef: this.getInputRef,
54093                isDisabled,
54094                isHidden: inputIsHidden,
54095                onBlur: this.onInputBlur,
54096                onChange: this.handleInputChange,
54097                onFocus: this.onInputFocus,
54098                spellCheck: "false",
54099                tabIndex,
54100                form,
54101                type: "text",
54102                value: inputValue
54103              }, ariaAttributes));
54104            }
54105          )
54106        }, {
54107          key: "renderPlaceholderOrValue",
54108          value: function renderPlaceholderOrValue() {
54109            var _this3 = this;
54110            var _this$getComponents2 = this.getComponents(), MultiValue3 = _this$getComponents2.MultiValue, MultiValueContainer2 = _this$getComponents2.MultiValueContainer, MultiValueLabel2 = _this$getComponents2.MultiValueLabel, MultiValueRemove2 = _this$getComponents2.MultiValueRemove, SingleValue3 = _this$getComponents2.SingleValue, Placeholder3 = _this$getComponents2.Placeholder;
54111            var commonProps = this.commonProps;
54112            var _this$props9 = this.props, controlShouldRenderValue = _this$props9.controlShouldRenderValue, isDisabled = _this$props9.isDisabled, isMulti = _this$props9.isMulti, inputValue = _this$props9.inputValue, placeholder = _this$props9.placeholder;
54113            var _this$state5 = this.state, selectValue = _this$state5.selectValue, focusedValue = _this$state5.focusedValue, isFocused = _this$state5.isFocused;
54114            if (!this.hasValue() || !controlShouldRenderValue) {
54115              return inputValue ? null : /* @__PURE__ */ React8.createElement(Placeholder3, _extends({}, commonProps, {
54116                key: "placeholder",
54117                isDisabled,
54118                isFocused,
54119                innerProps: {
54120                  id: this.getElementId("placeholder")
54121                }
54122              }), placeholder);
54123            }
54124            if (isMulti) {
54125              return selectValue.map(function(opt, index2) {
54126                var isOptionFocused = opt === focusedValue;
54127                var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
54128                return /* @__PURE__ */ React8.createElement(MultiValue3, _extends({}, commonProps, {
54129                  components: {
54130                    Container: MultiValueContainer2,
54131                    Label: MultiValueLabel2,
54132                    Remove: MultiValueRemove2
54133                  },
54134                  isFocused: isOptionFocused,
54135                  isDisabled,
54136                  key,
54137                  index: index2,
54138                  removeProps: {
54139                    onClick: function onClick() {
54140                      return _this3.removeValue(opt);
54141                    },
54142                    onTouchEnd: function onTouchEnd() {
54143                      return _this3.removeValue(opt);
54144                    },
54145                    onMouseDown: function onMouseDown(e) {
54146                      e.preventDefault();
54147                    }
54148                  },
54149                  data: opt
54150                }), _this3.formatOptionLabel(opt, "value"));
54151              });
54152            }
54153            if (inputValue) {
54154              return null;
54155            }
54156            var singleValue = selectValue[0];
54157            return /* @__PURE__ */ React8.createElement(SingleValue3, _extends({}, commonProps, {
54158              data: singleValue,
54159              isDisabled
54160            }), this.formatOptionLabel(singleValue, "value"));
54161          }
54162        }, {
54163          key: "renderClearIndicator",
54164          value: function renderClearIndicator() {
54165            var _this$getComponents3 = this.getComponents(), ClearIndicator3 = _this$getComponents3.ClearIndicator;
54166            var commonProps = this.commonProps;
54167            var _this$props10 = this.props, isDisabled = _this$props10.isDisabled, isLoading = _this$props10.isLoading;
54168            var isFocused = this.state.isFocused;
54169            if (!this.isClearable() || !ClearIndicator3 || isDisabled || !this.hasValue() || isLoading) {
54170              return null;
54171            }
54172            var innerProps = {
54173              onMouseDown: this.onClearIndicatorMouseDown,
54174              onTouchEnd: this.onClearIndicatorTouchEnd,
54175              "aria-hidden": "true"
54176            };
54177            return /* @__PURE__ */ React8.createElement(ClearIndicator3, _extends({}, commonProps, {
54178              innerProps,
54179              isFocused
54180            }));
54181          }
54182        }, {
54183          key: "renderLoadingIndicator",
54184          value: function renderLoadingIndicator() {
54185            var _this$getComponents4 = this.getComponents(), LoadingIndicator3 = _this$getComponents4.LoadingIndicator;
54186            var commonProps = this.commonProps;
54187            var _this$props11 = this.props, isDisabled = _this$props11.isDisabled, isLoading = _this$props11.isLoading;
54188            var isFocused = this.state.isFocused;
54189            if (!LoadingIndicator3 || !isLoading) return null;
54190            var innerProps = {
54191              "aria-hidden": "true"
54192            };
54193            return /* @__PURE__ */ React8.createElement(LoadingIndicator3, _extends({}, commonProps, {
54194              innerProps,
54195              isDisabled,
54196              isFocused
54197            }));
54198          }
54199        }, {
54200          key: "renderIndicatorSeparator",
54201          value: function renderIndicatorSeparator() {
54202            var _this$getComponents5 = this.getComponents(), DropdownIndicator3 = _this$getComponents5.DropdownIndicator, IndicatorSeparator3 = _this$getComponents5.IndicatorSeparator;
54203            if (!DropdownIndicator3 || !IndicatorSeparator3) return null;
54204            var commonProps = this.commonProps;
54205            var isDisabled = this.props.isDisabled;
54206            var isFocused = this.state.isFocused;
54207            return /* @__PURE__ */ React8.createElement(IndicatorSeparator3, _extends({}, commonProps, {
54208              isDisabled,
54209              isFocused
54210            }));
54211          }
54212        }, {
54213          key: "renderDropdownIndicator",
54214          value: function renderDropdownIndicator() {
54215            var _this$getComponents6 = this.getComponents(), DropdownIndicator3 = _this$getComponents6.DropdownIndicator;
54216            if (!DropdownIndicator3) return null;
54217            var commonProps = this.commonProps;
54218            var isDisabled = this.props.isDisabled;
54219            var isFocused = this.state.isFocused;
54220            var innerProps = {
54221              onMouseDown: this.onDropdownIndicatorMouseDown,
54222              onTouchEnd: this.onDropdownIndicatorTouchEnd,
54223              "aria-hidden": "true"
54224            };
54225            return /* @__PURE__ */ React8.createElement(DropdownIndicator3, _extends({}, commonProps, {
54226              innerProps,
54227              isDisabled,
54228              isFocused
54229            }));
54230          }
54231        }, {
54232          key: "renderMenu",
54233          value: function renderMenu() {
54234            var _this4 = this;
54235            var _this$getComponents7 = this.getComponents(), Group3 = _this$getComponents7.Group, GroupHeading3 = _this$getComponents7.GroupHeading, Menu3 = _this$getComponents7.Menu, MenuList3 = _this$getComponents7.MenuList, MenuPortal3 = _this$getComponents7.MenuPortal, LoadingMessage3 = _this$getComponents7.LoadingMessage, NoOptionsMessage3 = _this$getComponents7.NoOptionsMessage, Option3 = _this$getComponents7.Option;
54236            var commonProps = this.commonProps;
54237            var focusedOption = this.state.focusedOption;
54238            var _this$props12 = this.props, captureMenuScroll = _this$props12.captureMenuScroll, inputValue = _this$props12.inputValue, isLoading = _this$props12.isLoading, loadingMessage2 = _this$props12.loadingMessage, minMenuHeight = _this$props12.minMenuHeight, maxMenuHeight = _this$props12.maxMenuHeight, menuIsOpen = _this$props12.menuIsOpen, menuPlacement = _this$props12.menuPlacement, menuPosition = _this$props12.menuPosition, menuPortalTarget = _this$props12.menuPortalTarget, menuShouldBlockScroll = _this$props12.menuShouldBlockScroll, menuShouldScrollIntoView = _this$props12.menuShouldScrollIntoView, noOptionsMessage2 = _this$props12.noOptionsMessage, onMenuScrollToTop = _this$props12.onMenuScrollToTop, onMenuScrollToBottom = _this$props12.onMenuScrollToBottom;
54239            if (!menuIsOpen) return null;
54240            var render2 = function render3(props, id) {
54241              var type = props.type, data = props.data, isDisabled = props.isDisabled, isSelected = props.isSelected, label = props.label, value = props.value;
54242              var isFocused = focusedOption === data;
54243              var onHover = isDisabled ? void 0 : function() {
54244                return _this4.onOptionHover(data);
54245              };
54246              var onSelect = isDisabled ? void 0 : function() {
54247                return _this4.selectOption(data);
54248              };
54249              var optionId = "".concat(_this4.getElementId("option"), "-").concat(id);
54250              var innerProps = {
54251                id: optionId,
54252                onClick: onSelect,
54253                onMouseMove: onHover,
54254                onMouseOver: onHover,
54255                tabIndex: -1,
54256                role: "option",
54257                "aria-selected": _this4.state.isAppleDevice ? void 0 : isSelected
54258                // is not supported on Apple devices
54259              };
54260              return /* @__PURE__ */ React8.createElement(Option3, _extends({}, commonProps, {
54261                innerProps,
54262                data,
54263                isDisabled,
54264                isSelected,
54265                key: optionId,
54266                label,
54267                type,
54268                value,
54269                isFocused,
54270                innerRef: isFocused ? _this4.getFocusedOptionRef : void 0
54271              }), _this4.formatOptionLabel(props.data, "menu"));
54272            };
54273            var menuUI;
54274            if (this.hasOptions()) {
54275              menuUI = this.getCategorizedOptions().map(function(item) {
54276                if (item.type === "group") {
54277                  var _data = item.data, options2 = item.options, groupIndex = item.index;
54278                  var groupId = "".concat(_this4.getElementId("group"), "-").concat(groupIndex);
54279                  var headingId = "".concat(groupId, "-heading");
54280                  return /* @__PURE__ */ React8.createElement(Group3, _extends({}, commonProps, {
54281                    key: groupId,
54282                    data: _data,
54283                    options: options2,
54284                    Heading: GroupHeading3,
54285                    headingProps: {
54286                      id: headingId,
54287                      data: item.data
54288                    },
54289                    label: _this4.formatGroupLabel(item.data)
54290                  }), item.options.map(function(option) {
54291                    return render2(option, "".concat(groupIndex, "-").concat(option.index));
54292                  }));
54293                } else if (item.type === "option") {
54294                  return render2(item, "".concat(item.index));
54295                }
54296              });
54297            } else if (isLoading) {
54298              var message = loadingMessage2({
54299                inputValue
54300              });
54301              if (message === null) return null;
54302              menuUI = /* @__PURE__ */ React8.createElement(LoadingMessage3, commonProps, message);
54303            } else {
54304              var _message = noOptionsMessage2({
54305                inputValue
54306              });
54307              if (_message === null) return null;
54308              menuUI = /* @__PURE__ */ React8.createElement(NoOptionsMessage3, commonProps, _message);
54309            }
54310            var menuPlacementProps = {
54311              minMenuHeight,
54312              maxMenuHeight,
54313              menuPlacement,
54314              menuPosition,
54315              menuShouldScrollIntoView
54316            };
54317            var menuElement = /* @__PURE__ */ React8.createElement(MenuPlacer, _extends({}, commonProps, menuPlacementProps), function(_ref4) {
54318              var ref = _ref4.ref, _ref4$placerProps = _ref4.placerProps, placement = _ref4$placerProps.placement, maxHeight = _ref4$placerProps.maxHeight;
54319              return /* @__PURE__ */ React8.createElement(Menu3, _extends({}, commonProps, menuPlacementProps, {
54320                innerRef: ref,
54321                innerProps: {
54322                  onMouseDown: _this4.onMenuMouseDown,
54323                  onMouseMove: _this4.onMenuMouseMove
54324                },
54325                isLoading,
54326                placement
54327              }), /* @__PURE__ */ React8.createElement(ScrollManager, {
54328                captureEnabled: captureMenuScroll,
54329                onTopArrive: onMenuScrollToTop,
54330                onBottomArrive: onMenuScrollToBottom,
54331                lockEnabled: menuShouldBlockScroll
54332              }, function(scrollTargetRef) {
54333                return /* @__PURE__ */ React8.createElement(MenuList3, _extends({}, commonProps, {
54334                  innerRef: function innerRef(instance) {
54335                    _this4.getMenuListRef(instance);
54336                    scrollTargetRef(instance);
54337                  },
54338                  innerProps: {
54339                    role: "listbox",
54340                    "aria-multiselectable": commonProps.isMulti,
54341                    id: _this4.getElementId("listbox")
54342                  },
54343                  isLoading,
54344                  maxHeight,
54345                  focusedOption
54346                }), menuUI);
54347              }));
54348            });
54349            return menuPortalTarget || menuPosition === "fixed" ? /* @__PURE__ */ React8.createElement(MenuPortal3, _extends({}, commonProps, {
54350              appendTo: menuPortalTarget,
54351              controlElement: this.controlRef,
54352              menuPlacement,
54353              menuPosition
54354            }), menuElement) : menuElement;
54355          }
54356        }, {
54357          key: "renderFormField",
54358          value: function renderFormField() {
54359            var _this5 = this;
54360            var _this$props13 = this.props, delimiter2 = _this$props13.delimiter, isDisabled = _this$props13.isDisabled, isMulti = _this$props13.isMulti, name2 = _this$props13.name, required = _this$props13.required;
54361            var selectValue = this.state.selectValue;
54362            if (required && !this.hasValue() && !isDisabled) {
54363              return /* @__PURE__ */ React8.createElement(RequiredInput$1, {
54364                name: name2,
54365                onFocus: this.onValueInputFocus
54366              });
54367            }
54368            if (!name2 || isDisabled) return;
54369            if (isMulti) {
54370              if (delimiter2) {
54371                var value = selectValue.map(function(opt) {
54372                  return _this5.getOptionValue(opt);
54373                }).join(delimiter2);
54374                return /* @__PURE__ */ React8.createElement("input", {
54375                  name: name2,
54376                  type: "hidden",
54377                  value
54378                });
54379              } else {
54380                var input = selectValue.length > 0 ? selectValue.map(function(opt, i2) {
54381                  return /* @__PURE__ */ React8.createElement("input", {
54382                    key: "i-".concat(i2),
54383                    name: name2,
54384                    type: "hidden",
54385                    value: _this5.getOptionValue(opt)
54386                  });
54387                }) : /* @__PURE__ */ React8.createElement("input", {
54388                  name: name2,
54389                  type: "hidden",
54390                  value: ""
54391                });
54392                return /* @__PURE__ */ React8.createElement("div", null, input);
54393              }
54394            } else {
54395              var _value = selectValue[0] ? this.getOptionValue(selectValue[0]) : "";
54396              return /* @__PURE__ */ React8.createElement("input", {
54397                name: name2,
54398                type: "hidden",
54399                value: _value
54400              });
54401            }
54402          }
54403        }, {
54404          key: "renderLiveRegion",
54405          value: function renderLiveRegion() {
54406            var commonProps = this.commonProps;
54407            var _this$state6 = this.state, ariaSelection = _this$state6.ariaSelection, focusedOption = _this$state6.focusedOption, focusedValue = _this$state6.focusedValue, isFocused = _this$state6.isFocused, selectValue = _this$state6.selectValue;
54408            var focusableOptions = this.getFocusableOptions();
54409            return /* @__PURE__ */ React8.createElement(LiveRegion$1, _extends({}, commonProps, {
54410              id: this.getElementId("live-region"),
54411              ariaSelection,
54412              focusedOption,
54413              focusedValue,
54414              isFocused,
54415              selectValue,
54416              focusableOptions,
54417              isAppleDevice: this.state.isAppleDevice
54418            }));
54419          }
54420        }, {
54421          key: "render",
54422          value: function render2() {
54423            var _this$getComponents8 = this.getComponents(), Control3 = _this$getComponents8.Control, IndicatorsContainer3 = _this$getComponents8.IndicatorsContainer, SelectContainer3 = _this$getComponents8.SelectContainer, ValueContainer3 = _this$getComponents8.ValueContainer;
54424            var _this$props14 = this.props, className = _this$props14.className, id = _this$props14.id, isDisabled = _this$props14.isDisabled, menuIsOpen = _this$props14.menuIsOpen;
54425            var isFocused = this.state.isFocused;
54426            var commonProps = this.commonProps = this.getCommonProps();
54427            return /* @__PURE__ */ React8.createElement(SelectContainer3, _extends({}, commonProps, {
54428              className,
54429              innerProps: {
54430                id,
54431                onKeyDown: this.onKeyDown
54432              },
54433              isDisabled,
54434              isFocused
54435            }), this.renderLiveRegion(), /* @__PURE__ */ React8.createElement(Control3, _extends({}, commonProps, {
54436              innerRef: this.getControlRef,
54437              innerProps: {
54438                onMouseDown: this.onControlMouseDown,
54439                onTouchEnd: this.onControlTouchEnd
54440              },
54441              isDisabled,
54442              isFocused,
54443              menuIsOpen
54444            }), /* @__PURE__ */ React8.createElement(ValueContainer3, _extends({}, commonProps, {
54445              isDisabled
54446            }), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ React8.createElement(IndicatorsContainer3, _extends({}, commonProps, {
54447              isDisabled
54448            }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
54449          }
54450        }], [{
54451          key: "getDerivedStateFromProps",
54452          value: function getDerivedStateFromProps(props, state) {
54453            var prevProps = state.prevProps, clearFocusValueOnUpdate = state.clearFocusValueOnUpdate, inputIsHiddenAfterUpdate = state.inputIsHiddenAfterUpdate, ariaSelection = state.ariaSelection, isFocused = state.isFocused, prevWasFocused = state.prevWasFocused, instancePrefix = state.instancePrefix;
54454            var options2 = props.options, value = props.value, menuIsOpen = props.menuIsOpen, inputValue = props.inputValue, isMulti = props.isMulti;
54455            var selectValue = cleanValue(value);
54456            var newMenuOptionsState = {};
54457            if (prevProps && (value !== prevProps.value || options2 !== prevProps.options || menuIsOpen !== prevProps.menuIsOpen || inputValue !== prevProps.inputValue)) {
54458              var focusableOptions = menuIsOpen ? buildFocusableOptions(props, selectValue) : [];
54459              var focusableOptionsWithIds = menuIsOpen ? buildFocusableOptionsWithIds(buildCategorizedOptions(props, selectValue), "".concat(instancePrefix, "-option")) : [];
54460              var focusedValue = clearFocusValueOnUpdate ? getNextFocusedValue(state, selectValue) : null;
54461              var focusedOption = getNextFocusedOption(state, focusableOptions);
54462              var focusedOptionId = getFocusedOptionId(focusableOptionsWithIds, focusedOption);
54463              newMenuOptionsState = {
54464                selectValue,
54465                focusedOption,
54466                focusedOptionId,
54467                focusableOptionsWithIds,
54468                focusedValue,
54469                clearFocusValueOnUpdate: false
54470              };
54471            }
54472            var newInputIsHiddenState = inputIsHiddenAfterUpdate != null && props !== prevProps ? {
54473              inputIsHidden: inputIsHiddenAfterUpdate,
54474              inputIsHiddenAfterUpdate: void 0
54475            } : {};
54476            var newAriaSelection = ariaSelection;
54477            var hasKeptFocus = isFocused && prevWasFocused;
54478            if (isFocused && !hasKeptFocus) {
54479              newAriaSelection = {
54480                value: valueTernary(isMulti, selectValue, selectValue[0] || null),
54481                options: selectValue,
54482                action: "initial-input-focus"
54483              };
54484              hasKeptFocus = !prevWasFocused;
54485            }
54486            if ((ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === "initial-input-focus") {
54487              newAriaSelection = null;
54488            }
54489            return _objectSpread23(_objectSpread23(_objectSpread23({}, newMenuOptionsState), newInputIsHiddenState), {}, {
54490              prevProps: props,
54491              ariaSelection: newAriaSelection,
54492              prevWasFocused: hasKeptFocus
54493            });
54494          }
54495        }]);
54496        return Select2;
54497      })(import_react17.Component);
54498      Select.defaultProps = defaultProps;
54499    }
54500  });
54501
54502  
vendor: 1,301 bytes, lines 54502-54537
54502// node_modules/react-select/dist/react-select.esm.js
54503  var React9, import_react19, import_react_dom2, StateManagedSelect, StateManagedSelect$1;
54504  var init_react_select_esm = __esm({
54505    "node_modules/react-select/dist/react-select.esm.js"() {
54506      init_esbuild_shims();
54507      init_useStateManager_7e1e8489_esm();
54508      init_extends();
54509      React9 = __toESM(require_react());
54510      import_react19 = __toESM(require_react());
54511      init_Select_ef7c0426_esm();
54512      init_emotion_cache_browser_esm();
54513      init_index_641ee5b8_esm();
54514      init_objectSpread2();
54515      init_slicedToArray();
54516      init_objectWithoutProperties();
54517      init_classCallCheck();
54518      init_createClass();
54519      init_inherits();
54520      init_createSuper();
54521      init_toConsumableArray();
54522      init_typeof();
54523      init_taggedTemplateLiteral();
54524      init_defineProperty();
54525      import_react_dom2 = __toESM(require_react_dom());
54526      init_use_isomorphic_layout_effect_browser_esm();
54527      StateManagedSelect = /* @__PURE__ */ (0, import_react19.forwardRef)(function(props, ref) {
54528        var baseSelectProps = useStateManager(props);
54529        return /* @__PURE__ */ React9.createElement(Select, _extends({
54530          ref
54531        }, baseSelectProps));
54532      });
54533      StateManagedSelect$1 = StateManagedSelect;
54534    }
54535  });
54536
54537  
54537// apps/base/javascript/third_party_accessory_block/components/accessory_card.tsx
54538  function AccessoryCard({ accessory, index: index2 }) {
54539    return /* @__PURE__ */ jsx("a", { css: AccessoryCardStyles(accessory.image), href: accessory.url }, /* @__PURE__ */ jsx("div", { className: "image" }), /* @__PURE__ */ jsx("div", { className: "text", id: `accessory-${index2}` }, /* @__PURE__ */ jsx("div", null, /* @__PURE__ */ jsx("p", { className: "title" }, accessory.name), /* @__PURE__ */ jsx("p", { className: "company" }, accessory.company)), /* @__PURE__ */ jsx("div", { className: "tags" }, accessory.categories.map((category, index3) => {
54540      return /* @__PURE__ */ jsx("div", { key: index3, className: "tag" }, category.toUpperCase());
54541    }))));
54542  }
54543  var AccessoryCardStyles;
54544  var init_accessory_card = __esm({
54545    "apps/base/javascript/third_party_accessory_block/components/accessory_card.tsx"() {
54546      "use strict";
54547      init_esbuild_shims();
54548      init_emotion_react_browser_esm();
54549      init_Theme();
54550      AccessoryCardStyles = (imageUrl) => css`
54551  border: 1px solid #eeeeee;
54552  background-color: white;
54553  color: ${Theme.colors.general.baseFontColor};
54554
54555  .image {
54556    width: 25rem;
54557    height: 16rem;
54558    margin: auto;
54559    background-image: ${`url(${imageUrl})`};
54560    background-position-x: center;
54561    background-size: contain;
54562    background-repeat: no-repeat;
54563  }
54564
54565  .text {
54566    height: calc(100% - 16rem);
54567    display: flex;
54568    flex-direction: column;
54569    justify-content: space-between;
54570    align-content: space-between;
54571    padding: 2rem 2rem 1.5rem 2rem;
54572
54573    @media ${Theme.breakpoints.smallDown} {
54574      text-align: center;
54575    }
54576
54577    p {
54578      font-size: 1.4rem;
54579      margin-bottom: 0rem;
54580
54581      &.title {
54582        font-size: 1.5rem;
54583        font-weight: bold;
54584      }
54585
54586      &.company {
54587        margin-bottom: 2rem;
54588      }
54589    }
54590
54591    .tags {
54592      margin-bottom: 0rem;
54593
54594      .tag {
54595        margin-bottom: 0.5rem;
54596        background-color: ${Theme.colors.general.omronBlue};
54597        color: white;
54598        font-size: 1.1rem;
54599      }
54600    }
54601  }
54602`;
54603    }
54604  });
54605
54606  
vendor: 1,599 bytes, lines 54606-54649
54606// node_modules/decamelize/index.js
54607  function decamelize(text2, {
54608    separator = "_",
54609    preserveConsecutiveUppercase = false
54610  } = {}) {
54611    if (!(typeof text2 === "string" && typeof separator === "string")) {
54612      throw new TypeError(
54613        "The `text` and `separator` arguments should be of type `string`"
54614      );
54615    }
54616    if (text2.length < 2) {
54617      return preserveConsecutiveUppercase ? text2 : text2.toLowerCase();
54618    }
54619    const replacement = `$1${separator}$2`;
54620    const decamelized = text2.replace(
54621      new RegExp("([\\p{Lowercase_Letter}\\d])(\\p{Uppercase_Letter})", "gu"),
54622      replacement
54623    );
54624    if (preserveConsecutiveUppercase) {
54625      return handlePreserveConsecutiveUppercase(decamelized, separator);
54626    }
54627    return decamelized.replace(
54628      new RegExp("(\\p{Uppercase_Letter})(\\p{Uppercase_Letter}\\p{Lowercase_Letter}+)", "gu"),
54629      replacement
54630    ).toLowerCase();
54631  }
54632  var handlePreserveConsecutiveUppercase;
54633  var init_decamelize = __esm({
54634    "node_modules/decamelize/index.js"() {
54635      init_esbuild_shims();
54636      handlePreserveConsecutiveUppercase = (decamelized, separator) => {
54637        decamelized = decamelized.replace(
54638          new RegExp("((?<![\\p{Uppercase_Letter}\\d])[\\p{Uppercase_Letter}\\d](?![\\p{Uppercase_Letter}\\d]))", "gu"),
54639          ($0) => $0.toLowerCase()
54640        );
54641        return decamelized.replace(
54642          new RegExp("(?<!\\p{Uppercase_Letter})(\\p{Uppercase_Letter}+)(\\p{Uppercase_Letter}\\p{Lowercase_Letter}+)", "gu"),
54643          (_, $1, $2) => $1 + separator + $2.toLowerCase()
54644        );
54645      };
54646    }
54647  });
54648
54649  
vendor: 610 bytes, lines 54649-54669
54649// node_modules/humanize-string/index.js
54650  function humanizeString(string, options2 = {}) {
54651    if (typeof string !== "string") {
54652      throw new TypeError("Expected a string");
54653    }
54654    if (!options2.preserveCase) {
54655      string = decamelize(string);
54656      string = string.toLowerCase();
54657    }
54658    string = string.replace(/[_-]+/g, " ").replace(/\s{2,}/g, " ").trim();
54659    string = string.charAt(0).toUpperCase() + string.slice(1);
54660    return string;
54661  }
54662  var init_humanize_string = __esm({
54663    "node_modules/humanize-string/index.js"() {
54664      init_esbuild_shims();
54665      init_decamelize();
54666    }
54667  });
54668
54669  
54669// apps/base/javascript/generic/helpers/SiteText.ts
54670  var SiteText, SiteText_default;
54671  var init_SiteText = __esm({
54672    "apps/base/javascript/generic/helpers/SiteText.ts"() {
54673      "use strict";
54674      init_esbuild_shims();
54675      init_humanize_string();
54676      SiteText = class {
54677        st(translations, str) {
54678          str = "" + str;
54679          return translations[str] ? translations[str] : `[${humanizeString(str)}]`;
54680        }
54681      };
54682      SiteText_default = new SiteText();
54683    }
54684  });
54685
54686  
54686// apps/base/javascript/third_party_accessory_block/app.tsx
54687  function ThirdPartyAccessoryBlock({
54688    content,
54689    accessories,
54690    categories,
54691    applicable_models
54692  }) {
54693    const accessoriesPerPage = 8;
54694    const [filteredAccessories, setFilteredAccessories] = (0, import_react22.useState)(accessories);
54695    const [currentAccessories, setCurrentAccessories] = (0, import_react22.useState)(
54696      accessories.slice(0, accessoriesPerPage)
54697    );
54698    const [pageNumbersArray, setPageNumbersArray] = (0, import_react22.useState)(
54699      Array.from(
54700        new Array(Math.ceil(accessories.length / accessoriesPerPage)),
54701        (x2, i2) => i2 + 1
54702      )
54703    );
54704    const [shownPageNumbers, setShownPageNumbers] = (0, import_react22.useState)(
54705      pageNumbersArray.slice(0, 5)
54706    );
54707    const [currentPage, setCurrentPage] = (0, import_react22.useState)(1);
54708    const [category, setCategory] = (0, import_react22.useState)();
54709    const [model, setModel] = (0, import_react22.useState)();
54710    const scrollTo2 = document.getElementById("accessories-block");
54711    window.st = function(str) {
54712      return SiteText_default.st(content, str);
54713    };
54714    const categoryOptions = categories.map((category2) => {
54715      return { value: category2, label: category2 };
54716    });
54717    const robotModelOptions = applicable_models.map((model2) => {
54718      return { value: model2, label: model2 };
54719    });
54720    (0, import_react22.useEffect)(() => {
54721      if (currentPage && currentPage > 3) {
54722        if (currentPage + 2 <= pageNumbersArray.length) {
54723          setShownPageNumbers(
54724            pageNumbersArray.slice(currentPage - 3, currentPage + 2)
54725          );
54726        } else if (currentPage + 1 <= pageNumbersArray.length) {
54727          setShownPageNumbers(
54728            pageNumbersArray.slice(currentPage - 4, currentPage + 1)
54729          );
54730        } else if (currentPage == pageNumbersArray.length) {
54731          setShownPageNumbers(
54732            pageNumbersArray.slice(Math.max(currentPage - 5, 0), currentPage)
54733          );
54734        }
54735      } else {
54736        setShownPageNumbers(pageNumbersArray.slice(0, 5));
54737      }
54738      setCurrentAccessories(
54739        filteredAccessories.slice(
54740          accessoriesPerPage * (currentPage - 1),
54741          accessoriesPerPage * currentPage
54742        )
54743      );
54744    }, [currentPage]);
54745    (0, import_react22.useEffect)(() => {
54746      setCurrentPage(1);
54747      setCurrentAccessories(filteredAccessories.slice(0, accessoriesPerPage));
54748      const pageNumbers = Array.from(
54749        new Array(Math.ceil(filteredAccessories.length / accessoriesPerPage)),
54750        (x2, i2) => i2 + 1
54751      );
54752      setPageNumbersArray(pageNumbers);
54753      setShownPageNumbers(pageNumbers.slice(0, 5));
54754    }, [filteredAccessories]);
54755    (0, import_react22.useEffect)(() => {
54756      let newAccessories = accessories;
54757      if (category) {
54758        newAccessories = newAccessories.filter(
54759          (accessory) => accessory.categories.includes(category)
54760        );
54761      }
54762      if (model) {
54763        newAccessories = newAccessories.filter(
54764          (accessory) => accessory.applicable_models.includes(model)
54765        );
54766      }
54767      setFilteredAccessories(newAccessories);
54768    }, [category, model]);
54769    const handleKeyDown = (value) => {
54770      let newAccessories = accessories;
54771      newAccessories = newAccessories.filter((accessory) => {
54772        return accessory.name.toLowerCase().includes(value.toLowerCase()) || accessory.company.toLowerCase().startsWith(value.toLowerCase());
54773      });
54774      setFilteredAccessories(newAccessories);
54775    };
54776    const customStyles = {
54777      container: () => ({
54778        minWidth: "18rem",
54779        marginRight: "1.5rem"
54780      }),
54781      indicatorSeparator: () => ({
54782        display: "none"
54783      }),
54784      menu: (provided) => __spreadProps(__spreadValues({}, provided), {
54785        top: "4rem",
54786        position: "absolute",
54787        backgroundColor: "white"
54788      })
54789    };
54790    const DropdownIndicator3 = (props) => {
54791      return /* @__PURE__ */ jsx(components.DropdownIndicator, __spreadValues({}
54791, props), /* @__PURE__ */ jsx("i", { className: "down icon-caret-down-two" }));
54792    };
54793    const Menu3 = (props) => {
54794      return /* @__PURE__ */ jsx("div", { className: "menu" }, /* @__PURE__ */ jsx(components.Menu, __spreadValues({}, props), props.children));
54795    };
54796    const SelectContainer3 = (_a4) => {
54797      var _b = _a4, { children } = _b, props = __objRest(_b, ["children"]);
54798      return /* @__PURE__ */ jsx(components.SelectContainer, __spreadProps(__spreadValues({}, props), { className: "select-container" }), children);
54799    };
54800    const accessoryCards = () => {
54801      return currentAccessories.map((accessory, index2) => {
54802        return /* @__PURE__ */ jsx(AccessoryCard, { accessory, key: index2, index: index2 });
54803      });
54804    };
54805    return /* @__PURE__ */ jsx("div", { css: AccessoryBlockStyles, id: "accessories-block" }, /* @__PURE__ */ jsx("div", { className: "filters" }, /* @__PURE__ */ jsx("div", { className: "left" }, /* @__PURE__ */ jsx("p", null, window.st("filter_on")), /* @__PURE__ */ jsx(
54806      StateManagedSelect$1,
54807      {
54808        styles: customStyles,
54809        isClearable: true,
54810        defaultValue: categoryOptions.length == 1 ? categoryOptions[0] : void 0,
54811        placeholder: window.st("category_filter_text"),
54812        components: { DropdownIndicator: DropdownIndicator3, Menu: Menu3, SelectContainer: SelectContainer3 },
54813        options: categoryOptions,
54814        onChange: (option) => {
54815          if (option) {
54816            setCategory(option.value);
54817          } else {
54818            setCategory(void 0);
54819          }
54820        }
54821      }
54822    ), /* @__PURE__ */ jsx(
54823      StateManagedSelect$1,
54824      {
54825        styles: customStyles,
54826        isClearable: true,
54827        defaultValue: robotModelOptions.length == 1 ? robotModelOptions[0] : void 0,
54828        placeholder: window.st("type_filter_text"),
54829        components: { DropdownIndicator: DropdownIndicator3, Menu: Menu3, SelectContainer: SelectContainer3 },
54830        options: robotModelOptions,
54831        onChange: (option) => {
54832          if (option) {
54833            setModel(option.value);
54834          } else {
54835            setModel(void 0);
54836          }
54837        }
54838      }
54839    )), /* @__PURE__ */ jsx("div", { className: "right" }, /* @__PURE__ */ jsx("div", { className: "search-container" }, /* @__PURE__ */ jsx(
54840      "input",
54841      {
54842        className: "search",
54843        type: "text",
54844        onChange: (e) => handleKeyDown(e.target.value),
54845        placeholder: window.st("search")
54846      }
54847    ), /* @__PURE__ */ jsx(
54848      "div",
54849      {
54850        className: "icon-search",
54851        onClick: () => {
54852        }
54853      }
54854    )))), currentAccessories.length > 0 ? /* @__PURE__ */ jsx("div", { className: "accessories" }, accessoryCards()) : /* @__PURE__ */ jsx("div", { className: "none" }, /* @__PURE__ */ jsx("h3", null, window.st("no_accessories_found"))), shownPageNumbers.length > 1 && /* @__PURE__ */ jsx("div", { className: "pagination" }, currentPage != 1 ? /* @__PURE__ */ jsx(
54855      "div",
54856      {
54857        className: "arrow left",
54858        onClick: () => {
54859          setCurrentPage(currentPage - 1);
54860        }
54861      },
54862      /* @__PURE__ */ jsx(FontAwesomeIcon, { icon: faAngleLeft }),
54863      /* @__PURE__ */ jsx("p", { className: "left" }, window.st("previous"))
54864    ) : /* @__PURE__ */ jsx("div", { className: "arrow" }), /* @__PURE__ */ jsx("div", { className: "numbers" }, shownPageNumbers.map((number, index2) => {
54865      return /* @__PURE__ */ jsx(
54866        "div",
54867        {
54868          key: index2,
54869          className: `number ${number === currentPage ? "selected" : ""}`,
54870          onClick: () => {
54871            ;
54872            scrollTo2.scrollTo({
54873              top: 0
54874            });
54875            setCurrentPage(number);
54876          }
54877        },
54878        number
54879      );
54880    })), currentPage !== pageNumbersArray[pageNumbersArray.length - 1] ? /* @__PURE__ */ jsx(
54881      "div",
54882      {
54883        className: "arrow",
54884        onClick: () => {
54885          setCurrentPage(currentPage + 1);
54886        }
54887      },
54888      /* @__PURE__ */ jsx("p", { className: "right" }, window.st("next")),
54889      /* @__PURE__ */ jsx(FontAwesomeIcon, { icon: ["fas", "angle-right"] })
54890    ) : /* @__PURE__ */ jsx("div", { className: "arrow" })));
54891  }
54892  var import_react22, AccessoryBlockStyles;
54893  var init_app = __esm({
54894    "apps/base/javascript/third_party_accessory_block/app.tsx"() {
54895      "use strict";
54896      init_esbuild_shims();
54897      init_emotion_react_browser_esm();
54898      import_react22 = __toESM(require_react());
54899      init_Theme();
54900      init_index_es();
54901      init_pro_solid_svg_icons();
54902      init_react_select_esm();
54903      init_accessory_card();
54904      init_SiteText();
54905      AccessoryBlockStyles = () => css`
54906  .select-container {
54907    position: relative;
54908  }
54909
54910  h1 {
54911    margin-bottom: 3.5rem;
54912  }
54913
54914  .filters {
54915    display: flex;
54916    justify-content: space-between;
54917    align-items: center;
54918    margin-bottom: 3.5rem;
54919
54920    @media ${Theme.breakpoints.mediumDown} {
54921      flex-wrap: wrap;
54922    }
54923
54924    .left {
54925      display: flex;
54926      align-items: center;
54927
54928      p {
54929        margin-bottom: 0rem;
54930        margin-right: 1.5rem;
54931
54932        @media ${Theme.breakpoints.smallDown} {
54933          display: none;
54934        }
54935      }
54936    }
54937
54938    .right {
54939      background-color: white;
54940      box-shadow: inset 1px 1px 3px 0 rgba(0, 0, 0, 0.1);
54941      border-radius: 4px;
54942
54943      @media ${Theme.breakpoints.mediumDown} {
54944        margin-top: 1.5rem;
54945      }
54946
54947      @media ${Theme.breakpoints.mobileDown} {
54948        width: 100%;
54949      }
54950
54951      .search-container {
54952        display: flex;
54953        justify-content: space-between;
54954        width: 30rem;
54955        padding: 1rem 1.5rem;
54956
54957        @media ${Theme.breakpoints.mobileDown} {
54958          width: 100%;
54959        }
54960
54961        input.search {
54962          outline: none;
54963          border: none;
54964        }
54965
54966        .icon-search {
54967          color: rgba(76, 81, 87, 0.5);
54968        }
54969      }
54970    }
54971  }
54972
54973  .none {
54974    display: flex;
54975    justify-content: center;
54976
54977    h3 {
54978      margin-top: 10rem;
54979      margin-bottom: 10rem;
54980    }
54981  }
54982
54983  .accessories {
54984    display: grid;
54985    grid-template-columns: 1fr 1fr 1fr 1fr;
54986    grid-column-gap: 1.5rem;
54987    grid-row-gap: 3rem;
54988    margin-bottom: 10rem;
54989
54990    @media ${Theme.breakpoints.desktopDown} {
54991      grid-template-columns: 1fr 1fr 1fr;
54992    }
54993
54994    @media ${Theme.breakpoints.mediumDown} {
54995      grid-template-columns: 1fr 1fr;
54996    }
54997
54998    @media ${Theme.breakpoints.smallDown} {
54999      grid-template-columns: 1fr;
55000    }
55001  }
55002
55003  .pagination {
55004    display: flex;
55005    justify-content: space-around;
55006    margin-bottom: 9rem;
55007
55008    .arrow {
55009      display: flex;
55010      align-items: center;
55011      width: 10rem;
55012      cursor: pointer;
55013
55014      p {
55015        margin-bottom: 0rem;
55016        text-transform: uppercase;
55017
55018        &.left {
55019          margin-left: 1rem;
55020
55021          p {
55022            @media ${Theme.breakpoints.smallDown} {
55023              display: none;
55024            }
55025          }
55026        }
55027
55028        &.right {
55029          margin-right: 1rem;
55030        }
55031      }
55032    }
55033
55034    .numbers {
55035      display: flex;
55036      justify-content: space-around;
55037
55038      .number {
55039        cursor: pointer;
55040        display: flex;
55041        justify-content: center;
55042        align-items: center;
55043        width: 2.6rem;
55044        height: 2.6rem;
55045        border-radius: 0.4rem;
55046
55047        &.selected {
55048          background-color: ${Theme.colors.general.omronBlue};
55049          color: white;
55050        }
55051      }
55052    }
55053  }
55054`;
55055    }
55056  });
55057
55058  
55058// apps/base/javascript/third_party_accessory_block/third_party_accessory_block.js
55059  var third_party_accessory_block_exports = {};
55060  var init_third_party_accessory_block = __esm({
55061    "apps/base/javascript/third_party_accessory_block/third_party_accessory_block.js"() {
55062      "use strict";
55063      init_esbuild_shims();
55064      init_remount();
55065      init_app();
55066      defineReact({
55067        "third-party-accessory-block": ThirdPartyAccessoryBlock
55068      });
55069    }
55070  });
55071
55072  
55072// apps/base/javascript/search/GlobalSearchProvider.tsx
55073  var import_react23, GlobalSearchContext, useGlobalSearchContext, globalSearchState, globalSearchEndpoint, searchTimeoutRef, searchRequestSequence, activeSearchController, hasGroupedResults, isExactMatch, isSearchModalErrorResponse, defaultSearchError, abortActiveSearch, isCanceledSearch, globalSetQuery, globalPerformSearch, globalClearResults, globalSetSearchEndpoint, GlobalSearchProvider;
55074  var init_GlobalSearchProvider = __esm({
55075    "apps/base/javascript/search/GlobalSearchProvider.tsx"() {
55076      "use strict";
55077      init_esbuild_shims();
55078      import_react23 = __toESM(require_react());
55079      init_emotion_react_browser_esm();
55080      init_axios2();
55081      GlobalSearchContext = (0, import_react23.createContext)(
55082        void 0
55083      );
55084      useGlobalSearchContext = () => {
55085        const context = (0, import_react23.useContext)(GlobalSearchContext);
55086        if (!context) {
55087          throw new Error(
55088            "useGlobalSearchContext must be used within a GlobalSearchProvider"
55089          );
55090        }
55091        return context;
55092      };
55093      globalSearchState = {
55094        query: "",
55095        response: void 0,
55096        error: void 0,
55097        loading: false,
55098        hasSearched: false
55099      };
55100      globalSearchEndpoint = "";
55101      searchRequestSequence = 0;
55102      hasGroupedResults = (data) => {
55103        if (!data || typeof data !== "object") return false;
55104        const response = data;
55105        return typeof response.query === "string" && (response.exact_match === null || isExactMatch(response.exact_match)) && Array.isArray(response.models) && Array.isArray(response.series) && Array.isArray(response.pages);
55106      };
55107      isExactMatch = (exactMatch) => {
55108        if (!exactMatch || typeof exactMatch !== "object") return false;
55109        const match2 = exactMatch;
55110        return (match2.type === "series" || match2.type === "model" || match2.type === "discontinued_model") && !!match2.item && typeof match2.item === "object";
55111      };
55112      isSearchModalErrorResponse = (data) => {
55113        if (!data || typeof data !== "object") return false;
55114        const response = data;
55115        return typeof response.query === "string" && !!response.error && typeof response.error === "object" && (response.error.code === "search_unavailable" || response.error.code === "internal_error") && typeof response.error.message === "string";
55116      };
55117      defaultSearchError = () => ({
55118        code: "search_unavailable",
55119        message: "Search request failed without a contract-shaped error response"
55120      });
55121      abortActiveSearch = () => {
55122        if (activeSearchController) {
55123          activeSearchController.abort();
55124          activeSearchController = void 0;
55125        }
55126      };
55127      isCanceledSearch = (error) => axios_default.isCancel(error) || error instanceof Error && (error.name === "AbortError" || error.name === "CanceledError");
55128      globalSetQuery = (query) => {
55129        globalSearchState = __spreadProps(__spreadValues({}, globalSearchState), { query });
55130        window.dispatchEvent(new CustomEvent("globalSearchStateChanged"));
55131      };
55132      globalPerformSearch = (query) => __async(null, null, function* () {
55133        if (searchTimeoutRef) {
55134          clearTimeout(searchTimeoutRef);
55135        }
55136        if (query.trim().length < 2) {
55137          searchRequestSequence += 1;
55138          abortActiveSearch();
55139          globalSearchState = __spreadProps(__spreadValues({}, globalSearchState), {
55140            query,
55141            response: void 0,
55142            error: void 0,
55143            hasSearched: false,
55144            loading: false
55145          });
55146          window.dispatchEvent(new CustomEvent("globalSearchStateChanged"));
55147          return;
55148        }
55149        const requestSequence = searchRequestSequence += 1;
55150        abortActiveSearch();
55151        globalSearchState = __spreadProps(__spreadValues({}, globalSearchState), {
55152          query,
55153          error: void 0,
55154          hasSearched: true,
55155          loading: true
55156        });
55157        window.dispatchEvent(new CustomEvent("globalSearchStateChanged"));
55158        searchTimeoutRef = setTimeout(() => __async(null, null, function* () {
55159          var _a4;
55160          try {
55161            activeSearchController = typeof AbortController === "undefined" ? void 0 : new AbortController();
55162            const searchResponse = yield axios_default.get(
55163              globalSearchEndpoint,
55164              {
55165                params: {
55166                  q: query,
55167                  search_type: "modal"
55168                },
55169                headers: {
55170                  Accept: "application/json"
55171                },
55172                signal: activeSearchController == null ? void 0 : activeSearchController.signal
55173              }
55174            );
55175            if (requestSequence !== searchRequestSequence) return;
55176            if (!hasGroupedResults(searchResponse.data)) {
55177              console.error("Invalid search modal response:", searchResponse.data);
55178              globalSearchState = __spreadProps(__spreadValues({}, globalSearchState), {
55179                response: void 0,
55180                error: defaultSearchError(),
55181                loading: false,
55182                hasSearched: true
55183              });
55184              window.dispatchEvent(new CustomEvent("globalSearchStateChanged"));
55185              return;
55186            }
55187            globalSearchState = __spreadProps(__spreadValues({}, globalSearchState), {
55188              response: searchResponse.data,
55189              error: void 0,
55190              loading: false,
55191              hasSearched: true
55192            });
55193            window.dispatchEvent(new CustomEvent("globalSearchStateChanged"));
55194          } catch (error) {
55195            if (requestSequence !== searchRequestSequence || isCanceledSearch(error)) {
55196              return;
55197            }
55198            console.error("Search request failed:", error);
55199            const responseData = axios_default.isAxiosError(error) ? (_a4 = error.response) == null ? void 0 : _a4.data : void 0;
55200            if (responseData !== void 0 && !isSearchModalErrorResponse(responseData)) {
55201              console.error("Unexpected search error response shape:", responseData);
55202            }
55203            globalSearchState = __spreadProps(__spreadValues({}, globalSearchState), {
55204              response: void 0,
55205              error: isSearchModalErrorResponse(responseData) ? responseData.error : defaultSearchError(),
55206              loading: false,
55207              hasSearched: true
55208            });
55209            window.dispatchEvent(new CustomEvent("globalSearchStateChanged"));
55210          }
55211        }), 500);
55212      });
55213      globalClearResults = () => {
55214        searchRequestSequence += 1;
55215        abortActiveSearch();
55216        globalSearchState = {
55217          query: "",
55218          response: void 0,
55219          error: void 0,
55220          loading: false,
55221          hasSearched: false
55222        };
55223        window.dispatchEvent(new CustomEvent("globalSearchStateChanged"));
55224      };
55225      globalSetSearchEndpoint = (endpoint) => {
55226        globalSearchEndpoint = endpoint;
55227      };
55228      GlobalSearchProvider = ({
55229        children,
55230        searchEndpoint
55231      }) => {
55232        const [searchState, setSearchState] = (0, import_react23.useState)(globalSearchState);
55233        (0, import_react23.useEffect)(() => {
55234          globalSetSearchEndpoint(searchEndpoint);
55235        }, [searchEndpoint]);
55236        (0, import_react23.useEffect)(() => {
55237          const handleStateChange = () => {
55238            setSearchState(__spreadValues({}, globalSearchState));
55239          };
55240          window.addEventListener("globalSearchStateChanged", handleStateChange);
55241          return () => {
55242            window.removeEventListener("globalSearchStateChanged", handleStateChange);
55243          };
55244        }, []);
55245        const contextValue = {
55246          searchState,
55247          setQuery: globalSetQuery,
55248          performSearch: globalPerformSearch,
55249          clearResults: globalClearResults,
55250          searchEndpoint,
55251          setSearchEndpoint: globalSetSearchEndpoint
55252        };
55253        return /* @__PURE__ */ jsx(GlobalSearchContext.Provider, { value: contextValue }, children);
55254      };
55255    }
55256  });
55257
55258  
vendor: 13,441 bytes, lines 55258-55361
55258// node_modules/@fortawesome/pro-regular-svg-icons/index.mjs
55259  var faFileLines, faLightbulbOn, faAngleRight2, faMicrochip, faChartBar, faCompassDrafting, faArrowRight2, faHeart2, faUpRightFromSquare, faExternalLinkAlt, faFilePdf, faCircleInfo2, faInfoCircle2, faGear, faMagnifyingGlass, faSearch, faXmark2, faSpinner, faCirclePlus2, faPlusCircle2, faCheck2, faTriangleExclamation, faExclamationTriangle;
55260  var init_pro_regular_svg_icons = __esm({
55261    "node_modules/@fortawesome/pro-regular-svg-icons/index.mjs"() {
55262      init_esbuild_shims();
55263      faFileLines = {
55264        prefix: "far",
55265        iconName: "file-lines",
55266        icon: [384, 512, [128441, 128462, 61686, "file-alt", "file-text"], "f15c", "M64 464c-8.8 0-16-7.2-16-16L48 64c0-8.8 7.2-16 16-16l160 0 0 80c0 17.7 14.3 32 32 32l80 0 0 288c0 8.8-7.2 16-16 16L64 464zM64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-293.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0L64 0zm56 256c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0zm0 96c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z"]
55267      };
55268      faLightbulbOn = {
55269        prefix: "far",
55270        iconName: "lightbulb-on",
55271        icon: [640, 512, [], "f672", "M69.3 4C58.3-3.3 43.4-.3 36 10.7s-4.4 25.9 6.7 33.3l48 32c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L69.3 4zM597.3 44c11-7.4 14-22.3 6.7-33.3s-22.3-14-33.3-6.7l-48 32c-11 7.4-14 22.3-6.7 33.3s22.3 14 33.3 6.7l48-32zM24 160c-13.3 0-24 10.7-24 24s10.7 24 24 24l64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0zm528 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0zM117.3 332c11-7.4 14-22.3 6.7-33.3s-22.3-14-33.3-6.7l-48 32c-11 7.4-14 22.3-6.7 33.3s22.3 14 33.3 6.7l48-32zm432-39.9c-11-7.4-25.9-4.4-33.3 6.7s-4.4 25.9 6.7 33.3l48 32c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3l-48-32zM448 176c0 27.2-8.4 52.3-22.8 72.9c-3.7 5.3-8 11.3-12.7 17.7c0 0 0 0 0 0s0 0 0 0s0 0 0 0s0 0 0 0c-12.9 17.7-28.3 38.9-39.8 59.8c-10.4 19-15.7 38.8-18.3 57.5l48.6 0c2.2-12 5.9-23.7 11.8-34.5c9.9-18 22.2-34.9 34.5-51.8c0 0 0 0 0 0s0 0 0 0s0 0 0 0c5.2-7.1 10.4-14.2 15.4-21.4c19.8-28.5 31.4-63 31.4-100.3C496 78.8 417.2 0 320 0S144 78.8 144 176c0 37.3 11.6 71.9 31.4 100.3c5 7.2 10.2 14.3 15.4 21.4c0 0 0 0 0 0s0 0 0 0c12.3 16.8 24.6 33.7 34.5 51.8c5.9 10.8 9.6 22.5 11.8 34.5l48.6 0c-2.6-18.7-7.9-38.6-18.3-57.5c-11.5-20.9-26.9-42.1-39.8-59.8c0 0 0 0 0 0s0 0 0 0c-4.7-6.4-9-12.4-12.8-17.7C200.4 228.3 192 203.2 192 176c0-70.7 57.3-128 128-128s128 57.3 128 128zm-176 0c0-26.5 21.5-48 48-48c8.8 0 16-7.2 16-16s-7.2-16-16-16c-44.2 0-80 35.8-80 80c0 8.8 7.2 16 16 16s16-7.2 16-16zM400 432l0-16-160 0 0 16c0 44.2 35.8 80 80 80s80-35.8 80-80z"]
55272      };
55273      faAngleRight2 = {
55274        prefix: "far",
55275        iconName: "angle-right",
55276        icon: [320, 512, [8250], "f105", "M273 239c9.4 9.4 9.4 24.6 0 33.9L113 433c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l143-143L79 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L273 239z"]
55277      };
55278      faMicrochip = {
55279        prefix: "far",
55280        iconName: "microchip",
55281        icon: [512, 512, [], "f2db", "M184 24c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40-8 0c-35.3 0-64 28.7-64 64l0 8-40 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l40 0 0 48-40 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l40 0 0 48-40 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l40 0 0 8c0 35.3 28.7 64 64 64l8 0 0 40c0 13.3 10.7 24 24 24s24-10.7 24-24l0-40 48 0 0 40c0 13.3 10.7 24 24 24s24-10.7 24-24l0-40 48 0 0 40c0 13.3 10.7 24 24 24s24-10.7 24-24l0-40 8 0c35.3 0 64-28.7 64-64l0-8 40 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-40 0 0-48 40 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-40 0 0-48 40 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-40 0 0-8c0-35.3-28.7-64-64-64l-8 0 0-40c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40-48 0 0-40c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40-48 0 0-40zM400 128l0 256c0 8.8-7.2 16-16 16l-256 0c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l256 0c8.8 0 16 7.2 16 16zM192 160c-17.7 0-32 14.3-32 32l0 128c0 17.7 14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32l-128 0zm16 48l96 0 0 96-96 0 0-96z"]
55282      };
55283      faChartBar = {
55284        prefix: "far",
55285        iconName: "chart-bar",
55286        icon: [512, 512, ["bar-chart"], "f080", "M24 32c13.3 0 24 10.7 24 24l0 352c0 13.3 10.7 24 24 24l416 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L72 480c-39.8 0-72-32.2-72-72L0 56C0 42.7 10.7 32 24 32zM128 136c0-13.3 10.7-24 24-24l208 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-208 0c-13.3 0-24-10.7-24-24zm24 72l144 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-144 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm0 96l272 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-272 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]
55287      };
55288      faCompassDrafting = {
55289        prefix: "far",
55290        iconName: "compass-drafting",
55291        icon: [512, 512, ["drafting-compass"], "f568", "M304 96a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm-19.6 91.7c-9 2.8-18.5 4.3-28.4 4.3s-19.4-1.5-28.4-4.3L158.1 306.4C187.9 320.3 221 328 256 328c85.8 0 160.8-46.6 201-116c6.6-11.5 21.3-15.4 32.8-8.8s15.4 21.3 8.8 32.8C450.2 319.6 359.7 376 256 376c-43.8 0-85.3-10.1-122.2-28L44.7 500.1c-6.7 11.4-21.4 15.3-32.8 8.6S-3.4 487.3 3.3 475.9L92.6 323.4C60.4 300.2 33.4 270.4 13.5 236c-6.6-11.5-2.7-26.2 8.8-32.8s26.2-2.7 32.8 8.8c15.8 27.2 36.9 51 61.9 69.7l69.8-119.2C170.2 145.2 160 121.8 160 96c0-53 43-96 96-96s96 43 96 96c0 25.8-10.2 49.2-26.7 66.5l53.5 91.4c-12.6 9.8-26.4 18.1-41.1 24.7l-53.2-90.9zM508.7 475.9c6.7 11.4 2.9 26.1-8.6 32.8s-26.1 2.9-32.8-8.6L394.4 375.7c14.4-7.1 28.2-15.4 41.2-24.6l73 124.8z"]
55292      };
55293      faArrowRight2 = {
55294        prefix: "far",
55295        iconName: "arrow-right",
55296        icon: [448, 512, [8594], "f061", "M440.6 273.4c4.7-4.5 7.4-10.8 7.4-17.4s-2.7-12.8-7.4-17.4l-176-168c-9.6-9.2-24.8-8.8-33.9 .8s-8.8 24.8 .8 33.9L364.1 232 24 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l340.1 0L231.4 406.6c-9.6 9.2-9.9 24.3-.8 33.9s24.3 9.9 33.9 .8l176-168z"]
55297      };
55298      faHeart2 = {
55299        prefix: "far",
55300        iconName: "heart",
55301        icon: [512, 512, [128153, 128154, 128155, 128156, 128420, 129293, 129294, 129505, 9829, 10084, 61578], "f004", "M225.8 468.2l-2.5-2.3L48.1 303.2C17.4 274.7 0 234.7 0 192.8l0-3.3c0-70.4 50-130.8 119.2-144C158.6 37.9 198.9 47 231 69.6c9 6.4 17.4 13.8 25 22.3c4.2-4.8 8.7-9.2 13.5-13.3c3.7-3.2 7.5-6.2 11.5-9c0 0 0 0 0 0C313.1 47 353.4 37.9 392.8 45.4C462 58.6 512 119.1 512 189.5l0 3.3c0 41.9-17.4 81.9-48.1 110.4L288.7 465.9l-2.5 2.3c-8.2 7.6-19 11.9-30.2 11.9s-22-4.2-30.2-11.9zM239.1 145c-.4-.3-.7-.7-1-1.1l-17.8-20-.1-.1s0 0 0 0c-23.1-25.9-58-37.7-92-31.2C81.6 101.5 48 142.1 48 189.5l0 3.3c0 28.5 11.9 55.8 32.8 75.2L256 430.7 431.2 268c20.9-19.4 32.8-46.7 32.8-75.2l0-3.3c0-47.3-33.6-88-80.1-96.9c-34-6.5-69 5.4-92 31.2c0 0 0 0-.1 .1s0 0-.1 .1l-17.8 20c-.3 .4-.7 .7-1 1.1c-4.5 4.5-10.6 7-16.9 7s-12.4-2.5-16.9-7z"]
55302      };
55303      faUpRightFromSquare = {
55304        prefix: "far",
55305        iconName: "up-right-from-square",
55306        icon: [512, 512, ["external-link-alt"], "f35d", "M304 41c0 10.9 4.3 21.3 12 29L362.1 116 207 271c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l155-155L442.1 196c7.7 7.7 18.1 12 29 12c22.6 0 41-18.3 41-41l0-127c0-22.1-17.9-40-40-40L345 0c-22.6 0-41 18.3-41 41zm57.9 7L464 48l0 102.1L361.9 48zM72 32C32.2 32 0 64.2 0 104L0 440c0 39.8 32.2 72 72 72l336 0c39.8 0 72-32.2 72-72l0-128c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 128c0 13.3-10.7 24-24 24L72 464c-13.3 0-24-10.7-24-24l0-336c0-13.3 10.7-24 24-24l128 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L72 32z"]
55307      };
55308      faExternalLinkAlt = faUpRightFromSquare;
55309      faFilePdf = {
55310        prefix: "far",
55311        iconName: "file-pdf",
55312        icon: [512, 512, [], "f1c1", "M64 464l48 0 0 48-48 0c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L229.5 0c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3L384 304l-48 0 0-144-80 0c-17.7 0-32-14.3-32-32l0-80L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16zM176 352l32 0c30.9 0 56 25.1 56 56s-25.1 56-56 56l-16 0 0 32c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48 0-80c0-8.8 7.2-16 16-16zm32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24l-16 0 0 48 16 0zm96-80l32 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-32 0c-8.8 0-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zm32 128c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16l-16 0 0 96 16 0zm80-112c0-8.8 7.2-16 16-16l48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 32 32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-64 0-64z"]
55313      };
55314      faCircleInfo2 = {
55315        prefix: "far",
55316        iconName: "circle-info",
55317        icon: [512, 512, ["info-circle"], "f05a", "M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-88c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 64-24 0zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]
55318      };
55319      faInfoCircle2 = faCircleInfo2;
55320      faGear = {
55321        prefix: "far",
55322        iconName: "gear",
55323        icon: [512, 512, [9881, "cog"], "f013", "M256 0c17 0 33.6 1.7 49.8 4.8c7.9 1.5 21.8 6.1 29.4 20.1c2 3.7 3.6 7.6 4.6 11.8l9.3 38.5C350.5 81 360.3 86.7 366 85l38-11.2c4-1.2 8.1-1.8 12.2-1.9c16.1-.5 27 9.4 32.3 15.4c22.1 25.1 39.1 54.6 49.9 86.3c2.6 7.6 5.6 21.8-2.7 35.4c-2.2 3.6-4.9 7-8 10L459 246.3c-4.2 4-4.2 15.5 0 19.5l28.7 27.3c3.1 3 5.8 6.4 8 10c8.2 13.6 5.2 27.8 2.7 35.4c-10.8 31.7-27.8 61.1-49.9 86.3c-5.3 6-16.3 15.9-32.3 15.4c-4.1-.1-8.2-.8-12.2-1.9L366 427c-5.7-1.7-15.5 4-16.9 9.8l-9.3 38.5c-1 4.2-2.6 8.2-4.6 11.8c-7.7 14-21.6 18.5-29.4 20.1C289.6 510.3 273 512 256 512s-33.6-1.7-49.8-4.8c-7.9-1.5-21.8-6.1-29.4-20.1c-2-3.7-3.6-7.6-4.6-11.8l-9.3-38.5c-1.4-5.8-11.2-11.5-16.9-9.8l-38 11.2c-4 1.2-8.1 1.8-12.2 1.9c-16.1 .5-27-9.4-32.3-15.4c-22-25.1-39.1-54.6-49.9-86.3c-2.6-7.6-5.6-21.8 2.7-35.4c2.2-3.6 4.9-7 8-10L53 265.7c4.2-4 4.2-15.5 0-19.5L24.2 218.9c-3.1-3-5.8-6.4-8-10C8 195.3 11 181.1 13.6 173.6c10.8-31.7 27.8-61.1 49.9-86.3c5.3-6 16.3-15.9 32.3-15.4c4.1 .1 8.2 .8 12.2 1.9L146 85c5.7 1.7 15.5-4 16.9-9.8l9.3-38.5c1-4.2 2.6-8.2 4.6-11.8c7.7-14 21.6-18.5 29.4-20.1C222.4 1.7 239 0 256 0zM218.1 51.4l-8.5 35.1c-7.8 32.3-45.3 53.9-77.2 44.6L97.9 120.9c-16.5 19.3-29.5 41.7-38 65.7l26.2 24.9c24 22.8 24 66.2 0 89L59.9 325.4c8.5 24 21.5 46.4 38 65.7l34.6-10.2c31.8-9.4 69.4 12.3 77.2 44.6l8.5 35.1c24.6 4.5 51.3 4.5 75.9 0l8.5-35.1c7.8-32.3 45.3-53.9 77.2-44.6l34.6 10.2c16.5-19.3 29.5-41.7 38-65.7l-26.2-24.9c-24-22.8-24-66.2 0-89l26.2-24.9c-8.5-24-21.5-46.4-38-65.7l-34.6 10.2c-31.8 9.4-69.4-12.3-77.2-44.6l-8.5-35.1c-24.6-4.5-51.3-4.5-75.9 0zM208 256a48 48 0 1 0 96 0 48 48 0 1 0 -96 0zm48 96a96 96 0 1 1 0-192 96 96 0 1 1 0 192z"]
55324      };
55325      faMagnifyingGlass = {
55326        prefix: "far",
55327        iconName: "magnifying-glass",
55328        icon: [512, 512, [128269, "search"], "f002", "M368 208A160 160 0 1 0 48 208a160 160 0 1 0 320 0zM337.1 371.1C301.7 399.2 256.8 416 208 416C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208c0 48.8-16.8 93.7-44.9 129.1L505 471c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L337.1 371.1z"]
55329      };
55330      faSearch = faMagnifyingGlass;
55331      faXmark2 = {
55332        prefix: "far",
55333        iconName: "xmark",
55334        icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M345 137c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-119 119L73 103c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l119 119L39 375c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l119-119L311 409c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-119-119L345 137z"]
55335      };
55336      faSpinner = {
55337        prefix: "far",
55338        iconName: "spinner",
55339        icon: [512, 512, [], "f110", "M288 32a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0 448a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM448 256a32 32 0 1 0 64 0 32 32 0 1 0 -64 0zM32 288a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM75 437a32 32 0 1 0 45.3-45.3A32 32 0 1 0 75 437zm316.8 0A32 32 0 1 0 437 391.8 32 32 0 1 0 391.8 437zM75 75a32 32 0 1 0 45.3 45.3A32 32 0 1 0 75 75z"]
55340      };
55341      faCirclePlus2 = {
55342        prefix: "far",
55343        iconName: "circle-plus",
55344        icon: [512, 512, ["plus-circle"], "f055", "M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344c0 13.3 10.7 24 24 24s24-10.7 24-24l0-64 64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0 0-64c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 64-64 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l64 0 0 64z"]
55345      };
55346      faPlusCircle2 = faCirclePlus2;
55347      faCheck2 = {
55348        prefix: "far",
55349        iconName: "check",
55350        icon: [448, 512, [10003, 10004], "f00c", "M441 103c9.4 9.4 9.4 24.6 0 33.9L177 401c-9.4 9.4-24.6 9.4-33.9 0L7 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l119 119L407 103c9.4-9.4 24.6-9.4 33.9 0z"]
55351      };
55352      faTriangleExclamation = {
55353        prefix: "far",
55354        iconName: "triangle-exclamation",
55355        icon: [512, 512, [9888, "exclamation-triangle", "warning"], "f071", "M248.4 84.3c1.6-2.7 4.5-4.3 7.6-4.3s6 1.6 7.6 4.3L461.9 410c1.4 2.3 2.1 4.9 2.1 7.5c0 8-6.5 14.5-14.5 14.5l-387 0c-8 0-14.5-6.5-14.5-14.5c0-2.7 .7-5.3 2.1-7.5L248.4 84.3zm-41-25L9.1 385c-6 9.8-9.1 21-9.1 32.5C0 452 28 480 62.5 480l387 0c34.5 0 62.5-28 62.5-62.5c0-11.5-3.2-22.7-9.1-32.5L304.6 59.3C294.3 42.4 275.9 32 256 32s-38.3 10.4-48.6 27.3zM288 368a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm-8-184c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 96c0 13.3 10.7 24 24 24s24-10.7 24-24l0-96z"]
55356      };
55357      faExclamationTriangle = faTriangleExclamation;
55358    }
55359  });
55360
55361  
55361// apps/base/javascript/search/searchTokens.ts
55362  var searchTokens, searchTokens_default, focusHighlightBackground;
55363  var init_searchTokens = __esm({
55364    "apps/base/javascript/search/searchTokens.ts"() {
55365      "use strict";
55366      init_esbuild_shims();
55367      searchTokens = {
55368        // The exact-match title is not a heading element, so it inherits the body
55369        // font and needs the heading font set explicitly.
55370        fontHeading: "'Open Sans', Arial, sans-serif",
55371        // <- $heading-font-family
55372        colorWhite: "#ffffff",
55373        colorBlack: "#000000",
55374        colorBrandBlue: "#005eb8",
55375        // <- $omron-blue
55376        colorBrandBlueHover: "#006fd9",
55377        colorActionBlue: "#007bff",
55378        colorActionBlueHover: "#0056b3",
55379        colorHeading: "#34383c",
55380        colorBodyText: "#4c5157",
55381        // <- $base-font-color
55382        colorInputText: "#495057",
55383        colorPlaceholderText: "#6c757d",
55384        colorMutedText: "#666666",
55385        colorTagGrey: "#505f6c",
55386        // <- $grey-tag-color
55387        colorDivider: "#e6e6e6",
55388        colorFormBackground: "#f8f8f8",
55389        // <- $light-grey-background
55390        colorKeyboardHighlight: "#eeeeee",
55391        // <- $button-color (#EEE)
55392        colorKeyboardBorder: "#979da5"
55393        // <- $text-grey
55394      };
55395      searchTokens_default = searchTokens;
55396      focusHighlightBackground = `linear-gradient(0deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%), ${searchTokens.colorFormBackground}`;
55397    }
55398  });
55399
55400  
55400// apps/base/javascript/search/searchStyles.ts
55401  var searchButtonStyles, searchIconStyles, headerStyles, searchInputContainerStyles;
55402  var init_searchStyles = __esm({
55403    "apps/base/javascript/search/searchStyles.ts"() {
55404      "use strict";
55405      init_esbuild_shims();
55406      init_emotion_react_browser_esm();
55407      init_searchTokens();
55408      searchButtonStyles = css`
55409  position: absolute;
55410  right: 1rem;
55411  top: 50%;
55412  display: flex;
55413  align-items: center;
55414  justify-content: center;
55415  width: 5.2rem;
55416  height: 5.2rem;
55417  border: none;
55418  border-radius: 0.5rem;
55419  background: ${searchTokens_default.colorBrandBlue};
55420  color: ${searchTokens_default.colorWhite};
55421  font-size: 1rem;
55422  transform: translateY(-50%);
55423  transition: background-color 0.2s ease;
55424  cursor: pointer;
55425
55426  &:hover {
55427    background: ${searchTokens_default.colorBrandBlueHover};
55428  }
55429
55430  svg {
55431    height: 1.8rem;
55432    margin: 0;
55433  }
55434
55435  @media (max-width: 768px) {
55436    width: 4.6rem;
55437    height: 4.6rem;
55438
55439    svg {
55440      height: 1.4rem;
55441    }
55442  }
55443`;
55444      searchIconStyles = css`
55445  display: flex;
55446  flex-shrink: 0;
55447  align-items: center;
55448  justify-content: center;
55449  width: 3rem;
55450  height: 3rem;
55451  margin-left: auto;
55452  border: none;
55453  border-radius: 50%;
55454  background: ${searchTokens_default.colorActionBlue};
55455  color: ${searchTokens_default.colorWhite};
55456  font-size: 1.4rem;
55457  opacity: 1;
55458  transform: scale(1);
55459  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
55460  cursor: pointer;
55461
55462  &:hover {
55463    background: ${searchTokens_default.colorActionBlueHover};
55464    transform: scale(1.05);
55465  }
55466
55467  &:active {
55468    transform: scale(0.95);
55469  }
55470
55471  @media (max-width: 768px) {
55472    width: 2.5rem;
55473    height: 2.5rem;
55474    font-size: 1.2rem;
55475  }
55476`;
55477      headerStyles = css`
55478  display: flex;
55479  align-items: center;
55480  padding: 1rem 0 1rem 1.5rem;
55481  border-bottom: 1px solid ${searchTokens_default.colorDivider};
55482
55483  @media (max-width: 768px) {
55484    padding: 1.5rem 2rem;
55485  }
55486`;
55487      searchInputContainerStyles = css`
55488  position: relative;
55489  display: flex;
55490  flex: 1;
55491  align-items: center;
55492  height: 5.2rem;
55493
55494  @media (max-width: 768px) {
55495    height: auto;
55496  }
55497`;
55498    }
55499  });
55500
55501  
55501// apps/base/javascript/search/SearchInput.tsx
55502  var import_react27, SearchInput, searchInputStyles, mobileActionsStyles, mobileIconButtonStyles, SearchInput_default;
55503  var init_SearchInput = __esm({
55504    "apps/base/javascript/search/SearchInput.tsx"() {
55505      "use strict";
55506      init_esbuild_shims();
55507      init_emotion_react_browser_esm();
55508      import_react27 = __toESM(require_react());
55509      init_index_es();
55510      init_pro_regular_svg_icons();
55511      init_searchStyles();
55512      init_searchTokens();
55513      SearchInput = (0, import_react27.forwardRef)(
55514        ({
55515          query,
55516          translations,
55517          isMobile,
55518          isSearching,
55519          listboxOpen,
55520          activeDescendantId,
55521          onQueryChange,
55522          onKeyDown,
55523          onClose,
55524          onSearch
55525        }, ref) => {
55526          return /* @__PURE__ */ jsx("div", { css: headerStyles }, /* @__PURE__ */ jsx("div", { css: searchInputContainerStyles }, /* @__PURE__ */ jsx(
55527            "input",
55528            {
55529              ref,
55530              type: "text",
55531              placeholder: `${translations.search}...`,
55532              value: query,
55533              onChange: onQueryChange,
55534              onKeyDown,
55535              css: searchInputStyles,
55536              autoComplete: "off",
55537              role: "combobox",
55538              "aria-controls": "search-modal-listbox",
55539              "aria-autocomplete": "list",
55540              "aria-expanded": listboxOpen,
55541              "aria-activedescendant": activeDescendantId
55542            }
55543          ), isMobile ? (
55544            // Mobile: thin magnifier + close, matching the mobile nav header.
55545            /* @__PURE__ */ jsx("div", { css: mobileActionsStyles }, /* @__PURE__ */ jsx(
55546              "button",
55547              {
55548                css: mobileIconButtonStyles,
55549                onClick: onSearch,
55550                type: "button",
55551                "aria-label": "Search"
55552              },
55553              /* @__PURE__ */ jsx(
55554                FontAwesomeIcon,
55555                {
55556                  icon: isSearching ? faSpinner : faSearch,
55557                  spin: isSearching
55558                }
55559              )
55560            ), /* @__PURE__ */ jsx(
55561              "button",
55562              {
55563                css: mobileIconButtonStyles,
55564                onClick: onClose,
55565                type: "button",
55566                "aria-label": "Close"
55567              },
55568              /* @__PURE__ */ jsx(FontAwesomeIcon, { icon: faXmark2 })
55569            ))
55570          ) : /* @__PURE__ */ jsx("button", { css: searchButtonStyles, onClick: onSearch, className: "icon" }, /* @__PURE__ */ jsx(
55571            FontAwesomeIcon,
55572            {
55573              icon: isSearching ? faSpinner : faSearch,
55574              spin: isSearching
55575            }
55576          ))));
55577        }
55578      );
55579      SearchInput.displayName = "SearchInput";
55580      searchInputStyles = css`
55581  flex: 1;
55582  padding: 0.75rem 0;
55583  padding-right: 6rem;
55584  border: none;
55585  border-radius: 0.5rem;
55586  outline: none;
55587  background: transparent;
55588  font-size: 1.8rem;
55589  line-height: 2.6rem;
55590
55591  &:focus {
55592    outline: none;
55593  }
55594
55595  &::selection {
55596    background-color: ${searchTokens_default.colorActionBlue};
55597    color: ${searchTokens_default.colorWhite};
55598  }
55599
55600  &::-moz-selection {
55601    background-color: ${searchTokens_default.colorActionBlue};
55602    color: ${searchTokens_default.colorWhite};
55603  }
55604
55605  @media (max-width: 768px) {
55606    padding: 0.5rem 0;
55607    font-size: 1.4rem;
55608    line-height: 2.2rem;
55609  }
55610`;
55611      mobileActionsStyles = css`
55612  display: flex;
55613  flex: 0 0 auto;
55614  align-items: center;
55615  gap: 2rem;
55616`;
55617      mobileIconButtonStyles = css`
55618  display: flex;
55619  align-items: center;
55620  justify-content: center;
55621  padding: 0;
55622  border: none;
55623  background: none;
55624  color: ${searchTokens_default.colorBodyText};
55625  font-size: 1.8rem;
55626  cursor: pointer;
55627
55628  // Reset the global button-svg margin-right (_buttons.scss) so icons align flush.
55629  svg {
55630    margin: 0;
55631  }
55632`;
55633      SearchInput_default = SearchInput;
55634    }
55635  });
55636
55637  
55637// apps/base/javascript/search/searchResultsUtils.ts
55638  var sectionResultsFilters, buildSectionResultsUrl, localizeUrl, localizeSearchResult, handleResultNavigation, buildDisplayedSections, hasDisplayedGroupedSections, EXACT_MATCH_OPTION_ID, ALL_RESULTS_OPTION_ID, exactMatchUrl, navigableSearchItems, SEARCH_OPTION_ID_PREFIX, searchOptionId, resultIdFromOptionId;
55639  var init_searchResultsUtils = __esm({
55640    "apps/base/javascript/search/searchResultsUtils.ts"() {
55641      "use strict";
55642      init_esbuild_shims();
55643      sectionResultsFilters = {
55644        models: { tag: "products" },
55645        series: { tag: "products" },
55646        pages: {}
55647      };
55648      buildSectionResultsUrl = (endpoint, query, filters) => {
55649        const trimmed = query.trim();
55650        if (!trimmed) return null;
55651        const params = new URLSearchParams(__spreadValues({ q: trimmed }, filters));
55652        return `${endpoint}?${params.toString()}`;
55653      };
55654      localizeUrl = (url, language) => {
55655        if (!url.startsWith("/") || url.startsWith("//")) return url;
55656        if (url === `/${language}` || url.startsWith(`/${language}/`)) return url;
55657        return `/${language}${url}`;
55658      };
55659      localizeSearchResult = (result, language) => __spreadProps(__spreadValues({}, result), {
55660        url: localizeUrl(result.url, language),
55661        main_quick_link: result.main_quick_link ? __spreadProps(__spreadValues({}, result.main_quick_link), {
55662          url: localizeUrl(result.main_quick_link.url, language)
55663        }) : void 0
55664      });
55665      handleResultNavigation = (url, navigate) => (event) => {
55666        if (event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || event.button !== 0) {
55667          return;
55668        }
55669        event.preventDefault();
55670        navigate(url);
55671      };
55672      buildDisplayedSections = (response, query, searchEndpoint, language, translations) => {
55673        const groupedResultsSections = [
55674          {
55675            key: "models",
55676            title: translations.search_section_models,
55677            limit: 3,
55678            showAll: true
55679          },
55680          {
55681            key: "series",
55682            title: translations.search_section_series,
55683            limit: 2,
55684            showAll: true
55685          },
55686          {
55687            key: "pages",
55688            title: translations.search_section_pages,
55689            limit: 1,
55690            showAll: false
55691          }
55692        ];
55693        const sections = response.exact_match ? groupedResultsSections.filter(({ key }) => key !== "series") : groupedResultsSections;
55694        return sections.map(({ key, title, limit, showAll }) => ({
55695          key,
55696          title,
55697          results: response[key].slice(0, limit).map((result) => localizeSearchResult(result, language)),
55698          showAllResultsUrl: showAll ? buildSectionResultsUrl(
55699            searchEndpoint,
55700            query,
55701            sectionResultsFilters[key]
55702          ) : null
55703        })).filter(({ results }) => results.length > 0);
55704      };
55705      hasDisplayedGroupedSections = (response) => response.models.length > 0 || response.pages.length > 0 || !response.exact_match && response.series.length > 0;
55706      EXACT_MATCH_OPTION_ID = "exact-match";
55707      ALL_RESULTS_OPTION_ID = "all-results";
55708      exactMatchUrl = (exactMatch) => {
55709        var _a4, _b;
55710        return exactMatch.type === "discontinued_model" ? (_b = (_a4 = exactMatch.item.discontinuation_info) == null ? void 0 : _a4.replacement) == null ? void 0 : _b.url : exactMatch.item.url;
55711      };
55712      navigableSearchItems = (response, query, searchEndpoint, language, translations, { includeAllResults }) => {
55713        const items = [];
55714        const exactMatchDestination = response.exact_match ? exactMatchUrl(response.exact_match) : void 0;
55715        if (exactMatchDestination) {
55716          items.push({
55717            id: EXACT_MATCH_OPTION_ID,
55718            url: localizeUrl(exactMatchDestination, language)
55719          });
55720        }
55721        buildDisplayedSections(
55722          response,
55723          query,
55724          searchEndpoint,
55725          language,
55726          translations
55727        ).forEach(
55728          (section) =>
55728 section.results.forEach((row) => items.push({ id: row.id, url: row.url }))
55729        );
55730        const allResultsUrl = buildSectionResultsUrl(searchEndpoint, query, {});
55731        if (includeAllResults && allResultsUrl) {
55732          items.push({ id: ALL_RESULTS_OPTION_ID, url: allResultsUrl });
55733        }
55734        return items;
55735      };
55736      SEARCH_OPTION_ID_PREFIX = "search-option-";
55737      searchOptionId = (resultId) => `${SEARCH_OPTION_ID_PREFIX}${resultId}`;
55738      resultIdFromOptionId = (optionId) => optionId.startsWith(SEARCH_OPTION_ID_PREFIX) ? optionId.slice(SEARCH_OPTION_ID_PREFIX.length) : void 0;
55739    }
55740  });
55741
55742  
55742// apps/base/javascript/search/searchResultsStyles.ts
55743  var resultsSectionStyles, exactMatchStyles, exactMatchFlushBottomStyles, exactMatchMainStyles, exactMatchImageStyles, exactMatchImageFallbackStyles, exactMatchContentStyles, exactMatchHeaderStyles, exactMatchTitleStyles, exactMatchDetailsStyles, descriptionStyles, visitLinkStyles, visitLinkIconStyles, discontinuationNoticeStyles, replacedByStyles, quickLinksStyles, quickLinkStyles, quickLinkIconStyles, groupedSectionStyles, sectionHeaderStyles, resultsListStyles, resultItemStyles, resultLinkStyles, resultSlotStyles, resultThumbnailStyles, resultThumbnailImageStyles, resultThumbnailFallbackStyles, resultIconStyles, resultTextStyles, mobileHiddenStyles, resultTitleStyles, highlightStyles, showAllResultsStyles, mainQuickLinkStyles, mainQuickLinkIconStyles, breadcrumbStyles, separatorIconStyles;
55744  var init_searchResultsStyles = __esm({
55745    "apps/base/javascript/search/searchResultsStyles.ts"() {
55746      "use strict";
55747      init_esbuild_shims();
55748      init_emotion_react_browser_esm();
55749      init_searchTokens();
55750      resultsSectionStyles = css`
55751  display: flex;
55752  flex-direction: column;
55753  gap: 2.5rem;
55754`;
55755      exactMatchStyles = css`
55756  box-sizing: border-box;
55757  display: flex;
55758  align-items: center;
55759  gap: 2rem;
55760  min-height: 13.6rem;
55761  margin: calc(var(--search-modal-results-padding, 1.5rem) * -1)
55762    calc(var(--search-modal-results-padding, 1.5rem) * -1) -1rem;
55763  padding: var(--search-modal-results-padding, 1.5rem);
55764  border-bottom: 1px solid ${searchTokens_default.colorDivider};
55765  background: ${searchTokens_default.colorFormBackground};
55766  transition: background-color 0.15s ease;
55767
55768  &[aria-selected='true'] {
55769    background: ${focusHighlightBackground};
55770  }
55771
55772  &[aria-selected='true'] .search-result-title {
55773    color: ${searchTokens_default.colorBrandBlue};
55774  }
55775
55776  @media (max-width: 768px) {
55777    flex-direction: column;
55778    align-items: stretch;
55779    gap: 2rem;
55780    padding-bottom: var(--search-modal-results-padding, 1.5rem);
55781  }
55782`;
55783      exactMatchFlushBottomStyles = css`
55784  margin-bottom: 0;
55785`;
55786      exactMatchMainStyles = css`
55787  display: flex;
55788  flex: 1 1 auto;
55789  align-items: flex-start;
55790  gap: 1.5rem;
55791  min-width: 0;
55792
55793  // Stacked layout: the row fills the width and the image moves to the right of
55794  // the text. A fixed basis would otherwise constrain the row's height here.
55795  @media (max-width: 768px) {
55796    flex: 1 1 auto;
55797    flex-direction: row-reverse;
55798    gap: 1rem;
55799  }
55800`;
55801      exactMatchImageStyles = css`
55802  flex: 0 0 7.3rem;
55803  width: 7.3rem;
55804  height: 7.3rem;
55805  background: ${searchTokens_default.colorWhite};
55806  object-fit: contain;
55807`;
55808      exactMatchImageFallbackStyles = css`
55809  display: flex;
55810  flex: 0 0 7.3rem;
55811  align-items: center;
55812  justify-content: center;
55813  width: 7.3rem;
55814  height: 7.3rem;
55815  background: ${searchTokens_default.colorWhite};
55816  color: ${searchTokens_default.colorTagGrey};
55817  font-size: 3rem;
55818`;
55819      exactMatchContentStyles = css`
55820  display: flex;
55821  flex: 1;
55822  flex-direction: column;
55823  gap: 0.3rem;
55824  min-width: 0;
55825
55826  @media (max-width: 768px) {
55827    gap: 0.2rem;
55828  }
55829`;
55830      exactMatchHeaderStyles = css`
55831  display: flex;
55832  flex-direction: column;
55833  gap: 0.2rem;
55834`;
55835      exactMatchTitleStyles = css`
55836  display: block;
55837  color: ${searchTokens_default.colorHeading};
55838  font-family: ${searchTokens_default.fontHeading};
55839  font-size: 1.7rem;
55840  line-height: 2.4rem;
55841  font-weight: 600;
55842  text-decoration: none;
55843
55844  // Hovering the card lights the whole surface; the underline is what marks the
55845  // title itself as the click target. Scoped so the unlinked variant stays inert.
55846  &[href]:hover {
55847    text-decoration: underline;
55848  }
55849
55850  @media (max-width: 768px) {
55851    font-size: 1.5rem;
55852    line-height: 2.2rem;
55853  }
55854`;
55855      exactMatchDetailsStyles = css`
55856  display: flex;
55857  flex-direction: column;
55858  align-items: flex-start;
55859  gap: 1rem;
55860  margin-top: 0.5rem;
55861
55862  @media (max-width: 768px) {
55863    gap: 0.2rem;
55864    margin-top: 0;
55865  }
55866`;
55867      descriptionStyles = css`
55868  margin: 0;
55869  color: ${searchTokens_default.colorBlack};
55870  font-size: 1.3rem;
55871  line-height: 2.2rem;
55872  // Clamp to 4 lines so a long description can't make the modal too tall.
55873  display: -webkit-box;
55874  -webkit-box-orient: vertical;
55875  -webkit-line-clamp: 4;
55876  overflow: hidden;
55877`;
55878      visitLinkStyles = css`
55879  display: inline-flex;
55880  align-items: center;
55881  gap: 0.8rem;
55882  color: ${searchTokens_default.colorBrandBlue};
55883  font-size: 1.3rem;
55884  line-height: 2.2rem;
55885  font-weight: 600;
55886  text-decoration: none;
55887
55888  &:hover {
55889    text-decoration: underline;
55890  }
55891`;
55892      visitLinkIconStyles = css`
55893  font-size: 1.2rem;
55894`;
55895      discontinuationNoticeStyles = css`
55896  margin: 0;
55897  color: ${searchTokens_default.colorBlack};
55898  font-size: 1.3rem;
55899  line-height: 2.2rem;
55900  font-weight: 600;
55901`;
55902      replacedByStyles = css`
55903  display: flex;
55904  align-items: center;
55905  gap: 0.5rem;
55906  color: ${searchTokens_default.colorBlack};
55907  font-size: 1.3rem;
55908  line-height: 2.2rem;
55909`;
55910      quickLinksStyles = css`
55911  display: flex;
55912  flex: 0 0 auto;
55913  flex-direction: column;
55914  justify-content: center;
55915  gap: 0.3rem;
55916  min-height: 10.6rem;
55917  padding-right: 4rem;
55918
55919  @media (max-width: 768px) {
55920    gap: 0.5rem;
55921    min-height: 0;
55922    padding-right: 0;
55923  }
55924`;
55925      quickLinkStyles = css`
55926  display: flex;
55927  align-items: center;
55928  gap: 1rem;
55929  color: ${searchTokens_default.colorBrandBlue};
55930  font-size: 1.3rem;
55931  line-height: 2.2rem;
55932  text-decoration: none;
55933
55934  &:hover {
55935    text-decoration: underline;
55936  }
55937`;
55938      quickLinkIconStyles = css`
55939  display: inline-flex;
55940  align-items: center;
55941  justify-content: center;
55942  width: 2.5rem;
55943  height: 2.2rem;
55944  color: ${searchTokens_default.colorBodyText};
55945  font-size: 1.4rem;
55946
55947  svg {
55948    margin: 0;
55949  }
55950`;
55951      groupedSectionStyles = css`
55952  display: flex;
55953  flex-direction: column;
55954`;
55955      sectionHeaderStyles = css`
55956  display: flex;
55957  align-items: center;
55958  justify-content: space-between;
55959  padding-bottom: 1rem;
55960
55961  h3 {
55962    margin: 0;
55963    // Inherit the body font (Roboto); headings otherwise default to Open Sans.
55964    font-family: inherit;
55965    color: ${searchTokens_default.colorBodyText};
55966    font-size: 1.2rem;
55967    line-height: 1.6rem;
55968    font-weight: 700;
55969    letter-spacing: 0.046rem;
55970    text-transform: uppercase;
55971  }
55972`;
55973      resultsListStyles = css`
55974  display: flex;
55975  flex-direction: column;
55976  gap: 1rem;
55977`;
55978      resultItemStyles = css`
55979  display: flex;
55980  align-items: center;
55981  justify-content: space-between;
55982  gap: 1.5rem;
55983
55984  // Horizontal padding matches the results container so the focus highlight
55985  // bleeds edge to edge. Vertical padding fills half the inter-row gap on each
55986  // side, so adjacent rows' hit areas touch and the pointer stays a hand across
55987  // the whole section. Negative margins cancel both back to the original spacing.
55988  padding: 0.5rem var(--search-modal-results-padding, 1.5rem);
55989  margin: -0.5rem calc(var(--search-modal-results-padding, 1.5rem) * -1);
55990  cursor: pointer;
55991  transition: background-color 0.15s ease;
55992
55993  &[aria-selected='true'] {
55994    background: ${focusHighlightBackground};
55995  }
55996
55997  // opacity (not display) keeps the row height stable when revealed.
55998  .main-quick-link {
55999    opacity: 0;
56000    transition: opacity 0.15s ease;
56001  }
56002
56003  &[aria-selected='true'] .main-quick-link,
56004  .main-quick-link:focus-visible {
56005    opacity: 1;
56006  }
56007
56008  @media (max-width: 768px) {
56009    .main-quick-link {
56010      display: none;
56011    }
56012  }
56013`;
56014      resultLinkStyles = css`
56015  display: flex;
56016  flex: 1;
56017  align-items: center;
56018  gap: 1rem;
56019  min-width: 0;
56020  color: inherit;
56021  text-decoration: none;
56022`;
56023      resultSlotStyles = css`
56024  display: flex;
56025  flex: 0 0 3.5rem;
56026  align-items: center;
56027  justify-content: center;
56028  width: 3.5rem;
56029  height: 3.5rem;
56030
56031  @media (max-width: 768px) {
56032    flex: 0 0 2.5rem;
56033    width: 2.5rem;
56034    height: 2.5rem;
56035  }
56036`;
56037      resultThumbnailStyles = css`
56038  ${resultSlotStyles}
56039  overflow: hidden;
56040  background: ${searchTokens_default.colorWhite};
56041`;
56042      resultThumbnailImageStyles = css`
56043  max-width: 100%;
56044  max-height: 100%;
56045  object-fit: contain;
56046`;
56047      resultThumbnailFallbackStyles = css`
56048  display: flex;
56049  align-items: center;
56050  justify-content: center;
56051  width: 100%;
56052  height: 100%;
56053  color: ${searchTokens_default.colorTagGrey};
56054  font-size: 1.6rem;
56055`;
56056      resultIconStyles = css`
56057  ${resultSlotStyles}
56058  color: ${searchTokens_default.colorBodyText};
56059  font-size: 1.5rem;
56060
56061  @media (max-width: 768px) {
56062    font-size: 1.4rem;
56063  }
56064`;
56065      resultTextStyles = css`
56066  display: flex;
56067  flex-direction: column;
56068  gap: 0.2rem;
56069  min-width: 0;
56070`;
56071      mobileHiddenStyles = css`
56072  @media (max-width: 768px) {
56073    display: none;
56074  }
56075`;
56076      resultTitleStyles = css`
56077  color: ${searchTokens_default.colorBodyText};
56078  font-size: 1.5rem;
56079  line-height: 2.4rem;
56080  font-weight: 400;
56081
56082  @media (max-width: 768px) {
56083    font-size: 1.4rem;
56084    line-height: 2.2rem;
56085  }
56086`;
56087      highlightStyles = css`
56088  font-weight: 700;
56089  color: inherit;
56090
56091  @media (max-width: 768px) {
56092    font-size: 1.5rem;
56093    line-height: 2.4rem;
56094  }
56095`;
56096      showAllResultsStyles = css`
56097  flex: 0 0 auto;
56098  color: ${searchTokens_default.colorBrandBlue};
56099  font-size: 1.2rem;
56100  line-height: 1.6rem;
56101  font-weight: 400;
56102  text-decoration: none;
56103
56104  &:hover {
56105    text-decoration: underline;
56106  }
56107`;
56108      mainQuickLinkStyles = css`
56109  display: flex;
56110  flex: 0 0 auto;
56111  align-items: center;
56112  gap: 1rem;
56113  color: ${searchTokens_default.colorBrandBlue};
56114  font-size: 1.2rem;
56115  line-height: 1.8rem;
56116  font-weight: 400;
56117  text-decoration: none;
56118
56119  &:hover {
56120    text-decoration: underline;
56121  }
56122`;
56123      mainQuickLinkIconStyles = css`
56124  color: ${searchTokens_default.colorBodyText};
56125  font-size: 1.4rem;
56126`;
56127      breadcrumbStyles = css`
56128  display: flex;
56129  align-items: center;
56130  gap: 0.45rem;
56131  min-width: 0;
56132  color: ${searchTokens_default.colorTagGrey};
56133  font-size: 1.2rem;
56134  line-height: 1.6rem;
56135
56136  span {
56137    overflow: hidden;
56138    text-overflow: ellipsis;
56139    white-space: nowrap;
56140  }
56141`;
56142      separatorIconStyles = css`
56143  flex: 0 0 auto;
56144  color: ${searchTokens_default.colorTagGrey};
56145  font-size: 1.2rem;
56146`;
56147    }
56148  });
56149
56150  
56150// apps/base/javascript/search/SearchResults.tsx
56151  var import_react30, localizeUrl2, localizeQuickLink, localizeExactMatchItem, formatDiscontinuedDate, buildProductionEndedNotice, buildHighlightPattern, SearchResults, ProductImage, ExactMatchResult, quickLinkIcons, quickLinkAnchorProps, QuickLinks, GroupedResults, ResultThumbnail, ResultRow, Breadcrumbs2, highlightMatch, SearchResults_default;
56152  var init_SearchResults = __esm({
56153    "apps/base/javascript/search/SearchResults.tsx"() {
56154      "use strict";
56155      init_esbuild_shims();
56156      init_emotion_react_browser_esm();
56157      import_react30 = __toESM(require_react());
56158      init_index_es();
56159      init_pro_regular_svg_icons();
56160      init_searchResultsUtils();
56161      init_searchResultsStyles();
56162      localizeUrl2 = (url, language) => {
56163        if (!url.startsWith("/") || url.startsWith("//")) return url;
56164        if (url === `/${language}` || url.startsWith(`/${language}/`)) return url;
56165        return `/${language}${url}`;
56166      };
56167      localizeQuickLink = (quickLink, language) => __spreadProps(__spreadValues({}, quickLink), {
56168        url: localizeUrl2(quickLink.url, language)
56169      });
56170      localizeExactMatchItem = (item, language) => {
56171        var _a4;
56172        return __spreadProps(__spreadValues({}, item), {
56173          url: localizeUrl2(item.url, language),
56174          quick_links: ((_a4 = item.quick_links) != null ? _a4 : []).map(
56175            (q) => localizeQuickLink(q, language)
56176          ),
56177          discontinuation_info: item.discontinuation_info ? __spreadProps(__spreadValues({}, item.discontinuation_info), {
56178            replacement: item.discontinuation_info.replacement ? localizeExactMatchItem(
56179              item.discontinuation_info.replacement,
56180              language
56181            ) : void 0
56182          }) : void 0
56183        });
56184      };
56185      formatDiscontinuedDate = (isoDate, language) => {
56186        const match2 = /^(\d{4})-(\d{2})-(\d{2})$/.exec(isoDate);
56187        if (match2) {
56188          const year = Number(match2[1]);
56189          const month = Number(match2[2]);
56190          const day = Number(match2[3]);
56191          const date = new Date(Date.UTC(year, month - 1, day));
56192          if (date.getUTCFullYear() === year && date.getUTCMonth() === month - 1 && date.getUTCDate() === day) {
56193            return new Intl.DateTimeFormat(language, {
56194              day: "numeric",
56195              month: "long",
56196              year: "numeric",
56197              timeZone: "UTC"
56198            }).format(date);
56199          }
56200        }
56201        console.warn(`Invalid discontinuation date: ${isoDate}`);
56202        return null;
56203      };
56204      buildProductionEndedNotice = (template, formattedDate) => {
56205        if (!template.includes("[date]")) {
56206          console.warn(
56207            `search_production_ended is missing the [date] placeholder: "${template}"`
56208          );
56209          return null;
56210        }
56211        return template.replace("[date]", formattedDate);
56212      };
56213      buildHighlightPattern = (query) => {
56214        const trimmed = query.trim();
56215        if (!trimmed) return null;
56216        const escaped = trimmed.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
56217        return {
56218          regex: new RegExp(`(${escaped})`, "ig")
56219        };
56220      };
56221      SearchResults = ({
56222        response,
56223        query,
56224        onResultClick,
56225        searchEndpoint,
56226        language,
56227        translations,
56228        activeResultId
56229      }) => {
56230        const quickLinkLabels = import_react30.default.useMemo(
56231          () => ({
56232            brochure: translations.quick_link_brochure,
56233            datasheet: translations.quick_link_datasheet,
56234            cad: translations.quick_link_cad,
56235            eplan: translations.quick_link_eplan,
56236            other: translations.quick_link_download
56237          }),
56238          [
56239            translations.quick_link_brochure,
56240            translations.quick_link_cad,
56241            translations.quick_link_datasheet,
56242            translations.quick_link_download,
56243            translations.quick_link_eplan
56244          ]
56245        );
56246        const mainQuickLinkLabels = import_react30.default.useMemo(
56247          () => ({
56248            brochure: translations.download_brochure,
56249            datasheet: translations.download_datasheet
56250          }),
56251          [translations.download_brochure, translations.download_datasheet]
56252        );
56253        const highlightPattern = import_react30.default.useMemo(
56254          () => buildHighlightPattern(query),
56255          [query]
56256        );
56257        const localizedExactMatch = import_react30.default.useMemo(
56258          () => response.exact_match ? __spreadProps(__spreadValues({}, response.exact_match), {
56259            item: localizeExactMatchItem(response.exact_match.item, language)
56260          }) : null,
56261          [response.exact_match, language]
56262        );
56263        const displayedSections = import_react30.default.useMemo(
56264          () => buildDisplayedSections(
56265            response,
56266            query,
56267            searchEndpoint,
56268            language,
56269            translations
56270          ),
56271          [response, query, searchEndpoint, language, translations]
56272        );
56273        return /* @__PURE__ */ jsx("div", { css: resultsSectionStyles, role: "listbox", id: "search-modal-listbox" }, localizedExactMatch && /* @__PURE__ */ jsx(
56274          ExactMatchResult,
56275          {
56276            exactMatch: localizedExactMatch,
56277            highlightPattern,
56278            onResultClick,
56279            quickLinkLabels,
56280            language,
56281            translations,
56282            flushBottom: displayedSections.length === 0,
56283            isActive: activeResultId === EXACT_MATCH_OPTION_ID
56284          }
56285        ), displayedSections.length > 0 && /* @__PURE__ */ jsx("div", { css: resultsSectionStyles }, displayedSections.map(
56286          ({ key, title, results, showAllResultsUrl }) => /* @__PURE__ */ jsx(
56287            GroupedResults,
56288            {
56289              key,
56290              title,
56291              results,
56292              onResultClick,
56293              highlightPattern,
56294              mainQuickLinkLabels,
56295              showAllResultsUrl,
56296              showAllResultsLabel: translations.search_show_all_results,
56297              activeResultId
56298            }
56299          )
56300        )));
56301      };
56302      ProductImage = ({ src, imageStyles, fallbackStyles }) => {
56303        const [failed, setFailed] = import_react30.default.useState(false);
56304        import_react30.default.useEffect(() => setFailed(false), [src]);
56305        if (!src || failed) {
56306          return /* @__PURE__ */ jsx("span", { css: fallbackStyles }
56306, /* @__PURE__ */ jsx(FontAwesomeIcon, { icon: faMicrochip }));
56307        }
56308        return /* @__PURE__ */ jsx(
56309          "img",
56310          {
56311            src,
56312            alt: "",
56313            css: imageStyles,
56314            loading: "lazy",
56315            onError: () => setFailed(true)
56316          }
56317        );
56318      };
56319      ExactMatchResult = import_react30.default.memo(function ExactMatchResult2({
56320        exactMatch,
56321        highlightPattern,
56322        onResultClick,
56323        quickLinkLabels,
56324        language,
56325        translations,
56326        flushBottom = false,
56327        isActive = false
56328      }) {
56329        var _a4;
56330        const item = exactMatch.item;
56331        const discontinuationInfo = item.discontinuation_info;
56332        const replacement = discontinuationInfo == null ? void 0 : discontinuationInfo.replacement;
56333        const quickLinks = (_a4 = item.quick_links) != null ? _a4 : [];
56334        const isDiscontinued = exactMatch.type === "discontinued_model";
56335        const discontinuedDate = isDiscontinued && (discontinuationInfo == null ? void 0 : discontinuationInfo.discontinued_at) ? formatDiscontinuedDate(discontinuationInfo.discontinued_at, language) : null;
56336        const productionEndedNotice = discontinuedDate ? buildProductionEndedNotice(
56337          translations.search_production_ended,
56338          discontinuedDate
56339        ) : null;
56340        const highlightedTitle = import_react30.default.useMemo(
56341          () => highlightMatch(item.title, highlightPattern),
56342          [highlightPattern, item.title]
56343        );
56344        const titleUrl = exactMatchUrl(exactMatch);
56345        const visitLabel = exactMatch.type === "series" ? translations.search_visit_series : exactMatch.type === "model" ? translations.search_visit_product : null;
56346        return /* @__PURE__ */ jsx(
56347          "section",
56348          {
56349            css: [exactMatchStyles, flushBottom && exactMatchFlushBottomStyles],
56350            "data-search-modal-state": exactMatch.type,
56351            id: searchOptionId(EXACT_MATCH_OPTION_ID),
56352            role: "option",
56353            "aria-selected": isActive
56354          },
56355          /* @__PURE__ */ jsx("div", { css: exactMatchMainStyles }, /* @__PURE__ */ jsx(
56356            ProductImage,
56357            {
56358              src: item.image_url,
56359              imageStyles: exactMatchImageStyles,
56360              fallbackStyles: exactMatchImageFallbackStyles
56361            }
56362          ), /* @__PURE__ */ jsx("div", { css: exactMatchContentStyles }, /* @__PURE__ */ jsx("div", { css: exactMatchHeaderStyles }, titleUrl ? /* @__PURE__ */ jsx(
56363            "a",
56364            {
56365              href: titleUrl,
56366              css: exactMatchTitleStyles,
56367              className: "search-result-title",
56368              onClick: handleResultNavigation(titleUrl, onResultClick)
56369            },
56370            highlightedTitle
56371          ) : /* @__PURE__ */ jsx("span", { css: exactMatchTitleStyles, className: "search-result-title" }, highlightedTitle), /* @__PURE__ */ jsx(Breadcrumbs2, { breadcrumbs: item.breadcrumbs, hiddenOnMobile: true })), /* @__PURE__ */ jsx("div", { css: exactMatchDetailsStyles }, item.description && !isDiscontinued && /* @__P
56371URE__ */ jsx("p", { css: descriptionStyles }, item.description), isDiscontinued && discontinuationInfo && /* @__PURE__ */ jsx(import_react30.default.Fragment, null, /* @__PURE__ */ jsx("p", { css: discontinuationNoticeStyles }, translations.search_discontinued_notice, productionEndedNotice && ` ${productionEndedNotice}`), replacement && /* @__PURE__ */ jsx("div", { css: replacedByStyles }, /* @__PURE__ */ jsx("span", null, translations.search_replaced_by), /* @__PURE__ */ jsx(
56372            "a",
56373            {
56374              href: replacement.url,
56375              css: visitLinkStyles,
56376              onClick: handleResultNavigation(
56377                replacement.url,
56378                onResultClick
56379              )
56380            },
56381            replacement.title,
56382            /* @__PURE__ */ jsx(
56383              FontAwesomeIcon,
56384              {
56385                icon: faArrowRight2,
56386                css: visitLinkIconStyles
56387              }
56388            )
56389          ))), visitLabel && /* @__PURE__ */ jsx(
56390            "a",
56391            {
56392              href: item.url,
56393              css: visitLinkStyles,
56394              onClick: handleResultNavigation(item.url, onResultClick)
56395            },
56396            visitLabel,
56397            /* @__PURE__ */ jsx(
56398              FontAwesomeIcon,
56399              {
56400                icon: faArrowRight2,
56401                css: visitLinkIconStyles
56402              }
56403            )
56404          )))),
56405          quickLinks.length > 0 && /* @__PURE__ */ jsx(QuickLinks, { quickLinks, quickLinkLabels })
56406        );
56407      });
56408      quickLinkIcons = {
56409        brochure: faFilePdf,
56410        datasheet: faFilePdf,
56411        cad: faCompassDrafting,
56412        eplan: faGear,
56413        other: faFileLines
56414      };
56415      quickLinkAnchorProps = (quickLink) => {
56416        var _a4;
56417        const opensInNewTab = (_a4 = quickLink.opens_in_new_tab) != null ? _a4 : quickLink.type === "brochure" || quickLink.type === "datasheet";
56418        return opensInNewTab ? { target: "_blank", rel: "noopener noreferrer" } : {};
56419      };
56420      QuickLinks = ({
56421        quickLinks,
56422        quickLinkLabels
56423      }) => /* @__PURE__ */ jsx("div", { css: quickLinksStyles }, quickLinks.map((quickLink) => /* @__PURE__ */ jsx(
56424        "a",
56425        __spreadValues({
56426          key: `${quickLink.type}-${quickLink.url}`,
56427          href: quickLink.url,
56428          css: quickLinkStyles
56429        }, quickLinkAnchorProps(quickLink)),
56430        /* @__PURE__ */ jsx("span", { css: quickLinkIconStyles }, /* @__PURE__ */ jsx(FontAwesomeIcon, { icon: quickLinkIcons[quickLink.type], fixedWidth: true })),
56431        quickLinkLabels[quickLink.type]
56432      )));
56433      GroupedResults = import_react30.default.memo(function GroupedResults2({
56434        title,
56435        results,
56436        onResultClick,
56437        highlightPattern,
56438        mainQuickLinkLabels,
56439        showAllResultsUrl,
56440        showAllResultsLabel,
56441        activeResultId
56442      }) {
56443        return /* @__PURE__ */ jsx("section", { css: groupedSectionStyles }, /* @__PURE__ */ jsx("div", { css: sectionHeaderStyles }, /* @__PURE__ */ jsx("h3", null, title), showAllResultsUrl && /* @__PURE__ */ jsx(
56444          "a",
56445          {
56446            href: showAllResultsUrl,
56447            css: showAllResultsStyles,
56448            onClick: handleResultNavigation(showAllResultsUrl, onResultClick)
56449          },
56450          showAllResultsLabel
56451        )), /* @__PURE__ */ jsx("div", { css: resultsListStyles }, results.map((result) => /* @__PURE__ */ jsx(
56452          ResultRow,
56453          {
56454            key: result.id,
56455            result,
56456            onResultClick,
56457            highlightPattern,
56458            mainQuickLinkLabels,
56459            isActive: result.id === activeResultId
56460          }
56461        ))));
56462      });
56463      ResultThumbnail = import_react30.default.memo(function ResultThumbnail2({
56464        result
56465      }) {
56466        if (result.kind === "page") {
56467          return /* @__PURE__ */ jsx("span", { css: resultIconStyles }, /* @__PURE__ */ jsx(FontAwesomeIcon, { icon: faFileLines }));
56468        }
56469        return /* @__PURE__ */ jsx("span", { css: resultThumbnailStyles }, /* @__PURE__ */ jsx(
56470          ProductImage,
56471          {
56472            src: result.image_url,
56473            imageStyles: resultThumbnailImageStyles,
56474            fallbackStyles: resultThumbnailFallbackStyles
56475          }
56476        ));
56477      });
56478      ResultRow = import_react30.default.memo(function ResultRow2({
56479        result,
56480        onResultClick,
56481        highlightPattern,
56482        mainQuickLinkLabels,
56483        isActive = false
56484      }) {
56485        const highlightedTitle = import_react30.default.useMemo(
56486          () => highlightMatch(result.title, highlightPattern),
56487          [highlightPattern, result.title]
56488        );
56489        return /* @__PURE__ */ jsx(
56490          "div",
56491          {
56492            css: resultItemStyles,
56493            id: searchOptionId(result.id),
56494            role: "option",
56495            "aria-selected": isActive
56496          },
56497          /* @__PURE__ */ jsx(
56498            "a",
56499            {
56500              href: result.url,
56501              css: resultLinkStyles,
56502              onClick: handleResultNavigation(result.url, onResultClick)
56503            },
56504            /* @__PURE__ */ jsx(ResultThumbnail, { result }),
56505            /* @__PURE__ */ jsx("div", { css: resultTextStyles }, /* @__PURE__ */ jsx("span", { css: resultTitleStyles }, highlightedTitle), /* @__PURE__ */ jsx(Breadcrumbs2, { breadcrumbs: result.breadcrumbs, hiddenOnMobile: true }))
56506          ),
56507          result.main_quick_link && mainQuickLinkLabels[result.main_quick_link.type] && /* @__PURE__ */ jsx(
56508            "a",
56509            __spreadValues({
56510              href: result.main_quick_link.url,
56511              css: mainQuickLinkStyles,
56512              className: "main-quick-link"
56513            }, quickLinkAnchorProps(result.main_quick_link)),
56514            /* @__PURE__ */ jsx(FontAwesomeIcon, { icon: faFilePdf, css: mainQuickLinkIconStyles }),
56515            mainQuickLinkLabels[result.main_quick_link.type]
56516          )
56517        );
56518      });
56519      Breadcrumbs2 = import_react30.default.memo(function Breadcrumbs3({
56520        breadcrumbs,
56521        hiddenOnMobile = false
56522      }) {
56523        if (!breadcrumbs || breadcrumbs.length === 0) return null;
56524        return /* @__PURE__ */ jsx("div", { css: [breadcrumbStyles, hiddenOnMobile && mobileHiddenStyles] }, breadcrumbs.map((breadcrumb, index2) => (
56525          // Breadcrumbs are positional path segments; index keys are stable and sufficient.
56526          /* @__PURE__ */ jsx(import_react30.default.Fragment, { key: index2 }, /* @__PURE__ */ jsx("span", null, breadcrumb), index2 < breadcrumbs.length - 1 && /* @__PURE__ */ jsx(FontAwesomeIcon, { icon: faAngleRight2, css: separatorIconStyles }))
56527        )));
56528      });
56529      highlightMatch = (text2, pattern) => {
56530        if (!pattern) return text2;
56531        const segments = text2.split(pattern.regex);
56532        return segments.map(
56533          (segment, index2) => index2 % 2 === 1 ? /* @__PURE__ */ jsx("strong", { key: index2, css: highlightStyles }, segment) : /* @__PURE__ */ jsx(import_react30.default.Fragment, { key: index2 }, segment)
56534        );
56535      };
56536      SearchResults_default = import_react30.default.memo(SearchResults);
56537    }
56538  });
56539
56540  
56540// apps/base/javascript/search/SearchSummary.tsx
56541  var SearchSummary, SearchSummaryRow, searchSummarySectionStyles, searchSummarySectionFlushTopStyles, searchSummaryRowStyles, searchSummaryLabelStyles, searchSummaryIconStyles, enterHintStyles, SearchSummary_default;
56542  var init_SearchSummary = __esm({
56543    "apps/base/javascript/search/SearchSummary.tsx"() {
56544      "use strict";
56545      init_esbuild_shims();
56546      init_emotion_react_browser_esm();
56547      init_index_es();
56548      init_pro_regular_svg_icons();
56549      init_searchTokens();
56550      init_searchResultsUtils();
56551      SearchSummary = ({
56552        query,
56553        url,
56554        resultsShown,
56555        translations,
56556        flushTop = false,
56557        isActive,
56558        showEnterHint = true,
56559        onClick
56560      }) => (
56561        // When results are visible, the summary needs its own full-bleed section
56562        // wrapper; otherwise the same row can render inline below the no-results copy.
56563        resultsShown ? /* @__PURE__ */ jsx(
56564          "div",
56565          {
56566            css: [
56567              searchSummarySectionStyles,
56568              flushTop && searchSummarySectionFlushTopStyles
56569            ]
56570          },
56571          /* @__PURE__ */ jsx(
56572            SearchSummaryRow,
56573            {
56574              query,
56575              url,
56576              translations,
56577              isActive,
56578              showEnterHint,
56579              onClick
56580            }
56581          )
56582        ) : /* @__PURE__ */ jsx(
56583          SearchSummaryRow,
56584          {
56585            query,
56586            url,
56587            translations,
56588            isActive,
56589            showEnterHint,
56590            onClick
56591          }
56592        )
56593      );
56594      SearchSummaryRow = ({
56595        query,
56596        url,
56597        translations,
56598        isActive = false,
56599        showEnterHint = true,
56600        onClick
56601      }) => {
56602        return (
56603          // A real anchor so modifier/middle clicks open the full results in a new tab;
56604          // plain left-clicks fall through to in-app navigation via handleResultNavigation.
56605          /* @__PURE__ */ jsx(
56606            "a",
56607            {
56608              css: searchSummaryRowStyles,
56609              href: url,
56610              onClick: onClick && handleResultNavigation(url, onClick),
56611              id: searchOptionId(ALL_RESULTS_OPTION_ID),
56612              role: "option",
56613              "aria-selected": isActive
56614            },
56615            /* @__PURE__ */ jsx("span", { css: searchSummaryLabelStyles }, /* @__PURE__ */ jsx("span", { css: searchSummaryIconStyles }, /* @__PURE__ */ jsx(FontAwesomeIcon, { icon: faSearch })), /* @__PURE__ */ jsx("span", null, translations.all_search_results_for, " ", query)),
56616            showEnterHint && /* @__PURE__ */ jsx("kbd", { css: enterHintStyles }, "enter")
56617          )
56618        );
56619      };
56620      searchSummarySectionStyles = css`
56621  // Defined by SearchModal's results container; fallback keeps isolated renders aligned.
56622  margin: var(--search-modal-results-padding, 1.5rem)
56623    calc(var(--search-modal-results-padding, 1.5rem) * -1)
56624    calc(var(--search-modal-results-padding, 1.5rem) * -1);
56625  padding: var(--search-modal-results-padding, 1.5rem);
56626  border-top: 1px solid ${searchTokens_default.colorDivider};
56627  // Same easing as the row inside it: both surfaces carry the wash, so without
56628  // this the block would drop out instantly and leave the row strip lit alone.
56629  transition: background-color 0.15s ease;
56630
56631  // Highlighting the row fills the entire block, not just the row strip.
56632  &:has([aria-selected='true']) {
56633    background: ${focusHighlightBackground};
56634  }
56635`;
56636      searchSummarySectionFlushTopStyles = css`
56637  // Exact-match-only results already end with the rich-card divider. Remove the
56638  // grouped-results spacer and avoid drawing a second divider on top of it.
56639  margin-top: 0;
56640  border-top: 0;
56641`;
56642      searchSummaryRowStyles = css`
56643  display: flex;
56644  align-items: center;
56645  justify-content: space-between;
56646  gap: 1rem;
56647  height: 4rem;
56648  // Horizontal padding matches the results container so the focus highlight
56649  // bleeds edge to edge.
56650  padding: 0 var(--search-modal-results-padding, 1.5rem);
56651  margin: 0 calc(var(--search-modal-results-padding, 1.5rem) * -1);
56652  text-decoration: none;
56653  color: inherit;
56654  cursor: pointer;
56655  transition: background-color 0.15s ease;
56656
56657  &[aria-selected='true'] {
56658    background: ${focusHighlightBackground};
56659  }
56660`;
56661      searchSummaryLabelStyles = css`
56662  display: flex;
56663  align-items: center;
56664  gap: 1rem;
56665  min-width: 0;
56666  color: ${searchTokens_default.colorBodyText};
56667  font-size: 1.5rem;
56668  line-height: 2.4rem;
56669
56670  > span:last-of-type {
56671    overflow: hidden;
56672    text-overflow: ellipsis;
56673    white-space: nowrap;
56674  }
56675
56676  // Match the mobile grouped-result row: this is the only place the summary
56677  // shows on mobile (the empty-results affordance).
56678  @media (max-width: 768px) {
56679    font-size: 1.4rem;
56680    line-height: 2.2rem;
56681  }
56682`;
56683      searchSummaryIconStyles = css`
56684  display: flex;
56685  flex: 0 0 3.5rem;
56686  align-items: center;
56687  justify-content: center;
56688  width: 3.5rem;
56689  height: 3.5rem;
56690  color: ${searchTokens_default.colorBodyText};
56691  font-size: 1.5rem;
56692
56693  // Match the mobile grouped-result icon slot (e.g. the pages section).
56694  @media (max-width: 768px) {
56695    flex: 0 0 2.5rem;
56696    width: 2.5rem;
56697    height: 2.5rem;
56698    font-size: 1.4rem;
56699  }
56700`;
56701      enterHintStyles = css`
56702  flex: 0 0 auto;
56703  padding: 0.2rem 0.6rem;
56704  border: 0.5px solid ${searchTokens_default.colorKeyboardBorder};
56705  border-radius: 0.4rem;
56706  font-family: inherit;
56707  font-size: 1.1rem;
56708  line-height: 1.6rem;
56709  color: ${searchTokens_default.colorBodyText};
56710  background: ${searchTokens_default.colorKeyboardHighlight};
56711
56712  @media (max-width: 768px) {
56713    display: none;
56714  }
56715`;
56716      SearchSummary_default = SearchSummary;
56717    }
56718  });
56719
56720  
56720// apps/base/javascript/search/useIsMobile.ts
56721  var import_react32, mobileMediaQuery, useIsMobile, useIsMobile_default;
56722  var init_useIsMobile = __esm({
56723    "apps/base/javascript/search/useIsMobile.ts"() {
56724      "use strict";
56725      init_esbuild_shims();
56726      import_react32 = __toESM(require_react());
56727      mobileMediaQuery = "(max-width: 768px)";
56728      useIsMobile = () => {
56729        const [isMobile, setIsMobile] = (0, import_react32.useState)(
56730          () => typeof window !== "undefined" && window.matchMedia(mobileMediaQuery).matches
56731        );
56732        (0, import_react32.useEffect)(() => {
56733          var _a4;
56734          const mq = window.matchMedia(mobileMediaQuery);
56735          const update2 = () => setIsMobile(mq.matches);
56736          update2();
56737          (_a4 = mq.addEventListener) == null ? void 0 : _a4.call(mq, "change", update2);
56738          return () => {
56739            var _a5;
56740            return (_a5 = mq.removeEventListener) == null ? void 0 : _a5.call(mq, "change", update2);
56741          };
56742        }, []);
56743        return isMobile;
56744      };
56745      useIsMobile_default = useIsMobile;
56746    }
56747  });
56748
56749  
56749// apps/base/javascript/search/SearchModal.tsx
56750  var import_react34, import_react_modal3, NO_HIGHLIGHT, hasSearchResults, SearchModal, searchModalStyles, mobileSearchModalStyles, modalContentStyles, pageNavigationLoadingStyles, pageNavigationSpinnerStyles, resultsContainerStyles, loadingStyles, resultsRefreshStyles, resultsRefreshingStyles, SearchModal_default;
56751  var init_SearchModal = __esm({
56752    "apps/base/javascript/search/SearchModal.tsx"() {
56753      "use strict";
56754      init_esbuild_shims();
56755      init_emotion_react_browser_esm();
56756      import_react34 = __toESM(require_react());
56757      import_react_modal3 = __toESM(require_lib5());
56758      init_SearchInput();
56759      init_SearchResults();
56760      init_searchResultsUtils();
56761      init_SearchSummary();
56762      init_GlobalSearchProvider();
56763      init_searchTokens();
56764      init_useIsMobile();
56765      init_index_es();
56766      init_pro_regular_svg_icons();
56767      NO_HIGHLIGHT = { source: "pointer", index: -1 };
56768      hasSearchResults = (response) => !!response && (!!response.exact_match || response.models.length > 0 || response.series.length > 0 || response.pages.length > 0);
56769      SearchModal = ({
56770        isOpen,
56771        onClose,
56772        searchEndpoint,
56773        language,
56774        initialQuery = "",
56775        translations
56776      }) => {
56777        var _a4;
56778        const { searchState, setQuery, performSearch } = useGlobalSearchContext();
56779        const inputRef = (0, import_react34.useRef)(null);
56780        const overlayMouseDownStartedRef = (0, import_react34.useRef)(false);
56781        const isMobile = useIsMobile_default();
56782        const [pageNavigationPending, setPageNavigationPending] 
56782= (0, import_react34.useState)(false);
56783        (0, import_react34.useEffect)(() => {
56784          if (initialQuery && initialQuery !== searchState.query) {
56785            setQuery(initialQuery);
56786            if (initialQuery.length >= 2) {
56787              performSearch(initialQuery);
56788            }
56789          }
56790        }, [initialQuery, setQuery, performSearch, searchState.query]);
56791        const debouncedSearch = (0, import_react34.useCallback)(
56792          (query) => {
56793            performSearch(query);
56794          },
56795          [performSearch]
56796        );
56797        (0, import_react34.useEffect)(() => {
56798          const clearNavigationPending = () => setPageNavigationPending(false);
56799          clearNavigationPending();
56800          window.addEventListener("pageshow", clearNavigationPending);
56801          return () => window.removeEventListener("pageshow", clearNavigationPending);
56802        }, []);
56803        const handleClose = (0, import_react34.useCallback)(() => {
56804          try {
56805            const parallaxSlider = document.querySelector(".parallax-slider");
56806            if (parallaxSlider && parallaxSlider._parallaxSlider && typeof parallaxSlider._parallaxSlider.startAutoplay === "function") {
56807              parallaxSlider._parallaxSlider.startAutoplay();
56808            }
56809          } catch (error) {
56810            console.warn("Parallax slider resume failed:", error);
56811          }
56812          onClose();
56813        }, [onClose]);
56814        const handleInputChange = (0, import_react34.useCallback)(
56815          (e) => {
56816            const query = e.target.value;
56817            debouncedSearch(query);
56818          },
56819          [debouncedSearch]
56820        );
56821        const navigableItems = (0, import_react34.useMemo)(
56822          () => isOpen && searchState.response ? navigableSearchItems(
56823            searchState.response,
56824            searchState.query,
56825            searchEndpoint,
56826            language,
56827            translations,
56828            { includeAllResults: !isMobile }
56829          ) : [],
56830          [
56831            isOpen,
56832            searchState.response,
56833            searchState.query,
56834            searchEndpoint,
56835            language,
56836            translations,
56837            isMobile
56838          ]
56839        );
56840        const [highlight, setHighlight] = (0, import_react34.useState)(NO_HIGHLIGHT);
56841        const activeResultId = highlight.index >= 0 ? (_a4 = navigableItems[highlight.index]) == null ? void 0 : _a4.id : void 0;
56842        const keyboardTarget = highlight.source === "keyboard" && highlight.index >= 0 ? navigableItems[highlight.index] : void 0;
56843        const enterOpensAllResults = !keyboardTarget || keyboardTarget.id === ALL_RESULTS_OPTION_ID;
56844        (0, import_react34.useEffect)(() => {
56845          setHighlight(NO_HIGHLIGHT);
56846        }, [searchState.response, searchState.query]);
56847        (0, import_react34.useEffect)(() => {
56848          var _a5;
56849          if (!activeResultId) return;
56850          (_a5 = document.getElementById(searchOptionId(activeResultId))) == null ? void 0 : _a5.scrollIntoView({ block: "nearest" });
56851        }, [activeResultId]);
56852        const handleKeyDown = (0, import_react34.useCallback)(
56853          (e) => {
56854            if (e.key === "Escape") {
56855              handleClose();
56856            } else if (e.key === "ArrowDown") {
56857              if (navigableItems.length === 0) return;
56858              e.preventDefault();
56859              setHighlight(({ index: index2 }) => ({
56860                source: "keyboard",
56861                index: Math.min(index2 + 1, navigableItems.length - 1)
56862              }));
56863            } else if (e.key === "ArrowUp") {
56864              if (navigableItems.length === 0) return;
56865              e.preventDefault();
56866              setHighlight(({ index: index2 }) => ({
56867                source: "keyboard",
56868                index: Math.max(index2 - 1, -1)
56869              }));
56870            } else if (e.key === "Enter") {
56871              if (keyboardTarget) {
56872                e.preventDefault();
56873                handleResultClick(keyboardTarget.url);
56874              } else if (searchState.query.trim()) {
56875                redirectToSearchPage(searchState.query);
56876              }
56877            }
56878          },
56879          [searchState.query, handleClose, navigableItems, keyboardTarget]
56880        );
56881        const handlePointerOver = (0, import_react34.useCallback)(
56882          (e) => {
56883            var _a5, _b;
56884            const option = (_b = (_a5 = e.target).closest) == null ? void 0 : _b.call(_a5, '[role="option"]');
56885            const resultId = option ? resultIdFromOptionId(option.id) : void 0;
56886            const index2 = resultId ? navigableItems.findIndex((item) => item.id === resultId) : -1;
56887            setHighlight(
56888              (current) => current.source === "pointer" && current.index === index2 ? current : { source: "pointer", index: index2 }
56889            );
56890          },
56891          [navigableItems]
56892        );
56893        const handlePointerLeave = (0, import_react34.useCallback)(() => setHighlight(NO_HIGHLIGHT), []);
56894        const navigateToPage = (0, import_react34.useCallback)(
56895          (url) => {
56896            setPageNavigationPending(true);
56897            handleClose();
56898            window.requestAnimationFrame(() => {
56899              window.location.href = url;
56900            });
56901            window.setTimeout(() => {
56902              setPageNavigationPending(false);
56903            }, 5e3);
56904          },
56905          [handleClose]
56906        );
56907        const handleResultClick = (0, import_react34.useCallback)(
56908          (url) => {
56909            navigateToPage(url);
56910          },
56911          [navigateToPage]
56912        );
56913        const buildSearchUrl = (0, import_react34.useCallback)(
56914          (query) => `${searchEndpoint}?q=${encodeURIComponent(query.trim())}`,
56915          [searchEndpoint]
56916        );
56917        const redirectToSearchPage = (0, import_react34.useCallback)(
56918          (query) => {
56919            if (query.trim()) {
56920              navigateToPage(buildSearchUrl(query));
56921            }
56922          },
56923          [buildSearchUrl, navigateToPage]
56924        );
56925        const handleAfterOpen = () => {
56926          if (inputRef.current) {
56927            inputRef.current.focus();
56928            inputRef.current.select();
56929          }
56930          try {
56931            const parallaxSlider = document.querySelector(".parallax-slider");
56932            if (parallaxSlider && parallaxSlider._parallaxSlider && typeof parallaxSlider._parallaxSlider.stopAutoplay === "function") {
56933              parallaxSlider._parallaxSlider.stopAutoplay();
56934            }
56935          } catch (error) {
56936            console.warn("Parallax slider pause failed:", error);
56937          }
56938        };
56939        (0, import_react34.useEffect)(() => {
56940          const handleKeyDown2 = (e) => {
56941            var _a5;
56942            if (!isOpen) return;
56943            const target = e.target;
56944            if ((_a5 = target == null ? void 0 : target.closest) == null ? void 0 : _a5.c
56944all(target, ".ReactModal__Overlay")) return;
56945            e.stopPropagation();
56946            e.preventDefault();
56947          };
56948          const isOverlayTarget = (target) => target instanceof Element && target.classList.contains("ReactModal__Overlay");
56949          const handleOverlayMouseDown = (e) => {
56950            overlayMouseDownStartedRef.current = isOverlayTarget(e.target);
56951          };
56952          const handleOverlayClick = (e) => {
56953            if (isOpen && overlayMouseDownStartedRef.current && isOverlayTarget(e.target)) {
56954              handleClose();
56955            }
56956            overlayMouseDownStartedRef.current = false;
56957          };
56958          if (isOpen) {
56959            document.addEventListener("keydown", handleKeyDown2, true);
56960            document.addEventListener("mousedown", handleOverlayMouseDown, true);
56961            document.addEventListener("click", handleOverlayClick, true);
56962            return () => {
56963              document.removeEventListener("keydown", handleKeyDown2, true);
56964              document.removeEventListener("mousedown", handleOverlayMouseDown, true);
56965              document.removeEventListener("click", handleOverlayClick, true);
56966            };
56967          }
56968        }, [isOpen, handleClose]);
56969        return /* @__PURE__ */ jsx(import_react34.default.Fragment, null, pageNavigationPending && /* @__PURE__ */ jsx(
56970          "div",
56971          {
56972            css: pageNavigationLoadingStyles,
56973            "aria-busy": "true",
56974            "aria-label": "Loading",
56975            role: "status"
56976          },
56977          /* @__PURE__ */ jsx("span", { css: pageNavigationSpinnerStyles }, /* @__PURE__ */ jsx(FontAwesomeIcon, { icon: faSpinner, spin: true }))
56978        ), /* @__PURE__ */ jsx(
56979          import_react_modal3.default,
56980          {
56981            isOpen,
56982            onRequestClose: handleClose,
56983            onAfterOpen: handleAfterOpen,
56984            style: isMobile ? mobileSearchModalStyles : searchModalStyles,
56985            ariaHideApp: false,
56986            parentSelector: () => document.body,
56987            shouldFocusAfterRender: false,
56988            shouldCloseOnOverlayClick: false,
56989            className: "search-modal"
56990          },
56991          /* @__PURE__ */ jsx("div", { css: modalContentStyles }, /* @__PURE__ */ jsx(
56992            SearchInput_default,
56993            {
56994              ref: inputRef,
56995              query: searchState.query,
56996              translations,
56997              isMobile,
56998              isSearching: searchState.loading,
56999              listboxOpen: hasSearchResults(searchState.response),
57000              activeDescendantId: activeResultId ? searchOptionId(activeResultId) : void 0,
57001              onQueryChange: handleInputChange,
57002              onKeyDown: handleKeyDown,
57003              onClose: handleClose,
57004              onSearch: () => {
57005                if (searchState.query.trim()) {
57006                  redirectToSearchPage(searchState.query);
57007                }
57008              }
57009            }
57010          ), (searchState.loading || searchState.hasSearched) && /* @__PURE__ */ jsx(
57011            "div",
57012            {
57013              css: resultsContainerStyles,
57014              onMouseOver: handlePointerOver,
57015              onMouseLeave: handlePointerLeave
57016            },
57017            searchState.loading && !searchState.response && /* @__PURE__ */ jsx("div", { css: loadingStyles }, /* @__PURE__ */ jsx(FontAwesomeIcon, { icon: faSpinner, spin: true }), /* @__PURE__ */ jsx("span", null, translations.searching)),
57018            searchState.response && // While a newer request is in flight we keep these results but
57019            // fade them, signalling they are about to be refreshed.
57020            /* @__PURE__ */ jsx(
57021              "div",
57022              {
57023                css: [
57024                  resultsRefreshStyles,
57025                  searchState.loading && resultsRefreshingStyles
57026                ]
57027              },
57028              /* @__PURE__ */ jsx(
57029                SearchResults_default,
57030                {
57031                  response: searchState.response,
57032                  query: searchState.query,
57033                  onResultClick: handleResultClick,
57034                  searchEndpoint,
57035                  language,
57036                  translations,
57037                  activeResultId
57038                }
57039              )
57040            ),
57041            searchState.hasSearched && (!isMobile || !hasSearchResults(searchState.response)) && (searchState.response || !searchState.loading) && /* @__PURE__ */ jsx(
57042              SearchSummary_default,
57043              {
57044                query: searchState.query,
57045                url: buildSearchUrl(searchState.query),
57046                translations,
57047                resultsShown: hasSearchResults(searchState.response),
57048                flushTop: searchState.response ? !hasDisplayedGroupedSections(searchState.response) : false,
57049                isActive: activeResultId === ALL_RESULTS_OPTION_ID,
57050                showEnterHint: enterOpensAllResults,
57051                onClick: () => redirectToSearchPage(searchState.query)
57052              }
57053            )
57054          ))
57055        ));
57056      };
57057      searchModalStyles = {
57058        overlay: {
57059          position: "fixed",
57060          zIndex: 1200,
57061          top: 0,
57062          right: 0,
57063          bottom: 0,
57064          left: 0,
57065          display: "flex",
57066          alignItems: "flex-start",
57067          justifyContent: "center",
57068          padding: "20vh 1rem 1rem 1rem",
57069          backdropFilter: "blur(2px)",
57070          WebkitBackdropFilter: "blur(2px)",
57071          backgroundColor: "rgba(0, 0, 0, 0.3)",
57072          opacity: 1,
57073          transition: "all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
57074        },
57075        content: {
57076          position: "relative",
57077          top: "auto",
57078          right: "auto",
57079          bottom: "auto",
57080          left: "auto",
57081          overflow: "hidden",
57082          width: "782px",
57083          maxWidth: "calc(100vw - 2rem)",
57084          height: "auto",
57085          margin: "0",
57086          padding: 0,
57087          border: "none",
57088          borderRadius: "0.75rem",
57089          outline: "none",
57090          background: searchTokens_default.colorWhite,
57091          backdropFilter: "blur(1px)",
57092          WebkitBackdropFilter: "blur(1px)",
57093          boxShadow: "0 20px 60px rgba(0, 0, 0, 0.2)",
57094          transform: "scale(1)",
57095          transition: "all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
57096        }
57097      };
57098      mobileSearchModalStyles = {
57099        overlay: __spreadProps(__spreadValues({}, searchModalStyles.overlay), {
57100          padding: 0,
57101          alignItems: "stretch",
57102          backdropFilter: "none",
57103          WebkitBackdropFilter: "none",
57104          backgroundColor: searchTokens_default.colorWhite
57105        }),
57106        content: __spreadProps(__spreadValues({}, searchModalStyles.content), {
57107          width: "100vw",
57108          maxWidth: "none",
57109          height: "100%",
57110          minHeight: "100%",
57111          borderRadius: 0,
57112          boxShadow: "none"
57113        })
57114      };
57115      modalContentStyles = css`
57116  position: relative;
57117  display: flex;
57118  flex-direction: column;
57119  height: 100%;
57120  padding: 0;
57121`;
57122      pageNavigationLoadingStyles = css`
57123  position: fixed;
57124  z-index: 1201;
57125  inset: 0;
57126  display: flex;
57127  align-items: center;
57128  justify-content: center;
57129  width: 100vw;
57130  min-height: 100dvh;
57131  color: ${searchTokens_default.colorBrandBlue};
57132  cursor: progress;
57133`;
57134      pageNavigationSpinnerStyles = css`
57135  box-sizing: border-box;
57136  display: flex;
57137  align-items: center;
57138  justify-content: center;
57139  width: 5.2rem;
57140  height: 5.2rem;
57141  padding: 1.2rem;
57142  border-radius: 50%;
57143  background: ${searchTokens_default.colorWhite};
57144  box-shadow: 0 0 2.5rem rgba(0, 0, 0, 0.2);
57145
57146  svg {
57147    display: block;
57148    width: 100%;
57149    height: 100%;
57150    margin: 0;
57151  }
57152
57153  @media (max-width: 768px) {
57154    width: 4.8rem;
57155    height: 4.8rem;
57156    padding: 1.1rem;
57157  }
57158`;
57159      resultsContainerStyles = css`
57160  // SearchSummary and exact-match rows use this to bleed their divider/background
57161  // to the modal edge while staying aligned with the results container padding.
57162  --search-modal-results-padding: 1.5rem;
57163
57164  flex: 1;
57165  padding: var(--search-modal-results-padding);
57166
57167  @media (max-width: 768px) {
57168    min-height: 0;
57169    overflow-y: auto;
57170  }
57171`;
57172      loadingStyles = css`
57173  display: flex;
57174  align-items: center;
57175  gap: 0.5rem;
57176  padding: 1rem;
57177  color: ${searchTokens_default.colorMutedText};
57178
57179  svg {
57180    margin-right: 1rem;
57181    font-size: 1.8rem;
57182  }
57183`;
57184      resultsRefreshStyles = css`
57185  transition: opacity 0.15s ease;
57186`;
57187      resultsRefreshingStyles = css`
57188  // Block clicks on the stale rows while they fade out: they are about to be
57189  // replaced, so interacting with them would open soon-to-be-gone results.
57190  pointer-events: none;
57191  opacity: 0.6;
57192`;
57193      SearchModal_default = SearchModal;
57194    }
57195  });
57196
57197  
57197// apps/base/javascript/search/SearchBar.tsx
57198  var import_react36, SearchBar, searchBarContainerStyles, invisibleStyles, searchBarStyles, inputStyles, SearchBar_default;
57199  var init_SearchBar = __esm({
57200    "apps/base/javascript/search/SearchBar.tsx"() {
57201      "use strict";
57202      init_esbuild_shims();
57203      init_emotion_react_browser_esm();
57204      import_react36 = __toESM(require_react());
57205      init_index_es();
57206      init_pro_regular_svg_icons();
57207      init_SearchModal();
57208      init_searchStyles();
57209      init_searchTokens();
57210      init_useIsMobile();
57211      init_GlobalSearchProvider();
57212      SearchBar = ({
57213        searchEndpoint,
57214        language,
57215        placeholder,
57216        className,
57217        translations
57218      }) => {
57219        const { searchState } = useGlobalSearchContext();
57220        const [isModalOpen, setIsModalOpen] = (0, import_react36.useState)(false);
57221        const [isClosing, setIsClosing] = (0, import_react36.useState)(false);
57222        const [showSearchBar, setShowSearchBar] = (0, import_react36.useState)(true);
57223        const isMobile = useIsMobile_default();
57224        const placeholderText = isMobile ? translations.search : placeholder != null ? placeholder : translations.search;
57225        const inputRef = (0, import_react36.useRef)(null);
57226        const containerRef = (0, import_react36.useRef)(null);
57227        const handleInputFocus = () => {
57228          if (isClosing) return;
57229          setShowSearchBar(false);
57230          setIsModalOpen(true);
57231        };
57232        const handleInputChange = (e) => {
57233        };
57234        const handleKeyDown = (e) => {
57235          if (e.key === "Escape") {
57236            closeModal();
57237          }
57238        };
57239        const closeModal = () => {
57240          setIsClosing(true);
57241          setIsModalOpen(false);
57242          setShowSearchBar(true);
57243          setTimeout(() => {
57244            if (inputRef.current) {
57245              inputRef.current.blur();
57246            }
57247            setTimeout(() => {
57248              setIsClosing(false);
57249            }, 200);
57250          }, 100);
57251        };
57252        (0, import_react36.useEffect)(() => {
57253          const handleHideSearchBar = () => {
57254            setShowSearchBar(false);
57255          };
57256          const handleShowSearchBar = () => {
57257            setShowSearchBar(true);
57258          };
57259          document.addEventListener("hideHomepageSearchBar", handleHideSearchBar);
57260          document.addEventListener("showHomepageSearchBar", handleShowSearchBar);
57261          return () => {
57262            document.removeEventListener("hideHomepageSearchBar", handleHideSearchBar);
57263            document.removeEventListener("showHomepageSearchBar", handleShowSearchBar);
57264          };
57265        }, []);
57266        return /* @__PURE__ */ jsx(import_react36.default.Fragment, null, /* @__PURE__ */ jsx(
57267          "div",
57268          {
57269            ref: containerRef,
57270            css: [searchBarContainerStyles, !showSearchBar && invisibleStyles],
57271            className
57272          },
57273          /* @__PURE__ */ jsx("div", { css: searchBarStyles }, /* @__PURE__ */ jsx(
57274            "input",
57275            {
57276              ref: inputRef,
57277              type: "text",
57278              placeholder: placeholderText,
57279              value: "",
57280              onChange: handleInputChange,
57281              onFocus: handleInputFocus,
57282              onKeyDown: handleKeyDown,
57283              css: inputStyles,
57284              autoComplete: "off"
57285            }
57286          ), /* @__PURE__ */ jsx(
57287            "button",
57288            {
57289              css: searchButtonStyles,
57290              onClick: handleInputFocus,
57291              type: "button",
57292              "aria-label": "Search",
57293              className: "icon"
57294            },
57295            /* @__PURE__ */ jsx(FontAwesomeIcon, { icon: faSearch })
57296          ))
57297        ), /* @__PURE__ */ jsx(
57298          SearchModal_default,
57299          {
57300            isOpen: isModalOpen,
57301            onClose: closeModal,
57302            searchEndpoint,
57303            language,
57304            initialQuery: searchState.query,
57305            translations
57306          }
57307        ));
57308      };
57309      searchBarContainerStyles = css`
57310  position: relative;
57311  z-index: 10;
57312  display: flex;
57313  justify-content: center;
57314  width: 100%;
57315  padding: 0 1rem;
57316
57317  @media (max-width: 768px) {
57318    padding: 0 3rem;
57319  }
57320`;
57321      invisibleStyles = css`
57322  opacity: 0;
57323  pointer-events: none;
57324`;
57325      searchBarStyles = css`
57326  position: relative;
57327  display: flex;
57328  align-items: center;
57329  width: 50rem;
57330  height: 7.2rem;
57331  padding: 1rem 2rem;
57332  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
57333  background: ${searchTokens_default.colorWhite};
57334  border: none;
57335  border-radius: 0.75rem;
57336
57337  @media (max-width: 768px) {
57338    width: 100%;
57339    width: 38rem;
57340    padding: 0.75rem 1.5rem;
57341    border-radius: 0.5rem;
57342  }
57343
57344  @media (max-width: 480px) {
57345    padding: 0.5rem 1rem;
57346  }
57347`;
57348      inputStyles = css`
57349  border: none;
57350  background: transparent;
57351  outline: none;
57352  font-family: 'Roboto', sans-serif;
57353  font-size: 1.6rem;
57354  color: ${searchTokens_default.colorInputText};
57355  width: 100%;
57356  opacity: 1;
57357  padding: 0;
57358  margin: 0 4rem 0 0;
57359  font-weight: 400;
57360  flex: 1;
57361  height: 100%;
57362  display: flex;
57363  align-items: center;
57364  text-overflow: ellipsis;
57365
57366  &::placeholder {
57367    color: ${searchTokens_default.colorPlaceholderText};
57368    font-weight: 400;
57369  }
57370`;
57371      SearchBar_default = SearchBar;
57372    }
57373  });
57374
57375  
57375// apps/base/javascript/search/SearchButton.tsx
57376  var import_react38, SearchButton, triggerStyles, SearchButton_default;
57377  var init_SearchButton = __esm({
57378    "apps/base/javascript/search/SearchButton.tsx"() {
57379      "use strict";
57380      init_esbuild_shims();
57381      init_emotion_react_browser_esm();
57382      import_react38 = __toESM(require_react());
57383      init_index_es();
57384      init_pro_regular_svg_icons();
57385      init_SearchModal();
57386      init_GlobalSearchProvider();
57387      SearchButton = ({
57388        searchEndpoint,
57389        language,
57390        translations
57391      }) => {
57392        const { searchState } = useGlobalSearchContext();
57393        const [isModalOpen, setIsModalOpen] = (0, import_react38.useState)(false);
57394        const openModal = () => {
57395          setIsModalOpen(true);
57396          const hideSearchBarEvent = new CustomEvent("hideHomepageSearchBar");
57397          document.dispatchEvent(hideSearchBarEvent);
57398        };
57399        const closeModal = () => {
57400          setIsModalOpen(false);
57401          const showSearchBarEvent = new CustomEvent("showHomepageSearchBar");
57402          document.dispatchEvent(showSearchBarEvent);
57403        };
57404        return /* @__PURE__ */ jsx(import_react38.default.Fragment, null, /* @__PURE__ */ jsx(
57405          "button",
57406          {
57407            onClick: openModal,
57408            css: [triggerStyles],
57409            "aria-label": "Open search",
57410            style: { background: "none", border: "none", cursor: "pointer" }
57411          },
57412          /* @__PURE__ */ jsx(FontAwesomeIcon, { icon: faSearch }),
57413          /* @__PURE__ */ jsx("span", null, translations.search)
57414        ), /* @__PURE__ */ jsx(
57415          SearchModal_default,
57416          {
57417            isOpen: isModalOpen,
57418            onClose: closeModal,
57419            searchEndpoint,
57420            language,
57421            initialQuery: searchState.query,
57422            translations
57423          }
57424        ));
57425      };
57426      triggerStyles = css`
57427  display: flex;
57428  align-items: center;
57429  gap: 0.5rem;
57430  padding: 0;
57431  color: inherit;
57432  font-size: inherit;
57433  cursor: pointer;
57434  transition: all 0.2s ease;
57435
57436  &:hover {
57437    opacity: 0.8;
57438  }
57439
57440  &:focus {
57441    outline: none;
57442  }
57443
57444  svg {
57445    height: 1.8rem;
57446    padding: 1rem 0 1rem 1rem;
57447    font-weight: 400;
57448  }
57449
57450  span {
57451    font-weight: 400;
57452    padding-right: 1rem;
57453
57454    @media (max-width: 768px) {
57455      display: none;
57456    }
57457  }
57458`;
57459      SearchButton_default = SearchButton;
57460    }
57461  });
57462
57463  
57463// apps/base/javascript/search/SearchWrapper.tsx
57464  var SearchWrapper, SearchWrapper_default;
57465  var init_SearchWrapper = __esm({
57466    "apps/base/javascript/search/SearchWrapper.tsx"() {
57467      "use strict";
57468      init_esbuild_shims();
57469      init_emotion_react_browser_esm();
57470      init_GlobalSearchProvider();
57471      init_SearchBar();
57472      init_SearchButton();
57473      SearchWrapper = ({
57474        searchEndpoint,
57475        language,
57476        placeholder,
57477        className,
57478        translations,
57479        type
57480      }) => {
57481        return /* @__PURE__ */ jsx(GlobalSearchProvider, { searchEndpoint }, type === "bar" ? /* @__PURE__ */ jsx(
57482          SearchBar_default,
57483          {
57484            searchEndpoint,
57485            language,
57486            placeholder,
57487            className,
57488            translations
57489          }
57490        ) : /* @__PURE__ */ jsx(
57491          SearchButton_default,
57492          {
57493            searchEndpoint,
57494            language,
57495            translations
57496          }
57497        ));
57498      };
57499      SearchWrapper_default = SearchWrapper;
57500    }
57501  });
57502
57503  
57503// apps/base/javascript/search/search_modal.js
57504  var search_modal_exports = {};
57505  var import_react40;
57506  var init_search_modal = __esm({
57507    "apps/base/javascript/search/search_modal.js"() {
57508      "use strict";
57509      init_esbuild_shims();
57510      init_remount();
57511      import_react40 = __toESM(require_react());
57512      init_SearchWrapper();
57513      defineReact({
57514        "search-button": (props) => import_react40.default.createElement(SearchWrapper_default, __spreadProps(__spreadValues({}, props), { type: "button" })),
57515        "search-bar": (props) => import_react40.default.createElement(SearchWrapper_default, __spreadProps(__spreadValues({}, props), { type: "bar" }))
57516      });
57517    }
57518  });
57519
57520  
vendor: 7,589 bytes, lines 57520-57585
57520// node_modules/@fortawesome/pro-light-svg-icons/index.mjs
57521  var faKey, faAddressCard, faLayerGroup, faHeart3, faEnvelope, faClock, faFile, faXmark3, faTimes2, faCheck3, faTriangleExclamation2, faExclamationTriangle2, faFileCheck;
57522  var init_pro_light_svg_icons = __esm({
57523    "node_modules/@fortawesome/pro-light-svg-icons/index.mjs"() {
57524      init_esbuild_shims();
57525      faKey = {
57526        prefix: "fal",
57527        iconName: "key",
57528        icon: [512, 512, [128273], "f084", "M192 176c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144c-11.1 0-22-1.3-32.4-3.6c-5.4-1.2-11 .4-14.9 4.3L257.4 352 208 352c-8.8 0-16 7.2-16 16l0 48-48 0c-8.8 0-16 7.2-16 16l0 48-96 0 0-81.4L194.8 235.8c4.2-4.2 5.7-10.5 3.9-16.2c-4.4-13.8-6.7-28.4-6.7-43.7zM336 0C238.8 0 160 78.8 160 176c0 15.1 1.9 29.8 5.5 43.9L4.7 380.7c-3 3-4.7 7.1-4.7 11.3L0 496c0 8.8 7.2 16 16 16l128 0c8.8 0 16-7.2 16-16l0-48 48 0c8.8 0 16-7.2 16-16l0-48 40 0c4.2 0 8.3-1.7 11.3-4.7l30-30c10 1.8 20.2 2.7 30.7 2.7c97.2 0 176-78.8 176-176S433.2 0 336 0zm32 168a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]
57529      };
57530      faAddressCard = {
57531        prefix: "fal",
57532        iconName: "address-card",
57533        icon: [576, 512, [62140, "contact-card", "vcard"], "f2bb", "M512 64c17.7 0 32 14.3 32 32l0 320c0 17.7-14.3 32-32 32L64 448c-17.7 0-32-14.3-32-32L32 96c0-17.7 14.3-32 32-32l448 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm96 160a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm96 0a64 64 0 1 0 -128 0 64 64 0 1 0 128 0zM112 368c0-26.5 21.5-48 48-48l64 0c26.5 0 48 21.5 48 48c0 8.8 7.2 16 16 16s16-7.2 16-16c0-44.2-35.8-80-80-80l-64 0c-44.2 0-80 35.8-80 80c0 8.8 7.2 16 16 16s16-7.2 16-16zM352 160c-8.8 0-16 7.2-16 16s7.2 16 16 16l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-128 0zm0 64c-8.8 0-16 7.2-16 16s7.2 16 16 16l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-128 0zm0 64c-8.8 0-16 7.2-16 16s7.2 16 16 16l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-128 0z"]
57534      };
57535      faLayerGroup = {
57536        prefix: "fal",
57537        iconName: "layer-group",
57538        icon: [576, 512, [], "f5fd", "M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"]
57539      };
57540      faHeart3 = {
57541        prefix: "fal",
57542        iconName: "heart",
57543        icon: [512, 512, [128153, 128154, 128155, 128156, 128420, 129293, 129294, 129505, 9829, 10084, 61578], "f004", "M244 130.6l-12-13.5-4.2-4.7c-26-29.2-65.3-42.8-103.8-35.8c-53.3 9.7-92 56.1-92 110.3l0 3.5c0 32.3 13.4 63.1 37.1 85.1L253 446.8c.8 .7 1.9 1.2 3 1.2s2.2-.4 3-1.2L443 275.5c23.6-22 37-52.8 37-85.1l0-3.5c0-54.2-38.7-100.6-92-110.3c-38.5-7-77.8 6.6-103.8 35.8l-4.2 4.7-12 13.5c-3 3.4-7.4 5.4-12 5.4s-8.9-2-12-5.4zm34.9-57.1C311 48.4 352.7 37.7 393.7 45.1C462.2 57.6 512 117.3 512 186.9l0 3.5c0 36-13.1 70.6-36.6 97.5c-3.4 3.8-6.9 7.5-10.7 11l-184 171.3c-.8 .8-1.7 1.5-2.6 2.2c-6.3 4.9-14.1 7.5-22.1 7.5c-9.2 0-18-3.5-24.8-9.7L47.2 299c-3.8-3.5-7.3-7.2-10.7-11C13.1 261 0 226.4 0 190.4l0-3.5C0 117.3 49.8 57.6 118.3 45.1c40.9-7.4 82.6 3.2 114.7 28.4c6.7 5.3 13 11.1 18.7 17.6l4.2 4.7 4.2-4.7c4.2-4.7 8.6-9.1 13.3-13.1c1.8-1.5 3.6-3 5.4-4.5z"]
57544      };
57545      faEnvelope = {
57546        prefix: "fal",
57547        iconName: "envelope",
57548        icon: [512, 512, [128386, 9993, 61443], "f0e0", "M64 96c-17.7 0-32 14.3-32 32l0 39.9L227.6 311.3c16.9 12.4 39.9 12.4 56.8 0L480 167.9l0-39.9c0-17.7-14.3-32-32-32L64 96zM32 207.6L32 384c0 17.7 14.3 32 32 32l384 0c17.7 0 32-14.3 32-32l0-176.4L303.3 337.1c-28.2 20.6-66.5 20.6-94.6 0L32 207.6zM0 128C0 92.7 28.7 64 64 64l384 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 448c-35.3 0-64-28.7-64-64L0 128z"]
57549      };
57550      faClock = {
57551        prefix: "fal",
57552        iconName: "clock",
57553        icon: [512, 512, [128339, "clock-four"], "f017", "M480 256A224 224 0 1 1 32 256a224 224 0 1 1 448 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM240 112l0 144c0 5.3 2.7 10.3 7.1 13.3l96 64c7.4 4.9 17.3 2.9 22.2-4.4s2.9-17.3-4.4-22.2L272 247.4 272 112c0-8.8-7.2-16-16-16s-16 7.2-16 16z"]
57554      };
57555      faFile = {
57556        prefix: "fal",
57557        iconName: "file",
57558        icon: [384, 512, [128196, 128459, 61462], "f15b", "M352 448l0-256-112 0c-26.5 0-48-21.5-48-48l0-112L64 32C46.3 32 32 46.3 32 64l0 384c0 17.7 14.3 32 32 32l256 0c17.7 0 32-14.3 32-32zm-.5-288c-.7-2.8-2.1-5.4-4.2-7.4L231.4 36.7c-2.1-2.1-4.6-3.5-7.4-4.2L224 144c0 8.8 7.2 16 16 16l111.5 0zM0 64C0 28.7 28.7 0 64 0L220.1 0c12.7 0 24.9 5.1 33.9 14.1L369.9 129.9c9 9 14.1 21.2 14.1 33.9L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64z"]
57559      };
57560      faXmark3 = {
57561        prefix: "fal",
57562        iconName: "xmark",
57563        icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M324.5 411.1c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L214.6 256 347.1 123.5c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L192 233.4 59.6 100.9c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L169.4 256 36.9 388.5c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L192 278.6 324.5 411.1z"]
57564      };
57565      faTimes2 = faXmark3;
57566      faCheck3 = {
57567        prefix: "fal",
57568        iconName: "check",
57569        icon: [448, 512, [10003, 10004], "f00c", "M443.3 100.7c6.2 6.2 6.2 16.4 0 22.6l-272 272c-6.2 6.2-16.4 6.2-22.6 0l-144-144c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L160 361.4 420.7 100.7c6.2-6.2 16.4-6.2 22.6 0z"]
57570      };
57571      faTriangleExclamation2 = {
57572        prefix: "fal",
57573        iconName: "triangle-exclamation",
57574        icon: [512, 512, [9888, "exclamation-triangle", "warning"], "f071", "M34.5 420.4c-1.6 2.8-2.5 6-2.5 9.3c0 10.2 8.2 18.4 18.4 18.4l411.2 0c10.2 0 18.4-8.2 18.4-18.4c0-3.3-.9-6.4-2.5-9.3L276.5 75.8C272.2 68.5 264.4 64 256 64s-16.2 4.5-20.5 11.8L34.5 420.4zM6.9 404.2l201-344.6C217.9 42.5 236.2 32 256 32s38.1 10.5 48.1 27.6l201 344.6c4.5 7.7 6.9 16.5 6.9 25.4c0 27.8-22.6 50.4-50.4 50.4L50.4 480C22.6 480 0 457.4 0 429.6c0-8.9 2.4-17.7 6.9-25.4zM256 160c8.8 0 16 7.2 16 16l0 128c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zM232 384a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]
57575      };
57576      faExclamationTriangle2 = faTriangleExclamation2;
57577      faFileCheck = {
57578        prefix: "fal",
57579        iconName: "file-check",
57580        icon: [384, 512, [], "f316", "M320 480L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l128 0 0 112c0 26.5 21.5 48 48 48l112 0 0 256c0 17.7-14.3 32-32 32zM240 160c-8.8 0-16-7.2-16-16l0-111.5c2.8 .7 5.4 2.1 7.4 4.2L347.3 152.6c2.1 2.1 3.5 4.6 4.2 7.4L240 160zM64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-284.1c0-12.7-5.1-24.9-14.1-33.9L254.1 14.1c-9-9-21.2-14.1-33.9-14.1L64 0zM283.3 294c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-95.4 95.4-42-42c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L154 400.6c6.2 6.2 16.4 6.2 22.6 0L283.3 294z"]
57581      };
57582    }
57583  });
57584
57585  
57585// apps/base/javascript/styles/fontawesome.tsx
57586  var fontawesome_exports = {};
57587  var init_fontawesome = __esm({
57588    "apps/base/javascript/styles/fontawesome.tsx"() {
57589      "use strict";
57590      init_esbuild_shims();
57591      init_fontawesome_svg_core();
57592      init_pro_solid_svg_icons();
57593      init_pro_regular_svg_icons();
57594      init_pro_light_svg_icons();
57595      library$1.add(
57596        faAddressCard,
57597        faAngleRight2,
57598        faAngleDown,
57599        faAngleRight,
57600        faArrowRight,
57601        faBars,
57602        faChartBar,
57603        faCheck,
57604        faCheck2,
57605        faCheck3,
57606        faClock,
57607        faCopy,
57608        faEdit,
57609        faEnvelope,
57610        faExclamationTriangle2,
57611        faExclamationTriangle,
57612        faExternalLinkAlt,
57613        faEye,
57614        faEyeSlash,
57615        faFile,
57616        faFileCheck,
57617        faFileExcel,
57618        faFileImage,
57619        faFileUpload,
57620        faHeart,
57621        faHeart3,
57622        faHeart2,
57623        faInfoCircle,
57624        faInfoCircle2,
57625        faKey,
57626        faMinus,
57627        faPencil,
57628        faPlus,
57629        faPlusCircle,
57630        faPlusCircle2,
57631        faSearchMinus,
57632        faShareAlt,
57633        faStarOfLife,
57634        faTimes,
57635        faTimesCircle,
57636        faTimes2,
57637        faTrash,
57638        faTrashUndo,
57639        faUndo,
57640        faLightbulbOn,
57641        faLayerGroup,
57642        faLink,
57643        faFileCertificate,
57644        faInfinity,
57645        faUser,
57646        faBuilding,
57647        faObjectUnion,
57648        faUserSecret,
57649        faChartSimple
57650      );
57651    }
57652  });
57653
57654  
57654// apps/base/javascript/styles/input-styles.tsx
57655  var input_styles_exports = {};
57656  __export(input_styles_exports, {
57657    InputStyles: () => InputStyles
57658  });
57659  var InputStyles;
57660  var init_input_styles = __esm({
57661    "apps/base/javascript/styles/input-styles.tsx"() {
57662      "use strict";
57663      init_esbuild_shims();
57664      init_emotion_react_browser_esm();
57665      init_Theme();
57666      InputStyles = css`
57667  display: flex;
57668  justify-content: space-between;
57669  align-items: center;
57670  box-sizing: border-box;
57671  border: 1px solid #e8e8e8;
57672  border-radius: 4px;
57673  background-color: #ffffff;
57674  box-shadow: inset 1px 1px 3px 0 rgba(0, 0, 0, 0.1);
57675  color: ${Theme.colors.general.captionFontColor};
57676  padding-left: 1rem;
57677  padding-right: 1rem;
57678
57679  &.invalid {
57680    border-color: rgba(236, 23, 0, 0.35);
57681    background: #fef3f2;
57682    box-shadow: inset 0.1rem 0.1rem 0.3rem 0 rgba(236, 23, 0, 0.2);
57683    input#name-field::placeholder,
57684    input#name-field::-webkit-inline-placeholder {
57685      color: rgba($warning-red, 0.5);
57686    }
57687    i {
57688      color: rgba(236, 23, 0, 0.2);
57689    }
57690  }
57691
57692  svg {
57693    margin-right: 1rem;
57694    color: ${Theme.colors.general.lightGrey};
57695    font-size: 1.6rem;
57696  }
57697
57698  > div {
57699    display: flex;
57700    align-items: flex-start;
57701    width: 95%;
57702
57703    input,
57704    input:focus,
57705    input:hover,
57706    textarea,
57707    textarea:focus,
57708    textarea:hover {
57709      padding-left: 0rem;
57710      padding-right: 0rem;
57711      padding-top: 1rem;
57712      padding-bottom: 1rem;
57713      outline: none;
57714      border: none;
57715      box-shadow: none !important;
57716      background: none !important;
57717    }
57718
57719    svg {
57720      margin-left: 0.2rem;
57721      padding-top: 1.1rem;
57722    }
57723  }
57724`;
57725    }
57726  });
57727
57728  
57728// apps/base/javascript/styles/modal-styles.tsx
57729  var modal_styles_exports = {};
57730  __export(modal_styles_exports, {
57731    ModalStyles: () => ModalStyles
57732  });
57733  var ModalStyles;
57734  var init_modal_styles = __esm({
57735    "apps/base/javascript/styles/modal-styles.tsx"() {
57736      "use strict";
57737      init_esbuild_shims();
57738      ModalStyles = {
57739        overlay: {
57740          backgroundColor: "rgba(72, 84, 100, 0.6)",
57741          zIndex: 120
57742        },
57743        content: {
57744          padding: "3rem",
57745          top: "50%",
57746          left: "50%",
57747          right: "auto",
57748          bottom: "auto",
57749          width: "60vw",
57750          maxWidth: "65rem",
57751          maxHeight: "80vh",
57752          marginRight: "-50%",
57753          transform: "translate(-50%, -50%)",
57754          border: "none",
57755          boxShadow: "0.4rem 0.8rem 2rem rgba(0,0,0,0.15)"
57756        }
57757      };
57758    }
57759  });
57760
57761  
57761// apps/base/javascript/styles/select-styles.tsx
57762  var select_styles_exports = {};
57763  __export(select_styles_exports, {
57764    MultiSelectStyles: () => MultiSelectStyles,
57765    OnModalSelectStyles: () => OnModalSelectStyles,
57766    OverflowingSelectStyles: () => OverflowingSelectStyles,
57767    SelectStyles: () => SelectStyles,
57768    WideSelectStyles: () => WideSelectStyles
57769  });
57770  var SelectStyles, WideSelectStyles, MultiSelectStyles, OnModalSelectStyles, OverflowingSelectStyles;
57771  var init_select_styles = __esm({
57772    "apps/base/javascript/styles/select-styles.tsx"() {
57773      "use strict";
57774      init_esbuild_shims();
57775      SelectStyles = {
57776        option: (provided) => __spreadProps(__spreadValues({}, provided), {
57777          padding: "1rem 1.2rem",
57778          fontWeight: 375,
57779          fontSize: "1.4rem",
57780          cursor: "pointer"
57781        }),
57782        menuPortal: (base) => __spreadProps(__spreadValues({}, base), { zIndex: 9999 }),
57783        placeholder: (base) => __spreadProps(__spreadValues({}, base), {
57784          fontSize: "1.4rem",
57785          fontWeight: 375,
57786          opacity: 0.5
57787        }),
57788        indicatorSeparator: () => ({
57789          display: "none"
57790        }),
57791        clearIndicator: (provided) => __spreadProps(__spreadValues({}, provided), {
57792          padding: "0"
57793        }),
57794        dropdownIndicator: (provided) => __spreadProps(__spreadValues({}, provided), {
57795          padding: "0"
57796        }),
57797        menu: (provided) => __spreadProps(__spreadValues({}, provided), {
57798          zIndex: "1000"
57799        }),
57800        valueContainer: (provided) => __spreadProps(__spreadValues({}, provided), {
57801          whiteSpace: "nowrap",
57802          flexWrap: "nowrap",
57803          display: "flex"
57804        }),
57805        indicatorsContainer: (provided) => __spreadProps(__spreadValues({}, provided), {
57806          paddingRight: "0.8rem"
57807        }),
57808        control: (_, { isDisabled }) => ({
57809          display: "flex",
57810          padding: "0.1rem 0 0.1rem 0.6rem",
57811          backgroundColor: "white",
57812          borderRadius: "0.5rem",
57813          border: "0.1rem solid #E8E8E8",
57814          boxShadow: "inset 0.1rem 0.1rem 0.3rem 0 rgba(0, 0, 0, 0.1)",
57815          opacity: isDisabled ? "0.3" : "1"
57816        }),
57817        singleValue: () => ({
57818          fontSize: "1.4rem",
57819          fontWeight: 375,
57820          overflow: "hidden",
57821          textOverflow: "ellipsis"
57822        })
57823      };
57824      WideSelectStyles = Object.assign(
57825        __spreadValues({}, SelectStyles),
57826        {
57827          control: () => ({
57828            display: "flex",
57829            padding: "0.1rem 0 0.1rem 0",
57830            width: "100%",
57831            backgroundColor: "white",
57832            borderRadius: "0.5rem",
57833            border: "0.1rem solid #E8E8E8",
57834            boxShadow: "inset 0.1rem 0.1rem 0.3rem 0 rgba(0, 0, 0, 0.1)"
57835          }),
57836          valueContainer: (provided) => __spreadProps(__spreadValues({}, provided), {
57837            whiteSpace: "nowrap",
57838            flexWrap: "wrap",
57839            padding: "0.2rem 0.3rem"
57840          }),
57841          placeholder: (provided) => __spreadProps(__spreadValues({}, provided), {
57842            paddingLeft: "1rem"
57843          }),
57844          input: (provided) => __spreadProps(__spreadValues({}, provided), {
57845            paddingLeft: "1rem"
57846          }),
57847          option: (provided) => __spreadProps(__spreadValues({}, provided), {
57848            padding: "1rem 1.6rem",
57849            fontWeight: 375,
57850            fontSize: "1.4rem",
57851            cursor: "pointer"
57852          })
57853        }
57854      );
57855      MultiSelectStyles = Object.assign(
57856        __spreadValues({}, WideSelectStyles),
57857        {
57858          valueContainer: (provided) => __spreadProps(__spreadValues({}, provided), {
57859            whiteSpace: "wrap",
57860            flexWrap: "wrap"
57861          })
57862        }
57863      );
57864      OnModalSelectStyles = Object.assign(
57865        __spreadValues({}, SelectStyles),
57866        {
57867          menuPortal: (base) => __spreadProps(__spreadValues({}, base), {
57868            zIndex: 9999
57869          }),
57870          menu: (base) => __spreadProps(__spreadValues({}, base), {
57871            zIndex: 9999
57872          })
57873        }
57874      );
57875      OverflowingSelectStyles = Object.assign(
57876        __spreadValues({}, SelectStyles),
57877        {
57878          menu: (provided) => __spreadProps(__spreadValues({}, provided), {
57879            width: "50rem",
57880            zIndex: "1000"
57881          })
57882        }
57883      );
57884    }
57885  });
57886
57887  
57887// apps/base/javascript/styles/toggle-styles.tsx
57888  var toggle_styles_exports = {};
57889  __export(toggle_styles_exports, {
57890    default: () => toggle_styles_default,
57891    toggleStyles: () => toggleStyles2
57892  });
57893  var toggleStyles2, toggle_styles_default;
57894  var init_toggle_styles = __esm({
57895    "apps/base/javascript/styles/toggle-styles.tsx"() {
57896      "use strict";
57897      init_esbuild_shims();
57898      init_emotion_react_browser_esm();
57899      toggleStyles2 = css`
57900  .react-toggle-track {
57901    width: 50px;
57902    height: 24px;
57903    padding: 0;
57904    border-radius: 30px;
57905    background-color: #4d4d4d;
57906  }
57907
57908  .react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track {
57909    background-color: #000000;
57910  }
57911
57912  .react-toggle--checked .react-toggle-track {
57913    background-color: #19ab27;
57914  }
57915
57916  .react-toggle--checked:hover:not(.react-toggle--disabled)
57917    .react-toggle-track {
57918    background-color: #128d15;
57919  }
57920
57921  .react-toggle-track-check {
57922    position: absolute;
57923    width: 14px;
57924    height: 10px;
57925    top: 0px;
57926    bottom: 0px;
57927    margin-top: auto;
57928    margin-bottom: auto;
57929    line-height: 0;
57930    left: 8px;
57931    opacity: 0;
57932  }
57933
57934  .react-toggle-track-x {
57935    position: absolute;
57936    width: 10px;
57937    height: 10px;
57938    top: 0px;
57939    bottom: 0px;
57940    margin-top: auto;
57941    margin-bottom: auto;
57942    line-height: 0;
57943    right: 10px;
57944    opacity: 1;
57945  }
57946
57947  .react-toggle-thumb {
57948    position: absolute;
57949    top: 1px;
57950    left: 1px;
57951    width: 22px;
57952    height: 22px;
57953    border: 1px solid #4d4d4d;
57954    border-radius: 50%;
57955    background-color: #fafafa;
57956  }
57957
57958  .react-toggle--checked .react-toggle-thumb {
57959    left: 27px;
57960    border-color: #19ab27;
57961  }
57962`;
57963      toggle_styles_default = toggleStyles2;
57964    }
57965  });
57966
57967  // import-glob:./styles/**/*
57968  var __exports = {};
57969  __export(__exports, {
57970    default: () => __default,
57971    filenames: () => filenames
57972  });
57973  var modules, __default, filenames;
57974  var init__ = __esm({
57975    "import-glob:./styles/**/*"() {
57976      init_esbuild_shims();
57977      init_Theme();
57978      init_fontawesome();
57979      init_input_styles();
57980      init_modal_styles();
57981      init_select_styles();
57982      init_toggle_styles();
57983      modules = [Theme_exports, fontawesome_exports, input_styles_exports, modal_styles_exports, select_styles_exports, toggle_styles_exports];
57984      __default = modules;
57985      filenames = ["./styles/Theme.ts", "./styles/fontawesome.tsx", "./styles/input-styles.tsx", "./styles/modal-styles.tsx", "./styles/select-styles.tsx", "./styles/toggle-styles.tsx"];
57986    }
57987  });
57988
57989  
vendor: 4,463 bytes, lines 57989-58098
57989// node_modules/proxy-polyfill/proxy.min.js
57990  var require_proxy_min = __commonJS({
57991    "node_modules/proxy-polyfill/proxy.min.js"() {
57992      init_esbuild_shims();
57993      (function() {
57994        function n() {
57995          function v() {
57996            return null;
57997          }
57998          function l(a) {
57999            return a ? "object" === typeof a || "function" === typeof a : false;
58000          }
58001          function p2(a) {
58002            if (null !== a && !l(a)) throw new TypeError("Object prototype may only be an Object or null: " + a);
58003          }
58004          var q = null, e = Object, w3 = !!e.create || !({ __proto__: null } instanceof e), A2 = e.create || (w3 ? function(a) {
58005            p2(a);
58006            return { __proto__: a };
58007          } : function(a) {
58008            function c() {
58009            }
58010            p2(a);
58011            if (null === a) throw new SyntaxError("Native Object.create is required to create objects with null prototype");
58012            c.prototype = a;
58013            return new c();
58014          }), B = e.getPrototypeOf || ([].__proto__ === Array.prototype ? function(a) {
58015            a = a.__proto__;
58016            return l(a) ? a : null;
58017          } : v);
58018          var m = function(a, c) {
58019            function k() {
58020            }
58021            if (void 0 === (this && this instanceof m ? this.constructor : void 0)) throw new TypeError("Constructor Proxy requires 'new'");
58022            if (!l(a) || !l(c)) throw new TypeError("Cannot create proxy with a non-object as target or handler");
58023            q = function() {
58024              a = null;
58025              k = function(b) {
58026                throw new TypeError("Cannot perform '" + b + "' on a proxy that has been revoked");
58027              };
58028            };
58029            setTimeout(function() {
58030              q = null;
58031            }, 0);
58032            var g2 = c;
58033            c = { get: null, set: null, apply: null, construct: null };
58034            for (var h in g2) {
58035              if (!(h in c)) throw new TypeError("Proxy polyfill does not support trap '" + h + "'");
58036              c[h] = g2[h];
58037            }
58038            "function" === typeof g2 && (c.apply = g2.apply.bind(g2));
58039            g2 = B(a);
58040            var r2 = false, t2 = false;
58041            if ("function" === typeof a) {
58042              var f = function() {
58043                var b = this && this.constructor === f, d = Array.prototype.slice.call(arguments);
58044                k(b ? "construct" : "apply");
58045                return b && c.construct ? c.construct.call(this, a, d) : !b && c.apply ? c.apply(a, this, d) : b ? (d.unshift(a), new (a.bind.apply(a, d))()) : a.apply(
58046                  this,
58047                  d
58048                );
58049              };
58050              r2 = true;
58051            } else a instanceof Array ? (f = [], t2 = true) : f = w3 || null !== g2 ? A2(g2) : {};
58052            var x2 = c.get ? function(b) {
58053              k("get");
58054              return c.get(this, b, f);
58055            } : function(b) {
58056              k("get");
58057              return this[b];
58058            }, C = c.set ? function(b, d) {
58059              k("set");
58060              c.set(this, b, d, f);
58061            } : function(b, d) {
58062              k("set");
58063              this[b] = d;
58064            }, y = {};
58065            e.getOwnPropertyNames(a).forEach(function(b) {
58066              if (!((r2 || t2) && b in f)) {
58067                var d = e.getOwnPropertyDescriptor(a, b);
58068                e.defineProperty(f, b, { enumerable: !!d.enumerable, get: x2.bind(a, b), set: C.bind(a, b) });
58069                y[b] = true;
58070              }
58071            });
58072            h = true;
58073            if (r2 || t2) {
58074              var D = e.setPrototypeOf || ([].__proto__ === Array.prototype ? function(b, d) {
58075                p2(d);
58076                b.__proto__ = d;
58077                return b;
58078              } : v);
58079              g2 && D(f, g2) || (h = false);
58080            }
58081            if (c.get || !h) for (var u in a) y[u] || e.defineProperty(f, u, { get: x2.bind(a, u) });
58082            e.seal(a);
58083            e.seal(f);
58084            return f;
58085          };
58086          m.revocable = function(a, c) {
58087            return { proxy: new m(a, c), revoke: q };
58088          };
58089          return m;
58090        }
58091        ;
58092        var z = "undefined" !== typeof process && "[object process]" === {}.toString.call(process) || "undefined" !== typeof navigator && "ReactNative" === navigator.product ? global : self;
58093        z.Proxy || (z.Proxy = n(), z.Proxy.revocable = z.Proxy.revocable);
58094      })();
58095    }
58096  });
58097
58098  
vendor: 476 bytes, lines 58098-58107
58098// node_modules/babel-polyfill/node_modules/core-js/modules/_global.js
58099  var require_global = __commonJS({
58100    "node_modules/babel-polyfill/node_modules/core-js/modules/_global.js"(exports, module) {
58101      init_esbuild_shims();
58102      var global2 = module.exports = typeof window != "undefined" && window.Math == Math ? window : typeof self != "undefined" && self.Math == Math ? self : Function("return this")();
58103      if (typeof __g == "number") __g = global2;
58104    }
58105  });
58106
58107  
vendor: 380 bytes, lines 58107-58118
58107// node_modules/babel-polyfill/node_modules/core-js/modules/_has.js
58108  var require_has2 = __commonJS({
58109    "node_modules/babel-polyfill/node_modules/core-js/modules/_has.js"(exports, module) {
58110      init_esbuild_shims();
58111      var hasOwnProperty3 = {}.hasOwnProperty;
58112      module.exports = function(it, key) {
58113        return hasOwnProperty3.call(it, key);
58114      };
58115    }
58116  });
58117
58118  
vendor: 385 bytes, lines 58118-58132
58118// node_modules/babel-polyfill/node_modules/core-js/modules/_fails.js
58119  var require_fails = __commonJS({
58120    "node_modules/babel-polyfill/node_modules/core-js/modules/_fails.js"(exports, module) {
58121      init_esbuild_shims();
58122      module.exports = function(exec) {
58123        try {
58124          return !!exec();
58125        } catch (e) {
58126          return true;
58127        }
58128      };
58129    }
58130  });
58131
58132  
vendor: 428 bytes, lines 58132-58144
58132// node_modules/babel-polyfill/node_modules/core-js/modules/_descriptors.js
58133  var require_descriptors = __commonJS({
58134    "node_modules/babel-polyfill/node_modules/core-js/modules/_descriptors.js"(exports, module) {
58135      init_esbuild_shims();
58136      module.exports = !require_fails()(function() {
58137        return Object.defineProperty({}, "a", { get: function() {
58138          return 7;
58139        } }).a != 7;
58140      });
58141    }
58142  });
58143
58144  
vendor: 340 bytes, lines 58144-58153
58144// node_modules/babel-polyfill/node_modules/core-js/modules/_core.js
58145  var require_core = __commonJS({
58146    "node_modules/babel-polyfill/node_modules/core-js/modules/_core.js"(exports, module) {
58147      init_esbuild_shims();
58148      var core = module.exports = { version: "2.6.12" };
58149      if (typeof __e == "number") __e = core;
58150    }
58151  });
58152
58153  
vendor: 379 bytes, lines 58153-58163
58153// node_modules/babel-polyfill/node_modules/core-js/modules/_is-object.js
58154  var require_is_object = __commonJS({
58155    "node_modules/babel-polyfill/node_modules/core-js/modules/_is-object.js"(exports, module) {
58156      init_esbuild_shims();
58157      module.exports = function(it) {
58158        return typeof it === "object" ? it !== null : typeof it === "function";
58159      };
58160    }
58161  });
58162
58163  
vendor: 433 bytes, lines 58163-58175
58163// node_modules/babel-polyfill/node_modules/core-js/modules/_an-object.js
58164  var require_an_object = __commonJS({
58165    "node_modules/babel-polyfill/node_modules/core-js/modules/_an-object.js"(exports, module) {
58166      init_esbuild_shims();
58167      var isObject2 = require_is_object();
58168      module.exports = function(it) {
58169        if (!isObject2(it)) throw TypeError(it + " is not an object!");
58170        return it;
58171      };
58172    }
58173  });
58174
58175  
vendor: 523 bytes, lines 58175-58188
58175// node_modules/babel-polyfill/node_modules/core-js/modules/_dom-create.js
58176  var require_dom_create = __commonJS({
58177    "node_modules/babel-polyfill/node_modules/core-js/modules/_dom-create.js"(exports, module) {
58178      init_esbuild_shims();
58179      var isObject2 = require_is_object();
58180      var document2 = require_global().document;
58181      var is = isObject2(document2) && isObject2(document2.createElement);
58182      module.exports = function(it) {
58183        return is ? document2.createElement(it) : {};
58184      };
58185    }
58186  });
58187
58188  
vendor: 488 bytes, lines 58188-58200
58188// node_modules/babel-polyfill/node_modules/core-js/modules/_ie8-dom-define.js
58189  var require_ie8_dom_define = __commonJS({
58190    "node_modules/babel-polyfill/node_modules/core-js/modules/_ie8-dom-define.js"(exports, module) {
58191      init_esbuild_shims();
58192      module.exports = !require_descriptors() && !require_fails()(function() {
58193        return Object.defineProperty(require_dom_create()("div"), "a", { get: function() {
58194          return 7;
58195        } }).a != 7;
58196      });
58197    }
58198  });
58199
58200  
vendor: 789 bytes, lines 58200-58216
58200// node_modules/babel-polyfill/node_modules/core-js/modules/_to-primitive.js
58201  var require_to_primitive = __commonJS({
58202    "node_modules/babel-polyfill/node_modules/core-js/modules/_to-primitive.js"(exports, module) {
58203      init_esbuild_shims();
58204      var isObject2 = require_is_object();
58205      module.exports = function(it, S2) {
58206        if (!isObject2(it)) return it;
58207        var fn, val;
58208        if (S2 && typeof (fn = it.toString) == "function" && !isObject2(val = fn.call(it))) return val;
58209        if (typeof (fn = it.valueOf) == "function" && !isObject2(val = fn.call(it))) return val;
58210        if (!S2 && typeof (fn = it.toString) == "function" && !isObject2(val = fn.call(it))) return val;
58211        throw TypeError("Can't convert object to primitive value");
58212      };
58213    }
58214  });
58215
58216  
vendor: 920 bytes, lines 58216-58239
58216// node_modules/babel-polyfill/node_modules/core-js/modules/_object-dp.js
58217  var require_object_dp = __commonJS({
58218    "node_modules/babel-polyfill/node_modules/core-js/modules/_object-dp.js"(exports) {
58219      init_esbuild_shims();
58220      var anObject = require_an_object();
58221      var IE8_DOM_DEFINE = require_ie8_dom_define();
58222      var toPrimitive2 = require_to_primitive();
58223      var dP = Object.defineProperty;
58224      exports.f = require_descriptors() ? Object.defineProperty : function defineProperty(O, P2, Attributes) {
58225        anObject(O);
58226        P2 = toPrimitive2(P2, true);
58227        anObject(Attributes);
58228        if (IE8_DOM_DEFINE) try {
58229          return dP(O, P2, Attributes);
58230        } catch (e) {
58231        }
58232        if ("get" in Attributes || "set" in Attributes) throw TypeError("Accessors not supported!");
58233        if ("value" in Attributes) O[P2] = Attributes.value;
58234        return O;
58235      };
58236    }
58237  });
58238
58239  
vendor: 477 bytes, lines 58239-58254
58239// node_modules/babel-polyfill/node_modules/core-js/modules/_property-desc.js
58240  var require_property_desc = __commonJS({
58241    "node_modules/babel-polyfill/node_modules/core-js/modules/_property-desc.js"(exports, module) {
58242      init_esbuild_shims();
58243      module.exports = function(bitmap, value) {
58244        return {
58245          enumerable: !(bitmap & 1),
58246          configurable: !(bitmap & 2),
58247          writable: !(bitmap & 4),
58248          value
58249        };
58250      };
58251    }
58252  });
58253
58254  
vendor: 557 bytes, lines 58254-58269
58254// node_modules/babel-polyfill/node_modules/core-js/modules/_hide.js
58255  var require_hide = __commonJS({
58256    "node_modules/babel-polyfill/node_modules/core-js/modules/_hide.js"(exports, module) {
58257      init_esbuild_shims();
58258      var dP = require_object_dp();
58259      var createDesc = require_property_desc();
58260      module.exports = require_descriptors() ? function(object, key, value) {
58261        return dP.f(object, key, createDesc(1, value));
58262      } : function(object, key, value) {
58263        object[key] = value;
58264        return object;
58265      };
58266    }
58267  });
58268
58269  
vendor: 422 bytes, lines 58269-58281
58269// node_modules/babel-polyfill/node_modules/core-js/modules/_uid.js
58270  var require_uid = __commonJS({
58271    "node_modules/babel-polyfill/node_modules/core-js/modules/_uid.js"(exports, module) {
58272      init_esbuild_shims();
58273      var id = 0;
58274      var px = Math.random();
58275      module.exports = function(key) {
58276        return "Symbol(".concat(key === void 0 ? "" : key, ")_", (++id + px).toString(36));
58277      };
58278    }
58279  });
58280
58281  
vendor: 276 bytes, lines 58281-58289
58281// node_modules/babel-polyfill/node_modules/core-js/modules/_library.js
58282  var require_library = __commonJS({
58283    "node_modules/babel-polyfill/node_modules/core-js/modules/_library.js"(exports, module) {
58284      init_esbuild_shims();
58285      module.exports = false;
58286    }
58287  });
58288
58289  
vendor: 725 bytes, lines 58289-58307
58289// node_modules/babel-polyfill/node_modules/core-js/modules/_shared.js
58290  var require_shared = __commonJS({
58291    "node_modules/babel-polyfill/node_modules/core-js/modules/_shared.js"(exports, module) {
58292      init_esbuild_shims();
58293      var core = require_core();
58294      var global2 = require_global();
58295      var SHARED = "__core-js_shared__";
58296      var store = global2[SHARED] || (global2[SHARED] = {});
58297      (module.exports = function(key, value) {
58298        return store[key] || (store[key] = value !== void 0 ? value : {});
58299      })("versions", []).push({
58300        version: core.version,
58301        mode: require_library() ? "pure" : "global",
58302        copyright: "\xA9 2020 Denis Pushkarev (zloirock.ru)"
58303      });
58304    }
58305  });
58306
58307  
vendor: 368 bytes, lines 58307-58315
58307// node_modules/babel-polyfill/node_modules/core-js/modules/_function-to-string.js
58308  var require_function_to_string = __commonJS({
58309    "node_modules/babel-polyfill/node_modules/core-js/modules/_function-to-string.js"(exports, module) {
58310      init_esbuild_shims();
58311      module.exports = require_shared()("native-function-to-string", Function.toString);
58312    }
58313  });
58314
58315  
vendor: 1,339 bytes, lines 58315-58350
58315// node_modules/babel-polyfill/node_modules/core-js/modules/_redefine.js
58316  var require_redefine = __commonJS({
58317    "node_modules/babel-polyfill/node_modules/core-js/modules/_redefine.js"(exports, module) {
58318      init_esbuild_shims();
58319      var global2 = require_global();
58320      var hide2 = require_hide();
58321      var has = require_has2();
58322      var SRC = require_uid()("src");
58323      var $toString = require_function_to_string();
58324      var TO_STRING = "toString";
58325      var TPL = ("" + $toString).split(TO_STRING);
58326      require_core().inspectSource = function(it) {
58327        return $toString.call(it);
58328      };
58329      (module.exports = function(O, key, val, safe) {
58330        var isFunction3 = typeof val == "function";
58331        if (isFunction3) has(val, "name") || hide2(val, "name", key);
58332        if (O[key] === val) return;
58333        if (isFunction3) has(val, SRC) || hide2(val, SRC, O[key] ? "" + O[key] : TPL.join(String(key)));
58334        if (O === global2) {
58335          O[key] = val;
58336        } else if (!safe) {
58337          delete O[key];
58338          hide2(O, key, val);
58339        } else if (O[key]) {
58340          O[key] = val;
58341        } else {
58342          hide2(O, key, val);
58343        }
58344      })(Function.prototype, TO_STRING, function toString3() {
58345        return typeof this == "function" && this[SRC] || $toString.call(this);
58346      });
58347    }
58348  });
58349
58350  
vendor: 403 bytes, lines 58350-58361
58350// node_modules/babel-polyfill/node_modules/core-js/modules/_a-function.js
58351  var require_a_function = __commonJS({
58352    "node_modules/babel-polyfill/node_modules/core-js/modules/_a-function.js"(exports, module) {
58353      init_esbuild_shims();
58354      module.exports = function(it) {
58355        if (typeof it != "function") throw TypeError(it + " is not a function!");
58356        return it;
58357      };
58358    }
58359  });
58360
58361  
vendor: 856 bytes, lines 58361-58390
58361// node_modules/babel-polyfill/node_modules/core-js/modules/_ctx.js
58362  var require_ctx = __commonJS({
58363    "node_modules/babel-polyfill/node_modules/core-js/modules/_ctx.js"(exports, module) {
58364      init_esbuild_shims();
58365      var aFunction = require_a_function();
58366      module.exports = function(fn, that, length2) {
58367        aFunction(fn);
58368        if (that === void 0) return fn;
58369        switch (length2) {
58370          case 1:
58371            return function(a) {
58372              return fn.call(that, a);
58373            };
58374          case 2:
58375            return function(a, b) {
58376              return fn.call(that, a, b);
58377            };
58378          case 3:
58379            return function(a, b, c) {
58380              return fn.call(that, a, b, c);
58381            };
58382        }
58383        return function() {
58384          return fn.apply(that, arguments);
58385        };
58386      };
58387    }
58388  });
58389
58390  
vendor: 1,786 bytes, lines 58390-58433
58390// node_modules/babel-polyfill/node_modules/core-js/modules/_export.js
58391  var require_export = __commonJS({
58392    "node_modules/babel-polyfill/node_modules/core-js/modules/_export.js"(exports, module) {
58393      init_esbuild_shims();
58394      var global2 = require_global();
58395      var core = require_core();
58396      var hide2 = require_hide();
58397      var redefine = require_redefine();
58398      var ctx = require_ctx();
58399      var PROTOTYPE = "prototype";
58400      var $export = function(type, name2, source) {
58401        var IS_FORCED = type & $export.F;
58402        var IS_GLOBAL = type & $export.G;
58403        var IS_STATIC = type & $export.S;
58404        var IS_PROTO = type & $export.P;
58405        var IS_BIND = type & $export.B;
58406        var target = IS_GLOBAL ? global2 : IS_STATIC ? global2[name2] || (global2[name2] = {}) : (global2[name2] || {})[PROTOTYPE];
58407        var exports2 = IS_GLOBAL ? core : core[name2] || (core[name2] = {});
58408        var expProto = exports2[PROTOTYPE] || (exports2[PROTOTYPE] = {});
58409        var key, own2, out, exp;
58410        if (IS_GLOBAL) source = name2;
58411        for (key in source) {
58412          own2 = !IS_FORCED && target && target[key] !== void 0;
58413          out = (own2 ? target : source)[key];
58414          exp = IS_BIND && own2 ? ctx(out, global2) : IS_PROTO && typeof out == "function" ? ctx(Function.call, out) : out;
58415          if (target) redefine(target, key, out, type & $export.U);
58416          if (exports2[key] != out) hide2(exports2, key, exp);
58417          if (IS_PROTO && expProto[key] != out) expProto[key] = out;
58418        }
58419      };
58420      global2.core = core;
58421      $export.F = 1;
58422      $export.G = 2;
58423      $export.S = 4;
58424      $export.P = 8;
58425      $export.B = 16;
58426      $export.W = 32;
58427      $export.U = 64;
58428      $export.R = 128;
58429      module.exports = $export;
58430    }
58431  });
58432
58433  
vendor: 1,656 bytes, lines 58433-58487
58433// node_modules/babel-polyfill/node_modules/core-js/modules/_meta.js
58434  var require_meta = __commonJS({
58435    "node_modules/babel-polyfill/node_modules/core-js/modules/_meta.js"(exports, module) {
58436      init_esbuild_shims();
58437      var META = require_uid()("meta");
58438      var isObject2 = require_is_object();
58439      var has = require_has2();
58440      var setDesc = require_object_dp().f;
58441      var id = 0;
58442      var isExtensible = Object.isExtensible || function() {
58443        return true;
58444      };
58445      var FREEZE = !require_fails()(function() {
58446        return isExtensible(Object.preventExtensions({}));
58447      });
58448      var setMeta = function(it) {
58449        setDesc(it, META, { value: {
58450          i: "O" + ++id,
58451          // object ID
58452          w: {}
58453          // weak collections IDs
58454        } });
58455      };
58456      var fastKey = function(it, create2) {
58457        if (!isObject2(it)) return typeof it == "symbol" ? it : (typeof it == "string" ? "S" : "P") + it;
58458        if (!has(it, META)) {
58459          if (!isExtensible(it)) return "F";
58460          if (!create2) return "E";
58461          setMeta(it);
58462        }
58463        return it[META].i;
58464      };
58465      var getWeak = function(it, create2) {
58466        if (!has(it, META)) {
58467          if (!isExtensible(it)) return true;
58468          if (!create2) return false;
58469          setMeta(it);
58470        }
58471        return it[META].w;
58472      };
58473      var onFreeze = function(it) {
58474        if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
58475        return it;
58476      };
58477      var meta = module.exports = {
58478        KEY: META,
58479        NEED: false,
58480        fastKey,
58481        getWeak,
58482        onFreeze
58483      };
58484    }
58485  });
58486
58487  
vendor: 630 bytes, lines 58487-58502
58487// node_modules/babel-polyfill/node_modules/core-js/modules/_wks.js
58488  var require_wks = __commonJS({
58489    "node_modules/babel-polyfill/node_modules/core-js/modules/_wks.js"(exports, module) {
58490      init_esbuild_shims();
58491      var store = require_shared()("wks");
58492      var uid = require_uid();
58493      var Symbol2 = require_global().Symbol;
58494      var USE_SYMBOL = typeof Symbol2 == "function";
58495      var $exports = module.exports = function(name2) {
58496        return store[name2] || (store[name2] = USE_SYMBOL && Symbol2[name2] || (USE_SYMBOL ? Symbol2 : uid)("Symbol." + name2));
58497      };
58498      $exports.store = store;
58499    }
58500  });
58501
58502  
vendor: 561 bytes, lines 58502-58515
58502// node_modules/babel-polyfill/node_modules/core-js/modules/_set-to-string-tag.js
58503  var require_set_to_string_tag = __commonJS({
58504    "node_modules/babel-polyfill/node_modules/core-js/modules/_set-to-string-tag.js"(exports, module) {
58505      init_esbuild_shims();
58506      var def = require_object_dp().f;
58507      var has = require_has2();
58508      var TAG = require_wks()("toStringTag");
58509      module.exports = function(it, tag, stat) {
58510        if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
58511      };
58512    }
58513  });
58514
58515  
vendor: 271 bytes, lines 58515-58523
58515// node_modules/babel-polyfill/node_modules/core-js/modules/_wks-ext.js
58516  var require_wks_ext = __commonJS({
58517    "node_modules/babel-polyfill/node_modules/core-js/modules/_wks-ext.js"(exports) {
58518      init_esbuild_shims();
58519      exports.f = require_wks();
58520    }
58521  });
58522
58523  
vendor: 712 bytes, lines 58523-58539
58523// node_modules/babel-polyfill/node_modules/core-js/modules/_wks-define.js
58524  var require_wks_define = __commonJS({
58525    "node_modules/babel-polyfill/node_modules/core-js/modules/_wks-define.js"(exports, module) {
58526      init_esbuild_shims();
58527      var global2 = require_global();
58528      var core = require_core();
58529      var LIBRARY = require_library();
58530      var wksExt = require_wks_ext();
58531      var defineProperty = require_object_dp().f;
58532      module.exports = function(name2) {
58533        var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global2.Symbol || {});
58534        if (name2.charAt(0) != "_" && !(name2 in $Symbol)) defineProperty($Symbol, name2, { value: wksExt.f(name2) });
58535      };
58536    }
58537  });
58538
58539  
vendor: 364 bytes, lines 58539-58550
58539// node_modules/babel-polyfill/node_modules/core-js/modules/_cof.js
58540  var require_cof = __commonJS({
58541    "node_modules/babel-polyfill/node_modules/core-js/modules/_cof.js"(exports, module) {
58542      init_esbuild_shims();
58543      var toString3 = {}.toString;
58544      module.exports = function(it) {
58545        return toString3.call(it).slice(8, -1);
58546      };
58547    }
58548  });
58549
58550  
vendor: 435 bytes, lines 58550-58561
58550// node_modules/babel-polyfill/node_modules/core-js/modules/_iobject.js
58551  var require_iobject = __commonJS({
58552    "node_modules/babel-polyfill/node_modules/core-js/modules/_iobject.js"(exports, module) {
58553      init_esbuild_shims();
58554      var cof = require_cof();
58555      module.exports = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
58556        return cof(it) == "String" ? it.split("") : Object(it);
58557      };
58558    }
58559  });
58560
58561  
vendor: 386 bytes, lines 58561-58572
58561// node_modules/babel-polyfill/node_modules/core-js/modules/_defined.js
58562  var require_defined = __commonJS({
58563    "node_modules/babel-polyfill/node_modules/core-js/modules/_defined.js"(exports, module) {
58564      init_esbuild_shims();
58565      module.exports = function(it) {
58566        if (it == void 0) throw TypeError("Can't call method on  " + it);
58567        return it;
58568      };
58569    }
58570  });
58571
58572  
vendor: 417 bytes, lines 58572-58584
58572// node_modules/babel-polyfill/node_modules/core-js/modules/_to-iobject.js
58573  var require_to_iobject = __commonJS({
58574    "node_modules/babel-polyfill/node_modules/core-js/modules/_to-iobject.js"(exports, module) {
58575      init_esbuild_shims();
58576      var IObject = require_iobject();
58577      var defined = require_defined();
58578      module.exports = function(it) {
58579        return IObject(defined(it));
58580      };
58581    }
58582  });
58583
58584  
vendor: 428 bytes, lines 58584-58596
58584// node_modules/babel-polyfill/node_modules/core-js/modules/_to-integer.js
58585  var require_to_integer = __commonJS({
58586    "node_modules/babel-polyfill/node_modules/core-js/modules/_to-integer.js"(exports, module) {
58587      init_esbuild_shims();
58588      var ceil = Math.ceil;
58589      var floor2 = Math.floor;
58590      module.exports = function(it) {
58591        return isNaN(it = +it) ? 0 : (it > 0 ? floor2 : ceil)(it);
58592      };
58593    }
58594  });
58595
58596  
vendor: 437 bytes, lines 58596-58608
58596// node_modules/babel-polyfill/node_modules/core-js/modules/_to-length.js
58597  var require_to_length = __commonJS({
58598    "node_modules/babel-polyfill/node_modules/core-js/modules/_to-length.js"(exports, module) {
58599      init_esbuild_shims();
58600      var toInteger = require_to_integer();
58601      var min2 = Math.min;
58602      module.exports = function(it) {
58603        return it > 0 ? min2(toInteger(it), 9007199254740991) : 0;
58604      };
58605    }
58606  });
58607
58608  
vendor: 549 bytes, lines 58608-58622
58608// node_modules/babel-polyfill/node_modules/core-js/modules/_to-absolute-index.js
58609  var require_to_absolute_index = __commonJS({
58610    "node_modules/babel-polyfill/node_modules/core-js/modules/_to-absolute-index.js"(exports, module) {
58611      init_esbuild_shims();
58612      var toInteger = require_to_integer();
58613      var max2 = Math.max;
58614      var min2 = Math.min;
58615      module.exports = function(index2, length2) {
58616        index2 = toInteger(index2);
58617        return index2 < 0 ? max2(index2 + length2, 0) : min2(index2, length2);
58618      };
58619    }
58620  });
58621
58622  
vendor: 1,044 bytes, lines 58622-58648
58622// node_modules/babel-polyfill/node_modules/core-js/modules/_array-includes.js
58623  var require_array_includes = __commonJS({
58624    "node_modules/babel-polyfill/node_modules/core-js/modules/_array-includes.js"(exports, module) {
58625      init_esbuild_shims();
58626      var toIObject = require_to_iobject();
58627      var toLength = require_to_length();
58628      var toAbsoluteIndex = require_to_absolute_index();
58629      module.exports = function(IS_INCLUDES) {
58630        return function($this, el, fromIndex) {
58631          var O = toIObject($this);
58632          var length2 = toLength(O.length);
58633          var index2 = toAbsoluteIndex(fromIndex, length2);
58634          var value;
58635          if (IS_INCLUDES && el != el) while (length2 > index2) {
58636            value = O[index2++];
58637            if (value != value) return true;
58638          }
58639          else for (; length2 > index2; index2++) if (IS_INCLUDES || index2 in O) {
58640            if (O[index2] === el) return IS_INCLUDES || index2 || 0;
58641          }
58642          return !IS_INCLUDES && -1;
58643        };
58644      };
58645    }
58646  });
58647
58648  
vendor: 435 bytes, lines 58648-58660
58648// node_modules/babel-polyfill/node_modules/core-js/modules/_shared-key.js
58649  var require_shared_key = __commonJS({
58650    "node_modules/babel-polyfill/node_modules/core-js/modules/_shared-key.js"(exports, module) {
58651      init_esbuild_shims();
58652      var shared = require_shared()("keys");
58653      var uid = require_uid();
58654      module.exports = function(key) {
58655        return shared[key] || (shared[key] = uid(key));
58656      };
58657    }
58658  });
58659
58660  
vendor: 864 bytes, lines 58660-58682
58660// node_modules/babel-polyfill/node_modules/core-js/modules/_object-keys-internal.js
58661  var require_object_keys_internal = __commonJS({
58662    "node_modules/babel-polyfill/node_modules/core-js/modules/_object-keys-internal.js"(exports, module) {
58663      init_esbuild_shims();
58664      var has = require_has2();
58665      var toIObject = require_to_iobject();
58666      var arrayIndexOf = require_array_includes()(false);
58667      var IE_PROTO = require_shared_key()("IE_PROTO");
58668      module.exports = function(object, names) {
58669        var O = toIObject(object);
58670        var i2 = 0;
58671        var result = [];
58672        var key;
58673        for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
58674        while (names.length > i2) if (has(O, key = names[i2++])) {
58675          ~arrayIndexOf(result, key) || result.push(key);
58676        }
58677        return result;
58678      };
58679    }
58680  });
58681
58682  
vendor: 395 bytes, lines 58682-58690
58682// node_modules/babel-polyfill/node_modules/core-js/modules/_enum-bug-keys.js
58683  var require_enum_bug_keys = __commonJS({
58684    "node_modules/babel-polyfill/node_modules/core-js/modules/_enum-bug-keys.js"(exports, module) {
58685      init_esbuild_shims();
58686      module.exports = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
58687    }
58688  });
58689
58690  
vendor: 461 bytes, lines 58690-58702
58690// node_modules/babel-polyfill/node_modules/core-js/modules/_object-keys.js
58691  var require_object_keys = __commonJS({
58692    "node_modules/babel-polyfill/node_modules/core-js/modules/_object-keys.js"(exports, module) {
58693      init_esbuild_shims();
58694      var $keys = require_object_keys_internal();
58695      var enumBugKeys = require_enum_bug_keys();
58696      module.exports = Object.keys || function keys(O) {
58697        return $keys(O, enumBugKeys);
58698      };
58699    }
58700  });
58701
58702  
vendor: 298 bytes, lines 58702-58710
58702// node_modules/babel-polyfill/node_modules/core-js/modules/_object-gops.js
58703  var require_object_gops = __commonJS({
58704    "node_modules/babel-polyfill/node_modules/core-js/modules/_object-gops.js"(exports) {
58705      init_esbuild_shims();
58706      exports.f = Object.getOwnPropertySymbols;
58707    }
58708  });
58709
58710  
vendor: 290 bytes, lines 58710-58718
58710// node_modules/babel-polyfill/node_modules/core-js/modules/_object-pie.js
58711  var require_object_pie = __commonJS({
58712    "node_modules/babel-polyfill/node_modules/core-js/modules/_object-pie.js"(exports) {
58713      init_esbuild_shims();
58714      exports.f = {}.propertyIsEnumerable;
58715    }
58716  });
58717
58718  
vendor: 755 bytes, lines 58718-58740
58718// node_modules/babel-polyfill/node_modules/core-js/modules/_enum-keys.js
58719  var require_enum_keys = __commonJS({
58720    "node_modules/babel-polyfill/node_modules/core-js/modules/_enum-keys.js"(exports, module) {
58721      init_esbuild_shims();
58722      var getKeys = require_object_keys();
58723      var gOPS = require_object_gops();
58724      var pIE = require_object_pie();
58725      module.exports = function(it) {
58726        var result = getKeys(it);
58727        var getSymbols = gOPS.f;
58728        if (getSymbols) {
58729          var symbols = getSymbols(it);
58730          var isEnum = pIE.f;
58731          var i2 = 0;
58732          var key;
58733          while (symbols.length > i2) if (isEnum.call(it, key = symbols[i2++])) result.push(key);
58734        }
58735        return result;
58736      };
58737    }
58738  });
58739
58740  
vendor: 390 bytes, lines 58740-58751
58740// node_modules/babel-polyfill/node_modules/core-js/modules/_is-array.js
58741  var require_is_array = __commonJS({
58742    "node_modules/babel-polyfill/node_modules/core-js/modules/_is-array.js"(exports, module) {
58743      init_esbuild_shims();
58744      var cof = require_cof();
58745      module.exports = Array.isArray || function isArray3(arg) {
58746        return cof(arg) == "Array";
58747      };
58748    }
58749  });
58750
58751  
vendor: 374 bytes, lines 58751-58762
58751// node_modules/babel-polyfill/node_modules/core-js/modules/_to-object.js
58752  var require_to_object = __commonJS({
58753    "node_modules/babel-polyfill/node_modules/core-js/modules/_to-object.js"(exports, module) {
58754      init_esbuild_shims();
58755      var defined = require_defined();
58756      module.exports = function(it) {
58757        return Object(defined(it));
58758      };
58759    }
58760  });
58761
58762  
vendor: 722 bytes, lines 58762-58781
58762// node_modules/babel-polyfill/node_modules/core-js/modules/_object-dps.js
58763  var require_object_dps = __commonJS({
58764    "node_modules/babel-polyfill/node_modules/core-js/modules/_object-dps.js"(exports, module) {
58765      init_esbuild_shims();
58766      var dP = require_object_dp();
58767      var anObject = require_an_object();
58768      var getKeys = require_object_keys();
58769      module.exports = require_descriptors() ? Object.defineProperties : function defineProperties(O, Properties) {
58770        anObject(O);
58771        var keys = getKeys(Properties);
58772        var length2 = keys.length;
58773        var i2 = 0;
58774        var P2;
58775        while (length2 > i2) dP.f(O, P2 = keys[i2++], Properties[P2]);
58776        return O;
58777      };
58778    }
58779  });
58780
58781  
vendor: 349 bytes, lines 58781-58790
58781// node_modules/babel-polyfill/node_modules/core-js/modules/_html.js
58782  var require_html = __commonJS({
58783    "node_modules/babel-polyfill/node_modules/core-js/modules/_html.js"(exports, module) {
58784      init_esbuild_shims();
58785      var document2 = require_global().document;
58786      module.exports = document2 && document2.documentElement;
58787    }
58788  });
58789
58790  
vendor: 1,582 bytes, lines 58790-58831
58790// node_modules/babel-polyfill/node_modules/core-js/modules/_object-create.js
58791  var require_object_create = __commonJS({
58792    "node_modules/babel-polyfill/node_modules/core-js/modules/_object-create.js"(exports, module) {
58793      init_esbuild_shims();
58794      var anObject = require_an_object();
58795      var dPs = require_object_dps();
58796      var enumBugKeys = require_enum_bug_keys();
58797      var IE_PROTO = require_shared_key()("IE_PROTO");
58798      var Empty = function() {
58799      };
58800      var PROTOTYPE = "prototype";
58801      var createDict = function() {
58802        var iframe = require_dom_create()("iframe");
58803        var i2 = enumBugKeys.length;
58804        var lt2 = "<";
58805        var gt = ">";
58806        var iframeDocument;
58807        iframe.style.display = "none";
58808        require_html().appendChild(iframe);
58809        iframe.src = "javascript:";
58810        iframeDocument = iframe.contentWindow.document;
58811        iframeDocument.open();
58812        iframeDocument.write(lt2 + "script" + gt + "document.F=Object" + lt2 + "/script" + gt);
58813        iframeDocument.close();
58814        createDict = iframeDocument.F;
58815        while (i2--) delete createDict[PROTOTYPE][enumBugKeys[i2]];
58816        return createDict();
58817      };
58818      module.exports = Object.create || function create2(O, Properties) {
58819        var result;
58820        if (O !== null) {
58821          Empty[PROTOTYPE] = anObject(O);
58822          result = new Empty();
58823          Empty[PROTOTYPE] = null;
58824          result[IE_PROTO] = O;
58825        } else result = createDict();
58826        return Properties === void 0 ? result : dPs(result, Properties);
58827      };
58828    }
58829  });
58830
58831  
vendor: 506 bytes, lines 58831-58843
58831// node_modules/babel-polyfill/node_modules/core-js/modules/_object-gopn.js
58832  var require_object_gopn = __commonJS({
58833    "node_modules/babel-polyfill/node_modules/core-js/modules/_object-gopn.js"(exports) {
58834      init_esbuild_shims();
58835      var $keys = require_object_keys_internal();
58836      var hiddenKeys = require_enum_bug_keys().concat("length", "prototype");
58837      exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
58838        return $keys(O, hiddenKeys);
58839      };
58840    }
58841  });
58842
58843  
vendor: 869 bytes, lines 58843-58864
58843// node_modules/babel-polyfill/node_modules/core-js/modules/_object-gopn-ext.js
58844  var require_object_gopn_ext = __commonJS({
58845    "node_modules/babel-polyfill/node_modules/core-js/modules/_object-gopn-ext.js"(exports, module) {
58846      init_esbuild_shims();
58847      var toIObject = require_to_iobject();
58848      var gOPN = require_object_gopn().f;
58849      var toString3 = {}.toString;
58850      var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
58851      var getWindowNames = function(it) {
58852        try {
58853          return gOPN(it);
58854        } catch (e) {
58855          return windowNames.slice();
58856        }
58857      };
58858      module.exports.f = function getOwnPropertyNames(it) {
58859        return windowNames && toString3.call(it) == "[object Window]" ? getWindowNames(it) : gOPN(toIObject(it));
58860      };
58861    }
58862  });
58863
58864  
vendor: 894 bytes, lines 58864-58887
58864// node_modules/babel-polyfill/node_modules/core-js/modules/_object-gopd.js
58865  var require_object_gopd = __commonJS({
58866    "node_modules/babel-polyfill/node_modules/core-js/modules/_object-gopd.js"(exports) {
58867      init_esbuild_shims();
58868      var pIE = require_object_pie();
58869      var createDesc = require_property_desc();
58870      var toIObject = require_to_iobject();
58871      var toPrimitive2 = require_to_primitive();
58872      var has = require_has2();
58873      var IE8_DOM_DEFINE = require_ie8_dom_define();
58874      var gOPD = Object.getOwnPropertyDescriptor;
58875      exports.f = require_descriptors() ? gOPD : function getOwnPropertyDescriptor(O, P2) {
58876        O = toIObject(O);
58877        P2 = toPrimitive2(P2, true);
58878        if (IE8_DOM_DEFINE) try {
58879          return gOPD(O, P2);
58880        } catch (e) {
58881        }
58882        if (has(O, P2)) return createDesc(!pIE.f.call(O, P2), O[P2]);
58883      };
58884    }
58885  });
58886
58887  
vendor: 10,102 bytes, lines 58887-59121
58887// node_modules/babel-polyfill/node_modules/core-js/modules/es6.symbol.js
58888  var require_es6_symbol = __commonJS({
58889    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.symbol.js"() {
58890      "use strict";
58891      init_esbuild_shims();
58892      var global2 = require_global();
58893      var has = require_has2();
58894      var DESCRIPTORS = require_descriptors();
58895      var $export = require_export();
58896      var redefine = require_redefine();
58897      var META = require_meta().KEY;
58898      var $fails = require_fails();
58899      var shared = require_shared();
58900      var setToStringTag = require_set_to_string_tag();
58901      var uid = require_uid();
58902      var wks = require_wks();
58903      var wksExt = require_wks_ext();
58904      var wksDefine = require_wks_define();
58905      var enumKeys = require_enum_keys();
58906      var isArray3 = require_is_array();
58907      var anObject = require_an_object();
58908      var isObject2 = require_is_object();
58909      var toObject = require_to_object();
58910      var toIObject = require_to_iobject();
58911      var toPrimitive2 = require_to_primitive();
58912      var createDesc = require_property_desc();
58913      var _create = require_object_create();
58914      var gOPNExt = require_object_gopn_ext();
58915      var $GOPD = require_object_gopd();
58916      var $GOPS = require_object_gops();
58917      var $DP = require_object_dp();
58918      var $keys = require_object_keys();
58919      var gOPD = $GOPD.f;
58920      var dP = $DP.f;
58921      var gOPN = gOPNExt.f;
58922      var $Symbol = global2.Symbol;
58923      var $JSON = global2.JSON;
58924      var _stringify = $JSON && $JSON.stringify;
58925      var PROTOTYPE = "prototype";
58926      var HIDDEN = wks("_hidden");
58927      var TO_PRIMITIVE = wks("toPrimitive");
58928      var isEnum = {}.propertyIsEnumerable;
58929      var SymbolRegistry = shared("symbol-registry");
58930      var AllSymbols = shared("symbols");
58931      var OPSymbols = shared("op-symbols");
58932      var ObjectProto = Object[PROTOTYPE];
58933      var USE_NATIVE = typeof $Symbol == "function" && !!$GOPS.f;
58934      var QObject = global2.QObject;
58935      var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
58936      var setSymbolDesc = DESCRIPTORS && $fails(function() {
58937        return _create(dP({}, "a", {
58938          get: function() {
58939            return dP(this, "a", { value: 7 }).a;
58940          }
58941        })).a != 7;
58942      }) ? function(it, key, D) {
58943        var protoDesc = gOPD(ObjectProto, key);
58944        if (protoDesc) delete ObjectProto[key];
58945        dP(it, key, D);
58946        if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
58947      } : dP;
58948      var wrap3 = function(tag) {
58949        var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
58950        sym._k = tag;
58951        return sym;
58952      };
58953      var isSymbol = USE_NATIVE && typeof $Symbol.iterator == "symbol" ? function(it) {
58954        return typeof it == "symbol";
58955      } : function(it) {
58956        return it instanceof $Symbol;
58957      };
58958      var $defineProperty = function defineProperty(it, key, D) {
58959        if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
58960        anObject(it);
58961        key = toPrimitive2(key, true);
58962        anObject(D);
58963        if (has(AllSymbols, key)) {
58964          if (!D.enumerable) {
58965            if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));
58966            it[HIDDEN][key] = true;
58967          } else {
58968            if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
58969            D = _create(D, { enumerable: createDesc(0, false) });
58970          }
58971          return setSymbolDesc(it, key, D);
58972        }
58973        return dP(it, key, D);
58974      };
58975      var $defineProperties = function defineProperties(it, P2) {
58976        anObject(it);
58977        var keys = enumKeys(P2 = toIObject(P2));
58978        var i2 = 0;
58979        var l = keys.length;
58980        var key;
58981        while (l > i2) $defineProperty(it, key = keys[i2++], P2[key]);
58982        return it;
58983      };
58984      var $create = function create2(it, P2) {
58985        return P2 === void 0 ? _create(it) : $defineProperties(_create(it), P2);
58986      };
58987      var $propertyIsEnumerable = function propertyIsEnumerable2(key) {
58988        var E = isEnum.call(this, key = toPrimitive2(key, true));
58989        if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;
58990        return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
58991      };
58992      var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
58993        it = toIObject(it);
58994        key = toPrimitive2(key, true);
58995        if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;
58996        var D = gOPD(it, key);
58997        if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
58998        return D;
58999      };
59000      var $getOwnPropertyNames = function getOwnPropertyNames(it) {
59001        var names = gOPN(toIObject(it));
59002        var result = [];
59003        var i2 = 0;
59004        var key;
59005        while (names.length > i2) {
59006          if (!has(AllSymbols, key = names[i2++]) && key != HIDDEN && key != META) result.push(key);
59007        }
59008        return result;
59009      };
59010      var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
59011        var IS_OP = it === ObjectProto;
59012        var names = gOPN(IS_OP ? OPSymbols : toIObject(it));
59013        var result = [];
59014        var i2 = 0;
59015        var key;
59016        while (names.length > i2) {
59017          if (has(AllSymbols, key = names[i2++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
59018        }
59019        return result;
59020      };
59021      if (!USE_NATIVE) {
59022        $Symbol = function Symbol2() {
59023          if (this instanceof $Symbol) throw TypeError("Symbol is not a constructor!");
59024          var tag = uid(arguments.length > 0 ? arguments[0] : void 0);
59025          var $set = function(value) {
59026            if (this === ObjectProto) $set.call(OPSymbols, value);
59027            if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
59028            setSymbolDesc(this, tag, createDesc(1, value));
59029          };
59030          if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
59031          return wrap3(tag);
59032        };
59033        redefine($Symbol[PROTOTYPE], "toString", function toString3() {
59034          return this._k;
59035        });
59036        $GOPD.f = $getOwnPropertyDescriptor;
59037        $DP.f = $defineProperty;
59038        require_object_gopn().f = gOPNExt.f = $getOwnPropertyNames;
59039        require_object_pie().f = $propertyIsEnumerable;
59040        $GOPS.f = $getOwnPropertySymbols;
59041        if (DESCRIPTORS && !require_library()) {
59042          redefine(ObjectProto, "propertyIsEnumerable", $propertyIsEnumerable, true);
59043        }
59044        wksExt.f = function(name2) {
59045          return wrap3(wks(name2));
59046        };
59047      }
59048      $export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });
59049      for (es6Symbols = // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
59050      "hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","), j2 = 0; es6Symbols.length > j2; ) wks(es6Symbols[j2++]);
59051      var es6Symbols;
59052      var j2;
59053      for (wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k; ) wksDefine(wellKnownSymbols[k++]);
59054      var wellKnownSymbols;
59055      var k;
59056      $export($export.S + $export.F * !USE_NATIVE, "Symbol", {
59057        // 19.4.2.1 Symbol.for(key)
59058        "for": function(key) {
59059          return has(SymbolRegistry, key += "") ? SymbolRegistry[key] : SymbolRegistry[key] = $Symbol(key);
59060        },
59061        // 19.4.2.5 Symbol.keyFor(sym)
59062        keyFor: function keyFor(sym) {
59063          if (!isSymbol(sym)) throw TypeError(sym + " is not a symbol!");
59064          for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
59065        },
59066        useSetter: function() {
59067          setter = true;
59068        },
59069        useSimple: function() {
59070          setter = false;
59071        }
59072      });
59073      $export($export.S + $export.F * !USE_NATIVE, "Object", {
59074        // 19.1.2.2 Object.create(O [, Properties])
59075        create: $create,
59076        // 19.1.2.4 Object.defineProperty(O, P, Attributes)
59077        defineProperty: $defineProperty,
59078        // 19.1.2.3 Object.defineProperties(O, Properties)
59079        defineProperties: $defineProperties,
59080        // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
59081        getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
59082        // 19.1.2.7 Object.getOwnPropertyNames(O)
59083        getOwnPropertyNames: $getOwnPropertyNames,
59084        // 19.1.2.8 Object.getOwnPropertySymbols(O)
59085        getOwnPropertySymbols: $getOwnPropertySymbols
59086      });
59087      var FAILS_ON_PRIMITIVES = $fails(function() {
59088        $GOPS.f(1);
59089      });
59090      $export($export.S + $export.F * FAILS_ON_PRIMITIVES, "Object", {
59091        getOwnPropertySymbols: function getOwnPropertySymbols(it) {
59092          return $GOPS.f(toObject(it));
59093        }
59094      });
59095      $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function() {
59096        var S2 = $Symbol();
59097        return _stringify([S2]) != "[null]" || _stringify({ a: S2 }) != "{}" || _stringify(Object(S2)) != "{}";
59098      })), "JSON", {
59099        stringify: function stringify2(it) {
59100          var args = [it];
59101          var i2 = 1;
59102          var replacer, $replacer;
59103          while (arguments.length > i2) args.push(arguments[i2++]);
59104          $replacer = replacer = args[1];
59105          if (!isObject2(replacer) && it === void 0 || isSymbol(it)) return;
59106          if (!isArray3(replacer)) replacer = function(key, value) {
59107            if (typeof $replacer == "function") value = $replacer.call(this, key, value);
59108            if (!isSymbol(value)) return value;
59109          };
59110          args[1] = replacer;
59111          return _stringify.apply($JSON, args);
59112        }
59113      });
59114      $Symbol[PROTOTYPE][TO_PRIMITIVE] || require_hide()($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
59115      setToStringTag($Symbol, "Symbol");
59116      setToStringTag(Math, "Math", true);
59117      setToStringTag(global2.JSON, "JSON", true);
59118    }
59119  });
59120
59121  
vendor: 370 bytes, lines 59121-59130
59121// node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.create.js
59122  var require_es6_object_create = __commonJS({
59123    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.create.js"() {
59124      init_esbuild_shims();
59125      var $export = require_export();
59126      $export($export.S, "Object", { create: require_object_create() });
59127    }
59128  });
59129
59130  
vendor: 440 bytes, lines 59130-59139
59130// node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.define-property.js
59131  var require_es6_object_define_property = __commonJS({
59132    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.define-property.js"() {
59133      init_esbuild_shims();
59134      var $export = require_export();
59135      $export($export.S + $export.F * !require_descriptors(), "Object", { defineProperty: require_object_dp().f });
59136    }
59137  });
59138
59139  
vendor: 447 bytes, lines 59139-59148
59139// node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.define-properties.js
59140  var require_es6_object_define_properties = __commonJS({
59141    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.define-properties.js"() {
59142      init_esbuild_shims();
59143      var $export = require_export();
59144      $export($export.S + $export.F * !require_descriptors(), "Object", { defineProperties: require_object_dps() });
59145    }
59146  });
59147
59148  
vendor: 628 bytes, lines 59148-59166
59148// node_modules/babel-polyfill/node_modules/core-js/modules/_object-sap.js
59149  var require_object_sap = __commonJS({
59150    "node_modules/babel-polyfill/node_modules/core-js/modules/_object-sap.js"(exports, module) {
59151      init_esbuild_shims();
59152      var $export = require_export();
59153      var core = require_core();
59154      var fails = require_fails();
59155      module.exports = function(KEY, exec) {
59156        var fn = (core.Object || {})[KEY] || Object[KEY];
59157        var exp = {};
59158        exp[KEY] = exec(fn);
59159        $export($export.S + $export.F * fails(function() {
59160          fn(1);
59161        }), "Object", exp);
59162      };
59163    }
59164  });
59165
59166  
vendor: 642 bytes, lines 59166-59180
59166// node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.get-own-property-descriptor.js
59167  var require_es6_object_get_own_property_descriptor = __commonJS({
59168    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.get-own-property-descriptor.js"() {
59169      init_esbuild_shims();
59170      var toIObject = require_to_iobject();
59171      var $getOwnPropertyDescriptor = require_object_gopd().f;
59172      require_object_sap()("getOwnPropertyDescriptor", function() {
59173        return function getOwnPropertyDescriptor(it, key) {
59174          return $getOwnPropertyDescriptor(toIObject(it), key);
59175        };
59176      });
59177    }
59178  });
59179
59180  
vendor: 761 bytes, lines 59180-59199
59180// node_modules/babel-polyfill/node_modules/core-js/modules/_object-gpo.js
59181  var require_object_gpo = __commonJS({
59182    "node_modules/babel-polyfill/node_modules/core-js/modules/_object-gpo.js"(exports, module) {
59183      init_esbuild_shims();
59184      var has = require_has2();
59185      var toObject = require_to_object();
59186      var IE_PROTO = require_shared_key()("IE_PROTO");
59187      var ObjectProto = Object.prototype;
59188      module.exports = Object.getPrototypeOf || function(O) {
59189        O = toObject(O);
59190        if (has(O, IE_PROTO)) return O[IE_PROTO];
59191        if (typeof O.constructor == "function" && O instanceof O.constructor) {
59192          return O.constructor.prototype;
59193        }
59194        return O instanceof Object ? ObjectProto : null;
59195      };
59196    }
59197  });
59198
59199  
vendor: 554 bytes, lines 59199-59213
59199// node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.get-prototype-of.js
59200  var require_es6_object_get_prototype_of = __commonJS({
59201    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.get-prototype-of.js"() {
59202      init_esbuild_shims();
59203      var toObject = require_to_object();
59204      var $getPrototypeOf = require_object_gpo();
59205      require_object_sap()("getPrototypeOf", function() {
59206        return function getPrototypeOf2(it) {
59207          return $getPrototypeOf(toObject(it));
59208        };
59209      });
59210    }
59211  });
59212
59213  
vendor: 478 bytes, lines 59213-59227
59213// node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.keys.js
59214  var require_es6_object_keys = __commonJS({
59215    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.keys.js"() {
59216      init_esbuild_shims();
59217      var toObject = require_to_object();
59218      var $keys = require_object_keys();
59219      require_object_sap()("keys", function() {
59220        return function keys(it) {
59221          return $keys(toObject(it));
59222        };
59223      });
59224    }
59225  });
59226
59227  
vendor: 424 bytes, lines 59227-59237
59227// node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.get-own-property-names.js
59228  var require_es6_object_get_own_property_names = __commonJS({
59229    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.get-own-property-names.js"() {
59230      init_esbuild_shims();
59231      require_object_sap()("getOwnPropertyNames", function() {
59232        return require_object_gopn_ext().f;
59233      });
59234    }
59235  });
59236
59237  
vendor: 527 bytes, lines 59237-59251
59237// node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.freeze.js
59238  var require_es6_object_freeze = __commonJS({
59239    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.freeze.js"() {
59240      init_esbuild_shims();
59241      var isObject2 = require_is_object();
59242      var meta = require_meta().onFreeze;
59243      require_object_sap()("freeze", function($freeze) {
59244        return function freeze(it) {
59245          return $freeze && isObject2(it) ? $freeze(meta(it)) : it;
59246        };
59247      });
59248    }
59249  });
59250
59251  
vendor: 511 bytes, lines 59251-59265
59251// node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.seal.js
59252  var require_es6_object_seal = __commonJS({
59253    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.seal.js"() {
59254      init_esbuild_shims();
59255      var isObject2 = require_is_object();
59256      var meta = require_meta().onFreeze;
59257      require_object_sap()("seal", function($seal) {
59258        return function seal(it) {
59259          return $seal && isObject2(it) ? $seal(meta(it)) : it;
59260        };
59261      });
59262    }
59263  });
59264
59265  
vendor: 618 bytes, lines 59265-59279
59265// node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.prevent-extensions.js
59266  var require_es6_object_prevent_extensions = __commonJS({
59267    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.prevent-extensions.js"() {
59268      init_esbuild_shims();
59269      var isObject2 = require_is_object();
59270      var meta = require_meta().onFreeze;
59271      require_object_sap()("preventExtensions", function($preventExtensions) {
59272        return function preventExtensions(it) {
59273          return $preventExtensions && isObject2(it) ? $preventExtensions(meta(it)) : it;
59274        };
59275      });
59276    }
59277  });
59278
59279  
vendor: 507 bytes, lines 59279-59292
59279// node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.is-frozen.js
59280  var require_es6_object_is_frozen = __commonJS({
59281    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.is-frozen.js"() {
59282      init_esbuild_shims();
59283      var isObject2 = require_is_object();
59284      require_object_sap()("isFrozen", function($isFrozen) {
59285        return function isFrozen(it) {
59286          return isObject2(it) ? $isFrozen ? $isFrozen(it) : false : true;
59287        };
59288      });
59289    }
59290  });
59291
59292  
vendor: 507 bytes, lines 59292-59305
59292// node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.is-sealed.js
59293  var require_es6_object_is_sealed = __commonJS({
59294    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.is-sealed.js"() {
59295      init_esbuild_shims();
59296      var isObject2 = require_is_object();
59297      require_object_sap()("isSealed", function($isSealed) {
59298        return function isSealed(it) {
59299          return isObject2(it) ? $isSealed ? $isSealed(it) : false : true;
59300        };
59301      });
59302    }
59303  });
59304
59305  
vendor: 539 bytes, lines 59305-59318
59305// node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.is-extensible.js
59306  var require_es6_object_is_extensible = __commonJS({
59307    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.is-extensible.js"() {
59308      init_esbuild_shims();
59309      var isObject2 = require_is_object();
59310      require_object_sap()("isExtensible", function($isExtensible) {
59311        return function isExtensible(it) {
59312          return isObject2(it) ? $isExtensible ? $isExtensible(it) : true : false;
59313        };
59314      });
59315    }
59316  });
59317
59318  
vendor: 1,576 bytes, lines 59318-59362
59318// node_modules/babel-polyfill/node_modules/core-js/modules/_object-assign.js
59319  var require_object_assign2 = __commonJS({
59320    "node_modules/babel-polyfill/node_modules/core-js/modules/_object-assign.js"(exports, module) {
59321      "use strict";
59322      init_esbuild_shims();
59323      var DESCRIPTORS = require_descriptors();
59324      var getKeys = require_object_keys();
59325      var gOPS = require_object_gops();
59326      var pIE = require_object_pie();
59327      var toObject = require_to_object();
59328      var IObject = require_iobject();
59329      var $assign = Object.assign;
59330      module.exports = !$assign || require_fails()(function() {
59331        var A2 = {};
59332        var B = {};
59333        var S2 = /* @__PURE__ */ Symbol();
59334        var K = "abcdefghijklmnopqrst";
59335        A2[S2] = 7;
59336        K.split("").forEach(function(k) {
59337          B[k] = k;
59338        });
59339        return $assign({}, A2)[S2] != 7 || Object.keys($assign({}, B)).join("") != K;
59340      }) ? function assign3(target, source) {
59341        var T = toObject(target);
59342        var aLen = arguments.length;
59343        var index2 = 1;
59344        var getSymbols = gOPS.f;
59345        var isEnum = pIE.f;
59346        while (aLen > index2) {
59347          var S2 = IObject(arguments[index2++]);
59348          var keys = getSymbols ? getKeys(S2).concat(getSymbols(S2)) : getKeys(S2);
59349          var length2 = keys.length;
59350          var j2 = 0;
59351          var key;
59352          while (length2 > j2) {
59353            key = keys[j2++];
59354            if (!DESCRIPTORS || isEnum.call(S2, key)) T[key] = S2[key];
59355          }
59356        }
59357        return T;
59358      } : $assign;
59359    }
59360  });
59361
59362  
vendor: 383 bytes, lines 59362-59371
59362// node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.assign.js
59363  var require_es6_object_assign = __commonJS({
59364    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.assign.js"() {
59365      init_esbuild_shims();
59366      var $export = require_export();
59367      $export($export.S + $export.F, "Object", { assign: require_object_assign2() });
59368    }
59369  });
59370
59371  
vendor: 398 bytes, lines 59371-59381
59371// node_modules/babel-polyfill/node_modules/core-js/modules/_same-value.js
59372  var require_same_value = __commonJS({
59373    "node_modules/babel-polyfill/node_modules/core-js/modules/_same-value.js"(exports, module) {
59374      init_esbuild_shims();
59375      module.exports = Object.is || function is(x2, y) {
59376        return x2 === y ? x2 !== 0 || 1 / x2 === 1 / y : x2 != x2 && y != y;
59377      };
59378    }
59379  });
59380
59381  
vendor: 351 bytes, lines 59381-59390
59381// node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.is.js
59382  var require_es6_object_is = __commonJS({
59383    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.is.js"() {
59384      init_esbuild_shims();
59385      var $export = require_export();
59386      $export($export.S, "Object", { is: require_same_value() });
59387    }
59388  });
59389
59390  
vendor: 1,220 bytes, lines 59390-59424
59390// node_modules/babel-polyfill/node_modules/core-js/modules/_set-proto.js
59391  var require_set_proto = __commonJS({
59392    "node_modules/babel-polyfill/node_modules/core-js/modules/_set-proto.js"(exports, module) {
59393      init_esbuild_shims();
59394      var isObject2 = require_is_object();
59395      var anObject = require_an_object();
59396      var check = function(O, proto) {
59397        anObject(O);
59398        if (!isObject2(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
59399      };
59400      module.exports = {
59401        set: Object.setPrototypeOf || ("__proto__" in {} ? (
59402          // eslint-disable-line
59403          (function(test2, buggy, set) {
59404            try {
59405              set = require_ctx()(Function.call, require_object_gopd().f(Object.prototype, "__proto__").set, 2);
59406              set(test2, []);
59407              buggy = !(test2 instanceof Array);
59408            } catch (e) {
59409              buggy = true;
59410            }
59411            return function setPrototypeOf(O, proto) {
59412              check(O, proto);
59413              if (buggy) O.__proto__ = proto;
59414              else set(O, proto);
59415              return O;
59416            };
59417          })({}, false)
59418        ) : void 0),
59419        check
59420      };
59421    }
59422  });
59423
59424  
vendor: 408 bytes, lines 59424-59433
59424// node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.set-prototype-of.js
59425  var require_es6_object_set_prototype_of = __commonJS({
59426    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.set-prototype-of.js"() {
59427      init_esbuild_shims();
59428      var $export = require_export();
59429      $export($export.S, "Object", { setPrototypeOf: require_set_proto().set });
59430    }
59431  });
59432
59433  
vendor: 834 bytes, lines 59433-59455
59433// node_modules/babel-polyfill/node_modules/core-js/modules/_classof.js
59434  var require_classof = __commonJS({
59435    "node_modules/babel-polyfill/node_modules/core-js/modules/_classof.js"(exports, module) {
59436      init_esbuild_shims();
59437      var cof = require_cof();
59438      var TAG = require_wks()("toStringTag");
59439      var ARG = cof(/* @__PURE__ */ (function() {
59440        return arguments;
59441      })()) == "Arguments";
59442      var tryGet = function(it, key) {
59443        try {
59444          return it[key];
59445        } catch (e) {
59446        }
59447      };
59448      module.exports = function(it) {
59449        var O, T, B;
59450        return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (T = tryGet(O = Object(it), TAG)) == "string" ? T : ARG ? cof(O) : (B = cof(O)) == "Object" && typeof O.callee == "function" ? "Arguments" : B;
59451      };
59452    }
59453  });
59454
59455  
vendor: 595 bytes, lines 59455-59471
59455// node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.to-string.js
59456  var require_es6_object_to_string = __commonJS({
59457    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.to-string.js"() {
59458      "use strict";
59459      init_esbuild_shims();
59460      var classof = require_classof();
59461      var test2 = {};
59462      test2[require_wks()("toStringTag")] = "z";
59463      if (test2 + "" != "[object z]") {
59464        require_redefine()(Object.prototype, "toString", function toString3() {
59465          return "[object " + classof(this) + "]";
59466        }, true);
59467      }
59468    }
59469  });
59470
59471  
vendor: 906 bytes, lines 59471-59494
59471// node_modules/babel-polyfill/node_modules/core-js/modules/_invoke.js
59472  var require_invoke = __commonJS({
59473    "node_modules/babel-polyfill/node_modules/core-js/modules/_invoke.js"(exports, module) {
59474      init_esbuild_shims();
59475      module.exports = function(fn, args, that) {
59476        var un = that === void 0;
59477        switch (args.length) {
59478          case 0:
59479            return un ? fn() : fn.call(that);
59480          case 1:
59481            return un ? fn(args[0]) : fn.call(that, args[0]);
59482          case 2:
59483            return un ? fn(args[0], args[1]) : fn.call(that, args[0], args[1]);
59484          case 3:
59485            return un ? fn(args[0], args[1], args[2]) : fn.call(that, args[0], args[1], args[2]);
59486          case 4:
59487            return un ? fn(args[0], args[1], args[2], args[3]) : fn.call(that, args[0], args[1], args[2], args[3]);
59488        }
59489        return fn.apply(that, args);
59490      };
59491    }
59492  });
59493
59494  
vendor: 1,199 bytes, lines 59494-59524
59494// node_modules/babel-polyfill/node_modules/core-js/modules/_bind.js
59495  var require_bind = __commonJS({
59496    "node_modules/babel-polyfill/node_modules/core-js/modules/_bind.js"(exports, module) {
59497      "use strict";
59498      init_esbuild_shims();
59499      var aFunction = require_a_function();
59500      var isObject2 = require_is_object();
59501      var invoke = require_invoke();
59502      var arraySlice = [].slice;
59503      var factories = {};
59504      var construct = function(F, len, args) {
59505        if (!(len in factories)) {
59506          for (var n = [], i2 = 0; i2 < len; i2++) n[i2] = "a[" + i2 + "]";
59507          factories[len] = Function("F,a", "return new F(" + n.join(",") + ")");
59508        }
59509        return factories[len](F, args);
59510      };
59511      module.exports = Function.bind || function bind2(that) {
59512        var fn = aFunction(this);
59513        var partArgs = arraySlice.call(arguments, 1);
59514        var bound = function() {
59515          var args = partArgs.concat(arraySlice.call(arguments));
59516          return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);
59517        };
59518        if (isObject2(fn.prototype)) bound.prototype = fn.prototype;
59519        return bound;
59520      };
59521    }
59522  });
59523
59524  
vendor: 361 bytes, lines 59524-59533
59524// node_modules/babel-polyfill/node_modules/core-js/modules/es6.function.bind.js
59525  var require_es6_function_bind = __commonJS({
59526    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.function.bind.js"() {
59527      init_esbuild_shims();
59528      var $export = require_export();
59529      $export($export.P, "Function", { bind: require_bind() });
59530    }
59531  });
59532
59533  
vendor: 671 bytes, lines 59533-59554
59533// node_modules/babel-polyfill/node_modules/core-js/modules/es6.function.name.js
59534  var require_es6_function_name = __commonJS({
59535    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.function.name.js"() {
59536      init_esbuild_shims();
59537      var dP = require_object_dp().f;
59538      var FProto = Function.prototype;
59539      var nameRE = /^\s*function ([^ (]*)/;
59540      var NAME = "name";
59541      NAME in FProto || require_descriptors() && dP(FProto, NAME, {
59542        configurable: true,
59543        get: function() {
59544          try {
59545            return ("" + this).match(nameRE)[1];
59546          } catch (e) {
59547            return "";
59548          }
59549        }
59550      });
59551    }
59552  });
59553
59554  
vendor: 863 bytes, lines 59554-59572
59554// node_modules/babel-polyfill/node_modules/core-js/modules/es6.function.has-instance.js
59555  var require_es6_function_has_instance = __commonJS({
59556    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.function.has-instance.js"() {
59557      "use strict";
59558      init_esbuild_shims();
59559      var isObject2 = require_is_object();
59560      var getPrototypeOf2 = require_object_gpo();
59561      var HAS_INSTANCE = require_wks()("hasInstance");
59562      var FunctionProto = Function.prototype;
59563      if (!(HAS_INSTANCE in FunctionProto)) require_object_dp().f(FunctionProto, HAS_INSTANCE, { value: function(O) {
59564        if (typeof this != "function" || !isObject2(O)) return false;
59565        if (!isObject2(this.prototype)) return O instanceof this;
59566        while (O = getPrototypeOf2(O)) if (this.prototype === O) return true;
59567        return false;
59568      } });
59569    }
59570  });
59571
59572  
vendor: 407 bytes, lines 59572-59580
59572// node_modules/babel-polyfill/node_modules/core-js/modules/_string-ws.js
59573  var require_string_ws = __commonJS({
59574    "node_modules/babel-polyfill/node_modules/core-js/modules/_string-ws.js"(exports, module) {
59575      init_esbuild_shims();
59576      module.exports = "	\n\v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF";
59577    }
59578  });
59579
59580  
vendor: 1,210 bytes, lines 59580-59611
59580// node_modules/babel-polyfill/node_modules/core-js/modules/_string-trim.js
59581  var require_string_trim = __commonJS({
59582    "node_modules/babel-polyfill/node_modules/core-js/modules/_string-trim.js"(exports, module) {
59583      init_esbuild_shims();
59584      var $export = require_export();
59585      var defined = require_defined();
59586      var fails = require_fails();
59587      var spaces = require_string_ws();
59588      var space = "[" + spaces + "]";
59589      var non = "\u200B\x85";
59590      var ltrim = RegExp("^" + space + space + "*");
59591      var rtrim = RegExp(space + space + "*$");
59592      var exporter = function(KEY, exec, ALIAS) {
59593        var exp = {};
59594        var FORCE = fails(function() {
59595          return !!spaces[KEY]() || non[KEY]() != non;
59596        });
59597        var fn = exp[KEY] = FORCE ? exec(trim3) : spaces[KEY];
59598        if (ALIAS) exp[ALIAS] = fn;
59599        $export($export.P + $export.F * FORCE, "String", exp);
59600      };
59601      var trim3 = exporter.trim = function(string, TYPE) {
59602        string = String(defined(string));
59603        if (TYPE & 1) string = string.replace(ltrim, "");
59604        if (TYPE & 2) string = string.replace(rtrim, "");
59605        return string;
59606      };
59607      module.exports = exporter;
59608    }
59609  });
59610
59611  
vendor: 676 bytes, lines 59611-59626
59611// node_modules/babel-polyfill/node_modules/core-js/modules/_parse-int.js
59612  var require_parse_int = __commonJS({
59613    "node_modules/babel-polyfill/node_modules/core-js/modules/_parse-int.js"(exports, module) {
59614      init_esbuild_shims();
59615      var $parseInt = require_global().parseInt;
59616      var $trim = require_string_trim().trim;
59617      var ws = require_string_ws();
59618      var hex = /^[-+]?0[xX]/;
59619      module.exports = $parseInt(ws + "08") !== 8 || $parseInt(ws + "0x16") !== 22 ? function parseInt2(str, radix) {
59620        var string = $trim(String(str), 3);
59621        return $parseInt(string, radix >>> 0 || (hex.test(string) ? 16 : 10));
59622      } : $parseInt;
59623    }
59624  });
59625
59626  
vendor: 417 bytes, lines 59626-59636
59626// node_modules/babel-polyfill/node_modules/core-js/modules/es6.parse-int.js
59627  var require_es6_parse_int = __commonJS({
59628    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.parse-int.js"() {
59629      init_esbuild_shims();
59630      var $export = require_export();
59631      var $parseInt = require_parse_int();
59632      $export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt });
59633    }
59634  });
59635
59636  
vendor: 647 bytes, lines 59636-59650
59636// node_modules/babel-polyfill/node_modules/core-js/modules/_parse-float.js
59637  var require_parse_float = __commonJS({
59638    "node_modules/babel-polyfill/node_modules/core-js/modules/_parse-float.js"(exports, module) {
59639      init_esbuild_shims();
59640      var $parseFloat = require_global().parseFloat;
59641      var $trim = require_string_trim().trim;
59642      module.exports = 1 / $parseFloat(require_string_ws() + "-0") !== -Infinity ? function parseFloat2(str) {
59643        var string = $trim(String(str), 3);
59644        var result = $parseFloat(string);
59645        return result === 0 && string.charAt(0) == "-" ? -0 : result;
59646      } : $parseFloat;
59647    }
59648  });
59649
59650  
vendor: 435 bytes, lines 59650-59660
59650// node_modules/babel-polyfill/node_modules/core-js/modules/es6.parse-float.js
59651  var require_es6_parse_float = __commonJS({
59652    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.parse-float.js"() {
59653      init_esbuild_shims();
59654      var $export = require_export();
59655      var $parseFloat = require_parse_float();
59656      $export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat });
59657    }
59658  });
59659
59660  
vendor: 682 bytes, lines 59660-59677
59660// node_modules/babel-polyfill/node_modules/core-js/modules/_inherit-if-required.js
59661  var require_inherit_if_required = __commonJS({
59662    "node_modules/babel-polyfill/node_modules/core-js/modules/_inherit-if-required.js"(exports, module) {
59663      init_esbuild_shims();
59664      var isObject2 = require_is_object();
59665      var setPrototypeOf = require_set_proto().set;
59666      module.exports = function(that, target, C) {
59667        var S2 = target.constructor;
59668        var P2;
59669        if (S2 !== C && typeof S2 == "function" && (P2 = S2.prototype) !== C.prototype && isObject2(P2) && setPrototypeOf) {
59670          setPrototypeOf(that, P2);
59671        }
59672        return that;
59673      };
59674    }
59675  });
59676
59677  
vendor: 3,204 bytes, lines 59677-59759
59677// node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.constructor.js
59678  var require_es6_number_constructor = __commonJS({
59679    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.constructor.js"() {
59680      "use strict";
59681      init_esbuild_shims();
59682      var global2 = require_global();
59683      var has = require_has2();
59684      var cof = require_cof();
59685      var inheritIfRequired = require_inherit_if_required();
59686      var toPrimitive2 = require_to_primitive();
59687      var fails = require_fails();
59688      var gOPN = require_object_gopn().f;
59689      var gOPD = require_object_gopd().f;
59690      var dP = require_object_dp().f;
59691      var $trim = require_string_trim().trim;
59692      var NUMBER = "Number";
59693      var $Number = global2[NUMBER];
59694      var Base = $Number;
59695      var proto = $Number.prototype;
59696      var BROKEN_COF = cof(require_object_create()(proto)) == NUMBER;
59697      var TRIM = "trim" in String.prototype;
59698      var toNumber = function(argument) {
59699        var it = toPrimitive2(argument, false);
59700        if (typeof it == "string" && it.length > 2) {
59701          it = TRIM ? it.trim() : $trim(it, 3);
59702          var first = it.charCodeAt(0);
59703          var third, radix, maxCode;
59704          if (first === 43 || first === 45) {
59705            third = it.charCodeAt(2);
59706            if (third === 88 || third === 120) return NaN;
59707          } else if (first === 48) {
59708            switch (it.charCodeAt(1)) {
59709              case 66:
59710              case 98:
59711                radix = 2;
59712                maxCode = 49;
59713                break;
59714              // fast equal /^0b[01]+$/i
59715              case 79:
59716              case 111:
59717                radix = 8;
59718                maxCode = 55;
59719                break;
59720              // fast equal /^0o[0-7]+$/i
59721              default:
59722                return +it;
59723            }
59724            for (var digits = it.slice(2), i2 = 0, l = digits.length, code; i2 < l; i2++) {
59725              code = digits.charCodeAt(i2);
59726              if (code < 48 || code > maxCode) return NaN;
59727            }
59728            return parseInt(digits, radix);
59729          }
59730        }
59731        return +it;
59732      };
59733      if (!$Number(" 0o1") || !$Number("0b1") || $Number("+0x1")) {
59734        $Number = function Number2(value) {
59735          var it = arguments.length < 1 ? 0 : value;
59736          var that = this;
59737          return that instanceof $Number && (BROKEN_COF ? fails(function() {
59738            proto.valueOf.call(that);
59739          }) : cof(that) != NUMBER) ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);
59740        };
59741        for (keys = require_descriptors() ? gOPN(Base) : (
59742          // ES3:
59743          "MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(",")
59744        ), j2 = 0; keys.length > j2; j2++) {
59745          if (has(Base, key = keys[j2]) && !has($Number, key)) {
59746            dP($Number, key, gOPD(Base, key));
59747          }
59748        }
59749        $Number.prototype = proto;
59750        proto.constructor = $Number;
59751        require_redefine()(global2, NUMBER, $Number);
59752      }
59753      var keys;
59754      var j2;
59755      var key;
59756    }
59757  });
59758
59759  
vendor: 450 bytes, lines 59759-59771
59759// node_modules/babel-polyfill/node_modules/core-js/modules/_a-number-value.js
59760  var require_a_number_value = __commonJS({
59761    "node_modules/babel-polyfill/node_modules/core-js/modules/_a-number-value.js"(exports, module) {
59762      init_esbuild_shims();
59763      var cof = require_cof();
59764      module.exports = function(it, msg) {
59765        if (typeof it != "number" && cof(it) != "Number") throw TypeError(msg);
59766        return +it;
59767      };
59768    }
59769  });
59770
59771  
vendor: 695 bytes, lines 59771-59789
59771// node_modules/babel-polyfill/node_modules/core-js/modules/_string-repeat.js
59772  var require_string_repeat = __commonJS({
59773    "node_modules/babel-polyfill/node_modules/core-js/modules/_string-repeat.js"(exports, module) {
59774      "use strict";
59775      init_esbuild_shims();
59776      var toInteger = require_to_integer();
59777      var defined = require_defined();
59778      module.exports = function repeat(count) {
59779        var str = String(defined(this));
59780        var res = "";
59781        var n = toInteger(count);
59782        if (n < 0 || n == Infinity) throw RangeError("Count can't be negative");
59783        for (; n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str;
59784        return res;
59785      };
59786    }
59787  });
59788
59789  
vendor: 3,641 bytes, lines 59789-59904
59789// node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.to-fixed.js
59790  var require_es6_number_to_fixed = __commonJS({
59791    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.to-fixed.js"() {
59792      "use strict";
59793      init_esbuild_shims();
59794      var $export = require_export();
59795      var toInteger = require_to_integer();
59796      var aNumberValue = require_a_number_value();
59797      var repeat = require_string_repeat();
59798      var $toFixed = 1 .toFixed;
59799      var floor2 = Math.floor;
59800      var data = [0, 0, 0, 0, 0, 0];
59801      var ERROR = "Number.toFixed: incorrect invocation!";
59802      var ZERO = "0";
59803      var multiply = function(n, c) {
59804        var i2 = -1;
59805        var c2 = c;
59806        while (++i2 < 6) {
59807          c2 += n * data[i2];
59808          data[i2] = c2 % 1e7;
59809          c2 = floor2(c2 / 1e7);
59810        }
59811      };
59812      var divide = function(n) {
59813        var i2 = 6;
59814        var c = 0;
59815        while (--i2 >= 0) {
59816          c += data[i2];
59817          data[i2] = floor2(c / n);
59818          c = c % n * 1e7;
59819        }
59820      };
59821      var numToString = function() {
59822        var i2 = 6;
59823        var s2 = "";
59824        while (--i2 >= 0) {
59825          if (s2 !== "" || i2 === 0 || data[i2] !== 0) {
59826            var t2 = String(data[i2]);
59827            s2 = s2 === "" ? t2 : s2 + repeat.call(ZERO, 7 - t2.length) + t2;
59828          }
59829        }
59830        return s2;
59831      };
59832      var pow = function(x2, n, acc) {
59833        return n === 0 ? acc : n % 2 === 1 ? pow(x2, n - 1, acc * x2) : pow(x2 * x2, n / 2, acc);
59834      };
59835      var log2 = function(x2) {
59836        var n = 0;
59837        var x22 = x2;
59838        while (x22 >= 4096) {
59839          n += 12;
59840          x22 /= 4096;
59841        }
59842        while (x22 >= 2) {
59843          n += 1;
59844          x22 /= 2;
59845        }
59846        return n;
59847      };
59848      $export($export.P + $export.F * (!!$toFixed && (8e-5.toFixed(3) !== "0.000" || 0.9.toFixed(0) !== "1" || 1.255.toFixed(2) !== "1.25" || 1000000000000000100 .toFixed(0) !== "1000000000000000128") || !require_fails()(function() {
59849        $toFixed.call({});
59850      })), "Number", {
59851        toFixed: function toFixed(fractionDigits) {
59852          var x2 = aNumberValue(this, ERROR);
59853          var f = toInteger(fractionDigits);
59854          var s2 = "";
59855          var m = ZERO;
59856          var e, z, j2, k;
59857          if (f < 0 || f > 20) throw RangeError(ERROR);
59858          if (x2 != x2) return "NaN";
59859          if (x2 <= -1e21 || x2 >= 1e21) return String(x2);
59860          if (x2 < 0) {
59861            s2 = "-";
59862            x2 = -x2;
59863          }
59864          if (x2 > 1e-21) {
59865            e = log2(x2 * pow(2, 69, 1)) - 69;
59866            z = e < 0 ? x2 * pow(2, -e, 1) : x2 / pow(2, e, 1);
59867            z *= 4503599627370496;
59868            e = 52 - e;
59869            if (e > 0) {
59870              multiply(0, z);
59871              j2 = f;
59872              while (j2 >= 7) {
59873                multiply(1e7, 0);
59874                j2 -= 7;
59875              }
59876              multiply(pow(10, j2, 1), 0);
59877              j2 = e - 1;
59878              while (j2 >= 23) {
59879                divide(1 << 23);
59880                j2 -= 23;
59881              }
59882              divide(1 << j2);
59883              multiply(1, 1);
59884              divide(2);
59885              m = numToString();
59886            } else {
59887              multiply(0, z);
59888              multiply(1 << -e, 0);
59889              m = numToString() + repeat.call(ZERO, f);
59890            }
59891          }
59892          if (f > 0) {
59893            k = m.length;
59894            m = s2 + (k <= f ? "0." + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + "." + m.slice(k - f));
59895          } else {
59896            m = s2 + m;
59897          }
59898          return m;
59899        }
59900      });
59901    }
59902  });
59903
59904  
vendor: 925 bytes, lines 59904-59926
59904// node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.to-precision.js
59905  var require_es6_number_to_precision = __commonJS({
59906    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.to-precision.js"() {
59907      "use strict";
59908      init_esbuild_shims();
59909      var $export = require_export();
59910      var $fails = require_fails();
59911      var aNumberValue = require_a_number_value();
59912      var $toPrecision = 1 .toPrecision;
59913      $export($export.P + $export.F * ($fails(function() {
59914        return $toPrecision.call(1, void 0) !== "1";
59915      }) || !$fails(function() {
59916        $toPrecision.call({});
59917      })), "Number", {
59918        toPrecision: function toPrecision(precision) {
59919          var that = aNumberValue(this, "Number#toPrecision: incorrect invocation!");
59920          return precision === void 0 ? $toPrecision.call(that) : $toPrecision.call(that, precision);
59921        }
59922      });
59923    }
59924  });
59925
59926  
vendor: 367 bytes, lines 59926-59935
59926// node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.epsilon.js
59927  var require_es6_number_epsilon = __commonJS({
59928    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.epsilon.js"() {
59929      init_esbuild_shims();
59930      var $export = require_export();
59931      $export($export.S, "Number", { EPSILON: Math.pow(2, -52) });
59932    }
59933  });
59934
59935  
vendor: 512 bytes, lines 59935-59949
59935// node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.is-finite.js
59936  var require_es6_number_is_finite = __commonJS({
59937    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.is-finite.js"() {
59938      init_esbuild_shims();
59939      var $export = require_export();
59940      var _isFinite = require_global().isFinite;
59941      $export($export.S, "Number", {
59942        isFinite: function isFinite2(it) {
59943          return typeof it == "number" && _isFinite(it);
59944        }
59945      });
59946    }
59947  });
59948
59949  
vendor: 454 bytes, lines 59949-59961
59949// node_modules/babel-polyfill/node_modules/core-js/modules/_is-integer.js
59950  var require_is_integer = __commonJS({
59951    "node_modules/babel-polyfill/node_modules/core-js/modules/_is-integer.js"(exports, module) {
59952      init_esbuild_shims();
59953      var isObject2 = require_is_object();
59954      var floor2 = Math.floor;
59955      module.exports = function isInteger(it) {
59956        return !isObject2(it) && isFinite(it) && floor2(it) === it;
59957      };
59958    }
59959  });
59960
59961  
vendor: 382 bytes, lines 59961-59970
59961// node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.is-integer.js
59962  var require_es6_number_is_integer = __commonJS({
59963    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.is-integer.js"() {
59964      init_esbuild_shims();
59965      var $export = require_export();
59966      $export($export.S, "Number", { isInteger: require_is_integer() });
59967    }
59968  });
59969
59970  
vendor: 430 bytes, lines 59970-59983
59970// node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.is-nan.js
59971  var require_es6_number_is_nan = __commonJS({
59972    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.is-nan.js"() {
59973      init_esbuild_shims();
59974      var $export = require_export();
59975      $export($export.S, "Number", {
59976        isNaN: function isNaN3(number) {
59977          return number != number;
59978        }
59979      });
59980    }
59981  });
59982
59983  
vendor: 580 bytes, lines 59983-59998
59983// node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.is-safe-integer.js
59984  var require_es6_number_is_safe_integer = __commonJS({
59985    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.is-safe-integer.js"() {
59986      init_esbuild_shims();
59987      var $export = require_export();
59988      var isInteger = require_is_integer();
59989      var abs2 = Math.abs;
59990      $export($export.S, "Number", {
59991        isSafeInteger: function isSafeInteger(number) {
59992          return isInteger(number) && abs2(number) <= 9007199254740991;
59993        }
59994      });
59995    }
59996  });
59997
59998  
vendor: 403 bytes, lines 59998-60007
59998// node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.max-safe-integer.js
59999  var require_es6_number_max_safe_integer = __commonJS({
60000    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.max-safe-integer.js"() {
60001      init_esbuild_shims();
60002      var $export = require_export();
60003      $export($export.S, "Number", { MAX_SAFE_INTEGER: 9007199254740991 });
60004    }
60005  });
60006
60007  
vendor: 404 bytes, lines 60007-60016
60007// node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.min-safe-integer.js
60008  var require_es6_number_min_safe_integer = __commonJS({
60009    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.min-safe-integer.js"() {
60010      init_esbuild_shims();
60011      var $export = require_export();
60012      $export($export.S, "Number", { MIN_SAFE_INTEGER: -9007199254740991 });
60013    }
60014  });
60015
60016  
vendor: 473 bytes, lines 60016-60026
60016// node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.parse-float.js
60017  var require_es6_number_parse_float = __commonJS({
60018    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.parse-float.js"() {
60019      init_esbuild_shims();
60020      var $export = require_export();
60021      var $parseFloat = require_parse_float();
60022      $export($export.S + $export.F * (Number.parseFloat != $parseFloat), "Number", { parseFloat: $parseFloat });
60023    }
60024  });
60025
60026  
vendor: 455 bytes, lines 60026-60036
60026// node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.parse-int.js
60027  var require_es6_number_parse_int = __commonJS({
60028    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.number.parse-int.js"() {
60029      init_esbuild_shims();
60030      var $export = require_export();
60031      var $parseInt = require_parse_int();
60032      $export($export.S + $export.F * (Number.parseInt != $parseInt), "Number", { parseInt: $parseInt });
60033    }
60034  });
60035
60036  
vendor: 408 bytes, lines 60036-60046
60036// node_modules/babel-polyfill/node_modules/core-js/modules/_math-log1p.js
60037  var require_math_log1p = __commonJS({
60038    "node_modules/babel-polyfill/node_modules/core-js/modules/_math-log1p.js"(exports, module) {
60039      init_esbuild_shims();
60040      module.exports = Math.log1p || function log1p(x2) {
60041        return (x2 = +x2) > -1e-8 && x2 < 1e-8 ? x2 - x2 * x2 / 2 : Math.log(1 + x2);
60042      };
60043    }
60044  });
60045
60046  
vendor: 719 bytes, lines 60046-60062
60046// node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.acosh.js
60047  var require_es6_math_acosh = __commonJS({
60048    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.acosh.js"() {
60049      init_esbuild_shims();
60050      var $export = require_export();
60051      var log1p = require_math_log1p();
60052      var sqrt = Math.sqrt;
60053      var $acosh = Math.acosh;
60054      $export($export.S + $export.F * !($acosh && Math.floor($acosh(Number.MAX_VALUE)) == 710 && $acosh(Infinity) == Infinity), "Math", {
60055        acosh: function acosh(x2) {
60056          return (x2 = +x2) < 1 ? NaN : x2 > 9490626562425156e-8 ? Math.log(x2) + Math.LN2 : log1p(x2 - 1 + sqrt(x2 - 1) * sqrt(x2 + 1));
60057        }
60058      });
60059    }
60060  });
60061
60062  
vendor: 559 bytes, lines 60062-60075
60062// node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.asinh.js
60063  var require_es6_math_asinh = __commonJS({
60064    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.asinh.js"() {
60065      init_esbuild_shims();
60066      var $export = require_export();
60067      var $asinh = Math.asinh;
60068      function asinh(x2) {
60069        return !isFinite(x2 = +x2) || x2 == 0 ? x2 : x2 < 0 ? -asinh(-x2) : Math.log(x2 + Math.sqrt(x2 * x2 + 1));
60070      }
60071      $export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), "Math", { asinh });
60072    }
60073  });
60074
60075  
vendor: 531 bytes, lines 60075-60089
60075// node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.atanh.js
60076  var require_es6_math_atanh = __commonJS({
60077    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.atanh.js"() {
60078      init_esbuild_shims();
60079      var $export = require_export();
60080      var $atanh = Math.atanh;
60081      $export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), "Math", {
60082        atanh: function atanh(x2) {
60083          return (x2 = +x2) == 0 ? x2 : Math.log((1 + x2) / (1 - x2)) / 2;
60084        }
60085      });
60086    }
60087  });
60088
60089  
vendor: 384 bytes, lines 60089-60099
60089// node_modules/babel-polyfill/node_modules/core-js/modules/_math-sign.js
60090  var require_math_sign = __commonJS({
60091    "node_modules/babel-polyfill/node_modules/core-js/modules/_math-sign.js"(exports, module) {
60092      init_esbuild_shims();
60093      module.exports = Math.sign || function sign(x2) {
60094        return (x2 = +x2) == 0 || x2 != x2 ? x2 : x2 < 0 ? -1 : 1;
60095      };
60096    }
60097  });
60098
60099  
vendor: 477 bytes, lines 60099-60113
60099// node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.cbrt.js
60100  var require_es6_math_cbrt = __commonJS({
60101    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.cbrt.js"() {
60102      init_esbuild_shims();
60103      var $export = require_export();
60104      var sign = require_math_sign();
60105      $export($export.S, "Math", {
60106        cbrt: function cbrt(x2) {
60107          return sign(x2 = +x2) * Math.pow(Math.abs(x2), 1 / 3);
60108        }
60109      });
60110    }
60111  });
60112
60113  
vendor: 465 bytes, lines 60113-60126
60113// node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.clz32.js
60114  var require_es6_math_clz32 = __commonJS({
60115    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.clz32.js"() {
60116      init_esbuild_shims();
60117      var $export = require_export();
60118      $export($export.S, "Math", {
60119        clz32: function clz32(x2) {
60120          return (x2 >>>= 0) ? 31 - Math.floor(Math.log(x2 + 0.5) * Math.LOG2E) : 32;
60121        }
60122      });
60123    }
60124  });
60125
60126  
vendor: 449 bytes, lines 60126-60140
60126// node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.cosh.js
60127  var require_es6_math_cosh = __commonJS({
60128    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.cosh.js"() {
60129      init_esbuild_shims();
60130      var $export = require_export();
60131      var exp = Math.exp;
60132      $export($export.S, "Math", {
60133        cosh: function cosh(x2) {
60134          return (exp(x2 = +x2) + exp(-x2)) / 2;
60135        }
60136      });
60137    }
60138  });
60139
60140  
vendor: 557 bytes, lines 60140-60151
60140// node_modules/babel-polyfill/node_modules/core-js/modules/_math-expm1.js
60141  var require_math_expm1 = __commonJS({
60142    "node_modules/babel-polyfill/node_modules/core-js/modules/_math-expm1.js"(exports, module) {
60143      init_esbuild_shims();
60144      var $expm1 = Math.expm1;
60145      module.exports = !$expm1 || $expm1(10) > 22025.465794806718 || $expm1(10) < 22025.465794806718 || $expm1(-2e-17) != -2e-17 ? function expm1(x2) {
60146        return (x2 = +x2) == 0 ? x2 : x2 > -1e-6 && x2 < 1e-6 ? x2 + x2 * x2 / 2 : Math.exp(x2) - 1;
60147      } : $expm1;
60148    }
60149  });
60150
60151  
vendor: 419 bytes, lines 60151-60161
60151// node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.expm1.js
60152  var require_es6_math_expm1 = __commonJS({
60153    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.expm1.js"() {
60154      init_esbuild_shims();
60155      var $export = require_export();
60156      var $expm1 = require_math_expm1();
60157      $export($export.S + $export.F * ($expm1 != Math.expm1), "Math", { expm1: $expm1 });
60158    }
60159  });
60160
60161  
vendor: 1,010 bytes, lines 60161-60187
60161// node_modules/babel-polyfill/node_modules/core-js/modules/_math-fround.js
60162  var require_math_fround = __commonJS({
60163    "node_modules/babel-polyfill/node_modules/core-js/modules/_math-fround.js"(exports, module) {
60164      init_esbuild_shims();
60165      var sign = require_math_sign();
60166      var pow = Math.pow;
60167      var EPSILON = pow(2, -52);
60168      var EPSILON32 = pow(2, -23);
60169      var MAX32 = pow(2, 127) * (2 - EPSILON32);
60170      var MIN32 = pow(2, -126);
60171      var roundTiesToEven = function(n) {
60172        return n + 1 / EPSILON - 1 / EPSILON;
60173      };
60174      module.exports = Math.fround || function fround(x2) {
60175        var $abs = Math.abs(x2);
60176        var $sign = sign(x2);
60177        var a, result;
60178        if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;
60179        a = (1 + EPSILON32 / EPSILON) * $abs;
60180        result = a - (a - $abs);
60181        if (result > MAX32 || result != result) return $sign * Infinity;
60182        return $sign * result;
60183      };
60184    }
60185  });
60186
60187  
vendor: 360 bytes, lines 60187-60196
60187// node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.fround.js
60188  var require_es6_math_fround = __commonJS({
60189    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.fround.js"() {
60190      init_esbuild_shims();
60191      var $export = require_export();
60192      $export($export.S, "Math", { fround: require_math_fround() });
60193    }
60194  });
60195
60196  
vendor: 962 bytes, lines 60196-60226
60196// node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.hypot.js
60197  var require_es6_math_hypot = __commonJS({
60198    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.hypot.js"() {
60199      init_esbuild_shims();
60200      var $export = require_export();
60201      var abs2 = Math.abs;
60202      $export($export.S, "Math", {
60203        hypot: function hypot(value1, value2) {
60204          var sum = 0;
60205          var i2 = 0;
60206          var aLen = arguments.length;
60207          var larg = 0;
60208          var arg, div;
60209          while (i2 < aLen) {
60210            arg = abs2(arguments[i2++]);
60211            if (larg < arg) {
60212              div = larg / arg;
60213              sum = sum * div * div + 1;
60214              larg = arg;
60215            } else if (arg > 0) {
60216              div = arg / larg;
60217              sum += div * div;
60218            } else sum += arg;
60219          }
60220          return larg === Infinity ? Infinity : larg * Math.sqrt(sum);
60221        }
60222      });
60223    }
60224  });
60225
60226  
vendor: 763 bytes, lines 60226-60247
60226// node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.imul.js
60227  var require_es6_math_imul = __commonJS({
60228    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.imul.js"() {
60229      init_esbuild_shims();
60230      var $export = require_export();
60231      var $imul = Math.imul;
60232      $export($export.S + $export.F * require_fails()(function() {
60233        return $imul(4294967295, 5) != -5 || $imul.length != 2;
60234      }), "Math", {
60235        imul: function imul(x2, y) {
60236          var UINT16 = 65535;
60237          var xn = +x2;
60238          var yn = +y;
60239          var xl = UINT16 & xn;
60240          var yl = UINT16 & yn;
60241          return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);
60242        }
60243      });
60244    }
60245  });
60246
60247  
vendor: 424 bytes, lines 60247-60260
60247// node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.log10.js
60248  var require_es6_math_log10 = __commonJS({
60249    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.log10.js"() {
60250      init_esbuild_shims();
60251      var $export = require_export();
60252      $export($export.S, "Math", {
60253        log10: function log10(x2) {
60254          return Math.log(x2) * Math.LOG10E;
60255        }
60256      });
60257    }
60258  });
60259
60260  
vendor: 355 bytes, lines 60260-60269
60260// node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.log1p.js
60261  var require_es6_math_log1p = __commonJS({
60262    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.log1p.js"() {
60263      init_esbuild_shims();
60264      var $export = require_export();
60265      $export($export.S, "Math", { log1p: require_math_log1p() });
60266    }
60267  });
60268
60269  
vendor: 416 bytes, lines 60269-60282
60269// node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.log2.js
60270  var require_es6_math_log2 = __commonJS({
60271    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.log2.js"() {
60272      init_esbuild_shims();
60273      var $export = require_export();
60274      $export($export.S, "Math", {
60275        log2: function log2(x2) {
60276          return Math.log(x2) / Math.LN2;
60277        }
60278      });
60279    }
60280  });
60281
60282  
vendor: 350 bytes, lines 60282-60291
60282// node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.sign.js
60283  var require_es6_math_sign = __commonJS({
60284    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.sign.js"() {
60285      init_esbuild_shims();
60286      var $export = require_export();
60287      $export($export.S, "Math", { sign: require_math_sign() });
60288    }
60289  });
60290
60291  
vendor: 655 bytes, lines 60291-60308
60291// node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.sinh.js
60292  var require_es6_math_sinh = __commonJS({
60293    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.sinh.js"() {
60294      init_esbuild_shims();
60295      var $export = require_export();
60296      var expm1 = require_math_expm1();
60297      var exp = Math.exp;
60298      $export($export.S + $export.F * require_fails()(function() {
60299        return !Math.sinh(-2e-17) != -2e-17;
60300      }), "Math", {
60301        sinh: function sinh(x2) {
60302          return Math.abs(x2 = +x2) < 1 ? (expm1(x2) - expm1(-x2)) / 2 : (exp(x2 - 1) - exp(-x2 - 1)) * (Math.E / 2);
60303        }
60304      });
60305    }
60306  });
60307
60308  
vendor: 595 bytes, lines 60308-60325
60308// node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.tanh.js
60309  var require_es6_math_tanh = __commonJS({
60310    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.tanh.js"() {
60311      init_esbuild_shims();
60312      var $export = require_export();
60313      var expm1 = require_math_expm1();
60314      var exp = Math.exp;
60315      $export($export.S, "Math", {
60316        tanh: function tanh(x2) {
60317          var a = expm1(x2 = +x2);
60318          var b = expm1(-x2);
60319          return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x2) + exp(-x2));
60320        }
60321      });
60322    }
60323  });
60324
60325  
vendor: 435 bytes, lines 60325-60338
60325// node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.trunc.js
60326  var require_es6_math_trunc = __commonJS({
60327    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.math.trunc.js"() {
60328      init_esbuild_shims();
60329      var $export = require_export();
60330      $export($export.S, "Math", {
60331        trunc: function trunc(it) {
60332          return (it > 0 ? Math.floor : Math.ceil)(it);
60333        }
60334      });
60335    }
60336  });
60337
60338  
vendor: 1,185 bytes, lines 60338-60366
60338// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.from-code-point.js
60339  var require_es6_string_from_code_point = __commonJS({
60340    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.from-code-point.js"() {
60341      init_esbuild_shims();
60342      var $export = require_export();
60343      var toAbsoluteIndex = require_to_absolute_index();
60344      var fromCharCode = String.fromCharCode;
60345      var $fromCodePoint = String.fromCodePoint;
60346      $export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), "String", {
60347        // 21.1.2.2 String.fromCodePoint(...codePoints)
60348        fromCodePoint: function fromCodePoint(x2) {
60349          var res = [];
60350          var aLen = arguments.length;
60351          var i2 = 0;
60352          var code;
60353          while (aLen > i2) {
60354            code = +arguments[i2++];
60355            if (toAbsoluteIndex(code, 1114111) !== code) throw RangeError(code + " is not a valid code point");
60356            res.push(
60357              code < 65536 ? fromCharCode(code) : fromCharCode(((code -= 65536) >> 10) + 55296, code % 1024 + 56320)
60358            );
60359          }
60360          return res.join("");
60361        }
60362      });
60363    }
60364  });
60365
60366  
vendor: 873 bytes, lines 60366-60391
60366// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.raw.js
60367  var require_es6_string_raw = __commonJS({
60368    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.raw.js"() {
60369      init_esbuild_shims();
60370      var $export = require_export();
60371      var toIObject = require_to_iobject();
60372      var toLength = require_to_length();
60373      $export($export.S, "String", {
60374        // 21.1.2.4 String.raw(callSite, ...substitutions)
60375        raw: function raw(callSite) {
60376          var tpl = toIObject(callSite.raw);
60377          var len = toLength(tpl.length);
60378          var aLen = arguments.length;
60379          var res = [];
60380          var i2 = 0;
60381          while (len > i2) {
60382            res.push(String(tpl[i2++]));
60383            if (i2 < aLen) res.push(String(arguments[i2]));
60384          }
60385          return res.join("");
60386        }
60387      });
60388    }
60389  });
60390
60391  
vendor: 415 bytes, lines 60391-60404
60391// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.trim.js
60392  var require_es6_string_trim = __commonJS({
60393    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.trim.js"() {
60394      "use strict";
60395      init_esbuild_shims();
60396      require_string_trim()("trim", function($trim) {
60397        return function trim3() {
60398          return $trim(this, 3);
60399        };
60400      });
60401    }
60402  });
60403
60404  
vendor: 879 bytes, lines 60404-60424
60404// node_modules/babel-polyfill/node_modules/core-js/modules/_string-at.js
60405  var require_string_at = __commonJS({
60406    "node_modules/babel-polyfill/node_modules/core-js/modules/_string-at.js"(exports, module) {
60407      init_esbuild_shims();
60408      var toInteger = require_to_integer();
60409      var defined = require_defined();
60410      module.exports = function(TO_STRING) {
60411        return function(that, pos) {
60412          var s2 = String(defined(that));
60413          var i2 = toInteger(pos);
60414          var l = s2.length;
60415          var a, b;
60416          if (i2 < 0 || i2 >= l) return TO_STRING ? "" : void 0;
60417          a = s2.charCodeAt(i2);
60418          return a < 55296 || a > 56319 || i2 + 1 === l || (b = s2.charCodeAt(i2 + 1)) < 56320 || b > 57343 ? TO_STRING ? s2.charAt(i2) : a : TO_STRING ? s2.slice(i2, i2 + 2) : (a - 55296 << 10) + (b - 56320) + 65536;
60419        };
60420      };
60421    }
60422  });
60423
60424  
vendor: 279 bytes, lines 60424-60432
60424// node_modules/babel-polyfill/node_modules/core-js/modules/_iterators.js
60425  var require_iterators = __commonJS({
60426    "node_modules/babel-polyfill/node_modules/core-js/modules/_iterators.js"(exports, module) {
60427      init_esbuild_shims();
60428      module.exports = {};
60429    }
60430  });
60431
60432  
vendor: 790 bytes, lines 60432-60451
60432// node_modules/babel-polyfill/node_modules/core-js/modules/_iter-create.js
60433  var require_iter_create = __commonJS({
60434    "node_modules/babel-polyfill/node_modules/core-js/modules/_iter-create.js"(exports, module) {
60435      "use strict";
60436      init_esbuild_shims();
60437      var create2 = require_object_create();
60438      var descriptor = require_property_desc();
60439      var setToStringTag = require_set_to_string_tag();
60440      var IteratorPrototype = {};
60441      require_hide()(IteratorPrototype, require_wks()("iterator"), function() {
60442        return this;
60443      });
60444      module.exports = function(Constructor, NAME, next2) {
60445        Constructor.prototype = create2(IteratorPrototype, { next: descriptor(1, next2) });
60446        setToStringTag(Constructor, NAME + " Iterator");
60447      };
60448    }
60449  });
60450
60451  
vendor: 3,299 bytes, lines 60451-60533
60451// node_modules/babel-polyfill/node_modules/core-js/modules/_iter-define.js
60452  var require_iter_define = __commonJS({
60453    "node_modules/babel-polyfill/node_modules/core-js/modules/_iter-define.js"(exports, module) {
60454      "use strict";
60455      init_esbuild_shims();
60456      var LIBRARY = require_library();
60457      var $export = require_export();
60458      var redefine = require_redefine();
60459      var hide2 = require_hide();
60460      var Iterators = require_iterators();
60461      var $iterCreate = require_iter_create();
60462      var setToStringTag = require_set_to_string_tag();
60463      var getPrototypeOf2 = require_object_gpo();
60464      var ITERATOR = require_wks()("iterator");
60465      var BUGGY = !([].keys && "next" in [].keys());
60466      var FF_ITERATOR = "@@iterator";
60467      var KEYS = "keys";
60468      var VALUES = "values";
60469      var returnThis = function() {
60470        return this;
60471      };
60472      module.exports = function(Base, NAME, Constructor, next2, DEFAULT, IS_SET, FORCED) {
60473        $iterCreate(Constructor, NAME, next2);
60474        var getMethod = function(kind) {
60475          if (!BUGGY && kind in proto) return proto[kind];
60476          switch (kind) {
60477            case KEYS:
60478              return function keys() {
60479                return new Constructor(this, kind);
60480              };
60481            case VALUES:
60482              return function values() {
60483                return new Constructor(this, kind);
60484              };
60485          }
60486          return function entries() {
60487            return new Constructor(this, kind);
60488          };
60489        };
60490        var TAG = NAME + " Iterator";
60491        var DEF_VALUES = DEFAULT == VALUES;
60492        var VALUES_BUG = false;
60493        var proto = Base.prototype;
60494        var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
60495        var $default = $native || getMethod(DEFAULT);
60496        var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod("entries") : void 0;
60497        var $anyNative = NAME == "Array" ? proto.entries || $native : $native;
60498        var methods, key, IteratorPrototype;
60499        if ($anyNative) {
60500          IteratorPrototype = getPrototypeOf2($anyNative.call(new Base()));
60501          if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
60502            setToStringTag(IteratorPrototype, TAG, true);
60503            if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != "function") hide2(IteratorPrototype, ITERATOR, returnThis);
60504          }
60505        }
60506        if (DEF_VALUES && $native && $native.name !== VALUES) {
60507          VALUES_BUG = true;
60508          $default = function values() {
60509            return $native.call(this);
60510          };
60511        }
60512        if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
60513          hide2(proto, ITERATOR, $default);
60514        }
60515        Iterators[NAME] = $default;
60516        Iterators[TAG] = returnThis;
60517        if (DEFAULT) {
60518          methods = {
60519            values: DEF_VALUES ? $default : getMethod(VALUES),
60520            keys: IS_SET ? $default : getMethod(KEYS),
60521            entries: $entries
60522          };
60523          if (FORCED) for (key in methods) {
60524            if (!(key in proto)) redefine(proto, key, methods[key]);
60525          }
60526          else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
60527        }
60528        return methods;
60529      };
60530    }
60531  });
60532
60533  
vendor: 739 bytes, lines 60533-60554
60533// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.iterator.js
60534  var require_es6_string_iterator = __commonJS({
60535    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.iterator.js"() {
60536      "use strict";
60537      init_esbuild_shims();
60538      var $at = require_string_at()(true);
60539      require_iter_define()(String, "String", function(iterated) {
60540        this._t = String(iterated);
60541        this._i = 0;
60542      }, function() {
60543        var O = this._t;
60544        var index2 = this._i;
60545        var point;
60546        if (index2 >= O.length) return { value: void 0, done: true };
60547        point = $at(O, index2);
60548        this._i += point.length;
60549        return { value: point, done: false };
60550      });
60551    }
60552  });
60553
60554  
vendor: 576 bytes, lines 60554-60570
60554// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.code-point-at.js
60555  var require_es6_string_code_point_at = __commonJS({
60556    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.code-point-at.js"() {
60557      "use strict";
60558      init_esbuild_shims();
60559      var $export = require_export();
60560      var $at = require_string_at()(false);
60561      $export($export.P, "String", {
60562        // 21.1.3.3 String.prototype.codePointAt(pos)
60563        codePointAt: function codePointAt2(pos) {
60564          return $at(this, pos);
60565        }
60566      });
60567    }
60568  });
60569
60570  
vendor: 544 bytes, lines 60570-60584
60570// node_modules/babel-polyfill/node_modules/core-js/modules/_is-regexp.js
60571  var require_is_regexp = __commonJS({
60572    "node_modules/babel-polyfill/node_modules/core-js/modules/_is-regexp.js"(exports, module) {
60573      init_esbuild_shims();
60574      var isObject2 = require_is_object();
60575      var cof = require_cof();
60576      var MATCH = require_wks()("match");
60577      module.exports = function(it) {
60578        var isRegExp3;
60579        return isObject2(it) && ((isRegExp3 = it[MATCH]) !== void 0 ? !!isRegExp3 : cof(it) == "RegExp");
60580      };
60581    }
60582  });
60583
60584  
vendor: 555 bytes, lines 60584-60597
60584// node_modules/babel-polyfill/node_modules/core-js/modules/_string-context.js
60585  var require_string_context = __commonJS({
60586    "node_modules/babel-polyfill/node_modules/core-js/modules/_string-context.js"(exports, module) {
60587      init_esbuild_shims();
60588      var isRegExp3 = require_is_regexp();
60589      var defined = require_defined();
60590      module.exports = function(that, searchString, NAME) {
60591        if (isRegExp3(searchString)) throw TypeError("String#" + NAME + " doesn't accept regex!");
60592        return String(defined(that));
60593      };
60594    }
60595  });
60596
60597  
vendor: 594 bytes, lines 60597-60618
60597// node_modules/babel-polyfill/node_modules/core-js/modules/_fails-is-regexp.js
60598  var require_fails_is_regexp = __commonJS({
60599    "node_modules/babel-polyfill/node_modules/core-js/modules/_fails-is-regexp.js"(exports, module) {
60600      init_esbuild_shims();
60601      var MATCH = require_wks()("match");
60602      module.exports = function(KEY) {
60603        var re = /./;
60604        try {
60605          "/./"[KEY](re);
60606        } catch (e) {
60607          try {
60608            re[MATCH] = false;
60609            return !"/./"[KEY](re);
60610          } catch (f) {
60611          }
60612        }
60613        return true;
60614      };
60615    }
60616  });
60617
60618  
vendor: 1,076 bytes, lines 60618-60641
60618// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.ends-with.js
60619  var require_es6_string_ends_with = __commonJS({
60620    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.ends-with.js"() {
60621      "use strict";
60622      init_esbuild_shims();
60623      var $export = require_export();
60624      var toLength = require_to_length();
60625      var context = require_string_context();
60626      var ENDS_WITH = "endsWith";
60627      var $endsWith = ""[ENDS_WITH];
60628      $export($export.P + $export.F * require_fails_is_regexp()(ENDS_WITH), "String", {
60629        endsWith: function endsWith2(searchString) {
60630          var that = context(this, searchString, ENDS_WITH);
60631          var endPosition = arguments.length > 1 ? arguments[1] : void 0;
60632          var len = toLength(that.length);
60633          var end2 = endPosition === void 0 ? len : Math.min(toLength(endPosition), len);
60634          var search = String(searchString);
60635          return $endsWith ? $endsWith.call(that, search, end2) : that.slice(end2 - search.length, end2) === search;
60636        }
60637      });
60638    }
60639  });
60640
60641  
vendor: 688 bytes, lines 60641-60657
60641// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.includes.js
60642  var require_es6_string_includes = __commonJS({
60643    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.includes.js"() {
60644      "use strict";
60645      init_esbuild_shims();
60646      var $export = require_export();
60647      var context = require_string_context();
60648      var INCLUDES = "includes";
60649      $export($export.P + $export.F * require_fails_is_regexp()(INCLUDES), "String", {
60650        includes: function includes(searchString) {
60651          return !!~context(this, searchString, INCLUDES).indexOf(searchString, arguments.length > 1 ? arguments[1] : void 0);
60652        }
60653      });
60654    }
60655  });
60656
60657  
vendor: 436 bytes, lines 60657-60669
60657// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.repeat.js
60658  var require_es6_string_repeat = __commonJS({
60659    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.repeat.js"() {
60660      init_esbuild_shims();
60661      var $export = require_export();
60662      $export($export.P, "String", {
60663        // 21.1.3.13 String.prototype.repeat(count)
60664        repeat: require_string_repeat()
60665      });
60666    }
60667  });
60668
60669  
vendor: 1,002 bytes, lines 60669-60690
60669// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.starts-with.js
60670  var require_es6_string_starts_with = __commonJS({
60671    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.starts-with.js"() {
60672      "use strict";
60673      init_esbuild_shims();
60674      var $export = require_export();
60675      var toLength = require_to_length();
60676      var context = require_string_context();
60677      var STARTS_WITH = "startsWith";
60678      var $startsWith = ""[STARTS_WITH];
60679      $export($export.P + $export.F * require_fails_is_regexp()(STARTS_WITH), "String", {
60680        startsWith: function startsWith(searchString) {
60681          var that = context(this, searchString, STARTS_WITH);
60682          var index2 = toLength(Math.min(arguments.length > 1 ? arguments[1] : void 0, that.length));
60683          var search = String(searchString);
60684          return $startsWith ? $startsWith.call(that, search, index2) : that.slice(index2, index2 + search.length) === search;
60685        }
60686      });
60687    }
60688  });
60689
60690  
vendor: 1,004 bytes, lines 60690-60715
60690// node_modules/babel-polyfill/node_modules/core-js/modules/_string-html.js
60691  var require_string_html = __commonJS({
60692    "node_modules/babel-polyfill/node_modules/core-js/modules/_string-html.js"(exports, module) {
60693      init_esbuild_shims();
60694      var $export = require_export();
60695      var fails = require_fails();
60696      var defined = require_defined();
60697      var quot = /"/g;
60698      var createHTML = function(string, tag, attribute, value) {
60699        var S2 = String(defined(string));
60700        var p1 = "<" + tag;
60701        if (attribute !== "") p1 += " " + attribute + '="' + String(value).replace(quot, "&quot;") + '"';
60702        return p1 + ">" + S2 + "</" + tag + ">";
60703      };
60704      module.exports = function(NAME, exec) {
60705        var O = {};
60706        O[NAME] = exec(createHTML);
60707        $export($export.P + $export.F * fails(function() {
60708          var test2 = ""[NAME]('"');
60709          return test2 !== test2.toLowerCase() || test2.split('"').length > 3;
60710        }), "String", O);
60711      };
60712    }
60713  });
60714
60715  
vendor: 456 bytes, lines 60715-60728
60715// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.anchor.js
60716  var require_es6_string_anchor = __commonJS({
60717    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.anchor.js"() {
60718      "use strict";
60719      init_esbuild_shims();
60720      require_string_html()("anchor", function(createHTML) {
60721        return function anchor(name2) {
60722          return createHTML(this, "a", "name", name2);
60723        };
60724      });
60725    }
60726  });
60727
60728  
vendor: 431 bytes, lines 60728-60741
60728// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.big.js
60729  var require_es6_string_big = __commonJS({
60730    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.big.js"() {
60731      "use strict";
60732      init_esbuild_shims();
60733      require_string_html()("big", function(createHTML) {
60734        return function big() {
60735          return createHTML(this, "big", "", "");
60736        };
60737      });
60738    }
60739  });
60740
60741  
vendor: 443 bytes, lines 60741-60754
60741// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.blink.js
60742  var require_es6_string_blink = __commonJS({
60743    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.blink.js"() {
60744      "use strict";
60745      init_esbuild_shims();
60746      require_string_html()("blink", function(createHTML) {
60747        return function blink() {
60748          return createHTML(this, "blink", "", "");
60749        };
60750      });
60751    }
60752  });
60753
60754  
vendor: 434 bytes, lines 60754-60767
60754// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.bold.js
60755  var require_es6_string_bold = __commonJS({
60756    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.bold.js"() {
60757      "use strict";
60758      init_esbuild_shims();
60759      require_string_html()("bold", function(createHTML) {
60760        return function bold() {
60761          return createHTML(this, "b", "", "");
60762        };
60763      });
60764    }
60765  });
60766
60767  
vendor: 440 bytes, lines 60767-60780
60767// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.fixed.js
60768  var require_es6_string_fixed = __commonJS({
60769    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.fixed.js"() {
60770      "use strict";
60771      init_esbuild_shims();
60772      require_string_html()("fixed", function(createHTML) {
60773        return function fixed() {
60774          return createHTML(this, "tt", "", "");
60775        };
60776      });
60777    }
60778  });
60779
60780  
vendor: 475 bytes, lines 60780-60793
60780// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.fontcolor.js
60781  var require_es6_string_fontcolor = __commonJS({
60782    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.fontcolor.js"() {
60783      "use strict";
60784      init_esbuild_shims();
60785      require_string_html()("fontcolor", function(createHTML) {
60786        return function fontcolor(color) {
60787          return createHTML(this, "font", "color", color);
60788        };
60789      });
60790    }
60791  });
60792
60793  
vendor: 469 bytes, lines 60793-60806
60793// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.fontsize.js
60794  var require_es6_string_fontsize = __commonJS({
60795    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.fontsize.js"() {
60796      "use strict";
60797      init_esbuild_shims();
60798      require_string_html()("fontsize", function(createHTML) {
60799        return function fontsize(size2) {
60800          return createHTML(this, "font", "size", size2);
60801        };
60802      });
60803    }
60804  });
60805
60806  
vendor: 449 bytes, lines 60806-60819
60806// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.italics.js
60807  var require_es6_string_italics = __commonJS({
60808    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.italics.js"() {
60809      "use strict";
60810      init_esbuild_shims();
60811      require_string_html()("italics", function(createHTML) {
60812        return function italics() {
60813          return createHTML(this, "i", "", "");
60814        };
60815      });
60816    }
60817  });
60818
60819  
vendor: 442 bytes, lines 60819-60832
60819// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.link.js
60820  var require_es6_string_link = __commonJS({
60821    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.link.js"() {
60822      "use strict";
60823      init_esbuild_shims();
60824      require_string_html()("link", function(createHTML) {
60825        return function link(url) {
60826          return createHTML(this, "a", "href", url);
60827        };
60828      });
60829    }
60830  });
60831
60832  
vendor: 443 bytes, lines 60832-60845
60832// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.small.js
60833  var require_es6_string_small = __commonJS({
60834    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.small.js"() {
60835      "use strict";
60836      init_esbuild_shims();
60837      require_string_html()("small", function(createHTML) {
60838        return function small() {
60839          return createHTML(this, "small", "", "");
60840        };
60841      });
60842    }
60843  });
60844
60845  
vendor: 449 bytes, lines 60845-60858
60845// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.strike.js
60846  var require_es6_string_strike = __commonJS({
60847    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.strike.js"() {
60848      "use strict";
60849      init_esbuild_shims();
60850      require_string_html()("strike", function(createHTML) {
60851        return function strike() {
60852          return createHTML(this, "strike", "", "");
60853        };
60854      });
60855    }
60856  });
60857
60858  
vendor: 431 bytes, lines 60858-60871
60858// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.sub.js
60859  var require_es6_string_sub = __commonJS({
60860    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.sub.js"() {
60861      "use strict";
60862      init_esbuild_shims();
60863      require_string_html()("sub", function(createHTML) {
60864        return function sub() {
60865          return createHTML(this, "sub", "", "");
60866        };
60867      });
60868    }
60869  });
60870
60871  
vendor: 431 bytes, lines 60871-60884
60871// node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.sup.js
60872  var require_es6_string_sup = __commonJS({
60873    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.string.sup.js"() {
60874      "use strict";
60875      init_esbuild_shims();
60876      require_string_html()("sup", function(createHTML) {
60877        return function sup() {
60878          return createHTML(this, "sup", "", "");
60879        };
60880      });
60881    }
60882  });
60883
60884  
vendor: 402 bytes, lines 60884-60895
60884// node_modules/babel-polyfill/node_modules/core-js/modules/es6.date.now.js
60885  var require_es6_date_now = __commonJS({
60886    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.date.now.js"() {
60887      init_esbuild_shims();
60888      var $export = require_export();
60889      $export($export.S, "Date", { now: function() {
60890        return (/* @__PURE__ */ new Date()).getTime();
60891      } });
60892    }
60893  });
60894
60895  
vendor: 917 bytes, lines 60895-60918
60895// node_modules/babel-polyfill/node_modules/core-js/modules/es6.date.to-json.js
60896  var require_es6_date_to_json = __commonJS({
60897    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.date.to-json.js"() {
60898      "use strict";
60899      init_esbuild_shims();
60900      var $export = require_export();
60901      var toObject = require_to_object();
60902      var toPrimitive2 = require_to_primitive();
60903      $export($export.P + $export.F * require_fails()(function() {
60904        return (/* @__PURE__ */ new Date(NaN)).toJSON() !== null || Date.prototype.toJSON.call({ toISOString: function() {
60905          return 1;
60906        } }) !== 1;
60907      }), "Date", {
60908        // eslint-disable-next-line no-unused-vars
60909        toJSON: function toJSON(key) {
60910          var O = toObject(this);
60911          var pv = toPrimitive2(O);
60912          return typeof pv == "number" && !isFinite(pv) ? null : O.toISOString();
60913        }
60914      });
60915    }
60916  });
60917
60918  
vendor: 1,276 bytes, lines 60918-60944
60918// node_modules/babel-polyfill/node_modules/core-js/modules/_date-to-iso-string.js
60919  var require_date_to_iso_string = __commonJS({
60920    "node_modules/babel-polyfill/node_modules/core-js/modules/_date-to-iso-string.js"(exports, module) {
60921      "use strict";
60922      init_esbuild_shims();
60923      var fails = require_fails();
60924      var getTime = Date.prototype.getTime;
60925      var $toISOString = Date.prototype.toISOString;
60926      var lz = function(num) {
60927        return num > 9 ? num : "0" + num;
60928      };
60929      module.exports = fails(function() {
60930        return $toISOString.call(new Date(-5e13 - 1)) != "0385-07-25T07:06:39.999Z";
60931      }) || !fails(function() {
60932        $toISOString.call(/* @__PURE__ */ new Date(NaN));
60933      }) ? function toISOString() {
60934        if (!isFinite(getTime.call(this))) throw RangeError("Invalid time value");
60935        var d = this;
60936        var y = d.getUTCFullYear();
60937        var m = d.getUTCMilliseconds();
60938        var s2 = y < 0 ? "-" : y > 9999 ? "+" : "";
60939        return s2 + ("00000" + Math.abs(y)).slice(s2 ? -6 : -4) + "-" + lz(d.getUTCMonth() + 1) + "-" + lz(d.getUTCDate()) + "T" + lz(d.getUTCHours()) + ":" + lz(d.getUTCMinutes()) + ":" + lz(d.getUTCSeconds()) + "." + (m > 99 ? m : "0" + lz(m)) + "Z";
60940      } : $toISOString;
60941    }
60942  });
60943
60944  
vendor: 490 bytes, lines 60944-60956
60944// node_modules/babel-polyfill/node_modules/core-js/modules/es6.date.to-iso-string.js
60945  var require_es6_date_to_iso_string = __commonJS({
60946    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.date.to-iso-string.js"() {
60947      init_esbuild_shims();
60948      var $export = require_export();
60949      var toISOString = require_date_to_iso_string();
60950      $export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), "Date", {
60951        toISOString
60952      });
60953    }
60954  });
60955
60956  
vendor: 728 bytes, lines 60956-60974
60956// node_modules/babel-polyfill/node_modules/core-js/modules/es6.date.to-string.js
60957  var require_es6_date_to_string = __commonJS({
60958    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.date.to-string.js"() {
60959      init_esbuild_shims();
60960      var DateProto = Date.prototype;
60961      var INVALID_DATE = "Invalid Date";
60962      var TO_STRING = "toString";
60963      var $toString = DateProto[TO_STRING];
60964      var getTime = DateProto.getTime;
60965      if (/* @__PURE__ */ new Date(NaN) + "" != INVALID_DATE) {
60966        require_redefine()(DateProto, TO_STRING, function toString3() {
60967          var value = getTime.call(this);
60968          return value === value ? $toString.call(this) : INVALID_DATE;
60969        });
60970      }
60971    }
60972  });
60973
60974  
vendor: 633 bytes, lines 60974-60989
60974// node_modules/babel-polyfill/node_modules/core-js/modules/_date-to-primitive.js
60975  var require_date_to_primitive = __commonJS({
60976    "node_modules/babel-polyfill/node_modules/core-js/modules/_date-to-primitive.js"(exports, module) {
60977      "use strict";
60978      init_esbuild_shims();
60979      var anObject = require_an_object();
60980      var toPrimitive2 = require_to_primitive();
60981      var NUMBER = "number";
60982      module.exports = function(hint) {
60983        if (hint !== "string" && hint !== NUMBER && hint !== "default") throw TypeError("Incorrect hint");
60984        return toPrimitive2(anObject(this), hint != NUMBER);
60985      };
60986    }
60987  });
60988
60989  
vendor: 462 bytes, lines 60989-60999
60989// node_modules/babel-polyfill/node_modules/core-js/modules/es6.date.to-primitive.js
60990  var require_es6_date_to_primitive = __commonJS({
60991    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.date.to-primitive.js"() {
60992      init_esbuild_shims();
60993      var TO_PRIMITIVE = require_wks()("toPrimitive");
60994      var proto = Date.prototype;
60995      if (!(TO_PRIMITIVE in proto)) require_hide()(proto, TO_PRIMITIVE, require_date_to_primitive());
60996    }
60997  });
60998
60999  
vendor: 368 bytes, lines 60999-61008
60999// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.is-array.js
61000  var require_es6_array_is_array = __commonJS({
61001    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.is-array.js"() {
61002      init_esbuild_shims();
61003      var $export = require_export();
61004      $export($export.S, "Array", { isArray: require_is_array() });
61005    }
61006  });
61007
61008  
vendor: 608 bytes, lines 61008-61025
61008// node_modules/babel-polyfill/node_modules/core-js/modules/_iter-call.js
61009  var require_iter_call = __commonJS({
61010    "node_modules/babel-polyfill/node_modules/core-js/modules/_iter-call.js"(exports, module) {
61011      init_esbuild_shims();
61012      var anObject = require_an_object();
61013      module.exports = function(iterator2, fn, value, entries) {
61014        try {
61015          return entries ? fn(anObject(value)[0], value[1]) : fn(value);
61016        } catch (e) {
61017          var ret = iterator2["return"];
61018          if (ret !== void 0) anObject(ret.call(iterator2));
61019          throw e;
61020        }
61021      };
61022    }
61023  });
61024
61025  
vendor: 531 bytes, lines 61025-61038
61025// node_modules/babel-polyfill/node_modules/core-js/modules/_is-array-iter.js
61026  var require_is_array_iter = __commonJS({
61027    "node_modules/babel-polyfill/node_modules/core-js/modules/_is-array-iter.js"(exports, module) {
61028      init_esbuild_shims();
61029      var Iterators = require_iterators();
61030      var ITERATOR = require_wks()("iterator");
61031      var ArrayProto = Array.prototype;
61032      module.exports = function(it) {
61033        return it !== void 0 && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
61034      };
61035    }
61036  });
61037
61038  
vendor: 577 bytes, lines 61038-61052
61038// node_modules/babel-polyfill/node_modules/core-js/modules/_create-property.js
61039  var require_create_property = __commonJS({
61040    "node_modules/babel-polyfill/node_modules/core-js/modules/_create-property.js"(exports, module) {
61041      "use strict";
61042      init_esbuild_shims();
61043      var $defineProperty = require_object_dp();
61044      var createDesc = require_property_desc();
61045      module.exports = function(object, index2, value) {
61046        if (index2 in object) $defineProperty.f(object, index2, createDesc(0, value));
61047        else object[index2] = value;
61048      };
61049    }
61050  });
61051
61052  
vendor: 600 bytes, lines 61052-61065
61052// node_modules/babel-polyfill/node_modules/core-js/modules/core.get-iterator-method.js
61053  var require_core_get_iterator_method = __commonJS({
61054    "node_modules/babel-polyfill/node_modules/core-js/modules/core.get-iterator-method.js"(exports, module) {
61055      init_esbuild_shims();
61056      var classof = require_classof();
61057      var ITERATOR = require_wks()("iterator");
61058      var Iterators = require_iterators();
61059      module.exports = require_core().getIteratorMethod = function(it) {
61060        if (it != void 0) return it[ITERATOR] || it["@@iterator"] || Iterators[classof(it)];
61061      };
61062    }
61063  });
61064
61065  
vendor: 1,042 bytes, lines 61065-61102
61065// node_modules/babel-polyfill/node_modules/core-js/modules/_iter-detect.js
61066  var require_iter_detect = __commonJS({
61067    "node_modules/babel-polyfill/node_modules/core-js/modules/_iter-detect.js"(exports, module) {
61068      init_esbuild_shims();
61069      var ITERATOR = require_wks()("iterator");
61070      var SAFE_CLOSING = false;
61071      try {
61072        riter = [7][ITERATOR]();
61073        riter["return"] = function() {
61074          SAFE_CLOSING = true;
61075        };
61076        Array.from(riter, function() {
61077          throw 2;
61078        });
61079      } catch (e) {
61080      }
61081      var riter;
61082      module.exports = function(exec, skipClosing) {
61083        if (!skipClosing && !SAFE_CLOSING) return false;
61084        var safe = false;
61085        try {
61086          var arr = [7];
61087          var iter = arr[ITERATOR]();
61088          iter.next = function() {
61089            return { done: safe = true };
61090          };
61091          arr[ITERATOR] = function() {
61092            return iter;
61093          };
61094          exec(arr);
61095        } catch (e) {
61096        }
61097        return safe;
61098      };
61099    }
61100  });
61101
61102  
vendor: 1,947 bytes, lines 61102-61146
61102// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.from.js
61103  var require_es6_array_from = __commonJS({
61104    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.from.js"() {
61105      "use strict";
61106      init_esbuild_shims();
61107      var ctx = require_ctx();
61108      var $export = require_export();
61109      var toObject = require_to_object();
61110      var call = require_iter_call();
61111      var isArrayIter = require_is_array_iter();
61112      var toLength = require_to_length();
61113      var createProperty = require_create_property();
61114      var getIterFn = require_core_get_iterator_method();
61115      $export($export.S + $export.F * !require_iter_detect()(function(iter) {
61116        Array.from(iter);
61117      }), "Array", {
61118        // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
61119        from: function from2(arrayLike) {
61120          var O = toObject(arrayLike);
61121          var C = typeof this == "function" ? this : Array;
61122          var aLen = arguments.length;
61123          var mapfn = aLen > 1 ? arguments[1] : void 0;
61124          var mapping = mapfn !== void 0;
61125          var index2 = 0;
61126          var iterFn = getIterFn(O);
61127          var length2, result, step, iterator2;
61128          if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : void 0, 2);
61129          if (iterFn != void 0 && !(C == Array && isArrayIter(iterFn))) {
61130            for (iterator2 = iterFn.call(O), result = new C(); !(step = iterator2.next()).done; index2++) {
61131              createProperty(result, index2, mapping ? call(iterator2, mapfn, [step.value, index2], true) : step.value);
61132            }
61133          } else {
61134            length2 = toLength(O.length);
61135            for (result = new C(length2); length2 > index2; index2++) {
61136              createProperty(result, index2, mapping ? mapfn(O[index2], index2) : O[index2]);
61137            }
61138          }
61139          result.length = index2;
61140          return result;
61141        }
61142      });
61143    }
61144  });
61145
61146  
vendor: 898 bytes, lines 61146-61171
61146// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.of.js
61147  var require_es6_array_of = __commonJS({
61148    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.of.js"() {
61149      "use strict";
61150      init_esbuild_shims();
61151      var $export = require_export();
61152      var createProperty = require_create_property();
61153      $export($export.S + $export.F * require_fails()(function() {
61154        function F() {
61155        }
61156        return !(Array.of.call(F) instanceof F);
61157      }), "Array", {
61158        // 22.1.2.3 Array.of( ...items)
61159        of: function of() {
61160          var index2 = 0;
61161          var aLen = arguments.length;
61162          var result = new (typeof this == "function" ? this : Array)(aLen);
61163          while (aLen > index2) createProperty(result, index2, arguments[index2++]);
61164          result.length = aLen;
61165          return result;
61166        }
61167      });
61168    }
61169  });
61170
61171  
vendor: 517 bytes, lines 61171-61186
61171// node_modules/babel-polyfill/node_modules/core-js/modules/_strict-method.js
61172  var require_strict_method = __commonJS({
61173    "node_modules/babel-polyfill/node_modules/core-js/modules/_strict-method.js"(exports, module) {
61174      "use strict";
61175      init_esbuild_shims();
61176      var fails = require_fails();
61177      module.exports = function(method, arg) {
61178        return !!method && fails(function() {
61179          arg ? method.call(null, function() {
61180          }, 1) : method.call(null);
61181        });
61182      };
61183    }
61184  });
61185
61186  
vendor: 653 bytes, lines 61186-61202
61186// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.join.js
61187  var require_es6_array_join = __commonJS({
61188    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.join.js"() {
61189      "use strict";
61190      init_esbuild_shims();
61191      var $export = require_export();
61192      var toIObject = require_to_iobject();
61193      var arrayJoin = [].join;
61194      $export($export.P + $export.F * (require_iobject() != Object || !require_strict_method()(arrayJoin)), "Array", {
61195        join: function join(separator) {
61196          return arrayJoin.call(toIObject(this), separator === void 0 ? "," : separator);
61197        }
61198      });
61199    }
61200  });
61201
61202  
vendor: 1,249 bytes, lines 61202-61233
61202// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.slice.js
61203  var require_es6_array_slice = __commonJS({
61204    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.slice.js"() {
61205      "use strict";
61206      init_esbuild_shims();
61207      var $export = require_export();
61208      var html = require_html();
61209      var cof = require_cof();
61210      var toAbsoluteIndex = require_to_absolute_index();
61211      var toLength = require_to_length();
61212      var arraySlice = [].slice;
61213      $export($export.P + $export.F * require_fails()(function() {
61214        if (html) arraySlice.call(html);
61215      }), "Array", {
61216        slice: function slice2(begin2, end2) {
61217          var len = toLength(this.length);
61218          var klass = cof(this);
61219          end2 = end2 === void 0 ? len : end2;
61220          if (klass == "Array") return arraySlice.call(this, begin2, end2);
61221          var start = toAbsoluteIndex(begin2, len);
61222          var upTo = toAbsoluteIndex(end2, len);
61223          var size2 = toLength(upTo - start);
61224          var cloned = new Array(size2);
61225          var i2 = 0;
61226          for (; i2 < size2; i2++) cloned[i2] = klass == "String" ? this.charAt(start + i2) : this[start + i2];
61227          return cloned;
61228        }
61229      });
61230    }
61231  });
61232
61233  
vendor: 919 bytes, lines 61233-61257
61233// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.sort.js
61234  var require_es6_array_sort = __commonJS({
61235    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.sort.js"() {
61236      "use strict";
61237      init_esbuild_shims();
61238      var $export = require_export();
61239      var aFunction = require_a_function();
61240      var toObject = require_to_object();
61241      var fails = require_fails();
61242      var $sort = [].sort;
61243      var test2 = [1, 2, 3];
61244      $export($export.P + $export.F * (fails(function() {
61245        test2.sort(void 0);
61246      }) || !fails(function() {
61247        test2.sort(null);
61248      }) || !require_strict_method()($sort)), "Array", {
61249        // 22.1.3.25 Array.prototype.sort(comparefn)
61250        sort: function sort(comparefn) {
61251          return comparefn === void 0 ? $sort.call(toObject(this)) : $sort.call(toObject(this), aFunction(comparefn));
61252        }
61253      });
61254    }
61255  });
61256
61257  
vendor: 821 bytes, lines 61257-61279
61257// node_modules/babel-polyfill/node_modules/core-js/modules/_array-species-constructor.js
61258  var require_array_species_constructor = __commonJS({
61259    "node_modules/babel-polyfill/node_modules/core-js/modules/_array-species-constructor.js"(exports, module) {
61260      init_esbuild_shims();
61261      var isObject2 = require_is_object();
61262      var isArray3 = require_is_array();
61263      var SPECIES = require_wks()("species");
61264      module.exports = function(original) {
61265        var C;
61266        if (isArray3(original)) {
61267          C = original.constructor;
61268          if (typeof C == "function" && (C === Array || isArray3(C.prototype))) C = void 0;
61269          if (isObject2(C)) {
61270            C = C[SPECIES];
61271            if (C === null) C = void 0;
61272          }
61273        }
61274        return C === void 0 ? Array : C;
61275      };
61276    }
61277  });
61278
61279  
vendor: 475 bytes, lines 61279-61290
61279// node_modules/babel-polyfill/node_modules/core-js/modules/_array-species-create.js
61280  var require_array_species_create = __commonJS({
61281    "node_modules/babel-polyfill/node_modules/core-js/modules/_array-species-create.js"(exports, module) {
61282      init_esbuild_shims();
61283      var speciesConstructor = require_array_species_constructor();
61284      module.exports = function(original, length2) {
61285        return new (speciesConstructor(original))(length2);
61286      };
61287    }
61288  });
61289
61290  
vendor: 1,894 bytes, lines 61290-61342
61290// node_modules/babel-polyfill/node_modules/core-js/modules/_array-methods.js
61291  var require_array_methods = __commonJS({
61292    "node_modules/babel-polyfill/node_modules/core-js/modules/_array-methods.js"(exports, module) {
61293      init_esbuild_shims();
61294      var ctx = require_ctx();
61295      var IObject = require_iobject();
61296      var toObject = require_to_object();
61297      var toLength = require_to_length();
61298      var asc = require_array_species_create();
61299      module.exports = function(TYPE, $create) {
61300        var IS_MAP = TYPE == 1;
61301        var IS_FILTER = TYPE == 2;
61302        var IS_SOME = TYPE == 3;
61303        var IS_EVERY = TYPE == 4;
61304        var IS_FIND_INDEX = TYPE == 6;
61305        var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
61306        var create2 = $create || asc;
61307        return function($this, callbackfn, that) {
61308          var O = toObject($this);
61309          var self2 = IObject(O);
61310          var f = ctx(callbackfn, that, 3);
61311          var length2 = toLength(self2.length);
61312          var index2 = 0;
61313          var result = IS_MAP ? create2($this, length2) : IS_FILTER ? create2($this, 0) : void 0;
61314          var val, res;
61315          for (; length2 > index2; index2++) if (NO_HOLES || index2 in self2) {
61316            val = self2[index2];
61317            res = f(val, index2, O);
61318            if (TYPE) {
61319              if (IS_MAP) result[index2] = res;
61320              else if (res) switch (TYPE) {
61321                case 3:
61322                  return true;
61323                // some
61324                case 5:
61325                  return val;
61326                // find
61327                case 6:
61328                  return index2;
61329                // findIndex
61330                case 2:
61331                  result.push(val);
61332              }
61333              else if (IS_EVERY) return false;
61334            }
61335          }
61336          return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
61337        };
61338      };
61339    }
61340  });
61341
61342  
vendor: 698 bytes, lines 61342-61359
61342// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.for-each.js
61343  var require_es6_array_for_each = __commonJS({
61344    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.for-each.js"() {
61345      "use strict";
61346      init_esbuild_shims();
61347      var $export = require_export();
61348      var $forEach = require_array_methods()(0);
61349      var STRICT = require_strict_method()([].forEach, true);
61350      $export($export.P + $export.F * !STRICT, "Array", {
61351        // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])
61352        forEach: function forEach2(callbackfn) {
61353          return $forEach(this, callbackfn, arguments[1]);
61354        }
61355      });
61356    }
61357  });
61358
61359  
vendor: 631 bytes, lines 61359-61375
61359// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.map.js
61360  var require_es6_array_map = __commonJS({
61361    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.map.js"() {
61362      "use strict";
61363      init_esbuild_shims();
61364      var $export = require_export();
61365      var $map = require_array_methods()(1);
61366      $export($export.P + $export.F * !require_strict_method()([].map, true), "Array", {
61367        // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
61368        map: function map(callbackfn) {
61369          return $map(this, callbackfn, arguments[1]);
61370        }
61371      });
61372    }
61373  });
61374
61375  
vendor: 658 bytes, lines 61375-61391
61375// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.filter.js
61376  var require_es6_array_filter = __commonJS({
61377    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.filter.js"() {
61378      "use strict";
61379      init_esbuild_shims();
61380      var $export = require_export();
61381      var $filter = require_array_methods()(2);
61382      $export($export.P + $export.F * !require_strict_method()([].filter, true), "Array", {
61383        // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])
61384        filter: function filter2(callbackfn) {
61385          return $filter(this, callbackfn, arguments[1]);
61386        }
61387      });
61388    }
61389  });
61390
61391  
vendor: 640 bytes, lines 61391-61407
61391// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.some.js
61392  var require_es6_array_some = __commonJS({
61393    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.some.js"() {
61394      "use strict";
61395      init_esbuild_shims();
61396      var $export = require_export();
61397      var $some = require_array_methods()(3);
61398      $export($export.P + $export.F * !require_strict_method()([].some, true), "Array", {
61399        // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])
61400        some: function some(callbackfn) {
61401          return $some(this, callbackfn, arguments[1]);
61402        }
61403      });
61404    }
61405  });
61406
61407  
vendor: 648 bytes, lines 61407-61423
61407// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.every.js
61408  var require_es6_array_every = __commonJS({
61409    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.every.js"() {
61410      "use strict";
61411      init_esbuild_shims();
61412      var $export = require_export();
61413      var $every = require_array_methods()(4);
61414      $export($export.P + $export.F * !require_strict_method()([].every, true), "Array", {
61415        // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])
61416        every: function every(callbackfn) {
61417          return $every(this, callbackfn, arguments[1]);
61418        }
61419      });
61420    }
61421  });
61422
61423  
vendor: 1,255 bytes, lines 61423-61457
61423// node_modules/babel-polyfill/node_modules/core-js/modules/_array-reduce.js
61424  var require_array_reduce = __commonJS({
61425    "node_modules/babel-polyfill/node_modules/core-js/modules/_array-reduce.js"(exports, module) {
61426      init_esbuild_shims();
61427      var aFunction = require_a_function();
61428      var toObject = require_to_object();
61429      var IObject = require_iobject();
61430      var toLength = require_to_length();
61431      module.exports = function(that, callbackfn, aLen, memo, isRight) {
61432        aFunction(callbackfn);
61433        var O = toObject(that);
61434        var self2 = IObject(O);
61435        var length2 = toLength(O.length);
61436        var index2 = isRight ? length2 - 1 : 0;
61437        var i2 = isRight ? -1 : 1;
61438        if (aLen < 2) for (; ; ) {
61439          if (index2 in self2) {
61440            memo = self2[index2];
61441            index2 += i2;
61442            break;
61443          }
61444          index2 += i2;
61445          if (isRight ? index2 < 0 : length2 <= index2) {
61446            throw TypeError("Reduce of empty array with no initial value");
61447          }
61448        }
61449        for (; isRight ? index2 >= 0 : length2 > index2; index2 += i2) if (index2 in self2) {
61450          memo = callbackfn(memo, self2[index2], index2, O);
61451        }
61452        return memo;
61453      };
61454    }
61455  });
61456
61457  
vendor: 685 bytes, lines 61457-61473
61457// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.reduce.js
61458  var require_es6_array_reduce = __commonJS({
61459    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.reduce.js"() {
61460      "use strict";
61461      init_esbuild_shims();
61462      var $export = require_export();
61463      var $reduce = require_array_reduce();
61464      $export($export.P + $export.F * !require_strict_method()([].reduce, true), "Array", {
61465        // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])
61466        reduce: function reduce2(callbackfn) {
61467          return $reduce(this, callbackfn, arguments.length, arguments[1], false);
61468        }
61469      });
61470    }
61471  });
61472
61473  
vendor: 721 bytes, lines 61473-61489
61473// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.reduce-right.js
61474  var require_es6_array_reduce_right = __commonJS({
61475    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.reduce-right.js"() {
61476      "use strict";
61477      init_esbuild_shims();
61478      var $export = require_export();
61479      var $reduce = require_array_reduce();
61480      $export($export.P + $export.F * !require_strict_method()([].reduceRight, true), "Array", {
61481        // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])
61482        reduceRight: function reduceRight(callbackfn) {
61483          return $reduce(this, callbackfn, arguments.length, arguments[1], true);
61484        }
61485      });
61486    }
61487  });
61488
61489  
vendor: 849 bytes, lines 61489-61507
61489// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.index-of.js
61490  var require_es6_array_index_of = __commonJS({
61491    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.index-of.js"() {
61492      "use strict";
61493      init_esbuild_shims();
61494      var $export = require_export();
61495      var $indexOf = require_array_includes()(false);
61496      var $native = [].indexOf;
61497      var NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;
61498      $export($export.P + $export.F * (NEGATIVE_ZERO || !require_strict_method()($native)), "Array", {
61499        // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])
61500        indexOf: function indexOf(searchElement) {
61501          return NEGATIVE_ZERO ? $native.apply(this, arguments) || 0 : $indexOf(this, searchElement, arguments[1]);
61502        }
61503      });
61504    }
61505  });
61506
61507  
vendor: 1,330 bytes, lines 61507-61536
61507// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.last-index-of.js
61508  var require_es6_array_last_index_of = __commonJS({
61509    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.last-index-of.js"() {
61510      "use strict";
61511      init_esbuild_shims();
61512      var $export = require_export();
61513      var toIObject = require_to_iobject();
61514      var toInteger = require_to_integer();
61515      var toLength = require_to_length();
61516      var $native = [].lastIndexOf;
61517      var NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;
61518      $export($export.P + $export.F * (NEGATIVE_ZERO || !require_strict_method()($native)), "Array", {
61519        // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])
61520        lastIndexOf: function lastIndexOf(searchElement) {
61521          if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0;
61522          var O = toIObject(this);
61523          var length2 = toLength(O.length);
61524          var index2 = length2 - 1;
61525          if (arguments.length > 1) index2 = Math.min(index2, toInteger(arguments[1]));
61526          if (index2 < 0) index2 = length2 + index2;
61527          for (; index2 >= 0; index2--) if (index2 in O) {
61528            if (O[index2] === searchElement) return index2 || 0;
61529          }
61530          return -1;
61531        }
61532      });
61533    }
61534  });
61535
61536  
vendor: 1,188 bytes, lines 61536-61568
61536// node_modules/babel-polyfill/node_modules/core-js/modules/_array-copy-within.js
61537  var require_array_copy_within = __commonJS({
61538    "node_modules/babel-polyfill/node_modules/core-js/modules/_array-copy-within.js"(exports, module) {
61539      "use strict";
61540      init_esbuild_shims();
61541      var toObject = require_to_object();
61542      var toAbsoluteIndex = require_to_absolute_index();
61543      var toLength = require_to_length();
61544      module.exports = [].copyWithin || function copyWithin(target, start) {
61545        var O = toObject(this);
61546        var len = toLength(O.length);
61547        var to = toAbsoluteIndex(target, len);
61548        var from2 = toAbsoluteIndex(start, len);
61549        var end2 = arguments.length > 2 ? arguments[2] : void 0;
61550        var count = Math.min((end2 === void 0 ? len : toAbsoluteIndex(end2, len)) - from2, len - to);
61551        var inc = 1;
61552        if (from2 < to && to < from2 + count) {
61553          inc = -1;
61554          from2 += count - 1;
61555          to += count - 1;
61556        }
61557        while (count-- > 0) {
61558          if (from2 in O) O[to] = O[from2];
61559          else delete O[to];
61560          to += inc;
61561          from2 += inc;
61562        }
61563        return O;
61564      };
61565    }
61566  });
61567
61568  
vendor: 556 bytes, lines 61568-61581
61568// node_modules/babel-polyfill/node_modules/core-js/modules/_add-to-unscopables.js
61569  var require_add_to_unscopables = __commonJS({
61570    "node_modules/babel-polyfill/node_modules/core-js/modules/_add-to-unscopables.js"(exports, module) {
61571      init_esbuild_shims();
61572      var UNSCOPABLES = require_wks()("unscopables");
61573      var ArrayProto = Array.prototype;
61574      if (ArrayProto[UNSCOPABLES] == void 0) require_hide()(ArrayProto, UNSCOPABLES, {});
61575      module.exports = function(key) {
61576        ArrayProto[UNSCOPABLES][key] = true;
61577      };
61578    }
61579  });
61580
61581  
vendor: 439 bytes, lines 61581-61591
61581// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.copy-within.js
61582  var require_es6_array_copy_within = __commonJS({
61583    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.copy-within.js"() {
61584      init_esbuild_shims();
61585      var $export = require_export();
61586      $export($export.P, "Array", { copyWithin: require_array_copy_within() });
61587      require_add_to_unscopables()("copyWithin");
61588    }
61589  });
61590
61591  
vendor: 869 bytes, lines 61591-61612
61591// node_modules/babel-polyfill/node_modules/core-js/modules/_array-fill.js
61592  var require_array_fill = __commonJS({
61593    "node_modules/babel-polyfill/node_modules/core-js/modules/_array-fill.js"(exports, module) {
61594      "use strict";
61595      init_esbuild_shims();
61596      var toObject = require_to_object();
61597      var toAbsoluteIndex = require_to_absolute_index();
61598      var toLength = require_to_length();
61599      module.exports = function fill2(value) {
61600        var O = toObject(this);
61601        var length2 = toLength(O.length);
61602        var aLen = arguments.length;
61603        var index2 = toAbsoluteIndex(aLen > 1 ? arguments[1] : void 0, length2);
61604        var end2 = aLen > 2 ? arguments[2] : void 0;
61605        var endPos = end2 === void 0 ? length2 : toAbsoluteIndex(end2, length2);
61606        while (endPos > index2) O[index2++] = value;
61607        return O;
61608      };
61609    }
61610  });
61611
61612  
vendor: 399 bytes, lines 61612-61622
61612// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.fill.js
61613  var require_es6_array_fill = __commonJS({
61614    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.fill.js"() {
61615      init_esbuild_shims();
61616      var $export = require_export();
61617      $export($export.P, "Array", { fill: require_array_fill() });
61618      require_add_to_unscopables()("fill");
61619    }
61620  });
61621
61622  
vendor: 733 bytes, lines 61622-61643
61622// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.find.js
61623  var require_es6_array_find = __commonJS({
61624    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.find.js"() {
61625      "use strict";
61626      init_esbuild_shims();
61627      var $export = require_export();
61628      var $find = require_array_methods()(5);
61629      var KEY = "find";
61630      var forced = true;
61631      if (KEY in []) Array(1)[KEY](function() {
61632        forced = false;
61633      });
61634      $export($export.P + $export.F * forced, "Array", {
61635        find: function find(callbackfn) {
61636          return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
61637        }
61638      });
61639      require_add_to_unscopables()(KEY);
61640    }
61641  });
61642
61643  
vendor: 767 bytes, lines 61643-61664
61643// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.find-index.js
61644  var require_es6_array_find_index = __commonJS({
61645    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.find-index.js"() {
61646      "use strict";
61647      init_esbuild_shims();
61648      var $export = require_export();
61649      var $find = require_array_methods()(6);
61650      var KEY = "findIndex";
61651      var forced = true;
61652      if (KEY in []) Array(1)[KEY](function() {
61653        forced = false;
61654      });
61655      $export($export.P + $export.F * forced, "Array", {
61656        findIndex: function findIndex2(callbackfn) {
61657          return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
61658        }
61659      });
61660      require_add_to_unscopables()(KEY);
61661    }
61662  });
61663
61664  
vendor: 694 bytes, lines 61664-61685
61664// node_modules/babel-polyfill/node_modules/core-js/modules/_set-species.js
61665  var require_set_species = __commonJS({
61666    "node_modules/babel-polyfill/node_modules/core-js/modules/_set-species.js"(exports, module) {
61667      "use strict";
61668      init_esbuild_shims();
61669      var global2 = require_global();
61670      var dP = require_object_dp();
61671      var DESCRIPTORS = require_descriptors();
61672      var SPECIES = require_wks()("species");
61673      module.exports = function(KEY) {
61674        var C = global2[KEY];
61675        if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {
61676          configurable: true,
61677          get: function() {
61678            return this;
61679          }
61680        });
61681      };
61682    }
61683  });
61684
61685  
vendor: 297 bytes, lines 61685-61693
61685// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.species.js
61686  var require_es6_array_species = __commonJS({
61687    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.species.js"() {
61688      init_esbuild_shims();
61689      require_set_species()("Array");
61690    }
61691  });
61692
61693  
vendor: 348 bytes, lines 61693-61703
61693// node_modules/babel-polyfill/node_modules/core-js/modules/_iter-step.js
61694  var require_iter_step = __commonJS({
61695    "node_modules/babel-polyfill/node_modules/core-js/modules/_iter-step.js"(exports, module) {
61696      init_esbuild_shims();
61697      module.exports = function(done, value) {
61698        return { value, done: !!done };
61699      };
61700    }
61701  });
61702
61703  
vendor: 1,184 bytes, lines 61703-61735
61703// node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.iterator.js
61704  var require_es6_array_iterator = __commonJS({
61705    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.array.iterator.js"(exports, module) {
61706      "use strict";
61707      init_esbuild_shims();
61708      var addToUnscopables = require_add_to_unscopables();
61709      var step = require_iter_step();
61710      var Iterators = require_iterators();
61711      var toIObject = require_to_iobject();
61712      module.exports = require_iter_define()(Array, "Array", function(iterated, kind) {
61713        this._t = toIObject(iterated);
61714        this._i = 0;
61715        this._k = kind;
61716      }, function() {
61717        var O = this._t;
61718        var kind = this._k;
61719        var index2 = this._i++;
61720        if (!O || index2 >= O.length) {
61721          this._t = void 0;
61722          return step(1);
61723        }
61724        if (kind == "keys") return step(0, index2);
61725        if (kind == "values") return step(0, O[index2]);
61726        return step(0, [index2, O[index2]]);
61727      }, "values");
61728      Iterators.Arguments = Iterators.Array;
61729      addToUnscopables("keys");
61730      addToUnscopables("values");
61731      addToUnscopables("entries");
61732    }
61733  });
61734
61735  
vendor: 638 bytes, lines 61735-61754
61735// node_modules/babel-polyfill/node_modules/core-js/modules/_flags.js
61736  var require_flags = __commonJS({
61737    "node_modules/babel-polyfill/node_modules/core-js/modules/_flags.js"(exports, module) {
61738      "use strict";
61739      init_esbuild_shims();
61740      var anObject = require_an_object();
61741      module.exports = function() {
61742        var that = anObject(this);
61743        var result = "";
61744        if (that.global) result += "g";
61745        if (that.ignoreCase) result += "i";
61746        if (that.multiline) result += "m";
61747        if (that.unicode) result += "u";
61748        if (that.sticky) result += "y";
61749        return result;
61750      };
61751    }
61752  });
61753
61754  
vendor: 2,036 bytes, lines 61754-61807
61754// node_modules/babel-polyfill/node_modules/core-js/modules/es6.regexp.constructor.js
61755  var require_es6_regexp_constructor = __commonJS({
61756    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.regexp.constructor.js"() {
61757      init_esbuild_shims();
61758      var global2 = require_global();
61759      var inheritIfRequired = require_inherit_if_required();
61760      var dP = require_object_dp().f;
61761      var gOPN = require_object_gopn().f;
61762      var isRegExp3 = require_is_regexp();
61763      var $flags = require_flags();
61764      var $RegExp = global2.RegExp;
61765      var Base = $RegExp;
61766      var proto = $RegExp.prototype;
61767      var re1 = /a/g;
61768      var re2 = /a/g;
61769      var CORRECT_NEW = new $RegExp(re1) !== re1;
61770      if (require_descriptors() && (!CORRECT_NEW || require_fails()(function() {
61771        re2[require_wks()("match")] = false;
61772        return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, "i") != "/a/i";
61773      }))) {
61774        $RegExp = function RegExp2(p2, f) {
61775          var tiRE = this instanceof $RegExp;
61776          var piRE = isRegExp3(p2);
61777          var fiU = f === void 0;
61778          return !tiRE && piRE && p2.constructor === $RegExp && fiU ? p2 : inheritIfRequired(
61779            CORRECT_NEW ? new Base(piRE && !fiU ? p2.source : p2, f) : Base((piRE = p2 instanceof $RegExp) ? p2.source : p2, piRE && fiU ? $flags.call(p2) : f),
61780            tiRE ? this : proto,
61781            $RegExp
61782          );
61783        };
61784        proxy = function(key) {
61785          key in $RegExp || dP($RegExp, key, {
61786            configurable: true,
61787            get: function() {
61788              return Base[key];
61789            },
61790            set: function(it) {
61791              Base[key] = it;
61792            }
61793          });
61794        };
61795        for (keys = gOPN(Base), i2 = 0; keys.length > i2; ) proxy(keys[i2++]);
61796        proto.constructor = $RegExp;
61797        $RegExp.prototype = proto;
61798        require_redefine()(global2, "RegExp", $RegExp);
61799      }
61800      var proxy;
61801      var keys;
61802      var i2;
61803      require_set_species()("RegExp");
61804    }
61805  });
61806
61807  
vendor: 1,740 bytes, lines 61807-61851
61807// node_modules/babel-polyfill/node_modules/core-js/modules/_regexp-exec.js
61808  var require_regexp_exec = __commonJS({
61809    "node_modules/babel-polyfill/node_modules/core-js/modules/_regexp-exec.js"(exports, module) {
61810      "use strict";
61811      init_esbuild_shims();
61812      var regexpFlags = require_flags();
61813      var nativeExec = RegExp.prototype.exec;
61814      var nativeReplace = String.prototype.replace;
61815      var patchedExec = nativeExec;
61816      var LAST_INDEX = "lastIndex";
61817      var UPDATES_LAST_INDEX_WRONG = (function() {
61818        var re1 = /a/, re2 = /b*/g;
61819        nativeExec.call(re1, "a");
61820        nativeExec.call(re2, "a");
61821        return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;
61822      })();
61823      var NPCG_INCLUDED = /()??/.exec("")[1] !== void 0;
61824      var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;
61825      if (PATCH) {
61826        patchedExec = function exec(str) {
61827          var re = this;
61828          var lastIndex, reCopy, match2, i2;
61829          if (NPCG_INCLUDED) {
61830            reCopy = new RegExp("^" + re.source + "$(?!\\s)", regexpFlags.call(re));
61831          }
61832          if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];
61833          match2 = nativeExec.call(re, str);
61834          if (UPDATES_LAST_INDEX_WRONG && match2) {
61835            re[LAST_INDEX] = re.global ? match2.index + match2[0].length : lastIndex;
61836          }
61837          if (NPCG_INCLUDED && match2 && match2.length > 1) {
61838            nativeReplace.call(match2[0], reCopy, function() {
61839              for (i2 = 1; i2 < arguments.length - 2; i2++) {
61840                if (arguments[i2] === void 0) match2[i2] = void 0;
61841              }
61842            });
61843          }
61844          return match2;
61845        };
61846      }
61847      module.exports = patchedExec;
61848    }
61849  });
61850
61851  
vendor: 477 bytes, lines 61851-61867
61851// node_modules/babel-polyfill/node_modules/core-js/modules/es6.regexp.exec.js
61852  var require_es6_regexp_exec = __commonJS({
61853    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.regexp.exec.js"() {
61854      "use strict";
61855      init_esbuild_shims();
61856      var regexpExec = require_regexp_exec();
61857      require_export()({
61858        target: "RegExp",
61859        proto: true,
61860        forced: regexpExec !== /./.exec
61861      }, {
61862        exec: regexpExec
61863      });
61864    }
61865  });
61866
61867  
vendor: 428 bytes, lines 61867-61878
61867// node_modules/babel-polyfill/node_modules/core-js/modules/es6.regexp.flags.js
61868  var require_es6_regexp_flags = __commonJS({
61869    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.regexp.flags.js"() {
61870      init_esbuild_shims();
61871      if (require_descriptors() && /./g.flags != "g") require_object_dp().f(RegExp.prototype, "flags", {
61872        configurable: true,
61873        get: require_flags()
61874      });
61875    }
61876  });
61877
61878  
vendor: 1,162 bytes, lines 61878-61911
61878// node_modules/babel-polyfill/node_modules/core-js/modules/es6.regexp.to-string.js
61879  var require_es6_regexp_to_string = __commonJS({
61880    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.regexp.to-string.js"() {
61881      "use strict";
61882      init_esbuild_shims();
61883      require_es6_regexp_flags();
61884      var anObject = require_an_object();
61885      var $flags = require_flags();
61886      var DESCRIPTORS = require_descriptors();
61887      var TO_STRING = "toString";
61888      var $toString = /./[TO_STRING];
61889      var define3 = function(fn) {
61890        require_redefine()(RegExp.prototype, TO_STRING, fn, true);
61891      };
61892      if (require_fails()(function() {
61893        return $toString.call({ source: "a", flags: "b" }) != "/a/b";
61894      })) {
61895        define3(function toString3() {
61896          var R = anObject(this);
61897          return "/".concat(
61898            R.source,
61899            "/",
61900            "flags" in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : void 0
61901          );
61902        });
61903      } else if ($toString.name != TO_STRING) {
61904        define3(function toString3() {
61905          return $toString.call(this);
61906        });
61907      }
61908    }
61909  });
61910
61911  
vendor: 474 bytes, lines 61911-61923
61911// node_modules/babel-polyfill/node_modules/core-js/modules/_advance-string-index.js
61912  var require_advance_string_index = __commonJS({
61913    "node_modules/babel-polyfill/node_modules/core-js/modules/_advance-string-index.js"(exports, module) {
61914      "use strict";
61915      init_esbuild_shims();
61916      var at = require_string_at()(true);
61917      module.exports = function(S2, index2, unicode) {
61918        return index2 + (unicode ? at(S2, index2).length : 1);
61919      };
61920    }
61921  });
61922
61923  
vendor: 912 bytes, lines 61923-61947
61923// node_modules/babel-polyfill/node_modules/core-js/modules/_regexp-exec-abstract.js
61924  var require_regexp_exec_abstract = __commonJS({
61925    "node_modules/babel-polyfill/node_modules/core-js/modules/_regexp-exec-abstract.js"(exports, module) {
61926      "use strict";
61927      init_esbuild_shims();
61928      var classof = require_classof();
61929      var builtinExec = RegExp.prototype.exec;
61930      module.exports = function(R, S2) {
61931        var exec = R.exec;
61932        if (typeof exec === "function") {
61933          var result = exec.call(R, S2);
61934          if (typeof result !== "object") {
61935            throw new TypeError("RegExp exec method returned something other than an Object or null");
61936          }
61937          return result;
61938        }
61939        if (classof(R) !== "RegExp") {
61940          throw new TypeError("RegExp#exec called on incompatible receiver");
61941        }
61942        return builtinExec.call(R, S2);
61943      };
61944    }
61945  });
61946
61947  
vendor: 3,134 bytes, lines 61947-62036
61947// node_modules/babel-polyfill/node_modules/core-js/modules/_fix-re-wks.js
61948  var require_fix_re_wks = __commonJS({
61949    "node_modules/babel-polyfill/node_modules/core-js/modules/_fix-re-wks.js"(exports, module) {
61950      "use strict";
61951      init_esbuild_shims();
61952      require_es6_regexp_exec();
61953      var redefine = require_redefine();
61954      var hide2 = require_hide();
61955      var fails = require_fails();
61956      var defined = require_defined();
61957      var wks = require_wks();
61958      var regexpExec = require_regexp_exec();
61959      var SPECIES = wks("species");
61960      var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function() {
61961        var re = /./;
61962        re.exec = function() {
61963          var result = [];
61964          result.groups = { a: "7" };
61965          return result;
61966        };
61967        return "".replace(re, "$<a>") !== "7";
61968      });
61969      var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function() {
61970        var re = /(?:)/;
61971        var originalExec = re.exec;
61972        re.exec = function() {
61973          return originalExec.apply(this, arguments);
61974        };
61975        var result = "ab".split(re);
61976        return result.length === 2 && result[0] === "a" && result[1] === "b";
61977      })();
61978      module.exports = function(KEY, length2, exec) {
61979        var SYMBOL = wks(KEY);
61980        var DELEGATES_TO_SYMBOL = !fails(function() {
61981          var O = {};
61982          O[SYMBOL] = function() {
61983            return 7;
61984          };
61985          return ""[KEY](O) != 7;
61986        });
61987        var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function() {
61988          var execCalled = false;
61989          var re = /a/;
61990          re.exec = function() {
61991            execCalled = true;
61992            return null;
61993          };
61994          if (KEY === "split") {
61995            re.constructor = {};
61996            re.constructor[SPECIES] = function() {
61997              return re;
61998            };
61999          }
62000          re[SYMBOL]("");
62001          return !execCalled;
62002        }) : void 0;
62003        if (!DELEGATES_TO_SYMBOL || !DELEGATES_TO_EXEC || KEY === "replace" && !REPLACE_SUPPORTS_NAMED_GROUPS || KEY === "split" && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) {
62004          var nativeRegExpMethod = /./[SYMBOL];
62005          var fns = exec(
62006            defined,
62007            SYMBOL,
62008            ""[KEY],
62009            function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {
62010              if (regexp.exec === regexpExec) {
62011                if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
62012                  return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
62013                }
62014                return { done: true, value: nativeMethod.call(str, regexp, arg2) };
62015              }
62016              return { done: false };
62017            }
62018          );
62019          var strfn = fns[0];
62020          var rxfn = fns[1];
62021          redefine(String.prototype, KEY, strfn);
62022          hide2(
62023            RegExp.prototype,
62024            SYMBOL,
62025            length2 == 2 ? function(string, arg) {
62026              return rxfn.call(string, this, arg);
62027            } : function(string) {
62028              return rxfn.call(string, this);
62029            }
62030          );
62031        }
62032      };
62033    }
62034  });
62035
62036  
vendor: 1,832 bytes, lines 62036-62080
62036// node_modules/babel-polyfill/node_modules/core-js/modules/es6.regexp.match.js
62037  var require_es6_regexp_match = __commonJS({
62038    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.regexp.match.js"() {
62039      "use strict";
62040      init_esbuild_shims();
62041      var anObject = require_an_object();
62042      var toLength = require_to_length();
62043      var advanceStringIndex = require_advance_string_index();
62044      var regExpExec = require_regexp_exec_abstract();
62045      require_fix_re_wks()("match", 1, function(defined, MATCH, $match, maybeCallNative) {
62046        return [
62047          // `String.prototype.match` method
62048          // https://tc39.github.io/ecma262/#sec-string.prototype.match
62049          function match2(regexp) {
62050            var O = defined(this);
62051            var fn = regexp == void 0 ? void 0 : regexp[MATCH];
62052            return fn !== void 0 ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
62053          },
62054          // `RegExp.prototype[@@match]` method
62055          // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match
62056          function(regexp) {
62057            var res = maybeCallNative($match, regexp, this);
62058            if (res.done) return res.value;
62059            var rx = anObject(regexp);
62060            var S2 = String(this);
62061            if (!rx.global) return regExpExec(rx, S2);
62062            var fullUnicode = rx.unicode;
62063            rx.lastIndex = 0;
62064            var A2 = [];
62065            var n = 0;
62066            var result;
62067            while ((result = regExpExec(rx, S2)) !== null) {
62068              var matchStr = String(result[0]);
62069              A2[n] = matchStr;
62070              if (matchStr === "") rx.lastIndex = advanceStringIndex(S2, toLength(rx.lastIndex), fullUnicode);
62071              n++;
62072            }
62073            return n === 0 ? null : A2;
62074          }
62075        ];
62076      });
62077    }
62078  });
62079
62080  
vendor: 5,122 bytes, lines 62080-62195
62080// node_modules/babel-polyfill/node_modules/core-js/modules/es6.regexp.replace.js
62081  var require_es6_regexp_replace = __commonJS({
62082    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.regexp.replace.js"() {
62083      "use strict";
62084      init_esbuild_shims();
62085      var anObject = require_an_object();
62086      var toObject = require_to_object();
62087      var toLength = require_to_length();
62088      var toInteger = require_to_integer();
62089      var advanceStringIndex = require_advance_string_index();
62090      var regExpExec = require_regexp_exec_abstract();
62091      var max2 = Math.max;
62092      var min2 = Math.min;
62093      var floor2 = Math.floor;
62094      var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g;
62095      var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g;
62096      var maybeToString = function(it) {
62097        return it === void 0 ? it : String(it);
62098      };
62099      require_fix_re_wks()("replace", 2, function(defined, REPLACE, $replace, maybeCallNative) {
62100        return [
62101          // `String.prototype.replace` method
62102          // https://tc39.github.io/ecma262/#sec-string.prototype.replace
62103          function replace3(searchValue, replaceValue) {
62104            var O = defined(this);
62105            var fn = searchValue == void 0 ? void 0 : searchValue[REPLACE];
62106            return fn !== void 0 ? fn.call(searchValue, O, replaceValue) : $replace.call(String(O), searchValue, replaceValue);
62107          },
62108          // `RegExp.prototype[@@replace]` method
62109          // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
62110          function(regexp, replaceValue) {
62111            var res = maybeCallNative($replace, regexp, this, replaceValue);
62112            if (res.done) return res.value;
62113            var rx = anObject(regexp);
62114            var S2 = String(this);
62115            var functionalReplace = typeof replaceValue === "function";
62116            if (!functionalReplace) replaceValue = String(replaceValue);
62117            var global2 = rx.global;
62118            if (global2) {
62119              var fullUnicode = rx.unicode;
62120              rx.lastIndex = 0;
62121            }
62122            var results = [];
62123            while (true) {
62124              var result = regExpExec(rx, S2);
62125              if (result === null) break;
62126              results.push(result);
62127              if (!global2) break;
62128              var matchStr = String(result[0]);
62129              if (matchStr === "") rx.lastIndex = advanceStringIndex(S2, toLength(rx.lastIndex), fullUnicode);
62130            }
62131            var accumulatedResult = "";
62132            var nextSourcePosition = 0;
62133            for (var i2 = 0; i2 < results.length; i2++) {
62134              result = results[i2];
62135              var matched = String(result[0]);
62136              var position2 = max2(min2(toInteger(result.index), S2.length), 0);
62137              var captures = [];
62138              for (var j2 = 1; j2 < result.length; j2++) captures.push(maybeToString(result[j2]));
62139              var namedCaptures = result.groups;
62140              if (functionalReplace) {
62141                var replacerArgs = [matched].concat(captures, position2, S2);
62142                if (namedCaptures !== void 0) replacerArgs.push(namedCaptures);
62143                var replacement = String(replaceValue.apply(void 0, replacerArgs));
62144              } else {
62145                replacement = getSubstitution(matched, S2, position2, captures, namedCaptures, replaceValue);
62146              }
62147              if (position2 >= nextSourcePosition) {
62148                accumulatedResult += S2.slice(nextSourcePosition, position2) + replacement;
62149                nextSourcePosition = position2 + matched.length;
62150              }
62151            }
62152            return accumulatedResult + S2.slice(nextSourcePosition);
62153          }
62154        ];
62155        function getSubstitution(matched, str, position2, captures, namedCaptures, replacement) {
62156          var tailPos = position2 + matched.length;
62157          var m = captures.length;
62158          var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
62159          if (namedCaptures !== void 0) {
62160            namedCaptures = toObject(namedCaptures);
62161            symbols = SUBSTITUTION_SYMBOLS;
62162          }
62163          return $replace.call(replacement, symbols, function(match2, ch) {
62164            var capture;
62165            switch (ch.charAt(0)) {
62166              case "$":
62167                return "$";
62168              case "&":
62169                return matched;
62170              case "`":
62171                return str.slice(0, position2);
62172              case "'":
62173                return str.slice(tailPos);
62174              case "<":
62175                capture = namedCaptures[ch.slice(1, -1)];
62176                break;
62177              default:
62178                var n = +ch;
62179                if (n === 0) return match2;
62180                if (n > m) {
62181                  var f = floor2(n / 10);
62182                  if (f === 0) return match2;
62183                  if (f <= m) return captures[f - 1] === void 0 ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
62184                  return match2;
62185                }
62186                capture = captures[n - 1];
62187            }
62188            return capture === void 0 ? "" : capture;
62189          });
62190        }
62191      });
62192    }
62193  });
62194
62195  
vendor: 1,574 bytes, lines 62195-62230
62195// node_modules/babel-polyfill/node_modules/core-js/modules/es6.regexp.search.js
62196  var require_es6_regexp_search = __commonJS({
62197    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.regexp.search.js"() {
62198      "use strict";
62199      init_esbuild_shims();
62200      var anObject = require_an_object();
62201      var sameValue = require_same_value();
62202      var regExpExec = require_regexp_exec_abstract();
62203      require_fix_re_wks()("search", 1, function(defined, SEARCH, $search, maybeCallNative) {
62204        return [
62205          // `String.prototype.search` method
62206          // https://tc39.github.io/ecma262/#sec-string.prototype.search
62207          function search(regexp) {
62208            var O = defined(this);
62209            var fn = regexp == void 0 ? void 0 : regexp[SEARCH];
62210            return fn !== void 0 ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
62211          },
62212          // `RegExp.prototype[@@search]` method
62213          // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search
62214          function(regexp) {
62215            var res = maybeCallNative($search, regexp, this);
62216            if (res.done) return res.value;
62217            var rx = anObject(regexp);
62218            var S2 = String(this);
62219            var previousLastIndex = rx.lastIndex;
62220            if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
62221            var result = regExpExec(rx, S2);
62222            if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
62223            return result === null ? -1 : result.index;
62224          }
62225        ];
62226      });
62227    }
62228  });
62229
62230  
vendor: 610 bytes, lines 62230-62245
62230// node_modules/babel-polyfill/node_modules/core-js/modules/_species-constructor.js
62231  var require_species_constructor = __commonJS({
62232    "node_modules/babel-polyfill/node_modules/core-js/modules/_species-constructor.js"(exports, module) {
62233      init_esbuild_shims();
62234      var anObject = require_an_object();
62235      var aFunction = require_a_function();
62236      var SPECIES = require_wks()("species");
62237      module.exports = function(O, D) {
62238        var C = anObject(O).constructor;
62239        var S2;
62240        return C === void 0 || (S2 = anObject(C)[SPECIES]) == void 0 ? D : aFunction(S2);
62241      };
62242    }
62243  });
62244
62245  
vendor: 5,456 bytes, lines 62245-62355
62245// node_modules/babel-polyfill/node_modules/core-js/modules/es6.regexp.split.js
62246  var require_es6_regexp_split = __commonJS({
62247    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.regexp.split.js"() {
62248      "use strict";
62249      init_esbuild_shims();
62250      var isRegExp3 = require_is_regexp();
62251      var anObject = require_an_object();
62252      var speciesConstructor = require_species_constructor();
62253      var advanceStringIndex = require_advance_string_index();
62254      var toLength = require_to_length();
62255      var callRegExpExec = require_regexp_exec_abstract();
62256      var regexpExec = require_regexp_exec();
62257      var fails = require_fails();
62258      var $min = Math.min;
62259      var $push = [].push;
62260      var $SPLIT = "split";
62261      var LENGTH = "length";
62262      var LAST_INDEX = "lastIndex";
62263      var MAX_UINT32 = 4294967295;
62264      var SUPPORTS_Y = !fails(function() {
62265        RegExp(MAX_UINT32, "y");
62266      });
62267      require_fix_re_wks()("split", 2, function(defined, SPLIT, $split, maybeCallNative) {
62268        var internalSplit;
62269        if ("abbc"[$SPLIT](/(b)*/)[1] == "c" || "test"[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || "ab"[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || "."[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || "."[$SPLIT](/()()/)[LENGTH] > 1 || ""[$SPLIT](/.?/)[LENGTH]) {
62270          internalSplit = function(separator, limit) {
62271            var string = String(this);
62272            if (separator === void 0 && limit === 0) return [];
62273            if (!isRegExp3(separator)) return $split.call(string, separator, limit);
62274            var output = [];
62275            var flags = (separator.ignoreCase ? "i" : "") + (separator.multiline ? "m" : "") + (separator.unicode ? "u" : "") + (separator.sticky ? "y" : "");
62276            var lastLastIndex = 0;
62277            var splitLimit = limit === void 0 ? MAX_UINT32 : limit >>> 0;
62278            var separatorCopy = new RegExp(separator.source, flags + "g");
62279            var match2, lastIndex, lastLength;
62280            while (match2 = regexpExec.call(separatorCopy, string)) {
62281              lastIndex = separatorCopy[LAST_INDEX];
62282              if (lastIndex > lastLastIndex) {
62283                output.push(string.slice(lastLastIndex, match2.index));
62284                if (match2[LENGTH] > 1 && match2.index < string[LENGTH]) $push.apply(output, match2.slice(1));
62285                lastLength = match2[0][LENGTH];
62286                lastLastIndex = lastIndex;
62287                if (output[LENGTH] >= splitLimit) break;
62288              }
62289              if (separatorCopy[LAST_INDEX] === match2.index) separatorCopy[LAST_INDEX]++;
62290            }
62291            if (lastLastIndex === string[LENGTH]) {
62292              if (lastLength || !separatorCopy.test("")) output.push("");
62293            } else output.push(string.slice(lastLastIndex));
62294            return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;
62295          };
62296        } else if ("0"[$SPLIT](void 0, 0)[LENGTH]) {
62297          internalSplit = function(separator, limit) {
62298            return separator === void 0 && limit === 0 ? [] : $split.call(this, separator, limit);
62299          };
62300        } else {
62301          internalSplit = $split;
62302        }
62303        return [
62304          // `String.prototype.split` method
62305          // https://tc39.github.io/ecma262/#sec-string.prototype.split
62306          function split(separator, limit) {
62307            var O = defined(this);
62308            var splitter = separator == void 0 ? void 0 : separator[SPLIT];
62309            return splitter !== void 0 ? splitter.call(separator, O, limit) : internalSplit.call(String(O), separator, limit);
62310          },
62311          // `RegExp.prototype[@@split]` method
62312          // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split
62313          //
62314          // NOTE: This cannot be properly polyfilled in engines that don't support
62315          // the 'y' flag.
62316          function(regexp, limit) {
62317            var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);
62318            if (res.done) return res.value;
62319            var rx = anObject(regexp);
62320            var S2 = String(this);
62321            var C = speciesConstructor(rx, RegExp);
62322            var unicodeMatching = rx.unicode;
62323            var flags = (rx.ignoreCase ? "i" : "") + (rx.multiline ? "m" : "") + (rx.unicode ? "u" : "") + (SUPPORTS_Y ? "y" : "g");
62324            var splitter = new C(SUPPORTS_Y ? rx : "^(?:" + rx.source + ")", flags);
62325            var lim = limit === void 0 ? MAX_UINT32 : limit >>> 0;
62326            if (lim === 0) return [];
62327            if (S2.length === 0) return callRegExpExec(splitter, S2) === null ? [S2] : [];
62328            var p2 = 0;
62329            var q = 0;
62330            var A2 = [];
62331            while (q < S2.length) {
62332              splitter.lastIndex = SUPPORTS_Y ? q : 0;
62333              var z = callRegExpExec(splitter, SUPPORTS_Y ? S2 : S2.slice(q));
62334              var e;
62335              if (z === null || (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S2.length)) === p2) {
62336                q = advanceStringIndex(S2, q, unicodeMatching);
62337              } else {
62338                A2.push(S2.slice(p2, q));
62339                if (A2.length === lim) return A2;
62340                for (var i2 = 1; i2 <= z.length - 1; i2++) {
62341                  A2.push(z[i2]);
62342                  if (A2.length === lim) return A2;
62343                }
62344                q = p2 = e;
62345              }
62346            }
62347            A2.push(S2.slice(p2));
62348            return A2;
62349          }
62350        ];
62351      });
62352    }
62353  });
62354
62355  
vendor: 529 bytes, lines 62355-62368
62355// node_modules/babel-polyfill/node_modules/core-js/modules/_an-instance.js
62356  var require_an_instance = __commonJS({
62357    "node_modules/babel-polyfill/node_modules/core-js/modules/_an-instance.js"(exports, module) {
62358      init_esbuild_shims();
62359      module.exports = function(it, Constructor, name2, forbiddenField) {
62360        if (!(it instanceof Constructor) || forbiddenField !== void 0 && forbiddenField in it) {
62361          throw TypeError(name2 + ": incorrect invocation!");
62362        }
62363        return it;
62364      };
62365    }
62366  });
62367
62368  
vendor: 1,529 bytes, lines 62368-62402
62368// node_modules/babel-polyfill/node_modules/core-js/modules/_for-of.js
62369  var require_for_of = __commonJS({
62370    "node_modules/babel-polyfill/node_modules/core-js/modules/_for-of.js"(exports, module) {
62371      init_esbuild_shims();
62372      var ctx = require_ctx();
62373      var call = require_iter_call();
62374      var isArrayIter = require_is_array_iter();
62375      var anObject = require_an_object();
62376      var toLength = require_to_length();
62377      var getIterFn = require_core_get_iterator_method();
62378      var BREAK = {};
62379      var RETURN = {};
62380      var exports = module.exports = function(iterable, entries, fn, that, ITERATOR) {
62381        var iterFn = ITERATOR ? function() {
62382          return iterable;
62383        } : getIterFn(iterable);
62384        var f = ctx(fn, that, entries ? 2 : 1);
62385        var index2 = 0;
62386        var length2, step, iterator2, result;
62387        if (typeof iterFn != "function") throw TypeError(iterable + " is not iterable!");
62388        if (isArrayIter(iterFn)) for (length2 = toLength(iterable.length); length2 > index2; index2++) {
62389          result = entries ? f(anObject(step = iterable[index2])[0], step[1]) : f(iterable[index2]);
62390          if (result === BREAK || result === RETURN) return result;
62391        }
62392        else for (iterator2 = iterFn.call(iterable); !(step = iterator2.next()).done; ) {
62393          result = call(iterator2, f, step.value, entries);
62394          if (result === BREAK || result === RETURN) return result;
62395        }
62396      };
62397      exports.BREAK = BREAK;
62398      exports.RETURN = RETURN;
62399    }
62400  });
62401
62402  
vendor: 2,755 bytes, lines 62402-62485
62402// node_modules/babel-polyfill/node_modules/core-js/modules/_task.js
62403  var require_task = __commonJS({
62404    "node_modules/babel-polyfill/node_modules/core-js/modules/_task.js"(exports, module) {
62405      init_esbuild_shims();
62406      var ctx = require_ctx();
62407      var invoke = require_invoke();
62408      var html = require_html();
62409      var cel = require_dom_create();
62410      var global2 = require_global();
62411      var process2 = global2.process;
62412      var setTask = global2.setImmediate;
62413      var clearTask = global2.clearImmediate;
62414      var MessageChannel2 = global2.MessageChannel;
62415      var Dispatch = global2.Dispatch;
62416      var counter2 = 0;
62417      var queue = {};
62418      var ONREADYSTATECHANGE = "onreadystatechange";
62419      var defer;
62420      var channel;
62421      var port;
62422      var run = function() {
62423        var id = +this;
62424        if (queue.hasOwnProperty(id)) {
62425          var fn = queue[id];
62426          delete queue[id];
62427          fn();
62428        }
62429      };
62430      var listener2 = function(event) {
62431        run.call(event.data);
62432      };
62433      if (!setTask || !clearTask) {
62434        setTask = function setImmediate2(fn) {
62435          var args = [];
62436          var i2 = 1;
62437          while (arguments.length > i2) args.push(arguments[i2++]);
62438          queue[++counter2] = function() {
62439            invoke(typeof fn == "function" ? fn : Function(fn), args);
62440          };
62441          defer(counter2);
62442          return counter2;
62443        };
62444        clearTask = function clearImmediate(id) {
62445          delete queue[id];
62446        };
62447        if (require_cof()(process2) == "process") {
62448          defer = function(id) {
62449            process2.nextTick(ctx(run, id, 1));
62450          };
62451        } else if (Dispatch && Dispatch.now) {
62452          defer = function(id) {
62453            Dispatch.now(ctx(run, id, 1));
62454          };
62455        } else if (MessageChannel2) {
62456          channel = new MessageChannel2();
62457          port = channel.port2;
62458          channel.port1.onmessage = listener2;
62459          defer = ctx(port.postMessage, port, 1);
62460        } else if (global2.addEventListener && typeof postMessage == "function" && !global2.importScripts) {
62461          defer = function(id) {
62462            global2.postMessage(id + "", "*");
62463          };
62464          global2.addEventListener("message", listener2, false);
62465        } else if (ONREADYSTATECHANGE in cel("script")) {
62466          defer = function(id) {
62467            html.appendChild(cel("script"))[ONREADYSTATECHANGE] = function() {
62468              html.removeChild(this);
62469              run.call(id);
62470            };
62471          };
62472        } else {
62473          defer = function(id) {
62474            setTimeout(ctx(run, id, 1), 0);
62475          };
62476        }
62477      }
62478      module.exports = {
62479        set: setTask,
62480        clear: clearTask
62481      };
62482    }
62483  });
62484
62485  
vendor: 2,046 bytes, lines 62485-62548
62485// node_modules/babel-polyfill/node_modules/core-js/modules/_microtask.js
62486  var require_microtask = __commonJS({
62487    "node_modules/babel-polyfill/node_modules/core-js/modules/_microtask.js"(exports, module) {
62488      init_esbuild_shims();
62489      var global2 = require_global();
62490      var macrotask = require_task().set;
62491      var Observer = global2.MutationObserver || global2.WebKitMutationObserver;
62492      var process2 = global2.process;
62493      var Promise2 = global2.Promise;
62494      var isNode2 = require_cof()(process2) == "process";
62495      module.exports = function() {
62496        var head, last, notify;
62497        var flush2 = function() {
62498          var parent, fn;
62499          if (isNode2 && (parent = process2.domain)) parent.exit();
62500          while (head) {
62501            fn = head.fn;
62502            head = head.next;
62503            try {
62504              fn();
62505            } catch (e) {
62506              if (head) notify();
62507              else last = void 0;
62508              throw e;
62509            }
62510          }
62511          last = void 0;
62512          if (parent) parent.enter();
62513        };
62514        if (isNode2) {
62515          notify = function() {
62516            process2.nextTick(flush2);
62517          };
62518        } else if (Observer && !(global2.navigator && global2.navigator.standalone)) {
62519          var toggle = true;
62520          var node2 = document.createTextNode("");
62521          new Observer(flush2).observe(node2, { characterData: true });
62522          notify = function() {
62523            node2.data = toggle = !toggle;
62524          };
62525        } else if (Promise2 && Promise2.resolve) {
62526          var promise = Promise2.resolve(void 0);
62527          notify = function() {
62528            promise.then(flush2);
62529          };
62530        } else {
62531          notify = function() {
62532            macrotask.call(global2, flush2);
62533          };
62534        }
62535        return function(fn) {
62536          var task = { fn, next: void 0 };
62537          if (last) last.next = task;
62538          if (!head) {
62539            head = task;
62540            notify();
62541          }
62542          last = task;
62543        };
62544      };
62545    }
62546  });
62547
62548  
vendor: 835 bytes, lines 62548-62570
62548// node_modules/babel-polyfill/node_modules/core-js/modules/_new-promise-capability.js
62549  var require_new_promise_capability = __commonJS({
62550    "node_modules/babel-polyfill/node_modules/core-js/modules/_new-promise-capability.js"(exports, module) {
62551      "use strict";
62552      init_esbuild_shims();
62553      var aFunction = require_a_function();
62554      function PromiseCapability(C) {
62555        var resolve, reject;
62556        this.promise = new C(function($$resolve, $$reject) {
62557          if (resolve !== void 0 || reject !== void 0) throw TypeError("Bad Promise constructor");
62558          resolve = $$resolve;
62559          reject = $$reject;
62560        });
62561        this.resolve = aFunction(resolve);
62562        this.reject = aFunction(reject);
62563      }
62564      module.exports.f = function(C) {
62565        return new PromiseCapability(C);
62566      };
62567    }
62568  });
62569
62570  
vendor: 419 bytes, lines 62570-62584
62570// node_modules/babel-polyfill/node_modules/core-js/modules/_perform.js
62571  var require_perform = __commonJS({
62572    "node_modules/babel-polyfill/node_modules/core-js/modules/_perform.js"(exports, module) {
62573      init_esbuild_shims();
62574      module.exports = function(exec) {
62575        try {
62576          return { e: false, v: exec() };
62577        } catch (e) {
62578          return { e: true, v: e };
62579        }
62580      };
62581    }
62582  });
62583
62584  
vendor: 400 bytes, lines 62584-62594
62584// node_modules/babel-polyfill/node_modules/core-js/modules/_user-agent.js
62585  var require_user_agent = __commonJS({
62586    "node_modules/babel-polyfill/node_modules/core-js/modules/_user-agent.js"(exports, module) {
62587      init_esbuild_shims();
62588      var global2 = require_global();
62589      var navigator2 = global2.navigator;
62590      module.exports = navigator2 && navigator2.userAgent || "";
62591    }
62592  });
62593
62594  
vendor: 726 bytes, lines 62594-62612
62594// node_modules/babel-polyfill/node_modules/core-js/modules/_promise-resolve.js
62595  var require_promise_resolve = __commonJS({
62596    "node_modules/babel-polyfill/node_modules/core-js/modules/_promise-resolve.js"(exports, module) {
62597      init_esbuild_shims();
62598      var anObject = require_an_object();
62599      var isObject2 = require_is_object();
62600      var newPromiseCapability = require_new_promise_capability();
62601      module.exports = function(C, x2) {
62602        anObject(C);
62603        if (isObject2(x2) && x2.constructor === C) return x2;
62604        var promiseCapability = newPromiseCapability.f(C);
62605        var resolve = promiseCapability.resolve;
62606        resolve(x2);
62607        return promiseCapability.promise;
62608      };
62609    }
62610  });
62611
62612  
vendor: 455 bytes, lines 62612-62624
62612// node_modules/babel-polyfill/node_modules/core-js/modules/_redefine-all.js
62613  var require_redefine_all = __commonJS({
62614    "node_modules/babel-polyfill/node_modules/core-js/modules/_redefine-all.js"(exports, module) {
62615      init_esbuild_shims();
62616      var redefine = require_redefine();
62617      module.exports = function(target, src, safe) {
62618        for (var key in src) redefine(target, key, src[key], safe);
62619        return target;
62620      };
62621    }
62622  });
62623
62624  
vendor: 10,627 bytes, lines 62624-62902
62624// node_modules/babel-polyfill/node_modules/core-js/modules/es6.promise.js
62625  var require_es6_promise = __commonJS({
62626    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.promise.js"() {
62627      "use strict";
62628      init_esbuild_shims();
62629      var LIBRARY = require_library();
62630      var global2 = require_global();
62631      var ctx = require_ctx();
62632      var classof = require_classof();
62633      var $export = require_export();
62634      var isObject2 = require_is_object();
62635      var aFunction = require_a_function();
62636      var anInstance = require_an_instance();
62637      var forOf = require_for_of();
62638      var speciesConstructor = require_species_constructor();
62639      var task = require_task().set;
62640      var microtask = require_microtask()();
62641      var newPromiseCapabilityModule = require_new_promise_capability();
62642      var perform2 = require_perform();
62643      var userAgent2 = require_user_agent();
62644      var promiseResolve = require_promise_resolve();
62645      var PROMISE = "Promise";
62646      var TypeError2 = global2.TypeError;
62647      var process2 = global2.process;
62648      var versions = process2 && process2.versions;
62649      var v8 = versions && versions.v8 || "";
62650      var $Promise = global2[PROMISE];
62651      var isNode2 = classof(process2) == "process";
62652      var empty = function() {
62653      };
62654      var Internal;
62655      var newGenericPromiseCapability;
62656      var OwnPromiseCapability;
62657      var Wrapper;
62658      var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;
62659      var USE_NATIVE = !!(function() {
62660        try {
62661          var promise = $Promise.resolve(1);
62662          var FakePromise = (promise.constructor = {})[require_wks()("species")] = function(exec) {
62663            exec(empty, empty);
62664          };
62665          return (isNode2 || typeof PromiseRejectionEvent == "function") && promise.then(empty) instanceof FakePromise && v8.indexOf("6.6") !== 0 && userAgent2.indexOf("Chrome/66") === -1;
62666        } catch (e) {
62667        }
62668      })();
62669      var isThenable3 = function(it) {
62670        var then;
62671        return isObject2(it) && typeof (then = it.then) == "function" ? then : false;
62672      };
62673      var notify = function(promise, isReject) {
62674        if (promise._n) return;
62675        promise._n = true;
62676        var chain = promise._c;
62677        microtask(function() {
62678          var value = promise._v;
62679          var ok = promise._s == 1;
62680          var i2 = 0;
62681          var run = function(reaction) {
62682            var handler = ok ? reaction.ok : reaction.fail;
62683            var resolve = reaction.resolve;
62684            var reject = reaction.reject;
62685            var domain = reaction.domain;
62686            var result, then, exited;
62687            try {
62688              if (handler) {
62689                if (!ok) {
62690                  if (promise._h == 2) onHandleUnhandled(promise);
62691                  promise._h = 1;
62692                }
62693                if (handler === true) result = value;
62694                else {
62695                  if (domain) domain.enter();
62696                  result = handler(value);
62697                  if (domain) {
62698                    domain.exit();
62699                    exited = true;
62700                  }
62701                }
62702                if (result === reaction.promise) {
62703                  reject(TypeError2("Promise-chain cycle"));
62704                } else if (then = isThenable3(result)) {
62705                  then.call(result, resolve, reject);
62706                } else resolve(result);
62707              } else reject(value);
62708            } catch (e) {
62709              if (domain && !exited) domain.exit();
62710              reject(e);
62711            }
62712          };
62713          while (chain.length > i2) run(chain[i2++]);
62714          promise._c = [];
62715          promise._n = false;
62716          if (isReject && !promise._h) onUnhandled(promise);
62717        });
62718      };
62719      var onUnhandled = function(promise) {
62720        task.call(global2, function() {
62721          var value = promise._v;
62722          var unhandled = isUnhandled(promise);
62723          var result, handler, console2;
62724          if (unhandled) {
62725            result = perform2(function() {
62726              if (isNode2) {
62727                process2.emit("unhandledRejection", value, promise);
62728              } else if (handler = global2.onunhandledrejection) {
62729                handler({ promise, reason: value });
62730              } else if ((console2 = global2.console) && console2.error) {
62731                console2.error("Unhandled promise rejection", value);
62732              }
62733            });
62734            promise._h = isNode2 || isUnhandled(promise) ? 2 : 1;
62735          }
62736          promise._a = void 0;
62737          if (unhandled && result.e) throw result.v;
62738        });
62739      };
62740      var isUnhandled = function(promise) {
62741        return promise._h !== 1 && (promise._a || promise._c).length === 0;
62742      };
62743      var onHandleUnhandled = function(promise) {
62744        task.call(global2, function() {
62745          var handler;
62746          if (isNode2) {
62747            process2.emit("rejectionHandled", promise);
62748          } else if (handler = global2.onrejectionhandled) {
62749            handler({ promise, reason: promise._v });
62750          }
62751        });
62752      };
62753      var $reject = function(value) {
62754        var promise = this;
62755        if (promise._d) return;
62756        promise._d = true;
62757        promise = promise._w || promise;
62758        promise._v = value;
62759        promise._s = 2;
62760        if (!promise._a) promise._a = promise._c.slice();
62761        notify(promise, true);
62762      };
62763      var $resolve = function(value) {
62764        var promise = this;
62765        var then;
62766        if (promise._d) return;
62767        promise._d = true;
62768        promise = promise._w || promise;
62769        try {
62770          if (promise === value) throw TypeError2("Promise can't be resolved itself");
62771          if (then = isThenable3(value)) {
62772            microtask(function() {
62773              var wrapper = { _w: promise, _d: false };
62774              try {
62775                then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));
62776              } catch (e) {
62777                $reject.call(wrapper, e);
62778              }
62779            });
62780          } else {
62781            promise._v = value;
62782            promise._s = 1;
62783            notify(promise, false);
62784          }
62785        } catch (e) {
62786          $reject.call({ _w: promise, _d: false }, e);
62787        }
62788      };
62789      if (!USE_NATIVE) {
62790        $Promise = function Promise2(executor) {
62791          anInstance(this, $Promise, PROMISE, "_h");
62792          aFunction(executor);
62793          Internal.call(this);
62794          try {
62795            executor(ctx($resolve, this, 1), ctx($reject, this, 1));
62796          } catch (err) {
62797            $reject.call(this, err);
62798          }
62799        };
62800        Internal = function Promise2(executor) {
62801          this._c = [];
62802          this._a = void 0;
62803          this._s = 0;
62804          this._d = false;
62805          this._v = void 0;
62806          this._h = 0;
62807          this._n = false;
62808        };
62809        Internal.prototype = require_redefine_all()($Promise.prototype, {
62810          // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
62811          then: function then(onFulfilled, onRejected) {
62812            var reaction = newPromiseCapability(speciesConstructor(this, $Promise));
62813            reaction.ok = typeof onFulfilled == "function" ? onFulfilled : true;
62814            reaction.fail = typeof onRejected == "function" && onRejected;
62815            reaction.domain = isNode2 ? process2.domain : void 0;
62816            this._c.push(reaction);
62817            if (this._a) this._a.push(reaction);
62818            if (this._s) notify(this, false);
62819            return reaction.promise;
62820          },
62821          // 25.4.5.1 Promise.prototype.catch(onRejected)
62822          "catch": function(onRejected) {
62823            return this.then(void 0, onRejected);
62824          }
62825        });
62826        OwnPromiseCapability = function() {
62827          var promise = new Internal();
62828          this.promise = promise;
62829          this.resolve = ctx($resolve, promise, 1);
62830          this.reject = ctx($reject, promise, 1);
62831        };
62832        newPromiseCapabilityModule.f = newPromiseCapability = function(C) {
62833          return C === $Promise || C === Wrapper ? new OwnPromiseCapability(C) : newGenericPromiseCapability(C);
62834        };
62835      }
62836      $export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });
62837      require_set_to_string_tag()($Promise, PROMISE);
62838      require_set_species()(PROMISE);
62839      Wrapper = require_core()[PROMISE];
62840      $export($export.S + $export.F * !USE_NATIVE, PROMISE, {
62841        // 25.4.4.5 Promise.reject(r)
62842        reject: function reject(r2) {
62843          var capability = newPromiseCapability(this);
62844          var $$reject = capability.reject;
62845          $$reject(r2);
62846          return capability.promise;
62847        }
62848      });
62849      $export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {
62850        // 25.4.4.6 Promise.resolve(x)
62851        resolve: function resolve(x2) {
62852          return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x2);
62853        }
62854      });
62855      $export($export.S + $export.F * !(USE_NATIVE && require_iter_detect()(function(iter) {
62856        $Promise.all(iter)["catch"](empty);
62857      })), PROMISE, {
62858        // 25.4.4.1 Promise.all(iterable)
62859        all: function all3(iterable) {
62860          var C = this;
62861          var capability = newPromiseCapability(C);
62862          var resolve = capability.resolve;
62863          var reject = capability.reject;
62864          var result = perform2(function() {
62865            var values = [];
62866            var index2 = 0;
62867            var remaining = 1;
62868            forOf(iterable, false, function(promise) {
62869              var $index = index2++;
62870              var alreadyCalled = false;
62871              values.push(void 0);
62872              remaining++;
62873              C.resolve(promise).then(function(value) {
62874                if (alreadyCalled) return;
62875                alreadyCalled = true;
62876                values[$index] = value;
62877                --remaining || resolve(values);
62878              }, reject);
62879            });
62880            --remaining || resolve(values);
62881          });
62882          if (result.e) reject(result.v);
62883          return capability.promise;
62884        },
62885        // 25.4.4.4 Promise.race(iterable)
62886        race: function race(iterable) {
62887          var C = this;
62888          var capability = newPromiseCapability(C);
62889          var reject = capability.reject;
62890          var result = perform2(function() {
62891            forOf(iterable, false, function(promise) {
62892              C.resolve(promise).then(capability.resolve, reject);
62893            });
62894          });
62895          if (result.e) reject(result.v);
62896          return capability.promise;
62897        }
62898      });
62899    }
62900  });
62901
62902  
vendor: 509 bytes, lines 62902-62914
62902// node_modules/babel-polyfill/node_modules/core-js/modules/_validate-collection.js
62903  var require_validate_collection = __commonJS({
62904    "node_modules/babel-polyfill/node_modules/core-js/modules/_validate-collection.js"(exports, module) {
62905      init_esbuild_shims();
62906      var isObject2 = require_is_object();
62907      module.exports = function(it, TYPE) {
62908        if (!isObject2(it) || it._t !== TYPE) throw TypeError("Incompatible receiver, " + TYPE + " required!");
62909        return it;
62910      };
62911    }
62912  });
62913
62914  
vendor: 5,351 bytes, lines 62914-63057
62914// node_modules/babel-polyfill/node_modules/core-js/modules/_collection-strong.js
62915  var require_collection_strong = __commonJS({
62916    "node_modules/babel-polyfill/node_modules/core-js/modules/_collection-strong.js"(exports, module) {
62917      "use strict";
62918      init_esbuild_shims();
62919      var dP = require_object_dp().f;
62920      var create2 = require_object_create();
62921      var redefineAll = require_redefine_all();
62922      var ctx = require_ctx();
62923      var anInstance = require_an_instance();
62924      var forOf = require_for_of();
62925      var $iterDefine = require_iter_define();
62926      var step = require_iter_step();
62927      var setSpecies = require_set_species();
62928      var DESCRIPTORS = require_descriptors();
62929      var fastKey = require_meta().fastKey;
62930      var validate = require_validate_collection();
62931      var SIZE = DESCRIPTORS ? "_s" : "size";
62932      var getEntry = function(that, key) {
62933        var index2 = fastKey(key);
62934        var entry;
62935        if (index2 !== "F") return that._i[index2];
62936        for (entry = that._f; entry; entry = entry.n) {
62937          if (entry.k == key) return entry;
62938        }
62939      };
62940      module.exports = {
62941        getConstructor: function(wrapper, NAME, IS_MAP, ADDER) {
62942          var C = wrapper(function(that, iterable) {
62943            anInstance(that, C, NAME, "_i");
62944            that._t = NAME;
62945            that._i = create2(null);
62946            that._f = void 0;
62947            that._l = void 0;
62948            that[SIZE] = 0;
62949            if (iterable != void 0) forOf(iterable, IS_MAP, that[ADDER], that);
62950          });
62951          redefineAll(C.prototype, {
62952            // 23.1.3.1 Map.prototype.clear()
62953            // 23.2.3.2 Set.prototype.clear()
62954            clear: function clear() {
62955              for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {
62956                entry.r = true;
62957                if (entry.p) entry.p = entry.p.n = void 0;
62958                delete data[entry.i];
62959              }
62960              that._f = that._l = void 0;
62961              that[SIZE] = 0;
62962            },
62963            // 23.1.3.3 Map.prototype.delete(key)
62964            // 23.2.3.4 Set.prototype.delete(value)
62965            "delete": function(key) {
62966              var that = validate(this, NAME);
62967              var entry = getEntry(that, key);
62968              if (entry) {
62969                var next2 = entry.n;
62970                var prev2 = entry.p;
62971                delete that._i[entry.i];
62972                entry.r = true;
62973                if (prev2) prev2.n = next2;
62974                if (next2) next2.p = prev2;
62975                if (that._f == entry) that._f = next2;
62976                if (that._l == entry) that._l = prev2;
62977                that[SIZE]--;
62978              }
62979              return !!entry;
62980            },
62981            // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)
62982            // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)
62983            forEach: function forEach2(callbackfn) {
62984              validate(this, NAME);
62985              var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : void 0, 3);
62986              var entry;
62987              while (entry = entry ? entry.n : this._f) {
62988                f(entry.v, entry.k, this);
62989                while (entry && entry.r) entry = entry.p;
62990              }
62991            },
62992            // 23.1.3.7 Map.prototype.has(key)
62993            // 23.2.3.7 Set.prototype.has(value)
62994            has: function has(key) {
62995              return !!getEntry(validate(this, NAME), key);
62996            }
62997          });
62998          if (DESCRIPTORS) dP(C.prototype, "size", {
62999            get: function() {
63000              return validate(this, NAME)[SIZE];
63001            }
63002          });
63003          return C;
63004        },
63005        def: function(that, key, value) {
63006          var entry = getEntry(that, key);
63007          var prev2, index2;
63008          if (entry) {
63009            entry.v = value;
63010          } else {
63011            that._l = entry = {
63012              i: index2 = fastKey(key, true),
63013              // <- index
63014              k: key,
63015              // <- key
63016              v: value,
63017              // <- value
63018              p: prev2 = that._l,
63019              // <- previous entry
63020              n: void 0,
63021              // <- next entry
63022              r: false
63023              // <- removed
63024            };
63025            if (!that._f) that._f = entry;
63026            if (prev2) prev2.n = entry;
63027            that[SIZE]++;
63028            if (index2 !== "F") that._i[index2] = entry;
63029          }
63030          return that;
63031        },
63032        getEntry,
63033        setStrong: function(C, NAME, IS_MAP) {
63034          $iterDefine(C, NAME, function(iterated, kind) {
63035            this._t = validate(iterated, NAME);
63036            this._k = kind;
63037            this._l = void 0;
63038          }, function() {
63039            var that = this;
63040            var kind = that._k;
63041            var entry = that._l;
63042            while (entry && entry.r) entry = entry.p;
63043            if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {
63044              that._t = void 0;
63045              return step(1);
63046            }
63047            if (kind == "keys") return step(0, entry.k);
63048            if (kind == "values") return step(0, entry.v);
63049            return step(0, [entry.k, entry.v]);
63050          }, IS_MAP ? "entries" : "values", !IS_MAP, true);
63051          setSpecies(NAME);
63052        }
63053      };
63054    }
63055  });
63056
63057  
vendor: 3,603 bytes, lines 63057-63148
63057// node_modules/babel-polyfill/node_modules/core-js/modules/_collection.js
63058  var require_collection = __commonJS({
63059    "node_modules/babel-polyfill/node_modules/core-js/modules/_collection.js"(exports, module) {
63060      "use strict";
63061      init_esbuild_shims();
63062      var global2 = require_global();
63063      var $export = require_export();
63064      var redefine = require_redefine();
63065      var redefineAll = require_redefine_all();
63066      var meta = require_meta();
63067      var forOf = require_for_of();
63068      var anInstance = require_an_instance();
63069      var isObject2 = require_is_object();
63070      var fails = require_fails();
63071      var $iterDetect = require_iter_detect();
63072      var setToStringTag = require_set_to_string_tag();
63073      var inheritIfRequired = require_inherit_if_required();
63074      module.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {
63075        var Base = global2[NAME];
63076        var C = Base;
63077        var ADDER = IS_MAP ? "set" : "add";
63078        var proto = C && C.prototype;
63079        var O = {};
63080        var fixMethod = function(KEY) {
63081          var fn = proto[KEY];
63082          redefine(
63083            proto,
63084            KEY,
63085            KEY == "delete" ? function(a) {
63086              return IS_WEAK && !isObject2(a) ? false : fn.call(this, a === 0 ? 0 : a);
63087            } : KEY == "has" ? function has(a) {
63088              return IS_WEAK && !isObject2(a) ? false : fn.call(this, a === 0 ? 0 : a);
63089            } : KEY == "get" ? function get(a) {
63090              return IS_WEAK && !isObject2(a) ? void 0 : fn.call(this, a === 0 ? 0 : a);
63091            } : KEY == "add" ? function add(a) {
63092              fn.call(this, a === 0 ? 0 : a);
63093              return this;
63094            } : function set(a, b) {
63095              fn.call(this, a === 0 ? 0 : a, b);
63096              return this;
63097            }
63098          );
63099        };
63100        if (typeof C != "function" || !(IS_WEAK || proto.forEach && !fails(function() {
63101          new C().entries().next();
63102        }))) {
63103          C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);
63104          redefineAll(C.prototype, methods);
63105          meta.NEED = true;
63106        } else {
63107          var instance = new C();
63108          var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;
63109          var THROWS_ON_PRIMITIVES = fails(function() {
63110            instance.has(1);
63111          });
63112          var ACCEPT_ITERABLES = $iterDetect(function(iter) {
63113            new C(iter);
63114          });
63115          var BUGGY_ZERO = !IS_WEAK && fails(function() {
63116            var $instance = new C();
63117            var index2 = 5;
63118            while (index2--) $instance[ADDER](index2, index2);
63119            return !$instance.has(-0);
63120          });
63121          if (!ACCEPT_ITERABLES) {
63122            C = wrapper(function(target, iterable) {
63123              anInstance(target, C, NAME);
63124              var that = inheritIfRequired(new Base(), target, C);
63125              if (iterable != void 0) forOf(iterable, IS_MAP, that[ADDER], that);
63126              return that;
63127            });
63128            C.prototype = proto;
63129            proto.constructor = C;
63130          }
63131          if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {
63132            fixMethod("delete");
63133            fixMethod("has");
63134            IS_MAP && fixMethod("get");
63135          }
63136          if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);
63137          if (IS_WEAK && proto.clear) delete proto.clear;
63138        }
63139        setToStringTag(C, NAME);
63140        O[NAME] = C;
63141        $export($export.G + $export.W + $export.F * (C != Base), O);
63142        if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);
63143        return C;
63144      };
63145    }
63146  });
63147
63148  
vendor: 970 bytes, lines 63148-63174
63148// node_modules/babel-polyfill/node_modules/core-js/modules/es6.map.js
63149  var require_es6_map = __commonJS({
63150    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.map.js"(exports, module) {
63151      "use strict";
63152      init_esbuild_shims();
63153      var strong = require_collection_strong();
63154      var validate = require_validate_collection();
63155      var MAP = "Map";
63156      module.exports = require_collection()(MAP, function(get) {
63157        return function Map2() {
63158          return get(this, arguments.length > 0 ? arguments[0] : void 0);
63159        };
63160      }, {
63161        // 23.1.3.6 Map.prototype.get(key)
63162        get: function get(key) {
63163          var entry = strong.getEntry(validate(this, MAP), key);
63164          return entry && entry.v;
63165        },
63166        // 23.1.3.9 Map.prototype.set(key, value)
63167        set: function set(key, value) {
63168          return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);
63169        }
63170      }, strong, true);
63171    }
63172  });
63173
63174  
vendor: 779 bytes, lines 63174-63195
63174// node_modules/babel-polyfill/node_modules/core-js/modules/es6.set.js
63175  var require_es6_set = __commonJS({
63176    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.set.js"(exports, module) {
63177      "use strict";
63178      init_esbuild_shims();
63179      var strong = require_collection_strong();
63180      var validate = require_validate_collection();
63181      var SET = "Set";
63182      module.exports = require_collection()(SET, function(get) {
63183        return function Set2() {
63184          return get(this, arguments.length > 0 ? arguments[0] : void 0);
63185        };
63186      }, {
63187        // 23.2.3.1 Set.prototype.add(value)
63188        add: function add(value) {
63189          return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);
63190        }
63191      }, strong);
63192    }
63193  });
63194
63195  
vendor: 3,376 bytes, lines 63195-63284
63195// node_modules/babel-polyfill/node_modules/core-js/modules/_collection-weak.js
63196  var require_collection_weak = __commonJS({
63197    "node_modules/babel-polyfill/node_modules/core-js/modules/_collection-weak.js"(exports, module) {
63198      "use strict";
63199      init_esbuild_shims();
63200      var redefineAll = require_redefine_all();
63201      var getWeak = require_meta().getWeak;
63202      var anObject = require_an_object();
63203      var isObject2 = require_is_object();
63204      var anInstance = require_an_instance();
63205      var forOf = require_for_of();
63206      var createArrayMethod = require_array_methods();
63207      var $has = require_has2();
63208      var validate = require_validate_collection();
63209      var arrayFind = createArrayMethod(5);
63210      var arrayFindIndex = createArrayMethod(6);
63211      var id = 0;
63212      var uncaughtFrozenStore = function(that) {
63213        return that._l || (that._l = new UncaughtFrozenStore());
63214      };
63215      var UncaughtFrozenStore = function() {
63216        this.a = [];
63217      };
63218      var findUncaughtFrozen = function(store, key) {
63219        return arrayFind(store.a, function(it) {
63220          return it[0] === key;
63221        });
63222      };
63223      UncaughtFrozenStore.prototype = {
63224        get: function(key) {
63225          var entry = findUncaughtFrozen(this, key);
63226          if (entry) return entry[1];
63227        },
63228        has: function(key) {
63229          return !!findUncaughtFrozen(this, key);
63230        },
63231        set: function(key, value) {
63232          var entry = findUncaughtFrozen(this, key);
63233          if (entry) entry[1] = value;
63234          else this.a.push([key, value]);
63235        },
63236        "delete": function(key) {
63237          var index2 = arrayFindIndex(this.a, function(it) {
63238            return it[0] === key;
63239          });
63240          if (~index2) this.a.splice(index2, 1);
63241          return !!~index2;
63242        }
63243      };
63244      module.exports = {
63245        getConstructor: function(wrapper, NAME, IS_MAP, ADDER) {
63246          var C = wrapper(function(that, iterable) {
63247            anInstance(that, C, NAME, "_i");
63248            that._t = NAME;
63249            that._i = id++;
63250            that._l = void 0;
63251            if (iterable != void 0) forOf(iterable, IS_MAP, that[ADDER], that);
63252          });
63253          redefineAll(C.prototype, {
63254            // 23.3.3.2 WeakMap.prototype.delete(key)
63255            // 23.4.3.3 WeakSet.prototype.delete(value)
63256            "delete": function(key) {
63257              if (!isObject2(key)) return false;
63258              var data = getWeak(key);
63259              if (data === true) return uncaughtFrozenStore(validate(this, NAME))["delete"](key);
63260              return data && $has(data, this._i) && delete data[this._i];
63261            },
63262            // 23.3.3.4 WeakMap.prototype.has(key)
63263            // 23.4.3.4 WeakSet.prototype.has(value)
63264            has: function has(key) {
63265              if (!isObject2(key)) return false;
63266              var data = getWeak(key);
63267              if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key);
63268              return data && $has(data, this._i);
63269            }
63270          });
63271          return C;
63272        },
63273        def: function(that, key, value) {
63274          var data = getWeak(anObject(key), true);
63275          if (data === true) uncaughtFrozenStore(that).set(key, value);
63276          else data[that._i] = value;
63277          return that;
63278        },
63279        ufstore: uncaughtFrozenStore
63280      };
63281    }
63282  });
63283
63284  
vendor: 2,389 bytes, lines 63284-63344
63284// node_modules/babel-polyfill/node_modules/core-js/modules/es6.weak-map.js
63285  var require_es6_weak_map = __commonJS({
63286    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.weak-map.js"(exports, module) {
63287      "use strict";
63288      init_esbuild_shims();
63289      var global2 = require_global();
63290      var each2 = require_array_methods()(0);
63291      var redefine = require_redefine();
63292      var meta = require_meta();
63293      var assign3 = require_object_assign2();
63294      var weak = require_collection_weak();
63295      var isObject2 = require_is_object();
63296      var validate = require_validate_collection();
63297      var NATIVE_WEAK_MAP = require_validate_collection();
63298      var IS_IE11 = !global2.ActiveXObject && "ActiveXObject" in global2;
63299      var WEAK_MAP = "WeakMap";
63300      var getWeak = meta.getWeak;
63301      var isExtensible = Object.isExtensible;
63302      var uncaughtFrozenStore = weak.ufstore;
63303      var InternalMap;
63304      var wrapper = function(get) {
63305        return function WeakMap2() {
63306          return get(this, arguments.length > 0 ? arguments[0] : void 0);
63307        };
63308      };
63309      var methods = {
63310        // 23.3.3.3 WeakMap.prototype.get(key)
63311        get: function get(key) {
63312          if (isObject2(key)) {
63313            var data = getWeak(key);
63314            if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key);
63315            return data ? data[this._i] : void 0;
63316          }
63317        },
63318        // 23.3.3.5 WeakMap.prototype.set(key, value)
63319        set: function set(key, value) {
63320          return weak.def(validate(this, WEAK_MAP), key, value);
63321        }
63322      };
63323      var $WeakMap = module.exports = require_collection()(WEAK_MAP, wrapper, methods, weak, true, true);
63324      if (NATIVE_WEAK_MAP && IS_IE11) {
63325        InternalMap = weak.getConstructor(wrapper, WEAK_MAP);
63326        assign3(InternalMap.prototype, methods);
63327        meta.NEED = true;
63328        each2(["delete", "has", "get", "set"], function(key) {
63329          var proto = $WeakMap.prototype;
63330          var method = proto[key];
63331          redefine(proto, key, function(a, b) {
63332            if (isObject2(a) && !isExtensible(a)) {
63333              if (!this._f) this._f = new InternalMap();
63334              var result = this._f[key](a, b);
63335              return key == "set" ? this : result;
63336            }
63337            return method.call(this, a, b);
63338          });
63339        });
63340      }
63341    }
63342  });
63343
63344  
vendor: 767 bytes, lines 63344-63365
63344// node_modules/babel-polyfill/node_modules/core-js/modules/es6.weak-set.js
63345  var require_es6_weak_set = __commonJS({
63346    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.weak-set.js"() {
63347      "use strict";
63348      init_esbuild_shims();
63349      var weak = require_collection_weak();
63350      var validate = require_validate_collection();
63351      var WEAK_SET = "WeakSet";
63352      require_collection()(WEAK_SET, function(get) {
63353        return function WeakSet2() {
63354          return get(this, arguments.length > 0 ? arguments[0] : void 0);
63355        };
63356      }, {
63357        // 23.4.3.1 WeakSet.prototype.add(value)
63358        add: function add(value) {
63359          return weak.def(validate(this, WEAK_SET), value, true);
63360        }
63361      }, weak, false, true);
63362    }
63363  });
63364
63365  
vendor: 1,015 bytes, lines 63365-63395
63365// node_modules/babel-polyfill/node_modules/core-js/modules/_typed.js
63366  var require_typed = __commonJS({
63367    "node_modules/babel-polyfill/node_modules/core-js/modules/_typed.js"(exports, module) {
63368      init_esbuild_shims();
63369      var global2 = require_global();
63370      var hide2 = require_hide();
63371      var uid = require_uid();
63372      var TYPED = uid("typed_array");
63373      var VIEW = uid("view");
63374      var ABV = !!(global2.ArrayBuffer && global2.DataView);
63375      var CONSTR = ABV;
63376      var i2 = 0;
63377      var l = 9;
63378      var Typed;
63379      var TypedArrayConstructors = "Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");
63380      while (i2 < l) {
63381        if (Typed = global2[TypedArrayConstructors[i2++]]) {
63382          hide2(Typed.prototype, TYPED, true);
63383          hide2(Typed.prototype, VIEW, true);
63384        } else CONSTR = false;
63385      }
63386      module.exports = {
63387        ABV,
63388        CONSTR,
63389        TYPED,
63390        VIEW
63391      };
63392    }
63393  });
63394
63395  
vendor: 586 bytes, lines 63395-63411
63395// node_modules/babel-polyfill/node_modules/core-js/modules/_to-index.js
63396  var require_to_index = __commonJS({
63397    "node_modules/babel-polyfill/node_modules/core-js/modules/_to-index.js"(exports, module) {
63398      init_esbuild_shims();
63399      var toInteger = require_to_integer();
63400      var toLength = require_to_length();
63401      module.exports = function(it) {
63402        if (it === void 0) return 0;
63403        var number = toInteger(it);
63404        var length2 = toLength(number);
63405        if (number !== length2) throw RangeError("Wrong length!");
63406        return length2;
63407      };
63408    }
63409  });
63410
63411  
vendor: 10,818 bytes, lines 63411-63690
63411// node_modules/babel-polyfill/node_modules/core-js/modules/_typed-buffer.js
63412  var require_typed_buffer = __commonJS({
63413    "node_modules/babel-polyfill/node_modules/core-js/modules/_typed-buffer.js"(exports) {
63414      "use strict";
63415      init_esbuild_shims();
63416      var global2 = require_global();
63417      var DESCRIPTORS = require_descriptors();
63418      var LIBRARY = require_library();
63419      var $typed = require_typed();
63420      var hide2 = require_hide();
63421      var redefineAll = require_redefine_all();
63422      var fails = require_fails();
63423      var anInstance = require_an_instance();
63424      var toInteger = require_to_integer();
63425      var toLength = require_to_length();
63426      var toIndex = require_to_index();
63427      var gOPN = require_object_gopn().f;
63428      var dP = require_object_dp().f;
63429      var arrayFill = require_array_fill();
63430      var setToStringTag = require_set_to_string_tag();
63431      var ARRAY_BUFFER = "ArrayBuffer";
63432      var DATA_VIEW = "DataView";
63433      var PROTOTYPE = "prototype";
63434      var WRONG_LENGTH = "Wrong length!";
63435      var WRONG_INDEX = "Wrong index!";
63436      var $ArrayBuffer = global2[ARRAY_BUFFER];
63437      var $DataView = global2[DATA_VIEW];
63438      var Math2 = global2.Math;
63439      var RangeError2 = global2.RangeError;
63440      var Infinity2 = global2.Infinity;
63441      var BaseBuffer = $ArrayBuffer;
63442      var abs2 = Math2.abs;
63443      var pow = Math2.pow;
63444      var floor2 = Math2.floor;
63445      var log2 = Math2.log;
63446      var LN2 = Math2.LN2;
63447      var BUFFER = "buffer";
63448      var BYTE_LENGTH = "byteLength";
63449      var BYTE_OFFSET = "byteOffset";
63450      var $BUFFER = DESCRIPTORS ? "_b" : BUFFER;
63451      var $LENGTH = DESCRIPTORS ? "_l" : BYTE_LENGTH;
63452      var $OFFSET = DESCRIPTORS ? "_o" : BYTE_OFFSET;
63453      function packIEEE754(value, mLen, nBytes) {
63454        var buffer = new Array(nBytes);
63455        var eLen = nBytes * 8 - mLen - 1;
63456        var eMax = (1 << eLen) - 1;
63457        var eBias = eMax >> 1;
63458        var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0;
63459        var i2 = 0;
63460        var s2 = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0;
63461        var e, m, c;
63462        value = abs2(value);
63463        if (value != value || value === Infinity2) {
63464          m = value != value ? 1 : 0;
63465          e = eMax;
63466        } else {
63467          e = floor2(log2(value) / LN2);
63468          if (value * (c = pow(2, -e)) < 1) {
63469            e--;
63470            c *= 2;
63471          }
63472          if (e + eBias >= 1) {
63473            value += rt / c;
63474          } else {
63475            value += rt * pow(2, 1 - eBias);
63476          }
63477          if (value * c >= 2) {
63478            e++;
63479            c /= 2;
63480          }
63481          if (e + eBias >= eMax) {
63482            m = 0;
63483            e = eMax;
63484          } else if (e + eBias >= 1) {
63485            m = (value * c - 1) * pow(2, mLen);
63486            e = e + eBias;
63487          } else {
63488            m = value * pow(2, eBias - 1) * pow(2, mLen);
63489            e = 0;
63490          }
63491        }
63492        for (; mLen >= 8; buffer[i2++] = m & 255, m /= 256, mLen -= 8) ;
63493        e = e << mLen | m;
63494        eLen += mLen;
63495        for (; eLen > 0; buffer[i2++] = e & 255, e /= 256, eLen -= 8) ;
63496        buffer[--i2] |= s2 * 128;
63497        return buffer;
63498      }
63499      function unpackIEEE754(buffer, mLen, nBytes) {
63500        var eLen = nBytes * 8 - mLen - 1;
63501        var eMax = (1 << eLen) - 1;
63502        var eBias = eMax >> 1;
63503        var nBits = eLen - 7;
63504        var i2 = nBytes - 1;
63505        var s2 = buffer[i2--];
63506        var e = s2 & 127;
63507        var m;
63508        s2 >>= 7;
63509        for (; nBits > 0; e = e * 256 + buffer[i2], i2--, nBits -= 8) ;
63510        m = e & (1 << -nBits) - 1;
63511        e >>= -nBits;
63512        nBits += mLen;
63513        for (; nBits > 0; m = m * 256 + buffer[i2], i2--, nBits -= 8) ;
63514        if (e === 0) {
63515          e = 1 - eBias;
63516        } else if (e === eMax) {
63517          return m ? NaN : s2 ? -Infinity2 : Infinity2;
63518        } else {
63519          m = m + pow(2, mLen);
63520          e = e - eBias;
63521        }
63522        return (s2 ? -1 : 1) * m * pow(2, e - mLen);
63523      }
63524      function unpackI32(bytes) {
63525        return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0];
63526      }
63527      function packI8(it) {
63528        return [it & 255];
63529      }
63530      function packI16(it) {
63531        return [it & 255, it >> 8 & 255];
63532      }
63533      function packI32(it) {
63534        return [it & 255, it >> 8 & 255, it >> 16 & 255, it >> 24 & 255];
63535      }
63536      function packF64(it) {
63537        return packIEEE754(it, 52, 8);
63538      }
63539      function packF32(it) {
63540        return packIEEE754(it, 23, 4);
63541      }
63542      function addGetter(C, key2, internal) {
63543        dP(C[PROTOTYPE], key2, { get: function() {
63544          return this[internal];
63545        } });
63546      }
63547      function get(view2, bytes, index2, isLittleEndian) {
63548        var numIndex = +index2;
63549        var intIndex = toIndex(numIndex);
63550        if (intIndex + bytes > view2[$LENGTH]) throw RangeError2(WRONG_INDEX);
63551        var store = view2[$BUFFER]._b;
63552        var start = intIndex + view2[$OFFSET];
63553        var pack = store.slice(start, start + bytes);
63554        return isLittleEndian ? pack : pack.reverse();
63555      }
63556      function set(view2, bytes, index2, conversion, value, isLittleEndian) {
63557        var numIndex = +index2;
63558        var intIndex = toIndex(numIndex);
63559        if (intIndex + bytes > view2[$LENGTH]) throw RangeError2(WRONG_INDEX);
63560        var store = view2[$BUFFER]._b;
63561        var start = intIndex + view2[$OFFSET];
63562        var pack = conversion(+value);
63563        for (var i2 = 0; i2 < bytes; i2++) store[start + i2] = pack[isLittleEndian ? i2 : bytes - i2 - 1];
63564      }
63565      if (!$typed.ABV) {
63566        $ArrayBuffer = function ArrayBuffer2(length2) {
63567          anInstance(this, $ArrayBuffer, ARRAY_BUFFER);
63568          var byteLength = toIndex(length2);
63569          this._b = arrayFill.call(new Array(byteLength), 0);
63570          this[$LENGTH] = byteLength;
63571        };
63572        $DataView = function DataView(buffer, byteOffset, byteLength) {
63573          anInstance(this, $DataView, DATA_VIEW);
63574          anInstance(buffer, $ArrayBuffer, DATA_VIEW);
63575          var bufferLength = buffer[$LENGTH];
63576          var offset2 = toInteger(byteOffset);
63577          if (offset2 < 0 || offset2 > bufferLength) throw RangeError2("Wrong offset!");
63578          byteLength = byteLength === void 0 ? bufferLength - offset2 : toLength(byteLength);
63579          if (offset2 + byteLength > bufferLength) throw RangeError2(WRONG_LENGTH);
63580          this[$BUFFER] = buffer;
63581          this[$OFFSET] = offset2;
63582          this[$LENGTH] = byteLength;
63583        };
63584        if (DESCRIPTORS) {
63585          addGetter($ArrayBuffer, BYTE_LENGTH, "_l");
63586          addGetter($DataView, BUFFER, "_b");
63587          addGetter($DataView, BYTE_LENGTH, "_l");
63588          addGetter($DataView, BYTE_OFFSET, "_o");
63589        }
63590        redefineAll($DataView[PROTOTYPE], {
63591          getInt8: function getInt8(byteOffset) {
63592            return get(this, 1, byteOffset)[0] << 24 >> 24;
63593          },
63594          getUint8: function getUint8(byteOffset) {
63595            return get(this, 1, byteOffset)[0];
63596          },
63597          getInt16: function getInt16(byteOffset) {
63598            var bytes = get(this, 2, byteOffset, arguments[1]);
63599            return (bytes[1] << 8 | bytes[0]) << 16 >> 16;
63600          },
63601          getUint16: function getUint16(byteOffset) {
63602            var bytes = get(this, 2, byteOffset, arguments[1]);
63603            return bytes[1] << 8 | bytes[0];
63604          },
63605          getInt32: function getInt32(byteOffset) {
63606            return unpackI32(get(this, 4, byteOffset, arguments[1]));
63607          },
63608          getUint32: function getUint32(byteOffset) {
63609            return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0;
63610          },
63611          getFloat32: function getFloat32(byteOffset) {
63612            return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4);
63613          },
63614          getFloat64: function getFloat64(byteOffset) {
63615            return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8);
63616          },
63617          setInt8: function setInt8(byteOffset, value) {
63618            set(this, 1, byteOffset, packI8, value);
63619          },
63620          setUint8: function setUint8(byteOffset, value) {
63621            set(this, 1, byteOffset, packI8, value);
63622          },
63623          setInt16: function setInt16(byteOffset, value) {
63624            set(this, 2, byteOffset, packI16, value, arguments[2]);
63625          },
63626          setUint16: function setUint16(byteOffset, value) {
63627            set(this, 2, byteOffset, packI16, value, arguments[2]);
63628          },
63629          setInt32: function setInt32(byteOffset, value) {
63630            set(this, 4, byteOffset, packI32, value, arguments[2]);
63631          },
63632          setUint32: function setUint32(byteOffset, value) {
63633            set(this, 4, byteOffset, packI32, value, arguments[2]);
63634          },
63635          setFloat32: function setFloat32(byteOffset, value) {
63636            set(this, 4, byteOffset, packF32, value, arguments[2]);
63637          },
63638          setFloat64: function setFloat64(byteOffset, value) {
63639            set(this, 8, byteOffset, packF64, value, arguments[2]);
63640          }
63641        });
63642      } else {
63643        if (!fails(function() {
63644          $ArrayBuffer(1);
63645        }) || !fails(function() {
63646          new $ArrayBuffer(-1);
63647        }) || fails(function() {
63648          new $ArrayBuffer();
63649          new $ArrayBuffer(1.5);
63650          new $ArrayBuffer(NaN);
63651          return $ArrayBuffer.name != ARRAY_BUFFER;
63652        })) {
63653          $ArrayBuffer = function ArrayBuffer2(length2) {
63654            anInstance(this, $ArrayBuffer);
63655            return new BaseBuffer(toIndex(length2));
63656          };
63657          ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE];
63658          for (keys = gOPN(BaseBuffer), j2 = 0; keys.length > j2; ) {
63659            if (!((key = keys[j2++]) in $ArrayBuffer)) hide2($ArrayBuffer, key, BaseBuffer[key]);
63660          }
63661          if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer;
63662        }
63663        view = new $DataView(new $ArrayBuffer(2));
63664        $setInt8 = $DataView[PROTOTYPE].setInt8;
63665        view.setInt8(0, 2147483648);
63666        view.setInt8(1, 2147483649);
63667        if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], {
63668          setInt8: function setInt8(byteOffset, value) {
63669            $setInt8.call(this, byteOffset, value << 24 >> 24);
63670          },
63671          setUint8: function setUint8(byteOffset, value) {
63672            $setInt8.call(this, byteOffset, value << 24 >> 24);
63673          }
63674        }, true);
63675      }
63676      var ArrayBufferProto;
63677      var keys;
63678      var j2;
63679      var key;
63680      var view;
63681      var $setInt8;
63682      setToStringTag($ArrayBuffer, ARRAY_BUFFER);
63683      setToStringTag($DataView, DATA_VIEW);
63684      hide2($DataView[PROTOTYPE], $typed.VIEW, true);
63685      exports[ARRAY_BUFFER] = $ArrayBuffer;
63686      exports[DATA_VIEW] = $DataView;
63687    }
63688  });
63689
63690  
vendor: 2,271 bytes, lines 63690-63740
63690// node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.array-buffer.js
63691  var require_es6_typed_array_buffer = __commonJS({
63692    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.array-buffer.js"() {
63693      "use strict";
63694      init_esbuild_shims();
63695      var $export = require_export();
63696      var $typed = require_typed();
63697      var buffer = require_typed_buffer();
63698      var anObject = require_an_object();
63699      var toAbsoluteIndex = require_to_absolute_index();
63700      var toLength = require_to_length();
63701      var isObject2 = require_is_object();
63702      var ArrayBuffer2 = require_global().ArrayBuffer;
63703      var speciesConstructor = require_species_constructor();
63704      var $ArrayBuffer = buffer.ArrayBuffer;
63705      var $DataView = buffer.DataView;
63706      var $isView = $typed.ABV && ArrayBuffer2.isView;
63707      var $slice = $ArrayBuffer.prototype.slice;
63708      var VIEW = $typed.VIEW;
63709      var ARRAY_BUFFER = "ArrayBuffer";
63710      $export($export.G + $export.W + $export.F * (ArrayBuffer2 !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer });
63711      $export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {
63712        // 24.1.3.1 ArrayBuffer.isView(arg)
63713        isView: function isView(it) {
63714          return $isView && $isView(it) || isObject2(it) && VIEW in it;
63715        }
63716      });
63717      $export($export.P + $export.U + $export.F * require_fails()(function() {
63718        return !new $ArrayBuffer(2).slice(1, void 0).byteLength;
63719      }), ARRAY_BUFFER, {
63720        // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)
63721        slice: function slice2(start, end2) {
63722          if ($slice !== void 0 && end2 === void 0) return $slice.call(anObject(this), start);
63723          var len = anObject(this).byteLength;
63724          var first = toAbsoluteIndex(start, len);
63725          var fin = toAbsoluteIndex(end2 === void 0 ? len : end2, len);
63726          var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(fin - first));
63727          var viewS = new $DataView(this);
63728          var viewT = new $DataView(result);
63729          var index2 = 0;
63730          while (first < fin) {
63731            viewT.setUint8(index2++, viewS.getUint8(first++));
63732          }
63733          return result;
63734        }
63735      });
63736      require_set_species()(ARRAY_BUFFER);
63737    }
63738  });
63739
63740  
vendor: 437 bytes, lines 63740-63751
63740// node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.data-view.js
63741  var require_es6_typed_data_view = __commonJS({
63742    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.data-view.js"() {
63743      init_esbuild_shims();
63744      var $export = require_export();
63745      $export($export.G + $export.W + $export.F * !require_typed().ABV, {
63746        DataView: require_typed_buffer().DataView
63747      });
63748    }
63749  });
63750
63751  
vendor: 21,786 bytes, lines 63751-64295
63751// node_modules/babel-polyfill/node_modules/core-js/modules/_typed-array.js
63752  var require_typed_array = __commonJS({
63753    "node_modules/babel-polyfill/node_modules/core-js/modules/_typed-array.js"(exports, module) {
63754      "use strict";
63755      init_esbuild_shims();
63756      if (require_descriptors()) {
63757        LIBRARY = require_library();
63758        global2 = require_global();
63759        fails = require_fails();
63760        $export = require_export();
63761        $typed = require_typed();
63762        $buffer = require_typed_buffer();
63763        ctx = require_ctx();
63764        anInstance = require_an_instance();
63765        propertyDesc = require_property_desc();
63766        hide2 = require_hide();
63767        redefineAll = require_redefine_all();
63768        toInteger = require_to_integer();
63769        toLength = require_to_length();
63770        toIndex = require_to_index();
63771        toAbsoluteIndex = require_to_absolute_index();
63772        toPrimitive2 = require_to_primitive();
63773        has = require_has2();
63774        classof = require_classof();
63775        isObject2 = require_is_object();
63776        toObject = require_to_object();
63777        isArrayIter = require_is_array_iter();
63778        create2 = require_object_create();
63779        getPrototypeOf2 = require_object_gpo();
63780        gOPN = require_object_gopn().f;
63781        getIterFn = require_core_get_iterator_method();
63782        uid = require_uid();
63783        wks = require_wks();
63784        createArrayMethod = require_array_methods();
63785        createArrayIncludes = require_array_includes();
63786        speciesConstructor = require_species_constructor();
63787        ArrayIterators = require_es6_array_iterator();
63788        Iterators = require_iterators();
63789        $iterDetect = require_iter_detect();
63790        setSpecies = require_set_species();
63791        arrayFill = require_array_fill();
63792        arrayCopyWithin = require_array_copy_within();
63793        $DP = require_object_dp();
63794        $GOPD = require_object_gopd();
63795        dP = $DP.f;
63796        gOPD = $GOPD.f;
63797        RangeError2 = global2.RangeError;
63798        TypeError2 = global2.TypeError;
63799        Uint8Array2 = global2.Uint8Array;
63800        ARRAY_BUFFER = "ArrayBuffer";
63801        SHARED_BUFFER = "Shared" + ARRAY_BUFFER;
63802        BYTES_PER_ELEMENT = "BYTES_PER_ELEMENT";
63803        PROTOTYPE = "prototype";
63804        ArrayProto = Array[PROTOTYPE];
63805        $ArrayBuffer = $buffer.ArrayBuffer;
63806        $DataView = $buffer.DataView;
63807        arrayForEach = createArrayMethod(0);
63808        arrayFilter = createArrayMethod(2);
63809        arraySome = createArrayMethod(3);
63810        arrayEvery = createArrayMethod(4);
63811        arrayFind = createArrayMethod(5);
63812        arrayFindIndex = createArrayMethod(6);
63813        arrayIncludes = createArrayIncludes(true);
63814        arrayIndexOf = createArrayIncludes(false);
63815        arrayValues = ArrayIterators.values;
63816        arrayKeys = ArrayIterators.keys;
63817        arrayEntries = ArrayIterators.entries;
63818        arrayLastIndexOf = ArrayProto.lastIndexOf;
63819        arrayReduce = ArrayProto.reduce;
63820        arrayReduceRight = ArrayProto.reduceRight;
63821        arrayJoin = ArrayProto.join;
63822        arraySort = ArrayProto.sort;
63823        arraySlice = ArrayProto.slice;
63824        arrayToString = ArrayProto.toString;
63825        arrayToLocaleString = ArrayProto.toLocaleString;
63826        ITERATOR = wks("iterator");
63827        TAG = wks("toStringTag");
63828        TYPED_CONSTRUCTOR = uid("typed_constructor");
63829        DEF_CONSTRUCTOR = uid("def_constructor");
63830        ALL_CONSTRUCTORS = $typed.CONSTR;
63831        TYPED_ARRAY = $typed.TYPED;
63832        VIEW = $typed.VIEW;
63833        WRONG_LENGTH = "Wrong length!";
63834        $map = createArrayMethod(1, function(O, length2) {
63835          return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length2);
63836        });
63837        LITTLE_ENDIAN = fails(function() {
63838          return new Uint8Array2(new Uint16Array([1]).buffer)[0] === 1;
63839        });
63840        FORCED_SET = !!Uint8Array2 && !!Uint8Array2[PROTOTYPE].set && fails(function() {
63841          new Uint8Array2(1).set({});
63842        });
63843        toOffset = function(it, BYTES) {
63844          var offset2 = toInteger(it);
63845          if (offset2 < 0 || offset2 % BYTES) throw RangeError2("Wrong offset!");
63846          return offset2;
63847        };
63848        validate = function(it) {
63849          if (isObject2(it) && TYPED_ARRAY in it) return it;
63850          throw TypeError2(it + " is not a typed array!");
63851        };
63852        allocate = function(C, length2) {
63853          if (!(isObject2(C) && TYPED_CONSTRUCTOR in C)) {
63854            throw TypeError2("It is not a typed array constructor!");
63855          }
63856          return new C(length2);
63857        };
63858        speciesFromList = function(O, list) {
63859          return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list);
63860        };
63861        fromList = function(C, list) {
63862          var index2 = 0;
63863          var length2 = list.length;
63864          var result = allocate(C, length2);
63865          while (length2 > index2) result[index2] = list[index2++];
63866          return result;
63867        };
63868        addGetter = function(it, key, internal) {
63869          dP(it, key, { get: function() {
63870            return this._d[internal];
63871          } });
63872        };
63873        $from = function from2(source) {
63874          var O = toObject(source);
63875          var aLen = arguments.length;
63876          var mapfn = aLen > 1 ? arguments[1] : void 0;
63877          var mapping = mapfn !== void 0;
63878          var iterFn = getIterFn(O);
63879          var i2, length2, values, result, step, iterator2;
63880          if (iterFn != void 0 && !isArrayIter(iterFn)) {
63881            for (iterator2 = iterFn.call(O), values = [], i2 = 0; !(step = iterator2.next()).done; i2++) {
63882              values.push(step.value);
63883            }
63884            O = values;
63885          }
63886          if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2);
63887          for (i2 = 0, length2 = toLength(O.length), result = allocate(this, length2); length2 > i2; i2++) {
63888            result[i2] = mapping ? mapfn(O[i2], i2) : O[i2];
63889          }
63890          return result;
63891        };
63892        $of = function of() {
63893          var index2 = 0;
63894          var length2 = arguments.length;
63895          var result = allocate(this, length2);
63896          while (length2 > index2) result[index2] = arguments[index2++];
63897          return result;
63898        };
63899        TO_LOCALE_BUG = !!Uint8Array2 && fails(function() {
63900          arrayToLocaleString.call(new Uint8Array2(1));
63901        });
63902        $toLocaleString = function toLocaleString() {
63903          return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments);
63904        };
63905        proto = {
63906          copyWithin: function copyWithin(target, start) {
63907            return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : void 0);
63908          },
63909          every: function every(callbackfn) {
63910            return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : void 0);
63911          },
63912          fill: function fill2(value) {
63913            return arrayFill.apply(validate(this), arguments);
63914          },
63915          filter: function filter2(callbackfn) {
63916            return speciesFromList(this, arrayFilter(
63917              validate(this),
63918              callbackfn,
63919              arguments.length > 1 ? arguments[1] : void 0
63920            ));
63921          },
63922          find: function find(predicate) {
63923            return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : void 0);
63924          },
63925          findIndex: function findIndex2(predicate) {
63926            return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : void 0);
63927          },
63928          forEach: function forEach2(callbackfn) {
63929            arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : void 0);
63930          },
63931          indexOf: function indexOf(searchElement) {
63932            return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : void 0);
63933          },
63934          includes: function includes(searchElement) {
63935            return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : void 0);
63936          },
63937          join: function join(separator) {
63938            return arrayJoin.apply(validate(this), arguments);
63939          },
63940          lastIndexOf: function lastIndexOf(searchElement) {
63941            return arrayLastIndexOf.apply(validate(this), arguments);
63942          },
63943          map: function map(mapfn) {
63944            return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : void 0);
63945          },
63946          reduce: function reduce2(callbackfn) {
63947            return arrayReduce.apply(validate(this), arguments);
63948          },
63949          reduceRight: function reduceRight(callbackfn) {
63950            return arrayReduceRight.apply(validate(this), arguments);
63951          },
63952          reverse: function reverse() {
63953            var that = this;
63954            var length2 = validate(that).length;
63955            var middle = Math.floor(length2 / 2);
63956            var index2 = 0;
63957            var value;
63958            while (index2 < middle) {
63959              value = that[index2];
63960              that[index2++] = that[--length2];
63961              that[length2] = value;
63962            }
63963            return that;
63964          },
63965          some: function some(callbackfn) {
63966            return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : void 0);
63967          },
63968          sort: function sort(comparefn) {
63969            return arraySort.call(validate(this), comparefn);
63970          },
63971          subarray: function subarray(begin2, end2) {
63972            var O = validate(this);
63973            var length2 = O.length;
63974            var $begin = toAbsoluteIndex(begin2, length2);
63975            return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))(
63976              O.buffer,
63977              O.byteOffset + $begin * O.BYTES_PER_ELEMENT,
63978              toLength((end2 === void 0 ? length2 : toAbsoluteIndex(end2, length2)) - $begin)
63979            );
63980          }
63981        };
63982        $slice = function slice2(start, end2) {
63983          return speciesFromList(this, arraySlice.call(validate(this), start, end2));
63984        };
63985        $set = function set(arrayLike) {
63986          validate(this);
63987          var offset2 = toOffset(arguments[1], 1);
63988          var length2 = this.length;
63989          var src = toObject(arrayLike);
63990          var len = toLength(src.length);
63991          var index2 = 0;
63992          if (len + offset2 > length2) throw RangeError2(WRONG_LENGTH);
63993          while (index2 < len) this[offset2 + index2] = src[index2++];
63994        };
63995        $iterators = {
63996          entries: function entries() {
63997            return arrayEntries.call(validate(this));
63998          },
63999          keys: function keys() {
64000            return arrayKeys.call(validate(this));
64001          },
64002          values: function values() {
64003            return arrayValues.call(validate(this));
64004          }
64005        };
64006        isTAIndex = function(target, key) {
64007          return isObject2(target) && target[TYPED_ARRAY] && typeof key != "symbol" && key in target && String(+key) == String(key);
64008        };
64009        $getDesc = function getOwnPropertyDescriptor(target, key) {
64010          return isTAIndex(target, key = toPrimitive2(key, true)) ? propertyDesc(2, target[key]) : gOPD(target, key);
64011        };
64012        $setDesc = function defineProperty(target, key, desc) {
64013          if (isTAIndex(target, key = toPrimitive2(key, true)) && isObject2(desc) && has(desc, "value") && !has(desc, "get") && !has(desc, "set") && !desc.configurable && (!has(desc, "writable") || desc.writable) && (!has(desc, "enumerable") || desc.enumerable)) {
64014            target[key] = desc.value;
64015            return target;
64016          }
64017          return dP(target, key, desc);
64018        };
64019        if (!ALL_CONSTRUCTORS) {
64020          $GOPD.f = $getDesc;
64021          $DP.f = $setDesc;
64022        }
64023        $export($export.S + $export.F * !ALL_CONSTRUCTORS, "Object", {
64024          getOwnPropertyDescriptor: $getDesc,
64025          defineProperty: $setDesc
64026        });
64027        if (fails(function() {
64028          arrayToString.call({});
64029        })) {
64030          arrayToString = arrayToLocaleString = function toString3() {
64031            return arrayJoin.call(this);
64032          };
64033        }
64034        $TypedArrayPrototype$ = redefineAll({}, proto);
64035        redefineAll($TypedArrayPrototype$, $iterators);
64036        hide2($TypedArrayPrototype$, ITERATOR, $iterators.values);
64037        redefineAll($TypedArrayPrototype$, {
64038          slice: $slice,
64039          set: $set,
64040          constructor: function() {
64041          },
64042          toString: arrayToString,
64043          toLocaleString: $toLocaleString
64044        });
64045        addGetter($TypedArrayPrototype$, "buffer", "b");
64046        addGetter($TypedArrayPrototype$, "byteOffset", "o");
64047        addGetter($TypedArrayPrototype$, "byteLength", "l");
64048        addGetter($TypedArrayPrototype$, "length", "e");
64049        dP($TypedArrayPrototype$, TAG, {
64050          get: function() {
64051            return this[TYPED_ARRAY];
64052          }
64053        });
64054        module.exports = function(KEY, BYTES, wrapper, CLAMPED) {
64055          CLAMPED = !!CLAMPED;
64056          var NAME = KEY + (CLAMPED ? "Clamped" : "") + "Array";
64057          var GETTER = "get" + KEY;
64058          var SETTER = "set" + KEY;
64059          var TypedArray = global2[NAME];
64060          var Base = TypedArray || {};
64061          var TAC = TypedArray && getPrototypeOf2(TypedArray);
64062          var FORCED = !TypedArray || !$typed.ABV;
64063          var O = {};
64064          var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE];
64065          var getter = function(that, index2) {
64066            var data = that._d;
64067            return data.v[GETTER](index2 * BYTES + data.o, LITTLE_ENDIAN);
64068          };
64069          var setter = function(that, index2, value) {
64070            var data = that._d;
64071            if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 255 ? 255 : value & 255;
64072            data.v[SETTER](index2 * BYTES + data.o, value, LITTLE_ENDIAN);
64073          };
64074          var addElement = function(that, index2) {
64075            dP(that, index2, {
64076              get: function() {
64077                return getter(this, index2);
64078              },
64079              set: function(value) {
64080                return setter(this, index2, value);
64081              },
64082              enumerable: true
64083            });
64084          };
64085          if (FORCED) {
64086            TypedArray = wrapper(function(that, data, $offset, $length) {
64087              anInstance(that, TypedArray, NAME, "_d");
64088              var index2 = 0;
64089              var offset2 = 0;
64090              var buffer, byteLength, length2, klass;
64091              if (!isObject2(data)) {
64092                length2 = toIndex(data);
64093                byteLength = length2 * BYTES;
64094                buffer = new $ArrayBuffer(byteLength);
64095              } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {
64096                buffer = data;
64097                offset2 = toOffset($offset, BYTES);
64098                var $len = data.byteLength;
64099                if ($length === void 0) {
64100                  if ($len % BYTES) throw RangeError2(WRONG_LENGTH);
64101                  byteLength = $len - offset2;
64102                  if (byteLength < 0) throw RangeError2(WRONG_LENGTH);
64103                } else {
64104                  byteLength = toLength($length) * BYTES;
64105                  if (byteLength + offset2 > $len) throw RangeError2(WRONG_LENGTH);
64106                }
64107                length2 = byteLength / BYTES;
64108              } else if (TYPED_ARRAY in data) {
64109                return fromList(TypedArray, data);
64110              } else {
64111                return $from.call(TypedArray, data);
64112              }
64113              hide2(that, "_d", {
64114                b: buffer,
64115                o: offset2,
64116                l: byteLength,
64117                e: length2,
64118                v: new $DataView(buffer)
64119              });
64120              while (index2 < length2) addElement(that, index2++);
64121            });
64122            TypedArrayPrototype = TypedArray[PROTOTYPE] = create2($TypedArrayPrototype$);
64123            hide2(TypedArrayPrototype, "constructor", TypedArray);
64124          } else if (!fails(function() {
64125            TypedArray(1);
64126          }) || !fails(function() {
64127            new TypedArray(-1);
64128          }) || !$iterDetect(function(iter) {
64129            new TypedArray();
64130            new TypedArray(null);
64131            new TypedArray(1.5);
64132            new TypedArray(iter);
64133          }, true)) {
64134            TypedArray = wrapper(function(that, data, $offset, $length) {
64135              anInstance(that, TypedArray, NAME);
64136              var klass;
64137              if (!isObject2(data)) return new Base(toIndex(data));
64138              if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {
64139                return $length !== void 0 ? new Base(data, toOffset($offset, BYTES), $length) : $offset !== void 0 ? new Base(data, toOffset($offset, BYTES)) : new Base(data);
64140              }
64141              if (TYPED_ARRAY in data) return fromList(TypedArray, data);
64142              return $from.call(TypedArray, data);
64143            });
64144            arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function(key) {
64145              if (!(key in TypedArray)) hide2(TypedArray, key, Base[key]);
64146            });
64147            TypedArray[PROTOTYPE] = TypedArrayPrototype;
64148            if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray;
64149          }
64150          var $nativeIterator = TypedArrayPrototype[ITERATOR];
64151          var CORRECT_ITER_NAME = !!$nativeIterator && ($nativeIterator.name == "values" || $nativeIterator.name == void 0);
64152          var $iterator = $iterators.values;
64153          hide2(TypedArray, TYPED_CONSTRUCTOR, true);
64154          hide2(TypedArrayPrototype, TYPED_ARRAY, NAME);
64155          hide2(TypedArrayPrototype, VIEW, true);
64156          hide2(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray);
64157          if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) {
64158            dP(TypedArrayPrototype, TAG, {
64159              get: function() {
64160                return NAME;
64161              }
64162            });
64163          }
64164          O[NAME] = TypedArray;
64165          $export($export.G + $export.W + $export.F * (TypedArray != Base), O);
64166          $export($export.S, NAME, {
64167            BYTES_PER_ELEMENT: BYTES
64168          });
64169          $export($export.S + $export.F * fails(function() {
64170            Base.of.call(TypedArray, 1);
64171          }), NAME, {
64172            from: $from,
64173            of: $of
64174          });
64175          if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide2(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES);
64176          $export($export.P, NAME, proto);
64177          setSpecies(NAME);
64178          $export($export.P + $export.F * FORCED_SET, NAME, { set: $set });
64179          $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators);
64180          if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString;
64181          $export($export.P + $export.F * fails(function() {
64182            new TypedArray(1).slice();
64183          }), NAME, { slice: $slice });
64184          $export($export.P + $export.F * (fails(function() {
64185            return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString();
64186          }) || !fails(function() {
64187            TypedArrayPrototype.toLocaleString.call([1, 2]);
64188          })), NAME, { toLocaleString: $toLocaleString });
64189          Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator;
64190          if (!LIBRARY && !CORRECT_ITER_NAME) hide2(TypedArrayPrototype, ITERATOR, $iterator);
64191        };
64192      } else module.exports = function() {
64193      };
64194      var LIBRARY;
64195      var global2;
64196      var fails;
64197      var $export;
64198      var $typed;
64199      var $buffer;
64200      var ctx;
64201      var anInstance;
64202      var propertyDesc;
64203      var hide2;
64204      var redefineAll;
64205      var toInteger;
64206      var toLength;
64207      var toIndex;
64208      var toAbsoluteIndex;
64209      var toPrimitive2;
64210      var has;
64211      var classof;
64212      var isObject2;
64213      var toObject;
64214      var isArrayIter;
64215      var create2;
64216      var getPrototypeOf2;
64217      var gOPN;
64218      var getIterFn;
64219      var uid;
64220      var wks;
64221      var createArrayMethod;
64222      var createArrayIncludes;
64223      var speciesConstructor;
64224      var ArrayIterators;
64225      var Iterators;
64226      var $iterDetect;
64227      var setSpecies;
64228      var arrayFill;
64229      var arrayCopyWithin;
64230      var $DP;
64231      var $GOPD;
64232      var dP;
64233      var gOPD;
64234      var RangeError2;
64235      var TypeError2;
64236      var Uint8Array2;
64237      var ARRAY_BUFFER;
64238      var SHARED_BUFFER;
64239      var BYTES_PER_ELEMENT;
64240      var PROTOTYPE;
64241      var ArrayProto;
64242      var $ArrayBuffer;
64243      var $DataView;
64244      var arrayForEach;
64245      var arrayFilter;
64246      var arraySome;
64247      var arrayEvery;
64248      var arrayFind;
64249      var arrayFindIndex;
64250      var arrayIncludes;
64251      var arrayIndexOf;
64252      var arrayValues;
64253      var arrayKeys;
64254      var arrayEntries;
64255      var arrayLastIndexOf;
64256      var arrayReduce;
64257      var arrayReduceRight;
64258      var arrayJoin;
64259      var arraySort;
64260      var arraySlice;
64261      var arrayToString;
64262      var arrayToLocaleString;
64263      var ITERATOR;
64264      var TAG;
64265      var TYPED_CONSTRUCTOR;
64266      var DEF_CONSTRUCTOR;
64267      var ALL_CONSTRUCTORS;
64268      var TYPED_ARRAY;
64269      var VIEW;
64270      var WRONG_LENGTH;
64271      var $map;
64272      var LITTLE_ENDIAN;
64273      var FORCED_SET;
64274      var toOffset;
64275      var validate;
64276      var allocate;
64277      var speciesFromList;
64278      var fromList;
64279      var addGetter;
64280      var $from;
64281      var $of;
64282      var TO_LOCALE_BUG;
64283      var $toLocaleString;
64284      var proto;
64285      var $slice;
64286      var $set;
64287      var $iterators;
64288      var isTAIndex;
64289      var $getDesc;
64290      var $setDesc;
64291      var $TypedArrayPrototype$;
64292    }
64293  });
64294
64295  
vendor: 466 bytes, lines 64295-64307
64295// node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.int8-array.js
64296  var require_es6_typed_int8_array = __commonJS({
64297    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.int8-array.js"() {
64298      init_esbuild_shims();
64299      require_typed_array()("Int8", 1, function(init3) {
64300        return function Int8Array(data, byteOffset, length2) {
64301          return init3(this, data, byteOffset, length2);
64302        };
64303      });
64304    }
64305  });
64306
64307  
vendor: 472 bytes, lines 64307-64319
64307// node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.uint8-array.js
64308  var require_es6_typed_uint8_array = __commonJS({
64309    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.uint8-array.js"() {
64310      init_esbuild_shims();
64311      require_typed_array()("Uint8", 1, function(init3) {
64312        return function Uint8Array2(data, byteOffset, length2) {
64313          return init3(this, data, byteOffset, length2);
64314        };
64315      });
64316    }
64317  });
64318
64319  
vendor: 508 bytes, lines 64319-64331
64319// node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.uint8-clamped-array.js
64320  var require_es6_typed_uint8_clamped_array = __commonJS({
64321    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.uint8-clamped-array.js"() {
64322      init_esbuild_shims();
64323      require_typed_array()("Uint8", 1, function(init3) {
64324        return function Uint8ClampedArray(data, byteOffset, length2) {
64325          return init3(this, data, byteOffset, length2);
64326        };
64327      }, true);
64328    }
64329  });
64330
64331  
vendor: 471 bytes, lines 64331-64343
64331// node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.int16-array.js
64332  var require_es6_typed_int16_array = __commonJS({
64333    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.int16-array.js"() {
64334      init_esbuild_shims();
64335      require_typed_array()("Int16", 2, function(init3) {
64336        return function Int16Array(data, byteOffset, length2) {
64337          return init3(this, data, byteOffset, length2);
64338        };
64339      });
64340    }
64341  });
64342
64343  
vendor: 477 bytes, lines 64343-64355
64343// node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.uint16-array.js
64344  var require_es6_typed_uint16_array = __commonJS({
64345    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.uint16-array.js"() {
64346      init_esbuild_shims();
64347      require_typed_array()("Uint16", 2, function(init3) {
64348        return function Uint16Array2(data, byteOffset, length2) {
64349          return init3(this, data, byteOffset, length2);
64350        };
64351      });
64352    }
64353  });
64354
64355  
vendor: 471 bytes, lines 64355-64367
64355// node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.int32-array.js
64356  var require_es6_typed_int32_array = __commonJS({
64357    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.int32-array.js"() {
64358      init_esbuild_shims();
64359      require_typed_array()("Int32", 4, function(init3) {
64360        return function Int32Array(data, byteOffset, length2) {
64361          return init3(this, data, byteOffset, length2);
64362        };
64363      });
64364    }
64365  });
64366
64367  
vendor: 476 bytes, lines 64367-64379
64367// node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.uint32-array.js
64368  var require_es6_typed_uint32_array = __commonJS({
64369    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.uint32-array.js"() {
64370      init_esbuild_shims();
64371      require_typed_array()("Uint32", 4, function(init3) {
64372        return function Uint32Array(data, byteOffset, length2) {
64373          return init3(this, data, byteOffset, length2);
64374        };
64375      });
64376    }
64377  });
64378
64379  
vendor: 481 bytes, lines 64379-64391
64379// node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.float32-array.js
64380  var require_es6_typed_float32_array = __commonJS({
64381    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.float32-array.js"() {
64382      init_esbuild_shims();
64383      require_typed_array()("Float32", 4, function(init3) {
64384        return function Float32Array(data, byteOffset, length2) {
64385          return init3(this, data, byteOffset, length2);
64386        };
64387      });
64388    }
64389  });
64390
64391  
vendor: 481 bytes, lines 64391-64403
64391// node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.float64-array.js
64392  var require_es6_typed_float64_array = __commonJS({
64393    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.typed.float64-array.js"() {
64394      init_esbuild_shims();
64395      require_typed_array()("Float64", 8, function(init3) {
64396        return function Float64Array(data, byteOffset, length2) {
64397          return init3(this, data, byteOffset, length2);
64398        };
64399      });
64400    }
64401  });
64402
64403  
vendor: 868 bytes, lines 64403-64425
64403// node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.apply.js
64404  var require_es6_reflect_apply = __commonJS({
64405    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.apply.js"() {
64406      init_esbuild_shims();
64407      var $export = require_export();
64408      var aFunction = require_a_function();
64409      var anObject = require_an_object();
64410      var rApply = (require_global().Reflect || {}).apply;
64411      var fApply = Function.apply;
64412      $export($export.S + $export.F * !require_fails()(function() {
64413        rApply(function() {
64414        });
64415      }), "Reflect", {
64416        apply: function apply(target, thisArgument, argumentsList) {
64417          var T = aFunction(target);
64418          var L2 = anObject(argumentsList);
64419          return rApply ? rApply(T, thisArgument, L2) : fApply.call(T, thisArgument, L2);
64420        }
64421      });
64422    }
64423  });
64424
64425  
vendor: 2,108 bytes, lines 64425-64479
64425// node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.construct.js
64426  var require_es6_reflect_construct = __commonJS({
64427    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.construct.js"() {
64428      init_esbuild_shims();
64429      var $export = require_export();
64430      var create2 = require_object_create();
64431      var aFunction = require_a_function();
64432      var anObject = require_an_object();
64433      var isObject2 = require_is_object();
64434      var fails = require_fails();
64435      var bind2 = require_bind();
64436      var rConstruct = (require_global().Reflect || {}).construct;
64437      var NEW_TARGET_BUG = fails(function() {
64438        function F() {
64439        }
64440        return !(rConstruct(function() {
64441        }, [], F) instanceof F);
64442      });
64443      var ARGS_BUG = !fails(function() {
64444        rConstruct(function() {
64445        });
64446      });
64447      $export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), "Reflect", {
64448        construct: function construct(Target, args) {
64449          aFunction(Target);
64450          anObject(args);
64451          var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);
64452          if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);
64453          if (Target == newTarget) {
64454            switch (args.length) {
64455              case 0:
64456                return new Target();
64457              case 1:
64458                return new Target(args[0]);
64459              case 2:
64460                return new Target(args[0], args[1]);
64461              case 3:
64462                return new Target(args[0], args[1], args[2]);
64463              case 4:
64464                return new Target(args[0], args[1], args[2], args[3]);
64465            }
64466            var $args = [null];
64467            $args.push.apply($args, args);
64468            return new (bind2.apply(Target, $args))();
64469          }
64470          var proto = newTarget.prototype;
64471          var instance = create2(isObject2(proto) ? proto : Object.prototype);
64472          var result = Function.apply.call(Target, instance, args);
64473          return isObject2(result) ? result : instance;
64474        }
64475      });
64476    }
64477  });
64478
64479  
vendor: 994 bytes, lines 64479-64505
64479// node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.define-property.js
64480  var require_es6_reflect_define_property = __commonJS({
64481    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.define-property.js"() {
64482      init_esbuild_shims();
64483      var dP = require_object_dp();
64484      var $export = require_export();
64485      var anObject = require_an_object();
64486      var toPrimitive2 = require_to_primitive();
64487      $export($export.S + $export.F * require_fails()(function() {
64488        Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 });
64489      }), "Reflect", {
64490        defineProperty: function defineProperty(target, propertyKey, attributes) {
64491          anObject(target);
64492          propertyKey = toPrimitive2(propertyKey, true);
64493          anObject(attributes);
64494          try {
64495            dP.f(target, propertyKey, attributes);
64496            return true;
64497          } catch (e) {
64498            return false;
64499          }
64500        }
64501      });
64502    }
64503  });
64504
64505  
vendor: 680 bytes, lines 64505-64521
64505// node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.delete-property.js
64506  var require_es6_reflect_delete_property = __commonJS({
64507    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.delete-property.js"() {
64508      init_esbuild_shims();
64509      var $export = require_export();
64510      var gOPD = require_object_gopd().f;
64511      var anObject = require_an_object();
64512      $export($export.S, "Reflect", {
64513        deleteProperty: function deleteProperty(target, propertyKey) {
64514          var desc = gOPD(anObject(target), propertyKey);
64515          return desc && !desc.configurable ? false : delete target[propertyKey];
64516        }
64517      });
64518    }
64519  });
64520
64521  
vendor: 1,056 bytes, lines 64521-64552
64521// node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.enumerate.js
64522  var require_es6_reflect_enumerate = __commonJS({
64523    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.enumerate.js"() {
64524      "use strict";
64525      init_esbuild_shims();
64526      var $export = require_export();
64527      var anObject = require_an_object();
64528      var Enumerate = function(iterated) {
64529        this._t = anObject(iterated);
64530        this._i = 0;
64531        var keys = this._k = [];
64532        var key;
64533        for (key in iterated) keys.push(key);
64534      };
64535      require_iter_create()(Enumerate, "Object", function() {
64536        var that = this;
64537        var keys = that._k;
64538        var key;
64539        do {
64540          if (that._i >= keys.length) return { value: void 0, done: true };
64541        } while (!((key = keys[that._i++]) in that._t));
64542        return { value: key, done: false };
64543      });
64544      $export($export.S, "Reflect", {
64545        enumerate: function enumerate(target) {
64546          return new Enumerate(target);
64547        }
64548      });
64549    }
64550  });
64551
64552  
vendor: 1,002 bytes, lines 64552-64573
64552// node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.get.js
64553  var require_es6_reflect_get = __commonJS({
64554    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.get.js"() {
64555      init_esbuild_shims();
64556      var gOPD = require_object_gopd();
64557      var getPrototypeOf2 = require_object_gpo();
64558      var has = require_has2();
64559      var $export = require_export();
64560      var isObject2 = require_is_object();
64561      var anObject = require_an_object();
64562      function get(target, propertyKey) {
64563        var receiver = arguments.length < 3 ? target : arguments[2];
64564        var desc, proto;
64565        if (anObject(target) === receiver) return target[propertyKey];
64566        if (desc = gOPD.f(target, propertyKey)) return has(desc, "value") ? desc.value : desc.get !== void 0 ? desc.get.call(receiver) : void 0;
64567        if (isObject2(proto = getPrototypeOf2(target))) return get(proto, propertyKey, receiver);
64568      }
64569      $export($export.S, "Reflect", { get });
64570    }
64571  });
64572
64573  
vendor: 650 bytes, lines 64573-64588
64573// node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js
64574  var require_es6_reflect_get_own_property_descriptor = __commonJS({
64575    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js"() {
64576      init_esbuild_shims();
64577      var gOPD = require_object_gopd();
64578      var $export = require_export();
64579      var anObject = require_an_object();
64580      $export($export.S, "Reflect", {
64581        getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {
64582          return gOPD.f(anObject(target), propertyKey);
64583        }
64584      });
64585    }
64586  });
64587
64588  
vendor: 577 bytes, lines 64588-64603
64588// node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.get-prototype-of.js
64589  var require_es6_reflect_get_prototype_of = __commonJS({
64590    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.get-prototype-of.js"() {
64591      init_esbuild_shims();
64592      var $export = require_export();
64593      var getProto = require_object_gpo();
64594      var anObject = require_an_object();
64595      $export($export.S, "Reflect", {
64596        getPrototypeOf: function getPrototypeOf2(target) {
64597          return getProto(anObject(target));
64598        }
64599      });
64600    }
64601  });
64602
64603  
vendor: 438 bytes, lines 64603-64616
64603// node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.has.js
64604  var require_es6_reflect_has = __commonJS({
64605    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.has.js"() {
64606      init_esbuild_shims();
64607      var $export = require_export();
64608      $export($export.S, "Reflect", {
64609        has: function has(target, propertyKey) {
64610          return propertyKey in target;
64611        }
64612      });
64613    }
64614  });
64615
64616  
vendor: 613 bytes, lines 64616-64632
64616// node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.is-extensible.js
64617  var require_es6_reflect_is_extensible = __commonJS({
64618    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.is-extensible.js"() {
64619      init_esbuild_shims();
64620      var $export = require_export();
64621      var anObject = require_an_object();
64622      var $isExtensible = Object.isExtensible;
64623      $export($export.S, "Reflect", {
64624        isExtensible: function isExtensible(target) {
64625          anObject(target);
64626          return $isExtensible ? $isExtensible(target) : true;
64627        }
64628      });
64629    }
64630  });
64631
64632  
vendor: 644 bytes, lines 64632-64648
64632// node_modules/babel-polyfill/node_modules/core-js/modules/_own-keys.js
64633  var require_own_keys = __commonJS({
64634    "node_modules/babel-polyfill/node_modules/core-js/modules/_own-keys.js"(exports, module) {
64635      init_esbuild_shims();
64636      var gOPN = require_object_gopn();
64637      var gOPS = require_object_gops();
64638      var anObject = require_an_object();
64639      var Reflect2 = require_global().Reflect;
64640      module.exports = Reflect2 && Reflect2.ownKeys || function ownKeys4(it) {
64641        var keys = gOPN.f(anObject(it));
64642        var getSymbols = gOPS.f;
64643        return getSymbols ? keys.concat(getSymbols(it)) : keys;
64644      };
64645    }
64646  });
64647
64648  
vendor: 376 bytes, lines 64648-64657
64648// node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.own-keys.js
64649  var require_es6_reflect_own_keys = __commonJS({
64650    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.own-keys.js"() {
64651      init_esbuild_shims();
64652      var $export = require_export();
64653      $export($export.S, "Reflect", { ownKeys: require_own_keys() });
64654    }
64655  });
64656
64657  
vendor: 752 bytes, lines 64657-64678
64657// node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.prevent-extensions.js
64658  var require_es6_reflect_prevent_extensions = __commonJS({
64659    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.prevent-extensions.js"() {
64660      init_esbuild_shims();
64661      var $export = require_export();
64662      var anObject = require_an_object();
64663      var $preventExtensions = Object.preventExtensions;
64664      $export($export.S, "Reflect", {
64665        preventExtensions: function preventExtensions(target) {
64666          anObject(target);
64667          try {
64668            if ($preventExtensions) $preventExtensions(target);
64669            return true;
64670          } catch (e) {
64671            return false;
64672          }
64673        }
64674      });
64675    }
64676  });
64677
64678  
vendor: 1,641 bytes, lines 64678-64715
64678// node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.set.js
64679  var require_es6_reflect_set = __commonJS({
64680    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.set.js"() {
64681      init_esbuild_shims();
64682      var dP = require_object_dp();
64683      var gOPD = require_object_gopd();
64684      var getPrototypeOf2 = require_object_gpo();
64685      var has = require_has2();
64686      var $export = require_export();
64687      var createDesc = require_property_desc();
64688      var anObject = require_an_object();
64689      var isObject2 = require_is_object();
64690      function set(target, propertyKey, V) {
64691        var receiver = arguments.length < 4 ? target : arguments[3];
64692        var ownDesc = gOPD.f(anObject(target), propertyKey);
64693        var existingDescriptor, proto;
64694        if (!ownDesc) {
64695          if (isObject2(proto = getPrototypeOf2(target))) {
64696            return set(proto, propertyKey, V, receiver);
64697          }
64698          ownDesc = createDesc(0);
64699        }
64700        if (has(ownDesc, "value")) {
64701          if (ownDesc.writable === false || !isObject2(receiver)) return false;
64702          if (existingDescriptor = gOPD.f(receiver, propertyKey)) {
64703            if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;
64704            existingDescriptor.value = V;
64705            dP.f(receiver, propertyKey, existingDescriptor);
64706          } else dP.f(receiver, propertyKey, createDesc(0, V));
64707          return true;
64708        }
64709        return ownDesc.set === void 0 ? false : (ownDesc.set.call(receiver, V), true);
64710      }
64711      $export($export.S, "Reflect", { set });
64712    }
64713  });
64714
64715  
vendor: 694 bytes, lines 64715-64735
64715// node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.set-prototype-of.js
64716  var require_es6_reflect_set_prototype_of = __commonJS({
64717    "node_modules/babel-polyfill/node_modules/core-js/modules/es6.reflect.set-prototype-of.js"() {
64718      init_esbuild_shims();
64719      var $export = require_export();
64720      var setProto = require_set_proto();
64721      if (setProto) $export($export.S, "Reflect", {
64722        setPrototypeOf: function setPrototypeOf(target, proto) {
64723          setProto.check(target, proto);
64724          try {
64725            setProto.set(target, proto);
64726            return true;
64727          } catch (e) {
64728            return false;
64729          }
64730        }
64731      });
64732    }
64733  });
64734
64735  
vendor: 604 bytes, lines 64735-64751
64735// node_modules/babel-polyfill/node_modules/core-js/modules/es7.array.includes.js
64736  var require_es7_array_includes = __commonJS({
64737    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.array.includes.js"() {
64738      "use strict";
64739      init_esbuild_shims();
64740      var $export = require_export();
64741      var $includes = require_array_includes()(true);
64742      $export($export.P, "Array", {
64743        includes: function includes(el) {
64744          return $includes(this, el, arguments.length > 1 ? arguments[1] : void 0);
64745        }
64746      });
64747      require_add_to_unscopables()("includes");
64748    }
64749  });
64750
64751  
vendor: 1,667 bytes, lines 64751-64790
64751// node_modules/babel-polyfill/node_modules/core-js/modules/_flatten-into-array.js
64752  var require_flatten_into_array = __commonJS({
64753    "node_modules/babel-polyfill/node_modules/core-js/modules/_flatten-into-array.js"(exports, module) {
64754      "use strict";
64755      init_esbuild_shims();
64756      var isArray3 = require_is_array();
64757      var isObject2 = require_is_object();
64758      var toLength = require_to_length();
64759      var ctx = require_ctx();
64760      var IS_CONCAT_SPREADABLE = require_wks()("isConcatSpreadable");
64761      function flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) {
64762        var targetIndex = start;
64763        var sourceIndex = 0;
64764        var mapFn = mapper ? ctx(mapper, thisArg, 3) : false;
64765        var element, spreadable;
64766        while (sourceIndex < sourceLen) {
64767          if (sourceIndex in source) {
64768            element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];
64769            spreadable = false;
64770            if (isObject2(element)) {
64771              spreadable = element[IS_CONCAT_SPREADABLE];
64772              spreadable = spreadable !== void 0 ? !!spreadable : isArray3(element);
64773            }
64774            if (spreadable && depth > 0) {
64775              targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;
64776            } else {
64777              if (targetIndex >= 9007199254740991) throw TypeError();
64778              target[targetIndex] = element;
64779            }
64780            targetIndex++;
64781          }
64782          sourceIndex++;
64783        }
64784        return targetIndex;
64785      }
64786      module.exports = flattenIntoArray;
64787    }
64788  });
64789
64790  
vendor: 1,002 bytes, lines 64790-64816
64790// node_modules/babel-polyfill/node_modules/core-js/modules/es7.array.flat-map.js
64791  var require_es7_array_flat_map = __commonJS({
64792    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.array.flat-map.js"() {
64793      "use strict";
64794      init_esbuild_shims();
64795      var $export = require_export();
64796      var flattenIntoArray = require_flatten_into_array();
64797      var toObject = require_to_object();
64798      var toLength = require_to_length();
64799      var aFunction = require_a_function();
64800      var arraySpeciesCreate = require_array_species_create();
64801      $export($export.P, "Array", {
64802        flatMap: function flatMap(callbackfn) {
64803          var O = toObject(this);
64804          var sourceLen, A2;
64805          aFunction(callbackfn);
64806          sourceLen = toLength(O.length);
64807          A2 = arraySpeciesCreate(O, 0);
64808          flattenIntoArray(A2, O, O, sourceLen, 0, 1, callbackfn, arguments[1]);
64809          return A2;
64810        }
64811      });
64812      require_add_to_unscopables()("flatMap");
64813    }
64814  });
64815
64816  
vendor: 992 bytes, lines 64816-64841
64816// node_modules/babel-polyfill/node_modules/core-js/modules/es7.array.flatten.js
64817  var require_es7_array_flatten = __commonJS({
64818    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.array.flatten.js"() {
64819      "use strict";
64820      init_esbuild_shims();
64821      var $export = require_export();
64822      var flattenIntoArray = require_flatten_into_array();
64823      var toObject = require_to_object();
64824      var toLength = require_to_length();
64825      var toInteger = require_to_integer();
64826      var arraySpeciesCreate = require_array_species_create();
64827      $export($export.P, "Array", {
64828        flatten: function flatten() {
64829          var depthArg = arguments[0];
64830          var O = toObject(this);
64831          var sourceLen = toLength(O.length);
64832          var A2 = arraySpeciesCreate(O, 0);
64833          flattenIntoArray(A2, O, O, sourceLen, 0, depthArg === void 0 ? 1 : toInteger(depthArg));
64834          return A2;
64835        }
64836      });
64837      require_add_to_unscopables()("flatten");
64838    }
64839  });
64840
64841  
vendor: 625 bytes, lines 64841-64860
64841// node_modules/babel-polyfill/node_modules/core-js/modules/es7.string.at.js
64842  var require_es7_string_at = __commonJS({
64843    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.string.at.js"() {
64844      "use strict";
64845      init_esbuild_shims();
64846      var $export = require_export();
64847      var $at = require_string_at()(true);
64848      var $fails = require_fails();
64849      var FORCED = $fails(function() {
64850        return "\u{20BB7}".at(0) !== "\u{20BB7}";
64851      });
64852      $export($export.P + $export.F * FORCED, "String", {
64853        at: function at(pos) {
64854          return $at(this, pos);
64855        }
64856      });
64857    }
64858  });
64859
64860  
vendor: 1,014 bytes, lines 64860-64881
64860// node_modules/babel-polyfill/node_modules/core-js/modules/_string-pad.js
64861  var require_string_pad = __commonJS({
64862    "node_modules/babel-polyfill/node_modules/core-js/modules/_string-pad.js"(exports, module) {
64863      init_esbuild_shims();
64864      var toLength = require_to_length();
64865      var repeat = require_string_repeat();
64866      var defined = require_defined();
64867      module.exports = function(that, maxLength, fillString, left) {
64868        var S2 = String(defined(that));
64869        var stringLength = S2.length;
64870        var fillStr = fillString === void 0 ? " " : String(fillString);
64871        var intMaxLength = toLength(maxLength);
64872        if (intMaxLength <= stringLength || fillStr == "") return S2;
64873        var fillLen = intMaxLength - stringLength;
64874        var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));
64875        if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);
64876        return left ? stringFiller + S2 : S2 + stringFiller;
64877      };
64878    }
64879  });
64880
64881  
vendor: 725 bytes, lines 64881-64898
64881// node_modules/babel-polyfill/node_modules/core-js/modules/es7.string.pad-start.js
64882  var require_es7_string_pad_start = __commonJS({
64883    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.string.pad-start.js"() {
64884      "use strict";
64885      init_esbuild_shims();
64886      var $export = require_export();
64887      var $pad = require_string_pad();
64888      var userAgent2 = require_user_agent();
64889      var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent2);
64890      $export($export.P + $export.F * WEBKIT_BUG, "String", {
64891        padStart: function padStart(maxLength) {
64892          return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : void 0, true);
64893        }
64894      });
64895    }
64896  });
64897
64898  
vendor: 716 bytes, lines 64898-64915
64898// node_modules/babel-polyfill/node_modules/core-js/modules/es7.string.pad-end.js
64899  var require_es7_string_pad_end = __commonJS({
64900    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.string.pad-end.js"() {
64901      "use strict";
64902      init_esbuild_shims();
64903      var $export = require_export();
64904      var $pad = require_string_pad();
64905      var userAgent2 = require_user_agent();
64906      var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent2);
64907      $export($export.P + $export.F * WEBKIT_BUG, "String", {
64908        padEnd: function padEnd(maxLength) {
64909          return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : void 0, false);
64910        }
64911      });
64912    }
64913  });
64914
64915  
vendor: 450 bytes, lines 64915-64928
64915// node_modules/babel-polyfill/node_modules/core-js/modules/es7.string.trim-left.js
64916  var require_es7_string_trim_left = __commonJS({
64917    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.string.trim-left.js"() {
64918      "use strict";
64919      init_esbuild_shims();
64920      require_string_trim()("trimLeft", function($trim) {
64921        return function trimLeft() {
64922          return $trim(this, 1);
64923        };
64924      }, "trimStart");
64925    }
64926  });
64927
64928  
vendor: 453 bytes, lines 64928-64941
64928// node_modules/babel-polyfill/node_modules/core-js/modules/es7.string.trim-right.js
64929  var require_es7_string_trim_right = __commonJS({
64930    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.string.trim-right.js"() {
64931      "use strict";
64932      init_esbuild_shims();
64933      require_string_trim()("trimRight", function($trim) {
64934        return function trimRight() {
64935          return $trim(this, 2);
64936        };
64937      }, "trimEnd");
64938    }
64939  });
64940
64941  
vendor: 1,380 bytes, lines 64941-64974
64941// node_modules/babel-polyfill/node_modules/core-js/modules/es7.string.match-all.js
64942  var require_es7_string_match_all = __commonJS({
64943    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.string.match-all.js"() {
64944      "use strict";
64945      init_esbuild_shims();
64946      var $export = require_export();
64947      var defined = require_defined();
64948      var toLength = require_to_length();
64949      var isRegExp3 = require_is_regexp();
64950      var getFlags = require_flags();
64951      var RegExpProto = RegExp.prototype;
64952      var $RegExpStringIterator = function(regexp, string) {
64953        this._r = regexp;
64954        this._s = string;
64955      };
64956      require_iter_create()($RegExpStringIterator, "RegExp String", function next2() {
64957        var match2 = this._r.exec(this._s);
64958        return { value: match2, done: match2 === null };
64959      });
64960      $export($export.P, "String", {
64961        matchAll: function matchAll2(regexp) {
64962          defined(this);
64963          if (!isRegExp3(regexp)) throw TypeError(regexp + " is not a regexp!");
64964          var S2 = String(this);
64965          var flags = "flags" in RegExpProto ? String(regexp.flags) : getFlags.call(regexp);
64966          var rx = new RegExp(regexp.source, ~flags.indexOf("g") ? flags : "g" + flags);
64967          rx.lastIndex = toLength(regexp.lastIndex);
64968          return new $RegExpStringIterator(rx, S2);
64969        }
64970      });
64971    }
64972  });
64973
64974  
vendor: 328 bytes, lines 64974-64982
64974// node_modules/babel-polyfill/node_modules/core-js/modules/es7.symbol.async-iterator.js
64975  var require_es7_symbol_async_iterator = __commonJS({
64976    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.symbol.async-iterator.js"() {
64977      init_esbuild_shims();
64978      require_wks_define()("asyncIterator");
64979    }
64980  });
64981
64982  
vendor: 313 bytes, lines 64982-64990
64982// node_modules/babel-polyfill/node_modules/core-js/modules/es7.symbol.observable.js
64983  var require_es7_symbol_observable = __commonJS({
64984    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.symbol.observable.js"() {
64985      init_esbuild_shims();
64986      require_wks_define()("observable");
64987    }
64988  });
64989
64990  
vendor: 1,047 bytes, lines 64990-65017
64990// node_modules/babel-polyfill/node_modules/core-js/modules/es7.object.get-own-property-descriptors.js
64991  var require_es7_object_get_own_property_descriptors = __commonJS({
64992    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.object.get-own-property-descriptors.js"() {
64993      init_esbuild_shims();
64994      var $export = require_export();
64995      var ownKeys4 = require_own_keys();
64996      var toIObject = require_to_iobject();
64997      var gOPD = require_object_gopd();
64998      var createProperty = require_create_property();
64999      $export($export.S, "Object", {
65000        getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
65001          var O = toIObject(object);
65002          var getDesc = gOPD.f;
65003          var keys = ownKeys4(O);
65004          var result = {};
65005          var i2 = 0;
65006          var key, desc;
65007          while (keys.length > i2) {
65008            desc = getDesc(O, key = keys[i2++]);
65009            if (desc !== void 0) createProperty(result, key, desc);
65010          }
65011          return result;
65012        }
65013      });
65014    }
65015  });
65016
65017  
vendor: 945 bytes, lines 65017-65045
65017// node_modules/babel-polyfill/node_modules/core-js/modules/_object-to-array.js
65018  var require_object_to_array = __commonJS({
65019    "node_modules/babel-polyfill/node_modules/core-js/modules/_object-to-array.js"(exports, module) {
65020      init_esbuild_shims();
65021      var DESCRIPTORS = require_descriptors();
65022      var getKeys = require_object_keys();
65023      var toIObject = require_to_iobject();
65024      var isEnum = require_object_pie().f;
65025      module.exports = function(isEntries) {
65026        return function(it) {
65027          var O = toIObject(it);
65028          var keys = getKeys(O);
65029          var length2 = keys.length;
65030          var i2 = 0;
65031          var result = [];
65032          var key;
65033          while (length2 > i2) {
65034            key = keys[i2++];
65035            if (!DESCRIPTORS || isEnum.call(O, key)) {
65036              result.push(isEntries ? [key, O[key]] : O[key]);
65037            }
65038          }
65039          return result;
65040        };
65041      };
65042    }
65043  });
65044
65045  
vendor: 476 bytes, lines 65045-65059
65045// node_modules/babel-polyfill/node_modules/core-js/modules/es7.object.values.js
65046  var require_es7_object_values = __commonJS({
65047    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.object.values.js"() {
65048      init_esbuild_shims();
65049      var $export = require_export();
65050      var $values = require_object_to_array()(false);
65051      $export($export.S, "Object", {
65052        values: function values(it) {
65053          return $values(it);
65054        }
65055      });
65056    }
65057  });
65058
65059  
vendor: 482 bytes, lines 65059-65073
65059// node_modules/babel-polyfill/node_modules/core-js/modules/es7.object.entries.js
65060  var require_es7_object_entries = __commonJS({
65061    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.object.entries.js"() {
65062      init_esbuild_shims();
65063      var $export = require_export();
65064      var $entries = require_object_to_array()(true);
65065      $export($export.S, "Object", {
65066        entries: function entries(it) {
65067          return $entries(it);
65068        }
65069      });
65070    }
65071  });
65072
65073  
vendor: 511 bytes, lines 65073-65087
65073// node_modules/babel-polyfill/node_modules/core-js/modules/_object-forced-pam.js
65074  var require_object_forced_pam = __commonJS({
65075    "node_modules/babel-polyfill/node_modules/core-js/modules/_object-forced-pam.js"(exports, module) {
65076      "use strict";
65077      init_esbuild_shims();
65078      module.exports = require_library() || !require_fails()(function() {
65079        var K = Math.random();
65080        __defineSetter__.call(null, K, function() {
65081        });
65082        delete require_global()[K];
65083      });
65084    }
65085  });
65086
65087  
vendor: 766 bytes, lines 65087-65104
65087// node_modules/babel-polyfill/node_modules/core-js/modules/es7.object.define-getter.js
65088  var require_es7_object_define_getter = __commonJS({
65089    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.object.define-getter.js"() {
65090      "use strict";
65091      init_esbuild_shims();
65092      var $export = require_export();
65093      var toObject = require_to_object();
65094      var aFunction = require_a_function();
65095      var $defineProperty = require_object_dp();
65096      require_descriptors() && $export($export.P + require_object_forced_pam(), "Object", {
65097        __defineGetter__: function __defineGetter__(P2, getter) {
65098          $defineProperty.f(toObject(this), P2, { get: aFunction(getter), enumerable: true, configurable: true });
65099        }
65100      });
65101    }
65102  });
65103
65104  
vendor: 767 bytes, lines 65104-65121
65104// node_modules/babel-polyfill/node_modules/core-js/modules/es7.object.define-setter.js
65105  var require_es7_object_define_setter = __commonJS({
65106    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.object.define-setter.js"() {
65107      "use strict";
65108      init_esbuild_shims();
65109      var $export = require_export();
65110      var toObject = require_to_object();
65111      var aFunction = require_a_function();
65112      var $defineProperty = require_object_dp();
65113      require_descriptors() && $export($export.P + require_object_forced_pam(), "Object", {
65114        __defineSetter__: function __defineSetter__2(P2, setter) {
65115          $defineProperty.f(toObject(this), P2, { set: aFunction(setter), enumerable: true, configurable: true });
65116        }
65117      });
65118    }
65119  });
65120
65121  
vendor: 929 bytes, lines 65121-65144
65121// node_modules/babel-polyfill/node_modules/core-js/modules/es7.object.lookup-getter.js
65122  var require_es7_object_lookup_getter = __commonJS({
65123    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.object.lookup-getter.js"() {
65124      "use strict";
65125      init_esbuild_shims();
65126      var $export = require_export();
65127      var toObject = require_to_object();
65128      var toPrimitive2 = require_to_primitive();
65129      var getPrototypeOf2 = require_object_gpo();
65130      var getOwnPropertyDescriptor = require_object_gopd().f;
65131      require_descriptors() && $export($export.P + require_object_forced_pam(), "Object", {
65132        __lookupGetter__: function __lookupGetter__(P2) {
65133          var O = toObject(this);
65134          var K = toPrimitive2(P2, true);
65135          var D;
65136          do {
65137            if (D = getOwnPropertyDescriptor(O, K)) return D.get;
65138          } while (O = getPrototypeOf2(O));
65139        }
65140      });
65141    }
65142  });
65143
65144  
vendor: 929 bytes, lines 65144-65167
65144// node_modules/babel-polyfill/node_modules/core-js/modules/es7.object.lookup-setter.js
65145  var require_es7_object_lookup_setter = __commonJS({
65146    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.object.lookup-setter.js"() {
65147      "use strict";
65148      init_esbuild_shims();
65149      var $export = require_export();
65150      var toObject = require_to_object();
65151      var toPrimitive2 = require_to_primitive();
65152      var getPrototypeOf2 = require_object_gpo();
65153      var getOwnPropertyDescriptor = require_object_gopd().f;
65154      require_descriptors() && $export($export.P + require_object_forced_pam(), "Object", {
65155        __lookupSetter__: function __lookupSetter__(P2) {
65156          var O = toObject(this);
65157          var K = toPrimitive2(P2, true);
65158          var D;
65159          do {
65160            if (D = getOwnPropertyDescriptor(O, K)) return D.set;
65161          } while (O = getPrototypeOf2(O));
65162        }
65163      });
65164    }
65165  });
65166
65167  
vendor: 484 bytes, lines 65167-65180
65167// node_modules/babel-polyfill/node_modules/core-js/modules/_array-from-iterable.js
65168  var require_array_from_iterable = __commonJS({
65169    "node_modules/babel-polyfill/node_modules/core-js/modules/_array-from-iterable.js"(exports, module) {
65170      init_esbuild_shims();
65171      var forOf = require_for_of();
65172      module.exports = function(iter, ITERATOR) {
65173        var result = [];
65174        forOf(iter, false, result.push, result, ITERATOR);
65175        return result;
65176      };
65177    }
65178  });
65179
65180  
vendor: 578 bytes, lines 65180-65195
65180// node_modules/babel-polyfill/node_modules/core-js/modules/_collection-to-json.js
65181  var require_collection_to_json = __commonJS({
65182    "node_modules/babel-polyfill/node_modules/core-js/modules/_collection-to-json.js"(exports, module) {
65183      init_esbuild_shims();
65184      var classof = require_classof();
65185      var from2 = require_array_from_iterable();
65186      module.exports = function(NAME) {
65187        return function toJSON() {
65188          if (classof(this) != NAME) throw TypeError(NAME + "#toJSON isn't generic");
65189          return from2(this);
65190        };
65191      };
65192    }
65193  });
65194
65195  
vendor: 385 bytes, lines 65195-65204
65195// node_modules/babel-polyfill/node_modules/core-js/modules/es7.map.to-json.js
65196  var require_es7_map_to_json = __commonJS({
65197    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.map.to-json.js"() {
65198      init_esbuild_shims();
65199      var $export = require_export();
65200      $export($export.P + $export.R, "Map", { toJSON: require_collection_to_json()("Map") });
65201    }
65202  });
65203
65204  
vendor: 385 bytes, lines 65204-65213
65204// node_modules/babel-polyfill/node_modules/core-js/modules/es7.set.to-json.js
65205  var require_es7_set_to_json = __commonJS({
65206    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.set.to-json.js"() {
65207      init_esbuild_shims();
65208      var $export = require_export();
65209      $export($export.P + $export.R, "Set", { toJSON: require_collection_to_json()("Set") });
65210    }
65211  });
65212
65213  
vendor: 638 bytes, lines 65213-65230
65213// node_modules/babel-polyfill/node_modules/core-js/modules/_set-collection-of.js
65214  var require_set_collection_of = __commonJS({
65215    "node_modules/babel-polyfill/node_modules/core-js/modules/_set-collection-of.js"(exports, module) {
65216      "use strict";
65217      init_esbuild_shims();
65218      var $export = require_export();
65219      module.exports = function(COLLECTION) {
65220        $export($export.S, COLLECTION, { of: function of() {
65221          var length2 = arguments.length;
65222          var A2 = new Array(length2);
65223          while (length2--) A2[length2] = arguments[length2];
65224          return new this(A2);
65225        } });
65226      };
65227    }
65228  });
65229
65230  
vendor: 280 bytes, lines 65230-65238
65230// node_modules/babel-polyfill/node_modules/core-js/modules/es7.map.of.js
65231  var require_es7_map_of = __commonJS({
65232    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.map.of.js"() {
65233      init_esbuild_shims();
65234      require_set_collection_of()("Map");
65235    }
65236  });
65237
65238  
vendor: 280 bytes, lines 65238-65246
65238// node_modules/babel-polyfill/node_modules/core-js/modules/es7.set.of.js
65239  var require_es7_set_of = __commonJS({
65240    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.set.of.js"() {
65241      init_esbuild_shims();
65242      require_set_collection_of()("Set");
65243    }
65244  });
65245
65246  
vendor: 299 bytes, lines 65246-65254
65246// node_modules/babel-polyfill/node_modules/core-js/modules/es7.weak-map.of.js
65247  var require_es7_weak_map_of = __commonJS({
65248    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.weak-map.of.js"() {
65249      init_esbuild_shims();
65250      require_set_collection_of()("WeakMap");
65251    }
65252  });
65253
65254  
vendor: 299 bytes, lines 65254-65262
65254// node_modules/babel-polyfill/node_modules/core-js/modules/es7.weak-set.of.js
65255  var require_es7_weak_set_of = __commonJS({
65256    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.weak-set.of.js"() {
65257      init_esbuild_shims();
65258      require_set_collection_of()("WeakSet");
65259    }
65260  });
65261
65262  
vendor: 1,149 bytes, lines 65262-65295
65262// node_modules/babel-polyfill/node_modules/core-js/modules/_set-collection-from.js
65263  var require_set_collection_from = __commonJS({
65264    "node_modules/babel-polyfill/node_modules/core-js/modules/_set-collection-from.js"(exports, module) {
65265      "use strict";
65266      init_esbuild_shims();
65267      var $export = require_export();
65268      var aFunction = require_a_function();
65269      var ctx = require_ctx();
65270      var forOf = require_for_of();
65271      module.exports = function(COLLECTION) {
65272        $export($export.S, COLLECTION, { from: function from2(source) {
65273          var mapFn = arguments[1];
65274          var mapping, A2, n, cb;
65275          aFunction(this);
65276          mapping = mapFn !== void 0;
65277          if (mapping) aFunction(mapFn);
65278          if (source == void 0) return new this();
65279          A2 = [];
65280          if (mapping) {
65281            n = 0;
65282            cb = ctx(mapFn, arguments[2], 2);
65283            forOf(source, false, function(nextItem) {
65284              A2.push(cb(nextItem, n++));
65285            });
65286          } else {
65287            forOf(source, false, A2.push, A2);
65288          }
65289          return new this(A2);
65290        } });
65291      };
65292    }
65293  });
65294
65295  
vendor: 288 bytes, lines 65295-65303
65295// node_modules/babel-polyfill/node_modules/core-js/modules/es7.map.from.js
65296  var require_es7_map_from = __commonJS({
65297    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.map.from.js"() {
65298      init_esbuild_shims();
65299      require_set_collection_from()("Map");
65300    }
65301  });
65302
65303  
vendor: 288 bytes, lines 65303-65311
65303// node_modules/babel-polyfill/node_modules/core-js/modules/es7.set.from.js
65304  var require_es7_set_from = __commonJS({
65305    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.set.from.js"() {
65306      init_esbuild_shims();
65307      require_set_collection_from()("Set");
65308    }
65309  });
65310
65311  
vendor: 307 bytes, lines 65311-65319
65311// node_modules/babel-polyfill/node_modules/core-js/modules/es7.weak-map.from.js
65312  var require_es7_weak_map_from = __commonJS({
65313    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.weak-map.from.js"() {
65314      init_esbuild_shims();
65315      require_set_collection_from()("WeakMap");
65316    }
65317  });
65318
65319  
vendor: 307 bytes, lines 65319-65327
65319// node_modules/babel-polyfill/node_modules/core-js/modules/es7.weak-set.from.js
65320  var require_es7_weak_set_from = __commonJS({
65321    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.weak-set.from.js"() {
65322      init_esbuild_shims();
65323      require_set_collection_from()("WeakSet");
65324    }
65325  });
65326
65327  
vendor: 332 bytes, lines 65327-65336
65327// node_modules/babel-polyfill/node_modules/core-js/modules/es7.global.js
65328  var require_es7_global = __commonJS({
65329    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.global.js"() {
65330      init_esbuild_shims();
65331      var $export = require_export();
65332      $export($export.G, { global: require_global() });
65333    }
65334  });
65335
65336  
vendor: 363 bytes, lines 65336-65345
65336// node_modules/babel-polyfill/node_modules/core-js/modules/es7.system.global.js
65337  var require_es7_system_global = __commonJS({
65338    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.system.global.js"() {
65339      init_esbuild_shims();
65340      var $export = require_export();
65341      $export($export.S, "System", { global: require_global() });
65342    }
65343  });
65344
65345  
vendor: 466 bytes, lines 65345-65359
65345// node_modules/babel-polyfill/node_modules/core-js/modules/es7.error.is-error.js
65346  var require_es7_error_is_error = __commonJS({
65347    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.error.is-error.js"() {
65348      init_esbuild_shims();
65349      var $export = require_export();
65350      var cof = require_cof();
65351      $export($export.S, "Error", {
65352        isError: function isError2(it) {
65353          return cof(it) === "Error";
65354        }
65355      });
65356    }
65357  });
65358
65359  
vendor: 448 bytes, lines 65359-65372
65359// node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.clamp.js
65360  var require_es7_math_clamp = __commonJS({
65361    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.clamp.js"() {
65362      init_esbuild_shims();
65363      var $export = require_export();
65364      $export($export.S, "Math", {
65365        clamp: function clamp(x2, lower, upper) {
65366          return Math.min(upper, Math.max(lower, x2));
65367        }
65368      });
65369    }
65370  });
65371
65372  
vendor: 372 bytes, lines 65372-65381
65372// node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.deg-per-rad.js
65373  var require_es7_math_deg_per_rad = __commonJS({
65374    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.deg-per-rad.js"() {
65375      init_esbuild_shims();
65376      var $export = require_export();
65377      $export($export.S, "Math", { DEG_PER_RAD: Math.PI / 180 });
65378    }
65379  });
65380
65381  
vendor: 473 bytes, lines 65381-65395
65381// node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.degrees.js
65382  var require_es7_math_degrees = __commonJS({
65383    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.degrees.js"() {
65384      init_esbuild_shims();
65385      var $export = require_export();
65386      var RAD_PER_DEG = 180 / Math.PI;
65387      $export($export.S, "Math", {
65388        degrees: function degrees(radians) {
65389          return radians * RAD_PER_DEG;
65390        }
65391      });
65392    }
65393  });
65394
65395  
vendor: 632 bytes, lines 65395-65407
65395// node_modules/babel-polyfill/node_modules/core-js/modules/_math-scale.js
65396  var require_math_scale = __commonJS({
65397    "node_modules/babel-polyfill/node_modules/core-js/modules/_math-scale.js"(exports, module) {
65398      init_esbuild_shims();
65399      module.exports = Math.scale || function scale(x2, inLow, inHigh, outLow, outHigh) {
65400        if (arguments.length === 0 || x2 != x2 || inLow != inLow || inHigh != inHigh || outLow != outLow || outHigh != outHigh) return NaN;
65401        if (x2 === Infinity || x2 === -Infinity) return x2;
65402        return (x2 - inLow) * (outHigh - outLow) / (inHigh - inLow) + outLow;
65403      };
65404    }
65405  });
65406
65407  
vendor: 566 bytes, lines 65407-65422
65407// node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.fscale.js
65408  var require_es7_math_fscale = __commonJS({
65409    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.fscale.js"() {
65410      init_esbuild_shims();
65411      var $export = require_export();
65412      var scale = require_math_scale();
65413      var fround = require_math_fround();
65414      $export($export.S, "Math", {
65415        fscale: function fscale(x2, inLow, inHigh, outLow, outHigh) {
65416          return fround(scale(x2, inLow, inHigh, outLow, outHigh));
65417        }
65418      });
65419    }
65420  });
65421
65422  
vendor: 578 bytes, lines 65422-65438
65422// node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.iaddh.js
65423  var require_es7_math_iaddh = __commonJS({
65424    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.iaddh.js"() {
65425      init_esbuild_shims();
65426      var $export = require_export();
65427      $export($export.S, "Math", {
65428        iaddh: function iaddh(x0, x1, y0, y1) {
65429          var $x0 = x0 >>> 0;
65430          var $x1 = x1 >>> 0;
65431          var $y0 = y0 >>> 0;
65432          return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0;
65433        }
65434      });
65435    }
65436  });
65437
65438  
vendor: 577 bytes, lines 65438-65454
65438// node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.isubh.js
65439  var require_es7_math_isubh = __commonJS({
65440    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.isubh.js"() {
65441      init_esbuild_shims();
65442      var $export = require_export();
65443      $export($export.S, "Math", {
65444        isubh: function isubh(x0, x1, y0, y1) {
65445          var $x0 = x0 >>> 0;
65446          var $x1 = x1 >>> 0;
65447          var $y0 = y0 >>> 0;
65448          return $x1 - (y1 >>> 0) - ((~$x0 & $y0 | ~($x0 ^ $y0) & $x0 - $y0 >>> 0) >>> 31) | 0;
65449        }
65450      });
65451    }
65452  });
65453
65454  
vendor: 715 bytes, lines 65454-65475
65454// node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.imulh.js
65455  var require_es7_math_imulh = __commonJS({
65456    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.imulh.js"() {
65457      init_esbuild_shims();
65458      var $export = require_export();
65459      $export($export.S, "Math", {
65460        imulh: function imulh(u, v) {
65461          var UINT16 = 65535;
65462          var $u = +u;
65463          var $v = +v;
65464          var u0 = $u & UINT16;
65465          var v0 = $v & UINT16;
65466          var u1 = $u >> 16;
65467          var v1 = $v >> 16;
65468          var t2 = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);
65469          return u1 * v1 + (t2 >> 16) + ((u0 * v1 >>> 0) + (t2 & UINT16) >> 16);
65470        }
65471      });
65472    }
65473  });
65474
65475  
vendor: 372 bytes, lines 65475-65484
65475// node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.rad-per-deg.js
65476  var require_es7_math_rad_per_deg = __commonJS({
65477    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.rad-per-deg.js"() {
65478      init_esbuild_shims();
65479      var $export = require_export();
65480      $export($export.S, "Math", { RAD_PER_DEG: 180 / Math.PI });
65481    }
65482  });
65483
65484  
vendor: 473 bytes, lines 65484-65498
65484// node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.radians.js
65485  var require_es7_math_radians = __commonJS({
65486    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.radians.js"() {
65487      init_esbuild_shims();
65488      var $export = require_export();
65489      var DEG_PER_RAD = Math.PI / 180;
65490      $export($export.S, "Math", {
65491        radians: function radians(degrees) {
65492          return degrees * DEG_PER_RAD;
65493        }
65494      });
65495    }
65496  });
65497
65498  
vendor: 355 bytes, lines 65498-65507
65498// node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.scale.js
65499  var require_es7_math_scale = __commonJS({
65500    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.scale.js"() {
65501      init_esbuild_shims();
65502      var $export = require_export();
65503      $export($export.S, "Math", { scale: require_math_scale() });
65504    }
65505  });
65506
65507  
vendor: 719 bytes, lines 65507-65528
65507// node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.umulh.js
65508  var require_es7_math_umulh = __commonJS({
65509    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.umulh.js"() {
65510      init_esbuild_shims();
65511      var $export = require_export();
65512      $export($export.S, "Math", {
65513        umulh: function umulh(u, v) {
65514          var UINT16 = 65535;
65515          var $u = +u;
65516          var $v = +v;
65517          var u0 = $u & UINT16;
65518          var v0 = $v & UINT16;
65519          var u1 = $u >>> 16;
65520          var v1 = $v >>> 16;
65521          var t2 = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);
65522          return u1 * v1 + (t2 >>> 16) + ((u0 * v1 >>> 0) + (t2 & UINT16) >>> 16);
65523        }
65524      });
65525    }
65526  });
65527
65528  
vendor: 451 bytes, lines 65528-65539
65528// node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.signbit.js
65529  var require_es7_math_signbit = __commonJS({
65530    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.math.signbit.js"() {
65531      init_esbuild_shims();
65532      var $export = require_export();
65533      $export($export.S, "Math", { signbit: function signbit(x2) {
65534        return (x2 = +x2) != x2 ? x2 : x2 == 0 ? 1 / x2 == Infinity : x2 > 0;
65535      } });
65536    }
65537  });
65538
65539  
vendor: 1,117 bytes, lines 65539-65568
65539// node_modules/babel-polyfill/node_modules/core-js/modules/es7.promise.finally.js
65540  var require_es7_promise_finally = __commonJS({
65541    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.promise.finally.js"() {
65542      "use strict";
65543      init_esbuild_shims();
65544      var $export = require_export();
65545      var core = require_core();
65546      var global2 = require_global();
65547      var speciesConstructor = require_species_constructor();
65548      var promiseResolve = require_promise_resolve();
65549      $export($export.P + $export.R, "Promise", { "finally": function(onFinally) {
65550        var C = speciesConstructor(this, core.Promise || global2.Promise);
65551        var isFunction3 = typeof onFinally == "function";
65552        return this.then(
65553          isFunction3 ? function(x2) {
65554            return promiseResolve(C, onFinally()).then(function() {
65555              return x2;
65556            });
65557          } : onFinally,
65558          isFunction3 ? function(e) {
65559            return promiseResolve(C, onFinally()).then(function() {
65560              throw e;
65561            });
65562          } : onFinally
65563        );
65564      } });
65565    }
65566  });
65567
65568  
vendor: 730 bytes, lines 65568-65585
65568// node_modules/babel-polyfill/node_modules/core-js/modules/es7.promise.try.js
65569  var require_es7_promise_try = __commonJS({
65570    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.promise.try.js"() {
65571      "use strict";
65572      init_esbuild_shims();
65573      var $export = require_export();
65574      var newPromiseCapability = require_new_promise_capability();
65575      var perform2 = require_perform();
65576      $export($export.S, "Promise", { "try": function(callbackfn) {
65577        var promiseCapability = newPromiseCapability.f(this);
65578        var result = perform2(callbackfn);
65579        (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v);
65580        return promiseCapability.promise;
65581      } });
65582    }
65583  });
65584
65585  
vendor: 2,330 bytes, lines 65585-65644
65585// node_modules/babel-polyfill/node_modules/core-js/modules/_metadata.js
65586  var require_metadata = __commonJS({
65587    "node_modules/babel-polyfill/node_modules/core-js/modules/_metadata.js"(exports, module) {
65588      init_esbuild_shims();
65589      var Map2 = require_es6_map();
65590      var $export = require_export();
65591      var shared = require_shared()("metadata");
65592      var store = shared.store || (shared.store = new (require_es6_weak_map())());
65593      var getOrCreateMetadataMap = function(target, targetKey, create2) {
65594        var targetMetadata = store.get(target);
65595        if (!targetMetadata) {
65596          if (!create2) return void 0;
65597          store.set(target, targetMetadata = new Map2());
65598        }
65599        var keyMetadata = targetMetadata.get(targetKey);
65600        if (!keyMetadata) {
65601          if (!create2) return void 0;
65602          targetMetadata.set(targetKey, keyMetadata = new Map2());
65603        }
65604        return keyMetadata;
65605      };
65606      var ordinaryHasOwnMetadata = function(MetadataKey, O, P2) {
65607        var metadataMap = getOrCreateMetadataMap(O, P2, false);
65608        return metadataMap === void 0 ? false : metadataMap.has(MetadataKey);
65609      };
65610      var ordinaryGetOwnMetadata = function(MetadataKey, O, P2) {
65611        var metadataMap = getOrCreateMetadataMap(O, P2, false);
65612        return metadataMap === void 0 ? void 0 : metadataMap.get(MetadataKey);
65613      };
65614      var ordinaryDefineOwnMetadata = function(MetadataKey, MetadataValue, O, P2) {
65615        getOrCreateMetadataMap(O, P2, true).set(MetadataKey, MetadataValue);
65616      };
65617      var ordinaryOwnMetadataKeys = function(target, targetKey) {
65618        var metadataMap = getOrCreateMetadataMap(target, targetKey, false);
65619        var keys = [];
65620        if (metadataMap) metadataMap.forEach(function(_, key) {
65621          keys.push(key);
65622        });
65623        return keys;
65624      };
65625      var toMetaKey = function(it) {
65626        return it === void 0 || typeof it == "symbol" ? it : String(it);
65627      };
65628      var exp = function(O) {
65629        $export($export.S, "Reflect", O);
65630      };
65631      module.exports = {
65632        store,
65633        map: getOrCreateMetadataMap,
65634        has: ordinaryHasOwnMetadata,
65635        get: ordinaryGetOwnMetadata,
65636        set: ordinaryDefineOwnMetadata,
65637        keys: ordinaryOwnMetadataKeys,
65638        key: toMetaKey,
65639        exp
65640      };
65641    }
65642  });
65643
65644  
vendor: 685 bytes, lines 65644-65658
65644// node_modules/babel-polyfill/node_modules/core-js/modules/es7.reflect.define-metadata.js
65645  var require_es7_reflect_define_metadata = __commonJS({
65646    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.reflect.define-metadata.js"() {
65647      init_esbuild_shims();
65648      var metadata = require_metadata();
65649      var anObject = require_an_object();
65650      var toMetaKey = metadata.key;
65651      var ordinaryDefineOwnMetadata = metadata.set;
65652      metadata.exp({ defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey) {
65653        ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey));
65654      } });
65655    }
65656  });
65657
65658  
vendor: 1,044 bytes, lines 65658-65679
65658// node_modules/babel-polyfill/node_modules/core-js/modules/es7.reflect.delete-metadata.js
65659  var require_es7_reflect_delete_metadata = __commonJS({
65660    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.reflect.delete-metadata.js"() {
65661      init_esbuild_shims();
65662      var metadata = require_metadata();
65663      var anObject = require_an_object();
65664      var toMetaKey = metadata.key;
65665      var getOrCreateMetadataMap = metadata.map;
65666      var store = metadata.store;
65667      metadata.exp({ deleteMetadata: function deleteMetadata(metadataKey, target) {
65668        var targetKey = arguments.length < 3 ? void 0 : toMetaKey(arguments[2]);
65669        var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);
65670        if (metadataMap === void 0 || !metadataMap["delete"](metadataKey)) return false;
65671        if (metadataMap.size) return true;
65672        var targetMetadata = store.get(target);
65673        targetMetadata["delete"](targetKey);
65674        return !!targetMetadata.size || store["delete"](target);
65675      } });
65676    }
65677  });
65678
65679  
vendor: 1,100 bytes, lines 65679-65701
65679// node_modules/babel-polyfill/node_modules/core-js/modules/es7.reflect.get-metadata.js
65680  var require_es7_reflect_get_metadata = __commonJS({
65681    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.reflect.get-metadata.js"() {
65682      init_esbuild_shims();
65683      var metadata = require_metadata();
65684      var anObject = require_an_object();
65685      var getPrototypeOf2 = require_object_gpo();
65686      var ordinaryHasOwnMetadata = metadata.has;
65687      var ordinaryGetOwnMetadata = metadata.get;
65688      var toMetaKey = metadata.key;
65689      var ordinaryGetMetadata = function(MetadataKey, O, P2) {
65690        var hasOwn2 = ordinaryHasOwnMetadata(MetadataKey, O, P2);
65691        if (hasOwn2) return ordinaryGetOwnMetadata(MetadataKey, O, P2);
65692        var parent = getPrototypeOf2(O);
65693        return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P2) : void 0;
65694      };
65695      metadata.exp({ getMetadata: function getMetadata(metadataKey, target) {
65696        return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? void 0 : toMetaKey(arguments[2]));
65697      } });
65698    }
65699  });
65700
65701  
vendor: 1,146 bytes, lines 65701-65725
65701// node_modules/babel-polyfill/node_modules/core-js/modules/es7.reflect.get-metadata-keys.js
65702  var require_es7_reflect_get_metadata_keys = __commonJS({
65703    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.reflect.get-metadata-keys.js"() {
65704      init_esbuild_shims();
65705      var Set2 = require_es6_set();
65706      var from2 = require_array_from_iterable();
65707      var metadata = require_metadata();
65708      var anObject = require_an_object();
65709      var getPrototypeOf2 = require_object_gpo();
65710      var ordinaryOwnMetadataKeys = metadata.keys;
65711      var toMetaKey = metadata.key;
65712      var ordinaryMetadataKeys = function(O, P2) {
65713        var oKeys = ordinaryOwnMetadataKeys(O, P2);
65714        var parent = getPrototypeOf2(O);
65715        if (parent === null) return oKeys;
65716        var pKeys = ordinaryMetadataKeys(parent, P2);
65717        return pKeys.length ? oKeys.length ? from2(new Set2(oKeys.concat(pKeys))) : pKeys : oKeys;
65718      };
65719      metadata.exp({ getMetadataKeys: function getMetadataKeys(target) {
65720        return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? void 0 : toMetaKey(arguments[1]));
65721      } });
65722    }
65723  });
65724
65725  
vendor: 723 bytes, lines 65725-65743
65725// node_modules/babel-polyfill/node_modules/core-js/modules/es7.reflect.get-own-metadata.js
65726  var require_es7_reflect_get_own_metadata = __commonJS({
65727    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.reflect.get-own-metadata.js"() {
65728      init_esbuild_shims();
65729      var metadata = require_metadata();
65730      var anObject = require_an_object();
65731      var ordinaryGetOwnMetadata = metadata.get;
65732      var toMetaKey = metadata.key;
65733      metadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target) {
65734        return ordinaryGetOwnMetadata(
65735          metadataKey,
65736          anObject(target),
65737          arguments.length < 3 ? void 0 : toMetaKey(arguments[2])
65738        );
65739      } });
65740    }
65741  });
65742
65743  
vendor: 683 bytes, lines 65743-65757
65743// node_modules/babel-polyfill/node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js
65744  var require_es7_reflect_get_own_metadata_keys = __commonJS({
65745    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js"() {
65746      init_esbuild_shims();
65747      var metadata = require_metadata();
65748      var anObject = require_an_object();
65749      var ordinaryOwnMetadataKeys = metadata.keys;
65750      var toMetaKey = metadata.key;
65751      metadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target) {
65752        return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? void 0 : toMetaKey(arguments[1]));
65753      } });
65754    }
65755  });
65756
65757  
vendor: 1,012 bytes, lines 65757-65778
65757// node_modules/babel-polyfill/node_modules/core-js/modules/es7.reflect.has-metadata.js
65758  var require_es7_reflect_has_metadata = __commonJS({
65759    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.reflect.has-metadata.js"() {
65760      init_esbuild_shims();
65761      var metadata = require_metadata();
65762      var anObject = require_an_object();
65763      var getPrototypeOf2 = require_object_gpo();
65764      var ordinaryHasOwnMetadata = metadata.has;
65765      var toMetaKey = metadata.key;
65766      var ordinaryHasMetadata = function(MetadataKey, O, P2) {
65767        var hasOwn2 = ordinaryHasOwnMetadata(MetadataKey, O, P2);
65768        if (hasOwn2) return true;
65769        var parent = getPrototypeOf2(O);
65770        return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P2) : false;
65771      };
65772      metadata.exp({ hasMetadata: function hasMetadata(metadataKey, target) {
65773        return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? void 0 : toMetaKey(arguments[2]));
65774      } });
65775    }
65776  });
65777
65778  
vendor: 723 bytes, lines 65778-65796
65778// node_modules/babel-polyfill/node_modules/core-js/modules/es7.reflect.has-own-metadata.js
65779  var require_es7_reflect_has_own_metadata = __commonJS({
65780    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.reflect.has-own-metadata.js"() {
65781      init_esbuild_shims();
65782      var metadata = require_metadata();
65783      var anObject = require_an_object();
65784      var ordinaryHasOwnMetadata = metadata.has;
65785      var toMetaKey = metadata.key;
65786      metadata.exp({ hasOwnMetadata: function hasOwnMetadata(metadataKey, target) {
65787        return ordinaryHasOwnMetadata(
65788          metadataKey,
65789          anObject(target),
65790          arguments.length < 3 ? void 0 : toMetaKey(arguments[2])
65791        );
65792      } });
65793    }
65794  });
65795
65796  
vendor: 846 bytes, lines 65796-65818
65796// node_modules/babel-polyfill/node_modules/core-js/modules/es7.reflect.metadata.js
65797  var require_es7_reflect_metadata = __commonJS({
65798    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.reflect.metadata.js"() {
65799      init_esbuild_shims();
65800      var $metadata = require_metadata();
65801      var anObject = require_an_object();
65802      var aFunction = require_a_function();
65803      var toMetaKey = $metadata.key;
65804      var ordinaryDefineOwnMetadata = $metadata.set;
65805      $metadata.exp({ metadata: function metadata(metadataKey, metadataValue) {
65806        return function decorator(target, targetKey) {
65807          ordinaryDefineOwnMetadata(
65808            metadataKey,
65809            metadataValue,
65810            (targetKey !== void 0 ? anObject : aFunction)(target),
65811            toMetaKey(targetKey)
65812          );
65813        };
65814      } });
65815    }
65816  });
65817
65818  
vendor: 605 bytes, lines 65818-65835
65818// node_modules/babel-polyfill/node_modules/core-js/modules/es7.asap.js
65819  var require_es7_asap = __commonJS({
65820    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.asap.js"() {
65821      init_esbuild_shims();
65822      var $export = require_export();
65823      var microtask = require_microtask()();
65824      var process2 = require_global().process;
65825      var isNode2 = require_cof()(process2) == "process";
65826      $export($export.G, {
65827        asap: function asap2(fn) {
65828          var domain = isNode2 && process2.domain;
65829          microtask(domain ? domain.bind(fn) : fn);
65830        }
65831      });
65832    }
65833  });
65834
65835  
vendor: 6,912 bytes, lines 65835-66041
65835// node_modules/babel-polyfill/node_modules/core-js/modules/es7.observable.js
65836  var require_es7_observable = __commonJS({
65837    "node_modules/babel-polyfill/node_modules/core-js/modules/es7.observable.js"() {
65838      "use strict";
65839      init_esbuild_shims();
65840      var $export = require_export();
65841      var global2 = require_global();
65842      var core = require_core();
65843      var microtask = require_microtask()();
65844      var OBSERVABLE = require_wks()("observable");
65845      var aFunction = require_a_function();
65846      var anObject = require_an_object();
65847      var anInstance = require_an_instance();
65848      var redefineAll = require_redefine_all();
65849      var hide2 = require_hide();
65850      var forOf = require_for_of();
65851      var RETURN = forOf.RETURN;
65852      var getMethod = function(fn) {
65853        return fn == null ? void 0 : aFunction(fn);
65854      };
65855      var cleanupSubscription = function(subscription) {
65856        var cleanup = subscription._c;
65857        if (cleanup) {
65858          subscription._c = void 0;
65859          cleanup();
65860        }
65861      };
65862      var subscriptionClosed = function(subscription) {
65863        return subscription._o === void 0;
65864      };
65865      var closeSubscription = function(subscription) {
65866        if (!subscriptionClosed(subscription)) {
65867          subscription._o = void 0;
65868          cleanupSubscription(subscription);
65869        }
65870      };
65871      var Subscription = function(observer, subscriber) {
65872        anObject(observer);
65873        this._c = void 0;
65874        this._o = observer;
65875        observer = new SubscriptionObserver(this);
65876        try {
65877          var cleanup = subscriber(observer);
65878          var subscription = cleanup;
65879          if (cleanup != null) {
65880            if (typeof cleanup.unsubscribe === "function") cleanup = function() {
65881              subscription.unsubscribe();
65882            };
65883            else aFunction(cleanup);
65884            this._c = cleanup;
65885          }
65886        } catch (e) {
65887          observer.error(e);
65888          return;
65889        }
65890        if (subscriptionClosed(this)) cleanupSubscription(this);
65891      };
65892      Subscription.prototype = redefineAll({}, {
65893        unsubscribe: function unsubscribe() {
65894          closeSubscription(this);
65895        }
65896      });
65897      var SubscriptionObserver = function(subscription) {
65898        this._s = subscription;
65899      };
65900      SubscriptionObserver.prototype = redefineAll({}, {
65901        next: function next2(value) {
65902          var subscription = this._s;
65903          if (!subscriptionClosed(subscription)) {
65904            var observer = subscription._o;
65905            try {
65906              var m = getMethod(observer.next);
65907              if (m) return m.call(observer, value);
65908            } catch (e) {
65909              try {
65910                closeSubscription(subscription);
65911              } finally {
65912                throw e;
65913              }
65914            }
65915          }
65916        },
65917        error: function error(value) {
65918          var subscription = this._s;
65919          if (subscriptionClosed(subscription)) throw value;
65920          var observer = subscription._o;
65921          subscription._o = void 0;
65922          try {
65923            var m = getMethod(observer.error);
65924            if (!m) throw value;
65925            value = m.call(observer, value);
65926          } catch (e) {
65927            try {
65928              cleanupSubscription(subscription);
65929            } finally {
65930              throw e;
65931            }
65932          }
65933          cleanupSubscription(subscription);
65934          return value;
65935        },
65936        complete: function complete(value) {
65937          var subscription = this._s;
65938          if (!subscriptionClosed(subscription)) {
65939            var observer = subscription._o;
65940            subscription._o = void 0;
65941            try {
65942              var m = getMethod(observer.complete);
65943              value = m ? m.call(observer, value) : void 0;
65944            } catch (e) {
65945              try {
65946                cleanupSubscription(subscription);
65947              } finally {
65948                throw e;
65949              }
65950            }
65951            cleanupSubscription(subscription);
65952            return value;
65953          }
65954        }
65955      });
65956      var $Observable = function Observable(subscriber) {
65957        anInstance(this, $Observable, "Observable", "_f")._f = aFunction(subscriber);
65958      };
65959      redefineAll($Observable.prototype, {
65960        subscribe: function subscribe(observer) {
65961          return new Subscription(observer, this._f);
65962        },
65963        forEach: function forEach2(fn) {
65964          var that = this;
65965          return new (core.Promise || global2.Promise)(function(resolve, reject) {
65966            aFunction(fn);
65967            var subscription = that.subscribe({
65968              next: function(value) {
65969                try {
65970                  return fn(value);
65971                } catch (e) {
65972                  reject(e);
65973                  subscription.unsubscribe();
65974                }
65975              },
65976              error: reject,
65977              complete: resolve
65978            });
65979          });
65980        }
65981      });
65982      redefineAll($Observable, {
65983        from: function from2(x2) {
65984          var C = typeof this === "function" ? this : $Observable;
65985          var method = getMethod(anObject(x2)[OBSERVABLE]);
65986          if (method) {
65987            var observable = anObject(method.call(x2));
65988            return observable.constructor === C ? observable : new C(function(observer) {
65989              return observable.subscribe(observer);
65990            });
65991          }
65992          return new C(function(observer) {
65993            var done = false;
65994            microtask(function() {
65995              if (!done) {
65996                try {
65997                  if (forOf(x2, false, function(it) {
65998                    observer.next(it);
65999                    if (done) return RETURN;
66000                  }) === RETURN) return;
66001                } catch (e) {
66002                  if (done) throw e;
66003                  observer.error(e);
66004                  return;
66005                }
66006                observer.complete();
66007              }
66008            });
66009            return function() {
66010              done = true;
66011            };
66012          });
66013        },
66014        of: function of() {
66015          for (var i2 = 0, l = arguments.length, items = new Array(l); i2 < l; ) items[i2] = arguments[i2++];
66016          return new (typeof this === "function" ? this : $Observable)(function(observer) {
66017            var done = false;
66018            microtask(function() {
66019              if (!done) {
66020                for (var j2 = 0; j2 < items.length; ++j2) {
66021                  observer.next(items[j2]);
66022                  if (done) return;
66023                }
66024                observer.complete();
66025              }
66026            });
66027            return function() {
66028              done = true;
66029            };
66030          });
66031        }
66032      });
66033      hide2($Observable.prototype, OBSERVABLE, function() {
66034        return this;
66035      });
66036      $export($export.G, { Observable: $Observable });
66037      require_set_species()("Observable");
66038    }
66039  });
66040
66041  
vendor: 951 bytes, lines 66041-66066
66041// node_modules/babel-polyfill/node_modules/core-js/modules/web.timers.js
66042  var require_web_timers = __commonJS({
66043    "node_modules/babel-polyfill/node_modules/core-js/modules/web.timers.js"() {
66044      init_esbuild_shims();
66045      var global2 = require_global();
66046      var $export = require_export();
66047      var userAgent2 = require_user_agent();
66048      var slice2 = [].slice;
66049      var MSIE = /MSIE .\./.test(userAgent2);
66050      var wrap3 = function(set) {
66051        return function(fn, time) {
66052          var boundArgs = arguments.length > 2;
66053          var args = boundArgs ? slice2.call(arguments, 2) : false;
66054          return set(boundArgs ? function() {
66055            (typeof fn == "function" ? fn : Function(fn)).apply(this, args);
66056          } : fn, time);
66057        };
66058      };
66059      $export($export.G + $export.B + $export.F * MSIE, {
66060        setTimeout: wrap3(global2.setTimeout),
66061        setInterval: wrap3(global2.setInterval)
66062      });
66063    }
66064  });
66065
66066  
vendor: 437 bytes, lines 66066-66079
66066// node_modules/babel-polyfill/node_modules/core-js/modules/web.immediate.js
66067  var require_web_immediate = __commonJS({
66068    "node_modules/babel-polyfill/node_modules/core-js/modules/web.immediate.js"() {
66069      init_esbuild_shims();
66070      var $export = require_export();
66071      var $task = require_task();
66072      $export($export.G + $export.B, {
66073        setImmediate: $task.set,
66074        clearImmediate: $task.clear
66075      });
66076    }
66077  });
66078
66079  
vendor: 2,522 bytes, lines 66079-66153
66079// node_modules/babel-polyfill/node_modules/core-js/modules/web.dom.iterable.js
66080  var require_web_dom_iterable = __commonJS({
66081    "node_modules/babel-polyfill/node_modules/core-js/modules/web.dom.iterable.js"() {
66082      init_esbuild_shims();
66083      var $iterators = require_es6_array_iterator();
66084      var getKeys = require_object_keys();
66085      var redefine = require_redefine();
66086      var global2 = require_global();
66087      var hide2 = require_hide();
66088      var Iterators = require_iterators();
66089      var wks = require_wks();
66090      var ITERATOR = wks("iterator");
66091      var TO_STRING_TAG = wks("toStringTag");
66092      var ArrayValues = Iterators.Array;
66093      var DOMIterables = {
66094        CSSRuleList: true,
66095        // TODO: Not spec compliant, should be false.
66096        CSSStyleDeclaration: false,
66097        CSSValueList: false,
66098        ClientRectList: false,
66099        DOMRectList: false,
66100        DOMStringList: false,
66101        DOMTokenList: true,
66102        DataTransferItemList: false,
66103        FileList: false,
66104        HTMLAllCollection: false,
66105        HTMLCollection: false,
66106        HTMLFormElement: false,
66107        HTMLSelectElement: false,
66108        MediaList: true,
66109        // TODO: Not spec compliant, should be false.
66110        MimeTypeArray: false,
66111        NamedNodeMap: false,
66112        NodeList: true,
66113        PaintRequestList: false,
66114        Plugin: false,
66115        PluginArray: false,
66116        SVGLengthList: false,
66117        SVGNumberList: false,
66118        SVGPathSegList: false,
66119        SVGPointList: false,
66120        SVGStringList: false,
66121        SVGTransformList: false,
66122        SourceBufferList: false,
66123        StyleSheetList: true,
66124        // TODO: Not spec compliant, should be false.
66125        TextTrackCueList: false,
66126        TextTrackList: false,
66127        TouchList: false
66128      };
66129      for (collections = getKeys(DOMIterables), i2 = 0; i2 < collections.length; i2++) {
66130        NAME = collections[i2];
66131        explicit = DOMIterables[NAME];
66132        Collection = global2[NAME];
66133        proto = Collection && Collection.prototype;
66134        if (proto) {
66135          if (!proto[ITERATOR]) hide2(proto, ITERATOR, ArrayValues);
66136          if (!proto[TO_STRING_TAG]) hide2(proto, TO_STRING_TAG, NAME);
66137          Iterators[NAME] = ArrayValues;
66138          if (explicit) {
66139            for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);
66140          }
66141        }
66142      }
66143      var NAME;
66144      var explicit;
66145      var Collection;
66146      var proto;
66147      var key;
66148      var collections;
66149      var i2;
66150    }
66151  });
66152
66153  
vendor: 7,449 bytes, lines 66153-66358
66153// node_modules/babel-polyfill/node_modules/core-js/shim.js
66154  var require_shim = __commonJS({
66155    "node_modules/babel-polyfill/node_modules/core-js/shim.js"(exports, module) {
66156      init_esbuild_shims();
66157      require_es6_symbol();
66158      require_es6_object_create();
66159      require_es6_object_define_property();
66160      require_es6_object_define_properties();
66161      require_es6_object_get_own_property_descriptor();
66162      require_es6_object_get_prototype_of();
66163      require_es6_object_keys();
66164      require_es6_object_get_own_property_names();
66165      require_es6_object_freeze();
66166      require_es6_object_seal();
66167      require_es6_object_prevent_extensions();
66168      require_es6_object_is_frozen();
66169      require_es6_object_is_sealed();
66170      require_es6_object_is_extensible();
66171      require_es6_object_assign();
66172      require_es6_object_is();
66173      require_es6_object_set_prototype_of();
66174      require_es6_object_to_string();
66175      require_es6_function_bind();
66176      require_es6_function_name();
66177      require_es6_function_has_instance();
66178      require_es6_parse_int();
66179      require_es6_parse_float();
66180      require_es6_number_constructor();
66181      require_es6_number_to_fixed();
66182      require_es6_number_to_precision();
66183      require_es6_number_epsilon();
66184      require_es6_number_is_finite();
66185      require_es6_number_is_integer();
66186      require_es6_number_is_nan();
66187      require_es6_number_is_safe_integer();
66188      require_es6_number_max_safe_integer();
66189      require_es6_number_min_safe_integer();
66190      require_es6_number_parse_float();
66191      require_es6_number_parse_int();
66192      require_es6_math_acosh();
66193      require_es6_math_asinh();
66194      require_es6_math_atanh();
66195      require_es6_math_cbrt();
66196      require_es6_math_clz32();
66197      require_es6_math_cosh();
66198      require_es6_math_expm1();
66199      require_es6_math_fround();
66200      require_es6_math_hypot();
66201      require_es6_math_imul();
66202      require_es6_math_log10();
66203      require_es6_math_log1p();
66204      require_es6_math_log2();
66205      require_es6_math_sign();
66206      require_es6_math_sinh();
66207      require_es6_math_tanh();
66208      require_es6_math_trunc();
66209      require_es6_string_from_code_point();
66210      require_es6_string_raw();
66211      require_es6_string_trim();
66212      require_es6_string_iterator();
66213      require_es6_string_code_point_at();
66214      require_es6_string_ends_with();
66215      require_es6_string_includes();
66216      require_es6_string_repeat();
66217      require_es6_string_starts_with();
66218      require_es6_string_anchor();
66219      require_es6_string_big();
66220      require_es6_string_blink();
66221      require_es6_string_bold();
66222      require_es6_string_fixed();
66223      require_es6_string_fontcolor();
66224      require_es6_string_fontsize();
66225      require_es6_string_italics();
66226      require_es6_string_link();
66227      require_es6_string_small();
66228      require_es6_string_strike();
66229      require_es6_string_sub();
66230      require_es6_string_sup();
66231      require_es6_date_now();
66232      require_es6_date_to_json();
66233      require_es6_date_to_iso_string();
66234      require_es6_date_to_string();
66235      require_es6_date_to_primitive();
66236      require_es6_array_is_array();
66237      require_es6_array_from();
66238      require_es6_array_of();
66239      require_es6_array_join();
66240      require_es6_array_slice();
66241      require_es6_array_sort();
66242      require_es6_array_for_each();
66243      require_es6_array_map();
66244      require_es6_array_filter();
66245      require_es6_array_some();
66246      require_es6_array_every();
66247      require_es6_array_reduce();
66248      require_es6_array_reduce_right();
66249      require_es6_array_index_of();
66250      require_es6_array_last_index_of();
66251      require_es6_array_copy_within();
66252      require_es6_array_fill();
66253      require_es6_array_find();
66254      require_es6_array_find_index();
66255      require_es6_array_species();
66256      require_es6_array_iterator();
66257      require_es6_regexp_constructor();
66258      require_es6_regexp_exec();
66259      require_es6_regexp_to_string();
66260      require_es6_regexp_flags();
66261      require_es6_regexp_match();
66262      require_es6_regexp_replace();
66263      require_es6_regexp_search();
66264      require_es6_regexp_split();
66265      require_es6_promise();
66266      require_es6_map();
66267      require_es6_set();
66268      require_es6_weak_map();
66269      require_es6_weak_set();
66270      require_es6_typed_array_buffer();
66271      require_es6_typed_data_view();
66272      require_es6_typed_int8_array();
66273      require_es6_typed_uint8_array();
66274      require_es6_typed_uint8_clamped_array();
66275      require_es6_typed_int16_array();
66276      require_es6_typed_uint16_array();
66277      require_es6_typed_int32_array();
66278      require_es6_typed_uint32_array();
66279      require_es6_typed_float32_array();
66280      require_es6_typed_float64_array();
66281      require_es6_reflect_apply();
66282      require_es6_reflect_construct();
66283      require_es6_reflect_define_property();
66284      require_es6_reflect_delete_property();
66285      require_es6_reflect_enumerate();
66286      require_es6_reflect_get();
66287      require_es6_reflect_get_own_property_descriptor();
66288      require_es6_reflect_get_prototype_of();
66289      require_es6_reflect_has();
66290      require_es6_reflect_is_extensible();
66291      require_es6_reflect_own_keys();
66292      require_es6_reflect_prevent_extensions();
66293      require_es6_reflect_set();
66294      require_es6_reflect_set_prototype_of();
66295      require_es7_array_includes();
66296      require_es7_array_flat_map();
66297      require_es7_array_flatten();
66298      require_es7_string_at();
66299      require_es7_string_pad_start();
66300      require_es7_string_pad_end();
66301      require_es7_string_trim_left();
66302      require_es7_string_trim_right();
66303      require_es7_string_match_all();
66304      require_es7_symbol_async_iterator();
66305      require_es7_symbol_observable();
66306      require_es7_object_get_own_property_descriptors();
66307      require_es7_object_values();
66308      require_es7_object_entries();
66309      require_es7_object_define_getter();
66310      require_es7_object_define_setter();
66311      require_es7_object_lookup_getter();
66312      require_es7_object_lookup_setter();
66313      require_es7_map_to_json();
66314      require_es7_set_to_json();
66315      require_es7_map_of();
66316      require_es7_set_of();
66317      require_es7_weak_map_of();
66318      require_es7_weak_set_of();
66319      require_es7_map_from();
66320      require_es7_set_from();
66321      require_es7_weak_map_from();
66322      require_es7_weak_set_from();
66323      require_es7_global();
66324      require_es7_system_global();
66325      require_es7_error_is_error();
66326      require_es7_math_clamp();
66327      require_es7_math_deg_per_rad();
66328      require_es7_math_degrees();
66329      require_es7_math_fscale();
66330      require_es7_math_iaddh();
66331      require_es7_math_isubh();
66332      require_es7_math_imulh();
66333      require_es7_math_rad_per_deg();
66334      require_es7_math_radians();
66335      require_es7_math_scale();
66336      require_es7_math_umulh();
66337      require_es7_math_signbit();
66338      require_es7_promise_finally();
66339      require_es7_promise_try();
66340      require_es7_reflect_define_metadata();
66341      require_es7_reflect_delete_metadata();
66342      require_es7_reflect_get_metadata();
66343      require_es7_reflect_get_metadata_keys();
66344      require_es7_reflect_get_own_metadata();
66345      require_es7_reflect_get_own_metadata_keys();
66346      require_es7_reflect_has_metadata();
66347      require_es7_reflect_has_own_metadata();
66348      require_es7_reflect_metadata();
66349      require_es7_asap();
66350      require_es7_observable();
66351      require_web_timers();
66352      require_web_immediate();
66353      require_web_dom_iterable();
66354      module.exports = require_core();
66355    }
66356  });
66357
66358  
vendor: 19,288 bytes, lines 66358-66845
66358// node_modules/regenerator-runtime/runtime.js
66359  var require_runtime = __commonJS({
66360    "node_modules/regenerator-runtime/runtime.js"(exports, module) {
66361      init_esbuild_shims();
66362      !(function(global2) {
66363        "use strict";
66364        var Op = Object.prototype;
66365        var hasOwn2 = Op.hasOwnProperty;
66366        var undefined2;
66367        var $Symbol = typeof Symbol === "function" ? Symbol : {};
66368        var iteratorSymbol = $Symbol.iterator || "@@iterator";
66369        var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
66370        var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
66371        var inModule = typeof module === "object";
66372        var runtime = global2.regeneratorRuntime;
66373        if (runtime) {
66374          if (inModule) {
66375            module.exports = runtime;
66376          }
66377          return;
66378        }
66379        runtime = global2.regeneratorRuntime = inModule ? module.exports : {};
66380        function wrap3(innerFn, outerFn, self2, tryLocsList) {
66381          var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
66382          var generator = Object.create(protoGenerator.prototype);
66383          var context = new Context(tryLocsList || []);
66384          generator._invoke = makeInvokeMethod(innerFn, self2, context);
66385          return generator;
66386        }
66387        runtime.wrap = wrap3;
66388        function tryCatch(fn, obj, arg) {
66389          try {
66390            return { type: "normal", arg: fn.call(obj, arg) };
66391          } catch (err) {
66392            return { type: "throw", arg: err };
66393          }
66394        }
66395        var GenStateSuspendedStart = "suspendedStart";
66396        var GenStateSuspendedYield = "suspendedYield";
66397        var GenStateExecuting = "executing";
66398        var GenStateCompleted = "completed";
66399        var ContinueSentinel = {};
66400        function Generator() {
66401        }
66402        function GeneratorFunction() {
66403        }
66404        function GeneratorFunctionPrototype() {
66405        }
66406        var IteratorPrototype = {};
66407        IteratorPrototype[iteratorSymbol] = function() {
66408          return this;
66409        };
66410        var getProto = Object.getPrototypeOf;
66411        var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
66412        if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn2.call(NativeIteratorPrototype, iteratorSymbol)) {
66413          IteratorPrototype = NativeIteratorPrototype;
66414        }
66415        var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
66416        GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
66417        GeneratorFunctionPrototype.constructor = GeneratorFunction;
66418        GeneratorFunctionPrototype[toStringTagSymbol] = GeneratorFunction.displayName = "GeneratorFunction";
66419        function defineIteratorMethods(prototype2) {
66420          ["next", "throw", "return"].forEach(function(method) {
66421            prototype2[method] = function(arg) {
66422              return this._invoke(method, arg);
66423            };
66424          });
66425        }
66426        runtime.isGeneratorFunction = function(genFun) {
66427          var ctor = typeof genFun === "function" && genFun.constructor;
66428          return ctor ? ctor === GeneratorFunction || // For the native GeneratorFunction constructor, the best we can
66429          // do is to check its .name property.
66430          (ctor.displayName || ctor.name) === "GeneratorFunction" : false;
66431        };
66432        runtime.mark = function(genFun) {
66433          if (Object.setPrototypeOf) {
66434            Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
66435          } else {
66436            genFun.__proto__ = GeneratorFunctionPrototype;
66437            if (!(toStringTagSymbol in genFun)) {
66438              genFun[toStringTagSymbol] = "GeneratorFunction";
66439            }
66440          }
66441          genFun.prototype = Object.create(Gp);
66442          return genFun;
66443        };
66444        runtime.awrap = function(arg) {
66445          return { __await: arg };
66446        };
66447        function AsyncIterator(generator) {
66448          function invoke(method, arg, resolve, reject) {
66449            var record = tryCatch(generator[method], generator, arg);
66450            if (record.type === "throw") {
66451              reject(record.arg);
66452            } else {
66453              var result = record.arg;
66454              var value = result.value;
66455              if (value && typeof value === "object" && hasOwn2.call(value, "__await")) {
66456                return Promise.resolve(value.__await).then(function(value2) {
66457                  invoke("next", value2, resolve, reject);
66458                }, function(err) {
66459                  invoke("throw", err, resolve, reject);
66460                });
66461              }
66462              return Promise.resolve(value).then(function(unwrapped) {
66463                result.value = unwrapped;
66464                resolve(result);
66465              }, reject);
66466            }
66467          }
66468          if (typeof global2.process === "object" && global2.process.domain) {
66469            invoke = global2.process.domain.bind(invoke);
66470          }
66471          var previousPromise;
66472          function enqueue(method, arg) {
66473            function callInvokeWithMethodAndArg() {
66474              return new Promise(function(resolve, reject) {
66475                invoke(method, arg, resolve, reject);
66476              });
66477            }
66478            return previousPromise = // If enqueue has been called before, then we want to wait until
66479            // all previous Promises have been resolved before calling invoke,
66480            // so that results are always delivered in the correct order. If
66481            // enqueue has not been called before, then it is important to
66482            // call invoke immediately, without waiting on a callback to fire,
66483            // so that the async generator function has the opportunity to do
66484            // any necessary setup in a predictable way. This predictability
66485            // is why the Promise constructor synchronously invokes its
66486            // executor callback, and why async functions synchronously
66487            // execute code before the first await. Since we implement simple
66488            // async functions in terms of async generators, it is especially
66489            // important to get this right, even though it requires care.
66490            previousPromise ? previousPromise.then(
66491              callInvokeWithMethodAndArg,
66492              // Avoid propagating failures to Promises returned by later
66493              // invocations of the iterator.
66494              callInvokeWithMethodAndArg
66495            ) : callInvokeWithMethodAndArg();
66496          }
66497          this._invoke = enqueue;
66498        }
66499        defineIteratorMethods(AsyncIterator.prototype);
66500        AsyncIterator.prototype[asyncIteratorSymbol] = function() {
66501          return this;
66502        };
66503        runtime.AsyncIterator = AsyncIterator;
66504        runtime.async = function(innerFn, outerFn, self2, tryLocsList) {
66505          var iter = new AsyncIterator(
66506            wrap3(innerFn, outerFn, self2, tryLocsList)
66507          );
66508          return runtime.isGeneratorFunction(outerFn) ? iter : iter.next().then(function(result) {
66509            return result.done ? result.value : iter.next();
66510          });
66511        };
66512        function makeInvokeMethod(innerFn, self2, context) {
66513          var state = GenStateSuspendedStart;
66514          return function invoke(method, arg) {
66515            if (state === GenStateExecuting) {
66516              throw new Error("Generator is already running");
66517            }
66518            if (state === GenStateCompleted) {
66519              if (method === "throw") {
66520                throw arg;
66521              }
66522              return doneResult();
66523            }
66524            context.method = method;
66525            context.arg = arg;
66526            while (true) {
66527              var delegate = context.delegate;
66528              if (delegate) {
66529                var delegateResult = maybeInvokeDelegate(delegate, context);
66530                if (delegateResult) {
66531                  if (delegateResult === ContinueSentinel) continue;
66532                  return delegateResult;
66533                }
66534              }
66535              if (context.method === "next") {
66536                context.sent = context._sent = context.arg;
66537              } else if (context.method === "throw") {
66538                if (state === GenStateSuspendedStart) {
66539                  state = GenStateCompleted;
66540                  throw context.arg;
66541                }
66542                context.dispatchException(context.arg);
66543              } else if (context.method === "return") {
66544                context.abrupt("return", context.arg);
66545              }
66546              state = GenStateExecuting;
66547              var record = tryCatch(innerFn, self2, context);
66548              if (record.type === "normal") {
66549                state = context.done ? GenStateCompleted : GenStateSuspendedYield;
66550                if (record.arg === ContinueSentinel) {
66551                  continue;
66552                }
66553                return {
66554                  value: record.arg,
66555                  done: context.done
66556                };
66557              } else if (record.type === "throw") {
66558                state = GenStateCompleted;
66559                context.method = "throw";
66560                context.arg = record.arg;
66561              }
66562            }
66563          };
66564        }
66565        function maybeInvokeDelegate(delegate, context) {
66566          var method = delegate.iterator[context.method];
66567          if (method === undefined2) {
66568            context.delegate = null;
66569            if (context.method === "throw") {
66570              if (delegate.iterator.return) {
66571                context.method = "return";
66572                context.arg = undefined2;
66573                maybeInvokeDelegate(delegate, context);
66574                if (context.method === "throw") {
66575                  return ContinueSentinel;
66576                }
66577              }
66578              context.method = "throw";
66579              context.arg = new TypeError(
66580                "The iterator does not provide a 'throw' method"
66581              );
66582            }
66583            return ContinueSentinel;
66584          }
66585          var record = tryCatch(method, delegate.iterator, context.arg);
66586          if (record.type === "throw") {
66587            context.method = "throw";
66588            context.arg = record.arg;
66589            context.delegate = null;
66590            return ContinueSentinel;
66591          }
66592          var info = record.arg;
66593          if (!info) {
66594            context.method = "throw";
66595            context.arg = new TypeError("iterator result is not an object");
66596            context.delegate = null;
66597            return ContinueSentinel;
66598          }
66599          if (info.done) {
66600            context[delegate.resultName] = info.value;
66601            context.next = delegate.nextLoc;
66602            if (context.method !== "return") {
66603              context.method = "next";
66604              context.arg = undefined2;
66605            }
66606          } else {
66607            return info;
66608          }
66609          context.delegate = null;
66610          return ContinueSentinel;
66611        }
66612        defineIteratorMethods(Gp);
66613        Gp[toStringTagSymbol] = "Generator";
66614        Gp[iteratorSymbol] = function() {
66615          return this;
66616        };
66617        Gp.toString = function() {
66618          return "[object Generator]";
66619        };
66620        function pushTryEntry(locs) {
66621          var entry = { tryLoc: locs[0] };
66622          if (1 in locs) {
66623            entry.catchLoc = locs[1];
66624          }
66625          if (2 in locs) {
66626            entry.finallyLoc = locs[2];
66627            entry.afterLoc = locs[3];
66628          }
66629          this.tryEntries.push(entry);
66630        }
66631        function resetTryEntry(entry) {
66632          var record = entry.completion || {};
66633          record.type = "normal";
66634          delete record.arg;
66635          entry.completion = record;
66636        }
66637        function Context(tryLocsList) {
66638          this.tryEntries = [{ tryLoc: "root" }];
66639          tryLocsList.forEach(pushTryEntry, this);
66640          this.reset(true);
66641        }
66642        runtime.keys = function(object) {
66643          var keys = [];
66644          for (var key in object) {
66645            keys.push(key);
66646          }
66647          keys.reverse();
66648          return function next2() {
66649            while (keys.length) {
66650              var key2 = keys.pop();
66651              if (key2 in object) {
66652                next2.value = key2;
66653                next2.done = false;
66654                return next2;
66655              }
66656            }
66657            next2.done = true;
66658            return next2;
66659          };
66660        };
66661        function values(iterable) {
66662          if (iterable) {
66663            var iteratorMethod = iterable[iteratorSymbol];
66664            if (iteratorMethod) {
66665              return iteratorMethod.call(iterable);
66666            }
66667            if (typeof iterable.next === "function") {
66668              return iterable;
66669            }
66670            if (!isNaN(iterable.length)) {
66671              var i2 = -1, next2 = function next3() {
66672                while (++i2 < iterable.length) {
66673                  if (hasOwn2.call(iterable, i2)) {
66674                    next3.value = iterable[i2];
66675                    next3.done = false;
66676                    return next3;
66677                  }
66678                }
66679                next3.value = undefined2;
66680                next3.done = true;
66681                return next3;
66682              };
66683              return next2.next = next2;
66684            }
66685          }
66686          return { next: doneResult };
66687        }
66688        runtime.values = values;
66689        function doneResult() {
66690          return { value: undefined2, done: true };
66691        }
66692        Context.prototype = {
66693          constructor: Context,
66694          reset: function(skipTempReset) {
66695            this.prev = 0;
66696            this.next = 0;
66697            this.sent = this._sent = undefined2;
66698            this.done = false;
66699            this.delegate = null;
66700            this.method = "next";
66701            this.arg = undefined2;
66702            this.tryEntries.forEach(resetTryEntry);
66703            if (!skipTempReset) {
66704              for (var name2 in this) {
66705                if (name2.charAt(0) === "t" && hasOwn2.call(this, name2) && !isNaN(+name2.slice(1))) {
66706                  this[name2] = undefined2;
66707                }
66708              }
66709            }
66710          },
66711          stop: function() {
66712            this.done = true;
66713            var rootEntry = this.tryEntries[0];
66714            var rootRecord = rootEntry.completion;
66715            if (rootRecord.type === "throw") {
66716              throw rootRecord.arg;
66717            }
66718            return this.rval;
66719          },
66720          dispatchException: function(exception) {
66721            if (this.done) {
66722              throw exception;
66723            }
66724            var context = this;
66725            function handle(loc, caught) {
66726              record.type = "throw";
66727              record.arg = exception;
66728              context.next = loc;
66729              if (caught) {
66730                context.method = "next";
66731                context.arg = undefined2;
66732              }
66733              return !!caught;
66734            }
66735            for (var i2 = this.tryEntries.length - 1; i2 >= 0; --i2) {
66736              var entry = this.tryEntries[i2];
66737              var record = entry.completion;
66738              if (entry.tryLoc === "root") {
66739                return handle("end");
66740              }
66741              if (entry.tryLoc <= this.prev) {
66742                var hasCatch = hasOwn2.call(entry, "catchLoc");
66743                var hasFinally = hasOwn2.call(entry, "finallyLoc");
66744                if (hasCatch && hasFinally) {
66745                  if (this.prev < entry.catchLoc) {
66746                    return handle(entry.catchLoc, true);
66747                  } else if (this.prev < entry.finallyLoc) {
66748                    return handle(entry.finallyLoc);
66749                  }
66750                } else if (hasCatch) {
66751                  if (this.prev < entry.catchLoc) {
66752                    return handle(entry.catchLoc, true);
66753                  }
66754                } else if (hasFinally) {
66755                  if (this.prev < entry.finallyLoc) {
66756                    return handle(entry.finallyLoc);
66757                  }
66758                } else {
66759                  throw new Error("try statement without catch or finally");
66760                }
66761              }
66762            }
66763          },
66764          abrupt: function(type, arg) {
66765            for (var i2 = this.tryEntries.length - 1; i2 >= 0; --i2) {
66766              var entry = this.tryEntries[i2];
66767              if (entry.tryLoc <= this.prev && hasOwn2.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
66768                var finallyEntry = entry;
66769                break;
66770              }
66771            }
66772            if (finallyEntry && (type === "break" || type === "continue") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) {
66773              finallyEntry = null;
66774            }
66775            var record = finallyEntry ? finallyEntry.completion : {};
66776            record.type = type;
66777            record.arg = arg;
66778            if (finallyEntry) {
66779              this.method = "next";
66780              this.next = finallyEntry.finallyLoc;
66781              return ContinueSentinel;
66782            }
66783            return this.complete(record);
66784          },
66785          complete: function(record, afterLoc) {
66786            if (record.type === "throw") {
66787              throw record.arg;
66788            }
66789            if (record.type === "break" || record.type === "continue") {
66790              this.next = record.arg;
66791            } else if (record.type === "return") {
66792              this.rval = this.arg = record.arg;
66793              this.method = "return";
66794              this.next = "end";
66795            } else if (record.type === "normal" && afterLoc) {
66796              this.next = afterLoc;
66797            }
66798            return ContinueSentinel;
66799          },
66800          finish: function(finallyLoc) {
66801            for (var i2 = this.tryEntries.length - 1; i2 >= 0; --i2) {
66802              var entry = this.tryEntries[i2];
66803              if (entry.finallyLoc === finallyLoc) {
66804                this.complete(entry.completion, entry.afterLoc);
66805                resetTryEntry(entry);
66806                return ContinueSentinel;
66807              }
66808            }
66809          },
66810          "catch": function(tryLoc) {
66811            for (var i2 = this.tryEntries.length - 1; i2 >= 0; --i2) {
66812              var entry = this.tryEntries[i2];
66813              if (entry.tryLoc === tryLoc) {
66814                var record = entry.completion;
66815                if (record.type === "throw") {
66816                  var thrown = record.arg;
66817                  resetTryEntry(entry);
66818                }
66819                return thrown;
66820              }
66821            }
66822            throw new Error("illegal catch attempt");
66823          },
66824          delegateYield: function(iterable, resultName, nextLoc) {
66825            this.delegate = {
66826              iterator: values(iterable),
66827              resultName,
66828              nextLoc
66829            };
66830            if (this.method === "next") {
66831              this.arg = undefined2;
66832            }
66833            return ContinueSentinel;
66834          }
66835        };
66836      })(
66837        // Among the various tricks for obtaining a reference to the global
66838        // object, this seems to be the most reliable technique that does not
66839        // use indirect eval (which violates Content Security Policy).
66840        typeof global === "object" ? global : typeof window === "object" ? window : typeof self === "object" ? self : exports
66841      );
66842    }
66843  });
66844
66845  
vendor: 533 bytes, lines 66845-66860
66845// node_modules/babel-polyfill/node_modules/core-js/modules/_replacer.js
66846  var require_replacer = __commonJS({
66847    "node_modules/babel-polyfill/node_modules/core-js/modules/_replacer.js"(exports, module) {
66848      init_esbuild_shims();
66849      module.exports = function(regExp, replace3) {
66850        var replacer = replace3 === Object(replace3) ? function(part) {
66851          return replace3[part];
66852        } : replace3;
66853        return function(it) {
66854          return String(it).replace(regExp, replacer);
66855        };
66856      };
66857    }
66858  });
66859
66860  
vendor: 471 bytes, lines 66860-66872
66860// node_modules/babel-polyfill/node_modules/core-js/modules/core.regexp.escape.js
66861  var require_core_regexp_escape = __commonJS({
66862    "node_modules/babel-polyfill/node_modules/core-js/modules/core.regexp.escape.js"() {
66863      init_esbuild_shims();
66864      var $export = require_export();
66865      var $re = require_replacer()(/[\\^$*+?.()|[\]{}]/g, "\\$&");
66866      $export($export.S, "RegExp", { escape: function escape2(it) {
66867        return $re(it);
66868      } });
66869    }
66870  });
66871
66872  
vendor: 334 bytes, lines 66872-66881
66872// node_modules/babel-polyfill/node_modules/core-js/fn/regexp/escape.js
66873  var require_escape = __commonJS({
66874    "node_modules/babel-polyfill/node_modules/core-js/fn/regexp/escape.js"(exports, module) {
66875      init_esbuild_shims();
66876      require_core_regexp_escape();
66877      module.exports = require_core().RegExp.escape;
66878    }
66879  });
66880
66881  
vendor: 1,072 bytes, lines 66881-66909
66881// node_modules/babel-polyfill/lib/index.js
66882  var require_lib6 = __commonJS({
66883    "node_modules/babel-polyfill/lib/index.js"() {
66884      "use strict";
66885      init_esbuild_shims();
66886      require_shim();
66887      require_runtime();
66888      require_escape();
66889      if (global._babelPolyfill) {
66890        throw new Error("only one instance of babel-polyfill is allowed");
66891      }
66892      global._babelPolyfill = true;
66893      var DEFINE_PROPERTY = "defineProperty";
66894      function define3(O, key, value) {
66895        O[key] || Object[DEFINE_PROPERTY](O, key, {
66896          writable: true,
66897          configurable: true,
66898          value
66899        });
66900      }
66901      define3(String.prototype, "padLeft", "".padStart);
66902      define3(String.prototype, "padRight", "".padEnd);
66903      "pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(key) {
66904        [][key] && define3(Array, key, Function.call.bind([][key]));
66905      });
66906    }
66907  });
66908
66909  
66909// apps/base/javascript/base.tsx
66910  init_esbuild_shims();
66911  init_cookies2();
66912  init_error_tracking();
66913  init_third_party_accessory_block();
66914  init_search_modal();
66915  init__();
66916  require_proxy_min();
66917  require_lib6();
66918})();
66919/*! Bundled license information:
66920
66921ieee754/index.js:
66922  (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
66923
66924buffer/index.js:
66925  (*!
66926   * The buffer module from node.js, for the browser.
66927   *
66928   * @author   Feross Aboukhadijeh <https://feross.org>
66929   * @license  MIT
66930   *)
66931
66932react/cjs/react.development.js:
66933  (**
66934   * @license React
66935   * react.development.js
66936   *
66937   * Copyright (c) Facebook, Inc. and its affiliates.
66938   *
66939   * This source code is licensed under the MIT license found in the
66940   * LICENSE file in the root directory of this source tree.
66941   *)
66942
66943scheduler/cjs/scheduler.development.js:
66944  (**
66945   * @license React
66946   * scheduler.development.js
66947   *
66948   * Copyright (c) Facebook, Inc. and its affiliates.
66949   *
66950   * This source code is licensed under the MIT license found in the
66951   * LICENSE file in the root directory of this source tree.
66952   *)
66953
66954react-dom/cjs/react-dom.development.js:
66955  (**
66956   * @license React
66957   * react-dom.development.js
66958   *
66959   * Copyright (c) Facebook, Inc. and its affiliates.
66960   *
66961   * This source code is licensed under the MIT license found in the
66962   * LICENSE file in the root directory of this source tree.
66963   *)
66964  (**
66965   * Checks if an event is supported in the current execution environment.
66966   *
66967   * NOTE: This will not work correctly for non-generic events such as `change`,
66968   * `reset`, `load`, `error`, and `select`.
66969   *
66970   * Borrows from Modernizr.
66971   *
66972   * @param {string} eventNameSuffix Event name, e.g. "click".
66973   * @return {boolean} True if the event is supported.
66974   * @internal
66975   * @license Modernizr 3.0.0pre (Custom Build) | MIT
66976   *)
66977
66978react-is/cjs/react-is.development.js:
66979  (** @license React v16.13.1
66980   * react-is.development.js
66981   *
66982   * Copyright (c) Facebook, Inc. and its affiliates.
66983   *
66984   * This source code is licensed under the MIT license found in the
66985   * LICENSE file in the root directory of this source tree.
66986   *)
66987
66988classnames/index.js:
66989  (*!
66990  	Copyright (c) 2018 Jed Watson.
66991  	Licensed under the MIT License (MIT), see
66992  	http://jedwatson.github.io/classnames
66993  *)
66994
66995object-assign/index.js:
66996  (*
66997  object-assign
66998  (c) Sindre Sorhus
66999  @license MIT
67000  *)
67001
67002safe-buffer/index.js:
67003  (*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
67004
67005@fortawesome/fontawesome-svg-core/index.mjs:
67006  (*!
67007   * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
67008   * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
67009   * Copyright 2024 Fonticons, Inc.
67010   *)
67011
67012js-cookie/dist/js.cookie.mjs:
67013  (*! js-cookie v3.0.8 | MIT *)
67014
67015react-modal/lib/helpers/tabbable.js:
67016  (*!
67017   * Adapted from jQuery UI core
67018   *
67019   * http://jqueryui.com
67020   *
67021   * Copyright 2014 jQuery Foundation and other contributors
67022   * Released under the MIT license.
67023   * http://jquery.org/license
67024   *
67025   * http://api.jqueryui.com/category/ui-core/
67026   *)
67027
67028exenv/index.js:
67029  (*!
67030    Copyright (c) 2015 Jed Watson.
67031    Based on code that is Copyright 2013-2015, Facebook, Inc.
67032    All rights reserved.
67033  *)
67034
67035@fortawesome/pro-solid-svg-icons/index.mjs:
67036@fortawesome/pro-regular-svg-icons/index.mjs:
67037@fortawesome/pro-light-svg-icons/index.mjs:
67038  (*!
67039   * Font Awesome Pro 6.7.2 by @fontawesome - https://fontawesome.com
67040   * License - https://fontawesome.com/license (Commercial License)
67041   * Copyright 2024 Fonticons, Inc.
67042   *)
67043*/;

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.