sixseconds-modules 1.6.164 → 1.6.169

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -3,21 +3,23 @@
3
3
  try {
4
4
  if (typeof document != "undefined") {
5
5
  var elementStyle = document.createElement("style");
6
- elementStyle.appendChild(document.createTextNode('@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@100;200;300;400;500;600;700&display=swap");\n\n.sixseconds-header-root blockquote,\n.sixseconds-header-root dl,\n.sixseconds-header-root dd,\n.sixseconds-header-root h1,\n.sixseconds-header-root h2,\n.sixseconds-header-root h3,\n.sixseconds-header-root h4,\n.sixseconds-header-root h5,\n.sixseconds-header-root h6,\n.sixseconds-header-root hr,\n.sixseconds-header-root figure,\n.sixseconds-header-root p,\n.sixseconds-header-root pre,\n.sixseconds-header-root span,\n.sixseconds-header-root a,\n.sixseconds-header-root div,\n.sixseconds-header-root li,\n.sixseconds-header-root button {\n font-family: "IBM Plex Sans", sans-serif !important;\n}\n\n.sixseconds-header-main-list-menu {\n display: flex;\n}\n\n.sixseconds-header-main-list-menu li {\n padding: 0.5rem 0.5rem;\n}\n\n.sixseconds-header-main-list-menu li a {\n padding: 0 0.25rem;\n font-weight: 500;\n font-size: 14px;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-item {\n position: relative;\n padding: 15px;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-link {\n text-decoration: none;\n color: #1a1c1e;\n transition: color 0.3s ease;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-link:hover {\n color: #0073b1;\n}\n\n/* Submenu (Dropdown) */\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-data {\n position: absolute;\n top: 85%;\n left: 0;\n background: white;\n border: 1px solid #e0e0e0;\n box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);\n display: none;\n min-width: 220px;\n z-index: 1000;\n border-radius: 12px;\n overflow: hidden;\n padding: 8px 0;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-data li {\n list-style: none;\n padding: 0;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-link {\n display: block;\n padding: 10px 16px;\n text-decoration: none;\n color: #1a1c1e;\n font-weight: 400;\n font-size: 14px;\n transition: background 0.2s ease;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-link:hover {\n background: #f8f9fa;\n color: #0073b1;\n}\n\n/* Show dropdown on hover */\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-item:hover .sixseconds-header-submenu-data {\n display: block;\n}\n\n.sixseconds-header-small-device-menu {\n display: none;\n width: 100%;\n left: 0;\n top: 64px;\n background-color: #fff;\n position: fixed;\n overflow-y: auto;\n height: 95vh;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);\n}\n\n.sixseconds-header-small-device-menu a.sixseconds-header-bg-main-menu {\n display: block;\n text-decoration: none;\n}\n\n.sixseconds-header-submenu-child li {\n padding: 0.5rem 0;\n}\n\n.sixseconds-header-submenu-child li a {\n text-decoration: none;\n}\n\n.sixseconds-header-layout-mobile-menu {\n padding-bottom: 12px;\n padding-inline: 0;\n height: 95vh;\n overflow-y: auto;\n padding-top: 8px;\n}\n\n.sixseconds-header-small-device-menu a {\n background-color: transparent;\n font-size: 15px;\n font-weight: 500;\n color: #1a1c1e;\n margin-bottom: 4px;\n padding: 12px 16px;\n border-bottom: 1px solid #f1f3f4;\n}\n\n.sixseconds-header-small-device-menu .sixseconds-header-submenu-child {\n padding-left: 0px;\n min-width: 90%;\n max-width: 90%;\n top: 57px;\n margin-top: 8px;\n background-color: #fff;\n color: #1a1c1e;\n margin-inline: auto;\n}\n\n.sixseconds-header-small-device-menu ul li .sixseconds-header-submenu-child-link {\n padding: 12px 20px;\n}\n\n.sixseconds-header-small-device-menu ul li a {\n background-color: transparent;\n color: #5f6368;\n}\n\n.sixseconds-header-small-device-menu ul {\n padding-left: 15px;\n}\n\n.sixseconds-header-desktop-menu {\n display: flex;\n}\n\n.sixseconds-header-button-hamburger {\n display: none;\n position: absolute;\n right: 20px;\n top: 18px;\n z-index: 9;\n}\n\n.tox-editor-header {\n background-color: transparent;\n}\n\n.sixseconds-header-hamburger-icon-btn {\n padding: 8px;\n color: #5f6368;\n}\n\n.sixseconds-header-desktop-menu .sixseconds-header-menu-item .sixseconds-header-menu-link {\n font-size: 14px;\n font-weight: 500;\n}\n\n.sixseconds-header-small-device-menu {\n padding-inline: 20px;\n}\n\n@media screen and (max-width: 600px) and (min-width: 320px) {\n .sixseconds-header-notification-icon-error .MuiBadge-badge {\n font-size: 10px;\n padding: 0 4px;\n min-width: 16px;\n right: 5px;\n background-color: #d32f2f;\n }\n\n .sixseconds-header-submenu nav {\n padding: 0 !important;\n }\n\n .MuiPagination-root.MuiPagination-outlined {\n display: flex;\n justify-content: center;\n margin-left: 0;\n }\n\n .sixseconds-header-toggle-btn-menu {\n position: absolute;\n right: 20px;\n top: 12px;\n z-index: 99;\n }\n\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-desktop-menu {\n display: none;\n }\n\n .sixseconds-header-small-device-menu {\n display: block;\n width: 100%;\n position: fixed;\n left: 0;\n background: #fff;\n top: 64px;\n }\n\n .main.sixseconds-header-login-page .sixseconds-header-login-body {\n width: 90% !important;\n }\n\n .sixseconds-header-submenu {\n width: 100%;\n max-width: 100% !important;\n }\n\n .sixseconds-header-sidebar {\n width: 280px !important;\n background-color: #f9fafb;\n z-index: 99;\n border-right: 1px solid #e0e0e0;\n }\n\n .sixseconds-header-sidemenu {\n width: 280px;\n background-color: #f9fafb;\n }\n\n .sixseconds-header-logo {\n opacity: 1;\n }\n\n .sixseconds-header-profile .sixseconds-header-menu {\n min-width: 280px;\n width: 100% !important;\n }\n}\n\n@media screen and (max-width: 1024px) and (min-width: 600px) {\n .sixseconds-header-toggle-btn-menu {\n position: absolute;\n right: 20px;\n top: 12px;\n }\n\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-desktop-menu {\n display: none;\n }\n\n .sixseconds-header-small-device-menu {\n display: block;\n }\n\n .main.sixseconds-header-login-page .sixseconds-header-login-body {\n width: 450px !important;\n }\n\n .sixseconds-header-banner {\n margin-left: 0 !important;\n }\n\n .sixseconds-header-submenu {\n width: 100%;\n max-width: 100% !important;\n }\n\n .sixseconds-header-sidebar {\n width: 280px !important;\n background-color: #f9fafb;\n z-index: 99;\n }\n\n .sixseconds-header-sidemenu {\n width: 280px;\n background-color: #f9fafb;\n }\n\n .sixseconds-header-logo {\n opacity: 1;\n }\n\n .sixseconds-header-profile .sixseconds-header-menu {\n min-width: 280px;\n width: 100% !important;\n }\n}\n\n@media screen and (max-width: 1380px) and (min-width: 1024px) {\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-desktop-menu {\n display: none;\n }\n\n .sixseconds-header-small-device-menu {\n display: block;\n width: 100%;\n position: fixed;\n left: 0;\n background: #fff;\n top: 64px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n}'));
6
+ elementStyle.appendChild(document.createTextNode('@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@100;200;300;400;500;600;700&display=swap");\n\n.sixseconds-header-root blockquote,\n.sixseconds-header-root dl,\n.sixseconds-header-root dd,\n.sixseconds-header-root h1,\n.sixseconds-header-root h2,\n.sixseconds-header-root h3,\n.sixseconds-header-root h4,\n.sixseconds-header-root h5,\n.sixseconds-header-root h6,\n.sixseconds-header-root hr,\n.sixseconds-header-root figure,\n.sixseconds-header-root p,\n.sixseconds-header-root pre,\n.sixseconds-header-root span,\n.sixseconds-header-root a,\n.sixseconds-header-root div,\n.sixseconds-header-root li,\n.sixseconds-header-root button {\n font-family: "IBM Plex Sans", sans-serif !important;\n}\n\n.sixseconds-header-main-list-menu {\n display: flex;\n}\n\n.sixseconds-header-main-list-menu li {\n padding: 0.5rem 0.5rem;\n}\n\n.sixseconds-header-main-list-menu li a {\n padding: 0 0.25rem;\n font-weight: 500;\n font-size: 14px;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-item {\n position: relative;\n padding: 15px;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-link {\n text-decoration: none;\n color: #1a1c1e;\n transition: color 0.3s ease;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-link:hover {\n color: #0073b1;\n}\n\n/* Submenu (Dropdown) */\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-data {\n position: absolute;\n top: 85%;\n left: 0;\n background: white;\n border: 1px solid #e0e0e0;\n box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);\n display: none;\n min-width: 220px;\n z-index: 1000;\n border-radius: 12px;\n overflow: hidden;\n padding: 8px 0;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-data li {\n list-style: none;\n padding: 0;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-link {\n display: block;\n padding: 10px 16px;\n text-decoration: none;\n color: #1a1c1e;\n font-weight: 400;\n font-size: 14px;\n transition: background 0.2s ease;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-link:hover {\n background: #f8f9fa;\n color: #0073b1;\n}\n\n/* Show dropdown on hover */\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-item:hover .sixseconds-header-submenu-data {\n display: block;\n}\n\n.sixseconds-header-small-device-menu {\n display: none;\n width: 100%;\n left: 0;\n top: 64px;\n background-color: #fff;\n position: fixed;\n overflow-y: auto;\n height: 95vh;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);\n}\n\n.sixseconds-header-small-device-menu a.sixseconds-header-bg-main-menu {\n display: block;\n text-decoration: none;\n}\n\n.sixseconds-header-submenu-child li {\n padding: 0.5rem 0;\n}\n\n.sixseconds-header-submenu-child li a {\n text-decoration: none;\n}\n\n.sixseconds-header-layout-mobile-menu {\n padding-bottom: 12px;\n padding-inline: 0;\n height: 95vh;\n overflow-y: auto;\n padding-top: 8px;\n}\n\n.sixseconds-header-small-device-menu a {\n background-color: transparent;\n font-size: 15px;\n font-weight: 500;\n color: #1a1c1e;\n margin-bottom: 4px;\n padding: 12px 16px;\n border-bottom: 1px solid #f1f3f4;\n}\n\n.sixseconds-header-small-device-menu .sixseconds-header-submenu-child {\n padding-left: 0px;\n min-width: 90%;\n max-width: 90%;\n top: 57px;\n margin-top: 8px;\n background-color: #fff;\n color: #1a1c1e;\n margin-inline: auto;\n}\n\n.sixseconds-header-small-device-menu ul li .sixseconds-header-submenu-child-link {\n padding: 12px 20px;\n}\n\n.sixseconds-header-small-device-menu ul li a {\n background-color: transparent;\n color: #5f6368;\n}\n\n.sixseconds-header-small-device-menu ul {\n padding-left: 15px;\n}\n\n.sixseconds-header-desktop-menu {\n display: flex;\n}\n\n.sixseconds-header-button-hamburger {\n display: none;\n position: absolute;\n right: 20px;\n top: 18px;\n z-index: 9;\n}\n\n.sixseconds-header-root .tox-editor-header {\n background-color: transparent;\n}\n\n.sixseconds-header-hamburger-icon-btn {\n padding: 8px;\n color: #5f6368;\n}\n\n.sixseconds-header-desktop-menu .sixseconds-header-menu-item .sixseconds-header-menu-link {\n font-size: 14px;\n font-weight: 500;\n}\n\n.sixseconds-header-small-device-menu {\n padding-inline: 20px;\n}\n\n@media screen and (max-width: 600px) and (min-width: 320px) {\n .sixseconds-header-notification-icon-error .MuiBadge-badge {\n font-size: 10px;\n padding: 0 4px;\n min-width: 16px;\n right: 5px;\n background-color: #d32f2f;\n }\n\n .sixseconds-header-submenu nav {\n padding: 0 !important;\n }\n\n .sixseconds-header-root .MuiPagination-root.MuiPagination-outlined {\n display: flex;\n justify-content: center;\n margin-left: 0;\n }\n\n .sixseconds-header-toggle-btn-menu {\n position: absolute;\n right: 20px;\n top: 12px;\n z-index: 99;\n }\n\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-desktop-menu {\n display: none;\n }\n\n .sixseconds-header-small-device-menu {\n display: block;\n width: 100%;\n position: fixed;\n left: 0;\n background: #fff;\n top: 64px;\n }\n\n .main.sixseconds-header-login-page .sixseconds-header-login-body {\n width: 90% !important;\n }\n\n .sixseconds-header-submenu {\n width: 100%;\n max-width: 100% !important;\n }\n\n .sixseconds-header-sidebar {\n width: 280px !important;\n background-color: #f9fafb;\n z-index: 99;\n border-right: 1px solid #e0e0e0;\n }\n\n .sixseconds-header-sidemenu {\n width: 280px;\n background-color: #f9fafb;\n }\n\n .sixseconds-header-logo {\n opacity: 1;\n }\n\n .sixseconds-header-profile .sixseconds-header-menu {\n min-width: 280px;\n width: 100% !important;\n }\n}\n\n@media screen and (max-width: 1024px) and (min-width: 600px) {\n .sixseconds-header-toggle-btn-menu {\n position: absolute;\n right: 20px;\n top: 12px;\n }\n\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-desktop-menu {\n display: none;\n }\n\n .sixseconds-header-small-device-menu {\n display: block;\n }\n\n .main.sixseconds-header-login-page .sixseconds-header-login-body {\n width: 450px !important;\n }\n\n .sixseconds-header-banner {\n margin-left: 0 !important;\n }\n\n .sixseconds-header-submenu {\n width: 100%;\n max-width: 100% !important;\n }\n\n .sixseconds-header-sidebar {\n width: 280px !important;\n background-color: #f9fafb;\n z-index: 99;\n }\n\n .sixseconds-header-sidemenu {\n width: 280px;\n background-color: #f9fafb;\n }\n\n .sixseconds-header-logo {\n opacity: 1;\n }\n\n .sixseconds-header-profile .sixseconds-header-menu {\n min-width: 280px;\n width: 100% !important;\n }\n}\n\n@media screen and (max-width: 1380px) and (min-width: 1024px) {\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-desktop-menu {\n display: none;\n }\n\n .sixseconds-header-small-device-menu {\n display: block;\n width: 100%;\n position: fixed;\n left: 0;\n background: #fff;\n top: 64px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n}'));
7
7
  document.head.appendChild(elementStyle);
8
8
  }
9
9
  } catch (e) {
10
10
  console.error("vite-plugin-css-injected-by-js", e);
11
11
  }
