@pie-element/select-text 13.1.2-next.0 → 13.1.2-next.10

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.
Files changed (151) hide show
  1. package/dist/author/design.d.ts +2 -2
  2. package/dist/author/design.js +78 -79
  3. package/dist/author/index.js +2 -2
  4. package/dist/browser/{Check-CXevxzJJ.js → Check-DfUn7PkH.js} +2708 -3429
  5. package/dist/browser/Check-DfUn7PkH.js.map +1 -0
  6. package/dist/browser/author/index.js +24219 -21826
  7. package/dist/browser/author/index.js.map +1 -1
  8. package/dist/browser/controller/index.js +12 -13
  9. package/dist/browser/controller/index.js.map +1 -1
  10. package/dist/browser/delivery/index.js +3 -3
  11. package/dist/browser/delivery/index.js.map +1 -1
  12. package/dist/browser/{_getTag-x1UozeM0.js → dist-BamN0-DG.js} +102 -160
  13. package/dist/browser/dist-BamN0-DG.js.map +1 -0
  14. package/dist/browser/{main-4aycOoI5.js → main-B3z36nHt.js} +1030 -1022
  15. package/dist/browser/main-B3z36nHt.js.map +1 -0
  16. package/dist/browser/print/index.js +7 -8
  17. package/dist/browser/print/index.js.map +1 -1
  18. package/dist/controller/index.js +19 -19
  19. package/dist/delivery/index.js +1 -1
  20. package/dist/delivery/main.d.ts +2 -0
  21. package/dist/delivery/main.js +58 -49
  22. package/dist/index.iife.js +40 -40
  23. package/dist/print/index.js +9 -9
  24. package/dist/runtime-support.d.ts +12 -0
  25. package/dist/runtime-support.js +12 -0
  26. package/module/print.js +20113 -0
  27. package/module/print.js.map +1 -0
  28. package/package.json +28 -12
  29. package/print.js +2 -0
  30. package/dist/browser/Check-CXevxzJJ.js.map +0 -1
  31. package/dist/browser/_getTag-x1UozeM0.js.map +0 -1
  32. package/dist/browser/debounce-CUpLfqAu.js +0 -86
  33. package/dist/browser/debounce-CUpLfqAu.js.map +0 -1
  34. package/dist/browser/isEmpty-Bsms1e2W.js +0 -16
  35. package/dist/browser/isEmpty-Bsms1e2W.js.map +0 -1
  36. package/dist/browser/main-4aycOoI5.js.map +0 -1
  37. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +0 -6
  38. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +0 -16
  39. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +0 -16
  40. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +0 -6
  41. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +0 -16
  42. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +0 -6
  43. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +0 -6
  44. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +0 -14
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +0 -5
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +0 -5
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +0 -6
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +0 -7
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +0 -10
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +0 -15
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +0 -7
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +0 -10
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +0 -8
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +0 -8
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +0 -8
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +0 -12
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +0 -57
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +0 -14
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +0 -10
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +0 -9
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +0 -9
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +0 -11
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +0 -9
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +0 -11
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +0 -12
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +0 -13
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +0 -7
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js +0 -8
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +0 -8
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +0 -10
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +0 -8
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +0 -8
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +0 -8
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +0 -8
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +0 -8
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +0 -14
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +0 -8
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +0 -8
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +0 -5
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +0 -10
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +0 -4
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +0 -9
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +0 -9
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +0 -8
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +0 -9
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +0 -5
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +0 -14
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +0 -10
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +0 -11
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +0 -23
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +0 -6
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +0 -7
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +0 -7
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +0 -13
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +0 -9
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +0 -9
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +0 -8
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +0 -33
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +0 -9
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +0 -8
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +0 -7
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +0 -11
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +0 -8
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +0 -6
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +0 -9
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +0 -8
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +0 -7
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +0 -8
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +0 -13
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +0 -8
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +0 -7
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +0 -7
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +0 -8
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +0 -5
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +0 -5
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +0 -8
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +0 -9
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +0 -7
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +0 -8
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +0 -5
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +0 -7
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +0 -7
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +0 -6
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +0 -6
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +0 -16
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +0 -15
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js +0 -8
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +0 -8
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/debounce.js +0 -50
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +0 -6
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +0 -10
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +0 -4
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +0 -8
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +0 -6
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +0 -21
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +0 -11
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +0 -7
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +0 -7
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +0 -7
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +0 -6
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +0 -7
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +0 -9
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +0 -7
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +0 -9
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +0 -9
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/now.js +0 -7
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +0 -6
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +0 -6
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js +0 -19
@@ -1,9 +1,10 @@
1
- import { C as e, b as t, w as n, x as r } from "./_getTag-x1UozeM0.js";
2
- import { B as i, Ht as a, K as o, Lt as s, N as c, R as l, V as u, W as d, at as f, l as p, ln as m, n as h, o as g, ot as _, p as v, r as y, t as b, xt as x, z as S } from "./Check-CXevxzJJ.js";
1
+ import { _ as e, b as t, g as n, s as r, t as i, y as a } from "./dist-BamN0-DG.js";
2
+ import { C as o, F as s, Ht as c, I as l, S as u, Z as d, _ as f, b as p, g as m, gt as h, h as g, l as _, m as v, n as y, o as b, pt as x, r as S, t as ee } from "./Check-DfUn7PkH.js";
3
3
  import C, { useRef as w } from "react";
4
- import { Fragment as T, jsx as E, jsxs as D } from "react/jsx-runtime";
4
+ import T from "react-dom";
5
+ import { Fragment as te, jsx as E, jsxs as D } from "react/jsx-runtime";
5
6
  //#region ../../lib-react/icons/dist/correct-response-icon.js
