PageSourceSearch

https://cdn.learnsql.com/lsc/26.2.7/js/react/MainPage.js

js learnsql.com collected 2026-10-02 02:52:26 UTC 344,167 bytes, 10,737 lines download raw bytes

1/******/ (() => { // webpackBootstrap
2/******/ 	var __webpack_modules__ = ({
3
4/***/ 1430:
5/***/ (function(module, exports) {
6
7var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(function(root, factory) {
8   true ? (
9    // AMD. Register as an anonymous module unless amdModuleId is set
10    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function() {
11      return root.svg4everybody = factory();
12    }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
13		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))
14  ) : 0;
15})(this, function() {
16  /*! svg4everybody v2.1.9 | github.com/jonathantneal/svg4everybody */
17  function embed(parent, svg, target) {
18    if (target) {
19      var fragment = document.createDocumentFragment(), viewBox = !svg.hasAttribute("viewBox") && target.getAttribute("viewBox");
20      viewBox && svg.setAttribute("viewBox", viewBox);
21      for (var clone = target.cloneNode(true); clone.childNodes.length; ) {
22        fragment.appendChild(clone.firstChild);
23      }
24      parent.appendChild(fragment);
25    }
26  }
27  function loadreadystatechange(xhr) {
28    xhr.onreadystatechange = function() {
29      if (4 === xhr.readyState) {
30        var cachedDocument = xhr._cachedDocument;
31        cachedDocument || (cachedDocument = xhr._cachedDocument = document.implementation.createHTMLDocument(""), cachedDocument.body.innerHTML = xhr.responseText, xhr._cachedTarget = {}), // clear the xhr embeds list and embed each item
32        xhr._embeds.splice(0).map(function(item) {
33          var target = xhr._cachedTarget[item.id];
34          target || (target = xhr._cachedTarget[item.id] = cachedDocument.getElementById(item.id)), // embed the target into the svg
35          embed(item.parent, item.svg, target);
36        });
37      }
38    }, // test the ready state change immediately
39    xhr.onreadystatechange();
40  }
41  function svg4everybody(rawopts) {
42    function oninterval() {
43      for (var index = 0; index < uses.length; ) {
44        var use = uses[index], parent = use.parentNode, svg = getSVGAncestor(parent), src = use.getAttribute("xlink:href") || use.getAttribute("href");
45        if (!src && opts.attributeName && (src = use.getAttribute(opts.attributeName)), svg && src) {
46          if (polyfill) {
47            if (!opts.validate || opts.validate(src, svg, use)) {
48              parent.removeChild(use);
49              var srcSplit = src.split("#"), url = srcSplit.shift(), id = srcSplit.join("#");
50              if (url.length) {
51                var xhr = requests[url];
52                xhr || (xhr = requests[url] = new XMLHttpRequest(), xhr.open("GET", url), xhr.send(), xhr._embeds = []), // add the svg and id as an item to the xhr embeds list
53                xhr._embeds.push({
54                  parent,
55                  svg,
56                  id
57                }), // prepare the xhr ready state change event
58                loadreadystatechange(xhr);
59              } else {
60                embed(parent, svg, document.getElementById(id));
61              }
62            } else {
63              ++index, ++numberOfSvgUseElementsToBypass;
64            }
65          }
66        } else {
67          ++index;
68        }
69      }
70      (!uses.length || uses.length - numberOfSvgUseElementsToBypass > 0) && requestAnimationFrame(oninterval, 67);
71    }
72    var polyfill, opts = Object(rawopts), newerIEUA = /\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/, webkitUA = /\bAppleWebKit\/(\d+)\b/, olderEdgeUA = /\bEdge\/12\.(\d+)\b/, edgeUA = /\bEdge\/.(\d+)\b/, inIframe = window.top !== window.self;
73    polyfill = "polyfill" in opts ? opts.polyfill : newerIEUA.test(navigator.userAgent) || (navigator.userAgent.match(olderEdgeUA) || [])[1] < 10547 || (navigator.userAgent.match(webkitUA) || [])[1] < 537 || edgeUA.test(navigator.userAgent) && inIframe;
74    var requests = {}, requestAnimationFrame = window.requestAnimationFrame || setTimeout, uses = document.getElementsByTagName("use"), numberOfSvgUseElementsToBypass = 0;
75    polyfill && oninterval();
76  }
77  function getSVGAncestor(node) {
78    for (var svg = node; "svg" !== svg.nodeName.toLowerCase() && (svg = svg.parentNode); ) {
79    }
80    return svg;
81  }
82  return svg4everybody;
83});
84
85
86/***/ }),
87
88/***/ 9645:
89/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
90
91"use strict";
92/* harmony export */ __webpack_require__.d(__webpack_exports__, {
93/* harmony export */   Jt: () => (/* binding */ get),
94/* harmony export */   bE: () => (/* binding */ post),
95/* harmony export */   hQ: () => (/* binding */ handleJson)
96/* harmony export */ });
97/* unused harmony exports put, del, timeoutPromise, reloadOn401, defaultErrorHandler, handleWithoutBody */
98/* harmony import */ var whatwg_fetch_fetch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32868);
99/* harmony import */ var whatwg_fetch_fetch__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(whatwg_fetch_fetch__WEBPACK_IMPORTED_MODULE_0__);
100/* harmony import */ var _common_logger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(88386);
101/* harmony import */ var _Admin_Common_api_helper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91737);
102
103
104
105function post(path, data, headers) {
106  return fetch("/api" + path, {
107    method: "POST",
108    headers: (0,_Admin_Common_api_helper__WEBPACK_IMPORTED_MODULE_2__/* .addInternalHeaders */ .J)(headers),
109    credentials: "same-origin",
110    body: JSON.stringify(data)
111  });
112}
113function put(path, data, headers) {
114  return fetch("/api" + path, {
115    method: "PUT",
116    headers: addInternalHeaders(headers),
117    credentials: "same-origin",
118    body: JSON.stringify(data)
119  });
120}
121function get(path, data, headers) {
122  return fetch("/api" + path, {
123    method: "GET",
124    headers: (0,_Admin_Common_api_helper__WEBPACK_IMPORTED_MODULE_2__/* .addInternalHeaders */ .J)(headers),
125    credentials: "same-origin"
126  });
127}
128function del(path, data, headers) {
129  if (!headers) {
130    headers = {};
131  }
132  return fetch("/api" + path, {
133    method: "DELETE",
134    headers: addInternalHeaders(headers),
135    credentials: "same-origin",
136    body: JSON.stringify(data)
137  });
138}
139function handleJson(response) {
140  if (response.ok) {
141    return response.json();
142  } else {
143    if (isJson(response.headers.get("Content-Type"))) {
144      return handleJsonError(response);
145    }
146    const errorInfo = responseDetails(response);
147    return Promise.reject(errorInfo);
148  }
149}
150function handleWithoutBody(response) {
151  if (response.ok) {
152    return Promise.resolve(response);
153  } else {
154    if (isJson(response.headers.get("Content-Type"))) {
155      return handleJsonError(response);
156    }
157    const errorInfo = responseDetails(response);
158    return Promise.reject(errorInfo);
159  }
160}
161function handleJsonError(response) {
162  const errorInfo = responseDetails(response);
163  return new Promise((resolve, reject) => {
164    response.json().then((data) => reject(Object.assign({}, {
165      errorType: "server",
166      data,
167      // for backward compatibility
168      httpStatus: errorInfo.status
169    }, errorInfo))).catch((error) => reject(Object.assign({}, {
170      errorType: "server",
171      data: error,
172      // for backward compatibility
173      httpStatus: errorInfo.status
174    }, errorInfo)));
175  });
176}
177function timeoutPromise(r, timeout = 500) {
178  return new Promise(() => {
179    setTimeout(() => {
180      r();
181    }, timeout);
182  });
183}
184function reloadOn401(response) {
185  if (response.status == 401) {
186    window.location.reload();
187    const errorInfo = responseDetails(response);
188    return Promise.reject(errorInfo);
189  }
190  return Promise.resolve(response);
191}
192function responseDetails(response) {
193  return {
194    url: response.url,
195    status: response.status,
196    statusText: response.statusText
197  };
198}
199function defaultErrorHandler(error) {
200  if (error.status == 401) {
201    return;
202  }
203  if (error.data) {
204    console.error(error.data);
205  }
206  let dumpResponse = "";
207  try {
208    dumpResponse = JSON.stringify(error, null, 2);
209  } catch (e) {
210    dumpResponse = "Can't parse error data to JSON.";
211  }
212  logger.error(dumpResponse);
213}
214const JSON_TYPE = "application/json";
215function isJson(type) {
216  return (type || "").startsWith(JSON_TYPE);
217}
218
219
220
221/***/ }),
222
223/***/ 21957:
224/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
225
226"use strict";
227/* harmony export */ __webpack_require__.d(__webpack_exports__, {
228/* harmony export */   IF: () => (/* binding */ getFlashSaleData),
229/* harmony export */   Jn: () => (/* binding */ formatCalculatedTime),
230/* harmony export */   Ye: () => (/* binding */ calculateTime),
231/* harmony export */   to: () => (/* binding */ getFlashSaleTimerData)
232/* harmony export */ });
233/* harmony import */ var _common_api_helper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9645);
234/* harmony import */ var _common_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(47578);
235
236
237let fetchFlashSaleDataPromise;
238const getFlashSaleTimerData = (remainingTime) => {
239  const currentTime = (/* @__PURE__ */ new Date()).getTime();
240  const finishTime = currentTime + remainingTime;
241  return {
242    currentTime,
243    finishTime
244  };
245};
246const getFlashSaleData = () => {
247  if (!fetchFlashSaleDataPromise) {
248    fetchFlashSaleDataPromise = (0,_common_api_helper__WEBPACK_IMPORTED_MODULE_0__/* .get */ .Jt)("/v1/fulmvendo").then(_common_api_helper__WEBPACK_IMPORTED_MODULE_0__/* .handleJson */ .hQ).c
248atch((error) => {
249      throw Error("Error while fetching FlashSale", { cause: error });
250    });
251  }
252  return fetchFlashSaleDataPromise;
253};
254const calculateTime = (finishTime, currentTime) => {
255  const diffInMillis = finishTime - currentTime;
256  if (diffInMillis < 0) {
257    return {
258      days: 0,
259      hours: 0,
260      minutes: 0,
261      seconds: 0
262    };
263  }
264  const secondsToDeadline = diffInMillis / 1e3;
265  let hours = Math.floor(secondsToDeadline / 3600);
266  const secondsInHour = secondsToDeadline - hours * 3600;
267  const minutes = Math.floor(secondsInHour / 60);
268  const seconds = Math.floor(secondsInHour % 60);
269  let days = 0;
270  if (hours > 48) {
271    days = Math.floor(hours / 24);
272    hours = hours - days * 24;
273  }
274  return {
275    days,
276    hours,
277    minutes,
278    seconds
279  };
280};
281const formatTime = (unit) => `0${unit}`.slice(-2);
282const formatCalculatedTime = (t) => {
283  const { days, hours, minutes, seconds } = t;
284  if (days == 0) {
285    return _common_i18n__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A.format("common.flash_sale.time_left", hours + "", formatTime(minutes), formatTime(seconds));
286  }
287  return _common_i18n__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A.format("common.flash_sale.time_left_with_days", days + "", hours + "", formatTime(minutes), formatTime(seconds));
288};
289
290
291/***/ }),
292
293/***/ 24397:
294/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
295
296"use strict";
297
298function checkDCE() {
299  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === "undefined" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== "function") {
300    return;
301  }
302  if (false) // removed by dead control flow
303{}
304  try {
305    __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
306  } catch (err) {
307    console.error(err);
308  }
309}
310if (true) {
311  checkDCE();
312  module.exports = __webpack_require__(91163);
313} else // removed by dead control flow
314{}
315
316
317/***/ }),
318
319/***/ 26035:
320/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
321
322"use strict";
323/* harmony export */ __webpack_require__.d(__webpack_exports__, {
324/* harmony export */   A: () => (/* binding */ addTabGidHeader),
325/* harmony export */   I: () => (/* binding */ getTabGid)
326/* harmony export */ });
327function getTabGid() {
328  if (window["tabGid"] == void 0) {
329    return "na";
330  }
331  return window["tabGid"];
332}
333function addTabGidHeader(headers) {
334  headers["x-lsc-tabGid"] = getTabGid();
335  return headers;
336}
337
338
339
340/***/ }),
341
342/***/ 32868:
343/***/ (function() {
344
345(function(self2) {
346  "use strict";
347  if (self2.fetch) {
348    return;
349  }
350  var support = {
351    searchParams: "URLSearchParams" in self2,
352    iterable: "Symbol" in self2 && "iterator" in Symbol,
353    blob: "FileReader" in self2 && "Blob" in self2 && (function() {
354      try {
355        new Blob();
356        return true;
357      } catch (e) {
358        return false;
359      }
360    })(),
361    formData: "FormData" in self2,
362    arrayBuffer: "ArrayBuffer" in self2
363  };
364  if (support.arrayBuffer) {
365    var viewClasses = [
366      "[object Int8Array]",
367      "[object Uint8Array]",
368      "[object Uint8ClampedArray]",
369      "[object Int16Array]",
370      "[object Uint16Array]",
371      "[object Int32Array]",
372      "[object Uint32Array]",
373      "[object Float32Array]",
374      "[object Float64Array]"
375    ];
376    var isDataView = function(obj) {
377      return obj && DataView.prototype.isPrototypeOf(obj);
378    };
379    var isArrayBufferView = ArrayBuffer.isView || function(obj) {
380      return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1;
381    };
382  }
383  function normalizeName(name) {
384    if (typeof name !== "string") {
385      name = String(name);
386    }
387    if (/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(name)) {
388      throw new TypeError("Invalid character in header field name");
389    }
390    return name.toLowerCase();
391  }
392  function normalizeValue(value) {
393    if (typeof value !== "string") {
394      value = String(value);
395    }
396    return value;
397  }
398  function iteratorFor(items) {
399    var iterator = {
400      next: function() {
401        var value = items.shift();
402        return { done: value === void 0, value };
403      }
404    };
405    if (support.iterable) {
406      iterator[Symbol.iterator] = function() {
407        return iterator;
408      };
409    }
410    return iterator;
411  }
412  function Headers(headers) {
413    this.map = {};
414    if (headers instanceof Headers) {
vendor: 10,556 bytes, lines 415-732
415      headers.forEach(function(value, name) {
416        this.append(name, value);
417      }, this);
418    } else if (Array.isArray(headers)) {
419      headers.forEach(function(header) {
420        this.append(header[0], header[1]);
421      }, this);
422    } else if (headers) {
423      Object.getOwnPropertyNames(headers).forEach(function(name) {
424        this.append(name, headers[name]);
425      }, this);
426    }
427  }
428  Headers.prototype.append = function(name, value) {
429    name = normalizeName(name);
430    value = normalizeValue(value);
431    var oldValue = this.map[name];
432    this.map[name] = oldValue ? oldValue + "," + value : value;
433  };
434  Headers.prototype["delete"] = function(name) {
435    delete this.map[normalizeName(name)];
436  };
437  Headers.prototype.get = function(name) {
438    name = normalizeName(name);
439    return this.has(name) ? this.map[name] : null;
440  };
441  Headers.prototype.has = function(name) {
442    return this.map.hasOwnProperty(normalizeName(name));
443  };
444  Headers.prototype.set = function(name, value) {
445    this.map[normalizeName(name)] = normalizeValue(value);
446  };
447  Headers.prototype.forEach = function(callback, thisArg) {
448    for (var name in this.map) {
449      if (this.map.hasOwnProperty(name)) {
450        callback.call(thisArg, this.map[name], name, this);
451      }
452    }
453  };
454  Headers.prototype.keys = function() {
455    var items = [];
456    this.forEach(function(value, name) {
457      items.push(name);
458    });
459    return iteratorFor(items);
460  };
461  Headers.prototype.values = function() {
462    var items = [];
463    this.forEach(function(value) {
464      items.push(value);
465    });
466    return iteratorFor(items);
467  };
468  Headers.prototype.entries = function() {
469    var items = [];
470    this.forEach(function(value, name) {
471      items.push([name, value]);
472    });
473    return iteratorFor(items);
474  };
475  if (support.iterable) {
476    Headers.prototype[Symbol.iterator] = Headers.prototype.entries;
477  }
478  function consumed(body) {
479    if (body.bodyUsed) {
480      return Promise.reject(new TypeError("Already read"));
481    }
482    body.bodyUsed = true;
483  }
484  function fileReaderReady(reader) {
485    return new Promise(function(resolve, reject) {
486      reader.onload = function() {
487        resolve(reader.result);
488      };
489      reader.onerror = function() {
490        reject(reader.error);
491      };
492    });
493  }
494  function readBlobAsArrayBuffer(blob) {
495    var reader = new FileReader();
496    var promise = fileReaderReady(reader);
497    reader.readAsArrayBuffer(blob);
498    return promise;
499  }
500  function readBlobAsText(blob) {
501    var reader = new FileReader();
502    var promise = fileReaderReady(reader);
503    reader.readAsText(blob);
504    return promise;
505  }
506  function readArrayBufferAsText(buf) {
507    var view = new Uint8Array(buf);
508    var chars = new Array(view.length);
509    for (var i = 0; i < view.length; i++) {
510      chars[i] = String.fromCharCode(view[i]);
511    }
512    return chars.join("");
513  }
514  function bufferClone(buf) {
515    if (buf.slice) {
516      return buf.slice(0);
517    } else {
518      var view = new Uint8Array(buf.byteLength);
519      view.set(new Uint8Array(buf));
520      return view.buffer;
521    }
522  }
523  function Body() {
524    this.bodyUsed = false;
525    this._initBody = function(body) {
526      this._bodyInit = body;
527      if (!body) {
528        this._bodyText = "";
529      } else if (typeof body === "string") {
530        this._bodyText = body;
531      } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {
532        this._bodyBlob = body;
533      } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {
534        this._bodyFormData = body;
535      } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {
536        this._bodyText = body.toString();
537      } else if (support.arrayBuffer && support.blob && isDataView(body)) {
538        this._bodyArrayBuffer = bufferClone(body.buffer);
539        this._bodyInit = new Blob([this._bodyArrayBuffer]);
540      } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {
541        this._bodyArrayBuffer = bufferClone(body);
542      } else {
543        throw new Error("unsupported BodyInit type");
544      }
545      if (!this.headers.get("content-type")) {
546        if (typeof body === "string") {
547          this.headers.set("content-type", "text/plain;charset=UTF-8");
548        } else if (this._bodyBlob && this._bodyBlob.type) {
549          this.headers.set("content-type", this._bodyBlob.type);
550        } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {
551          this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8");
552        }
553      }
554    };
555    if (support.blob) {
556      this.blob = function() {
557        var rejected = consumed(this);
558        if (rejected) {
559          return rejected;
560        }
561        if (this._bodyBlob) {
562          return Promise.resolve(this._bodyBlob);
563        } else if (this._bodyArrayBuffer) {
564          return Promise.resolve(new Blob([this._bodyArrayBuffer]));
565        } else if (this._bodyFormData) {
566          throw new Error("could not read FormData body as blob");
567        } else {
568          return Promise.resolve(new Blob([this._bodyText]));
569        }
570      };
571      this.arrayBuffer = function() {
572        if (this._bodyArrayBuffer) {
573          return consumed(this) || Promise.resolve(this._bodyArrayBuffer);
574        } else {
575          return this.blob().then(readBlobAsArrayBuffer);
576        }
577      };
578    }
579    this.text = function() {
580      var rejected = consumed(this);
581      if (rejected) {
582        return rejected;
583      }
584      if (this._bodyBlob) {
585        return readBlobAsText(this._bodyBlob);
586      } else if (this._bodyArrayBuffer) {
587        return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer));
588      } else if (this._bodyFormData) {
589        throw new Error("could not read FormData body as text");
590      } else {
591        return Promise.resolve(this._bodyText);
592      }
593    };
594    if (support.formData) {
595      this.formData = function() {
596        return this.text().then(decode);
597      };
598    }
599    this.json = function() {
600      return this.text().then(JSON.parse);
601    };
602    return this;
603  }
604  var methods = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"];
605  function normalizeMethod(method) {
606    var upcased = method.toUpperCase();
607    return methods.indexOf(upcased) > -1 ? upcased : method;
608  }
609  function Request(input, options) {
610    options = options || {};
611    var body = options.body;
612    if (input instanceof Request) {
613      if (input.bodyUsed) {
614        throw new TypeError("Already read");
615      }
616      this.url = input.url;
617      this.credentials = input.credentials;
618      if (!options.headers) {
619        this.headers = new Headers(input.headers);
620      }
621      this.method = input.method;
622      this.mode = input.mode;
623      if (!body && input._bodyInit != null) {
624        body = input._bodyInit;
625        input.bodyUsed = true;
626      }
627    } else {
628      this.url = String(input);
629    }
630    this.credentials = options.credentials || this.credentials || "omit";
631    if (options.headers || !this.headers) {
632      this.headers = new Headers(options.headers);
633    }
634    this.method = normalizeMethod(options.method || this.method || "GET");
635    this.mode = options.mode || this.mode || null;
636    this.referrer = null;
637    if ((this.method === "GET" || this.method === "HEAD") && body) {
638      throw new TypeError("Body not allowed for GET or HEAD requests");
639    }
640    this._initBody(body);
641  }
642  Request.prototype.clone = function() {
643    return new Request(this, { body: this._bodyInit });
644  };
645  function decode(body) {
646    var form = new FormData();
647    body.trim().split("&").forEach(function(bytes) {
648      if (bytes) {
649        var split = bytes.split("=");
650        var name = split.shift().replace(/\+/g, " ");
651        var value = split.join("=").replace(/\+/g, " ");
652        form.append(decodeURIComponent(name), decodeURIComponent(value));
653      }
654    });
655    return form;
656  }
657  function parseHeaders(rawHeaders) {
658    var headers = new Headers();
659    rawHeaders.split(/\r?\n/).forEach(function(line) {
660      var parts = line.split(":");
661      var key = parts.shift().trim();
662      if (key) {
663        var value = parts.join(":").trim();
664        headers.append(key, value);
665      }
666    });
667    return headers;
668  }
669  Body.call(Request.prototype);
670  function Response(bodyInit, options) {
671    if (!options) {
672      options = {};
673    }
674    this.type = "default";
675    this.status = "status" in options ? options.status : 200;
676    this.ok = this.status >= 200 && this.status < 300;
677    this.statusText = "statusText" in options ? options.statusText : "OK";
678    this.headers = new Headers(options.headers);
679    this.url = options.url || "";
680    this._initBody(bodyInit);
681  }
682  Body.call(Response.prototype);
683  Response.prototype.clone = function() {
684    return new Response(this._bodyInit, {
685      status: this.status,
686      statusText: this.statusText,
687      headers: new Headers(this.headers),
688      url: this.url
689    });
690  };
691  Response.error = function() {
692    var response = new Response(null, { status: 0, statusText: "" });
693    response.type = "error";
694    return response;
695  };
696  var redirectStatuses = [301, 302, 303, 307, 308];
697  Response.redirect = function(url, status) {
698    if (redirectStatuses.indexOf(status) === -1) {
699      throw new RangeError("Invalid status code");
700    }
701    return new Response(null, { status, headers: { location: url } });
702  };
703  self2.Headers = Headers;
704  self2.Request = Request;
705  self2.Response = Response;
706  self2.fetch = function(input, init) {
707    return new Promise(function(resolve, reject) {
708      var request = new Request(input, init);
709      var xhr = new XMLHttpRequest();
710      xhr.onload = function() {
711        var options = {
712          status: xhr.status,
713          statusText: xhr.statusText,
714          headers: parseHeaders(xhr.getAllResponseHeaders() || "")
715        };
716        options.url = "responseURL" in xhr ? xhr.responseURL : options.headers.get("X-Request-URL");
717        var body = "response" in xhr ? xhr.response : xhr.responseText;
718        resolve(new Response(body, options));
719      };
720      xhr.onerror = function() {
721        reject(new TypeError("Network request failed"));
722      };
723      xhr.ontimeout = function() {
724        reject(new TypeError("Network request failed"));
725      };
726      xhr.open(request.method, request.url, true);
727      if (request.credentials === "include") {
728        xhr.withCredentials = true;
729      }
730      if ("responseType" in xhr && support.blob) {
731        xhr.responseType = "blob";
732      }
733      request.headers.forEach(function(value, name) {
734        xhr.setRequestHeader(name, value);
735      });
736      xhr.send(typeof request._bodyInit === "undefined" ? null : request._bodyInit);
737    });
738  };
739  self2.fetch.polyfill = true;
740})(typeof self !== "undefined" ? self : this);
741
742
743/***/ }),
744
745/***/ 40018:
746/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
747
748"use strict";
749
750if (true) {
751  module.exports = __webpack_require__(77563);
752} else // removed by dead control flow
753{}
754
755
756/***/ }),
757
758/***/ 43738:
759/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
760
761"use strict";
762
763// EXPORTS
764__webpack_require__.d(__webpack_exports__, {
765  initFlashSaleBox: () => (/* binding */ initFlashSaleBox),
766  initFlashSaleCounter: () => (/* binding */ initFlashSaleCounter)
767});
768
769// EXTERNAL MODULE: ./js/common/ResourcePrefix.ts
770var ResourcePrefix = __webpack_require__(75578);
771// EXTERNAL MODULE: ./js/common/i18n.ts
772var i18n = __webpack_require__(47578);
773// EXTERNAL MODULE: ./js/assessment_task/Timer.ts
774var Timer = __webpack_require__(52852);
775// EXTERNAL MODULE: ./js/flash-sale-box/flash-sale.ts
776var flash_sale = __webpack_require__(21957);
777;// ./js/flash-sale-box/FlashSaleBox.ts
778var __defProp = Object.defineProperty;
779var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
780var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
781
782
783
784
785const SHOW_DELAY = 2e3;
786const createElement = function(tag, classes, ids) {
787  const newElement = document.createElement(tag);
788  if (classes) {
789    classes.split(" ").forEach((htmlClass) => {
790      htmlClass.trim() && newElement.classList.add(htmlClass.trim());
791    });
792  }
793  if (ids) {
794    ids.split(" ").forEach((htmlId) => {
795      newElement.id += htmlId + " ";
796    });
797  }
798  return newElement;
799};
800const FLASH_SALE_BOX_CLOSED_KEY = "isFlashSaleBoxClosed";
801const delayPromise = (delay) => new Promise((resolve) => setTimeout(resolve, delay));
802class FlashSaleBox {
803  constructor(parent) {
804    __publicField(this, "parent");
805    __publicField(this, "rootElement", null);
806    __publicField(this, "timerElement", null);
807    __publicField(this, "state");
808    __publicField(this, "timer", null);
809    __publicField(this, "setState", (partialState) => {
810      this.state = Object.assign({}, this.state, partialState);
811      this.renderComponent();
812    });
813    __publicField(this, "timerCallback", (data) => {
814      const t = (0,flash_sale/* calculateTime */.Ye)(data.finishTime, data.currentTime);
815      const { days, hours, minutes, seconds } = t;
816      if (hours === 0 && minutes === 0 && seconds === 0) {
817        this.close();
818        return;
819      }
820      if (this.timerElement) {
821        const placeholder = days === 0 ? i18n/* default */.A.format("common.flash_sale.time_left", hours + "", "00", "00") : i18n/* default */.A.format("common.flash_sale.time_left_with_days", days + "", hours + "", "00", "00");
822        this.timerElement.innerHTML = `${(0,flash_sale/* formatCalculatedTime */.Jn)(t)}<span class="flash-sale-box__timerPlaceholder" aria-hidden="true">${placeholder}</span>`;
823      }
824    });
825    __publicField(this, "onClose", () => {
826      window.sessionStorage.setItem(FLASH_SALE_BOX_CLOSED_KEY, "true");
827      this.close();
828    });
829    __publicField(this, "handleRedirect", () => {
830      window.location.href = this.state.promoUrl;
831    });
832    this.parent = parent;
833    this.state = {
834      visible: false,
835      closed: false,
836      name: "",
837      description: "",
838      promoUrl: "",
839      currentTime: NaN,
840      finishTime: NaN,
841      discountInPercentage: null
842    };
843    this.init();
844  }
845  renderComponent() {
846    const hasRootElement = !!this.rootElement;
847    const el = this.render();
848    if (el) {
849      if (!hasRootElement) {
850        this.parent.appendChild(el);
851      }
852    } else {
853      if (this.rootElement) {
854        this.parent.removeChild(this.rootElement);
855        this.rootElement = null;
856      }
857    }
858  }
859  close() {
860    var _a;
861    (_a = this.timer) == null ? void 0 : _a.stop();
862    this.setState({ closed: true });
863  }
864  init() {
865    if (window.sessionStorage.getItem(FLASH_SALE_BOX_CLOSED_KEY) !== "true") {
866      this.renderComponent();
867      Promise.all([
868        delayPromise(SHOW_DELAY),
869        (0,flash_sale/* getFlashSaleData */.IF)()
870      ]).then(([, flashSaleResp]) => {
871        if (!flashSaleResp.isFlashSaleActive) {
872          return;
873        }
874        const flashSaleActive = flashSaleResp;
875        const currentTime = (/* @__PURE__ */ new Date()).getTime();
876        const finishTime = currentTime + flashSaleResp.flashSaleRemainingTime;
877        this.setState({
878          name: flashSaleActive.name,
879          description: flashSaleActive.description,
880          promoUrl: flashSaleActive.promoUrl,
881          visible: flashSaleActive.isFlashSaleActive,
882          currentTime,
883          finishTime,
884          discountInPercentage: flashSaleResp.discountInPercentage
885        });
886        this.timer = new Timer/* default */.A(
887          currentTime,
888          finishTime,
889          this.timerCallback
890        );
891      });
892    }
893  }
894  getPromoNameHTML(name, deadlineTsUtc, currentTime) {
895    const { days, hours } = (0,flash_sale/* calculateTime */.Ye)(deadlineTsUtc, currentTime);
896    let label = "";
897    let value = "";
898    if (days == 0) {
899      switch (hours) {
900        case 0:
901          label = "common.flash_sale.duration_label.minutes";
902          break;
903        case 1:
904          label = "common.flash_sale.duration_label.one_hour";
905          break;
906        default:
907          label = "common.flash_sale.duration_label.hours";
908      }
909      value = hours + "";
910    } else {
911      label = "common.flash_sale.duration_label.days";
912      value = days + "";
913    }
914    return `<span class="flash-sale-box__name">${name} - <span class='flash-sale-box__duration'>${i18n/* default */.A.format(label, value)}</span></span>`;
915  }
916  getTimerElement() {
917    return createElement("span", "flash-sale-box__timer");
918  }
919  render() {
920    var _a, _b, _c, _d, _e, _f;
921    const getRootElement = () => {
922      const rootElement = this.rootElement || createElement("div", "flash-sale-box__wrapper");
923      rootElement.classList.toggle("state-collapsed", !this.state.visible);
924      return this.rootElement = rootElement;
925    };
926    (_a = document.querySelector(".container")) == null ? void 0 : _a.classList.toggle("flash-sale-show", this.state.visible);
927    this.timerElement = null;
928    if (this.state.closed) {
929      return null;
930    }
931    const discount = this.state.discountInPercentage ? this.state.discountInPercentage + "" : "";
932    const el = getRootElement();
933    el.innerHTML = `<div class='flash-sale-box redesign'>
934            <p class='flash-sale-box__badgeWrapper'>
935                ${discount ? `<span class='flash-sale-box__badge'>${i18n/* default */.A.format("common.flash_sale.badge", discount)}</span>` : ""}
936            </p>
937            <p class='flash-sale-box__content'>
938                ${this.getPromoNameHTML(this.state.name, this.state.finishTime, this.state.currentTime)}
939                <span class='flash-sale-box__description'>
940                    ${this.state.description}
941                </span>
942            </p>
943            <p class='flash-sale-box__countdown'></p>
944            <button class='flash-sale-box__close-button' aria-label="Close">
945                <svg role='img'
946                    xmlns="http://www.w3.org/2000/svg"
947                    xmlns:xlink="http://www.w3.org/1999/xlink"
948                    class="flash-sale-box__close-icon icon icon--ico_close"
949                    color="white">
950                    <use xlink:href=${ResourcePrefix/* RESOURCE_PREFIX */.e}/img/sprite.svg#ico_close></use>
951                </svg>
952        </div>`;
953    if (this.state.visible) {
954      this.timerElement = this.getTimerElement();
955      (_b = el.querySelector(".flash-sale-box__countdown")) == null ? void 0 : _b.insertAdjacentElement("beforeend", this.timerElement);
956      (_c = el.querySelector(".flash-sale-box__close-button")) == null ? void 0 : _c.addEventListener("click", (event) => event.stopPropagation());
957      (_d = el.querySelector(".flash-sale-box__close-button")) == null ? void 0 : _d.addEventListener("click", this.onClose);
958      if (this.state.promoUrl) {
959        (_e = el.querySelector(".flash-sale-box")) == null ? void 0 : _e.addEventListener("click", this.handleRedirect);
960        (_f = el.querySelector(".flash-sale-box")) == null ? void 0 : _f.classList.add("flash-sale-box__clickable");
961      }
962    }
963    return el;
964  }
965}
966/* harmony default export */ const flash_sale_box_FlashSaleBox = (FlashSaleBox);
967
968;// ./js/flash-sale-box/init.ts
969
970
971
972
973function initFlashSaleBox(contentRootId, atBottom) {
974  const container = document.getElementById(contentRootId);
975  if (container) {
976    if (atBottom) {
977      const relocateContainer = document.querySelector("body");
978      relocateContainer == null ? void 0 : relocateContainer.appendChild(container);
979      container.classList.add("sticky");
980      container.classList.add("flash-sale-box--bottom");
981    }
982    new flash_sale_box_FlashSaleBox(container);
983  }
984}
985function initFlashSaleCounter(millisecondsLeft, containerSelector) {
986  document.querySelectorAll(containerSelector).forEach((el) => {
987    if (millisecondsLeft > 0) {
988      const timerData = (0,flash_sale/* getFlashSaleTimerData */.to)(millisecondsLeft);
989      const timer = new Timer/* default */.A(
990        timerData.currentTime,
991        timerData.finishTime,
992        ({ currentTime, finishTime }) => {
993          el.innerHTML = (0,flash_sale/* formatCalculatedTime */.Jn)((0,flash_sale/* calculateTime */.Ye)(finishTime, currentTime));
994          if (currentTime >= finishTime) {
995            timer.stop();
996          }
997        }
998      );
999    } else {
1000      if (el.parentElement) {
1001        el.parentElement.style.display = "none";
1002      }
1003    }
1004  });
1005}
1006
1007
1008/***/ }),
1009
1010/***/ 47578:
1011/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1012
1013"use strict";
1014/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1015/* harmony export */   A: () => (__WEBPACK_DEFAULT_EXPORT__)
1016/* harmony export */ });
1017class I18N {
1018  get(key) {
1019    const res = window["lscI18N"][key];
1020    if (res == void 0) {
1021      throw Error("No such i18n key: " + key);
1022    }
1023    return res;
1024  }
1025  format(key, ...args) {
1026    let pattern = this.get(key);
1027    for (let i = 0; i < args.length; i++) {
1028      const re = new RegExp("\\{" + i + "\\}", "g");
1029      pattern = pattern.replace(re, args[i]);
1030    }
1031    return pattern;
1032  }
1033}
1034const i18n = new I18N();
1035/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (i18n);
1036
1037
1038/***/ }),
1039
1040/***/ 52568:
1041/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1042
1043"use strict";
1044
1045if (true) {
1046  module.exports = __webpack_require__(70139);
1047} else // removed by dead control flow
1048{}
1049
1050
1051/***/ }),
1052
1053/***/ 52852:
1054/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1055
1056"use strict";
1057/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1058/* harmony export */   A: () => (/* binding */ Timer)
1059/* harmony export */ });
1060var __defProp = Object.defineProperty;
1061var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1062var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
1063class Timer {
1064  constructor(currentTime, finishTime, callback, autoStart = true) {
1065    __publicField(this, "lastCall");
1066    __publicField(this, "lastTime");
1067    __publicField(this, "intervalId");
1068    __publicField(this, "stop", () => {
1069      if (this.intervalId) {
1070        clearInterval(this.intervalId);
1071        this.intervalId = void 0;
1072      }
1073    });
1074    const getCallBackData = () => ({ currentTime: this.lastTime, finishTime });
1075    this.lastTime = currentTime;
1076    this.lastCall = 0;
1077    this.callTimer();
1078    callback(getCallBackData());
1079    if (autoStart) {
1080      this.intervalId = setInterval(() => {
1081        this.callTimer();
1082        callback(getCallBackData());
1083      }, 1e3);
1084    }
1085  }
1086  callTimer() {
1087    const currentDate = new Date(this.lastTime);
1088    const now = performance.now();
1089    const timeDiff = now - this.lastCall;
1090    this.lastCall = now;
1091    currentDate.setTime(currentDate.getTime() + timeDiff);
1092    this.lastTime = currentDate.getTime();
1093  }
1094}
1095
1096
1097/***/ }),
1098
1099/***/ 70139:
1100/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1101
1102"use strict";
1103
1104/** @license React v16.13.1
1105 * react.production.min.js
1106 *
1107 * Copyright (c) Facebook, Inc. and its affiliates.
1108 *
1109 * This source code is licensed under the MIT license found in the
1110 * LICENSE file in the root directory of this source tree.
1111 */
1112var l = __webpack_require__(71032), n = "function" === typeof Symbol && Symbol.for, p = n ? Symbol.for("react.element") : 60103, q = n ? Symbol.for("react.portal") : 60106, r = n ? Symbol.for("react.fragment") : 60107, t = n ? Symbol.for("react.strict_mode") : 60108, u = n ? Symbol.for("react.profiler") : 60114, v = n ? Symbol.for("react.provider") : 60109, w = n ? Symbol.for("react.context") : 60110, x = n ? Symbol.for("react.forward_ref") : 60112, y = n ? Symbol.for("react.suspense") 
1112: 60113, z = n ? Symbol.for("react.memo") : 60115, A = n ? Symbol.for("react.lazy") : 60116, B = "function" === typeof Symbol && Symbol.iterator;
1113function C(a) {
1114  for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++) b += "&args[]=" + encodeURIComponent(arguments[c]);
1115  return "Minified React error #" + a + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
1116}
1117var D = { isMounted: function() {
1118  return false;
1119}, enqueueForceUpdate: function() {
1120}, enqueueReplaceState: function() {
1121}, enqueueSetState: function() {
1122} }, E = {};
1123function F(a, b, c) {
1124  this.props = a;
1125  this.context = b;
1126  this.refs = E;
1127  this.updater = c || D;
1128}
1129F.prototype.isReactComponent = {};
1130F.prototype.setState = function(a, b) {
1131  if ("object" !== typeof a && "function" !== typeof a && null != a) throw Error(C(85));
1132  this.updater.enqueueSetState(this, a, b, "setState");
1133};
1134F.prototype.forceUpdate = function(a) {
1135  this.updater.enqueueForceUpdate(this, a, "forceUpdate");
1136};
1137function G() {
1138}
1139G.prototype = F.prototype;
1140function H(a, b, c) {
1141  this.props = a;
1142  this.context = b;
1143  this.refs = E;
1144  this.updater = c || D;
1145}
1146var I = H.prototype = new G();
1147I.constructor = H;
1148l(I, F.prototype);
1149I.isPureReactComponent = true;
1150var J = { current: null }, K = Object.prototype.hasOwnProperty, L = { key: true, ref: true, __self: true, __source: true };
1151function M(a, b, c) {
1152  var e, d = {}, g = null, k = null;
1153  if (null != b) for (e in void 0 !== b.ref && (k = b.ref), void 0 !== b.key && (g = "" + b.key), b) K.call(b, e) && !L.hasOwnProperty(e) && (d[e] = b[e]);
1154  var f = arguments.length - 2;
1155  if (1 === f) d.children = c;
1156  else if (1 < f) {
1157    for (var h = Array(f), m = 0; m < f; m++) h[m] = arguments[m + 2];
1158    d.children = h;
1159  }
1160  if (a && a.defaultProps) for (e in f = a.defaultProps, f) void 0 === d[e] && (d[e] = f[e]);
1161  return { $$typeof: p, type: a, key: g, ref: k, props: d, _owner: J.current };
1162}
1163function N(a, b) {
1164  return { $$typeof: p, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner };
1165}
1166function O(a) {
1167  return "object" === typeof a && null !== a && a.$$typeof === p;
1168}
1169function escape(a) {
1170  var b = { "=": "=0", ":": "=2" };
1171  return "$" + ("" + a).replace(/[=:]/g, function(a2) {
1172    return b[a2];
1173  });
1174}
1175var P = /\/+/g, Q = [];
1176function R(a, b, c, e) {
1177  if (Q.length) {
1178    var d = Q.pop();
1179    d.result = a;
1180    d.keyPrefix = b;
1181    d.func = c;
1182    d.context = e;
1183    d.count = 0;
1184    return d;
1185  }
1186  return { result: a, keyPrefix: b, func: c, context: e, count: 0 };
1187}
1188function S(a) {
1189  a.result = null;
1190  a.keyPrefix = null;
1191  a.func = null;
1192  a.context = null;
1193  a.count = 0;
1194  10 > Q.length && Q.push(a);
1195}
1196function T(a, b, c, e) {
1197  var d = typeof a;
1198  if ("undefined" === d || "boolean" === d) a = null;
1199  var g = false;
1200  if (null === a) g = true;
1201  else switch (d) {
1202    case "string":
1203    case "number":
1204      g = true;
1205      break;
1206    case "object":
1207      switch (a.$$typeof) {
1208        case p:
1209        case q:
1210          g = true;
1211      }
1212  }
1213  if (g) return c(e, a, "" === b ? "." + U(a, 0) : b), 1;
1214  g = 0;
1215  b = "" === b ? "." : b + ":";
1216  if (Array.isArray(a)) for (var k = 0; k < a.length; k++) {
1217    d = a[k];
1218    var f = b + U(d, k);
1219    g += T(d, f, c, e);
1220  }
1221  else if (null === a || "object" !== typeof a ? f = null : (f = B && a[B] || a["@@iterator"], f = "function" === typeof f ? f : null), "function" === typeof f) for (a = f.call(a), k = 0; !(d = a.next()).done; ) d = d.value, f = b + U(d, k++), g += T(d, f, c, e);
1222  else if ("object" === d) throw c = "" + a, Error(C(31, "[object Object]" === c ? "object with keys {" + Object.keys(a).join(", ") + "}" : c, ""));
1223  return g;
1224}
1225function V(a, b, c) {
1226  return null == a ? 0 : T(a, "", b, c);
1227}
1228function U(a, b) {
1229  return "object" === typeof a && null !== a && null != a.key ? escape(a.key) : b.toString(36);
1230}
1231function W(a, b) {
1232  a.func.call(a.context, b, a.count++);
1233}
1234function aa(a, b, c) {
1235  var e = a.result, d = a.keyPrefix;
1236  a = a.func.call(a.context, b, a.count++);
1237  Array.isArray(a) ? X(a, e, c, function(a2) {
1238    return a2;
1239  }) : null != a && (O(a) && (a = N(a, d + (!a.key || b && b.key === a.key ? "" : ("" + a.key).replace(P, "$&/") + "/") + c)), e.push(a));
1240}
1241function X(a, b, c, e, d) {
1242  var g = "";
1243  null != c && (g = ("" + c).replace(P, "$&/") + "/");
1244  b = R(b, g, e, d);
1245  V(a, aa, b);
1246  S(b);
1247}
1248var Y = { current: null };
1249function Z() {
1250  var a = Y.current;
1251  if (null === a) throw Error(C(321));
1252  return a;
1253}
1254var ba = { ReactCurrentDispatcher: Y, ReactCurrentBatchConfig: { suspense: null }, ReactCurrentOwner: J, IsSomeRendererActing: { current: false }, assign: l };
1255exports.Children = { map: function(a, b, c) {
1256  if (null == a) return a;
1257  var e = [];
1258  X(a, e, null, b, c);
1259  return e;
1260}, forEach: function(a, b, c) {
1261  if (null == a) return a;
1262  b = R(null, null, b, c);
1263  V(a, W, b);
1264  S(b);
1265}, count: function(a) {
1266  return V(a, function() {
1267    return null;
1268  }, null);
1269}, toArray: function(a) {
1270  var b = [];
1271  X(a, b, null, function(a2) {
1272    return a2;
1273  });
1274  return b;
1275}, only: function(a) {
1276  if (!O(a)) throw Error(C(143));
1277  return a;
1278} };
1279exports.Component = F;
1280exports.Fragment = r;
1281exports.Profiler = u;
1282exports.PureComponent = H;
1283exports.StrictMode = t;
1284exports.Suspense = y;
1285exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ba;
1286exports.cloneElement = function(a, b, c) {
1287  if (null === a || void 0 === a) throw Error(C(267, a));
1288  var e = l({}, a.props), d = a.key, g = a.ref, k = a._owner;
1289  if (null != b) {
1290    void 0 !== b.ref && (g = b.ref, k = J.current);
1291    void 0 !== b.key && (d = "" + b.key);
1292    if (a.type && a.type.defaultProps) var f = a.type.defaultProps;
1293    for (h in b) K.call(b, h) && !L.hasOwnProperty(h) && (e[h] = void 0 === b[h] && void 0 !== f ? f[h] : b[h]);
1294  }
1295  var h = arguments.length - 2;
1296  if (1 === h) e.children = c;
1297  else if (1 < h) {
1298    f = Array(h);
1299    for (var m = 0; m < h; m++) f[m] = arguments[m + 2];
1300    e.children = f;
1301  }
1302  return {
1303    $$typeof: p,
1304    type: a.type,
1305    key: d,
1306    ref: g,
1307    props: e,
1308    _owner: k
1309  };
1310};
1311exports.createContext = function(a, b) {
1312  void 0 === b && (b = null);
1313  a = { $$typeof: w, _calculateChangedBits: b, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null };
1314  a.Provider = { $$typeof: v, _context: a };
1315  return a.Consumer = a;
1316};
1317exports.createElement = M;
1318exports.createFactory = function(a) {
1319  var b = M.bind(null, a);
1320  b.type = a;
1321  return b;
1322};
1323exports.createRef = function() {
1324  return { current: null };
1325};
1326exports.forwardRef = function(a) {
1327  return { $$typeof: x, render: a };
1328};
1329exports.isValidElement = O;
1330exports.lazy = function(a) {
1331  return { $$typeof: A, _ctor: a, _status: -1, _result: null };
1332};
1333exports.memo = function(a, b) {
1334  return { $$typeof: z, type: a, compare: void 0 === b ? null : b };
1335};
1336exports.useCallback = function(a, b) {
1337  return Z().useCallback(a, b);
1338};
1339exports.useContext = function(a, b) {
1340  return Z().useContext(a, b);
1341};
1342exports.useDebugValue = function() {
1343};
1344exports.useEffect = function(a, b) {
1345  return Z().useEffect(a, b);
1346};
1347exports.useImperativeHandle = function(a, b, c) {
1348  return Z().useImperativeHandle(a, b, c);
1349};
1350exports.useLayoutEffect = function(a, b) {
1351  return Z().useLayoutEffect(a, b);
1352};
1353exports.useMemo = function(a, b) {
1354  return Z().useMemo(a, b);
1355};
1356exports.useReducer = function(a, b, c) {
1357  return Z().useReducer(a, b, c);
1358};
1359exports.useRef = function(a) {
1360  return Z().useRef(a);
1361};
1362exports.useState = function(a) {
1363  return Z().useState(a);
1364};
1365exports.version = "16.13.1";
1366
1367
1368/***/ }),
1369
1370/***/ 71032:
1371/***/ ((module) => {
1372
1373"use strict";
1374
1375/*
1376object-assign
1377(c) Sindre Sorhus
1378@license MIT
1379*/
1380var getOwnPropertySymbols = Object.getOwnPropertySymbols;
1381var hasOwnProperty = Object.prototype.hasOwnProperty;
1382var propIsEnumerable = Object.prototype.propertyIsEnumerable;
1383function toObject(val) {
1384  if (val === null || val === void 0) {
1385    throw new TypeError("Object.assign cannot be called with null or undefined");
1386  }
1387  return Object(val);
1388}
1389function shouldUseNative() {
1390  try {
1391    if (!Object.assign) {
1392      return false;
1393    }
1394    var test1 = new String("abc");
1395    test1[5] = "de";
1396    if (Object.getOwnPropertyNames(test1)[0] === "5") {
1397      return false;
1398    }
1399    var test2 = {};
1400    for (var i = 0; i < 10; i++) {
1401      test2["_" + String.fromCharCode(i)] = i;
1402    }
1403    var order2 = Object.getOwnPropertyNames(test2).map(function(n) {
1404      return test2[n];
1405    });
1406    if (order2.join("") !== "0123456789") {
1407      return false;
1408    }
1409    var test3 = {};
1410    "abcdefghijklmnopqrst".split("").forEach(function(letter) {
1411      test3[letter] = letter;
1412    });
1413    if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") {
1414      return false;
1415    }
1416    return true;
1417  } catch (err) {
1418    return false;
1419  }
1420}
1421module.exports = shouldUseNative() ? Object.assign : function(target, source) {
1422  var from;
1423  var to = toObject(target);
1424  var symbols;
1425  for (var s = 1; s < arguments.length; s++) {
1426    from = Object(arguments[s]);
1427    for (var key in from) {
1428      if (hasOwnProperty.call(from, key)) {
1429        to[key] = from[key];
1430      }
1431    }
1432    if (getOwnPropertySymbols) {
1433      symbols = getOwnPropertySymbols(from);
1434      for (var i = 0; i < symbols.length; i++) {
1435        if (propIsEnumerable.call(from, symbols[i])) {
1436          to[symbols[i]] = from[symbols[i]];
1437        }
1438      }
1439    }
1440  }
1441  return to;
1442};
1443
1444
1445/***/ }),
1446
1447/***/ 75578:
1448/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1449
1450"use strict";
1451/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1452/* harmony export */   e: () => (/* binding */ RESOURCE_PREFIX)
1453/* harmony export */ });
1454/* unused harmony export CDN_PREFIX */
1455const CDN_PREFIX = window.cdnLearnSQLPrefix;
1456const RESOURCE_PREFIX = window.resourcePrefix;
1457
1458
1459/***/ }),
1460
1461/***/ 77563:
1462/***/ ((__unused_webpack_module, exports) => {
1463
1464"use strict";
1465
1466/** @license React v0.19.1
1467 * scheduler.production.min.js
1468 *
1469 * Copyright (c) Facebook, Inc. and its affiliates.
1470 *
1471 * This source code is licensed under the MIT license found in the
1472 * LICENSE file in the root directory of this source tree.
1473 */
1474var f, g, h, k, l;
1475if ("undefined" === typeof window || "function" !== typeof MessageChannel) {
1476  var p = null, q = null, t = function() {
1477    if (null !== p) try {
1478      var a = exports.unstable_now();
1479      p(true, a);
1480      p = null;
1481    } catch (b) {
1482      throw setTimeout(t, 0), b;
1483    }
1484  }, u = Date.now();
1485  exports.unstable_now = function() {
1486    return Date.now() - u;
1487  };
1488  f = function(a) {
1489    null !== p ? setTimeout(f, 0, a) : (p = a, setTimeout(t, 0));
1490  };
1491  g = function(a, b) {
1492    q = setTimeout(a, b);
1493  };
1494  h = function() {
1495    clearTimeout(q);
1496  };
1497  k = function() {
1498    return false;
1499  };
1500  l = exports.unstable_forceFrameRate = function() {
1501  };
1502} else {
1503  var w = window.performance, x = window.Date, y = window.setTimeout, z = window.clearTimeout;
1504  if ("undefined" !== typeof console) {
1505    var A = window.cancelAnimationFrame;
1506    "function" !== typeof window.requestAnimationFrame && console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills");
1507    "function" !== typeof A && console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills");
1508  }
1509  if ("object" === typeof w && "function" === typeof w.now) exports.unstable_now = function() {
1510    return w.now();
1511  };
1512  else {
1513    var B = x.now();
1514    exports.unstable_now = function() {
1515      return x.now() - B;
1516    };
1517  }
1518  var C = false, D = null, E = -1, F = 5, G = 0;
1519  k = function() {
1520    return exports.unstable_now() >= G;
1521  };
1522  l = function() {
1523  };
1524  exports.unstable_forceFrameRate = function(a) {
1525    0 > a || 125 < a ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported") : F = 0 < a ? Math.floor(1e3 / a) : 5;
1526  };
1527  var H = new MessageChannel(), I = H.port2;
1528  H.port1.onmessage = function() {
1529    if (null !== D) {
1530      var a = exports.unstable_now();
1531      G = a + F;
1532      try {
1533        D(true, a) ? I.postMessage(null) : (C = false, D = null);
1534      } catch (b) {
1535        throw I.postMessage(null), b;
1536      }
1537    } else C = false;
1538  };
1539  f = function(a) {
1540    D = a;
1541    C || (C = true, I.postMessage(null));
1542  };
1543  g = function(a, b) {
1544    E = y(function() {
1545      a(exports.unstable_now());
1546    }, b);
1547  };
1548  h = function() {
1549    z(E);
1550    E = -1;
1551  };
1552}
1553function J(a, b) {
1554  var c = a.length;
1555  a.push(b);
1556  a: for (; ; ) {
1557    var d = c - 1 >>> 1, e = a[d];
1558    if (void 0 !== e && 0 < K(e, b)) a[d] = b, a[c] = e, c = d;
1559    else break a;
1560  }
1561}
1562function L(a) {
1563  a = a[0];
1564  return void 0 === a ? null : a;
1565}
1566function M(a) {
1567  var b = a[0];
1568  if (void 0 !== b) {
1569    var c = a.pop();
1570    if (c !== b) {
1571      a[0] = c;
1572      a: for (var d = 0, e = a.length; d < e; ) {
1573        var m = 2 * (d + 1) - 1, n = a[m], v = m + 1, r = a[v];
1574        if (void 0 !== n && 0 > K(n, c)) void 0 !== r && 0 > K(r, n) ? (a[d] = r, a[v] = c, d = v) : (a[d] = n, a[m] = c, d = m);
1575        else if (void 0 !== r && 0 > K(r, c)) a[d] = r, a[v] = c, d = v;
1576        else break a;
1577      }
1578    }
1579    return b;
1580  }
1581  return null;
1582}
1583function K(a, b) {
1584  var c = a.sortIndex - b.sortIndex;
1585  return 0 !== c ? c : a.id - b.id;
1586}
1587var N = [], O = [], P = 1, Q = null, R = 3, S = false, T = false, U = false;
1588function V(a) {
1589  for (var b = L(O); null !== b; ) {
1590    if (null === b.callback) M(O);
1591    else if (b.startTime <= a) M(O), b.sortIndex = b.expirationTime, J(N, b);
1592    else break;
1593    b = L(O);
1594  }
1595}
1596function W(a) {
1597  U = false;
1598  V(a);
1599  if (!T) if (null !== L(N)) T = true, f(X);
1600  else {
1601    var b = L(O);
1602    null !== b && g(W, b.startTime - a);
1603  }
1604}
1605function X(a, b) {
1606  T = false;
1607  U && (U = false, h());
1608  S = true;
1609  var c = R;
1610  try {
1611    V(b);
1612    for (Q = L(N); null !== Q && (!(Q.expirationTime > b) || a && !k()); ) {
1613      var d = Q.callback;
1614      if (null !== d) {
1615        Q.callback = null;
1616        R = Q.priorityLevel;
1617        var e = d(Q.expirationTime <= b);
1618        b = exports.unstable_now();
1619        "function" === typeof e ? Q.callback = e : Q === L(N) && M(N);
1620        V(b);
1621      } else M(N);
1622      Q = L(N);
1623    }
1624    if (null !== Q) var m = true;
1625    else {
1626      var n = L(O);
1627      null !== n && g(W, n.startTime - b);
1628      m = false;
1629    }
1630    return m;
1631  } finally {
1632    Q = null, R = c, S = false;
1633  }
1634}
1635function Y(a) {
1636  switch (a) {
1637    case 1:
1638      return -1;
1639    case 2:
1640      return 250;
1641    case 5:
1642      return 1073741823;
1643    case 4:
1644      return 1e4;
1645    default:
1646      return 5e3;
1647  }
1648}
1649var Z = l;
1650exports.unstable_IdlePriority = 5;
1651exports.unstable_ImmediatePriority = 1;
1652exports.unstable_LowPriority = 4;
1653exports.unstable_NormalPriority = 3;
1654exports.unstable_Profiling = null;
1655exports.unstable_UserBlockingPriority = 2;
1656exports.unstable_cancelCallback = function(a) {
1657  a.callback = null;
1658};
1659exports.unstable_continueExecution = function() {
1660  T || S || (T = true, f(X));
1661};
1662exports.unstable_getCurrentPriorityLevel = function() {
1663  return R;
1664};
1665exports.unstable_getFirstCallbackNode = function() {
1666  return L(N);
1667};
1668exports.unstable_next = function(a) {
1669  switch (R) {
1670    case 1:
1671    case 2:
1672    case 3:
1673      var b = 3;
1674      break;
1675    default:
1676      b = R;
1677  }
1678  var c = R;
1679  R = b;
1680  try {
1681    return a();
1682  } finally {
1683    R = c;
1684  }
1685};
1686exports.unstable_pauseExecution = function() {
1687};
1688exports.unstable_requestPaint = Z;
1689exports.unstable_runWithPriority = function(a, b) {
1690  switch (a) {
1691    case 1:
1692    case 2:
1693    case 3:
1694    case 4:
1695    case 5:
1696      break;
1697    default:
1698      a = 3;
1699  }
1700  var c = R;
1701  R = a;
1702  try {
1703    return b();
1704  } finally {
1705    R = c;
1706  }
1707};
1708exports.unstable_scheduleCallback = function(a, b, c) {
1709  var d = exports.unstable_now();
1710  if ("object" === typeof c && null !== c) {
1711    var e = c.delay;
1712    e = "number" === typeof e && 0 < e ? d + e : d;
1713    c = "number" === typeof c.timeout ? c.timeout : Y(a);
1714  } else c = Y(a), e = d;
1715  c = e + c;
1716  a = { id: P++, callback: b, priorityLevel: a, startTime: e, expirationTime: c, sortIndex: -1 };
1717  e > d ? (a.sortIndex = e, J(O, a), null === L(N) && a === L(O) && (U ? h() : U = true, g(W, e - d))) : (a.sortIndex = c, J(N, a), T || S || (T = true, f(X))
1717);
1718  return a;
1719};
1720exports.unstable_shouldYield = function() {
1721  var a = exports.unstable_now();
1722  V(a);
1723  var b = L(N);
1724  return b !== Q && null !== Q && null !== b && null !== b.callback && b.startTime <= a && b.expirationTime < Q.expirationTime || k();
1725};
1726exports.unstable_wrapCallback = function(a) {
1727  var b = R;
1728  return function() {
1729    var c = R;
1730    R = b;
1731    try {
1732      return a.apply(this, arguments);
1733    } finally {
1734      R = c;
1735    }
1736  };
1737};
1738
1739
1740/***/ }),
1741
1742/***/ 80857:
1743/***/ ((module, exports) => {
1744
1745var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
1746  Copyright (c) 2018 Jed Watson.
1747  Licensed under the MIT License (MIT), see
1748  http://jedwatson.github.io/classnames
1749*/
1750(function() {
1751  "use strict";
1752  var hasOwn = {}.hasOwnProperty;
1753  function classNames() {
1754    var classes = [];
1755    for (var i = 0; i < arguments.length; i++) {
1756      var arg = arguments[i];
1757      if (!arg) continue;
1758      var argType = typeof arg;
1759      if (argType === "string" || argType === "number") {
1760        classes.push(arg);
1761      } else if (Array.isArray(arg)) {
1762        if (arg.length) {
1763          var inner = classNames.apply(null, arg);
1764          if (inner) {
1765            classes.push(inner);
1766          }
1767        }
1768      } else if (argType === "object") {
1769        if (arg.toString === Object.prototype.toString) {
1770          for (var key in arg) {
1771            if (hasOwn.call(arg, key) && arg[key]) {
1772              classes.push(key);
1773            }
1774          }
1775        } else {
1776          classes.push(arg.toString());
1777        }
1778      }
1779    }
1780    return classes.join(" ");
1781  }
1782  if ( true && module.exports) {
1783    classNames.default = classNames;
1784    module.exports = classNames;
1785  } else if (true) {
1786    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function() {
1787      return classNames;
1788    }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
1789		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
1790  } else // removed by dead control flow
1791{}
1792})();
1793
1794
1795/***/ }),
1796
1797/***/ 88386:
1798/***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
1799
1800"use strict";
1801/* harmony import */ var _TabGid__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26035);
1802var __defProp = Object.defineProperty;
1803var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1804var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
1805
1806class Logger {
1807  constructor() {
1808    __publicField(this, "url", "/api/v1/logger");
1809  }
1810  info(msg) {
1811    if (typeof Sentry !== "undefined") {
1812      Sentry.captureMessage(msg, {
1813        level: "info"
1814      });
1815    } else {
1816      console.warn("Sentry not available");
1817      console.warn(msg);
1818    }
1819  }
1820  warn(msg) {
1821    if (typeof Sentry !== "undefined") {
1822      Sentry.captureMessage(msg, {
1823        level: "warning"
1824      });
1825    } else {
1826      console.warn("Sentry not available");
1827      console.warn(msg);
1828    }
1829  }
1830  error(msg) {
1831    if (typeof Sentry !== "undefined") {
1832      Sentry.captureMessage(msg, {
1833        level: "error"
1834      });
1835    } else {
1836      console.warn("Sentry not available");
1837      console.warn(msg);
1838    }
1839  }
1840  sent(msg, level) {
1841    const errMsg = [{
1842      path: window.location.pathname,
1843      level,
1844      msg
1845    }];
1846    try {
1847      return fetch(this.url, {
1848        method: "POST",
1849        body: JSON.stringify(errMsg),
1850        headers: (0,_TabGid__WEBPACK_IMPORTED_MODULE_0__/* .addTabGidHeader */ .A)({
1851          "Content-Type": "application/json"
1852        }),
1853        credentials: "same-origin"
1854      });
1855    } catch (error) {
1856      if (error instanceof TypeError && error.message === "Load failed") {
1857        throw Error("Error while send request to /api/v1/logger", { cause: error });
1858      } else {
1859        throw error;
1860      }
1861    }
1862  }
1863}
1864const logger = new Logger();
1865/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (logger)));
1866
1867
1868/***/ }),
1869
1870/***/ 91163:
1871/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1872
1873"use strict";
1874var __webpack_unused_export__;
1875
1876/** @license React v16.13.1
1877 * react-dom.production.min.js
1878 *
1879 * Copyright (c) Facebook, Inc. and its affiliates.
1880 *
1881 * This source code is licensed under the MIT license found in the
1882 * LICENSE file in the root directory of this source tree.
1883 */
1884var aa = __webpack_require__(52568), n = __webpack_require__(71032), r = __webpack_require__(40018);
1885function u(a) {
1886  for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length;
1886 c++) b += "&args[]=" + encodeURIComponent(arguments[c]);
1887  return "Minified React error #" + a + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
1888}
1889if (!aa) throw Error(u(227));
1890function ba(a, b, c, d, e, f, g, h, k) {
1891  var l = Array.prototype.slice.call(arguments, 3);
1892  try {
1893    b.apply(c, l);
1894  } catch (m) {
1895    this.onError(m);
1896  }
1897}
1898var da = false, ea = null, fa = false, ha = null, ia = { onError: function(a) {
1899  da = true;
1900  ea = a;
1901} };
1902function ja(a, b, c, d, e, f, g, h, k) {
1903  da = false;
1904  ea = null;
1905  ba.apply(ia, arguments);
1906}
1907function ka(a, b, c, d, e, f, g, h, k) {
1908  ja.apply(this, arguments);
1909  if (da) {
1910    if (da) {
1911      var l = ea;
1912      da = false;
1913      ea = null;
1914    } else throw Error(u(198));
1915    fa || (fa = true, ha = l);
1916  }
1917}
1918var la = null, ma = null, na = null;
1919function oa(a, b, c) {
1920  var d = a.type || "unknown-event";
1921  a.currentTarget = na(c);
1922  ka(d, b, void 0, a);
1923  a.currentTarget = null;
1924}
1925var pa = null, qa = {};
1926function ra() {
1927  if (pa) for (var a in qa) {
1928    var b = qa[a], c = pa.indexOf(a);
1929    if (!(-1 < c)) throw Error(u(96, a));
1930    if (!sa[c]) {
1931      if (!b.extractEvents) throw Error(u(97, a));
1932      sa[c] = b;
1933      c = b.eventTypes;
1934      for (var d in c) {
1935        var e = void 0;
1936        var f = c[d], g = b, h = d;
1937        if (ta.hasOwnProperty(h)) throw Error(u(99, h));
1938        ta[h] = f;
1939        var k = f.phasedRegistrationNames;
1940        if (k) {
1941          for (e in k) k.hasOwnProperty(e) && ua(k[e], g, h);
1942          e = true;
1943        } else f.registrationName ? (ua(f.registrationName, g, h), e = true) : e = false;
1944        if (!e) throw Error(u(98, d, a));
1945      }
1946    }
1947  }
1948}
1949function ua(a, b, c) {
1950  if (va[a]) throw Error(u(100, a));
1951  va[a] = b;
1952  wa[a] = b.eventTypes[c].dependencies;
1953}
1954var sa = [], ta = {}, va = {}, wa = {};
1955function xa(a) {
1956  var b = false, c;
1957  for (c in a) if (a.hasOwnProperty(c)) {
1958    var d = a[c];
1959    if (!qa.hasOwnProperty(c) || qa[c] !== d) {
1960      if (qa[c]) throw Error(u(102, c));
1961      qa[c] = d;
1962      b = true;
1963    }
1964  }
1965  b && ra();
1966}
1967var ya = !("undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement), za = null, Aa = null, Ba = null;
1968function Ca(a) {
1969  if (a = ma(a)) {
1970    if ("function" !== typeof za) throw Error(u(280));
1971    var b = a.stateNode;
1972    b && (b = la(b), za(a.stateNode, a.type, b));
1973  }
1974}
1975function Da(a) {
1976  Aa ? Ba ? Ba.push(a) : Ba = [a] : Aa = a;
1977}
1978function Ea() {
1979  if (Aa) {
1980    var a = Aa, b = Ba;
1981    Ba = Aa = null;
1982    Ca(a);
1983    if (b) for (a = 0; a < b.length; a++) Ca(b[a]);
1984  }
1985}
1986function Fa(a, b) {
1987  return a(b);
1988}
1989function Ga(a, b, c, d, e) {
1990  return a(b, c, d, e);
1991}
1992function Ha() {
1993}
1994var Ia = Fa, Ja = false, Ka = false;
1995function La() {
1996  if (null !== Aa || null !== Ba) Ha(), Ea();
1997}
1998function Ma(a, b, c) {
1999  if (Ka) return a(b, c);
2000  Ka = true;
2001  try {
2002    return Ia(a, b, c);
2003  } finally {
2004    Ka = false, La();
2005  }
2006}
2007var Na = /^[: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][: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\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, Oa = Object.prototype.hasOwnProperty, Pa = {}, Qa = {};
2008function Ra(a) {
2009  if (Oa.call(Qa, a)) return true;
2010  if (Oa.call(Pa, a)) return false;
2011  if (Na.test(a)) return Qa[a] = true;
2012  Pa[a] = true;
2013  return false;
2014}
2015function Sa(a, b, c, d) {
2016  if (null !== c && 0 === c.type) return false;
2017  switch (typeof b) {
2018    case "function":
2019    case "symbol":
2020      return true;
2021    case "boolean":
2022      if (d) return false;
2023      if (null !== c) return !c.acceptsBooleans;
2024      a = a.toLowerCase().slice(0, 5);
2025      return "data-" !== a && "aria-" !== a;
2026    default:
2027      return false;
2028  }
2029}
2030function Ta(a, b, c, d) {
2031  if (null === b || "undefined" === typeof b || Sa(a, b, c, d)) return true;
2032  if (d) return false;
2033  if (null !== c) switch (c.type) {
2034    case 3:
2035      return !b;
2036    case 4:
2037      return false === b;
2038    case 5:
2039      return isNaN(b);
2040    case 6:
2041      return isNaN(b) || 1 > b;
2042  }
2043  return false;
2044}
2045function v(a, b, c, d, e, f) {
2046  this.acceptsBooleans = 2 === b || 3 === b || 4 === b;
2047  this.attributeName = d;
2048  this.attributeNamespace = e;
2049  this.mustUseProperty = c;
2050  this.propertyName = a;
2051  this.type = b;
2052  this.sanitizeURL = f;
2053}
2054var C = {};
2055"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a) {
2056  C[a] = new v(a, 0, false, a, null, false);
2057});
2058[["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a) {
2059  var b = a[0];
2060  C[b] = new v(b, 1, false, a[1], null, false);
2061});
2062["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a) {
2063  C[a] = new v(a, 2, false, a.toLowerCase(), null, false);
2064});
2065["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a) {
2066  C[a] = new v(a, 2, false, a, null, false);
2067});
2068"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a) {
2069  C[a] = new v(a, 3, false, a.toLowerCase(), null, false);
2070});
2071["checked", "multiple", "muted", "selected"].forEach(function(a) {
2072  C[a] = new v(a, 3, true, a, null, false);
2073});
2074["capture", "download"].forEach(function(a) {
2075  C[a] = new v(a, 4, false, a, null, false);
2076});
2077["cols", "rows", "size", "span"].forEach(function(a) {
2078  C[a] = new v(a, 6, false, a, null, false);
2079});
2080["rowSpan", "start"].forEach(function(a) {
2081  C[a] = new v(a, 5, false, a.toLowerCase(), null, false);
2082});
2083var Ua = /[\-:]([a-z])/g;
2084function Va(a) {
2085  return a[1].toUpperCase();
2086}
2087"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a) {
2088  var b = a.replace(
2089    Ua,
2090    Va
2091  );
2092  C[b] = new v(b, 1, false, a, null, false);
2093});
2094"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a) {
2095  var b = a.replace(Ua, Va);
2096  C[b] = new v(b, 1, false, a, "http://www.w3.org/1999/xlink", false);
2097});
2098["xml:base", "xml:lang", "xml:space"].forEach(function(a) {
2099  var b = a.replace(Ua, Va);
2100  C[b] = new v(b, 1, false, a, "http://www.w3.org/XML/1998/namespace", false);
2101});
2102["tabIndex", "crossOrigin"].forEach(function(a) {
2103  C[a] = new v(a, 1, false, a.toLowerCase(), null, false);
2104});
2105C.xlinkHref = new v("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true);
2106["src", "href", "action", "formAction"].forEach(function(a) {
2107  C[a] = new v(a, 1, false, a.toLowerCase(), null, true);
2108});
2109var Wa = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2110Wa.hasOwnProperty("ReactCurrentDispatcher") || (Wa.ReactCurrentDispatcher = { current: null });
2111Wa.hasOwnProperty("ReactCurrentBatchConfig") || (Wa.ReactCurrentBatchConfig = { suspense: null });
2112function Xa(a, b, c, d) {
2113  var e = C.hasOwnProperty(b) ? C[b] : null;
2114  var f = null !== e ? 0 === e.type : d ? false : !(2 < b.length) || "o" !== b[0] && "O" !== b[0] || "n" !== b[1] && "N" !== b[1] ? false : true;
2115  f || (Ta(b, c, e, d) && (c = null), d || null === e ? Ra(b) && (null === c ? a.removeAttribute(b) : a.setAttribute(b, "" + c)) : e.mustUseProperty ? a[e.propertyName] = null === c ? 3 === e.type ? false : "" : c : (b = e.attributeName, d = e.attributeNamespace, null === c ? a.removeAttribute(b) : (e = e.type, c = 3 === e || 4 === e && true === c ? "" : "" + c, d ? a.setAttributeNS(d, b, c) : a.setAttribute(b, c))));
2116}
2117var Ya = /^(.*)[\\\/]/, E = "function" === typeof Symbol && Symbol.for, Za = E ? Symbol.for("react.element") : 60103, $a = E ? Symbol.for("react.portal") : 60106, ab = E ? Symbol.for("react.fragment") : 60107, bb = E ? Symbol.for("react.strict_mode") : 60108, cb = E ? Symbol.for("react.profiler") 
vendor: 3,034 bytes, lines 2117-2217
2117: 60114, db = E ? Symbol.for("react.provider") : 60109, eb = E ? Symbol.for("react.context") : 60110, fb = E ? Symbol.for("react.concurrent_mode") : 60111, gb = E ? Symbol.for("react.forward_ref") : 60112, hb = E ? Symbol.for("react.suspense") : 60113, ib = E ? Symbol.for("react.suspense_list") : 60120, jb = E ? Symbol.for("react.memo") : 60115, kb = E ? Symbol.for("react.lazy") : 60116, lb = E ? Symbol.for("react.block") : 60121, mb = "function" === typeof Symbol && Symbol.iterator;
2118function nb(a) {
2119  if (null === a || "object" !== typeof a) return null;
2120  a = mb && a[mb] || a["@@iterator"];
2121  return "function" === typeof a ? a : null;
2122}
2123function ob(a) {
2124  if (-1 === a._status) {
2125    a._status = 0;
2126    var b = a._ctor;
2127    b = b();
2128    a._result = b;
2129    b.then(function(b2) {
2130      0 === a._status && (b2 = b2.default, a._status = 1, a._result = b2);
2131    }, function(b2) {
2132      0 === a._status && (a._status = 2, a._result = b2);
2133    });
2134  }
2135}
2136function pb(a) {
2137  if (null == a) return null;
2138  if ("function" === typeof a) return a.displayName || a.name || null;
2139  if ("string" === typeof a) return a;
2140  switch (a) {
2141    case ab:
2142      return "Fragment";
2143    case $a:
2144      return "Portal";
2145    case cb:
2146      return "Profiler";
2147    case bb:
2148      return "StrictMode";
2149    case hb:
2150      return "Suspense";
2151    case ib:
2152      return "SuspenseList";
2153  }
2154  if ("object" === typeof a) switch (a.$$typeof) {
2155    case eb:
2156      return "Context.Consumer";
2157    case db:
2158      return "Context.Provider";
2159    case gb:
2160      var b = a.render;
2161      b = b.displayName || b.name || "";
2162      return a.displayName || ("" !== b ? "ForwardRef(" + b + ")" : "ForwardRef");
2163    case jb:
2164      return pb(a.type);
2165    case lb:
2166      return pb(a.render);
2167    case kb:
2168      if (a = 1 === a._status ? a._result : null) return pb(a);
2169  }
2170  return null;
2171}
2172function qb(a) {
2173  var b = "";
2174  do {
2175    a: switch (a.tag) {
2176      case 3:
2177      case 4:
2178      case 6:
2179      case 7:
2180      case 10:
2181      case 9:
2182        var c = "";
2183        break a;
2184      default:
2185        var d = a._debugOwner, e = a._debugSource, f = pb(a.type);
2186        c = null;
2187        d && (c = pb(d.type));
2188        d = f;
2189        f = "";
2190        e ? f = " (at " + e.fileName.replace(Ya, "") + ":" + e.lineNumber + ")" : c && (f = " (created by " + c + ")");
2191        c = "\n    in " + (d || "Unknown") + f;
2192    }
2193    b += c;
2194    a = a.return;
2195  } while (a);
2196  return b;
2197}
2198function rb(a) {
2199  switch (typeof a) {
2200    case "boolean":
2201    case "number":
2202    case "object":
2203    case "string":
2204    case "undefined":
2205      return a;
2206    default:
2207      return "";
2208  }
2209}
2210function sb(a) {
2211  var b = a.type;
2212  return (a = a.nodeName) && "input" === a.toLowerCase() && ("checkbox" === b || "radio" === b);
2213}
2214function tb(a) {
2215  var b = sb(a) ? "checked" : "value", c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b), d = "" + a[b];
2216  if (!a.hasOwnProperty(b) && "undefined" !== typeof c && "function" === typeof c.get && "function" === typeof c.set) {
2217    var e = c.get, f = c.set;
vendor: 4,181 bytes, lines 2218-2348
2218    Object.defineProperty(a, b, { configurable: true, get: function() {
2219      return e.call(this);
2220    }, set: function(a2) {
2221      d = "" + a2;
2222      f.call(this, a2);
2223    } });
2224    Object.defineProperty(a, b, { enumerable: c.enumerable });
2225    return { getValue: function() {
2226      return d;
2227    }, setValue: function(a2) {
2228      d = "" + a2;
2229    }, stopTracking: function() {
2230      a._valueTracker = null;
2231      delete a[b];
2232    } };
2233  }
2234}
2235function xb(a) {
2236  a._valueTracker || (a._valueTracker = tb(a));
2237}
2238function yb(a) {
2239  if (!a) return false;
2240  var b = a._valueTracker;
2241  if (!b) return true;
2242  var c = b.getValue();
2243  var d = "";
2244  a && (d = sb(a) ? a.checked ? "true" : "false" : a.value);
2245  a = d;
2246  return a !== c ? (b.setValue(a), true) : false;
2247}
2248function zb(a, b) {
2249  var c = b.checked;
2250  return n({}, b, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: null != c ? c : a._wrapperState.initialChecked });
2251}
2252function Ab(a, b) {
2253  var c = null == b.defaultValue ? "" : b.defaultValue, d = null != b.checked ? b.checked : b.defaultChecked;
2254  c = rb(null != b.value ? b.value : c);
2255  a._wrapperState = { initialChecked: d, initialValue: c, controlled: "checkbox" === b.type || "radio" === b.type ? null != b.checked : null != b.value };
2256}
2257function Bb(a, b) {
2258  b = b.checked;
2259  null != b && Xa(a, "checked", b, false);
2260}
2261function Cb(a, b) {
2262  Bb(a, b);
2263  var c = rb(b.value), d = b.type;
2264  if (null != c) if ("number" === d) {
2265    if (0 === c && "" === a.value || a.value != c) a.value = "" + c;
2266  } else a.value !== "" + c && (a.value = "" + c);
2267  else if ("submit" === d || "reset" === d) {
2268    a.removeAttribute("value");
2269    return;
2270  }
2271  b.hasOwnProperty("value") ? Db(a, b.type, c) : b.hasOwnProperty("defaultValue") && Db(a, b.type, rb(b.defaultValue));
2272  null == b.checked && null != b.defaultChecked && (a.defaultChecked = !!b.defaultChecked);
2273}
2274function Eb(a, b, c) {
2275  if (b.hasOwnProperty("value") || b.hasOwnProperty("defaultValue")) {
2276    var d = b.type;
2277    if (!("submit" !== d && "reset" !== d || void 0 !== b.value && null !== b.value)) return;
2278    b = "" + a._wrapperState.initialValue;
2279    c || b === a.value || (a.value = b);
2280    a.defaultValue = b;
2281  }
2282  c = a.name;
2283  "" !== c && (a.name = "");
2284  a.defaultChecked = !!a._wrapperState.initialChecked;
2285  "" !== c && (a.name = c);
2286}
2287function Db(a, b, c) {
2288  if ("number" !== b || a.ownerDocument.activeElement !== a) null == c ? a.defaultValue = "" + a._wrapperState.initialValue : a.defaultValue !== "" + c && (a.defaultValue = "" + c);
2289}
2290function Fb(a) {
2291  var b = "";
2292  aa.Children.forEach(a, function(a2) {
2293    null != a2 && (b += a2);
2294  });
2295  return b;
2296}
2297function Gb(a, b) {
2298  a = n({ children: void 0 }, b);
2299  if (b = Fb(b.children)) a.children = b;
2300  return a;
2301}
2302function Hb(a, b, c, d) {
2303  a = a.options;
2304  if (b) {
2305    b = {};
2306    for (var e = 0; e < c.length; e++) b["$" + c[e]] = true;
2307    for (c = 0; c < a.length; c++) e = b.hasOwnProperty("$" + a[c].value), a[c].selected !== e && (a[c].selected = e), e && d && (a[c].defaultSelected = true);
2308  } else {
2309    c = "" + rb(c);
2310    b = null;
2311    for (e = 0; e < a.length; e++) {
2312      if (a[e].value === c) {
2313        a[e].selected = true;
2314        d && (a[e].defaultSelected = true);
2315        return;
2316      }
2317      null !== b || a[e].disabled || (b = a[e]);
2318    }
2319    null !== b && (b.selected = true);
2320  }
2321}
2322function Ib(a, b) {
2323  if (null != b.dangerouslySetInnerHTML) throw Error(u(91));
2324  return n({}, b, { value: void 0, defaultValue: void 0, children: "" + a._wrapperState.initialValue });
2325}
2326function Jb(a, b) {
2327  var c = b.value;
2328  if (null == c) {
2329    c = b.children;
2330    b = b.defaultValue;
2331    if (null != c) {
2332      if (null != b) throw Error(u(92));
2333      if (Array.isArray(c)) {
2334        if (!(1 >= c.length)) throw Error(u(93));
2335        c = c[0];
2336      }
2337      b = c;
2338    }
2339    null == b && (b = "");
2340    c = b;
2341  }
2342  a._wrapperState = { initialValue: rb(c) };
2343}
2344function Kb(a, b) {
2345  var c = rb(b.value), d = rb(b.defaultValue);
2346  null != c && (c = "" + c, c !== a.value && (a.value = c), null == b.defaultValue && a.defaultValue !== c && (a.defaultValue = c));
2347  null != d && (a.defaultValue = "" + d);
2348}
2349function Lb(a) {
2350  var b = a.textContent;
2351  b === a._wrapperState.initialValue && "" !== b && null !== b && (a.value = b);
2352}
2353var Mb = { html: "http://www.w3.org/1999/xhtml", mathml: "http://www.w3.org/1998/Math/MathML", svg: "http://www.w3.org/2000/svg" };
2354function Nb(a) {
2355  switch (a) {
2356    case "svg":
2357      return "http://www.w3.org/2000/svg";
2358    case "math":
2359      return "http://www.w3.org/1998/Math/MathML";
2360    default:
2361      return "http://www.w3.org/1999/xhtml";
2362  }
2363}
2364function Ob(a, b) {
2365  return null == a || "http://www.w3.org/1999/xhtml" === a ? Nb(b) : "http://www.w3.org/2000/svg" === a && "foreignObject" === b ? "http://www.w3.org/1999/xhtml" : a;
2366}
2367var Pb, Qb = (function(a) {
2368  return "undefined" !== typeof MSApp && MSApp.execUnsafeLocalFunction ? function(b, c, d, e) {
2369    MSApp.execUnsafeLocalFunction(function() {
2370      return a(b, c, d, e);
2371    });
2372  } : a;
2373})(function(a, b) {
2374  if (a.namespaceURI !== Mb.svg || "innerHTML" in a) a.innerHTML = b;
2375  else {
2376    Pb = Pb || document.createElement("div");
2377    Pb.innerHTML = "<svg>" + b.valueOf().toString() + "</svg>";
2378    for (b = Pb.firstChild; a.firstChild; ) a.removeChild(a.firstChild);
2379    for (; b.firstChild; ) a.appendChild(b.firstChild);
2380  }
2381});
2382function Rb(a, b) {
2383  if (b) {
2384    var c = a.firstChild;
2385    if (c && c === a.lastChild && 3 === c.nodeType) {
2386      c.nodeValue = b;
2387      return;
2388    }
2389  }
2390  a.textContent = b;
2391}
2392function Sb(a, b) {
2393  var c = {};
2394  c[a.toLowerCase()] = b.toLowerCase();
2395  c["Webkit" + a] = "webkit" + b;
2396  c["Moz" + a] = "moz" + b;
2397  return c;
2398}
2399var Tb = { animationend: Sb("Animation", "AnimationEnd"), animationiteration: Sb("Animation", "AnimationIteration"), animationstart: Sb("Animation", "AnimationStart"), transitionend: Sb("Transition", "TransitionEnd") }, Ub = {}, Vb = {};
2400ya && (Vb = document.createElement("div").style, "AnimationEvent" in window || (delete Tb.animationend.animation, delete Tb.animationiteration.animation, delete Tb.animationstart.animation), "TransitionEvent" in window || delete Tb.transitionend.transition);
2401function Wb(a) {
2402  if (Ub[a]) return Ub[a];
2403  if (!Tb[a]) return a;
2404  var b = Tb[a], c;
2405  for (c in b) if (b.hasOwnProperty(c) && c in Vb) return Ub[a] = b[c];
2406  return a;
2407}
2408var Xb = Wb("animationend"), Yb = Wb("animationiteration"), Zb = Wb("animationstart"), $b = Wb("transitionend"), ac = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), bc = new ("function" === typeof WeakMap ? WeakMap : Map)();
2409function cc(a) {
2410  var b = bc.get(a);
2411  void 0 === b && (b = /* @__PURE__ */ new Map(), bc.set(a, b));
2412  return b;
2413}
2414function dc(a) {
2415  var b = a, c = a;
2416  if (a.alternate) for (; b.return; ) b = b.return;
2417  else {
2418    a = b;
2419    do
2420      b = a, 0 !== (b.effectTag & 1026) && (c = b.return), a = b.return;
2421    while (a);
2422  }
2423  return 3 === b.tag ? c : null;
2424}
2425function ec(a) {
2426  if (13 === a.tag) {
2427    var b = a.memoizedState;
2428    null === b && (a = a.alternate, null !== a && (b = a.memoizedState));
2429    if (null !== b) return b.dehydrated;
2430  }
2431  return null;
2432}
2433function fc(a) {
2434  if (dc(a) !== a) throw Error(u(188));
2435}
2436function gc(a) {
2437  var b = a.alternate;
2438  if (!b) {
2439    b = dc(a);
2440    if (null === b) throw Error(u(188));
2441    return b !== a ? null : a;
2442  }
2443  for (var c = a, d = b; ; ) {
2444    var e = c.return;
2445    if (null === e) break;
2446    var f = e.alternate;
2447    if (null === f) {
2448      d = e.return;
2449      if (null !== d) {
2450        c = d;
2451        continue;
2452      }
2453      break;
2454    }
2455    if (e.child === f.child) {
2456      for (f = e.child; f; ) {
2457        if (f === c) return fc(e), a;
2458        if (f === d) return fc(e), b;
2459        f = f.sibling;
2460      }
2461      throw Error(u(188));
2462    }
2463    if (c.return !== d.return) c = e, d = f;
2464    else {
2465      for (var g = false, h = e.child; h; ) {
2466        if (h === c) {
2467          g = true;
2468          c = e;
2469          d = f;
2470          break;
2471        }
2472        if (h === d) {
2473          g = true;
2474          d = e;
2475          c = f;
2476          break;
2477        }
2478        h = h.sibling;
2479      }
2480      if (!g) {
2481        for (h = f.child; h; ) {
2482          if (h === c) {
2483            g = true;
2484            c = f;
2485            d = e;
2486            break;
2487          }
2488          if (h === d) {
2489            g = true;
2490            d = f;
2491            c = e;
2492            break;
2493          }
2494          h = h.sibling;
2495        }
2496        if (!g) throw Error(u(189));
2497      }
2498    }
2499    if (c.alternate !== d) throw Error(u(190));
2500  }
2501  if (3 !== c.tag) throw Error(u(188));
2502  return c.stateNode.current === c ? a : b;
2503}
2504function hc(a) {
2505  a = gc(a);
2506  if (!a) return null;
2507  for (var b = a; ; ) {
2508    if (5 === b.tag || 6 === b.tag) return b;
2509    if (b.child) b.child.return = b, b = b.child;
2510    else {
2511      if (b === a) break;
2512      for (; !b.sibling; ) {
2513        if (!b.return || b.return === a) return null;
2514        b = b.return;
2515      }
2516      b.sibling.return = b.return;
2517      b = b.sibling;
2518    }
2519  }
2520  return null;
2521}
2522function ic(a, b) {
2523  if (null == b) throw Error(u(30));
2524  if (null == a) return b;
2525  if (Array.isArray(a)) {
2526    if (Array.isArray(b)) return a.push.apply(a, b), a;
2527    a.push(b);
2528    return a;
2529  }
2530  return Array.isArray(b) ? [a].concat(b) : [a, b];
2531}
2532function jc(a, b, c) {
2533  Array.isArray(a) ? a.forEach(b, c) : a && b.call(c, a);
2534}
2535var kc = null;
2536function lc(a) {
2537  if (a) {
2538    var b = a._dispatchListeners, c = a._dispatchInstances;
2539    if (Array.isArray(b)) for (var d = 0; d < b.length && !a.isPropagationStopped(); d++) oa(a, b[d], c[d]);
2540    else b && oa(a, b, c);
2541    a._dispatchListeners = null;
2542    a._dispatchInstances = null;
2543    a.isPersistent() || a.constructor.release(a);
2544  }
2545}
2546function mc(a) {
2547  null !== a && (kc = ic(kc, a));
2548  a = kc;
2549  kc = null;
2550  if (a) {
2551    jc(a, lc);
2552    if (kc) throw Error(u(95));
2553    if (fa) throw a = ha, fa = false, ha = null, a;
2554  }
2555}
2556function nc(a) {
2557  a = a.target || a.srcElement || window;
2558  a.correspondingUseElement && (a = a.correspondingUseElement);
2559  return 3 === a.nodeType ? a.parentNode : a;
2560}
2561function oc(a) {
2562  if (!ya) return false;
2563  a = "on" + a;
2564  var b = a in document;
2565  b || (b = document.createElement("div"), b.setAttribute(a, "return;"), b = "function" === typeof b[a]);
2566  return b;
2567}
2568var pc = [];
2569function qc(a) {
2570  a.topLevelType = null;
2571  a.nativeEvent = null;
2572  a.targetInst = null;
2573  a.ancestors.length = 0;
2574  10 > pc.length && pc.push(a);
2575}
2576function rc(a, b, c, d) {
2577  if (pc.length) {
2578    var e = pc.pop();
2579    e.topLevelType = a;
2580    e.eventSystemFlags = d;
2581    e.nativeEvent = b;
2582    e.targetInst = c;
2583    return e;
2584  }
2585  return { topLevelType: a, eventSystemFlags: d, nativeEvent: b, targetInst: c, ancestors: [] };
2586}
2587function sc(a) {
2588  var b = a.targetInst, c = b;
2589  do {
2590    if (!c) {
2591      a.ancestors.push(c);
2592      break;
2593    }
2594    var d = c;
2595    if (3 === d.tag) d = d.stateNode.containerInfo;
2596    else {
2597      for (; d.return; ) d = d.return;
2598      d = 3 !== d.tag ? null : d.stateNode.containerInfo;
2599    }
2600    if (!d) break;
2601    b = c.tag;
2602    5 !== b && 6 !== b || a.ancestors.push(c);
2603    c = tc(d);
2604  } while (c);
2605  for (c = 0; c < a.ancestors.length; c++) {
2606    b = a.ancestors[c];
2607    var e = nc(a.nativeEvent);
2608    d = a.topLevelType;
2609    var f = a.nativeEvent, g = a.eventSystemFlags;
2610    0 === c && (g |= 64);
2611    for (var h = null, k = 0; k < sa.length; k++) {
2612      var l = sa[k];
2613      l && (l = l.extractEvents(d, b, f, e, g)) && (h = ic(h, l));
2614    }
2615    mc(h);
2616  }
2617}
2618function uc(a, b, c) {
2619  if (!c.has(a)) {
2620    switch (a) {
2621      case "scroll":
2622        vc(b, "scroll", true);
2623        break;
2624      case "focus":
2625      case "blur":
2626        vc(b, "focus", true);
2627        vc(b, "blur", true);
2628        c.set("blur", null);
2629        c.set("focus", null);
2630        break;
2631      case "cancel":
2632      case "close":
2633        oc(a) && vc(b, a, true);
2634        break;
2635      case "invalid":
2636      case "submit":
2637      case "reset":
2638        break;
2639      default:
2640        -1 === ac.indexOf(a) && F(a, b);
2641    }
2642    c.set(a, null);
2643  }
2644}
2645var wc, xc, yc, zc = false, Ac = [], Bc = null, Cc = null, Dc = null, Ec = /* @__PURE__ */ new Map(), Fc = /* @__PURE__ */ new Map(), Gc = [], Hc = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "), Ic = "focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");
2646function Jc(a, b) {
2647  var c = cc(b);
2648  Hc.forEach(function(a2) {
2649    uc(a2, b, c);
2650  });
2651  Ic.forEach(function(a2) {
2652    uc(a2, b, c);
2653  });
2654}
2655function Kc(a, b, c, d, e) {
2656  return { blockedOn: a, topLevelType: b, eventSystemFlags: c | 32, nativeEvent: e, container: d };
2657}
2658function Lc(a, b) {
2659  switch (a) {
2660    case "focus":
2661    case "blur":
2662      Bc = null;
2663      break;
2664    case "dragenter":
2665    case "dragleave":
2666      Cc = null;
2667      break;
2668    case "mouseover":
2669    case "mouseout":
2670      Dc = null;
2671      break;
2672    case "pointerover":
2673    case "pointerout":
2674      Ec.delete(b.pointerId);
2675      break;
2676    case "gotpointercapture":
2677    case "lostpointercapture":
2678      Fc.delete(b.pointerId);
2679  }
2680}
2681function Mc(a, b, c, d, e, f) {
2682  if (null === a || a.nativeEvent !== f) return a = Kc(b, c, d, e, f), null !== b && (b = Nc(b), null !== b && xc(b)), a;
2683  a.eventSystemFlags |= d;
2684  return a;
2685}
2686function Oc(a, b, c, d, e) {
2687  switch (b) {
2688    case "focus":
2689      return Bc = Mc(Bc, a, b, c, d, e), true;
2690    case "dragenter":
2691      return Cc = Mc(Cc, a, b, c, d, e), true;
2692    case "mouseover":
2693      return Dc = Mc(Dc, a, b, c, d, e), true;
2694    case "pointerover":
2695      var f = e.pointerId;
2696      Ec.set(f, Mc(Ec.get(f) || null, a, b, c, d, e));
2697      return true;
2698    case "gotpointercapture":
2699      return f = e.pointerId, Fc.set(f, Mc(Fc.get(f) || null, a, b, c, d, e)), true;
2700  }
2701  return false;
2702}
2703function Pc(a) {
2704  var b = tc(a.target);
2705  if (null !== b) {
2706    var c = dc(b);
2707    if (null !== c) {
2708      if (b = c.tag, 13 === b) {
2709        if (b = ec(c), null !== b) {
2710          a.blockedOn = b;
2711          r.unstable_runWithPriority(a.priority, function() {
2712            yc(c);
2713          });
2714          return;
2715        }
2716      } else if (3 === b && c.stateNode.hydrate) {
2717        a.blockedOn = 3 === c.tag ? c.stateNode.containerInfo : null;
2718        return;
2719      }
2720    }
2721  }
2722  a.blockedOn = null;
2723}
2724function Qc(a) {
2725  if (null !== a.blockedOn) return false;
2726  var b = Rc(a.topLevelType, a.eventSystemFlags, a.container, a.nativeEvent);
2727  if (null !== b) {
2728    var c = Nc(b);
2729    null !== c && xc(c);
2730    a.blockedOn = b;
2731    return false;
2732  }
2733  return true;
2734}
2735function Sc(a, b, c) {
2736  Qc(a) && c.delete(b);
2737}
2738function Tc() {
2739  for (zc = false; 0 < Ac.length; ) {
2740    var a = Ac[0];
2741    if (null !== a.blockedOn) {
2742      a = Nc(a.blockedOn);
2743      null !== a && wc(a);
2744      break;
2745    }
2746    var b = Rc(a.topLevelType, a.eventSystemFlags, a.container, a.nativeEvent);
2747    null !== b ? a.blockedOn = b : Ac.shift();
2748  }
2749  null !== Bc && Qc(Bc) && (Bc = null);
2750  null !== Cc && Qc(Cc) && (Cc = null);
2751  null !== Dc && Qc(Dc) && (Dc = null);
2752  Ec.forEach(Sc);
2753  Fc.forEach(Sc);
2754}
2755function Uc(a, b) {
2756  a.blockedOn === b && (a.blockedOn = null, zc || (zc = true, r.unstable_scheduleCallback(r.unstable_NormalPriority, Tc)));
2757}
2758function Vc(a) {
2759  function b(b2) {
2760    return Uc(b2, a);
2761  }
2762  if (0 < Ac.length) {
2763    Uc(Ac[0], a);
2764    for (var c = 1; c < Ac.length; c++) {
2765      var d = Ac[c];
2766      d.blockedOn === a && (d.blockedOn = null);
2767    }
2768  }
2769  null !== Bc && Uc(Bc, a);
2770  null !== Cc && Uc(Cc, a);
2771  null !== Dc && Uc(Dc, a);
2772  Ec.forEach(b);
2773  Fc.forEach(b);
2774  for (c = 0; c < Gc.length; c++) d = Gc[c], d.blockedOn === a && (d.blockedOn = null);
2775  for (; 0 < Gc.length && (c = Gc[0], null === c.blockedOn); ) Pc(c), null === c.blockedOn && Gc.shift();
2776}
2777var Wc = {}, Yc = /* @__PURE__ */ new Map(), Zc = /* @__PURE__ */ new Map(), $c = [
2778  "abort",
2779  "abort",
2780  Xb,
2781  "animationEnd",
2782  Yb,
2783  "animationIteration",
2784  Zb,
2785  "animationStart",
2786  "canplay",
2787  "canPlay",
2788  "canplaythrough",
2789  "canPlayThrough",
2790  "durationchange",
2791  "durationChange",
2792  "emptied",
2793  "emptied",
2794  "encrypted",
2795  "encrypted",
2796  "ended",
2797  "ended",
2798  "error",
2799  "error",
2800  "gotpointercapture",
2801  "gotPointerCapture",
2802  "load",
2803  "load",
2804  "loadeddata",
2805  "loadedData",
2806  "loadedmetadata",
2807  "loadedMetadata",
2808  "loadstart",
2809  "loadStart",
2810  "lostpointercapture",
2811  "lostPointerCapture",
2812  "playing",
2813  "playing",
2814  "progress",
2815  "progress",
2816  "seeking",
2817  "seeking",
2818  "stalled",
2819  "stalled",
2820  "suspend",
2821  "suspend",
2822  "timeupdate",
2823  "timeUpdate",
2824  $b,
2825  "transitionEnd",
2826  "waiting",
2827  "waiting"
2828];
2829function ad(a, b) {
2830  for (var c = 0; c < a.length; c += 2) {
2831    var d = a[c], e = a[c + 1], f = "on" + (e[0].toUpperCase() + e.slice(1));
2832    f = { phasedRegistrationNames: { bubbled: f, captured: f + "Capture" }, dependencies: [d], eventPriority: b };
2833    Zc.set(d, b);
2834    Yc.set(d, f);
2835    Wc[e] = f;
2836  }
2837}
2838ad("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "), 0);
2839ad("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "), 1);
2840ad($c, 2);
2841for (var bd = "change selectionchange textInput compositionstart compositionend compositionupdate".split(" "), cd = 0; cd < bd.length; cd++) Zc.set(bd[cd], 0);
2842var dd = r.unstable_UserBlockingPriority, ed = r.unstable_runWithPriority, fd = true;
2843function F(a, b) {
2844  vc(b, a, false);
2845}
2846function vc(a, b, c) {
2847  var d = Zc.get(b);
2848  switch (void 0 === d ? 2 : d) {
2849    case 0:
2850      d = gd.bind(null, b, 1, a);
2851      break;
2852    case 1:
2853      d = hd.bind(null, b, 1, a);
2854      break;
2855    default:
2856      d = id.bind(null, b, 1, a);
2857  }
2858  c ? a.addEventListener(b, d, true) : a.addEventListener(b, d, false);
2859}
2860function gd(a, b, c, d) {
2861  Ja || Ha();
2862  var e = id, f = Ja;
2863  Ja = true;
2864  try {
2865    Ga(e, a, b, c, d);
2866  } finally {
2867    (Ja = f) || La();
2868  }
2869}
2870function hd(a, b, c, d) {
2871  ed(dd, id.bind(null, a, b, c, d));
2872}
2873function id(a, b, c, d) {
2874  if (fd) if (0 < Ac.length && -1 < Hc.indexOf(a)) a = Kc(null, a, b, c, d), Ac.push(a);
2875  else {
2876    var e = Rc(a, b, c, d);
2877    if (null === e) Lc(a, d);
2878    else if (-1 < Hc.indexOf(a)) a = Kc(e, a, b, c, d), Ac.push(a);
2879    else if (!Oc(e, a, b, c, d)) {
2880      Lc(a, d);
2881      a = rc(a, d, null, b);
vendor: 4,269 bytes, lines 2882-3049
2882      try {
2883        Ma(sc, a);
2884      } finally {
2885        qc(a);
2886      }
2887    }
2888  }
2889}
2890function Rc(a, b, c, d) {
2891  c = nc(d);
2892  c = tc(c);
2893  if (null !== c) {
2894    var e = dc(c);
2895    if (null === e) c = null;
2896    else {
2897      var f = e.tag;
2898      if (13 === f) {
2899        c = ec(e);
2900        if (null !== c) return c;
2901        c = null;
2902      } else if (3 === f) {
2903        if (e.stateNode.hydrate) return 3 === e.tag ? e.stateNode.containerInfo : null;
2904        c = null;
2905      } else e !== c && (c = null);
2906    }
2907  }
2908  a = rc(a, d, c, b);
2909  try {
2910    Ma(sc, a);
2911  } finally {
2912    qc(a);
2913  }
2914  return null;
2915}
2916var jd = {
2917  animationIterationCount: true,
2918  borderImageOutset: true,
2919  borderImageSlice: true,
2920  borderImageWidth: true,
2921  boxFlex: true,
2922  boxFlexGroup: true,
2923  boxOrdinalGroup: true,
2924  columnCount: true,
2925  columns: true,
2926  flex: true,
2927  flexGrow: true,
2928  flexPositive: true,
2929  flexShrink: true,
2930  flexNegative: true,
2931  flexOrder: true,
2932  gridArea: true,
2933  gridRow: true,
2934  gridRowEnd: true,
2935  gridRowSpan: true,
2936  gridRowStart: true,
2937  gridColumn: true,
2938  gridColumnEnd: true,
2939  gridColumnSpan: true,
2940  gridColumnStart: true,
2941  fontWeight: true,
2942  lineClamp: true,
2943  lineHeight: true,
2944  opacity: true,
2945  order: true,
2946  orphans: true,
2947  tabSize: true,
2948  widows: true,
2949  zIndex: true,
2950  zoom: true,
2951  fillOpacity: true,
2952  floodOpacity: true,
2953  stopOpacity: true,
2954  strokeDasharray: true,
2955  strokeDashoffset: true,
2956  strokeMiterlimit: true,
2957  strokeOpacity: true,
2958  strokeWidth: true
2959}, kd = ["Webkit", "ms", "Moz", "O"];
2960Object.keys(jd).forEach(function(a) {
2961  kd.forEach(function(b) {
2962    b = b + a.charAt(0).toUpperCase() + a.substring(1);
2963    jd[b] = jd[a];
2964  });
2965});
2966function ld(a, b, c) {
2967  return null == b || "boolean" === typeof b || "" === b ? "" : c || "number" !== typeof b || 0 === b || jd.hasOwnProperty(a) && jd[a] ? ("" + b).trim() : b + "px";
2968}
2969function md(a, b) {
2970  a = a.style;
2971  for (var c in b) if (b.hasOwnProperty(c)) {
2972    var d = 0 === c.indexOf("--"), e = ld(c, b[c], d);
2973    "float" === c && (c = "cssFloat");
2974    d ? a.setProperty(c, e) : a[c] = e;
2975  }
2976}
2977var nd = n({ menuitem: true }, { area: true, base: true, br: true, col: true, embed: true, hr: true, img: true, input: true, keygen: true, link: true, meta: true, param: true, source: true, track: true, wbr: true });
2978function od(a, b) {
2979  if (b) {
2980    if (nd[a] && (null != b.children || null != b.dangerouslySetInnerHTML)) throw Error(u(137, a, ""));
2981    if (null != b.dangerouslySetInnerHTML) {
2982      if (null != b.children) throw Error(u(60));
2983      if (!("object" === typeof b.dangerouslySetInnerHTML && "__html" in b.dangerouslySetInnerHTML)) throw Error(u(61));
2984    }
2985    if (null != b.style && "object" !== typeof b.style) throw Error(u(62, ""));
2986  }
2987}
2988function pd(a, b) {
2989  if (-1 === a.indexOf("-")) return "string" === typeof b.is;
2990  switch (a) {
2991    case "annotation-xml":
2992    case "color-profile":
2993    case "font-face":
2994    case "font-face-src":
2995    case "font-face-uri":
2996    case "font-face-format":
2997    case "font-face-name":
2998    case "missing-glyph":
2999      return false;
3000    default:
3001      return true;
3002  }
3003}
3004var qd = Mb.html;
3005function rd(a, b) {
3006  a = 9 === a.nodeType || 11 === a.nodeType ? a : a.ownerDocument;
3007  var c = cc(a);
3008  b = wa[b];
3009  for (var d = 0; d < b.length; d++) uc(b[d], a, c);
3010}
3011function sd() {
3012}
3013function td(a) {
3014  a = a || ("undefined" !== typeof document ? document : void 0);
3015  if ("undefined" === typeof a) return null;
3016  try {
3017    return a.activeElement || a.body;
3018  } catch (b) {
3019    return a.body;
3020  }
3021}
3022function ud(a) {
3023  for (; a && a.firstChild; ) a = a.firstChild;
3024  return a;
3025}
3026function vd(a, b) {
3027  var c = ud(a);
3028  a = 0;
3029  for (var d; c; ) {
3030    if (3 === c.nodeType) {
3031      d = a + c.textContent.length;
3032      if (a <= b && d >= b) return { node: c, offset: b - a };
3033      a = d;
3034    }
3035    a: {
3036      for (; c; ) {
3037        if (c.nextSibling) {
3038          c = c.nextSibling;
3039          break a;
3040        }
3041        c = c.parentNode;
3042      }
3043      c = void 0;
3044    }
3045    c = ud(c);
3046  }
3047}
3048function wd(a, b) {
3049  return a && b ? a === b ? true : a && 3 === a.nodeType ? false : b && 3 === b.nodeType ? wd(a, b.parentNode) : "contains" in a ? a.contains(b) : a.compareDocumentPosition ? !!(a.compareDocumentPosition(b) & 16) : false : false;
3050}
3051function xd() {
3052  for (var a = window, b = td(); b instanceof a.HTMLIFrameElement; ) {
3053    try {
3054      var c = "string" === typeof b.contentWindow.location.href;
3055    } catch (d) {
3056      c = false;
3057    }
3058    if (c) a = b.contentWindow;
3059    else break;
3060    b = td(a.document);
3061  }
3062  return b;
3063}
3064function yd(a) {
3065  var b = a && a.nodeName && a.nodeName.toLowerCase();
3066  return b && ("input" === b && ("text" === a.type || "search" === a.type || "tel" === a.type || "url" === a.type || "password" === a.type) || "textarea" === b || "true" === a.contentEditable);
3067}
3068var zd = "$", Ad = "/$", Bd = "$?", Cd = "$!", Dd = null, Ed = null;
3069function Fd(a, b) {
3070  switch (a) {
3071    case "button":
3072    case "input":
3073    case "select":
3074    case "textarea":
3075      return !!b.autoFocus;
3076  }
3077  return false;
3078}
3079function Gd(a, b) {
3080  return "textarea" === a || "option" === a || "noscript" === a || "string" === typeof b.children || "number" === typeof b.children || "object" === typeof b.dangerouslySetInnerHTML && null !== b.dangerouslySetInnerHTML && null != b.dangerouslySetInnerHTML.__html;
3081}
3082var Hd = "function" === typeof setTimeout ? setTimeout : void 0, Id = "function" === typeof clearTimeout ? clearTimeout : void 0;
3083function Jd(a) {
3084  for (; null != a; a = a.nextSibling) {
3085    var b = a.nodeType;
3086    if (1 === b || 3 === b) break;
3087  }
3088  return a;
3089}
3090function Kd(a) {
3091  a = a.previousSibling;
3092  for (var b = 0; a; ) {
3093    if (8 === a.nodeType) {
3094      var c = a.data;
3095      if (c === zd || c === Cd || c === Bd) {
3096        if (0 === b) return a;
3097        b--;
3098      } else c === Ad && b++;
3099    }
3100    a = a.previousSibling;
3101  }
3102  return null;
3103}
3104var Ld = Math.random().toString(36).slice(2), Md = "__reactInternalInstance$" + Ld, Nd = "__reactEventHandlers$" + Ld, Od = "__reactContainere$" + Ld;
3105function tc(a) {
3106  var b = a[Md];
3107  if (b) return b;
3108  for (var c = a.parentNode; c; ) {
3109    if (b = c[Od] || c[Md]) {
3110      c = b.alternate;
3111      if (null !== b.child || null !== c && null !== c.child) for (a = Kd(a); null !== a; ) {
3112        if (c = a[Md]) return c;
3113        a = Kd(a);
3114      }
3115      return b;
3116    }
3117    a = c;
3118    c = a.parentNode;
3119  }
3120  return null;
3121}
3122function Nc(a) {
3123  a = a[Md] || a[Od];
3124  return !a || 5 !== a.tag && 6 !== a.tag && 13 !== a.tag && 3 !== a.tag ? null : a;
3125}
3126function Pd(a) {
3127  if (5 === a.tag || 6 === a.tag) return a.stateNode;
3128  throw Error(u(33));
3129}
3130function Qd(a) {
3131  return a[Nd] || null;
3132}
3133function Rd(a) {
3134  do
3135    a = a.return;
3136  while (a && 5 !== a.tag);
3137  return a ? a : null;
3138}
3139function Sd(a, b) {
3140  var c = a.stateNode;
3141  if (!c) return null;
3142  var d = la(c);
3143  if (!d) return null;
3144  c = d[b];
3145  a: switch (b) {
3146    case "onClick":
3147    case "onClickCapture":
3148    case "onDoubleClick":
3149    case "onDoubleClickCapture":
3150    case "onMouseDown":
3151    case "onMouseDownCapture":
3152    case "onMouseMove":
3153    case "onMouseMoveCapture":
3154    case "onMouseUp":
3155    case "onMouseUpCapture":
3156    case "onMouseEnter":
3157      (d = !d.disabled) || (a = a.type, d = !("button" === a || "input" === a || "select" === a || "textarea" === a));
3158      a = !d;
3159      break a;
3160    default:
3161      a = false;
3162  }
3163  if (a) return null;
3164  if (c && "function" !== typeof c) throw Error(u(
3165    231,
3166    b,
3167    typeof c
3168  ));
3169  return c;
3170}
3171function Td(a, b, c) {
3172  if (b = Sd(a, c.dispatchConfig.phasedRegistrationNames[b])) c._dispatchListeners = ic(c._dispatchListeners, b), c._dispatchInstances = ic(c._dispatchInstances, a);
3173}
3174function Ud(a) {
3175  if (a && a.dispatchConfig.phasedRegistrationNames) {
3176    for (var b = a._targetInst, c = []; b; ) c.push(b), b = Rd(b);
3177    for (b = c.length; 0 < b--; ) Td(c[b], "captured", a);
3178    for (b = 0; b < c.length; b++) Td(c[b], "bubbled", a);
3179  }
3180}
3181function Vd(a, b, c) {
3182  a && c && c.dispatchConfig.registrationName && (b = Sd(a, c.dispatchConfig.registrationName)) && (c._dispatchListeners = ic(c._dispatchListeners, b), c._dispatchInstances = ic(c._dispatchInstances, a));
3183}
3184function Wd(a) {
3185  a && a.dispatchConfig.registrationName && Vd(a._targetInst, null, a);
3186}
3187function Xd(a) {
3188  jc(a, Ud);
3189}
3190var Yd = null, Zd = null, $d = null;
3191function ae() {
3192  if ($d) return $d;
3193  var a, b = Zd, c = b.length, d, e = "value" in Yd ? Yd.value : Yd.textContent, f = e.length;
3194  for (a = 0; a < c && b[a] === e[a]; a++) ;
3195  var g = c - a;
3196  for (d = 1; d <= g && b[c - d] === e[f - d]; d++) ;
3197  return $d = e.slice(a, 1 < d ? 1 - d : void 0);
3198}
3199function be() {
3200  return true;
3201}
3202function ce() {
3203  return false;
3204}
3205function G(a, b, c, d) {
3206  this.dispatchConfig = a;
3207  this._targetInst = b;
3208  this.nativeEvent = c;
3209  a = this.constructor.Interface;
3210  for (var e in a) a.hasOwnProperty(e) && ((b = a[e]) ? this[e] = b(c) : "target" === e ? this.target = d : this[e] = c[e]);
3211  this.isDefaultPrevented = (null != c.defaultPrevented ? c.defaultPrevented : false === c.returnValue) ? be : ce;
3212  this.isPropagationStopped = ce;
3213  return this;
3214}
3215n(G.prototype, { preventDefault: function() {
3216  this.defaultPrevented = true;
3217  var a = this.nativeEvent;
3218  a && (a.preventDefault ? a.preventDefault() : "unknown" !== typeof a.returnValue && (a.returnValue = false), this.isDefaultPrevented = be);
3219}, stopPropagation: function() {
3220  var a = this.nativeEvent;
3221  a && (a.stopPropagation ? a.stopPropagation() : "unknown" !== typeof a.cancelBubble && (a.cancelBubble = true), this.isPropagationStopped = be);
3222}, persist: function() {
3223  this.isPersistent = be;
3224}, isPersistent: ce, destructor: function() {
3225  var a = this.constructor.Interface, b;
3226  for (b in a) this[b] = null;
3227  this.nativeEvent = this._targetInst = this.dispatchConfig = null;
3228  this.isPropagationStopped = this.isDefaultPrevented = ce;
3229  this._dispatchInstances = this._dispatchListeners = null;
3230} });
3231G.Interface = { type: null, target: null, currentTarget: function() {
3232  return null;
3233}, eventPhase: null, bubbles: null, cancelable: null, timeStamp: function(a) {
3234  return a.timeStamp || Date.now();
3235}, defaultPrevented: null, isTrusted: null };
3236G.extend = function(a) {
3237  function b() {
3238  }
3239  function c() {
3240    return d.apply(this, arguments);
3241  }
3242  var d = this;
3243  b.prototype = d.prototype;
3244  var e = new b();
3245  n(e, c.prototype);
3246  c.prototype = e;
3247  c.prototype.constructor = c;
3248  c.Interface = n({}, d.Interface, a);
3249  c.extend = d.extend;
3250  de(c);
3251  return c;
3252};
3253de(G);
3254function ee(a, b, c, d) {
3255  if (this.eventPool.length) {
3256    var e = this.eventPool.pop();
3257    this.call(e, a, b, c, d);
3258    return e;
3259  }
3260  return new this(a, b, c, d);
3261}
3262function fe(a) {
3263  if (!(a instanceof this)) throw Error(u(279));
3264  a.destructor();
3265  10 > this.eventPool.length && this.eventPool.push(a);
3266}
3267function de(a) {
3268  a.eventPool = [];
3269  a.getPooled = ee;
3270  a.release = fe;
3271}
3272var ge = G.extend({ data: null }), he = G.extend({ data: null }), ie = [9, 13, 27, 32], je = ya && "CompositionEvent" in window, ke = null;
3273ya && "documentMode" in document && (ke = document.documentMode);
3274var le = ya && "TextEvent" in window && !ke, me = ya && (!je || ke && 8 < ke && 11 >= ke), ne = String.fromCharCode(32), oe = { beforeInput: { phasedRegistrationNames: { bubbled: "onBeforeInput", captured: "onBeforeInputCapture" }, dependencies: ["compositionend", "keypress", "textInput", "paste"] }, compositionEnd: { phasedRegistrationNames: { bubbled: "onCompositionEnd", captured: "onCompositionEndCapture" }, dependencies: "blur compositionend keydown keypress keyup mousedown".split(" ") }
3274, compositionStart: { phasedRegistrationNames: {
3275  bubbled: "onCompositionStart",
3276  captured: "onCompositionStartCapture"
3277}, dependencies: "blur compositionstart keydown keypress keyup mousedown".split(" ") }, compositionUpdate: { phasedRegistrationNames: { bubbled: "onCompositionUpdate", captured: "onCompositionUpdateCapture" }, dependencies: "blur compositionupdate keydown keypress keyup mousedown".split(" ") } }, pe = false;
3278function qe(a, b) {
3279  switch (a) {
3280    case "keyup":
3281      return -1 !== ie.indexOf(b.keyCode);
3282    case "keydown":
3283      return 229 !== b.keyCode;
3284    case "keypress":
3285    case "mousedown":
3286    case "blur":
3287      return true;
3288    default:
3289      return false;
3290  }
3291}
3292function re(a) {
3293  a = a.detail;
3294  return "object" === typeof a && "data" in a ? a.data : null;
3295}
3296var se = false;
3297function te(a, b) {
3298  switch (a) {
3299    case "compositionend":
3300      return re(b);
3301    case "keypress":
3302      if (32 !== b.which) return null;
3303      pe = true;
3304      return ne;
3305    case "textInput":
3306      return a = b.data, a === ne && pe ? null : a;
3307    default:
3308      return null;
3309  }
3310}
3311function ue(a, b) {
3312  if (se) return "compositionend" === a || !je && qe(a, b) ? (a = ae(), $d = Zd = Yd = null, se = false, a) : null;
3313  switch (a) {
3314    case "paste":
3315      return null;
3316    case "keypress":
3317      if (!(b.ctrlKey || b.altKey || b.metaKey) || b.ctrlKey && b.altKey) {
3318        if (b.char && 1 < b.char.length) return b.char;
3319        if (b.which) return String.fromCharCode(b.which);
3320      }
3321      return null;
3322    case "compositionend":
3323      return me && "ko" !== b.locale ? null : b.data;
3324    default:
3325      return null;
3326  }
3327}
3328var ve = { eventTypes: oe, extractEvents: function(a, b, c, d) {
3329  var e;
3330  if (je) b: {
3331    switch (a) {
3332      case "compositionstart":
3333        var f = oe.compositionStart;
3334        break b;
3335      case "compositionend":
3336        f = oe.compositionEnd;
3337        break b;
3338      case "compositionupdate":
3339        f = oe.compositionUpdate;
3340        break b;
3341    }
3342    f = void 0;
3343  }
3344  else se ? qe(a, c) && (f = oe.compositionEnd) : "keydown" === a && 229 === c.keyCode && (f = oe.compositionStart);
3345  f ? (me && "ko" !== c.locale && (se || f !== oe.compositionStart ? f === oe.compositionEnd && se && (e = ae()) : (Yd = d, Zd = "value" in Yd ? Yd.value : Yd.textContent, se = true)), f = ge.getPooled(
3346    f,
3347    b,
3348    c,
3349    d
3350  ), e ? f.data = e : (e = re(c), null !== e && (f.data = e)), Xd(f), e = f) : e = null;
3351  (a = le ? te(a, c) : ue(a, c)) ? (b = he.getPooled(oe.beforeInput, b, c, d), b.data = a, Xd(b)) : b = null;
3352  return null === e ? b : null === b ? e : [e, b];
3353} }, we = { color: true, date: true, datetime: true, "datetime-local": true, email: true, month: true, number: true, password: true, range: true, search: true, tel: true, text: true, time: true, url: true, week: true };
3354function xe(a) {
3355  var b = a && a.nodeName && a.nodeName.toLowerCase();
3356  return "input" === b ? !!we[a.type] : "textarea" === b ? true : false;
3357}
3358var ye = { change: { phasedRegistrationNames: { bubbled: "onChange", captured: "onChangeCapture" }, dependencies: "blur change click focus input keydown keyup selectionchange".split(" ") } };
3359function ze(a, b, c) {
3360  a = G.getPooled(ye.change, a, b, c);
3361  a.type = "change";
3362  Da(c);
3363  Xd(a);
3364  return a;
3365}
3366var Ae = null, Be = null;
3367function Ce(a) {
3368  mc(a);
3369}
3370function De(a) {
3371  var b = Pd(a);
3372  if (yb(b)) return a;
3373}
3374function Ee(a, b) {
3375  if ("change" === a) return b;
3376}
3377var Fe = false;
3378ya && (Fe = oc("input") && (!document.documentMode || 9 < document.documentMode));
3379function Ge() {
3380  Ae && (Ae.detachEvent("onpropertychange", He), Be = Ae = null);
3381}
3382function He(a) {
3383  if ("value" === a.propertyName && De(Be)) if (a = ze(Be, a, nc(a)), Ja) mc(a);
3384  else {
3385    Ja = true;
3386    try {
3387      Fa(Ce, a);
3388    } finally {
3389      Ja = false, La();
3390    }
3391  }
3392}
3393function Ie(a, b, c) {
3394  "focus" === a ? (Ge(), Ae = b, Be = c, Ae.attachEvent("onpropertychange", He)) : "blur" === a && Ge();
3395}
3396function Je(a) {
3397  if ("selectionchange" === a || "keyup" === a || "keydown" === a) return De(Be);
3398}
3399function Ke(a, b) {
3400  if ("click" === a) return De(b);
3401}
3402function Le(a, b) {
3403  if ("input" === a || "change" === a) return De(b);
3404}
3405var Me = { eventTypes: ye, _isInputEventSupported: Fe, extractEvents: function(a, b, c, d) {
3406  var e = b ? Pd(b) : window, f = e.nodeName && e.nodeName.toLowerCase();
3407  if ("select" === f || "input" === f && "file" === e.type) var g = Ee;
3408  else if (xe(e)) if (Fe) g = Le;
3409  else {
3410    g = Je;
3411    var h = Ie;
3412  }
3413  else (f = e.nodeName) && "input" === f.toLowerCase() && ("checkbox" === e.type || "radio" === e.type) && (g = Ke);
3414  if (g && (g = g(a, b))) return ze(g, c, d);
3415  h && h(a, e, b);
3416  "blur" === a && (a = e._wrapperState) && a.controlled && "number" === e.type && Db(e, "number", e.value);
3417} }, Ne = G.extend({ view: null, detail: null }), Oe = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" };
3418function Pe(a) {
3419  var b = this.nativeEvent;
3420  return b.getModifierState ? b.getModifierState(a) : (a = Oe[a]) ? !!b[a] : false;
vendor: 17,904 bytes, lines 3421-3999
3421}
3422function Qe() {
3423  return Pe;
3424}
3425var Re = 0, Se = 0, Te = false, Ue = false, Ve = Ne.extend({ screenX: null, screenY: null, clientX: null, clientY: null, pageX: null, pageY: null, ctrlKey: null, shiftKey: null, altKey: null, metaKey: null, getModifierState: Qe, button: null, buttons: null, relatedTarget: function(a) {
3426  return a.relatedTarget || (a.fromElement === a.srcElement ? a.toElement : a.fromElement);
3427}, movementX: function(a) {
3428  if ("movementX" in a) return a.movementX;
3429  var b = Re;
3430  Re = a.screenX;
3431  return Te ? "mousemove" === a.type ? a.screenX - b : 0 : (Te = true, 0);
3432}, movementY: function(a) {
3433  if ("movementY" in a) return a.movementY;
3434  var b = Se;
3435  Se = a.screenY;
3436  return Ue ? "mousemove" === a.type ? a.screenY - b : 0 : (Ue = true, 0);
3437} }), We = Ve.extend({ pointerId: null, width: null, height: null, pressure: null, tangentialPressure: null, tiltX: null, tiltY: null, twist: null, pointerType: null, isPrimary: null }), Xe = { mouseEnter: { registrationName: "onMouseEnter", dependencies: ["mouseout", "mouseover"] }, mouseLeave: { registrationName: "onMouseLeave", dependencies: ["mouseout", "mouseover"] }, pointerEnter: { registrationName: "onPointerEnter", dependencies: ["pointerout", "pointerover"] }, pointerLeave: {
3438  registrationName: "onPointerLeave",
3439  dependencies: ["pointerout", "pointerover"]
3440} }, Ye = { eventTypes: Xe, extractEvents: function(a, b, c, d, e) {
3441  var f = "mouseover" === a || "pointerover" === a, g = "mouseout" === a || "pointerout" === a;
3442  if (f && 0 === (e & 32) && (c.relatedTarget || c.fromElement) || !g && !f) return null;
3443  f = d.window === d ? d : (f = d.ownerDocument) ? f.defaultView || f.parentWindow : window;
3444  if (g) {
3445    if (g = b, b = (b = c.relatedTarget || c.toElement) ? tc(b) : null, null !== b) {
3446      var h = dc(b);
3447      if (b !== h || 5 !== b.tag && 6 !== b.tag) b = null;
3448    }
3449  } else g = null;
3450  if (g === b) return null;
3451  if ("mouseout" === a || "mouseover" === a) {
3452    var k = Ve;
3453    var l = Xe.mouseLeave;
3454    var m = Xe.mouseEnter;
3455    var p = "mouse";
3456  } else if ("pointerout" === a || "pointerover" === a) k = We, l = Xe.pointerLeave, m = Xe.pointerEnter, p = "pointer";
3457  a = null == g ? f : Pd(g);
3458  f = null == b ? f : Pd(b);
3459  l = k.getPooled(l, g, c, d);
3460  l.type = p + "leave";
3461  l.target = a;
3462  l.relatedTarget = f;
3463  c = k.getPooled(m, b, c, d);
3464  c.type = p + "enter";
3465  c.target = f;
3466  c.relatedTarget = a;
3467  d = g;
3468  p = b;
3469  if (d && p) a: {
3470    k = d;
3471    m = p;
3472    g = 0;
3473    for (a = k; a; a = Rd(a)) g++;
3474    a = 0;
3475    for (b = m; b; b = Rd(b)) a++;
3476    for (; 0 < g - a; ) k = Rd(k), g--;
3477    for (; 0 < a - g; ) m = Rd(m), a--;
3478    for (; g--; ) {
3479      if (k === m || k === m.alternate) break a;
3480      k = Rd(k);
3481      m = Rd(m);
3482    }
3483    k = null;
3484  }
3485  else k = null;
3486  m = k;
3487  for (k = []; d && d !== m; ) {
3488    g = d.alternate;
3489    if (null !== g && g === m) break;
3490    k.push(d);
3491    d = Rd(d);
3492  }
3493  for (d = []; p && p !== m; ) {
3494    g = p.alternate;
3495    if (null !== g && g === m) break;
3496    d.push(p);
3497    p = Rd(p);
3498  }
3499  for (p = 0; p < k.length; p++) Vd(k[p], "bubbled", l);
3500  for (p = d.length; 0 < p--; ) Vd(d[p], "captured", c);
3501  return 0 === (e & 64) ? [l] : [l, c];
3502} };
3503function Ze(a, b) {
3504  return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
3505}
3506var $e = "function" === typeof Object.is ? Object.is : Ze, af = Object.prototype.hasOwnProperty;
3507function bf(a, b) {
3508  if ($e(a, b)) return true;
3509  if ("object" !== typeof a || null === a || "object" !== typeof b || null === b) return false;
3510  var c = Object.keys(a), d = Object.keys(b);
3511  if (c.length !== d.length) return false;
3512  for (d = 0; d < c.length; d++) if (!af.call(b, c[d]) || !$e(a[c[d]], b[c[d]])) return false;
3513  return true;
3514}
3515var cf = ya && "documentMode" in document && 11 >= document.documentMode, df = { select: { phasedRegistrationNames: { bubbled: "onSelect", captured: "onSelectCapture" }, dependencies: "blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ") } }, ef = null, ff = null, gf = null, hf = false;
3516function jf(a, b) {
3517  var c = b.window === b ? b.document : 9 === b.nodeType ? b : b.ownerDocument;
3518  if (hf || null == ef || ef !== td(c)) return null;
3519  c = ef;
3520  "selectionStart" in c && yd(c) ? c = { start: c.selectionStart, end: c.selectionEnd } : (c = (c.ownerDocument && c.ownerDocument.defaultView || window).getSelection(), c = { anchorNode: c.anchorNode, anchorOffset: c.anchorOffset, focusNode: c.focusNode, focusOffset: c.focusOffset });
3521  return gf && bf(gf, c) ? null : (gf = c, a = G.getPooled(df.select, ff, a, b), a.type = "select", a.target = ef, Xd(a), a);
3522}
3523var kf = { eventTypes: df, extractEvents: function(a, b, c, d, e, f) {
3524  e = f || (d.window === d ? d.document : 9 === d.nodeType ? d : d.ownerDocument);
3525  if (!(f = !e)) {
3526    a: {
3527      e = cc(e);
3528      f = wa.onSelect;
3529      for (var g = 0; g < f.length; g++) if (!e.has(f[g])) {
3530        e = false;
3531        break a;
3532      }
3533      e = true;
3534    }
3535    f = !e;
3536  }
3537  if (f) return null;
3538  e = b ? Pd(b) : window;
3539  switch (a) {
3540    case "focus":
3541      if (xe(e) || "true" === e.contentEditable) ef = e, ff = b, gf = null;
3542      break;
3543    case "blur":
3544      gf = ff = ef = null;
3545      break;
3546    case "mousedown":
3547      hf = true;
3548      break;
3549    case "contextmenu":
3550    case "mouseup":
3551    case "dragend":
3552      return hf = false, jf(c, d);
3553    case "selectionchange":
3554      if (cf) break;
3555    case "keydown":
3556    case "keyup":
3557      return jf(c, d);
3558  }
3559  return null;
3560} }, lf = G.extend({ animationName: null, elapsedTime: null, pseudoElement: null }), mf = G.extend({ clipboardData: function(a) {
3561  return "clipboardData" in a ? a.clipboardData : window.clipboardData;
3562} }), nf = Ne.extend({ relatedTarget: null });
3563function of(a) {
3564  var b = a.keyCode;
3565  "charCode" in a ? (a = a.charCode, 0 === a && 13 === b && (a = 13)) : a = b;
3566  10 === a && (a = 13);
3567  return 32 <= a || 13 === a ? a : 0;
3568}
3569var pf = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", Up: "ArrowUp", Right: "ArrowRight", Down: "ArrowDown", Del: "Delete", Win: "OS", Menu: "ContextMenu", Apps: "ContextMenu", Scroll: "ScrollLock", MozPrintableKey: "Unidentified" }, qf = {
3570  8: "Backspace",
3571  9: "Tab",
3572  12: "Clear",
3573  13: "Enter",
3574  16: "Shift",
3575  17: "Control",
3576  18: "Alt",
3577  19: "Pause",
3578  20: "CapsLock",
3579  27: "Escape",
3580  32: " ",
3581  33: "PageUp",
3582  34: "PageDown",
3583  35: "End",
3584  36: "Home",
3585  37: "ArrowLeft",
3586  38: "ArrowUp",
3587  39: "ArrowRight",
3588  40: "ArrowDown",
3589  45: "Insert",
3590  46: "Delete",
3591  112: "F1",
3592  113: "F2",
3593  114: "F3",
3594  115: "F4",
3595  116: "F5",
3596  117: "F6",
3597  118: "F7",
3598  119: "F8",
3599  120: "F9",
3600  121: "F10",
3601  122: "F11",
3602  123: "F12",
3603  144: "NumLock",
3604  145: "ScrollLock",
3605  224: "Meta"
3606}, rf = Ne.extend({ key: function(a) {
3607  if (a.key) {
3608    var b = pf[a.key] || a.key;
3609    if ("Unidentified" !== b) return b;
3610  }
3611  return "keypress" === a.type ? (a = of(a), 13 === a ? "Enter" : String.fromCharCode(a)) : "keydown" === a.type || "keyup" === a.type ? qf[a.keyCode] || "Unidentified" : "";
3612}, location: null, ctrlKey: null, shiftKey: null, altKey: null, metaKey: null, repeat: null, locale: null, getModifierState: Qe, charCode: function(a) {
3613  return "keypress" === a.type ? of(a) : 0;
3614}, keyCode: function(a) {
3615  return "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0;
3616}, which: function(a) {
3617  return "keypress" === a.type ? of(a) : "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0;
3618} }), sf = Ve.extend({ dataTransfer: null }), tf = Ne.extend({ touches: null, targetTouches: null, changedTouches: null, altKey: null, metaKey: null, ctrlKey: null, shiftKey: null, getModifierState: Qe }), uf = G.extend({ propertyName: null, elapsedTime: null, pseudoElement: null }), vf = Ve.extend({ deltaX: function(a) {
3619  return "deltaX" in a ? a.deltaX : "wheelDeltaX" in a ? -a.wheelDeltaX : 0;
3620}, deltaY: function(a) {
3621  return "deltaY" in a ? a.deltaY : "wheelDeltaY" in a ? -a.wheelDeltaY : "wheelDelta" in a ? -a.wheelDelta : 0;
3622}, deltaZ: null, deltaMode: null }), wf = { eventTypes: Wc, extractEvents: function(a, b, c, d) {
3623  var e = Yc.get(a);
3624  if (!e) return null;
3625  switch (a) {
3626    case "keypress":
3627      if (0 === of(c)) return null;
3628    case "keydown":
3629    case "keyup":
3630      a = rf;
3631      break;
3632    case "blur":
3633    case "focus":
3634      a = nf;
3635      break;
3636    case "click":
3637      if (2 === c.button) return null;
3638    case "auxclick":
3639    case "dblclick":
3640    case "mousedown":
3641    case "mousemove":
3642    case "mouseup":
3643    case "mouseout":
3644    case "mouseover":
3645    case "contextmenu":
3646      a = Ve;
3647      break;
3648    case "drag":
3649    case "dragend":
3650    case "dragenter":
3651    case "dragexit":
3652    case "dragleave":
3653    case "dragover":
3654    case "dragstart":
3655    case "drop":
3656      a = sf;
3657      break;
3658    case "touchcancel":
3659    case "touchend":
3660    case "touchmove":
3661    case "touchstart":
3662      a = tf;
3663      break;
3664    case Xb:
3665    case Yb:
3666    case Zb:
3667      a = lf;
3668      break;
3669    case $b:
3670      a = uf;
3671      break;
3672    case "scroll":
3673      a = Ne;
3674      break;
3675    case "wheel":
3676      a = vf;
3677      break;
3678    case "copy":
3679    case "cut":
3680    case "paste":
3681      a = mf;
3682      break;
3683    case "gotpointercapture":
3684    case "lostpointercapture":
3685    case "pointercancel":
3686    case "pointerdown":
3687    case "pointermove":
3688    case "pointerout":
3689    case "pointerover":
3690    case "pointerup":
3691      a = We;
3692      break;
3693    default:
3694      a = G;
3695  }
3696  b = a.getPooled(e, b, c, d);
3697  Xd(b);
3698  return b;
3699} };
3700if (pa) throw Error(u(101));
3701pa = Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" "));
3702ra();
3703var xf = Nc;
3704la = Qd;
3705ma = xf;
3706na = Pd;
3707xa({ SimpleEventPlugin: wf, EnterLeaveEventPlugin: Ye, ChangeEventPlugin: Me, SelectEventPlugin: kf, BeforeInputEventPlugin: ve });
3708var yf = [], zf = -1;
3709function H(a) {
3710  0 > zf || (a.current = yf[zf], yf[zf] = null, zf--);
3711}
3712function I(a, b) {
3713  zf++;
3714  yf[zf] = a.current;
3715  a.current = b;
3716}
3717var Af = {}, J = { current: Af }, K = { current: false }, Bf = Af;
3718function Cf(a, b) {
3719  var c = a.type.contextTypes;
3720  if (!c) return Af;
3721  var d = a.stateNode;
3722  if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) return d.__reactInternalMemoizedMaskedChildContext;
3723  var e = {}, f;
3724  for (f in c) e[f] = b[f];
3725  d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e);
3726  return e;
3727}
3728function L(a) {
3729  a = a.childContextTypes;
3730  return null !== a && void 0 !== a;
3731}
3732function Df() {
3733  H(K);
3734  H(J);
3735}
3736function Ef(a, b, c) {
3737  if (J.current !== Af) throw Error(u(168));
3738  I(J, b);
3739  I(K, c);
3740}
3741function Ff(a, b, c) {
3742  var d = a.stateNode;
3743  a = b.childContextTypes;
3744  if ("function" !== typeof d.getChildContext) return c;
3745  d = d.getChildContext();
3746  for (var e in d) if (!(e in a)) throw Error(u(108, pb(b) || "Unknown", e));
3747  return n({}, c, {}, d);
3748}
3749function Gf(a) {
3750  a = (a = a.stateNode) && a.__reactInternalMemoizedMergedChildContext || Af;
3751  Bf = J.current;
3752  I(J, a);
3753  I(K, K.current);
3754  return true;
3755}
3756function Hf(a, b, c) {
3757  var d = a.stateNode;
3758  if (!d) throw Error(u(169));
3759  c ? (a = Ff(a, b, Bf), d.__reactInternalMemoizedMergedChildContext = a, H(K), H(J), I(J, a)) : H(K);
3760  I(K, c);
3761}
3762var If = r.unstable_runWithPriority, Jf = r.unstable_scheduleCallback, Kf = r.unstable_cancelCallback, Lf = r.unstable_requestPaint, Mf = r.unstable_now, Nf = r.unstable_getCurrentPriorityLevel, Of = r.unstable_ImmediatePriority, Pf = r.unstable_UserBlockingPriority, Qf = r.unstable_NormalPriority, Rf = r.unstable_LowPriority, Sf = r.unstable_IdlePriority, Tf = {}, Uf = r.unstable_shouldYield, Vf = void 0 !== Lf ? Lf : function() {
3763}, Wf = null, Xf = null, Yf = false, Zf = Mf(), $f = 1e4 > Zf ? Mf : function() {
3764  return Mf() - Zf;
3765};
3766function ag() {
3767  switch (Nf()) {
3768    case Of:
3769      return 99;
3770    case Pf:
3771      return 98;
3772    case Qf:
3773      return 97;
3774    case Rf:
3775      return 96;
3776    case Sf:
3777      return 95;
3778    default:
3779      throw Error(u(332));
3780  }
3781}
3782function bg(a) {
3783  switch (a) {
3784    case 99:
3785      return Of;
3786    case 98:
3787      return Pf;
3788    case 97:
3789      return Qf;
3790    case 96:
3791      return Rf;
3792    case 95:
3793      return Sf;
3794    default:
3795      throw Error(u(332));
3796  }
3797}
3798function cg(a, b) {
3799  a = bg(a);
3800  return If(a, b);
3801}
3802function dg(a, b, c) {
3803  a = bg(a);
3804  return Jf(a, b, c);
3805}
3806function eg(a) {
3807  null === Wf ? (Wf = [a], Xf = Jf(Of, fg)) : Wf.push(a);
3808  return Tf;
3809}
3810function gg() {
3811  if (null !== Xf) {
3812    var a = Xf;
3813    Xf = null;
3814    Kf(a);
3815  }
3816  fg();
3817}
3818function fg() {
3819  if (!Yf && null !== Wf) {
3820    Yf = true;
3821    var a = 0;
3822    try {
3823      var b = Wf;
3824      cg(99, function() {
3825        for (; a < b.length; a++) {
3826          var c = b[a];
3827          do
3828            c = c(true);
3829          while (null !== c);
3830        }
3831      });
3832      Wf = null;
3833    } catch (c) {
3834      throw null !== Wf && (Wf = Wf.slice(a + 1)), Jf(Of, gg), c;
3835    } finally {
3836      Yf = false;
3837    }
3838  }
3839}
3840function hg(a, b, c) {
3841  c /= 10;
3842  return 1073741821 - (((1073741821 - a + b / 10) / c | 0) + 1) * c;
3843}
3844function ig(a, b) {
3845  if (a && a.defaultProps) {
3846    b = n({}, b);
3847    a = a.defaultProps;
3848    for (var c in a) void 0 === b[c] && (b[c] = a[c]);
3849  }
3850  return b;
3851}
3852var jg = { current: null }, kg = null, lg = null, mg = null;
3853function ng() {
3854  mg = lg = kg = null;
3855}
3856function og(a) {
3857  var b = jg.current;
3858  H(jg);
3859  a.type._context._currentValue = b;
3860}
3861function pg(a, b) {
3862  for (; null !== a; ) {
3863    var c = a.alternate;
3864    if (a.childExpirationTime < b) a.childExpirationTime = b, null !== c && c.childExpirationTime < b && (c.childExpirationTime = b);
3865    else if (null !== c && c.childExpirationTime < b) c.childExpirationTime = b;
3866    else break;
3867    a = a.return;
3868  }
3869}
3870function qg(a, b) {
3871  kg = a;
3872  mg = lg = null;
3873  a = a.dependencies;
3874  null !== a && null !== a.firstContext && (a.expirationTime >= b && (rg = true), a.firstContext = null);
3875}
3876function sg(a, b) {
3877  if (mg !== a && false !== b && 0 !== b) {
3878    if ("number" !== typeof b || 1073741823 === b) mg = a, b = 1073741823;
3879    b = { context: a, observedBits: b, next: null };
3880    if (null === lg) {
3881      if (null === kg) throw Error(u(308));
3882      lg = b;
3883      kg.dependencies = { expirationTime: 0, firstContext: b, responders: null };
3884    } else lg = lg.next = b;
3885  }
3886  return a._currentValue;
3887}
3888var tg = false;
3889function ug(a) {
3890  a.updateQueue = { baseState: a.memoizedState, baseQueue: null, shared: { pending: null }, effects: null };
3891}
3892function vg(a, b) {
3893  a = a.updateQueue;
3894  b.updateQueue === a && (b.updateQueue = { baseState: a.baseState, baseQueue: a.baseQueue, shared: a.shared, effects: a.effects });
3895}
3896function wg(a, b) {
3897  a = { expirationTime: a, suspenseConfig: b, tag: 0, payload: null, callback: null, next: null };
3898  return a.next = a;
3899}
3900function xg(a, b) {
3901  a = a.updateQueue;
3902  if (null !== a) {
3903    a = a.shared;
3904    var c = a.pending;
3905    null === c ? b.next = b : (b.next = c.next, c.next = b);
3906    a.pending = b;
3907  }
3908}
3909function yg(a, b) {
3910  var c = a.alternate;
3911  null !== c && vg(c, a);
3912  a = a.updateQueue;
3913  c = a.baseQueue;
3914  null === c ? (a.baseQueue = b.next = b, b.next = b) : (b.next = c.next, c.next = b);
3915}
3916function zg(a, b, c, d) {
3917  var e = a.updateQueue;
3918  tg = false;
3919  var f = e.baseQueue, g = e.shared.pending;
3920  if (null !== g) {
3921    if (null !== f) {
3922      var h = f.next;
3923      f.next = g.next;
3924      g.next = h;
3925    }
3926    f = g;
3927    e.shared.pending = null;
3928    h = a.alternate;
3929    null !== h && (h = h.updateQueue, null !== h && (h.baseQueue = g));
3930  }
3931  if (null !== f) {
3932    h = f.next;
3933    var k = e.baseState, l = 0, m = null, p = null, x = null;
3934    if (null !== h) {
3935      var z = h;
3936      do {
3937        g = z.expirationTime;
3938        if (g < d) {
3939          var ca = { expirationTime: z.expirationTime, suspenseConfig: z.suspenseConfig, tag: z.tag, payload: z.payload, callback: z.callback, next: null };
3940          null === x ? (p = x = ca, m = k) : x = x.next = ca;
3941          g > l && (l = g);
3942        } else {
3943          null !== x && (x = x.next = { expirationTime: 1073741823, suspenseConfig: z.suspenseConfig, tag: z.tag, payload: z.payload, callback: z.callback, next: null });
3944          Ag(g, z.suspenseConfig);
3945          a: {
3946            var D = a, t = z;
3947            g = b;
3948            ca = c;
3949            switch (t.tag) {
3950              case 1:
3951                D = t.payload;
3952                if ("function" === typeof D) {
3953                  k = D.call(ca, k, g);
3954                  break a;
3955                }
3956                k = D;
3957                break a;
3958              case 3:
3959                D.effectTag = D.effectTag & -4097 | 64;
3960              case 0:
3961                D = t.payload;
3962                g = "function" === typeof D ? D.call(ca, k, g) : D;
3963                if (null === g || void 0 === g) break a;
3964                k = n({}, k, g);
3965                break a;
3966              case 2:
3967                tg = true;
3968            }
3969          }
3970          null !== z.callback && (a.effectTag |= 32, g = e.effects, null === g ? e.effects = [z] : g.push(z));
3971        }
3972        z = z.next;
3973        if (null === z || z === h) if (g = e.shared.pending, null === g) break;
3974        else z = f.next = g.next, g.next = h, e.baseQueue = f = g, e.shared.pending = null;
3975      } while (1);
3976    }
3977    null === x ? m = k : x.next = p;
3978    e.baseState = m;
3979    e.baseQueue = x;
3980    Bg(l);
3981    a.expirationTime = l;
3982    a.memoizedState = k;
3983  }
3984}
3985function Cg(a, b, c) {
3986  a = b.effects;
3987  b.effects = null;
3988  if (null !== a) for (b = 0; b < a.length; b++) {
3989    var d = a[b], e = d.callback;
3990    if (null !== e) {
3991      d.callback = null;
3992      d = e;
3993      e = c;
3994      if ("function" !== typeof d) throw Error(u(191, d));
3995      d.call(e);
3996    }
3997  }
3998}
3999var Dg = Wa.ReactCurrentBatchConfig, Eg = new aa.Component().refs;
vendor: 4,099 bytes, lines 4000-4108
4000function Fg(a, b, c, d) {
4001  b = a.memoizedState;
4002  c = c(d, b);
4003  c = null === c || void 0 === c ? b : n({}, b, c);
4004  a.memoizedState = c;
4005  0 === a.expirationTime && (a.updateQueue.baseState = c);
4006}
4007var Jg = { isMounted: function(a) {
4008  return (a = a._reactInternalFiber) ? dc(a) === a : false;
4009}, enqueueSetState: function(a, b, c) {
4010  a = a._reactInternalFiber;
4011  var d = Gg(), e = Dg.suspense;
4012  d = Hg(d, a, e);
4013  e = wg(d, e);
4014  e.payload = b;
4015  void 0 !== c && null !== c && (e.callback = c);
4016  xg(a, e);
4017  Ig(a, d);
4018}, enqueueReplaceState: function(a, b, c) {
4019  a = a._reactInternalFiber;
4020  var d = Gg(), e = Dg.suspense;
4021  d = Hg(d, a, e);
4022  e = wg(d, e);
4023  e.tag = 1;
4024  e.payload = b;
4025  void 0 !== c && null !== c && (e.callback = c);
4026  xg(a, e);
4027  Ig(a, d);
4028}, enqueueForceUpdate: function(a, b) {
4029  a = a._reactInternalFiber;
4030  var c = Gg(), d = Dg.suspense;
4031  c = Hg(c, a, d);
4032  d = wg(c, d);
4033  d.tag = 2;
4034  void 0 !== b && null !== b && (d.callback = b);
4035  xg(a, d);
4036  Ig(a, c);
4037} };
4038function Kg(a, b, c, d, e, f, g) {
4039  a = a.stateNode;
4040  return "function" === typeof a.shouldComponentUpdate ? a.shouldComponentUpdate(d, f, g) : b.prototype && b.prototype.isPureReactComponent ? !bf(c, d) || !bf(e, f) : true;
4041}
4042function Lg(a, b, c) {
4043  var d = false, e = Af;
4044  var f = b.contextType;
4045  "object" === typeof f && null !== f ? f = sg(f) : (e = L(b) ? Bf : J.current, d = b.contextTypes, f = (d = null !== d && void 0 !== d) ? Cf(a, e) : Af);
4046  b = new b(c, f);
4047  a.memoizedState = null !== b.state && void 0 !== b.state ? b.state : null;
4048  b.updater = Jg;
4049  a.stateNode = b;
4050  b._reactInternalFiber = a;
4051  d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = e, a.__reactInternalMemoizedMaskedChildContext = f);
4052  return b;
4053}
4054function Mg(a, b, c, d) {
4055  a = b.state;
4056  "function" === typeof b.componentWillReceiveProps && b.componentWillReceiveProps(c, d);
4057  "function" === typeof b.UNSAFE_componentWillReceiveProps && b.UNSAFE_componentWillReceiveProps(c, d);
4058  b.state !== a && Jg.enqueueReplaceState(b, b.state, null);
4059}
4060function Ng(a, b, c, d) {
4061  var e = a.stateNode;
4062  e.props = c;
4063  e.state = a.memoizedState;
4064  e.refs = Eg;
4065  ug(a);
4066  var f = b.contextType;
4067  "object" === typeof f && null !== f ? e.context = sg(f) : (f = L(b) ? Bf : J.current, e.context = Cf(a, f));
4068  zg(a, c, e, d);
4069  e.state = a.memoizedState;
4070  f = b.getDerivedStateFromProps;
4071  "function" === typeof f && (Fg(a, b, f, c), e.state = a.memoizedState);
4072  "function" === typeof b.getDerivedStateFromProps || "function" === typeof e.getSnapshotBeforeUpdate || "function" !== typeof e.UNSAFE_componentWillMount && "function" !== typeof e.componentWillMount || (b = e.state, "function" === typeof e.componentWillMount && e.componentWillMount(), "function" === typeof e.UNSAFE_componentWillMount && e.UNSAFE_componentWillMount(), b !== e.state && Jg.enqueueReplaceState(e, e.state, null), zg(a, c, e, d), e.state = a.memoizedState);
4073  "function" === typeof e.componentDidMount && (a.effectTag |= 4);
4074}
4075var Og = Array.isArray;
4076function Pg(a, b, c) {
4077  a = c.ref;
4078  if (null !== a && "function" !== typeof a && "object" !== typeof a) {
4079    if (c._owner) {
4080      c = c._owner;
4081      if (c) {
4082        if (1 !== c.tag) throw Error(u(309));
4083        var d = c.stateNode;
4084      }
4085      if (!d) throw Error(u(147, a));
4086      var e = "" + a;
4087      if (null !== b && null !== b.ref && "function" === typeof b.ref && b.ref._stringRef === e) return b.ref;
4088      b = function(a2) {
4089        var b2 = d.refs;
4090        b2 === Eg && (b2 = d.refs = {});
4091        null === a2 ? delete b2[e] : b2[e] = a2;
4092      };
4093      b._stringRef = e;
4094      return b;
4095    }
4096    if ("string" !== typeof a) throw Error(u(284));
4097    if (!c._owner) throw Error(u(290, a));
4098  }
4099  return a;
4100}
4101function Qg(a, b) {
4102  if ("textarea" !== a.type) throw Error(u(31, "[object Object]" === Object.prototype.toString.call(b) ? "object with keys {" + Object.keys(b).join(", ") + "}" : b, ""));
4103}
4104function Rg(a) {
4105  function b(b2, c2) {
4106    if (a) {
4107      var d2 = b2.lastEffect;
4108      null !== d2 ? (d2.nextEffect = c2, b2.lastEffect = c2) : b2.f
vendor: 5,856 bytes, lines 4108-4263
4108irstEffect = b2.lastEffect = c2;
4109      c2.nextEffect = null;
4110      c2.effectTag = 8;
4111    }
4112  }
4113  function c(c2, d2) {
4114    if (!a) return null;
4115    for (; null !== d2; ) b(c2, d2), d2 = d2.sibling;
4116    return null;
4117  }
4118  function d(a2, b2) {
4119    for (a2 = /* @__PURE__ */ new Map(); null !== b2; ) null !== b2.key ? a2.set(b2.key, b2) : a2.set(b2.index, b2), b2 = b2.sibling;
4120    return a2;
4121  }
4122  function e(a2, b2) {
4123    a2 = Sg(a2, b2);
4124    a2.index = 0;
4125    a2.sibling = null;
4126    return a2;
4127  }
4128  function f(b2, c2, d2) {
4129    b2.index = d2;
4130    if (!a) return c2;
4131    d2 = b2.alternate;
4132    if (null !== d2) return d2 = d2.index, d2 < c2 ? (b2.effectTag = 2, c2) : d2;
4133    b2.effectTag = 2;
4134    return c2;
4135  }
4136  function g(b2) {
4137    a && null === b2.alternate && (b2.effectTag = 2);
4138    return b2;
4139  }
4140  function h(a2, b2, c2, d2) {
4141    if (null === b2 || 6 !== b2.tag) return b2 = Tg(c2, a2.mode, d2), b2.return = a2, b2;
4142    b2 = e(b2, c2);
4143    b2.return = a2;
4144    return b2;
4145  }
4146  function k(a2, b2, c2, d2) {
4147    if (null !== b2 && b2.elementType === c2.type) return d2 = e(b2, c2.props), d2.ref = Pg(a2, b2, c2), d2.return = a2, d2;
4148    d2 = Ug(c2.type, c2.key, c2.props, null, a2.mode, d2);
4149    d2.ref = Pg(a2, b2, c2);
4150    d2.return = a2;
4151    return d2;
4152  }
4153  function l(a2, b2, c2, d2) {
4154    if (null === b2 || 4 !== b2.tag || b2.stateNode.containerInfo !== c2.containerInfo || b2.stateNode.implementation !== c2.implementation) return b2 = Vg(c2, a2.mode, d2), b2.return = a2, b2;
4155    b2 = e(b2, c2.children || []);
4156    b2.return = a2;
4157    return b2;
4158  }
4159  function m(a2, b2, c2, d2, f2) {
4160    if (null === b2 || 7 !== b2.tag) return b2 = Wg(c2, a2.mode, d2, f2), b2.return = a2, b2;
4161    b2 = e(b2, c2);
4162    b2.return = a2;
4163    return b2;
4164  }
4165  function p(a2, b2, c2) {
4166    if ("string" === typeof b2 || "number" === typeof b2) return b2 = Tg("" + b2, a2.mode, c2), b2.return = a2, b2;
4167    if ("object" === typeof b2 && null !== b2) {
4168      switch (b2.$$typeof) {
4169        case Za:
4170          return c2 = Ug(b2.type, b2.key, b2.props, null, a2.mode, c2), c2.ref = Pg(a2, null, b2), c2.return = a2, c2;
4171        case $a:
4172          return b2 = Vg(b2, a2.mode, c2), b2.return = a2, b2;
4173      }
4174      if (Og(b2) || nb(b2)) return b2 = Wg(b2, a2.mode, c2, null), b2.return = a2, b2;
4175      Qg(a2, b2);
4176    }
4177    return null;
4178  }
4179  function x(a2, b2, c2, d2) {
4180    var e2 = null !== b2 ? b2.key : null;
4181    if ("string" === typeof c2 || "number" === typeof c2) return null !== e2 ? null : h(a2, b2, "" + c2, d2);
4182    if ("object" === typeof c2 && null !== c2) {
4183      switch (c2.$$typeof) {
4184        case Za:
4185          return c2.key === e2 ? c2.type === ab ? m(a2, b2, c2.props.children, d2, e2) : k(a2, b2, c2, d2) : null;
4186        case $a:
4187          return c2.key === e2 ? l(a2, b2, c2, d2) : null;
4188      }
4189      if (Og(c2) || nb(c2)) return null !== e2 ? null : m(a2, b2, c2, d2, null);
4190      Qg(a2, c2);
4191    }
4192    return null;
4193  }
4194  function z(a2, b2, c2, d2, e2) {
4195    if ("string" === typeof d2 || "number" === typeof d2) return a2 = a2.get(c2) || null, h(b2, a2, "" + d2, e2);
4196    if ("object" === typeof d2 && null !== d2) {
4197      switch (d2.$$typeof) {
4198        case Za:
4199          return a2 = a2.get(null === d2.key ? c2 : d2.key) || null, d2.type === ab ? m(b2, a2, d2.props.children, e2, d2.key) : k(b2, a2, d2, e2);
4200        case $a:
4201          return a2 = a2.get(null === d2.key ? c2 : d2.key) || null, l(b2, a2, d2, e2);
4202      }
4203      if (Og(d2) || nb(d2)) return a2 = a2.get(c2) || null, m(b2, a2, d2, e2, null);
4204      Qg(b2, d2);
4205    }
4206    return null;
4207  }
4208  function ca(e2, g2, h2, k2) {
4209    for (var l2 = null, t = null, m2 = g2, y = g2 = 0, A = null; null !== m2 && y < h2.length; y++) {
4210      m2.index > y ? (A = m2, m2 = null) : A = m2.sibling;
4211      var q = x(e2, m2, h2[y], k2);
4212      if (null === q) {
4213        null === m2 && (m2 = A);
4214        break;
4215      }
4216      a && m2 && null === q.alternate && b(e2, m2);
4217      g2 = f(q, g2, y);
4218      null === t ? l2 = q : t.sibling = q;
4219      t = q;
4220      m2 = A;
4221    }
4222    if (y === h2.length) return c(e2, m2), l2;
4223    if (null === m2) {
4224      for (; y < h2.length; y++) m2 = p(e2, h2[y], k2), null !== m2 && (g2 = f(m2, g2, y), null === t ? l2 = m2 : t.sibling = m2, t = m2);
4225      return l2;
4226    }
4227    for (m2 = d(e2, m2); y < h2.length; y++) A = z(m2, e2, y, h2[y], k2), null !== A && (a && null !== A.alternate && m2.delete(null === A.key ? y : A.key), g2 = f(A, g2, y), null === t ? l2 = A : t.sibling = A, t = A);
4228    a && m2.forEach(function(a2) {
4229      return b(e2, a2);
4230    });
4231    return l2;
4232  }
4233  function D(e2, g2, h2, l2) {
4234    var k2 = nb(h2);
4235    if ("function" !== typeof k2) throw Error(u(150));
4236    h2 = k2.call(h2);
4237    if (null == h2) throw Error(u(151));
4238    for (var m2 = k2 = null, t = g2, y = g2 = 0, A = null, q = h2.next(); null !== t && !q.done; y++, q = h2.next()) {
4239      t.index > y ? (A = t, t = null) : A = t.sibling;
4240      var D2 = x(e2, t, q.value, l2);
4241      if (null === D2) {
4242        null === t && (t = A);
4243        break;
4244      }
4245      a && t && null === D2.alternate && b(e2, t);
4246      g2 = f(D2, g2, y);
4247      null === m2 ? k2 = D2 : m2.sibling = D2;
4248      m2 = D2;
4249      t = A;
4250    }
4251    if (q.done) return c(e2, t), k2;
4252    if (null === t) {
4253      for (; !q.done; y++, q = h2.next()) q = p(e2, q.value, l2), null !== q && (g2 = f(q, g2, y), null === m2 ? k2 = q : m2.sibling = q, m2 = q);
4254      return k2;
4255    }
4256    for (t = d(e2, t); !q.done; y++, q = h2.next()) q = z(t, e2, y, q.value, l2), null !== q && (a && null !== q.alternate && t.delete(null === q.key ? y : q.key), g2 = f(q, g2, y), null === m2 ? k2 = q : m2.sibling = q, m2 = q);
4257    a && t.forEach(function(a2) {
4258      return b(e2, a2);
4259    });
4260    return k2;
4261  }
4262  return function(a2, d2, f2, h2) {
4263    var k2 = "object" === typeof f2 && null !== f2 && f2.type === ab && null === f2.key;
4264    k2 && (f2 = f2.props.children);
4265    var l2 = "object" === typeof f2 && null !== f2;
4266    if (l2) switch (f2.$$typeof) {
4267      case Za:
4268        a: {
4269          l2 = f2.key;
4270          for (k2 = d2; null !== k2; ) {
4271            if (k2.key === l2) {
4272              switch (k2.tag) {
4273                case 7:
4274                  if (f2.type === ab) {
4275                    c(a2, k2.sibling);
4276                    d2 = e(k2, f2.props.children);
4277                    d2.return = a2;
4278                    a2 = d2;
4279                    break a;
4280                  }
4281                  break;
4282                default:
4283                  if (k2.elementType === f2.type) {
4284                    c(
4285                      a2,
4286                      k2.sibling
4287                    );
4288                    d2 = e(k2, f2.props);
4289                    d2.ref = Pg(a2, k2, f2);
4290                    d2.return = a2;
4291                    a2 = d2;
4292                    break a;
4293                  }
4294              }
4295              c(a2, k2);
4296              break;
4297            } else b(a2, k2);
4298            k2 = k2.sibling;
4299          }
4300          f2.type === ab ? (d2 = Wg(f2.props.children, a2.mode, h2, f2.key), d2.return = a2, a2 = d2) : (h2 = Ug(f2.type, f2.key, f2.props, null, a2.mode, h2), h2.ref = Pg(a2, d2, f2), h2.return = a2, a2 = h2);
4301        }
4302        return g(a2);
4303      case $a:
4304        a: {
4305          for (k2 = f2.key; null !== d2; ) {
4306            if (d2.key === k2) if (4 === d2.tag && d2.stateNode.containerInfo === f2.containerInfo && d2.stateNode.implementation === f2.implementation) {
4307              c(a2, d2.sibling);
4308              d2 = e(d2, f2.children || []);
4309              d2.return = a2;
4310              a2 = d2;
4311              break a;
4312            } else {
4313              c(a2, d2);
4314              break;
4315            }
4316            else b(a2, d2);
4317            d2 = d2.sibling;
4318          }
4319          d2 = Vg(f2, a2.mode, h2);
4320          d2.return = a2;
4321          a2 = d2;
4322        }
4323        return g(a2);
4324    }
4325    if ("string" === typeof f2 || "number" === typeof f2) return f2 = "" + f2, null !== d2 && 6 === d2.tag ? (c(a2, d2.sibling), d2 = e(d2, f2), d2.return = a2, a2 = d2) : (c(a2, d2), d2 = Tg(f2, a2.mode, h2), d2.return = a2, a2 = d2), g(a2);
4326    if (Og(f2)) return ca(a2, d2, f2, h2);
4327    if (nb(f2)) return D(a2, d2, f2, h2);
4328    l2 && Qg(a2, f2);
4329    if ("undefined" === typeof f2 && !k2) switch (a2.tag) {
4330      case 1:
4331      case 0:
4332        throw a2 = a2.type, Error(u(152, a2.displayName || a2.name || "Component"));
4333    }
4334    return c(a2, d2);
4335  };
4336}
4337var Xg = Rg(true), Yg = Rg(false), Zg = {}, $g = { current: Zg }, ah = { current: Zg }, bh = { current: Zg };
4338function ch(a) {
4339  if (a === Zg) throw Error(u(174));
4340  return a;
4341}
4342function dh(a, b) {
4343  I(bh, b);
4344  I(ah, a);
4345  I($g, Zg);
4346  a = b.nodeType;
4347  switch (a) {
4348    case 9:
4349    case 11:
4350      b = (b = b.documentElement) ? b.namespaceURI : Ob(null, "");
4351      break;
4352    default:
4353      a = 8 === a ? b.parentNode : b, b = a.namespaceURI || null, a = a.tagName, b = Ob(b, a);
4354  }
4355  H($g);
4356  I($g, b);
4357}
4358function eh() {
4359  H($g);
4360  H(ah);
4361  H(bh);
4362}
4363function fh(a) {
4364  ch(bh.current);
4365  var b = ch($g.current);
4366  var c = Ob(b, a.type);
4367  b !== c && (I(ah, a), I($g, c));
4368}
4369function gh(a) {
4370  ah.current === a && (H($g), H(ah));
4371}
4372var M = { current: 0 };
4373function hh(a) {
4374  for (var b = a; null !== b; ) {
4375    if (13 === b.tag) {
4376      var c = b.memoizedState;
4377      if (null !== c && (c = c.dehydrated, null === c || c.data === Bd || c.data === Cd)) return b;
4378    } else if (19 === b.tag && void 0 !== b.memoizedProps.revealOrder) {
4379      if (0 !== (b.effectTag & 64)) return b;
4380    } else if (null !== b.child) {
4381      b.child.return = b;
4382      b = b.child;
4383      continue;
4384    }
4385    if (b === a) break;
4386    for (; null === b.sibling; ) {
4387      if (null === b.return || b.return === a) return null;
4388      b = b.return;
4389    }
4390    b.sibling.return = b.return;
4391    b = b.sibling;
4392  }
4393  return null;
4394}
4395function ih(a, b) {
4396  return { responder: a, props: b };
4397}
4398var jh = Wa.ReactCurrentDispatcher, kh = Wa.ReactCurrentBatchConfig, lh = 0, N = null, O = null, P = null, mh = false;
vendor: 6,571 bytes, lines 4399-4632
4399function Q() {
4400  throw Error(u(321));
4401}
4402function nh(a, b) {
4403  if (null === b) return false;
4404  for (var c = 0; c < b.length && c < a.length; c++) if (!$e(a[c], b[c])) return false;
4405  return true;
4406}
4407function oh(a, b, c, d, e, f) {
4408  lh = f;
4409  N = b;
4410  b.memoizedState = null;
4411  b.updateQueue = null;
4412  b.expirationTime = 0;
4413  jh.current = null === a || null === a.memoizedState ? ph : qh;
4414  a = c(d, e);
4415  if (b.expirationTime === lh) {
4416    f = 0;
4417    do {
4418      b.expirationTime = 0;
4419      if (!(25 > f)) throw Error(u(301));
4420      f += 1;
4421      P = O = null;
4422      b.updateQueue = null;
4423      jh.current = rh;
4424      a = c(d, e);
4425    } while (b.expirationTime === lh);
4426  }
4427  jh.current = sh;
4428  b = null !== O && null !== O.next;
4429  lh = 0;
4430  P = O = N = null;
4431  mh = false;
4432  if (b) throw Error(u(300));
4433  return a;
4434}
4435function th() {
4436  var a = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null };
4437  null === P ? N.memoizedState = P = a : P = P.next = a;
4438  return P;
4439}
4440function uh() {
4441  if (null === O) {
4442    var a = N.alternate;
4443    a = null !== a ? a.memoizedState : null;
4444  } else a = O.next;
4445  var b = null === P ? N.memoizedState : P.next;
4446  if (null !== b) P = b, O = a;
4447  else {
4448    if (null === a) throw Error(u(310));
4449    O = a;
4450    a = { memoizedState: O.memoizedState, baseState: O.baseState, baseQueue: O.baseQueue, queue: O.queue, next: null };
4451    null === P ? N.memoizedState = P = a : P = P.next = a;
4452  }
4453  return P;
4454}
4455function vh(a, b) {
4456  return "function" === typeof b ? b(a) : b;
4457}
4458function wh(a) {
4459  var b = uh(), c = b.queue;
4460  if (null === c) throw Error(u(311));
4461  c.lastRenderedReducer = a;
4462  var d = O, e = d.baseQueue, f = c.pending;
4463  if (null !== f) {
4464    if (null !== e) {
4465      var g = e.next;
4466      e.next = f.next;
4467      f.next = g;
4468    }
4469    d.baseQueue = e = f;
4470    c.pending = null;
4471  }
4472  if (null !== e) {
4473    e = e.next;
4474    d = d.baseState;
4475    var h = g = f = null, k = e;
4476    do {
4477      var l = k.expirationTime;
4478      if (l < lh) {
4479        var m = { expirationTime: k.expirationTime, suspenseConfig: k.suspenseConfig, action: k.action, eagerReducer: k.eagerReducer, eagerState: k.eagerState, next: null };
4480        null === h ? (g = h = m, f = d) : h = h.next = m;
4481        l > N.expirationTime && (N.expirationTime = l, Bg(l));
4482      } else null !== h && (h = h.next = { expirationTime: 1073741823, suspenseConfig: k.suspenseConfig, action: k.action, eagerReducer: k.eagerReducer, eagerState: k.eagerState, next: null }), Ag(l, k.suspenseConfig), d = k.eagerReducer === a ? k.eagerState : a(d, k.action);
4483      k = k.next;
4484    } while (null !== k && k !== e);
4485    null === h ? f = d : h.next = g;
4486    $e(d, b.memoizedState) || (rg = true);
4487    b.memoizedState = d;
4488    b.baseState = f;
4489    b.baseQueue = h;
4490    c.lastRenderedState = d;
4491  }
4492  return [b.memoizedState, c.dispatch];
4493}
4494function xh(a) {
4495  var b = uh(), c = b.queue;
4496  if (null === c) throw Error(u(311));
4497  c.lastRenderedReducer = a;
4498  var d = c.dispatch, e = c.pending, f = b.memoizedState;
4499  if (null !== e) {
4500    c.pending = null;
4501    var g = e = e.next;
4502    do
4503      f = a(f, g.action), g = g.next;
4504    while (g !== e);
4505    $e(f, b.memoizedState) || (rg = true);
4506    b.memoizedState = f;
4507    null === b.baseQueue && (b.baseState = f);
4508    c.lastRenderedState = f;
4509  }
4510  return [f, d];
4511}
4512function yh(a) {
4513  var b = th();
4514  "function" === typeof a && (a = a());
4515  b.memoizedState = b.baseState = a;
4516  a = b.queue = { pending: null, dispatch: null, lastRenderedReducer: vh, lastRenderedState: a };
4517  a = a.dispatch = zh.bind(null, N, a);
4518  return [b.memoizedState, a];
4519}
4520function Ah(a, b, c, d) {
4521  a = { tag: a, create: b, destroy: c, deps: d, next: null };
4522  b = N.updateQueue;
4523  null === b ? (b = { lastEffect: null }, N.updateQueue = b, b.lastEffect = a.next = a) : (c = b.lastEffect, null === c ? b.lastEffect = a.next = a : (d = c.next, c.next = a, a.next = d, b.lastEffect = a));
4524  return a;
4525}
4526function Bh() {
4527  return uh().memoizedState;
4528}
4529function Ch(a, b, c, d) {
4530  var e = th();
4531  N.effectTag |= a;
4532  e.memoizedState = Ah(1 | b, c, void 0, void 0 === d ? null : d);
4533}
4534function Dh(a, b, c, d) {
4535  var e = uh();
4536  d = void 0 === d ? null : d;
4537  var f = void 0;
4538  if (null !== O) {
4539    var g = O.memoizedState;
4540    f = g.destroy;
4541    if (null !== d && nh(d, g.deps)) {
4542      Ah(b, c, f, d);
4543      return;
4544    }
4545  }
4546  N.effectTag |= a;
4547  e.memoizedState = Ah(1 | b, c, f, d);
4548}
4549function Eh(a, b) {
4550  return Ch(516, 4, a, b);
4551}
4552function Fh(a, b) {
4553  return Dh(516, 4, a, b);
4554}
4555function Gh(a, b) {
4556  return Dh(4, 2, a, b);
4557}
4558function Hh(a, b) {
4559  if ("function" === typeof b) return a = a(), b(a), function() {
4560    b(null);
4561  };
4562  if (null !== b && void 0 !== b) return a = a(), b.current = a, function() {
4563    b.current = null;
4564  };
4565}
4566function Ih(a, b, c) {
4567  c = null !== c && void 0 !== c ? c.concat([a]) : null;
4568  return Dh(4, 2, Hh.bind(null, b, a), c);
4569}
4570function Jh() {
4571}
4572function Kh(a, b) {
4573  th().memoizedState = [a, void 0 === b ? null : b];
4574  return a;
4575}
4576function Lh(a, b) {
4577  var c = uh();
4578  b = void 0 === b ? null : b;
4579  var d = c.memoizedState;
4580  if (null !== d && null !== b && nh(b, d[1])) return d[0];
4581  c.memoizedState = [a, b];
4582  return a;
4583}
4584function Mh(a, b) {
4585  var c = uh();
4586  b = void 0 === b ? null : b;
4587  var d = c.memoizedState;
4588  if (null !== d && null !== b && nh(b, d[1])) return d[0];
4589  a = a();
4590  c.memoizedState = [a, b];
4591  return a;
4592}
4593function Nh(a, b, c) {
4594  var d = ag();
4595  cg(98 > d ? 98 : d, function() {
4596    a(true);
4597  });
4598  cg(97 < d ? 97 : d, function() {
4599    var d2 = kh.suspense;
4600    kh.suspense = void 0 === b ? null : b;
4601    try {
4602      a(false), c();
4603    } finally {
4604      kh.suspense = d2;
4605    }
4606  });
4607}
4608function zh(a, b, c) {
4609  var d = Gg(), e = Dg.suspense;
4610  d = Hg(d, a, e);
4611  e = { expirationTime: d, suspenseConfig: e, action: c, eagerReducer: null, eagerState: null, next: null };
4612  var f = b.pending;
4613  null === f ? e.next = e : (e.next = f.next, f.next = e);
4614  b.pending = e;
4615  f = a.alternate;
4616  if (a === N || null !== f && f === N) mh = true, e.expirationTime = lh, N.expirationTime = lh;
4617  else {
4618    if (0 === a.expirationTime && (null === f || 0 === f.expirationTime) && (f = b.lastRenderedReducer, null !== f)) try {
4619      var g = b.lastRenderedState, h = f(g, c);
4620      e.eagerReducer = f;
4621      e.eagerState = h;
4622      if ($e(h, g)) return;
4623    } catch (k) {
4624    } finally {
4625    }
4626    Ig(
4627      a,
4628      d
4629    );
4630  }
4631}
4632var sh = { readContext: sg, useCallback: Q, useContext: Q, useEffect: Q, useImperativeHandle: Q, useLayoutEffect: Q, useMemo: Q, useReducer: Q, useRef
4632: Q, useState: Q, useDebugValue: Q, useResponder: Q, useDeferredValue: Q, useTransition: Q }, ph = { readContext: sg, useCallback: Kh, useContext: sg, useEffect: Eh, useImperativeHandle: function(a, b, c) {
4633  c = null !== c && void 0 !== c ? c.concat([a]) : null;
4634  return Ch(4, 2, Hh.bind(null, b, a), c);
4635}, useLayoutEffect: function(a, b) {
4636  return Ch(4, 2, a, b);
4637}, useMemo: function(a, b) {
4638  var c = th();
4639  b = void 0 === b ? null : b;
4640  a = a();
4641  c.memoizedState = [
4642    a,
4643    b
4644  ];
4645  return a;
4646}, useReducer: function(a, b, c) {
4647  var d = th();
4648  b = void 0 !== c ? c(b) : b;
4649  d.memoizedState = d.baseState = b;
4650  a = d.queue = { pending: null, dispatch: null, lastRenderedReducer: a, lastRenderedState: b };
4651  a = a.dispatch = zh.bind(null, N, a);
4652  return [d.memoizedState, a];
4653}, useRef: function(a) {
4654  var b = th();
4655  a = { current: a };
4656  return b.memoizedState = a;
4657}, useState: yh, useDebugValue: Jh, useResponder: ih, useDeferredValue: function(a, b) {
4658  var c = yh(a), d = c[0], e = c[1];
4659  Eh(function() {
4660    var c2 = kh.suspense;
4661    kh.suspense = void 0 === b ? null : b;
4662    try {
4663      e(a);
4664    } finally {
4665      kh.suspense = c2;
4666    }
4667  }, [a, b]);
4668  return d;
4669}, useTransition: function(a) {
4670  var b = yh(false), c = b[0];
4671  b = b[1];
4672  return [Kh(Nh.bind(null, b, a), [b, a]), c];
4673} }, qh = { readContext: sg, useCallback: Lh, useContext: sg, useEffect: Fh, useImperativeHandle: Ih, useLayoutEffect: Gh, useMemo: Mh, useReducer: wh, useRef: Bh, useState: function() {
4674  return wh(vh);
4675}, useDebugValue: Jh, useResponder: ih, useDeferredValue: function(a, b) {
4676  var c = wh(vh), d = c[0], e = c[1];
4677  Fh(function() {
4678    var c2 = kh.suspense;
4679    kh.suspense = void 0 === b ? null : b;
4680    try {
4681      e(a);
4682    } finally {
4683      kh.suspense = c2;
4684    }
4685  }, [a, b]);
4686  return d;
4687}, useTransition: function(a) {
4688  var b = wh(vh), c = b[0];
4689  b = b[1];
4690  return [Lh(Nh.bind(null, b, a), [b, a]), c];
4691} }, rh = { readContext: sg, useCallback: Lh, useContext: sg, useEffect: Fh, useImperativeHandle: Ih, useLayoutEffect: Gh, useMemo: Mh, useReducer: xh, useRef: Bh, useState: function() {
4692  return xh(vh);
4693}, useDebugValue: Jh, useResponder: ih, useDeferredValue: function(a, b) {
4694  var c = xh(vh), d = c[0], e = c[1];
4695  Fh(function() {
4696    var c2 = kh.suspense;
4697    kh.suspense = void 0 === b ? null : b;
4698    try {
4699      e(a);
4700    } finally {
4701      kh.suspense = c2;
4702    }
4703  }, [a, b]);
4704  return d;
4705}, useTransition: function(a) {
4706  var b = xh(vh), c = b[0];
4707  b = b[1];
4708  return [Lh(Nh.bind(
4709    null,
4710    b,
4711    a
4712  ), [b, a]), c];
4713} }, Oh = null, Ph = null, Qh = false;
4714function Rh(a, b) {
4715  var c = Sh(5, null, null, 0);
4716  c.elementType = "DELETED";
4717  c.type = "DELETED";
4718  c.stateNode = b;
4719  c.return = a;
4720  c.effectTag = 8;
4721  null !== a.lastEffect ? (a.lastEffect.nextEffect = c, a.lastEffect = c) : a.firstEffect = a.lastEffect = c;
4722}
4723function Th(a, b) {
4724  switch (a.tag) {
4725    case 5:
4726      var c = a.type;
4727      b = 1 !== b.nodeType || c.toLowerCase() !== b.nodeName.toLowerCase() ? null : b;
4728      return null !== b ? (a.stateNode = b, true) : false;
4729    case 6:
4730      return b = "" === a.pendingProps || 3 !== b.nodeType ? null : b, null !== b ? (a.stateNode = b, true) : false;
4731    case 13:
4732      return false;
4733    default:
4734      return false;
4735  }
4736}
4737function Uh(a) {
4738  if (Qh) {
4739    var b = Ph;
4740    if (b) {
4741      var c = b;
4742      if (!Th(a, b)) {
4743        b = Jd(c.nextSibling);
4744        if (!b || !Th(a, b)) {
4745          a.effectTag = a.effectTag & -1025 | 2;
4746          Qh = false;
4747          Oh = a;
4748          return;
4749        }
4750        Rh(Oh, c);
4751      }
4752      Oh = a;
4753      Ph = Jd(b.firstChild);
4754    } else a.effectTag = a.effectTag & -1025 | 2, Qh = false, Oh = a;
4755  }
4756}
4757function Vh(a) {
4758  for (a = a.return; null !== a && 5 !== a.tag && 3 !== a.tag && 13 !== a.tag; ) a = a.return;
4759  Oh = a;
4760}
4761function Wh(a) {
4762  if (a !== Oh) return false;
4763  if (!Qh) return Vh(a), Qh = true, false;
4764  var b = a.type;
4765  if (5 !== a.tag || "head" !== b && "body" !== b && !Gd(b, a.memoizedProps)) for (b = Ph; b; ) Rh(a, b), b = Jd(b.nextSibling);
4766  Vh(a);
4767  if (13 === a.tag) {
4768    a = a.memoizedState;
4769    a = null !== a ? a.dehydrated : null;
4770    if (!a) throw Error(u(317));
4771    a: {
4772      a = a.nextSibling;
4773      for (b = 0; a; ) {
4774        if (8 === a.nodeType) {
4775          var c = a.data;
4776          if (c === Ad) {
4777            if (0 === b) {
4778              Ph = Jd(a.nextSibling);
4779              break a;
4780            }
4781            b--;
4782          } else c !== zd && c !== Cd && c !== Bd || b++;
4783        }
4784        a = a.nextSibling;
4785      }
4786      Ph = null;
4787    }
4788  } else Ph = Oh ? Jd(a.stateNode.nextSibling) : null;
4789  return true;
4790}
4791function Xh() {
4792  Ph = Oh = null;
4793  Qh = false;
vendor: 5,217 bytes, lines 4794-4875
4794}
4795var Yh = Wa.ReactCurrentOwner, rg = false;
4796function R(a, b, c, d) {
4797  b.child = null === a ? Yg(b, null, c, d) : Xg(b, a.child, c, d);
4798}
4799function Zh(a, b, c, d, e) {
4800  c = c.render;
4801  var f = b.ref;
4802  qg(b, e);
4803  d = oh(a, b, c, d, f, e);
4804  if (null !== a && !rg) return b.updateQueue = a.updateQueue, b.effectTag &= -517, a.expirationTime <= e && (a.expirationTime = 0), $h(a, b, e);
4805  b.effectTag |= 1;
4806  R(a, b, d, e);
4807  return b.child;
4808}
4809function ai(a, b, c, d, e, f) {
4810  if (null === a) {
4811    var g = c.type;
4812    if ("function" === typeof g && !bi(g) && void 0 === g.defaultProps && null === c.compare && void 0 === c.defaultProps) return b.tag = 15, b.type = g, ci(a, b, g, d, e, f);
4813    a = Ug(c.type, null, d, null, b.mode, f);
4814    a.ref = b.ref;
4815    a.return = b;
4816    return b.child = a;
4817  }
4818  g = a.child;
4819  if (e < f && (e = g.memoizedProps, c = c.compare, c = null !== c ? c : bf, c(e, d) && a.ref === b.ref)) return $h(a, b, f);
4820  b.effectTag |= 1;
4821  a = Sg(g, d);
4822  a.ref = b.ref;
4823  a.return = b;
4824  return b.child = a;
4825}
4826function ci(a, b, c, d, e, f) {
4827  return null !== a && bf(a.memoizedProps, d) && a.ref === b.ref && (rg = false, e < f) ? (b.expirationTime = a.expirationTime, $h(a, b, f)) : di(a, b, c, d, f);
4828}
4829function ei(a, b) {
4830  var c = b.ref;
4831  if (null === a && null !== c || null !== a && a.ref !== c) b.effectTag |= 128;
4832}
4833function di(a, b, c, d, e) {
4834  var f = L(c) ? Bf : J.current;
4835  f = Cf(b, f);
4836  qg(b, e);
4837  c = oh(a, b, c, d, f, e);
4838  if (null !== a && !rg) return b.updateQueue = a.updateQueue, b.effectTag &= -517, a.expirationTime <= e && (a.expirationTime = 0), $h(a, b, e);
4839  b.effectTag |= 1;
4840  R(a, b, c, e);
4841  return b.child;
4842}
4843function fi(a, b, c, d, e) {
4844  if (L(c)) {
4845    var f = true;
4846    Gf(b);
4847  } else f = false;
4848  qg(b, e);
4849  if (null === b.stateNode) null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2), Lg(b, c, d), Ng(b, c, d, e), d = true;
4850  else if (null === a) {
4851    var g = b.stateNode, h = b.memoizedProps;
4852    g.props = h;
4853    var k = g.context, l = c.contextType;
4854    "object" === typeof l && null !== l ? l = sg(l) : (l = L(c) ? Bf : J.current, l = Cf(b, l));
4855    var m = c.getDerivedStateFromProps, p = "function" === typeof m || "function" === typeof g.getSnapshotBeforeUpdate;
4856    p || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== d || k !== l) && Mg(b, g, d, l);
4857    tg = false;
4858    var x = b.memoizedState;
4859    g.state = x;
4860    zg(b, d, g, e);
4861    k = b.memoizedState;
4862    h !== d || x !== k || K.current || tg ? ("function" === typeof m && (Fg(b, c, m, d), k = b.memoizedState), (h = tg || Kg(b, c, h, d, x, k, l)) ? (p || "function" !== typeof g.UNSAFE_componentWillMount && "function" !== typeof g.componentWillMount || ("function" === typeof g.componentWillMount && g.componentWillMount(), "function" === typeof g.UNSAFE_componentWillMount && g.UNSAFE_componentWillMount()), "function" === typeof g.componentDidMount && (b.effectTag |= 4)) : ("function" === typeof g.componentDidMount && (b.effectTag |= 4), b.memoizedProps = d, b.memoizedState = k), g.props = d, g.state = k, g.context = l, d = h) : ("function" === typeof g.componentDidMount && (b.effectTag |= 4), d = false);
4863  } else g = b.stateNode, vg(a, b), h = b.memoizedProps, g.props = b.type === b.elementType ? h : ig(b.type, h), k = g.context, l = c.contextType, "object" === typeof l && null !== l ? l = sg(l) : (l = L(c) ? Bf : J.current, l = Cf(b, l)), m = c.getDerivedStateFromProps, (p = "function" === typeof m || "function" === typeof g.getSnapshotBeforeUpdate) || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== d || k !== l) && Mg(b, g, d, l), tg = false, k = b.memoizedState, g.state = k, zg(b, d, g, e), x = b.memoizedState, h !== d || k !== x || K.current || tg ? ("function" === typeof m && (Fg(b, c, m, d), x = b.memoizedState), (m = tg || Kg(b, c, h, d, k, x, l)) ? (p || "function" !== typeof g.UNSAFE_componentWillUpdate && "function" !== typeof g.componentWillUpdate || ("function" === typeof g.componentWillUpdate && g.componentWillUpdate(
4864    d,
4865    x,
4866    l
4867  ), "function" === typeof g.UNSAFE_componentWillUpdate && g.UNSAFE_componentWillUpdate(d, x, l)), "function" === typeof g.componentDidUpdate && (b.effectTag |= 4), "function" === typeof g.getSnapshotBeforeUpdate && (b.effectTag |= 256)) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && k === a.memoizedState || (b.effectTag |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && k === a.memoizedState || (b.effectTag |= 256), b.memoizedProps = d, b.memoizedState = x), g.props = d, g.state = x, g.context = l, d = m) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && k === a.memoizedState || (b.effectTag |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && k === a.memoizedState || (b.effectTag |= 256), d = false);
4868  return gi(a, b, c, d, f, e);
4869}
4870function gi(a, b, c, d, e, f) {
4871  ei(a, b);
4872  var g = 0 !== (b.effectTag & 64);
4873  if (!d && !g) return e && Hf(b, c, false), $h(a, b, f);
4874  d = b.stateNode;
4875  Yh.current = b;
vendor: 5,037 bytes, lines 4876-5030
4876  var h = g && "function" !== typeof c.getDerivedStateFromError ? null : d.render();
4877  b.effectTag |= 1;
4878  null !== a && g ? (b.child = Xg(b, a.child, null, f), b.child = Xg(b, null, h, f)) : R(a, b, h, f);
4879  b.memoizedState = d.state;
4880  e && Hf(b, c, true);
4881  return b.child;
4882}
4883function hi(a) {
4884  var b = a.stateNode;
4885  b.pendingContext ? Ef(a, b.pendingContext, b.pendingContext !== b.context) : b.context && Ef(a, b.context, false);
4886  dh(a, b.containerInfo);
4887}
4888var ii = { dehydrated: null, retryTime: 0 };
4889function ji(a, b, c) {
4890  var d = b.mode, e = b.pendingProps, f = M.current, g = false, h;
4891  (h = 0 !== (b.effectTag & 64)) || (h = 0 !== (f & 2) && (null === a || null !== a.memoizedState));
4892  h ? (g = true, b.effectTag &= -65) : null !== a && null === a.memoizedState || void 0 === e.fallback || true === e.unstable_avoidThisFallback || (f |= 1);
4893  I(M, f & 1);
4894  if (null === a) {
4895    void 0 !== e.fallback && Uh(b);
4896    if (g) {
4897      g = e.fallback;
4898      e = Wg(null, d, 0, null);
4899      e.return = b;
4900      if (0 === (b.mode & 2)) for (a = null !== b.memoizedState ? b.child.child : b.child, e.child = a; null !== a; ) a.return = e, a = a.sibling;
4901      c = Wg(g, d, c, null);
4902      c.return = b;
4903      e.sibling = c;
4904      b.memoizedState = ii;
4905      b.child = e;
4906      return c;
4907    }
4908    d = e.children;
4909    b.memoizedState = null;
4910    return b.child = Yg(b, null, d, c);
4911  }
4912  if (null !== a.memoizedState) {
4913    a = a.child;
4914    d = a.sibling;
4915    if (g) {
4916      e = e.fallback;
4917      c = Sg(a, a.pendingProps);
4918      c.return = b;
4919      if (0 === (b.mode & 2) && (g = null !== b.memoizedState ? b.child.child : b.child, g !== a.child)) for (c.child = g; null !== g; ) g.return = c, g = g.sibling;
4920      d = Sg(d, e);
4921      d.return = b;
4922      c.sibling = d;
4923      c.childExpirationTime = 0;
4924      b.memoizedState = ii;
4925      b.child = c;
4926      return d;
4927    }
4928    c = Xg(b, a.child, e.children, c);
4929    b.memoizedState = null;
4930    return b.child = c;
4931  }
4932  a = a.child;
4933  if (g) {
4934    g = e.fallback;
4935    e = Wg(null, d, 0, null);
4936    e.return = b;
4937    e.child = a;
4938    null !== a && (a.return = e);
4939    if (0 === (b.mode & 2)) for (a = null !== b.memoizedState ? b.child.child : b.child, e.child = a; null !== a; ) a.return = e, a = a.sibling;
4940    c = Wg(g, d, c, null);
4941    c.return = b;
4942    e.sibling = c;
4943    c.effectTag |= 2;
4944    e.childExpirationTime = 0;
4945    b.memoizedState = ii;
4946    b.child = e;
4947    return c;
4948  }
4949  b.memoizedState = null;
4950  return b.child = Xg(b, a, e.children, c);
4951}
4952function ki(a, b) {
4953  a.expirationTime < b && (a.expirationTime = b);
4954  var c = a.alternate;
4955  null !== c && c.expirationTime < b && (c.expirationTime = b);
4956  pg(a.return, b);
4957}
4958function li(a, b, c, d, e, f) {
4959  var g = a.memoizedState;
4960  null === g ? a.memoizedState = { isBackwards: b, rendering: null, renderingStartTime: 0, last: d, tail: c, tailExpiration: 0, tailMode: e, lastEffect: f } : (g.isBackwards = b, g.rendering = null, g.renderingStartTime = 0, g.last = d, g.tail = c, g.tailExpiration = 0, g.tailMode = e, g.lastEffect = f);
4961}
4962function mi(a, b, c) {
4963  var d = b.pendingProps, e = d.revealOrder, f = d.tail;
4964  R(a, b, d.children, c);
4965  d = M.current;
4966  if (0 !== (d & 2)) d = d & 1 | 2, b.effectTag |= 64;
4967  else {
4968    if (null !== a && 0 !== (a.effectTag & 64)) a: for (a = b.child; null !== a; ) {
4969      if (13 === a.tag) null !== a.memoizedState && ki(a, c);
4970      else if (19 === a.tag) ki(a, c);
4971      else if (null !== a.child) {
4972        a.child.return = a;
4973        a = a.child;
4974        continue;
4975      }
4976      if (a === b) break a;
4977      for (; null === a.sibling; ) {
4978        if (null === a.return || a.return === b) break a;
4979        a = a.return;
4980      }
4981      a.sibling.return = a.return;
4982      a = a.sibling;
4983    }
4984    d &= 1;
4985  }
4986  I(M, d);
4987  if (0 === (b.mode & 2)) b.memoizedState = null;
4988  else switch (e) {
4989    case "forwards":
4990      c = b.child;
4991      for (e = null; null !== c; ) a = c.alternate, null !== a && null === hh(a) && (e = c), c = c.sibling;
4992      c = e;
4993      null === c ? (e = b.child, b.child = null) : (e = c.sibling, c.sibling = null);
4994      li(b, false, e, c, f, b.lastEffect);
4995      break;
4996    case "backwards":
4997      c = null;
4998      e = b.child;
4999      for (b.child = null; null !== e; ) {
5000        a = e.alternate;
5001        if (null !== a && null === hh(a)) {
5002          b.child = e;
5003          break;
5004        }
5005        a = e.sibling;
5006        e.sibling = c;
5007        c = e;
5008        e = a;
5009      }
5010      li(b, true, c, null, f, b.lastEffect);
5011      break;
5012    case "together":
5013      li(b, false, null, null, void 0, b.lastEffect);
5014      break;
5015    default:
5016      b.memoizedState = null;
5017  }
5018  return b.child;
5019}
5020function $h(a, b, c) {
5021  null !== a && (b.dependencies = a.dependencies);
5022  var d = b.expirationTime;
5023  0 !== d && Bg(d);
5024  if (b.childExpirationTime < c) return null;
5025  if (null !== a && b.child !== a.child) throw Error(u(153));
5026  if (null !== b.child) {
5027    a = b.child;
5028    c = Sg(a, a.pendingProps);
5029    b.child = c;
5030    for (c.return = b; null !== a.sibling;
vendor: 20,505 bytes, lines 5030-5680
5030 ) a = a.sibling, c = c.sibling = Sg(a, a.pendingProps), c.return = b;
5031    c.sibling = null;
5032  }
5033  return b.child;
5034}
5035var ni, oi, pi, qi;
5036ni = function(a, b) {
5037  for (var c = b.child; null !== c; ) {
5038    if (5 === c.tag || 6 === c.tag) a.appendChild(c.stateNode);
5039    else if (4 !== c.tag && null !== c.child) {
5040      c.child.return = c;
5041      c = c.child;
5042      continue;
5043    }
5044    if (c === b) break;
5045    for (; null === c.sibling; ) {
5046      if (null === c.return || c.return === b) return;
5047      c = c.return;
5048    }
5049    c.sibling.return = c.return;
5050    c = c.sibling;
5051  }
5052};
5053oi = function() {
5054};
5055pi = function(a, b, c, d, e) {
5056  var f = a.memoizedProps;
5057  if (f !== d) {
5058    var g = b.stateNode;
5059    ch($g.current);
5060    a = null;
5061    switch (c) {
5062      case "input":
5063        f = zb(g, f);
5064        d = zb(g, d);
5065        a = [];
5066        break;
5067      case "option":
5068        f = Gb(g, f);
5069        d = Gb(g, d);
5070        a = [];
5071        break;
5072      case "select":
5073        f = n({}, f, { value: void 0 });
5074        d = n({}, d, { value: void 0 });
5075        a = [];
5076        break;
5077      case "textarea":
5078        f = Ib(g, f);
5079        d = Ib(g, d);
5080        a = [];
5081        break;
5082      default:
5083        "function" !== typeof f.onClick && "function" === typeof d.onClick && (g.onclick = sd);
5084    }
5085    od(c, d);
5086    var h, k;
5087    c = null;
5088    for (h in f) if (!d.hasOwnProperty(h) && f.hasOwnProperty(h) && null != f[h]) if ("style" === h) for (k in g = f[h], g) g.hasOwnProperty(k) && (c || (c = {}), c[k] = "");
5089    else "dangerouslySetInnerHTML" !== h && "children" !== h && "suppressContentEditableWarning" !== h && "suppressHydrationWarning" !== h && "autoFocus" !== h && (va.hasOwnProperty(h) ? a || (a = []) : (a = a || []).push(h, null));
5090    for (h in d) {
5091      var l = d[h];
5092      g = null != f ? f[h] : void 0;
5093      if (d.hasOwnProperty(h) && l !== g && (null != l || null != g)) if ("style" === h) if (g) {
5094        for (k in g) !g.hasOwnProperty(k) || l && l.hasOwnProperty(k) || (c || (c = {}), c[k] = "");
5095        for (k in l) l.hasOwnProperty(k) && g[k] !== l[k] && (c || (c = {}), c[k] = l[k]);
5096      } else c || (a || (a = []), a.push(h, c)), c = l;
5097      else "dangerouslySetInnerHTML" === h ? (l = l ? l.__html : void 0, g = g ? g.__html : void 0, null != l && g !== l && (a = a || []).push(h, l)) : "children" === h ? g === l || "string" !== typeof l && "number" !== typeof l || (a = a || []).push(h, "" + l) : "suppressContentEditableWarning" !== h && "suppressHydrationWarning" !== h && (va.hasOwnProperty(h) ? (null != l && rd(e, h), a || g === l || (a = [])) : (a = a || []).push(h, l));
5098    }
5099    c && (a = a || []).push("style", c);
5100    e = a;
5101    if (b.updateQueue = e) b.effectTag |= 4;
5102  }
5103};
5104qi = function(a, b, c, d) {
5105  c !== d && (b.effectTag |= 4);
5106};
5107function ri(a, b) {
5108  switch (a.tailMode) {
5109    case "hidden":
5110      b = a.tail;
5111      for (var c = null; null !== b; ) null !== b.alternate && (c = b), b = b.sibling;
5112      null === c ? a.tail = null : c.sibling = null;
5113      break;
5114    case "collapsed":
5115      c = a.tail;
5116      for (var d = null; null !== c; ) null !== c.alternate && (d = c), c = c.sibling;
5117      null === d ? b || null === a.tail ? a.tail = null : a.tail.sibling = null : d.sibling = null;
5118  }
5119}
5120function si(a, b, c) {
5121  var d = b.pendingProps;
5122  switch (b.tag) {
5123    case 2:
5124    case 16:
5125    case 15:
5126    case 0:
5127    case 11:
5128    case 7:
5129    case 8:
5130    case 12:
5131    case 9:
5132    case 14:
5133      return null;
5134    case 1:
5135      return L(b.type) && Df(), null;
5136    case 3:
5137      return eh(), H(K), H(J), c = b.stateNode, c.pendingContext && (c.context = c.pendingContext, c.pendingContext = null), null !== a && null !== a.child || !Wh(b) || (b.effectTag |= 4), oi(b), null;
5138    case 5:
5139      gh(b);
5140      c = ch(bh.current);
5141      var e = b.type;
5142      if (null !== a && null != b.stateNode) pi(a, b, e, d, c), a.ref !== b.ref && (b.effectTag |= 128);
5143      else {
5144        if (!d) {
5145          if (null === b.stateNode) throw Error(u(166));
5146          return null;
5147        }
5148        a = ch($g.current);
5149        if (Wh(b)) {
5150          d = b.stateNode;
5151          e = b.type;
5152          var f = b.memoizedProps;
5153          d[Md] = b;
5154          d[Nd] = f;
5155          switch (e) {
5156            case "iframe":
5157            case "object":
5158            case "embed":
5159              F("load", d);
5160              break;
5161            case "video":
5162            case "audio":
5163              for (a = 0; a < ac.length; a++) F(ac[a], d);
5164              break;
5165            case "source":
5166              F("error", d);
5167              break;
5168            case "img":
5169            case "image":
5170            case "link":
5171              F("error", d);
5172              F("load", d);
5173              break;
5174            case "form":
5175              F("reset", d);
5176              F("submit", d);
5177              break;
5178            case "details":
5179              F("toggle", d);
5180              break;
5181            case "input":
5182              Ab(d, f);
5183              F("invalid", d);
5184              rd(c, "onChange");
5185              break;
5186            case "select":
5187              d._wrapperState = { wasMultiple: !!f.multiple };
5188              F("invalid", d);
5189              rd(c, "onChange");
5190              break;
5191            case "textarea":
5192              Jb(d, f), F("invalid", d), rd(c, "onChange");
5193          }
5194          od(e, f);
5195          a = null;
5196          for (var g in f) if (f.hasOwnProperty(g)) {
5197            var h = f[g];
5198            "children" === g ? "string" === typeof h ? d.textContent !== h && (a = ["children", h]) : "number" === typeof h && d.textContent !== "" + h && (a = ["children", "" + h]) : va.hasOwnProperty(g) && null != h && rd(c, g);
5199          }
5200          switch (e) {
5201            case "input":
5202              xb(d);
5203              Eb(d, f, true);
5204              break;
5205            case "textarea":
5206              xb(d);
5207              Lb(d);
5208              break;
5209            case "select":
5210            case "option":
5211              break;
5212            default:
5213              "function" === typeof f.onClick && (d.onclick = sd);
5214          }
5215          c = a;
5216          b.updateQueue = c;
5217          null !== c && (b.effectTag |= 4);
5218        } else {
5219          g = 9 === c.nodeType ? c : c.ownerDocument;
5220          a === qd && (a = Nb(e));
5221          a === qd ? "script" === e ? (a = g.createElement("div"), a.innerHTML = "<script><\/script>", a = a.removeChild(a.firstChild)) : "string" === typeof d.is ? a = g.createElement(e, { is: d.is }) : (a = g.createElement(e), "select" === e && (g = a, d.multiple ? g.multiple = true : d.size && (g.size = d.size))) : a = g.createElementNS(a, e);
5222          a[Md] = b;
5223          a[Nd] = d;
5224          ni(a, b, false, false);
5225          b.stateNode = a;
5226          g = pd(e, d);
5227          switch (e) {
5228            case "iframe":
5229            case "object":
5230            case "embed":
5231              F(
5232                "load",
5233                a
5234              );
5235              h = d;
5236              break;
5237            case "video":
5238            case "audio":
5239              for (h = 0; h < ac.length; h++) F(ac[h], a);
5240              h = d;
5241              break;
5242            case "source":
5243              F("error", a);
5244              h = d;
5245              break;
5246            case "img":
5247            case "image":
5248            case "link":
5249              F("error", a);
5250              F("load", a);
5251              h = d;
5252              break;
5253            case "form":
5254              F("reset", a);
5255              F("submit", a);
5256              h = d;
5257              break;
5258            case "details":
5259              F("toggle", a);
5260              h = d;
5261              break;
5262            case "input":
5263              Ab(a, d);
5264              h = zb(a, d);
5265              F("invalid", a);
5266              rd(c, "onChange");
5267              break;
5268            case "option":
5269              h = Gb(a, d);
5270              break;
5271            case "select":
5272              a._wrapperState = { wasMultiple: !!d.multiple };
5273              h = n({}, d, { value: void 0 });
5274              F("invalid", a);
5275              rd(c, "onChange");
5276              break;
5277            case "textarea":
5278              Jb(
5279                a,
5280                d
5281              );
5282              h = Ib(a, d);
5283              F("invalid", a);
5284              rd(c, "onChange");
5285              break;
5286            default:
5287              h = d;
5288          }
5289          od(e, h);
5290          var k = h;
5291          for (f in k) if (k.hasOwnProperty(f)) {
5292            var l = k[f];
5293            "style" === f ? md(a, l) : "dangerouslySetInnerHTML" === f ? (l = l ? l.__html : void 0, null != l && Qb(a, l)) : "children" === f ? "string" === typeof l ? ("textarea" !== e || "" !== l) && Rb(a, l) : "number" === typeof l && Rb(a, "" + l) : "suppressContentEditableWarning" !== f && "suppressHydrationWarning" !== f && "autoFocus" !== f && (va.hasOwnProperty(f) ? null != l && rd(c, f) : null != l && Xa(a, f, l, g));
5294          }
5295          switch (e) {
5296            case "input":
5297              xb(a);
5298              Eb(a, d, false);
5299              break;
5300            case "textarea":
5301              xb(a);
5302              Lb(a);
5303              break;
5304            case "option":
5305              null != d.value && a.setAttribute("value", "" + rb(d.value));
5306              break;
5307            case "select":
5308              a.multiple = !!d.multiple;
5309              c = d.value;
5310              null != c ? Hb(a, !!d.multiple, c, false) : null != d.defaultValue && Hb(a, !!d.multiple, d.defaultValue, true);
5311              break;
5312            default:
5313              "function" === typeof h.onClick && (a.onclick = sd);
5314          }
5315          Fd(e, d) && (b.effectTag |= 4);
5316        }
5317        null !== b.ref && (b.effectTag |= 128);
5318      }
5319      return null;
5320    case 6:
5321      if (a && null != b.stateNode) qi(a, b, a.memoizedProps, d);
5322      else {
5323        if ("string" !== typeof d && null === b.stateNode) throw Error(u(166));
5324        c = ch(bh.current);
5325        ch($g.current);
5326        Wh(b) ? (c = b.stateNode, d = b.memoizedProps, c[Md] = b, c.nodeValue !== d && (b.effectTag |= 4)) : (c = (9 === c.nodeType ? c : c.ownerDocument).createTextNode(d), c[Md] = b, b.stateNode = c);
5327      }
5328      return null;
5329    case 13:
5330      H(M);
5331      d = b.memoizedState;
5332      if (0 !== (b.effectTag & 64)) return b.expirationTime = c, b;
5333      c = null !== d;
5334      d = false;
5335      null === a ? void 0 !== b.memoizedProps.fallback && Wh(b) : (e = a.memoizedState, d = null !== e, c || null === e || (e = a.child.sibling, null !== e && (f = b.firstEffect, null !== f ? (b.firstEffect = e, e.nextEffect = f) : (b.firstEffect = b.lastEffect = e, e.nextEffect = null), e.effectTag = 8)));
5336      if (c && !d && 0 !== (b.mode & 2)) if (null === a && true !== b.memoizedProps.unstable_avoidThisFallback || 0 !== (M.current & 1)) S === ti && (S = ui);
5337      else {
5338        if (S === ti || S === ui) S = vi;
5339        0 !== wi && null !== T && (xi(T, U), yi(T, wi));
5340      }
5341      if (c || d) b.effectTag |= 4;
5342      return null;
5343    case 4:
5344      return eh(), oi(b), null;
5345    case 10:
5346      return og(b), null;
5347    case 17:
5348      return L(b.type) && Df(), null;
5349    case 19:
5350      H(M);
5351      d = b.memoizedState;
5352      if (null === d) return null;
5353      e = 0 !== (b.effectTag & 64);
5354      f = d.rendering;
5355      if (null === f) if (e) ri(d, false);
5356      else {
5357        if (S !== ti || null !== a && 0 !== (a.effectTag & 64)) for (f = b.child; null !== f; ) {
5358          a = hh(f);
5359          if (null !== a) {
5360            b.effectTag |= 64;
5361            ri(d, false);
5362            e = a.updateQueue;
5363            null !== e && (b.updateQueue = e, b.effectTag |= 4);
5364            null === d.lastEffect && (b.firstEffect = null);
5365            b.lastEffect = d.lastEffect;
5366            for (d = b.child; null !== d; ) e = d, f = c, e.effectTag &= 2, e.nextEffect = null, e.firstEffect = null, e.lastEffect = null, a = e.alternate, null === a ? (e.childExpirationTime = 0, e.expirationTime = f, e.child = null, e.memoizedProps = null, e.memoizedState = null, e.updateQueue = null, e.dependencies = null) : (e.childExpirationTime = a.childExpirationTime, e.expirationTime = a.expirationTime, e.child = a.child, e.memoizedProps = a.memoizedProps, e.memoizedState = a.memoizedState, e.updateQueue = a.updateQueue, f = a.dependencies, e.dependencies = null === f ? null : { expirationTime: f.expirationTime, firstContext: f.firstContext, responders: f.responders }), d = d.sibling;
5367            I(M, M.current & 1 | 2);
5368            return b.child;
5369          }
5370          f = f.sibling;
5371        }
5372      }
5373      else {
5374        if (!e) if (a = hh(f), null !== a) {
5375          if (b.effectTag |= 64, e = true, c = a.updateQueue, null !== c && (b.updateQueue = c, b.effectTag |= 4), ri(d, true), null === d.tail && "hidden" === d.tailMode && !f.alternate) return b = b.lastEffect = d.lastEffect, null !== b && (b.nextEffect = null), null;
5376        } else 2 * $f() - d.renderingStartTime > d.tailExpiration && 1 < c && (b.effectTag |= 64, e = true, ri(d, false), b.expirationTime = b.childExpirationTime = c - 1);
5377        d.isBackwards ? (f.sibling = b.child, b.child = f) : (c = d.last, null !== c ? c.sibling = f : b.child = f, d.last = f);
5378      }
5379      return null !== d.tail ? (0 === d.tailExpiration && (d.tailExpiration = $f() + 500), c = d.tail, d.rendering = c, d.tail = c.sibling, d.lastEffect = b.lastEffect, d.renderingStartTime = $f(), c.sibling = null, b = M.current, I(M, e ? b & 1 | 2 : b & 1), c) : null;
5380  }
5381  throw Error(u(
5382    156,
5383    b.tag
5384  ));
5385}
5386function zi(a) {
5387  switch (a.tag) {
5388    case 1:
5389      L(a.type) && Df();
5390      var b = a.effectTag;
5391      return b & 4096 ? (a.effectTag = b & -4097 | 64, a) : null;
5392    case 3:
5393      eh();
5394      H(K);
5395      H(J);
5396      b = a.effectTag;
5397      if (0 !== (b & 64)) throw Error(u(285));
5398      a.effectTag = b & -4097 | 64;
5399      return a;
5400    case 5:
5401      return gh(a), null;
5402    case 13:
5403      return H(M), b = a.effectTag, b & 4096 ? (a.effectTag = b & -4097 | 64, a) : null;
5404    case 19:
5405      return H(M), null;
5406    case 4:
5407      return eh(), null;
5408    case 10:
5409      return og(a), null;
5410    default:
5411      return null;
5412  }
5413}
5414function Ai(a, b) {
5415  return { value: a, source: b, stack: qb(b) };
5416}
5417var Bi = "function" === typeof WeakSet ? WeakSet : Set;
5418function Ci(a, b) {
5419  var c = b.source, d = b.stack;
5420  null === d && null !== c && (d = qb(c));
5421  null !== c && pb(c.type);
5422  b = b.value;
5423  null !== a && 1 === a.tag && pb(a.type);
5424  try {
5425    console.error(b);
5426  } catch (e) {
5427    setTimeout(function() {
5428      throw e;
5429    });
5430  }
5431}
5432function Di(a, b) {
5433  try {
5434    b.props = a.memoizedProps, b.state = a.memoizedState, b.componentWillUnmount();
5435  } catch (c) {
5436    Ei(a, c);
5437  }
5438}
5439function Fi(a) {
5440  var b = a.ref;
5441  if (null !== b) if ("function" === typeof b) try {
5442    b(null);
5443  } catch (c) {
5444    Ei(a, c);
5445  }
5446  else b.current = null;
5447}
5448function Gi(a, b) {
5449  switch (b.tag) {
5450    case 0:
5451    case 11:
5452    case 15:
5453    case 22:
5454      return;
5455    case 1:
5456      if (b.effectTag & 256 && null !== a) {
5457        var c = a.memoizedProps, d = a.memoizedState;
5458        a = b.stateNode;
5459        b = a.getSnapshotBeforeUpdate(b.elementType === b.type ? c : ig(b.type, c), d);
5460        a.__reactInternalSnapshotBeforeUpdate = b;
5461      }
5462      return;
5463    case 3:
5464    case 5:
5465    case 6:
5466    case 4:
5467    case 17:
5468      return;
5469  }
5470  throw Error(u(163));
5471}
5472function Hi(a, b) {
5473  b = b.updateQueue;
5474  b = null !== b ? b.lastEffect : null;
5475  if (null !== b) {
5476    var c = b = b.next;
5477    do {
5478      if ((c.tag & a) === a) {
5479        var d = c.destroy;
5480        c.destroy = void 0;
5481        void 0 !== d && d();
5482      }
5483      c = c.next;
5484    } while (c !== b);
5485  }
5486}
5487function Ii(a, b) {
5488  b = b.updateQueue;
5489  b = null !== b ? b.lastEffect : null;
5490  if (null !== b) {
5491    var c = b = b.next;
5492    do {
5493      if ((c.tag & a) === a) {
5494        var d = c.create;
5495        c.destroy = d();
5496      }
5497      c = c.next;
5498    } while (c !== b);
5499  }
5500}
5501function Ji(a, b, c) {
5502  switch (c.tag) {
5503    case 0:
5504    case 11:
5505    case 15:
5506    case 22:
5507      Ii(3, c);
5508      return;
5509    case 1:
5510      a = c.stateNode;
5511      if (c.effectTag & 4) if (null === b) a.componentDidMount();
5512      else {
5513        var d = c.elementType === c.type ? b.memoizedProps : ig(c.type, b.memoizedProps);
5514        a.componentDidUpdate(d, b.memoizedState, a.__reactInternalSnapshotBeforeUpdate);
5515      }
5516      b = c.updateQueue;
5517      null !== b && Cg(c, b, a);
5518      return;
5519    case 3:
5520      b = c.updateQueue;
5521      if (null !== b) {
5522        a = null;
5523        if (null !== c.child) switch (c.child.tag) {
5524          case 5:
5525            a = c.child.stateNode;
5526            break;
5527          case 1:
5528            a = c.child.stateNode;
5529        }
5530        Cg(c, b, a);
5531      }
5532      return;
5533    case 5:
5534      a = c.stateNode;
5535      null === b && c.effectTag & 4 && Fd(c.type, c.memoizedProps) && a.focus();
5536      return;
5537    case 6:
5538      return;
5539    case 4:
5540      return;
5541    case 12:
5542      return;
5543    case 13:
5544      null === c.memoizedState && (c = c.alternate, null !== c && (c = c.memoizedState, null !== c && (c = c.dehydrated, null !== c && Vc(c))));
5545      return;
5546    case 19:
5547    case 17:
5548    case 20:
5549    case 21:
5550      return;
5551  }
5552  throw Error(u(163));
5553}
5554function Ki(a, b, c) {
5555  "function" === typeof Li && Li(b);
5556  switch (b.tag) {
5557    case 0:
5558    case 11:
5559    case 14:
5560    case 15:
5561    case 22:
5562      a = b.updateQueue;
5563      if (null !== a && (a = a.lastEffect, null !== a)) {
5564        var d = a.next;
5565        cg(97 < c ? 97 : c, function() {
5566          var a2 = d;
5567          do {
5568            var c2 = a2.destroy;
5569            if (void 0 !== c2) {
5570              var g = b;
5571              try {
5572                c2();
5573              } catch (h) {
5574                Ei(g, h);
5575              }
5576            }
5577            a2 = a2.next;
5578          } while (a2 !== d);
5579        });
5580      }
5581      break;
5582    case 1:
5583      Fi(b);
5584      c = b.stateNode;
5585      "function" === typeof c.componentWillUnmount && Di(b, c);
5586      break;
5587    case 5:
5588      Fi(b);
5589      break;
5590    case 4:
5591      Mi(a, b, c);
5592  }
5593}
5594function Ni(a) {
5595  var b = a.alternate;
5596  a.return = null;
5597  a.child = null;
5598  a.memoizedState = null;
5599  a.updateQueue = null;
5600  a.dependencies = null;
5601  a.alternate = null;
5602  a.firstEffect = null;
5603  a.lastEffect = null;
5604  a.pendingProps = null;
5605  a.memoizedProps = null;
5606  a.stateNode = null;
5607  null !== b && Ni(b);
5608}
5609function Oi(a) {
5610  return 5 === a.tag || 3 === a.tag || 4 === a.tag;
5611}
5612function Pi(a) {
5613  a: {
5614    for (var b = a.return; null !== b; ) {
5615      if (Oi(b)) {
5616        var c = b;
5617        break a;
5618      }
5619      b = b.return;
5620    }
5621    throw Error(u(160));
5622  }
5623  b = c.stateNode;
5624  switch (c.tag) {
5625    case 5:
5626      var d = false;
5627      break;
5628    case 3:
5629      b = b.containerInfo;
5630      d = true;
5631      break;
5632    case 4:
5633      b = b.containerInfo;
5634      d = true;
5635      break;
5636    default:
5637      throw Error(u(161));
5638  }
5639  c.effectTag & 16 && (Rb(b, ""), c.effectTag &= -17);
5640  a: b: for (c = a; ; ) {
5641    for (; null === c.sibling; ) {
5642      if (null === c.return || Oi(c.return)) {
5643        c = null;
5644        break a;
5645      }
5646      c = c.return;
5647    }
5648    c.sibling.return = c.return;
5649    for (c = c.sibling; 5 !== c.tag && 6 !== c.tag && 18 !== c.tag; ) {
5650      if (c.effectTag & 2) continue b;
5651      if (null === c.child || 4 === c.tag) continue b;
5652      else c.child.return = c, c = c.child;
5653    }
5654    if (!(c.effectTag & 2)) {
5655      c = c.stateNode;
5656      break a;
5657    }
5658  }
5659  d ? Qi(a, c, b) : Ri(a, c, b);
5660}
5661function Qi(a, b, c) {
5662  var d = a.tag, e = 5 === d || 6 === d;
5663  if (e) a = e ? a.stateNode : a.stateNode.instance, b ? 8 === c.nodeType ? c.parentNode.insertBefore(a, b) : c.insertBefore(a, b) : (8 === c.nodeType ? (b = c.parentNode, b.insertBefore(a, c)) : (b = c, b.appendChild(a)), c = c._reactRootContainer, null !== c && void 0 !== c || null !== b.onclick || (b.onclick = sd));
5664  else if (4 !== d && (a = a.child, null !== a)) for (Qi(a, b, c), a = a.sibling; null !== a; ) Qi(a, b, c), a = a.sibling;
5665}
5666function Ri(a, b, c) {
5667  var d = a.tag, e = 5 === d || 6 === d;
5668  if (e) a = e ? a.stateNode : a.stateNode.instance, b ? c.insertBefore(a, b) : c.appendChild(a);
5669  else if (4 !== d && (a = a.child, null !== a)) for (Ri(a, b, c), a = a.sibling; null !== a; ) Ri(a, b, c), a = a.sibling;
5670}
5671function Mi(a, b, c) {
5672  for (var d = b, e = false, f, g; ; ) {
5673    if (!e) {
5674      e = d.return;
5675      a: for (; ; ) {
5676        if (null === e) throw Error(u(160));
5677        f = e.stateNode;
5678        switch (e.tag) {
5679          case 5:
5680            g = false;
vendor: 6,130 bytes, lines 5681-5872
5681            break a;
5682          case 3:
5683            f = f.containerInfo;
5684            g = true;
5685            break a;
5686          case 4:
5687            f = f.containerInfo;
5688            g = true;
5689            break a;
5690        }
5691        e = e.return;
5692      }
5693      e = true;
5694    }
5695    if (5 === d.tag || 6 === d.tag) {
5696      a: for (var h = a, k = d, l = c, m = k; ; ) if (Ki(h, m, l), null !== m.child && 4 !== m.tag) m.child.return = m, m = m.child;
5697      else {
5698        if (m === k) break a;
5699        for (; null === m.sibling; ) {
5700          if (null === m.return || m.return === k) break a;
5701          m = m.return;
5702        }
5703        m.sibling.return = m.return;
5704        m = m.sibling;
5705      }
5706      g ? (h = f, k = d.stateNode, 8 === h.nodeType ? h.parentNode.removeChild(k) : h.removeChild(k)) : f.removeChild(d.stateNode);
5707    } else if (4 === d.tag) {
5708      if (null !== d.child) {
5709        f = d.stateNode.containerInfo;
5710        g = true;
5711        d.child.return = d;
5712        d = d.child;
5713        continue;
5714      }
5715    } else if (Ki(a, d, c), null !== d.child) {
5716      d.child.return = d;
5717      d = d.child;
5718      continue;
5719    }
5720    if (d === b) break;
5721    for (; null === d.sibling; ) {
5722      if (null === d.return || d.return === b) return;
5723      d = d.return;
5724      4 === d.tag && (e = false);
5725    }
5726    d.sibling.return = d.return;
5727    d = d.sibling;
5728  }
5729}
5730function Si(a, b) {
5731  switch (b.tag) {
5732    case 0:
5733    case 11:
5734    case 14:
5735    case 15:
5736    case 22:
5737      Hi(3, b);
5738      return;
5739    case 1:
5740      return;
5741    case 5:
5742      var c = b.stateNode;
5743      if (null != c) {
5744        var d = b.memoizedProps, e = null !== a ? a.memoizedProps : d;
5745        a = b.type;
5746        var f = b.updateQueue;
5747        b.updateQueue = null;
5748        if (null !== f) {
5749          c[Nd] = d;
5750          "input" === a && "radio" === d.type && null != d.name && Bb(c, d);
5751          pd(a, e);
5752          b = pd(a, d);
5753          for (e = 0; e < f.length; e += 2) {
5754            var g = f[e], h = f[e + 1];
5755            "style" === g ? md(c, h) : "dangerouslySetInnerHTML" === g ? Qb(c, h) : "children" === g ? Rb(c, h) : Xa(c, g, h, b);
5756          }
5757          switch (a) {
5758            case "input":
5759              Cb(c, d);
5760              break;
5761            case "textarea":
5762              Kb(c, d);
5763              break;
5764            case "select":
5765              b = c._wrapperState.wasMultiple, c._wrapperState.wasMultiple = !!d.multiple, a = d.value, null != a ? Hb(c, !!d.multiple, a, false) : b !== !!d.multiple && (null != d.defaultValue ? Hb(c, !!d.multiple, d.defaultValue, true) : Hb(c, !!d.multiple, d.multiple ? [] : "", false));
5766          }
5767        }
5768      }
5769      return;
5770    case 6:
5771      if (null === b.stateNode) throw Error(u(162));
5772      b.stateNode.nodeValue = b.memoizedProps;
5773      return;
5774    case 3:
5775      b = b.stateNode;
5776      b.hydrate && (b.hydrate = false, Vc(b.containerInfo));
5777      return;
5778    case 12:
5779      return;
5780    case 13:
5781      c = b;
5782      null === b.memoizedState ? d = false : (d = true, c = b.child, Ti = $f());
5783      if (null !== c) a: for (a = c; ; ) {
5784        if (5 === a.tag) f = a.stateNode, d ? (f = f.style, "function" === typeof f.setProperty ? f.setProperty("display", "none", "important") : f.display = "none") : (f = a.stateNode, e = a.memoizedProps.style, e = void 0 !== e && null !== e && e.hasOwnProperty("display") ? e.display : null, f.style.display = ld("display", e));
5785        else if (6 === a.tag) a.stateNode.nodeValue = d ? "" : a.memoizedProps;
5786        else if (13 === a.tag && null !== a.memoizedState && null === a.memoizedState.dehydrated) {
5787          f = a.child.sibling;
5788          f.return = a;
5789          a = f;
5790          continue;
5791        } else if (null !== a.child) {
5792          a.child.return = a;
5793          a = a.child;
5794          continue;
5795        }
5796        if (a === c) break;
5797        for (; null === a.sibling; ) {
5798          if (null === a.return || a.return === c) break a;
5799          a = a.return;
5800        }
5801        a.sibling.return = a.return;
5802        a = a.sibling;
5803      }
5804      Ui(b);
5805      return;
5806    case 19:
5807      Ui(b);
5808      return;
5809    case 17:
5810      return;
5811  }
5812  throw Error(u(163));
5813}
5814function Ui(a) {
5815  var b = a.updateQueue;
5816  if (null !== b) {
5817    a.updateQueue = null;
5818    var c = a.stateNode;
5819    null === c && (c = a.stateNode = new Bi());
5820    b.forEach(function(b2) {
5821      var d = Vi.bind(null, a, b2);
5822      c.has(b2) || (c.add(b2), b2.then(d, d));
5823    });
5824  }
5825}
5826var Wi = "function" === typeof WeakMap ? WeakMap : Map;
5827function Xi(a, b, c) {
5828  c = wg(c, null);
5829  c.tag = 3;
5830  c.payload = { element: null };
5831  var d = b.value;
5832  c.callback = function() {
5833    Yi || (Yi = true, Zi = d);
5834    Ci(a, b);
5835  };
5836  return c;
5837}
5838function $i(a, b, c) {
5839  c = wg(c, null);
5840  c.tag = 3;
5841  var d = a.type.getDerivedStateFromError;
5842  if ("function" === typeof d) {
5843    var e = b.value;
5844    c.payload = function() {
5845      Ci(a, b);
5846      return d(e);
5847    };
5848  }
5849  var f = a.stateNode;
5850  null !== f && "function" === typeof f.componentDidCatch && (c.callback = function() {
5851    "function" !== typeof d && (null === aj ? aj = /* @__PURE__ */ new Set([this]) : aj.add(this), Ci(a, b));
5852    var c2 = b.stack;
5853    this.componentDidCatch(b.value, { componentStack: null !== c2 ? c2 : "" });
5854  });
5855  return c;
5856}
5857var bj = Math.ceil, cj = Wa.ReactCurrentDispatcher, dj = Wa.ReactCurrentOwner, V = 0, ej = 8, fj = 16, gj = 32, ti = 0, hj = 1, ij = 2, ui = 3, vi = 4, jj = 5, W = V, T = null, X = null, U = 0, S = ti, kj = null, lj = 1073741823, mj = 1073741823, nj = null, wi = 0, oj = false, Ti = 0, pj = 500, Y = null, Yi = false, Zi = null, aj = null, qj = false, rj = null, sj = 90, tj = null, uj = 0, vj = null, wj = 0;
5858function Gg() {
5859  return (W & (fj | gj)) !== V ? 1073741821 - ($f() / 10 | 0) : 0 !== wj ? wj : wj = 1073741821 - ($f() / 10 | 0);
5860}
5861function Hg(a, b, c) {
5862  b = b.mode;
5863  if (0 === (b & 2)) return 1073741823;
5864  var d = ag();
5865  if (0 === (b & 4)) return 99 === d ? 1073741823 : 1073741822;
5866  if ((W & fj) !== V) return U;
5867  if (null !== c) a = hg(a, c.timeoutMs | 0 || 5e3, 250);
5868  else switch (d) {
5869    case 99:
5870      a = 1073741823;
5871      break;
5872    case 98:
vendor: 5,155 bytes, lines 5873-6030
5873      a = hg(a, 150, 100);
5874      break;
5875    case 97:
5876    case 96:
5877      a = hg(a, 5e3, 250);
5878      break;
5879    case 95:
5880      a = 2;
5881      break;
5882    default:
5883      throw Error(u(326));
5884  }
5885  null !== T && a === U && --a;
5886  return a;
5887}
5888function Ig(a, b) {
5889  if (50 < uj) throw uj = 0, vj = null, Error(u(185));
5890  a = xj(a, b);
5891  if (null !== a) {
5892    var c = ag();
5893    1073741823 === b ? (W & ej) !== V && (W & (fj | gj)) === V ? yj(a) : (Z(a), W === V && gg()) : Z(a);
5894    (W & 4) === V || 98 !== c && 99 !== c || (null === tj ? tj = /* @__PURE__ */ new Map([[a, b]]) : (c = tj.get(a), (void 0 === c || c > b) && tj.set(a, b)));
5895  }
5896}
5897function xj(a, b) {
5898  a.expirationTime < b && (a.expirationTime = b);
5899  var c = a.alternate;
5900  null !== c && c.expirationTime < b && (c.expirationTime = b);
5901  var d = a.return, e = null;
5902  if (null === d && 3 === a.tag) e = a.stateNode;
5903  else for (; null !== d; ) {
5904    c = d.alternate;
5905    d.childExpirationTime < b && (d.childExpirationTime = b);
5906    null !== c && c.childExpirationTime < b && (c.childExpirationTime = b);
5907    if (null === d.return && 3 === d.tag) {
5908      e = d.stateNode;
5909      break;
5910    }
5911    d = d.return;
5912  }
5913  null !== e && (T === e && (Bg(b), S === vi && xi(e, U)), yi(e, b));
5914  return e;
5915}
5916function zj(a) {
5917  var b = a.lastExpiredTime;
5918  if (0 !== b) return b;
5919  b = a.firstPendingTime;
5920  if (!Aj(a, b)) return b;
5921  var c = a.lastPingedTime;
5922  a = a.nextKnownPendingLevel;
5923  a = c > a ? c : a;
5924  return 2 >= a && b !== a ? 0 : a;
5925}
5926function Z(a) {
5927  if (0 !== a.lastExpiredTime) a.callbackExpirationTime = 1073741823, a.callbackPriority = 99, a.callbackNode = eg(yj.bind(null, a));
5928  else {
5929    var b = zj(a), c = a.callbackNode;
5930    if (0 === b) null !== c && (a.callbackNode = null, a.callbackExpirationTime = 0, a.callbackPriority = 90);
5931    else {
5932      var d = Gg();
5933      1073741823 === b ? d = 99 : 1 === b || 2 === b ? d = 95 : (d = 10 * (1073741821 - b) - 10 * (1073741821 - d), d = 0 >= d ? 99 : 250 >= d ? 98 : 5250 >= d ? 97 : 95);
5934      if (null !== c) {
5935        var e = a.callbackPriority;
5936        if (a.callbackExpirationTime === b && e >= d) return;
5937        c !== Tf && Kf(c);
5938      }
5939      a.callbackExpirationTime = b;
5940      a.callbackPriority = d;
5941      b = 1073741823 === b ? eg(yj.bind(null, a)) : dg(d, Bj.bind(null, a), { timeout: 10 * (1073741821 - b) - $f() });
5942      a.callbackNode = b;
5943    }
5944  }
5945}
5946function Bj(a, b) {
5947  wj = 0;
5948  if (b) return b = Gg(), Cj(a, b), Z(a), null;
5949  var c = zj(a);
5950  if (0 !== c) {
5951    b = a.callbackNode;
5952    if ((W & (fj | gj)) !== V) throw Error(u(327));
5953    Dj();
5954    a === T && c === U || Ej(a, c);
5955    if (null !== X) {
5956      var d = W;
5957      W |= fj;
5958      var e = Fj();
5959      do
5960        try {
5961          Gj();
5962          break;
5963        } catch (h) {
5964          Hj(a, h);
5965        }
5966      while (1);
5967      ng();
5968      W = d;
5969      cj.current = e;
5970      if (S === hj) throw b = kj, Ej(a, c), xi(a, c), Z(a), b;
5971      if (null === X) switch (e = a.finishedWork = a.current.alternate, a.finishedExpirationTime = c, d = S, T = null, d) {
5972        case ti:
5973        case hj:
5974          throw Error(u(345));
5975        case ij:
5976          Cj(a, 2 < c ? 2 : c);
5977          break;
5978        case ui:
5979          xi(a, c);
5980          d = a.lastSuspendedTime;
5981          c === d && (a.nextKnownPendingLevel = Ij(e));
5982          if (1073741823 === lj && (e = Ti + pj - $f(), 10 < e)) {
5983            if (oj) {
5984              var f = a.lastPingedTime;
5985              if (0 === f || f >= c) {
5986                a.lastPingedTime = c;
5987                Ej(a, c);
5988                break;
5989              }
5990            }
5991            f = zj(a);
5992            if (0 !== f && f !== c) break;
5993            if (0 !== d && d !== c) {
5994              a.lastPingedTime = d;
5995              break;
5996            }
5997            a.timeoutHandle = Hd(Jj.bind(null, a), e);
5998            break;
5999          }
6000          Jj(a);
6001          break;
6002        case vi:
6003          xi(a, c);
6004          d = a.lastSuspendedTime;
6005          c === d && (a.nextKnownPendingLevel = Ij(e));
6006          if (oj && (e = a.lastPingedTime, 0 === e || e >= c)) {
6007            a.lastPingedTime = c;
6008            Ej(a, c);
6009            break;
6010          }
6011          e = zj(a);
6012          if (0 !== e && e !== c) break;
6013          if (0 !== d && d !== c) {
6014            a.lastPingedTime = d;
6015            break;
6016          }
6017          1073741823 !== mj ? d = 10 * (1073741821 - mj) - $f() : 1073741823 === lj ? d = 0 : (d = 10 * (1073741821 - lj) - 5e3, e = $f(), c = 10 * (1073741821 - c) - e, d = e - d, 0 > d && (d = 0), d = (120 > d ? 120 : 480 > d ? 480 : 1080 > d ? 1080 : 1920 > d ? 1920 : 3e3 > d ? 3e3 : 4320 > d ? 4320 : 1960 * bj(d / 1960)) - d, c < d && (d = c));
6018          if (10 < d) {
6019            a.timeoutHandle = Hd(Jj.bind(null, a), d);
6020            break;
6021          }
6022          Jj(a);
6023          break;
6024        case jj:
6025          if (1073741823 !== lj && null !== nj) {
6026            f = lj;
6027            var g = nj;
6028            d = g.busyMinDurationMs | 0;
6029            0 >= d ? d = 0 : (e = g.busyDelayMs | 0, f = $f() - (10 * (1073741821 - f) - (g.timeoutMs | 0 || 5e3)), d = f <= e ? 0 : e + d - f);
6030            if (10 < d) {
vendor: 14,342 bytes, lines 6031-6527
6031              xi(a, c);
6032              a.timeoutHandle = Hd(Jj.bind(null, a), d);
6033              break;
6034            }
6035          }
6036          Jj(a);
6037          break;
6038        default:
6039          throw Error(u(329));
6040      }
6041      Z(a);
6042      if (a.callbackNode === b) return Bj.bind(null, a);
6043    }
6044  }
6045  return null;
6046}
6047function yj(a) {
6048  var b = a.lastExpiredTime;
6049  b = 0 !== b ? b : 1073741823;
6050  if ((W & (fj | gj)) !== V) throw Error(u(327));
6051  Dj();
6052  a === T && b === U || Ej(a, b);
6053  if (null !== X) {
6054    var c = W;
6055    W |= fj;
6056    var d = Fj();
6057    do
6058      try {
6059        Kj();
6060        break;
6061      } catch (e) {
6062        Hj(a, e);
6063      }
6064    while (1);
6065    ng();
6066    W = c;
6067    cj.current = d;
6068    if (S === hj) throw c = kj, Ej(a, b), xi(a, b), Z(a), c;
6069    if (null !== X) throw Error(u(261));
6070    a.finishedWork = a.current.alternate;
6071    a.finishedExpirationTime = b;
6072    T = null;
6073    Jj(a);
6074    Z(a);
6075  }
6076  return null;
6077}
6078function Lj() {
6079  if (null !== tj) {
6080    var a = tj;
6081    tj = null;
6082    a.forEach(function(a2, c) {
6083      Cj(c, a2);
6084      Z(c);
6085    });
6086    gg();
6087  }
6088}
6089function Mj(a, b) {
6090  var c = W;
6091  W |= 1;
6092  try {
6093    return a(b);
6094  } finally {
6095    W = c, W === V && gg();
6096  }
6097}
6098function Nj(a, b) {
6099  var c = W;
6100  W &= -2;
6101  W |= ej;
6102  try {
6103    return a(b);
6104  } finally {
6105    W = c, W === V && gg();
6106  }
6107}
6108function Ej(a, b) {
6109  a.finishedWork = null;
6110  a.finishedExpirationTime = 0;
6111  var c = a.timeoutHandle;
6112  -1 !== c && (a.timeoutHandle = -1, Id(c));
6113  if (null !== X) for (c = X.return; null !== c; ) {
6114    var d = c;
6115    switch (d.tag) {
6116      case 1:
6117        d = d.type.childContextTypes;
6118        null !== d && void 0 !== d && Df();
6119        break;
6120      case 3:
6121        eh();
6122        H(K);
6123        H(J);
6124        break;
6125      case 5:
6126        gh(d);
6127        break;
6128      case 4:
6129        eh();
6130        break;
6131      case 13:
6132        H(M);
6133        break;
6134      case 19:
6135        H(M);
6136        break;
6137      case 10:
6138        og(d);
6139    }
6140    c = c.return;
6141  }
6142  T = a;
6143  X = Sg(a.current, null);
6144  U = b;
6145  S = ti;
6146  kj = null;
6147  mj = lj = 1073741823;
6148  nj = null;
6149  wi = 0;
6150  oj = false;
6151}
6152function Hj(a, b) {
6153  do {
6154    try {
6155      ng();
6156      jh.current = sh;
6157      if (mh) for (var c = N.memoizedState; null !== c; ) {
6158        var d = c.queue;
6159        null !== d && (d.pending = null);
6160        c = c.next;
6161      }
6162      lh = 0;
6163      P = O = N = null;
6164      mh = false;
6165      if (null === X || null === X.return) return S = hj, kj = b, X = null;
6166      a: {
6167        var e = a, f = X.return, g = X, h = b;
6168        b = U;
6169        g.effectTag |= 2048;
6170        g.firstEffect = g.lastEffect = null;
6171        if (null !== h && "object" === typeof h && "function" === typeof h.then) {
6172          var k = h;
6173          if (0 === (g.mode & 2)) {
6174            var l = g.alternate;
6175            l ? (g.updateQueue = l.updateQueue, g.memoizedState = l.memoizedState, g.expirationTime = l.expirationTime) : (g.updateQueue = null, g.memoizedState = null);
6176          }
6177          var m = 0 !== (M.current & 1), p = f;
6178          do {
6179            var x;
6180            if (x = 13 === p.tag) {
6181              var z = p.memoizedState;
6182              if (null !== z) x = null !== z.dehydrated ? true : false;
6183              else {
6184                var ca = p.memoizedProps;
6185                x = void 0 === ca.fallback ? false : true !== ca.unstable_avoidThisFallback ? true : m ? false : true;
6186              }
6187            }
6188            if (x) {
6189              var D = p.updateQueue;
6190              if (null === D) {
6191                var t = /* @__PURE__ */ new Set();
6192                t.add(k);
6193                p.updateQueue = t;
6194              } else D.add(k);
6195              if (0 === (p.mode & 2)) {
6196                p.effectTag |= 64;
6197                g.effectTag &= -2981;
6198                if (1 === g.tag) if (null === g.alternate) g.tag = 17;
6199                else {
6200                  var y = wg(1073741823, null);
6201                  y.tag = 2;
6202                  xg(g, y);
6203                }
6204                g.expirationTime = 1073741823;
6205                break a;
6206              }
6207              h = void 0;
6208              g = b;
6209              var A = e.pingCache;
6210              null === A ? (A = e.pingCache = new Wi(), h = /* @__PURE__ */ new Set(), A.set(k, h)) : (h = A.get(k), void 0 === h && (h = /* @__PURE__ */ new Set(), A.set(k, h)));
6211              if (!h.has(g)) {
6212                h.add(g);
6213                var q = Oj.bind(null, e, k, g);
6214                k.then(q, q);
6215              }
6216              p.effectTag |= 4096;
6217              p.expirationTime = b;
6218              break a;
6219            }
6220            p = p.return;
6221          } while (null !== p);
6222          h = Error((pb(g.type) || "A React component") + " suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display." + qb(g));
6223        }
6224        S !== jj && (S = ij);
6225        h = Ai(h, g);
6226        p = f;
6227        do {
6228          switch (p.tag) {
6229            case 3:
6230              k = h;
6231              p.effectTag |= 4096;
6232              p.expirationTime = b;
6233              var B = Xi(p, k, b);
6234              yg(p, B);
6235              break a;
6236            case 1:
6237              k = h;
6238              var w = p.type, ub = p.stateNode;
6239              if (0 === (p.effectTag & 64) && ("function" === typeof w.getDerivedStateFromError || null !== ub && "function" === typeof ub.componentDidCatch && (null === aj || !aj.has(ub)))) {
6240                p.effectTag |= 4096;
6241                p.expirationTime = b;
6242                var vb = $i(p, k, b);
6243                yg(p, vb);
6244                break a;
6245              }
6246          }
6247          p = p.return;
6248        } while (null !== p);
6249      }
6250      X = Pj(X);
6251    } catch (Xc) {
6252      b = Xc;
6253      continue;
6254    }
6255    break;
6256  } while (1);
6257}
6258function Fj() {
6259  var a = cj.current;
6260  cj.current = sh;
6261  return null === a ? sh : a;
6262}
6263function Ag(a, b) {
6264  a < lj && 2 < a && (lj = a);
6265  null !== b && a < mj && 2 < a && (mj = a, nj = b);
6266}
6267function Bg(a) {
6268  a > wi && (wi = a);
6269}
6270function Kj() {
6271  for (; null !== X; ) X = Qj(X);
6272}
6273function Gj() {
6274  for (; null !== X && !Uf(); ) X = Qj(X);
6275}
6276function Qj(a) {
6277  var b = Rj(a.alternate, a, U);
6278  a.memoizedProps = a.pendingProps;
6279  null === b && (b = Pj(a));
6280  dj.current = null;
6281  return b;
6282}
6283function Pj(a) {
6284  X = a;
6285  do {
6286    var b = X.alternate;
6287    a = X.return;
6288    if (0 === (X.effectTag & 2048)) {
6289      b = si(b, X, U);
6290      if (1 === U || 1 !== X.childExpirationTime) {
6291        for (var c = 0, d = X.child; null !== d; ) {
6292          var e = d.expirationTime, f = d.childExpirationTime;
6293          e > c && (c = e);
6294          f > c && (c = f);
6295          d = d.sibling;
6296        }
6297        X.childExpirationTime = c;
6298      }
6299      if (null !== b) return b;
6300      null !== a && 0 === (a.effectTag & 2048) && (null === a.firstEffect && (a.firstEffect = X.firstEffect), null !== X.lastEffect && (null !== a.lastEffect && (a.lastEffect.nextEffect = X.firstEffect), a.lastEffect = X.lastEffect), 1 < X.effectTag && (null !== a.lastEffect ? a.lastEffect.nextEffect = X : a.firstEffect = X, a.lastEffect = X));
6301    } else {
6302      b = zi(X);
6303      if (null !== b) return b.effectTag &= 2047, b;
6304      null !== a && (a.firstEffect = a.lastEffect = null, a.effectTag |= 2048);
6305    }
6306    b = X.sibling;
6307    if (null !== b) return b;
6308    X = a;
6309  } while (null !== X);
6310  S === ti && (S = jj);
6311  return null;
6312}
6313function Ij(a) {
6314  var b = a.expirationTime;
6315  a = a.childExpirationTime;
6316  return b > a ? b : a;
6317}
6318function Jj(a) {
6319  var b = ag();
6320  cg(99, Sj.bind(null, a, b));
6321  return null;
6322}
6323function Sj(a, b) {
6324  do
6325    Dj();
6326  while (null !== rj);
6327  if ((W & (fj | gj)) !== V) throw Error(u(327));
6328  var c = a.finishedWork, d = a.finishedExpirationTime;
6329  if (null === c) return null;
6330  a.finishedWork = null;
6331  a.finishedExpirationTime = 0;
6332  if (c === a.current) throw Error(u(177));
6333  a.callbackNode = null;
6334  a.callbackExpirationTime = 0;
6335  a.callbackPriority = 90;
6336  a.nextKnownPendingLevel = 0;
6337  var e = Ij(c);
6338  a.firstPendingTime = e;
6339  d <= a.lastSuspendedTime ? a.firstSuspendedTime = a.lastSuspendedTime = a.nextKnownPendingLevel = 0 : d <= a.firstSuspendedTime && (a.firstSuspendedTime = d - 1);
6340  d <= a.lastPingedTime && (a.lastPingedTime = 0);
6341  d <= a.lastExpiredTime && (a.lastExpiredTime = 0);
6342  a === T && (X = T = null, U = 0);
6343  1 < c.effectTag ? null !== c.lastEffect ? (c.lastEffect.nextEffect = c, e = c.firstEffect) : e = c : e = c.firstEffect;
6344  if (null !== e) {
6345    var f = W;
6346    W |= gj;
6347    dj.current = null;
6348    Dd = fd;
6349    var g = xd();
6350    if (yd(g)) {
6351      if ("selectionStart" in g) var h = { start: g.selectionStart, end: g.selectionEnd };
6352      else a: {
6353        h = (h = g.ownerDocument) && h.defaultView || window;
6354        var k = h.getSelection && h.getSelection();
6355        if (k && 0 !== k.rangeCount) {
6356          h = k.anchorNode;
6357          var l = k.anchorOffset, m = k.focusNode;
6358          k = k.focusOffset;
6359          try {
6360            h.nodeType, m.nodeType;
6361          } catch (wb) {
6362            h = null;
6363            break a;
6364          }
6365          var p = 0, x = -1, z = -1, ca = 0, D = 0, t = g, y = null;
6366          b: for (; ; ) {
6367            for (var A; ; ) {
6368              t !== h || 0 !== l && 3 !== t.nodeType || (x = p + l);
6369              t !== m || 0 !== k && 3 !== t.nodeType || (z = p + k);
6370              3 === t.nodeType && (p += t.nodeValue.length);
6371              if (null === (A = t.firstChild)) break;
6372              y = t;
6373              t = A;
6374            }
6375            for (; ; ) {
6376              if (t === g) break b;
6377              y === h && ++ca === l && (x = p);
6378              y === m && ++D === k && (z = p);
6379              if (null !== (A = t.nextSibling)) break;
6380              t = y;
6381              y = t.parentNode;
6382            }
6383            t = A;
6384          }
6385          h = -1 === x || -1 === z ? null : { start: x, end: z };
6386        } else h = null;
6387      }
6388      h = h || { start: 0, end: 0 };
6389    } else h = null;
6390    Ed = { activeElementDetached: null, focusedElem: g, selectionRange: h };
6391    fd = false;
6392    Y = e;
6393    do
6394      try {
6395        Tj();
6396      } catch (wb) {
6397        if (null === Y) throw Error(u(330));
6398        Ei(Y, wb);
6399        Y = Y.nextEffect;
6400      }
6401    while (null !== Y);
6402    Y = e;
6403    do
6404      try {
6405        for (g = a, h = b; null !== Y; ) {
6406          var q = Y.effectTag;
6407          q & 16 && Rb(Y.stateNode, "");
6408          if (q & 128) {
6409            var B = Y.alternate;
6410            if (null !== B) {
6411              var w = B.ref;
6412              null !== w && ("function" === typeof w ? w(null) : w.current = null);
6413            }
6414          }
6415          switch (q & 1038) {
6416            case 2:
6417              Pi(Y);
6418              Y.effectTag &= -3;
6419              break;
6420            case 6:
6421              Pi(Y);
6422              Y.effectTag &= -3;
6423              Si(Y.alternate, Y);
6424              break;
6425            case 1024:
6426              Y.effectTag &= -1025;
6427              break;
6428            case 1028:
6429              Y.effectTag &= -1025;
6430              Si(Y.alternate, Y);
6431              break;
6432            case 4:
6433              Si(Y.alternate, Y);
6434              break;
6435            case 8:
6436              l = Y, Mi(g, l, h), Ni(l);
6437          }
6438          Y = Y.nextEffect;
6439        }
6440      } catch (wb) {
6441        if (null === Y) throw Error(u(330));
6442        Ei(Y, wb);
6443        Y = Y.nextEffect;
6444      }
6445    while (null !== Y);
6446    w = Ed;
6447    B = xd();
6448    q = w.focusedElem;
6449    h = w.selectionRange;
6450    if (B !== q && q && q.ownerDocument && wd(q.ownerDocument.documentElement, q)) {
6451      null !== h && yd(q) && (B = h.start, w = h.end, void 0 === w && (w = B), "selectionStart" in q ? (q.selectionStart = B, q.selectionEnd = Math.min(w, q.value.length)) : (w = (B = q.ownerDocument || document) && B.defaultView || window, w.getSelection && (w = w.getSelection(), l = q.textContent.length, g = Math.min(h.start, l), h = void 0 === h.end ? g : Math.min(h.end, l), !w.extend && g > h && (l = h, h = g, g = l), l = vd(q, g), m = vd(q, h), l && m && (1 !== w.rangeCount || w.anchorNode !== l.node || w.anchorOffset !== l.offset || w.focusNode !== m.node || w.focusOffset !== m.offset) && (B = B.createRange(), B.setStart(l.node, l.offset), w.removeAllRanges(), g > h ? (w.addRange(B), w.extend(m.node, m.offset)) : (B.setEnd(m.node, m.offset), w.addRange(B))))));
6452      B = [];
6453      for (w = q; w = w.parentNode; ) 1 === w.nodeType && B.push({
6454        element: w,
6455        left: w.scrollLeft,
6456        top: w.scrollTop
6457      });
6458      "function" === typeof q.focus && q.focus();
6459      for (q = 0; q < B.length; q++) w = B[q], w.element.scrollLeft = w.left, w.element.scrollTop = w.top;
6460    }
6461    fd = !!Dd;
6462    Ed = Dd = null;
6463    a.current = c;
6464    Y = e;
6465    do
6466      try {
6467        for (q = a; null !== Y; ) {
6468          var ub = Y.effectTag;
6469          ub & 36 && Ji(q, Y.alternate, Y);
6470          if (ub & 128) {
6471            B = void 0;
6472            var vb = Y.ref;
6473            if (null !== vb) {
6474              var Xc = Y.stateNode;
6475              switch (Y.tag) {
6476                case 5:
6477                  B = Xc;
6478                  break;
6479                default:
6480                  B = Xc;
6481              }
6482              "function" === typeof vb ? vb(B) : vb.current = B;
6483            }
6484          }
6485          Y = Y.nextEffect;
6486        }
6487      } catch (wb) {
6488        if (null === Y) throw Error(u(330));
6489        Ei(Y, wb);
6490        Y = Y.nextEffect;
6491      }
6492    while (null !== Y);
6493    Y = null;
6494    Vf();
6495    W = f;
6496  } else a.current = c;
6497  if (qj) qj = false, rj = a, sj = b;
6498  else for (Y = e; null !== Y; ) b = Y.nextEffect, Y.nextEffect = null, Y = b;
6499  b = a.firstPendingTime;
6500  0 === b && (aj = null);
6501  1073741823 === b ? a === vj ? uj++ : (uj = 0, vj = a) : uj = 0;
6502  "function" === typeof Uj && Uj(c.stateNode, d);
6503  Z(a);
6504  if (Yi) throw Yi = false, a = Zi, Zi = null, a;
6505  if ((W & ej) !== V) return null;
6506  gg();
6507  return null;
6508}
6509function Tj() {
6510  for (; null !== Y; ) {
6511    var a = Y.effectTag;
6512    0 !== (a & 256) && Gi(Y.alternate, Y);
6513    0 === (a & 512) || qj || (qj = true, dg(97, function() {
6514      Dj();
6515      return null;
6516    }));
6517    Y = Y.nextEffect;
6518  }
6519}
6520function Dj() {
6521  if (90 !== sj) {
6522    var a = 97 < sj ? 97 : sj;
6523    sj = 90;
6524    return cg(a, Vj);
6525  }
6526}
6527function Vj() {
vendor: 18,236 bytes, lines 6528-7154
6528  if (null === rj) return false;
6529  var a = rj;
6530  rj = null;
6531  if ((W & (fj | gj)) !== V) throw Error(u(331));
6532  var b = W;
6533  W |= gj;
6534  for (a = a.current.firstEffect; null !== a; ) {
6535    try {
6536      var c = a;
6537      if (0 !== (c.effectTag & 512)) switch (c.tag) {
6538        case 0:
6539        case 11:
6540        case 15:
6541        case 22:
6542          Hi(5, c), Ii(5, c);
6543      }
6544    } catch (d) {
6545      if (null === a) throw Error(u(330));
6546      Ei(a, d);
6547    }
6548    c = a.nextEffect;
6549    a.nextEffect = null;
6550    a = c;
6551  }
6552  W = b;
6553  gg();
6554  return true;
6555}
6556function Wj(a, b, c) {
6557  b = Ai(c, b);
6558  b = Xi(a, b, 1073741823);
6559  xg(a, b);
6560  a = xj(a, 1073741823);
6561  null !== a && Z(a);
6562}
6563function Ei(a, b) {
6564  if (3 === a.tag) Wj(a, a, b);
6565  else for (var c = a.return; null !== c; ) {
6566    if (3 === c.tag) {
6567      Wj(c, a, b);
6568      break;
6569    } else if (1 === c.tag) {
6570      var d = c.stateNode;
6571      if ("function" === typeof c.type.getDerivedStateFromError || "function" === typeof d.componentDidCatch && (null === aj || !aj.has(d))) {
6572        a = Ai(b, a);
6573        a = $i(c, a, 1073741823);
6574        xg(c, a);
6575        c = xj(c, 1073741823);
6576        null !== c && Z(c);
6577        break;
6578      }
6579    }
6580    c = c.return;
6581  }
6582}
6583function Oj(a, b, c) {
6584  var d = a.pingCache;
6585  null !== d && d.delete(b);
6586  T === a && U === c ? S === vi || S === ui && 1073741823 === lj && $f() - Ti < pj ? Ej(a, U) : oj = true : Aj(a, c) && (b = a.lastPingedTime, 0 !== b && b < c || (a.lastPingedTime = c, Z(a)));
6587}
6588function Vi(a, b) {
6589  var c = a.stateNode;
6590  null !== c && c.delete(b);
6591  b = 0;
6592  0 === b && (b = Gg(), b = Hg(b, a, null));
6593  a = xj(a, b);
6594  null !== a && Z(a);
6595}
6596var Rj;
6597Rj = function(a, b, c) {
6598  var d = b.expirationTime;
6599  if (null !== a) {
6600    var e = b.pendingProps;
6601    if (a.memoizedProps !== e || K.current) rg = true;
6602    else {
6603      if (d < c) {
6604        rg = false;
6605        switch (b.tag) {
6606          case 3:
6607            hi(b);
6608            Xh();
6609            break;
6610          case 5:
6611            fh(b);
6612            if (b.mode & 4 && 1 !== c && e.hidden) return b.expirationTime = b.childExpirationTime = 1, null;
6613            break;
6614          case 1:
6615            L(b.type) && Gf(b);
6616            break;
6617          case 4:
6618            dh(b, b.stateNode.containerInfo);
6619            break;
6620          case 10:
6621            d = b.memoizedProps.value;
6622            e = b.type._context;
6623            I(jg, e._currentValue);
6624            e._currentValue = d;
6625            break;
6626          case 13:
6627            if (null !== b.memoizedState) {
6628              d = b.child.childExpirationTime;
6629              if (0 !== d && d >= c) return ji(a, b, c);
6630              I(M, M.current & 1);
6631              b = $h(a, b, c);
6632              return null !== b ? b.sibling : null;
6633            }
6634            I(M, M.current & 1);
6635            break;
6636          case 19:
6637            d = b.childExpirationTime >= c;
6638            if (0 !== (a.effectTag & 64)) {
6639              if (d) return mi(a, b, c);
6640              b.effectTag |= 64;
6641            }
6642            e = b.memoizedState;
6643            null !== e && (e.rendering = null, e.tail = null);
6644            I(M, M.current);
6645            if (!d) return null;
6646        }
6647        return $h(a, b, c);
6648      }
6649      rg = false;
6650    }
6651  } else rg = false;
6652  b.expirationTime = 0;
6653  switch (b.tag) {
6654    case 2:
6655      d = b.type;
6656      null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2);
6657      a = b.pendingProps;
6658      e = Cf(b, J.current);
6659      qg(b, c);
6660      e = oh(
6661        null,
6662        b,
6663        d,
6664        a,
6665        e,
6666        c
6667      );
6668      b.effectTag |= 1;
6669      if ("object" === typeof e && null !== e && "function" === typeof e.render && void 0 === e.$$typeof) {
6670        b.tag = 1;
6671        b.memoizedState = null;
6672        b.updateQueue = null;
6673        if (L(d)) {
6674          var f = true;
6675          Gf(b);
6676        } else f = false;
6677        b.memoizedState = null !== e.state && void 0 !== e.state ? e.state : null;
6678        ug(b);
6679        var g = d.getDerivedStateFromProps;
6680        "function" === typeof g && Fg(b, d, g, a);
6681        e.updater = Jg;
6682        b.stateNode = e;
6683        e._reactInternalFiber = b;
6684        Ng(b, d, a, c);
6685        b = gi(null, b, d, true, f, c);
6686      } else b.tag = 0, R(null, b, e, c), b = b.child;
6687      return b;
6688    case 16:
6689      a: {
6690        e = b.elementType;
6691        null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2);
6692        a = b.pendingProps;
6693        ob(e);
6694        if (1 !== e._status) throw e._result;
6695        e = e._result;
6696        b.type = e;
6697        f = b.tag = Xj(e);
6698        a = ig(e, a);
6699        switch (f) {
6700          case 0:
6701            b = di(null, b, e, a, c);
6702            break a;
6703          case 1:
6704            b = fi(null, b, e, a, c);
6705            break a;
6706          case 11:
6707            b = Zh(null, b, e, a, c);
6708            break a;
6709          case 14:
6710            b = ai(null, b, e, ig(e.type, a), d, c);
6711            break a;
6712        }
6713        throw Error(u(306, e, ""));
6714      }
6715      return b;
6716    case 0:
6717      return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : ig(d, e), di(a, b, d, e, c);
6718    case 1:
6719      return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : ig(d, e), fi(a, b, d, e, c);
6720    case 3:
6721      hi(b);
6722      d = b.updateQueue;
6723      if (null === a || null === d) throw Error(u(282));
6724      d = b.pendingProps;
6725      e = b.memoizedState;
6726      e = null !== e ? e.element : null;
6727      vg(a, b);
6728      zg(b, d, null, c);
6729      d = b.memoizedState.element;
6730      if (d === e) Xh(), b = $h(a, b, c);
6731      else {
6732        if (e = b.stateNode.hydrate) Ph = Jd(b.stateNode.containerInfo.firstChild), Oh = b, e = Qh = true;
6733        if (e) for (c = Yg(b, null, d, c), b.child = c; c; ) c.effectTag = c.effectTag & -3 | 1024, c = c.sibling;
6734        else R(a, b, d, c), Xh();
6735        b = b.child;
6736      }
6737      return b;
6738    case 5:
6739      return fh(b), null === a && Uh(b), d = b.type, e = b.pendingProps, f = null !== a ? a.memoizedProps : null, g = e.children, Gd(d, e) ? g = null : null !== f && Gd(d, f) && (b.effectTag |= 16), ei(a, b), b.mode & 4 && 1 !== c && e.hidden ? (b.expirationTime = b.childExpirationTime = 1, b = null) : (R(a, b, g, c), b = b.child), b;
6740    case 6:
6741      return null === a && Uh(b), null;
6742    case 13:
6743      return ji(a, b, c);
6744    case 4:
6745      return dh(b, b.stateNode.containerInfo), d = b.pendingProps, null === a ? b.child = Xg(b, null, d, c) : R(a, b, d, c), b.child;
6746    case 11:
6747      return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : ig(d, e), Zh(a, b, d, e, c);
6748    case 7:
6749      return R(a, b, b.pendingProps, c), b.child;
6750    case 8:
6751      return R(
6752        a,
6753        b,
6754        b.pendingProps.children,
6755        c
6756      ), b.child;
6757    case 12:
6758      return R(a, b, b.pendingProps.children, c), b.child;
6759    case 10:
6760      a: {
6761        d = b.type._context;
6762        e = b.pendingProps;
6763        g = b.memoizedProps;
6764        f = e.value;
6765        var h = b.type._context;
6766        I(jg, h._currentValue);
6767        h._currentValue = f;
6768        if (null !== g) if (h = g.value, f = $e(h, f) ? 0 : ("function" === typeof d._calculateChangedBits ? d._calculateChangedBits(h, f) : 1073741823) | 0, 0 === f) {
6769          if (g.children === e.children && !K.current) {
6770            b = $h(a, b, c);
6771            break a;
6772          }
6773        } else for (h = b.child, null !== h && (h.return = b); null !== h; ) {
6774          var k = h.dependencies;
6775          if (null !== k) {
6776            g = h.child;
6777            for (var l = k.firstContext; null !== l; ) {
6778              if (l.context === d && 0 !== (l.observedBits & f)) {
6779                1 === h.tag && (l = wg(c, null), l.tag = 2, xg(h, l));
6780                h.expirationTime < c && (h.expirationTime = c);
6781                l = h.alternate;
6782                null !== l && l.expirationTime < c && (l.expirationTime = c);
6783                pg(h.return, c);
6784                k.expirationTime < c && (k.expirationTime = c);
6785                break;
6786              }
6787              l = l.next;
6788            }
6789          } else g = 10 === h.tag ? h.type === b.type ? null : h.child : h.child;
6790          if (null !== g) g.return = h;
6791          else for (g = h; null !== g; ) {
6792            if (g === b) {
6793              g = null;
6794              break;
6795            }
6796            h = g.sibling;
6797            if (null !== h) {
6798              h.return = g.return;
6799              g = h;
6800              break;
6801            }
6802            g = g.return;
6803          }
6804          h = g;
6805        }
6806        R(a, b, e.children, c);
6807        b = b.child;
6808      }
6809      return b;
6810    case 9:
6811      return e = b.type, f = b.pendingProps, d = f.children, qg(b, c), e = sg(e, f.unstable_observedBits), d = d(e), b.effectTag |= 1, R(a, b, d, c), b.child;
6812    case 14:
6813      return e = b.type, f = ig(e, b.pendingProps), f = ig(e.type, f), ai(a, b, e, f, d, c);
6814    case 15:
6815      return ci(a, b, b.type, b.pendingProps, d, c);
6816    case 17:
6817      return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : ig(d, e), null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2), b.tag = 1, L(d) ? (a = true, Gf(b)) : a = false, qg(b, c), Lg(b, d, e), Ng(b, d, e, c), gi(
6818        null,
6819        b,
6820        d,
6821        true,
6822        a,
6823        c
6824      );
6825    case 19:
6826      return mi(a, b, c);
6827  }
6828  throw Error(u(156, b.tag));
6829};
6830var Uj = null, Li = null;
6831function Yj(a) {
6832  if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return false;
6833  var b = __REACT_DEVTOOLS_GLOBAL_HOOK__;
6834  if (b.isDisabled || !b.supportsFiber) return true;
6835  try {
6836    var c = b.inject(a);
6837    Uj = function(a2) {
6838      try {
6839        b.onCommitFiberRoot(c, a2, void 0, 64 === (a2.current.effectTag & 64));
6840      } catch (e) {
6841      }
6842    };
6843    Li = function(a2) {
6844      try {
6845        b.onCommitFiberUnmount(c, a2);
6846      } catch (e) {
6847      }
6848    };
6849  } catch (d) {
6850  }
6851  return true;
6852}
6853function Zj(a, b, c, d) {
6854  this.tag = a;
6855  this.key = c;
6856  this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;
6857  this.index = 0;
6858  this.ref = null;
6859  this.pendingProps = b;
6860  this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;
6861  this.mode = d;
6862  this.effectTag = 0;
6863  this.lastEffect = this.firstEffect = this.nextEffect = null;
6864  this.childExpirationTime = this.expirationTime = 0;
6865  this.alternate = null;
6866}
6867function Sh(a, b, c, d) {
6868  return new Zj(a, b, c, d);
6869}
6870function bi(a) {
6871  a = a.prototype;
6872  return !(!a || !a.isReactComponent);
6873}
6874function Xj(a) {
6875  if ("function" === typeof a) return bi(a) ? 1 : 0;
6876  if (void 0 !== a && null !== a) {
6877    a = a.$$typeof;
6878    if (a === gb) return 11;
6879    if (a === jb) return 14;
6880  }
6881  return 2;
6882}
6883function Sg(a, b) {
6884  var c = a.alternate;
6885  null === c ? (c = Sh(a.tag, b, a.key, a.mode), c.elementType = a.elementType, c.type = a.type, c.stateNode = a.stateNode, c.alternate = a, a.alternate = c) : (c.pendingProps = b, c.effectTag = 0, c.nextEffect = null, c.firstEffect = null, c.lastEffect = null);
6886  c.childExpirationTime = a.childExpirationTime;
6887  c.expirationTime = a.expirationTime;
6888  c.child = a.child;
6889  c.memoizedProps = a.memoizedProps;
6890  c.memoizedState = a.memoizedState;
6891  c.updateQueue = a.updateQueue;
6892  b = a.dependencies;
6893  c.dependencies = null === b ? null : {
6894    expirationTime: b.expirationTime,
6895    firstContext: b.firstContext,
6896    responders: b.responders
6897  };
6898  c.sibling = a.sibling;
6899  c.index = a.index;
6900  c.ref = a.ref;
6901  return c;
6902}
6903function Ug(a, b, c, d, e, f) {
6904  var g = 2;
6905  d = a;
6906  if ("function" === typeof a) bi(a) && (g = 1);
6907  else if ("string" === typeof a) g = 5;
6908  else a: switch (a) {
6909    case ab:
6910      return Wg(c.children, e, f, b);
6911    case fb:
6912      g = 8;
6913      e |= 7;
6914      break;
6915    case bb:
6916      g = 8;
6917      e |= 1;
6918      break;
6919    case cb:
6920      return a = Sh(12, c, b, e | 8), a.elementType = cb, a.type = cb, a.expirationTime = f, a;
6921    case hb:
6922      return a = Sh(13, c, b, e), a.type = hb, a.elementType = hb, a.expirationTime = f, a;
6923    case ib:
6924      return a = Sh(19, c, b, e), a.elementType = ib, a.expirationTime = f, a;
6925    default:
6926      if ("object" === typeof a && null !== a) switch (a.$$typeof) {
6927        case db:
6928          g = 10;
6929          break a;
6930        case eb:
6931          g = 9;
6932          break a;
6933        case gb:
6934          g = 11;
6935          break a;
6936        case jb:
6937          g = 14;
6938          break a;
6939        case kb:
6940          g = 16;
6941          d = null;
6942          break a;
6943        case lb:
6944          g = 22;
6945          break a;
6946      }
6947      throw Error(u(130, null == a ? a : typeof a, ""));
6948  }
6949  b = Sh(g, c, b, e);
6950  b.elementType = a;
6951  b.type = d;
6952  b.expirationTime = f;
6953  return b;
6954}
6955function Wg(a, b, c, d) {
6956  a = Sh(7, a, d, b);
6957  a.expirationTime = c;
6958  return a;
6959}
6960function Tg(a, b, c) {
6961  a = Sh(6, a, null, b);
6962  a.expirationTime = c;
6963  return a;
6964}
6965function Vg(a, b, c) {
6966  b = Sh(4, null !== a.children ? a.children : [], a.key, b);
6967  b.expirationTime = c;
6968  b.stateNode = { containerInfo: a.containerInfo, pendingChildren: null, implementation: a.implementation };
6969  return b;
6970}
6971function ak(a, b, c) {
6972  this.tag = b;
6973  this.current = null;
6974  this.containerInfo = a;
6975  this.pingCache = this.pendingChildren = null;
6976  this.finishedExpirationTime = 0;
6977  this.finishedWork = null;
6978  this.timeoutHandle = -1;
6979  this.pendingContext = this.context = null;
6980  this.hydrate = c;
6981  this.callbackNode = null;
6982  this.callbackPriority = 90;
6983  this.lastExpiredTime = this.lastPingedTime = this.nextKnownPendingLevel = this.lastSuspendedTime = this.firstSuspendedTime = this.firstPendingTime = 0;
6984}
6985function Aj(a, b) {
6986  var c = a.firstSuspendedTime;
6987  a = a.lastSuspendedTime;
6988  return 0 !== c && c >= b && a <= b;
6989}
6990function xi(a, b) {
6991  var c = a.firstSuspendedTime, d = a.lastSuspendedTime;
6992  c < b && (a.firstSuspendedTime = b);
6993  if (d > b || 0 === c) a.lastSuspendedTime = b;
6994  b <= a.lastPingedTime && (a.lastPingedTime = 0);
6995  b <= a.lastExpiredTime && (a.lastExpiredTime = 0);
6996}
6997function yi(a, b) {
6998  b > a.firstPendingTime && (a.firstPendingTime = b);
6999  var c = a.firstSuspendedTime;
7000  0 !== c && (b >= c ? a.firstSuspendedTime = a.lastSuspendedTime = a.nextKnownPendingLevel = 0 : b >= a.lastSuspendedTime && (a.lastSuspendedTime = b + 1), b > a.nextKnownPendingLevel && (a.nextKnownPendingLevel = b));
7001}
7002function Cj(a, b) {
7003  var c = a.lastExpiredTime;
7004  if (0 === c || c > b) a.lastExpiredTime = b;
7005}
7006function bk(a, b, c, d) {
7007  var e = b.current, f = Gg(), g = Dg.suspense;
7008  f = Hg(f, e, g);
7009  a: if (c) {
7010    c = c._reactInternalFiber;
7011    b: {
7012      if (dc(c) !== c || 1 !== c.tag) throw Error(u(170));
7013      var h = c;
7014      do {
7015        switch (h.tag) {
7016          case 3:
7017            h = h.stateNode.context;
7018            break b;
7019          case 1:
7020            if (L(h.type)) {
7021              h = h.stateNode.__reactInternalMemoizedMergedChildContext;
7022              break b;
7023            }
7024        }
7025        h = h.return;
7026      } while (null !== h);
7027      throw Error(u(171));
7028    }
7029    if (1 === c.tag) {
7030      var k = c.type;
7031      if (L(k)) {
7032        c = Ff(c, k, h);
7033        break a;
7034      }
7035    }
7036    c = h;
7037  } else c = Af;
7038  null === b.context ? b.context = c : b.pendingContext = c;
7039  b = wg(f, g);
7040  b.payload = { element: a };
7041  d = void 0 === d ? null : d;
7042  null !== d && (b.callback = d);
7043  xg(e, b);
7044  Ig(e, f);
7045  return f;
7046}
7047function ck(a) {
7048  a = a.current;
7049  if (!a.child) return null;
7050  switch (a.child.tag) {
7051    case 5:
7052      return a.child.stateNode;
7053    default:
7054      return a.child.stateNode;
7055  }
7056}
7057function dk(a, b) {
7058  a = a.memoizedState;
7059  null !== a && null !== a.dehydrated && a.retryTime < b && (a.retryTime = b);
7060}
7061function ek(a, b) {
7062  dk(a, b);
7063  (a = a.alternate) && dk(a, b);
7064}
7065function fk(a, b, c) {
7066  c = null != c && true === c.hydrate;
7067  var d = new ak(a, b, c), e = Sh(3, null, null, 2 === b ? 7 : 1 === b ? 3 : 0);
7068  d.current = e;
7069  e.stateNode = d;
7070  ug(e);
7071  a[Od] = d.current;
7072  c && 0 !== b && Jc(a, 9 === a.nodeType ? a : a.ownerDocument);
7073  this._internalRoot = d;
7074}
7075fk.prototype.render = function(a) {
7076  bk(a, this._internalRoot, null, null);
7077};
7078fk.prototype.unmount = function() {
7079  var a = this._internalRoot, b = a.containerInfo;
7080  bk(null, a, null, function() {
7081    b[Od] = null;
7082  });
7083};
7084function gk(a) {
7085  return !(!a || 1 !== a.nodeType && 9 !== a.nodeType && 11 !== a.nodeType && (8 !== a.nodeType || " react-mount-point-unstable " !== a.nodeValue));
7086}
7087function hk(a, b) {
7088  b || (b = a ? 9 === a.nodeType ? a.documentElement : a.firstChild : null, b = !(!b || 1 !== b.nodeType || !b.hasAttribute("data-reactroot")));
7089  if (!b) for (var c; c = a.lastChild; ) a.removeChild(c);
7090  return new fk(a, 0, b ? { hydrate: true } : void 0);
7091}
7092function ik(a, b, c, d, e) {
7093  var f = c._reactRootContainer;
7094  if (f) {
7095    var g = f._internalRoot;
7096    if ("function" === typeof e) {
7097      var h = e;
7098      e = function() {
7099        var a2 = ck(g);
7100        h.call(a2);
7101      };
7102    }
7103    bk(b, g, a, e);
7104  } else {
7105    f = c._reactRootContainer = hk(c, d);
7106    g = f._internalRoot;
7107    if ("function" === typeof e) {
7108      var k = e;
7109      e = function() {
7110        var a2 = ck(g);
7111        k.call(a2);
7112      };
7113    }
7114    Nj(function() {
7115      bk(b, g, a, e);
7116    });
7117  }
7118  return ck(g);
7119}
7120function jk(a, b, c) {
7121  var d = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
7122  return { $$typeof: $a, key: null == d ? null : "" + d, children: a, containerInfo: b, implementation: c };
7123}
7124wc = function(a) {
7125  if (13 === a.tag) {
7126    var b = hg(Gg(), 150, 100);
7127    Ig(a, b);
7128    ek(a, b);
7129  }
7130};
7131xc = function(a) {
7132  13 === a.tag && (Ig(a, 3), ek(a, 3));
7133};
7134yc = function(a) {
7135  if (13 === a.tag) {
7136    var b = Gg();
7137    b = Hg(b, a, null);
7138    Ig(a, b);
7139    ek(a, b);
7140  }
7141};
7142za = function(a, b, c) {
7143  switch (b) {
7144    case "input":
7145      Cb(a, c);
7146      b = c.name;
7147      if ("radio" === c.type && null != b) {
7148        for (c = a; c.parentNode; ) c = c.parentNode;
7149        c = c.querySelectorAll("input[name=" + JSON.stringify("" + b) + '][type="radio"]');
7150        for (b = 0; b < c.length; b++) {
7151          var d = c[b];
7152          if (d !== a && d.form === a.form) {
7153            var e = Qd(d);
7154            if (!e) throw Error(u(90));
7155            yb(d);
7156            Cb(d, e);
7157          }
7158        }
7159      }
7160      break;
7161    case "textarea":
7162      Kb(a, c);
7163      break;
7164    case "select":
7165      b = c.value, null != b && Hb(a, !!c.multiple, b, false);
7166  }
7167};
7168Fa = Mj;
7169Ga = function(a, b, c, d, e) {
7170  var f = W;
7171  W |= 4;
7172  try {
7173    return cg(98, a.bind(null, b, c, d, e));
7174  } finally {
7175    W = f, W === V && gg();
7176  }
7177};
7178Ha = function() {
7179  (W & (1 | fj | gj)) === V && (Lj(), Dj());
7180};
7181Ia = function(a, b) {
7182  var c = W;
7183  W |= 2;
7184  try {
7185    return a(b);
7186  } finally {
7187    W = c, W === V && gg();
7188  }
7189};
7190function kk(a, b) {
7191  var c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
7192  if (!gk(b)) throw Error(u(200));
7193  return jk(a, b, null, c);
7194}
7195var lk = { Events: [Nc, Pd, Qd, xa, ta, Xd, function(a) {
7196  jc(a, Wd);
7197}, Da, Ea, id, mc, Dj, { current: false }] };
7198(function(a) {
7199  var b = a.findFiberByHostInstance;
7200  return Yj(n({}, a, { overrideHookState: null, overrideProps: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: Wa.ReactCurrentDispatcher, findHostInstanceByFiber: function(a2) {
7201    a2 = hc(a2);
7202    return null === a2 ? null : a2.stateNode;
7203  }, findFiberByHostInstance: function(a2) {
7204    return b ? b(a2) : null;
7205  }, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null }));
7206})({
7207  findFiberByHostInstance: tc,
7208  bundleType: 0,
7209  version: "16.13.1",
7210  rendererPackageName: "react-dom"
7211});
7212__webpack_unused_export__ = lk;
7213__webpack_unused_export__ = kk;
7214__webpack_unused_export__ = function(a) {
7215  if (null == a) return null;
7216  if (1 === a.nodeType) return a;
7217  var b = a._reactInternalFiber;
7218  if (void 0 === b) {
7219    if ("function" === typeof a.render) throw Error(u(188));
7220    throw Error(u(268, Object.keys(a)));
7221  }
7222  a = hc(b);
7223  a = null === a ? null : a.stateNode;
7224  return a;
7225};
7226__webpack_unused_export__ = function(a, b) {
7227  if ((W & (fj | gj)) !== V) throw Error(u(187));
7228  var c = W;
7229  W |= 1;
7230  try {
7231    return cg(99, a.bind(null, b));
7232  } finally {
7233    W = c, gg();
7234  }
7235};
7236__webpack_unused_export__ = function(a, b, c) {
7237  if (!gk(b)) throw Error(u(200));
7238  return ik(null, a, b, true, c);
7239};
7240exports.render = function(a, b, c) {
7241  if (!gk(b)) throw Error(u(200));
7242  return ik(null, a, b, false, c);
7243};
7244__webpack_unused_export__ = function(a) {
7245  if (!gk(a)) throw Error(u(40));
7246  return a._reactRootContainer ? (Nj(function() {
7247    ik(null, null, a, false, function() {
7248      a._reactRootContainer = null;
7249      a[Od] = null;
7250    });
7251  }), true) : false;
7252};
7253__webpack_unused_export__ = Mj;
7254__webpack_unused_export__ = function(a, b) {
7255  return kk(a, b, 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null);
7256};
7257__webpack_unused_export__ = function(a, b, c, d) {
7258  if (!gk(c)) throw Error(u(200));
7259  if (null == a || void 0 === a._reactInternalFiber) throw Error(u(38));
7260  return ik(a, b, c, false, d);
7261};
7262__webpack_unused_export__ = "16.13.1";
7263
7264
7265/***/ }),
7266
7267/***/ 91737:
7268/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
7269
7270"use strict";
7271/* harmony export */ __webpack_require__.d(__webpack_exports__, {
7272/* harmony export */   J: () => (/* binding */ addInternalHeaders)
7273/* harmony export */ });
7274/* unused harmony exports post, put, get, del, handleJson, timeoutPromise, displayError, reloadOn401, openNewWindowWithPostRequest, getCsrfToken */
7275/* harmony import */ var _common_TabGid__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26035);
7276
7277function get(path, data, headers) {
7278  if (!headers) {
7279    headers = {};
7280  }
7281  return fetch("/api" + path, {
7282    method: "GET",
7283    headers,
7284    credentials: "same-origin"
7285  });
7286}
7287function post(path, data, headers) {
7288  return fetch("/api" + path, {
7289    method: "POST",
7290    headers: addInternalHeaders(headers),
7291    credentials: "same-origin",
7292    body: JSON.stringify(data)
7293  });
7294}
7295function put(path, data, headers) {
7296  return fetch("/api" + path, {
7297    method: "PUT",
7298    headers: addInternalHeaders(headers),
7299    credentials: "same-origin",
7300    body: JSON.stringify(data)
7301  });
7302}
7303function del(path, data, headers) {
7304  return fetch("/api" + path, {
7305    method: "DELETE",
7306    headers: addInternalHeaders(headers),
7307    credentials: "same-origin",
7308    body: JSON.stringify(data)
7309  });
7310}
7311function getCsrfToken() {
7312  if (document.documentElement.dataset.csrfToken == null) {
7313    throw new Error("csrfToken is missing");
7314  }
7315  return document.documentElement.dataset.csrfToken;
7316}
7317function addInternalHeaders(headers) {
7318  if (!headers) {
7319    headers = {};
7320  }
7321  return Object.assign({
7322    "Content-Type": "application/json",
7323    "x-lsc-tabGid": (0,_common_TabGid__WEBPACK_IMPORTED_MODULE_0__/* .getTabGid */ .I)(),
7324    "X-CSRF-TOKEN": getCsrfToken()
7325  }, headers);
7326}
7327function handleJson(response) {
7328  if (response.ok) {
7329    return response.json();
7330  } else {
7331    if (isJson(response.headers.get("Content-Type"))) {
7332      return handleJsonError(response);
7333    }
7334    const errorInfo = responseDetails(response);
7335    return Promise.reject(errorInfo);
7336  }
7337}
7338function handleJsonError(response) {
7339  const errorInfo = responseDetails(response);
7340  return new Promise((resolve, reject) => {
7341    response.json().then((data) => reject(Object.assign({}, {
7342      errorType: "server",
7343      data,
7344      // for backward compatibility
7345      httpStatusCode: errorInfo.status,
7346      httpStatusText: errorInfo.statusText
7347    }, errorInfo))).catch((error) => reject(Object.assign({}, {
7348      errorType: "server",
7349      data: error,
7350      // for backward compatibility
7351      httpStatusCode: errorInfo.status,
7352      httpStatusText: errorInfo.statusText
7353    }, errorInfo)));
7354  });
7355}
7356function timeoutPromise(r, timeout = 500) {
7357  return new Promise(() => {
7358    setTimeout(() => {
7359      r();
7360    }, timeout);
7361  });
7362}
7363function reloadOn401(response) {
7364  if (response.status == 401) {
7365    window.location.reload();
7366    const errorInfo = responseDetails(response);
7367    return Promise.reject(errorInfo);
7368  }
7369  return Promise.resolve(response);
7370}
7371function responseDetails(response) {
7372  return {
7373    url: response.url,
7374    status: response.status,
7375    statusText: response.statusText
7376  };
7377}
7378function defaultErrorHandler(error) {
7379  if (error.status == 401) {
7380    return;
7381  }
7382  if (error.data) {
7383    console.error(error.data);
7384  }
7385}
7386const JSON_TYPE = "application/json";
7387function isJson(type) {
7388  return (type || "").startsWith(JSON_TYPE);
7389}
7390function openNewWindowWithPostRequest(targetUrl, parameters) {
7391  const form = document.createElement("form");
7392  form.method = "POST";
7393  form.action = targetUrl;
7394  form.target = "_blank";
7395  Object.keys(parameters).forEach((key) => {
7396    const input = document.createElement("input");
7397    input.type = "hidden";
7398    input.name = key;
7399    input.value = parameters[key];
7400    form.appendChild(input);
7401  });
7402  document.body.appendChild(form);
7403  form.submit();
7404  document.body.removeChild(form);
7405}
7406
7407
7408
7409/***/ })
7410
7411/******/ 	});
7412/************************************************************************/
7413/******/ 	// The module cache
7414/******/ 	var __webpack_module_cache__ = {};
7415/******/ 	
7416/******/ 	// The require function
7417/******/ 	function __webpack_require__(moduleId) {
7418/******/ 		// Check if module is in cache
7419/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
7420/******/ 		if (cachedModule !== undefined) {
7421/******/ 			return cachedModule.exports;
7422/******/ 		}
7423/******/ 		// Create a new module (and put it into the cache)
7424/******/ 		var module = __webpack_module_cache__[moduleId] = {
7425/******/ 			// no module.id needed
7426/******/ 			// no module.loaded needed
7427/******/ 			exports: {}
7428/******/ 		};
7429/******/ 	
7430/******/ 		// Execute the module function
7431/******/ 		__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
7432/******/ 	
7433/******/ 		// Return the exports of the module
7434/******/ 		return module.exports;
7435/******/ 	}
7436/******/ 	
7437/************************************************************************/
7438/******/ 	/* webpack/runtime/compat get default export */
7439/******/ 	(() => {
7440/******/ 		// getDefaultExport function for compatibility with non-harmony modules
7441/******/ 		__webpack_require__.n = (module) => {
7442/******/ 			var getter = module && module.__esModule ?
7443/******/ 				() => (module['default']) :
7444/******/ 				() => (module);
7445/******/ 			__webpack_require__.d(getter, { a: getter });
7446/******/ 			return getter;
7447/******/ 		};
7448/******/ 	})();
7449/******/ 	
7450/******/ 	/* webpack/runtime/define property getters */
7451/******/ 	(() => {
7452/******/ 		// define getter functions for harmony exports
7453/******/ 		__webpack_require__.d = (exports, definition) => {
7454/******/ 			for(var key in definition) {
7455/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
7456/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
7457/******/ 				}
7458/******/ 			}
7459/******/ 		};
7460/******/ 	})();
7461/******/ 	
7462/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
7463/******/ 	(() => {
7464/******/ 		__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
7465/******/ 	})();
7466/******/ 	
7467/******/ 	/* webpack/runtime/make namespace object */
7468/******/ 	(() => {
7469/******/ 		// define __esModule on exports
7470/******/ 		__webpack_require__.r = (exports) => {
7471/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
7472/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
7473/******/ 			}
7474/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
7475/******/ 		};
7476/******/ 	})();
7477/******/ 	
7478/************************************************************************/
7479var __webpack_exports__ = {};
7480// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
7481(() => {
7482
7483})();
7484
7485// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
7486(() => {
7487"use strict";
7488/* harmony import */ var svg4everybody_dist_svg4everybody__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1430);
7489/* harmony import */ var svg4everybody_dist_svg4everybody__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(svg4everybody_dist_svg4everybody__WEBPACK_IMPORTED_MODULE_0__);
7490
7491svg4everybody_dist_svg4everybody__WEBPACK_IMPORTED_MODULE_0__();
7492document.addEventListener("DOMContentLoaded", () => {
7493  setTimeout(() => {
7494    const topSticky = document.querySelector("body > .sticky");
7495    const other = Array.from(document.querySelectorAll(".sticky, .checkout-flex .Subscribe__wrapper")).filter((el) => el !== topSticky);
7496    const menuContent = document.getElementById("menu-content");
7497    (other.length || menuContent) && setInterval(() => {
7498      const height = topSticky && topSticky.offsetHeight || 0;
7499      other.forEach((el) => {
7500        let modif = 0;
7501        if (el.className.indexOf("Subscribe") > -1) {
7502          modif = 34;
7503        }
7504        el.style.top = `${height + modif}px`;
7505      });
7506      document.body.style.setProperty("--topStickyHeight", `${height}px`);
7507    }, 500);
7508  }, 1e3);
7509});
7510
7511})();
7512
7513// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
7514(() => {
7515"use strict";
7516// ESM COMPAT FLAG
7517__webpack_require__.r(__webpack_exports__);
7518
7519// EXPORTS
7520__webpack_require__.d(__webpack_exports__, {
7521  init: () => (/* binding */ init_init),
7522  initFlashSaleBox: () => (/* reexport */ init.initFlashSaleBox)
7523});
7524
7525// EXTERNAL MODULE: ./js/common/ResourcePrefix.ts
7526var ResourcePrefix = __webpack_require__(75578);
7527;// ../node_modules/tiny-slider/src/helpers/raf.js
7528var win = window;
7529var raf = win.requestAnimationFrame || win.webkitRequestAnimationFrame || win.mozRequestAnimationFrame || win.msRequestAnimationFrame || function(cb) {
7530  return setTimeout(cb, 16);
7531};
7532
7533;// ../node_modules/tiny-slider/src/helpers/caf.js
7534var caf_win = window;
7535var caf = caf_win.cancelAnimationFrame || caf_win.mozCancelAnimationFrame || function(id) {
7536  clearTimeout(id);
7537};
7538
7539;// ../node_modules/tiny-slider/src/helpers/extend.js
7540function extend() {
7541  var obj, name, copy, target = arguments[0] || {}, i = 1, length = arguments.length;
7542  for (; i < length; i++) {
7543    if ((obj = arguments[i]) !== null) {
7544      for (name in obj) {
7545        copy = obj[name];
7546        if (target === copy) {
7547          continue;
7548        } else if (copy !== void 0) {
7549          target[name] = copy;
7550        }
7551      }
7552    }
7553  }
7554  return target;
7555}
7556
7557;// ../node_modules/tiny-slider/src/helpers/checkStorageValue.js
7558function checkStorageValue(value) {
7559  return ["true", "false"].indexOf(value) >= 0 ? JSON.parse(value) : value;
7560}
7561
7562;// ../node_modules/tiny-slider/src/helpers/setLocalStorage.js
7563function setLocalStorage(storage, key, value, access) {
7564  if (access) {
7565    try {
7566      storage.setItem(key, value);
7567    } catch (e) {
7568    }
7569  }
7570  return value;
7571}
7572
7573;// ../node_modules/tiny-slider/src/helpers/getSlideId.js
7574function getSlideId() {
7575  var id = window.tnsId;
7576  window.tnsId = !id ? 1 : id + 1;
7577  return "tns" + window.tnsId;
7578}
7579
7580;// ../node_modules/tiny-slider/src/helpers/getBody.js
7581function getBody() {
7582  var doc = document, body = doc.body;
7583  if (!body) {
7584    body = doc.createElement("body");
7585    body.fake = true;
7586  }
7587  return body;
7588}
7589
7590;// ../node_modules/tiny-slider/src/helpers/docElement.js
7591var docElement = document.documentElement;
7592
7593;// ../node_modules/tiny-slider/src/helpers/setFakeBody.js
7594
7595function setFakeBody(body) {
7596  var docOverflow = "";
7597  if (body.fake) {
7598    docOverflow = docElement.style.overflow;
7599    body.style.background = "";
7600    body.style.overflow = docElement.style.overflow = "hidden";
7601    docElement.appendChild(body);
7602  }
7603  return docOverflow;
7604}
7605
7606;// ../node_modules/tiny-slider/src/helpers/resetFakeBody.js
7607
7608function resetFakeBody(body, docOverflow) {
7609  if (body.fake) {
7610    body.remove();
7611    docElement.style.overflow = docOverflow;
7612    docElement.offsetHeight;
7613  }
7614}
7615
7616;// ../node_modules/tiny-slider/src/helpers/calc.js
7617
7618
7619
7620function calc() {
7621  var doc = document, body = getBody(), docOverflow = setFakeBody(body), div = doc.createElement("div"), result = false;
7622  body.appendChild(div);
7623  try {
7624    var str = "(10px * 10)", vals = ["calc" + str, "-moz-calc" + str, "-webkit-calc" + str], val;
7625    for (var i = 0; i < 3; i++) {
7626      val = vals[i];
7627      div.style.width = val;
7628      if (div.offsetWidth === 100) {
7629        result = val.replace(str, "");
7630        break;
7631      }
7632    }
7633  } catch (e) {
7634  }
7635  body.fake ? resetFakeBody(body, docOverflow) : div.remove();
7636  return result;
7637}
7638
7639;// ../node_modules/tiny-slider/src/helpers/percentageLayout.js
7640
7641
7642
7643function percentageLayout() {
7644  var doc = document, body = getBody(), docOverflow = setFakeBody(body), wrapper = doc.createElement("div"), outer = doc.createElement("div"), str = "", count = 70, perPage = 3, supported = false;
7645  wrapper.className = "tns-t-subp2";
7646  outer.className = "tns-t-ct";
7647  for (var i = 0; i < count; i++) {
7648    str += "<div></div>";
7649  }
7650  outer.innerHTML = str;
7651  wrapper.appendChild(outer);
7652  body.appendChild(wrapper);
7653  supported = Math.abs(wrapper.getBoundingClientRect().left - outer.children[count - perPage].getBoundingClientRect().left) < 2;
7654  body.fake ? resetFakeBody(body, docOverflow) : wrapper.remove();
7655  return supported;
7656}
7657
7658;// ../node_modules/tiny-slider/src/helpers/mediaquerySupport.js
7659
7660
7661
7662function mediaquerySupport() {
7663  if (window.matchMedia || window.msMatchMedia) {
7664    return true;
7665  }
7666  var doc = document, body = getBody(), docOverflow = setFakeBody(body), div = doc.createElement("div"), style = doc.createElement("style"), rule = "@media all and (min-width:1px){.tns-mq-test{position:absolute}}", position;
7667  style.type = "text/css";
7668  div.className = "tns-mq-test";
7669  body.appendChild(style);
7670  body.appendChild(div);
7671  if (style.styleSheet) {
7672    style.styleSheet.cssText = rule;
7673  } else {
7674    style.appendChild(doc.createTextNode(rule));
7675  }
7676  position = window.getComputedStyle ? window.getComputedStyle(div).position : div.currentStyle["position"];
7677  body.fake ? resetFakeBody(body, docOverflow) : div.remove();
7678  return position === "absolute";
7679}
7680
7681;// ../node_modules/tiny-slider/src/helpers/createStyleSheet.js
7682function createStyleSheet(media, nonce) {
7683  var style = document.createElement("style");
7684  if (media) {
7685    style.setAttribute("media", media);
7686  }
7687  if (nonce) {
7688    style.setAttribute("nonce", nonce);
7689  }
7690  document.querySelector("head").appendChild(style);
7691  return style.sheet ? style.sheet : style.styleSheet;
7692}
7693;
7694
7695;// ../node_modules/tiny-slider/src/helpers/addCSSRule.js
7696
7697function addCSSRule(sheet, selector, rules, index) {
7698  "insertRule" in sheet ? sheet.insertRule(selector + "{" + rules + "}", index) : sheet.addRule(selector, rules, index);
7699}
7700
7701;// ../node_modules/tiny-slider/src/helpers/removeCSSRule.js
7702
7703function removeCSSRule(sheet, index) {
7704  "deleteRule" in sheet ? sheet.deleteRule(index) : sheet.removeRule(index);
7705}
7706
7707;// ../node_modules/tiny-slider/src/helpers/getCssRulesLength.js
7708function getCssRulesLength(sheet) {
7709  var rule = "insertRule" in sheet ? sheet.cssRules : sheet.rules;
7710  return rule.length;
7711}
7712
7713;// ../node_modules/tiny-slider/src/helpers/toDegree.js
7714function toDegree(y, x) {
7715  return Math.atan2(y, x) * (180 / Math.PI);
7716}
7717
7718;// ../node_modules/tiny-slider/src/helpers/getTouchDirection.js
7719function getTouchDirection(angle, range) {
7720  var direction = false, gap = Math.abs(90 - Math.abs(angle));
7721  if (gap >= 90 - range) {
7722    direction = "horizontal";
7723  } else if (gap <= range) {
7724    direction = "vertical";
7725  }
7726  return direction;
7727}
7728
7729;// ../node_modules/tiny-slider/src/helpers/forEach.js
7730function forEach(arr, callback, scope) {
7731  for (var i = 0, l = arr.length; i < l; i++) {
7732    callback.call(scope, arr[i], i);
7733  }
7734}
7735
7736;// ../node_modules/tiny-slider/src/helpers/classListSupport.js
7737var classListSupport = "classList" in document.createElement("_");
7738
7739;// ../node_modules/tiny-slider/src/helpers/hasClass.js
7740
7741var hasClass = classListSupport ? function(el, str) {
7742  return el.classList.contains(str);
7743} : function(el, str) {
7744  return el.className.indexOf(str) >= 0;
7745};
7746
7747
7748;// ../node_modules/tiny-slider/src/helpers/addClass.js
7749
7750var addClass = classListSupport ? function(el, str) {
7751  if (!hasClass(el, str)) {
7752    el.classList.add(str);
7753  }
7754} : function(el, str) {
7755  if (!hasClass(el, str)) {
7756    el.className += " " + str;
7757  }
7758};
7759
7760
7761;// ../node_modules/tiny-slider/src/helpers/removeClass.js
7762
7763var removeClass = classListSupport ? function(el, str) {
7764  if (hasClass(el, str)) {
7765    el.classList.remove(str);
7766  }
7767} : function(el, str) {
7768  if (hasClass(el, str)) {
7769    el.className = el.className.replace(str, "");
7770  }
7771};
7772
7773
7774;// ../node_modules/tiny-slider/src/helpers/hasAttr.js
7775function hasAttr(el, attr) {
7776  return el.hasAttribute(attr);
7777}
7778
7779;// ../node_modules/tiny-slider/src/helpers/getAttr.js
7780function getAttr(el, attr) {
7781  return el.getAttribute(attr);
7782}
7783
7784;// ../node_modules/tiny-slider/src/helpers/isNodeList.js
7785function isNodeList(el) {
7786  return typeof el.item !== "undefined";
7787}
7788
7789;// ../node_modules/tiny-slider/src/helpers/setAttrs.js
7790
7791function setAttrs(els, attrs) {
7792  els = isNodeList(els) || els instanceof Array ? els : [els];
7793  if (Object.prototype.toString.call(attrs) !== "[object Object]") {
7794    return;
7795  }
7796  for (var i = els.length; i--; ) {
7797    for (var key in attrs) {
7798      els[i].setAttribute(key, attrs[key]);
7799    }
7800  }
7801}
7802
7803;// ../node_modules/tiny-slider/src/helpers/removeAttrs.js
7804
7805function removeAttrs(els, attrs) {
7806  els = isNodeList(els) || els instanceof Array ? els : [els];
7807  attrs = attrs instanceof Array ? attrs : [attrs];
7808  var attrLength = attrs.length;
7809  for (var i = els.length; i--; ) {
7810    for (var j = attrLength; j--; ) {
7811      els[i].removeAttribute(attrs[j]);
7812    }
7813  }
7814}
7815
7816;// ../node_modules/tiny-slider/src/helpers/arrayFromNodeList.js
7817function arrayFromNodeList(nl) {
7818  var arr = [];
7819  for (var i = 0, l = nl.length; i < l; i++) {
7820    arr.push(nl[i]);
7821  }
7822  return arr;
7823}
7824
7825;// ../node_modules/tiny-slider/src/helpers/hideElement.js
7826function hideElement(el, forceHide) {
7827  if (el.style.display !== "none") {
7828    el.style.display = "none";
7829  }
7830}
7831
7832;// ../node_modules/tiny-slider/src/helpers/showElement.js
7833function showElement(el, forceHide) {
7834  if (el.style.display === "none") {
7835    el.style.display = "";
7836  }
7837}
7838
7839;// ../node_modules/tiny-slider/src/helpers/isVisible.js
7840function isVisible(el) {
7841  return window.getComputedStyle(el).display !== "none";
7842}
7843
7844;// ../node_modules/tiny-slider/src/helpers/whichProperty.js
7845function whichProperty(props) {
7846  if (typeof props === "string") {
7847    var arr = [props], Props = props.charAt(0).toUpperCase() + props.substr(1), prefixes = ["Webkit", "Moz", "ms", "O"];
vendor: 77,393 bytes, lines 7848-10098
7848    prefixes.forEach(function(prefix) {
7849      if (prefix !== "ms" || props === "transform") {
7850        arr.push(prefix + Props);
7851      }
7852    });
7853    props = arr;
7854  }
7855  var el = document.createElement("fakeelement"), len = props.length;
7856  for (var i = 0; i < props.length; i++) {
7857    var prop = props[i];
7858    if (el.style[prop] !== void 0) {
7859      return prop;
7860    }
7861  }
7862  return false;
7863}
7864
7865;// ../node_modules/tiny-slider/src/helpers/has3DTransforms.js
7866
7867
7868
7869function has3DTransforms(tf) {
7870  if (!tf) {
7871    return false;
7872  }
7873  if (!window.getComputedStyle) {
7874    return false;
7875  }
7876  var doc = document, body = getBody(), docOverflow = setFakeBody(body), el = doc.createElement("p"), has3d, cssTF = tf.length > 9 ? "-" + tf.slice(0, -9).toLowerCase() + "-" : "";
7877  cssTF += "transform";
7878  body.insertBefore(el, null);
7879  el.style[tf] = "translate3d(1px,1px,1px)";
7880  has3d = window.getComputedStyle(el).getPropertyValue(cssTF);
7881  body.fake ? resetFakeBody(body, docOverflow) : el.remove();
7882  return has3d !== void 0 && has3d.length > 0 && has3d !== "none";
7883}
7884
7885;// ../node_modules/tiny-slider/src/helpers/getEndProperty.js
7886function getEndProperty(propIn, propOut) {
7887  var endProp = false;
7888  if (/^Webkit/.test(propIn)) {
7889    endProp = "webkit" + propOut + "End";
7890  } else if (/^O/.test(propIn)) {
7891    endProp = "o" + propOut + "End";
7892  } else if (propIn) {
7893    endProp = propOut.toLowerCase() + "end";
7894  }
7895  return endProp;
7896}
7897
7898;// ../node_modules/tiny-slider/src/helpers/passiveOption.js
7899var supportsPassive = false;
7900try {
7901  var opts = Object.defineProperty({}, "passive", {
7902    get: function() {
7903      supportsPassive = true;
7904    }
7905  });
7906  window.addEventListener("test", null, opts);
7907} catch (e) {
7908}
7909var passiveOption = supportsPassive ? { passive: true } : false;
7910
7911;// ../node_modules/tiny-slider/src/helpers/addEvents.js
7912
7913function addEvents(el, obj, preventScrolling) {
7914  for (var prop in obj) {
7915    var option = ["touchstart", "touchmove"].indexOf(prop) >= 0 && !preventScrolling ? passiveOption : false;
7916    el.addEventListener(prop, obj[prop], option);
7917  }
7918}
7919
7920;// ../node_modules/tiny-slider/src/helpers/removeEvents.js
7921
7922function removeEvents(el, obj) {
7923  for (var prop in obj) {
7924    var option = ["touchstart", "touchmove"].indexOf(prop) >= 0 ? passiveOption : false;
7925    el.removeEventListener(prop, obj[prop], option);
7926  }
7927}
7928
7929;// ../node_modules/tiny-slider/src/helpers/events.js
7930function Events() {
7931  return {
7932    topics: {},
7933    on: function(eventName, fn) {
7934      this.topics[eventName] = this.topics[eventName] || [];
7935      this.topics[eventName].push(fn);
7936    },
7937    off: function(eventName, fn) {
7938      if (this.topics[eventName]) {
7939        for (var i = 0; i < this.topics[eventName].length; i++) {
7940          if (this.topics[eventName][i] === fn) {
7941            this.topics[eventName].splice(i, 1);
7942            break;
7943          }
7944        }
7945      }
7946    },
7947    emit: function(eventName, data) {
7948      data.type = eventName;
7949      if (this.topics[eventName]) {
7950        this.topics[eventName].forEach(function(fn) {
7951          fn(data, eventName);
7952        });
7953      }
7954    }
7955  };
7956}
7957;
7958
7959;// ../node_modules/tiny-slider/src/helpers/jsTransform.js
7960function jsTransform(element, attr, prefix, postfix, to, duration, callback) {
7961  var tick = Math.min(duration, 10), unit = to.indexOf("%") >= 0 ? "%" : "px", to = to.replace(unit, ""), from = Number(element.style[attr].replace(prefix, "").replace(postfix, "").replace(unit, "")), positionTick = (to - from) / duration * tick, running;
7962  setTimeout(moveElement, tick);
7963  function moveElement() {
7964    duration -= tick;
7965    from += positionTick;
7966    element.style[attr] = prefix + from + unit + postfix;
7967    if (duration > 0) {
7968      setTimeout(moveElement, tick);
7969    } else {
7970      callback();
7971    }
7972  }
7973}
7974
7975;// ../node_modules/tiny-slider/src/tiny-slider.js
7976if (!Object.keys) {
7977  Object.keys = function(object) {
7978    var keys = [];
7979    for (var name in object) {
7980      if (Object.prototype.hasOwnProperty.call(object, name)) {
7981        keys.push(name);
7982      }
7983    }
7984    return keys;
7985  };
7986}
7987if (!("remove" in Element.prototype)) {
7988  Element.prototype.remove = function() {
7989    if (this.parentNode) {
7990      this.parentNode.removeChild(this);
7991    }
7992  };
7993}
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028var tns = function(options) {
8029  options = extend({
8030    container: ".slider",
8031    mode: "carousel",
8032    axis: "horizontal",
8033    items: 1,
8034    gutter: 0,
8035    edgePadding: 0,
8036    fixedWidth: false,
8037    autoWidth: false,
8038    viewportMax: false,
8039    slideBy: 1,
8040    center: false,
8041    controls: true,
8042    controlsPosition: "top",
8043    controlsText: ["prev", "next"],
8044    controlsContainer: false,
8045    prevButton: false,
8046    nextButton: false,
8047    nav: true,
8048    navPosition: "top",
8049    navContainer: false,
8050    navAsThumbnails: false,
8051    arrowKeys: false,
8052    speed: 300,
8053    autoplay: false,
8054    autoplayPosition: "top",
8055    autoplayTimeout: 5e3,
8056    autoplayDirection: "forward",
8057    autoplayText: ["start", "stop"],
8058    autoplayHoverPause: false,
8059    autoplayButton: false,
8060    autoplayButtonOutput: true,
8061    autoplayResetOnVisibility: true,
8062    animateIn: "tns-fadeIn",
8063    animateOut: "tns-fadeOut",
8064    animateNormal: "tns-normal",
8065    animateDelay: false,
8066    loop: true,
8067    rewind: false,
8068    autoHeight: false,
8069    responsive: false,
8070    lazyload: false,
8071    lazyloadSelector: ".tns-lazy-img",
8072    touch: true,
8073    mouseDrag: false,
8074    swipeAngle: 15,
8075    nested: false,
8076    preventActionWhenRunning: false,
8077    preventScrollOnTouch: false,
8078    freezable: true,
8079    onInit: false,
8080    useLocalStorage: true,
8081    nonce: false
8082  }, options || {});
8083  var doc = document, win = window, KEYS = {
8084    ENTER: 13,
8085    SPACE: 32,
8086    LEFT: 37,
8087    RIGHT: 39
8088  }, tnsStorage = {}, localStorageAccess = options.useLocalStorage;
8089  if (localStorageAccess) {
8090    var browserInfo = navigator.userAgent;
8091    var uid = /* @__PURE__ */ new Date();
8092    try {
8093      tnsStorage = win.localStorage;
8094      if (tnsStorage) {
8095        tnsStorage.setItem(uid, uid);
8096        localStorageAccess = tnsStorage.getItem(uid) == uid;
8097        tnsStorage.removeItem(uid);
8098      } else {
8099        localStorageAccess = false;
8100      }
8101      if (!localStorageAccess) {
8102        tnsStorage = {};
8103      }
8104    } catch (e) {
8105      localStorageAccess = false;
8106    }
8107    if (localStorageAccess) {
8108      if (tnsStorage["tnsApp"] && tnsStorage["tnsApp"] !== browserInfo) {
8109        ["tC", "tPL", "tMQ", "tTf", "t3D", "tTDu", "tTDe", "tADu", "tADe", "tTE", "tAE"].forEach(function(item) {
8110          tnsStorage.removeItem(item);
8111        });
8112      }
8113      localStorage["tnsApp"] = browserInfo;
8114    }
8115  }
8116  var CALC = tnsStorage["tC"] ? checkStorageValue(tnsStorage["tC"]) : setLocalStorage(tnsStorage, "tC", calc(), localStorageAccess), PERCENTAGELAYOUT = tnsStorage["tPL"] ? checkStorageValue(tnsStorage["tPL"]) : setLocalStorage(tnsStorage, "tPL", percentageLayout(), localStorageAccess), CSSMQ = tnsStorage["tMQ"] ? checkStorageValue(tnsStorage["tMQ"]) : setLocalStorage(tnsStorage, "tMQ", mediaquerySupport(), localStorageAccess), TRANSFORM = tnsStorage["tTf"] ? checkStorageValue(tnsStorage["tTf"]) : setLocalStorage(tnsStorage, "tTf", whichProperty("transform"), localStorageAccess), HAS3DTRANSFORMS = tnsStorage["t3D"] ? checkStorageValue(tnsStorage["t3D"]) : setLocalStorage(tnsStorage, "t3D", has3DTransforms(TRANSFORM), localStorageAccess), TRANSITIONDURATION = tnsStorage["tTDu"] ? checkStorageValue(tnsStorage["tTDu"]) : setLocalStorage(tnsStorage, "tTDu", whichProperty("transitionDuration"), localStorageAccess), TRANSITIONDELAY = tnsStorage["tTDe"] ? checkStorageValue(tnsStorage["tTDe"]) : setLocalStorage(tnsStorage, "tTDe", whichProperty("transitionDelay"), localStorageAccess), ANIMATIONDURATION = tnsStorage["tADu"] ? checkStorageValue(tnsStorage["tADu"]) : setLocalStorage(tnsStorage, "tADu", whichProperty("animationDuration"), localStorageAccess), ANIMATIONDELAY = tnsStorage["tADe"] ? checkStorageValue(tnsStorage["tADe"]) : setLocalStorage(tnsStorage, "tADe", whichProperty("animationDelay"), localStorageAccess), TRANSITIONEND = tnsStorage["tTE"] ? checkStorageValue(tnsStorage["tTE"]) : setLocalStorage(tnsStorage, "tTE", getEndProperty(TRANSITIONDURATION, "Transition"), localStorageAccess), ANIMATIONEND = tnsStorage["tAE"] ? checkStorageValue(tnsStorage["tAE"]) : setLocalStorage(tnsStorage, "tAE", getEndProperty(ANIMATIONDURATION, "Animation"), localStorageAccess);
8117  var supportConsoleWarn = win.console && typeof win.console.warn === "function", tnsList = ["container", "controlsContainer", "prevButton", "nextButton", "navContainer", "autoplayButton"], optionsElements = {};
8118  tnsList.forEach(function(item) {
8119    if (typeof options[item] === "string") {
8120      var str = options[item], el = doc.querySelector(str);
8121      optionsElements[item] = str;
8122      if (el && el.nodeName) {
8123        options[item] = el;
8124      } else {
8125        if (supportConsoleWarn) {
8126          console.warn("Can't find", options[item]);
8127        }
8128        return;
8129      }
8130    }
8131  });
8132  if (options.container.children.length < 1) {
8133    if (supportConsoleWarn) {
8134      console.warn("No slides found in", options.container);
8135    }
8136    return;
8137  }
8138  var responsive = options.responsive, nested = options.nested, carousel = options.mode === "carousel" ? true : false;
8139  if (responsive) {
8140    if (0 in responsive) {
8141      options = extend(options, responsive[0]);
8142      delete responsive[0];
8143    }
8144    var responsiveTem = {};
8145    for (var key in responsive) {
8146      var val = responsive[key];
8147      val = typeof val === "number" ? { items: val } : val;
8148      responsiveTem[key] = val;
8149    }
8150    responsive = responsiveTem;
8151    responsiveTem = null;
8152  }
8153  function updateOptions(obj) {
8154    for (var key2 in obj) {
8155      if (!carousel) {
8156        if (key2 === "slideBy") {
8157          obj[key2] = "page";
8158        }
8159        if (key2 === "edgePadding") {
8160          obj[key2] = false;
8161        }
8162        if (key2 === "autoHeight") {
8163          obj[key2] = false;
8164        }
8165      }
8166      if (key2 === "responsive") {
8167        updateOptions(obj[key2]);
8168      }
8169    }
8170  }
8171  if (!carousel) {
8172    updateOptions(options);
8173  }
8174  if (!carousel) {
8175    options.axis = "horizontal";
8176    options.slideBy = "page";
8177    options.edgePadding = false;
8178    var animateIn = options.animateIn, animateOut = options.animateOut, animateDelay = options.animateDelay, animateNormal = options.animateNormal;
8179  }
8180  var horizontal = options.axis === "horizontal" ? true : false, outerWrapper = doc.createElement("div"), innerWrapper = doc.createElement("div"), middleWrapper, container = options.container, containerParent = container.parentNode, containerHTML = container.outerHTML, slideItems = container.children, slideCount = slideItems.length, breakpointZone, windowWidth = getWindowWidth(), isOn = false;
8181  if (responsive) {
8182    setBreakpointZone();
8183  }
8184  if (carousel) {
8185    container.className += " tns-vpfix";
8186  }
8187  var autoWidth = options.autoWidth, fixedWidth = getOption("fixedWidth"), edgePadding = getOption("edgePadding"), gutter = getOption("gutter"), viewport = getViewportWidth(), center = getOption("center"), items = !autoWidth ? Math.floor(getOption("items")) : 1, slideBy = getOption("slideBy"), viewportMax = options.viewportMax || options.fixedWidthViewportWidth, arrowKeys = getOption("arrowKeys"), speed = getOption("speed"), rewind = options.rewind, loop = rewind ? false : options.loop, autoHeight = getOption("autoHeight"), controls = getOption("controls"), controlsText = getOption("controlsText"), nav = getOption("nav"), touch = getOption("touch"), mouseDrag = getOption("mouseDrag"), autoplay = getOption("autoplay"), autoplayTimeout = getOption("autoplayTimeout"), autoplayText = getOption("autoplayText"), autoplayHoverPause = getOption("autoplayHoverPause"), autoplayResetOnVisibility = getOption("autoplayResetOnVisibility"), sheet = createStyleSheet(null, getOption("nonce")), lazyload = options.lazyload, lazyloadSelector = options.lazyloadSelector, slidePositions, slideItemsOut = [], cloneCount = loop ? getCloneCountForLoop() : 0, slideCountNew = !carousel ? slideCount + cloneCount : slideCount + cloneCount * 2, hasRightDeadZone = (fixedWidth || autoWidth) && !loop ? true : false, rightBoundary = fixedWidth ? getRightBoundary() : null, updateIndexBeforeTransform = !carousel || !loop ? true : false, transformAttr = horizontal ? "left" : "top", transformPrefix = "", transformPostfix = "", getIndexMax = (function() {
8188    if (fixedWidth) {
8189      return function() {
8190        return center && !loop ? slideCount - 1 : Math.ceil(-rightBoundary / (fixedWidth + gutter));
8191      };
8192    } else if (autoWidth) {
8193      return function() {
8194        for (var i = 0; i < slideCountNew; i++) {
8195          if (slidePositions[i] >= -rightBoundary) {
8196            return i;
8197          }
8198        }
8199      };
8200    } else {
8201      return function() {
8202        if (center && carousel && !loop) {
8203          return slideCount - 1;
8204        } else {
8205          return loop || carousel ? Math.max(0, slideCountNew - Math.ceil(items)) : slideCountNew - 1;
8206        }
8207      };
8208    }
8209  })(), index = getStartIndex(getOption("startIndex")), indexCached = index, displayIndex = getCurrentSlide(), indexMin = 0, indexMax = !autoWidth ? getIndexMax() : null, resizeTimer, preventActionWhenRunning = options.preventActionWhenRunning, swipeAngle = options.swipeAngle, moveDirectionExpected = swipeAngle ? "?" : true, running = false, onInit = options.onInit, events = new Events(), newContainerClasses = " tns-slider tns-" + options.mode, slideId = container.id || getSlideId(), disable = getOption("disable"), disabled = false, freezable = options.freezable, freeze = freezable && !autoWidth ? getFreeze() : false, frozen = false, controlsEvents = {
8210    "click": onControlsClick,
8211    "keydown": onControlsKeydown
8212  }, navEvents = {
8213    "click": onNavClick,
8214    "keydown": onNavKeydown
8215  }, hoverEvents = {
8216    "mouseover": mouseoverPause,
8217    "mouseout": mouseoutRestart
8218  }, visibilityEvent = { "visibilitychange": onVisibilityChange }, docmentKeydownEvent = { "keydown": onDocumentKeydown }, touchEvents = {
8219    "touchstart": onPanStart,
8220    "touchmove": onPanMove,
8221    "touchend": onPanEnd,
8222    "touchcancel": onPanEnd
8223  }, dragEvents = {
8224    "mousedown": onPanStart,
8225    "mousemove": onPanMove,
8226    "mouseup": onPanEnd,
8227    "mouseleave": onPanEnd
8228  }, hasControls = hasOption("controls"), hasNav = hasOption("nav"), navAsThumbnails = autoWidth ? true : options.navAsThumbnails, hasAutoplay = hasOption("autoplay"), hasTouch = hasOption("touch"), hasMouseDrag = hasOption("mouseDrag"), slideActiveClass = "tns-slide-active", slideClonedClass = "tns-slide-cloned", imgCompleteClass = "tns-complete", imgEvents = {
8229    "load": onImgLoaded,
8230    "error": onImgFailed
8231  }, imgsComplete, liveregionCurrent, preventScroll = options.preventScrollOnTouch === "force" ? true : false;
8232  if (hasControls) {
8233    var controlsContainer = options.controlsContainer, controlsContainerHTML = options.controlsContainer ? options.controlsContainer.outerHTML : "", prevButton = options.prevButton, nextButton = options.nextButton, prevButtonHTML = options.prevButton ? options.prevButton.outerHTML : "", nextButtonHTML = options.nextButton ? options.nextButton.outerHTML : "", prevIsButton, nextIsButton;
8234  }
8235  if (hasNav) {
8236    var navContainer = options.navContainer, navContainerHTML = options.navContainer ? options.navContainer.outerHTML : "", navItems, pages = autoWidth ? slideCount : getPages(), pagesCached = 0, navClicked = -1, navCurrentIndex = getCurrentNavIndex(), navCurrentIndexCached = navCurrentIndex, navActiveClass = "tns-nav-active", navStr = "Carousel Page ", navStrCurrent = " (Current Slide)";
8237  }
8238  if (hasAutoplay) {
8239    var autoplayDirection = options.autoplayDirection === "forward" ? 1 : -1, autoplayButton = options.autoplayButton, autoplayButtonHTML = options.autoplayButton ? options.autoplayButton.outerHTML : "", autoplayHtmlStrings = ["<span class='tns-visually-hidden'>", " animation</span>"], autoplayTimer, animating, autoplayHoverPaused, autoplayUserPaused, autoplayVisibilityPaused;
8240  }
8241  if (hasTouch || hasMouseDrag) {
8242    var initPosition = {}, lastPosition = {}, translateInit, disX, disY, panStart = false, rafIndex, getDist = horizontal ? function(a, b) {
8243      return a.x - b.x;
8244    } : function(a, b) {
8245      return a.y - b.y;
8246    };
8247  }
8248  if (!autoWidth) {
8249    resetVariblesWhenDisable(disable || freeze);
8250  }
8251  if (TRANSFORM) {
8252    transformAttr = TRANSFORM;
8253    transformPrefix = "translate";
8254    if (HAS3DTRANSFORMS) {
8255      transformPrefix += horizontal ? "3d(" : "3d(0px, ";
8256      transformPostfix = horizontal ? ", 0px, 0px)" : ", 0px)";
8257    } else {
8258      transformPrefix += horizontal ? "X(" : "Y(";
8259      transformPostfix = ")";
8260    }
8261  }
8262  if (carousel) {
8263    container.className = container.className.replace("tns-vpfix", "");
8264  }
8265  initStructure();
8266  initSheet();
8267  initSliderTransform();
8268  function resetVariblesWhenDisable(condition) {
8269    if (condition) {
8270      controls = nav = touch = mouseDrag = arrowKeys = autoplay = autoplayHoverPause = autoplayResetOnVisibility = false;
8271    }
8272  }
8273  function getCurrentSlide() {
8274    var tem = carousel ? index - cloneCount : index;
8275    while (tem < 0) {
8276      tem += slideCount;
8277    }
8278    return tem % slideCount + 1;
8279  }
8280  function getStartIndex(ind) {
8281    ind = ind ? Math.max(0, Math.min(loop ? slideCount - 1 : slideCount - items, ind)) : 0;
8282    return carousel ? ind + cloneCount : ind;
8283  }
8284  function getAbsIndex(i) {
8285    if (i == null) {
8286      i = index;
8287    }
8288    if (carousel) {
8289      i -= cloneCount;
8290    }
8291    while (i < 0) {
8292      i += slideCount;
8293    }
8294    return Math.floor(i % slideCount);
8295  }
8296  function getCurrentNavIndex() {
8297    var absIndex = getAbsIndex(), result;
8298    result = navAsThumbnails ? absIndex : fixedWidth || autoWidth ? Math.ceil((absIndex + 1) * pages / slideCount - 1) : Math.floor(absIndex / items);
8299    if (!loop && carousel && index === indexMax) {
8300      result = pages - 1;
8301    }
8302    return result;
8303  }
8304  function getItemsMax() {
8305    if (autoWidth || fixedWidth && !viewportMax) {
8306      return slideCount - 1;
8307    } else {
8308      var str = fixedWidth ? "fixedWidth" : "items", arr = [];
8309      if (fixedWidth || options[str] < slideCount) {
8310        arr.push(options[str]);
8311      }
8312      if (responsive) {
8313        for (var bp in responsive) {
8314          var tem = responsive[bp][str];
8315          if (tem && (fixedWidth || tem < slideCount)) {
8316            arr.push(tem);
8317          }
8318        }
8319      }
8320      if (!arr.length) {
8321        arr.push(0);
8322      }
8323      return Math.ceil(fixedWidth ? viewportMax / Math.min.apply(null, arr) : Math.max.apply(null, arr));
8324    }
8325  }
8326  function getCloneCountForLoop() {
8327    var itemsMax = getItemsMax(), result = carousel ? Math.ceil((itemsMax * 5 - slideCount) / 2) : itemsMax * 4 - slideCount;
8328    result = Math.max(itemsMax, result);
8329    return hasOption("edgePadding") ? result + 1 : result;
8330  }
8331  function getWindowWidth() {
8332    return win.innerWidth || doc.documentElement.clientWidth || doc.body.clientWidth;
8333  }
8334  function getInsertPosition(pos) {
8335    return pos === "top" ? "afterbegin" : "beforeend";
8336  }
8337  function getClientWidth(el) {
8338    if (el == null) {
8339      return;
8340    }
8341    var div = doc.createElement("div"), rect, width;
8342    el.appendChild(div);
8343    rect = div.getBoundingClientRect();
8344    width = rect.right - rect.left;
8345    div.remove();
8346    return width || getClientWidth(el.parentNode);
8347  }
8348  function getViewportWidth() {
8349    var gap = edgePadding ? edgePadding * 2 - gutter : 0;
8350    return getClientWidth(containerParent) - gap;
8351  }
8352  function hasOption(item) {
8353    if (options[item]) {
8354      return true;
8355    } else {
8356      if (responsive) {
8357        for (var bp in responsive) {
8358          if (responsive[bp][item]) {
8359            return true;
8360          }
8361        }
8362      }
8363      return false;
8364    }
8365  }
8366  function getOption(item, ww) {
8367    if (ww == null) {
8368      ww = windowWidth;
8369    }
8370    if (item === "items" && fixedWidth) {
8371      return Math.floor((viewport + gutter) / (fixedWidth + gutter)) || 1;
8372    } else {
8373      var result = options[item];
8374      if (responsive) {
8375        for (var bp in responsive) {
8376          if (ww >= parseInt(bp)) {
8377            if (item in responsive[bp]) {
8378              result = responsive[bp][item];
8379            }
8380          }
8381        }
8382      }
8383      if (item === "slideBy" && result === "page") {
8384        result = getOption("items");
8385      }
8386      if (!carousel && (item === "slideBy" || item === "items")) {
8387        result = Math.floor(result);
8388      }
8389      return result;
8390    }
8391  }
8392  function getSlideMarginLeft(i) {
8393    return CALC ? CALC + "(" + i * 100 + "% / " + slideCountNew + ")" : i * 100 / slideCountNew + "%";
8394  }
8395  function getInnerWrapperStyles(edgePaddingTem, gutterTem, fixedWidthTem, speedTem, autoHeightBP) {
8396    var str = "";
8397    if (edgePaddingTem !== void 0) {
8398      var gap = edgePaddingTem;
8399      if (gutterTem) {
8400        gap -= gutterTem;
8401      }
8402      str = horizontal ? "margin: 0 " + gap + "px 0 " + edgePaddingTem + "px;" : "margin: " + edgePaddingTem + "px 0 " + gap + "px 0;";
8403    } else if (gutterTem && !fixedWidthTem) {
8404      var gutterTemUnit = "-" + gutterTem + "px", dir = horizontal ? gutterTemUnit + " 0 0" : "0 " + gutterTemUnit + " 0";
8405      str = "margin: 0 " + dir + ";";
8406    }
8407    if (!carousel && autoHeightBP && TRANSITIONDURATION && speedTem) {
8408      str += getTransitionDurationStyle(speedTem);
8409    }
8410    return str;
8411  }
8412  function getContainerWidth(fixedWidthTem, gutterTem, itemsTem) {
8413    if (fixedWidthTem) {
8414      return (fixedWidthTem + gutterTem) * slideCountNew + "px";
8415    } else {
8416      return CALC ? CALC + "(" + slideCountNew * 100 + "% / " + itemsTem + ")" : slideCountNew * 100 / itemsTem + "%";
8417    }
8418  }
8419  function getSlideWidthStyle(fixedWidthTem, gutterTem, itemsTem) {
8420    var width;
8421    if (fixedWidthTem) {
8422      width = fixedWidthTem + gutterTem + "px";
8423    } else {
8424      if (!carousel) {
8425        itemsTem = Math.floor(itemsTem);
8426      }
8427      var dividend = carousel ? slideCountNew : itemsTem;
8428      width = CALC ? CALC + "(100% / " + dividend + ")" : 100 / dividend + "%";
8429    }
8430    width = "width:" + width;
8431    return nested !== "inner" ? width + ";" : width + " !important;";
8432  }
8433  function getSlideGutterStyle(gutterTem) {
8434    var str = "";
8435    if (gutterTem !== false) {
8436      var prop = horizontal ? "padding-" : "margin-", dir = horizontal ? "right" : "bottom";
8437      str = prop + dir + ": " + gutterTem + "px;";
8438    }
8439    return str;
8440  }
8441  function getCSSPrefix(name, num) {
8442    var prefix = name.substring(0, name.length - num).toLowerCase();
8443    if (prefix) {
8444      prefix = "-" + prefix + "-";
8445    }
8446    return prefix;
8447  }
8448  function getTransitionDurationStyle(speed2) {
8449    return getCSSPrefix(TRANSITIONDURATION, 18) + "transition-duration:" + speed2 / 1e3 + "s;";
8450  }
8451  function getAnimationDurationStyle(speed2) {
8452    return getCSSPrefix(ANIMATIONDURATION, 17) + "animation-duration:" + speed2 / 1e3 + "s;";
8453  }
8454  function initStructure() {
8455    var classOuter = "tns-outer", classInner = "tns-inner", hasGutter = hasOption("gutter");
8456    outerWrapper.className = classOuter;
8457    innerWrapper.className = classInner;
8458    outerWrapper.id = slideId + "-ow";
8459    innerWrapper.id = slideId + "-iw";
8460    if (container.id === "") {
8461      container.id = slideId;
8462    }
8463    newContainerClasses += PERCENTAGELAYOUT || autoWidth ? " tns-subpixel" : " tns-no-subpixel";
8464    newContainerClasses += CALC ? " tns-calc" : " tns-no-calc";
8465    if (autoWidth) {
8466      newContainerClasses += " tns-autowidth";
8467    }
8468    newContainerClasses += " tns-" + options.axis;
8469    container.className += newContainerClasses;
8470    if (carousel) {
8471      middleWrapper = doc.createElement("div");
8472      middleWrapper.id = slideId + "-mw";
8473      middleWrapper.className = "tns-ovh";
8474      outerWrapper.appendChild(middleWrapper);
8475      middleWrapper.appendChild(innerWrapper);
8476    } else {
8477      outerWrapper.appendChild(innerWrapper);
8478    }
8479    if (autoHeight) {
8480      var wp = middleWrapper ? middleWrapper : innerWrapper;
8481      wp.className += " tns-ah";
8482    }
8483    containerParent.insertBefore(outerWrapper, container);
8484    innerWrapper.appendChild(container);
8485    forEach(slideItems, function(item, i) {
8486      addClass(item, "tns-item");
8487      if (!item.id) {
8488        item.id = slideId + "-item" + i;
8489      }
8490      if (!carousel && animateNormal) {
8491        addClass(item, animateNormal);
8492      }
8493      setAttrs(item, {
8494        "aria-hidden": "true",
8495        "tabindex": "-1"
8496      });
8497    });
8498    if (cloneCount) {
8499      var fragmentBefore = doc.createDocumentFragment(), fragmentAfter = doc.createDocumentFragment();
8500      for (var j = cloneCount; j--; ) {
8501        var num = j % slideCount, cloneFirst = slideItems[num].cloneNode(true);
8502        addClass(cloneFirst, slideClonedClass);
8503        removeAttrs(cloneFirst, "id");
8504        fragmentAfter.insertBefore(cloneFirst, fragmentAfter.firstChild);
8505        if (carousel) {
8506          var cloneLast = slideItems[slideCount - 1 - num].cloneNode(true);
8507          addClass(cloneLast, slideClonedClass);
8508          removeAttrs(cloneLast, "id");
8509          fragmentBefore.appendChild(cloneLast);
8510        }
8511      }
8512      container.insertBefore(fragmentBefore, container.firstChild);
8513      container.appendChild(fragmentAfter);
8514      slideItems = container.children;
8515    }
8516  }
8517  function initSliderTransform() {
8518    if (hasOption("autoHeight") || autoWidth || !horizontal) {
8519      var imgs = container.querySelectorAll("img");
8520      forEach(imgs, function(img) {
8521        var src = img.src;
8522        if (!lazyload) {
8523          if (src && src.indexOf("data:image") < 0) {
8524            img.src = "";
8525            addEvents(img, imgEvents);
8526            addClass(img, "loading");
8527            img.src = src;
8528          } else {
8529            imgLoaded(img);
8530          }
8531        }
8532      });
8533      raf(function() {
8534        imgsLoadedCheck(arrayFromNodeList(imgs), function() {
8535          imgsComplete = true;
8536        });
8537      });
8538      if (hasOption("autoHeight")) {
8539        imgs = getImageArray(index, Math.min(index + items - 1, slideCountNew - 1));
8540      }
8541      lazyload ? initSliderTransformStyleCheck() : raf(function() {
8542        imgsLoadedCheck(arrayFromNodeList(imgs), initSliderTransformStyleCheck);
8543      });
8544    } else {
8545      if (carousel) {
8546        doContainerTransformSilent();
8547      }
8548      initTools();
8549      initEvents();
8550    }
8551  }
8552  function initSliderTransformStyleCheck() {
8553    if (autoWidth && slideCount > 1) {
8554      var num = loop ? index : slideCount - 1;
8555      (function stylesApplicationCheck() {
8556        var left = slideItems[num].getBoundingClientRect().left;
8557        var right = slideItems[num - 1].getBoundingClientRect().right;
8558        Math.abs(left - right) <= 1 ? initSliderTransformCore() : setTimeout(function() {
8559          stylesApplicationCheck();
8560        }, 16);
8561      })();
8562    } else {
8563      initSliderTransformCore();
8564    }
8565  }
8566  function initSliderTransformCore() {
8567    if (!horizontal || autoWidth) {
8568      setSlidePositions();
8569      if (autoWidth) {
8570        rightBoundary = getRightBoundary();
8571        if (freezable) {
8572          freeze = getFreeze();
8573        }
8574        indexMax = getIndexMax();
8575        resetVariblesWhenDisable(disable || freeze);
8576      } else {
8577        updateContentWrapperHeight();
8578      }
8579    }
8580    if (carousel) {
8581      doContainerTransformSilent();
8582    }
8583    initTools();
8584    initEvents();
8585  }
8586  function initSheet() {
8587    if (!carousel) {
8588      for (var i = index, l = index + Math.min(slideCount, items); i < l; i++) {
8589        var item = slideItems[i];
8590        item.style.left = (i - index) * 100 / items + "%";
8591        addClass(item, animateIn);
8592        removeClass(item, animateNormal);
8593      }
8594    }
8595    if (horizontal) {
8596      if (PERCENTAGELAYOUT || autoWidth) {
8597        addCSSRule(sheet, "#" + slideId + " > .tns-item", "font-size:" + win.getComputedStyle(slideItems[0]).fontSize + ";", getCssRulesLength(sheet));
8598        addCSSRule(sheet, "#" + slideId, "font-size:0;", getCssRulesLength(sheet));
8599      } else if (carousel) {
8600        forEach(slideItems, function(slide, i2) {
8601          slide.style.marginLeft = getSlideMarginLeft(i2);
8602        });
8603      }
8604    }
8605    if (CSSMQ) {
8606      if (TRANSITIONDURATION) {
8607        var str = middleWrapper && options.autoHeight ? getTransitionDurationStyle(options.speed) : "";
8608        addCSSRule(sheet, "#" + slideId + "-mw", str, getCssRulesLength(sheet));
8609      }
8610      str = getInnerWrapperStyles(options.edgePadding, options.gutter, options.fixedWidth, options.speed, options.autoHeight);
8611      addCSSRule(sheet, "#" + slideId + "-iw", str, getCssRulesLength(sheet));
8612      if (carousel) {
8613        str = horizontal && !autoWidth ? "width:" + getContainerWidth(options.fixedWidth, options.gutter, options.items) + ";" : "";
8614        if (TRANSITIONDURATION) {
8615          str += getTransitionDurationStyle(speed);
8616        }
8617        addCSSRule(sheet, "#" + slideId, str, getCssRulesLength(sheet));
8618      }
8619      str = horizontal && !autoWidth ? getSlideWidthStyle(options.fixedWidth, options.gutter, options.items) : "";
8620      if (options.gutter) {
8621        str += getSlideGutterStyle(options.gutter);
8622      }
8623      if (!carousel) {
8624        if (TRANSITIONDURATION) {
8625          str += getTransitionDurationStyle(speed);
8626        }
8627        if (ANIMATIONDURATION) {
8628          str += getAnimationDurationStyle(speed);
8629        }
8630      }
8631      if (str) {
8632        addCSSRule(sheet, "#" + slideId + " > .tns-item", str, getCssRulesLength(sheet));
8633      }
8634    } else {
8635      update_carousel_transition_duration();
8636      innerWrapper.style.cssText = getInnerWrapperStyles(edgePadding, gutter, fixedWidth, autoHeight);
8637      if (carousel && horizontal && !autoWidth) {
8638        container.style.width = getContainerWidth(fixedWidth, gutter, items);
8639      }
8640      var str = horizontal && !autoWidth ? getSlideWidthStyle(fixedWidth, gutter, items) : "";
8641      if (gutter) {
8642        str += getSlideGutterStyle(gutter);
8643      }
8644      if (str) {
8645        addCSSRule(sheet, "#" + slideId + " > .tns-item", str, getCssRulesLength(sheet));
8646      }
8647    }
8648    if (responsive && CSSMQ) {
8649      for (var bp in responsive) {
8650        bp = parseInt(bp);
8651        var opts = responsive[bp], str = "", middleWrapperStr = "", innerWrapperStr = "", containerStr = "", slideStr = "", itemsBP = !autoWidth ? getOption("items", bp) : null, fixedWidthBP = getOption("fixedWidth", bp), speedBP = getOption("speed", bp), edgePaddingBP = getOption("edgePadding", bp), autoHeightBP = getOption("autoHeight", bp), gutterBP = getOption("gutter", bp);
8652        if (TRANSITIONDURATION && middleWrapper && getOption("autoHeight", bp) && "speed" in opts) {
8653          middleWrapperStr = "#" + slideId + "-mw{" + getTransitionDurationStyle(speedBP) + "}";
8654        }
8655        if ("edgePadding" in opts || "gutter" in opts) {
8656          innerWrapperStr = "#" + slideId + "-iw{" + getInnerWrapperStyles(edgePaddingBP, gutterBP, fixedWidthBP, speedBP, autoHeightBP) + "}";
8657        }
8658        if (carousel && horizontal && !autoWidth && ("fixedWidth" in opts || "items" in opts || fixedWidth && "gutter" in opts)) {
8659          containerStr = "width:" + getContainerWidth(fixedWidthBP, gutterBP, itemsBP) + ";";
8660        }
8661        if (TRANSITIONDURATION && "speed" in opts) {
8662          containerStr += getTransitionDurationStyle(speedBP);
8663        }
8664        if (containerStr) {
8665          containerStr = "#" + slideId + "{" + containerStr + "}";
8666        }
8667        if ("fixedWidth" in opts || fixedWidth && "gutter" in opts || !carousel && "items" in opts) {
8668          slideStr += getSlideWidthStyle(fixedWidthBP, gutterBP, itemsBP);
8669        }
8670        if ("gutter" in opts) {
8671          slideStr += getSlideGutterStyle(gutterBP);
8672        }
8673        if (!carousel && "speed" in opts) {
8674          if (TRANSITIONDURATION) {
8675            slideStr += getTransitionDurationStyle(speedBP);
8676          }
8677          if (ANIMATIONDURATION) {
8678            slideStr += getAnimationDurationStyle(speedBP);
8679          }
8680        }
8681        if (slideStr) {
8682          slideStr = "#" + slideId + " > .tns-item{" + slideStr + "}";
8683        }
8684        str = middleWrapperStr + innerWrapperStr + containerStr + slideStr;
8685        if (str) {
8686          sheet.insertRule("@media (min-width: " + bp / 16 + "em) {" + str + "}", sheet.cssRules.length);
8687        }
8688      }
8689    }
8690  }
8691  function initTools() {
8692    updateSlideStatus();
8693    outerWrapper.insertAdjacentHTML("afterbegin", '<div class="tns-liveregion tns-visually-hidden" aria-live="polite" aria-atomic="true">slide <span class="current">' + getLiveRegionStr() + "</span>  of " + slideCount + "</div>");
8694    liveregionCurrent = outerWrapper.querySelector(".tns-liveregion .current");
8695    if (hasAutoplay) {
8696      var txt = autoplay ? "stop" : "start";
8697      if (autoplayButton) {
8698        setAttrs(autoplayButton, { "data-action": txt });
8699      } else if (options.autoplayButtonOutput) {
8700        outerWrapper.insertAdjacentHTML(getInsertPosition(options.autoplayPosition), '<button type="button" data-action="' + txt + '">' + autoplayHtmlStrings[0] + txt + autoplayHtmlStrings[1] + autoplayText[0] + "</button>");
8701        autoplayButton = outerWrapper.querySelector("[data-action]");
8702      }
8703      if (autoplayButton) {
8704        addEvents(autoplayButton, { "click": toggleAutoplay });
8705      }
8706      if (autoplay) {
8707        startAutoplay();
8708        if (autoplayHoverPause) {
8709          addEvents(container, hoverEvents);
8710        }
8711        if (autoplayResetOnVisibility) {
8712          addEvents(container, visibilityEvent);
8713        }
8714      }
8715    }
8716    if (hasNav) {
8717      var initIndex = !carousel ? 0 : cloneCount;
8718      if (navContainer) {
8719        setAttrs(navContainer, { "aria-label": "Carousel Pagination" });
8720        navItems = navContainer.children;
8721        forEach(navItems, function(item, i2) {
8722          setAttrs(item, {
8723            "data-nav": i2,
8724            "tabindex": "-1",
8725            "aria-label": navStr + (i2 + 1),
8726            "aria-controls": slideId
8727          });
8728        });
8729      } else {
8730        var navHtml = "", hiddenStr = navAsThumbnails ? "" : 'style="display:none"';
8731        for (var i = 0; i < slideCount; i++) {
8732          navHtml += '<button type="button" data-nav="' + i + '" tabindex="-1" aria-controls="' + slideId + '" ' + hiddenStr + ' aria-label="' + navStr + (i + 1) + '"></button>';
8733        }
8734        navHtml = '<div class="tns-nav" aria-label="Carousel Pagination">' + navHtml + "</div>";
8735        outerWrapper.insertAdjacentHTML(getInsertPosition(options.navPosition), navHtml);
8736        navContainer = outerWrapper.querySelector(".tns-nav");
8737        navItems = navContainer.children;
8738      }
8739      updateNavVisibility();
8740      if (TRANSITIONDURATION) {
8741        var prefix = TRANSITIONDURATION.substring(0, TRANSITIONDURATION.length - 18).toLowerCase(), str = "transition: all " + speed / 1e3 + "s";
8742        if (prefix) {
8743          str = "-" + prefix + "-" + str;
8744        }
8745        addCSSRule(sheet, "[aria-controls^=" + slideId + "-item]", str, getCssRulesLength(sheet));
8746      }
8747      setAttrs(navItems[navCurrentIndex], { "aria-label": navStr + (navCurrentIndex + 1) + navStrCurrent });
8748      removeAttrs(navItems[navCurrentIndex], "tabindex");
8749      addClass(navItems[navCurrentIndex], navActiveClass);
8750      addEvents(navContainer, navEvents);
8751    }
8752    if (hasControls) {
8753      if (!controlsContainer && (!prevButton || !nextButton)) {
8754        outerWrapper.insertAdjacentHTML(getInsertPosition(options.controlsPosition), '<div class="tns-controls" aria-label="Carousel Navigation" tabindex="0"><button type="button" data-controls="prev" tabindex="-1" aria-controls="' + slideId + '">' + controlsText[0] + '</button><button type="button" data-controls="next" tabindex="-1" aria-controls="' + slideId + '">' + controlsText[1] + "</button></div>");
8755        controlsContainer = outerWrapper.querySelector(".tns-controls");
8756      }
8757      if (!prevButton || !nextButton) {
8758        prevButton = controlsContainer.children[0];
8759        nextButton = controlsContainer.children[1];
8760      }
8761      if (options.controlsContainer) {
8762        setAttrs(controlsContainer, {
8763          "aria-label": "Carousel Navigation",
8764          "tabindex": "0"
8765        });
8766      }
8767      if (options.controlsContainer || options.prevButton && options.nextButton) {
8768        setAttrs([prevButton, nextButton], {
8769          "aria-controls": slideId,
8770          "tabindex": "-1"
8771        });
8772      }
8773      if (options.controlsContainer || options.prevButton && options.nextButton) {
8774        setAttrs(prevButton, { "data-controls": "prev" });
8775        setAttrs(nextButton, { "data-controls": "next" });
8776      }
8777      prevIsButton = isButton(prevButton);
8778      nextIsButton = isButton(nextButton);
8779      updateControlsStatus();
8780      if (controlsContainer) {
8781        addEvents(controlsContainer, controlsEvents);
8782      } else {
8783        addEvents(prevButton, controlsEvents);
8784        addEvents(nextButton, controlsEvents);
8785      }
8786    }
8787    disableUI();
8788  }
8789  function initEvents() {
8790    if (carousel && TRANSITIONEND) {
8791      var eve = {};
8792      eve[TRANSITIONEND] = onTransitionEnd;
8793      addEvents(container, eve);
8794    }
8795    if (touch) {
8796      addEvents(container, touchEvents, options.preventScrollOnTouch);
8797    }
8798    if (mouseDrag) {
8799      addEvents(container, dragEvents);
8800    }
8801    if (arrowKeys) {
8802      addEvents(doc, docmentKeydownEvent);
8803    }
8804    if (nested === "inner") {
8805      events.on("outerResized", function() {
8806        resizeTasks();
8807        events.emit("innerLoaded", info());
8808      });
8809    } else if (responsive || fixedWidth || autoWidth || autoHeight || !horizontal) {
8810      addEvents(win, { "resize": onResize });
8811    }
8812    if (autoHeight) {
8813      if (nested === "outer") {
8814        events.on("innerLoaded", doAutoHeight);
8815      } else if (!disable) {
8816        doAutoHeight();
8817      }
8818    }
8819    doLazyLoad();
8820    if (disable) {
8821      disableSlider();
8822    } else if (freeze) {
8823      freezeSlider();
8824    }
8825    events.on("indexChanged", additionalUpdates);
8826    if (nested === "inner") {
8827      events.emit("innerLoaded", info());
8828    }
8829    if (typeof onInit === "function") {
8830      onInit(info());
8831    }
8832    isOn = true;
8833  }
8834  function destroy() {
8835    sheet.disabled = true;
8836    if (sheet.ownerNode) {
8837      sheet.ownerNode.remove();
8838    }
8839    removeEvents(win, { "resize": onResize });
8840    if (arrowKeys) {
8841      removeEvents(doc, docmentKeydownEvent);
8842    }
8843    if (controlsContainer) {
8844      removeEvents(controlsContainer, controlsEvents);
8845    }
8846    if (navContainer) {
8847      removeEvents(navContainer, navEvents);
8848    }
8849    removeEvents(container, hoverEvents);
8850    removeEvents(container, visibilityEvent);
8851    if (autoplayButton) {
8852      removeEvents(autoplayButton, { "click": toggleAutoplay });
8853    }
8854    if (autoplay) {
8855      clearInterval(autoplayTimer);
8856    }
8857    if (carousel && TRANSITIONEND) {
8858      var eve = {};
8859      eve[TRANSITIONEND] = onTransitionEnd;
8860      removeEvents(container, eve);
8861    }
8862    if (touch) {
8863      removeEvents(container, touchEvents);
8864    }
8865    if (mouseDrag) {
8866      removeEvents(container, dragEvents);
8867    }
8868    var htmlList = [containerHTML, controlsContainerHTML, prevButtonHTML, nextButtonHTML, navContainerHTML, autoplayButtonHTML];
8869    tnsList.forEach(function(item, i) {
8870      var el = item === "container" ? outerWrapper : options[item];
8871      if (typeof el === "object" && el) {
8872        var prevEl = el.previousElementSibling ? el.previousElementSibling : false, parentEl = el.parentNode;
8873        el.outerHTML = htmlList[i];
8874        options[item] = prevEl ? prevEl.nextElementSibling : parentEl.firstElementChild;
8875      }
8876    });
8877    tnsList = animateIn = animateOut = animateDelay = animateNormal = horizontal = outerWrapper = innerWrapper = container = containerParent = containerHTML = slideItems = slideCount = breakpointZone = windowWidth = autoWidth = fixedWidth = edgePadding = gutter = viewport = items = slideBy = viewportMax = arrowKeys = speed = rewind = loop = autoHeight = sheet = lazyload = slidePositions = slideItemsOut = cloneCount = slideCountNew = hasRightDeadZone = rightBoundary = updateIndexBeforeTransform = transformAttr = transformPrefix = transformPostfix = getIndexMax = index = indexCached = indexMin = indexMax = resizeTimer = swipeAngle = moveDirectionExpected = running = onInit = events = newContainerClasses = slideId = disable = disabled = freezable = freeze = frozen = controlsEvents = navEvents = hoverEvents = visibilityEvent = docmentKeydownEvent = touchEvents = dragEvents = hasControls = hasNav = navAsThumbnails = hasAutoplay = hasTouch = hasMouseDrag = slideActiveClass = imgCompleteClass = imgEvents = imgsComplete = controls = controlsText = controlsContainer = controlsContainerHTML = prevButton = nextButton = prevIsButton = nextIsButton = nav = navContainer = navContainerHTML = navItems = pages = pagesCached = navClicked = navCurrentIndex = navCurrentIndexCached = navActiveClass = navStr = navStrCurrent = autoplay = autoplayTimeout = autoplayDirection = autoplayText = autoplayHoverPause = autoplayButton = autoplayButtonHTML = autoplayResetOnVisibility = autoplayHtmlStrings = autoplayTimer = animating = autoplayHoverPaused = autoplayUserPaused = autoplayVisibilityPaused = initPosition = lastPosition = translateInit = disX = disY = panStart = rafIndex = getDist = touch = mouseDrag = null;
8878    for (var a in this) {
8879      if (a !== "rebuild") {
8880        this[a] = null;
8881      }
8882    }
8883    isOn = false;
8884  }
8885  function onResize(e) {
8886    raf(function() {
8887      resizeTasks(getEvent(e));
8888    });
8889  }
8890  function resizeTasks(e) {
8891    if (!isOn) {
8892      return;
8893    }
8894    if (nested === "outer") {
8895      events.emit("outerResized", info(e));
8896    }
8897    windowWidth = getWindowWidth();
8898    var bpChanged, breakpointZoneTem = breakpointZone, needContainerTransform = false;
8899    if (responsive) {
8900      setBreakpointZone();
8901      bpChanged = breakpointZoneTem !== breakpointZone;
8902      if (bpChanged) {
8903        events.emit("newBreakpointStart", info(e));
8904      }
8905    }
8906    var indChanged, itemsChanged, itemsTem = items, disableTem = disable, freezeTem = freeze, arrowKeysTem = arrowKeys, controlsTem = controls, navTem = nav, touchTem = touch, mouseDragTem = mouseDrag, autoplayTem = autoplay, autoplayHoverPauseTem = autoplayHoverPause, autoplayResetOnVisibilityTem = autoplayResetOnVisibility, indexTem = index;
8907    if (bpChanged) {
8908      var fixedWidthTem = fixedWidth, autoHeightTem = autoHeight, controlsTextTem = controlsText, centerTem = center, autoplayTextTem = autoplayText;
8909      if (!CSSMQ) {
8910        var gutterTem = gutter, edgePaddingTem = edgePadding;
8911      }
8912    }
8913    arrowKeys = getOption("arrowKeys");
8914    controls = getOption("controls");
8915    nav = getOption("nav");
8916    touch = getOption("touch");
8917    center = getOption("center");
8918    mouseDrag = getOption("mouseDrag");
8919    autoplay = getOption("autoplay");
8920    autoplayHoverPause = getOption("autoplayHoverPause");
8921    autoplayResetOnVisibility = getOption("autoplayResetOnVisibility");
8922    if (bpChanged) {
8923      disable = getOption("disable");
8924      fixedWidth = getOption("fixedWidth");
8925      speed = getOption("speed");
8926      autoHeight = getOption("autoHeight");
8927      controlsText = getOption("controlsText");
8928      autoplayText = getOption("autoplayText");
8929      autoplayTimeout = getOption("autoplayTimeout");
8930      if (!CSSMQ) {
8931        edgePadding = getOption("edgePadding");
8932        gutter = getOption("gutter");
8933      }
8934    }
8935    resetVariblesWhenDisable(disable);
8936    viewport = getViewportWidth();
8937    if ((!horizontal || autoWidth) && !disable) {
8938      setSlidePositions();
8939      if (!horizontal) {
8940        updateContentWrapperHeight();
8941        needContainerTransform = true;
8942      }
8943    }
8944    if (fixedWidth || autoWidth) {
8945      rightBoundary = getRightBoundary();
8946      indexMax = getIndexMax();
8947    }
8948    if (bpChanged || fixedWidth) {
8949      items = getOption("items");
8950      slideBy = getOption("slideBy");
8951      itemsChanged = items !== itemsTem;
8952      if (itemsChanged) {
8953        if (!fixedWidth && !autoWidth) {
8954          indexMax = getIndexMax();
8955        }
8956        updateIndex();
8957      }
8958    }
8959    if (bpChanged) {
8960      if (disable !== disableTem) {
8961        if (disable) {
8962          disableSlider();
8963        } else {
8964          enableSlider();
8965        }
8966      }
8967    }
8968    if (freezable && (bpChanged || fixedWidth || autoWidth)) {
8969      freeze = getFreeze();
8970      if (freeze !== freezeTem) {
8971        if (freeze) {
8972          doContainerTransform(getContainerTransformValue(getStartIndex(0)));
8973          freezeSlider();
8974        } else {
8975          unfreezeSlider();
8976          needContainerTransform = true;
8977        }
8978      }
8979    }
8980    resetVariblesWhenDisable(disable || freeze);
8981    if (!autoplay) {
8982      autoplayHoverPause = autoplayResetOnVisibility = false;
8983    }
8984    if (arrowKeys !== arrowKeysTem) {
8985      arrowKeys ? addEvents(doc, docmentKeydownEvent) : removeEvents(doc, docmentKeydownEvent);
8986    }
8987    if (controls !== controlsTem) {
8988      if (controls) {
8989        if (controlsContainer) {
8990          showElement(controlsContainer);
8991        } else {
8992          if (prevButton) {
8993            showElement(prevButton);
8994          }
8995          if (nextButton) {
8996            showElement(nextButton);
8997          }
8998        }
8999      } else {
9000        if (controlsContainer) {
9001          hideElement(controlsContainer);
9002        } else {
9003          if (prevButton) {
9004            hideElement(prevButton);
9005          }
9006          if (nextButton) {
9007            hideElement(nextButton);
9008          }
9009        }
9010      }
9011    }
9012    if (nav !== navTem) {
9013      if (nav) {
9014        showElement(navContainer);
9015        updateNavVisibility();
9016      } else {
9017        hideElement(navContainer);
9018      }
9019    }
9020    if (touch !== touchTem) {
9021      touch ? addEvents(container, touchEvents, options.preventScrollOnTouch) : removeEvents(container, touchEvents);
9022    }
9023    if (mouseDrag !== mouseDragTem) {
9024      mouseDrag ? addEvents(container, dragEvents) : removeEvents(container, dragEvents);
9025    }
9026    if (autoplay !== autoplayTem) {
9027      if (autoplay) {
9028        if (autoplayButton) {
9029          showElement(autoplayButton);
9030        }
9031        if (!animating && !autoplayUserPaused) {
9032          startAutoplay();
9033        }
9034      } else {
9035        if (autoplayButton) {
9036          hideElement(autoplayButton);
9037        }
9038        if (animating) {
9039          stopAutoplay();
9040        }
9041      }
9042    }
9043    if (autoplayHoverPause !== autoplayHoverPauseTem) {
9044      autoplayHoverPause ? addEvents(container, hoverEvents) : removeEvents(container, hoverEvents);
9045    }
9046    if (autoplayResetOnVisibility !== autoplayResetOnVisibilityTem) {
9047      autoplayResetOnVisibility ? addEvents(doc, visibilityEvent) : removeEvents(doc, visibilityEvent);
9048    }
9049    if (bpChanged) {
9050      if (fixedWidth !== fixedWidthTem || center !== centerTem) {
9051        needContainerTransform = true;
9052      }
9053      if (autoHeight !== autoHeightTem) {
9054        if (!autoHeight) {
9055          innerWrapper.style.height = "";
9056        }
9057      }
9058      if (controls && controlsText !== controlsTextTem) {
9059        prevButton.innerHTML = controlsText[0];
9060        nextButton.innerHTML = controlsText[1];
9061      }
9062      if (autoplayButton && autoplayText !== autoplayTextTem) {
9063        var i = autoplay ? 1 : 0, html = autoplayButton.innerHTML, len = html.length - autoplayTextTem[i].length;
9064        if (html.substring(len) === autoplayTextTem[i]) {
9065          autoplayButton.innerHTML = html.substring(0, len) + autoplayText[i];
9066        }
9067      }
9068    } else {
9069      if (center && (fixedWidth || autoWidth)) {
9070        needContainerTransform = true;
9071      }
9072    }
9073    if (itemsChanged || fixedWidth && !autoWidth) {
9074      pages = getPages();
9075      updateNavVisibility();
9076    }
9077    indChanged = index !== indexTem;
9078    if (indChanged) {
9079      events.emit("indexChanged", info());
9080      needContainerTransform = true;
9081    } else if (itemsChanged) {
9082      if (!indChanged) {
9083        additionalUpdates();
9084      }
9085    } else if (fixedWidth || autoWidth) {
9086      doLazyLoad();
9087      updateSlideStatus();
9088      updateLiveRegion();
9089    }
9090    if (itemsChanged && !carousel) {
9091      updateGallerySlidePositions();
9092    }
9093    if (!disable && !freeze) {
9094      if (bpChanged && !CSSMQ) {
9095        if (edgePadding !== edgePaddingTem || gutter !== gutterTem) {
9096          innerWrapper.style.cssText = getInnerWrapperStyles(edgePadding, gutter, fixedWidth, speed, autoHeight);
9097        }
9098        if (horizontal) {
9099          if (carousel) {
9100            container.style.width = getContainerWidth(fixedWidth, gutter, items);
9101          }
9102          var str = getSlideWidthStyle(fixedWidth, gutter, items) + getSlideGutterStyle(gutter);
9103          removeCSSRule(sheet, getCssRulesLength(sheet) - 1);
9104          addCSSRule(sheet, "#" + slideId + " > .tns-item", str, getCssRulesLength(sheet));
9105        }
9106      }
9107      if (autoHeight) {
9108        doAutoHeight();
9109      }
9110      if (needContainerTransform) {
9111        doContainerTransformSilent();
9112        indexCached = index;
9113      }
9114    }
9115    if (bpChanged) {
9116      events.emit("newBreakpointEnd", info(e));
9117    }
9118  }
9119  function getFreeze() {
9120    if (!fixedWidth && !autoWidth) {
9121      var a = center ? items - (items - 1) / 2 : items;
9122      return slideCount <= a;
9123    }
9124    var width = fixedWidth ? (fixedWidth + gutter) * slideCount : slidePositions[slideCount], vp = edgePadding ? viewport + edgePadding * 2 : viewport + gutter;
9125    if (center) {
9126      vp -= fixedWidth ? (viewport - fixedWidth) / 2 : (viewport - (slidePositions[index + 1] - slidePositions[index] - gutter)) / 2;
9127    }
9128    return width <= vp;
9129  }
9130  function setBreakpointZone() {
9131    breakpointZone = 0;
9132    for (var bp in responsive) {
9133      bp = parseInt(bp);
9134      if (windowWidth >= bp) {
9135        breakpointZone = bp;
9136      }
9137    }
9138  }
9139  var updateIndex = /* @__PURE__ */ (function() {
9140    return loop ? carousel ? (
9141      // loop + carousel
9142      function() {
9143        var leftEdge = indexMin, rightEdge = indexMax;
9144        leftEdge += slideBy;
9145        rightEdge -= slideBy;
9146        if (edgePadding) {
9147          leftEdge += 1;
9148          rightEdge -= 1;
9149        } else if (fixedWidth) {
9150          if ((viewport + gutter) % (fixedWidth + gutter)) {
9151            rightEdge -= 1;
9152          }
9153        }
9154        if (cloneCount) {
9155          if (index > rightEdge) {
9156            index -= slideCount;
9157          } else if (index < leftEdge) {
9158            index += slideCount;
9159          }
9160        }
9161      }
9162    ) : (
9163      // loop + gallery
9164      function() {
9165        if (index > indexMax) {
9166          while (index >= indexMin + slideCount) {
9167            index -= slideCount;
9168          }
9169        } else if (index < indexMin) {
9170          while (index <= indexMax - slideCount) {
9171            index += slideCount;
9172          }
9173        }
9174      }
9175    ) : (
9176      // non-loop
9177      function() {
9178        index = Math.max(indexMin, Math.min(indexMax, index));
9179      }
9180    );
9181  })();
9182  function disableUI() {
9183    if (!autoplay && autoplayButton) {
9184      hideElement(autoplayButton);
9185    }
9186    if (!nav && navContainer) {
9187      hideElement(navContainer);
9188    }
9189    if (!controls) {
9190      if (controlsContainer) {
9191        hideElement(controlsContainer);
9192      } else {
9193        if (prevButton) {
9194          hideElement(prevButton);
9195        }
9196        if (nextButton) {
9197          hideElement(nextButton);
9198        }
9199      }
9200    }
9201  }
9202  function enableUI() {
9203    if (autoplay && autoplayButton) {
9204      showElement(autoplayButton);
9205    }
9206    if (nav && navContainer) {
9207      showElement(navContainer);
9208    }
9209    if (controls) {
9210      if (controlsContainer) {
9211        showElement(controlsContainer);
9212      } else {
9213        if (prevButton) {
9214          showElement(prevButton);
9215        }
9216        if (nextButton) {
9217          showElement(nextButton);
9218        }
9219      }
9220    }
9221  }
9222  function freezeSlider() {
9223    if (frozen) {
9224      return;
9225    }
9226    if (edgePadding) {
9227      innerWrapper.style.margin = "0px";
9228    }
9229    if (cloneCount) {
9230      var str = "tns-transparent";
9231      for (var i = cloneCount; i--; ) {
9232        if (carousel) {
9233          addClass(slideItems[i], str);
9234        }
9235        addClass(slideItems[slideCountNew - i - 1], str);
9236      }
9237    }
9238    disableUI();
9239    frozen = true;
9240  }
9241  function unfreezeSlider() {
9242    if (!frozen) {
9243      return;
9244    }
9245    if (edgePadding && CSSMQ) {
9246      innerWrapper.style.margin = "";
9247    }
9248    if (cloneCount) {
9249      var str = "tns-transparent";
9250      for (var i = cloneCount; i--; ) {
9251        if (carousel) {
9252          removeClass(slideItems[i], str);
9253        }
9254        removeClass(slideItems[slideCountNew - i - 1], str);
9255      }
9256    }
9257    enableUI();
9258    frozen = false;
9259  }
9260  function disableSlider() {
9261    if (disabled) {
9262      return;
9263    }
9264    sheet.disabled = true;
9265    container.className = container.className.replace(newContainerClasses.substring(1), "");
9266    removeAttrs(container, ["style"]);
9267    if (loop) {
9268      for (var j = cloneCount; j--; ) {
9269        if (carousel) {
9270          hideElement(slideItems[j]);
9271        }
9272        hideElement(slideItems[slideCountNew - j - 1]);
9273      }
9274    }
9275    if (!horizontal || !carousel) {
9276      removeAttrs(innerWrapper, ["style"]);
9277    }
9278    if (!carousel) {
9279      for (var i = index, l = index + slideCount; i < l; i++) {
9280        var item = slideItems[i];
9281        removeAttrs(item, ["style"]);
9282        removeClass(item, animateIn);
9283        removeClass(item, animateNormal);
9284      }
9285    }
9286    disableUI();
9287    disabled = true;
9288  }
9289  function enableSlider() {
9290    if (!disabled) {
9291      return;
9292    }
9293    sheet.disabled = false;
9294    container.className += newContainerClasses;
9295    doContainerTransformSilent();
9296    if (loop) {
9297      for (var j = cloneCount; j--; ) {
9298        if (carousel) {
9299          showElement(slideItems[j]);
9300        }
9301        showElement(slideItems[slideCountNew - j - 1]);
9302      }
9303    }
9304    if (!carousel) {
9305      for (var i = index, l = index + slideCount; i < l; i++) {
9306        var item = slideItems[i], classN = i < index + items ? animateIn : animateNormal;
9307        item.style.left = (i - index) * 100 / items + "%";
9308        addClass(item, classN);
9309      }
9310    }
9311    enableUI();
9312    disabled = false;
9313  }
9314  function updateLiveRegion() {
9315    var str = getLiveRegionStr();
9316    if (liveregionCurrent.innerHTML !== str) {
9317      liveregionCurrent.innerHTML = str;
9318    }
9319  }
9320  function getLiveRegionStr() {
9321    var arr = getVisibleSlideRange(), start = arr[0] + 1, end = arr[1] + 1;
9322    return start === end ? start + "" : start + " to " + end;
9323  }
9324  function getVisibleSlideRange(val2) {
9325    if (val2 == null) {
9326      val2 = getContainerTransformValue();
9327    }
9328    var start = index, end, rangestart, rangeend;
9329    if (center || edgePadding) {
9330      if (autoWidth || fixedWidth) {
9331        rangestart = -(parseFloat(val2) + edgePadding);
9332        rangeend = rangestart + viewport + edgePadding * 2;
9333      }
9334    } else {
9335      if (autoWidth) {
9336        rangestart = slidePositions[index];
9337        rangeend = rangestart + viewport;
9338      }
9339    }
9340    if (autoWidth) {
9341      slidePositions.forEach(function(point, i) {
9342        if (i < slideCountNew) {
9343          if ((center || edgePadding) && point <= rangestart + 0.5) {
9344            start = i;
9345          }
9346          if (rangeend - point >= 0.5) {
9347            end = i;
9348          }
9349        }
9350      });
9351    } else {
9352      if (fixedWidth) {
9353        var cell = fixedWidth + gutter;
9354        if (center || edgePadding) {
9355          start = Math.floor(rangestart / cell);
9356          end = Math.ceil(rangeend / cell - 1);
9357        } else {
9358          end = start + Math.ceil(viewport / cell) - 1;
9359        }
9360      } else {
9361        if (center || edgePadding) {
9362          var a = items - 1;
9363          if (center) {
9364            start -= a / 2;
9365            end = index + a / 2;
9366          } else {
9367            end = index + a;
9368          }
9369          if (edgePadding) {
9370            var b = edgePadding * items / viewport;
9371            start -= b;
9372            end += b;
9373          }
9374          start = Math.floor(start);
9375          end = Math.ceil(end);
9376        } else {
9377          end = start + items - 1;
9378        }
9379      }
9380      start = Math.max(start, 0);
9381      end = Math.min(end, slideCountNew - 1);
9382    }
9383    return [start, end];
9384  }
9385  function doLazyLoad() {
9386    if (lazyload && !disable) {
9387      var arg = getVisibleSlideRange();
9388      arg.push(lazyloadSelector);
9389      getImageArray.apply(null, arg).forEach(function(img) {
9390        if (!hasClass(img, imgCompleteClass)) {
9391          var eve = {};
9392          eve[TRANSITIONEND] = function(e) {
9393            e.stopPropagation();
9394          };
9395          addEvents(img, eve);
9396          addEvents(img, imgEvents);
9397          img.src = getAttr(img, "data-src");
9398          var srcset = getAttr(img, "data-srcset");
9399          if (srcset) {
9400            img.srcset = srcset;
9401          }
9402          addClass(img, "loading");
9403        }
9404      });
9405    }
9406  }
9407  function onImgLoaded(e) {
9408    imgLoaded(getTarget(e));
9409  }
9410  function onImgFailed(e) {
9411    imgFailed(getTarget(e));
9412  }
9413  function imgLoaded(img) {
9414    addClass(img, "loaded");
9415    imgCompleted(img);
9416  }
9417  function imgFailed(img) {
9418    addClass(img, "failed");
9419    imgCompleted(img);
9420  }
9421  function imgCompleted(img) {
9422    addClass(img, imgCompleteClass);
9423    removeClass(img, "loading");
9424    removeEvents(img, imgEvents);
9425  }
9426  function getImageArray(start, end, imgSelector) {
9427    var imgs = [];
9428    if (!imgSelector) {
9429      imgSelector = "img";
9430    }
9431    while (start <= end) {
9432      forEach(slideItems[start].querySelectorAll(imgSelector), function(img) {
9433        imgs.push(img);
9434      });
9435      start++;
9436    }
9437    return imgs;
9438  }
9439  function doAutoHeight() {
9440    var imgs = getImageArray.apply(null, getVisibleSlideRange());
9441    raf(function() {
9442      imgsLoadedCheck(imgs, updateInnerWrapperHeight);
9443    });
9444  }
9445  function imgsLoadedCheck(imgs, cb) {
9446    if (imgsComplete) {
9447      return cb();
9448    }
9449    imgs.forEach(function(img, index2) {
9450      if (!lazyload && img.complete) {
9451        imgCompleted(img);
9452      }
9453      if (hasClass(img, imgCompleteClass)) {
9454        imgs.splice(index2, 1);
9455      }
9456    });
9457    if (!imgs.length) {
9458      return cb();
9459    }
9460    raf(function() {
9461      imgsLoadedCheck(imgs, cb);
9462    });
9463  }
9464  function additionalUpdates() {
9465    doLazyLoad();
9466    updateSlideStatus();
9467    updateLiveRegion();
9468    updateControlsStatus();
9469    updateNavStatus();
9470  }
9471  function update_carousel_transition_duration() {
9472    if (carousel && autoHeight) {
9473      middleWrapper.style[TRANSITIONDURATION] = speed / 1e3 + "s";
9474    }
9475  }
9476  function getMaxSlideHeight(slideStart, slideRange) {
9477    var heights = [];
9478    for (var i = slideStart, l = Math.min(slideStart + slideRange, slideCountNew); i < l; i++) {
9479      heights.push(slideItems[i].offsetHeight);
9480    }
9481    return Math.max.apply(null, heights);
9482  }
9483  function updateInnerWrapperHeight() {
9484    var maxHeight = autoHeight ? getMaxSlideHeight(index, items) : getMaxSlideHeight(cloneCount, slideCount), wp = middleWrapper ? middleWrapper : innerWrapper;
9485    if (wp.style.height !== maxHeight) {
9486      wp.style.height = maxHeight + "px";
9487    }
9488  }
9489  function setSlidePositions() {
9490    slidePositions = [0];
9491    var attr = horizontal ? "left" : "top", attr2 = horizontal ? "right" : "bottom", base = slideItems[0].getBoundingClientRect()[attr];
9492    forEach(slideItems, function(item, i) {
9493      if (i) {
9494        slidePositions.push(item.getBoundingClientRect()[attr] - base);
9495      }
9496      if (i === slideCountNew - 1) {
9497        slidePositions.push(item.getBoundingClientRect()[attr2] - base);
9498      }
9499    });
9500  }
9501  function updateSlideStatus() {
9502    var range = getVisibleSlideRange(), start = range[0], end = range[1];
9503    forEach(slideItems, function(item, i) {
9504      if (i >= start && i <= end) {
9505        if (hasAttr(item, "aria-hidden")) {
9506          removeAttrs(item, ["aria-hidden", "tabindex"]);
9507          addClass(item, slideActiveClass);
9508        }
9509      } else {
9510        if (!hasAttr(item, "aria-hidden")) {
9511          setAttrs(item, {
9512            "aria-hidden": "true",
9513            "tabindex": "-1"
9514          });
9515          removeClass(item, slideActiveClass);
9516        }
9517      }
9518    });
9519  }
9520  function updateGallerySlidePositions() {
9521    var l = index + Math.min(slideCount, items);
9522    for (var i = slideCountNew; i--; ) {
9523      var item = slideItems[i];
9524      if (i >= index && i < l) {
9525        addClass(item, "tns-moving");
9526        item.style.left = (i - index) * 100 / items + "%";
9527        addClass(item, animateIn);
9528        removeClass(item, animateNormal);
9529      } else if (item.style.left) {
9530        item.style.left = "";
9531        addClass(item, animateNormal);
9532        removeClass(item, animateIn);
9533      }
9534      removeClass(item, animateOut);
9535    }
9536    setTimeout(function() {
9537      forEach(slideItems, function(el) {
9538        removeClass(el, "tns-moving");
9539      });
9540    }, 300);
9541  }
9542  function updateNavStatus() {
9543    if (nav) {
9544      navCurrentIndex = navClicked >= 0 ? navClicked : getCurrentNavIndex();
9545      navClicked = -1;
9546      if (navCurrentIndex !== navCurrentIndexCached) {
9547        var navPrev = navItems[navCurrentIndexCached], navCurrent = navItems[navCurrentIndex];
9548        setAttrs(navPrev, {
9549          "tabindex": "-1",
9550          "aria-label": navStr + (navCurrentIndexCached + 1)
9551        });
9552        removeClass(navPrev, navActiveClass);
9553        setAttrs(navCurrent, { "aria-label": navStr + (navCurrentIndex + 1) + navStrCurrent });
9554        removeAttrs(navCurrent, "tabindex");
9555        addClass(navCurrent, navActiveClass);
9556        navCurrentIndexCached = navCurrentIndex;
9557      }
9558    }
9559  }
9560  function getLowerCaseNodeName(el) {
9561    return el.nodeName.toLowerCase();
9562  }
9563  function isButton(el) {
9564    return getLowerCaseNodeName(el) === "button";
9565  }
9566  function isAriaDisabled(el) {
9567    return el.getAttribute("aria-disabled") === "true";
9568  }
9569  function disEnableElement(isButton2, el, val2) {
9570    if (isButton2) {
9571      el.disabled = val2;
9572    } else {
9573      el.setAttribute("aria-disabled", val2.toString());
9574    }
9575  }
9576  function updateControlsStatus() {
9577    if (!controls || rewind || loop) {
9578      return;
9579    }
9580    var prevDisabled = prevIsButton ? prevButton.disabled : isAriaDisabled(prevButton), nextDisabled = nextIsButton ? nextButton.disabled : isAriaDisabled(nextButton), disablePrev = index <= indexMin ? true : false, disableNext = !rewind && index >= indexMax ? true : false;
9581    if (disablePrev && !prevDisabled) {
9582      disEnableElement(prevIsButton, prevButton, true);
9583    }
9584    if (!disablePrev && prevDisabled) {
9585      disEnableElement(prevIsButton, prevButton, false);
9586    }
9587    if (disableNext && !nextDisabled) {
9588      disEnableElement(nextIsButton, nextButton, true);
9589    }
9590    if (!disableNext && nextDisabled) {
9591      disEnableElement(nextIsButton, nextButton, false);
9592    }
9593  }
9594  function resetDuration(el, str) {
9595    if (TRANSITIONDURATION) {
9596      el.style[TRANSITIONDURATION] = str;
9597    }
9598  }
9599  function getSliderWidth() {
9600    return fixedWidth ? (fixedWidth + gutter) * slideCountNew : slidePositions[slideCountNew];
9601  }
9602  function getCenterGap(num) {
9603    if (num == null) {
9604      num = index;
9605    }
9606    var gap = edgePadding ? gutter : 0;
9607    return autoWidth ? (viewport - gap - (slidePositions[num + 1] - slidePositions[num] - gutter)) / 2 : fixedWidth ? (viewport - fixedWidth) / 2 : (items - 1) / 2;
9608  }
9609  function getRightBoundary() {
9610    var gap = edgePadding ? gutter : 0, result = viewport + gap - getSliderWidth();
9611    if (center && !loop) {
9612      result = fixedWidth ? -(fixedWidth + gutter) * (slideCountNew - 1) - getCenterGap() : getCenterGap(slideCountNew - 1) - slidePositions[slideCountNew - 1];
9613    }
9614    if (result > 0) {
9615      result = 0;
9616    }
9617    return result;
9618  }
9619  function getContainerTransformValue(num) {
9620    if (num == null) {
9621      num = index;
9622    }
9623    var val2;
9624    if (horizontal && !autoWidth) {
9625      if (fixedWidth) {
9626        val2 = -(fixedWidth + gutter) * num;
9627        if (center) {
9628          val2 += getCenterGap();
9629        }
9630      } else {
9631        var denominator = TRANSFORM ? slideCountNew : items;
9632        if (center) {
9633          num -= getCenterGap();
9634        }
9635        val2 = -num * 100 / denominator;
9636      }
9637    } else {
9638      val2 = -slidePositions[num];
9639      if (center && autoWidth) {
9640        val2 += getCenterGap();
9641      }
9642    }
9643    if (hasRightDeadZone) {
9644      val2 = Math.max(val2, rightBoundary);
9645    }
9646    val2 += horizontal && !autoWidth && !fixedWidth ? "%" : "px";
9647    return val2;
9648  }
9649  function doContainerTransformSilent(val2) {
9650    resetDuration(container, "0s");
9651    doContainerTransform(val2);
9652  }
9653  function doContainerTransform(val2) {
9654    if (val2 == null) {
9655      val2 = getContainerTransformValue();
9656    }
9657    container.style[transformAttr] = transformPrefix + val2 + transformPostfix;
9658  }
9659  function animateSlide(number, classOut, classIn, isOut) {
9660    var l = number + items;
9661    if (!loop) {
9662      l = Math.min(l, slideCountNew);
9663    }
9664    for (var i = number; i < l; i++) {
9665      var item = slideItems[i];
9666      if (!isOut) {
9667        item.style.left = (i - index) * 100 / items + "%";
9668      }
9669      if (animateDelay && TRANSITIONDELAY) {
9670        item.style[TRANSITIONDELAY] = item.style[ANIMATIONDELAY] = animateDelay * (i - number) / 1e3 + "s";
9671      }
9672      removeClass(item, classOut);
9673      addClass(item, classIn);
9674      if (isOut) {
9675        slideItemsOut.push(item);
9676      }
9677    }
9678  }
9679  var transformCore = /* @__PURE__ */ (function() {
9680    return carousel ? function() {
9681      resetDuration(container, "");
9682      if (TRANSITIONDURATION || !speed) {
9683        doContainerTransform();
9684        if (!speed || !isVisible(container)) {
9685          onTransitionEnd();
9686        }
9687      } else {
9688        jsTransform(container, transformAttr, transformPrefix, transformPostfix, getContainerTransformValue(), speed, onTransitionEnd);
9689      }
9690      if (!horizontal) {
9691        updateContentWrapperHeight();
9692      }
9693    } : function() {
9694      slideItemsOut = [];
9695      var eve = {};
9696      eve[TRANSITIONEND] = eve[ANIMATIONEND] = onTransitionEnd;
9697      removeEvents(slideItems[indexCached], eve);
9698      addEvents(slideItems[index], eve);
9699      animateSlide(indexCached, animateIn, animateOut, true);
9700      animateSlide(index, animateNormal, animateIn);
9701      if (!TRANSITIONEND || !ANIMATIONEND || !speed || !isVisible(container)) {
9702        onTransitionEnd();
9703      }
9704    };
9705  })();
9706  function render(e, sliderMoved) {
9707    if (updateIndexBeforeTransform) {
9708      updateIndex();
9709    }
9710    if (index !== indexCached || sliderMoved) {
9711      events.emit("indexChanged", info());
9712      events.emit("transitionStart", info());
9713      if (autoHeight) {
9714        doAutoHeight();
9715      }
9716      if (animating && e && ["click", "keydown"].indexOf(e.type) >= 0) {
9717        stopAutoplay();
9718      }
9719      running = true;
9720      transformCore();
9721    }
9722  }
9723  function strTrans(str) {
9724    return str.toLowerCase().replace(/-/g, "");
9725  }
9726  function onTransitionEnd(event) {
9727    if (carousel || running) {
9728      events.emit("transitionEnd", info(event));
9729      if (!carousel && slideItemsOut.length > 0) {
9730        for (var i = 0; i < slideItemsOut.length; i++) {
9731          var item = slideItemsOut[i];
9732          item.style.left = "";
9733          if (ANIMATIONDELAY && TRANSITIONDELAY) {
9734            item.style[ANIMATIONDELAY] = "";
9735            item.style[TRANSITIONDELAY] = "";
9736          }
9737          removeClass(item, animateOut);
9738          addClass(item, animateNormal);
9739        }
9740      }
9741      if (!event || !carousel && event.target.parentNode === container || event.target === container && strTrans(event.propertyName) === strTrans(transformAttr)) {
9742        if (!updateIndexBeforeTransform) {
9743          var indexTem = index;
9744          updateIndex();
9745          if (index !== indexTem) {
9746            events.emit("indexChanged", info());
9747            doContainerTransformSilent();
9748          }
9749        }
9750        if (nested === "inner") {
9751          events.emit("innerLoaded", info());
9752        }
9753        running = false;
9754        indexCached = index;
9755      }
9756    }
9757  }
9758  function goTo(targetIndex, e) {
9759    if (freeze) {
9760      return;
9761    }
9762    if (targetIndex === "prev") {
9763      onControlsClick(e, -1);
9764    } else if (targetIndex === "next") {
9765      onControlsClick(e, 1);
9766    } else {
9767      if (running) {
9768        if (preventActionWhenRunning) {
9769          return;
9770        } else {
9771          onTransitionEnd();
9772        }
9773      }
9774      var absIndex = getAbsIndex(), indexGap = 0;
9775      if (targetIndex === "first") {
9776        indexGap = -absIndex;
9777      } else if (targetIndex === "last") {
9778        indexGap = carousel ? slideCount - items - absIndex : slideCount - 1 - absIndex;
9779      } else {
9780        if (typeof targetIndex !== "number") {
9781          targetIndex = parseInt(targetIndex);
9782        }
9783        if (!isNaN(targetIndex)) {
9784          if (!e) {
9785            targetIndex = Math.max(0, Math.min(slideCount - 1, targetIndex));
9786          }
9787          indexGap = targetIndex - absIndex;
9788        }
9789      }
9790      if (!carousel && indexGap && Math.abs(indexGap) < items) {
9791        var factor = indexGap > 0 ? 1 : -1;
9792        indexGap += index + indexGap - slideCount >= indexMin ? slideCount * factor : slideCount * 2 * factor * -1;
9793      }
9794      index += indexGap;
9795      if (carousel && loop) {
9796        if (index < indexMin) {
9797          index += slideCount;
9798        }
9799        if (index > indexMax) {
9800          index -= slideCount;
9801        }
9802      }
9803      if (getAbsIndex(index) !== getAbsIndex(indexCached)) {
9804        render(e);
9805      }
9806    }
9807  }
9808  function onControlsClick(e, dir) {
9809    if (running) {
9810      if (preventActionWhenRunning) {
9811        return;
9812      } else {
9813        onTransitionEnd();
9814      }
9815    }
9816    var passEventObject;
9817    if (!dir) {
9818      e = getEvent(e);
9819      var target = getTarget(e);
9820      while (target !== controlsContainer && [prevButton, nextButton].indexOf(target) < 0) {
9821        target = target.parentNode;
9822      }
9823      var targetIn = [prevButton, nextButton].indexOf(target);
9824      if (targetIn >= 0) {
9825        passEventObject = true;
9826        dir = targetIn === 0 ? -1 : 1;
9827      }
9828    }
9829    if (rewind) {
9830      if (index === indexMin && dir === -1) {
9831        goTo("last", e);
9832        return;
9833      } else if (index === indexMax && dir === 1) {
9834        goTo("first", e);
9835        return;
9836      }
9837    }
9838    if (dir) {
9839      index += slideBy * dir;
9840      if (autoWidth) {
9841        index = Math.floor(index);
9842      }
9843      render(passEventObject || e && e.type === "keydown" ? e : null);
9844    }
9845  }
9846  function onNavClick(e) {
9847    if (running) {
9848      if (preventActionWhenRunning) {
9849        return;
9850      } else {
9851        onTransitionEnd();
9852      }
9853    }
9854    e = getEvent(e);
9855    var target = getTarget(e), navIndex;
9856    while (target !== navContainer && !hasAttr(target, "data-nav")) {
9857      target = target.parentNode;
9858    }
9859    if (hasAttr(target, "data-nav")) {
9860      var navIndex = navClicked = Number(getAttr(target, "data-nav")), targetIndexBase = fixedWidth || autoWidth ? navIndex * slideCount / pages : navIndex * items, targetIndex = navAsThumbnails ? navIndex : Math.min(Math.ceil(targetIndexBase), slideCount - 1);
9861      goTo(targetIndex, e);
9862      if (navCurrentIndex === navIndex) {
9863        if (animating) {
9864          stopAutoplay();
9865        }
9866        navClicked = -1;
9867      }
9868    }
9869  }
9870  function setAutoplayTimer() {
9871    autoplayTimer = setInterval(function() {
9872      onControlsClick(null, autoplayDirection);
9873    }, autoplayTimeout);
9874    animating = true;
9875  }
9876  function stopAutoplayTimer() {
9877    clearInterval(autoplayTimer);
9878    animating = false;
9879  }
9880  function updateAutoplayButton(action, txt) {
9881    setAttrs(autoplayButton, { "data-action": action });
9882    autoplayButton.innerHTML = autoplayHtmlStrings[0] + action + autoplayHtmlStrings[1] + txt;
9883  }
9884  function startAutoplay() {
9885    setAutoplayTimer();
9886    if (autoplayButton) {
9887      updateAutoplayButton("stop", autoplayText[1]);
9888    }
9889  }
9890  function stopAutoplay() {
9891    stopAutoplayTimer();
9892    if (autoplayButton) {
9893      updateAutoplayButton("start", autoplayText[0]);
9894    }
9895  }
9896  function play() {
9897    if (autoplay && !animating) {
9898      startAutoplay();
9899      autoplayUserPaused = false;
9900    }
9901  }
9902  function pause() {
9903    if (animating) {
9904      stopAutoplay();
9905      autoplayUserPaused = true;
9906    }
9907  }
9908  function toggleAutoplay() {
9909    if (animating) {
9910      stopAutoplay();
9911      autoplayUserPaused = true;
9912    } else {
9913      startAutoplay();
9914      autoplayUserPaused = false;
9915    }
9916  }
9917  function onVisibilityChange() {
9918    if (doc.hidden) {
9919      if (animating) {
9920        stopAutoplayTimer();
9921        autoplayVisibilityPaused = true;
9922      }
9923    } else if (autoplayVisibilityPaused) {
9924      setAutoplayTimer();
9925      autoplayVisibilityPaused = false;
9926    }
9927  }
9928  function mouseoverPause() {
9929    if (animating) {
9930      stopAutoplayTimer();
9931      autoplayHoverPaused = true;
9932    }
9933  }
9934  function mouseoutRestart() {
9935    if (autoplayHoverPaused) {
9936      setAutoplayTimer();
9937      autoplayHoverPaused = false;
9938    }
9939  }
9940  function onDocumentKeydown(e) {
9941    e = getEvent(e);
9942    var keyIndex = [KEYS.LEFT, KEYS.RIGHT].indexOf(e.keyCode);
9943    if (keyIndex >= 0) {
9944      onControlsClick(e, keyIndex === 0 ? -1 : 1);
9945    }
9946  }
9947  function onControlsKeydown(e) {
9948    e = getEvent(e);
9949    var keyIndex = [KEYS.LEFT, KEYS.RIGHT].indexOf(e.keyCode);
9950    if (keyIndex >= 0) {
9951      if (keyIndex === 0) {
9952        if (!prevButton.disabled) {
9953          onControlsClick(e, -1);
9954        }
9955      } else if (!nextButton.disabled) {
9956        onControlsClick(e, 1);
9957      }
9958    }
9959  }
9960  function setFocus(el) {
9961    el.focus();
9962  }
9963  function onNavKeydown(e) {
9964    e = getEvent(e);
9965    var curElement = doc.activeElement;
9966    if (!hasAttr(curElement, "data-nav")) {
9967      return;
9968    }
9969    var keyIndex = [KEYS.LEFT, KEYS.RIGHT, KEYS.ENTER, KEYS.SPACE].indexOf(e.keyCode), navIndex = Number(getAttr(curElement, "data-nav"));
9970    if (keyIndex >= 0) {
9971      if (keyIndex === 0) {
9972        if (navIndex > 0) {
9973          setFocus(navItems[navIndex - 1]);
9974        }
9975      } else if (keyIndex === 1) {
9976        if (navIndex < pages - 1) {
9977          setFocus(navItems[navIndex + 1]);
9978        }
9979      } else {
9980        navClicked = navIndex;
9981        goTo(navIndex, e);
9982      }
9983    }
9984  }
9985  function getEvent(e) {
9986    e = e || win.event;
9987    return isTouchEvent(e) ? e.changedTouches[0] : e;
9988  }
9989  function getTarget(e) {
9990    return e.target || win.event.srcElement;
9991  }
9992  function isTouchEvent(e) {
9993    return e.type.indexOf("touch") >= 0;
9994  }
9995  function preventDefaultBehavior(e) {
9996    e.preventDefault ? e.preventDefault() : e.returnValue = false;
9997  }
9998  function getMoveDirectionExpected() {
9999    return getTouchDirection(toDegree(lastPosition.y - initPosition.y, lastPosition.x - initPosition.x), swipeAngle) === options.axis;
10000  }
10001  function onPanStart(e) {
10002    if (running) {
10003      if (preventActionWhenRunning) {
10004        return;
10005      } else {
10006        onTransitionEnd();
10007      }
10008    }
10009    if (autoplay && animating) {
10010      stopAutoplayTimer();
10011    }
10012    panStart = true;
10013    if (rafIndex) {
10014      caf(rafIndex);
10015      rafIndex = null;
10016    }
10017    var $ = getEvent(e);
10018    events.emit(isTouchEvent(e) ? "touchStart" : "dragStart", info(e));
10019    if (!isTouchEvent(e) && ["img", "a"].indexOf(getLowerCaseNodeName(getTarget(e))) >= 0) {
10020      preventDefaultBehavior(e);
10021    }
10022    lastPosition.x = initPosition.x = $.clientX;
10023    lastPosition.y = initPosition.y = $.clientY;
10024    if (carousel) {
10025      translateInit = parseFloat(container.style[transformAttr].replace(transformPrefix, ""));
10026      resetDuration(container, "0s");
10027    }
10028  }
10029  function onPanMove(e) {
10030    if (panStart) {
10031      var $ = getEvent(e);
10032      lastPosition.x = $.clientX;
10033      lastPosition.y = $.clientY;
10034      if (carousel) {
10035        if (!rafIndex) {
10036          rafIndex = raf(function() {
10037            panUpdate(e);
10038          });
10039        }
10040      } else {
10041        if (moveDirectionExpected === "?") {
10042          moveDirectionExpected = getMoveDirectionExpected();
10043        }
10044        if (moveDirectionExpected) {
10045          preventScroll = true;
10046        }
10047      }
10048      if ((typeof e.cancelable !== "boolean" || e.cancelable) && preventScroll) {
10049        e.preventDefault();
10050      }
10051    }
10052  }
10053  function panUpdate(e) {
10054    if (!moveDirectionExpected) {
10055      panStart = false;
10056      return;
10057    }
10058    caf(rafIndex);
10059    if (panStart) {
10060      rafIndex = raf(function() {
10061        panUpdate(e);
10062      });
10063    }
10064    if (moveDirectionExpected === "?") {
10065      moveDirectionExpected = getMoveDirectionExpected();
10066    }
10067    if (moveDirectionExpected) {
10068      if (!preventScroll && isTouchEvent(e)) {
10069        preventScroll = true;
10070      }
10071      try {
10072        if (e.type) {
10073          events.emit(isTouchEvent(e) ? "touchMove" : "dragMove", info(e));
10074        }
10075      } catch (err) {
10076      }
10077      var x = translateInit, dist = getDist(lastPosition, initPosition);
10078      if (!horizontal || fixedWidth || autoWidth) {
10079        x += dist;
10080        x += "px";
10081      } else {
10082        var percentageX = TRANSFORM ? dist * items * 100 / ((viewport + gutter) * slideCountNew) : dist * 100 / (viewport + gutter);
10083        x += percentageX;
10084        x += "%";
10085      }
10086      container.style[transformAttr] = transformPrefix + x + transformPostfix;
10087    }
10088  }
10089  function onPanEnd(e) {
10090    if (panStart) {
10091      if (rafIndex) {
10092        caf(rafIndex);
10093        rafIndex = null;
10094      }
10095      if (carousel) {
10096        resetDuration(container, "");
10097      }
10098      panStart = false;
10099      var $ = getEvent(e);
10100      lastPosition.x = $.clientX;
10101      lastPosition.y = $.clientY;
10102      var dist = getDist(lastPosition, initPosition);
10103      if (Math.abs(dist)) {
10104        if (!isTouchEvent(e)) {
10105          var target = getTarget(e);
10106          addEvents(target, { "click": function preventClick(e2) {
10107            preventDefaultBehavior(e2);
10108            removeEvents(target, { "click": preventClick });
10109          } });
10110        }
10111        if (carousel) {
10112          rafIndex = raf(function() {
10113            if (horizontal && !autoWidth) {
10114              var indexMoved = -dist * items / (viewport + gutter);
10115              indexMoved = dist > 0 ? Math.floor(indexMoved) : Math.ceil(indexMoved);
10116              index += indexMoved;
10117            } else {
10118              var moved = -(translateInit + dist);
10119              if (moved <= 0) {
10120                index = indexMin;
10121              } else if (moved >= slidePositions[slideCountNew - 1]) {
10122                index = indexMax;
10123              } else {
10124                var i = 0;
10125                while (i < slideCountNew && moved >= slidePositions[i]) {
10126                  index = i;
10127                  if (moved > slidePositions[i] && dist < 0) {
10128                    index += 1;
10129                  }
10130                  i++;
10131                }
10132              }
10133            }
10134            render(e, dist);
10135            events.emit(isTouchEvent(e) ? "touchEnd" : "dragEnd", info(e));
10136          });
10137        } else {
10138          if (moveDirectionExpected) {
10139            onControlsClick(e, dist > 0 ? -1 : 1);
10140          }
10141        }
10142      }
10143    }
10144    if (options.preventScrollOnTouch === "auto") {
10145      preventScroll = false;
10146    }
10147    if (swipeAngle) {
10148      moveDirectionExpected = "?";
10149    }
10150    if (autoplay && !animating) {
10151      setAutoplayTimer();
10152    }
10153  }
10154  function updateContentWrapperHeight() {
10155    var wp = middleWrapper ? middleWrapper : innerWrapper;
10156    wp.style.height = slidePositions[index + items] - slidePositions[index] + "px";
10157  }
10158  function getPages() {
10159    var rough = fixedWidth ? (fixedWidth + gutter) * slideCount / viewport : slideCount / items;
10160    return Math.min(Math.ceil(rough), slideCount);
10161  }
10162  function updateNavVisibility() {
10163    if (!nav || navAsThumbnails) {
10164      return;
10165    }
10166    if (pages !== pagesCached) {
10167      var min = pagesCached, max = pages, fn = showElement;
10168      if (pagesCached > pages) {
10169        min = pages;
10170        max = pagesCached;
10171        fn = hideElement;
10172      }
10173      while (min < max) {
10174        fn(navItems[min]);
10175        min++;
10176      }
10177      pagesCached = pages;
10178    }
10179  }
10180  function info(e) {
10181    return {
10182      container,
10183      slideItems,
10184      navContainer,
10185      navItems,
10186      controlsContainer,
10187      hasControls,
10188      prevButton,
10189      nextButton,
10190      items,
10191      slideBy,
10192      cloneCount,
10193      slideCount,
10194      slideCountNew,
10195      index,
10196      indexCached,
10197      displayIndex: getCurrentSlide(),
10198      navCurrentIndex,
10199      navCurrentIndexCached,
10200      pages,
10201      pagesCached,
10202      sheet,
10203      isOn,
10204      event: e || {}
10205    };
10206  }
10207  return {
10208    version: "2.9.4",
10209    getInfo: info,
10210    events,
10211    goTo,
10212    play,
10213    pause,
10214    isOn,
10215    updateSliderHeight: updateInnerWrapperHeight,
10216    refresh: initSliderTransform,
10217    destroy,
10218    rebuild: function() {
10219      return tns(extend(options, optionsElements));
10220    }
10221  };
10222};
10223
10224;// ./js/common/TinySliderRunner.ts
10225var __defProp = Object.defineProperty;
10226var __getOwnPropSymbols = Object.getOwnPropertySymbols;
10227var __hasOwnProp = Object.prototype.hasOwnProperty;
10228var __propIsEnum = Object.prototype.propertyIsEnumerable;
10229var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
10230var __spreadValues = (a, b) => {
10231  for (var prop in b || (b = {}))
10232    if (__hasOwnProp.call(b, prop))
10233      __defNormalProp(a, prop, b[prop]);
10234  if (__getOwnPropSymbols)
10235    for (var prop of __getOwnPropSymbols(b)) {
10236      if (__propIsEnum.call(b, prop))
10237        __defNormalProp(a, prop, b[prop]);
10238    }
10239  return a;
10240};
10241var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
10242
10243
10244
10245class TinySliderRunner {
10246  constructor(container, items, optionsArg) {
10247    __publicField(this, "container");
10248    __publicField(this, "slider");
10249    __publicField(this, "options");
10250    items = items || 1;
10251    const options = __spreadValues({
10252      responsive: {},
10253      loop: true,
10254      nav: false,
10255      controls: true,
10256      autoHeight: true,
10257      lazyload: true
10258    }, optionsArg);
10259    this.container = container;
10260    this.options = {
10261      container,
10262      items,
10263      autoHeight: options.autoHeight,
10264      nav: options.nav,
10265      navPosition: "bottom",
10266      mouseDrag: true,
10267      controls: options.controls,
10268      controlsPosition: "bottom",
10269      controlsText: [`
10270                <span>
10271                    <span class="sr-only">Previous</span>
10272                    <svg role="document"
10273                        aria-hidden="true"
10274                        xmlns="http://www.w3.org/2000/svg"
10275                        xmlns:xlink="http://www.w3.org/1999/xlink"
10276                        class="icon icon--ico_arrow_right">
10277                        <use xlink:href="${ResourcePrefix/* RESOURCE_PREFIX */.e}/img/sprite.svg#ico_arrow_right"></use>
10278                    </svg>
10279                </span>
10280                `, `
10281                <span>
10282                    <span class="sr-only">Next</span>
10283                    <svg role="document"
10284                        aria-hidden="true"
10285                        xmlns="http://www.w3.org/2000/svg"
10286                        xmlns:xlink="http://www.w3.org/1999/xlink"
10287                        class="icon icon--ico_arrow_right">
10288                        <use xlink:href="${ResourcePrefix/* RESOURCE_PREFIX */.e}/img/sprite.svg#ico_arrow_right"></use>
10289                    </svg>
10290                </span>
10291                `],
10292      loop: options.loop,
10293      lazyload: options.lazyload,
10294      lazyloadSelector: "img",
10295      responsive: options.responsive,
10296      autoplay: options.autoplay,
10297      autoplayTimeout: options.autoplayTimeout,
10298      autoplayButtonOutput: false
10299    };
10300  }
10301  init() {
10302    const slider = tns(this.options);
10303    this.slider = slider;
10304    this.container.addEventListener("mouseenter", () => slider.pause());
10305    this.container.addEventListener("mouseleave", () => slider.play());
10306  }
10307  destroy() {
10308    this.slider.destroy();
10309  }
10310  rebuild() {
10311    this.slider = this.slider.rebuild();
10312  }
10313}
10314
10315// EXTERNAL MODULE: ./js/flash-sale-box/init.ts + 1 modules
10316var init = __webpack_require__(43738);
10317;// ./js/common/lazyload-images.ts
10318var lazyload_images_defProp = Object.defineProperty;
10319var lazyload_images_defNormalProp = (obj, key, value) => key in obj ? lazyload_images_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
10320var lazyload_images_publicField = (obj, key, value) => lazyload_images_defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
10321class Lazyload {
10322  constructor() {
10323    lazyload_images_publicField(this, "count");
10324    lazyload_images_publicField(this, "io");
10325    this.count = 0;
10326    this.io = new IntersectionObserver((entries) => {
10327      entries.forEach((entry) => {
10328        const element = entry.target;
10329        if (entry.isIntersecting && element.dataset.src) {
10330          if (element instanceof HTMLImageElement && typeof element.naturalHeight !== "undefined") {
10331            element.src = element.dataset.src;
10332          } else {
10333            element.style.backgroundImage = element.dataset.src;
10334          }
10335          element.classList.add("loaded");
10336          this.io.unobserve(element);
10337          this.count--;
10338        }
10339      });
10340    });
10341  }
10342  addImage(image) {
10343    this.count++;
10344    this.io.observe(image);
10345  }
10346  // checkIfFinished() {
10347  //     if (!this.count) {
10348  //         this.io.disconnect();
10349  //     }
10350  // }
10351}
10352const lazyload = new Lazyload();
10353function lazyloadImages(images) {
10354  images.forEach((image) => {
10355    lazyload.addImage(image);
10356  });
10357}
10358const commonLazyloadImages = () => lazyloadImages(document.querySelectorAll(".lazyload"));
10359
10360;// ./js/common/lazycall.ts
10361var lazycall_defProp = Object.defineProperty;
10362var lazycall_defNormalProp = (obj, key, value) => key in obj ? lazycall_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
10363var lazycall_publicField = (obj, key, value) => lazycall_defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
10364class Lazycall {
10365  constructor(todo) {
10366    lazycall_publicField(this, "count");
10367    lazycall_publicField(this, "io");
10368    this.count = 0;
10369    this.io = new IntersectionObserver((entries) => {
10370      entries.forEach((entry) => {
10371        const element = entry.target;
10372        if (entry.isIntersecting) {
10373          if (todo(element)) {
10374            this.io.unobserve(element);
10375            this.count--;
10376            this.checkIfFinished();
10377          }
10378        }
10379      });
10380    });
10381  }
10382  addElement(el) {
10383    this.count++;
10384    this.io.observe(el);
10385  }
10386  checkIfFinished() {
10387    if (!this.count) {
10388      this.io.disconnect();
10389    }
10390  }
10391}
10392
10393// EXTERNAL MODULE: ./js/flash-sale-box/flash-sale.ts
10394var flash_sale = __webpack_require__(21957);
10395// EXTERNAL MODULE: ../node_modules/react/index.js
10396var react = __webpack_require__(52568);
10397;// ./js/common/SvgSprite.tsx
10398
10399
10400class SvgSprite extends react.Component {
10401  constructor(props) {
10402    super(props);
10403    this.state;
10404  }
10405  render() {
10406    let screen = "";
10407    if (this.props.screen) {
10408      screen += `${this.props.screen}-`;
10409    }
10410    return /* @__PURE__ */ react.createElement(
10411      "svg",
10412      {
10413        role: this.props.role || "img",
10414        xmlns: "http://www.w3.org/2000/svg",
10415        xmlnsXlink: "http://www.w3.org/1999/xlink",
10416        className: `${this.props.additionalClasses || ""} icon icon--${this.props.icon}`,
10417        style: {
10418          color: this.props.color
10419        }
10420      },
10421      /* @__PURE__ */ react.createElement("use", { xlinkHref: `${ResourcePrefix/* RESOURCE_PREFIX */.e}/img/${screen}sprite.svg#${this.props.icon}` })
10422    );
10423  }
10424}
10425
10426// EXTERNAL MODULE: ./js/common/api-helper.ts
10427var api_helper = __webpack_require__(9645);
10428;// ./js/common/FieldError/FieldError.tsx
10429
10430class FieldError extends react.PureComponent {
10431  render() {
10432    const { children, additionalClass } = this.props;
10433    if (children) {
10434      return /* @__PURE__ */ react.createElement("span", { className: "FieldError" + (additionalClass ? " " + additionalClass : "") }, children);
10435    } else {
10436      return null;
10437    }
10438  }
10439}
10440
10441// EXTERNAL MODULE: ../node_modules/classnames/index.js
10442var classnames = __webpack_require__(80857);
10443var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
10444;// ./js/common/HField/HField.tsx
10445var HField_defProp = Object.defineProperty;
10446var HField_defNormalProp = (obj, key, value) => key in obj ? HField_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
10447var HField_publicField = (obj, key, value) => HField_defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
10448
10449
10450class HField extends react.PureComponent {
10451  render() {
10452    const { error, header, label, children, className, hidden } = this.props;
10453    const classes = classnames_default()({
10454      "HField__item": true,
10455      "HField__error": error,
10456      "HField__item--hidden": hidden,
10457      [className || ""]: !!className
10458    });
10459    const labelWithLineBreak = /* @__PURE__ */ react.createElement(react.Fragment, null, /* @__PURE__ */ react.createElement("br", null), /* @__PURE__ */ react.createElement(
10460      "span",
10461      {
10462        className: "HField__label-gray"
10463      },
10464      label
10465    ));
10466    return /* @__PURE__ */ react.createElement("div", { className: classes }
10466, header !== void 0 || label ? /* @__PURE__ */ react.createElement("label", { className: "HField__label" }, header ? `${header}:` : "", " ", label ? labelWithLineBreak : "") : null, /* @__PURE__ */ react.createElement("div", { className: "HField__input-error-pair" }, children));
10467  }
10468}
10469HField_publicField(HField, "defaultProps", {
10470  hidden: false
10471});
10472
10473// EXTERNAL MODULE: ./js/common/i18n.ts
10474var i18n = __webpack_require__(47578);
10475;// ./js/common/i18n-utils.ts
10476
10477const safeI18nGet = (key) => {
10478  try {
10479    return i18n/* default */.A.get(key);
10480  } catch (_err) {
10481    return key;
10482  }
10483};
10484function fieldErrorMessageGetter(data, scope) {
10485  return (fieldName) => {
10486    const errorCode = data[fieldName];
10487    if (!errorCode) {
10488      return null;
10489    }
10490    if (scope) {
10491      return safeI18nGet(`${scope}.${errorCode}`);
10492    }
10493    return errorCode;
10494  };
10495}
10496
10497;// ./js/for_students/Mailing.tsx
10498
10499
10500
10501
10502
10503
10504
10505
10506class Mailing extends react.Component {
10507  constructor(props) {
10508    super(props);
10509    this.state = {
10510      email: "",
10511      isSubmitting: false,
10512      validationErrors: {}
10513    };
10514    this.handleEmailChanged = this.handleEmailChanged.bind(this);
10515    this.handleSubmit = this.handleSubmit.bind(this);
10516  }
10517  render() {
10518    const getError = (fieldName) => this.state.validationErrors[fieldName];
10519    const hasError = (fieldName) => !!getError(fieldName);
10520    const getFieldErrorMessage = fieldErrorMessageGetter(this.state.validationErrors, "");
10521    return /* @__PURE__ */ react.createElement("div", { className: "Mailing" }, /* @__PURE__ */ react.createElement("div", { className: "Mailing__layout" }, /* @__PURE__ */ react.createElement("div", { className: "Mailing__header" }, /* @__PURE__ */ react.createElement("h2", { className: "Mailing__heading" }, i18n/* default */.A.get("layout.mailing.header"))), /* @__PURE__ */ react.createElement("div", { className: "Mailing__content" }, /* @__PURE__ */ react.createElement("div", { className: "Mailing__input" }, /* @__PURE__ */ react.createElement(HField, { error: hasError("email") }, /* @__PURE__ */ react.createElement("div", { className: "input-field" }, /* @__PURE__ */ react.createElement(
10522      "input",
10523      {
10524        type: "email",
10525        name: "newsletter-email",
10526        id: "newsletter-email",
10527        value: this.state.email,
10528        className: this.state.email ? "state-not-blank" : "",
10529        onKeyDown: (e) => {
10530          if (this.state.email === "" || this.state.isSubmitting) {
10531            return;
10532          }
10533          if (e.key === "Enter") {
10534            this.handleSubmit();
10535          }
10536        },
10537        onChange: this.handleEmailChanged
10538      }
10539    ), /* @__PURE__ */ react.createElement("label", { htmlFor: "newsletter-email" }, /* @__PURE__ */ react.createElement(SvgSprite, { icon: "ico_mail", color: hasError("email") ? "#FF3B30" : void 0 }), i18n/* default */.A.get("layout.mailing.form.email")))), /* @__PURE__ */ react.createElement("button", { className: "Mailing__button", onClick: this.handleSubmit, disabled: this.state.isSubmitting, "aria-label": i18n/* default */.A.get("layout.mailing.button.subscribe") }, /* @__PURE__ */ react.createElement("img", { src: `${ResourcePrefix/* RESOURCE_PREFIX */.e}/img/new/icon/send--white.svg`, width: "32", height: "33", alt: "" }), /* @__PURE__ */ react.createElement("span", null, i18n/* default */.A.get("layout.mailing.button.subscribe")))), /* @__PURE__ */ react.createElement(FieldError, null, getFieldErrorMessage("email")), /* @__PURE__ */ react.createElement("p", { className: "Mailing__description", dangerouslySetInnerHTML: { __html: i18n/* default */.A.get("layout.mailing.description") } }))));
10540  }
10541  /*:: handleEmailChanged: Function; */
10542  handleEmailChanged(evt) {
10543    this.setState({
10544      email: evt.target.value
10545    });
10546  }
10547  /*:: handleSubmit: Function; */
10548  handleSubmit() {
10549    if (!this.state.isSubmitting) {
10550      this.setState({
10551        isSubmitting: true
10552      });
10553      (0,api_helper/* post */.bE)("/v1/mailchimp/blog-subscribe", {
10554        email: this.state.email
10555      }).then(api_helper/* handleJson */.hQ).then((data) => {
10556        if (data.status === "error") {
10557          this.setState({
10558            validationErrors: {
10559              email: data.message
10560            }
10561          });
10562        } else {
10563          this.setState({
10564            validationErrors: {},
10565            email: ""
10566          });
10567        }
10568      }).finally(() => this.setState({
10569        isSubmitting: false
10570      }));
10571    }
10572  }
10573}
10574
10575// EXTERNAL MODULE: ../node_modules/react-dom/index.js
10576var react_dom = __webpack_require__(24397);
10577;// ./js/common/mailing-util.tsx
10578
10579
10580
10581
10582const INIT_MAILING = true;
10583const lazyInitMailing = () => {
10584  if (!INIT_MAILING) {
10585    return;
10586  }
10587  const root = document.querySelector(".js-footer-newsletter");
10588  if (!root) {
10589    return;
10590  }
10591  new Lazycall((root2) => {
10592    react_dom.render(/* @__PURE__ */ react.createElement(Mailing, null), root2);
10593    return true;
10594  }).addElement(root);
10595};
10596
10597;// ./js/main-page/init.ts
10598
10599
10600
10601
10602
10603
10604
10605function rovingTabindex(element, selector) {
10606  const elements = element.querySelectorAll(selector);
10607  element.addEventListener("keydown", (e) => {
10608    let focusIndex = Array.prototype.findIndex.call(elements, (tab) => tab.getAttribute("tabindex") === "0");
10609    if (e.key === "ArrowRight" || e.key === "ArrowLeft") {
10610      elements[focusIndex].setAttribute("tabindex", "-1");
10611      if (e.key === "ArrowRight") {
10612        focusIndex++;
10613        if (focusIndex >= elements.length) {
10614          focusIndex = 0;
10615        }
10616      } else if (e.key === "ArrowLeft") {
10617        focusIndex--;
10618        if (focusIndex < 0) {
10619          focusIndex = elements.length - 1;
10620        }
10621      }
10622      elements[focusIndex].setAttribute("tabindex", "0");
10623      elements[focusIndex].focus();
10624    }
10625  });
10626}
10627function wcagTabs(container) {
10628  if (!container) {
10629    return;
10630  }
10631  const tabList = container.querySelector('[role="tablist"]');
10632  if (!tabList) {
10633    return;
10634  }
10635  rovingTabindex(tabList, '[role="tab"]');
10636  const tabs = tabList.querySelectorAll('[role="tab"]');
10637  const tabPanel = container.querySelectorAll('[role="tabpanel"]');
10638  tabs.forEach((tab) => tab.addEventListener("click", changeTabs));
10639  function changeTabs(e) {
10640    var _a;
10641    const currentTarget = e.currentTarget;
10642    tabs.forEach((t) => {
10643      t.setAttribute("aria-selected", "false");
10644      t.setAttribute("tabindex", "-1");
10645    });
10646    currentTarget.setAttribute("aria-selected", "true");
10647    currentTarget.setAttribute("tabindex", "0");
10648    tabPanel.forEach((p) => p.setAttribute("hidden", "true"));
10649    (_a = container == null ? void 0 : container.querySelector(`#${currentTarget.getAttribute("aria-controls")}`)) == null ? void 0 : _a.removeAttribute("hidden");
10650  }
10651}
10652function init_init() {
10653  commonLazyloadImages();
10654  lazyInitMailing();
10655  wcagTabs(document.getElementById("for-pros"));
10656  (() => {
10657    const modalOpenButton = document.querySelector(".js-video-modal-open-button");
10658    const modalCloseButton = document.querySelector(".js-video-modal-close-button");
10659    const modal = document.getElementById("video-modal");
10660    if (!(modalOpenButton && modalCloseButton && modal)) {
10661      return;
10662    }
10663    modalOpenButton.addEventListener("click", () => {
10664      var _a;
10665      modal.removeAttribute("hidden");
10666      modalCloseButton.focus();
10667      const img = modal.querySelector("img[data-video]");
10668      const videoSrc = img.dataset.video;
10669      (_a = img.parentNode) == null ? void 0 : _a.appendChild(Object.assign(document.createElement("iframe"), {
10670        src: videoSrc,
10671        frameborder: "0",
10672        allow: "autoplay; fullscreen; picture-in-picture",
10673        allowfullscreen: "allowfullscreen"
10674      }));
10675    });
10676    modalCloseButton.addEventListener("click", () => {
10677      var _a;
10678      modal.toggleAttribute("hidden", true);
10679      modalOpenButton.focus();
10680      (_a = modal.querySelector("iframe")) == null ? void 0 : _a.remove();
10681    });
10682  })();
10683  let list = document.querySelector(".learningPathSection__list");
10684  if (list) {
10685    new Lazycall((root) => {
10686      let tinyRunner = null;
10687      const mediaQueryList = window.matchMedia("(min-width: 768px)");
10688      const make = () => {
10689        if (!tinyRunner) {
10690          const options = {
10691            controls: false
10692          };
10693          tinyRunner = new TinySliderRunner(root, 1, options);
10694          lazyloadImages(list.querySelectorAll(".tns-slide-cloned .lazyload"));
10695          tinyRunner.init();
10696        } else {
10697          tinyRunner.rebuild();
10698        }
10699      };
10700      const cleanup = () => {
10701        tinyRunner == null ? void 0 : tinyRunner.destroy();
10702        list = document.querySelector(".learningPathSection__list");
10703        lazyloadImages(list.querySelectorAll(".lazyload"));
10704      };
10705      mediaQueryList.addEventListener("change", (e) => {
10706        if (!e.matches) {
10707          make();
10708        } else {
10709          cleanup();
10710        }
10711      });
10712      if (!mediaQueryList.matches) {
10713        make();
10714      }
10715      return true;
10716    }).addElement(list);
10717  }
10718}
10719
10720const code = () => {
10721  init_init();
10722  (0,init.initFlashSaleBox)("flash-sale-box");
10723  (0,flash_sale/* getFlashSaleData */.IF)().then((data) => {
10724    (0,init.initFlashSaleCounter)(data.flashSaleRemainingTime, ".homeIntroSection__timer");
10725  });
10726};
10727if (document.readyState !== "loading") {
10728  code();
10729} else {
10730  document.addEventListener("DOMContentLoaded", code);
10731}
10732
10733})();
10734
10735MainPage = __webpack_exports__;
10736/******/ })()
10737;

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.