@milaboratories/miplots4 1.0.170 → 1.0.172

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 (131) hide show
  1. package/README.md +11 -6
  2. package/dist/_virtual/client.js +1 -1
  3. package/dist/_virtual/client2.js +2 -2
  4. package/dist/_virtual/index.js +1 -1
  5. package/dist/_virtual/index2.js +1 -1
  6. package/dist/_virtual/jsx-runtime.js +1 -1
  7. package/dist/_virtual/react-dom-client.development.js +5 -0
  8. package/dist/_virtual/react-dom-client.development.js.map +1 -0
  9. package/dist/_virtual/react-dom-client.production.js +5 -0
  10. package/dist/_virtual/react-dom-client.production.js.map +1 -0
  11. package/dist/_virtual/{react-dom-server-legacy.browser.production.min.js → react-dom-server-legacy.browser.production.js} +1 -1
  12. package/dist/_virtual/react-dom-server-legacy.browser.production.js.map +1 -0
  13. package/dist/_virtual/react-dom-server.browser.production.js +5 -0
  14. package/dist/_virtual/react-dom-server.browser.production.js.map +1 -0
  15. package/dist/_virtual/react-dom.production.js +5 -0
  16. package/dist/_virtual/react-dom.production.js.map +1 -0
  17. package/dist/_virtual/react-jsx-runtime.production.js +5 -0
  18. package/dist/_virtual/react-jsx-runtime.production.js.map +1 -0
  19. package/dist/_virtual/react.production.js +5 -0
  20. package/dist/_virtual/react.production.js.map +1 -0
  21. package/dist/_virtual/scheduler.production.js +5 -0
  22. package/dist/_virtual/scheduler.production.js.map +1 -0
  23. package/dist/_virtual/server.browser.js +1 -1
  24. package/dist/bubble/ChartRenderer.js +143 -146
  25. package/dist/bubble/ChartRenderer.js.map +1 -1
  26. package/dist/bubble/index.js.map +1 -1
  27. package/dist/common/ErrorBoundary.d.ts +1 -1
  28. package/dist/dendro/ChartRenderer.js +175 -174
  29. package/dist/dendro/ChartRenderer.js.map +1 -1
  30. package/dist/dendro/index.js.map +1 -1
  31. package/dist/discrete/index.js.map +1 -1
  32. package/dist/heatmap/index.js.map +1 -1
  33. package/dist/histogram/index.js.map +1 -1
  34. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.development.js +17062 -0
  35. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.development.js.map +1 -0
  36. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.production.js +9790 -0
  37. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.production.js.map +1 -0
  38. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +6245 -0
  39. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js.map +1 -0
  40. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +4106 -0
  41. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js.map +1 -0
  42. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-server.browser.development.js +6763 -0
  43. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-server.browser.development.js.map +1 -0
  44. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-server.browser.production.js +4655 -0
  45. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-server.browser.production.js.map +1 -0
  46. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom.development.js +228 -0
  47. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom.development.js.map +1 -0
  48. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom.production.js +148 -0
  49. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom.production.js.map +1 -0
  50. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/client.js +24 -0
  51. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/client.js.map +1 -0
  52. package/dist/node_modules/.pnpm/{react-dom@18.3.1_react@18.3.1 → react-dom@19.2.4_react@19.2.4}/node_modules/react-dom/index.js +1 -1
  53. package/dist/node_modules/.pnpm/{react-dom@18.3.1_react@18.3.1 → react-dom@19.2.4_react@19.2.4}/node_modules/react-dom/index.js.map +1 -1
  54. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/server.browser.js +16 -0
  55. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/server.browser.js.map +1 -0
  56. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.development.js +246 -0
  57. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
  58. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.production.js +36 -0
  59. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.production.js.map +1 -0
  60. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react.development.js +865 -0
  61. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react.development.js.map +1 -0
  62. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react.production.js +373 -0
  63. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react.production.js.map +1 -0
  64. package/dist/node_modules/.pnpm/{react@18.3.1 → react@19.2.4}/node_modules/react/index.js +1 -1
  65. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/index.js.map +1 -0
  66. package/dist/node_modules/.pnpm/{react@18.3.1 → react@19.2.4}/node_modules/react/jsx-runtime.js +3 -3
  67. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-runtime.js.map +1 -0
  68. package/dist/node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.development.js +237 -0
  69. package/dist/node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.development.js.map +1 -0
  70. package/dist/node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js +234 -0
  71. package/dist/node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js.map +1 -0
  72. package/dist/node_modules/.pnpm/{scheduler@0.23.2 → scheduler@0.27.0}/node_modules/scheduler/index.js +1 -1
  73. package/dist/node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/index.js.map +1 -0
  74. package/dist/scatterplot/ChartRenderer.js +149 -152
  75. package/dist/scatterplot/ChartRenderer.js.map +1 -1
  76. package/dist/scatterplot/index.js.map +1 -1
  77. package/dist/scatterplot-umap/ChartRenderer.js +152 -155
  78. package/dist/scatterplot-umap/ChartRenderer.js.map +1 -1
  79. package/dist/utils/arrangeLegendParts.js +35 -35
  80. package/dist/utils/arrangeLegendParts.js.map +1 -1
  81. package/dist/utils/getContinuousLegendTicks.js +5 -8
  82. package/dist/utils/getContinuousLegendTicks.js.map +1 -1
  83. package/dist/utils/getSizeLegendItem.d.ts +3 -0
  84. package/dist/utils/getSizeLegendItem.js +15 -0
  85. package/dist/utils/getSizeLegendItem.js.map +1 -0
  86. package/dist/utils/numberFormat.d.ts +1 -0
  87. package/dist/utils/numberFormat.js +9 -4
  88. package/dist/utils/numberFormat.js.map +1 -1
  89. package/package.json +7 -5
  90. package/dist/_virtual/react-dom-server-legacy.browser.production.min.js.map +0 -1
  91. package/dist/_virtual/react-dom-server.browser.production.min.js +0 -5
  92. package/dist/_virtual/react-dom-server.browser.production.min.js.map +0 -1
  93. package/dist/_virtual/react-dom.production.min.js +0 -5
  94. package/dist/_virtual/react-dom.production.min.js.map +0 -1
  95. package/dist/_virtual/react-jsx-runtime.production.min.js +0 -5
  96. package/dist/_virtual/react-jsx-runtime.production.min.js.map +0 -1
  97. package/dist/_virtual/react.production.min.js +0 -5
  98. package/dist/_virtual/react.production.min.js.map +0 -1
  99. package/dist/_virtual/scheduler.production.min.js +0 -5
  100. package/dist/_virtual/scheduler.production.min.js.map +0 -1
  101. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +0 -3622
  102. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js.map +0 -1
  103. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +0 -1235
  104. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js.map +0 -1
  105. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -3601
  106. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.browser.development.js.map +0 -1
  107. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +0 -1256
  108. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js.map +0 -1
  109. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.development.js +0 -13457
  110. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.development.js.map +0 -1
  111. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js +0 -5177
  112. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js.map +0 -1
  113. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js +0 -33
  114. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js.map +0 -1
  115. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/server.browser.js +0 -16
  116. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/server.browser.js.map +0 -1
  117. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js +0 -605
  118. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
  119. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -29
  120. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +0 -1
  121. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.development.js +0 -1274
  122. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.development.js.map +0 -1
  123. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.production.min.js +0 -209
  124. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.production.min.js.map +0 -1
  125. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js.map +0 -1
  126. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js.map +0 -1
  127. package/dist/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.development.js +0 -278
  128. package/dist/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.development.js.map +0 -1
  129. package/dist/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.production.min.js +0 -214
  130. package/dist/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.production.min.js.map +0 -1
  131. package/dist/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/index.js.map +0 -1