6
- var O = /* @__PURE__ */ n(m(), 1), ee = ({ bgFill: e, fgFill: t }) => /* @__PURE__ */ D("svg", {
7
+ var O = /* @__PURE__ */ t(c(), 1), ne = ({ bgFill: e, fgFill: t }) => /* @__PURE__ */ D("svg", {
7
8
  preserveAspectRatio: "xMinYMin meet",
8
9
  version: "1.1",
9
10
  viewBox: "-283 359 34 35",
@@ -25,11 +26,11 @@ var O = /* @__PURE__ */ n(m(), 1), ee = ({ bgFill: e, fgFill: t }) => /* @__PURE
25
26
  })
26
27
  ]
27
28
  });
28
- ee.propTypes = {
29
+ ne.propTypes = {
29
30
  bgFill: O.default.string.isRequired,
30
31
  fgFill: O.default.string.isRequired
31
32
  };
32
- var k = ({ bgFill: e, fgFill: t, borderFill: n }) => /* @__PURE__ */ D("svg", {
33
+ var re = ({ bgFill: e, fgFill: t, borderFill: n }) => /* @__PURE__ */ D("svg", {
33
34
  preserveAspectRatio: "xMinYMin meet",
34
35
  version: "1.1",
35
36
  viewBox: "-129.5 127 34 35",
@@ -69,76 +70,76 @@ var k = ({ bgFill: e, fgFill: t, borderFill: n }) => /* @__PURE__ */ D("svg", {
69
70
  })
70
71
  ]
71
72
  });
72
- k.propTypes = {
73
+ re.propTypes = {
73
74
  bgFill: O.default.string.isRequired,
74
75
  fgFill: O.default.string.isRequired,
75
76
  borderFill: O.default.string.isRequired
76
77
  };
77
- var te = a("div")(({ size: e }) => ({
78
+ var ie = h("div")(({ size: e }) => ({
78
79
  width: e || "25px",
79
80
  height: e || "25px"
80
- })), ne = ({ open: e, size: t }) => /* @__PURE__ */ E(te, {
81
+ })), ae = ({ open: e, size: t }) => /* @__PURE__ */ E(ie, {
81
82
  size: t,
82
- children: e ? /* @__PURE__ */ E(ee, {
83
+ children: e ? /* @__PURE__ */ E(ne, {
83
84
  bgFill: "#bce2ff",
84
85
  fgFill: "#1a9cff"
85
- }) : /* @__PURE__ */ E(k, {
86
+ }) : /* @__PURE__ */ E(re, {
86
87
  bgFill: "white",
87
88
  fgFill: "#1a9cff",
88
89
  borderFill: "#bce2ff"
89
90
  })
90
91
  });
91
- ne.propTypes = {
92
+ ae.propTypes = {
92
93
  open: O.default.bool,
93
94
  size: O.default.string
94
- }, ne.defaultProps = { open: !1 };
95
+ }, ae.defaultProps = { open: !1 };
95
96
  //#endregion
96
97
  //#region ../../../node_modules/.bun/@mui+icons-material@7.3.11+44ccb211c00abd9d/node_modules/@mui/icons-material/esm/Close.js
97
- var re = /* @__PURE__ */ n(y(), 1), ie = s(/*#__PURE__*/ E("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }), "Close"), ae = 3.2, oe = 3.4, A = 2, se = a("span")(({ theme: e }) => ({
98
+ var oe = x(/*#__PURE__*/ E("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }), "Close"), se = 3.2, k = 3.4, ce = 2, A = h("span")(({ theme: e }) => ({
98
99
  cursor: "pointer",
99
100
  textIndent: 0,
100
101
  "&.disabled": {
101
102
  cursor: "inherit",
102
- color: _.disabled()
103
+ color: l.disabled()
103
104
  },
104
105
  "&.disabledBlack": {
105
106
  cursor: "inherit",
106
107
  pointerEvents: "none"
107
108
  },
108
- "&.disabledAndSelected": { backgroundColor: _.blueGrey100() },
109
- [`@media (min-width: ${e.breakpoints.values.md}px)`]: { "&.selectable:hover": {
110
- backgroundColor: _.blueGrey300(),
109
+ "&.disabledAndSelected": { backgroundColor: l.blueGrey100() },
110
+ [`@media (min-width: ${e.breakpoints.values.md}px)`]: { "&.selectableToken:hover": {
111
+ backgroundColor: l.blueGrey300(),
111
112
  color: e.palette.common.black,
112
- "& > *": { backgroundColor: _.blueGrey300() }
113
+ "& > *": { backgroundColor: l.blueGrey300() }
113
114
  } },
114
- "&.selected": {
115
- backgroundColor: _.blueGrey100(),
115
+ "&.selectedToken": {
116
+ backgroundColor: l.blueGrey100(),
116
117
  color: e.palette.common.black,
117
- lineHeight: `${parseFloat(e.spacing(1)) * ae}px`,
118
- border: `solid 2px ${_.blueGrey900()}`,
118
+ lineHeight: `${parseFloat(e.spacing(1)) * se}px`,
119
+ border: `solid 2px ${l.blueGrey900()}`,
119
120
  borderRadius: "4px",
120
- "& > *": { backgroundColor: _.blueGrey100() }
121
+ "& > *": { backgroundColor: l.blueGrey100() }
121
122
  },
122
123
  "&.highlight": {
123
- border: `dashed 2px ${_.blueGrey600()}`,
124
+ border: `dashed 2px ${l.blueGrey600()}`,
124
125
  borderRadius: "4px",
125
- lineHeight: `${parseFloat(e.spacing(1)) * ae}px`
126
+ lineHeight: `${parseFloat(e.spacing(1)) * se}px`
126
127
  },
127
128
  "&.print": {
128
- border: `dashed 2px ${_.blueGrey600()}`,
129
+ border: `dashed 2px ${l.blueGrey600()}`,
129
130
  borderRadius: "4px",
130
- lineHeight: `${parseFloat(e.spacing(1)) * ae}px`,
131
- color: _.text()
131
+ lineHeight: `${parseFloat(e.spacing(1)) * se}px`,
132
+ color: l.text()
132
133
  },
133
134
  "&.custom": { display: "initial" }
134
- })), j = a("span")(({ theme: e }) => ({
135
+ })), le = h("span")(({ theme: e }) => ({
135
136
  position: "relative",
136
137
  borderRadius: "4px",
137
138
  color: e.palette.common.black,
138
- lineHeight: `${parseFloat(e.spacing(1)) * oe + A}px`,
139
- padding: `${A}px`
140
- })), ce = a(j)(() => ({ border: `${_.correctTertiary()} solid 2px` })), le = a(j)(() => ({ border: `${_.incorrectWithIcon()} solid 2px` })), ue = a(j)(() => ({ border: `${_.incorrectWithIcon()} dashed 2px` })), de = {
141
- color: _.white(),
139
+ lineHeight: `${parseFloat(e.spacing(1)) * k + ce}px`,
140
+ padding: `${ce}px`
141
+ })), ue = h(le)(() => ({ border: `${l.correctTertiary()} solid 2px` })), de = h(le)(() => ({ border: `${l.incorrectWithIcon()} solid 2px` })), fe = h(le)(() => ({ border: `${l.incorrectWithIcon()} dashed 2px` })), pe = {
142
+ color: l.white(),
142
143
  position: "absolute",
143
144
  top: "-8px",
144
145
  left: "-8px",
@@ -146,14 +147,14 @@ var re = /* @__PURE__ */ n(y(), 1), ie = s(/*#__PURE__*/ E("path", { d: "M19 6.4
146
147
  fontSize: "12px",
147
148
  padding: "2px",
148
149
  display: "inline-block"
149
- }, fe = a(b)(() => ({
150
- ...de,
151
- backgroundColor: _.correctTertiary()
152
- })), pe = a(ie)(() => ({
153
- ...de,
154
- backgroundColor: _.incorrectWithIcon()
155
- })), me = ({ useWrapper: e, children: t, Container: n, Icon: r }) => e ? /* @__PURE__ */ D(n, { children: [t, r ? /* @__PURE__ */ E(r, {}) : null] }) : t;
156
- me.propTypes = {
150
+ }, me = h(ee)(() => ({
151
+ ...pe,
152
+ backgroundColor: l.correctTertiary()
153
+ })), he = h(oe)(() => ({
154
+ ...pe,
155
+ backgroundColor: l.incorrectWithIcon()
156
+ })), j = ({ useWrapper: e, children: t, Container: n, Icon: r }) => e ? /* @__PURE__ */ D(n, { children: [t, r ? /* @__PURE__ */ E(r, {}) : null] }) : t;
157
+ j.propTypes = {
157
158
  useWrapper: O.default.bool,
158
159
  Container: O.default.elementType,
159
160
  Icon: O.default.elementType,
@@ -179,52 +180,52 @@ var M = {
179
180
  getClassAndIconConfig = () => {
180
181
  let { selectable: t, selected: n, className: r, disabled: i, highlight: a, correct: o, animationsDisabled: s, isMissing: c } = this.props, l = "ontouchstart" in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0, u = e.rootClassName;
181
182
  if (o === void 0 && n && i) return {
182
- className: (0, re.default)(u, "selected", "disabledBlack", r),
183
- Component: se
183
+ className: S(u, "selectedToken", "disabledBlack", r),
184
+ Component: A
184
185
  };
185
186
  if (o !== void 0) {
186
187
  let e = o === !0;
187
188
  return {
188
- className: (0, re.default)(u, "custom", r),
189
- Component: se,
190
- Container: e ? ce : le,
191
- Icon: e ? fe : pe
189
+ className: S(u, "custom", r),
190
+ Component: A,
191
+ Container: e ? ue : de,
192
+ Icon: e ? me : he
192
193
  };
193
194
  }
194
195
  return c ? {
195
- className: (0, re.default)(u, "custom", "missing", r),
196
- Component: se,
197
- Container: ue,
198
- Icon: pe
196
+ className: S(u, "custom", "missing", r),
197
+ Component: A,
198
+ Container: fe,
199
+ Icon: he
199
200
  } : {
200
- className: (0, re.default)(u, i && "disabled", t && !i && !l && "selectable", n && !i && "selected", n && i && "disabledAndSelected", a && t && !i && !n && "highlight", s && "print", r),
201
- Component: se,
201
+ className: S(u, i && "disabled", t && !i && !l && "selectableToken", n && !i && "selectedToken", n && i && "disabledAndSelected", a && t && !i && !n && "highlight", s && "print", r),
202
+ Component: A,
202
203
  Container: void 0,
203
204
  Icon: void 0
204
205
  };
205
206
  };
206
207
  render() {
207
208
  let { text: e, index: t, correct: n, isMissing: r } = this.props, { className: i, Component: a, Container: o, Icon: s } = this.getClassAndIconConfig();
208
- return /* @__PURE__ */ E(me, {
209
+ return /* @__PURE__ */ E(j, {
209
210
  useWrapper: n !== void 0 || r,
210
211
  Container: o,
211
212
  Icon: s,
212
- children: /* @__PURE__ */ E(a || se, {
213
+ children: /* @__PURE__ */ E(a || A, {
213
214
  className: i,
214
215
  dangerouslySetInnerHTML: { __html: (e || "").replace(/\n/g, "<br>") },
215
216
  "data-indexkey": t
216
217
  })
217
218
  });
218
219
  }
219
- }, P = /* @__PURE__ */ r(((t) => {
220
- var n = e("react");
221
- function r(e) {
220
+ }, ge = /* @__PURE__ */ e(((e) => {
221
+ var t = a("react");
222
+ function n(e) {
222
223
  for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
223
224
  return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
224
225
  }
225
- var i = Object.prototype.hasOwnProperty, a = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, o = {}, s = {};
226
+ var r = Object.prototype.hasOwnProperty, i = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, o = {}, s = {};
226
227
  function c(e) {
227
- return i.call(s, e) ? !0 : i.call(o, e) ? !1 : a.test(e) ? s[e] = !0 : (o[e] = !0, !1);
228
+ return r.call(s, e) ? !0 : r.call(o, e) ? !1 : i.test(e) ? s[e] = !0 : (o[e] = !0, !1);
228
229
  }
229
230
  function l(e, t, n, r, i, a, o) {
230
231
  this.acceptsBooleans = t === 2 || t === 3 || t === 4, this.attributeName = r, this.attributeNamespace = i, this.mustUseProperty = n, this.propertyName = e, this.type = t, this.sanitizeURL = a, this.removeEmptyString = o;
@@ -412,10 +413,10 @@ var M = {
412
413
  return 4 <= e.insertionMode || e.insertionMode === 0 ? b(1, null) : e;
413
414
  }
414
415
  var S = /* @__PURE__ */ new Map();
415
- function C(e, t, n) {
416
- if (typeof n != "object") throw Error(r(62));
417
- for (var a in t = !0, n) if (i.call(n, a)) {
418
- var o = n[a];
416
+ function ee(e, t, i) {
417
+ if (typeof i != "object") throw Error(n(62));
418
+ for (var a in t = !0, i) if (r.call(i, a)) {
419
+ var o = i[a];
419
420
  if (o != null && typeof o != "boolean" && o !== "") {
420
421
  if (a.indexOf("--") === 0) {
421
422
  var s = g(a);
@@ -423,17 +424,17 @@ var M = {
423
424
  } else {
424
425
  s = a;
425
426
  var c = S.get(s);
426
- c === void 0 ? (c = g(s.replace(_, "-$1").toLowerCase().replace(v, "-ms-")), S.set(s, c), s = c) : s = c, o = typeof o == "number" ? o === 0 || i.call(p, a) ? "" + o : o + "px" : g(("" + o).trim());
427
+ c === void 0 ? (c = g(s.replace(_, "-$1").toLowerCase().replace(v, "-ms-")), S.set(s, c), s = c) : s = c, o = typeof o == "number" ? o === 0 || r.call(p, a) ? "" + o : o + "px" : g(("" + o).trim());
427
428
  }
428
429
  t ? (t = !1, e.push(" style=\"", s, ":", o)) : e.push(";", s, ":", o);
429
430
  }
430
431
  }
431
432
  t || e.push("\"");
432
433
  }
433
- function w(e, t, n, r) {
434
+ function C(e, t, n, r) {
434
435
  switch (n) {
435
436
  case "style":
436
- C(e, t, r);
437
+ ee(e, t, r);
437
438
  return;
438
439
  case "defaultValue":
439
440
  case "defaultChecked":
@@ -473,23 +474,23 @@ var M = {
473
474
  }
474
475
  }
475
476
  }
476
- function T(e, t, n) {
477
+ function w(e, t, r) {
477
478
  if (t != null) {
478
- if (n != null) throw Error(r(60));
479
- if (typeof t != "object" || !("__html" in t)) throw Error(r(61));
479
+ if (r != null) throw Error(n(60));
480
+ if (typeof t != "object" || !("__html" in t)) throw Error(n(61));
480
481
  t = t.__html, t != null && e.push("" + t);
481
482
  }
482
483
  }
483
- function E(e) {
484
- var t = "";
485
- return n.Children.forEach(e, function(e) {
486
- e != null && (t += e);
487
- }), t;
484
+ function T(e) {
485
+ var n = "";
486
+ return t.Children.forEach(e, function(e) {
487
+ e != null && (n += e);
488
+ }), n;
488
489
  }
489
- function D(e, t, n, r) {
490
- e.push(k(n));
490
+ function te(e, t, n, i) {
491
+ e.push(O(n));
491
492
  var a = n = null, o;
492
- for (o in t) if (i.call(t, o)) {
493
+ for (o in t) if (r.call(t, o)) {
493
494
  var s = t[o];
494
495
  if (s != null) switch (o) {
495
496
  case "children":
@@ -498,27 +499,27 @@ var M = {
498
499
  case "dangerouslySetInnerHTML":
499
500
  a = s;
500
501
  break;
501
- default: w(e, r, o, s);
502
+ default: C(e, i, o, s);
502
503
  }
503
504
  }
504
- return e.push(">"), T(e, a, n), typeof n == "string" ? (e.push(g(n)), null) : n;
505
+ return e.push(">"), w(e, a, n), typeof n == "string" ? (e.push(g(n)), null) : n;
505
506
  }
506
- var O = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, ee = /* @__PURE__ */ new Map();
507
- function k(e) {
508
- var t = ee.get(e);
507
+ var E = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, D = /* @__PURE__ */ new Map();
508
+ function O(e) {
509
+ var t = D.get(e);
509
510
  if (t === void 0) {
510
- if (!O.test(e)) throw Error(r(65, e));
511
- t = "<" + e, ee.set(e, t);
511
+ if (!E.test(e)) throw Error(n(65, e));
512
+ t = "<" + e, D.set(e, t);
512
513
  }
513
514
  return t;
514
515
  }
515
- function te(e, t, n, a, o) {
516
+ function ne(e, t, i, a, o) {
516
517
  switch (t) {
517
518
  case "select":
518
- e.push(k("select"));
519
+ e.push(O("select"));
519
520
  var s = null, l = null;
520
- for (p in n) if (i.call(n, p)) {
521
- var u = n[p];
521
+ for (p in i) if (r.call(i, p)) {
522
+ var u = i[p];
522
523
  if (u != null) switch (p) {
523
524
  case "children":
524
525
  s = u;
@@ -528,15 +529,15 @@ var M = {
528
529
  break;
529
530
  case "defaultValue":
530
531
  case "value": break;
531
- default: w(e, a, p, u);
532
+ default: C(e, a, p, u);
532
533
  }
533
534
  }
534
- return e.push(">"), T(e, l, s), s;
535
+ return e.push(">"), w(e, l, s), s;
535
536
  case "option":
536
- l = o.selectedValue, e.push(k("option"));
537
+ l = o.selectedValue, e.push(O("option"));
537
538
  var d = u = null, f = null, p = null;
538
- for (s in n) if (i.call(n, s)) {
539
- var m = n[s];
539
+ for (s in i) if (r.call(i, s)) {
540
+ var m = i[s];
540
541
  if (m != null) switch (s) {
541
542
  case "children":
542
543
  u = m;
@@ -548,19 +549,19 @@ var M = {
548
549
  p = m;
549
550
  break;
550
551
  case "value": d = m;
551
- default: w(e, a, s, m);
552
+ default: C(e, a, s, m);
552
553
  }
553
554
  }
554
- if (l != null) if (n = d === null ? E(u) : "" + d, y(l)) {
555
- for (a = 0; a < l.length; a++) if ("" + l[a] === n) {
555
+ if (l != null) if (i = d === null ? T(u) : "" + d, y(l)) {
556
+ for (a = 0; a < l.length; a++) if ("" + l[a] === i) {
556
557
  e.push(" selected=\"\"");
557
558
  break;
558
559
  }
559
- } else "" + l === n && e.push(" selected=\"\"");
560
+ } else "" + l === i && e.push(" selected=\"\"");
560
561
  else f && e.push(" selected=\"\"");
561
- return e.push(">"), T(e, p, u), u;
562
+ return e.push(">"), w(e, p, u), u;
562
563
  case "textarea":
563
- for (u in e.push(k("textarea")), p = l = s = null, n) if (i.call(n, u) && (d = n[u], d != null)) switch (u) {
564
+ for (u in e.push(O("textarea")), p = l = s = null, i) if (r.call(i, u) && (d = i[u], d != null)) switch (u) {
564
565
  case "children":
565
566
  p = d;
566
567
  break;
@@ -570,19 +571,19 @@ var M = {
570
571
  case "defaultValue":
571
572
  l = d;
572
573
  break;
573
- case "dangerouslySetInnerHTML": throw Error(r(91));
574
- default: w(e, a, u, d);
574
+ case "dangerouslySetInnerHTML": throw Error(n(91));
575
+ default: C(e, a, u, d);
575
576
  }
576
577
  if (s === null && l !== null && (s = l), e.push(">"), p != null) {
577
- if (s != null) throw Error(r(92));
578
- if (y(p) && 1 < p.length) throw Error(r(93));
578
+ if (s != null) throw Error(n(92));
579
+ if (y(p) && 1 < p.length) throw Error(n(93));
579
580
  s = "" + p;
580
581
  }
581
582
  return typeof s == "string" && s[0] === "\n" && e.push("\n"), s !== null && e.push(g("" + s)), null;
582
583
  case "input":
583
- for (l in e.push(k("input")), d = p = u = s = null, n) if (i.call(n, l) && (f = n[l], f != null)) switch (l) {
584
+ for (l in e.push(O("input")), d = p = u = s = null, i) if (r.call(i, l) && (f = i[l], f != null)) switch (l) {
584
585
  case "children":
585
- case "dangerouslySetInnerHTML": throw Error(r(399, "input"));
586
+ case "dangerouslySetInnerHTML": throw Error(n(399, "input"));
586
587
  case "defaultChecked":
587
588
  d = f;
588
589
  break;
@@ -595,40 +596,40 @@ var M = {
595
596
  case "value":
596
597
  s = f;
597
598
  break;
598
- default: w(e, a, l, f);
599
+ default: C(e, a, l, f);
599
600
  }
600
- return p === null ? d !== null && w(e, a, "checked", d) : w(e, a, "checked", p), s === null ? u !== null && w(e, a, "value", u) : w(e, a, "value", s), e.push("/>"), null;
601
+ return p === null ? d !== null && C(e, a, "checked", d) : C(e, a, "checked", p), s === null ? u !== null && C(e, a, "value", u) : C(e, a, "value", s), e.push("/>"), null;
601
602
  case "menuitem":
602
- for (var h in e.push(k("menuitem")), n) if (i.call(n, h) && (s = n[h], s != null)) switch (h) {
603
+ for (var h in e.push(O("menuitem")), i) if (r.call(i, h) && (s = i[h], s != null)) switch (h) {
603
604
  case "children":
604
- case "dangerouslySetInnerHTML": throw Error(r(400));
605
- default: w(e, a, h, s);
605
+ case "dangerouslySetInnerHTML": throw Error(n(400));
606
+ default: C(e, a, h, s);
606
607
  }
607
608
  return e.push(">"), null;
608
609
  case "title":
609
- for (m in e.push(k("title")), s = null, n) if (i.call(n, m) && (l = n[m], l != null)) switch (m) {
610
+ for (m in e.push(O("title")), s = null, i) if (r.call(i, m) && (l = i[m], l != null)) switch (m) {
610
611
  case "children":
611
612
  s = l;
612
613
  break;
613
- case "dangerouslySetInnerHTML": throw Error(r(434));
614
- default: w(e, a, m, l);
614
+ case "dangerouslySetInnerHTML": throw Error(n(434));
615
+ default: C(e, a, m, l);
615
616
  }
616
617
  return e.push(">"), s;
617
618
  case "listing":
618
619
  case "pre":
619
- for (d in e.push(k(t)), l = s = null, n) if (i.call(n, d) && (u = n[d], u != null)) switch (d) {
620
+ for (d in e.push(O(t)), l = s = null, i) if (r.call(i, d) && (u = i[d], u != null)) switch (d) {
620
621
  case "children":
621
622
  s = u;
622
623
  break;
623
624
  case "dangerouslySetInnerHTML":
624
625
  l = u;
625
626
  break;
626
- default: w(e, a, d, u);
627
+ default: C(e, a, d, u);
627
628
  }
628
629
  if (e.push(">"), l != null) {
629
- if (s != null) throw Error(r(60));
630
- if (typeof l != "object" || !("__html" in l)) throw Error(r(61));
631
- n = l.__html, n != null && (typeof n == "string" && 0 < n.length && n[0] === "\n" ? e.push("\n", n) : e.push("" + n));
630
+ if (s != null) throw Error(n(60));
631
+ if (typeof l != "object" || !("__html" in l)) throw Error(n(61));
632
+ i = l.__html, i != null && (typeof i == "string" && 0 < i.length && i[0] === "\n" ? e.push("\n", i) : e.push("" + i));
632
633
  }
633
634
  return typeof s == "string" && s[0] === "\n" && e.push("\n"), s;
634
635
  case "area":
@@ -645,10 +646,10 @@ var M = {
645
646
  case "source":
646
647
  case "track":
647
648
  case "wbr":
648
- for (var _ in e.push(k(t)), n) if (i.call(n, _) && (s = n[_], s != null)) switch (_) {
649
+ for (var _ in e.push(O(t)), i) if (r.call(i, _) && (s = i[_], s != null)) switch (_) {
649
650
  case "children":
650
- case "dangerouslySetInnerHTML": throw Error(r(399, t));
651
- default: w(e, a, _, s);
651
+ case "dangerouslySetInnerHTML": throw Error(n(399, t));
652
+ default: C(e, a, _, s);
652
653
  }
653
654
  return e.push("/>"), null;
654
655
  case "annotation-xml":
@@ -658,11 +659,11 @@ var M = {
658
659
  case "font-face-uri":
659
660
  case "font-face-format":
660
661
  case "font-face-name":
661
- case "missing-glyph": return D(e, n, t, a);
662
- case "html": return o.insertionMode === 0 && e.push("<!DOCTYPE html>"), D(e, n, t, a);
662
+ case "missing-glyph": return te(e, i, t, a);
663
+ case "html": return o.insertionMode === 0 && e.push("<!DOCTYPE html>"), te(e, i, t, a);
663
664
  default:
664
- if (t.indexOf("-") === -1 && typeof n.is != "string") return D(e, n, t, a);
665
- for (f in e.push(k(t)), l = s = null, n) if (i.call(n, f) && (u = n[f], u != null)) switch (f) {
665
+ if (t.indexOf("-") === -1 && typeof i.is != "string") return te(e, i, t, a);
666
+ for (f in e.push(O(t)), l = s = null, i) if (r.call(i, f) && (u = i[f], u != null)) switch (f) {
666
667
  case "children":
667
668
  s = u;
668
669
  break;
@@ -670,21 +671,21 @@ var M = {
670
671
  l = u;
671
672
  break;
672
673
  case "style":
673
- C(e, a, u);
674
+ ee(e, a, u);
674
675
  break;
675
676
  case "suppressContentEditableWarning":
676
677
  case "suppressHydrationWarning": break;
677
678
  default: c(f) && typeof u != "function" && typeof u != "symbol" && e.push(" ", f, "=\"", g(u), "\"");
678
679
  }
679
- return e.push(">"), T(e, l, s), s;
680
+ return e.push(">"), w(e, l, s), s;
680
681
  }
681
682
  }
682
- function ne(e, t, n) {
683
- if (e.push("<!--$?--><template id=\""), n === null) throw Error(r(395));
684
- return e.push(n), e.push("\"></template>");
683
+ function re(e, t, r) {
684
+ if (e.push("<!--$?--><template id=\""), r === null) throw Error(n(395));
685
+ return e.push(r), e.push("\"></template>");
685
686
  }
686
- function re(e, t, n, i) {
687
- switch (n.insertionMode) {
687
+ function ie(e, t, r, i) {
688
+ switch (r.insertionMode) {
688
689
  case 0:
689
690
  case 1: return e.push("<div hidden id=\""), e.push(t.segmentPrefix), t = i.toString(16), e.push(t), e.push("\">");
690
691
  case 2: return e.push("<svg aria-hidden=\"true\" style=\"display:none\" id=\""), e.push(t.segmentPrefix), t = i.toString(16), e.push(t), e.push("\">");
@@ -693,10 +694,10 @@ var M = {
693
694
  case 5: return e.push("<table hidden><tbody id=\""), e.push(t.segmentPrefix), t = i.toString(16), e.push(t), e.push("\">");
694
695
  case 6: return e.push("<table hidden><tr id=\""), e.push(t.segmentPrefix), t = i.toString(16), e.push(t), e.push("\">");
695
696
  case 7: return e.push("<table hidden><colgroup id=\""), e.push(t.segmentPrefix), t = i.toString(16), e.push(t), e.push("\">");
696
- default: throw Error(r(397));
697
+ default: throw Error(n(397));
697
698
  }
698
699
  }
699
- function ie(e, t) {
700
+ function ae(e, t) {
700
701
  switch (t.insertionMode) {
701
702
  case 0:
702
703
  case 1: return e.push("</div>");
@@ -706,12 +707,12 @@ var M = {
706
707
  case 5: return e.push("</tbody></table>");
707
708
  case 6: return e.push("</tr></table>");
708
709
  case 7: return e.push("</colgroup></table>");
709
- default: throw Error(r(397));
710
+ default: throw Error(n(397));
710
711
  }
711
712
  }
712
- var ae = /[<\u2028\u2029]/g;
713
- function oe(e) {
714
- return JSON.stringify(e).replace(ae, function(e) {
713
+ var oe = /[<\u2028\u2029]/g;
714
+ function se(e) {
715
+ return JSON.stringify(e).replace(oe, function(e) {
715
716
  switch (e) {
716
717
  case "<": return "\\u003c";
717
718
  case "\u2028": return "\\u2028";
@@ -720,7 +721,7 @@ var M = {
720
721
  }
721
722
  });
722
723
  }
723
- function A(e, t) {
724
+ function k(e, t) {
724
725
  return t = t === void 0 ? "" : t, {
725
726
  bootstrapChunks: [],
726
727
  startInlineScript: "<script>",
@@ -735,77 +736,77 @@ var M = {
735
736
  generateStaticMarkup: e
736
737
  };
737
738
  }
738
- function se(e, t, n, r) {
739
+ function ce(e, t, n, r) {
739
740
  return n.generateStaticMarkup ? (e.push(g(t)), !1) : (t === "" ? e = r : (r && e.push("<!-- -->"), e.push(g(t)), e = !0), e);
740
741
  }
741
- var j = Object.assign, ce = Symbol.for("react.element"), le = Symbol.for("react.portal"), ue = Symbol.for("react.fragment"), de = Symbol.for("react.strict_mode"), fe = Symbol.for("react.profiler"), pe = Symbol.for("react.provider"), me = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), N = Symbol.for("react.suspense"), P = Symbol.for("react.suspense_list"), he = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), I = Symbol.for("react.scope"), ge = Symbol.for("react.debug_trace_mode"), _e = Symbol.for("react.legacy_hidden"), ve = Symbol.for("react.default_value"), ye = Symbol.iterator;
742
- function be(e) {
742
+ var A = Object.assign, le = Symbol.for("react.element"), ue = Symbol.for("react.portal"), de = Symbol.for("react.fragment"), fe = Symbol.for("react.strict_mode"), pe = Symbol.for("react.profiler"), me = Symbol.for("react.provider"), he = Symbol.for("react.context"), j = Symbol.for("react.forward_ref"), M = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), ge = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), F = Symbol.for("react.scope"), _e = Symbol.for("react.debug_trace_mode"), ve = Symbol.for("react.legacy_hidden"), ye = Symbol.for("react.default_value"), be = Symbol.iterator;
743
+ function xe(e) {
743
744
  if (e == null) return null;
744
745
  if (typeof e == "function") return e.displayName || e.name || null;
745
746
  if (typeof e == "string") return e;
746
747
  switch (e) {
747
- case ue: return "Fragment";
748
- case le: return "Portal";
749
- case fe: return "Profiler";
750
- case de: return "StrictMode";
751
- case N: return "Suspense";
752
- case P: return "SuspenseList";
748
+ case de: return "Fragment";
749
+ case ue: return "Portal";
750
+ case pe: return "Profiler";
751
+ case fe: return "StrictMode";
752
+ case M: return "Suspense";
753
+ case N: return "SuspenseList";
753
754
  }
754
755
  if (typeof e == "object") switch (e.$$typeof) {
755
- case me: return (e.displayName || "Context") + ".Consumer";
756
- case pe: return (e._context.displayName || "Context") + ".Provider";
757
- case M:
756
+ case he: return (e.displayName || "Context") + ".Consumer";
757
+ case me: return (e._context.displayName || "Context") + ".Provider";
758
+ case j:
758
759
  var t = e.render;
759
760
  return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
760
- case he: return t = e.displayName || null, t === null ? be(e.type) || "Memo" : t;
761
- case F:
761
+ case ge: return t = e.displayName || null, t === null ? xe(e.type) || "Memo" : t;
762
+ case P:
762
763
  t = e._payload, e = e._init;
763
764
  try {
764
- return be(e(t));
765
+ return xe(e(t));
765
766
  } catch {}
766
767
  }
767
768
  return null;
768
769
  }
769
- var xe = {};
770
- function Se(e, t) {
771
- if (e = e.contextTypes, !e) return xe;
770
+ var Se = {};
771
+ function Ce(e, t) {
772
+ if (e = e.contextTypes, !e) return Se;
772
773
  var n = {}, r;
773
774
  for (r in e) n[r] = t[r];
774
775
  return n;
775
776
  }
776
- var L = null;
777
- function R(e, t) {
777
+ var I = null;
778
+ function L(e, t) {
778
779
  if (e !== t) {
779
780
  e.context._currentValue2 = e.parentValue, e = e.parent;
780
- var n = t.parent;
781
+ var r = t.parent;
781
782
  if (e === null) {
782
- if (n !== null) throw Error(r(401));
783
+ if (r !== null) throw Error(n(401));
783
784
  } else {
784
- if (n === null) throw Error(r(401));
785
- R(e, n);
785
+ if (r === null) throw Error(n(401));
786
+ L(e, r);
786
787
  }
787
788
  t.context._currentValue2 = t.value;
788
789
  }
789
790
  }
790
- function Ce(e) {
791
- e.context._currentValue2 = e.parentValue, e = e.parent, e !== null && Ce(e);
792
- }
793
791
  function we(e) {
792
+ e.context._currentValue2 = e.parentValue, e = e.parent, e !== null && we(e);
793
+ }
794
+ function Te(e) {
794
795
  var t = e.parent;
795
- t !== null && we(t), e.context._currentValue2 = e.value;
796
+ t !== null && Te(t), e.context._currentValue2 = e.value;
796
797
  }
797
- function z(e, t) {
798
- if (e.context._currentValue2 = e.parentValue, e = e.parent, e === null) throw Error(r(402));
799
- e.depth === t.depth ? R(e, t) : z(e, t);
798
+ function Ee(e, t) {
799
+ if (e.context._currentValue2 = e.parentValue, e = e.parent, e === null) throw Error(n(402));
800
+ e.depth === t.depth ? L(e, t) : Ee(e, t);
800
801
  }
801
- function Te(e, t) {
802
- var n = t.parent;
803
- if (n === null) throw Error(r(402));
804
- e.depth === n.depth ? R(e, n) : Te(e, n), t.context._currentValue2 = t.value;
802
+ function R(e, t) {
803
+ var r = t.parent;
804
+ if (r === null) throw Error(n(402));
805
+ e.depth === r.depth ? L(e, r) : R(e, r), t.context._currentValue2 = t.value;
805
806
  }
806
- function Ee(e) {
807
- var t = L;
808
- t !== e && (t === null ? we(e) : e === null ? Ce(t) : t.depth === e.depth ? R(t, e) : t.depth > e.depth ? z(t, e) : Te(t, e), L = e);
807
+ function z(e) {
808
+ var t = I;
809
+ t !== e && (t === null ? Te(e) : e === null ? we(t) : t.depth === e.depth ? L(t, e) : t.depth > e.depth ? Ee(t, e) : R(t, e), I = e);
809
810
  }
810
811
  var De = {
811
812
  isMounted: function() {
@@ -828,11 +829,11 @@ var M = {
828
829
  };
829
830
  e._reactInternals = a;
830
831
  var o = t.contextType;
831
- if (e.context = typeof o == "object" && o ? o._currentValue2 : r, o = t.getDerivedStateFromProps, typeof o == "function" && (o = o(n, i), i = o == null ? i : j({}, i, o), e.state = i), typeof t.getDerivedStateFromProps != "function" && typeof e.getSnapshotBeforeUpdate != "function" && (typeof e.UNSAFE_componentWillMount == "function" || typeof e.componentWillMount == "function")) if (t = e.state, typeof e.componentWillMount == "function" && e.componentWillMount(), typeof e.UNSAFE_componentWillMount == "function" && e.UNSAFE_componentWillMount(), t !== e.state && De.enqueueReplaceState(e, e.state, null), a.queue !== null && 0 < a.queue.length) if (t = a.queue, o = a.replace, a.queue = null, a.replace = !1, o && t.length === 1) e.state = t[0];
832
+ if (e.context = typeof o == "object" && o ? o._currentValue2 : r, o = t.getDerivedStateFromProps, typeof o == "function" && (o = o(n, i), i = o == null ? i : A({}, i, o), e.state = i), typeof t.getDerivedStateFromProps != "function" && typeof e.getSnapshotBeforeUpdate != "function" && (typeof e.UNSAFE_componentWillMount == "function" || typeof e.componentWillMount == "function")) if (t = e.state, typeof e.componentWillMount == "function" && e.componentWillMount(), typeof e.UNSAFE_componentWillMount == "function" && e.UNSAFE_componentWillMount(), t !== e.state && De.enqueueReplaceState(e, e.state, null), a.queue !== null && 0 < a.queue.length) if (t = a.queue, o = a.replace, a.queue = null, a.replace = !1, o && t.length === 1) e.state = t[0];
832
833
  else {
833
834
  for (a = o ? t[0] : e.state, i = !0, o = +!!o; o < t.length; o++) {
834
835
  var s = t[o];
835
- s = typeof s == "function" ? s.call(e, a, n, r) : s, s != null && (i ? (i = !1, a = j({}, a, s)) : j(a, s));
836
+ s = typeof s == "function" ? s.call(e, a, n, r) : s, s != null && (i ? (i = !1, a = A({}, a, s)) : A(a, s));
836
837
  }
837
838
  e.state = a;
838
839
  }
@@ -845,13 +846,13 @@ var M = {
845
846
  function Ae(e, t, n) {
846
847
  var r = e.id;
847
848
  e = e.overflow;
848
- var i = 32 - B(r) - 1;
849
+ var i = 32 - je(r) - 1;
849
850
  r &= ~(1 << i), n += 1;
850
- var a = 32 - B(t) + i;
851
+ var a = 32 - je(t) + i;
851
852
  if (30 < a) {
852
853
  var o = i - i % 5;
853
854
  return a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, {
854
- id: 1 << 32 - B(t) + i | n << i | r,
855
+ id: 1 << 32 - je(t) + i | n << i | r,
855
856
  overflow: a + e
856
857
  };
857
858
  }
@@ -860,37 +861,37 @@ var M = {
860
861
  overflow: e
861
862
  };
862
863
  }
863
- var B = Math.clz32 ? Math.clz32 : Ne, je = Math.log, Me = Math.LN2;
864
- function Ne(e) {
865
- return e >>>= 0, e === 0 ? 32 : 31 - (je(e) / Me | 0) | 0;
864
+ var je = Math.clz32 ? Math.clz32 : Pe, Me = Math.log, Ne = Math.LN2;
865
+ function Pe(e) {
866
+ return e >>>= 0, e === 0 ? 32 : 31 - (Me(e) / Ne | 0) | 0;
866
867
  }
867
- function Pe(e, t) {
868
+ function Fe(e, t) {
868
869
  return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
869
870
  }
870
- var Fe = typeof Object.is == "function" ? Object.is : Pe, V = null, Ie = null, Le = null, H = null, Re = !1, ze = !1, Be = 0, U = null, W = 0;
871
- function G() {
872
- if (V === null) throw Error(r(321));
873
- return V;
871
+ var Ie = typeof Object.is == "function" ? Object.is : Fe, B = null, V = null, Le = null, H = null, Re = !1, ze = !1, Be = 0, U = null, Ve = 0;
872
+ function W() {
873
+ if (B === null) throw Error(n(321));
874
+ return B;
874
875
  }
875
- function K() {
876
- if (0 < W) throw Error(r(312));
876
+ function He() {
877
+ if (0 < Ve) throw Error(n(312));
877
878
  return {
878
879
  memoizedState: null,
879
880
  queue: null,
880
881
  next: null
881
882
  };
882
883
  }
883
- function Ve() {
884
- return H === null ? Le === null ? (Re = !1, Le = H = K()) : (Re = !0, H = Le) : H.next === null ? (Re = !1, H = H.next = K()) : (Re = !0, H = H.next), H;
884
+ function G() {
885
+ return H === null ? Le === null ? (Re = !1, Le = H = He()) : (Re = !0, H = Le) : H.next === null ? (Re = !1, H = H.next = He()) : (Re = !0, H = H.next), H;
885
886
  }
886
- function He() {
887
- Ie = V = null, ze = !1, Le = null, W = 0, H = U = null;
887
+ function Ue() {
888
+ V = B = null, ze = !1, Le = null, Ve = 0, H = U = null;
888
889
  }
889
- function Ue(e, t) {
890
+ function We(e, t) {
890
891
  return typeof t == "function" ? t(e) : t;
891
892
  }
892
- function We(e, t, n) {
893
- if (V = G(), H = Ve(), Re) {
893
+ function Ge(e, t, n) {
894
+ if (B = W(), H = G(), Re) {
894
895
  var r = H.queue;
895
896
  if (t = r.dispatch, U !== null && (n = U.get(r), n !== void 0)) {
896
897
  U.delete(r), r = H.memoizedState;
@@ -901,19 +902,19 @@ var M = {
901
902
  }
902
903
  return [H.memoizedState, t];
903
904
  }
904
- return e = e === Ue ? typeof t == "function" ? t() : t : n === void 0 ? t : n(t), H.memoizedState = e, e = H.queue = {
905
+ return e = e === We ? typeof t == "function" ? t() : t : n === void 0 ? t : n(t), H.memoizedState = e, e = H.queue = {
905
906
  last: null,
906
907
  dispatch: null
907
- }, e = e.dispatch = Ke.bind(null, V, e), [H.memoizedState, e];
908
+ }, e = e.dispatch = qe.bind(null, B, e), [H.memoizedState, e];
908
909
  }
909
- function Ge(e, t) {
910
- if (V = G(), H = Ve(), t = t === void 0 ? null : t, H !== null) {
910
+ function Ke(e, t) {
911
+ if (B = W(), H = G(), t = t === void 0 ? null : t, H !== null) {
911
912
  var n = H.memoizedState;
912
913
  if (n !== null && t !== null) {
913
914
  var r = n[1];
914
915
  a: if (r === null) r = !1;
915
916
  else {
916
- for (var i = 0; i < r.length && i < t.length; i++) if (!Fe(t[i], r[i])) {
917
+ for (var i = 0; i < r.length && i < t.length; i++) if (!Ie(t[i], r[i])) {
917
918
  r = !1;
918
919
  break a;
919
920
  }
@@ -924,74 +925,74 @@ var M = {
924
925
  }
925
926
  return e = e(), H.memoizedState = [e, t], e;
926
927
  }
927
- function Ke(e, t, n) {
928
- if (25 <= W) throw Error(r(301));
929
- if (e === V) if (ze = !0, e = {
930
- action: n,
928
+ function qe(e, t, r) {
929
+ if (25 <= Ve) throw Error(n(301));
930
+ if (e === B) if (ze = !0, e = {
931
+ action: r,
931
932
  next: null
932
- }, U === null && (U = /* @__PURE__ */ new Map()), n = U.get(t), n === void 0) U.set(t, e);
933
+ }, U === null && (U = /* @__PURE__ */ new Map()), r = U.get(t), r === void 0) U.set(t, e);
933
934
  else {
934
- for (t = n; t.next !== null;) t = t.next;
935
+ for (t = r; t.next !== null;) t = t.next;
935
936
  t.next = e;
936
937
  }
937
938
  }
938
- function qe() {
939
- throw Error(r(394));
939
+ function Je() {
940
+ throw Error(n(394));
940
941
  }
941
- function Je() {}
942
- var Ye = {
942
+ function Ye() {}
943
+ var Xe = {
943
944
  readContext: function(e) {
944
945
  return e._currentValue2;
945
946
  },
946
947
  useContext: function(e) {
947
- return G(), e._currentValue2;
948
+ return W(), e._currentValue2;
948
949
  },
949
- useMemo: Ge,
950
- useReducer: We,
950
+ useMemo: Ke,
951
+ useReducer: Ge,
951
952
  useRef: function(e) {
952
- V = G(), H = Ve();
953
+ B = W(), H = G();
953
954
  var t = H.memoizedState;
954
955
  return t === null ? (e = { current: e }, H.memoizedState = e) : t;
955
956
  },
956
957
  useState: function(e) {
957
- return We(Ue, e);
958
+ return Ge(We, e);
958
959
  },
959
- useInsertionEffect: Je,
960
+ useInsertionEffect: Ye,
960
961
  useLayoutEffect: function() {},
961
962
  useCallback: function(e, t) {
962
- return Ge(function() {
963
+ return Ke(function() {
963
964
  return e;
964
965
  }, t);
965
966
  },
966
- useImperativeHandle: Je,
967
- useEffect: Je,
968
- useDebugValue: Je,
967
+ useImperativeHandle: Ye,
968
+ useEffect: Ye,
969
+ useDebugValue: Ye,
969
970
  useDeferredValue: function(e) {
970
- return G(), e;
971
+ return W(), e;
971
972
  },
972
973
  useTransition: function() {
973
- return G(), [!1, qe];
974
+ return W(), [!1, Je];
974
975
  },
975
976
  useId: function() {
976
- var e = Ie.treeContext, t = e.overflow;
977
- e = e.id, e = (e & ~(1 << 32 - B(e) - 1)).toString(32) + t;
978
- var n = Xe;
979
- if (n === null) throw Error(r(404));
980
- return t = Be++, e = ":" + n.idPrefix + "R" + e, 0 < t && (e += "H" + t.toString(32)), e + ":";
977
+ var e = V.treeContext, t = e.overflow;
978
+ e = e.id, e = (e & ~(1 << 32 - je(e) - 1)).toString(32) + t;
979
+ var r = Ze;
980
+ if (r === null) throw Error(n(404));
981
+ return t = Be++, e = ":" + r.idPrefix + "R" + e, 0 < t && (e += "H" + t.toString(32)), e + ":";
981
982
  },
982
983
  useMutableSource: function(e, t) {
983
- return G(), t(e._source);
984
+ return W(), t(e._source);
984
985
  },
985
- useSyncExternalStore: function(e, t, n) {
986
- if (n === void 0) throw Error(r(407));
987
- return n();
986
+ useSyncExternalStore: function(e, t, r) {
987
+ if (r === void 0) throw Error(n(407));
988
+ return r();
988
989
  }
989
- }, Xe = null, Ze = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
990
- function Qe(e) {
990
+ }, Ze = null, Qe = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
991
+ function $e(e) {
991
992
  return console.error(e), null;
992
993
  }
993
- function $e() {}
994
- function et(e, t, n, r, i, a, o, s, c) {
994
+ function et() {}
995
+ function tt(e, t, n, r, i, a, o, s, c) {
995
996
  var l = [], u = /* @__PURE__ */ new Set();
996
997
  return t = {
997
998
  destination: null,
@@ -1008,14 +1009,14 @@ var M = {
1008
1009
  clientRenderedBoundaries: [],
1009
1010
  completedBoundaries: [],
1010
1011
  partialBoundaries: [],
1011
- onError: i === void 0 ? Qe : i,
1012
- onAllReady: a === void 0 ? $e : a,
1013
- onShellReady: o === void 0 ? $e : o,
1014
- onShellError: s === void 0 ? $e : s,
1015
- onFatalError: c === void 0 ? $e : c
1016
- }, n = nt(t, 0, null, n, !1, !1), n.parentFlushed = !0, e = tt(t, e, null, n, u, xe, null, ke), l.push(e), t;
1017
- }
1018
- function tt(e, t, n, r, i, a, o, s) {
1012
+ onError: i === void 0 ? $e : i,
1013
+ onAllReady: a === void 0 ? et : a,
1014
+ onShellReady: o === void 0 ? et : o,
1015
+ onShellError: s === void 0 ? et : s,
1016
+ onFatalError: c === void 0 ? et : c
1017
+ }, n = rt(t, 0, null, n, !1, !1), n.parentFlushed = !0, e = nt(t, e, null, n, u, Se, null, ke), l.push(e), t;
1018
+ }
1019
+ function nt(e, t, n, r, i, a, o, s) {
1019
1020
  e.allPendingTasks++, n === null ? e.pendingRootTasks++ : n.pendingTasks++;
1020
1021
  var c = {
1021
1022
  node: t,
@@ -1032,7 +1033,7 @@ var M = {
1032
1033
  };
1033
1034
  return i.add(c), c;
1034
1035
  }
1035
- function nt(e, t, n, r, i, a) {
1036
+ function rt(e, t, n, r, i, a) {
1036
1037
  return {
1037
1038
  status: 0,
1038
1039
  id: -1,
@@ -1046,57 +1047,57 @@ var M = {
1046
1047
  textEmbedded: a
1047
1048
  };
1048
1049
  }
1049
- function rt(e, t) {
1050
+ function it(e, t) {
1050
1051
  if (e = e.onError(t), e != null && typeof e != "string") throw Error("onError returned something with a type other than \"string\". onError should return a string and may return null or undefined but must not return anything else. It received something of type \"" + typeof e + "\" instead");
1051
1052
  return e;
1052
1053
  }
1053
- function it(e, t) {
1054
+ function at(e, t) {
1054
1055
  var n = e.onShellError;
1055
1056
  n(t), n = e.onFatalError, n(t), e.destination === null ? (e.status = 1, e.fatalError = t) : (e.status = 2, e.destination.destroy(t));
1056
1057
  }
1057
- function at(e, t, n, r, i) {
1058
- for (V = {}, Ie = t, Be = 0, e = n(r, i); ze;) ze = !1, Be = 0, W += 1, H = null, e = n(r, i);
1059
- return He(), e;
1058
+ function ot(e, t, n, r, i) {
1059
+ for (B = {}, V = t, Be = 0, e = n(r, i); ze;) ze = !1, Be = 0, Ve += 1, H = null, e = n(r, i);
1060
+ return Ue(), e;
1060
1061
  }
1061
- function ot(e, t, n, i) {
1062
- var a = n.render(), o = i.childContextTypes;
1062
+ function st(e, t, r, i) {
1063
+ var a = r.render(), o = i.childContextTypes;
1063
1064
  if (o != null) {
1064
1065
  var s = t.legacyContext;
1065
- if (typeof n.getChildContext != "function") i = s;
1066
+ if (typeof r.getChildContext != "function") i = s;
1066
1067
  else {
1067
- for (var c in n = n.getChildContext(), n) if (!(c in o)) throw Error(r(108, be(i) || "Unknown", c));
1068
- i = j({}, s, n);
1068
+ for (var c in r = r.getChildContext(), r) if (!(c in o)) throw Error(n(108, xe(i) || "Unknown", c));
1069
+ i = A({}, s, r);
1069
1070
  }
1070
- t.legacyContext = i, q(e, t, a), t.legacyContext = s;
1071
- } else q(e, t, a);
1071
+ t.legacyContext = i, K(e, t, a), t.legacyContext = s;
1072
+ } else K(e, t, a);
1072
1073
  }
1073
- function st(e, t) {
1074
+ function ct(e, t) {
1074
1075
  if (e && e.defaultProps) {
1075
- for (var n in t = j({}, t), e = e.defaultProps, e) t[n] === void 0 && (t[n] = e[n]);
1076
+ for (var n in t = A({}, t), e = e.defaultProps, e) t[n] === void 0 && (t[n] = e[n]);
1076
1077
  return t;
1077
1078
  }
1078
1079
  return t;
1079
1080
  }
1080
- function ct(e, t, n, i, a) {
1081
- if (typeof n == "function") if (n.prototype && n.prototype.isReactComponent) {
1082
- a = Se(n, t.legacyContext);
1083
- var o = n.contextType;
1084
- o = new n(i, typeof o == "object" && o ? o._currentValue2 : a), Oe(o, n, i, a), ot(e, t, o, n);
1081
+ function lt(e, t, r, i, a) {
1082
+ if (typeof r == "function") if (r.prototype && r.prototype.isReactComponent) {
1083
+ a = Ce(r, t.legacyContext);
1084
+ var o = r.contextType;
1085
+ o = new r(i, typeof o == "object" && o ? o._currentValue2 : a), Oe(o, r, i, a), st(e, t, o, r);
1085
1086
  } else {
1086
- o = Se(n, t.legacyContext), a = at(e, t, n, i, o);
1087
+ o = Ce(r, t.legacyContext), a = ot(e, t, r, i, o);
1087
1088
  var s = Be !== 0;
1088
- if (typeof a == "object" && a && typeof a.render == "function" && a.$$typeof === void 0) Oe(a, n, i, o), ot(e, t, a, n);
1089
+ if (typeof a == "object" && a && typeof a.render == "function" && a.$$typeof === void 0) Oe(a, r, i, o), st(e, t, a, r);
1089
1090
  else if (s) {
1090
1091
  i = t.treeContext, t.treeContext = Ae(i, 1, 0);
1091
1092
  try {
1092
- q(e, t, a);
1093
+ K(e, t, a);
1093
1094
  } finally {
1094
1095
  t.treeContext = i;
1095
1096
  }
1096
- } else q(e, t, a);
1097
+ } else K(e, t, a);
1097
1098
  }
1098
- else if (typeof n == "string") {
1099
- switch (a = t.blockedSegment, o = te(a.chunks, n, i, e.responseState, a.formatContext), a.lastPushedText = !1, s = a.formatContext, a.formatContext = x(s, n, i), ut(e, t, o), a.formatContext = s, n) {
1099
+ else if (typeof r == "string") {
1100
+ switch (a = t.blockedSegment, o = ne(a.chunks, r, i, e.responseState, a.formatContext), a.lastPushedText = !1, s = a.formatContext, a.formatContext = x(s, r, i), dt(e, t, o), a.formatContext = s, r) {
1100
1101
  case "area":
1101
1102
  case "base":
1102
1103
  case "br":
@@ -1112,25 +1113,25 @@ var M = {
1112
1113
  case "source":
1113
1114
  case "track":
1114
1115
  case "wbr": break;
1115
- default: a.chunks.push("</", n, ">");
1116
+ default: a.chunks.push("</", r, ">");
1116
1117
  }
1117
1118
  a.lastPushedText = !1;
1118
1119
  } else {
1119
- switch (n) {
1120
+ switch (r) {
1121
+ case ve:
1120
1122
  case _e:
1121
- case ge:
1122
- case de:
1123
1123
  case fe:
1124
- case ue:
1125
- q(e, t, i.children);
1126
- return;
1127
- case P:
1128
- q(e, t, i.children);
1124
+ case pe:
1125
+ case de:
1126
+ K(e, t, i.children);
1129
1127
  return;
1130
- case I: throw Error(r(343));
1131
1128
  case N:
1129
+ K(e, t, i.children);
1130
+ return;
1131
+ case F: throw Error(n(343));
1132
+ case M:
1132
1133
  a: {
1133
- n = t.blockedBoundary, a = t.blockedSegment, o = i.fallback, i = i.children, s = /* @__PURE__ */ new Set();
1134
+ r = t.blockedBoundary, a = t.blockedSegment, o = i.fallback, i = i.children, s = /* @__PURE__ */ new Set();
1134
1135
  var c = {
1135
1136
  id: null,
1136
1137
  rootSegmentID: -1,
@@ -1141,156 +1142,156 @@ var M = {
1141
1142
  byteSize: 0,
1142
1143
  fallbackAbortableTasks: s,
1143
1144
  errorDigest: null
1144
- }, l = nt(e, a.chunks.length, c, a.formatContext, !1, !1);
1145
+ }, l = rt(e, a.chunks.length, c, a.formatContext, !1, !1);
1145
1146
  a.children.push(l), a.lastPushedText = !1;
1146
- var u = nt(e, 0, null, a.formatContext, !1, !1);
1147
+ var u = rt(e, 0, null, a.formatContext, !1, !1);
1147
1148
  u.parentFlushed = !0, t.blockedBoundary = c, t.blockedSegment = u;
1148
1149
  try {
1149
- if (ut(e, t, i), e.responseState.generateStaticMarkup || u.lastPushedText && u.textEmbedded && u.chunks.push("<!-- -->"), u.status = 1, pt(c, u), c.pendingTasks === 0) break a;
1150
+ if (dt(e, t, i), e.responseState.generateStaticMarkup || u.lastPushedText && u.textEmbedded && u.chunks.push("<!-- -->"), u.status = 1, q(c, u), c.pendingTasks === 0) break a;
1150
1151
  } catch (t) {
1151
- u.status = 4, c.forceClientRender = !0, c.errorDigest = rt(e, t);
1152
+ u.status = 4, c.forceClientRender = !0, c.errorDigest = it(e, t);
1152
1153
  } finally {
1153
- t.blockedBoundary = n, t.blockedSegment = a;
1154
+ t.blockedBoundary = r, t.blockedSegment = a;
1154
1155
  }
1155
- t = tt(e, o, n, l, s, t.legacyContext, t.context, t.treeContext), e.pingedTasks.push(t);
1156
+ t = nt(e, o, r, l, s, t.legacyContext, t.context, t.treeContext), e.pingedTasks.push(t);
1156
1157
  }
1157
1158
  return;
1158
1159
  }
1159
- if (typeof n == "object" && n) switch (n.$$typeof) {
1160
- case M:
1161
- if (i = at(e, t, n.render, i, a), Be !== 0) {
1162
- n = t.treeContext, t.treeContext = Ae(n, 1, 0);
1160
+ if (typeof r == "object" && r) switch (r.$$typeof) {
1161
+ case j:
1162
+ if (i = ot(e, t, r.render, i, a), Be !== 0) {
1163
+ r = t.treeContext, t.treeContext = Ae(r, 1, 0);
1163
1164
  try {
1164
- q(e, t, i);
1165
+ K(e, t, i);
1165
1166
  } finally {
1166
- t.treeContext = n;
1167
+ t.treeContext = r;
1167
1168
  }
1168
- } else q(e, t, i);
1169
+ } else K(e, t, i);
1169
1170
  return;
1170
- case he:
1171
- n = n.type, i = st(n, i), ct(e, t, n, i, a);
1171
+ case ge:
1172
+ r = r.type, i = ct(r, i), lt(e, t, r, i, a);
1172
1173
  return;
1173
- case pe:
1174
- if (a = i.children, n = n._context, i = i.value, o = n._currentValue2, n._currentValue2 = i, s = L, L = i = {
1174
+ case me:
1175
+ if (a = i.children, r = r._context, i = i.value, o = r._currentValue2, r._currentValue2 = i, s = I, I = i = {
1175
1176
  parent: s,
1176
1177
  depth: s === null ? 0 : s.depth + 1,
1177
- context: n,
1178
+ context: r,
1178
1179
  parentValue: o,
1179
1180
  value: i
1180
- }, t.context = i, q(e, t, a), e = L, e === null) throw Error(r(403));
1181
- i = e.parentValue, e.context._currentValue2 = i === ve ? e.context._defaultValue : i, e = L = e.parent, t.context = e;
1181
+ }, t.context = i, K(e, t, a), e = I, e === null) throw Error(n(403));
1182
+ i = e.parentValue, e.context._currentValue2 = i === ye ? e.context._defaultValue : i, e = I = e.parent, t.context = e;
1182
1183
  return;
1183
- case me:
1184
- i = i.children, i = i(n._currentValue2), q(e, t, i);
1184
+ case he:
1185
+ i = i.children, i = i(r._currentValue2), K(e, t, i);
1185
1186
  return;
1186
- case F:
1187
- a = n._init, n = a(n._payload), i = st(n, i), ct(e, t, n, i, void 0);
1187
+ case P:
1188
+ a = r._init, r = a(r._payload), i = ct(r, i), lt(e, t, r, i, void 0);
1188
1189
  return;
1189
1190
  }
1190
- throw Error(r(130, n == null ? n : typeof n, ""));
1191
+ throw Error(n(130, r == null ? r : typeof r, ""));
1191
1192
  }
1192
1193
  }
1193
- function q(e, t, n) {
1194
- if (t.node = n, typeof n == "object" && n) {
1195
- switch (n.$$typeof) {
1196
- case ce:
1197
- ct(e, t, n.type, n.props, n.ref);
1194
+ function K(e, t, r) {
1195
+ if (t.node = r, typeof r == "object" && r) {
1196
+ switch (r.$$typeof) {
1197
+ case le:
1198
+ lt(e, t, r.type, r.props, r.ref);
1198
1199
  return;
1199
- case le: throw Error(r(257));
1200
- case F:
1201
- var i = n._init;
1202
- n = i(n._payload), q(e, t, n);
1200
+ case ue: throw Error(n(257));
1201
+ case P:
1202
+ var i = r._init;
1203
+ r = i(r._payload), K(e, t, r);
1203
1204
  return;
1204
1205
  }
1205
- if (y(n)) {
1206
- lt(e, t, n);
1206
+ if (y(r)) {
1207
+ ut(e, t, r);
1207
1208
  return;
1208
1209
  }
1209
- if (typeof n != "object" || !n ? i = null : (i = ye && n[ye] || n["@@iterator"], i = typeof i == "function" ? i : null), i &&= i.call(n)) {
1210
- if (n = i.next(), !n.done) {
1210
+ if (typeof r != "object" || !r ? i = null : (i = be && r[be] || r["@@iterator"], i = typeof i == "function" ? i : null), i &&= i.call(r)) {
1211
+ if (r = i.next(), !r.done) {
1211
1212
  var a = [];
1212
1213
  do
1213
- a.push(n.value), n = i.next();
1214
- while (!n.done);
1215
- lt(e, t, a);
1214
+ a.push(r.value), r = i.next();
1215
+ while (!r.done);
1216
+ ut(e, t, a);
1216
1217
  }
1217
1218
  return;
1218
1219
  }
1219
- throw e = Object.prototype.toString.call(n), Error(r(31, e === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : e));
1220
+ throw e = Object.prototype.toString.call(r), Error(n(31, e === "[object Object]" ? "object with keys {" + Object.keys(r).join(", ") + "}" : e));
1220
1221
  }
1221
- typeof n == "string" ? (i = t.blockedSegment, i.lastPushedText = se(t.blockedSegment.chunks, n, e.responseState, i.lastPushedText)) : typeof n == "number" && (i = t.blockedSegment, i.lastPushedText = se(t.blockedSegment.chunks, "" + n, e.responseState, i.lastPushedText));
1222
+ typeof r == "string" ? (i = t.blockedSegment, i.lastPushedText = ce(t.blockedSegment.chunks, r, e.responseState, i.lastPushedText)) : typeof r == "number" && (i = t.blockedSegment, i.lastPushedText = ce(t.blockedSegment.chunks, "" + r, e.responseState, i.lastPushedText));
1222
1223
  }
1223
- function lt(e, t, n) {
1224
+ function ut(e, t, n) {
1224
1225
  for (var r = n.length, i = 0; i < r; i++) {
1225
1226
  var a = t.treeContext;
1226
1227
  t.treeContext = Ae(a, r, i);
1227
1228
  try {
1228
- ut(e, t, n[i]);
1229
+ dt(e, t, n[i]);
1229
1230
  } finally {
1230
1231
  t.treeContext = a;
1231
1232
  }
1232
1233
  }
1233
1234
  }
1234
- function ut(e, t, n) {
1235
+ function dt(e, t, n) {
1235
1236
  var r = t.blockedSegment.formatContext, i = t.legacyContext, a = t.context;
1236
1237
  try {
1237
- return q(e, t, n);
1238
+ return K(e, t, n);
1238
1239
  } catch (c) {
1239
- if (He(), typeof c == "object" && c && typeof c.then == "function") {
1240
+ if (Ue(), typeof c == "object" && c && typeof c.then == "function") {
1240
1241
  n = c;
1241
- var o = t.blockedSegment, s = nt(e, o.chunks.length, null, o.formatContext, o.lastPushedText, !0);
1242
- o.children.push(s), o.lastPushedText = !1, e = tt(e, t.node, t.blockedBoundary, s, t.abortSet, t.legacyContext, t.context, t.treeContext).ping, n.then(e, e), t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = a, Ee(a);
1243
- } else throw t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = a, Ee(a), c;
1242
+ var o = t.blockedSegment, s = rt(e, o.chunks.length, null, o.formatContext, o.lastPushedText, !0);
1243
+ o.children.push(s), o.lastPushedText = !1, e = nt(e, t.node, t.blockedBoundary, s, t.abortSet, t.legacyContext, t.context, t.treeContext).ping, n.then(e, e), t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = a, z(a);
1244
+ } else throw t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = a, z(a), c;
1244
1245
  }
1245
1246
  }
1246
- function dt(e) {
1247
+ function ft(e) {
1247
1248
  var t = e.blockedBoundary;
1248
1249
  e = e.blockedSegment, e.status = 3, mt(this, t, e);
1249
1250
  }
1250
- function ft(e, t, n) {
1251
+ function pt(e, t, r) {
1251
1252
  var i = e.blockedBoundary;
1252
- e.blockedSegment.status = 3, i === null ? (t.allPendingTasks--, t.status !== 2 && (t.status = 2, t.destination !== null && t.destination.push(null))) : (i.pendingTasks--, i.forceClientRender || (i.forceClientRender = !0, e = n === void 0 ? Error(r(432)) : n, i.errorDigest = t.onError(e), i.parentFlushed && t.clientRenderedBoundaries.push(i)), i.fallbackAbortableTasks.forEach(function(e) {
1253
- return ft(e, t, n);
1253
+ e.blockedSegment.status = 3, i === null ? (t.allPendingTasks--, t.status !== 2 && (t.status = 2, t.destination !== null && t.destination.push(null))) : (i.pendingTasks--, i.forceClientRender || (i.forceClientRender = !0, e = r === void 0 ? Error(n(432)) : r, i.errorDigest = t.onError(e), i.parentFlushed && t.clientRenderedBoundaries.push(i)), i.fallbackAbortableTasks.forEach(function(e) {
1254
+ return pt(e, t, r);
1254
1255
  }), i.fallbackAbortableTasks.clear(), t.allPendingTasks--, t.allPendingTasks === 0 && (i = t.onAllReady, i()));
1255
1256
  }
1256
- function pt(e, t) {
1257
+ function q(e, t) {
1257
1258
  if (t.chunks.length === 0 && t.children.length === 1 && t.children[0].boundary === null) {
1258
1259
  var n = t.children[0];
1259
- n.id = t.id, n.parentFlushed = !0, n.status === 1 && pt(e, n);
1260
+ n.id = t.id, n.parentFlushed = !0, n.status === 1 && q(e, n);
1260
1261
  } else e.completedSegments.push(t);
1261
1262
  }
1262
- function mt(e, t, n) {
1263
+ function mt(e, t, r) {
1263
1264
  if (t === null) {
1264
- if (n.parentFlushed) {
1265
- if (e.completedRootSegment !== null) throw Error(r(389));
1266
- e.completedRootSegment = n;
1265
+ if (r.parentFlushed) {
1266
+ if (e.completedRootSegment !== null) throw Error(n(389));
1267
+ e.completedRootSegment = r;
1267
1268
  }
1268
- e.pendingRootTasks--, e.pendingRootTasks === 0 && (e.onShellError = $e, t = e.onShellReady, t());
1269
- } else t.pendingTasks--, t.forceClientRender || (t.pendingTasks === 0 ? (n.parentFlushed && n.status === 1 && pt(t, n), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(dt, e), t.fallbackAbortableTasks.clear()) : n.parentFlushed && n.status === 1 && (pt(t, n), t.completedSegments.length === 1 && t.parentFlushed && e.partialBoundaries.push(t)));
1269
+ e.pendingRootTasks--, e.pendingRootTasks === 0 && (e.onShellError = et, t = e.onShellReady, t());
1270
+ } else t.pendingTasks--, t.forceClientRender || (t.pendingTasks === 0 ? (r.parentFlushed && r.status === 1 && q(t, r), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(ft, e), t.fallbackAbortableTasks.clear()) : r.parentFlushed && r.status === 1 && (q(t, r), t.completedSegments.length === 1 && t.parentFlushed && e.partialBoundaries.push(t)));
1270
1271
  e.allPendingTasks--, e.allPendingTasks === 0 && (e = e.onAllReady, e());
1271
1272
  }
1272
1273
  function ht(e) {
1273
1274
  if (e.status !== 2) {
1274
- var t = L, n = Ze.current;
1275
- Ze.current = Ye;
1276
- var r = Xe;
1277
- Xe = e.responseState;
1275
+ var t = I, n = Qe.current;
1276
+ Qe.current = Xe;
1277
+ var r = Ze;
1278
+ Ze = e.responseState;
1278
1279
  try {
1279
1280
  var i = e.pingedTasks, a;
1280
1281
  for (a = 0; a < i.length; a++) {
1281
1282
  var o = i[a], s = e, c = o.blockedSegment;
1282
1283
  if (c.status === 0) {
1283
- Ee(o.context);
1284
+ z(o.context);
1284
1285
  try {
1285
- q(s, o, o.node), s.responseState.generateStaticMarkup || c.lastPushedText && c.textEmbedded && c.chunks.push("<!-- -->"), o.abortSet.delete(o), c.status = 1, mt(s, o.blockedBoundary, c);
1286
+ K(s, o, o.node), s.responseState.generateStaticMarkup || c.lastPushedText && c.textEmbedded && c.chunks.push("<!-- -->"), o.abortSet.delete(o), c.status = 1, mt(s, o.blockedBoundary, c);
1286
1287
  } catch (e) {
1287
- if (He(), typeof e == "object" && e && typeof e.then == "function") {
1288
+ if (Ue(), typeof e == "object" && e && typeof e.then == "function") {
1288
1289
  var l = o.ping;
1289
1290
  e.then(l, l);
1290
1291
  } else {
1291
1292
  o.abortSet.delete(o), c.status = 4;
1292
- var u = o.blockedBoundary, d = e, f = rt(s, d);
1293
- if (u === null ? it(s, d) : (u.pendingTasks--, u.forceClientRender || (u.forceClientRender = !0, u.errorDigest = f, u.parentFlushed && s.clientRenderedBoundaries.push(u))), s.allPendingTasks--, s.allPendingTasks === 0) {
1293
+ var u = o.blockedBoundary, d = e, f = it(s, d);
1294
+ if (u === null ? at(s, d) : (u.pendingTasks--, u.forceClientRender || (u.forceClientRender = !0, u.errorDigest = f, u.parentFlushed && s.clientRenderedBoundaries.push(u))), s.allPendingTasks--, s.allPendingTasks === 0) {
1294
1295
  var p = s.onAllReady;
1295
1296
  p();
1296
1297
  }
@@ -1300,90 +1301,90 @@ var M = {
1300
1301
  }
1301
1302
  i.splice(0, a), e.destination !== null && bt(e, e.destination);
1302
1303
  } catch (t) {
1303
- rt(e, t), it(e, t);
1304
+ it(e, t), at(e, t);
1304
1305
  } finally {
1305
- Xe = r, Ze.current = n, n === Ye && Ee(t);
1306
+ Ze = r, Qe.current = n, n === Xe && z(t);
1306
1307
  }
1307
1308
  }
1308
1309
  }
1309
- function J(e, t, n) {
1310
- switch (n.parentFlushed = !0, n.status) {
1310
+ function gt(e, t, r) {
1311
+ switch (r.parentFlushed = !0, r.status) {
1311
1312
  case 0:
1312
- var i = n.id = e.nextSegmentId++;
1313
- return n.lastPushedText = !1, n.textEmbedded = !1, e = e.responseState, t.push("<template id=\""), t.push(e.placeholderPrefix), e = i.toString(16), t.push(e), t.push("\"></template>");
1313
+ var i = r.id = e.nextSegmentId++;
1314
+ return r.lastPushedText = !1, r.textEmbedded = !1, e = e.responseState, t.push("<template id=\""), t.push(e.placeholderPrefix), e = i.toString(16), t.push(e), t.push("\"></template>");
1314
1315
  case 1:
1315
- n.status = 2;
1316
+ r.status = 2;
1316
1317
  var a = !0;
1317
- i = n.chunks;
1318
+ i = r.chunks;
1318
1319
  var o = 0;
1319
- n = n.children;
1320
- for (var s = 0; s < n.length; s++) {
1321
- for (a = n[s]; o < a.index; o++) t.push(i[o]);
1322
- a = gt(e, t, a);
1320
+ r = r.children;
1321
+ for (var s = 0; s < r.length; s++) {
1322
+ for (a = r[s]; o < a.index; o++) t.push(i[o]);
1323
+ a = J(e, t, a);
1323
1324
  }
1324
1325
  for (; o < i.length - 1; o++) t.push(i[o]);
1325
1326
  return o < i.length && (a = t.push(i[o])), a;
1326
- default: throw Error(r(390));
1327
+ default: throw Error(n(390));
1327
1328
  }
1328
1329
  }
1329
- function gt(e, t, n) {
1330
- var i = n.boundary;
1331
- if (i === null) return J(e, t, n);
1332
- if (i.parentFlushed = !0, i.forceClientRender) return e.responseState.generateStaticMarkup || (i = i.errorDigest, t.push("<!--$!-->"), t.push("<template"), i && (t.push(" data-dgst=\""), i = g(i), t.push(i), t.push("\"")), t.push("></template>")), J(e, t, n), e = e.responseState.generateStaticMarkup ? !0 : t.push("<!--/$-->"), e;
1330
+ function J(e, t, r) {
1331
+ var i = r.boundary;
1332
+ if (i === null) return gt(e, t, r);
1333
+ if (i.parentFlushed = !0, i.forceClientRender) return e.responseState.generateStaticMarkup || (i = i.errorDigest, t.push("<!--$!-->"), t.push("<template"), i && (t.push(" data-dgst=\""), i = g(i), t.push(i), t.push("\"")), t.push("></template>")), gt(e, t, r), e = e.responseState.generateStaticMarkup ? !0 : t.push("<!--/$-->"), e;
1333
1334
  if (0 < i.pendingTasks) {
1334
1335
  i.rootSegmentID = e.nextSegmentId++, 0 < i.completedSegments.length && e.partialBoundaries.push(i);
1335
1336
  var a = e.responseState, o = a.nextSuspenseID++;
1336
- return a = a.boundaryPrefix + o.toString(16), i = i.id = a, ne(t, e.responseState, i), J(e, t, n), t.push("<!--/$-->");
1337
+ return a = a.boundaryPrefix + o.toString(16), i = i.id = a, re(t, e.responseState, i), gt(e, t, r), t.push("<!--/$-->");
1337
1338
  }
1338
- if (i.byteSize > e.progressiveChunkSize) return i.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(i), ne(t, e.responseState, i.id), J(e, t, n), t.push("<!--/$-->");
1339
- if (e.responseState.generateStaticMarkup || t.push("<!--$-->"), n = i.completedSegments, n.length !== 1) throw Error(r(391));
1340
- return gt(e, t, n[0]), e = e.responseState.generateStaticMarkup ? !0 : t.push("<!--/$-->"), e;
1339
+ if (i.byteSize > e.progressiveChunkSize) return i.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(i), re(t, e.responseState, i.id), gt(e, t, r), t.push("<!--/$-->");
1340
+ if (e.responseState.generateStaticMarkup || t.push("<!--$-->"), r = i.completedSegments, r.length !== 1) throw Error(n(391));
1341
+ return J(e, t, r[0]), e = e.responseState.generateStaticMarkup ? !0 : t.push("<!--/$-->"), e;
1341
1342
  }
1342
1343
  function _t(e, t, n) {
1343
- return re(t, e.responseState, n.formatContext, n.id), gt(e, t, n), ie(t, n.formatContext);
1344
+ return ie(t, e.responseState, n.formatContext, n.id), J(e, t, n), ae(t, n.formatContext);
1344
1345
  }
1345
- function vt(e, t, n) {
1346
- for (var i = n.completedSegments, a = 0; a < i.length; a++) yt(e, t, n, i[a]);
1347
- if (i.length = 0, e = e.responseState, i = n.id, n = n.rootSegmentID, t.push(e.startInlineScript), e.sentCompleteBoundaryFunction ? t.push("$RC(\"") : (e.sentCompleteBoundaryFunction = !0, t.push("function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if(\"/$\"===d)if(0===e)break;else e--;else\"$\"!==d&&\"$?\"!==d&&\"$!\"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data=\"$\";a._reactRetry&&a._reactRetry()}};$RC(\"")), i === null) throw Error(r(395));
1348
- return n = n.toString(16), t.push(i), t.push("\",\""), t.push(e.segmentPrefix), t.push(n), t.push("\")<\/script>");
1346
+ function vt(e, t, r) {
1347
+ for (var i = r.completedSegments, a = 0; a < i.length; a++) yt(e, t, r, i[a]);
1348
+ if (i.length = 0, e = e.responseState, i = r.id, r = r.rootSegmentID, t.push(e.startInlineScript), e.sentCompleteBoundaryFunction ? t.push("$RC(\"") : (e.sentCompleteBoundaryFunction = !0, t.push("function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if(\"/$\"===d)if(0===e)break;else e--;else\"$\"!==d&&\"$?\"!==d&&\"$!\"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data=\"$\";a._reactRetry&&a._reactRetry()}};$RC(\"")), i === null) throw Error(n(395));
1349
+ return r = r.toString(16), t.push(i), t.push("\",\""), t.push(e.segmentPrefix), t.push(r), t.push("\")<\/script>");
1349
1350
  }
1350
- function yt(e, t, n, i) {
1351
+ function yt(e, t, r, i) {
1351
1352
  if (i.status === 2) return !0;
1352
1353
  var a = i.id;
1353
1354
  if (a === -1) {
1354
- if ((i.id = n.rootSegmentID) === -1) throw Error(r(392));
1355
+ if ((i.id = r.rootSegmentID) === -1) throw Error(n(392));
1355
1356
  return _t(e, t, i);
1356
1357
  }
1357
1358
  return _t(e, t, i), e = e.responseState, t.push(e.startInlineScript), e.sentCompleteSegmentFunction ? t.push("$RS(\"") : (e.sentCompleteSegmentFunction = !0, t.push("function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS(\"")), t.push(e.segmentPrefix), a = a.toString(16), t.push(a), t.push("\",\""), t.push(e.placeholderPrefix), t.push(a), t.push("\")<\/script>");
1358
1359
  }
1359
1360
  function bt(e, t) {
1360
1361
  try {
1361
- var n = e.completedRootSegment;
1362
- if (n !== null && e.pendingRootTasks === 0) {
1363
- gt(e, t, n), e.completedRootSegment = null;
1362
+ var r = e.completedRootSegment;
1363
+ if (r !== null && e.pendingRootTasks === 0) {
1364
+ J(e, t, r), e.completedRootSegment = null;
1364
1365
  var i = e.responseState.bootstrapChunks;
1365
- for (n = 0; n < i.length - 1; n++) t.push(i[n]);
1366
- n < i.length && t.push(i[n]);
1366
+ for (r = 0; r < i.length - 1; r++) t.push(i[r]);
1367
+ r < i.length && t.push(i[r]);
1367
1368
  }
1368
1369
  var a = e.clientRenderedBoundaries, o;
1369
1370
  for (o = 0; o < a.length; o++) {
1370
1371
  var s = a[o];
1371
1372
  i = t;
1372
1373
  var c = e.responseState, l = s.id, u = s.errorDigest, d = s.errorMessage, f = s.errorComponentStack;
1373
- if (i.push(c.startInlineScript), c.sentClientRenderFunction ? i.push("$RX(\"") : (c.sentClientRenderFunction = !0, i.push("function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data=\"$!\",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX(\"")), l === null) throw Error(r(395));
1374
+ if (i.push(c.startInlineScript), c.sentClientRenderFunction ? i.push("$RX(\"") : (c.sentClientRenderFunction = !0, i.push("function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data=\"$!\",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX(\"")), l === null) throw Error(n(395));
1374
1375
  if (i.push(l), i.push("\""), u || d || f) {
1375
1376
  i.push(",");
1376
- var p = oe(u || "");
1377
+ var p = se(u || "");
1377
1378
  i.push(p);
1378
1379
  }
1379
1380
  if (d || f) {
1380
1381
  i.push(",");
1381
- var m = oe(d || "");
1382
+ var m = se(d || "");
1382
1383
  i.push(m);
1383
1384
  }
1384
1385
  if (f) {
1385
1386
  i.push(",");
1386
- var h = oe(f);
1387
+ var h = se(f);
1387
1388
  i.push(h);
1388
1389
  }
1389
1390
  if (!i.push(")<\/script>")) {
@@ -1431,14 +1432,14 @@ var M = {
1431
1432
  try {
1432
1433
  var n = e.abortableTasks;
1433
1434
  n.forEach(function(n) {
1434
- return ft(n, e, t);
1435
+ return pt(n, e, t);
1435
1436
  }), n.clear(), e.destination !== null && bt(e, e.destination);
1436
1437
  } catch (t) {
1437
- rt(e, t), it(e, t);
1438
+ it(e, t), at(e, t);
1438
1439
  }
1439
1440
  }
1440
1441
  function St() {}
1441
- function Ct(e, t, n, i) {
1442
+ function Ct(e, t, r, i) {
1442
1443
  var a = !1, o = null, s = "", c = {
1443
1444
  push: function(e) {
1444
1445
  return e !== null && (s += e), !0;
@@ -1447,7 +1448,7 @@ var M = {
1447
1448
  a = !0, o = e;
1448
1449
  }
1449
1450
  }, l = !1;
1450
- if (e = et(e, A(n, t ? t.identifierPrefix : void 0), {
1451
+ if (e = tt(e, k(r, t ? t.identifierPrefix : void 0), {
1451
1452
  insertionMode: 1,
1452
1453
  selectedValue: null
1453
1454
  }, Infinity, St, void 0, function() {
@@ -1458,41 +1459,41 @@ var M = {
1458
1459
  try {
1459
1460
  bt(e, c);
1460
1461
  } catch (t) {
1461
- rt(e, t), it(e, t);
1462
+ it(e, t), at(e, t);
1462
1463
  }
1463
1464
  }
1464
1465
  if (a) throw o;
1465
- if (!l) throw Error(r(426));
1466
+ if (!l) throw Error(n(426));
1466
1467
  return s;
1467
1468
  }
1468
- t.renderToNodeStream = function() {
1469
- throw Error(r(207));
1470
- }, t.renderToStaticMarkup = function(e, t) {
1469
+ e.renderToNodeStream = function() {
1470
+ throw Error(n(207));
1471
+ }, e.renderToStaticMarkup = function(e, t) {
1471
1472
  return Ct(e, t, !0, "The server used \"renderToStaticMarkup\" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to \"renderToReadableStream\" which supports Suspense on the server");
1472
- }, t.renderToStaticNodeStream = function() {
1473
- throw Error(r(208));
1474
- }, t.renderToString = function(e, t) {
1473
+ }, e.renderToStaticNodeStream = function() {
1474
+ throw Error(n(208));
1475
+ }, e.renderToString = function(e, t) {
1475
1476
  return Ct(e, t, !1, "The server used \"renderToString\" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to \"renderToReadableStream\" which supports Suspense on the server");
1476
- }, t.version = "18.3.1";
1477
- })), he = /* @__PURE__ */ r(((t) => {
1478
- var n = e("react");
1479
- function r(e) {
1477
+ }, e.version = "18.3.1";
1478
+ })), P = /* @__PURE__ */ e(((e) => {
1479
+ var t = a("react");
1480
+ function n(e) {
1480
1481
  for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
1481
1482
  return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
1482
1483
  }
1483
- var i = null, a = 0;
1484
+ var r = null, i = 0;
1484
1485
  function o(e, t) {
1485
- if (t.length !== 0) if (512 < t.length) 0 < a && (e.enqueue(new Uint8Array(i.buffer, 0, a)), i = new Uint8Array(512), a = 0), e.enqueue(t);
1486
+ if (t.length !== 0) if (512 < t.length) 0 < i && (e.enqueue(new Uint8Array(r.buffer, 0, i)), r = /* @__PURE__ */ new Uint8Array(512), i = 0), e.enqueue(t);
1486
1487
  else {
1487
- var n = i.length - a;
1488
- n < t.length && (n === 0 ? e.enqueue(i) : (i.set(t.subarray(0, n), a), e.enqueue(i), t = t.subarray(n)), i = new Uint8Array(512), a = 0), i.set(t, a), a += t.length;
1488
+ var n = r.length - i;
1489
+ n < t.length && (n === 0 ? e.enqueue(r) : (r.set(t.subarray(0, n), i), e.enqueue(r), t = t.subarray(n)), r = /* @__PURE__ */ new Uint8Array(512), i = 0), r.set(t, i), i += t.length;
1489
1490
  }
1490
1491
  }
1491
1492
  function s(e, t) {
1492
1493
  return o(e, t), !0;
1493
1494
  }
1494
1495
  function c(e) {
1495
- i && 0 < a && (e.enqueue(new Uint8Array(i.buffer, 0, a)), i = null, a = 0);
1496
+ r && 0 < i && (e.enqueue(new Uint8Array(r.buffer, 0, i)), r = null, i = 0);
1496
1497
  }
1497
1498
  var l = new TextEncoder();
1498
1499
  function u(e) {
@@ -1628,22 +1629,22 @@ var M = {
1628
1629
  strokeMiterlimit: !0,
1629
1630
  strokeOpacity: !0,
1630
1631
  strokeWidth: !0
1631
- }, C = [
1632
+ }, ee = [
1632
1633
  "Webkit",
1633
1634
  "ms",
1634
1635
  "Moz",
1635
1636
  "O"
1636
1637
  ];
1637
1638
  Object.keys(S).forEach(function(e) {
1638
- C.forEach(function(t) {
1639
+ ee.forEach(function(t) {
1639
1640
  t = t + e.charAt(0).toUpperCase() + e.substring(1), S[t] = S[e];
1640
1641
  });
1641
1642
  });
1642
- var w = /["'&<>]/;
1643
- function T(e) {
1643
+ var C = /["'&<>]/;
1644
+ function w(e) {
1644
1645
  if (typeof e == "boolean" || typeof e == "number") return "" + e;
1645
1646
  e = "" + e;
1646
- var t = w.exec(e);
1647
+ var t = C.exec(e);
1647
1648
  if (t) {
1648
1649
  var n = "", r, i = 0;
1649
1650
  for (r = t.index; r < e.length; r++) {
@@ -1671,15 +1672,15 @@ var M = {
1671
1672
  }
1672
1673
  return e;
1673
1674
  }
1674
- var E = /([A-Z])/g, D = /^ms-/, O = Array.isArray, ee = d("<script>"), k = d("<\/script>"), te = d("<script src=\""), ne = d("<script type=\"module\" src=\""), re = d("\" async=\"\"><\/script>"), ie = /(<\/|<)(s)(cript)/gi;
1675
- function ae(e, t, n, r) {
1675
+ var T = /([A-Z])/g, te = /^ms-/, E = Array.isArray, D = d("<script>"), O = d("<\/script>"), ne = d("<script src=\""), re = d("<script type=\"module\" src=\""), ie = d("\" async=\"\"><\/script>"), ae = /(<\/|<)(s)(cript)/gi;
1676
+ function oe(e, t, n, r) {
1676
1677
  return "" + t + (n === "s" ? "\\u0073" : "\\u0053") + r;
1677
1678
  }
1678
- function oe(e, t, n, r, i) {
1679
- e = e === void 0 ? "" : e, t = t === void 0 ? ee : d("<script nonce=\"" + T(t) + "\">");
1679
+ function se(e, t, n, r, i) {
1680
+ e = e === void 0 ? "" : e, t = t === void 0 ? D : d("<script nonce=\"" + w(t) + "\">");
1680
1681
  var a = [];
1681
- if (n !== void 0 && a.push(t, u(("" + n).replace(ie, ae)), k), r !== void 0) for (n = 0; n < r.length; n++) a.push(te, u(T(r[n])), re);
1682
- if (i !== void 0) for (r = 0; r < i.length; r++) a.push(ne, u(T(i[r])), re);
1682
+ if (n !== void 0 && a.push(t, u(("" + n).replace(ae, oe)), O), r !== void 0) for (n = 0; n < r.length; n++) a.push(ne, u(w(r[n])), ie);
1683
+ if (i !== void 0) for (r = 0; r < i.length; r++) a.push(re, u(w(i[r])), ie);
1683
1684
  return {
1684
1685
  bootstrapChunks: a,
1685
1686
  startInlineScript: t,
@@ -1693,58 +1694,58 @@ var M = {
1693
1694
  sentClientRenderFunction: !1
1694
1695
  };
1695
1696
  }
1696
- function A(e, t) {
1697
+ function k(e, t) {
1697
1698
  return {
1698
1699
  insertionMode: e,
1699
1700
  selectedValue: t
1700
1701
  };
1701
1702
  }
1702
- function se(e) {
1703
- return A(e === "http://www.w3.org/2000/svg" ? 2 : e === "http://www.w3.org/1998/Math/MathML" ? 3 : 0, null);
1703
+ function ce(e) {
1704
+ return k(e === "http://www.w3.org/2000/svg" ? 2 : e === "http://www.w3.org/1998/Math/MathML" ? 3 : 0, null);
1704
1705
  }
1705
- function j(e, t, n) {
1706
+ function A(e, t, n) {
1706
1707
  switch (t) {
1707
- case "select": return A(1, n.value == null ? n.defaultValue : n.value);
1708
- case "svg": return A(2, null);
1709
- case "math": return A(3, null);
1710
- case "foreignObject": return A(1, null);
1711
- case "table": return A(4, null);
1708
+ case "select": return k(1, n.value == null ? n.defaultValue : n.value);
1709
+ case "svg": return k(2, null);
1710
+ case "math": return k(3, null);
1711
+ case "foreignObject": return k(1, null);
1712
+ case "table": return k(4, null);
1712
1713
  case "thead":
1713
1714
  case "tbody":
1714
- case "tfoot": return A(5, null);
1715
- case "colgroup": return A(7, null);
1716
- case "tr": return A(6, null);
1715
+ case "tfoot": return k(5, null);
1716
+ case "colgroup": return k(7, null);
1717
+ case "tr": return k(6, null);
1717
1718
  }
1718
- return 4 <= e.insertionMode || e.insertionMode === 0 ? A(1, null) : e;
1719
+ return 4 <= e.insertionMode || e.insertionMode === 0 ? k(1, null) : e;
1719
1720
  }
1720
- var ce = d("<!-- -->");
1721
- function le(e, t, n, r) {
1722
- return t === "" ? r : (r && e.push(ce), e.push(u(T(t))), !0);
1721
+ var le = d("<!-- -->");
1722
+ function ue(e, t, n, r) {
1723
+ return t === "" ? r : (r && e.push(le), e.push(u(w(t))), !0);
1723
1724
  }
1724
- var ue = /* @__PURE__ */ new Map(), de = d(" style=\""), fe = d(":"), pe = d(";");
1725
- function me(e, t, n) {
1726
- if (typeof n != "object") throw Error(r(62));
1727
- for (var i in t = !0, n) if (p.call(n, i)) {
1728
- var a = n[i];
1725
+ var de = /* @__PURE__ */ new Map(), fe = d(" style=\""), pe = d(":"), me = d(";");
1726
+ function he(e, t, r) {
1727
+ if (typeof r != "object") throw Error(n(62));
1728
+ for (var i in t = !0, r) if (p.call(r, i)) {
1729
+ var a = r[i];
1729
1730
  if (a != null && typeof a != "boolean" && a !== "") {
1730
1731
  if (i.indexOf("--") === 0) {
1731
- var o = u(T(i));
1732
- a = u(T(("" + a).trim()));
1732
+ var o = u(w(i));
1733
+ a = u(w(("" + a).trim()));
1733
1734
  } else {
1734
1735
  o = i;
1735
- var s = ue.get(o);
1736
- s === void 0 ? (s = d(T(o.replace(E, "-$1").toLowerCase().replace(D, "-ms-"))), ue.set(o, s), o = s) : o = s, a = typeof a == "number" ? a === 0 || p.call(S, i) ? u("" + a) : u(a + "px") : u(T(("" + a).trim()));
1736
+ var s = de.get(o);
1737
+ s === void 0 ? (s = d(w(o.replace(T, "-$1").toLowerCase().replace(te, "-ms-"))), de.set(o, s), o = s) : o = s, a = typeof a == "number" ? a === 0 || p.call(S, i) ? u("" + a) : u(a + "px") : u(w(("" + a).trim()));
1737
1738
  }
1738
- t ? (t = !1, e.push(de, o, fe, a)) : e.push(pe, o, fe, a);
1739
+ t ? (t = !1, e.push(fe, o, pe, a)) : e.push(me, o, pe, a);
1739
1740
  }
1740
1741
  }
1741
- t || e.push(P);
1742
+ t || e.push(N);
1742
1743
  }
1743
- var M = d(" "), N = d("=\""), P = d("\""), he = d("=\"\"");
1744
- function F(e, t, n, r) {
1744
+ var j = d(" "), M = d("=\""), N = d("\""), ge = d("=\"\"");
1745
+ function P(e, t, n, r) {
1745
1746
  switch (n) {
1746
1747
  case "style":
1747
- me(e, t, r);
1748
+ he(e, t, r);
1748
1749
  return;
1749
1750
  case "defaultValue":
1750
1751
  case "defaultChecked":
@@ -1761,18 +1762,18 @@ var M = {
1761
1762
  }
1762
1763
  switch (n = u(t.attributeName), t.type) {
1763
1764
  case 3:
1764
- r && e.push(M, n, he);
1765
+ r && e.push(j, n, ge);
1765
1766
  break;
1766
1767
  case 4:
1767
- !0 === r ? e.push(M, n, he) : !1 !== r && e.push(M, n, N, u(T(r)), P);
1768
+ !0 === r ? e.push(j, n, ge) : !1 !== r && e.push(j, n, M, u(w(r)), N);
1768
1769
  break;
1769
1770
  case 5:
1770
- isNaN(r) || e.push(M, n, N, u(T(r)), P);
1771
+ isNaN(r) || e.push(j, n, M, u(w(r)), N);
1771
1772
  break;
1772
1773
  case 6:
1773
- !isNaN(r) && 1 <= r && e.push(M, n, N, u(T(r)), P);
1774
+ !isNaN(r) && 1 <= r && e.push(j, n, M, u(w(r)), N);
1774
1775
  break;
1775
- default: t.sanitizeURL && (r = "" + r), e.push(M, n, N, u(T(r)), P);
1776
+ default: t.sanitizeURL && (r = "" + r), e.push(j, n, M, u(w(r)), N);
1776
1777
  }
1777
1778
  } else if (_(n)) {
1778
1779
  switch (typeof r) {
@@ -1780,27 +1781,27 @@ var M = {
1780
1781
  case "symbol": return;
1781
1782
  case "boolean": if (t = n.toLowerCase().slice(0, 5), t !== "data-" && t !== "aria-") return;
1782
1783
  }
1783
- e.push(M, u(n), N, u(T(r)), P);
1784
+ e.push(j, u(n), M, u(w(r)), N);
1784
1785
  }
1785
1786
  }
1786
1787
  }
1787
- var I = d(">"), ge = d("/>");
1788
- function _e(e, t, n) {
1788
+ var F = d(">"), _e = d("/>");
1789
+ function ve(e, t, r) {
1789
1790
  if (t != null) {
1790
- if (n != null) throw Error(r(60));
1791
- if (typeof t != "object" || !("__html" in t)) throw Error(r(61));
1791
+ if (r != null) throw Error(n(60));
1792
+ if (typeof t != "object" || !("__html" in t)) throw Error(n(61));
1792
1793
  t = t.__html, t != null && e.push(u("" + t));
1793
1794
  }
1794
1795
  }
1795
- function ve(e) {
1796
- var t = "";
1797
- return n.Children.forEach(e, function(e) {
1798
- e != null && (t += e);
1799
- }), t;
1796
+ function ye(e) {
1797
+ var n = "";
1798
+ return t.Children.forEach(e, function(e) {
1799
+ e != null && (n += e);
1800
+ }), n;
1800
1801
  }
1801
- var ye = d(" selected=\"\"");
1802
- function be(e, t, n, r) {
1803
- e.push(R(n));
1802
+ var be = d(" selected=\"\"");
1803
+ function xe(e, t, n, r) {
1804
+ e.push(L(n));
1804
1805
  var i = n = null, a;
1805
1806
  for (a in t) if (p.call(t, a)) {
1806
1807
  var o = t[a];
@@ -1811,28 +1812,28 @@ var M = {
1811
1812
  case "dangerouslySetInnerHTML":
1812
1813
  i = o;
1813
1814
  break;
1814
- default: F(e, r, a, o);
1815
+ default: P(e, r, a, o);
1815
1816
  }
1816
1817
  }
1817
- return e.push(I), _e(e, i, n), typeof n == "string" ? (e.push(u(T(n))), null) : n;
1818
+ return e.push(F), ve(e, i, n), typeof n == "string" ? (e.push(u(w(n))), null) : n;
1818
1819
  }
1819
- var xe = d("\n"), Se = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, L = /* @__PURE__ */ new Map();
1820
- function R(e) {
1821
- var t = L.get(e);
1820
+ var Se = d("\n"), Ce = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, I = /* @__PURE__ */ new Map();
1821
+ function L(e) {
1822
+ var t = I.get(e);
1822
1823
  if (t === void 0) {
1823
- if (!Se.test(e)) throw Error(r(65, e));
1824
- t = d("<" + e), L.set(e, t);
1824
+ if (!Ce.test(e)) throw Error(n(65, e));
1825
+ t = d("<" + e), I.set(e, t);
1825
1826
  }
1826
1827
  return t;
1827
1828
  }
1828
- var Ce = d("<!DOCTYPE html>");
1829
- function we(e, t, n, i, a) {
1829
+ var we = d("<!DOCTYPE html>");
1830
+ function Te(e, t, r, i, a) {
1830
1831
  switch (t) {
1831
1832
  case "select":
1832
- e.push(R("select"));
1833
+ e.push(L("select"));
1833
1834
  var o = null, s = null;
1834
- for (f in n) if (p.call(n, f)) {
1835
- var c = n[f];
1835
+ for (f in r) if (p.call(r, f)) {
1836
+ var c = r[f];
1836
1837
  if (c != null) switch (f) {
1837
1838
  case "children":
1838
1839
  o = c;
@@ -1842,15 +1843,15 @@ var M = {
1842
1843
  break;
1843
1844
  case "defaultValue":
1844
1845
  case "value": break;
1845
- default: F(e, i, f, c);
1846
+ default: P(e, i, f, c);
1846
1847
  }
1847
1848
  }
1848
- return e.push(I), _e(e, s, o), o;
1849
+ return e.push(F), ve(e, s, o), o;
1849
1850
  case "option":
1850
- s = a.selectedValue, e.push(R("option"));
1851
+ s = a.selectedValue, e.push(L("option"));
1851
1852
  var l = c = null, d = null, f = null;
1852
- for (o in n) if (p.call(n, o)) {
1853
- var m = n[o];
1853
+ for (o in r) if (p.call(r, o)) {
1854
+ var m = r[o];
1854
1855
  if (m != null) switch (o) {
1855
1856
  case "children":
1856
1857
  c = m;
@@ -1862,19 +1863,19 @@ var M = {
1862
1863
  f = m;
1863
1864
  break;
1864
1865
  case "value": l = m;
1865
- default: F(e, i, o, m);
1866
+ default: P(e, i, o, m);
1866
1867
  }
1867
1868
  }
1868
- if (s != null) if (n = l === null ? ve(c) : "" + l, O(s)) {
1869
- for (i = 0; i < s.length; i++) if ("" + s[i] === n) {
1870
- e.push(ye);
1869
+ if (s != null) if (r = l === null ? ye(c) : "" + l, E(s)) {
1870
+ for (i = 0; i < s.length; i++) if ("" + s[i] === r) {
1871
+ e.push(be);
1871
1872
  break;
1872
1873
  }
1873
- } else "" + s === n && e.push(ye);
1874
- else d && e.push(ye);
1875
- return e.push(I), _e(e, f, c), c;
1874
+ } else "" + s === r && e.push(be);
1875
+ else d && e.push(be);
1876
+ return e.push(F), ve(e, f, c), c;
1876
1877
  case "textarea":
1877
- for (c in e.push(R("textarea")), f = s = o = null, n) if (p.call(n, c) && (l = n[c], l != null)) switch (c) {
1878
+ for (c in e.push(L("textarea")), f = s = o = null, r) if (p.call(r, c) && (l = r[c], l != null)) switch (c) {
1878
1879
  case "children":
1879
1880
  f = l;
1880
1881
  break;
@@ -1884,19 +1885,19 @@ var M = {
1884
1885
  case "defaultValue":
1885
1886
  s = l;
1886
1887
  break;
1887
- case "dangerouslySetInnerHTML": throw Error(r(91));
1888
- default: F(e, i, c, l);
1888
+ case "dangerouslySetInnerHTML": throw Error(n(91));
1889
+ default: P(e, i, c, l);
1889
1890
  }
1890
- if (o === null && s !== null && (o = s), e.push(I), f != null) {
1891
- if (o != null) throw Error(r(92));
1892
- if (O(f) && 1 < f.length) throw Error(r(93));
1891
+ if (o === null && s !== null && (o = s), e.push(F), f != null) {
1892
+ if (o != null) throw Error(n(92));
1893
+ if (E(f) && 1 < f.length) throw Error(n(93));
1893
1894
  o = "" + f;
1894
1895
  }
1895
- return typeof o == "string" && o[0] === "\n" && e.push(xe), o !== null && e.push(u(T("" + o))), null;
1896
+ return typeof o == "string" && o[0] === "\n" && e.push(Se), o !== null && e.push(u(w("" + o))), null;
1896
1897
  case "input":
1897
- for (s in e.push(R("input")), l = f = c = o = null, n) if (p.call(n, s) && (d = n[s], d != null)) switch (s) {
1898
+ for (s in e.push(L("input")), l = f = c = o = null, r) if (p.call(r, s) && (d = r[s], d != null)) switch (s) {
1898
1899
  case "children":
1899
- case "dangerouslySetInnerHTML": throw Error(r(399, "input"));
1900
+ case "dangerouslySetInnerHTML": throw Error(n(399, "input"));
1900
1901
  case "defaultChecked":
1901
1902
  l = d;
1902
1903
  break;
@@ -1909,42 +1910,42 @@ var M = {
1909
1910
  case "value":
1910
1911
  o = d;
1911
1912
  break;
1912
- default: F(e, i, s, d);
1913
+ default: P(e, i, s, d);
1913
1914
  }
1914
- return f === null ? l !== null && F(e, i, "checked", l) : F(e, i, "checked", f), o === null ? c !== null && F(e, i, "value", c) : F(e, i, "value", o), e.push(ge), null;
1915
+ return f === null ? l !== null && P(e, i, "checked", l) : P(e, i, "checked", f), o === null ? c !== null && P(e, i, "value", c) : P(e, i, "value", o), e.push(_e), null;
1915
1916
  case "menuitem":
1916
- for (var h in e.push(R("menuitem")), n) if (p.call(n, h) && (o = n[h], o != null)) switch (h) {
1917
+ for (var h in e.push(L("menuitem")), r) if (p.call(r, h) && (o = r[h], o != null)) switch (h) {
1917
1918
  case "children":
1918
- case "dangerouslySetInnerHTML": throw Error(r(400));
1919
- default: F(e, i, h, o);
1919
+ case "dangerouslySetInnerHTML": throw Error(n(400));
1920
+ default: P(e, i, h, o);
1920
1921
  }
1921
- return e.push(I), null;
1922
+ return e.push(F), null;
1922
1923
  case "title":
1923
- for (m in e.push(R("title")), o = null, n) if (p.call(n, m) && (s = n[m], s != null)) switch (m) {
1924
+ for (m in e.push(L("title")), o = null, r) if (p.call(r, m) && (s = r[m], s != null)) switch (m) {
1924
1925
  case "children":
1925
1926
  o = s;
1926
1927
  break;
1927
- case "dangerouslySetInnerHTML": throw Error(r(434));
1928
- default: F(e, i, m, s);
1928
+ case "dangerouslySetInnerHTML": throw Error(n(434));
1929
+ default: P(e, i, m, s);
1929
1930
  }
1930
- return e.push(I), o;
1931
+ return e.push(F), o;
1931
1932
  case "listing":
1932
1933
  case "pre":
1933
- for (l in e.push(R(t)), s = o = null, n) if (p.call(n, l) && (c = n[l], c != null)) switch (l) {
1934
+ for (l in e.push(L(t)), s = o = null, r) if (p.call(r, l) && (c = r[l], c != null)) switch (l) {
1934
1935
  case "children":
1935
1936
  o = c;
1936
1937
  break;
1937
1938
  case "dangerouslySetInnerHTML":
1938
1939
  s = c;
1939
1940
  break;
1940
- default: F(e, i, l, c);
1941
+ default: P(e, i, l, c);
1941
1942
  }
1942
- if (e.push(I), s != null) {
1943
- if (o != null) throw Error(r(60));
1944
- if (typeof s != "object" || !("__html" in s)) throw Error(r(61));
1945
- n = s.__html, n != null && (typeof n == "string" && 0 < n.length && n[0] === "\n" ? e.push(xe, u(n)) : e.push(u("" + n)));
1943
+ if (e.push(F), s != null) {
1944
+ if (o != null) throw Error(n(60));
1945
+ if (typeof s != "object" || !("__html" in s)) throw Error(n(61));
1946
+ r = s.__html, r != null && (typeof r == "string" && 0 < r.length && r[0] === "\n" ? e.push(Se, u(r)) : e.push(u("" + r)));
1946
1947
  }
1947
- return typeof o == "string" && o[0] === "\n" && e.push(xe), o;
1948
+ return typeof o == "string" && o[0] === "\n" && e.push(Se), o;
1948
1949
  case "area":
1949
1950
  case "base":
1950
1951
  case "br":
@@ -1959,12 +1960,12 @@ var M = {
1959
1960
  case "source":
1960
1961
  case "track":
1961
1962
  case "wbr":
1962
- for (var g in e.push(R(t)), n) if (p.call(n, g) && (o = n[g], o != null)) switch (g) {
1963
+ for (var g in e.push(L(t)), r) if (p.call(r, g) && (o = r[g], o != null)) switch (g) {
1963
1964
  case "children":
1964
- case "dangerouslySetInnerHTML": throw Error(r(399, t));
1965
- default: F(e, i, g, o);
1965
+ case "dangerouslySetInnerHTML": throw Error(n(399, t));
1966
+ default: P(e, i, g, o);
1966
1967
  }
1967
- return e.push(ge), null;
1968
+ return e.push(_e), null;
1968
1969
  case "annotation-xml":
1969
1970
  case "color-profile":
1970
1971
  case "font-face":
@@ -1972,11 +1973,11 @@ var M = {
1972
1973
  case "font-face-uri":
1973
1974
  case "font-face-format":
1974
1975
  case "font-face-name":
1975
- case "missing-glyph": return be(e, n, t, i);
1976
- case "html": return a.insertionMode === 0 && e.push(Ce), be(e, n, t, i);
1976
+ case "missing-glyph": return xe(e, r, t, i);
1977
+ case "html": return a.insertionMode === 0 && e.push(we), xe(e, r, t, i);
1977
1978
  default:
1978
- if (t.indexOf("-") === -1 && typeof n.is != "string") return be(e, n, t, i);
1979
- for (d in e.push(R(t)), s = o = null, n) if (p.call(n, d) && (c = n[d], c != null)) switch (d) {
1979
+ if (t.indexOf("-") === -1 && typeof r.is != "string") return xe(e, r, t, i);
1980
+ for (d in e.push(L(t)), s = o = null, r) if (p.call(r, d) && (c = r[d], c != null)) switch (d) {
1980
1981
  case "children":
1981
1982
  o = c;
1982
1983
  break;
@@ -1984,52 +1985,52 @@ var M = {
1984
1985
  s = c;
1985
1986
  break;
1986
1987
  case "style":
1987
- me(e, i, c);
1988
+ he(e, i, c);
1988
1989
  break;
1989
1990
  case "suppressContentEditableWarning":
1990
1991
  case "suppressHydrationWarning": break;
1991
- default: _(d) && typeof c != "function" && typeof c != "symbol" && e.push(M, u(d), N, u(T(c)), P);
1992
+ default: _(d) && typeof c != "function" && typeof c != "symbol" && e.push(j, u(d), M, u(w(c)), N);
1992
1993
  }
1993
- return e.push(I), _e(e, s, o), o;
1994
+ return e.push(F), ve(e, s, o), o;
1994
1995
  }
1995
1996
  }
1996
- var z = d("</"), Te = d(">"), Ee = d("<template id=\""), De = d("\"></template>"), Oe = d("<!--$-->"), ke = d("<!--$?--><template id=\""), Ae = d("\"></template>"), B = d("<!--$!-->"), je = d("<!--/$-->"), Me = d("<template"), Ne = d("\""), Pe = d(" data-dgst=\"");
1997
+ var Ee = d("</"), R = d(">"), z = d("<template id=\""), De = d("\"></template>"), Oe = d("<!--$-->"), ke = d("<!--$?--><template id=\""), Ae = d("\"></template>"), je = d("<!--$!-->"), Me = d("<!--/$-->"), Ne = d("<template"), Pe = d("\""), Fe = d(" data-dgst=\"");
1997
1998
  d(" data-msg=\""), d(" data-stck=\"");
1998
- var Fe = d("></template>");
1999
- function V(e, t, n) {
2000
- if (o(e, ke), n === null) throw Error(r(395));
2001
- return o(e, n), s(e, Ae);
2002
- }
2003
- var Ie = d("<div hidden id=\""), Le = d("\">"), H = d("</div>"), Re = d("<svg aria-hidden=\"true\" style=\"display:none\" id=\""), ze = d("\">"), Be = d("</svg>"), U = d("<math aria-hidden=\"true\" style=\"display:none\" id=\""), W = d("\">"), G = d("</math>"), K = d("<table hidden id=\""), Ve = d("\">"), He = d("</table>"), Ue = d("<table hidden><tbody id=\""), We = d("\">"), Ge = d("</tbody></table>"), Ke = d("<table hidden><tr id=\""), qe = d("\">"), Je = d("</tr></table>"), Ye = d("<table hidden><colgroup id=\""), Xe = d("\">"), Ze = d("</colgroup></table>");
2004
- function Qe(e, t, n, i) {
2005
- switch (n.insertionMode) {
1999
+ var Ie = d("></template>");
2000
+ function B(e, t, r) {
2001
+ if (o(e, ke), r === null) throw Error(n(395));
2002
+ return o(e, r), s(e, Ae);
2003
+ }
2004
+ var V = d("<div hidden id=\""), Le = d("\">"), H = d("</div>"), Re = d("<svg aria-hidden=\"true\" style=\"display:none\" id=\""), ze = d("\">"), Be = d("</svg>"), U = d("<math aria-hidden=\"true\" style=\"display:none\" id=\""), Ve = d("\">"), W = d("</math>"), He = d("<table hidden id=\""), G = d("\">"), Ue = d("</table>"), We = d("<table hidden><tbody id=\""), Ge = d("\">"), Ke = d("</tbody></table>"), qe = d("<table hidden><tr id=\""), Je = d("\">"), Ye = d("</tr></table>"), Xe = d("<table hidden><colgroup id=\""), Ze = d("\">"), Qe = d("</colgroup></table>");
2005
+ function $e(e, t, r, i) {
2006
+ switch (r.insertionMode) {
2006
2007
  case 0:
2007
- case 1: return o(e, Ie), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Le);
2008
+ case 1: return o(e, V), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Le);
2008
2009
  case 2: return o(e, Re), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, ze);
2009
- case 3: return o(e, U), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, W);
2010
- case 4: return o(e, K), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Ve);
2011
- case 5: return o(e, Ue), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, We);
2012
- case 6: return o(e, Ke), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, qe);
2013
- case 7: return o(e, Ye), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Xe);
2014
- default: throw Error(r(397));
2010
+ case 3: return o(e, U), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Ve);
2011
+ case 4: return o(e, He), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, G);
2012
+ case 5: return o(e, We), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Ge);
2013
+ case 6: return o(e, qe), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Je);
2014
+ case 7: return o(e, Xe), o(e, t.segmentPrefix), o(e, u(i.toString(16))), s(e, Ze);
2015
+ default: throw Error(n(397));
2015
2016
  }
2016
2017
  }
2017
- function $e(e, t) {
2018
+ function et(e, t) {
2018
2019
  switch (t.insertionMode) {
2019
2020
  case 0:
2020
2021
  case 1: return s(e, H);
2021
2022
  case 2: return s(e, Be);
2022
- case 3: return s(e, G);
2023
- case 4: return s(e, He);
2024
- case 5: return s(e, Ge);
2025
- case 6: return s(e, Je);
2026
- case 7: return s(e, Ze);
2027
- default: throw Error(r(397));
2023
+ case 3: return s(e, W);
2024
+ case 4: return s(e, Ue);
2025
+ case 5: return s(e, Ke);
2026
+ case 6: return s(e, Ye);
2027
+ case 7: return s(e, Qe);
2028
+ default: throw Error(n(397));
2028
2029
  }
2029
2030
  }
2030
- var et = d("function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS(\""), tt = d("$RS(\""), nt = d("\",\""), rt = d("\")<\/script>"), it = d("function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if(\"/$\"===d)if(0===e)break;else e--;else\"$\"!==d&&\"$?\"!==d&&\"$!\"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data=\"$\";a._reactRetry&&a._reactRetry()}};$RC(\""), at = d("$RC(\""), ot = d("\",\""), st = d("\")<\/script>"), ct = d("function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data=\"$!\",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX(\""), q = d("$RX(\""), lt = d("\""), ut = d(")<\/script>"), dt = d(","), ft = /[<\u2028\u2029]/g;
2031
- function pt(e) {
2032
- return JSON.stringify(e).replace(ft, function(e) {
2031
+ var tt = d("function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS(\""), nt = d("$RS(\""), rt = d("\",\""), it = d("\")<\/script>"), at = d("function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if(\"/$\"===d)if(0===e)break;else e--;else\"$\"!==d&&\"$?\"!==d&&\"$!\"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data=\"$\";a._reactRetry&&a._reactRetry()}};$RC(\""), ot = d("$RC(\""), st = d("\",\""), ct = d("\")<\/script>"), lt = d("function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data=\"$!\",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX(\""), K = d("$RX(\""), ut = d("\""), dt = d(")<\/script>"), ft = d(","), pt = /[<\u2028\u2029]/g;
2032
+ function q(e) {
2033
+ return JSON.stringify(e).replace(pt, function(e) {
2033
2034
  switch (e) {
2034
2035
  case "<": return "\\u003c";
2035
2036
  case "\u2028": return "\\u2028";
@@ -2038,14 +2039,14 @@ var M = {
2038
2039
  }
2039
2040
  });
2040
2041
  }
2041
- var mt = Object.assign, ht = Symbol.for("react.element"), J = Symbol.for("react.portal"), gt = Symbol.for("react.fragment"), _t = Symbol.for("react.strict_mode"), vt = Symbol.for("react.profiler"), yt = Symbol.for("react.provider"), bt = Symbol.for("react.context"), xt = Symbol.for("react.forward_ref"), St = Symbol.for("react.suspense"), Ct = Symbol.for("react.suspense_list"), wt = Symbol.for("react.memo"), Tt = Symbol.for("react.lazy"), Et = Symbol.for("react.scope"), Dt = Symbol.for("react.debug_trace_mode"), Ot = Symbol.for("react.legacy_hidden"), kt = Symbol.for("react.default_value"), At = Symbol.iterator;
2042
+ var mt = Object.assign, ht = Symbol.for("react.element"), gt = Symbol.for("react.portal"), J = Symbol.for("react.fragment"), _t = Symbol.for("react.strict_mode"), vt = Symbol.for("react.profiler"), yt = Symbol.for("react.provider"), bt = Symbol.for("react.context"), xt = Symbol.for("react.forward_ref"), St = Symbol.for("react.suspense"), Ct = Symbol.for("react.suspense_list"), wt = Symbol.for("react.memo"), Tt = Symbol.for("react.lazy"), Et = Symbol.for("react.scope"), Dt = Symbol.for("react.debug_trace_mode"), Ot = Symbol.for("react.legacy_hidden"), kt = Symbol.for("react.default_value"), At = Symbol.iterator;
2042
2043
  function jt(e) {
2043
2044
  if (e == null) return null;
2044
2045
  if (typeof e == "function") return e.displayName || e.name || null;
2045
2046
  if (typeof e == "string") return e;
2046
2047
  switch (e) {
2047
- case gt: return "Fragment";
2048
- case J: return "Portal";
2048
+ case J: return "Fragment";
2049
+ case gt: return "Portal";
2049
2050
  case vt: return "Profiler";
2050
2051
  case _t: return "StrictMode";
2051
2052
  case St: return "Suspense";
@@ -2073,41 +2074,41 @@ var M = {
2073
2074
  for (r in e) n[r] = t[r];
2074
2075
  return n;
2075
2076
  }
2076
- var Y = null;
2077
- function Pt(e, t) {
2077
+ var Pt = null;
2078
+ function Ft(e, t) {
2078
2079
  if (e !== t) {
2079
2080
  e.context._currentValue = e.parentValue, e = e.parent;
2080
- var n = t.parent;
2081
+ var r = t.parent;
2081
2082
  if (e === null) {
2082
- if (n !== null) throw Error(r(401));
2083
+ if (r !== null) throw Error(n(401));
2083
2084
  } else {
2084
- if (n === null) throw Error(r(401));
2085
- Pt(e, n);
2085
+ if (r === null) throw Error(n(401));
2086
+ Ft(e, r);
2086
2087
  }
2087
2088
  t.context._currentValue = t.value;
2088
2089
  }
2089
2090
  }
2090
- function Ft(e) {
2091
- e.context._currentValue = e.parentValue, e = e.parent, e !== null && Ft(e);
2092
- }
2093
2091
  function It(e) {
2094
- var t = e.parent;
2095
- t !== null && It(t), e.context._currentValue = e.value;
2092
+ e.context._currentValue = e.parentValue, e = e.parent, e !== null && It(e);
2096
2093
  }
2097
- function Lt(e, t) {
2098
- if (e.context._currentValue = e.parentValue, e = e.parent, e === null) throw Error(r(402));
2099
- e.depth === t.depth ? Pt(e, t) : Lt(e, t);
2094
+ function Lt(e) {
2095
+ var t = e.parent;
2096
+ t !== null && Lt(t), e.context._currentValue = e.value;
2100
2097
  }
2101
2098
  function Rt(e, t) {
2102
- var n = t.parent;
2103
- if (n === null) throw Error(r(402));
2104
- e.depth === n.depth ? Pt(e, n) : Rt(e, n), t.context._currentValue = t.value;
2099
+ if (e.context._currentValue = e.parentValue, e = e.parent, e === null) throw Error(n(402));
2100
+ e.depth === t.depth ? Ft(e, t) : Rt(e, t);
2101
+ }
2102
+ function zt(e, t) {
2103
+ var r = t.parent;
2104
+ if (r === null) throw Error(n(402));
2105
+ e.depth === r.depth ? Ft(e, r) : zt(e, r), t.context._currentValue = t.value;
2105
2106
  }
2106
- function zt(e) {
2107
- var t = Y;
2108
- t !== e && (t === null ? It(e) : e === null ? Ft(t) : t.depth === e.depth ? Pt(t, e) : t.depth > e.depth ? Lt(t, e) : Rt(t, e), Y = e);
2107
+ function Bt(e) {
2108
+ var t = Pt;
2109
+ t !== e && (t === null ? Lt(e) : e === null ? It(t) : t.depth === e.depth ? Ft(t, e) : t.depth > e.depth ? Rt(t, e) : zt(t, e), Pt = e);
2109
2110
  }
2110
- var Bt = {
2111
+ var Vt = {
2111
2112
  isMounted: function() {
2112
2113
  return !1;
2113
2114
  },
@@ -2119,16 +2120,16 @@ var M = {
2119
2120
  },
2120
2121
  enqueueForceUpdate: function() {}
2121
2122
  };
2122
- function Vt(e, t, n, r) {
2123
+ function Ht(e, t, n, r) {
2123
2124
  var i = e.state === void 0 ? null : e.state;
2124
- e.updater = Bt, e.props = n, e.state = i;
2125
+ e.updater = Vt, e.props = n, e.state = i;
2125
2126
  var a = {
2126
2127
  queue: [],
2127
2128
  replace: !1
2128
2129
  };
2129
2130
  e._reactInternals = a;
2130
2131
  var o = t.contextType;
2131
- if (e.context = typeof o == "object" && o ? o._currentValue : r, o = t.getDerivedStateFromProps, typeof o == "function" && (o = o(n, i), i = o == null ? i : mt({}, i, o), e.state = i), typeof t.getDerivedStateFromProps != "function" && typeof e.getSnapshotBeforeUpdate != "function" && (typeof e.UNSAFE_componentWillMount == "function" || typeof e.componentWillMount == "function")) if (t = e.state, typeof e.componentWillMount == "function" && e.componentWillMount(), typeof e.UNSAFE_componentWillMount == "function" && e.UNSAFE_componentWillMount(), t !== e.state && Bt.enqueueReplaceState(e, e.state, null), a.queue !== null && 0 < a.queue.length) if (t = a.queue, o = a.replace, a.queue = null, a.replace = !1, o && t.length === 1) e.state = t[0];
2132
+ if (e.context = typeof o == "object" && o ? o._currentValue : r, o = t.getDerivedStateFromProps, typeof o == "function" && (o = o(n, i), i = o == null ? i : mt({}, i, o), e.state = i), typeof t.getDerivedStateFromProps != "function" && typeof e.getSnapshotBeforeUpdate != "function" && (typeof e.UNSAFE_componentWillMount == "function" || typeof e.componentWillMount == "function")) if (t = e.state, typeof e.componentWillMount == "function" && e.componentWillMount(), typeof e.UNSAFE_componentWillMount == "function" && e.UNSAFE_componentWillMount(), t !== e.state && Vt.enqueueReplaceState(e, e.state, null), a.queue !== null && 0 < a.queue.length) if (t = a.queue, o = a.replace, a.queue = null, a.replace = !1, o && t.length === 1) e.state = t[0];
2132
2133
  else {
2133
2134
  for (a = o ? t[0] : e.state, i = !0, o = +!!o; o < t.length; o++) {
2134
2135
  var s = t[o];
@@ -2138,20 +2139,20 @@ var M = {
2138
2139
  }
2139
2140
  else a.queue = null;
2140
2141
  }
2141
- var Ht = {
2142
+ var Ut = {
2142
2143
  id: 1,
2143
2144
  overflow: ""
2144
2145
  };
2145
- function Ut(e, t, n) {
2146
+ function Wt(e, t, n) {
2146
2147
  var r = e.id;
2147
2148
  e = e.overflow;
2148
- var i = 32 - Wt(r) - 1;
2149
+ var i = 32 - Gt(r) - 1;
2149
2150
  r &= ~(1 << i), n += 1;
2150
- var a = 32 - Wt(t) + i;
2151
+ var a = 32 - Gt(t) + i;
2151
2152
  if (30 < a) {
2152
2153
  var o = i - i % 5;
2153
2154
  return a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, {
2154
- id: 1 << 32 - Wt(t) + i | n << i | r,
2155
+ id: 1 << 32 - Gt(t) + i | n << i | r,
2155
2156
  overflow: a + e
2156
2157
  };
2157
2158
  }
@@ -2160,20 +2161,20 @@ var M = {
2160
2161
  overflow: e
2161
2162
  };
2162
2163
  }
2163
- var Wt = Math.clz32 ? Math.clz32 : qt, Gt = Math.log, Kt = Math.LN2;
2164
- function qt(e) {
2165
- return e >>>= 0, e === 0 ? 32 : 31 - (Gt(e) / Kt | 0) | 0;
2164
+ var Gt = Math.clz32 ? Math.clz32 : Jt, Kt = Math.log, qt = Math.LN2;
2165
+ function Jt(e) {
2166
+ return e >>>= 0, e === 0 ? 32 : 31 - (Kt(e) / qt | 0) | 0;
2166
2167
  }
2167
- function Jt(e, t) {
2168
+ function Yt(e, t) {
2168
2169
  return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
2169
2170
  }
2170
- var Yt = typeof Object.is == "function" ? Object.is : Jt, X = null, Xt = null, Zt = null, Z = null, Qt = !1, $t = !1, en = 0, Q = null, tn = 0;
2171
+ var Xt = typeof Object.is == "function" ? Object.is : Yt, Y = null, X = null, Zt = null, Z = null, Qt = !1, $t = !1, en = 0, Q = null, tn = 0;
2171
2172
  function nn() {
2172
- if (X === null) throw Error(r(321));
2173
- return X;
2173
+ if (Y === null) throw Error(n(321));
2174
+ return Y;
2174
2175
  }
2175
2176
  function rn() {
2176
- if (0 < tn) throw Error(r(312));
2177
+ if (0 < tn) throw Error(n(312));
2177
2178
  return {
2178
2179
  memoizedState: null,
2179
2180
  queue: null,
@@ -2184,13 +2185,13 @@ var M = {
2184
2185
  return Z === null ? Zt === null ? (Qt = !1, Zt = Z = rn()) : (Qt = !0, Z = Zt) : Z.next === null ? (Qt = !1, Z = Z.next = rn()) : (Qt = !0, Z = Z.next), Z;
2185
2186
  }
2186
2187
  function on() {
2187
- Xt = X = null, $t = !1, Zt = null, tn = 0, Z = Q = null;
2188
+ X = Y = null, $t = !1, Zt = null, tn = 0, Z = Q = null;
2188
2189
  }
2189
2190
  function sn(e, t) {
2190
2191
  return typeof t == "function" ? t(e) : t;
2191
2192
  }
2192
2193
  function cn(e, t, n) {
2193
- if (X = nn(), Z = an(), Qt) {
2194
+ if (Y = nn(), Z = an(), Qt) {
2194
2195
  var r = Z.queue;
2195
2196
  if (t = r.dispatch, Q !== null && (n = Q.get(r), n !== void 0)) {
2196
2197
  Q.delete(r), r = Z.memoizedState;
@@ -2204,16 +2205,16 @@ var M = {
2204
2205
  return e = e === sn ? typeof t == "function" ? t() : t : n === void 0 ? t : n(t), Z.memoizedState = e, e = Z.queue = {
2205
2206
  last: null,
2206
2207
  dispatch: null
2207
- }, e = e.dispatch = un.bind(null, X, e), [Z.memoizedState, e];
2208
+ }, e = e.dispatch = un.bind(null, Y, e), [Z.memoizedState, e];
2208
2209
  }
2209
2210
  function ln(e, t) {
2210
- if (X = nn(), Z = an(), t = t === void 0 ? null : t, Z !== null) {
2211
+ if (Y = nn(), Z = an(), t = t === void 0 ? null : t, Z !== null) {
2211
2212
  var n = Z.memoizedState;
2212
2213
  if (n !== null && t !== null) {
2213
2214
  var r = n[1];
2214
2215
  a: if (r === null) r = !1;
2215
2216
  else {
2216
- for (var i = 0; i < r.length && i < t.length; i++) if (!Yt(t[i], r[i])) {
2217
+ for (var i = 0; i < r.length && i < t.length; i++) if (!Xt(t[i], r[i])) {
2217
2218
  r = !1;
2218
2219
  break a;
2219
2220
  }
@@ -2224,19 +2225,19 @@ var M = {
2224
2225
  }
2225
2226
  return e = e(), Z.memoizedState = [e, t], e;
2226
2227
  }
2227
- function un(e, t, n) {
2228
- if (25 <= tn) throw Error(r(301));
2229
- if (e === X) if ($t = !0, e = {
2230
- action: n,
2228
+ function un(e, t, r) {
2229
+ if (25 <= tn) throw Error(n(301));
2230
+ if (e === Y) if ($t = !0, e = {
2231
+ action: r,
2231
2232
  next: null
2232
- }, Q === null && (Q = /* @__PURE__ */ new Map()), n = Q.get(t), n === void 0) Q.set(t, e);
2233
+ }, Q === null && (Q = /* @__PURE__ */ new Map()), r = Q.get(t), r === void 0) Q.set(t, e);
2233
2234
  else {
2234
- for (t = n; t.next !== null;) t = t.next;
2235
+ for (t = r; t.next !== null;) t = t.next;
2235
2236
  t.next = e;
2236
2237
  }
2237
2238
  }
2238
2239
  function dn() {
2239
- throw Error(r(394));
2240
+ throw Error(n(394));
2240
2241
  }
2241
2242
  function fn() {}
2242
2243
  var pn = {
@@ -2249,7 +2250,7 @@ var M = {
2249
2250
  useMemo: ln,
2250
2251
  useReducer: cn,
2251
2252
  useRef: function(e) {
2252
- X = nn(), Z = an();
2253
+ Y = nn(), Z = an();
2253
2254
  var t = Z.memoizedState;
2254
2255
  return t === null ? (e = { current: e }, Z.memoizedState = e) : t;
2255
2256
  },
@@ -2273,20 +2274,20 @@ var M = {
2273
2274
  return nn(), [!1, dn];
2274
2275
  },
2275
2276
  useId: function() {
2276
- var e = Xt.treeContext, t = e.overflow;
2277
- e = e.id, e = (e & ~(1 << 32 - Wt(e) - 1)).toString(32) + t;
2278
- var n = mn;
2279
- if (n === null) throw Error(r(404));
2280
- return t = en++, e = ":" + n.idPrefix + "R" + e, 0 < t && (e += "H" + t.toString(32)), e + ":";
2277
+ var e = X.treeContext, t = e.overflow;
2278
+ e = e.id, e = (e & ~(1 << 32 - Gt(e) - 1)).toString(32) + t;
2279
+ var r = mn;
2280
+ if (r === null) throw Error(n(404));
2281
+ return t = en++, e = ":" + r.idPrefix + "R" + e, 0 < t && (e += "H" + t.toString(32)), e + ":";
2281
2282
  },
2282
2283
  useMutableSource: function(e, t) {
2283
2284
  return nn(), t(e._source);
2284
2285
  },
2285
- useSyncExternalStore: function(e, t, n) {
2286
- if (n === void 0) throw Error(r(407));
2287
- return n();
2286
+ useSyncExternalStore: function(e, t, r) {
2287
+ if (r === void 0) throw Error(n(407));
2288
+ return r();
2288
2289
  }
2289
- }, mn = null, hn = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
2290
+ }, mn = null, hn = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
2290
2291
  function gn(e) {
2291
2292
  return console.error(e), null;
2292
2293
  }
@@ -2313,7 +2314,7 @@ var M = {
2313
2314
  onShellReady: o === void 0 ? _n : o,
2314
2315
  onShellError: s === void 0 ? _n : s,
2315
2316
  onFatalError: c === void 0 ? _n : c
2316
- }, n = bn(t, 0, null, n, !1, !1), n.parentFlushed = !0, e = yn(t, e, null, n, u, Mt, null, Ht), l.push(e), t;
2317
+ }, n = bn(t, 0, null, n, !1, !1), n.parentFlushed = !0, e = yn(t, e, null, n, u, Mt, null, Ut), l.push(e), t;
2317
2318
  }
2318
2319
  function yn(e, t, n, r, i, a, o, s) {
2319
2320
  e.allPendingTasks++, n === null ? e.pendingRootTasks++ : n.pendingTasks++;
@@ -2355,17 +2356,17 @@ var M = {
2355
2356
  n(t), n = e.onFatalError, n(t), e.destination === null ? (e.status = 1, e.fatalError = t) : (e.status = 2, f(e.destination, t));
2356
2357
  }
2357
2358
  function Cn(e, t, n, r, i) {
2358
- for (X = {}, Xt = t, en = 0, e = n(r, i); $t;) $t = !1, en = 0, tn += 1, Z = null, e = n(r, i);
2359
+ for (Y = {}, X = t, en = 0, e = n(r, i); $t;) $t = !1, en = 0, tn += 1, Z = null, e = n(r, i);
2359
2360
  return on(), e;
2360
2361
  }
2361
- function wn(e, t, n, i) {
2362
- var a = n.render(), o = i.childContextTypes;
2362
+ function wn(e, t, r, i) {
2363
+ var a = r.render(), o = i.childContextTypes;
2363
2364
  if (o != null) {
2364
2365
  var s = t.legacyContext;
2365
- if (typeof n.getChildContext != "function") i = s;
2366
+ if (typeof r.getChildContext != "function") i = s;
2366
2367
  else {
2367
- for (var c in n = n.getChildContext(), n) if (!(c in o)) throw Error(r(108, jt(i) || "Unknown", c));
2368
- i = mt({}, s, n);
2368
+ for (var c in r = r.getChildContext(), r) if (!(c in o)) throw Error(n(108, jt(i) || "Unknown", c));
2369
+ i = mt({}, s, r);
2369
2370
  }
2370
2371
  t.legacyContext = i, $(e, t, a), t.legacyContext = s;
2371
2372
  } else $(e, t, a);
@@ -2377,17 +2378,17 @@ var M = {
2377
2378
  }
2378
2379
  return t;
2379
2380
  }
2380
- function En(e, t, n, i, a) {
2381
- if (typeof n == "function") if (n.prototype && n.prototype.isReactComponent) {
2382
- a = Nt(n, t.legacyContext);
2383
- var o = n.contextType;
2384
- o = new n(i, typeof o == "object" && o ? o._currentValue : a), Vt(o, n, i, a), wn(e, t, o, n);
2381
+ function En(e, t, r, i, a) {
2382
+ if (typeof r == "function") if (r.prototype && r.prototype.isReactComponent) {
2383
+ a = Nt(r, t.legacyContext);
2384
+ var o = r.contextType;
2385
+ o = new r(i, typeof o == "object" && o ? o._currentValue : a), Ht(o, r, i, a), wn(e, t, o, r);
2385
2386
  } else {
2386
- o = Nt(n, t.legacyContext), a = Cn(e, t, n, i, o);
2387
+ o = Nt(r, t.legacyContext), a = Cn(e, t, r, i, o);
2387
2388
  var s = en !== 0;
2388
- if (typeof a == "object" && a && typeof a.render == "function" && a.$$typeof === void 0) Vt(a, n, i, o), wn(e, t, a, n);
2389
+ if (typeof a == "object" && a && typeof a.render == "function" && a.$$typeof === void 0) Ht(a, r, i, o), wn(e, t, a, r);
2389
2390
  else if (s) {
2390
- i = t.treeContext, t.treeContext = Ut(i, 1, 0);
2391
+ i = t.treeContext, t.treeContext = Wt(i, 1, 0);
2391
2392
  try {
2392
2393
  $(e, t, a);
2393
2394
  } finally {
@@ -2395,8 +2396,8 @@ var M = {
2395
2396
  }
2396
2397
  } else $(e, t, a);
2397
2398
  }
2398
- else if (typeof n == "string") {
2399
- switch (a = t.blockedSegment, o = we(a.chunks, n, i, e.responseState, a.formatContext), a.lastPushedText = !1, s = a.formatContext, a.formatContext = j(s, n, i), On(e, t, o), a.formatContext = s, n) {
2399
+ else if (typeof r == "string") {
2400
+ switch (a = t.blockedSegment, o = Te(a.chunks, r, i, e.responseState, a.formatContext), a.lastPushedText = !1, s = a.formatContext, a.formatContext = A(s, r, i), On(e, t, o), a.formatContext = s, r) {
2400
2401
  case "area":
2401
2402
  case "base":
2402
2403
  case "br":
@@ -2412,25 +2413,25 @@ var M = {
2412
2413
  case "source":
2413
2414
  case "track":
2414
2415
  case "wbr": break;
2415
- default: a.chunks.push(z, u(n), Te);
2416
+ default: a.chunks.push(Ee, u(r), R);
2416
2417
  }
2417
2418
  a.lastPushedText = !1;
2418
2419
  } else {
2419
- switch (n) {
2420
+ switch (r) {
2420
2421
  case Ot:
2421
2422
  case Dt:
2422
2423
  case _t:
2423
2424
  case vt:
2424
- case gt:
2425
+ case J:
2425
2426
  $(e, t, i.children);
2426
2427
  return;
2427
2428
  case Ct:
2428
2429
  $(e, t, i.children);
2429
2430
  return;
2430
- case Et: throw Error(r(343));
2431
+ case Et: throw Error(n(343));
2431
2432
  case St:
2432
2433
  a: {
2433
- n = t.blockedBoundary, a = t.blockedSegment, o = i.fallback, i = i.children, s = /* @__PURE__ */ new Set();
2434
+ r = t.blockedBoundary, a = t.blockedSegment, o = i.fallback, i = i.children, s = /* @__PURE__ */ new Set();
2434
2435
  var c = {
2435
2436
  id: null,
2436
2437
  rootSegmentID: -1,
@@ -2446,84 +2447,84 @@ var M = {
2446
2447
  var d = bn(e, 0, null, a.formatContext, !1, !1);
2447
2448
  d.parentFlushed = !0, t.blockedBoundary = c, t.blockedSegment = d;
2448
2449
  try {
2449
- if (On(e, t, i), d.lastPushedText && d.textEmbedded && d.chunks.push(ce), d.status = 1, jn(c, d), c.pendingTasks === 0) break a;
2450
+ if (On(e, t, i), d.lastPushedText && d.textEmbedded && d.chunks.push(le), d.status = 1, jn(c, d), c.pendingTasks === 0) break a;
2450
2451
  } catch (t) {
2451
2452
  d.status = 4, c.forceClientRender = !0, c.errorDigest = xn(e, t);
2452
2453
  } finally {
2453
- t.blockedBoundary = n, t.blockedSegment = a;
2454
+ t.blockedBoundary = r, t.blockedSegment = a;
2454
2455
  }
2455
- t = yn(e, o, n, l, s, t.legacyContext, t.context, t.treeContext), e.pingedTasks.push(t);
2456
+ t = yn(e, o, r, l, s, t.legacyContext, t.context, t.treeContext), e.pingedTasks.push(t);
2456
2457
  }
2457
2458
  return;
2458
2459
  }
2459
- if (typeof n == "object" && n) switch (n.$$typeof) {
2460
+ if (typeof r == "object" && r) switch (r.$$typeof) {
2460
2461
  case xt:
2461
- if (i = Cn(e, t, n.render, i, a), en !== 0) {
2462
- n = t.treeContext, t.treeContext = Ut(n, 1, 0);
2462
+ if (i = Cn(e, t, r.render, i, a), en !== 0) {
2463
+ r = t.treeContext, t.treeContext = Wt(r, 1, 0);
2463
2464
  try {
2464
2465
  $(e, t, i);
2465
2466
  } finally {
2466
- t.treeContext = n;
2467
+ t.treeContext = r;
2467
2468
  }
2468
2469
  } else $(e, t, i);
2469
2470
  return;
2470
2471
  case wt:
2471
- n = n.type, i = Tn(n, i), En(e, t, n, i, a);
2472
+ r = r.type, i = Tn(r, i), En(e, t, r, i, a);
2472
2473
  return;
2473
2474
  case yt:
2474
- if (a = i.children, n = n._context, i = i.value, o = n._currentValue, n._currentValue = i, s = Y, Y = i = {
2475
+ if (a = i.children, r = r._context, i = i.value, o = r._currentValue, r._currentValue = i, s = Pt, Pt = i = {
2475
2476
  parent: s,
2476
2477
  depth: s === null ? 0 : s.depth + 1,
2477
- context: n,
2478
+ context: r,
2478
2479
  parentValue: o,
2479
2480
  value: i
2480
- }, t.context = i, $(e, t, a), e = Y, e === null) throw Error(r(403));
2481
- i = e.parentValue, e.context._currentValue = i === kt ? e.context._defaultValue : i, e = Y = e.parent, t.context = e;
2481
+ }, t.context = i, $(e, t, a), e = Pt, e === null) throw Error(n(403));
2482
+ i = e.parentValue, e.context._currentValue = i === kt ? e.context._defaultValue : i, e = Pt = e.parent, t.context = e;
2482
2483
  return;
2483
2484
  case bt:
2484
- i = i.children, i = i(n._currentValue), $(e, t, i);
2485
+ i = i.children, i = i(r._currentValue), $(e, t, i);
2485
2486
  return;
2486
2487
  case Tt:
2487
- a = n._init, n = a(n._payload), i = Tn(n, i), En(e, t, n, i, void 0);
2488
+ a = r._init, r = a(r._payload), i = Tn(r, i), En(e, t, r, i, void 0);
2488
2489
  return;
2489
2490
  }
2490
- throw Error(r(130, n == null ? n : typeof n, ""));
2491
+ throw Error(n(130, r == null ? r : typeof r, ""));
2491
2492
  }
2492
2493
  }
2493
- function $(e, t, n) {
2494
- if (t.node = n, typeof n == "object" && n) {
2495
- switch (n.$$typeof) {
2494
+ function $(e, t, r) {
2495
+ if (t.node = r, typeof r == "object" && r) {
2496
+ switch (r.$$typeof) {
2496
2497
  case ht:
2497
- En(e, t, n.type, n.props, n.ref);
2498
+ En(e, t, r.type, r.props, r.ref);
2498
2499
  return;
2499
- case J: throw Error(r(257));
2500
+ case gt: throw Error(n(257));
2500
2501
  case Tt:
2501
- var i = n._init;
2502
- n = i(n._payload), $(e, t, n);
2502
+ var i = r._init;
2503
+ r = i(r._payload), $(e, t, r);
2503
2504
  return;
2504
2505
  }
2505
- if (O(n)) {
2506
- Dn(e, t, n);
2506
+ if (E(r)) {
2507
+ Dn(e, t, r);
2507
2508
  return;
2508
2509
  }
2509
- if (typeof n != "object" || !n ? i = null : (i = At && n[At] || n["@@iterator"], i = typeof i == "function" ? i : null), i &&= i.call(n)) {
2510
- if (n = i.next(), !n.done) {
2510
+ if (typeof r != "object" || !r ? i = null : (i = At && r[At] || r["@@iterator"], i = typeof i == "function" ? i : null), i &&= i.call(r)) {
2511
+ if (r = i.next(), !r.done) {
2511
2512
  var a = [];
2512
2513
  do
2513
- a.push(n.value), n = i.next();
2514
- while (!n.done);
2514
+ a.push(r.value), r = i.next();
2515
+ while (!r.done);
2515
2516
  Dn(e, t, a);
2516
2517
  }
2517
2518
  return;
2518
2519
  }
2519
- throw e = Object.prototype.toString.call(n), Error(r(31, e === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : e));
2520
+ throw e = Object.prototype.toString.call(r), Error(n(31, e === "[object Object]" ? "object with keys {" + Object.keys(r).join(", ") + "}" : e));
2520
2521
  }
2521
- typeof n == "string" ? (i = t.blockedSegment, i.lastPushedText = le(t.blockedSegment.chunks, n, e.responseState, i.lastPushedText)) : typeof n == "number" && (i = t.blockedSegment, i.lastPushedText = le(t.blockedSegment.chunks, "" + n, e.responseState, i.lastPushedText));
2522
+ typeof r == "string" ? (i = t.blockedSegment, i.lastPushedText = ue(t.blockedSegment.chunks, r, e.responseState, i.lastPushedText)) : typeof r == "number" && (i = t.blockedSegment, i.lastPushedText = ue(t.blockedSegment.chunks, "" + r, e.responseState, i.lastPushedText));
2522
2523
  }
2523
2524
  function Dn(e, t, n) {
2524
2525
  for (var r = n.length, i = 0; i < r; i++) {
2525
2526
  var a = t.treeContext;
2526
- t.treeContext = Ut(a, r, i);
2527
+ t.treeContext = Wt(a, r, i);
2527
2528
  try {
2528
2529
  On(e, t, n[i]);
2529
2530
  } finally {
@@ -2539,18 +2540,18 @@ var M = {
2539
2540
  if (on(), typeof c == "object" && c && typeof c.then == "function") {
2540
2541
  n = c;
2541
2542
  var o = t.blockedSegment, s = bn(e, o.chunks.length, null, o.formatContext, o.lastPushedText, !0);
2542
- o.children.push(s), o.lastPushedText = !1, e = yn(e, t.node, t.blockedBoundary, s, t.abortSet, t.legacyContext, t.context, t.treeContext).ping, n.then(e, e), t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = a, zt(a);
2543
- } else throw t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = a, zt(a), c;
2543
+ o.children.push(s), o.lastPushedText = !1, e = yn(e, t.node, t.blockedBoundary, s, t.abortSet, t.legacyContext, t.context, t.treeContext).ping, n.then(e, e), t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = a, Bt(a);
2544
+ } else throw t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = a, Bt(a), c;
2544
2545
  }
2545
2546
  }
2546
2547
  function kn(e) {
2547
2548
  var t = e.blockedBoundary;
2548
2549
  e = e.blockedSegment, e.status = 3, Mn(this, t, e);
2549
2550
  }
2550
- function An(e, t, n) {
2551
+ function An(e, t, r) {
2551
2552
  var i = e.blockedBoundary;
2552
- e.blockedSegment.status = 3, i === null ? (t.allPendingTasks--, t.status !== 2 && (t.status = 2, t.destination !== null && t.destination.close())) : (i.pendingTasks--, i.forceClientRender || (i.forceClientRender = !0, e = n === void 0 ? Error(r(432)) : n, i.errorDigest = t.onError(e), i.parentFlushed && t.clientRenderedBoundaries.push(i)), i.fallbackAbortableTasks.forEach(function(e) {
2553
- return An(e, t, n);
2553
+ e.blockedSegment.status = 3, i === null ? (t.allPendingTasks--, t.status !== 2 && (t.status = 2, t.destination !== null && t.destination.close())) : (i.pendingTasks--, i.forceClientRender || (i.forceClientRender = !0, e = r === void 0 ? Error(n(432)) : r, i.errorDigest = t.onError(e), i.parentFlushed && t.clientRenderedBoundaries.push(i)), i.fallbackAbortableTasks.forEach(function(e) {
2554
+ return An(e, t, r);
2554
2555
  }), i.fallbackAbortableTasks.clear(), t.allPendingTasks--, t.allPendingTasks === 0 && (i = t.onAllReady, i()));
2555
2556
  }
2556
2557
  function jn(e, t) {
@@ -2559,19 +2560,19 @@ var M = {
2559
2560
  n.id = t.id, n.parentFlushed = !0, n.status === 1 && jn(e, n);
2560
2561
  } else e.completedSegments.push(t);
2561
2562
  }
2562
- function Mn(e, t, n) {
2563
+ function Mn(e, t, r) {
2563
2564
  if (t === null) {
2564
- if (n.parentFlushed) {
2565
- if (e.completedRootSegment !== null) throw Error(r(389));
2566
- e.completedRootSegment = n;
2565
+ if (r.parentFlushed) {
2566
+ if (e.completedRootSegment !== null) throw Error(n(389));
2567
+ e.completedRootSegment = r;
2567
2568
  }
2568
2569
  e.pendingRootTasks--, e.pendingRootTasks === 0 && (e.onShellError = _n, t = e.onShellReady, t());
2569
- } else t.pendingTasks--, t.forceClientRender || (t.pendingTasks === 0 ? (n.parentFlushed && n.status === 1 && jn(t, n), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(kn, e), t.fallbackAbortableTasks.clear()) : n.parentFlushed && n.status === 1 && (jn(t, n), t.completedSegments.length === 1 && t.parentFlushed && e.partialBoundaries.push(t)));
2570
+ } else t.pendingTasks--, t.forceClientRender || (t.pendingTasks === 0 ? (r.parentFlushed && r.status === 1 && jn(t, r), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(kn, e), t.fallbackAbortableTasks.clear()) : r.parentFlushed && r.status === 1 && (jn(t, r), t.completedSegments.length === 1 && t.parentFlushed && e.partialBoundaries.push(t)));
2570
2571
  e.allPendingTasks--, e.allPendingTasks === 0 && (e = e.onAllReady, e());
2571
2572
  }
2572
2573
  function Nn(e) {
2573
2574
  if (e.status !== 2) {
2574
- var t = Y, n = hn.current;
2575
+ var t = Pt, n = hn.current;
2575
2576
  hn.current = pn;
2576
2577
  var r = mn;
2577
2578
  mn = e.responseState;
@@ -2580,9 +2581,9 @@ var M = {
2580
2581
  for (a = 0; a < i.length; a++) {
2581
2582
  var o = i[a], s = e, c = o.blockedSegment;
2582
2583
  if (c.status === 0) {
2583
- zt(o.context);
2584
+ Bt(o.context);
2584
2585
  try {
2585
- $(s, o, o.node), c.lastPushedText && c.textEmbedded && c.chunks.push(ce), o.abortSet.delete(o), c.status = 1, Mn(s, o.blockedBoundary, c);
2586
+ $(s, o, o.node), c.lastPushedText && c.textEmbedded && c.chunks.push(le), o.abortSet.delete(o), c.status = 1, Mn(s, o.blockedBoundary, c);
2586
2587
  } catch (e) {
2587
2588
  if (on(), typeof e == "object" && e && typeof e.then == "function") {
2588
2589
  var l = o.ping;
@@ -2602,79 +2603,79 @@ var M = {
2602
2603
  } catch (t) {
2603
2604
  xn(e, t), Sn(e, t);
2604
2605
  } finally {
2605
- mn = r, hn.current = n, n === pn && zt(t);
2606
+ mn = r, hn.current = n, n === pn && Bt(t);
2606
2607
  }
2607
2608
  }
2608
2609
  }
2609
- function Pn(e, t, n) {
2610
- switch (n.parentFlushed = !0, n.status) {
2610
+ function Pn(e, t, r) {
2611
+ switch (r.parentFlushed = !0, r.status) {
2611
2612
  case 0:
2612
- var i = n.id = e.nextSegmentId++;
2613
- return n.lastPushedText = !1, n.textEmbedded = !1, e = e.responseState, o(t, Ee), o(t, e.placeholderPrefix), e = u(i.toString(16)), o(t, e), s(t, De);
2613
+ var i = r.id = e.nextSegmentId++;
2614
+ return r.lastPushedText = !1, r.textEmbedded = !1, e = e.responseState, o(t, z), o(t, e.placeholderPrefix), e = u(i.toString(16)), o(t, e), s(t, De);
2614
2615
  case 1:
2615
- n.status = 2;
2616
+ r.status = 2;
2616
2617
  var a = !0;
2617
- i = n.chunks;
2618
+ i = r.chunks;
2618
2619
  var c = 0;
2619
- n = n.children;
2620
- for (var l = 0; l < n.length; l++) {
2621
- for (a = n[l]; c < a.index; c++) o(t, i[c]);
2620
+ r = r.children;
2621
+ for (var l = 0; l < r.length; l++) {
2622
+ for (a = r[l]; c < a.index; c++) o(t, i[c]);
2622
2623
  a = Fn(e, t, a);
2623
2624
  }
2624
2625
  for (; c < i.length - 1; c++) o(t, i[c]);
2625
2626
  return c < i.length && (a = s(t, i[c])), a;
2626
- default: throw Error(r(390));
2627
+ default: throw Error(n(390));
2627
2628
  }
2628
2629
  }
2629
- function Fn(e, t, n) {
2630
- var i = n.boundary;
2631
- if (i === null) return Pn(e, t, n);
2632
- if (i.parentFlushed = !0, i.forceClientRender) i = i.errorDigest, s(t, B), o(t, Me), i && (o(t, Pe), o(t, u(T(i))), o(t, Ne)), s(t, Fe), Pn(e, t, n);
2630
+ function Fn(e, t, r) {
2631
+ var i = r.boundary;
2632
+ if (i === null) return Pn(e, t, r);
2633
+ if (i.parentFlushed = !0, i.forceClientRender) i = i.errorDigest, s(t, je), o(t, Ne), i && (o(t, Fe), o(t, u(w(i))), o(t, Pe)), s(t, Ie), Pn(e, t, r);
2633
2634
  else if (0 < i.pendingTasks) {
2634
2635
  i.rootSegmentID = e.nextSegmentId++, 0 < i.completedSegments.length && e.partialBoundaries.push(i);
2635
2636
  var a = e.responseState, c = a.nextSuspenseID++;
2636
- a = d(a.boundaryPrefix + c.toString(16)), i = i.id = a, V(t, e.responseState, i), Pn(e, t, n);
2637
- } else if (i.byteSize > e.progressiveChunkSize) i.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(i), V(t, e.responseState, i.id), Pn(e, t, n);
2637
+ a = d(a.boundaryPrefix + c.toString(16)), i = i.id = a, B(t, e.responseState, i), Pn(e, t, r);
2638
+ } else if (i.byteSize > e.progressiveChunkSize) i.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(i), B(t, e.responseState, i.id), Pn(e, t, r);
2638
2639
  else {
2639
- if (s(t, Oe), n = i.completedSegments, n.length !== 1) throw Error(r(391));
2640
- Fn(e, t, n[0]);
2640
+ if (s(t, Oe), r = i.completedSegments, r.length !== 1) throw Error(n(391));
2641
+ Fn(e, t, r[0]);
2641
2642
  }
2642
- return s(t, je);
2643
+ return s(t, Me);
2643
2644
  }
2644
2645
  function In(e, t, n) {
2645
- return Qe(t, e.responseState, n.formatContext, n.id), Fn(e, t, n), $e(t, n.formatContext);
2646
+ return $e(t, e.responseState, n.formatContext, n.id), Fn(e, t, n), et(t, n.formatContext);
2646
2647
  }
2647
- function Ln(e, t, n) {
2648
- for (var i = n.completedSegments, a = 0; a < i.length; a++) Rn(e, t, n, i[a]);
2649
- if (i.length = 0, e = e.responseState, i = n.id, n = n.rootSegmentID, o(t, e.startInlineScript), e.sentCompleteBoundaryFunction ? o(t, at) : (e.sentCompleteBoundaryFunction = !0, o(t, it)), i === null) throw Error(r(395));
2650
- return n = u(n.toString(16)), o(t, i), o(t, ot), o(t, e.segmentPrefix), o(t, n), s(t, st);
2648
+ function Ln(e, t, r) {
2649
+ for (var i = r.completedSegments, a = 0; a < i.length; a++) Rn(e, t, r, i[a]);
2650
+ if (i.length = 0, e = e.responseState, i = r.id, r = r.rootSegmentID, o(t, e.startInlineScript), e.sentCompleteBoundaryFunction ? o(t, ot) : (e.sentCompleteBoundaryFunction = !0, o(t, at)), i === null) throw Error(n(395));
2651
+ return r = u(r.toString(16)), o(t, i), o(t, st), o(t, e.segmentPrefix), o(t, r), s(t, ct);
2651
2652
  }
2652
- function Rn(e, t, n, i) {
2653
+ function Rn(e, t, r, i) {
2653
2654
  if (i.status === 2) return !0;
2654
2655
  var a = i.id;
2655
2656
  if (a === -1) {
2656
- if ((i.id = n.rootSegmentID) === -1) throw Error(r(392));
2657
+ if ((i.id = r.rootSegmentID) === -1) throw Error(n(392));
2657
2658
  return In(e, t, i);
2658
2659
  }
2659
- return In(e, t, i), e = e.responseState, o(t, e.startInlineScript), e.sentCompleteSegmentFunction ? o(t, tt) : (e.sentCompleteSegmentFunction = !0, o(t, et)), o(t, e.segmentPrefix), a = u(a.toString(16)), o(t, a), o(t, nt), o(t, e.placeholderPrefix), o(t, a), s(t, rt);
2660
+ return In(e, t, i), e = e.responseState, o(t, e.startInlineScript), e.sentCompleteSegmentFunction ? o(t, nt) : (e.sentCompleteSegmentFunction = !0, o(t, tt)), o(t, e.segmentPrefix), a = u(a.toString(16)), o(t, a), o(t, rt), o(t, e.placeholderPrefix), o(t, a), s(t, it);
2660
2661
  }
2661
2662
  function zn(e, t) {
2662
- i = new Uint8Array(512), a = 0;
2663
+ r = /* @__PURE__ */ new Uint8Array(512), i = 0;
2663
2664
  try {
2664
- var n = e.completedRootSegment;
2665
- if (n !== null && e.pendingRootTasks === 0) {
2666
- Fn(e, t, n), e.completedRootSegment = null;
2665
+ var a = e.completedRootSegment;
2666
+ if (a !== null && e.pendingRootTasks === 0) {
2667
+ Fn(e, t, a), e.completedRootSegment = null;
2667
2668
  var l = e.responseState.bootstrapChunks;
2668
- for (n = 0; n < l.length - 1; n++) o(t, l[n]);
2669
- n < l.length && s(t, l[n]);
2669
+ for (a = 0; a < l.length - 1; a++) o(t, l[a]);
2670
+ a < l.length && s(t, l[a]);
2670
2671
  }
2671
2672
  var d = e.clientRenderedBoundaries, f;
2672
2673
  for (f = 0; f < d.length; f++) {
2673
2674
  var p = d[f];
2674
2675
  l = t;
2675
2676
  var m = e.responseState, h = p.id, g = p.errorDigest, _ = p.errorMessage, v = p.errorComponentStack;
2676
- if (o(l, m.startInlineScript), m.sentClientRenderFunction ? o(l, q) : (m.sentClientRenderFunction = !0, o(l, ct)), h === null) throw Error(r(395));
2677
- if (o(l, h), o(l, lt), (g || _ || v) && (o(l, dt), o(l, u(pt(g || "")))), (_ || v) && (o(l, dt), o(l, u(pt(_ || "")))), v && (o(l, dt), o(l, u(pt(v)))), !s(l, ut)) {
2677
+ if (o(l, m.startInlineScript), m.sentClientRenderFunction ? o(l, K) : (m.sentClientRenderFunction = !0, o(l, lt)), h === null) throw Error(n(395));
2678
+ if (o(l, h), o(l, ut), (g || _ || v) && (o(l, ft), o(l, u(q(g || "")))), (_ || v) && (o(l, ft), o(l, u(q(_ || "")))), v && (o(l, ft), o(l, u(q(v)))), !s(l, dt)) {
2678
2679
  e.destination = null, f++, d.splice(0, f);
2679
2680
  return;
2680
2681
  }
@@ -2685,7 +2686,7 @@ var M = {
2685
2686
  e.destination = null, f++, y.splice(0, f);
2686
2687
  return;
2687
2688
  }
2688
- y.splice(0, f), c(t), i = new Uint8Array(512), a = 0;
2689
+ y.splice(0, f), c(t), r = /* @__PURE__ */ new Uint8Array(512), i = 0;
2689
2690
  var b = e.partialBoundaries;
2690
2691
  for (f = 0; f < b.length; f++) {
2691
2692
  var x = b[f];
@@ -2694,23 +2695,23 @@ var M = {
2694
2695
  var S = x.completedSegments;
2695
2696
  for (m = 0; m < S.length; m++) if (!Rn(d, p, x, S[m])) {
2696
2697
  m++, S.splice(0, m);
2697
- var C = !1;
2698
+ var ee = !1;
2698
2699
  break a;
2699
2700
  }
2700
- S.splice(0, m), C = !0;
2701
+ S.splice(0, m), ee = !0;
2701
2702
  }
2702
- if (!C) {
2703
+ if (!ee) {
2703
2704
  e.destination = null, f++, b.splice(0, f);
2704
2705
  return;
2705
2706
  }
2706
2707
  }
2707
2708
  b.splice(0, f);
2708
- var w = e.completedBoundaries;
2709
- for (f = 0; f < w.length; f++) if (!Ln(e, t, w[f])) {
2710
- e.destination = null, f++, w.splice(0, f);
2709
+ var C = e.completedBoundaries;
2710
+ for (f = 0; f < C.length; f++) if (!Ln(e, t, C[f])) {
2711
+ e.destination = null, f++, C.splice(0, f);
2711
2712
  return;
2712
2713
  }
2713
- w.splice(0, f);
2714
+ C.splice(0, f);
2714
2715
  } finally {
2715
2716
  c(t), e.allPendingTasks === 0 && e.pingedTasks.length === 0 && e.clientRenderedBoundaries.length === 0 && e.completedBoundaries.length === 0 && t.close();
2716
2717
  }
@@ -2725,11 +2726,11 @@ var M = {
2725
2726
  xn(e, t), Sn(e, t);
2726
2727
  }
2727
2728
  }
2728
- t.renderToReadableStream = function(e, t) {
2729
+ e.renderToReadableStream = function(e, t) {
2729
2730
  return new Promise(function(n, r) {
2730
2731
  var i, a, o = new Promise(function(e, t) {
2731
2732
  a = e, i = t;
2732
- }), s = vn(e, oe(t ? t.identifierPrefix : void 0, t ? t.nonce : void 0, t ? t.bootstrapScriptContent : void 0, t ? t.bootstrapScripts : void 0, t ? t.bootstrapModules : void 0), se(t ? t.namespaceURI : void 0), t ? t.progressiveChunkSize : void 0, t ? t.onError : void 0, a, function() {
2733
+ }), s = vn(e, se(t ? t.identifierPrefix : void 0, t ? t.nonce : void 0, t ? t.bootstrapScriptContent : void 0, t ? t.bootstrapScripts : void 0, t ? t.bootstrapModules : void 0), ce(t ? t.namespaceURI : void 0), t ? t.progressiveChunkSize : void 0, t ? t.onError : void 0, a, function() {
2733
2734
  var e = new ReadableStream({
2734
2735
  type: "bytes",
2735
2736
  pull: function(e) {
@@ -2759,21 +2760,21 @@ var M = {
2759
2760
  }
2760
2761
  Nn(s);
2761
2762
  });
2762
- }, t.version = "18.3.1";
2763
- })), F = /* @__PURE__ */ r(((e) => {
2764
- var t = P(), n = he();
2763
+ }, e.version = "18.3.1";
2764
+ })), F = /* @__PURE__ */ e(((e) => {
2765
+ var t = ge(), n = P();
2765
2766
  e.version = t.version, e.renderToString = t.renderToString, e.renderToStaticMarkup = t.renderToStaticMarkup, e.renderToNodeStream = t.renderToNodeStream, e.renderToStaticNodeStream = t.renderToStaticNodeStream, e.renderToReadableStream = n.renderToReadableStream;
2766
- })), I = /* @__PURE__ */ n(t(), 1), ge = F(), _e = (0, I.default)("@pie-lib:text-select:token-select"), ve = a("div")(() => ({
2767
+ })), _e = /* @__PURE__ */ t(n(), 1), ve = F(), ye = (0, _e.default)("@pie-lib:text-select:token-select"), be = h("div")(() => ({
2767
2768
  backgroundColor: "none",
2768
2769
  whiteSpace: "pre",
2769
- ...h(),
2770
+ ...y(),
2770
2771
  "& p": { whiteSpace: "break-spaces" }
2771
- })), ye = a("div")(() => ({
2772
+ })), xe = h("div")(() => ({
2772
2773
  display: "none",
2773
2774
  position: "absolute",
2774
2775
  visibility: "hidden",
2775
2776
  pointerEvents: "none"
2776
- })), be = (e = "") => e.replace(/&nbsp;/gi, "\xA0"), xe = (e = "") => be(e).replace(/<\/p>\s*<p[^>]*>/gi, "\n\n").replace(/<br\s*\/?>/gi, "\n").replace(/<\/?(table|tbody|tr|td|p)[^>]*>/gi, ""), Se = class extends C.Component {
2777
+ })), Se = (e = "") => e.replace(/&nbsp;/gi, "\xA0"), Ce = (e = "") => Se(e).replace(/<\/p>\s*<p[^>]*>/gi, "\n\n").replace(/<br\s*\/?>/gi, "\n").replace(/<\/?(table|tbody|tr|td|p)[^>]*>/gi, ""), I = class extends C.Component {
2777
2778
  static propTypes = {
2778
2779
  tokens: O.default.arrayOf(O.default.shape(M)).isRequired,
2779
2780
  className: O.default.string,
@@ -2791,34 +2792,34 @@ var M = {
2791
2792
  selectedCount = () => this.props.tokens.filter((e) => e.selected).length;
2792
2793
  canSelectMore = (e) => {
2793
2794
  let { maxNoOfSelections: t } = this.props;
2794
- return t === 1 ? !0 : (_e("[canSelectMore] maxNoOfSelections: ", t, "selectedCount: ", e), t <= 0 || isFinite(t) && e < t);
2795
+ return t === 1 ? !0 : (ye("[canSelectMore] maxNoOfSelections: ", t, "selectedCount: ", e), t <= 0 || isFinite(t) && e < t);
2795
2796
  };
2796
2797
  toggleToken = (e) => {
2797
- let { target: t } = e, { tokens: n, animationsDisabled: r } = this.props, i = v(n), a = (t.closest?.(`.${N.rootClassName}`))?.dataset?.indexkey, o = a === void 0 ? void 0 : i[a];
2798
- if (o && o.correct === void 0 && !r && !o.isMissing) {
2799
- let { onChange: e, maxNoOfSelections: t } = this.props, r = !o.selected;
2798
+ let { target: t } = e, { tokens: n, animationsDisabled: a } = this.props, o = r(n), s = (t.closest?.(`.${N.rootClassName}`))?.dataset?.indexkey, c = s === void 0 ? void 0 : o[s];
2799
+ if (c && c.correct === void 0 && !a && !c.isMissing) {
2800
+ let { onChange: e, maxNoOfSelections: t } = this.props, r = !c.selected;
2800
2801
  if (t === 1 && this.selectedCount() === 1) {
2801
- let t = (n || []).filter((e) => e.selected), s = i.map((e) => p(e, t[0]) ? {
2802
+ let t = (n || []).filter((e) => e.selected), a = o.map((e) => i(e, t[0]) ? {
2802
2803
  ...e,
2803
2804
  selected: !1
2804
2805
  } : {
2805
2806
  ...e,
2806
2807
  selectable: !0
2807
- }), c = {
2808
- ...o,
2808
+ }), l = {
2809
+ ...c,
2809
2810
  selected: r
2810
2811
  };
2811
- s.splice(a, 1, c), e(s);
2812
+ a.splice(s, 1, l), e(a);
2812
2813
  } else {
2813
2814
  if (r && t > 0 && this.selectedCount() >= t) {
2814
- _e("skip toggle max reached");
2815
+ ye("skip toggle max reached");
2815
2816
  return;
2816
2817
  }
2817
2818
  let n = {
2818
- ...o,
2819
+ ...c,
2819
2820
  selected: r
2820
2821
  };
2821
- i.splice(a, 1, n), e(i);
2822
+ o.splice(s, 1, n), e(o);
2822
2823
  }
2823
2824
  }
2824
2825
  };
@@ -2826,20 +2827,20 @@ var M = {
2826
2827
  let { tokens: e, disabled: t, highlightChoices: n, animationsDisabled: r } = this.props, i = this.selectedCount();
2827
2828
  return (e || []).reduce((e, a, o) => {
2828
2829
  let s = a.selected || a.selectable && this.canSelectMore(i), c = a.correct !== void 0 && (a.selectable || a.selected);
2829
- return a.text === "\n\n" ? `${e}</p><p>` : a.text === "\n" ? `${e}<br>` : s && !t || c || a.selected || a.isMissing || r && a.predefined ? e + (0, ge.renderToString)(/* @__PURE__ */ E(N, {
2830
+ return a.text === "\n\n" ? `${e}</p><p>` : a.text === "\n" ? `${e}<br>` : s && !t || c || a.selected || a.isMissing || r && a.predefined ? e + (0, ve.renderToString)(/* @__PURE__ */ E(N, {
2830
2831
  disabled: t,
2831
2832
  index: o,
2832
2833
  ...a,
2833
- text: xe(a.text),
2834
+ text: Ce(a.text),
2834
2835
  selectable: s,
2835
2836
  highlight: n,
2836
2837
  animationsDisabled: r
2837
- }, o)) : e + be(a.text);
2838
+ }, o)) : e + Se(a.text);
2838
2839
  }, "<p>") + "</p>";
2839
2840
  };
2840
2841
  render() {
2841
2842
  let { className: e } = this.props, t = this.generateTokensInHtml();
2842
- return /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ D(ye, {
2843
+ return /* @__PURE__ */ D(te, { children: [/* @__PURE__ */ D(xe, {
2843
2844
  "aria-hidden": "true",
2844
2845
  children: [
2845
2846
  /* @__PURE__ */ E(N, {
@@ -2914,13 +2915,13 @@ var M = {
2914
2915
  animationsDisabled: !1
2915
2916
  })
2916
2917
  ]
2917
- }), /* @__PURE__ */ E(ve, {
2918
+ }), /* @__PURE__ */ E(be, {
2918
2919
  className: e,
2919
2920
  onClick: this.toggleToken,
2920
2921
  dangerouslySetInnerHTML: { __html: t }
2921
2922
  })] });
2922
2923
  }
2923
- }, L = (0, I.default)("@pie-lib:text-select"), R = class extends C.Component {
2924
+ }, L = (0, _e.default)("@pie-lib:text-select"), we = class extends C.Component {
2924
2925
  static propTypes = {
2925
2926
  onChange: O.default.func,
2926
2927
  disabled: O.default.bool,
@@ -2940,7 +2941,7 @@ var M = {
2940
2941
  })));
2941
2942
  };
2942
2943
  render() {
2943
- let { text: e, disabled: t, tokens: n, selectedTokens: r, className: i, highlightChoices: a, maxNoOfSelections: o, animationsDisabled: s } = this.props, c = g(e, n);
2944
+ let { text: e, disabled: t, tokens: n, selectedTokens: r, className: i, highlightChoices: a, maxNoOfSelections: o, animationsDisabled: s } = this.props, c = b(e, n);
2944
2945
  L("normalized: ", c);
2945
2946
  let l = c.map((e) => {
2946
2947
  let n = r.findIndex((t) => t.start === e.start && t.end === e.end) !== -1, i = n ? e.correct : void 0, a = e.isMissing;
@@ -2952,7 +2953,7 @@ var M = {
2952
2953
  isMissing: a
2953
2954
  };
2954
2955
  });
2955
- return /* @__PURE__ */ E(Se, {
2956
+ return /* @__PURE__ */ E(I, {
2956
2957
  highlightChoices: !t && a,
2957
2958
  className: i,
2958
2959
  tokens: l,
@@ -2962,7 +2963,7 @@ var M = {
2962
2963
  animationsDisabled: s
2963
2964
  });
2964
2965
  }
2965
- }, Ce = {
2966
+ }, Te = {
2966
2967
  translation: {
2967
2968
  categorize: {
2968
2969
  limitMaxChoicesPerCategory: "You've reached the limit of {{maxChoicesPerCategory}} responses per area. To add another response, one must first be removed.",
@@ -3051,7 +3052,7 @@ var M = {
3051
3052
  hideNote: "Hide Note",
3052
3053
  cancel: "Cancel"
3053
3054
  }
3054
- }, we = {
3055
+ }, Ee = {
3055
3056
  translation: {
3056
3057
  categorize: {
3057
3058
  limitMaxChoicesPerCategory: "Has alcanzado el límite de {{maxChoicesPerCategory}} respuestas por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.",
@@ -3140,55 +3141,55 @@ var M = {
3140
3141
  hideNote: "Ocultar Nota",
3141
3142
  cancel: "Cancelar"
3142
3143
  }
3143
- }, z = (e) => typeof e == "string", Te = () => {
3144
+ }, R = (e) => typeof e == "string", z = () => {
3144
3145
  let e, t, n = new Promise((n, r) => {
3145
3146
  e = n, t = r;
3146
3147
  });
3147
3148
  return n.resolve = e, n.reject = t, n;
3148
- }, Ee = (e) => e == null ? "" : "" + e, De = (e, t, n) => {
3149
+ }, De = (e) => e == null ? "" : "" + e, Oe = (e, t, n) => {
3149
3150
  e.forEach((e) => {
3150
3151
  t[e] && (n[e] = t[e]);
3151
3152
  });
3152
- }, Oe = /###/g, ke = (e) => e && e.indexOf("###") > -1 ? e.replace(Oe, ".") : e, Ae = (e) => !e || z(e), B = (e, t, n) => {
3153
- let r = z(t) ? t.split(".") : t, i = 0;
3153
+ }, ke = /###/g, Ae = (e) => e && e.indexOf("###") > -1 ? e.replace(ke, ".") : e, je = (e) => !e || R(e), Me = (e, t, n) => {
3154
+ let r = R(t) ? t.split(".") : t, i = 0;
3154
3155
  for (; i < r.length - 1;) {
3155
- if (Ae(e)) return {};
3156
- let t = ke(r[i]);
3156
+ if (je(e)) return {};
3157
+ let t = Ae(r[i]);
3157
3158
  !e[t] && n && (e[t] = new n()), e = Object.prototype.hasOwnProperty.call(e, t) ? e[t] : {}, ++i;
3158
3159
  }
3159
- return Ae(e) ? {} : {
3160
+ return je(e) ? {} : {
3160
3161
  obj: e,
3161
- k: ke(r[i])
3162
+ k: Ae(r[i])
3162
3163
  };
3163
- }, je = (e, t, n) => {
3164
- let { obj: r, k: i } = B(e, t, Object);
3164
+ }, Ne = (e, t, n) => {
3165
+ let { obj: r, k: i } = Me(e, t, Object);
3165
3166
  if (r !== void 0 || t.length === 1) {
3166
3167
  r[i] = n;
3167
3168
  return;
3168
3169
  }
3169
- let a = t[t.length - 1], o = t.slice(0, t.length - 1), s = B(e, o, Object);
3170
- for (; s.obj === void 0 && o.length;) a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), s = B(e, o, Object), s?.obj && s.obj[`${s.k}.${a}`] !== void 0 && (s.obj = void 0);
3170
+ let a = t[t.length - 1], o = t.slice(0, t.length - 1), s = Me(e, o, Object);
3171
+ for (; s.obj === void 0 && o.length;) a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), s = Me(e, o, Object), s?.obj && s.obj[`${s.k}.${a}`] !== void 0 && (s.obj = void 0);
3171
3172
  s.obj[`${s.k}.${a}`] = n;
3172
- }, Me = (e, t, n, r) => {
3173
- let { obj: i, k: a } = B(e, t, Object);
3173
+ }, Pe = (e, t, n, r) => {
3174
+ let { obj: i, k: a } = Me(e, t, Object);
3174
3175
  i[a] = i[a] || [], i[a].push(n);
3175
- }, Ne = (e, t) => {
3176
- let { obj: n, k: r } = B(e, t);
3176
+ }, Fe = (e, t) => {
3177
+ let { obj: n, k: r } = Me(e, t);
3177
3178
  if (n && Object.prototype.hasOwnProperty.call(n, r)) return n[r];
3178
- }, Pe = (e, t, n) => {
3179
- let r = Ne(e, n);
3180
- return r === void 0 ? Ne(t, n) : r;
3181
- }, Fe = (e, t, n) => {
3182
- for (let r in t) r !== "__proto__" && r !== "constructor" && (r in e ? z(e[r]) || e[r] instanceof String || z(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : Fe(e[r], t[r], n) : e[r] = t[r]);
3179
+ }, Ie = (e, t, n) => {
3180
+ let r = Fe(e, n);
3181
+ return r === void 0 ? Fe(t, n) : r;
3182
+ }, B = (e, t, n) => {
3183
+ for (let r in t) r !== "__proto__" && r !== "constructor" && (r in e ? R(e[r]) || e[r] instanceof String || R(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : B(e[r], t[r], n) : e[r] = t[r]);
3183
3184
  return e;
3184
- }, V = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), Ie = {
3185
+ }, V = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), Le = {
3185
3186
  "&": "&amp;",
3186
3187
  "<": "&lt;",
3187
3188
  ">": "&gt;",
3188
3189
  "\"": "&quot;",
3189
3190
  "'": "&#39;",
3190
3191
  "/": "&#x2F;"
3191
- }, Le = (e) => z(e) ? e.replace(/[&<>"'\/]/g, (e) => Ie[e]) : e, H = class {
3192
+ }, H = (e) => R(e) ? e.replace(/[&<>"'\/]/g, (e) => Le[e]) : e, Re = class {
3192
3193
  constructor(e) {
3193
3194
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
3194
3195
  }
@@ -3198,23 +3199,23 @@ var M = {
3198
3199
  let n = new RegExp(e);
3199
3200
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, n), this.regExpQueue.push(e), n;
3200
3201
  }
3201
- }, Re = [
3202
+ }, ze = [
3202
3203
  " ",
3203
3204
  ",",
3204
3205
  "?",
3205
3206
  "!",
3206
3207
  ";"
3207
- ], ze = new H(20), Be = (e, t, n) => {
3208
+ ], Be = new Re(20), U = (e, t, n) => {
3208
3209
  t ||= "", n ||= "";
3209
- let r = Re.filter((e) => t.indexOf(e) < 0 && n.indexOf(e) < 0);
3210
+ let r = ze.filter((e) => t.indexOf(e) < 0 && n.indexOf(e) < 0);
3210
3211
  if (r.length === 0) return !0;
3211
- let i = ze.getRegExp(`(${r.map((e) => e === "?" ? "\\?" : e).join("|")})`), a = !i.test(e);
3212
+ let i = Be.getRegExp(`(${r.map((e) => e === "?" ? "\\?" : e).join("|")})`), a = !i.test(e);
3212
3213
  if (!a) {
3213
3214
  let t = e.indexOf(n);
3214
3215
  t > 0 && !i.test(e.substring(0, t)) && (a = !0);
3215
3216
  }
3216
3217
  return a;
3217
- }, U = (e, t, n = ".") => {
3218
+ }, Ve = (e, t, n = ".") => {
3218
3219
  if (!e) return;
3219
3220
  if (e[t]) return Object.prototype.hasOwnProperty.call(e, t) ? e[t] : void 0;
3220
3221
  let r = t.split(n), i = e;
@@ -3233,7 +3234,7 @@ var M = {
3233
3234
  i = t;
3234
3235
  }
3235
3236
  return i;
3236
- }, W = (e) => e?.replace(/_/g, "-"), G = {
3237
+ }, W = (e) => e?.replace(/_/g, "-"), He = {
3237
3238
  type: "logger",
3238
3239
  log(e) {
3239
3240
  this.output("log", e);
@@ -3247,12 +3248,12 @@ var M = {
3247
3248
  output(e, t) {
3248
3249
  console?.[e]?.apply?.(console, t);
3249
3250
  }
3250
- }, K = new class e {
3251
+ }, G = new class e {
3251
3252
  constructor(e, t = {}) {
3252
3253
  this.init(e, t);
3253
3254
  }
3254
3255
  init(e, t = {}) {
3255
- this.prefix = t.prefix || "i18next:", this.logger = e || G, this.options = t, this.debug = t.debug;
3256
+ this.prefix = t.prefix || "i18next:", this.logger = e || He, this.options = t, this.debug = t.debug;
3256
3257
  }
3257
3258
  log(...e) {
3258
3259
  return this.forward(e, "log", "", !0);
@@ -3267,7 +3268,7 @@ var M = {
3267
3268
  return this.forward(e, "warn", "WARNING DEPRECATED: ", !0);
3268
3269
  }
3269
3270
  forward(e, t, n, r) {
3270
- return r && !this.debug ? null : (z(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
3271
+ return r && !this.debug ? null : (R(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
3271
3272
  }
3272
3273
  create(t) {
3273
3274
  return new e(this.logger, {
@@ -3278,7 +3279,7 @@ var M = {
3278
3279
  clone(t) {
3279
3280
  return t ||= this.options, t.prefix = t.prefix || this.prefix, new e(this.logger, t);
3280
3281
  }
3281
- }(), Ve = class {
3282
+ }(), Ue = class {
3282
3283
  constructor() {
3283
3284
  this.observers = {};
3284
3285
  }
@@ -3305,7 +3306,7 @@ var M = {
3305
3306
  for (let i = 0; i < r; i++) n.apply(n, [e, ...t]);
3306
3307
  });
3307
3308
  }
3308
- }, He = class extends Ve {
3309
+ }, We = class extends Ue {
3309
3310
  constructor(e, t = {
3310
3311
  ns: ["translation"],
3311
3312
  defaultNS: "translation"
@@ -3321,16 +3322,16 @@ var M = {
3321
3322
  }
3322
3323
  getResource(e, t, n, r = {}) {
3323
3324
  let i = r.keySeparator === void 0 ? this.options.keySeparator : r.keySeparator, a = r.ignoreJSONStructure === void 0 ? this.options.ignoreJSONStructure : r.ignoreJSONStructure, o;
3324
- e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) : z(n) && i ? o.push(...n.split(i)) : o.push(n)));
3325
- let s = Ne(this.data, o);
3326
- return !s && !t && !n && e.indexOf(".") > -1 && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !z(n) ? s : U(this.data?.[e]?.[t], n, i);
3325
+ e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) : R(n) && i ? o.push(...n.split(i)) : o.push(n)));
3326
+ let s = Fe(this.data, o);
3327
+ return !s && !t && !n && e.indexOf(".") > -1 && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !R(n) ? s : Ve(this.data?.[e]?.[t], n, i);
3327
3328
  }
3328
3329
  addResource(e, t, n, r, i = { silent: !1 }) {
3329
3330
  let a = i.keySeparator === void 0 ? this.options.keySeparator : i.keySeparator, o = [e, t];
3330
- n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), je(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
3331
+ n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), Ne(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
3331
3332
  }
3332
3333
  addResources(e, t, n, r = { silent: !1 }) {
3333
- for (let r in n) (z(n[r]) || Array.isArray(n[r])) && this.addResource(e, t, r, n[r], { silent: !0 });
3334
+ for (let r in n) (R(n[r]) || Array.isArray(n[r])) && this.addResource(e, t, r, n[r], { silent: !0 });
3334
3335
  r.silent || this.emit("added", e, t, n);
3335
3336
  }
3336
3337
  addResourceBundle(e, t, n, r, i, a = {
@@ -3339,11 +3340,11 @@ var M = {
3339
3340
  }) {
3340
3341
  let o = [e, t];
3341
3342
  e.indexOf(".") > -1 && (o = e.split("."), r = n, n = t, t = o[1]), this.addNamespaces(t);
3342
- let s = Ne(this.data, o) || {};
3343
- a.skipCopy || (n = JSON.parse(JSON.stringify(n))), r ? Fe(s, n, i) : s = {
3343
+ let s = Fe(this.data, o) || {};
3344
+ a.skipCopy || (n = JSON.parse(JSON.stringify(n))), r ? B(s, n, i) : s = {
3344
3345
  ...s,
3345
3346
  ...n
3346
- }, je(this.data, o, s), a.silent || this.emit("added", e, t, n);
3347
+ }, Ne(this.data, o, s), a.silent || this.emit("added", e, t, n);
3347
3348
  }
3348
3349
  removeResourceBundle(e, t) {
3349
3350
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -3364,7 +3365,7 @@ var M = {
3364
3365
  toJSON() {
3365
3366
  return this.data;
3366
3367
  }
3367
- }, Ue = {
3368
+ }, Ge = {
3368
3369
  processors: {},
3369
3370
  addPostProcessor(e) {
3370
3371
  this.processors[e.name] = e;
@@ -3374,22 +3375,22 @@ var M = {
3374
3375
  t = this.processors[e]?.process(t, n, r, i) ?? t;
3375
3376
  }), t;
3376
3377
  }
3377
- }, We = Symbol("i18next/PATH_KEY");
3378
- function Ge() {
3378
+ }, Ke = Symbol("i18next/PATH_KEY");
3379
+ function qe() {
3379
3380
  let e = [], t = Object.create(null), n;
3380
- return t.get = (r, i) => (n?.revoke?.(), i === We ? e : (e.push(i), n = Proxy.revocable(r, t), n.proxy)), Proxy.revocable(Object.create(null), t).proxy;
3381
+ return t.get = (r, i) => (n?.revoke?.(), i === Ke ? e : (e.push(i), n = Proxy.revocable(r, t), n.proxy)), Proxy.revocable(Object.create(null), t).proxy;
3381
3382
  }
3382
- function Ke(e, t) {
3383
- let { [We]: n } = e(Ge()), r = t?.keySeparator ?? ".", i = t?.nsSeparator ?? ":";
3383
+ function Je(e, t) {
3384
+ let { [Ke]: n } = e(qe()), r = t?.keySeparator ?? ".", i = t?.nsSeparator ?? ":";
3384
3385
  if (n.length > 1 && i) {
3385
3386
  let e = t?.ns, a = Array.isArray(e) ? e : null;
3386
3387
  if (a && a.length > 1 && a.slice(1).includes(n[0])) return `${n[0]}${i}${n.slice(1).join(r)}`;
3387
3388
  }
3388
3389
  return n.join(r);
3389
3390
  }
3390
- var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number", Ye = class e extends Ve {
3391
+ var Ye = {}, Xe = (e) => !R(e) && typeof e != "boolean" && typeof e != "number", Ze = class e extends Ue {
3391
3392
  constructor(e, t = {}) {
3392
- super(), De([
3393
+ super(), Oe([
3393
3394
  "resourceStore",
3394
3395
  "languageUtils",
3395
3396
  "pluralResolver",
@@ -3397,7 +3398,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3397
3398
  "backendConnector",
3398
3399
  "i18nFormat",
3399
3400
  "utils"
3400
- ], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = K.create("translator");
3401
+ ], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = G.create("translator");
3401
3402
  }
3402
3403
  changeLanguage(e) {
3403
3404
  e && (this.language = e);
@@ -3407,34 +3408,34 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3407
3408
  if (e == null) return !1;
3408
3409
  let r = this.resolve(e, n);
3409
3410
  if (r?.res === void 0) return !1;
3410
- let i = Je(r.res);
3411
+ let i = Xe(r.res);
3411
3412
  return !(n.returnObjects === !1 && i);
3412
3413
  }
3413
3414
  extractFromKey(e, t) {
3414
3415
  let n = t.nsSeparator === void 0 ? this.options.nsSeparator : t.nsSeparator;
3415
3416
  n === void 0 && (n = ":");
3416
- let r = t.keySeparator === void 0 ? this.options.keySeparator : t.keySeparator, i = t.ns || this.options.defaultNS || [], a = n && e.indexOf(n) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Be(e, n, r);
3417
+ let r = t.keySeparator === void 0 ? this.options.keySeparator : t.keySeparator, i = t.ns || this.options.defaultNS || [], a = n && e.indexOf(n) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !U(e, n, r);
3417
3418
  if (a && !o) {
3418
3419
  let t = e.match(this.interpolator.nestingRegexp);
3419
3420
  if (t && t.length > 0) return {
3420
3421
  key: e,
3421
- namespaces: z(i) ? [i] : i
3422
+ namespaces: R(i) ? [i] : i
3422
3423
  };
3423
3424
  let a = e.split(n);
3424
3425
  (n !== r || n === r && this.options.ns.indexOf(a[0]) > -1) && (i = a.shift()), e = a.join(r);
3425
3426
  }
3426
3427
  return {
3427
3428
  key: e,
3428
- namespaces: z(i) ? [i] : i
3429
+ namespaces: R(i) ? [i] : i
3429
3430
  };
3430
3431
  }
3431
3432
  translate(t, n, r) {
3432
3433
  let i = typeof n == "object" ? { ...n } : n;
3433
3434
  if (typeof i != "object" && this.options.overloadTranslationOptionHandler && (i = this.options.overloadTranslationOptionHandler(arguments)), typeof i == "object" && (i = { ...i }), i ||= {}, t == null) return "";
3434
- typeof t == "function" && (t = Ke(t, {
3435
+ typeof t == "function" && (t = Je(t, {
3435
3436
  ...this.options,
3436
3437
  ...i
3437
- })), Array.isArray(t) || (t = [String(t)]), t = t.map((e) => typeof e == "function" ? Ke(e, {
3438
+ })), Array.isArray(t) || (t = [String(t)]), t = t.map((e) => typeof e == "function" ? Je(e, {
3438
3439
  ...this.options,
3439
3440
  ...i
3440
3441
  }) : String(e));
@@ -3460,42 +3461,42 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3460
3461
  "[object Number]",
3461
3462
  "[object Function]",
3462
3463
  "[object RegExp]"
3463
- ], v = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !z(i.count), x = e.hasDefaultValue(i), S = b ? this.pluralResolver.getSuffix(d, i.count, i) : "", C = i.ordinal && b ? this.pluralResolver.getSuffix(d, i.count, { ordinal: !1 }) : "", w = b && !i.ordinal && i.count === 0, T = w && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${S}`] || i[`defaultValue${C}`] || i.defaultValue, E = m;
3464
- y && !m && x && (E = T);
3465
- let D = Je(E), O = Object.prototype.toString.apply(E);
3466
- if (y && E && D && _.indexOf(O) < 0 && !(z(v) && Array.isArray(E))) {
3464
+ ], v = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !R(i.count), x = e.hasDefaultValue(i), S = b ? this.pluralResolver.getSuffix(d, i.count, i) : "", ee = i.ordinal && b ? this.pluralResolver.getSuffix(d, i.count, { ordinal: !1 }) : "", C = b && !i.ordinal && i.count === 0, w = C && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${S}`] || i[`defaultValue${ee}`] || i.defaultValue, T = m;
3465
+ y && !m && x && (T = w);
3466
+ let te = Xe(T), E = Object.prototype.toString.apply(T);
3467
+ if (y && T && te && _.indexOf(E) < 0 && !(R(v) && Array.isArray(T))) {
3467
3468
  if (!i.returnObjects && !this.options.returnObjects) {
3468
3469
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
3469
- let e = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h, E, {
3470
+ let e = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h, T, {
3470
3471
  ...i,
3471
3472
  ns: c
3472
3473
  }) : `key '${s} (${this.language})' returned an object instead of string.`;
3473
3474
  return a ? (p.res = e, p.usedParams = this.getUsedParamsDetails(i), p) : e;
3474
3475
  }
3475
3476
  if (o) {
3476
- let e = Array.isArray(E), t = e ? [] : {}, n = e ? g : h;
3477
- for (let e in E) if (Object.prototype.hasOwnProperty.call(E, e)) {
3477
+ let e = Array.isArray(T), t = e ? [] : {}, n = e ? g : h;
3478
+ for (let e in T) if (Object.prototype.hasOwnProperty.call(T, e)) {
3478
3479
  let r = `${n}${o}${e}`;
3479
3480
  x && !m ? t[e] = this.translate(r, {
3480
3481
  ...i,
3481
- defaultValue: Je(T) ? T[e] : void 0,
3482
+ defaultValue: Xe(w) ? w[e] : void 0,
3482
3483
  joinArrays: !1,
3483
3484
  ns: c
3484
3485
  }) : t[e] = this.translate(r, {
3485
3486
  ...i,
3486
3487
  joinArrays: !1,
3487
3488
  ns: c
3488
- }), t[e] === r && (t[e] = E[e]);
3489
+ }), t[e] === r && (t[e] = T[e]);
3489
3490
  }
3490
3491
  m = t;
3491
3492
  }
3492
- } else if (y && z(v) && Array.isArray(m)) m = m.join(v), m &&= this.extendTranslation(m, t, i, r);
3493
+ } else if (y && R(v) && Array.isArray(m)) m = m.join(v), m &&= this.extendTranslation(m, t, i, r);
3493
3494
  else {
3494
3495
  let e = !1, n = !1;
3495
- !this.isValidLookup(m) && x && (e = !0, m = T), this.isValidLookup(m) || (n = !0, m = s);
3496
- let a = (i.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && n ? void 0 : m, c = x && T !== m && this.options.updateMissing;
3496
+ !this.isValidLookup(m) && x && (e = !0, m = w), this.isValidLookup(m) || (n = !0, m = s);
3497
+ let a = (i.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && n ? void 0 : m, c = x && w !== m && this.options.updateMissing;
3497
3498
  if (n || e || c) {
3498
- if (this.logger.log(c ? "updateKey" : "missingKey", d, l, s, c ? T : m), o) {
3499
+ if (this.logger.log(c ? "updateKey" : "missingKey", d, l, s, c ? w : m), o) {
3499
3500
  let e = this.resolve(s, {
3500
3501
  ...i,
3501
3502
  keySeparator: !1
@@ -3511,10 +3512,10 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3511
3512
  };
3512
3513
  this.options.saveMissing && (this.options.saveMissingPlurals && b ? e.forEach((e) => {
3513
3514
  let t = this.pluralResolver.getSuffixes(e, i);
3514
- w && i[`defaultValue${this.options.pluralSeparator}zero`] && t.indexOf(`${this.options.pluralSeparator}zero`) < 0 && t.push(`${this.options.pluralSeparator}zero`), t.forEach((t) => {
3515
- n([e], s + t, i[`defaultValue${t}`] || T);
3515
+ C && i[`defaultValue${this.options.pluralSeparator}zero`] && t.indexOf(`${this.options.pluralSeparator}zero`) < 0 && t.push(`${this.options.pluralSeparator}zero`), t.forEach((t) => {
3516
+ n([e], s + t, i[`defaultValue${t}`] || w);
3516
3517
  });
3517
- }) : n(e, s, T));
3518
+ }) : n(e, s, w));
3518
3519
  }
3519
3520
  m = this.extendTranslation(m, t, i, p, r), n && m === s && this.options.appendNamespaceToMissingKey && (m = `${l}${u}${s}`), (n || e) && this.options.parseMissingKeyHandler && (m = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}${u}${s}` : s, e ? m : void 0, i));
3520
3521
  }
@@ -3533,12 +3534,12 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3533
3534
  ...n.interpolation
3534
3535
  }
3535
3536
  });
3536
- let a = z(e) && (n?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : n.interpolation.skipOnVariables), o;
3537
+ let a = R(e) && (n?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : n.interpolation.skipOnVariables), o;
3537
3538
  if (a) {
3538
3539
  let t = e.match(this.interpolator.nestingRegexp);
3539
3540
  o = t && t.length;
3540
3541
  }
3541
- let s = n.replace && !z(n.replace) ? n.replace : n;
3542
+ let s = n.replace && !R(n.replace) ? n.replace : n;
3542
3543
  if (this.options.interpolation.defaultVariables && (s = {
3543
3544
  ...this.options.interpolation.defaultVariables,
3544
3545
  ...s
@@ -3548,8 +3549,8 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3548
3549
  }
3549
3550
  !n.lng && r && r.res && (n.lng = this.language || r.usedLng), n.nest !== !1 && (e = this.interpolator.nest(e, (...e) => i?.[0] === e[0] && !n.context ? (this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`), null) : this.translate(...e, t), n)), n.interpolation && this.interpolator.reset();
3550
3551
  }
3551
- let a = n.postProcess || this.options.postProcess, o = z(a) ? [a] : a;
3552
- return e != null && o?.length && n.applyPostProcessor !== !1 && (e = Ue.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
3552
+ let a = n.postProcess || this.options.postProcess, o = R(a) ? [a] : a;
3553
+ return e != null && o?.length && n.applyPostProcessor !== !1 && (e = Ge.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
3553
3554
  i18nResolved: {
3554
3555
  ...r,
3555
3556
  usedParams: this.getUsedParamsDetails(n)
@@ -3559,7 +3560,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3559
3560
  }
3560
3561
  resolve(e, t = {}) {
3561
3562
  let n, r, i, a, o;
3562
- return z(e) && (e = [e]), Array.isArray(e) && (e = e.map((e) => typeof e == "function" ? Ke(e, {
3563
+ return R(e) && (e = [e]), Array.isArray(e) && (e = e.map((e) => typeof e == "function" ? Je(e, {
3563
3564
  ...this.options,
3564
3565
  ...t
3565
3566
  }) : e)), e.forEach((e) => {
@@ -3568,9 +3569,9 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3568
3569
  r = c;
3569
3570
  let l = s.namespaces;
3570
3571
  this.options.fallbackNS && (l = l.concat(this.options.fallbackNS));
3571
- let u = t.count !== void 0 && !z(t.count), d = u && !t.ordinal && t.count === 0, f = t.context !== void 0 && (z(t.context) || typeof t.context == "number") && t.context !== "", p = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
3572
+ let u = t.count !== void 0 && !R(t.count), d = u && !t.ordinal && t.count === 0, f = t.context !== void 0 && (R(t.context) || typeof t.context == "number") && t.context !== "", p = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
3572
3573
  l.forEach((e) => {
3573
- this.isValidLookup(n) || (o = e, !qe[`${p[0]}-${e}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o) && (qe[`${p[0]}-${e}`] = !0, this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), p.forEach((r) => {
3574
+ this.isValidLookup(n) || (o = e, !Ye[`${p[0]}-${e}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o) && (Ye[`${p[0]}-${e}`] = !0, this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), p.forEach((r) => {
3574
3575
  if (this.isValidLookup(n)) return;
3575
3576
  a = r;
3576
3577
  let o = [c];
@@ -3619,7 +3620,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3619
3620
  "joinArrays",
3620
3621
  "postProcess",
3621
3622
  "interpolation"
3622
- ], n = e.replace && !z(e.replace), r = n ? e.replace : e;
3623
+ ], n = e.replace && !R(e.replace), r = n ? e.replace : e;
3623
3624
  if (n && e.count !== void 0 && (r.count = e.count), this.options.interpolation.defaultVariables && (r = {
3624
3625
  ...this.options.interpolation.defaultVariables,
3625
3626
  ...r
@@ -3633,9 +3634,9 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3633
3634
  for (let t in e) if (Object.prototype.hasOwnProperty.call(e, t) && t.substring(0, 12) === "defaultValue" && e[t] !== void 0) return !0;
3634
3635
  return !1;
3635
3636
  }
3636
- }, Xe = class {
3637
+ }, Qe = class {
3637
3638
  constructor(e) {
3638
- this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = K.create("languageUtils");
3639
+ this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = G.create("languageUtils");
3639
3640
  }
3640
3641
  getScriptPartFromCode(e) {
3641
3642
  if (e = W(e), !e || e.indexOf("-") < 0) return null;
@@ -3648,7 +3649,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3648
3649
  return this.formatLanguageCode(t[0]);
3649
3650
  }
3650
3651
  formatLanguageCode(e) {
3651
- if (z(e) && e.indexOf("-") > -1) {
3652
+ if (R(e) && e.indexOf("-") > -1) {
3652
3653
  let t;
3653
3654
  try {
3654
3655
  t = Intl.getCanonicalLocales(e)[0];
@@ -3680,7 +3681,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3680
3681
  }
3681
3682
  getFallbackCodes(e, t) {
3682
3683
  if (!e) return [];
3683
- if (typeof e == "function" && (e = e(t)), z(e) && (e = [e]), Array.isArray(e)) return e;
3684
+ if (typeof e == "function" && (e = e(t)), R(e) && (e = [e]), Array.isArray(e)) return e;
3684
3685
  if (!t) return e.default || [];
3685
3686
  let n = e[t];
3686
3687
  return n ||= e[this.getScriptPartFromCode(t)], n ||= e[this.formatLanguageCode(t)], n ||= e[this.getLanguagePartFromCode(t)], n ||= e.default, n || [];
@@ -3689,23 +3690,23 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3689
3690
  let n = this.getFallbackCodes((t === !1 ? [] : t) || this.options.fallbackLng || [], e), r = [], i = (e) => {
3690
3691
  e && (this.isSupportedCode(e) ? r.push(e) : this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`));
3691
3692
  };
3692
- return z(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && i(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && i(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && i(this.getLanguagePartFromCode(e))) : z(e) && i(this.formatLanguageCode(e)), n.forEach((e) => {
3693
+ return R(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && i(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && i(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && i(this.getLanguagePartFromCode(e))) : R(e) && i(this.formatLanguageCode(e)), n.forEach((e) => {
3693
3694
  r.indexOf(e) < 0 && i(this.formatLanguageCode(e));
3694
3695
  }), r;
3695
3696
  }
3696
- }, Ze = {
3697
+ }, $e = {
3697
3698
  zero: 0,
3698
3699
  one: 1,
3699
3700
  two: 2,
3700
3701
  few: 3,
3701
3702
  many: 4,
3702
3703
  other: 5
3703
- }, Qe = {
3704
+ }, et = {
3704
3705
  select: (e) => e === 1 ? "one" : "other",
3705
3706
  resolvedOptions: () => ({ pluralCategories: ["one", "other"] })
3706
- }, $e = class {
3707
+ }, tt = class {
3707
3708
  constructor(e, t = {}) {
3708
- this.languageUtils = e, this.options = t, this.logger = K.create("pluralResolver"), this.pluralRulesCache = {};
3709
+ this.languageUtils = e, this.options = t, this.logger = G.create("pluralResolver"), this.pluralRulesCache = {};
3709
3710
  }
3710
3711
  clearCache() {
3711
3712
  this.pluralRulesCache = {};
@@ -3720,8 +3721,8 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3720
3721
  try {
3721
3722
  a = new Intl.PluralRules(n, { type: r });
3722
3723
  } catch {
3723
- if (typeof Intl > "u") return this.logger.error("No Intl support, please use an Intl polyfill!"), Qe;
3724
- if (!e.match(/-|_/)) return Qe;
3724
+ if (typeof Intl > "u") return this.logger.error("No Intl support, please use an Intl polyfill!"), et;
3725
+ if (!e.match(/-|_/)) return et;
3725
3726
  let n = this.languageUtils.getLanguagePartFromCode(e);
3726
3727
  a = this.getRule(n, t);
3727
3728
  }
@@ -3736,23 +3737,23 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3736
3737
  }
3737
3738
  getSuffixes(e, t = {}) {
3738
3739
  let n = this.getRule(e, t);
3739
- return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) => Ze[e] - Ze[t]).map((e) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${e}`) : [];
3740
+ return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) => $e[e] - $e[t]).map((e) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${e}`) : [];
3740
3741
  }
3741
3742
  getSuffix(e, t, n = {}) {
3742
3743
  let r = this.getRule(e, n);
3743
3744
  return r ? `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${r.select(t)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", t, n));
3744
3745
  }
3745
- }, et = (e, t, n, r = ".", i = !0) => {
3746
- let a = Pe(e, t, n);
3747
- return !a && i && z(n) && (a = U(e, n, r), a === void 0 && (a = U(t, n, r))), a;
3748
- }, tt = (e) => e.replace(/\$/g, "$$$$"), nt = class {
3746
+ }, nt = (e, t, n, r = ".", i = !0) => {
3747
+ let a = Ie(e, t, n);
3748
+ return !a && i && R(n) && (a = Ve(e, n, r), a === void 0 && (a = Ve(t, n, r))), a;
3749
+ }, rt = (e) => e.replace(/\$/g, "$$$$"), it = class {
3749
3750
  constructor(e = {}) {
3750
- this.logger = K.create("interpolator"), this.options = e, this.format = e?.interpolation?.format || ((e) => e), this.init(e);
3751
+ this.logger = G.create("interpolator"), this.options = e, this.format = e?.interpolation?.format || ((e) => e), this.init(e);
3751
3752
  }
3752
3753
  init(e = {}) {
3753
3754
  e.interpolation ||= { escapeValue: !0 };
3754
3755
  let { escape: t, escapeValue: n, useRawValueToEscape: r, prefix: i, prefixEscaped: a, suffix: o, suffixEscaped: s, formatSeparator: c, unescapeSuffix: l, unescapePrefix: u, nestingPrefix: d, nestingPrefixEscaped: f, nestingSuffix: p, nestingSuffixEscaped: m, nestingOptionsSeparator: h, maxReplaces: g, alwaysFormat: _ } = e.interpolation;
3755
- this.escape = t === void 0 ? Le : t, this.escapeValue = n === void 0 ? !0 : n, this.useRawValueToEscape = r === void 0 ? !1 : r, this.prefix = i ? V(i) : a || "{{", this.suffix = o ? V(o) : s || "}}", this.formatSeparator = c || ",", this.unescapePrefix = l ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = d ? V(d) : f || V("$t("), this.nestingSuffix = p ? V(p) : m || V(")"), this.nestingOptionsSeparator = h || ",", this.maxReplaces = g || 1e3, this.alwaysFormat = _ === void 0 ? !1 : _, this.resetRegExp();
3756
+ this.escape = t === void 0 ? H : t, this.escapeValue = n === void 0 || n, this.useRawValueToEscape = r !== void 0 && r, this.prefix = i ? V(i) : a || "{{", this.suffix = o ? V(o) : s || "}}", this.formatSeparator = c || ",", this.unescapePrefix = l ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = d ? V(d) : f || V("$t("), this.nestingSuffix = p ? V(p) : m || V(")"), this.nestingOptionsSeparator = h || ",", this.maxReplaces = g || 1e3, this.alwaysFormat = _ !== void 0 && _, this.resetRegExp();
3756
3757
  }
3757
3758
  reset() {
3758
3759
  this.options && this.init(this.options);
@@ -3764,7 +3765,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3764
3765
  interpolate(e, t, n, r) {
3765
3766
  let i, a, o, s = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (e) => {
3766
3767
  if (e.indexOf(this.formatSeparator) < 0) {
3767
- let i = et(t, s, e, this.options.keySeparator, this.options.ignoreJSONStructure);
3768
+ let i = nt(t, s, e, this.options.keySeparator, this.options.ignoreJSONStructure);
3768
3769
  return this.alwaysFormat ? this.format(i, void 0, n, {
3769
3770
  ...r,
3770
3771
  ...t,
@@ -3772,7 +3773,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3772
3773
  }) : i;
3773
3774
  }
3774
3775
  let i = e.split(this.formatSeparator), a = i.shift().trim(), o = i.join(this.formatSeparator).trim();
3775
- return this.format(et(t, s, a, this.options.keySeparator, this.options.ignoreJSONStructure), o, n, {
3776
+ return this.format(nt(t, s, a, this.options.keySeparator, this.options.ignoreJSONStructure), o, n, {
3776
3777
  ...r,
3777
3778
  ...t,
3778
3779
  interpolationkey: a
@@ -3782,22 +3783,22 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3782
3783
  let l = r?.missingInterpolationHandler || this.options.missingInterpolationHandler, u = r?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : r.interpolation.skipOnVariables;
3783
3784
  return [{
3784
3785
  regex: this.regexpUnescape,
3785
- safeValue: (e) => tt(e)
3786
+ safeValue: (e) => rt(e)
3786
3787
  }, {
3787
3788
  regex: this.regexp,
3788
- safeValue: (e) => this.escapeValue ? tt(this.escape(e)) : tt(e)
3789
+ safeValue: (e) => this.escapeValue ? rt(this.escape(e)) : rt(e)
3789
3790
  }].forEach((t) => {
3790
3791
  for (o = 0; i = t.regex.exec(e);) {
3791
3792
  let n = i[1].trim();
3792
3793
  if (a = c(n), a === void 0) if (typeof l == "function") {
3793
3794
  let t = l(e, i, r);
3794
- a = z(t) ? t : "";
3795
+ a = R(t) ? t : "";
3795
3796
  } else if (r && Object.prototype.hasOwnProperty.call(r, n)) a = "";
3796
3797
  else if (u) {
3797
3798
  a = i[0];
3798
3799
  continue;
3799
3800
  } else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`), a = "";
3800
- else !z(a) && !this.useRawValueToEscape && (a = Ee(a));
3801
+ else !R(a) && !this.useRawValueToEscape && (a = De(a));
3801
3802
  let s = t.safeValue(a);
3802
3803
  if (e = e.replace(i[0], s), u ? (t.regex.lastIndex += a.length, t.regex.lastIndex -= i[0].length) : t.regex.lastIndex = 0, o++, o >= this.maxReplaces) break;
3803
3804
  }
@@ -3823,17 +3824,17 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3823
3824
  };
3824
3825
  for (; r = this.nestingRegexp.exec(e);) {
3825
3826
  let s = [];
3826
- a = { ...n }, a = a.replace && !z(a.replace) ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue;
3827
+ a = { ...n }, a = a.replace && !R(a.replace) ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue;
3827
3828
  let c = /{.*}/.test(r[1]) ? r[1].lastIndexOf("}") + 1 : r[1].indexOf(this.formatSeparator);
3828
- if (c !== -1 && (s = r[1].slice(c).split(this.formatSeparator).map((e) => e.trim()).filter(Boolean), r[1] = r[1].slice(0, c)), i = t(o.call(this, r[1].trim(), a), a), i && r[0] === e && !z(i)) return i;
3829
- z(i) || (i = Ee(i)), i ||= (this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`), ""), s.length && (i = s.reduce((e, t) => this.format(e, t, n.lng, {
3829
+ if (c !== -1 && (s = r[1].slice(c).split(this.formatSeparator).map((e) => e.trim()).filter(Boolean), r[1] = r[1].slice(0, c)), i = t(o.call(this, r[1].trim(), a), a), i && r[0] === e && !R(i)) return i;
3830
+ R(i) || (i = De(i)), i ||= (this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`), ""), s.length && (i = s.reduce((e, t) => this.format(e, t, n.lng, {
3830
3831
  ...n,
3831
3832
  interpolationkey: r[1].trim()
3832
3833
  }), i.trim())), e = e.replace(r[0], i), this.regexp.lastIndex = 0;
3833
3834
  }
3834
3835
  return e;
3835
3836
  }
3836
- }, rt = (e) => {
3837
+ }, at = (e) => {
3837
3838
  let t = e.toLowerCase().trim(), n = {};
3838
3839
  if (e.indexOf("(") > -1) {
3839
3840
  let r = e.split("(");
@@ -3850,7 +3851,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3850
3851
  formatName: t,
3851
3852
  formatOptions: n
3852
3853
  };
3853
- }, it = (e) => {
3854
+ }, ot = (e) => {
3854
3855
  let t = {};
3855
3856
  return (n, r, i) => {
3856
3857
  let a = i;
@@ -3861,13 +3862,13 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3861
3862
  let o = r + JSON.stringify(a), s = t[o];
3862
3863
  return s || (s = e(W(r), i), t[o] = s), s(n);
3863
3864
  };
3864
- }, at = (e) => (t, n, r) => e(W(n), r)(t), ot = class {
3865
+ }, st = (e) => (t, n, r) => e(W(n), r)(t), ct = class {
3865
3866
  constructor(e = {}) {
3866
- this.logger = K.create("formatter"), this.options = e, this.init(e);
3867
+ this.logger = G.create("formatter"), this.options = e, this.init(e);
3867
3868
  }
3868
3869
  init(e, t = { interpolation: {} }) {
3869
3870
  this.formatSeparator = t.interpolation.formatSeparator || ",";
3870
- let n = t.cacheInBuiltFormats ? it : at;
3871
+ let n = t.cacheInBuiltFormats ? ot : st;
3871
3872
  this.formats = {
3872
3873
  number: n((e, t) => {
3873
3874
  let n = new Intl.NumberFormat(e, { ...t });
@@ -3898,7 +3899,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3898
3899
  this.formats[e.toLowerCase().trim()] = t;
3899
3900
  }
3900
3901
  addCached(e, t) {
3901
- this.formats[e.toLowerCase().trim()] = it(t);
3902
+ this.formats[e.toLowerCase().trim()] = ot(t);
3902
3903
  }
3903
3904
  format(e, t, n, r = {}) {
3904
3905
  let i = t.split(this.formatSeparator);
@@ -3907,7 +3908,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3907
3908
  i[0] = [i[0], ...i.splice(1, e)].join(this.formatSeparator);
3908
3909
  }
3909
3910
  return i.reduce((e, t) => {
3910
- let { formatName: i, formatOptions: a } = rt(t);
3911
+ let { formatName: i, formatOptions: a } = at(t);
3911
3912
  if (this.formats[i]) {
3912
3913
  let t = e;
3913
3914
  try {
@@ -3925,11 +3926,11 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3925
3926
  return e;
3926
3927
  }, e);
3927
3928
  }
3928
- }, st = (e, t) => {
3929
+ }, lt = (e, t) => {
3929
3930
  e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
3930
- }, ct = class extends Ve {
3931
+ }, K = class extends Ue {
3931
3932
  constructor(e, t, n, r = {}) {
3932
- super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = r, this.logger = K.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = r.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = r.maxRetries >= 0 ? r.maxRetries : 5, this.retryTimeout = r.retryTimeout >= 1 ? r.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(n, r.backend, r);
3933
+ super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = r, this.logger = G.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = r.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = r.maxRetries >= 0 ? r.maxRetries : 5, this.retryTimeout = r.retryTimeout >= 1 ? r.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(n, r.backend, r);
3933
3934
  }
3934
3935
  queueLoad(e, t, n, r) {
3935
3936
  let i = {}, a = {}, o = {}, s = {};
@@ -3957,7 +3958,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
3957
3958
  t && this.emit("failedLoading", i, a, t), !t && n && this.store.addResourceBundle(i, a, n, void 0, void 0, { skipCopy: !0 }), this.state[e] = t ? -1 : 2, t && n && (this.state[e] = 0);
3958
3959
  let o = {};
3959
3960
  this.queue.forEach((n) => {
3960
- Me(n.loaded, [i], a), st(n, e), t && n.errors.push(t), n.pendingCount === 0 && !n.done && (Object.keys(n.loaded).forEach((e) => {
3961
+ Pe(n.loaded, [i], a), lt(n, e), t && n.errors.push(t), n.pendingCount === 0 && !n.done && (Object.keys(n.loaded).forEach((e) => {
3961
3962
  o[e] || (o[e] = {});
3962
3963
  let t = n.loaded[e];
3963
3964
  t.length && t.forEach((t) => {
@@ -4006,7 +4007,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4006
4007
  }
4007
4008
  prepareLoading(e, t, n = {}, r) {
4008
4009
  if (!this.backend) return this.logger.warn("No backend was added via i18next.use. Will not load resources."), r && r();
4009
- z(e) && (e = this.languageUtils.toResolveHierarchy(e)), z(t) && (t = [t]);
4010
+ R(e) && (e = this.languageUtils.toResolveHierarchy(e)), R(t) && (t = [t]);
4010
4011
  let i = this.queueLoad(e, t, n, r);
4011
4012
  if (!i.toLoad.length) return i.pending.length || r(), null;
4012
4013
  i.toLoad.forEach((e) => {
@@ -4047,7 +4048,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4047
4048
  !e || !e[0] || this.store.addResource(e[0], t, n, r);
4048
4049
  }
4049
4050
  }
4050
- }, q = () => ({
4051
+ }, ut = () => ({
4051
4052
  debug: !1,
4052
4053
  initAsync: !0,
4053
4054
  ns: ["translation"],
@@ -4082,7 +4083,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4082
4083
  appendNamespaceToCIMode: !1,
4083
4084
  overloadTranslationOptionHandler: (e) => {
4084
4085
  let t = {};
4085
- if (typeof e[1] == "object" && (t = e[1]), z(e[1]) && (t.defaultValue = e[1]), z(e[2]) && (t.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") {
4086
+ if (typeof e[1] == "object" && (t = e[1]), R(e[1]) && (t.defaultValue = e[1]), R(e[2]) && (t.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") {
4086
4087
  let n = e[3] || e[2];
4087
4088
  Object.keys(n).forEach((e) => {
4088
4089
  t[e] = n[e];
@@ -4104,15 +4105,15 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4104
4105
  skipOnVariables: !0
4105
4106
  },
4106
4107
  cacheInBuiltFormats: !0
4107
- }), lt = (e) => (z(e.ns) && (e.ns = [e.ns]), z(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), z(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs?.indexOf?.("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e), ut = () => {}, dt = (e) => {
4108
+ }), dt = (e) => (R(e.ns) && (e.ns = [e.ns]), R(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), R(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs?.indexOf?.("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e), ft = () => {}, pt = (e) => {
4108
4109
  Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((t) => {
4109
4110
  typeof e[t] == "function" && (e[t] = e[t].bind(e));
4110
4111
  });
4111
- }, ft = "__i18next_supportNoticeShown", pt = () => !!(typeof globalThis < "u" && globalThis[ft] || typeof process < "u" && process.env && process.env.I18NEXT_NO_SUPPORT_NOTICE || typeof process < "u" && process.env), mt = () => {
4112
- typeof globalThis < "u" && (globalThis[ft] = !0);
4113
- }, ht = (e) => !!(e?.modules?.backend?.name?.indexOf("Locize") > 0 || e?.modules?.backend?.constructor?.name?.indexOf("Locize") > 0 || e?.options?.backend?.backends && e.options.backend.backends.some((e) => e?.name?.indexOf("Locize") > 0 || e?.constructor?.name?.indexOf("Locize") > 0) || e?.options?.backend?.projectId || e?.options?.backend?.backendOptions && e.options.backend.backendOptions.some((e) => e?.projectId)), J = class e extends Ve {
4112
+ }, q = "__i18next_supportNoticeShown", mt = () => !!(typeof globalThis < "u" && globalThis[q] || typeof process < "u" && process.env && process.env.I18NEXT_NO_SUPPORT_NOTICE || typeof process < "u" && process.env), ht = () => {
4113
+ typeof globalThis < "u" && (globalThis[q] = !0);
4114
+ }, gt = (e) => !!(e?.modules?.backend?.name?.indexOf("Locize") > 0 || e?.modules?.backend?.constructor?.name?.indexOf("Locize") > 0 || e?.options?.backend?.backends && e.options.backend.backends.some((e) => e?.name?.indexOf("Locize") > 0 || e?.constructor?.name?.indexOf("Locize") > 0) || e?.options?.backend?.projectId || e?.options?.backend?.backendOptions && e.options.backend.backendOptions.some((e) => e?.projectId)), J = class e extends Ue {
4114
4115
  constructor(e = {}, t) {
4115
- if (super(), this.options = lt(e), this.services = {}, this.logger = K, this.modules = { external: [] }, dt(this), t && !this.isInitialized && !e.isClone) {
4116
+ if (super(), this.options = dt(e), this.services = {}, this.logger = G, this.modules = { external: [] }, pt(this), t && !this.isInitialized && !e.isClone) {
4116
4117
  if (!this.options.initAsync) return this.init(e, t), this;
4117
4118
  setTimeout(() => {
4118
4119
  this.init(e, t);
@@ -4120,36 +4121,36 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4120
4121
  }
4121
4122
  }
4122
4123
  init(e = {}, t) {
4123
- this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (z(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0]));
4124
- let n = q();
4124
+ this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (R(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0]));
4125
+ let n = ut();
4125
4126
  this.options = {
4126
4127
  ...n,
4127
4128
  ...this.options,
4128
- ...lt(e)
4129
+ ...dt(e)
4129
4130
  }, this.options.interpolation = {
4130
4131
  ...n.interpolation,
4131
4132
  ...this.options.interpolation
4132
- }, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = n.overloadTranslationOptionHandler), this.options.showSupportNotice !== !1 && !ht(this) && !pt() && (typeof console < "u" && console.info !== void 0 && console.info("🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"), mt());
4133
+ }, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = n.overloadTranslationOptionHandler), this.options.showSupportNotice !== !1 && !gt(this) && !mt() && (typeof console < "u" && console.info !== void 0 && console.info("🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"), ht());
4133
4134
  let r = (e) => e ? typeof e == "function" ? new e() : e : null;
4134
4135
  if (!this.options.isClone) {
4135
- this.modules.logger ? K.init(r(this.modules.logger), this.options) : K.init(null, this.options);
4136
+ this.modules.logger ? G.init(r(this.modules.logger), this.options) : G.init(null, this.options);
4136
4137
  let e;
4137
- e = this.modules.formatter ? this.modules.formatter : ot;
4138
- let t = new Xe(this.options);
4139
- this.store = new He(this.options.resources, this.options);
4138
+ e = this.modules.formatter ? this.modules.formatter : ct;
4139
+ let t = new Qe(this.options);
4140
+ this.store = new We(this.options.resources, this.options);
4140
4141
  let i = this.services;
4141
- i.logger = K, i.resourceStore = this.store, i.languageUtils = t, i.pluralResolver = new $e(t, {
4142
+ i.logger = G, i.resourceStore = this.store, i.languageUtils = t, i.pluralResolver = new tt(t, {
4142
4143
  prepend: this.options.pluralSeparator,
4143
4144
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
4144
- }), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), e && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (i.formatter = r(e), i.formatter.init && i.formatter.init(i, this.options), this.options.interpolation.format = i.formatter.format.bind(i.formatter)), i.interpolator = new nt(this.options), i.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, i.backendConnector = new ct(r(this.modules.backend), i.resourceStore, i, this.options), i.backendConnector.on("*", (e, ...t) => {
4145
+ }), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), e && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (i.formatter = r(e), i.formatter.init && i.formatter.init(i, this.options), this.options.interpolation.format = i.formatter.format.bind(i.formatter)), i.interpolator = new it(this.options), i.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, i.backendConnector = new K(r(this.modules.backend), i.resourceStore, i, this.options), i.backendConnector.on("*", (e, ...t) => {
4145
4146
  this.emit(e, ...t);
4146
- }), this.modules.languageDetector && (i.languageDetector = r(this.modules.languageDetector), i.languageDetector.init && i.languageDetector.init(i, this.options.detection, this.options)), this.modules.i18nFormat && (i.i18nFormat = r(this.modules.i18nFormat), i.i18nFormat.init && i.i18nFormat.init(this)), this.translator = new Ye(this.services, this.options), this.translator.on("*", (e, ...t) => {
4147
+ }), this.modules.languageDetector && (i.languageDetector = r(this.modules.languageDetector), i.languageDetector.init && i.languageDetector.init(i, this.options.detection, this.options)), this.modules.i18nFormat && (i.i18nFormat = r(this.modules.i18nFormat), i.i18nFormat.init && i.i18nFormat.init(this)), this.translator = new Ze(this.services, this.options), this.translator.on("*", (e, ...t) => {
4147
4148
  this.emit(e, ...t);
4148
4149
  }), this.modules.external.forEach((e) => {
4149
4150
  e.init && e.init(this);
4150
4151
  });
4151
4152
  }
4152
- if (this.format = this.options.interpolation.format, t ||= ut, this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
4153
+ if (this.format = this.options.interpolation.format, t ||= ft, this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
4153
4154
  let e = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
4154
4155
  e.length > 0 && e[0] !== "dev" && (this.options.lng = e[0]);
4155
4156
  }
@@ -4168,7 +4169,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4168
4169
  ].forEach((e) => {
4169
4170
  this[e] = (...t) => (this.store[e](...t), this);
4170
4171
  });
4171
- let i = Te(), a = () => {
4172
+ let i = z(), a = () => {
4172
4173
  let e = (e, n) => {
4173
4174
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), i.resolve(n), t(e, n);
4174
4175
  };
@@ -4177,8 +4178,8 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4177
4178
  };
4178
4179
  return this.options.resources || !this.options.initAsync ? a() : setTimeout(a, 0), i;
4179
4180
  }
4180
- loadResources(e, t = ut) {
4181
- let n = t, r = z(e) ? e : this.language;
4181
+ loadResources(e, t = ft) {
4182
+ let n = t, r = R(e) ? e : this.language;
4182
4183
  if (typeof e == "function" && (n = e), !this.options.resources || this.options.partialBundledLanguages) {
4183
4184
  if (r?.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return n();
4184
4185
  let e = [], t = (t) => {
@@ -4192,15 +4193,15 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4192
4193
  } else n(null);
4193
4194
  }
4194
4195
  reloadResources(e, t, n) {
4195
- let r = Te();
4196
- return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e ||= this.languages, t ||= this.options.ns, n ||= ut, this.services.backendConnector.reload(e, t, (e) => {
4196
+ let r = z();
4197
+ return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e ||= this.languages, t ||= this.options.ns, n ||= ft, this.services.backendConnector.reload(e, t, (e) => {
4197
4198
  r.resolve(), n(e);
4198
4199
  }), r;
4199
4200
  }
4200
4201
  use(e) {
4201
4202
  if (!e) throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
4202
4203
  if (!e.type) throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
4203
- return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Ue.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
4204
+ return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Ge.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
4204
4205
  }
4205
4206
  setResolvedLanguage(e) {
4206
4207
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) {
@@ -4216,7 +4217,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4216
4217
  }
4217
4218
  changeLanguage(e, t) {
4218
4219
  this.isLanguageChangingTo = e;
4219
- let n = Te();
4220
+ let n = z();
4220
4221
  this.emit("languageChanging", e);
4221
4222
  let r = (e) => {
4222
4223
  this.language = e, this.languages = this.services.languageUtils.toResolveHierarchy(e), this.resolvedLanguage = void 0, this.setResolvedLanguage(e);
@@ -4224,7 +4225,7 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4224
4225
  a ? this.isLanguageChangingTo === e && (r(a), this.translator.changeLanguage(a), this.isLanguageChangingTo = void 0, this.emit("languageChanged", a), this.logger.log("languageChanged", a)) : this.isLanguageChangingTo = void 0, n.resolve((...e) => this.t(...e)), t && t(i, (...e) => this.t(...e));
4225
4226
  }, a = (t) => {
4226
4227
  !e && !t && this.services.languageDetector && (t = []);
4227
- let n = z(t) ? t : t && t[0], a = this.store.hasLanguageSomeTranslations(n) ? n : this.services.languageUtils.getBestMatchFromCodes(z(t) ? [t] : t);
4228
+ let n = R(t) ? t : t && t[0], a = this.store.hasLanguageSomeTranslations(n) ? n : this.services.languageUtils.getBestMatchFromCodes(R(t) ? [t] : t);
4228
4229
  a && (this.language || r(a), this.translator.language || this.translator.changeLanguage(a), this.services.languageDetector?.cacheUserLanguage?.(a)), this.loadResources(a, (e) => {
4229
4230
  i(e, a);
4230
4231
  });
@@ -4239,11 +4240,11 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4239
4240
  ...this.options,
4240
4241
  ...a
4241
4242
  };
4242
- typeof a.keyPrefix == "function" && (a.keyPrefix = Ke(a.keyPrefix, o));
4243
+ typeof a.keyPrefix == "function" && (a.keyPrefix = Je(a.keyPrefix, o));
4243
4244
  let s = this.options.keySeparator || ".", c;
4244
- return a.keyPrefix && Array.isArray(e) ? c = e.map((e) => (typeof e == "function" && (e = Ke(e, o)), `${a.keyPrefix}${s}${e}`)) : (typeof e == "function" && (e = Ke(e, o)), c = a.keyPrefix ? `${a.keyPrefix}${s}${e}` : e), this.t(c, a);
4245
+ return a.keyPrefix && Array.isArray(e) ? c = e.map((e) => (typeof e == "function" && (e = Je(e, o)), `${a.keyPrefix}${s}${e}`)) : (typeof e == "function" && (e = Je(e, o)), c = a.keyPrefix ? `${a.keyPrefix}${s}${e}` : e), this.t(c, a);
4245
4246
  };
4246
- return z(e) ? r.lng = e : r.lngs = e, r.ns = t, r.keyPrefix = n, r;
4247
+ return R(e) ? r.lng = e : r.lngs = e, r.ns = t, r.keyPrefix = n, r;
4247
4248
  }
4248
4249
  t(...e) {
4249
4250
  return this.translator?.translate(...e);
@@ -4270,16 +4271,16 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4270
4271
  return !!(this.hasResourceBundle(n, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || a(n, e) && (!r || a(i, e)));
4271
4272
  }
4272
4273
  loadNamespaces(e, t) {
4273
- let n = Te();
4274
- return this.options.ns ? (z(e) && (e = [e]), e.forEach((e) => {
4274
+ let n = z();
4275
+ return this.options.ns ? (R(e) && (e = [e]), e.forEach((e) => {
4275
4276
  this.options.ns.indexOf(e) < 0 && this.options.ns.push(e);
4276
4277
  }), this.loadResources((e) => {
4277
4278
  n.resolve(), t && t(e);
4278
4279
  }), n) : (t && t(), Promise.resolve());
4279
4280
  }
4280
4281
  loadLanguages(e, t) {
4281
- let n = Te();
4282
- z(e) && (e = [e]);
4282
+ let n = z();
4283
+ R(e) && (e = [e]);
4283
4284
  let r = this.options.preload || [], i = e.filter((e) => r.indexOf(e) < 0 && this.services.languageUtils.isSupportedCode(e));
4284
4285
  return i.length ? (this.options.preload = r.concat(i), this.loadResources((e) => {
4285
4286
  n.resolve(), t && t(e);
@@ -4294,14 +4295,14 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4294
4295
  if (e && e.direction) return e.direction;
4295
4296
  }
4296
4297
  } catch {}
4297
- let t = /* @__PURE__ */ "ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb".split("."), n = this.services?.languageUtils || new Xe(q());
4298
+ let t = /* @__PURE__ */ "ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb".split("."), n = this.services?.languageUtils || new Qe(ut());
4298
4299
  return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.indexOf(n.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
4299
4300
  }
4300
4301
  static createInstance(t = {}, n) {
4301
4302
  let r = new e(t, n);
4302
4303
  return r.createInstance = e.createInstance, r;
4303
4304
  }
4304
- cloneInstance(t = {}, n = ut) {
4305
+ cloneInstance(t = {}, n = ft) {
4305
4306
  let r = t.forkResourceStore;
4306
4307
  r && delete t.forkResourceStore;
4307
4308
  let i = {
@@ -4315,18 +4316,18 @@ var qe = {}, Je = (e) => !z(e) && typeof e != "boolean" && typeof e != "number",
4315
4316
  "language"
4316
4317
  ].forEach((e) => {
4317
4318
  a[e] = this[e];
4318
- }), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new He(Object.keys(this.store.data).reduce((e, t) => (e[t] = { ...this.store.data[t] }, e[t] = Object.keys(e[t]).reduce((n, r) => (n[r] = { ...e[t][r] }, n), e[t]), e), {}), i), a.services.resourceStore = a.store), t.interpolation) {
4319
+ }), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new We(Object.keys(this.store.data).reduce((e, t) => (e[t] = { ...this.store.data[t] }, e[t] = Object.keys(e[t]).reduce((n, r) => (n[r] = { ...e[t][r] }, n), e[t]), e), {}), i), a.services.resourceStore = a.store), t.interpolation) {
4319
4320
  let e = {
4320
- ...q().interpolation,
4321
+ ...ut().interpolation,
4321
4322
  ...this.options.interpolation,
4322
4323
  ...t.interpolation
4323
4324
  }, n = {
4324
4325
  ...i,
4325
4326
  interpolation: e
4326
4327
  };
4327
- a.services.interpolator = new nt(n);
4328
+ a.services.interpolator = new it(n);
4328
4329
  }
4329
- return a.translator = new Ye(a.services, i), a.translator.on("*", (e, ...t) => {
4330
+ return a.translator = new Ze(a.services, i), a.translator.on("*", (e, ...t) => {
4330
4331
  a.emit(e, ...t);
4331
4332
  }), a.init(i, n), a.translator.options = i, a.translator.backendConnector.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a;
4332
4333
  }
@@ -4347,11 +4348,11 @@ J.createInstance, J.dir, J.init, J.loadResources, J.reloadResources, J.use, J.ch
4347
4348
  lng: "en",
4348
4349
  debug: !0,
4349
4350
  resources: {
4350
- en: Ce,
4351
- es: we
4351
+ en: Te,
4352
+ es: Ee
4352
4353
  }
4353
4354
  });
4354
- var gt = {
4355
+ var _t = {
4355
4356
  translator: {
4356
4357
  ...J,
4357
4358
  t: (e, t) => {
@@ -4382,7 +4383,7 @@ var gt = {
4382
4383
  value: "es_ES",
4383
4384
  label: "Spanish"
4384
4385
  }]
4385
- }, { translator: _t } = gt, vt = a("div")(({ theme: e }) => ({
4386
+ }, { translator: vt } = _t, yt = h("div")(({ theme: e }) => ({
4386
4387
  display: "flex",
4387
4388
  flexDirection: "row",
4388
4389
  alignItems: "center",
@@ -4392,50 +4393,50 @@ var gt = {
4392
4393
  paddingBottom: e.spacing(1),
4393
4394
  paddingTop: e.spacing(1),
4394
4395
  marginBottom: e.spacing(1)
4395
- })), yt = a("span")(({ theme: e }) => ({
4396
+ })), bt = h("span")(({ theme: e }) => ({
4396
4397
  fontSize: "14px",
4397
4398
  fontWeight: "bold",
4398
- color: _.black(),
4399
+ color: l.black(),
4399
4400
  marginLeft: e.spacing(1)
4400
- })), bt = a("div")(() => ({
4401
+ })), xt = h("div")(() => ({
4401
4402
  position: "relative",
4402
4403
  padding: "4px",
4403
4404
  fontSize: "14px",
4404
4405
  borderRadius: "4px"
4405
- })), xt = a(bt)(() => ({ border: `${_.correctTertiary()} solid 2px` })), St = a(bt)(() => ({ border: `${_.incorrectWithIcon()} solid 2px` })), Ct = a(bt)(() => ({ border: `${_.incorrectWithIcon()} dashed 2px` })), wt = {
4406
- color: _.white(),
4406
+ })), St = h(xt)(() => ({ border: `${l.correctTertiary()} solid 2px` })), Ct = h(xt)(() => ({ border: `${l.incorrectWithIcon()} solid 2px` })), wt = h(xt)(() => ({ border: `${l.incorrectWithIcon()} dashed 2px` })), Tt = {
4407
+ color: l.white(),
4407
4408
  position: "absolute",
4408
4409
  top: "-8px",
4409
4410
  left: "-8px",
4410
4411
  borderRadius: "50%",
4411
4412
  fontSize: "12px",
4412
4413
  padding: "2px"
4413
- }, Tt = a(b)(() => ({
4414
- ...wt,
4415
- backgroundColor: _.correctTertiary()
4416
- })), Et = a(ie)(() => ({
4417
- ...wt,
4418
- backgroundColor: _.incorrectWithIcon()
4419
- })), Dt = ({ language: e, showOnlyCorrect: t }) => {
4414
+ }, Et = h(ee)(() => ({
4415
+ ...Tt,
4416
+ backgroundColor: l.correctTertiary()
4417
+ })), Dt = h(oe)(() => ({
4418
+ ...Tt,
4419
+ backgroundColor: l.incorrectWithIcon()
4420
+ })), Ot = ({ language: e, showOnlyCorrect: t }) => {
4420
4421
  let n = [
4421
- {
4422
- Icon: Tt,
4423
- label: _t.t("selectText.correctAnswerSelected", { lng: e }),
4424
- Container: xt
4425
- },
4426
4422
  {
4427
4423
  Icon: Et,
4428
- label: _t.t("selectText.incorrectSelection", { lng: e }),
4424
+ label: vt.t("selectText.correctAnswerSelected", { lng: e }),
4429
4425
  Container: St
4430
4426
  },
4431
4427
  {
4432
- Icon: Et,
4433
- label: _t.t("selectText.correctAnswerNotSelected", { lng: e }),
4428
+ Icon: Dt,
4429
+ label: vt.t("selectText.incorrectSelection", { lng: e }),
4434
4430
  Container: Ct
4431
+ },
4432
+ {
4433
+ Icon: Dt,
4434
+ label: vt.t("selectText.correctAnswerNotSelected", { lng: e }),
4435
+ Container: wt
4435
4436
  }
4436
4437
  ];
4437
- return t && n.splice(1, 2), /* @__PURE__ */ D(vt, { children: [/* @__PURE__ */ E(yt, { children: _t.t("selectText.key", { lng: e }) }), n.map(({ Icon: e, label: t, Container: n }, r) => /* @__PURE__ */ D(n, { children: [/* @__PURE__ */ E(e, {}), /* @__PURE__ */ E("span", { children: t })] }, r))] });
4438
- }, Ot = "height ease-in 300ms, opacity ease-in 300ms", kt = a("div")(() => ({
4438
+ return t && n.splice(1, 2), /* @__PURE__ */ D(yt, { children: [/* @__PURE__ */ E(bt, { children: vt.t("selectText.key", { lng: e }) }), n.map(({ Icon: e, label: t, Container: n }, r) => /* @__PURE__ */ D(n, { children: [/* @__PURE__ */ E(e, {}), /* @__PURE__ */ E("span", { children: t })] }, r))] });
4439
+ }, kt = "height ease-in 300ms, opacity ease-in 300ms", At = h("div")(() => ({
4439
4440
  position: "relative",
4440
4441
  height: 0,
4441
4442
  overflow: "hidden",
@@ -4443,7 +4444,7 @@ var gt = {
4443
4444
  visibility: "hidden",
4444
4445
  width: 0,
4445
4446
  "&.enter": {
4446
- transition: Ot,
4447
+ transition: kt,
4447
4448
  opacity: 1,
4448
4449
  height: "auto",
4449
4450
  width: "auto",
@@ -4457,7 +4458,7 @@ var gt = {
4457
4458
  minHeight: "25px"
4458
4459
  },
4459
4460
  "&.exit": {
4460
- transition: Ot,
4461
+ transition: kt,
4461
4462
  opacity: 0,
4462
4463
  height: 0,
4463
4464
  visibility: "visible",
@@ -4469,9 +4470,9 @@ var gt = {
4469
4470
  height: 0,
4470
4471
  width: 0
4471
4472
  }
4472
- })), At = (e) => {
4473
+ })), jt = (e) => {
4473
4474
  let { show: t, children: n, className: r } = e, i = w(null);
4474
- return /* @__PURE__ */ E(x, {
4475
+ return /* @__PURE__ */ E(d, {
4475
4476
  nodeRef: i,
4476
4477
  in: t,
4477
4478
  appear: !0,
@@ -4483,49 +4484,49 @@ var gt = {
4483
4484
  exit: "exit",
4484
4485
  exitDone: "exit-done"
4485
4486
  },
4486
- children: /* @__PURE__ */ E(kt, {
4487
+ children: /* @__PURE__ */ E(At, {
4487
4488
  ref: i,
4488
4489
  className: r,
4489
4490
  children: n
4490
4491
  })
4491
4492
  });
4492
4493
  };
4493
- At.propTypes = {
4494
+ jt.propTypes = {
4494
4495
  show: O.default.bool.isRequired,
4495
4496
  className: O.default.string,
4496
4497
  children: O.default.oneOfType([O.default.arrayOf(O.default.node), O.default.node]).isRequired
4497
4498
  };
4498
4499
  //#endregion
4499
4500
  //#region ../../lib-react/correct-answer-toggle/dist/index.js
4500
- function jt(e) {
4501
+ function Mt(e) {
4501
4502
  return typeof e == "function" || typeof e == "object" && !!e && typeof e.$$typeof == "symbol";
4502
4503
  }
4503
- function Mt(e, t) {
4504
- return !e || jt(e) ? e : jt(e.default) ? e.default : t && jt(e[t]) ? e[t] : t && jt(e[t]?.default) ? e[t].default : e;
4504
+ function Nt(e, t) {
4505
+ return !e || Mt(e) ? e : Mt(e.default) ? e.default : t && Mt(e[t]) ? e[t] : t && Mt(e[t]?.default) ? e[t].default : e;
4505
4506
  }
4506
- var Nt = Mt(i, "Readable") || Mt(Ft.Readable, "Readable"), Y = c, Pt = Y.default, Ft = Pt && typeof Pt == "object" ? Pt : Y, { translator: It } = gt, Lt = {
4507
+ var Pt = Nt(m, "Readable") || Nt(Lt.Readable, "Readable"), Ft = _, It = Ft.default, Lt = It && typeof It == "object" ? It : Ft, { translator: Rt } = _t, zt = {
4507
4508
  WebkitTouchCallout: "none",
4508
4509
  WebkitUserSelect: "none",
4509
4510
  KhtmlUserSelect: "none",
4510
4511
  MozUserSelect: "none",
4511
4512
  msUserSelect: "none",
4512
4513
  userSelect: "none"
4513
- }, Rt = a("div")(() => ({
4514
+ }, Bt = h("div")(() => ({
4514
4515
  width: "100%",
4515
4516
  cursor: "pointer"
4516
- })), zt = a("div")(() => ({
4517
+ })), Vt = h("div")(() => ({
4517
4518
  margin: "0 auto",
4518
4519
  textAlign: "center",
4519
4520
  display: "flex"
4520
- })), Bt = a("div")(() => ({
4521
+ })), Ht = h("div")(() => ({
4521
4522
  width: "fit-content",
4522
4523
  minWidth: "140px",
4523
4524
  alignSelf: "center",
4524
4525
  verticalAlign: "middle",
4525
- color: `var(--correct-answer-toggle-label-color, ${_.text()})`,
4526
+ color: `var(--correct-answer-toggle-label-color, ${l.text()})`,
4526
4527
  fontWeight: "normal",
4527
- ...Lt
4528
- })), Vt = a("div")(() => ({
4528
+ ...zt
4529
+ })), Ut = h("div")(() => ({
4529
4530
  position: "absolute",
4530
4531
  width: "25px",
4531
4532
  "&.enter": { opacity: "0" },
@@ -4538,12 +4539,12 @@ var Nt = Mt(i, "Readable") || Mt(Ft.Readable, "Readable"), Y = c, Pt = Y.default
4538
4539
  opacity: "0",
4539
4540
  transition: "opacity 0.3s ease-in"
4540
4541
  }
4541
- })), Ht = a("div")(() => ({
4542
+ })), Wt = h("div")(() => ({
4542
4543
  width: "25px",
4543
4544
  marginRight: "5px",
4544
4545
  display: "flex",
4545
4546
  alignItems: "center"
4546
- })), Ut = class e extends C.Component {
4547
+ })), Gt = class e extends C.Component {
4547
4548
  static propTypes = {
4548
4549
  onToggle: O.default.func,
4549
4550
  toggled: O.default.bool,
@@ -4562,8 +4563,8 @@ var Nt = Mt(i, "Readable") || Mt(Ft.Readable, "Readable"), Y = c, Pt = Y.default
4562
4563
  constructor(t) {
4563
4564
  super(t), this.state = { show: t.show }, this.openIconRef = C.createRef(), this.closedIconRef = C.createRef(), e.defaultProps = {
4564
4565
  ...e.defaultProps,
4565
- showMessage: It.t("common:showCorrectAnswer", { lng: t.language }),
4566
- hideMessage: It.t("common:hideCorrectAnswer", { lng: t.language })
4566
+ showMessage: Rt.t("common:showCorrectAnswer", { lng: t.language }),
4567
+ hideMessage: Rt.t("common:hideCorrectAnswer", { lng: t.language })
4567
4568
  };
4568
4569
  }
4569
4570
  onClick() {
@@ -4575,20 +4576,20 @@ var Nt = Mt(i, "Readable") || Mt(Ft.Readable, "Readable"), Y = c, Pt = Y.default
4575
4576
  UNSAFE_componentWillReceiveProps(t) {
4576
4577
  this.setState({ show: t.show }), t.language !== this.props?.language && (e.defaultProps = {
4577
4578
  ...e.defaultProps,
4578
- showMessage: It.t("common:showCorrectAnswer", { lng: t.language }),
4579
- hideMessage: It.t("common:hideCorrectAnswer", { lng: t.language })
4579
+ showMessage: Rt.t("common:showCorrectAnswer", { lng: t.language }),
4580
+ hideMessage: Rt.t("common:hideCorrectAnswer", { lng: t.language })
4580
4581
  });
4581
4582
  }
4582
4583
  render() {
4583
4584
  let { className: e, toggled: t, hideMessage: n, showMessage: r } = this.props;
4584
- return /* @__PURE__ */ E(Rt, {
4585
+ return /* @__PURE__ */ E(Bt, {
4585
4586
  className: e,
4586
- children: /* @__PURE__ */ E(At, {
4587
+ children: /* @__PURE__ */ E(jt, {
4587
4588
  show: this.state.show,
4588
- children: /* @__PURE__ */ D(zt, {
4589
+ children: /* @__PURE__ */ D(Vt, {
4589
4590
  onClick: this.onClick.bind(this),
4590
4591
  onTouchEnd: this.onTouch.bind(this),
4591
- children: [/* @__PURE__ */ D(Ht, { children: [/* @__PURE__ */ E(x, {
4592
+ children: [/* @__PURE__ */ D(Wt, { children: [/* @__PURE__ */ E(d, {
4592
4593
  nodeRef: this.openIconRef,
4593
4594
  timeout: 400,
4594
4595
  in: t,
@@ -4599,11 +4600,11 @@ var Nt = Mt(i, "Readable") || Mt(Ft.Readable, "Readable"), Y = c, Pt = Y.default
4599
4600
  exit: "exit",
4600
4601
  exitActive: "exit-active"
4601
4602
  },
4602
- children: /* @__PURE__ */ E(Vt, {
4603
+ children: /* @__PURE__ */ E(Ut, {
4603
4604
  ref: this.openIconRef,
4604
- children: /* @__PURE__ */ E(ne, { open: t }, "correct-open")
4605
+ children: /* @__PURE__ */ E(ae, { open: t }, "correct-open")
4605
4606
  })
4606
- }), /* @__PURE__ */ E(x, {
4607
+ }), /* @__PURE__ */ E(d, {
4607
4608
  nodeRef: this.closedIconRef,
4608
4609
  timeout: 5e3,
4609
4610
  in: !t,
@@ -4614,13 +4615,13 @@ var Nt = Mt(i, "Readable") || Mt(Ft.Readable, "Readable"), Y = c, Pt = Y.default
4614
4615
  exit: "exit",
4615
4616
  exitActive: "exit-active"
4616
4617
  },
4617
- children: /* @__PURE__ */ E(Vt, {
4618
+ children: /* @__PURE__ */ E(Ut, {
4618
4619
  ref: this.closedIconRef,
4619
- children: /* @__PURE__ */ E(ne, { open: t }, "correct-closed")
4620
+ children: /* @__PURE__ */ E(ae, { open: t }, "correct-closed")
4620
4621
  })
4621
- })] }), /* @__PURE__ */ E(Nt, {
4622
+ })] }), /* @__PURE__ */ E(Pt, {
4622
4623
  false: !0,
4623
- children: /* @__PURE__ */ E(Bt, {
4624
+ children: /* @__PURE__ */ E(Ht, {
4624
4625
  "aria-hidden": !this.state.show,
4625
4626
  children: t ? n : r
4626
4627
  })
@@ -4629,25 +4630,25 @@ var Nt = Mt(i, "Readable") || Mt(Ft.Readable, "Readable"), Y = c, Pt = Y.default
4629
4630
  })
4630
4631
  });
4631
4632
  }
4632
- }, Wt = function() {
4633
+ }, Kt = function() {
4633
4634
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = document.createElement("div");
4634
4635
  return t.innerHTML = e.trim(), t;
4635
- }, Gt = function(e, t) {
4636
+ }, qt = function(e, t) {
4636
4637
  return t ? e.innerHTML : `${e.innerHTML}
4637
4638
 
4638
4639
  `;
4639
- }, Kt = function(e) {
4640
+ }, Jt = function(e) {
4640
4641
  var t = e.querySelectorAll("div[separator=true]"), n = "";
4641
4642
  return t.forEach(function(e, r) {
4642
- n += Gt(e, r === t.length - 1);
4643
+ n += qt(e, r === t.length - 1);
4643
4644
  }), n || null;
4644
- }, qt = function(e) {
4645
- var t = Wt(e), n = document.createElement("div");
4646
- return n.innerHTML = `<div separator='true'>${t.innerHTML}</div>`, t = n, Array.from(t.querySelectorAll("*")).length === 0 ? e : Kt(t);
4647
- }, Jt = (e) => {
4645
+ }, Yt = function(e) {
4646
+ var t = Kt(e), n = document.createElement("div");
4647
+ return n.innerHTML = `<div separator='true'>${t.innerHTML}</div>`, t = n, Array.from(t.querySelectorAll("*")).length === 0 ? e : Jt(t);
4648
+ }, Xt = (e) => {
4648
4649
  if (!e) return e;
4649
- let t = qt(e.text || ""), n = (e.tokens || []).reduce((n, r = {}) => {
4650
- let i = qt((e.text || "").slice(r.start, r.end));
4650
+ let t = Yt(e.text || ""), n = (e.tokens || []).reduce((n, r = {}) => {
4651
+ let i = Yt((e.text || "").slice(r.start, r.end));
4651
4652
  if (!i) return [...n, r];
4652
4653
  let a = (e) => {
4653
4654
  let n = e;
@@ -4675,41 +4676,47 @@ var Nt = Mt(i, "Readable") || Mt(Ft.Readable, "Readable"), Y = c, Pt = Y.default
4675
4676
  };
4676
4677
  //#endregion
4677
4678
  //#region src/delivery/main.tsx
4678
- function Yt(e) {
4679
+ function Y(e) {
4679
4680
  return typeof e == "function" || typeof e == "object" && !!e && typeof e.$$typeof == "symbol";
4680
4681
  }
4681
4682
  function X(e, t) {
4682
- return !e || Yt(e) ? e : Yt(e.default) ? e.default : t && Yt(e[t]) ? e[t] : t && Yt(e[t]?.default) ? e[t].default : e;
4683
+ return !e || Y(e) ? e : Y(e.default) ? e.default : t && Y(e[t]) ? e[t] : t && Y(e[t]?.default) ? e[t].default : e;
4683
4684
  }
4684
- var Xt = X(d, "UiLayout") || X(Q.UiLayout, "UiLayout"), Zt = X(u, "PreviewPrompt") || X(Q.PreviewPrompt, "PreviewPrompt"), Z = X(o, "Collapsible") || X(Q.Collapsible, "Collapsible"), Qt = X(f, "Feedback") || X(Q.Feedback, "Feedback"), $t = c, en = $t.default, Q = en && typeof en == "object" ? en : $t, tn = (0, I.default)("@pie-ui:select-text"), nn = a(Xt)({
4685
- color: _.text(),
4686
- backgroundColor: _.background()
4687
- }), rn = a(R)(({ theme: e }) => ({
4685
+ var Zt = X(p, "UiLayout") || X(tn.UiLayout, "UiLayout"), Z = X(f, "PreviewPrompt") || X(tn.PreviewPrompt, "PreviewPrompt"), Qt = X(u, "Collapsible") || X(tn.Collapsible, "Collapsible"), $t = X(s, "Feedback") || X(tn.Feedback, "Feedback"), en = _, Q = en.default, tn = Q && typeof Q == "object" ? Q : en, nn = (0, _e.default)("@pie-ui:select-text"), rn = h(Zt)({
4686
+ color: l.text(),
4687
+ backgroundColor: l.background()
4688
+ }), an = h(we)(({ theme: e }) => ({
4688
4689
  marginBottom: e.spacing(1),
4689
4690
  marginTop: e.spacing(2),
4690
4691
  whiteSpace: "normal"
4691
- })), an = a("div")(({ theme: e }) => ({
4692
+ })), on = h("div")(({ theme: e }) => ({
4692
4693
  verticalAlign: "middle",
4693
4694
  marginBottom: e.spacing(1)
4694
- })), on = a(Z)(({ theme: e }) => ({ marginBottom: e.spacing(2) })), sn = {
4695
+ })), sn = h(Qt)(({ theme: e }) => ({ marginBottom: e.spacing(2) })), cn = {
4695
4696
  model: O.default.object,
4696
4697
  session: O.default.object,
4697
4698
  onSelectionChange: O.default.func.isRequired
4698
- }, cn = class extends C.Component {
4699
- static propTypes = sn;
4699
+ }, ln = class extends C.Component {
4700
+ static propTypes = cn;
4700
4701
  static defaultProps = {};
4701
4702
  constructor(e) {
4702
4703
  super(e), this.state = {
4703
4704
  showCorrectAnswer: this.props.model.alwaysShowCorrect || !1,
4704
- model: Jt(e.model)
4705
+ model: Xt(e.model)
4705
4706
  };
4706
4707
  }
4707
4708
  UNSAFE_componentWillReceiveProps(e) {
4708
4709
  this.setState({
4709
4710
  showCorrectAnswer: !!e.model.alwaysShowCorrect,
4710
- model: Jt(e.model)
4711
+ model: Xt(e.model)
4711
4712
  });
4712
4713
  }
4714
+ componentDidMount() {
4715
+ o(T.findDOMNode(this));
4716
+ }
4717
+ componentDidUpdate() {
4718
+ o(T.findDOMNode(this));
4719
+ }
4713
4720
  toggleShowCorrect = () => {
4714
4721
  this.setState({ showCorrectAnswer: !this.state.showCorrectAnswer });
4715
4722
  };
@@ -4718,56 +4725,57 @@ var Xt = X(d, "UiLayout") || X(Q.UiLayout, "UiLayout"), Zt = X(u, "PreviewPrompt
4718
4725
  return e.tokens.filter((e) => e.correct);
4719
4726
  };
4720
4727
  render() {
4721
- let { session: e, onSelectionChange: t } = this.props, { showCorrectAnswer: n, model: r } = this.state, { env: i, extraCSSRules: a } = r, { mode: o } = i || {}, s = n ? this.correctAnswer() : e.selectedTokens, c = r.rationale && (S(r.rationale) || l(r.rationale)), u = r.teacherInstructions && (S(r.teacherInstructions) || l(r.teacherInstructions));
4722
- return tn("[render] selectedTokens:", s), /* @__PURE__ */ D(nn, {
4728
+ let { session: e, onSelectionChange: t } = this.props, { showCorrectAnswer: n, model: r } = this.state, { env: i, extraCSSRules: a } = r, { mode: o } = i || {}, s = n ? this.correctAnswer() : e.selectedTokens, c = r.rationale && (g(r.rationale) || v(r.rationale)), l = r.teacherInstructions && (g(r.teacherInstructions) || v(r.teacherInstructions));
4729
+ return nn("[render] selectedTokens:", s), /* @__PURE__ */ D(rn, {
4723
4730
  extraCSSRules: a,
4724
4731
  children: [
4725
- u && (r.animationsDisabled ? /* @__PURE__ */ E(an, { children: /* @__PURE__ */ E(Zt, { prompt: r.teacherInstructions }) }) : /* @__PURE__ */ E(on, {
4732
+ l && (r.animationsDisabled ? /* @__PURE__ */ E(on, { children: /* @__PURE__ */ E(Z, { prompt: r.teacherInstructions }) }) : /* @__PURE__ */ E(sn, {
4726
4733
  labels: {
4727
4734
  hidden: "Show Teacher Instructions",
4728
4735
  visible: "Hide Teacher Instructions"
4729
4736
  },
4730
- children: /* @__PURE__ */ E(Zt, { prompt: r.teacherInstructions })
4737
+ children: /* @__PURE__ */ E(Z, { prompt: r.teacherInstructions })
4731
4738
  })),
4732
- /* @__PURE__ */ E(an, { children: /* @__PURE__ */ E(Zt, { prompt: r.prompt }) }),
4733
- !r.alwaysShowCorrect && /* @__PURE__ */ E(Ut, {
4739
+ /* @__PURE__ */ E(on, { children: /* @__PURE__ */ E(Z, { prompt: r.prompt }) }),
4740
+ !r.alwaysShowCorrect && /* @__PURE__ */ E(Gt, {
4734
4741
  show: r.disabled && r.incorrect,
4735
4742
  toggled: n,
4736
4743
  onToggle: this.toggleShowCorrect,
4737
4744
  language: r.language
4738
4745
  }),
4739
- /* @__PURE__ */ E(rn, {
4746
+ /* @__PURE__ */ E(an, {
4740
4747
  disabled: r.disabled,
4741
4748
  text: r.text,
4742
4749
  tokens: r.tokens,
4743
4750
  selectedTokens: s,
4744
4751
  onChange: (e) => {
4745
- t(e.map((e) => r.tokens.find(({ start: t, end: n }) => e.start === t && e.end === n) || e));
4752
+ let n = e.map((e) => r.tokens.find(({ start: t, end: n }) => e.start === t && e.end === n) || e);
4753
+ t(n);
4746
4754
  },
4747
4755
  highlightChoices: r.highlightChoices,
4748
4756
  maxNoOfSelections: r.maxSelections,
4749
4757
  animationsDisabled: r.animationsDisabled
4750
4758
  }),
4751
- o === "evaluate" && /* @__PURE__ */ E(Dt, {
4759
+ o === "evaluate" && /* @__PURE__ */ E(Ot, {
4752
4760
  language: r.language,
4753
4761
  showOnlyCorrect: n
4754
4762
  }),
4755
- c && (r.animationsDisabled ? /* @__PURE__ */ E(an, { children: /* @__PURE__ */ E(Zt, { prompt: r.rationale }) }) : /* @__PURE__ */ E(on, {
4763
+ c && (r.animationsDisabled ? /* @__PURE__ */ E(on, { children: /* @__PURE__ */ E(Z, { prompt: r.rationale }) }) : /* @__PURE__ */ E(sn, {
4756
4764
  labels: {
4757
4765
  hidden: "Show Rationale",
4758
4766
  visible: "Hide Rationale"
4759
4767
  },
4760
- children: /* @__PURE__ */ E(Zt, { prompt: r.rationale })
4768
+ children: /* @__PURE__ */ E(Z, { prompt: r.rationale })
4761
4769
  })),
4762
- r.correctness && r.feedback && !n && /* @__PURE__ */ E(Qt, {
4770
+ r.correctness && r.feedback && !n && /* @__PURE__ */ E($t, {
4763
4771
  correctness: r.correctness,
4764
4772
  feedback: r.feedback
4765
4773
  })
4766
4774
  ]
4767
4775
  });
4768
4776
  }
4769
- }, ln = class extends C.Component {
4770
- static propTypes = sn;
4777
+ }, un = class extends C.Component {
4778
+ static propTypes = cn;
4771
4779
  constructor(e) {
4772
4780
  super(e), this.state = {
4773
4781
  model: e.model,
@@ -4791,7 +4799,7 @@ var Xt = X(d, "UiLayout") || X(Q.UiLayout, "UiLayout"), Zt = X(u, "PreviewPrompt
4791
4799
  };
4792
4800
  render() {
4793
4801
  let { model: e, session: t } = this.state;
4794
- return /* @__PURE__ */ E(cn, {
4802
+ return /* @__PURE__ */ E(ln, {
4795
4803
  model: e,
4796
4804
  session: t,
4797
4805
  onSelectionChange: this.change
@@ -4799,6 +4807,6 @@ var Xt = X(d, "UiLayout") || X(Q.UiLayout, "UiLayout"), Zt = X(u, "PreviewPrompt
4799
4807
  }
4800
4808
  };
4801
4809
  //#endregion
4802
- export { Jt as n, ln as t };
4810
+ export { Xt as n, un as t };
4803
4811
 
4804
- //# sourceMappingURL=main-4aycOoI5.js.map
4812
+ //# sourceMappingURL=main-B3z36nHt.js.map