12
12
  })();
13
+ "use client";
13
14
  "use strict";
14
15
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
15
16
  const jsxRuntime = require("react/jsx-runtime");
16
17
  const React = require("react");
17
18
  const axios = require("axios");
18
19
  const Cookies = require("js-cookie");
19
- const MenuIcon = require("@mui/icons-material/Menu");
20
+ const react = require("@emotion/react");
20
21
  const material = require("@mui/material");
22
+ const MenuIcon = require("@mui/icons-material/Menu");
21
23
  const CloseIcon = require("@mui/icons-material/Close");
22
24
  const toast = require("react-hot-toast");
23
25
  const styles = require("@mui/material/styles");
@@ -391,8 +393,8 @@ deepmerge.all = function deepmergeAll(array2, options) {
391
393
  if (!Array.isArray(array2)) {
392
394
  throw new Error("first argument should be an array");
393
395
  }
394
- return array2.reduce(function(prev, next) {
395
- return deepmerge(prev, next, options);
396
+ return array2.reduce(function(prev2, next2) {
397
+ return deepmerge(prev2, next2, options);
396
398
  }, {});
397
399
  };
398
400
  var deepmerge_1 = deepmerge;
@@ -467,10 +469,10 @@ function eq(value, other) {
467
469
  return value === other || value !== value && other !== other;
468
470
  }
469
471
  function assocIndexOf(array2, key) {
470
- var length = array2.length;
471
- while (length--) {
472
- if (eq(array2[length][0], key)) {
473
- return length;
472
+ var length2 = array2.length;
473
+ while (length2--) {
474
+ if (eq(array2[length2][0], key)) {
475
+ return length2;
474
476
  }
475
477
  }
476
478
  return -1;
@@ -509,9 +511,9 @@ function listCacheSet(key, value) {
509
511
  return this;
510
512
  }
511
513
  function ListCache(entries) {
512
- var index = -1, length = entries == null ? 0 : entries.length;
514
+ var index = -1, length2 = entries == null ? 0 : entries.length;
513
515
  this.clear();
514
- while (++index < length) {
516
+ while (++index < length2) {
515
517
  var entry = entries[index];
516
518
  this.set(entry[0], entry[1]);
517
519
  }
@@ -629,9 +631,9 @@ function hashSet(key, value) {
629
631
  return this;
630
632
  }
631
633
  function Hash(entries) {
632
- var index = -1, length = entries == null ? 0 : entries.length;
634
+ var index = -1, length2 = entries == null ? 0 : entries.length;
633
635
  this.clear();
634
- while (++index < length) {
636
+ while (++index < length2) {
635
637
  var entry = entries[index];
636
638
  this.set(entry[0], entry[1]);
637
639
  }
@@ -675,9 +677,9 @@ function mapCacheSet(key, value) {
675
677
  return this;
676
678
  }
677
679
  function MapCache(entries) {
678
- var index = -1, length = entries == null ? 0 : entries.length;
680
+ var index = -1, length2 = entries == null ? 0 : entries.length;
679
681
  this.clear();
680
- while (++index < length) {
682
+ while (++index < length2) {
681
683
  var entry = entries[index];
682
684
  this.set(entry[0], entry[1]);
683
685
  }
@@ -713,8 +715,8 @@ Stack.prototype.get = stackGet;
713
715
  Stack.prototype.has = stackHas;
714
716
  Stack.prototype.set = stackSet;
715
717
  function arrayEach(array2, iteratee) {
716
- var index = -1, length = array2 == null ? 0 : array2.length;
717
- while (++index < length) {
718
+ var index = -1, length2 = array2 == null ? 0 : array2.length;
719
+ while (++index < length2) {
718
720
  if (iteratee(array2[index], index, array2) === false) {
719
721
  break;
720
722
  }
@@ -752,8 +754,8 @@ function assignValue(object2, key, value) {
752
754
  function copyObject(source, props, object2, customizer) {
753
755
  var isNew = !object2;
754
756
  object2 || (object2 = {});
755
- var index = -1, length = props.length;
756
- while (++index < length) {
757
+ var index = -1, length2 = props.length;
758
+ while (++index < length2) {
757
759
  var key = props[index];
758
760
  var newValue = void 0;
759
761
  if (newValue === void 0) {
@@ -798,10 +800,10 @@ var nativeIsBuffer = Buffer$1 ? Buffer$1.isBuffer : void 0;
798
800
  var isBuffer = nativeIsBuffer || stubFalse;
799
801
  var MAX_SAFE_INTEGER$1 = 9007199254740991;
800
802
  var reIsUint = /^(?:0|[1-9]\d*)$/;
801
- function isIndex(value, length) {
803
+ function isIndex(value, length2) {
802
804
  var type = typeof value;
803
- length = length == null ? MAX_SAFE_INTEGER$1 : length;
804
- return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
805
+ length2 = length2 == null ? MAX_SAFE_INTEGER$1 : length2;
806
+ return !!length2 && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length2);
805
807
  }
806
808
  var MAX_SAFE_INTEGER = 9007199254740991;
807
809
  function isLength(value) {
@@ -839,13 +841,13 @@ var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedA
839
841
  var objectProto$5 = Object.prototype;
840
842
  var hasOwnProperty$3 = objectProto$5.hasOwnProperty;
841
843
  function arrayLikeKeys(value, inherited) {
842
- var isArr = isArray$1(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
844
+ var isArr = isArray$1(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length2 = result.length;
843
845
  for (var key in value) {
844
846
  if ((inherited || hasOwnProperty$3.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
845
847
  (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
846
848
  isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
847
849
  isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
848
- isIndex(key, length)))) {
850
+ isIndex(key, length2)))) {
849
851
  result.push(key);
850
852
  }
851
853
  }
@@ -917,21 +919,21 @@ function cloneBuffer(buffer, isDeep) {
917
919
  if (isDeep) {
918
920
  return buffer.slice();
919
921
  }
920
- var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
922
+ var length2 = buffer.length, result = allocUnsafe ? allocUnsafe(length2) : new buffer.constructor(length2);
921
923
  buffer.copy(result);
922
924
  return result;
923
925
  }
924
926
  function copyArray(source, array2) {
925
- var index = -1, length = source.length;
926
- array2 || (array2 = Array(length));
927
- while (++index < length) {
927
+ var index = -1, length2 = source.length;
928
+ array2 || (array2 = Array(length2));
929
+ while (++index < length2) {
928
930
  array2[index] = source[index];
929
931
  }
930
932
  return array2;
931
933
  }
932
934
  function arrayFilter(array2, predicate) {
933
- var index = -1, length = array2 == null ? 0 : array2.length, resIndex = 0, result = [];
934
- while (++index < length) {
935
+ var index = -1, length2 = array2 == null ? 0 : array2.length, resIndex = 0, result = [];
936
+ while (++index < length2) {
935
937
  var value = array2[index];
936
938
  if (predicate(value, index, array2)) {
937
939
  result[resIndex++] = value;
@@ -958,8 +960,8 @@ function copySymbols(source, object2) {
958
960
  return copyObject(source, getSymbols(source), object2);
959
961
  }
960
962
  function arrayPush(array2, values) {
961
- var index = -1, length = values.length, offset2 = array2.length;
962
- while (++index < length) {
963
+ var index = -1, length2 = values.length, offset2 = array2.length;
964
+ while (++index < length2) {
963
965
  array2[offset2 + index] = values[index];
964
966
  }
965
967
  return array2;
@@ -1017,8 +1019,8 @@ if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag$2 || Map
1017
1019
  var objectProto = Object.prototype;
1018
1020
  var hasOwnProperty = objectProto.hasOwnProperty;
1019
1021
  function initCloneArray(array2) {
1020
- var length = array2.length, result = new array2.constructor(length);
1021
- if (length && typeof array2[0] == "string" && hasOwnProperty.call(array2, "index")) {
1022
+ var length2 = array2.length, result = new array2.constructor(length2);
1023
+ if (length2 && typeof array2[0] == "string" && hasOwnProperty.call(array2, "index")) {
1022
1024
  result.index = array2.index;
1023
1025
  result.input = array2.input;
1024
1026
  }
@@ -1197,11 +1199,11 @@ function requireReactFastCompare() {
1197
1199
  function equal(a, b) {
1198
1200
  if (a === b) return true;
1199
1201
  if (a && b && typeof a == "object" && typeof b == "object") {
1200
- var arrA = isArray2(a), arrB = isArray2(b), i, length, key;
1202
+ var arrA = isArray2(a), arrB = isArray2(b), i, length2, key;
1201
1203
  if (arrA && arrB) {
1202
- length = a.length;
1203
- if (length != b.length) return false;
1204
- for (i = length; i-- !== 0; )
1204
+ length2 = a.length;
1205
+ if (length2 != b.length) return false;
1206
+ for (i = length2; i-- !== 0; )
1205
1207
  if (!equal(a[i], b[i])) return false;
1206
1208
  return true;
1207
1209
  }
@@ -1213,14 +1215,14 @@ function requireReactFastCompare() {
1213
1215
  if (regexpA != regexpB) return false;
1214
1216
  if (regexpA && regexpB) return a.toString() == b.toString();
1215
1217
  var keys2 = keyList(a);
1216
- length = keys2.length;
1217
- if (length !== keyList(b).length)
1218
+ length2 = keys2.length;
1219
+ if (length2 !== keyList(b).length)
1218
1220
  return false;
1219
- for (i = length; i-- !== 0; )
1221
+ for (i = length2; i-- !== 0; )
1220
1222
  if (!hasProp.call(b, keys2[i])) return false;
1221
1223
  if (hasElementType && a instanceof Element && b instanceof Element)
1222
1224
  return a === b;
1223
- for (i = length; i-- !== 0; ) {
1225
+ for (i = length2; i-- !== 0; ) {
1224
1226
  key = keys2[i];
1225
1227
  if (key === "_owner" && a.$$typeof) {
1226
1228
  continue;
@@ -1265,8 +1267,8 @@ function clone$2(value) {
1265
1267
  return baseClone(value, CLONE_SYMBOLS_FLAG);
1266
1268
  }
1267
1269
  function arrayMap(array2, iteratee) {
1268
- var index = -1, length = array2 == null ? 0 : array2.length, result = Array(length);
1269
- while (++index < length) {
1270
+ var index = -1, length2 = array2 == null ? 0 : array2.length, result = Array(length2);
1271
+ while (++index < length2) {
1270
1272
  result[index] = iteratee(array2[index], index, array2);
1271
1273
  }
1272
1274
  return result;
@@ -1311,8 +1313,8 @@ var stringToPath = memoizeCapped(function(string2) {
1311
1313
  if (string2.charCodeAt(0) === 46) {
1312
1314
  result.push("");
1313
1315
  }
1314
- string2.replace(rePropName, function(match, number2, quote, subString) {
1315
- result.push(quote ? subString.replace(reEscapeChar, "$1") : number2 || match);
1316
+ string2.replace(rePropName, function(match5, number2, quote, subString) {
1317
+ result.push(quote ? subString.replace(reEscapeChar, "$1") : number2 || match5);
1316
1318
  });
1317
1319
  return result;
1318
1320
  });
@@ -1938,9 +1940,9 @@ function useFormik(_ref) {
1938
1940
  });
1939
1941
  var state = stateRef.current;
1940
1942
  var dispatch = React.useCallback(function(action) {
1941
- var prev = stateRef.current;
1942
- stateRef.current = formikReducer(prev, action);
1943
- if (prev !== stateRef.current) setIteration(function(x) {
1943
+ var prev2 = stateRef.current;
1944
+ stateRef.current = formikReducer(prev2, action);
1945
+ if (prev2 !== stateRef.current) setIteration(function(x) {
1944
1946
  return x + 1;
1945
1947
  });
1946
1948
  }, []);
@@ -1995,14 +1997,14 @@ function useFormik(_ref) {
1995
1997
  return runSingleFieldLevelValidation(f, getIn$1(values, f));
1996
1998
  }) : [Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];
1997
1999
  return Promise.all(fieldValidations).then(function(fieldErrorsList) {
1998
- return fieldErrorsList.reduce(function(prev, curr, index) {
2000
+ return fieldErrorsList.reduce(function(prev2, curr, index) {
1999
2001
  if (curr === "DO_NOT_DELETE_YOU_WILL_BE_FIRED") {
2000
- return prev;
2002
+ return prev2;
2001
2003
  }
2002
2004
  if (curr) {
2003
- prev = setIn(prev, fieldKeysWithValidation[index], curr);
2005
+ prev2 = setIn(prev2, fieldKeysWithValidation[index], curr);
2004
2006
  }
2005
- return prev;
2007
+ return prev2;
2006
2008
  }, {});
2007
2009
  });
2008
2010
  }, [runSingleFieldLevelValidation]);
@@ -6795,8 +6797,8 @@ function removeFormattingTokens(input) {
6795
6797
  return input.replace(/\\/g, "");
6796
6798
  }
6797
6799
  function makeFormatFunction(format2) {
6798
- var array2 = format2.match(formattingTokens), i, length;
6799
- for (i = 0, length = array2.length; i < length; i++) {
6800
+ var array2 = format2.match(formattingTokens), i, length2;
6801
+ for (i = 0, length2 = array2.length; i < length2; i++) {
6800
6802
  if (formatTokenFunctions[array2[i]]) {
6801
6803
  array2[i] = formatTokenFunctions[array2[i]];
6802
6804
  } else {
@@ -6805,7 +6807,7 @@ function makeFormatFunction(format2) {
6805
6807
  }
6806
6808
  return function(mom) {
6807
6809
  var output = "", i2;
6808
- for (i2 = 0; i2 < length; i2++) {
6810
+ for (i2 = 0; i2 < length2; i2++) {
6809
6811
  output += isFunction2(array2[i2]) ? array2[i2].call(mom, format2) : array2[i2];
6810
6812
  }
6811
6813
  return output;
@@ -7943,18 +7945,18 @@ function normalizeLocale(key) {
7943
7945
  return key ? key.toLowerCase().replace("_", "-") : key;
7944
7946
  }
7945
7947
  function chooseLocale(names) {
7946
- var i = 0, j, next, locale2, split;
7948
+ var i = 0, j, next2, locale2, split;
7947
7949
  while (i < names.length) {
7948
7950
  split = normalizeLocale(names[i]).split("-");
7949
7951
  j = split.length;
7950
- next = normalizeLocale(names[i + 1]);
7951
- next = next ? next.split("-") : null;
7952
+ next2 = normalizeLocale(names[i + 1]);
7953
+ next2 = next2 ? next2.split("-") : null;
7952
7954
  while (j > 0) {
7953
7955
  locale2 = loadLocale(split.slice(0, j).join("-"));
7954
7956
  if (locale2) {
7955
7957
  return locale2;
7956
7958
  }
7957
- if (next && next.length >= j && commonPrefix(split, next) >= j - 1) {
7959
+ if (next2 && next2.length >= j && commonPrefix(split, next2) >= j - 1) {
7958
7960
  break;
7959
7961
  }
7960
7962
  j--;
@@ -8149,11 +8151,11 @@ var extendedIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\
8149
8151
  PST: -8 * 60
8150
8152
  };
8151
8153
  function configFromISO(config) {
8152
- var i, l, string2 = config._i, match = extendedIsoRegex.exec(string2) || basicIsoRegex.exec(string2), allowTime, dateFormat, timeFormat, tzFormat, isoDatesLen = isoDates.length, isoTimesLen = isoTimes.length;
8153
- if (match) {
8154
+ var i, l, string2 = config._i, match5 = extendedIsoRegex.exec(string2) || basicIsoRegex.exec(string2), allowTime, dateFormat, timeFormat, tzFormat, isoDatesLen = isoDates.length, isoTimesLen = isoTimes.length;
8155
+ if (match5) {
8154
8156
  getParsingFlags(config).iso = true;
8155
8157
  for (i = 0, l = isoDatesLen; i < l; i++) {
8156
- if (isoDates[i][1].exec(match[1])) {
8158
+ if (isoDates[i][1].exec(match5[1])) {
8157
8159
  dateFormat = isoDates[i][0];
8158
8160
  allowTime = isoDates[i][2] !== false;
8159
8161
  break;
@@ -8163,10 +8165,10 @@ function configFromISO(config) {
8163
8165
  config._isValid = false;
8164
8166
  return;
8165
8167
  }
8166
- if (match[3]) {
8168
+ if (match5[3]) {
8167
8169
  for (i = 0, l = isoTimesLen; i < l; i++) {
8168
- if (isoTimes[i][1].exec(match[3])) {
8169
- timeFormat = (match[2] || " ") + isoTimes[i][0];
8170
+ if (isoTimes[i][1].exec(match5[3])) {
8171
+ timeFormat = (match5[2] || " ") + isoTimes[i][0];
8170
8172
  break;
8171
8173
  }
8172
8174
  }
@@ -8179,8 +8181,8 @@ function configFromISO(config) {
8179
8181
  config._isValid = false;
8180
8182
  return;
8181
8183
  }
8182
- if (match[4]) {
8183
- if (tzRegex.exec(match[4])) {
8184
+ if (match5[4]) {
8185
+ if (tzRegex.exec(match5[4])) {
8184
8186
  tzFormat = "Z";
8185
8187
  } else {
8186
8188
  config._isValid = false;
@@ -8244,21 +8246,21 @@ function calculateOffset(obsOffset, militaryOffset, numOffset) {
8244
8246
  }
8245
8247
  }
8246
8248
  function configFromRFC2822(config) {
8247
- var match = rfc2822.exec(preprocessRFC2822(config._i)), parsedArray;
8248
- if (match) {
8249
+ var match5 = rfc2822.exec(preprocessRFC2822(config._i)), parsedArray;
8250
+ if (match5) {
8249
8251
  parsedArray = extractFromRFC2822Strings(
8250
- match[4],
8251
- match[3],
8252
- match[2],
8253
- match[5],
8254
- match[6],
8255
- match[7]
8252
+ match5[4],
8253
+ match5[3],
8254
+ match5[2],
8255
+ match5[5],
8256
+ match5[6],
8257
+ match5[7]
8256
8258
  );
8257
- if (!checkWeekday(match[1], parsedArray, config)) {
8259
+ if (!checkWeekday(match5[1], parsedArray, config)) {
8258
8260
  return;
8259
8261
  }
8260
8262
  config._a = parsedArray;
8261
- config._tzm = calculateOffset(match[8], match[9], match[10]);
8263
+ config._tzm = calculateOffset(match5[8], match5[9], match5[10]);
8262
8264
  config._d = createUTCDate.apply(null, config._a);
8263
8265
  config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
8264
8266
  getParsingFlags(config).rfc2822 = true;
@@ -8893,7 +8895,7 @@ function isUtc() {
8893
8895
  }
8894
8896
  var aspNetRegex = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, isoRegex = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
8895
8897
  function createDuration(input, key) {
8896
- var duration = input, match = null, sign2, ret, diffRes;
8898
+ var duration = input, match5 = null, sign2, ret, diffRes;
8897
8899
  if (isDuration(input)) {
8898
8900
  duration = {
8899
8901
  ms: input._milliseconds,
@@ -8907,27 +8909,27 @@ function createDuration(input, key) {
8907
8909
  } else {
8908
8910
  duration.milliseconds = +input;
8909
8911
  }
8910
- } else if (match = aspNetRegex.exec(input)) {
8911
- sign2 = match[1] === "-" ? -1 : 1;
8912
+ } else if (match5 = aspNetRegex.exec(input)) {
8913
+ sign2 = match5[1] === "-" ? -1 : 1;
8912
8914
  duration = {
8913
8915
  y: 0,
8914
- d: toInt(match[DATE]) * sign2,
8915
- h: toInt(match[HOUR]) * sign2,
8916
- m: toInt(match[MINUTE]) * sign2,
8917
- s: toInt(match[SECOND]) * sign2,
8918
- ms: toInt(absRound(match[MILLISECOND] * 1e3)) * sign2
8916
+ d: toInt(match5[DATE]) * sign2,
8917
+ h: toInt(match5[HOUR]) * sign2,
8918
+ m: toInt(match5[MINUTE]) * sign2,
8919
+ s: toInt(match5[SECOND]) * sign2,
8920
+ ms: toInt(absRound(match5[MILLISECOND] * 1e3)) * sign2
8919
8921
  // the millisecond decimal point is included in the match
8920
8922
  };
8921
- } else if (match = isoRegex.exec(input)) {
8922
- sign2 = match[1] === "-" ? -1 : 1;
8923
+ } else if (match5 = isoRegex.exec(input)) {
8924
+ sign2 = match5[1] === "-" ? -1 : 1;
8923
8925
  duration = {
8924
- y: parseIso(match[2], sign2),
8925
- M: parseIso(match[3], sign2),
8926
- w: parseIso(match[4], sign2),
8927
- d: parseIso(match[5], sign2),
8928
- h: parseIso(match[6], sign2),
8929
- m: parseIso(match[7], sign2),
8930
- s: parseIso(match[8], sign2)
8926
+ y: parseIso(match5[2], sign2),
8927
+ M: parseIso(match5[3], sign2),
8928
+ w: parseIso(match5[4], sign2),
8929
+ d: parseIso(match5[5], sign2),
8930
+ h: parseIso(match5[6], sign2),
8931
+ m: parseIso(match5[7], sign2),
8932
+ s: parseIso(match5[8], sign2)
8931
8933
  };
8932
8934
  } else if (duration == null) {
8933
8935
  duration = {};
@@ -9247,16 +9249,16 @@ function inspect() {
9247
9249
  if (!this.isValid()) {
9248
9250
  return "moment.invalid(/* " + this._i + " */)";
9249
9251
  }
9250
- var func = "moment", zone = "", prefix, year, datetime, suffix;
9252
+ var func = "moment", zone = "", prefix2, year, datetime, suffix;
9251
9253
  if (!this.isLocal()) {
9252
9254
  func = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone";
9253
9255
  zone = "Z";
9254
9256
  }
9255
- prefix = "[" + func + '("]';
9257
+ prefix2 = "[" + func + '("]';
9256
9258
  year = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY";
9257
9259
  datetime = "-MM-DD[T]HH:mm:ss.SSS";
9258
9260
  suffix = zone + '[")]';
9259
- return this.format(prefix + year + datetime + suffix);
9261
+ return this.format(prefix2 + year + datetime + suffix);
9260
9262
  }
9261
9263
  function format(inputString) {
9262
9264
  if (!inputString) {
@@ -9265,7 +9267,7 @@ function format(inputString) {
9265
9267
  var output = formatMoment(this, inputString);
9266
9268
  return this.localeData().postformat(output);
9267
9269
  }
9268
- function from(time, withoutSuffix) {
9270
+ function from$1(time, withoutSuffix) {
9269
9271
  if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {
9270
9272
  return createDuration({ to: this, from: time }).locale(this.locale()).humanize(!withoutSuffix);
9271
9273
  } else {
@@ -9532,12 +9534,12 @@ addRegexToken("yyyy", matchUnsigned);
9532
9534
  addRegexToken("yo", matchEraYearOrdinal);
9533
9535
  addParseToken(["y", "yy", "yyy", "yyyy"], YEAR);
9534
9536
  addParseToken(["yo"], function(input, array2, config, token2) {
9535
- var match;
9537
+ var match5;
9536
9538
  if (config._locale._eraYearOrdinalRegex) {
9537
- match = input.match(config._locale._eraYearOrdinalRegex);
9539
+ match5 = input.match(config._locale._eraYearOrdinalRegex);
9538
9540
  }
9539
9541
  if (config._locale.eraYearOrdinalParse) {
9540
- array2[YEAR] = config._locale.eraYearOrdinalParse(input, match);
9542
+ array2[YEAR] = config._locale.eraYearOrdinalParse(input, match5);
9541
9543
  } else {
9542
9544
  array2[YEAR] = parseInt(input, 10);
9543
9545
  }
@@ -9856,15 +9858,15 @@ addFormatToken(0, ["SSSSSSSSS", 9], 0, function() {
9856
9858
  addRegexToken("S", match1to3, match1);
9857
9859
  addRegexToken("SS", match1to3, match2);
9858
9860
  addRegexToken("SSS", match1to3, match3);
9859
- var token, getSetMillisecond;
9860
- for (token = "SSSS"; token.length <= 9; token += "S") {
9861
- addRegexToken(token, matchUnsigned);
9861
+ var token$1, getSetMillisecond;
9862
+ for (token$1 = "SSSS"; token$1.length <= 9; token$1 += "S") {
9863
+ addRegexToken(token$1, matchUnsigned);
9862
9864
  }
9863
9865
  function parseMs(input, array2) {
9864
9866
  array2[MILLISECOND] = toInt(("0." + input) * 1e3);
9865
9867
  }
9866
- for (token = "S"; token.length <= 9; token += "S") {
9867
- addParseToken(token, parseMs);
9868
+ for (token$1 = "S"; token$1.length <= 9; token$1 += "S") {
9869
+ addParseToken(token$1, parseMs);
9868
9870
  }
9869
9871
  getSetMillisecond = makeGetSet("Milliseconds", false);
9870
9872
  addFormatToken("z", 0, 0, "zoneAbbr");
@@ -9882,7 +9884,7 @@ proto.clone = clone$1;
9882
9884
  proto.diff = diff;
9883
9885
  proto.endOf = endOf;
9884
9886
  proto.format = format;
9885
- proto.from = from;
9887
+ proto.from = from$1;
9886
9888
  proto.fromNow = fromNow;
9887
9889
  proto.to = to;
9888
9890
  proto.toNow = toNow;
@@ -10113,7 +10115,7 @@ hooks.langData = deprecate(
10113
10115
  getLocale
10114
10116
  );
10115
10117
  var mathAbs = Math.abs;
10116
- function abs() {
10118
+ function abs$1() {
10117
10119
  var data = this._data;
10118
10120
  this._milliseconds = mathAbs(this._milliseconds);
10119
10121
  this._days = mathAbs(this._days);
@@ -10315,7 +10317,7 @@ function humanize(argWithSuffix, argThresholds) {
10315
10317
  }
10316
10318
  return locale2.postformat(output);
10317
10319
  }
10318
- var abs$1 = Math.abs;
10320
+ var abs$1$1 = Math.abs;
10319
10321
  function sign(x) {
10320
10322
  return (x > 0) - (x < 0) || +x;
10321
10323
  }
@@ -10323,7 +10325,7 @@ function toISOString$1() {
10323
10325
  if (!this.isValid()) {
10324
10326
  return this.localeData().invalidDate();
10325
10327
  }
10326
- var seconds2 = abs$1(this._milliseconds) / 1e3, days2 = abs$1(this._days), months2 = abs$1(this._months), minutes2, hours2, years2, s, total = this.asSeconds(), totalSign, ymSign, daysSign, hmsSign;
10328
+ var seconds2 = abs$1$1(this._milliseconds) / 1e3, days2 = abs$1$1(this._days), months2 = abs$1$1(this._months), minutes2, hours2, years2, s, total = this.asSeconds(), totalSign, ymSign, daysSign, hmsSign;
10327
10329
  if (!total) {
10328
10330
  return "P0D";
10329
10331
  }
@@ -10342,7 +10344,7 @@ function toISOString$1() {
10342
10344
  }
10343
10345
  var proto$2 = Duration.prototype;
10344
10346
  proto$2.isValid = isValid$1;
10345
- proto$2.abs = abs;
10347
+ proto$2.abs = abs$1;
10346
10348
  proto$2.add = add$1;
10347
10349
  proto$2.subtract = subtract$1;
10348
10350
  proto$2.as = as;
@@ -10555,7 +10557,7 @@ function requireTinyCase() {
10555
10557
  const upperFirst = (str) => str[0].toUpperCase() + str.slice(1);
10556
10558
  const join = (str, d) => words(str).join(d).toLowerCase();
10557
10559
  const camelCase = (str) => words(str).reduce(
10558
- (acc, next) => `${acc}${!acc ? next.toLowerCase() : next[0].toUpperCase() + next.slice(1).toLowerCase()}`,
10560
+ (acc, next2) => `${acc}${!acc ? next2.toLowerCase() : next2[0].toUpperCase() + next2.slice(1).toLowerCase()}`,
10559
10561
  ""
10560
10562
  );
10561
10563
  const pascalCase = (str) => upperFirst(camelCase(str));
@@ -10596,32 +10598,32 @@ function requireToposort() {
10596
10598
  if (!visited[i]) visit(nodes[i], i, /* @__PURE__ */ new Set());
10597
10599
  }
10598
10600
  return sorted;
10599
- function visit(node, i2, predecessors) {
10600
- if (predecessors.has(node)) {
10601
+ function visit(node2, i2, predecessors) {
10602
+ if (predecessors.has(node2)) {
10601
10603
  var nodeRep;
10602
10604
  try {
10603
- nodeRep = ", node was:" + JSON.stringify(node);
10605
+ nodeRep = ", node was:" + JSON.stringify(node2);
10604
10606
  } catch (e) {
10605
10607
  nodeRep = "";
10606
10608
  }
10607
10609
  throw new Error("Cyclic dependency" + nodeRep);
10608
10610
  }
10609
- if (!nodesHash.has(node)) {
10610
- throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: " + JSON.stringify(node));
10611
+ if (!nodesHash.has(node2)) {
10612
+ throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: " + JSON.stringify(node2));
10611
10613
  }
10612
10614
  if (visited[i2]) return;
10613
10615
  visited[i2] = true;
10614
- var outgoing = outgoingEdges.get(node) || /* @__PURE__ */ new Set();
10616
+ var outgoing = outgoingEdges.get(node2) || /* @__PURE__ */ new Set();
10615
10617
  outgoing = Array.from(outgoing);
10616
10618
  if (i2 = outgoing.length) {
10617
- predecessors.add(node);
10619
+ predecessors.add(node2);
10618
10620
  do {
10619
10621
  var child = outgoing[--i2];
10620
10622
  visit(child, nodesHash.get(child), predecessors);
10621
10623
  } while (i2);
10622
- predecessors.delete(node);
10624
+ predecessors.delete(node2);
10623
10625
  }
10624
- sorted[--cursor] = node;
10626
+ sorted[--cursor] = node2;
10625
10627
  }
10626
10628
  }
10627
10629
  function uniqueNodes(arr) {
@@ -10902,8 +10904,8 @@ class Reference {
10902
10904
  this.isContext = this.key[0] === prefixes.context;
10903
10905
  this.isValue = this.key[0] === prefixes.value;
10904
10906
  this.isSibling = !this.isContext && !this.isValue;
10905
- let prefix = this.isContext ? prefixes.context : this.isValue ? prefixes.value : "";
10906
- this.path = this.key.slice(prefix.length);
10907
+ let prefix2 = this.isContext ? prefixes.context : this.isValue ? prefixes.value : "";
10908
+ this.path = this.key.slice(prefix2.length);
10907
10909
  this.getter = this.path && propertyExprExports.getter(this.path, true);
10908
10910
  this.map = options.map;
10909
10911
  }
@@ -10948,7 +10950,7 @@ function createValidation(config) {
10948
10950
  options,
10949
10951
  originalValue,
10950
10952
  schema
10951
- }, panic, next) {
10953
+ }, panic, next2) {
10952
10954
  const {
10953
10955
  name,
10954
10956
  test,
@@ -10980,7 +10982,7 @@ function createValidation(config) {
10980
10982
  error.params = nextParams;
10981
10983
  return error;
10982
10984
  }
10983
- const invalid = abortEarly ? panic : next;
10985
+ const invalid = abortEarly ? panic : next2;
10984
10986
  let ctx = {
10985
10987
  path,
10986
10988
  parent,
@@ -10997,7 +10999,7 @@ function createValidation(config) {
10997
10999
  const handleResult2 = (validOrError) => {
10998
11000
  if (ValidationError.isError(validOrError)) invalid(validOrError);
10999
11001
  else if (!validOrError) invalid(createError());
11000
- else next(null);
11002
+ else next2(null);
11001
11003
  };
11002
11004
  const handleError = (err) => {
11003
11005
  if (ValidationError.isError(err)) invalid(err);
@@ -11095,42 +11097,42 @@ class ReferenceSet extends Set {
11095
11097
  return new ReferenceSet(this.values());
11096
11098
  }
11097
11099
  merge(newItems, removeItems) {
11098
- const next = this.clone();
11099
- newItems.forEach((value) => next.add(value));
11100
- removeItems.forEach((value) => next.delete(value));
11101
- return next;
11100
+ const next2 = this.clone();
11101
+ newItems.forEach((value) => next2.add(value));
11102
+ removeItems.forEach((value) => next2.delete(value));
11103
+ return next2;
11102
11104
  }
11103
11105
  }
11104
11106
  function clone(src, seen = /* @__PURE__ */ new Map()) {
11105
11107
  if (isSchema(src) || !src || typeof src !== "object") return src;
11106
11108
  if (seen.has(src)) return seen.get(src);
11107
- let copy;
11109
+ let copy2;
11108
11110
  if (src instanceof Date) {
11109
- copy = new Date(src.getTime());
11110
- seen.set(src, copy);
11111
+ copy2 = new Date(src.getTime());
11112
+ seen.set(src, copy2);
11111
11113
  } else if (src instanceof RegExp) {
11112
- copy = new RegExp(src);
11113
- seen.set(src, copy);
11114
+ copy2 = new RegExp(src);
11115
+ seen.set(src, copy2);
11114
11116
  } else if (Array.isArray(src)) {
11115
- copy = new Array(src.length);
11116
- seen.set(src, copy);
11117
- for (let i = 0; i < src.length; i++) copy[i] = clone(src[i], seen);
11117
+ copy2 = new Array(src.length);
11118
+ seen.set(src, copy2);
11119
+ for (let i = 0; i < src.length; i++) copy2[i] = clone(src[i], seen);
11118
11120
  } else if (src instanceof Map) {
11119
- copy = /* @__PURE__ */ new Map();
11120
- seen.set(src, copy);
11121
- for (const [k, v] of src.entries()) copy.set(k, clone(v, seen));
11121
+ copy2 = /* @__PURE__ */ new Map();
11122
+ seen.set(src, copy2);
11123
+ for (const [k, v] of src.entries()) copy2.set(k, clone(v, seen));
11122
11124
  } else if (src instanceof Set) {
11123
- copy = /* @__PURE__ */ new Set();
11124
- seen.set(src, copy);
11125
- for (const v of src) copy.add(clone(v, seen));
11125
+ copy2 = /* @__PURE__ */ new Set();
11126
+ seen.set(src, copy2);
11127
+ for (const v of src) copy2.add(clone(v, seen));
11126
11128
  } else if (src instanceof Object) {
11127
- copy = {};
11128
- seen.set(src, copy);
11129
- for (const [k, v] of Object.entries(src)) copy[k] = clone(v, seen);
11129
+ copy2 = {};
11130
+ seen.set(src, copy2);
11131
+ for (const [k, v] of Object.entries(src)) copy2[k] = clone(v, seen);
11130
11132
  } else {
11131
11133
  throw Error(`Unable to clone ${src}`);
11132
11134
  }
11133
- return copy;
11135
+ return copy2;
11134
11136
  }
11135
11137
  function createStandardPath(path) {
11136
11138
  if (!(path != null && path.length)) {
@@ -11141,8 +11143,8 @@ function createStandardPath(path) {
11141
11143
  let inBrackets = false;
11142
11144
  let inQuotes = false;
11143
11145
  for (let i = 0; i < path.length; i++) {
11144
- const char = path[i];
11145
- if (char === "[" && !inQuotes) {
11146
+ const char2 = path[i];
11147
+ if (char2 === "[" && !inQuotes) {
11146
11148
  if (currentSegment) {
11147
11149
  segments.push(...currentSegment.split(".").filter(Boolean));
11148
11150
  currentSegment = "";
@@ -11150,7 +11152,7 @@ function createStandardPath(path) {
11150
11152
  inBrackets = true;
11151
11153
  continue;
11152
11154
  }
11153
- if (char === "]" && !inQuotes) {
11155
+ if (char2 === "]" && !inQuotes) {
11154
11156
  if (currentSegment) {
11155
11157
  if (/^\d+$/.test(currentSegment)) {
11156
11158
  segments.push(currentSegment);
@@ -11162,18 +11164,18 @@ function createStandardPath(path) {
11162
11164
  inBrackets = false;
11163
11165
  continue;
11164
11166
  }
11165
- if (char === '"') {
11167
+ if (char2 === '"') {
11166
11168
  inQuotes = !inQuotes;
11167
11169
  continue;
11168
11170
  }
11169
- if (char === "." && !inBrackets && !inQuotes) {
11171
+ if (char2 === "." && !inBrackets && !inQuotes) {
11170
11172
  if (currentSegment) {
11171
11173
  segments.push(currentSegment);
11172
11174
  currentSegment = "";
11173
11175
  }
11174
11176
  continue;
11175
11177
  }
11176
- currentSegment += char;
11178
+ currentSegment += char2;
11177
11179
  }
11178
11180
  if (currentSegment) {
11179
11181
  segments.push(...currentSegment.split(".").filter(Boolean));
@@ -11239,30 +11241,30 @@ class Schema {
11239
11241
  if (spec) Object.assign(this.spec, spec);
11240
11242
  return this;
11241
11243
  }
11242
- const next = Object.create(Object.getPrototypeOf(this));
11243
- next.type = this.type;
11244
- next._typeCheck = this._typeCheck;
11245
- next._whitelist = this._whitelist.clone();
11246
- next._blacklist = this._blacklist.clone();
11247
- next.internalTests = Object.assign({}, this.internalTests);
11248
- next.exclusiveTests = Object.assign({}, this.exclusiveTests);
11249
- next.deps = [...this.deps];
11250
- next.conditions = [...this.conditions];
11251
- next.tests = [...this.tests];
11252
- next.transforms = [...this.transforms];
11253
- next.spec = clone(Object.assign({}, this.spec, spec));
11254
- return next;
11244
+ const next2 = Object.create(Object.getPrototypeOf(this));
11245
+ next2.type = this.type;
11246
+ next2._typeCheck = this._typeCheck;
11247
+ next2._whitelist = this._whitelist.clone();
11248
+ next2._blacklist = this._blacklist.clone();
11249
+ next2.internalTests = Object.assign({}, this.internalTests);
11250
+ next2.exclusiveTests = Object.assign({}, this.exclusiveTests);
11251
+ next2.deps = [...this.deps];
11252
+ next2.conditions = [...this.conditions];
11253
+ next2.tests = [...this.tests];
11254
+ next2.transforms = [...this.transforms];
11255
+ next2.spec = clone(Object.assign({}, this.spec, spec));
11256
+ return next2;
11255
11257
  }
11256
11258
  label(label) {
11257
- let next = this.clone();
11258
- next.spec.label = label;
11259
- return next;
11259
+ let next2 = this.clone();
11260
+ next2.spec.label = label;
11261
+ return next2;
11260
11262
  }
11261
11263
  meta(...args) {
11262
11264
  if (args.length === 0) return this.spec.meta;
11263
- let next = this.clone();
11264
- next.spec.meta = Object.assign(next.spec.meta || {}, args[0]);
11265
- return next;
11265
+ let next2 = this.clone();
11266
+ next2.spec.meta = Object.assign(next2.spec.meta || {}, args[0]);
11267
+ return next2;
11266
11268
  }
11267
11269
  withMutation(fn) {
11268
11270
  let before = this._mutate;
@@ -11283,9 +11285,9 @@ class Schema {
11283
11285
  combined._blacklist = base._blacklist.merge(schema._blacklist, schema._whitelist);
11284
11286
  combined.tests = base.tests;
11285
11287
  combined.exclusiveTests = base.exclusiveTests;
11286
- combined.withMutation((next) => {
11288
+ combined.withMutation((next2) => {
11287
11289
  schema.tests.forEach((fn) => {
11288
- next.test(fn.OPTIONS);
11290
+ next2.test(fn.OPTIONS);
11289
11291
  });
11290
11292
  });
11291
11293
  combined.transforms = [...base.transforms, ...combined.transforms];
@@ -11351,7 +11353,7 @@ attempted value: ${formattedValue}
11351
11353
  }
11352
11354
  return value;
11353
11355
  }
11354
- _validate(_value, options = {}, panic, next) {
11356
+ _validate(_value, options = {}, panic, next2) {
11355
11357
  let {
11356
11358
  path,
11357
11359
  originalValue = _value,
@@ -11375,7 +11377,7 @@ attempted value: ${formattedValue}
11375
11377
  tests: initialTests
11376
11378
  }, panic, (initialErrors) => {
11377
11379
  if (initialErrors.length) {
11378
- return next(initialErrors, value);
11380
+ return next2(initialErrors, value);
11379
11381
  }
11380
11382
  this.runTests({
11381
11383
  path,
@@ -11383,14 +11385,14 @@ attempted value: ${formattedValue}
11383
11385
  originalValue,
11384
11386
  options,
11385
11387
  tests: this.tests
11386
- }, panic, next);
11388
+ }, panic, next2);
11387
11389
  });
11388
11390
  }
11389
11391
  /**
11390
11392
  * Executes a set of validations, either schema, produced Tests or a nested
11391
11393
  * schema validate result.
11392
11394
  */
11393
- runTests(runOptions, panic, next) {
11395
+ runTests(runOptions, panic, next2) {
11394
11396
  let fired = false;
11395
11397
  let {
11396
11398
  tests,
@@ -11407,7 +11409,7 @@ attempted value: ${formattedValue}
11407
11409
  let nextOnce = (arg) => {
11408
11410
  if (fired) return;
11409
11411
  fired = true;
11410
- next(arg, value);
11412
+ next2(arg, value);
11411
11413
  };
11412
11414
  let count = tests.length;
11413
11415
  let nestedErrors = [];
@@ -11460,7 +11462,7 @@ attempted value: ${formattedValue}
11460
11462
  [isIndex2 ? "index" : "key"]: k,
11461
11463
  path: isIndex2 || k.includes(".") ? `${parentPath || ""}[${isIndex2 ? k : `"${k}"`}]` : (parentPath ? `${parentPath}.` : "") + key
11462
11464
  });
11463
- return (_, panic, next) => this.resolve(testOptions)._validate(value, testOptions, panic, next);
11465
+ return (_, panic, next2) => this.resolve(testOptions)._validate(value, testOptions, panic, next2);
11464
11466
  }
11465
11467
  validate(value, options) {
11466
11468
  var _options$disableStack2;
@@ -11524,10 +11526,10 @@ attempted value: ${formattedValue}
11524
11526
  if (arguments.length === 0) {
11525
11527
  return this._getDefault();
11526
11528
  }
11527
- let next = this.clone({
11529
+ let next2 = this.clone({
11528
11530
  default: def
11529
11531
  });
11530
- return next;
11532
+ return next2;
11531
11533
  }
11532
11534
  strict(isStrict = true) {
11533
11535
  return this.clone({
@@ -11535,30 +11537,30 @@ attempted value: ${formattedValue}
11535
11537
  });
11536
11538
  }
11537
11539
  nullability(nullable, message) {
11538
- const next = this.clone({
11540
+ const next2 = this.clone({
11539
11541
  nullable
11540
11542
  });
11541
- next.internalTests.nullable = createValidation({
11543
+ next2.internalTests.nullable = createValidation({
11542
11544
  message,
11543
11545
  name: "nullable",
11544
11546
  test(value) {
11545
11547
  return value === null ? this.schema.spec.nullable : true;
11546
11548
  }
11547
11549
  });
11548
- return next;
11550
+ return next2;
11549
11551
  }
11550
11552
  optionality(optional, message) {
11551
- const next = this.clone({
11553
+ const next2 = this.clone({
11552
11554
  optional
11553
11555
  });
11554
- next.internalTests.optionality = createValidation({
11556
+ next2.internalTests.optionality = createValidation({
11555
11557
  message,
11556
11558
  name: "optionality",
11557
11559
  test(value) {
11558
11560
  return value === void 0 ? this.schema.spec.optional : true;
11559
11561
  }
11560
11562
  });
11561
- return next;
11563
+ return next2;
11562
11564
  }
11563
11565
  optional() {
11564
11566
  return this.optionality(true);
@@ -11573,15 +11575,15 @@ attempted value: ${formattedValue}
11573
11575
  return this.nullability(false, message);
11574
11576
  }
11575
11577
  required(message = mixed.required) {
11576
- return this.clone().withMutation((next) => next.nonNullable(message).defined(message));
11578
+ return this.clone().withMutation((next2) => next2.nonNullable(message).defined(message));
11577
11579
  }
11578
11580
  notRequired() {
11579
- return this.clone().withMutation((next) => next.nullable().optional());
11581
+ return this.clone().withMutation((next2) => next2.nullable().optional());
11580
11582
  }
11581
11583
  transform(fn) {
11582
- let next = this.clone();
11583
- next.transforms.push(fn);
11584
- return next;
11584
+ let next2 = this.clone();
11585
+ next2.transforms.push(fn);
11586
+ return next2;
11585
11587
  }
11586
11588
  /**
11587
11589
  * Adds a test function to the schema's queue of tests.
@@ -11620,39 +11622,39 @@ attempted value: ${formattedValue}
11620
11622
  }
11621
11623
  if (opts.message === void 0) opts.message = mixed.default;
11622
11624
  if (typeof opts.test !== "function") throw new TypeError("`test` is a required parameters");
11623
- let next = this.clone();
11625
+ let next2 = this.clone();
11624
11626
  let validate = createValidation(opts);
11625
- let isExclusive = opts.exclusive || opts.name && next.exclusiveTests[opts.name] === true;
11627
+ let isExclusive = opts.exclusive || opts.name && next2.exclusiveTests[opts.name] === true;
11626
11628
  if (opts.exclusive) {
11627
11629
  if (!opts.name) throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");
11628
11630
  }
11629
- if (opts.name) next.exclusiveTests[opts.name] = !!opts.exclusive;
11630
- next.tests = next.tests.filter((fn) => {
11631
+ if (opts.name) next2.exclusiveTests[opts.name] = !!opts.exclusive;
11632
+ next2.tests = next2.tests.filter((fn) => {
11631
11633
  if (fn.OPTIONS.name === opts.name) {
11632
11634
  if (isExclusive) return false;
11633
11635
  if (fn.OPTIONS.test === validate.OPTIONS.test) return false;
11634
11636
  }
11635
11637
  return true;
11636
11638
  });
11637
- next.tests.push(validate);
11638
- return next;
11639
+ next2.tests.push(validate);
11640
+ return next2;
11639
11641
  }
11640
11642
  when(keys2, options) {
11641
11643
  if (!Array.isArray(keys2) && typeof keys2 !== "string") {
11642
11644
  options = keys2;
11643
11645
  keys2 = ".";
11644
11646
  }
11645
- let next = this.clone();
11647
+ let next2 = this.clone();
11646
11648
  let deps = toArray(keys2).map((key) => new Reference(key));
11647
11649
  deps.forEach((dep) => {
11648
- if (dep.isSibling) next.deps.push(dep.key);
11650
+ if (dep.isSibling) next2.deps.push(dep.key);
11649
11651
  });
11650
- next.conditions.push(typeof options === "function" ? new Condition(deps, options) : Condition.fromOptions(deps, options));
11651
- return next;
11652
+ next2.conditions.push(typeof options === "function" ? new Condition(deps, options) : Condition.fromOptions(deps, options));
11653
+ return next2;
11652
11654
  }
11653
11655
  typeError(message) {
11654
- let next = this.clone();
11655
- next.internalTests.typeError = createValidation({
11656
+ let next2 = this.clone();
11657
+ next2.internalTests.typeError = createValidation({
11656
11658
  message,
11657
11659
  name: "typeError",
11658
11660
  skipAbsent: true,
@@ -11665,15 +11667,15 @@ attempted value: ${formattedValue}
11665
11667
  return true;
11666
11668
  }
11667
11669
  });
11668
- return next;
11670
+ return next2;
11669
11671
  }
11670
11672
  oneOf(enums, message = mixed.oneOf) {
11671
- let next = this.clone();
11673
+ let next2 = this.clone();
11672
11674
  enums.forEach((val) => {
11673
- next._whitelist.add(val);
11674
- next._blacklist.delete(val);
11675
+ next2._whitelist.add(val);
11676
+ next2._blacklist.delete(val);
11675
11677
  });
11676
- next.internalTests.whiteList = createValidation({
11678
+ next2.internalTests.whiteList = createValidation({
11677
11679
  message,
11678
11680
  name: "oneOf",
11679
11681
  skipAbsent: true,
@@ -11688,15 +11690,15 @@ attempted value: ${formattedValue}
11688
11690
  });
11689
11691
  }
11690
11692
  });
11691
- return next;
11693
+ return next2;
11692
11694
  }
11693
11695
  notOneOf(enums, message = mixed.notOneOf) {
11694
- let next = this.clone();
11696
+ let next2 = this.clone();
11695
11697
  enums.forEach((val) => {
11696
- next._blacklist.add(val);
11697
- next._whitelist.delete(val);
11698
+ next2._blacklist.add(val);
11699
+ next2._whitelist.delete(val);
11698
11700
  });
11699
- next.internalTests.blacklist = createValidation({
11701
+ next2.internalTests.blacklist = createValidation({
11700
11702
  message,
11701
11703
  name: "notOneOf",
11702
11704
  test(value) {
@@ -11711,12 +11713,12 @@ attempted value: ${formattedValue}
11711
11713
  return true;
11712
11714
  }
11713
11715
  });
11714
- return next;
11716
+ return next2;
11715
11717
  }
11716
11718
  strip(strip = true) {
11717
- let next = this.clone();
11718
- next.spec.strip = strip;
11719
- return next;
11719
+ let next2 = this.clone();
11720
+ next2.spec.strip = strip;
11721
+ return next2;
11720
11722
  }
11721
11723
  /**
11722
11724
  * Return a serialized description of the schema including validations, flags, types etc.
@@ -11724,23 +11726,23 @@ attempted value: ${formattedValue}
11724
11726
  * @param options Provide any needed context for resolving runtime schema alterations (lazy, when conditions, etc).
11725
11727
  */
11726
11728
  describe(options) {
11727
- const next = (options ? this.resolve(options) : this).clone();
11729
+ const next2 = (options ? this.resolve(options) : this).clone();
11728
11730
  const {
11729
11731
  label,
11730
11732
  meta,
11731
11733
  optional,
11732
11734
  nullable
11733
- } = next.spec;
11735
+ } = next2.spec;
11734
11736
  const description = {
11735
11737
  meta,
11736
11738
  label,
11737
11739
  optional,
11738
11740
  nullable,
11739
- default: next.getDefault(options),
11740
- type: next.type,
11741
- oneOf: next._whitelist.describe(),
11742
- notOneOf: next._blacklist.describe(),
11743
- tests: next.tests.filter((n, idx, list) => list.findIndex((c) => c.OPTIONS.name === n.OPTIONS.name) === idx).map((fn) => {
11741
+ default: next2.getDefault(options),
11742
+ type: next2.type,
11743
+ oneOf: next2._whitelist.describe(),
11744
+ notOneOf: next2._blacklist.describe(),
11745
+ tests: next2.tests.filter((n, idx, list) => list.findIndex((c) => c.OPTIONS.name === n.OPTIONS.name) === idx).map((fn) => {
11744
11746
  const params = fn.OPTIONS.params && options ? resolveParams(Object.assign({}, fn.OPTIONS.params), options) : fn.OPTIONS.params;
11745
11747
  return {
11746
11748
  name: fn.OPTIONS.name,
@@ -11896,17 +11898,17 @@ class StringSchema extends Schema {
11896
11898
  return schema;
11897
11899
  });
11898
11900
  }
11899
- length(length, message = string.length) {
11901
+ length(length2, message = string.length) {
11900
11902
  return this.test({
11901
11903
  message,
11902
11904
  name: "length",
11903
11905
  exclusive: true,
11904
11906
  params: {
11905
- length
11907
+ length: length2
11906
11908
  },
11907
11909
  skipAbsent: true,
11908
11910
  test(value) {
11909
- return value.length === this.resolve(length);
11911
+ return value.length === this.resolve(length2);
11910
11912
  }
11911
11913
  });
11912
11914
  }
@@ -12238,9 +12240,9 @@ function sortFields(fields, excludedEdges = []) {
12238
12240
  let nodes = /* @__PURE__ */ new Set();
12239
12241
  let excludes = new Set(excludedEdges.map(([a, b]) => `${a}-${b}`));
12240
12242
  function addNode(depPath, key) {
12241
- let node = propertyExprExports.split(depPath)[0];
12242
- nodes.add(node);
12243
- if (!excludes.has(`${key}-${node}`)) edges.push([key, node]);
12243
+ let node2 = propertyExprExports.split(depPath)[0];
12244
+ nodes.add(node2);
12245
+ if (!excludes.has(`${key}-${node2}`)) edges.push([key, node2]);
12244
12246
  }
12245
12247
  for (const key of Object.keys(fields)) {
12246
12248
  let value = fields[key];
@@ -12379,7 +12381,7 @@ class ObjectSchema extends Schema {
12379
12381
  }
12380
12382
  return isChanged ? intermediateValue : value;
12381
12383
  }
12382
- _validate(_value, options = {}, panic, next) {
12384
+ _validate(_value, options = {}, panic, next2) {
12383
12385
  let {
12384
12386
  from: from2 = [],
12385
12387
  originalValue = _value,
@@ -12393,7 +12395,7 @@ class ObjectSchema extends Schema {
12393
12395
  options.originalValue = originalValue;
12394
12396
  super._validate(_value, options, panic, (objectErrors, value) => {
12395
12397
  if (!recursive || !isObject2(value)) {
12396
- next(objectErrors, value);
12398
+ next2(objectErrors, value);
12397
12399
  return;
12398
12400
  }
12399
12401
  originalValue = originalValue || value;
@@ -12417,26 +12419,26 @@ class ObjectSchema extends Schema {
12417
12419
  originalValue,
12418
12420
  options
12419
12421
  }, panic, (fieldErrors) => {
12420
- next(fieldErrors.sort(this._sortErrors).concat(objectErrors), value);
12422
+ next2(fieldErrors.sort(this._sortErrors).concat(objectErrors), value);
12421
12423
  });
12422
12424
  });
12423
12425
  }
12424
12426
  clone(spec) {
12425
- const next = super.clone(spec);
12426
- next.fields = Object.assign({}, this.fields);
12427
- next._nodes = this._nodes;
12428
- next._excludedEdges = this._excludedEdges;
12429
- next._sortErrors = this._sortErrors;
12430
- return next;
12427
+ const next2 = super.clone(spec);
12428
+ next2.fields = Object.assign({}, this.fields);
12429
+ next2._nodes = this._nodes;
12430
+ next2._excludedEdges = this._excludedEdges;
12431
+ next2._sortErrors = this._sortErrors;
12432
+ return next2;
12431
12433
  }
12432
12434
  concat(schema) {
12433
- let next = super.concat(schema);
12434
- let nextFields = next.fields;
12435
+ let next2 = super.concat(schema);
12436
+ let nextFields = next2.fields;
12435
12437
  for (let [field, schemaOrRef] of Object.entries(this.fields)) {
12436
12438
  const target = nextFields[field];
12437
12439
  nextFields[field] = target === void 0 ? schemaOrRef : target;
12438
12440
  }
12439
- return next.withMutation((s) => (
12441
+ return next2.withMutation((s) => (
12440
12442
  // XXX: excludes here is wrong
12441
12443
  s.setFields(nextFields, [...this._excludedEdges, ...schema._excludedEdges])
12442
12444
  ));
@@ -12464,21 +12466,21 @@ class ObjectSchema extends Schema {
12464
12466
  return dft;
12465
12467
  }
12466
12468
  setFields(shape, excludedEdges) {
12467
- let next = this.clone();
12468
- next.fields = shape;
12469
- next._nodes = sortFields(shape, excludedEdges);
12470
- next._sortErrors = sortByKeyOrder(Object.keys(shape));
12471
- if (excludedEdges) next._excludedEdges = excludedEdges;
12472
- return next;
12469
+ let next2 = this.clone();
12470
+ next2.fields = shape;
12471
+ next2._nodes = sortFields(shape, excludedEdges);
12472
+ next2._sortErrors = sortByKeyOrder(Object.keys(shape));
12473
+ if (excludedEdges) next2._excludedEdges = excludedEdges;
12474
+ return next2;
12473
12475
  }
12474
12476
  shape(additions, excludes = []) {
12475
- return this.clone().withMutation((next) => {
12476
- let edges = next._excludedEdges;
12477
+ return this.clone().withMutation((next2) => {
12478
+ let edges = next2._excludedEdges;
12477
12479
  if (excludes.length) {
12478
12480
  if (!Array.isArray(excludes[0])) excludes = [excludes];
12479
- edges = [...next._excludedEdges, ...excludes];
12481
+ edges = [...next2._excludedEdges, ...excludes];
12480
12482
  }
12481
- return next.setFields(Object.assign(next.fields, additions), edges);
12483
+ return next2.setFields(Object.assign(next2.fields, additions), edges);
12482
12484
  });
12483
12485
  }
12484
12486
  partial() {
@@ -12489,8 +12491,8 @@ class ObjectSchema extends Schema {
12489
12491
  return this.setFields(partial);
12490
12492
  }
12491
12493
  deepPartial() {
12492
- const next = deepPartial(this);
12493
- return next;
12494
+ const next2 = deepPartial(this);
12495
+ return next2;
12494
12496
  }
12495
12497
  pick(keys2) {
12496
12498
  const picked = {};
@@ -12553,7 +12555,7 @@ class ObjectSchema extends Schema {
12553
12555
  message = noAllow;
12554
12556
  noAllow = true;
12555
12557
  }
12556
- let next = this.test({
12558
+ let next2 = this.test({
12557
12559
  name: "noUnknown",
12558
12560
  exclusive: true,
12559
12561
  message,
@@ -12567,8 +12569,8 @@ class ObjectSchema extends Schema {
12567
12569
  });
12568
12570
  }
12569
12571
  });
12570
- next.spec.noUnknown = noAllow;
12571
- return next;
12572
+ next2.spec.noUnknown = noAllow;
12573
+ return next2;
12572
12574
  }
12573
12575
  unknown(allow = true, message = object.noUnknown) {
12574
12576
  return this.noUnknown(!allow, message);
@@ -12591,10 +12593,10 @@ class ObjectSchema extends Schema {
12591
12593
  return this.transformKeys((key) => tinyCaseExports.snakeCase(key).toUpperCase());
12592
12594
  }
12593
12595
  describe(options) {
12594
- const next = (options ? this.resolve(options) : this).clone();
12596
+ const next2 = (options ? this.resolve(options) : this).clone();
12595
12597
  const base = super.describe(options);
12596
12598
  base.fields = {};
12597
- for (const [key, value] of Object.entries(next.fields)) {
12599
+ for (const [key, value] of Object.entries(next2.fields)) {
12598
12600
  var _innerOptions2;
12599
12601
  let innerOptions = options;
12600
12602
  if ((_innerOptions2 = innerOptions) != null && _innerOptions2.value) {
@@ -12879,6 +12881,808 @@ const IMAGES = {
12879
12881
  Us,
12880
12882
  DefaultLang
12881
12883
  };
12884
+ function sheetForTag(tag) {
12885
+ if (tag.sheet) {
12886
+ return tag.sheet;
12887
+ }
12888
+ for (var i = 0; i < document.styleSheets.length; i++) {
12889
+ if (document.styleSheets[i].ownerNode === tag) {
12890
+ return document.styleSheets[i];
12891
+ }
12892
+ }
12893
+ return void 0;
12894
+ }
12895
+ function createStyleElement(options) {
12896
+ var tag = document.createElement("style");
12897
+ tag.setAttribute("data-emotion", options.key);
12898
+ if (options.nonce !== void 0) {
12899
+ tag.setAttribute("nonce", options.nonce);
12900
+ }
12901
+ tag.appendChild(document.createTextNode(""));
12902
+ tag.setAttribute("data-s", "");
12903
+ return tag;
12904
+ }
12905
+ var StyleSheet = /* @__PURE__ */ (function() {
12906
+ function StyleSheet2(options) {
12907
+ var _this = this;
12908
+ this._insertTag = function(tag) {
12909
+ var before;
12910
+ if (_this.tags.length === 0) {
12911
+ if (_this.insertionPoint) {
12912
+ before = _this.insertionPoint.nextSibling;
12913
+ } else if (_this.prepend) {
12914
+ before = _this.container.firstChild;
12915
+ } else {
12916
+ before = _this.before;
12917
+ }
12918
+ } else {
12919
+ before = _this.tags[_this.tags.length - 1].nextSibling;
12920
+ }
12921
+ _this.container.insertBefore(tag, before);
12922
+ _this.tags.push(tag);
12923
+ };
12924
+ this.isSpeedy = options.speedy === void 0 ? true : options.speedy;
12925
+ this.tags = [];
12926
+ this.ctr = 0;
12927
+ this.nonce = options.nonce;
12928
+ this.key = options.key;
12929
+ this.container = options.container;
12930
+ this.prepend = options.prepend;
12931
+ this.insertionPoint = options.insertionPoint;
12932
+ this.before = null;
12933
+ }
12934
+ var _proto = StyleSheet2.prototype;
12935
+ _proto.hydrate = function hydrate(nodes) {
12936
+ nodes.forEach(this._insertTag);
12937
+ };
12938
+ _proto.insert = function insert(rule) {
12939
+ if (this.ctr % (this.isSpeedy ? 65e3 : 1) === 0) {
12940
+ this._insertTag(createStyleElement(this));
12941
+ }
12942
+ var tag = this.tags[this.tags.length - 1];
12943
+ if (this.isSpeedy) {
12944
+ var sheet = sheetForTag(tag);
12945
+ try {
12946
+ sheet.insertRule(rule, sheet.cssRules.length);
12947
+ } catch (e) {
12948
+ }
12949
+ } else {
12950
+ tag.appendChild(document.createTextNode(rule));
12951
+ }
12952
+ this.ctr++;
12953
+ };
12954
+ _proto.flush = function flush() {
12955
+ this.tags.forEach(function(tag) {
12956
+ var _tag$parentNode;
12957
+ return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
12958
+ });
12959
+ this.tags = [];
12960
+ this.ctr = 0;
12961
+ };
12962
+ return StyleSheet2;
12963
+ })();
12964
+ var MS = "-ms-";
12965
+ var MOZ = "-moz-";
12966
+ var WEBKIT = "-webkit-";
12967
+ var COMMENT = "comm";
12968
+ var RULESET = "rule";
12969
+ var DECLARATION = "decl";
12970
+ var IMPORT = "@import";
12971
+ var KEYFRAMES = "@keyframes";
12972
+ var LAYER = "@layer";
12973
+ var abs = Math.abs;
12974
+ var from = String.fromCharCode;
12975
+ var assign = Object.assign;
12976
+ function hash(value, length2) {
12977
+ return charat(value, 0) ^ 45 ? (((length2 << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
12978
+ }
12979
+ function trim(value) {
12980
+ return value.trim();
12981
+ }
12982
+ function match(value, pattern) {
12983
+ return (value = pattern.exec(value)) ? value[0] : value;
12984
+ }
12985
+ function replace(value, pattern, replacement) {
12986
+ return value.replace(pattern, replacement);
12987
+ }
12988
+ function indexof(value, search) {
12989
+ return value.indexOf(search);
12990
+ }
12991
+ function charat(value, index) {
12992
+ return value.charCodeAt(index) | 0;
12993
+ }
12994
+ function substr(value, begin, end) {
12995
+ return value.slice(begin, end);
12996
+ }
12997
+ function strlen(value) {
12998
+ return value.length;
12999
+ }
13000
+ function sizeof(value) {
13001
+ return value.length;
13002
+ }
13003
+ function append(value, array2) {
13004
+ return array2.push(value), value;
13005
+ }
13006
+ function combine(array2, callback) {
13007
+ return array2.map(callback).join("");
13008
+ }
13009
+ var line = 1;
13010
+ var column = 1;
13011
+ var length = 0;
13012
+ var position = 0;
13013
+ var character = 0;
13014
+ var characters = "";
13015
+ function node(value, root2, parent, type, props, children, length2) {
13016
+ return { value, root: root2, parent, type, props, children, line, column, length: length2, return: "" };
13017
+ }
13018
+ function copy(root2, props) {
13019
+ return assign(node("", null, null, "", null, null, 0), root2, { length: -root2.length }, props);
13020
+ }
13021
+ function char() {
13022
+ return character;
13023
+ }
13024
+ function prev() {
13025
+ character = position > 0 ? charat(characters, --position) : 0;
13026
+ if (column--, character === 10)
13027
+ column = 1, line--;
13028
+ return character;
13029
+ }
13030
+ function next() {
13031
+ character = position < length ? charat(characters, position++) : 0;
13032
+ if (column++, character === 10)
13033
+ column = 1, line++;
13034
+ return character;
13035
+ }
13036
+ function peek() {
13037
+ return charat(characters, position);
13038
+ }
13039
+ function caret() {
13040
+ return position;
13041
+ }
13042
+ function slice(begin, end) {
13043
+ return substr(characters, begin, end);
13044
+ }
13045
+ function token(type) {
13046
+ switch (type) {
13047
+ // \0 \t \n \r \s whitespace token
13048
+ case 0:
13049
+ case 9:
13050
+ case 10:
13051
+ case 13:
13052
+ case 32:
13053
+ return 5;
13054
+ // ! + , / > @ ~ isolate token
13055
+ case 33:
13056
+ case 43:
13057
+ case 44:
13058
+ case 47:
13059
+ case 62:
13060
+ case 64:
13061
+ case 126:
13062
+ // ; { } breakpoint token
13063
+ case 59:
13064
+ case 123:
13065
+ case 125:
13066
+ return 4;
13067
+ // : accompanied token
13068
+ case 58:
13069
+ return 3;
13070
+ // " ' ( [ opening delimit token
13071
+ case 34:
13072
+ case 39:
13073
+ case 40:
13074
+ case 91:
13075
+ return 2;
13076
+ // ) ] closing delimit token
13077
+ case 41:
13078
+ case 93:
13079
+ return 1;
13080
+ }
13081
+ return 0;
13082
+ }
13083
+ function alloc(value) {
13084
+ return line = column = 1, length = strlen(characters = value), position = 0, [];
13085
+ }
13086
+ function dealloc(value) {
13087
+ return characters = "", value;
13088
+ }
13089
+ function delimit(type) {
13090
+ return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
13091
+ }
13092
+ function whitespace(type) {
13093
+ while (character = peek())
13094
+ if (character < 33)
13095
+ next();
13096
+ else
13097
+ break;
13098
+ return token(type) > 2 || token(character) > 3 ? "" : " ";
13099
+ }
13100
+ function escaping(index, count) {
13101
+ while (--count && next())
13102
+ if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97)
13103
+ break;
13104
+ return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
13105
+ }
13106
+ function delimiter(type) {
13107
+ while (next())
13108
+ switch (character) {
13109
+ // ] ) " '
13110
+ case type:
13111
+ return position;
13112
+ // " '
13113
+ case 34:
13114
+ case 39:
13115
+ if (type !== 34 && type !== 39)
13116
+ delimiter(character);
13117
+ break;
13118
+ // (
13119
+ case 40:
13120
+ if (type === 41)
13121
+ delimiter(type);
13122
+ break;
13123
+ // \
13124
+ case 92:
13125
+ next();
13126
+ break;
13127
+ }
13128
+ return position;
13129
+ }
13130
+ function commenter(type, index) {
13131
+ while (next())
13132
+ if (type + character === 47 + 10)
13133
+ break;
13134
+ else if (type + character === 42 + 42 && peek() === 47)
13135
+ break;
13136
+ return "/*" + slice(index, position - 1) + "*" + from(type === 47 ? type : next());
13137
+ }
13138
+ function identifier(index) {
13139
+ while (!token(peek()))
13140
+ next();
13141
+ return slice(index, position);
13142
+ }
13143
+ function compile(value) {
13144
+ return dealloc(parse("", null, null, null, [""], value = alloc(value), 0, [0], value));
13145
+ }
13146
+ function parse(value, root2, parent, rule, rules, rulesets, pseudo, points, declarations) {
13147
+ var index = 0;
13148
+ var offset2 = 0;
13149
+ var length2 = pseudo;
13150
+ var atrule = 0;
13151
+ var property = 0;
13152
+ var previous = 0;
13153
+ var variable = 1;
13154
+ var scanning = 1;
13155
+ var ampersand = 1;
13156
+ var character2 = 0;
13157
+ var type = "";
13158
+ var props = rules;
13159
+ var children = rulesets;
13160
+ var reference = rule;
13161
+ var characters2 = type;
13162
+ while (scanning)
13163
+ switch (previous = character2, character2 = next()) {
13164
+ // (
13165
+ case 40:
13166
+ if (previous != 108 && charat(characters2, length2 - 1) == 58) {
13167
+ if (indexof(characters2 += replace(delimit(character2), "&", "&\f"), "&\f") != -1)
13168
+ ampersand = -1;
13169
+ break;
13170
+ }
13171
+ // " ' [
13172
+ case 34:
13173
+ case 39:
13174
+ case 91:
13175
+ characters2 += delimit(character2);
13176
+ break;
13177
+ // \t \n \r \s
13178
+ case 9:
13179
+ case 10:
13180
+ case 13:
13181
+ case 32:
13182
+ characters2 += whitespace(previous);
13183
+ break;
13184
+ // \
13185
+ case 92:
13186
+ characters2 += escaping(caret() - 1, 7);
13187
+ continue;
13188
+ // /
13189
+ case 47:
13190
+ switch (peek()) {
13191
+ case 42:
13192
+ case 47:
13193
+ append(comment(commenter(next(), caret()), root2, parent), declarations);
13194
+ break;
13195
+ default:
13196
+ characters2 += "/";
13197
+ }
13198
+ break;
13199
+ // {
13200
+ case 123 * variable:
13201
+ points[index++] = strlen(characters2) * ampersand;
13202
+ // } ; \0
13203
+ case 125 * variable:
13204
+ case 59:
13205
+ case 0:
13206
+ switch (character2) {
13207
+ // \0 }
13208
+ case 0:
13209
+ case 125:
13210
+ scanning = 0;
13211
+ // ;
13212
+ case 59 + offset2:
13213
+ if (ampersand == -1) characters2 = replace(characters2, /\f/g, "");
13214
+ if (property > 0 && strlen(characters2) - length2)
13215
+ append(property > 32 ? declaration(characters2 + ";", rule, parent, length2 - 1) : declaration(replace(characters2, " ", "") + ";", rule, parent, length2 - 2), declarations);
13216
+ break;
13217
+ // @ ;
13218
+ case 59:
13219
+ characters2 += ";";
13220
+ // { rule/at-rule
13221
+ default:
13222
+ append(reference = ruleset(characters2, root2, parent, index, offset2, rules, points, type, props = [], children = [], length2), rulesets);
13223
+ if (character2 === 123)
13224
+ if (offset2 === 0)
13225
+ parse(characters2, root2, reference, reference, props, rulesets, length2, points, children);
13226
+ else
13227
+ switch (atrule === 99 && charat(characters2, 3) === 110 ? 100 : atrule) {
13228
+ // d l m s
13229
+ case 100:
13230
+ case 108:
13231
+ case 109:
13232
+ case 115:
13233
+ parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length2), children), rules, children, length2, points, rule ? props : children);
13234
+ break;
13235
+ default:
13236
+ parse(characters2, reference, reference, reference, [""], children, 0, points, children);
13237
+ }
13238
+ }
13239
+ index = offset2 = property = 0, variable = ampersand = 1, type = characters2 = "", length2 = pseudo;
13240
+ break;
13241
+ // :
13242
+ case 58:
13243
+ length2 = 1 + strlen(characters2), property = previous;
13244
+ default:
13245
+ if (variable < 1) {
13246
+ if (character2 == 123)
13247
+ --variable;
13248
+ else if (character2 == 125 && variable++ == 0 && prev() == 125)
13249
+ continue;
13250
+ }
13251
+ switch (characters2 += from(character2), character2 * variable) {
13252
+ // &
13253
+ case 38:
13254
+ ampersand = offset2 > 0 ? 1 : (characters2 += "\f", -1);
13255
+ break;
13256
+ // ,
13257
+ case 44:
13258
+ points[index++] = (strlen(characters2) - 1) * ampersand, ampersand = 1;
13259
+ break;
13260
+ // @
13261
+ case 64:
13262
+ if (peek() === 45)
13263
+ characters2 += delimit(next());
13264
+ atrule = peek(), offset2 = length2 = strlen(type = characters2 += identifier(caret())), character2++;
13265
+ break;
13266
+ // -
13267
+ case 45:
13268
+ if (previous === 45 && strlen(characters2) == 2)
13269
+ variable = 0;
13270
+ }
13271
+ }
13272
+ return rulesets;
13273
+ }
13274
+ function ruleset(value, root2, parent, index, offset2, rules, points, type, props, children, length2) {
13275
+ var post = offset2 - 1;
13276
+ var rule = offset2 === 0 ? rules : [""];
13277
+ var size = sizeof(rule);
13278
+ for (var i = 0, j = 0, k = 0; i < index; ++i)
13279
+ for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
13280
+ if (z = trim(j > 0 ? rule[x] + " " + y : replace(y, /&\f/g, rule[x])))
13281
+ props[k++] = z;
13282
+ return node(value, root2, parent, offset2 === 0 ? RULESET : type, props, children, length2);
13283
+ }
13284
+ function comment(value, root2, parent) {
13285
+ return node(value, root2, parent, COMMENT, from(char()), substr(value, 2, -2), 0);
13286
+ }
13287
+ function declaration(value, root2, parent, length2) {
13288
+ return node(value, root2, parent, DECLARATION, substr(value, 0, length2), substr(value, length2 + 1, -1), length2);
13289
+ }
13290
+ function serialize(children, callback) {
13291
+ var output = "";
13292
+ var length2 = sizeof(children);
13293
+ for (var i = 0; i < length2; i++)
13294
+ output += callback(children[i], i, children, callback) || "";
13295
+ return output;
13296
+ }
13297
+ function stringify(element, index, children, callback) {
13298
+ switch (element.type) {
13299
+ case LAYER:
13300
+ if (element.children.length) break;
13301
+ case IMPORT:
13302
+ case DECLARATION:
13303
+ return element.return = element.return || element.value;
13304
+ case COMMENT:
13305
+ return "";
13306
+ case KEYFRAMES:
13307
+ return element.return = element.value + "{" + serialize(element.children, callback) + "}";
13308
+ case RULESET:
13309
+ element.value = element.props.join(",");
13310
+ }
13311
+ return strlen(children = serialize(element.children, callback)) ? element.return = element.value + "{" + children + "}" : "";
13312
+ }
13313
+ function middleware(collection) {
13314
+ var length2 = sizeof(collection);
13315
+ return function(element, index, children, callback) {
13316
+ var output = "";
13317
+ for (var i = 0; i < length2; i++)
13318
+ output += collection[i](element, index, children, callback) || "";
13319
+ return output;
13320
+ };
13321
+ }
13322
+ function rulesheet(callback) {
13323
+ return function(element) {
13324
+ if (!element.root) {
13325
+ if (element = element.return)
13326
+ callback(element);
13327
+ }
13328
+ };
13329
+ }
13330
+ var identifierWithPointTracking = function identifierWithPointTracking2(begin, points, index) {
13331
+ var previous = 0;
13332
+ var character2 = 0;
13333
+ while (true) {
13334
+ previous = character2;
13335
+ character2 = peek();
13336
+ if (previous === 38 && character2 === 12) {
13337
+ points[index] = 1;
13338
+ }
13339
+ if (token(character2)) {
13340
+ break;
13341
+ }
13342
+ next();
13343
+ }
13344
+ return slice(begin, position);
13345
+ };
13346
+ var toRules = function toRules2(parsed, points) {
13347
+ var index = -1;
13348
+ var character2 = 44;
13349
+ do {
13350
+ switch (token(character2)) {
13351
+ case 0:
13352
+ if (character2 === 38 && peek() === 12) {
13353
+ points[index] = 1;
13354
+ }
13355
+ parsed[index] += identifierWithPointTracking(position - 1, points, index);
13356
+ break;
13357
+ case 2:
13358
+ parsed[index] += delimit(character2);
13359
+ break;
13360
+ case 4:
13361
+ if (character2 === 44) {
13362
+ parsed[++index] = peek() === 58 ? "&\f" : "";
13363
+ points[index] = parsed[index].length;
13364
+ break;
13365
+ }
13366
+ // fallthrough
13367
+ default:
13368
+ parsed[index] += from(character2);
13369
+ }
13370
+ } while (character2 = next());
13371
+ return parsed;
13372
+ };
13373
+ var getRules = function getRules2(value, points) {
13374
+ return dealloc(toRules(alloc(value), points));
13375
+ };
13376
+ var fixedElements = /* @__PURE__ */ new WeakMap();
13377
+ var compat = function compat2(element) {
13378
+ if (element.type !== "rule" || !element.parent || // positive .length indicates that this rule contains pseudo
13379
+ // negative .length indicates that this rule has been already prefixed
13380
+ element.length < 1) {
13381
+ return;
13382
+ }
13383
+ var value = element.value;
13384
+ var parent = element.parent;
13385
+ var isImplicitRule = element.column === parent.column && element.line === parent.line;
13386
+ while (parent.type !== "rule") {
13387
+ parent = parent.parent;
13388
+ if (!parent) return;
13389
+ }
13390
+ if (element.props.length === 1 && value.charCodeAt(0) !== 58 && !fixedElements.get(parent)) {
13391
+ return;
13392
+ }
13393
+ if (isImplicitRule) {
13394
+ return;
13395
+ }
13396
+ fixedElements.set(element, true);
13397
+ var points = [];
13398
+ var rules = getRules(value, points);
13399
+ var parentRules = parent.props;
13400
+ for (var i = 0, k = 0; i < rules.length; i++) {
13401
+ for (var j = 0; j < parentRules.length; j++, k++) {
13402
+ element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
13403
+ }
13404
+ }
13405
+ };
13406
+ var removeLabel = function removeLabel2(element) {
13407
+ if (element.type === "decl") {
13408
+ var value = element.value;
13409
+ if (
13410
+ // charcode for l
13411
+ value.charCodeAt(0) === 108 && // charcode for b
13412
+ value.charCodeAt(2) === 98
13413
+ ) {
13414
+ element["return"] = "";
13415
+ element.value = "";
13416
+ }
13417
+ }
13418
+ };
13419
+ function prefix(value, length2) {
13420
+ switch (hash(value, length2)) {
13421
+ // color-adjust
13422
+ case 5103:
13423
+ return WEBKIT + "print-" + value + value;
13424
+ // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
13425
+ case 5737:
13426
+ case 4201:
13427
+ case 3177:
13428
+ case 3433:
13429
+ case 1641:
13430
+ case 4457:
13431
+ case 2921:
13432
+ // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
13433
+ case 5572:
13434
+ case 6356:
13435
+ case 5844:
13436
+ case 3191:
13437
+ case 6645:
13438
+ case 3005:
13439
+ // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
13440
+ case 6391:
13441
+ case 5879:
13442
+ case 5623:
13443
+ case 6135:
13444
+ case 4599:
13445
+ case 4855:
13446
+ // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
13447
+ case 4215:
13448
+ case 6389:
13449
+ case 5109:
13450
+ case 5365:
13451
+ case 5621:
13452
+ case 3829:
13453
+ return WEBKIT + value + value;
13454
+ // appearance, user-select, transform, hyphens, text-size-adjust
13455
+ case 5349:
13456
+ case 4246:
13457
+ case 4810:
13458
+ case 6968:
13459
+ case 2756:
13460
+ return WEBKIT + value + MOZ + value + MS + value + value;
13461
+ // flex, flex-direction
13462
+ case 6828:
13463
+ case 4268:
13464
+ return WEBKIT + value + MS + value + value;
13465
+ // order
13466
+ case 6165:
13467
+ return WEBKIT + value + MS + "flex-" + value + value;
13468
+ // align-items
13469
+ case 5187:
13470
+ return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + "box-$1$2" + MS + "flex-$1$2") + value;
13471
+ // align-self
13472
+ case 5443:
13473
+ return WEBKIT + value + MS + "flex-item-" + replace(value, /flex-|-self/, "") + value;
13474
+ // align-content
13475
+ case 4675:
13476
+ return WEBKIT + value + MS + "flex-line-pack" + replace(value, /align-content|flex-|-self/, "") + value;
13477
+ // flex-shrink
13478
+ case 5548:
13479
+ return WEBKIT + value + MS + replace(value, "shrink", "negative") + value;
13480
+ // flex-basis
13481
+ case 5292:
13482
+ return WEBKIT + value + MS + replace(value, "basis", "preferred-size") + value;
13483
+ // flex-grow
13484
+ case 6060:
13485
+ return WEBKIT + "box-" + replace(value, "-grow", "") + WEBKIT + value + MS + replace(value, "grow", "positive") + value;
13486
+ // transition
13487
+ case 4554:
13488
+ return WEBKIT + replace(value, /([^-])(transform)/g, "$1" + WEBKIT + "$2") + value;
13489
+ // cursor
13490
+ case 6187:
13491
+ return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + "$1"), /(image-set)/, WEBKIT + "$1"), value, "") + value;
13492
+ // background, background-image
13493
+ case 5495:
13494
+ case 3959:
13495
+ return replace(value, /(image-set\([^]*)/, WEBKIT + "$1$`$1");
13496
+ // justify-content
13497
+ case 4968:
13498
+ return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + "box-pack:$3" + MS + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + WEBKIT + value + value;
13499
+ // (margin|padding)-inline-(start|end)
13500
+ case 4095:
13501
+ case 3583:
13502
+ case 4068:
13503
+ case 2532:
13504
+ return replace(value, /(.+)-inline(.+)/, WEBKIT + "$1$2") + value;
13505
+ // (min|max)?(width|height|inline-size|block-size)
13506
+ case 8116:
13507
+ case 7059:
13508
+ case 5753:
13509
+ case 5535:
13510
+ case 5445:
13511
+ case 5701:
13512
+ case 4933:
13513
+ case 4677:
13514
+ case 5533:
13515
+ case 5789:
13516
+ case 5021:
13517
+ case 4765:
13518
+ if (strlen(value) - 1 - length2 > 6) switch (charat(value, length2 + 1)) {
13519
+ // (m)ax-content, (m)in-content
13520
+ case 109:
13521
+ if (charat(value, length2 + 4) !== 45) break;
13522
+ // (f)ill-available, (f)it-content
13523
+ case 102:
13524
+ return replace(value, /(.+:)(.+)-([^]+)/, "$1" + WEBKIT + "$2-$3$1" + MOZ + (charat(value, length2 + 3) == 108 ? "$3" : "$2-$3")) + value;
13525
+ // (s)tretch
13526
+ case 115:
13527
+ return ~indexof(value, "stretch") ? prefix(replace(value, "stretch", "fill-available"), length2) + value : value;
13528
+ }
13529
+ break;
13530
+ // position: sticky
13531
+ case 4949:
13532
+ if (charat(value, length2 + 1) !== 115) break;
13533
+ // display: (flex|inline-flex)
13534
+ case 6444:
13535
+ switch (charat(value, strlen(value) - 3 - (~indexof(value, "!important") && 10))) {
13536
+ // stic(k)y
13537
+ case 107:
13538
+ return replace(value, ":", ":" + WEBKIT) + value;
13539
+ // (inline-)?fl(e)x
13540
+ case 101:
13541
+ return replace(value, /(.+:)([^;!]+)(;|!.+)?/, "$1" + WEBKIT + (charat(value, 14) === 45 ? "inline-" : "") + "box$3$1" + WEBKIT + "$2$3$1" + MS + "$2box$3") + value;
13542
+ }
13543
+ break;
13544
+ // writing-mode
13545
+ case 5936:
13546
+ switch (charat(value, length2 + 11)) {
13547
+ // vertical-l(r)
13548
+ case 114:
13549
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb") + value;
13550
+ // vertical-r(l)
13551
+ case 108:
13552
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb-rl") + value;
13553
+ // horizontal(-)tb
13554
+ case 45:
13555
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "lr") + value;
13556
+ }
13557
+ return WEBKIT + value + MS + value + value;
13558
+ }
13559
+ return value;
13560
+ }
13561
+ var prefixer = function prefixer2(element, index, children, callback) {
13562
+ if (element.length > -1) {
13563
+ if (!element["return"]) switch (element.type) {
13564
+ case DECLARATION:
13565
+ element["return"] = prefix(element.value, element.length);
13566
+ break;
13567
+ case KEYFRAMES:
13568
+ return serialize([copy(element, {
13569
+ value: replace(element.value, "@", "@" + WEBKIT)
13570
+ })], callback);
13571
+ case RULESET:
13572
+ if (element.length) return combine(element.props, function(value) {
13573
+ switch (match(value, /(::plac\w+|:read-\w+)/)) {
13574
+ // :read-(only|write)
13575
+ case ":read-only":
13576
+ case ":read-write":
13577
+ return serialize([copy(element, {
13578
+ props: [replace(value, /:(read-\w+)/, ":" + MOZ + "$1")]
13579
+ })], callback);
13580
+ // :placeholder
13581
+ case "::placeholder":
13582
+ return serialize([copy(element, {
13583
+ props: [replace(value, /:(plac\w+)/, ":" + WEBKIT + "input-$1")]
13584
+ }), copy(element, {
13585
+ props: [replace(value, /:(plac\w+)/, ":" + MOZ + "$1")]
13586
+ }), copy(element, {
13587
+ props: [replace(value, /:(plac\w+)/, MS + "input-$1")]
13588
+ })], callback);
13589
+ }
13590
+ return "";
13591
+ });
13592
+ }
13593
+ }
13594
+ };
13595
+ var defaultStylisPlugins = [prefixer];
13596
+ var createCache = function createCache2(options) {
13597
+ var key = options.key;
13598
+ if (key === "css") {
13599
+ var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])");
13600
+ Array.prototype.forEach.call(ssrStyles, function(node2) {
13601
+ var dataEmotionAttribute = node2.getAttribute("data-emotion");
13602
+ if (dataEmotionAttribute.indexOf(" ") === -1) {
13603
+ return;
13604
+ }
13605
+ document.head.appendChild(node2);
13606
+ node2.setAttribute("data-s", "");
13607
+ });
13608
+ }
13609
+ var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
13610
+ var inserted = {};
13611
+ var container;
13612
+ var nodesToHydrate = [];
13613
+ {
13614
+ container = options.container || document.head;
13615
+ Array.prototype.forEach.call(
13616
+ // this means we will ignore elements which don't have a space in them which
13617
+ // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
13618
+ document.querySelectorAll('style[data-emotion^="' + key + ' "]'),
13619
+ function(node2) {
13620
+ var attrib = node2.getAttribute("data-emotion").split(" ");
13621
+ for (var i = 1; i < attrib.length; i++) {
13622
+ inserted[attrib[i]] = true;
13623
+ }
13624
+ nodesToHydrate.push(node2);
13625
+ }
13626
+ );
13627
+ }
13628
+ var _insert;
13629
+ var omnipresentPlugins = [compat, removeLabel];
13630
+ {
13631
+ var currentSheet;
13632
+ var finalizingPlugins = [stringify, rulesheet(function(rule) {
13633
+ currentSheet.insert(rule);
13634
+ })];
13635
+ var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
13636
+ var stylis = function stylis2(styles2) {
13637
+ return serialize(compile(styles2), serializer);
13638
+ };
13639
+ _insert = function insert(selector, serialized, sheet, shouldCache) {
13640
+ currentSheet = sheet;
13641
+ stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
13642
+ if (shouldCache) {
13643
+ cache.inserted[serialized.name] = true;
13644
+ }
13645
+ };
13646
+ }
13647
+ var cache = {
13648
+ key,
13649
+ sheet: new StyleSheet({
13650
+ key,
13651
+ container,
13652
+ nonce: options.nonce,
13653
+ speedy: options.speedy,
13654
+ prepend: options.prepend,
13655
+ insertionPoint: options.insertionPoint
13656
+ }),
13657
+ nonce: options.nonce,
13658
+ inserted,
13659
+ registered: {},
13660
+ insert: _insert
13661
+ };
13662
+ cache.sheet.hydrate(nodesToHydrate);
13663
+ return cache;
13664
+ };
13665
+ material.unstable_ClassNameGenerator.configure((componentName) => `sixseconds-modules-${componentName}`);
13666
+ function createEmotionCache() {
13667
+ if (typeof document === "undefined") {
13668
+ return createCache({ key: "sixseconds", prepend: true });
13669
+ }
13670
+ let insertionPoint;
13671
+ const metaTag = document.querySelector('meta[name="sixseconds-insertion-point"]');
13672
+ if (metaTag) {
13673
+ insertionPoint = metaTag;
13674
+ }
13675
+ return createCache({
13676
+ key: "sixseconds",
13677
+ prepend: false,
13678
+ // false = append after insertionPoint (keeps order stable)
13679
+ ...insertionPoint ? { insertionPoint } : { prepend: true }
13680
+ });
13681
+ }
13682
+ function MuiProvider({ children }) {
13683
+ const cacheRef = React.useRef(createEmotionCache());
13684
+ return /* @__PURE__ */ jsxRuntime.jsx(react.CacheProvider, { value: cacheRef.current, children });
13685
+ }
12882
13686
  const DangerDialog = ({
12883
13687
  open,
12884
13688
  setInitialState,
@@ -14279,8 +15083,8 @@ const Notification = ({ setInitialState, notificationAccessApps, initialState, t
14279
15083
  return;
14280
15084
  }
14281
15085
  const newNotifications = pager?.data?.map((itm) => transformNotifications(itm));
14282
- setNotifications((prev) => [...prev, ...newNotifications]);
14283
- setPage((prev) => prev + 1);
15086
+ setNotifications((prev2) => [...prev2, ...newNotifications]);
15087
+ setPage((prev2) => prev2 + 1);
14284
15088
  }
14285
15089
  };
14286
15090
  return /* @__PURE__ */ jsxRuntime.jsx(material.ClickAwayListener, { onClickAway: () => handleCloseUtil(setInitialState), children: /* @__PURE__ */ jsxRuntime.jsxs(
@@ -14450,7 +15254,7 @@ const SubHeaderStyled = styles.styled(material.AppBar)(() => ({
14450
15254
  alignItems: "center",
14451
15255
  fontFamily: "'IBM Plex Sans', sans-serif"
14452
15256
  },
14453
- "& .sixseconds-header-notification h6,p": {
15257
+ "& .sixseconds-header-notification h6, & .sixseconds-header-notification p": {
14454
15258
  margin: "10px",
14455
15259
  fontFamily: "'IBM Plex Sans', sans-serif"
14456
15260
  },
@@ -14623,7 +15427,7 @@ const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, route
14623
15427
  ] }) })
14624
15428
  ] });
14625
15429
  };
14626
- const Header = ({
15430
+ const HeaderInner = ({
14627
15431
  router,
14628
15432
  frontCustomComponent,
14629
15433
  endCustomComponents,
@@ -14645,7 +15449,7 @@ const Header = ({
14645
15449
  handleSideToggle,
14646
15450
  t
14647
15451
  }) => {
14648
- const isMobile = material.useMediaQuery("(max-width: 1324px)");
15452
+ const isMobile = material.useMediaQuery("(max-width: 1324px)", { noSsr: true });
14649
15453
  const [state, setState] = React.useState({
14650
15454
  languages: [],
14651
15455
  menuData: [],
@@ -14772,8 +15576,9 @@ const Header = ({
14772
15576
  },
14773
15577
  children: [
14774
15578
  /* @__PURE__ */ jsxRuntime.jsx(
14775
- material.Typography,
15579
+ material.Box,
14776
15580
  {
15581
+ component: "span",
14777
15582
  sx: {
14778
15583
  cursor: "pointer"
14779
15584
  },
@@ -14810,8 +15615,9 @@ const Header = ({
14810
15615
  },
14811
15616
  children: [
14812
15617
  /* @__PURE__ */ jsxRuntime.jsxs(
14813
- material.Typography,
15618
+ material.Box,
14814
15619
  {
15620
+ component: "span",
14815
15621
  "data-toggle-name": "lang",
14816
15622
  onClick: (e) => handleOpenUtil(e, setState),
14817
15623
  sx: {
@@ -14905,6 +15711,7 @@ const Header = ({
14905
15711
  /* @__PURE__ */ jsxRuntime.jsx(ViewProfileDialog, { isOpen: state.toggles.viewProfile, userData, setInitialState: setState })
14906
15712
  ] });
14907
15713
  };
15714
+ const Header = (props) => /* @__PURE__ */ jsxRuntime.jsx(MuiProvider, { children: /* @__PURE__ */ jsxRuntime.jsx(HeaderInner, { ...props }) });
14908
15715
  function LabeledInput({
14909
15716
  label,
14910
15717
  sx,
@@ -15193,7 +16000,7 @@ const ButtonStyled = material.styled("div")(() => ({
15193
16000
  function Button({ isLoading = false, btnTitle, className, disabled = false, ...rest }) {
15194
16001
  return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsx(ButtonStyled, { children: /* @__PURE__ */ jsxRuntime.jsx(material.Button, { disabled, className: `btn ${className}`, ...rest, size: "small", children: isLoading ? ALERT_MESSAGES.commonLoadingMessage : btnTitle }) }) });
15195
16002
  }
15196
- const PreviousLoginBanner = ({ t: t2, router, sx }) => {
16003
+ const PreviousLoginBannerInner = ({ t: t2, router, sx }) => {
15197
16004
  const previousLoginDetails = CookiesUtil.get(STORAGE_VALUES.previousLoginBanner) || {};
15198
16005
  CookiesUtil.set(STORAGE_VALUES.previousLoginBanner, previousLoginDetails);
15199
16006
  const handleAutoLogin = async () => {
@@ -15237,6 +16044,7 @@ const PreviousLoginBanner = ({ t: t2, router, sx }) => {
15237
16044
  }
15238
16045
  );
15239
16046
  };
16047
+ const PreviousLoginBanner = (props) => /* @__PURE__ */ jsxRuntime.jsx(MuiProvider, { children: /* @__PURE__ */ jsxRuntime.jsx(PreviousLoginBannerInner, { ...props }) });
15240
16048
  const App = () => {
15241
16049
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
15242
16050
  /* @__PURE__ */ jsxRuntime.jsx(