@@ -1,3601 +0,0 @@
1
- import { __exports as Ge } from "../../../../../../_virtual/react-dom-server.browser.development.js";
2
- import { __require as $l } from "../../../../react@18.3.1/node_modules/react/index.js";
3
- /**
4
- * @license React
5
- * react-dom-server.browser.development.js
6
- *
7
- * Copyright (c) Facebook, Inc. and its affiliates.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */
12
- var Zn;
13
- function Xl() {
14
- return Zn ? Ge : (Zn = 1, process.env.NODE_ENV !== "production" && (function() {
15
- var Xt = $l(), Jn = "18.3.1", ee = Xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
16
- function Qn(e) {
17
- {
18
- for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
19
- r[n - 1] = arguments[n];
20
- Zt("warn", e, r);
21
- }
22
- }
23
- function s(e) {
24
- {
25
- for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
26
- r[n - 1] = arguments[n];
27
- Zt("error", e, r);
28
- }
29
- }
30
- function Zt(e, t, r) {
31
- {
32
- var n = ee.ReactDebugCurrentFrame, a = n.getStackAddendum();
33
- a !== "" && (t += "%s", r = r.concat([a]));
34
- var o = r.map(function(i) {
35
- return String(i);
36
- });
37
- o.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, o);
38
- }
39
- }
40
- function Jt(e) {
41
- e();
42
- }
43
- var me = 512, A = null, D = 0;
44
- function Qt(e) {
45
- A = new Uint8Array(me), D = 0;
46
- }
47
- function d(e, t) {
48
- if (t.length !== 0) {
49
- if (t.length > me) {
50
- D > 0 && (e.enqueue(new Uint8Array(A.buffer, 0, D)), A = new Uint8Array(me), D = 0), e.enqueue(t);
51
- return;
52
- }
53
- var r = t, n = A.length - D;
54
- n < r.length && (n === 0 ? e.enqueue(A) : (A.set(r.subarray(0, n), D), e.enqueue(A), r = r.subarray(n)), A = new Uint8Array(me), D = 0), A.set(r, D), D += r.length;
55
- }
56
- }
57
- function m(e, t) {
58
- return d(e, t), !0;
59
- }
60
- function Kt(e) {
61
- A && D > 0 && (e.enqueue(new Uint8Array(A.buffer, 0, D)), A = null, D = 0);
62
- }
63
- function qt(e) {
64
- e.close();
65
- }
66
- var er = new TextEncoder();
67
- function v(e) {
68
- return er.encode(e);
69
- }
70
- function c(e) {
71
- return er.encode(e);
72
- }
73
- function tr(e, t) {
74
- typeof e.error == "function" ? e.error(t) : e.close();
75
- }
76
- function $e(e) {
77
- {
78
- var t = typeof Symbol == "function" && Symbol.toStringTag, r = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
79
- return r;
80
- }
81
- }
82
- function Ve(e) {
83
- try {
84
- return ye(e), !1;
85
- } catch {
86
- return !0;
87
- }
88
- }
89
- function ye(e) {
90
- return "" + e;
91
- }
92
- function te(e, t) {
93
- if (Ve(e))
94
- return s("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.", t, $e(e)), ye(e);
95
- }
96
- function rr(e, t) {
97
- if (Ve(e))
98
- return s("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.", t, $e(e)), ye(e);
99
- }
100
- function $(e) {
101
- if (Ve(e))
102
- return s("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.", $e(e)), ye(e);
103
- }
104
- var w = Object.prototype.hasOwnProperty, Ne = 0, j = 1, Xe = 2, re = 3, Ze = 4, nr = 5, ar = 6, or = ":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", ne = or + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", Kn = new RegExp("^[" + or + "][" + ne + "]*$"), ir = {}, lr = {};
105
- function sr(e) {
106
- return w.call(lr, e) ? !0 : w.call(ir, e) ? !1 : Kn.test(e) ? (lr[e] = !0, !0) : (ir[e] = !0, s("Invalid attribute name: `%s`", e), !1);
107
- }
108
- function ur(e, t, r, n) {
109
- if (r !== null && r.type === Ne)
110
- return !1;
111
- switch (typeof t) {
112
- case "function":
113
- // $FlowIssue symbol is perfectly valid here
114
- case "symbol":
115
- return !0;
116
- case "boolean": {
117
- if (r !== null)
118
- return !r.acceptsBooleans;
119
- var a = e.toLowerCase().slice(0, 5);
120
- return a !== "data-" && a !== "aria-";
121
- }
122
- default:
123
- return !1;
124
- }
125
- }
126
- function cr(e) {
127
- return x.hasOwnProperty(e) ? x[e] : null;
128
- }
129
- function T(e, t, r, n, a, o, i) {
130
- this.acceptsBooleans = t === Xe || t === re || t === Ze, this.attributeName = n, this.attributeNamespace = a, this.mustUseProperty = r, this.propertyName = e, this.type = t, this.sanitizeURL = o, this.removeEmptyString = i;
131
- }
132
- var x = {}, qn = [
133
- "children",
134
- "dangerouslySetInnerHTML",
135
- // TODO: This prevents the assignment of defaultValue to regular
136
- // elements (not just inputs). Now that ReactDOMInput assigns to the
137
- // defaultValue property -- do we need this?
138
- "defaultValue",
139
- "defaultChecked",
140
- "innerHTML",
141
- "suppressContentEditableWarning",
142
- "suppressHydrationWarning",
143
- "style"
144
- ];
145
- qn.forEach(function(e) {
146
- x[e] = new T(
147
- e,
148
- Ne,
149
- !1,
150
- // mustUseProperty
151
- e,
152
- // attributeName
153
- null,
154
- // attributeNamespace
155
- !1,
156
- // sanitizeURL
157
- !1
158
- );
159
- }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(e) {
160
- var t = e[0], r = e[1];
161
- x[t] = new T(
162
- t,
163
- j,
164
- !1,
165
- // mustUseProperty
166
- r,
167
- // attributeName
168
- null,
169
- // attributeNamespace
170
- !1,
171
- // sanitizeURL
172
- !1
173
- );
174
- }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(e) {
175
- x[e] = new T(
176
- e,
177
- Xe,
178
- !1,
179
- // mustUseProperty
180
- e.toLowerCase(),
181
- // attributeName
182
- null,
183
- // attributeNamespace
184
- !1,
185
- // sanitizeURL
186
- !1
187
- );
188
- }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(e) {
189
- x[e] = new T(
190
- e,
191
- Xe,
192
- !1,
193
- // mustUseProperty
194
- e,
195
- // attributeName
196
- null,
197
- // attributeNamespace
198
- !1,
199
- // sanitizeURL
200
- !1
201
- );
202
- }), [
203
- "allowFullScreen",
204
- "async",
205
- // Note: there is a special case that prevents it from being written to the DOM
206
- // on the client side because the browsers are inconsistent. Instead we call focus().
207
- "autoFocus",
208
- "autoPlay",
209
- "controls",
210
- "default",
211
- "defer",
212
- "disabled",
213
- "disablePictureInPicture",
214
- "disableRemotePlayback",
215
- "formNoValidate",
216
- "hidden",
217
- "loop",
218
- "noModule",
219
- "noValidate",
220
- "open",
221
- "playsInline",
222
- "readOnly",
223
- "required",
224
- "reversed",
225
- "scoped",
226
- "seamless",
227
- // Microdata
228
- "itemScope"
229
- ].forEach(function(e) {
230
- x[e] = new T(
231
- e,
232
- re,
233
- !1,
234
- // mustUseProperty
235
- e.toLowerCase(),
236
- // attributeName
237
- null,
238
- // attributeNamespace
239
- !1,
240
- // sanitizeURL
241
- !1
242
- );
243
- }), [
244
- "checked",
245
- // Note: `option.selected` is not updated if `select.multiple` is
246
- // disabled with `removeAttribute`. We have special logic for handling this.
247
- "multiple",
248
- "muted",
249
- "selected"
250
- // NOTE: if you add a camelCased prop to this list,
251
- // you'll need to set attributeName to name.toLowerCase()
252
- // instead in the assignment below.
253
- ].forEach(function(e) {
254
- x[e] = new T(
255
- e,
256
- re,
257
- !0,
258
- // mustUseProperty
259
- e,
260
- // attributeName
261
- null,
262
- // attributeNamespace
263
- !1,
264
- // sanitizeURL
265
- !1
266
- );
267
- }), [
268
- "capture",
269
- "download"
270
- // NOTE: if you add a camelCased prop to this list,
271
- // you'll need to set attributeName to name.toLowerCase()
272
- // instead in the assignment below.
273
- ].forEach(function(e) {
274
- x[e] = new T(
275
- e,
276
- Ze,
277
- !1,
278
- // mustUseProperty
279
- e,
280
- // attributeName
281
- null,
282
- // attributeNamespace
283
- !1,
284
- // sanitizeURL
285
- !1
286
- );
287
- }), [
288
- "cols",
289
- "rows",
290
- "size",
291
- "span"
292
- // NOTE: if you add a camelCased prop to this list,
293
- // you'll need to set attributeName to name.toLowerCase()
294
- // instead in the assignment below.
295
- ].forEach(function(e) {
296
- x[e] = new T(
297
- e,
298
- ar,
299
- !1,
300
- // mustUseProperty
301
- e,
302
- // attributeName
303
- null,
304
- // attributeNamespace
305
- !1,
306
- // sanitizeURL
307
- !1
308
- );
309
- }), ["rowSpan", "start"].forEach(function(e) {
310
- x[e] = new T(
311
- e,
312
- nr,
313
- !1,
314
- // mustUseProperty
315
- e.toLowerCase(),
316
- // attributeName
317
- null,
318
- // attributeNamespace
319
- !1,
320
- // sanitizeURL
321
- !1
322
- );
323
- });
324
- var Je = /[\-\:]([a-z])/g, Qe = function(e) {
325
- return e[1].toUpperCase();
326
- };
327
- [
328
- "accent-height",
329
- "alignment-baseline",
330
- "arabic-form",
331
- "baseline-shift",
332
- "cap-height",
333
- "clip-path",
334
- "clip-rule",
335
- "color-interpolation",
336
- "color-interpolation-filters",
337
- "color-profile",
338
- "color-rendering",
339
- "dominant-baseline",
340
- "enable-background",
341
- "fill-opacity",
342
- "fill-rule",
343
- "flood-color",
344
- "flood-opacity",
345
- "font-family",
346
- "font-size",
347
- "font-size-adjust",
348
- "font-stretch",
349
- "font-style",
350
- "font-variant",
351
- "font-weight",
352
- "glyph-name",
353
- "glyph-orientation-horizontal",
354
- "glyph-orientation-vertical",
355
- "horiz-adv-x",
356
- "horiz-origin-x",
357
- "image-rendering",
358
- "letter-spacing",
359
- "lighting-color",
360
- "marker-end",
361
- "marker-mid",
362
- "marker-start",
363
- "overline-position",
364
- "overline-thickness",
365
- "paint-order",
366
- "panose-1",
367
- "pointer-events",
368
- "rendering-intent",
369
- "shape-rendering",
370
- "stop-color",
371
- "stop-opacity",
372
- "strikethrough-position",
373
- "strikethrough-thickness",
374
- "stroke-dasharray",
375
- "stroke-dashoffset",
376
- "stroke-linecap",
377
- "stroke-linejoin",
378
- "stroke-miterlimit",
379
- "stroke-opacity",
380
- "stroke-width",
381
- "text-anchor",
382
- "text-decoration",
383
- "text-rendering",
384
- "underline-position",
385
- "underline-thickness",
386
- "unicode-bidi",
387
- "unicode-range",
388
- "units-per-em",
389
- "v-alphabetic",
390
- "v-hanging",
391
- "v-ideographic",
392
- "v-mathematical",
393
- "vector-effect",
394
- "vert-adv-y",
395
- "vert-origin-x",
396
- "vert-origin-y",
397
- "word-spacing",
398
- "writing-mode",
399
- "xmlns:xlink",
400
- "x-height"
401
- // NOTE: if you add a camelCased prop to this list,
402
- // you'll need to set attributeName to name.toLowerCase()
403
- // instead in the assignment below.
404
- ].forEach(function(e) {
405
- var t = e.replace(Je, Qe);
406
- x[t] = new T(
407
- t,
408
- j,
409
- !1,
410
- // mustUseProperty
411
- e,
412
- null,
413
- // attributeNamespace
414
- !1,
415
- // sanitizeURL
416
- !1
417
- );
418
- }), [
419
- "xlink:actuate",
420
- "xlink:arcrole",
421
- "xlink:role",
422
- "xlink:show",
423
- "xlink:title",
424
- "xlink:type"
425
- // NOTE: if you add a camelCased prop to this list,
426
- // you'll need to set attributeName to name.toLowerCase()
427
- // instead in the assignment below.
428
- ].forEach(function(e) {
429
- var t = e.replace(Je, Qe);
430
- x[t] = new T(
431
- t,
432
- j,
433
- !1,
434
- // mustUseProperty
435
- e,
436
- "http://www.w3.org/1999/xlink",
437
- !1,
438
- // sanitizeURL
439
- !1
440
- );
441
- }), [
442
- "xml:base",
443
- "xml:lang",
444
- "xml:space"
445
- // NOTE: if you add a camelCased prop to this list,
446
- // you'll need to set attributeName to name.toLowerCase()
447
- // instead in the assignment below.
448
- ].forEach(function(e) {
449
- var t = e.replace(Je, Qe);
450
- x[t] = new T(
451
- t,
452
- j,
453
- !1,
454
- // mustUseProperty
455
- e,
456
- "http://www.w3.org/XML/1998/namespace",
457
- !1,
458
- // sanitizeURL
459
- !1
460
- );
461
- }), ["tabIndex", "crossOrigin"].forEach(function(e) {
462
- x[e] = new T(
463
- e,
464
- j,
465
- !1,
466
- // mustUseProperty
467
- e.toLowerCase(),
468
- // attributeName
469
- null,
470
- // attributeNamespace
471
- !1,
472
- // sanitizeURL
473
- !1
474
- );
475
- });
476
- var ea = "xlinkHref";
477
- x[ea] = new T(
478
- "xlinkHref",
479
- j,
480
- !1,
481
- // mustUseProperty
482
- "xlink:href",
483
- "http://www.w3.org/1999/xlink",
484
- !0,
485
- // sanitizeURL
486
- !1
487
- ), ["src", "href", "action", "formAction"].forEach(function(e) {
488
- x[e] = new T(
489
- e,
490
- j,
491
- !1,
492
- // mustUseProperty
493
- e.toLowerCase(),
494
- // attributeName
495
- null,
496
- // attributeNamespace
497
- !0,
498
- // sanitizeURL
499
- !0
500
- );
501
- });
502
- var be = {
503
- animationIterationCount: !0,
504
- aspectRatio: !0,
505
- borderImageOutset: !0,
506
- borderImageSlice: !0,
507
- borderImageWidth: !0,
508
- boxFlex: !0,
509
- boxFlexGroup: !0,
510
- boxOrdinalGroup: !0,
511
- columnCount: !0,
512
- columns: !0,
513
- flex: !0,
514
- flexGrow: !0,
515
- flexPositive: !0,
516
- flexShrink: !0,
517
- flexNegative: !0,
518
- flexOrder: !0,
519
- gridArea: !0,
520
- gridRow: !0,
521
- gridRowEnd: !0,
522
- gridRowSpan: !0,
523
- gridRowStart: !0,
524
- gridColumn: !0,
525
- gridColumnEnd: !0,
526
- gridColumnSpan: !0,
527
- gridColumnStart: !0,
528
- fontWeight: !0,
529
- lineClamp: !0,
530
- lineHeight: !0,
531
- opacity: !0,
532
- order: !0,
533
- orphans: !0,
534
- tabSize: !0,
535
- widows: !0,
536
- zIndex: !0,
537
- zoom: !0,
538
- // SVG-related properties
539
- fillOpacity: !0,
540
- floodOpacity: !0,
541
- stopOpacity: !0,
542
- strokeDasharray: !0,
543
- strokeDashoffset: !0,
544
- strokeMiterlimit: !0,
545
- strokeOpacity: !0,
546
- strokeWidth: !0
547
- };
548
- function ta(e, t) {
549
- return e + t.charAt(0).toUpperCase() + t.substring(1);
550
- }
551
- var ra = ["Webkit", "ms", "Moz", "O"];
552
- Object.keys(be).forEach(function(e) {
553
- ra.forEach(function(t) {
554
- be[ta(t, e)] = be[e];
555
- });
556
- });
557
- var na = {
558
- button: !0,
559
- checkbox: !0,
560
- image: !0,
561
- hidden: !0,
562
- radio: !0,
563
- reset: !0,
564
- submit: !0
565
- };
566
- function Ke(e, t) {
567
- na[t.type] || t.onChange || t.onInput || t.readOnly || t.disabled || t.value == null || s("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."), t.onChange || t.readOnly || t.disabled || t.checked == null || s("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.");
568
- }
569
- function fr(e, t) {
570
- if (e.indexOf("-") === -1)
571
- return typeof t.is == "string";
572
- switch (e) {
573
- // These are reserved SVG and MathML elements.
574
- // We don't mind this list too much because we expect it to never grow.
575
- // The alternative is to track the namespace in a few places which is convoluted.
576
- // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts
577
- case "annotation-xml":
578
- case "color-profile":
579
- case "font-face":
580
- case "font-face-src":
581
- case "font-face-uri":
582
- case "font-face-format":
583
- case "font-face-name":
584
- case "missing-glyph":
585
- return !1;
586
- default:
587
- return !0;
588
- }
589
- }
590
- var dr = {
591
- "aria-current": 0,
592
- // state
593
- "aria-description": 0,
594
- "aria-details": 0,
595
- "aria-disabled": 0,
596
- // state
597
- "aria-hidden": 0,
598
- // state
599
- "aria-invalid": 0,
600
- // state
601
- "aria-keyshortcuts": 0,
602
- "aria-label": 0,
603
- "aria-roledescription": 0,
604
- // Widget Attributes
605
- "aria-autocomplete": 0,
606
- "aria-checked": 0,
607
- "aria-expanded": 0,
608
- "aria-haspopup": 0,
609
- "aria-level": 0,
610
- "aria-modal": 0,
611
- "aria-multiline": 0,
612
- "aria-multiselectable": 0,
613
- "aria-orientation": 0,
614
- "aria-placeholder": 0,
615
- "aria-pressed": 0,
616
- "aria-readonly": 0,
617
- "aria-required": 0,
618
- "aria-selected": 0,
619
- "aria-sort": 0,
620
- "aria-valuemax": 0,
621
- "aria-valuemin": 0,
622
- "aria-valuenow": 0,
623
- "aria-valuetext": 0,
624
- // Live Region Attributes
625
- "aria-atomic": 0,
626
- "aria-busy": 0,
627
- "aria-live": 0,
628
- "aria-relevant": 0,
629
- // Drag-and-Drop Attributes
630
- "aria-dropeffect": 0,
631
- "aria-grabbed": 0,
632
- // Relationship Attributes
633
- "aria-activedescendant": 0,
634
- "aria-colcount": 0,
635
- "aria-colindex": 0,
636
- "aria-colspan": 0,
637
- "aria-controls": 0,
638
- "aria-describedby": 0,
639
- "aria-errormessage": 0,
640
- "aria-flowto": 0,
641
- "aria-labelledby": 0,
642
- "aria-owns": 0,
643
- "aria-posinset": 0,
644
- "aria-rowcount": 0,
645
- "aria-rowindex": 0,
646
- "aria-rowspan": 0,
647
- "aria-setsize": 0
648
- }, V = {}, aa = new RegExp("^(aria)-[" + ne + "]*$"), oa = new RegExp("^(aria)[A-Z][" + ne + "]*$");
649
- function ia(e, t) {
650
- {
651
- if (w.call(V, t) && V[t])
652
- return !0;
653
- if (oa.test(t)) {
654
- var r = "aria-" + t.slice(4).toLowerCase(), n = dr.hasOwnProperty(r) ? r : null;
655
- if (n == null)
656
- return s("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.", t), V[t] = !0, !0;
657
- if (t !== n)
658
- return s("Invalid ARIA attribute `%s`. Did you mean `%s`?", t, n), V[t] = !0, !0;
659
- }
660
- if (aa.test(t)) {
661
- var a = t.toLowerCase(), o = dr.hasOwnProperty(a) ? a : null;
662
- if (o == null)
663
- return V[t] = !0, !1;
664
- if (t !== o)
665
- return s("Unknown ARIA attribute `%s`. Did you mean `%s`?", t, o), V[t] = !0, !0;
666
- }
667
- }
668
- return !0;
669
- }
670
- function la(e, t) {
671
- {
672
- var r = [];
673
- for (var n in t) {
674
- var a = ia(e, n);
675
- a || r.push(n);
676
- }
677
- var o = r.map(function(i) {
678
- return "`" + i + "`";
679
- }).join(", ");
680
- r.length === 1 ? s("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props", o, e) : r.length > 1 && s("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props", o, e);
681
- }
682
- }
683
- function sa(e, t) {
684
- fr(e, t) || la(e, t);
685
- }
686
- var hr = !1;
687
- function ua(e, t) {
688
- {
689
- if (e !== "input" && e !== "textarea" && e !== "select")
690
- return;
691
- t != null && t.value === null && !hr && (hr = !0, e === "select" && t.multiple ? s("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.", e) : s("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.", e));
692
- }
693
- }
694
- var pr = {
695
- // HTML
696
- accept: "accept",
697
- acceptcharset: "acceptCharset",
698
- "accept-charset": "acceptCharset",
699
- accesskey: "accessKey",
700
- action: "action",
701
- allowfullscreen: "allowFullScreen",
702
- alt: "alt",
703
- as: "as",
704
- async: "async",
705
- autocapitalize: "autoCapitalize",
706
- autocomplete: "autoComplete",
707
- autocorrect: "autoCorrect",
708
- autofocus: "autoFocus",
709
- autoplay: "autoPlay",
710
- autosave: "autoSave",
711
- capture: "capture",
712
- cellpadding: "cellPadding",
713
- cellspacing: "cellSpacing",
714
- challenge: "challenge",
715
- charset: "charSet",
716
- checked: "checked",
717
- children: "children",
718
- cite: "cite",
719
- class: "className",
720
- classid: "classID",
721
- classname: "className",
722
- cols: "cols",
723
- colspan: "colSpan",
724
- content: "content",
725
- contenteditable: "contentEditable",
726
- contextmenu: "contextMenu",
727
- controls: "controls",
728
- controlslist: "controlsList",
729
- coords: "coords",
730
- crossorigin: "crossOrigin",
731
- dangerouslysetinnerhtml: "dangerouslySetInnerHTML",
732
- data: "data",
733
- datetime: "dateTime",
734
- default: "default",
735
- defaultchecked: "defaultChecked",
736
- defaultvalue: "defaultValue",
737
- defer: "defer",
738
- dir: "dir",
739
- disabled: "disabled",
740
- disablepictureinpicture: "disablePictureInPicture",
741
- disableremoteplayback: "disableRemotePlayback",
742
- download: "download",
743
- draggable: "draggable",
744
- enctype: "encType",
745
- enterkeyhint: "enterKeyHint",
746
- for: "htmlFor",
747
- form: "form",
748
- formmethod: "formMethod",
749
- formaction: "formAction",
750
- formenctype: "formEncType",
751
- formnovalidate: "formNoValidate",
752
- formtarget: "formTarget",
753
- frameborder: "frameBorder",
754
- headers: "headers",
755
- height: "height",
756
- hidden: "hidden",
757
- high: "high",
758
- href: "href",
759
- hreflang: "hrefLang",
760
- htmlfor: "htmlFor",
761
- httpequiv: "httpEquiv",
762
- "http-equiv": "httpEquiv",
763
- icon: "icon",
764
- id: "id",
765
- imagesizes: "imageSizes",
766
- imagesrcset: "imageSrcSet",
767
- innerhtml: "innerHTML",
768
- inputmode: "inputMode",
769
- integrity: "integrity",
770
- is: "is",
771
- itemid: "itemID",
772
- itemprop: "itemProp",
773
- itemref: "itemRef",
774
- itemscope: "itemScope",
775
- itemtype: "itemType",
776
- keyparams: "keyParams",
777
- keytype: "keyType",
778
- kind: "kind",
779
- label: "label",
780
- lang: "lang",
781
- list: "list",
782
- loop: "loop",
783
- low: "low",
784
- manifest: "manifest",
785
- marginwidth: "marginWidth",
786
- marginheight: "marginHeight",
787
- max: "max",
788
- maxlength: "maxLength",
789
- media: "media",
790
- mediagroup: "mediaGroup",
791
- method: "method",
792
- min: "min",
793
- minlength: "minLength",
794
- multiple: "multiple",
795
- muted: "muted",
796
- name: "name",
797
- nomodule: "noModule",
798
- nonce: "nonce",
799
- novalidate: "noValidate",
800
- open: "open",
801
- optimum: "optimum",
802
- pattern: "pattern",
803
- placeholder: "placeholder",
804
- playsinline: "playsInline",
805
- poster: "poster",
806
- preload: "preload",
807
- profile: "profile",
808
- radiogroup: "radioGroup",
809
- readonly: "readOnly",
810
- referrerpolicy: "referrerPolicy",
811
- rel: "rel",
812
- required: "required",
813
- reversed: "reversed",
814
- role: "role",
815
- rows: "rows",
816
- rowspan: "rowSpan",
817
- sandbox: "sandbox",
818
- scope: "scope",
819
- scoped: "scoped",
820
- scrolling: "scrolling",
821
- seamless: "seamless",
822
- selected: "selected",
823
- shape: "shape",
824
- size: "size",
825
- sizes: "sizes",
826
- span: "span",
827
- spellcheck: "spellCheck",
828
- src: "src",
829
- srcdoc: "srcDoc",
830
- srclang: "srcLang",
831
- srcset: "srcSet",
832
- start: "start",
833
- step: "step",
834
- style: "style",
835
- summary: "summary",
836
- tabindex: "tabIndex",
837
- target: "target",
838
- title: "title",
839
- type: "type",
840
- usemap: "useMap",
841
- value: "value",
842
- width: "width",
843
- wmode: "wmode",
844
- wrap: "wrap",
845
- // SVG
846
- about: "about",
847
- accentheight: "accentHeight",
848
- "accent-height": "accentHeight",
849
- accumulate: "accumulate",
850
- additive: "additive",
851
- alignmentbaseline: "alignmentBaseline",
852
- "alignment-baseline": "alignmentBaseline",
853
- allowreorder: "allowReorder",
854
- alphabetic: "alphabetic",
855
- amplitude: "amplitude",
856
- arabicform: "arabicForm",
857
- "arabic-form": "arabicForm",
858
- ascent: "ascent",
859
- attributename: "attributeName",
860
- attributetype: "attributeType",
861
- autoreverse: "autoReverse",
862
- azimuth: "azimuth",
863
- basefrequency: "baseFrequency",
864
- baselineshift: "baselineShift",
865
- "baseline-shift": "baselineShift",
866
- baseprofile: "baseProfile",
867
- bbox: "bbox",
868
- begin: "begin",
869
- bias: "bias",
870
- by: "by",
871
- calcmode: "calcMode",
872
- capheight: "capHeight",
873
- "cap-height": "capHeight",
874
- clip: "clip",
875
- clippath: "clipPath",
876
- "clip-path": "clipPath",
877
- clippathunits: "clipPathUnits",
878
- cliprule: "clipRule",
879
- "clip-rule": "clipRule",
880
- color: "color",
881
- colorinterpolation: "colorInterpolation",
882
- "color-interpolation": "colorInterpolation",
883
- colorinterpolationfilters: "colorInterpolationFilters",
884
- "color-interpolation-filters": "colorInterpolationFilters",
885
- colorprofile: "colorProfile",
886
- "color-profile": "colorProfile",
887
- colorrendering: "colorRendering",
888
- "color-rendering": "colorRendering",
889
- contentscripttype: "contentScriptType",
890
- contentstyletype: "contentStyleType",
891
- cursor: "cursor",
892
- cx: "cx",
893
- cy: "cy",
894
- d: "d",
895
- datatype: "datatype",
896
- decelerate: "decelerate",
897
- descent: "descent",
898
- diffuseconstant: "diffuseConstant",
899
- direction: "direction",
900
- display: "display",
901
- divisor: "divisor",
902
- dominantbaseline: "dominantBaseline",
903
- "dominant-baseline": "dominantBaseline",
904
- dur: "dur",
905
- dx: "dx",
906
- dy: "dy",
907
- edgemode: "edgeMode",
908
- elevation: "elevation",
909
- enablebackground: "enableBackground",
910
- "enable-background": "enableBackground",
911
- end: "end",
912
- exponent: "exponent",
913
- externalresourcesrequired: "externalResourcesRequired",
914
- fill: "fill",
915
- fillopacity: "fillOpacity",
916
- "fill-opacity": "fillOpacity",
917
- fillrule: "fillRule",
918
- "fill-rule": "fillRule",
919
- filter: "filter",
920
- filterres: "filterRes",
921
- filterunits: "filterUnits",
922
- floodopacity: "floodOpacity",
923
- "flood-opacity": "floodOpacity",
924
- floodcolor: "floodColor",
925
- "flood-color": "floodColor",
926
- focusable: "focusable",
927
- fontfamily: "fontFamily",
928
- "font-family": "fontFamily",
929
- fontsize: "fontSize",
930
- "font-size": "fontSize",
931
- fontsizeadjust: "fontSizeAdjust",
932
- "font-size-adjust": "fontSizeAdjust",
933
- fontstretch: "fontStretch",
934
- "font-stretch": "fontStretch",
935
- fontstyle: "fontStyle",
936
- "font-style": "fontStyle",
937
- fontvariant: "fontVariant",
938
- "font-variant": "fontVariant",
939
- fontweight: "fontWeight",
940
- "font-weight": "fontWeight",
941
- format: "format",
942
- from: "from",
943
- fx: "fx",
944
- fy: "fy",
945
- g1: "g1",
946
- g2: "g2",
947
- glyphname: "glyphName",
948
- "glyph-name": "glyphName",
949
- glyphorientationhorizontal: "glyphOrientationHorizontal",
950
- "glyph-orientation-horizontal": "glyphOrientationHorizontal",
951
- glyphorientationvertical: "glyphOrientationVertical",
952
- "glyph-orientation-vertical": "glyphOrientationVertical",
953
- glyphref: "glyphRef",
954
- gradienttransform: "gradientTransform",
955
- gradientunits: "gradientUnits",
956
- hanging: "hanging",
957
- horizadvx: "horizAdvX",
958
- "horiz-adv-x": "horizAdvX",
959
- horizoriginx: "horizOriginX",
960
- "horiz-origin-x": "horizOriginX",
961
- ideographic: "ideographic",
962
- imagerendering: "imageRendering",
963
- "image-rendering": "imageRendering",
964
- in2: "in2",
965
- in: "in",
966
- inlist: "inlist",
967
- intercept: "intercept",
968
- k1: "k1",
969
- k2: "k2",
970
- k3: "k3",
971
- k4: "k4",
972
- k: "k",
973
- kernelmatrix: "kernelMatrix",
974
- kernelunitlength: "kernelUnitLength",
975
- kerning: "kerning",
976
- keypoints: "keyPoints",
977
- keysplines: "keySplines",
978
- keytimes: "keyTimes",
979
- lengthadjust: "lengthAdjust",
980
- letterspacing: "letterSpacing",
981
- "letter-spacing": "letterSpacing",
982
- lightingcolor: "lightingColor",
983
- "lighting-color": "lightingColor",
984
- limitingconeangle: "limitingConeAngle",
985
- local: "local",
986
- markerend: "markerEnd",
987
- "marker-end": "markerEnd",
988
- markerheight: "markerHeight",
989
- markermid: "markerMid",
990
- "marker-mid": "markerMid",
991
- markerstart: "markerStart",
992
- "marker-start": "markerStart",
993
- markerunits: "markerUnits",
994
- markerwidth: "markerWidth",
995
- mask: "mask",
996
- maskcontentunits: "maskContentUnits",
997
- maskunits: "maskUnits",
998
- mathematical: "mathematical",
999
- mode: "mode",
1000
- numoctaves: "numOctaves",
1001
- offset: "offset",
1002
- opacity: "opacity",
1003
- operator: "operator",
1004
- order: "order",
1005
- orient: "orient",
1006
- orientation: "orientation",
1007
- origin: "origin",
1008
- overflow: "overflow",
1009
- overlineposition: "overlinePosition",
1010
- "overline-position": "overlinePosition",
1011
- overlinethickness: "overlineThickness",
1012
- "overline-thickness": "overlineThickness",
1013
- paintorder: "paintOrder",
1014
- "paint-order": "paintOrder",
1015
- panose1: "panose1",
1016
- "panose-1": "panose1",
1017
- pathlength: "pathLength",
1018
- patterncontentunits: "patternContentUnits",
1019
- patterntransform: "patternTransform",
1020
- patternunits: "patternUnits",
1021
- pointerevents: "pointerEvents",
1022
- "pointer-events": "pointerEvents",
1023
- points: "points",
1024
- pointsatx: "pointsAtX",
1025
- pointsaty: "pointsAtY",
1026
- pointsatz: "pointsAtZ",
1027
- prefix: "prefix",
1028
- preservealpha: "preserveAlpha",
1029
- preserveaspectratio: "preserveAspectRatio",
1030
- primitiveunits: "primitiveUnits",
1031
- property: "property",
1032
- r: "r",
1033
- radius: "radius",
1034
- refx: "refX",
1035
- refy: "refY",
1036
- renderingintent: "renderingIntent",
1037
- "rendering-intent": "renderingIntent",
1038
- repeatcount: "repeatCount",
1039
- repeatdur: "repeatDur",
1040
- requiredextensions: "requiredExtensions",
1041
- requiredfeatures: "requiredFeatures",
1042
- resource: "resource",
1043
- restart: "restart",
1044
- result: "result",
1045
- results: "results",
1046
- rotate: "rotate",
1047
- rx: "rx",
1048
- ry: "ry",
1049
- scale: "scale",
1050
- security: "security",
1051
- seed: "seed",
1052
- shaperendering: "shapeRendering",
1053
- "shape-rendering": "shapeRendering",
1054
- slope: "slope",
1055
- spacing: "spacing",
1056
- specularconstant: "specularConstant",
1057
- specularexponent: "specularExponent",
1058
- speed: "speed",
1059
- spreadmethod: "spreadMethod",
1060
- startoffset: "startOffset",
1061
- stddeviation: "stdDeviation",
1062
- stemh: "stemh",
1063
- stemv: "stemv",
1064
- stitchtiles: "stitchTiles",
1065
- stopcolor: "stopColor",
1066
- "stop-color": "stopColor",
1067
- stopopacity: "stopOpacity",
1068
- "stop-opacity": "stopOpacity",
1069
- strikethroughposition: "strikethroughPosition",
1070
- "strikethrough-position": "strikethroughPosition",
1071
- strikethroughthickness: "strikethroughThickness",
1072
- "strikethrough-thickness": "strikethroughThickness",
1073
- string: "string",
1074
- stroke: "stroke",
1075
- strokedasharray: "strokeDasharray",
1076
- "stroke-dasharray": "strokeDasharray",
1077
- strokedashoffset: "strokeDashoffset",
1078
- "stroke-dashoffset": "strokeDashoffset",
1079
- strokelinecap: "strokeLinecap",
1080
- "stroke-linecap": "strokeLinecap",
1081
- strokelinejoin: "strokeLinejoin",
1082
- "stroke-linejoin": "strokeLinejoin",
1083
- strokemiterlimit: "strokeMiterlimit",
1084
- "stroke-miterlimit": "strokeMiterlimit",
1085
- strokewidth: "strokeWidth",
1086
- "stroke-width": "strokeWidth",
1087
- strokeopacity: "strokeOpacity",
1088
- "stroke-opacity": "strokeOpacity",
1089
- suppresscontenteditablewarning: "suppressContentEditableWarning",
1090
- suppresshydrationwarning: "suppressHydrationWarning",
1091
- surfacescale: "surfaceScale",
1092
- systemlanguage: "systemLanguage",
1093
- tablevalues: "tableValues",
1094
- targetx: "targetX",
1095
- targety: "targetY",
1096
- textanchor: "textAnchor",
1097
- "text-anchor": "textAnchor",
1098
- textdecoration: "textDecoration",
1099
- "text-decoration": "textDecoration",
1100
- textlength: "textLength",
1101
- textrendering: "textRendering",
1102
- "text-rendering": "textRendering",
1103
- to: "to",
1104
- transform: "transform",
1105
- typeof: "typeof",
1106
- u1: "u1",
1107
- u2: "u2",
1108
- underlineposition: "underlinePosition",
1109
- "underline-position": "underlinePosition",
1110
- underlinethickness: "underlineThickness",
1111
- "underline-thickness": "underlineThickness",
1112
- unicode: "unicode",
1113
- unicodebidi: "unicodeBidi",
1114
- "unicode-bidi": "unicodeBidi",
1115
- unicoderange: "unicodeRange",
1116
- "unicode-range": "unicodeRange",
1117
- unitsperem: "unitsPerEm",
1118
- "units-per-em": "unitsPerEm",
1119
- unselectable: "unselectable",
1120
- valphabetic: "vAlphabetic",
1121
- "v-alphabetic": "vAlphabetic",
1122
- values: "values",
1123
- vectoreffect: "vectorEffect",
1124
- "vector-effect": "vectorEffect",
1125
- version: "version",
1126
- vertadvy: "vertAdvY",
1127
- "vert-adv-y": "vertAdvY",
1128
- vertoriginx: "vertOriginX",
1129
- "vert-origin-x": "vertOriginX",
1130
- vertoriginy: "vertOriginY",
1131
- "vert-origin-y": "vertOriginY",
1132
- vhanging: "vHanging",
1133
- "v-hanging": "vHanging",
1134
- videographic: "vIdeographic",
1135
- "v-ideographic": "vIdeographic",
1136
- viewbox: "viewBox",
1137
- viewtarget: "viewTarget",
1138
- visibility: "visibility",
1139
- vmathematical: "vMathematical",
1140
- "v-mathematical": "vMathematical",
1141
- vocab: "vocab",
1142
- widths: "widths",
1143
- wordspacing: "wordSpacing",
1144
- "word-spacing": "wordSpacing",
1145
- writingmode: "writingMode",
1146
- "writing-mode": "writingMode",
1147
- x1: "x1",
1148
- x2: "x2",
1149
- x: "x",
1150
- xchannelselector: "xChannelSelector",
1151
- xheight: "xHeight",
1152
- "x-height": "xHeight",
1153
- xlinkactuate: "xlinkActuate",
1154
- "xlink:actuate": "xlinkActuate",
1155
- xlinkarcrole: "xlinkArcrole",
1156
- "xlink:arcrole": "xlinkArcrole",
1157
- xlinkhref: "xlinkHref",
1158
- "xlink:href": "xlinkHref",
1159
- xlinkrole: "xlinkRole",
1160
- "xlink:role": "xlinkRole",
1161
- xlinkshow: "xlinkShow",
1162
- "xlink:show": "xlinkShow",
1163
- xlinktitle: "xlinkTitle",
1164
- "xlink:title": "xlinkTitle",
1165
- xlinktype: "xlinkType",
1166
- "xlink:type": "xlinkType",
1167
- xmlbase: "xmlBase",
1168
- "xml:base": "xmlBase",
1169
- xmllang: "xmlLang",
1170
- "xml:lang": "xmlLang",
1171
- xmlns: "xmlns",
1172
- "xml:space": "xmlSpace",
1173
- xmlnsxlink: "xmlnsXlink",
1174
- "xmlns:xlink": "xmlnsXlink",
1175
- xmlspace: "xmlSpace",
1176
- y1: "y1",
1177
- y2: "y2",
1178
- y: "y",
1179
- ychannelselector: "yChannelSelector",
1180
- z: "z",
1181
- zoomandpan: "zoomAndPan"
1182
- }, vr = function() {
1183
- };
1184
- {
1185
- var C = {}, gr = /^on./, ca = /^on[^A-Z]/, fa = new RegExp("^(aria)-[" + ne + "]*$"), da = new RegExp("^(aria)[A-Z][" + ne + "]*$");
1186
- vr = function(e, t, r, n) {
1187
- if (w.call(C, t) && C[t])
1188
- return !0;
1189
- var a = t.toLowerCase();
1190
- if (a === "onfocusin" || a === "onfocusout")
1191
- return s("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."), C[t] = !0, !0;
1192
- if (n != null) {
1193
- var o = n.registrationNameDependencies, i = n.possibleRegistrationNames;
1194
- if (o.hasOwnProperty(t))
1195
- return !0;
1196
- var l = i.hasOwnProperty(a) ? i[a] : null;
1197
- if (l != null)
1198
- return s("Invalid event handler property `%s`. Did you mean `%s`?", t, l), C[t] = !0, !0;
1199
- if (gr.test(t))
1200
- return s("Unknown event handler property `%s`. It will be ignored.", t), C[t] = !0, !0;
1201
- } else if (gr.test(t))
1202
- return ca.test(t) && s("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.", t), C[t] = !0, !0;
1203
- if (fa.test(t) || da.test(t))
1204
- return !0;
1205
- if (a === "innerhtml")
1206
- return s("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."), C[t] = !0, !0;
1207
- if (a === "aria")
1208
- return s("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."), C[t] = !0, !0;
1209
- if (a === "is" && r !== null && r !== void 0 && typeof r != "string")
1210
- return s("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.", typeof r), C[t] = !0, !0;
1211
- if (typeof r == "number" && isNaN(r))
1212
- return s("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", t), C[t] = !0, !0;
1213
- var u = cr(t), f = u !== null && u.type === Ne;
1214
- if (pr.hasOwnProperty(a)) {
1215
- var h = pr[a];
1216
- if (h !== t)
1217
- return s("Invalid DOM property `%s`. Did you mean `%s`?", t, h), C[t] = !0, !0;
1218
- } else if (!f && t !== a)
1219
- return s("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.", t, a), C[t] = !0, !0;
1220
- return typeof r == "boolean" && ur(t, r, u) ? (r ? s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.', r, t, t, r, t) : s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.', r, t, t, r, t, t, t), C[t] = !0, !0) : f ? !0 : ur(t, r, u) ? (C[t] = !0, !1) : ((r === "false" || r === "true") && u !== null && u.type === re && (s("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?", r, t, r === "false" ? "The browser will interpret it as a truthy value." : 'Although this works, it will not work as expected if you pass the string "false".', t, r), C[t] = !0), !0);
1221
- };
1222
- }
1223
- var ha = function(e, t, r) {
1224
- {
1225
- var n = [];
1226
- for (var a in t) {
1227
- var o = vr(e, a, t[a], r);
1228
- o || n.push(a);
1229
- }
1230
- var i = n.map(function(l) {
1231
- return "`" + l + "`";
1232
- }).join(", ");
1233
- n.length === 1 ? s("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ", i, e) : n.length > 1 && s("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ", i, e);
1234
- }
1235
- };
1236
- function pa(e, t, r) {
1237
- fr(e, t) || ha(e, t, r);
1238
- }
1239
- var mr = function() {
1240
- };
1241
- {
1242
- var va = /^(?:webkit|moz|o)[A-Z]/, ga = /^-ms-/, ma = /-(.)/g, yr = /;\s*$/, N = {}, qe = {}, br = !1, Sr = !1, ya = function(e) {
1243
- return e.replace(ma, function(t, r) {
1244
- return r.toUpperCase();
1245
- });
1246
- }, ba = function(e) {
1247
- N.hasOwnProperty(e) && N[e] || (N[e] = !0, s(
1248
- "Unsupported style property %s. Did you mean %s?",
1249
- e,
1250
- // As Andi Smith suggests
1251
- // (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix
1252
- // is converted to lowercase `ms`.
1253
- ya(e.replace(ga, "ms-"))
1254
- ));
1255
- }, Sa = function(e) {
1256
- N.hasOwnProperty(e) && N[e] || (N[e] = !0, s("Unsupported vendor-prefixed style property %s. Did you mean %s?", e, e.charAt(0).toUpperCase() + e.slice(1)));
1257
- }, wa = function(e, t) {
1258
- qe.hasOwnProperty(t) && qe[t] || (qe[t] = !0, s(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`, e, t.replace(yr, "")));
1259
- }, xa = function(e, t) {
1260
- br || (br = !0, s("`NaN` is an invalid value for the `%s` css style property.", e));
1261
- }, ka = function(e, t) {
1262
- Sr || (Sr = !0, s("`Infinity` is an invalid value for the `%s` css style property.", e));
1263
- };
1264
- mr = function(e, t) {
1265
- e.indexOf("-") > -1 ? ba(e) : va.test(e) ? Sa(e) : yr.test(t) && wa(e, t), typeof t == "number" && (isNaN(t) ? xa(e, t) : isFinite(t) || ka(e, t));
1266
- };
1267
- }
1268
- var Ta = mr, Ca = /["'&<>]/;
1269
- function Ea(e) {
1270
- $(e);
1271
- var t = "" + e, r = Ca.exec(t);
1272
- if (!r)
1273
- return t;
1274
- var n, a = "", o, i = 0;
1275
- for (o = r.index; o < t.length; o++) {
1276
- switch (t.charCodeAt(o)) {
1277
- case 34:
1278
- n = "&quot;";
1279
- break;
1280
- case 38:
1281
- n = "&amp;";
1282
- break;
1283
- case 39:
1284
- n = "&#x27;";
1285
- break;
1286
- case 60:
1287
- n = "&lt;";
1288
- break;
1289
- case 62:
1290
- n = "&gt;";
1291
- break;
1292
- default:
1293
- continue;
1294
- }
1295
- i !== o && (a += t.substring(i, o)), i = o + 1, a += n;
1296
- }
1297
- return i !== o ? a + t.substring(i, o) : a;
1298
- }
1299
- function k(e) {
1300
- return typeof e == "boolean" || typeof e == "number" ? "" + e : Ea(e);
1301
- }
1302
- var Ra = /([A-Z])/g, Ia = /^ms-/;
1303
- function Aa(e) {
1304
- return e.replace(Ra, "-$1").toLowerCase().replace(Ia, "-ms-");
1305
- }
1306
- var Da = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i, wr = !1;
1307
- function Pa(e) {
1308
- !wr && Da.test(e) && (wr = !0, s("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.", JSON.stringify(e)));
1309
- }
1310
- var Fa = Array.isArray;
1311
- function ae(e) {
1312
- return Fa(e);
1313
- }
1314
- var Ma = c("<script>"), Oa = c("<\/script>"), _a = c('<script src="'), La = c('<script type="module" src="'), xr = c('" async=""><\/script>');
1315
- function Ua(e) {
1316
- return $(e), ("" + e).replace(Ba, Ha);
1317
- }
1318
- var Ba = /(<\/|<)(s)(cript)/gi, Ha = function(e, t, r, n) {
1319
- return "" + t + (r === "s" ? "\\u0073" : "\\u0053") + n;
1320
- };
1321
- function Wa(e, t, r, n, a) {
1322
- var o = e === void 0 ? "" : e, i = t === void 0 ? Ma : c('<script nonce="' + k(t) + '">'), l = [];
1323
- if (r !== void 0 && l.push(i, v(Ua(r)), Oa), n !== void 0)
1324
- for (var u = 0; u < n.length; u++)
1325
- l.push(_a, v(k(n[u])), xr);
1326
- if (a !== void 0)
1327
- for (var f = 0; f < a.length; f++)
1328
- l.push(La, v(k(a[f])), xr);
1329
- return {
1330
- bootstrapChunks: l,
1331
- startInlineScript: i,
1332
- placeholderPrefix: c(o + "P:"),
1333
- segmentPrefix: c(o + "S:"),
1334
- boundaryPrefix: o + "B:",
1335
- idPrefix: o,
1336
- nextSuspenseID: 0,
1337
- sentCompleteSegmentFunction: !1,
1338
- sentCompleteBoundaryFunction: !1,
1339
- sentClientRenderFunction: !1
1340
- };
1341
- }
1342
- var oe = 0, X = 1, ie = 2, le = 3, Se = 4, et = 5, tt = 6, rt = 7;
1343
- function F(e, t) {
1344
- return {
1345
- insertionMode: e,
1346
- selectedValue: t
1347
- };
1348
- }
1349
- function ja(e) {
1350
- var t = e === "http://www.w3.org/2000/svg" ? ie : e === "http://www.w3.org/1998/Math/MathML" ? le : oe;
1351
- return F(t, null);
1352
- }
1353
- function za(e, t, r) {
1354
- switch (t) {
1355
- case "select":
1356
- return F(X, r.value != null ? r.value : r.defaultValue);
1357
- case "svg":
1358
- return F(ie, null);
1359
- case "math":
1360
- return F(le, null);
1361
- case "foreignObject":
1362
- return F(X, null);
1363
- // Table parents are special in that their children can only be created at all if they're
1364
- // wrapped in a table parent. So we need to encode that we're entering this mode.
1365
- case "table":
1366
- return F(Se, null);
1367
- case "thead":
1368
- case "tbody":
1369
- case "tfoot":
1370
- return F(et, null);
1371
- case "colgroup":
1372
- return F(rt, null);
1373
- case "tr":
1374
- return F(tt, null);
1375
- }
1376
- return e.insertionMode >= Se || e.insertionMode === oe ? F(X, null) : e;
1377
- }
1378
- var Ya = null;
1379
- function Ga(e) {
1380
- var t = e.nextSuspenseID++;
1381
- return c(e.boundaryPrefix + t.toString(16));
1382
- }
1383
- function $a(e, t, r) {
1384
- var n = e.idPrefix, a = ":" + n + "R" + t;
1385
- return r > 0 && (a += "H" + r.toString(32)), a + ":";
1386
- }
1387
- function nt(e) {
1388
- return k(e);
1389
- }
1390
- var kr = c("<!-- -->");
1391
- function Tr(e, t, r, n) {
1392
- return t === "" ? n : (n && e.push(kr), e.push(v(nt(t))), !0);
1393
- }
1394
- function Cr(e, t, r, n) {
1395
- r && n && e.push(kr);
1396
- }
1397
- var Er = /* @__PURE__ */ new Map();
1398
- function Va(e) {
1399
- var t = Er.get(e);
1400
- if (t !== void 0)
1401
- return t;
1402
- var r = c(k(Aa(e)));
1403
- return Er.set(e, r), r;
1404
- }
1405
- var Na = c(' style="'), Rr = c(":"), Xa = c(";");
1406
- function Ir(e, t, r) {
1407
- if (typeof r != "object")
1408
- throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");
1409
- var n = !0;
1410
- for (var a in r)
1411
- if (w.call(r, a)) {
1412
- var o = r[a];
1413
- if (!(o == null || typeof o == "boolean" || o === "")) {
1414
- var i = void 0, l = void 0, u = a.indexOf("--") === 0;
1415
- u ? (i = v(k(a)), rr(o, a), l = v(k(("" + o).trim()))) : (Ta(a, o), i = Va(a), typeof o == "number" ? o !== 0 && !w.call(be, a) ? l = v(o + "px") : l = v("" + o) : (rr(o, a), l = v(k(("" + o).trim())))), n ? (n = !1, e.push(Na, i, Rr, l)) : e.push(Xa, i, Rr, l);
1416
- }
1417
- }
1418
- n || e.push(z);
1419
- }
1420
- var U = c(" "), Z = c('="'), z = c('"'), Ar = c('=""');
1421
- function R(e, t, r, n) {
1422
- switch (r) {
1423
- case "style": {
1424
- Ir(e, t, n);
1425
- return;
1426
- }
1427
- case "defaultValue":
1428
- case "defaultChecked":
1429
- // These shouldn't be set as attributes on generic HTML elements.
1430
- case "innerHTML":
1431
- // Must use dangerouslySetInnerHTML instead.
1432
- case "suppressContentEditableWarning":
1433
- case "suppressHydrationWarning":
1434
- return;
1435
- }
1436
- if (
1437
- // shouldIgnoreAttribute
1438
- // We have already filtered out null/undefined and reserved words.
1439
- !(r.length > 2 && (r[0] === "o" || r[0] === "O") && (r[1] === "n" || r[1] === "N"))
1440
- ) {
1441
- var a = cr(r);
1442
- if (a !== null) {
1443
- switch (typeof n) {
1444
- case "function":
1445
- // $FlowIssue symbol is perfectly valid here
1446
- case "symbol":
1447
- return;
1448
- case "boolean":
1449
- if (!a.acceptsBooleans)
1450
- return;
1451
- }
1452
- var o = a.attributeName, i = v(o);
1453
- switch (a.type) {
1454
- case re:
1455
- n && e.push(U, i, Ar);
1456
- return;
1457
- case Ze:
1458
- n === !0 ? e.push(U, i, Ar) : n === !1 || e.push(U, i, Z, v(k(n)), z);
1459
- return;
1460
- case nr:
1461
- isNaN(n) || e.push(U, i, Z, v(k(n)), z);
1462
- break;
1463
- case ar:
1464
- !isNaN(n) && n >= 1 && e.push(U, i, Z, v(k(n)), z);
1465
- break;
1466
- default:
1467
- a.sanitizeURL && (te(n, o), n = "" + n, Pa(n)), e.push(U, i, Z, v(k(n)), z);
1468
- }
1469
- } else if (sr(r)) {
1470
- switch (typeof n) {
1471
- case "function":
1472
- // $FlowIssue symbol is perfectly valid here
1473
- case "symbol":
1474
- return;
1475
- case "boolean": {
1476
- var l = r.toLowerCase().slice(0, 5);
1477
- if (l !== "data-" && l !== "aria-")
1478
- return;
1479
- }
1480
- }
1481
- e.push(U, v(r), Z, v(k(n)), z);
1482
- }
1483
- }
1484
- }
1485
- var B = c(">"), Dr = c("/>");
1486
- function we(e, t, r) {
1487
- if (t != null) {
1488
- if (r != null)
1489
- throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");
1490
- if (typeof t != "object" || !("__html" in t))
1491
- throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");
1492
- var n = t.__html;
1493
- n != null && ($(n), e.push(v("" + n)));
1494
- }
1495
- }
1496
- var Pr = !1, Fr = !1, Mr = !1, Or = !1, _r = !1, Lr = !1, Ur = !1;
1497
- function Br(e, t) {
1498
- {
1499
- var r = e[t];
1500
- if (r != null) {
1501
- var n = ae(r);
1502
- e.multiple && !n ? s("The `%s` prop supplied to <select> must be an array if `multiple` is true.", t) : !e.multiple && n && s("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.", t);
1503
- }
1504
- }
1505
- }
1506
- function Za(e, t, r) {
1507
- Ke("select", t), Br(t, "value"), Br(t, "defaultValue"), t.value !== void 0 && t.defaultValue !== void 0 && !Mr && (s("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"), Mr = !0), e.push(M("select"));
1508
- var n = null, a = null;
1509
- for (var o in t)
1510
- if (w.call(t, o)) {
1511
- var i = t[o];
1512
- if (i == null)
1513
- continue;
1514
- switch (o) {
1515
- case "children":
1516
- n = i;
1517
- break;
1518
- case "dangerouslySetInnerHTML":
1519
- a = i;
1520
- break;
1521
- case "defaultValue":
1522
- case "value":
1523
- break;
1524
- default:
1525
- R(e, r, o, i);
1526
- break;
1527
- }
1528
- }
1529
- return e.push(B), we(e, a, n), n;
1530
- }
1531
- function Ja(e) {
1532
- var t = "";
1533
- return Xt.Children.forEach(e, function(r) {
1534
- r != null && (t += r, !_r && typeof r != "string" && typeof r != "number" && (_r = !0, s("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")));
1535
- }), t;
1536
- }
1537
- var at = c(' selected=""');
1538
- function Qa(e, t, r, n) {
1539
- var a = n.selectedValue;
1540
- e.push(M("option"));
1541
- var o = null, i = null, l = null, u = null;
1542
- for (var f in t)
1543
- if (w.call(t, f)) {
1544
- var h = t[f];
1545
- if (h == null)
1546
- continue;
1547
- switch (f) {
1548
- case "children":
1549
- o = h;
1550
- break;
1551
- case "selected":
1552
- l = h, Ur || (s("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."), Ur = !0);
1553
- break;
1554
- case "dangerouslySetInnerHTML":
1555
- u = h;
1556
- break;
1557
- // eslint-disable-next-line-no-fallthrough
1558
- case "value":
1559
- i = h;
1560
- // We intentionally fallthrough to also set the attribute on the node.
1561
- // eslint-disable-next-line-no-fallthrough
1562
- default:
1563
- R(e, r, f, h);
1564
- break;
1565
- }
1566
- }
1567
- if (a != null) {
1568
- var p;
1569
- if (i !== null ? (te(i, "value"), p = "" + i) : (u !== null && (Lr || (Lr = !0, s("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))), p = Ja(o)), ae(a))
1570
- for (var g = 0; g < a.length; g++) {
1571
- te(a[g], "value");
1572
- var S = "" + a[g];
1573
- if (S === p) {
1574
- e.push(at);
1575
- break;
1576
- }
1577
- }
1578
- else
1579
- te(a, "select.value"), "" + a === p && e.push(at);
1580
- } else l && e.push(at);
1581
- return e.push(B), we(e, u, o), o;
1582
- }
1583
- function Ka(e, t, r) {
1584
- Ke("input", t), t.checked !== void 0 && t.defaultChecked !== void 0 && !Fr && (s("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components", "A component", t.type), Fr = !0), t.value !== void 0 && t.defaultValue !== void 0 && !Pr && (s("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components", "A component", t.type), Pr = !0), e.push(M("input"));
1585
- var n = null, a = null, o = null, i = null;
1586
- for (var l in t)
1587
- if (w.call(t, l)) {
1588
- var u = t[l];
1589
- if (u == null)
1590
- continue;
1591
- switch (l) {
1592
- case "children":
1593
- case "dangerouslySetInnerHTML":
1594
- throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");
1595
- // eslint-disable-next-line-no-fallthrough
1596
- case "defaultChecked":
1597
- i = u;
1598
- break;
1599
- case "defaultValue":
1600
- a = u;
1601
- break;
1602
- case "checked":
1603
- o = u;
1604
- break;
1605
- case "value":
1606
- n = u;
1607
- break;
1608
- default:
1609
- R(e, r, l, u);
1610
- break;
1611
- }
1612
- }
1613
- return o !== null ? R(e, r, "checked", o) : i !== null && R(e, r, "checked", i), n !== null ? R(e, r, "value", n) : a !== null && R(e, r, "value", a), e.push(Dr), null;
1614
- }
1615
- function qa(e, t, r) {
1616
- Ke("textarea", t), t.value !== void 0 && t.defaultValue !== void 0 && !Or && (s("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"), Or = !0), e.push(M("textarea"));
1617
- var n = null, a = null, o = null;
1618
- for (var i in t)
1619
- if (w.call(t, i)) {
1620
- var l = t[i];
1621
- if (l == null)
1622
- continue;
1623
- switch (i) {
1624
- case "children":
1625
- o = l;
1626
- break;
1627
- case "value":
1628
- n = l;
1629
- break;
1630
- case "defaultValue":
1631
- a = l;
1632
- break;
1633
- case "dangerouslySetInnerHTML":
1634
- throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");
1635
- // eslint-disable-next-line-no-fallthrough
1636
- default:
1637
- R(e, r, i, l);
1638
- break;
1639
- }
1640
- }
1641
- if (n === null && a !== null && (n = a), e.push(B), o != null) {
1642
- if (s("Use the `defaultValue` or `value` props instead of setting children on <textarea>."), n != null)
1643
- throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");
1644
- if (ae(o)) {
1645
- if (o.length > 1)
1646
- throw new Error("<textarea> can only have at most one child.");
1647
- $(o[0]), n = "" + o[0];
1648
- }
1649
- $(o), n = "" + o;
1650
- }
1651
- return typeof n == "string" && n[0] === `
1652
- ` && e.push(it), n !== null && (te(n, "value"), e.push(v(nt("" + n)))), null;
1653
- }
1654
- function eo(e, t, r, n) {
1655
- e.push(M(r));
1656
- for (var a in t)
1657
- if (w.call(t, a)) {
1658
- var o = t[a];
1659
- if (o == null)
1660
- continue;
1661
- switch (a) {
1662
- case "children":
1663
- case "dangerouslySetInnerHTML":
1664
- throw new Error(r + " is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");
1665
- // eslint-disable-next-line-no-fallthrough
1666
- default:
1667
- R(e, n, a, o);
1668
- break;
1669
- }
1670
- }
1671
- return e.push(Dr), null;
1672
- }
1673
- function to(e, t, r) {
1674
- e.push(M("menuitem"));
1675
- for (var n in t)
1676
- if (w.call(t, n)) {
1677
- var a = t[n];
1678
- if (a == null)
1679
- continue;
1680
- switch (n) {
1681
- case "children":
1682
- case "dangerouslySetInnerHTML":
1683
- throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");
1684
- // eslint-disable-next-line-no-fallthrough
1685
- default:
1686
- R(e, r, n, a);
1687
- break;
1688
- }
1689
- }
1690
- return e.push(B), null;
1691
- }
1692
- function ro(e, t, r) {
1693
- e.push(M("title"));
1694
- var n = null;
1695
- for (var a in t)
1696
- if (w.call(t, a)) {
1697
- var o = t[a];
1698
- if (o == null)
1699
- continue;
1700
- switch (a) {
1701
- case "children":
1702
- n = o;
1703
- break;
1704
- case "dangerouslySetInnerHTML":
1705
- throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");
1706
- // eslint-disable-next-line-no-fallthrough
1707
- default:
1708
- R(e, r, a, o);
1709
- break;
1710
- }
1711
- }
1712
- e.push(B);
1713
- {
1714
- var i = Array.isArray(n) && n.length < 2 ? n[0] || null : n;
1715
- Array.isArray(n) && n.length > 1 ? s("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering") : i != null && i.$$typeof != null ? s("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering") : i != null && typeof i != "string" && typeof i != "number" && s("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering");
1716
- }
1717
- return n;
1718
- }
1719
- function ot(e, t, r, n) {
1720
- e.push(M(r));
1721
- var a = null, o = null;
1722
- for (var i in t)
1723
- if (w.call(t, i)) {
1724
- var l = t[i];
1725
- if (l == null)
1726
- continue;
1727
- switch (i) {
1728
- case "children":
1729
- a = l;
1730
- break;
1731
- case "dangerouslySetInnerHTML":
1732
- o = l;
1733
- break;
1734
- default:
1735
- R(e, n, i, l);
1736
- break;
1737
- }
1738
- }
1739
- return e.push(B), we(e, o, a), typeof a == "string" ? (e.push(v(nt(a))), null) : a;
1740
- }
1741
- function no(e, t, r, n) {
1742
- e.push(M(r));
1743
- var a = null, o = null;
1744
- for (var i in t)
1745
- if (w.call(t, i)) {
1746
- var l = t[i];
1747
- if (l == null)
1748
- continue;
1749
- switch (i) {
1750
- case "children":
1751
- a = l;
1752
- break;
1753
- case "dangerouslySetInnerHTML":
1754
- o = l;
1755
- break;
1756
- case "style":
1757
- Ir(e, n, l);
1758
- break;
1759
- case "suppressContentEditableWarning":
1760
- case "suppressHydrationWarning":
1761
- break;
1762
- default:
1763
- sr(i) && typeof l != "function" && typeof l != "symbol" && e.push(U, v(i), Z, v(k(l)), z);
1764
- break;
1765
- }
1766
- }
1767
- return e.push(B), we(e, o, a), a;
1768
- }
1769
- var it = c(`
1770
- `);
1771
- function ao(e, t, r, n) {
1772
- e.push(M(r));
1773
- var a = null, o = null;
1774
- for (var i in t)
1775
- if (w.call(t, i)) {
1776
- var l = t[i];
1777
- if (l == null)
1778
- continue;
1779
- switch (i) {
1780
- case "children":
1781
- a = l;
1782
- break;
1783
- case "dangerouslySetInnerHTML":
1784
- o = l;
1785
- break;
1786
- default:
1787
- R(e, n, i, l);
1788
- break;
1789
- }
1790
- }
1791
- if (e.push(B), o != null) {
1792
- if (a != null)
1793
- throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");
1794
- if (typeof o != "object" || !("__html" in o))
1795
- throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");
1796
- var u = o.__html;
1797
- u != null && (typeof u == "string" && u.length > 0 && u[0] === `
1798
- ` ? e.push(it, v(u)) : ($(u), e.push(v("" + u))));
1799
- }
1800
- return typeof a == "string" && a[0] === `
1801
- ` && e.push(it), a;
1802
- }
1803
- var oo = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, Hr = /* @__PURE__ */ new Map();
1804
- function M(e) {
1805
- var t = Hr.get(e);
1806
- if (t === void 0) {
1807
- if (!oo.test(e))
1808
- throw new Error("Invalid tag: " + e);
1809
- t = c("<" + e), Hr.set(e, t);
1810
- }
1811
- return t;
1812
- }
1813
- var io = c("<!DOCTYPE html>");
1814
- function lo(e, t, r, n, a) {
1815
- switch (sa(t, r), ua(t, r), pa(t, r, null), !r.suppressContentEditableWarning && r.contentEditable && r.children != null && s("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."), a.insertionMode !== ie && a.insertionMode !== le && t.indexOf("-") === -1 && typeof r.is != "string" && t.toLowerCase() !== t && s("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.", t), t) {
1816
- // Special tags
1817
- case "select":
1818
- return Za(e, r, n);
1819
- case "option":
1820
- return Qa(e, r, n, a);
1821
- case "textarea":
1822
- return qa(e, r, n);
1823
- case "input":
1824
- return Ka(e, r, n);
1825
- case "menuitem":
1826
- return to(e, r, n);
1827
- case "title":
1828
- return ro(e, r, n);
1829
- // Newline eating tags
1830
- case "listing":
1831
- case "pre":
1832
- return ao(e, r, t, n);
1833
- // Omitted close tags
1834
- case "area":
1835
- case "base":
1836
- case "br":
1837
- case "col":
1838
- case "embed":
1839
- case "hr":
1840
- case "img":
1841
- case "keygen":
1842
- case "link":
1843
- case "meta":
1844
- case "param":
1845
- case "source":
1846
- case "track":
1847
- case "wbr":
1848
- return eo(e, r, t, n);
1849
- // These are reserved SVG and MathML elements, that are never custom elements.
1850
- // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts
1851
- case "annotation-xml":
1852
- case "color-profile":
1853
- case "font-face":
1854
- case "font-face-src":
1855
- case "font-face-uri":
1856
- case "font-face-format":
1857
- case "font-face-name":
1858
- case "missing-glyph":
1859
- return ot(e, r, t, n);
1860
- case "html":
1861
- return a.insertionMode === oe && e.push(io), ot(e, r, t, n);
1862
- default:
1863
- return t.indexOf("-") === -1 && typeof r.is != "string" ? ot(e, r, t, n) : no(e, r, t, n);
1864
- }
1865
- }
1866
- var so = c("</"), uo = c(">");
1867
- function co(e, t, r) {
1868
- switch (t) {
1869
- // Omitted close tags
1870
- // TODO: Instead of repeating this switch we could try to pass a flag from above.
1871
- // That would require returning a tuple. Which might be ok if it gets inlined.
1872
- case "area":
1873
- case "base":
1874
- case "br":
1875
- case "col":
1876
- case "embed":
1877
- case "hr":
1878
- case "img":
1879
- case "input":
1880
- case "keygen":
1881
- case "link":
1882
- case "meta":
1883
- case "param":
1884
- case "source":
1885
- case "track":
1886
- case "wbr":
1887
- break;
1888
- default:
1889
- e.push(so, v(t), uo);
1890
- }
1891
- }
1892
- function fo(e, t) {
1893
- for (var r = t.bootstrapChunks, n = 0; n < r.length - 1; n++)
1894
- d(e, r[n]);
1895
- return n < r.length ? m(e, r[n]) : !0;
1896
- }
1897
- var ho = c('<template id="'), po = c('"></template>');
1898
- function vo(e, t, r) {
1899
- d(e, ho), d(e, t.placeholderPrefix);
1900
- var n = v(r.toString(16));
1901
- return d(e, n), m(e, po);
1902
- }
1903
- var go = c("<!--$-->"), mo = c('<!--$?--><template id="'), yo = c('"></template>'), bo = c("<!--$!-->"), lt = c("<!--/$-->"), So = c("<template"), st = c('"'), wo = c(' data-dgst="'), xo = c(' data-msg="'), ko = c(' data-stck="'), To = c("></template>");
1904
- function Co(e, t) {
1905
- return m(e, go);
1906
- }
1907
- function Wr(e, t, r) {
1908
- if (d(e, mo), r === null)
1909
- throw new Error("An ID must have been assigned before we can complete the boundary.");
1910
- return d(e, r), m(e, yo);
1911
- }
1912
- function Eo(e, t, r, n, a) {
1913
- var o;
1914
- return o = m(e, bo), d(e, So), r && (d(e, wo), d(e, v(k(r))), d(e, st)), n && (d(e, xo), d(e, v(k(n))), d(e, st)), a && (d(e, ko), d(e, v(k(a))), d(e, st)), o = m(e, To), o;
1915
- }
1916
- function Ro(e, t) {
1917
- return m(e, lt);
1918
- }
1919
- function jr(e, t) {
1920
- return m(e, lt);
1921
- }
1922
- function Io(e, t) {
1923
- return m(e, lt);
1924
- }
1925
- var Ao = c('<div hidden id="'), Do = c('">'), Po = c("</div>"), Fo = c('<svg aria-hidden="true" style="display:none" id="'), Mo = c('">'), Oo = c("</svg>"), _o = c('<math aria-hidden="true" style="display:none" id="'), Lo = c('">'), Uo = c("</math>"), Bo = c('<table hidden id="'), Ho = c('">'), Wo = c("</table>"), jo = c('<table hidden><tbody id="'), zo = c('">'), Yo = c("</tbody></table>"), Go = c('<table hidden><tr id="'), $o = c('">'), Vo = c("</tr></table>"), No = c('<table hidden><colgroup id="'), Xo = c('">'), Zo = c("</colgroup></table>");
1926
- function Jo(e, t, r, n) {
1927
- switch (r.insertionMode) {
1928
- case oe:
1929
- case X:
1930
- return d(e, Ao), d(e, t.segmentPrefix), d(e, v(n.toString(16))), m(e, Do);
1931
- case ie:
1932
- return d(e, Fo), d(e, t.segmentPrefix), d(e, v(n.toString(16))), m(e, Mo);
1933
- case le:
1934
- return d(e, _o), d(e, t.segmentPrefix), d(e, v(n.toString(16))), m(e, Lo);
1935
- case Se:
1936
- return d(e, Bo), d(e, t.segmentPrefix), d(e, v(n.toString(16))), m(e, Ho);
1937
- // TODO: For the rest of these, there will be extra wrapper nodes that never
1938
- // get deleted from the document. We need to delete the table too as part
1939
- // of the injected scripts. They are invisible though so it's not too terrible
1940
- // and it's kind of an edge case to suspend in a table. Totally supported though.
1941
- case et:
1942
- return d(e, jo), d(e, t.segmentPrefix), d(e, v(n.toString(16))), m(e, zo);
1943
- case tt:
1944
- return d(e, Go), d(e, t.segmentPrefix), d(e, v(n.toString(16))), m(e, $o);
1945
- case rt:
1946
- return d(e, No), d(e, t.segmentPrefix), d(e, v(n.toString(16))), m(e, Xo);
1947
- default:
1948
- throw new Error("Unknown insertion mode. This is a bug in React.");
1949
- }
1950
- }
1951
- function Qo(e, t) {
1952
- switch (t.insertionMode) {
1953
- case oe:
1954
- case X:
1955
- return m(e, Po);
1956
- case ie:
1957
- return m(e, Oo);
1958
- case le:
1959
- return m(e, Uo);
1960
- case Se:
1961
- return m(e, Wo);
1962
- case et:
1963
- return m(e, Yo);
1964
- case tt:
1965
- return m(e, Vo);
1966
- case rt:
1967
- return m(e, Zo);
1968
- default:
1969
- throw new Error("Unknown insertion mode. This is a bug in React.");
1970
- }
1971
- }
1972
- var Ko = "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)}", qo = '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()}}', ei = '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())}', ti = c(Ko + ';$RS("'), ri = c('$RS("'), ni = c('","'), ai = c('")<\/script>');
1973
- function oi(e, t, r) {
1974
- d(e, t.startInlineScript), t.sentCompleteSegmentFunction ? d(e, ri) : (t.sentCompleteSegmentFunction = !0, d(e, ti)), d(e, t.segmentPrefix);
1975
- var n = v(r.toString(16));
1976
- return d(e, n), d(e, ni), d(e, t.placeholderPrefix), d(e, n), m(e, ai);
1977
- }
1978
- var ii = c(qo + ';$RC("'), li = c('$RC("'), si = c('","'), ui = c('")<\/script>');
1979
- function ci(e, t, r, n) {
1980
- if (d(e, t.startInlineScript), t.sentCompleteBoundaryFunction ? d(e, li) : (t.sentCompleteBoundaryFunction = !0, d(e, ii)), r === null)
1981
- throw new Error("An ID must have been assigned before we can complete the boundary.");
1982
- var a = v(n.toString(16));
1983
- return d(e, r), d(e, si), d(e, t.segmentPrefix), d(e, a), m(e, ui);
1984
- }
1985
- var fi = c(ei + ';$RX("'), di = c('$RX("'), hi = c('"'), pi = c(")<\/script>"), ut = c(",");
1986
- function vi(e, t, r, n, a, o) {
1987
- if (d(e, t.startInlineScript), t.sentClientRenderFunction ? d(e, di) : (t.sentClientRenderFunction = !0, d(e, fi)), r === null)
1988
- throw new Error("An ID must have been assigned before we can complete the boundary.");
1989
- return d(e, r), d(e, hi), (n || a || o) && (d(e, ut), d(e, v(ct(n || "")))), (a || o) && (d(e, ut), d(e, v(ct(a || "")))), o && (d(e, ut), d(e, v(ct(o)))), m(e, pi);
1990
- }
1991
- var gi = /[<\u2028\u2029]/g;
1992
- function ct(e) {
1993
- var t = JSON.stringify(e);
1994
- return t.replace(gi, function(r) {
1995
- switch (r) {
1996
- // santizing breaking out of strings and script tags
1997
- case "<":
1998
- return "\\u003c";
1999
- case "\u2028":
2000
- return "\\u2028";
2001
- case "\u2029":
2002
- return "\\u2029";
2003
- default:
2004
- throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");
2005
- }
2006
- });
2007
- }
2008
- var P = Object.assign, mi = Symbol.for("react.element"), zr = Symbol.for("react.portal"), Yr = Symbol.for("react.fragment"), Gr = Symbol.for("react.strict_mode"), $r = Symbol.for("react.profiler"), ft = Symbol.for("react.provider"), dt = Symbol.for("react.context"), ht = Symbol.for("react.forward_ref"), pt = Symbol.for("react.suspense"), vt = Symbol.for("react.suspense_list"), gt = Symbol.for("react.memo"), xe = Symbol.for("react.lazy"), yi = Symbol.for("react.scope"), bi = Symbol.for("react.debug_trace_mode"), Si = Symbol.for("react.legacy_hidden"), wi = Symbol.for("react.default_value"), Vr = Symbol.iterator, xi = "@@iterator";
2009
- function ki(e) {
2010
- if (e === null || typeof e != "object")
2011
- return null;
2012
- var t = Vr && e[Vr] || e[xi];
2013
- return typeof t == "function" ? t : null;
2014
- }
2015
- function Ti(e, t, r) {
2016
- var n = e.displayName;
2017
- if (n)
2018
- return n;
2019
- var a = t.displayName || t.name || "";
2020
- return a !== "" ? r + "(" + a + ")" : r;
2021
- }
2022
- function Nr(e) {
2023
- return e.displayName || "Context";
2024
- }
2025
- function b(e) {
2026
- if (e == null)
2027
- return null;
2028
- if (typeof e.tag == "number" && s("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
2029
- return e.displayName || e.name || null;
2030
- if (typeof e == "string")
2031
- return e;
2032
- switch (e) {
2033
- case Yr:
2034
- return "Fragment";
2035
- case zr:
2036
- return "Portal";
2037
- case $r:
2038
- return "Profiler";
2039
- case Gr:
2040
- return "StrictMode";
2041
- case pt:
2042
- return "Suspense";
2043
- case vt:
2044
- return "SuspenseList";
2045
- }
2046
- if (typeof e == "object")
2047
- switch (e.$$typeof) {
2048
- case dt:
2049
- var t = e;
2050
- return Nr(t) + ".Consumer";
2051
- case ft:
2052
- var r = e;
2053
- return Nr(r._context) + ".Provider";
2054
- case ht:
2055
- return Ti(e, e.render, "ForwardRef");
2056
- case gt:
2057
- var n = e.displayName || null;
2058
- return n !== null ? n : b(e.type) || "Memo";
2059
- case xe: {
2060
- var a = e, o = a._payload, i = a._init;
2061
- try {
2062
- return b(i(o));
2063
- } catch {
2064
- return null;
2065
- }
2066
- }
2067
- }
2068
- return null;
2069
- }
2070
- var se = 0, Xr, Zr, Jr, Qr, Kr, qr, en;
2071
- function tn() {
2072
- }
2073
- tn.__reactDisabledLog = !0;
2074
- function Ci() {
2075
- {
2076
- if (se === 0) {
2077
- Xr = console.log, Zr = console.info, Jr = console.warn, Qr = console.error, Kr = console.group, qr = console.groupCollapsed, en = console.groupEnd;
2078
- var e = {
2079
- configurable: !0,
2080
- enumerable: !0,
2081
- value: tn,
2082
- writable: !0
2083
- };
2084
- Object.defineProperties(console, {
2085
- info: e,
2086
- log: e,
2087
- warn: e,
2088
- error: e,
2089
- group: e,
2090
- groupCollapsed: e,
2091
- groupEnd: e
2092
- });
2093
- }
2094
- se++;
2095
- }
2096
- }
2097
- function Ei() {
2098
- {
2099
- if (se--, se === 0) {
2100
- var e = {
2101
- configurable: !0,
2102
- enumerable: !0,
2103
- writable: !0
2104
- };
2105
- Object.defineProperties(console, {
2106
- log: P({}, e, {
2107
- value: Xr
2108
- }),
2109
- info: P({}, e, {
2110
- value: Zr
2111
- }),
2112
- warn: P({}, e, {
2113
- value: Jr
2114
- }),
2115
- error: P({}, e, {
2116
- value: Qr
2117
- }),
2118
- group: P({}, e, {
2119
- value: Kr
2120
- }),
2121
- groupCollapsed: P({}, e, {
2122
- value: qr
2123
- }),
2124
- groupEnd: P({}, e, {
2125
- value: en
2126
- })
2127
- });
2128
- }
2129
- se < 0 && s("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
2130
- }
2131
- }
2132
- var mt = ee.ReactCurrentDispatcher, yt;
2133
- function ue(e, t, r) {
2134
- {
2135
- if (yt === void 0)
2136
- try {
2137
- throw Error();
2138
- } catch (a) {
2139
- var n = a.stack.trim().match(/\n( *(at )?)/);
2140
- yt = n && n[1] || "";
2141
- }
2142
- return `
2143
- ` + yt + e;
2144
- }
2145
- }
2146
- var bt = !1, ke;
2147
- {
2148
- var Ri = typeof WeakMap == "function" ? WeakMap : Map;
2149
- ke = new Ri();
2150
- }
2151
- function St(e, t) {
2152
- if (!e || bt)
2153
- return "";
2154
- {
2155
- var r = ke.get(e);
2156
- if (r !== void 0)
2157
- return r;
2158
- }
2159
- var n;
2160
- bt = !0;
2161
- var a = Error.prepareStackTrace;
2162
- Error.prepareStackTrace = void 0;
2163
- var o;
2164
- o = mt.current, mt.current = null, Ci();
2165
- try {
2166
- if (t) {
2167
- var i = function() {
2168
- throw Error();
2169
- };
2170
- if (Object.defineProperty(i.prototype, "props", {
2171
- set: function() {
2172
- throw Error();
2173
- }
2174
- }), typeof Reflect == "object" && Reflect.construct) {
2175
- try {
2176
- Reflect.construct(i, []);
2177
- } catch (E) {
2178
- n = E;
2179
- }
2180
- Reflect.construct(e, [], i);
2181
- } else {
2182
- try {
2183
- i.call();
2184
- } catch (E) {
2185
- n = E;
2186
- }
2187
- e.call(i.prototype);
2188
- }
2189
- } else {
2190
- try {
2191
- throw Error();
2192
- } catch (E) {
2193
- n = E;
2194
- }
2195
- e();
2196
- }
2197
- } catch (E) {
2198
- if (E && n && typeof E.stack == "string") {
2199
- for (var l = E.stack.split(`
2200
- `), u = n.stack.split(`
2201
- `), f = l.length - 1, h = u.length - 1; f >= 1 && h >= 0 && l[f] !== u[h]; )
2202
- h--;
2203
- for (; f >= 1 && h >= 0; f--, h--)
2204
- if (l[f] !== u[h]) {
2205
- if (f !== 1 || h !== 1)
2206
- do
2207
- if (f--, h--, h < 0 || l[f] !== u[h]) {
2208
- var p = `
2209
- ` + l[f].replace(" at new ", " at ");
2210
- return e.displayName && p.includes("<anonymous>") && (p = p.replace("<anonymous>", e.displayName)), typeof e == "function" && ke.set(e, p), p;
2211
- }
2212
- while (f >= 1 && h >= 0);
2213
- break;
2214
- }
2215
- }
2216
- } finally {
2217
- bt = !1, mt.current = o, Ei(), Error.prepareStackTrace = a;
2218
- }
2219
- var g = e ? e.displayName || e.name : "", S = g ? ue(g) : "";
2220
- return typeof e == "function" && ke.set(e, S), S;
2221
- }
2222
- function Ii(e, t, r) {
2223
- return St(e, !0);
2224
- }
2225
- function rn(e, t, r) {
2226
- return St(e, !1);
2227
- }
2228
- function Ai(e) {
2229
- var t = e.prototype;
2230
- return !!(t && t.isReactComponent);
2231
- }
2232
- function wt(e, t, r) {
2233
- if (e == null)
2234
- return "";
2235
- if (typeof e == "function")
2236
- return St(e, Ai(e));
2237
- if (typeof e == "string")
2238
- return ue(e);
2239
- switch (e) {
2240
- case pt:
2241
- return ue("Suspense");
2242
- case vt:
2243
- return ue("SuspenseList");
2244
- }
2245
- if (typeof e == "object")
2246
- switch (e.$$typeof) {
2247
- case ht:
2248
- return rn(e.render);
2249
- case gt:
2250
- return wt(e.type, t, r);
2251
- case xe: {
2252
- var n = e, a = n._payload, o = n._init;
2253
- try {
2254
- return wt(o(a), t, r);
2255
- } catch {
2256
- }
2257
- }
2258
- }
2259
- return "";
2260
- }
2261
- var nn = {}, an = ee.ReactDebugCurrentFrame;
2262
- function Te(e) {
2263
- if (e) {
2264
- var t = e._owner, r = wt(e.type, e._source, t ? t.type : null);
2265
- an.setExtraStackFrame(r);
2266
- } else
2267
- an.setExtraStackFrame(null);
2268
- }
2269
- function on(e, t, r, n, a) {
2270
- {
2271
- var o = Function.call.bind(w);
2272
- for (var i in e)
2273
- if (o(e, i)) {
2274
- var l = void 0;
2275
- try {
2276
- if (typeof e[i] != "function") {
2277
- var u = Error((n || "React class") + ": " + r + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
2278
- throw u.name = "Invariant Violation", u;
2279
- }
2280
- l = e[i](t, i, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
2281
- } catch (f) {
2282
- l = f;
2283
- }
2284
- l && !(l instanceof Error) && (Te(a), s("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, i, typeof l), Te(null)), l instanceof Error && !(l.message in nn) && (nn[l.message] = !0, Te(a), s("Failed %s type: %s", r, l.message), Te(null));
2285
- }
2286
- }
2287
- }
2288
- var xt;
2289
- xt = {};
2290
- var Ce = {};
2291
- Object.freeze(Ce);
2292
- function ln(e, t) {
2293
- {
2294
- var r = e.contextTypes;
2295
- if (!r)
2296
- return Ce;
2297
- var n = {};
2298
- for (var a in r)
2299
- n[a] = t[a];
2300
- {
2301
- var o = b(e) || "Unknown";
2302
- on(r, n, "context", o);
2303
- }
2304
- return n;
2305
- }
2306
- }
2307
- function Di(e, t, r, n) {
2308
- {
2309
- if (typeof e.getChildContext != "function") {
2310
- {
2311
- var a = b(t) || "Unknown";
2312
- xt[a] || (xt[a] = !0, s("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.", a, a));
2313
- }
2314
- return r;
2315
- }
2316
- var o = e.getChildContext();
2317
- for (var i in o)
2318
- if (!(i in n))
2319
- throw new Error((b(t) || "Unknown") + '.getChildContext(): key "' + i + '" is not defined in childContextTypes.');
2320
- {
2321
- var l = b(t) || "Unknown";
2322
- on(n, o, "child context", l);
2323
- }
2324
- return P({}, r, o);
2325
- }
2326
- }
2327
- var ce;
2328
- ce = {};
2329
- var Pi = null, Y = null;
2330
- function kt(e) {
2331
- e.context._currentValue = e.parentValue;
2332
- }
2333
- function Tt(e) {
2334
- e.context._currentValue = e.value;
2335
- }
2336
- function Ee(e, t) {
2337
- if (e !== t) {
2338
- kt(e);
2339
- var r = e.parent, n = t.parent;
2340
- if (r === null) {
2341
- if (n !== null)
2342
- throw new Error("The stacks must reach the root at the same time. This is a bug in React.");
2343
- } else {
2344
- if (n === null)
2345
- throw new Error("The stacks must reach the root at the same time. This is a bug in React.");
2346
- Ee(r, n);
2347
- }
2348
- Tt(t);
2349
- }
2350
- }
2351
- function sn(e) {
2352
- kt(e);
2353
- var t = e.parent;
2354
- t !== null && sn(t);
2355
- }
2356
- function un(e) {
2357
- var t = e.parent;
2358
- t !== null && un(t), Tt(e);
2359
- }
2360
- function cn(e, t) {
2361
- kt(e);
2362
- var r = e.parent;
2363
- if (r === null)
2364
- throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");
2365
- r.depth === t.depth ? Ee(r, t) : cn(r, t);
2366
- }
2367
- function fn(e, t) {
2368
- var r = t.parent;
2369
- if (r === null)
2370
- throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");
2371
- e.depth === r.depth ? Ee(e, r) : fn(e, r), Tt(t);
2372
- }
2373
- function Re(e) {
2374
- var t = Y, r = e;
2375
- t !== r && (t === null ? un(r) : r === null ? sn(t) : t.depth === r.depth ? Ee(t, r) : t.depth > r.depth ? cn(t, r) : fn(t, r), Y = r);
2376
- }
2377
- function Fi(e, t) {
2378
- var r;
2379
- r = e._currentValue, e._currentValue = t, e._currentRenderer !== void 0 && e._currentRenderer !== null && e._currentRenderer !== ce && s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."), e._currentRenderer = ce;
2380
- var n = Y, a = {
2381
- parent: n,
2382
- depth: n === null ? 0 : n.depth + 1,
2383
- context: e,
2384
- parentValue: r,
2385
- value: t
2386
- };
2387
- return Y = a, a;
2388
- }
2389
- function Mi(e) {
2390
- var t = Y;
2391
- if (t === null)
2392
- throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");
2393
- t.context !== e && s("The parent context is not the expected context. This is probably a bug in React.");
2394
- {
2395
- var r = t.parentValue;
2396
- r === wi ? t.context._currentValue = t.context._defaultValue : t.context._currentValue = r, e._currentRenderer !== void 0 && e._currentRenderer !== null && e._currentRenderer !== ce && s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."), e._currentRenderer = ce;
2397
- }
2398
- return Y = t.parent;
2399
- }
2400
- function Oi() {
2401
- return Y;
2402
- }
2403
- function fe(e) {
2404
- var t = e._currentValue;
2405
- return t;
2406
- }
2407
- function Ct(e) {
2408
- return e._reactInternals;
2409
- }
2410
- function _i(e, t) {
2411
- e._reactInternals = t;
2412
- }
2413
- var dn = {}, hn = {}, Et, Rt, It, At, pn, Ie, Dt, Pt, Ft;
2414
- {
2415
- Et = /* @__PURE__ */ new Set(), Rt = /* @__PURE__ */ new Set(), It = /* @__PURE__ */ new Set(), Dt = /* @__PURE__ */ new Set(), At = /* @__PURE__ */ new Set(), Pt = /* @__PURE__ */ new Set(), Ft = /* @__PURE__ */ new Set();
2416
- var vn = /* @__PURE__ */ new Set();
2417
- Ie = function(e, t) {
2418
- if (!(e === null || typeof e == "function")) {
2419
- var r = t + "_" + e;
2420
- vn.has(r) || (vn.add(r), s("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.", t, e));
2421
- }
2422
- }, pn = function(e, t) {
2423
- if (t === void 0) {
2424
- var r = b(e) || "Component";
2425
- At.has(r) || (At.add(r), s("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.", r));
2426
- }
2427
- };
2428
- }
2429
- function gn(e, t) {
2430
- {
2431
- var r = e.constructor, n = r && b(r) || "ReactClass", a = n + "." + t;
2432
- if (dn[a])
2433
- return;
2434
- s(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
2435
-
2436
- Please check the code for the %s component.`, t, t, n), dn[a] = !0;
2437
- }
2438
- }
2439
- var mn = {
2440
- isMounted: function(e) {
2441
- return !1;
2442
- },
2443
- enqueueSetState: function(e, t, r) {
2444
- var n = Ct(e);
2445
- n.queue === null ? gn(e, "setState") : (n.queue.push(t), r != null && Ie(r, "setState"));
2446
- },
2447
- enqueueReplaceState: function(e, t, r) {
2448
- var n = Ct(e);
2449
- n.replace = !0, n.queue = [t], r != null && Ie(r, "setState");
2450
- },
2451
- enqueueForceUpdate: function(e, t) {
2452
- var r = Ct(e);
2453
- r.queue === null ? gn(e, "forceUpdate") : t != null && Ie(t, "setState");
2454
- }
2455
- };
2456
- function Li(e, t, r, n, a) {
2457
- var o = r(a, n);
2458
- pn(t, o);
2459
- var i = o == null ? n : P({}, n, o);
2460
- return i;
2461
- }
2462
- function Ui(e, t, r) {
2463
- var n = Ce, a = e.contextType;
2464
- if ("contextType" in e) {
2465
- var o = (
2466
- // Allow null for conditional declaration
2467
- a === null || a !== void 0 && a.$$typeof === dt && a._context === void 0
2468
- );
2469
- if (!o && !Ft.has(e)) {
2470
- Ft.add(e);
2471
- var i = "";
2472
- a === void 0 ? i = " However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file." : typeof a != "object" ? i = " However, it is set to a " + typeof a + "." : a.$$typeof === ft ? i = " Did you accidentally pass the Context.Provider instead?" : a._context !== void 0 ? i = " Did you accidentally pass the Context.Consumer instead?" : i = " However, it is set to an object with keys {" + Object.keys(a).join(", ") + "}.", s("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s", b(e) || "Component", i);
2473
- }
2474
- }
2475
- typeof a == "object" && a !== null ? n = fe(a) : n = r;
2476
- var l = new e(t, n);
2477
- {
2478
- if (typeof e.getDerivedStateFromProps == "function" && (l.state === null || l.state === void 0)) {
2479
- var u = b(e) || "Component";
2480
- Et.has(u) || (Et.add(u), s("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", u, l.state === null ? "null" : "undefined", u));
2481
- }
2482
- if (typeof e.getDerivedStateFromProps == "function" || typeof l.getSnapshotBeforeUpdate == "function") {
2483
- var f = null, h = null, p = null;
2484
- if (typeof l.componentWillMount == "function" && l.componentWillMount.__suppressDeprecationWarning !== !0 ? f = "componentWillMount" : typeof l.UNSAFE_componentWillMount == "function" && (f = "UNSAFE_componentWillMount"), typeof l.componentWillReceiveProps == "function" && l.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? h = "componentWillReceiveProps" : typeof l.UNSAFE_componentWillReceiveProps == "function" && (h = "UNSAFE_componentWillReceiveProps"), typeof l.componentWillUpdate == "function" && l.componentWillUpdate.__suppressDeprecationWarning !== !0 ? p = "componentWillUpdate" : typeof l.UNSAFE_componentWillUpdate == "function" && (p = "UNSAFE_componentWillUpdate"), f !== null || h !== null || p !== null) {
2485
- var g = b(e) || "Component", S = typeof e.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
2486
- It.has(g) || (It.add(g), s(`Unsafe legacy lifecycles will not be called for components using new component APIs.
2487
-
2488
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
2489
-
2490
- The above lifecycles should be removed. Learn more about this warning here:
2491
- https://reactjs.org/link/unsafe-component-lifecycles`, g, S, f !== null ? `
2492
- ` + f : "", h !== null ? `
2493
- ` + h : "", p !== null ? `
2494
- ` + p : ""));
2495
- }
2496
- }
2497
- }
2498
- return l;
2499
- }
2500
- function Bi(e, t, r) {
2501
- {
2502
- var n = b(t) || "Component", a = e.render;
2503
- a || (t.prototype && typeof t.prototype.render == "function" ? s("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?", n) : s("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.", n)), e.getInitialState && !e.getInitialState.isReactClassApproved && !e.state && s("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?", n), e.getDefaultProps && !e.getDefaultProps.isReactClassApproved && s("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.", n), e.propTypes && s("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.", n), e.contextType && s("contextType was defined as an instance property on %s. Use a static property to define contextType instead.", n), e.contextTypes && s("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.", n), t.contextType && t.contextTypes && !Pt.has(t) && (Pt.add(t), s("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.", n)), typeof e.componentShouldUpdate == "function" && s("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.", n), t.prototype && t.prototype.isPureReactComponent && typeof e.shouldComponentUpdate < "u" && s("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.", b(t) || "A pure component"), typeof e.componentDidUnmount == "function" && s("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?", n), typeof e.componentDidReceiveProps == "function" && s("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().", n), typeof e.componentWillRecieveProps == "function" && s("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?", n), typeof e.UNSAFE_componentWillRecieveProps == "function" && s("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?", n);
2504
- var o = e.props !== r;
2505
- e.props !== void 0 && o && s("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.", n, n), e.defaultProps && s("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.", n, n), typeof e.getSnapshotBeforeUpdate == "function" && typeof e.componentDidUpdate != "function" && !Rt.has(t) && (Rt.add(t), s("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.", b(t))), typeof e.getDerivedStateFromProps == "function" && s("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.", n), typeof e.getDerivedStateFromError == "function" && s("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.", n), typeof t.getSnapshotBeforeUpdate == "function" && s("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.", n);
2506
- var i = e.state;
2507
- i && (typeof i != "object" || ae(i)) && s("%s.state: must be set to an object or null", n), typeof e.getChildContext == "function" && typeof t.childContextTypes != "object" && s("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().", n);
2508
- }
2509
- }
2510
- function Hi(e, t) {
2511
- var r = t.state;
2512
- if (typeof t.componentWillMount == "function") {
2513
- if (t.componentWillMount.__suppressDeprecationWarning !== !0) {
2514
- var n = b(e) || "Unknown";
2515
- hn[n] || (Qn(
2516
- // keep this warning in sync with ReactStrictModeWarning.js
2517
- `componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
2518
-
2519
- * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
2520
-
2521
- Please update the following components: %s`,
2522
- n
2523
- ), hn[n] = !0);
2524
- }
2525
- t.componentWillMount();
2526
- }
2527
- typeof t.UNSAFE_componentWillMount == "function" && t.UNSAFE_componentWillMount(), r !== t.state && (s("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", b(e) || "Component"), mn.enqueueReplaceState(t, t.state, null));
2528
- }
2529
- function Wi(e, t, r, n) {
2530
- if (e.queue !== null && e.queue.length > 0) {
2531
- var a = e.queue, o = e.replace;
2532
- if (e.queue = null, e.replace = !1, o && a.length === 1)
2533
- t.state = a[0];
2534
- else {
2535
- for (var i = o ? a[0] : t.state, l = !0, u = o ? 1 : 0; u < a.length; u++) {
2536
- var f = a[u], h = typeof f == "function" ? f.call(t, i, r, n) : f;
2537
- h != null && (l ? (l = !1, i = P({}, i, h)) : P(i, h));
2538
- }
2539
- t.state = i;
2540
- }
2541
- } else
2542
- e.queue = null;
2543
- }
2544
- function yn(e, t, r, n) {
2545
- Bi(e, t, r);
2546
- var a = e.state !== void 0 ? e.state : null;
2547
- e.updater = mn, e.props = r, e.state = a;
2548
- var o = {
2549
- queue: [],
2550
- replace: !1
2551
- };
2552
- _i(e, o);
2553
- var i = t.contextType;
2554
- if (typeof i == "object" && i !== null ? e.context = fe(i) : e.context = n, e.state === r) {
2555
- var l = b(t) || "Component";
2556
- Dt.has(l) || (Dt.add(l), s("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.", l));
2557
- }
2558
- var u = t.getDerivedStateFromProps;
2559
- typeof u == "function" && (e.state = Li(e, t, u, a, r)), typeof t.getDerivedStateFromProps != "function" && typeof e.getSnapshotBeforeUpdate != "function" && (typeof e.UNSAFE_componentWillMount == "function" || typeof e.componentWillMount == "function") && (Hi(t, e), Wi(o, e, r, n));
2560
- }
2561
- var ji = {
2562
- id: 1,
2563
- overflow: ""
2564
- };
2565
- function zi(e) {
2566
- var t = e.overflow, r = e.id, n = r & ~Yi(r);
2567
- return n.toString(32) + t;
2568
- }
2569
- function Mt(e, t, r) {
2570
- var n = e.id, a = e.overflow, o = Ae(n) - 1, i = n & ~(1 << o), l = r + 1, u = Ae(t) + o;
2571
- if (u > 30) {
2572
- var f = o - o % 5, h = (1 << f) - 1, p = (i & h).toString(32), g = i >> f, S = o - f, E = Ae(t) + S, je = l << S, ze = je | g, Ye = p + a;
2573
- return {
2574
- id: 1 << E | ze,
2575
- overflow: Ye
2576
- };
2577
- } else {
2578
- var q = l << o, Yl = q | i, Gl = a;
2579
- return {
2580
- id: 1 << u | Yl,
2581
- overflow: Gl
2582
- };
2583
- }
2584
- }
2585
- function Ae(e) {
2586
- return 32 - Gi(e);
2587
- }
2588
- function Yi(e) {
2589
- return 1 << Ae(e) - 1;
2590
- }
2591
- var Gi = Math.clz32 ? Math.clz32 : Ni, $i = Math.log, Vi = Math.LN2;
2592
- function Ni(e) {
2593
- var t = e >>> 0;
2594
- return t === 0 ? 32 : 31 - ($i(t) / Vi | 0) | 0;
2595
- }
2596
- function Xi(e, t) {
2597
- return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
2598
- }
2599
- var Zi = typeof Object.is == "function" ? Object.is : Xi, _ = null, Ot = null, De = null, y = null, de = !1, Pe = !1, Fe = 0, H = null, Me = 0, Ji = 25, O = !1, J;
2600
- function G() {
2601
- if (_ === null)
2602
- throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
2603
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
2604
- 2. You might be breaking the Rules of Hooks
2605
- 3. You might have more than one copy of React in the same app
2606
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);
2607
- return O && s("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"), _;
2608
- }
2609
- function Qi(e, t) {
2610
- if (t === null)
2611
- return s("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.", J), !1;
2612
- e.length !== t.length && s(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
2613
-
2614
- Previous: %s
2615
- Incoming: %s`, J, "[" + e.join(", ") + "]", "[" + t.join(", ") + "]");
2616
- for (var r = 0; r < t.length && r < e.length; r++)
2617
- if (!Zi(e[r], t[r]))
2618
- return !1;
2619
- return !0;
2620
- }
2621
- function bn() {
2622
- if (Me > 0)
2623
- throw new Error("Rendered more hooks than during the previous render");
2624
- return {
2625
- memoizedState: null,
2626
- queue: null,
2627
- next: null
2628
- };
2629
- }
2630
- function _t() {
2631
- return y === null ? De === null ? (de = !1, De = y = bn()) : (de = !0, y = De) : y.next === null ? (de = !1, y = y.next = bn()) : (de = !0, y = y.next), y;
2632
- }
2633
- function Ki(e, t) {
2634
- _ = t, Ot = e, O = !1, Fe = 0;
2635
- }
2636
- function qi(e, t, r, n) {
2637
- for (; Pe; )
2638
- Pe = !1, Fe = 0, Me += 1, y = null, r = e(t, n);
2639
- return Lt(), r;
2640
- }
2641
- function Sn() {
2642
- var e = Fe !== 0;
2643
- return e;
2644
- }
2645
- function Lt() {
2646
- O = !1, _ = null, Ot = null, Pe = !1, De = null, Me = 0, H = null, y = null;
2647
- }
2648
- function el(e) {
2649
- return O && s("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."), fe(e);
2650
- }
2651
- function tl(e) {
2652
- return J = "useContext", G(), fe(e);
2653
- }
2654
- function Ut(e, t) {
2655
- return typeof t == "function" ? t(e) : t;
2656
- }
2657
- function rl(e) {
2658
- return J = "useState", wn(
2659
- Ut,
2660
- // useReducer has a special case to support lazy useState initializers
2661
- e
2662
- );
2663
- }
2664
- function wn(e, t, r) {
2665
- if (e !== Ut && (J = "useReducer"), _ = G(), y = _t(), de) {
2666
- var n = y.queue, a = n.dispatch;
2667
- if (H !== null) {
2668
- var o = H.get(n);
2669
- if (o !== void 0) {
2670
- H.delete(n);
2671
- var i = y.memoizedState, l = o;
2672
- do {
2673
- var u = l.action;
2674
- O = !0, i = e(i, u), O = !1, l = l.next;
2675
- } while (l !== null);
2676
- return y.memoizedState = i, [i, a];
2677
- }
2678
- }
2679
- return [y.memoizedState, a];
2680
- } else {
2681
- O = !0;
2682
- var f;
2683
- e === Ut ? f = typeof t == "function" ? t() : t : f = r !== void 0 ? r(t) : t, O = !1, y.memoizedState = f;
2684
- var h = y.queue = {
2685
- last: null,
2686
- dispatch: null
2687
- }, p = h.dispatch = ol.bind(null, _, h);
2688
- return [y.memoizedState, p];
2689
- }
2690
- }
2691
- function xn(e, t) {
2692
- _ = G(), y = _t();
2693
- var r = t === void 0 ? null : t;
2694
- if (y !== null) {
2695
- var n = y.memoizedState;
2696
- if (n !== null && r !== null) {
2697
- var a = n[1];
2698
- if (Qi(r, a))
2699
- return n[0];
2700
- }
2701
- }
2702
- O = !0;
2703
- var o = e();
2704
- return O = !1, y.memoizedState = [o, r], o;
2705
- }
2706
- function nl(e) {
2707
- _ = G(), y = _t();
2708
- var t = y.memoizedState;
2709
- if (t === null) {
2710
- var r = {
2711
- current: e
2712
- };
2713
- return Object.seal(r), y.memoizedState = r, r;
2714
- } else
2715
- return t;
2716
- }
2717
- function al(e, t) {
2718
- J = "useLayoutEffect", s("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.");
2719
- }
2720
- function ol(e, t, r) {
2721
- if (Me >= Ji)
2722
- throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");
2723
- if (e === _) {
2724
- Pe = !0;
2725
- var n = {
2726
- action: r,
2727
- next: null
2728
- };
2729
- H === null && (H = /* @__PURE__ */ new Map());
2730
- var a = H.get(t);
2731
- if (a === void 0)
2732
- H.set(t, n);
2733
- else {
2734
- for (var o = a; o.next !== null; )
2735
- o = o.next;
2736
- o.next = n;
2737
- }
2738
- }
2739
- }
2740
- function il(e, t) {
2741
- return xn(function() {
2742
- return e;
2743
- }, t);
2744
- }
2745
- function ll(e, t, r) {
2746
- return G(), t(e._source);
2747
- }
2748
- function sl(e, t, r) {
2749
- if (r === void 0)
2750
- throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");
2751
- return r();
2752
- }
2753
- function ul(e) {
2754
- return G(), e;
2755
- }
2756
- function cl() {
2757
- throw new Error("startTransition cannot be called during server rendering.");
2758
- }
2759
- function fl() {
2760
- return G(), [!1, cl];
2761
- }
2762
- function dl() {
2763
- var e = Ot, t = zi(e.treeContext), r = Bt;
2764
- if (r === null)
2765
- throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");
2766
- var n = Fe++;
2767
- return $a(r, t, n);
2768
- }
2769
- function Oe() {
2770
- }
2771
- var kn = {
2772
- readContext: el,
2773
- useContext: tl,
2774
- useMemo: xn,
2775
- useReducer: wn,
2776
- useRef: nl,
2777
- useState: rl,
2778
- useInsertionEffect: Oe,
2779
- useLayoutEffect: al,
2780
- useCallback: il,
2781
- // useImperativeHandle is not run in the server environment
2782
- useImperativeHandle: Oe,
2783
- // Effects are not run in the server environment.
2784
- useEffect: Oe,
2785
- // Debugging effect
2786
- useDebugValue: Oe,
2787
- useDeferredValue: ul,
2788
- useTransition: fl,
2789
- useId: dl,
2790
- // Subscriptions are not setup in a server environment.
2791
- useMutableSource: ll,
2792
- useSyncExternalStore: sl
2793
- }, Bt = null;
2794
- function Tn(e) {
2795
- Bt = e;
2796
- }
2797
- function hl(e) {
2798
- try {
2799
- var t = "", r = e;
2800
- do {
2801
- switch (r.tag) {
2802
- case 0:
2803
- t += ue(r.type, null, null);
2804
- break;
2805
- case 1:
2806
- t += rn(r.type, null, null);
2807
- break;
2808
- case 2:
2809
- t += Ii(r.type, null, null);
2810
- break;
2811
- }
2812
- r = r.parent;
2813
- } while (r);
2814
- return t;
2815
- } catch (n) {
2816
- return `
2817
- Error generating stack: ` + n.message + `
2818
- ` + n.stack;
2819
- }
2820
- }
2821
- var Ht = ee.ReactCurrentDispatcher, Wt = ee.ReactDebugCurrentFrame, jt = 0, Q = 1, Cn = 2, En = 3, Rn = 4, pl = 0, In = 1, K = 2, vl = 12800;
2822
- function gl(e) {
2823
- return console.error(e), null;
2824
- }
2825
- function he() {
2826
- }
2827
- function ml(e, t, r, n, a, o, i, l, u) {
2828
- var f = [], h = /* @__PURE__ */ new Set(), p = {
2829
- destination: null,
2830
- responseState: t,
2831
- progressiveChunkSize: n === void 0 ? vl : n,
2832
- status: pl,
2833
- fatalError: null,
2834
- nextSegmentId: 0,
2835
- allPendingTasks: 0,
2836
- pendingRootTasks: 0,
2837
- completedRootSegment: null,
2838
- abortableTasks: h,
2839
- pingedTasks: f,
2840
- clientRenderedBoundaries: [],
2841
- completedBoundaries: [],
2842
- partialBoundaries: [],
2843
- onError: a === void 0 ? gl : a,
2844
- onAllReady: o === void 0 ? he : o,
2845
- onShellReady: i === void 0 ? he : i,
2846
- onShellError: l === void 0 ? he : l,
2847
- onFatalError: u === void 0 ? he : u
2848
- }, g = _e(
2849
- p,
2850
- 0,
2851
- null,
2852
- r,
2853
- // Root segments are never embedded in Text on either edge
2854
- !1,
2855
- !1
2856
- );
2857
- g.parentFlushed = !0;
2858
- var S = zt(p, e, null, g, h, Ce, Pi, ji);
2859
- return f.push(S), p;
2860
- }
2861
- function yl(e, t) {
2862
- var r = e.pingedTasks;
2863
- r.push(t), r.length === 1 && Jt(function() {
2864
- return Gn(e);
2865
- });
2866
- }
2867
- function bl(e, t) {
2868
- return {
2869
- id: Ya,
2870
- rootSegmentID: -1,
2871
- parentFlushed: !1,
2872
- pendingTasks: 0,
2873
- forceClientRender: !1,
2874
- completedSegments: [],
2875
- byteSize: 0,
2876
- fallbackAbortableTasks: t,
2877
- errorDigest: null
2878
- };
2879
- }
2880
- function zt(e, t, r, n, a, o, i, l) {
2881
- e.allPendingTasks++, r === null ? e.pendingRootTasks++ : r.pendingTasks++;
2882
- var u = {
2883
- node: t,
2884
- ping: function() {
2885
- return yl(e, u);
2886
- },
2887
- blockedBoundary: r,
2888
- blockedSegment: n,
2889
- abortSet: a,
2890
- legacyContext: o,
2891
- context: i,
2892
- treeContext: l
2893
- };
2894
- return u.componentStack = null, a.add(u), u;
2895
- }
2896
- function _e(e, t, r, n, a, o) {
2897
- return {
2898
- status: jt,
2899
- id: -1,
2900
- // lazily assigned later
2901
- index: t,
2902
- parentFlushed: !1,
2903
- chunks: [],
2904
- children: [],
2905
- formatContext: n,
2906
- boundary: r,
2907
- lastPushedText: a,
2908
- textEmbedded: o
2909
- };
2910
- }
2911
- var L = null;
2912
- function Yt() {
2913
- return L === null || L.componentStack === null ? "" : hl(L.componentStack);
2914
- }
2915
- function pe(e, t) {
2916
- e.componentStack = {
2917
- tag: 0,
2918
- parent: e.componentStack,
2919
- type: t
2920
- };
2921
- }
2922
- function An(e, t) {
2923
- e.componentStack = {
2924
- tag: 1,
2925
- parent: e.componentStack,
2926
- type: t
2927
- };
2928
- }
2929
- function Sl(e, t) {
2930
- e.componentStack = {
2931
- tag: 2,
2932
- parent: e.componentStack,
2933
- type: t
2934
- };
2935
- }
2936
- function W(e) {
2937
- e.componentStack === null ? s("Unexpectedly popped too many stack frames. This is a bug in React.") : e.componentStack = e.componentStack.parent;
2938
- }
2939
- var ve = null;
2940
- function Gt(e, t) {
2941
- {
2942
- var r;
2943
- typeof t == "string" ? r = t : t && typeof t.message == "string" ? r = t.message : r = String(t);
2944
- var n = ve || Yt();
2945
- ve = null, e.errorMessage = r, e.errorComponentStack = n;
2946
- }
2947
- }
2948
- function ge(e, t) {
2949
- var r = e.onError(t);
2950
- if (r != null && typeof r != "string")
2951
- throw new 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 r + '" instead');
2952
- return r;
2953
- }
2954
- function Le(e, t) {
2955
- var r = e.onShellError;
2956
- r(t);
2957
- var n = e.onFatalError;
2958
- n(t), e.destination !== null ? (e.status = K, tr(e.destination, t)) : (e.status = In, e.fatalError = t);
2959
- }
2960
- function wl(e, t, r) {
2961
- pe(t, "Suspense");
2962
- var n = t.blockedBoundary, a = t.blockedSegment, o = r.fallback, i = r.children, l = /* @__PURE__ */ new Set(), u = bl(e, l), f = a.chunks.length, h = _e(
2963
- e,
2964
- f,
2965
- u,
2966
- a.formatContext,
2967
- // boundaries never require text embedding at their edges because comment nodes bound them
2968
- !1,
2969
- !1
2970
- );
2971
- a.children.push(h), a.lastPushedText = !1;
2972
- var p = _e(
2973
- e,
2974
- 0,
2975
- null,
2976
- a.formatContext,
2977
- // boundaries never require text embedding at their edges because comment nodes bound them
2978
- !1,
2979
- !1
2980
- );
2981
- p.parentFlushed = !0, t.blockedBoundary = u, t.blockedSegment = p;
2982
- try {
2983
- if (Vt(e, t, i), Cr(p.chunks, e.responseState, p.lastPushedText, p.textEmbedded), p.status = Q, Be(u, p), u.pendingTasks === 0) {
2984
- W(t);
2985
- return;
2986
- }
2987
- } catch (S) {
2988
- p.status = Rn, u.forceClientRender = !0, u.errorDigest = ge(e, S), Gt(u, S);
2989
- } finally {
2990
- t.blockedBoundary = n, t.blockedSegment = a;
2991
- }
2992
- var g = zt(e, o, n, h, l, t.legacyContext, t.context, t.treeContext);
2993
- g.componentStack = t.componentStack, e.pingedTasks.push(g), W(t);
2994
- }
2995
- function xl(e, t, r, n) {
2996
- pe(t, r);
2997
- var a = t.blockedSegment, o = lo(a.chunks, r, n, e.responseState, a.formatContext);
2998
- a.lastPushedText = !1;
2999
- var i = a.formatContext;
3000
- a.formatContext = za(i, r, n), Vt(e, t, o), a.formatContext = i, co(a.chunks, r), a.lastPushedText = !1, W(t);
3001
- }
3002
- function kl(e) {
3003
- return e.prototype && e.prototype.isReactComponent;
3004
- }
3005
- function Dn(e, t, r, n, a) {
3006
- var o = {};
3007
- Ki(t, o);
3008
- var i = r(n, a);
3009
- return qi(r, n, i, a);
3010
- }
3011
- function Pn(e, t, r, n, a) {
3012
- var o = r.render();
3013
- r.props !== a && (_n || s("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.", b(n) || "a component"), _n = !0);
3014
- {
3015
- var i = n.childContextTypes;
3016
- if (i != null) {
3017
- var l = t.legacyContext, u = Di(r, n, l, i);
3018
- t.legacyContext = u, I(e, t, o), t.legacyContext = l;
3019
- return;
3020
- }
3021
- }
3022
- I(e, t, o);
3023
- }
3024
- function Tl(e, t, r, n) {
3025
- Sl(t, r);
3026
- var a = ln(r, t.legacyContext), o = Ui(r, n, a);
3027
- yn(o, r, n, a), Pn(e, t, o, r, n), W(t);
3028
- }
3029
- var Fn = {}, Ue = {}, Mn = {}, On = {}, _n = !1, Ln = {}, Un = !1, Bn = !1, Hn = !1;
3030
- function Cl(e, t, r, n) {
3031
- var a;
3032
- if (a = ln(r, t.legacyContext), An(t, r), r.prototype && typeof r.prototype.render == "function") {
3033
- var o = b(r) || "Unknown";
3034
- Fn[o] || (s("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.", o, o), Fn[o] = !0);
3035
- }
3036
- var i = Dn(e, t, r, n, a), l = Sn();
3037
- if (typeof i == "object" && i !== null && typeof i.render == "function" && i.$$typeof === void 0) {
3038
- var u = b(r) || "Unknown";
3039
- Ue[u] || (s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", u, u, u), Ue[u] = !0);
3040
- }
3041
- if (
3042
- // Run these checks in production only if the flag is off.
3043
- // Eventually we'll delete this branch altogether.
3044
- typeof i == "object" && i !== null && typeof i.render == "function" && i.$$typeof === void 0
3045
- ) {
3046
- {
3047
- var f = b(r) || "Unknown";
3048
- Ue[f] || (s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", f, f, f), Ue[f] = !0);
3049
- }
3050
- yn(i, r, n, a), Pn(e, t, i, r, n);
3051
- } else if (El(r), l) {
3052
- var h = t.treeContext, p = 1, g = 0;
3053
- t.treeContext = Mt(h, p, g);
3054
- try {
3055
- I(e, t, i);
3056
- } finally {
3057
- t.treeContext = h;
3058
- }
3059
- } else
3060
- I(e, t, i);
3061
- W(t);
3062
- }
3063
- function El(e) {
3064
- {
3065
- if (e && e.childContextTypes && s("%s(...): childContextTypes cannot be defined on a function component.", e.displayName || e.name || "Component"), e.defaultProps !== void 0) {
3066
- var t = b(e) || "Unknown";
3067
- Ln[t] || (s("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.", t), Ln[t] = !0);
3068
- }
3069
- if (typeof e.getDerivedStateFromProps == "function") {
3070
- var r = b(e) || "Unknown";
3071
- On[r] || (s("%s: Function components do not support getDerivedStateFromProps.", r), On[r] = !0);
3072
- }
3073
- if (typeof e.contextType == "object" && e.contextType !== null) {
3074
- var n = b(e) || "Unknown";
3075
- Mn[n] || (s("%s: Function components do not support contextType.", n), Mn[n] = !0);
3076
- }
3077
- }
3078
- }
3079
- function Wn(e, t) {
3080
- if (e && e.defaultProps) {
3081
- var r = P({}, t), n = e.defaultProps;
3082
- for (var a in n)
3083
- r[a] === void 0 && (r[a] = n[a]);
3084
- return r;
3085
- }
3086
- return t;
3087
- }
3088
- function Rl(e, t, r, n, a) {
3089
- An(t, r.render);
3090
- var o = Dn(e, t, r.render, n, a), i = Sn();
3091
- if (i) {
3092
- var l = t.treeContext, u = 1, f = 0;
3093
- t.treeContext = Mt(l, u, f);
3094
- try {
3095
- I(e, t, o);
3096
- } finally {
3097
- t.treeContext = l;
3098
- }
3099
- } else
3100
- I(e, t, o);
3101
- W(t);
3102
- }
3103
- function Il(e, t, r, n, a) {
3104
- var o = r.type, i = Wn(o, n);
3105
- $t(e, t, o, i, a);
3106
- }
3107
- function Al(e, t, r, n) {
3108
- r._context === void 0 ? r !== r.Consumer && (Hn || (Hn = !0, s("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))) : r = r._context;
3109
- var a = n.children;
3110
- typeof a != "function" && s("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");
3111
- var o = fe(r), i = a(o);
3112
- I(e, t, i);
3113
- }
3114
- function Dl(e, t, r, n) {
3115
- var a = r._context, o = n.value, i = n.children, l;
3116
- l = t.context, t.context = Fi(a, o), I(e, t, i), t.context = Mi(a), l !== t.context && s("Popping the context provider did not return back to the original snapshot. This is a bug in React.");
3117
- }
3118
- function Pl(e, t, r, n, a) {
3119
- pe(t, "Lazy");
3120
- var o = r._payload, i = r._init, l = i(o), u = Wn(l, n);
3121
- $t(e, t, l, u, a), W(t);
3122
- }
3123
- function $t(e, t, r, n, a) {
3124
- if (typeof r == "function")
3125
- if (kl(r)) {
3126
- Tl(e, t, r, n);
3127
- return;
3128
- } else {
3129
- Cl(e, t, r, n);
3130
- return;
3131
- }
3132
- if (typeof r == "string") {
3133
- xl(e, t, r, n);
3134
- return;
3135
- }
3136
- switch (r) {
3137
- // TODO: LegacyHidden acts the same as a fragment. This only works
3138
- // because we currently assume that every instance of LegacyHidden is
3139
- // accompanied by a host component wrapper. In the hidden mode, the host
3140
- // component is given a `hidden` attribute, which ensures that the
3141
- // initial HTML is not visible. To support the use of LegacyHidden as a
3142
- // true fragment, without an extra DOM node, we would have to hide the
3143
- // initial HTML in some other way.
3144
- // TODO: Add REACT_OFFSCREEN_TYPE here too with the same capability.
3145
- case Si:
3146
- case bi:
3147
- case Gr:
3148
- case $r:
3149
- case Yr: {
3150
- I(e, t, n.children);
3151
- return;
3152
- }
3153
- case vt: {
3154
- pe(t, "SuspenseList"), I(e, t, n.children), W(t);
3155
- return;
3156
- }
3157
- case yi:
3158
- throw new Error("ReactDOMServer does not yet support scope components.");
3159
- // eslint-disable-next-line-no-fallthrough
3160
- case pt: {
3161
- wl(e, t, n);
3162
- return;
3163
- }
3164
- }
3165
- if (typeof r == "object" && r !== null)
3166
- switch (r.$$typeof) {
3167
- case ht: {
3168
- Rl(e, t, r, n, a);
3169
- return;
3170
- }
3171
- case gt: {
3172
- Il(e, t, r, n, a);
3173
- return;
3174
- }
3175
- case ft: {
3176
- Dl(e, t, r, n);
3177
- return;
3178
- }
3179
- case dt: {
3180
- Al(e, t, r, n);
3181
- return;
3182
- }
3183
- case xe: {
3184
- Pl(e, t, r, n);
3185
- return;
3186
- }
3187
- }
3188
- var o = "";
3189
- throw (r === void 0 || typeof r == "object" && r !== null && Object.keys(r).length === 0) && (o += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) " + ("but got: " + (r == null ? r : typeof r) + "." + o));
3190
- }
3191
- function Fl(e, t) {
3192
- typeof Symbol == "function" && // $FlowFixMe Flow doesn't know about toStringTag
3193
- e[Symbol.toStringTag] === "Generator" && (Un || s("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."), Un = !0), e.entries === t && (Bn || s("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Bn = !0);
3194
- }
3195
- function I(e, t, r) {
3196
- try {
3197
- return Ml(e, t, r);
3198
- } catch (n) {
3199
- throw typeof n == "object" && n !== null && typeof n.then == "function" || (ve = ve !== null ? ve : Yt()), n;
3200
- }
3201
- }
3202
- function Ml(e, t, r) {
3203
- if (t.node = r, typeof r == "object" && r !== null) {
3204
- switch (r.$$typeof) {
3205
- case mi: {
3206
- var n = r, a = n.type, o = n.props, i = n.ref;
3207
- $t(e, t, a, o, i);
3208
- return;
3209
- }
3210
- case zr:
3211
- throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");
3212
- // eslint-disable-next-line-no-fallthrough
3213
- case xe: {
3214
- var l = r, u = l._payload, f = l._init, h;
3215
- try {
3216
- h = f(u);
3217
- } catch (q) {
3218
- throw typeof q == "object" && q !== null && typeof q.then == "function" && pe(t, "Lazy"), q;
3219
- }
3220
- I(e, t, h);
3221
- return;
3222
- }
3223
- }
3224
- if (ae(r)) {
3225
- jn(e, t, r);
3226
- return;
3227
- }
3228
- var p = ki(r);
3229
- if (p) {
3230
- Fl(r, p);
3231
- var g = p.call(r);
3232
- if (g) {
3233
- var S = g.next();
3234
- if (!S.done) {
3235
- var E = [];
3236
- do
3237
- E.push(S.value), S = g.next();
3238
- while (!S.done);
3239
- jn(e, t, E);
3240
- return;
3241
- }
3242
- return;
3243
- }
3244
- }
3245
- var je = Object.prototype.toString.call(r);
3246
- throw new Error("Objects are not valid as a React child (found: " + (je === "[object Object]" ? "object with keys {" + Object.keys(r).join(", ") + "}" : je) + "). If you meant to render a collection of children, use an array instead.");
3247
- }
3248
- if (typeof r == "string") {
3249
- var ze = t.blockedSegment;
3250
- ze.lastPushedText = Tr(t.blockedSegment.chunks, r, e.responseState, ze.lastPushedText);
3251
- return;
3252
- }
3253
- if (typeof r == "number") {
3254
- var Ye = t.blockedSegment;
3255
- Ye.lastPushedText = Tr(t.blockedSegment.chunks, "" + r, e.responseState, Ye.lastPushedText);
3256
- return;
3257
- }
3258
- typeof r == "function" && s("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.");
3259
- }
3260
- function jn(e, t, r) {
3261
- for (var n = r.length, a = 0; a < n; a++) {
3262
- var o = t.treeContext;
3263
- t.treeContext = Mt(o, n, a);
3264
- try {
3265
- Vt(e, t, r[a]);
3266
- } finally {
3267
- t.treeContext = o;
3268
- }
3269
- }
3270
- }
3271
- function Ol(e, t, r) {
3272
- var n = t.blockedSegment, a = n.chunks.length, o = _e(
3273
- e,
3274
- a,
3275
- null,
3276
- n.formatContext,
3277
- // Adopt the parent segment's leading text embed
3278
- n.lastPushedText,
3279
- // Assume we are text embedded at the trailing edge
3280
- !0
3281
- );
3282
- n.children.push(o), n.lastPushedText = !1;
3283
- var i = zt(e, t.node, t.blockedBoundary, o, t.abortSet, t.legacyContext, t.context, t.treeContext);
3284
- t.componentStack !== null && (i.componentStack = t.componentStack.parent);
3285
- var l = i.ping;
3286
- r.then(l, l);
3287
- }
3288
- function Vt(e, t, r) {
3289
- var n = t.blockedSegment.formatContext, a = t.legacyContext, o = t.context, i = null;
3290
- i = t.componentStack;
3291
- try {
3292
- return I(e, t, r);
3293
- } catch (l) {
3294
- if (Lt(), typeof l == "object" && l !== null && typeof l.then == "function") {
3295
- Ol(e, t, l), t.blockedSegment.formatContext = n, t.legacyContext = a, t.context = o, Re(o), t.componentStack = i;
3296
- return;
3297
- } else
3298
- throw t.blockedSegment.formatContext = n, t.legacyContext = a, t.context = o, Re(o), t.componentStack = i, l;
3299
- }
3300
- }
3301
- function _l(e, t, r, n) {
3302
- var a = ge(e, n);
3303
- if (t === null ? Le(e, n) : (t.pendingTasks--, t.forceClientRender || (t.forceClientRender = !0, t.errorDigest = a, Gt(t, n), t.parentFlushed && e.clientRenderedBoundaries.push(t))), e.allPendingTasks--, e.allPendingTasks === 0) {
3304
- var o = e.onAllReady;
3305
- o();
3306
- }
3307
- }
3308
- function Ll(e) {
3309
- var t = this, r = e.blockedBoundary, n = e.blockedSegment;
3310
- n.status = En, Yn(t, r, n);
3311
- }
3312
- function zn(e, t, r) {
3313
- var n = e.blockedBoundary, a = e.blockedSegment;
3314
- if (a.status = En, n === null)
3315
- t.allPendingTasks--, t.status !== K && (t.status = K, t.destination !== null && qt(t.destination));
3316
- else {
3317
- if (n.pendingTasks--, !n.forceClientRender) {
3318
- n.forceClientRender = !0;
3319
- var o = r === void 0 ? new Error("The render was aborted by the server without a reason.") : r;
3320
- n.errorDigest = t.onError(o);
3321
- {
3322
- var i = "The server did not finish this Suspense boundary: ";
3323
- o && typeof o.message == "string" ? o = i + o.message : o = i + String(o);
3324
- var l = L;
3325
- L = e;
3326
- try {
3327
- Gt(n, o);
3328
- } finally {
3329
- L = l;
3330
- }
3331
- }
3332
- n.parentFlushed && t.clientRenderedBoundaries.push(n);
3333
- }
3334
- if (n.fallbackAbortableTasks.forEach(function(f) {
3335
- return zn(f, t, r);
3336
- }), n.fallbackAbortableTasks.clear(), t.allPendingTasks--, t.allPendingTasks === 0) {
3337
- var u = t.onAllReady;
3338
- u();
3339
- }
3340
- }
3341
- }
3342
- function Be(e, t) {
3343
- if (t.chunks.length === 0 && t.children.length === 1 && t.children[0].boundary === null) {
3344
- var r = t.children[0];
3345
- r.id = t.id, r.parentFlushed = !0, r.status === Q && Be(e, r);
3346
- } else {
3347
- var n = e.completedSegments;
3348
- n.push(t);
3349
- }
3350
- }
3351
- function Yn(e, t, r) {
3352
- if (t === null) {
3353
- if (r.parentFlushed) {
3354
- if (e.completedRootSegment !== null)
3355
- throw new Error("There can only be one root segment. This is a bug in React.");
3356
- e.completedRootSegment = r;
3357
- }
3358
- if (e.pendingRootTasks--, e.pendingRootTasks === 0) {
3359
- e.onShellError = he;
3360
- var n = e.onShellReady;
3361
- n();
3362
- }
3363
- } else if (t.pendingTasks--, !t.forceClientRender) {
3364
- if (t.pendingTasks === 0)
3365
- r.parentFlushed && r.status === Q && Be(t, r), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(Ll, e), t.fallbackAbortableTasks.clear();
3366
- else if (r.parentFlushed && r.status === Q) {
3367
- Be(t, r);
3368
- var a = t.completedSegments;
3369
- a.length === 1 && t.parentFlushed && e.partialBoundaries.push(t);
3370
- }
3371
- }
3372
- if (e.allPendingTasks--, e.allPendingTasks === 0) {
3373
- var o = e.onAllReady;
3374
- o();
3375
- }
3376
- }
3377
- function Ul(e, t) {
3378
- var r = t.blockedSegment;
3379
- if (r.status === jt) {
3380
- Re(t.context);
3381
- var n = null;
3382
- n = L, L = t;
3383
- try {
3384
- I(e, t, t.node), Cr(r.chunks, e.responseState, r.lastPushedText, r.textEmbedded), t.abortSet.delete(t), r.status = Q, Yn(e, t.blockedBoundary, r);
3385
- } catch (o) {
3386
- if (Lt(), typeof o == "object" && o !== null && typeof o.then == "function") {
3387
- var a = t.ping;
3388
- o.then(a, a);
3389
- } else
3390
- t.abortSet.delete(t), r.status = Rn, _l(e, t.blockedBoundary, r, o);
3391
- } finally {
3392
- L = n;
3393
- }
3394
- }
3395
- }
3396
- function Gn(e) {
3397
- if (e.status !== K) {
3398
- var t = Oi(), r = Ht.current;
3399
- Ht.current = kn;
3400
- var n;
3401
- n = Wt.getCurrentStack, Wt.getCurrentStack = Yt;
3402
- var a = Bt;
3403
- Tn(e.responseState);
3404
- try {
3405
- var o = e.pingedTasks, i;
3406
- for (i = 0; i < o.length; i++) {
3407
- var l = o[i];
3408
- Ul(e, l);
3409
- }
3410
- o.splice(0, i), e.destination !== null && Nt(e, e.destination);
3411
- } catch (u) {
3412
- ge(e, u), Le(e, u);
3413
- } finally {
3414
- Tn(a), Ht.current = r, Wt.getCurrentStack = n, r === kn && Re(t);
3415
- }
3416
- }
3417
- }
3418
- function He(e, t, r) {
3419
- switch (r.parentFlushed = !0, r.status) {
3420
- case jt: {
3421
- var n = r.id = e.nextSegmentId++;
3422
- return r.lastPushedText = !1, r.textEmbedded = !1, vo(t, e.responseState, n);
3423
- }
3424
- case Q: {
3425
- r.status = Cn;
3426
- for (var a = !0, o = r.chunks, i = 0, l = r.children, u = 0; u < l.length; u++) {
3427
- for (var f = l[u]; i < f.index; i++)
3428
- d(t, o[i]);
3429
- a = We(e, t, f);
3430
- }
3431
- for (; i < o.length - 1; i++)
3432
- d(t, o[i]);
3433
- return i < o.length && (a = m(t, o[i])), a;
3434
- }
3435
- default:
3436
- throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.");
3437
- }
3438
- }
3439
- function We(e, t, r) {
3440
- var n = r.boundary;
3441
- if (n === null)
3442
- return He(e, t, r);
3443
- if (n.parentFlushed = !0, n.forceClientRender)
3444
- return Eo(t, e.responseState, n.errorDigest, n.errorMessage, n.errorComponentStack), He(e, t, r), Io(t, e.responseState);
3445
- if (n.pendingTasks > 0) {
3446
- n.rootSegmentID = e.nextSegmentId++, n.completedSegments.length > 0 && e.partialBoundaries.push(n);
3447
- var a = n.id = Ga(e.responseState);
3448
- return Wr(t, e.responseState, a), He(e, t, r), jr(t, e.responseState);
3449
- } else {
3450
- if (n.byteSize > e.progressiveChunkSize)
3451
- return n.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(n), Wr(t, e.responseState, n.id), He(e, t, r), jr(t, e.responseState);
3452
- Co(t, e.responseState);
3453
- var o = n.completedSegments;
3454
- if (o.length !== 1)
3455
- throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");
3456
- var i = o[0];
3457
- return We(e, t, i), Ro(t, e.responseState);
3458
- }
3459
- }
3460
- function Bl(e, t, r) {
3461
- return vi(t, e.responseState, r.id, r.errorDigest, r.errorMessage, r.errorComponentStack);
3462
- }
3463
- function $n(e, t, r) {
3464
- return Jo(t, e.responseState, r.formatContext, r.id), We(e, t, r), Qo(t, r.formatContext);
3465
- }
3466
- function Vn(e, t, r) {
3467
- for (var n = r.completedSegments, a = 0; a < n.length; a++) {
3468
- var o = n[a];
3469
- Nn(e, t, r, o);
3470
- }
3471
- return n.length = 0, ci(t, e.responseState, r.id, r.rootSegmentID);
3472
- }
3473
- function Hl(e, t, r) {
3474
- for (var n = r.completedSegments, a = 0; a < n.length; a++) {
3475
- var o = n[a];
3476
- if (!Nn(e, t, r, o))
3477
- return a++, n.splice(0, a), !1;
3478
- }
3479
- return n.splice(0, a), !0;
3480
- }
3481
- function Nn(e, t, r, n) {
3482
- if (n.status === Cn)
3483
- return !0;
3484
- var a = n.id;
3485
- if (a === -1) {
3486
- var o = n.id = r.rootSegmentID;
3487
- if (o === -1)
3488
- throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");
3489
- return $n(e, t, n);
3490
- } else
3491
- return $n(e, t, n), oi(t, e.responseState, a);
3492
- }
3493
- function Nt(e, t) {
3494
- Qt();
3495
- try {
3496
- var r = e.completedRootSegment;
3497
- r !== null && e.pendingRootTasks === 0 && (We(e, t, r), e.completedRootSegment = null, fo(t, e.responseState));
3498
- var n = e.clientRenderedBoundaries, a;
3499
- for (a = 0; a < n.length; a++) {
3500
- var o = n[a];
3501
- Bl(e, t, o);
3502
- }
3503
- n.splice(0, a);
3504
- var i = e.completedBoundaries;
3505
- for (a = 0; a < i.length; a++) {
3506
- var l = i[a];
3507
- Vn(e, t, l);
3508
- }
3509
- i.splice(0, a), Kt(t), Qt(t);
3510
- var u = e.partialBoundaries;
3511
- for (a = 0; a < u.length; a++) {
3512
- var f = u[a];
3513
- if (!Hl(e, t, f)) {
3514
- e.destination = null, a++, u.splice(0, a);
3515
- return;
3516
- }
3517
- }
3518
- u.splice(0, a);
3519
- var h = e.completedBoundaries;
3520
- for (a = 0; a < h.length; a++) {
3521
- var p = h[a];
3522
- Vn(e, t, p);
3523
- }
3524
- h.splice(0, a);
3525
- } finally {
3526
- Kt(t), e.allPendingTasks === 0 && e.pingedTasks.length === 0 && e.clientRenderedBoundaries.length === 0 && e.completedBoundaries.length === 0 && (e.abortableTasks.size !== 0 && s("There was still abortable task at the root when we closed. This is a bug in React."), qt(t));
3527
- }
3528
- }
3529
- function Wl(e) {
3530
- Jt(function() {
3531
- return Gn(e);
3532
- });
3533
- }
3534
- function jl(e, t) {
3535
- if (e.status === In) {
3536
- e.status = K, tr(t, e.fatalError);
3537
- return;
3538
- }
3539
- if (e.status !== K && e.destination === null) {
3540
- e.destination = t;
3541
- try {
3542
- Nt(e, t);
3543
- } catch (r) {
3544
- ge(e, r), Le(e, r);
3545
- }
3546
- }
3547
- }
3548
- function Xn(e, t) {
3549
- try {
3550
- var r = e.abortableTasks;
3551
- r.forEach(function(n) {
3552
- return zn(n, e, t);
3553
- }), r.clear(), e.destination !== null && Nt(e, e.destination);
3554
- } catch (n) {
3555
- ge(e, n), Le(e, n);
3556
- }
3557
- }
3558
- function zl(e, t) {
3559
- return new Promise(function(r, n) {
3560
- var a, o, i = new Promise(function(g, S) {
3561
- o = g, a = S;
3562
- });
3563
- function l() {
3564
- var g = new ReadableStream(
3565
- {
3566
- type: "bytes",
3567
- pull: function(S) {
3568
- jl(f, S);
3569
- },
3570
- cancel: function(S) {
3571
- Xn(f);
3572
- }
3573
- },
3574
- // $FlowFixMe size() methods are not allowed on byte streams.
3575
- {
3576
- highWaterMark: 0
3577
- }
3578
- );
3579
- g.allReady = i, r(g);
3580
- }
3581
- function u(g) {
3582
- i.catch(function() {
3583
- }), n(g);
3584
- }
3585
- var f = ml(e, Wa(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), ja(t ? t.namespaceURI : void 0), t ? t.progressiveChunkSize : void 0, t ? t.onError : void 0, o, l, u, a);
3586
- if (t && t.signal) {
3587
- var h = t.signal, p = function() {
3588
- Xn(f, h.reason), h.removeEventListener("abort", p);
3589
- };
3590
- h.addEventListener("abort", p);
3591
- }
3592
- Wl(f);
3593
- });
3594
- }
3595
- Ge.renderToReadableStream = zl, Ge.version = Jn;
3596
- })(), Ge);
3597
- }
3598
- export {
3599
- Xl as __require
3600
- };
3601
- //# sourceMappingURL=react-dom-server.browser.development.js.map