@tachybase/module-pdf 0.23.8

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 (135) hide show
  1. package/.turbo/turbo-build.log +15 -0
  2. package/README.md +1 -0
  3. package/client.d.ts +2 -0
  4. package/client.js +1 -0
  5. package/dist/client/PdfInstruction.d.ts +107 -0
  6. package/dist/client/index.d.ts +10 -0
  7. package/dist/client/index.js +239 -0
  8. package/dist/externalVersion.js +11 -0
  9. package/dist/index.d.ts +2 -0
  10. package/dist/index.js +39 -0
  11. package/dist/node_modules/@babel/core/LICENSE +22 -0
  12. package/dist/node_modules/@babel/core/cjs-proxy.cjs +68 -0
  13. package/dist/node_modules/@babel/core/lib/config/cache-contexts.js +3 -0
  14. package/dist/node_modules/@babel/core/lib/config/caching.js +261 -0
  15. package/dist/node_modules/@babel/core/lib/config/config-chain.js +469 -0
  16. package/dist/node_modules/@babel/core/lib/config/config-descriptors.js +190 -0
  17. package/dist/node_modules/@babel/core/lib/config/files/configuration.js +287 -0
  18. package/dist/node_modules/@babel/core/lib/config/files/import.cjs +6 -0
  19. package/dist/node_modules/@babel/core/lib/config/files/index-browser.js +58 -0
  20. package/dist/node_modules/@babel/core/lib/config/files/index.js +78 -0
  21. package/dist/node_modules/@babel/core/lib/config/files/module-types.js +195 -0
  22. package/dist/node_modules/@babel/core/lib/config/files/package.js +61 -0
  23. package/dist/node_modules/@babel/core/lib/config/files/plugins.js +229 -0
  24. package/dist/node_modules/@babel/core/lib/config/files/types.js +3 -0
  25. package/dist/node_modules/@babel/core/lib/config/files/utils.js +36 -0
  26. package/dist/node_modules/@babel/core/lib/config/full.js +312 -0
  27. package/dist/node_modules/@babel/core/lib/config/helpers/config-api.js +84 -0
  28. package/dist/node_modules/@babel/core/lib/config/helpers/deep-array.js +23 -0
  29. package/dist/node_modules/@babel/core/lib/config/helpers/environment.js +12 -0
  30. package/dist/node_modules/@babel/core/lib/config/index.js +93 -0
  31. package/dist/node_modules/@babel/core/lib/config/item.js +67 -0
  32. package/dist/node_modules/@babel/core/lib/config/partial.js +158 -0
  33. package/dist/node_modules/@babel/core/lib/config/pattern-to-regex.js +38 -0
  34. package/dist/node_modules/@babel/core/lib/config/plugin.js +33 -0
  35. package/dist/node_modules/@babel/core/lib/config/printer.js +113 -0
  36. package/dist/node_modules/@babel/core/lib/config/resolve-targets-browser.js +41 -0
  37. package/dist/node_modules/@babel/core/lib/config/resolve-targets.js +61 -0
  38. package/dist/node_modules/@babel/core/lib/config/util.js +31 -0
  39. package/dist/node_modules/@babel/core/lib/config/validation/option-assertions.js +277 -0
  40. package/dist/node_modules/@babel/core/lib/config/validation/options.js +189 -0
  41. package/dist/node_modules/@babel/core/lib/config/validation/plugins.js +67 -0
  42. package/dist/node_modules/@babel/core/lib/config/validation/removed.js +68 -0
  43. package/dist/node_modules/@babel/core/lib/errors/config-error.js +18 -0
  44. package/dist/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js +98 -0
  45. package/dist/node_modules/@babel/core/lib/gensync-utils/async.js +90 -0
  46. package/dist/node_modules/@babel/core/lib/gensync-utils/fs.js +31 -0
  47. package/dist/node_modules/@babel/core/lib/gensync-utils/functional.js +58 -0
  48. package/dist/node_modules/@babel/core/lib/index.js +227 -0
  49. package/dist/node_modules/@babel/core/lib/parse.js +47 -0
  50. package/dist/node_modules/@babel/core/lib/parser/index.js +79 -0
  51. package/dist/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js +339 -0
  52. package/dist/node_modules/@babel/core/lib/tools/build-external-helpers.js +144 -0
  53. package/dist/node_modules/@babel/core/lib/transform-ast.js +50 -0
  54. package/dist/node_modules/@babel/core/lib/transform-file-browser.js +23 -0
  55. package/dist/node_modules/@babel/core/lib/transform-file.js +40 -0
  56. package/dist/node_modules/@babel/core/lib/transform.js +49 -0
  57. package/dist/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js +84 -0
  58. package/dist/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs +4 -0
  59. package/dist/node_modules/@babel/core/lib/transformation/file/file.js +214 -0
  60. package/dist/node_modules/@babel/core/lib/transformation/file/generate.js +84 -0
  61. package/dist/node_modules/@babel/core/lib/transformation/file/merge-map.js +37 -0
  62. package/dist/node_modules/@babel/core/lib/transformation/index.js +92 -0
  63. package/dist/node_modules/@babel/core/lib/transformation/normalize-file.js +129 -0
  64. package/dist/node_modules/@babel/core/lib/transformation/normalize-opts.js +59 -0
  65. package/dist/node_modules/@babel/core/lib/transformation/plugin-pass.js +50 -0
  66. package/dist/node_modules/@babel/core/lib/transformation/util/clone-deep.js +36 -0
  67. package/dist/node_modules/@babel/core/lib/vendor/import-meta-resolve.js +1043 -0
  68. package/dist/node_modules/@babel/core/node_modules/.bin/json5 +17 -0
  69. package/dist/node_modules/@babel/core/node_modules/.bin/parser +17 -0
  70. package/dist/node_modules/@babel/core/node_modules/.bin/semver +17 -0
  71. package/dist/node_modules/@babel/core/package.json +1 -0
  72. package/dist/node_modules/@babel/core/src/config/files/index-browser.ts +113 -0
  73. package/dist/node_modules/@babel/core/src/config/files/index.ts +29 -0
  74. package/dist/node_modules/@babel/core/src/config/resolve-targets-browser.ts +40 -0
  75. package/dist/node_modules/@babel/core/src/config/resolve-targets.ts +56 -0
  76. package/dist/node_modules/@babel/core/src/transform-file-browser.ts +31 -0
  77. package/dist/node_modules/@babel/core/src/transform-file.ts +55 -0
  78. package/dist/node_modules/@react-pdf/renderer/index.d.ts +590 -0
  79. package/dist/node_modules/@react-pdf/renderer/lib/react-pdf.browser.cjs +4558 -0
  80. package/dist/node_modules/@react-pdf/renderer/lib/react-pdf.browser.d.cts +590 -0
  81. package/dist/node_modules/@react-pdf/renderer/lib/react-pdf.browser.d.ts +590 -0
  82. package/dist/node_modules/@react-pdf/renderer/lib/react-pdf.browser.js +4505 -0
  83. package/dist/node_modules/@react-pdf/renderer/lib/react-pdf.browser.min.cjs +10 -0
  84. package/dist/node_modules/@react-pdf/renderer/lib/react-pdf.browser.min.d.cts +590 -0
  85. package/dist/node_modules/@react-pdf/renderer/lib/react-pdf.browser.min.d.ts +590 -0
  86. package/dist/node_modules/@react-pdf/renderer/lib/react-pdf.browser.min.js +10 -0
  87. package/dist/node_modules/@react-pdf/renderer/lib/react-pdf.cjs +40 -0
  88. package/dist/node_modules/@react-pdf/renderer/lib/react-pdf.d.cts +590 -0
  89. package/dist/node_modules/@react-pdf/renderer/lib/react-pdf.d.ts +590 -0
  90. package/dist/node_modules/@react-pdf/renderer/lib/react-pdf.js +4393 -0
  91. package/dist/node_modules/@react-pdf/renderer/lib/react-pdf.min.cjs +10 -0
  92. package/dist/node_modules/@react-pdf/renderer/lib/react-pdf.min.d.cts +590 -0
  93. package/dist/node_modules/@react-pdf/renderer/lib/react-pdf.min.d.ts +590 -0
  94. package/dist/node_modules/@react-pdf/renderer/lib/react-pdf.min.js +10 -0
  95. package/dist/node_modules/@react-pdf/renderer/package.json +1 -0
  96. package/dist/node_modules/fs-extra/LICENSE +15 -0
  97. package/dist/node_modules/fs-extra/lib/copy/copy-sync.js +161 -0
  98. package/dist/node_modules/fs-extra/lib/copy/copy.js +177 -0
  99. package/dist/node_modules/fs-extra/lib/copy/index.js +7 -0
  100. package/dist/node_modules/fs-extra/lib/empty/index.js +39 -0
  101. package/dist/node_modules/fs-extra/lib/ensure/file.js +66 -0
  102. package/dist/node_modules/fs-extra/lib/ensure/index.js +23 -0
  103. package/dist/node_modules/fs-extra/lib/ensure/link.js +64 -0
  104. package/dist/node_modules/fs-extra/lib/ensure/symlink-paths.js +101 -0
  105. package/dist/node_modules/fs-extra/lib/ensure/symlink-type.js +34 -0
  106. package/dist/node_modules/fs-extra/lib/ensure/symlink.js +67 -0
  107. package/dist/node_modules/fs-extra/lib/fs/index.js +140 -0
  108. package/dist/node_modules/fs-extra/lib/index.js +1 -0
  109. package/dist/node_modules/fs-extra/lib/json/index.js +16 -0
  110. package/dist/node_modules/fs-extra/lib/json/jsonfile.js +11 -0
  111. package/dist/node_modules/fs-extra/lib/json/output-json-sync.js +12 -0
  112. package/dist/node_modules/fs-extra/lib/json/output-json.js +12 -0
  113. package/dist/node_modules/fs-extra/lib/mkdirs/index.js +14 -0
  114. package/dist/node_modules/fs-extra/lib/mkdirs/make-dir.js +27 -0
  115. package/dist/node_modules/fs-extra/lib/mkdirs/utils.js +21 -0
  116. package/dist/node_modules/fs-extra/lib/move/index.js +7 -0
  117. package/dist/node_modules/fs-extra/lib/move/move-sync.js +55 -0
  118. package/dist/node_modules/fs-extra/lib/move/move.js +59 -0
  119. package/dist/node_modules/fs-extra/lib/output-file/index.js +31 -0
  120. package/dist/node_modules/fs-extra/lib/path-exists/index.js +12 -0
  121. package/dist/node_modules/fs-extra/lib/remove/index.js +17 -0
  122. package/dist/node_modules/fs-extra/lib/util/stat.js +158 -0
  123. package/dist/node_modules/fs-extra/lib/util/utimes.js +36 -0
  124. package/dist/node_modules/fs-extra/package.json +1 -0
  125. package/dist/server/PdfInstruction.d.ts +10 -0
  126. package/dist/server/PdfInstruction.js +108 -0
  127. package/dist/server/index.d.ts +2 -0
  128. package/dist/server/index.js +53 -0
  129. package/dist/server/plugin.d.ts +11 -0
  130. package/dist/server/plugin.js +102 -0
  131. package/dist/server/services/font-manager.d.ts +6 -0
  132. package/dist/server/services/font-manager.js +199 -0
  133. package/package.json +32 -0
  134. package/server.d.ts +2 -0
  135. package/server.js +1 -0
@@ -0,0 +1,4393 @@
1
+ import * as primitives from '@react-pdf/primitives';
2
+ export * from '@react-pdf/primitives';
3
+ import fs from 'fs';
4
+ import { Buffer } from 'buffer';
5
+ import FontStore from '@react-pdf/font';
6
+ import renderPDF from '@react-pdf/render';
7
+ import PDFDocument from '@react-pdf/pdfkit';
8
+ import layoutDocument from '@react-pdf/layout';
9
+ import require$$0 from 'object-assign';
10
+ import require$$1 from 'react';
11
+ import * as scheduler from 'scheduler';
12
+
13
+ function getDefaultExportFromCjs (x) {
14
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
15
+ }
16
+
17
+ function getAugmentedNamespace(n) {
18
+ if (n.__esModule) return n;
19
+ var f = n.default;
20
+ if (typeof f == "function") {
21
+ var a = function a () {
22
+ if (this instanceof a) {
23
+ return Reflect.construct(f, arguments, this.constructor);
24
+ }
25
+ return f.apply(this, arguments);
26
+ };
27
+ a.prototype = f.prototype;
28
+ } else a = {};
29
+ Object.defineProperty(a, '__esModule', {value: true});
30
+ Object.keys(n).forEach(function (k) {
31
+ var d = Object.getOwnPropertyDescriptor(n, k);
32
+ Object.defineProperty(a, k, d.get ? d : {
33
+ enumerable: true,
34
+ get: function () {
35
+ return n[k];
36
+ }
37
+ });
38
+ });
39
+ return a;
40
+ }
41
+
42
+ var reactReconciler_production_min = {exports: {}};
43
+
44
+ var require$$2 = /*@__PURE__*/getAugmentedNamespace(scheduler);
45
+
46
+ /** @license React v0.23.0
47
+ * react-reconciler.production.min.js
48
+ *
49
+ * Copyright (c) Facebook, Inc. and its affiliates.
50
+ *
51
+ * This source code is licensed under the MIT license found in the
52
+ * LICENSE file in the root directory of this source tree.
53
+ */
54
+
55
+ (function (module) {
56
+ module.exports = function $$$reconciler($$$hostConfig) {
57
+
58
+ var aa = require$$0,
59
+ ba = require$$1,
60
+ m = require$$2;
61
+ function n(a) {
62
+ for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++) b += "&args[]=" + encodeURIComponent(arguments[c]);
63
+ return "Minified React error #" + a + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
64
+ }
65
+ var q = ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
66
+ q.hasOwnProperty("ReactCurrentDispatcher") || (q.ReactCurrentDispatcher = {
67
+ current: null
68
+ });
69
+ q.hasOwnProperty("ReactCurrentBatchConfig") || (q.ReactCurrentBatchConfig = {
70
+ suspense: null
71
+ });
72
+ var u = "function" === typeof Symbol && Symbol.for,
73
+ ca = u ? Symbol.for("react.element") : 60103,
74
+ da = u ? Symbol.for("react.portal") : 60106,
75
+ ea = u ? Symbol.for("react.fragment") : 60107,
76
+ fa = u ? Symbol.for("react.strict_mode") : 60108,
77
+ ha = u ? Symbol.for("react.profiler") : 60114,
78
+ ia = u ? Symbol.for("react.provider") : 60109,
79
+ ja = u ? Symbol.for("react.context") : 60110,
80
+ ka = u ? Symbol.for("react.concurrent_mode") : 60111,
81
+ la = u ? Symbol.for("react.forward_ref") : 60112,
82
+ ma = u ? Symbol.for("react.suspense") : 60113,
83
+ na = u ? Symbol.for("react.suspense_list") : 60120,
84
+ oa = u ? Symbol.for("react.memo") : 60115,
85
+ pa = u ? Symbol.for("react.lazy") : 60116;
86
+ var qa = "function" === typeof Symbol && Symbol.iterator;
87
+ function ra(a) {
88
+ if (null === a || "object" !== typeof a) return null;
89
+ a = qa && a[qa] || a["@@iterator"];
90
+ return "function" === typeof a ? a : null;
91
+ }
92
+ function sa(a) {
93
+ if (-1 === a._status) {
94
+ a._status = 0;
95
+ var b = a._ctor;
96
+ b = b();
97
+ a._result = b;
98
+ b.then(function (b) {
99
+ 0 === a._status && (b = b.default, a._status = 1, a._result = b);
100
+ }, function (b) {
101
+ 0 === a._status && (a._status = 2, a._result = b);
102
+ });
103
+ }
104
+ }
105
+ function ta(a) {
106
+ if (null == a) return null;
107
+ if ("function" === typeof a) return a.displayName || a.name || null;
108
+ if ("string" === typeof a) return a;
109
+ switch (a) {
110
+ case ea:
111
+ return "Fragment";
112
+ case da:
113
+ return "Portal";
114
+ case ha:
115
+ return "Profiler";
116
+ case fa:
117
+ return "StrictMode";
118
+ case ma:
119
+ return "Suspense";
120
+ case na:
121
+ return "SuspenseList";
122
+ }
123
+ if ("object" === typeof a) switch (a.$$typeof) {
124
+ case ja:
125
+ return "Context.Consumer";
126
+ case ia:
127
+ return "Context.Provider";
128
+ case la:
129
+ var b = a.render;
130
+ b = b.displayName || b.name || "";
131
+ return a.displayName || ("" !== b ? "ForwardRef(" + b + ")" : "ForwardRef");
132
+ case oa:
133
+ return ta(a.type);
134
+ case pa:
135
+ if (a = 1 === a._status ? a._result : null) return ta(a);
136
+ }
137
+ return null;
138
+ }
139
+ function ua(a) {
140
+ var b = a,
141
+ c = a;
142
+ if (a.alternate) for (; b.return;) b = b.return;else {
143
+ a = b;
144
+ do b = a, 0 !== (b.effectTag & 1026) && (c = b.return), a = b.return; while (a);
145
+ }
146
+ return 3 === b.tag ? c : null;
147
+ }
148
+ function va(a) {
149
+ if (ua(a) !== a) throw Error(n(188));
150
+ }
151
+ function wa(a) {
152
+ var b = a.alternate;
153
+ if (!b) {
154
+ b = ua(a);
155
+ if (null === b) throw Error(n(188));
156
+ return b !== a ? null : a;
157
+ }
158
+ for (var c = a, d = b;;) {
159
+ var e = c.return;
160
+ if (null === e) break;
161
+ var f = e.alternate;
162
+ if (null === f) {
163
+ d = e.return;
164
+ if (null !== d) {
165
+ c = d;
166
+ continue;
167
+ }
168
+ break;
169
+ }
170
+ if (e.child === f.child) {
171
+ for (f = e.child; f;) {
172
+ if (f === c) return va(e), a;
173
+ if (f === d) return va(e), b;
174
+ f = f.sibling;
175
+ }
176
+ throw Error(n(188));
177
+ }
178
+ if (c.return !== d.return) c = e, d = f;else {
179
+ for (var g = !1, l = e.child; l;) {
180
+ if (l === c) {
181
+ g = !0;
182
+ c = e;
183
+ d = f;
184
+ break;
185
+ }
186
+ if (l === d) {
187
+ g = !0;
188
+ d = e;
189
+ c = f;
190
+ break;
191
+ }
192
+ l = l.sibling;
193
+ }
194
+ if (!g) {
195
+ for (l = f.child; l;) {
196
+ if (l === c) {
197
+ g = !0;
198
+ c = f;
199
+ d = e;
200
+ break;
201
+ }
202
+ if (l === d) {
203
+ g = !0;
204
+ d = f;
205
+ c = e;
206
+ break;
207
+ }
208
+ l = l.sibling;
209
+ }
210
+ if (!g) throw Error(n(189));
211
+ }
212
+ }
213
+ if (c.alternate !== d) throw Error(n(190));
214
+ }
215
+ if (3 !== c.tag) throw Error(n(188));
216
+ return c.stateNode.current === c ? a : b;
217
+ }
218
+ function xa(a) {
219
+ a = wa(a);
220
+ if (!a) return null;
221
+ for (var b = a;;) {
222
+ if (5 === b.tag || 6 === b.tag) return b;
223
+ if (b.child) b.child.return = b, b = b.child;else {
224
+ if (b === a) break;
225
+ for (; !b.sibling;) {
226
+ if (!b.return || b.return === a) return null;
227
+ b = b.return;
228
+ }
229
+ b.sibling.return = b.return;
230
+ b = b.sibling;
231
+ }
232
+ }
233
+ return null;
234
+ }
235
+ function ya(a) {
236
+ a = wa(a);
237
+ if (!a) return null;
238
+ for (var b = a;;) {
239
+ if (5 === b.tag || 6 === b.tag) return b;
240
+ if (b.child && 4 !== b.tag) b.child.return = b, b = b.child;else {
241
+ if (b === a) break;
242
+ for (; !b.sibling;) {
243
+ if (!b.return || b.return === a) return null;
244
+ b = b.return;
245
+ }
246
+ b.sibling.return = b.return;
247
+ b = b.sibling;
248
+ }
249
+ }
250
+ return null;
251
+ }
252
+ var za = $$$hostConfig.getPublicInstance,
253
+ Aa = $$$hostConfig.getRootHostContext,
254
+ Ba = $$$hostConfig.getChildHostContext,
255
+ Ca = $$$hostConfig.prepareForCommit,
256
+ Da = $$$hostConfig.resetAfterCommit,
257
+ Ea = $$$hostConfig.createInstance,
258
+ Fa = $$$hostConfig.appendInitialChild,
259
+ Ga = $$$hostConfig.finalizeInitialChildren,
260
+ Ia = $$$hostConfig.prepareUpdate,
261
+ Ja = $$$hostConfig.shouldSetTextContent,
262
+ Ka = $$$hostConfig.shouldDeprioritizeSubtree,
263
+ La = $$$hostConfig.createTextInstance,
264
+ Ma = $$$hostConfig.setTimeout,
265
+ Na = $$$hostConfig.clearTimeout,
266
+ Oa = $$$hostConfig.noTimeout,
267
+ Pa = $$$hostConfig.isPrimaryRenderer,
268
+ Qa = $$$hostConfig.supportsMutation,
269
+ Ra = $$$hostConfig.supportsPersistence,
270
+ Sa = $$$hostConfig.supportsHydration,
271
+ Ta = $$$hostConfig.appendChild,
272
+ Ua = $$$hostConfig.appendChildToContainer,
273
+ Va = $$$hostConfig.commitTextUpdate,
274
+ Wa = $$$hostConfig.commitMount,
275
+ Xa = $$$hostConfig.commitUpdate,
276
+ Ya = $$$hostConfig.insertBefore,
277
+ Za = $$$hostConfig.insertInContainerBefore,
278
+ $a = $$$hostConfig.removeChild,
279
+ ab = $$$hostConfig.removeChildFromContainer,
280
+ bb = $$$hostConfig.resetTextContent,
281
+ cb = $$$hostConfig.hideInstance,
282
+ db = $$$hostConfig.hideTextInstance,
283
+ eb = $$$hostConfig.unhideInstance,
284
+ fb = $$$hostConfig.unhideTextInstance,
285
+ gb = $$$hostConfig.cloneInstance,
286
+ hb = $$$hostConfig.createContainerChildSet,
287
+ ib = $$$hostConfig.appendChildToContainerChildSet,
288
+ kb = $$$hostConfig.finalizeContainerChildren,
289
+ lb = $$$hostConfig.replaceContainerChildren,
290
+ mb = $$$hostConfig.cloneHiddenInstance,
291
+ nb = $$$hostConfig.cloneHiddenTextInstance,
292
+ ob = $$$hostConfig.canHydrateInstance,
293
+ pb = $$$hostConfig.canHydrateTextInstance,
294
+ qb = $$$hostConfig.isSuspenseInstancePending,
295
+ rb = $$$hostConfig.isSuspenseInstanceFallback,
296
+ sb = $$$hostConfig.getNextHydratableSibling,
297
+ tb = $$$hostConfig.getFirstHydratableChild,
298
+ ub = $$$hostConfig.hydrateInstance,
299
+ vb = $$$hostConfig.hydrateTextInstance,
300
+ wb = $$$hostConfig.getNextHydratableInstanceAfterSuspenseInstance,
301
+ xb = $$$hostConfig.commitHydratedContainer,
302
+ yb = $$$hostConfig.commitHydratedSuspenseInstance,
303
+ zb = /^(.*)[\\\/]/;
304
+ function Ab(a) {
305
+ var b = "";
306
+ do {
307
+ a: switch (a.tag) {
308
+ case 3:
309
+ case 4:
310
+ case 6:
311
+ case 7:
312
+ case 10:
313
+ case 9:
314
+ var c = "";
315
+ break a;
316
+ default:
317
+ var d = a._debugOwner,
318
+ e = a._debugSource,
319
+ f = ta(a.type);
320
+ c = null;
321
+ d && (c = ta(d.type));
322
+ d = f;
323
+ f = "";
324
+ e ? f = " (at " + e.fileName.replace(zb, "") + ":" + e.lineNumber + ")" : c && (f = " (created by " + c + ")");
325
+ c = "\n in " + (d || "Unknown") + f;
326
+ }
327
+ b += c;
328
+ a = a.return;
329
+ } while (a);
330
+ return b;
331
+ }
332
+ var Bb = [],
333
+ Cb = -1;
334
+ function y(a) {
335
+ 0 > Cb || (a.current = Bb[Cb], Bb[Cb] = null, Cb--);
336
+ }
337
+ function z(a, b) {
338
+ Cb++;
339
+ Bb[Cb] = a.current;
340
+ a.current = b;
341
+ }
342
+ var Db = {},
343
+ A = {
344
+ current: Db
345
+ },
346
+ B = {
347
+ current: !1
348
+ },
349
+ Eb = Db;
350
+ function Fb(a, b) {
351
+ var c = a.type.contextTypes;
352
+ if (!c) return Db;
353
+ var d = a.stateNode;
354
+ if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) return d.__reactInternalMemoizedMaskedChildContext;
355
+ var e = {},
356
+ f;
357
+ for (f in c) e[f] = b[f];
358
+ d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e);
359
+ return e;
360
+ }
361
+ function C(a) {
362
+ a = a.childContextTypes;
363
+ return null !== a && void 0 !== a;
364
+ }
365
+ function Gb(a) {
366
+ y(B);
367
+ y(A);
368
+ }
369
+ function Hb(a) {
370
+ y(B);
371
+ y(A);
372
+ }
373
+ function Ib(a, b, c) {
374
+ if (A.current !== Db) throw Error(n(168));
375
+ z(A, b);
376
+ z(B, c);
377
+ }
378
+ function Jb(a, b, c) {
379
+ var d = a.stateNode;
380
+ a = b.childContextTypes;
381
+ if ("function" !== typeof d.getChildContext) return c;
382
+ d = d.getChildContext();
383
+ for (var e in d) if (!(e in a)) throw Error(n(108, ta(b) || "Unknown", e));
384
+ return aa({}, c, {}, d);
385
+ }
386
+ function Kb(a) {
387
+ var b = a.stateNode;
388
+ b = b && b.__reactInternalMemoizedMergedChildContext || Db;
389
+ Eb = A.current;
390
+ z(A, b);
391
+ z(B, B.current);
392
+ return !0;
393
+ }
394
+ function Lb(a, b, c) {
395
+ var d = a.stateNode;
396
+ if (!d) throw Error(n(169));
397
+ c ? (b = Jb(a, b, Eb), d.__reactInternalMemoizedMergedChildContext = b, y(B), y(A), z(A, b)) : y(B);
398
+ z(B, c);
399
+ }
400
+ var Mb = m.unstable_runWithPriority,
401
+ Nb = m.unstable_scheduleCallback,
402
+ Ob = m.unstable_cancelCallback,
403
+ Pb = m.unstable_shouldYield,
404
+ Qb = m.unstable_requestPaint,
405
+ Tb = m.unstable_now,
406
+ Ub = m.unstable_getCurrentPriorityLevel,
407
+ Vb = m.unstable_ImmediatePriority,
408
+ Wb = m.unstable_UserBlockingPriority,
409
+ Xb = m.unstable_NormalPriority,
410
+ Yb = m.unstable_LowPriority,
411
+ Zb = m.unstable_IdlePriority,
412
+ $b = {},
413
+ ac = void 0 !== Qb ? Qb : function () {},
414
+ bc = null,
415
+ cc = null,
416
+ dc = !1,
417
+ ec = Tb(),
418
+ E = 1E4 > ec ? Tb : function () {
419
+ return Tb() - ec;
420
+ };
421
+ function fc() {
422
+ switch (Ub()) {
423
+ case Vb:
424
+ return 99;
425
+ case Wb:
426
+ return 98;
427
+ case Xb:
428
+ return 97;
429
+ case Yb:
430
+ return 96;
431
+ case Zb:
432
+ return 95;
433
+ default:
434
+ throw Error(n(332));
435
+ }
436
+ }
437
+ function gc(a) {
438
+ switch (a) {
439
+ case 99:
440
+ return Vb;
441
+ case 98:
442
+ return Wb;
443
+ case 97:
444
+ return Xb;
445
+ case 96:
446
+ return Yb;
447
+ case 95:
448
+ return Zb;
449
+ default:
450
+ throw Error(n(332));
451
+ }
452
+ }
453
+ function hc(a, b) {
454
+ a = gc(a);
455
+ return Mb(a, b);
456
+ }
457
+ function ic(a, b, c) {
458
+ a = gc(a);
459
+ return Nb(a, b, c);
460
+ }
461
+ function jc(a) {
462
+ null === bc ? (bc = [a], cc = Nb(Vb, kc)) : bc.push(a);
463
+ return $b;
464
+ }
465
+ function F() {
466
+ if (null !== cc) {
467
+ var a = cc;
468
+ cc = null;
469
+ Ob(a);
470
+ }
471
+ kc();
472
+ }
473
+ function kc() {
474
+ if (!dc && null !== bc) {
475
+ dc = !0;
476
+ var a = 0;
477
+ try {
478
+ var b = bc;
479
+ hc(99, function () {
480
+ for (; a < b.length; a++) {
481
+ var c = b[a];
482
+ do c = c(!0); while (null !== c);
483
+ }
484
+ });
485
+ bc = null;
486
+ } catch (c) {
487
+ throw null !== bc && (bc = bc.slice(a + 1)), Nb(Vb, F), c;
488
+ } finally {
489
+ dc = !1;
490
+ }
491
+ }
492
+ }
493
+ var lc = 3;
494
+ function mc(a, b, c) {
495
+ c /= 10;
496
+ return 1073741821 - (((1073741821 - a + b / 10) / c | 0) + 1) * c;
497
+ }
498
+ function nc(a, b) {
499
+ return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
500
+ }
501
+ var oc = "function" === typeof Object.is ? Object.is : nc,
502
+ pc = Object.prototype.hasOwnProperty;
503
+ function qc(a, b) {
504
+ if (oc(a, b)) return !0;
505
+ if ("object" !== typeof a || null === a || "object" !== typeof b || null === b) return !1;
506
+ var c = Object.keys(a),
507
+ d = Object.keys(b);
508
+ if (c.length !== d.length) return !1;
509
+ for (d = 0; d < c.length; d++) if (!pc.call(b, c[d]) || !oc(a[c[d]], b[c[d]])) return !1;
510
+ return !0;
511
+ }
512
+ function rc(a, b) {
513
+ if (a && a.defaultProps) {
514
+ b = aa({}, b);
515
+ a = a.defaultProps;
516
+ for (var c in a) void 0 === b[c] && (b[c] = a[c]);
517
+ }
518
+ return b;
519
+ }
520
+ var sc = {
521
+ current: null
522
+ },
523
+ tc = null,
524
+ uc = null,
525
+ vc = null;
526
+ function wc() {
527
+ vc = uc = tc = null;
528
+ }
529
+ function xc(a, b) {
530
+ var c = a.type._context;
531
+ Pa ? (z(sc, c._currentValue), c._currentValue = b) : (z(sc, c._currentValue2), c._currentValue2 = b);
532
+ }
533
+ function yc(a) {
534
+ var b = sc.current;
535
+ y(sc);
536
+ a = a.type._context;
537
+ Pa ? a._currentValue = b : a._currentValue2 = b;
538
+ }
539
+ function zc(a, b) {
540
+ for (; null !== a;) {
541
+ var c = a.alternate;
542
+ if (a.childExpirationTime < b) a.childExpirationTime = b, null !== c && c.childExpirationTime < b && (c.childExpirationTime = b);else if (null !== c && c.childExpirationTime < b) c.childExpirationTime = b;else break;
543
+ a = a.return;
544
+ }
545
+ }
546
+ function Ac(a, b) {
547
+ tc = a;
548
+ vc = uc = null;
549
+ a = a.dependencies;
550
+ null !== a && null !== a.firstContext && (a.expirationTime >= b && (Bc = !0), a.firstContext = null);
551
+ }
552
+ function Cc(a, b) {
553
+ if (vc !== a && !1 !== b && 0 !== b) {
554
+ if ("number" !== typeof b || 1073741823 === b) vc = a, b = 1073741823;
555
+ b = {
556
+ context: a,
557
+ observedBits: b,
558
+ next: null
559
+ };
560
+ if (null === uc) {
561
+ if (null === tc) throw Error(n(308));
562
+ uc = b;
563
+ tc.dependencies = {
564
+ expirationTime: 0,
565
+ firstContext: b,
566
+ responders: null
567
+ };
568
+ } else uc = uc.next = b;
569
+ }
570
+ return Pa ? a._currentValue : a._currentValue2;
571
+ }
572
+ var Dc = !1;
573
+ function Ec(a) {
574
+ return {
575
+ baseState: a,
576
+ firstUpdate: null,
577
+ lastUpdate: null,
578
+ firstCapturedUpdate: null,
579
+ lastCapturedUpdate: null,
580
+ firstEffect: null,
581
+ lastEffect: null,
582
+ firstCapturedEffect: null,
583
+ lastCapturedEffect: null
584
+ };
585
+ }
586
+ function Fc(a) {
587
+ return {
588
+ baseState: a.baseState,
589
+ firstUpdate: a.firstUpdate,
590
+ lastUpdate: a.lastUpdate,
591
+ firstCapturedUpdate: null,
592
+ lastCapturedUpdate: null,
593
+ firstEffect: null,
594
+ lastEffect: null,
595
+ firstCapturedEffect: null,
596
+ lastCapturedEffect: null
597
+ };
598
+ }
599
+ function Gc(a, b) {
600
+ return {
601
+ expirationTime: a,
602
+ suspenseConfig: b,
603
+ tag: 0,
604
+ payload: null,
605
+ callback: null,
606
+ next: null,
607
+ nextEffect: null
608
+ };
609
+ }
610
+ function Hc(a, b) {
611
+ null === a.lastUpdate ? a.firstUpdate = a.lastUpdate = b : (a.lastUpdate.next = b, a.lastUpdate = b);
612
+ }
613
+ function Ic(a, b) {
614
+ var c = a.alternate;
615
+ if (null === c) {
616
+ var d = a.updateQueue;
617
+ var e = null;
618
+ null === d && (d = a.updateQueue = Ec(a.memoizedState));
619
+ } else d = a.updateQueue, e = c.updateQueue, null === d ? null === e ? (d = a.updateQueue = Ec(a.memoizedState), e = c.updateQueue = Ec(c.memoizedState)) : d = a.updateQueue = Fc(e) : null === e && (e = c.updateQueue = Fc(d));
620
+ null === e || d === e ? Hc(d, b) : null === d.lastUpdate || null === e.lastUpdate ? (Hc(d, b), Hc(e, b)) : (Hc(d, b), e.lastUpdate = b);
621
+ }
622
+ function Jc(a, b) {
623
+ var c = a.updateQueue;
624
+ c = null === c ? a.updateQueue = Ec(a.memoizedState) : Kc(a, c);
625
+ null === c.lastCapturedUpdate ? c.firstCapturedUpdate = c.lastCapturedUpdate = b : (c.lastCapturedUpdate.next = b, c.lastCapturedUpdate = b);
626
+ }
627
+ function Kc(a, b) {
628
+ var c = a.alternate;
629
+ null !== c && b === c.updateQueue && (b = a.updateQueue = Fc(b));
630
+ return b;
631
+ }
632
+ function Lc(a, b, c, d, e, f) {
633
+ switch (c.tag) {
634
+ case 1:
635
+ return a = c.payload, "function" === typeof a ? a.call(f, d, e) : a;
636
+ case 3:
637
+ a.effectTag = a.effectTag & -4097 | 64;
638
+ case 0:
639
+ a = c.payload;
640
+ e = "function" === typeof a ? a.call(f, d, e) : a;
641
+ if (null === e || void 0 === e) break;
642
+ return aa({}, d, e);
643
+ case 2:
644
+ Dc = !0;
645
+ }
646
+ return d;
647
+ }
648
+ function Nc(a, b, c, d, e) {
649
+ Dc = !1;
650
+ b = Kc(a, b);
651
+ for (var f = b.baseState, g = null, l = 0, h = b.firstUpdate, k = f; null !== h;) {
652
+ var p = h.expirationTime;
653
+ p < e ? (null === g && (g = h, f = k), l < p && (l = p)) : (Oc(p, h.suspenseConfig), k = Lc(a, b, h, k, c, d), null !== h.callback && (a.effectTag |= 32, h.nextEffect = null, null === b.lastEffect ? b.firstEffect = b.lastEffect = h : (b.lastEffect.nextEffect = h, b.lastEffect = h)));
654
+ h = h.next;
655
+ }
656
+ p = null;
657
+ for (h = b.firstCapturedUpdate; null !== h;) {
658
+ var D = h.expirationTime;
659
+ D < e ? (null === p && (p = h, null === g && (f = k)), l < D && (l = D)) : (k = Lc(a, b, h, k, c, d), null !== h.callback && (a.effectTag |= 32, h.nextEffect = null, null === b.lastCapturedEffect ? b.firstCapturedEffect = b.lastCapturedEffect = h : (b.lastCapturedEffect.nextEffect = h, b.lastCapturedEffect = h)));
660
+ h = h.next;
661
+ }
662
+ null === g && (b.lastUpdate = null);
663
+ null === p ? b.lastCapturedUpdate = null : a.effectTag |= 32;
664
+ null === g && null === p && (f = k);
665
+ b.baseState = f;
666
+ b.firstUpdate = g;
667
+ b.firstCapturedUpdate = p;
668
+ Pc(l);
669
+ a.expirationTime = l;
670
+ a.memoizedState = k;
671
+ }
672
+ function Qc(a, b, c) {
673
+ null !== b.firstCapturedUpdate && (null !== b.lastUpdate && (b.lastUpdate.next = b.firstCapturedUpdate, b.lastUpdate = b.lastCapturedUpdate), b.firstCapturedUpdate = b.lastCapturedUpdate = null);
674
+ Rc(b.firstEffect, c);
675
+ b.firstEffect = b.lastEffect = null;
676
+ Rc(b.firstCapturedEffect, c);
677
+ b.firstCapturedEffect = b.lastCapturedEffect = null;
678
+ }
679
+ function Rc(a, b) {
680
+ for (; null !== a;) {
681
+ var c = a.callback;
682
+ if (null !== c) {
683
+ a.callback = null;
684
+ var d = b;
685
+ if ("function" !== typeof c) throw Error(n(191, c));
686
+ c.call(d);
687
+ }
688
+ a = a.nextEffect;
689
+ }
690
+ }
691
+ var Sc = q.ReactCurrentBatchConfig,
692
+ Tc = new ba.Component().refs;
693
+ function Uc(a, b, c, d) {
694
+ b = a.memoizedState;
695
+ c = c(d, b);
696
+ c = null === c || void 0 === c ? b : aa({}, b, c);
697
+ a.memoizedState = c;
698
+ d = a.updateQueue;
699
+ null !== d && 0 === a.expirationTime && (d.baseState = c);
700
+ }
701
+ var Xc = {
702
+ isMounted: function (a) {
703
+ return (a = a._reactInternalFiber) ? ua(a) === a : !1;
704
+ },
705
+ enqueueSetState: function (a, b, c) {
706
+ a = a._reactInternalFiber;
707
+ var d = G(),
708
+ e = Sc.suspense;
709
+ d = Vc(d, a, e);
710
+ e = Gc(d, e);
711
+ e.payload = b;
712
+ void 0 !== c && null !== c && (e.callback = c);
713
+ Ic(a, e);
714
+ Wc(a, d);
715
+ },
716
+ enqueueReplaceState: function (a, b, c) {
717
+ a = a._reactInternalFiber;
718
+ var d = G(),
719
+ e = Sc.suspense;
720
+ d = Vc(d, a, e);
721
+ e = Gc(d, e);
722
+ e.tag = 1;
723
+ e.payload = b;
724
+ void 0 !== c && null !== c && (e.callback = c);
725
+ Ic(a, e);
726
+ Wc(a, d);
727
+ },
728
+ enqueueForceUpdate: function (a, b) {
729
+ a = a._reactInternalFiber;
730
+ var c = G(),
731
+ d = Sc.suspense;
732
+ c = Vc(c, a, d);
733
+ d = Gc(c, d);
734
+ d.tag = 2;
735
+ void 0 !== b && null !== b && (d.callback = b);
736
+ Ic(a, d);
737
+ Wc(a, c);
738
+ }
739
+ };
740
+ function Yc(a, b, c, d, e, f, g) {
741
+ a = a.stateNode;
742
+ return "function" === typeof a.shouldComponentUpdate ? a.shouldComponentUpdate(d, f, g) : b.prototype && b.prototype.isPureReactComponent ? !qc(c, d) || !qc(e, f) : !0;
743
+ }
744
+ function Zc(a, b, c) {
745
+ var d = !1,
746
+ e = Db;
747
+ var f = b.contextType;
748
+ "object" === typeof f && null !== f ? f = Cc(f) : (e = C(b) ? Eb : A.current, d = b.contextTypes, f = (d = null !== d && void 0 !== d) ? Fb(a, e) : Db);
749
+ b = new b(c, f);
750
+ a.memoizedState = null !== b.state && void 0 !== b.state ? b.state : null;
751
+ b.updater = Xc;
752
+ a.stateNode = b;
753
+ b._reactInternalFiber = a;
754
+ d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = e, a.__reactInternalMemoizedMaskedChildContext = f);
755
+ return b;
756
+ }
757
+ function $c(a, b, c, d) {
758
+ a = b.state;
759
+ "function" === typeof b.componentWillReceiveProps && b.componentWillReceiveProps(c, d);
760
+ "function" === typeof b.UNSAFE_componentWillReceiveProps && b.UNSAFE_componentWillReceiveProps(c, d);
761
+ b.state !== a && Xc.enqueueReplaceState(b, b.state, null);
762
+ }
763
+ function ad(a, b, c, d) {
764
+ var e = a.stateNode;
765
+ e.props = c;
766
+ e.state = a.memoizedState;
767
+ e.refs = Tc;
768
+ var f = b.contextType;
769
+ "object" === typeof f && null !== f ? e.context = Cc(f) : (f = C(b) ? Eb : A.current, e.context = Fb(a, f));
770
+ f = a.updateQueue;
771
+ null !== f && (Nc(a, f, c, e, d), e.state = a.memoizedState);
772
+ f = b.getDerivedStateFromProps;
773
+ "function" === typeof f && (Uc(a, b, f, c), e.state = a.memoizedState);
774
+ "function" === typeof b.getDerivedStateFromProps || "function" === typeof e.getSnapshotBeforeUpdate || "function" !== typeof e.UNSAFE_componentWillMount && "function" !== typeof e.componentWillMount || (b = e.state, "function" === typeof e.componentWillMount && e.componentWillMount(), "function" === typeof e.UNSAFE_componentWillMount && e.UNSAFE_componentWillMount(), b !== e.state && Xc.enqueueReplaceState(e, e.state, null), f = a.updateQueue, null !== f && (Nc(a, f, c, e, d), e.state = a.memoizedState));
775
+ "function" === typeof e.componentDidMount && (a.effectTag |= 4);
776
+ }
777
+ var bd = Array.isArray;
778
+ function cd(a, b, c) {
779
+ a = c.ref;
780
+ if (null !== a && "function" !== typeof a && "object" !== typeof a) {
781
+ if (c._owner) {
782
+ c = c._owner;
783
+ if (c) {
784
+ if (1 !== c.tag) throw Error(n(309));
785
+ var d = c.stateNode;
786
+ }
787
+ if (!d) throw Error(n(147, a));
788
+ var e = "" + a;
789
+ if (null !== b && null !== b.ref && "function" === typeof b.ref && b.ref._stringRef === e) return b.ref;
790
+ b = function (b) {
791
+ var a = d.refs;
792
+ a === Tc && (a = d.refs = {});
793
+ null === b ? delete a[e] : a[e] = b;
794
+ };
795
+ b._stringRef = e;
796
+ return b;
797
+ }
798
+ if ("string" !== typeof a) throw Error(n(284));
799
+ if (!c._owner) throw Error(n(290, a));
800
+ }
801
+ return a;
802
+ }
803
+ function dd(a, b) {
804
+ if ("textarea" !== a.type) throw Error(n(31, "[object Object]" === Object.prototype.toString.call(b) ? "object with keys {" + Object.keys(b).join(", ") + "}" : b, ""));
805
+ }
806
+ function ed(a) {
807
+ function b(b, c) {
808
+ if (a) {
809
+ var d = b.lastEffect;
810
+ null !== d ? (d.nextEffect = c, b.lastEffect = c) : b.firstEffect = b.lastEffect = c;
811
+ c.nextEffect = null;
812
+ c.effectTag = 8;
813
+ }
814
+ }
815
+ function c(c, d) {
816
+ if (!a) return null;
817
+ for (; null !== d;) b(c, d), d = d.sibling;
818
+ return null;
819
+ }
820
+ function d(b, a) {
821
+ for (b = new Map(); null !== a;) null !== a.key ? b.set(a.key, a) : b.set(a.index, a), a = a.sibling;
822
+ return b;
823
+ }
824
+ function e(b, a, c) {
825
+ b = fd(b, a);
826
+ b.index = 0;
827
+ b.sibling = null;
828
+ return b;
829
+ }
830
+ function f(b, c, d) {
831
+ b.index = d;
832
+ if (!a) return c;
833
+ d = b.alternate;
834
+ if (null !== d) return d = d.index, d < c ? (b.effectTag = 2, c) : d;
835
+ b.effectTag = 2;
836
+ return c;
837
+ }
838
+ function g(b) {
839
+ a && null === b.alternate && (b.effectTag = 2);
840
+ return b;
841
+ }
842
+ function l(b, a, c, d) {
843
+ if (null === a || 6 !== a.tag) return a = gd(c, b.mode, d), a.return = b, a;
844
+ a = e(a, c);
845
+ a.return = b;
846
+ return a;
847
+ }
848
+ function h(b, a, c, d) {
849
+ if (null !== a && a.elementType === c.type) return d = e(a, c.props), d.ref = cd(b, a, c), d.return = b, d;
850
+ d = hd(c.type, c.key, c.props, null, b.mode, d);
851
+ d.ref = cd(b, a, c);
852
+ d.return = b;
853
+ return d;
854
+ }
855
+ function k(b, a, c, d) {
856
+ if (null === a || 4 !== a.tag || a.stateNode.containerInfo !== c.containerInfo || a.stateNode.implementation !== c.implementation) return a = id(c, b.mode, d), a.return = b, a;
857
+ a = e(a, c.children || []);
858
+ a.return = b;
859
+ return a;
860
+ }
861
+ function p(b, a, c, d, f) {
862
+ if (null === a || 7 !== a.tag) return a = jd(c, b.mode, d, f), a.return = b, a;
863
+ a = e(a, c);
864
+ a.return = b;
865
+ return a;
866
+ }
867
+ function D(b, a, c) {
868
+ if ("string" === typeof a || "number" === typeof a) return a = gd("" + a, b.mode, c), a.return = b, a;
869
+ if ("object" === typeof a && null !== a) {
870
+ switch (a.$$typeof) {
871
+ case ca:
872
+ return c = hd(a.type, a.key, a.props, null, b.mode, c), c.ref = cd(b, null, a), c.return = b, c;
873
+ case da:
874
+ return a = id(a, b.mode, c), a.return = b, a;
875
+ }
876
+ if (bd(a) || ra(a)) return a = jd(a, b.mode, c, null), a.return = b, a;
877
+ dd(b, a);
878
+ }
879
+ return null;
880
+ }
881
+ function x(b, a, c, d) {
882
+ var e = null !== a ? a.key : null;
883
+ if ("string" === typeof c || "number" === typeof c) return null !== e ? null : l(b, a, "" + c, d);
884
+ if ("object" === typeof c && null !== c) {
885
+ switch (c.$$typeof) {
886
+ case ca:
887
+ return c.key === e ? c.type === ea ? p(b, a, c.props.children, d, e) : h(b, a, c, d) : null;
888
+ case da:
889
+ return c.key === e ? k(b, a, c, d) : null;
890
+ }
891
+ if (bd(c) || ra(c)) return null !== e ? null : p(b, a, c, d, null);
892
+ dd(b, c);
893
+ }
894
+ return null;
895
+ }
896
+ function K(b, a, c, d, e) {
897
+ if ("string" === typeof d || "number" === typeof d) return b = b.get(c) || null, l(a, b, "" + d, e);
898
+ if ("object" === typeof d && null !== d) {
899
+ switch (d.$$typeof) {
900
+ case ca:
901
+ return b = b.get(null === d.key ? c : d.key) || null, d.type === ea ? p(a, b, d.props.children, e, d.key) : h(a, b, d, e);
902
+ case da:
903
+ return b = b.get(null === d.key ? c : d.key) || null, k(a, b, d, e);
904
+ }
905
+ if (bd(d) || ra(d)) return b = b.get(c) || null, p(a, b, d, e, null);
906
+ dd(a, d);
907
+ }
908
+ return null;
909
+ }
910
+ function Ha(e, g, h, l) {
911
+ for (var k = null, w = null, t = g, r = g = 0, p = null; null !== t && r < h.length; r++) {
912
+ t.index > r ? (p = t, t = null) : p = t.sibling;
913
+ var v = x(e, t, h[r], l);
914
+ if (null === v) {
915
+ null === t && (t = p);
916
+ break;
917
+ }
918
+ a && t && null === v.alternate && b(e, t);
919
+ g = f(v, g, r);
920
+ null === w ? k = v : w.sibling = v;
921
+ w = v;
922
+ t = p;
923
+ }
924
+ if (r === h.length) return c(e, t), k;
925
+ if (null === t) {
926
+ for (; r < h.length; r++) t = D(e, h[r], l), null !== t && (g = f(t, g, r), null === w ? k = t : w.sibling = t, w = t);
927
+ return k;
928
+ }
929
+ for (t = d(e, t); r < h.length; r++) p = K(t, e, r, h[r], l), null !== p && (a && null !== p.alternate && t.delete(null === p.key ? r : p.key), g = f(p, g, r), null === w ? k = p : w.sibling = p, w = p);
930
+ a && t.forEach(function (a) {
931
+ return b(e, a);
932
+ });
933
+ return k;
934
+ }
935
+ function O(e, g, h, l) {
936
+ var k = ra(h);
937
+ if ("function" !== typeof k) throw Error(n(150));
938
+ h = k.call(h);
939
+ if (null == h) throw Error(n(151));
940
+ for (var t = k = null, r = g, w = g = 0, p = null, v = h.next(); null !== r && !v.done; w++, v = h.next()) {
941
+ r.index > w ? (p = r, r = null) : p = r.sibling;
942
+ var N = x(e, r, v.value, l);
943
+ if (null === N) {
944
+ null === r && (r = p);
945
+ break;
946
+ }
947
+ a && r && null === N.alternate && b(e, r);
948
+ g = f(N, g, w);
949
+ null === t ? k = N : t.sibling = N;
950
+ t = N;
951
+ r = p;
952
+ }
953
+ if (v.done) return c(e, r), k;
954
+ if (null === r) {
955
+ for (; !v.done; w++, v = h.next()) v = D(e, v.value, l), null !== v && (g = f(v, g, w), null === t ? k = v : t.sibling = v, t = v);
956
+ return k;
957
+ }
958
+ for (r = d(e, r); !v.done; w++, v = h.next()) v = K(r, e, w, v.value, l), null !== v && (a && null !== v.alternate && r.delete(null === v.key ? w : v.key), g = f(v, g, w), null === t ? k = v : t.sibling = v, t = v);
959
+ a && r.forEach(function (a) {
960
+ return b(e, a);
961
+ });
962
+ return k;
963
+ }
964
+ return function (a, d, f, h) {
965
+ var k = "object" === typeof f && null !== f && f.type === ea && null === f.key;
966
+ k && (f = f.props.children);
967
+ var l = "object" === typeof f && null !== f;
968
+ if (l) switch (f.$$typeof) {
969
+ case ca:
970
+ a: {
971
+ l = f.key;
972
+ for (k = d; null !== k;) {
973
+ if (k.key === l) {
974
+ if (7 === k.tag ? f.type === ea : k.elementType === f.type) {
975
+ c(a, k.sibling);
976
+ d = e(k, f.type === ea ? f.props.children : f.props);
977
+ d.ref = cd(a, k, f);
978
+ d.return = a;
979
+ a = d;
980
+ break a;
981
+ } else {
982
+ c(a, k);
983
+ break;
984
+ }
985
+ } else b(a, k);
986
+ k = k.sibling;
987
+ }
988
+ f.type === ea ? (d = jd(f.props.children, a.mode, h, f.key), d.return = a, a = d) : (h = hd(f.type, f.key, f.props, null, a.mode, h), h.ref = cd(a, d, f), h.return = a, a = h);
989
+ }
990
+ return g(a);
991
+ case da:
992
+ a: {
993
+ for (k = f.key; null !== d;) {
994
+ if (d.key === k) {
995
+ if (4 === d.tag && d.stateNode.containerInfo === f.containerInfo && d.stateNode.implementation === f.implementation) {
996
+ c(a, d.sibling);
997
+ d = e(d, f.children || []);
998
+ d.return = a;
999
+ a = d;
1000
+ break a;
1001
+ } else {
1002
+ c(a, d);
1003
+ break;
1004
+ }
1005
+ } else b(a, d);
1006
+ d = d.sibling;
1007
+ }
1008
+ d = id(f, a.mode, h);
1009
+ d.return = a;
1010
+ a = d;
1011
+ }
1012
+ return g(a);
1013
+ }
1014
+ if ("string" === typeof f || "number" === typeof f) return f = "" + f, null !== d && 6 === d.tag ? (c(a, d.sibling), d = e(d, f), d.return = a, a = d) : (c(a, d), d = gd(f, a.mode, h), d.return = a, a = d), g(a);
1015
+ if (bd(f)) return Ha(a, d, f, h);
1016
+ if (ra(f)) return O(a, d, f, h);
1017
+ l && dd(a, f);
1018
+ if ("undefined" === typeof f && !k) switch (a.tag) {
1019
+ case 1:
1020
+ case 0:
1021
+ throw a = a.type, Error(n(152, a.displayName || a.name || "Component"));
1022
+ }
1023
+ return c(a, d);
1024
+ };
1025
+ }
1026
+ var kd = ed(!0),
1027
+ ld = ed(!1),
1028
+ md = {},
1029
+ H = {
1030
+ current: md
1031
+ },
1032
+ nd = {
1033
+ current: md
1034
+ },
1035
+ od = {
1036
+ current: md
1037
+ };
1038
+ function pd(a) {
1039
+ if (a === md) throw Error(n(174));
1040
+ return a;
1041
+ }
1042
+ function qd(a, b) {
1043
+ z(od, b);
1044
+ z(nd, a);
1045
+ z(H, md);
1046
+ b = Aa(b);
1047
+ y(H);
1048
+ z(H, b);
1049
+ }
1050
+ function rd(a) {
1051
+ y(H);
1052
+ y(nd);
1053
+ y(od);
1054
+ }
1055
+ function sd(a) {
1056
+ var b = pd(od.current),
1057
+ c = pd(H.current);
1058
+ b = Ba(c, a.type, b);
1059
+ c !== b && (z(nd, a), z(H, b));
1060
+ }
1061
+ function td(a) {
1062
+ nd.current === a && (y(H), y(nd));
1063
+ }
1064
+ var I = {
1065
+ current: 0
1066
+ };
1067
+ function ud(a) {
1068
+ for (var b = a; null !== b;) {
1069
+ if (13 === b.tag) {
1070
+ var c = b.memoizedState;
1071
+ if (null !== c && (c = c.dehydrated, null === c || qb(c) || rb(c))) return b;
1072
+ } else if (19 === b.tag && void 0 !== b.memoizedProps.revealOrder) {
1073
+ if (0 !== (b.effectTag & 64)) return b;
1074
+ } else if (null !== b.child) {
1075
+ b.child.return = b;
1076
+ b = b.child;
1077
+ continue;
1078
+ }
1079
+ if (b === a) break;
1080
+ for (; null === b.sibling;) {
1081
+ if (null === b.return || b.return === a) return null;
1082
+ b = b.return;
1083
+ }
1084
+ b.sibling.return = b.return;
1085
+ b = b.sibling;
1086
+ }
1087
+ return null;
1088
+ }
1089
+ function vd(a, b) {
1090
+ return {
1091
+ responder: a,
1092
+ props: b
1093
+ };
1094
+ }
1095
+ var wd = q.ReactCurrentDispatcher,
1096
+ J = q.ReactCurrentBatchConfig,
1097
+ xd = 0,
1098
+ yd = null,
1099
+ L = null,
1100
+ zd = null,
1101
+ Ad = null,
1102
+ M = null,
1103
+ Bd = null,
1104
+ Cd = 0,
1105
+ Dd = null,
1106
+ Ed = 0,
1107
+ Fd = !1,
1108
+ Gd = null,
1109
+ Hd = 0;
1110
+ function P() {
1111
+ throw Error(n(321));
1112
+ }
1113
+ function Id(a, b) {
1114
+ if (null === b) return !1;
1115
+ for (var c = 0; c < b.length && c < a.length; c++) if (!oc(a[c], b[c])) return !1;
1116
+ return !0;
1117
+ }
1118
+ function Jd(a, b, c, d, e, f) {
1119
+ xd = f;
1120
+ yd = b;
1121
+ zd = null !== a ? a.memoizedState : null;
1122
+ wd.current = null === zd ? Kd : Ld;
1123
+ b = c(d, e);
1124
+ if (Fd) {
1125
+ do Fd = !1, Hd += 1, zd = null !== a ? a.memoizedState : null, Bd = Ad, Dd = M = L = null, wd.current = Ld, b = c(d, e); while (Fd);
1126
+ Gd = null;
1127
+ Hd = 0;
1128
+ }
1129
+ wd.current = Md;
1130
+ a = yd;
1131
+ a.memoizedState = Ad;
1132
+ a.expirationTime = Cd;
1133
+ a.updateQueue = Dd;
1134
+ a.effectTag |= Ed;
1135
+ a = null !== L && null !== L.next;
1136
+ xd = 0;
1137
+ Bd = M = Ad = zd = L = yd = null;
1138
+ Cd = 0;
1139
+ Dd = null;
1140
+ Ed = 0;
1141
+ if (a) throw Error(n(300));
1142
+ return b;
1143
+ }
1144
+ function Nd() {
1145
+ wd.current = Md;
1146
+ xd = 0;
1147
+ Bd = M = Ad = zd = L = yd = null;
1148
+ Cd = 0;
1149
+ Dd = null;
1150
+ Ed = 0;
1151
+ Fd = !1;
1152
+ Gd = null;
1153
+ Hd = 0;
1154
+ }
1155
+ function Od() {
1156
+ var a = {
1157
+ memoizedState: null,
1158
+ baseState: null,
1159
+ queue: null,
1160
+ baseUpdate: null,
1161
+ next: null
1162
+ };
1163
+ null === M ? Ad = M = a : M = M.next = a;
1164
+ return M;
1165
+ }
1166
+ function Pd() {
1167
+ if (null !== Bd) M = Bd, Bd = M.next, L = zd, zd = null !== L ? L.next : null;else {
1168
+ if (null === zd) throw Error(n(310));
1169
+ L = zd;
1170
+ var a = {
1171
+ memoizedState: L.memoizedState,
1172
+ baseState: L.baseState,
1173
+ queue: L.queue,
1174
+ baseUpdate: L.baseUpdate,
1175
+ next: null
1176
+ };
1177
+ M = null === M ? Ad = a : M.next = a;
1178
+ zd = L.next;
1179
+ }
1180
+ return M;
1181
+ }
1182
+ function Qd(a, b) {
1183
+ return "function" === typeof b ? b(a) : b;
1184
+ }
1185
+ function Rd(a) {
1186
+ var b = Pd(),
1187
+ c = b.queue;
1188
+ if (null === c) throw Error(n(311));
1189
+ c.lastRenderedReducer = a;
1190
+ if (0 < Hd) {
1191
+ var d = c.dispatch;
1192
+ if (null !== Gd) {
1193
+ var e = Gd.get(c);
1194
+ if (void 0 !== e) {
1195
+ Gd.delete(c);
1196
+ var f = b.memoizedState;
1197
+ do f = a(f, e.action), e = e.next; while (null !== e);
1198
+ oc(f, b.memoizedState) || (Bc = !0);
1199
+ b.memoizedState = f;
1200
+ b.baseUpdate === c.last && (b.baseState = f);
1201
+ c.lastRenderedState = f;
1202
+ return [f, d];
1203
+ }
1204
+ }
1205
+ return [b.memoizedState, d];
1206
+ }
1207
+ d = c.last;
1208
+ var g = b.baseUpdate;
1209
+ f = b.baseState;
1210
+ null !== g ? (null !== d && (d.next = null), d = g.next) : d = null !== d ? d.next : null;
1211
+ if (null !== d) {
1212
+ var l = e = null,
1213
+ h = d,
1214
+ k = !1;
1215
+ do {
1216
+ var p = h.expirationTime;
1217
+ p < xd ? (k || (k = !0, l = g, e = f), p > Cd && (Cd = p, Pc(Cd))) : (Oc(p, h.suspenseConfig), f = h.eagerReducer === a ? h.eagerState : a(f, h.action));
1218
+ g = h;
1219
+ h = h.next;
1220
+ } while (null !== h && h !== d);
1221
+ k || (l = g, e = f);
1222
+ oc(f, b.memoizedState) || (Bc = !0);
1223
+ b.memoizedState = f;
1224
+ b.baseUpdate = l;
1225
+ b.baseState = e;
1226
+ c.lastRenderedState = f;
1227
+ }
1228
+ return [b.memoizedState, c.dispatch];
1229
+ }
1230
+ function Sd(a) {
1231
+ var b = Od();
1232
+ "function" === typeof a && (a = a());
1233
+ b.memoizedState = b.baseState = a;
1234
+ a = b.queue = {
1235
+ last: null,
1236
+ dispatch: null,
1237
+ lastRenderedReducer: Qd,
1238
+ lastRenderedState: a
1239
+ };
1240
+ a = a.dispatch = Td.bind(null, yd, a);
1241
+ return [b.memoizedState, a];
1242
+ }
1243
+ function Ud(a) {
1244
+ return Rd(Qd);
1245
+ }
1246
+ function Vd(a, b, c, d) {
1247
+ a = {
1248
+ tag: a,
1249
+ create: b,
1250
+ destroy: c,
1251
+ deps: d,
1252
+ next: null
1253
+ };
1254
+ null === Dd ? (Dd = {
1255
+ lastEffect: null
1256
+ }, Dd.lastEffect = a.next = a) : (b = Dd.lastEffect, null === b ? Dd.lastEffect = a.next = a : (c = b.next, b.next = a, a.next = c, Dd.lastEffect = a));
1257
+ return a;
1258
+ }
1259
+ function Wd(a, b, c, d) {
1260
+ var e = Od();
1261
+ Ed |= a;
1262
+ e.memoizedState = Vd(b, c, void 0, void 0 === d ? null : d);
1263
+ }
1264
+ function Xd(a, b, c, d) {
1265
+ var e = Pd();
1266
+ d = void 0 === d ? null : d;
1267
+ var f = void 0;
1268
+ if (null !== L) {
1269
+ var g = L.memoizedState;
1270
+ f = g.destroy;
1271
+ if (null !== d && Id(d, g.deps)) {
1272
+ Vd(0, c, f, d);
1273
+ return;
1274
+ }
1275
+ }
1276
+ Ed |= a;
1277
+ e.memoizedState = Vd(b, c, f, d);
1278
+ }
1279
+ function Yd(a, b) {
1280
+ return Wd(516, 192, a, b);
1281
+ }
1282
+ function Zd(a, b) {
1283
+ return Xd(516, 192, a, b);
1284
+ }
1285
+ function $d(a, b) {
1286
+ if ("function" === typeof b) return a = a(), b(a), function () {
1287
+ b(null);
1288
+ };
1289
+ if (null !== b && void 0 !== b) return a = a(), b.current = a, function () {
1290
+ b.current = null;
1291
+ };
1292
+ }
1293
+ function ae() {}
1294
+ function be(a, b) {
1295
+ Od().memoizedState = [a, void 0 === b ? null : b];
1296
+ return a;
1297
+ }
1298
+ function ce(a, b) {
1299
+ var c = Pd();
1300
+ b = void 0 === b ? null : b;
1301
+ var d = c.memoizedState;
1302
+ if (null !== d && null !== b && Id(b, d[1])) return d[0];
1303
+ c.memoizedState = [a, b];
1304
+ return a;
1305
+ }
1306
+ function Td(a, b, c) {
1307
+ if (!(25 > Hd)) throw Error(n(301));
1308
+ var d = a.alternate;
1309
+ if (a === yd || null !== d && d === yd) {
1310
+ if (Fd = !0, a = {
1311
+ expirationTime: xd,
1312
+ suspenseConfig: null,
1313
+ action: c,
1314
+ eagerReducer: null,
1315
+ eagerState: null,
1316
+ next: null
1317
+ }, null === Gd && (Gd = new Map()), c = Gd.get(b), void 0 === c) Gd.set(b, a);else {
1318
+ for (b = c; null !== b.next;) b = b.next;
1319
+ b.next = a;
1320
+ }
1321
+ } else {
1322
+ var e = G(),
1323
+ f = Sc.suspense;
1324
+ e = Vc(e, a, f);
1325
+ f = {
1326
+ expirationTime: e,
1327
+ suspenseConfig: f,
1328
+ action: c,
1329
+ eagerReducer: null,
1330
+ eagerState: null,
1331
+ next: null
1332
+ };
1333
+ var g = b.last;
1334
+ if (null === g) f.next = f;else {
1335
+ var l = g.next;
1336
+ null !== l && (f.next = l);
1337
+ g.next = f;
1338
+ }
1339
+ b.last = f;
1340
+ if (0 === a.expirationTime && (null === d || 0 === d.expirationTime) && (d = b.lastRenderedReducer, null !== d)) try {
1341
+ var h = b.lastRenderedState,
1342
+ k = d(h, c);
1343
+ f.eagerReducer = d;
1344
+ f.eagerState = k;
1345
+ if (oc(k, h)) return;
1346
+ } catch (p) {} finally {}
1347
+ Wc(a, e);
1348
+ }
1349
+ }
1350
+ var Md = {
1351
+ readContext: Cc,
1352
+ useCallback: P,
1353
+ useContext: P,
1354
+ useEffect: P,
1355
+ useImperativeHandle: P,
1356
+ useLayoutEffect: P,
1357
+ useMemo: P,
1358
+ useReducer: P,
1359
+ useRef: P,
1360
+ useState: P,
1361
+ useDebugValue: P,
1362
+ useResponder: P,
1363
+ useDeferredValue: P,
1364
+ useTransition: P
1365
+ },
1366
+ Kd = {
1367
+ readContext: Cc,
1368
+ useCallback: be,
1369
+ useContext: Cc,
1370
+ useEffect: Yd,
1371
+ useImperativeHandle: function (a, b, c) {
1372
+ c = null !== c && void 0 !== c ? c.concat([a]) : null;
1373
+ return Wd(4, 36, $d.bind(null, b, a), c);
1374
+ },
1375
+ useLayoutEffect: function (a, b) {
1376
+ return Wd(4, 36, a, b);
1377
+ },
1378
+ useMemo: function (a, b) {
1379
+ var c = Od();
1380
+ b = void 0 === b ? null : b;
1381
+ a = a();
1382
+ c.memoizedState = [a, b];
1383
+ return a;
1384
+ },
1385
+ useReducer: function (a, b, c) {
1386
+ var d = Od();
1387
+ b = void 0 !== c ? c(b) : b;
1388
+ d.memoizedState = d.baseState = b;
1389
+ a = d.queue = {
1390
+ last: null,
1391
+ dispatch: null,
1392
+ lastRenderedReducer: a,
1393
+ lastRenderedState: b
1394
+ };
1395
+ a = a.dispatch = Td.bind(null, yd, a);
1396
+ return [d.memoizedState, a];
1397
+ },
1398
+ useRef: function (a) {
1399
+ var b = Od();
1400
+ a = {
1401
+ current: a
1402
+ };
1403
+ return b.memoizedState = a;
1404
+ },
1405
+ useState: Sd,
1406
+ useDebugValue: ae,
1407
+ useResponder: vd,
1408
+ useDeferredValue: function (a, b) {
1409
+ var c = Sd(a),
1410
+ d = c[0],
1411
+ e = c[1];
1412
+ Yd(function () {
1413
+ m.unstable_next(function () {
1414
+ var c = J.suspense;
1415
+ J.suspense = void 0 === b ? null : b;
1416
+ try {
1417
+ e(a);
1418
+ } finally {
1419
+ J.suspense = c;
1420
+ }
1421
+ });
1422
+ }, [a, b]);
1423
+ return d;
1424
+ },
1425
+ useTransition: function (a) {
1426
+ var b = Sd(!1),
1427
+ c = b[0],
1428
+ d = b[1];
1429
+ return [be(function (b) {
1430
+ d(!0);
1431
+ m.unstable_next(function () {
1432
+ var c = J.suspense;
1433
+ J.suspense = void 0 === a ? null : a;
1434
+ try {
1435
+ d(!1), b();
1436
+ } finally {
1437
+ J.suspense = c;
1438
+ }
1439
+ });
1440
+ }, [a, c]), c];
1441
+ }
1442
+ },
1443
+ Ld = {
1444
+ readContext: Cc,
1445
+ useCallback: ce,
1446
+ useContext: Cc,
1447
+ useEffect: Zd,
1448
+ useImperativeHandle: function (a, b, c) {
1449
+ c = null !== c && void 0 !== c ? c.concat([a]) : null;
1450
+ return Xd(4, 36, $d.bind(null, b, a), c);
1451
+ },
1452
+ useLayoutEffect: function (a, b) {
1453
+ return Xd(4, 36, a, b);
1454
+ },
1455
+ useMemo: function (a, b) {
1456
+ var c = Pd();
1457
+ b = void 0 === b ? null : b;
1458
+ var d = c.memoizedState;
1459
+ if (null !== d && null !== b && Id(b, d[1])) return d[0];
1460
+ a = a();
1461
+ c.memoizedState = [a, b];
1462
+ return a;
1463
+ },
1464
+ useReducer: Rd,
1465
+ useRef: function () {
1466
+ return Pd().memoizedState;
1467
+ },
1468
+ useState: Ud,
1469
+ useDebugValue: ae,
1470
+ useResponder: vd,
1471
+ useDeferredValue: function (a, b) {
1472
+ var c = Ud(),
1473
+ d = c[0],
1474
+ e = c[1];
1475
+ Zd(function () {
1476
+ m.unstable_next(function () {
1477
+ var c = J.suspense;
1478
+ J.suspense = void 0 === b ? null : b;
1479
+ try {
1480
+ e(a);
1481
+ } finally {
1482
+ J.suspense = c;
1483
+ }
1484
+ });
1485
+ }, [a, b]);
1486
+ return d;
1487
+ },
1488
+ useTransition: function (a) {
1489
+ var b = Ud(),
1490
+ c = b[0],
1491
+ d = b[1];
1492
+ return [ce(function (b) {
1493
+ d(!0);
1494
+ m.unstable_next(function () {
1495
+ var c = J.suspense;
1496
+ J.suspense = void 0 === a ? null : a;
1497
+ try {
1498
+ d(!1), b();
1499
+ } finally {
1500
+ J.suspense = c;
1501
+ }
1502
+ });
1503
+ }, [a, c]), c];
1504
+ }
1505
+ },
1506
+ de = null,
1507
+ ee = null,
1508
+ fe = !1;
1509
+ function ge(a, b) {
1510
+ var c = he(5, null, null, 0);
1511
+ c.elementType = "DELETED";
1512
+ c.type = "DELETED";
1513
+ c.stateNode = b;
1514
+ c.return = a;
1515
+ c.effectTag = 8;
1516
+ null !== a.lastEffect ? (a.lastEffect.nextEffect = c, a.lastEffect = c) : a.firstEffect = a.lastEffect = c;
1517
+ }
1518
+ function ie(a, b) {
1519
+ switch (a.tag) {
1520
+ case 5:
1521
+ return b = ob(b, a.type, a.pendingProps), null !== b ? (a.stateNode = b, !0) : !1;
1522
+ case 6:
1523
+ return b = pb(b, a.pendingProps), null !== b ? (a.stateNode = b, !0) : !1;
1524
+ case 13:
1525
+ return !1;
1526
+ default:
1527
+ return !1;
1528
+ }
1529
+ }
1530
+ function je(a) {
1531
+ if (fe) {
1532
+ var b = ee;
1533
+ if (b) {
1534
+ var c = b;
1535
+ if (!ie(a, b)) {
1536
+ b = sb(c);
1537
+ if (!b || !ie(a, b)) {
1538
+ a.effectTag = a.effectTag & -1025 | 2;
1539
+ fe = !1;
1540
+ de = a;
1541
+ return;
1542
+ }
1543
+ ge(de, c);
1544
+ }
1545
+ de = a;
1546
+ ee = tb(b);
1547
+ } else a.effectTag = a.effectTag & -1025 | 2, fe = !1, de = a;
1548
+ }
1549
+ }
1550
+ function ke(a) {
1551
+ for (a = a.return; null !== a && 5 !== a.tag && 3 !== a.tag && 13 !== a.tag;) a = a.return;
1552
+ de = a;
1553
+ }
1554
+ function ne(a) {
1555
+ if (!Sa || a !== de) return !1;
1556
+ if (!fe) return ke(a), fe = !0, !1;
1557
+ var b = a.type;
1558
+ if (5 !== a.tag || "head" !== b && "body" !== b && !Ja(b, a.memoizedProps)) for (b = ee; b;) ge(a, b), b = sb(b);
1559
+ ke(a);
1560
+ if (13 === a.tag) {
1561
+ if (!Sa) throw Error(n(316));
1562
+ a = a.memoizedState;
1563
+ a = null !== a ? a.dehydrated : null;
1564
+ if (!a) throw Error(n(317));
1565
+ ee = wb(a);
1566
+ } else ee = de ? sb(a.stateNode) : null;
1567
+ return !0;
1568
+ }
1569
+ function oe() {
1570
+ Sa && (ee = de = null, fe = !1);
1571
+ }
1572
+ var pe = q.ReactCurrentOwner,
1573
+ Bc = !1;
1574
+ function Q(a, b, c, d) {
1575
+ b.child = null === a ? ld(b, null, c, d) : kd(b, a.child, c, d);
1576
+ }
1577
+ function qe(a, b, c, d, e) {
1578
+ c = c.render;
1579
+ var f = b.ref;
1580
+ Ac(b, e);
1581
+ d = Jd(a, b, c, d, f, e);
1582
+ if (null !== a && !Bc) return b.updateQueue = a.updateQueue, b.effectTag &= -517, a.expirationTime <= e && (a.expirationTime = 0), re(a, b, e);
1583
+ b.effectTag |= 1;
1584
+ Q(a, b, d, e);
1585
+ return b.child;
1586
+ }
1587
+ function se(a, b, c, d, e, f) {
1588
+ if (null === a) {
1589
+ var g = c.type;
1590
+ if ("function" === typeof g && !te(g) && void 0 === g.defaultProps && null === c.compare && void 0 === c.defaultProps) return b.tag = 15, b.type = g, ue(a, b, g, d, e, f);
1591
+ a = hd(c.type, null, d, null, b.mode, f);
1592
+ a.ref = b.ref;
1593
+ a.return = b;
1594
+ return b.child = a;
1595
+ }
1596
+ g = a.child;
1597
+ if (e < f && (e = g.memoizedProps, c = c.compare, c = null !== c ? c : qc, c(e, d) && a.ref === b.ref)) return re(a, b, f);
1598
+ b.effectTag |= 1;
1599
+ a = fd(g, d);
1600
+ a.ref = b.ref;
1601
+ a.return = b;
1602
+ return b.child = a;
1603
+ }
1604
+ function ue(a, b, c, d, e, f) {
1605
+ return null !== a && qc(a.memoizedProps, d) && a.ref === b.ref && (Bc = !1, e < f) ? re(a, b, f) : ve(a, b, c, d, f);
1606
+ }
1607
+ function we(a, b) {
1608
+ var c = b.ref;
1609
+ if (null === a && null !== c || null !== a && a.ref !== c) b.effectTag |= 128;
1610
+ }
1611
+ function ve(a, b, c, d, e) {
1612
+ var f = C(c) ? Eb : A.current;
1613
+ f = Fb(b, f);
1614
+ Ac(b, e);
1615
+ c = Jd(a, b, c, d, f, e);
1616
+ if (null !== a && !Bc) return b.updateQueue = a.updateQueue, b.effectTag &= -517, a.expirationTime <= e && (a.expirationTime = 0), re(a, b, e);
1617
+ b.effectTag |= 1;
1618
+ Q(a, b, c, e);
1619
+ return b.child;
1620
+ }
1621
+ function xe(a, b, c, d, e) {
1622
+ if (C(c)) {
1623
+ var f = !0;
1624
+ Kb(b);
1625
+ } else f = !1;
1626
+ Ac(b, e);
1627
+ if (null === b.stateNode) null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2), Zc(b, c, d), ad(b, c, d, e), d = !0;else if (null === a) {
1628
+ var g = b.stateNode,
1629
+ l = b.memoizedProps;
1630
+ g.props = l;
1631
+ var h = g.context,
1632
+ k = c.contextType;
1633
+ "object" === typeof k && null !== k ? k = Cc(k) : (k = C(c) ? Eb : A.current, k = Fb(b, k));
1634
+ var p = c.getDerivedStateFromProps,
1635
+ D = "function" === typeof p || "function" === typeof g.getSnapshotBeforeUpdate;
1636
+ D || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (l !== d || h !== k) && $c(b, g, d, k);
1637
+ Dc = !1;
1638
+ var x = b.memoizedState;
1639
+ h = g.state = x;
1640
+ var K = b.updateQueue;
1641
+ null !== K && (Nc(b, K, d, g, e), h = b.memoizedState);
1642
+ l !== d || x !== h || B.current || Dc ? ("function" === typeof p && (Uc(b, c, p, d), h = b.memoizedState), (l = Dc || Yc(b, c, l, d, x, h, k)) ? (D || "function" !== typeof g.UNSAFE_componentWillMount && "function" !== typeof g.componentWillMount || ("function" === typeof g.componentWillMount && g.componentWillMount(), "function" === typeof g.UNSAFE_componentWillMount && g.UNSAFE_componentWillMount()), "function" === typeof g.componentDidMount && (b.effectTag |= 4)) : ("function" === typeof g.componentDidMount && (b.effectTag |= 4), b.memoizedProps = d, b.memoizedState = h), g.props = d, g.state = h, g.context = k, d = l) : ("function" === typeof g.componentDidMount && (b.effectTag |= 4), d = !1);
1643
+ } else g = b.stateNode, l = b.memoizedProps, g.props = b.type === b.elementType ? l : rc(b.type, l), h = g.context, k = c.contextType, "object" === typeof k && null !== k ? k = Cc(k) : (k = C(c) ? Eb : A.current, k = Fb(b, k)), p = c.getDerivedStateFromProps, (D = "function" === typeof p || "function" === typeof g.getSnapshotBeforeUpdate) || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (l !== d || h !== k) && $c(b, g, d, k), Dc = !1, h = b.memoizedState, x = g.state = h, K = b.updateQueue, null !== K && (Nc(b, K, d, g, e), x = b.memoizedState), l !== d || h !== x || B.current || Dc ? ("function" === typeof p && (Uc(b, c, p, d), x = b.memoizedState), (p = Dc || Yc(b, c, l, d, h, x, k)) ? (D || "function" !== typeof g.UNSAFE_componentWillUpdate && "function" !== typeof g.componentWillUpdate || ("function" === typeof g.componentWillUpdate && g.componentWillUpdate(d, x, k), "function" === typeof g.UNSAFE_componentWillUpdate && g.UNSAFE_componentWillUpdate(d, x, k)), "function" === typeof g.componentDidUpdate && (b.effectTag |= 4), "function" === typeof g.getSnapshotBeforeUpdate && (b.effectTag |= 256)) : ("function" !== typeof g.componentDidUpdate || l === a.memoizedProps && h === a.memoizedState || (b.effectTag |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || l === a.memoizedProps && h === a.memoizedState || (b.effectTag |= 256), b.memoizedProps = d, b.memoizedState = x), g.props = d, g.state = x, g.context = k, d = p) : ("function" !== typeof g.componentDidUpdate || l === a.memoizedProps && h === a.memoizedState || (b.effectTag |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || l === a.memoizedProps && h === a.memoizedState || (b.effectTag |= 256), d = !1);
1644
+ return ye(a, b, c, d, f, e);
1645
+ }
1646
+ function ye(a, b, c, d, e, f) {
1647
+ we(a, b);
1648
+ var g = 0 !== (b.effectTag & 64);
1649
+ if (!d && !g) return e && Lb(b, c, !1), re(a, b, f);
1650
+ d = b.stateNode;
1651
+ pe.current = b;
1652
+ var l = g && "function" !== typeof c.getDerivedStateFromError ? null : d.render();
1653
+ b.effectTag |= 1;
1654
+ null !== a && g ? (b.child = kd(b, a.child, null, f), b.child = kd(b, null, l, f)) : Q(a, b, l, f);
1655
+ b.memoizedState = d.state;
1656
+ e && Lb(b, c, !0);
1657
+ return b.child;
1658
+ }
1659
+ function ze(a) {
1660
+ var b = a.stateNode;
1661
+ b.pendingContext ? Ib(a, b.pendingContext, b.pendingContext !== b.context) : b.context && Ib(a, b.context, !1);
1662
+ qd(a, b.containerInfo);
1663
+ }
1664
+ var Ae = {
1665
+ dehydrated: null,
1666
+ retryTime: 0
1667
+ };
1668
+ function Be(a, b, c) {
1669
+ var d = b.mode,
1670
+ e = b.pendingProps,
1671
+ f = I.current,
1672
+ g = !1,
1673
+ l;
1674
+ (l = 0 !== (b.effectTag & 64)) || (l = 0 !== (f & 2) && (null === a || null !== a.memoizedState));
1675
+ l ? (g = !0, b.effectTag &= -65) : null !== a && null === a.memoizedState || void 0 === e.fallback || !0 === e.unstable_avoidThisFallback || (f |= 1);
1676
+ z(I, f & 1);
1677
+ if (null === a) {
1678
+ void 0 !== e.fallback && je(b);
1679
+ if (g) {
1680
+ g = e.fallback;
1681
+ e = jd(null, d, 0, null);
1682
+ e.return = b;
1683
+ if (0 === (b.mode & 2)) for (a = null !== b.memoizedState ? b.child.child : b.child, e.child = a; null !== a;) a.return = e, a = a.sibling;
1684
+ c = jd(g, d, c, null);
1685
+ c.return = b;
1686
+ e.sibling = c;
1687
+ b.memoizedState = Ae;
1688
+ b.child = e;
1689
+ return c;
1690
+ }
1691
+ d = e.children;
1692
+ b.memoizedState = null;
1693
+ return b.child = ld(b, null, d, c);
1694
+ }
1695
+ if (null !== a.memoizedState) {
1696
+ a = a.child;
1697
+ d = a.sibling;
1698
+ if (g) {
1699
+ e = e.fallback;
1700
+ c = fd(a, a.pendingProps);
1701
+ c.return = b;
1702
+ if (0 === (b.mode & 2) && (g = null !== b.memoizedState ? b.child.child : b.child, g !== a.child)) for (c.child = g; null !== g;) g.return = c, g = g.sibling;
1703
+ d = fd(d, e, d.expirationTime);
1704
+ d.return = b;
1705
+ c.sibling = d;
1706
+ c.childExpirationTime = 0;
1707
+ b.memoizedState = Ae;
1708
+ b.child = c;
1709
+ return d;
1710
+ }
1711
+ c = kd(b, a.child, e.children, c);
1712
+ b.memoizedState = null;
1713
+ return b.child = c;
1714
+ }
1715
+ a = a.child;
1716
+ if (g) {
1717
+ g = e.fallback;
1718
+ e = jd(null, d, 0, null);
1719
+ e.return = b;
1720
+ e.child = a;
1721
+ null !== a && (a.return = e);
1722
+ if (0 === (b.mode & 2)) for (a = null !== b.memoizedState ? b.child.child : b.child, e.child = a; null !== a;) a.return = e, a = a.sibling;
1723
+ c = jd(g, d, c, null);
1724
+ c.return = b;
1725
+ e.sibling = c;
1726
+ c.effectTag |= 2;
1727
+ e.childExpirationTime = 0;
1728
+ b.memoizedState = Ae;
1729
+ b.child = e;
1730
+ return c;
1731
+ }
1732
+ b.memoizedState = null;
1733
+ return b.child = kd(b, a, e.children, c);
1734
+ }
1735
+ function Ce(a, b) {
1736
+ a.expirationTime < b && (a.expirationTime = b);
1737
+ var c = a.alternate;
1738
+ null !== c && c.expirationTime < b && (c.expirationTime = b);
1739
+ zc(a.return, b);
1740
+ }
1741
+ function De(a, b, c, d, e, f) {
1742
+ var g = a.memoizedState;
1743
+ null === g ? a.memoizedState = {
1744
+ isBackwards: b,
1745
+ rendering: null,
1746
+ last: d,
1747
+ tail: c,
1748
+ tailExpiration: 0,
1749
+ tailMode: e,
1750
+ lastEffect: f
1751
+ } : (g.isBackwards = b, g.rendering = null, g.last = d, g.tail = c, g.tailExpiration = 0, g.tailMode = e, g.lastEffect = f);
1752
+ }
1753
+ function Ee(a, b, c) {
1754
+ var d = b.pendingProps,
1755
+ e = d.revealOrder,
1756
+ f = d.tail;
1757
+ Q(a, b, d.children, c);
1758
+ d = I.current;
1759
+ if (0 !== (d & 2)) d = d & 1 | 2, b.effectTag |= 64;else {
1760
+ if (null !== a && 0 !== (a.effectTag & 64)) a: for (a = b.child; null !== a;) {
1761
+ if (13 === a.tag) null !== a.memoizedState && Ce(a, c);else if (19 === a.tag) Ce(a, c);else if (null !== a.child) {
1762
+ a.child.return = a;
1763
+ a = a.child;
1764
+ continue;
1765
+ }
1766
+ if (a === b) break a;
1767
+ for (; null === a.sibling;) {
1768
+ if (null === a.return || a.return === b) break a;
1769
+ a = a.return;
1770
+ }
1771
+ a.sibling.return = a.return;
1772
+ a = a.sibling;
1773
+ }
1774
+ d &= 1;
1775
+ }
1776
+ z(I, d);
1777
+ if (0 === (b.mode & 2)) b.memoizedState = null;else switch (e) {
1778
+ case "forwards":
1779
+ c = b.child;
1780
+ for (e = null; null !== c;) a = c.alternate, null !== a && null === ud(a) && (e = c), c = c.sibling;
1781
+ c = e;
1782
+ null === c ? (e = b.child, b.child = null) : (e = c.sibling, c.sibling = null);
1783
+ De(b, !1, e, c, f, b.lastEffect);
1784
+ break;
1785
+ case "backwards":
1786
+ c = null;
1787
+ e = b.child;
1788
+ for (b.child = null; null !== e;) {
1789
+ a = e.alternate;
1790
+ if (null !== a && null === ud(a)) {
1791
+ b.child = e;
1792
+ break;
1793
+ }
1794
+ a = e.sibling;
1795
+ e.sibling = c;
1796
+ c = e;
1797
+ e = a;
1798
+ }
1799
+ De(b, !0, c, null, f, b.lastEffect);
1800
+ break;
1801
+ case "together":
1802
+ De(b, !1, null, null, void 0, b.lastEffect);
1803
+ break;
1804
+ default:
1805
+ b.memoizedState = null;
1806
+ }
1807
+ return b.child;
1808
+ }
1809
+ function re(a, b, c) {
1810
+ null !== a && (b.dependencies = a.dependencies);
1811
+ var d = b.expirationTime;
1812
+ 0 !== d && Pc(d);
1813
+ if (b.childExpirationTime < c) return null;
1814
+ if (null !== a && b.child !== a.child) throw Error(n(153));
1815
+ if (null !== b.child) {
1816
+ a = b.child;
1817
+ c = fd(a, a.pendingProps, a.expirationTime);
1818
+ b.child = c;
1819
+ for (c.return = b; null !== a.sibling;) a = a.sibling, c = c.sibling = fd(a, a.pendingProps, a.expirationTime), c.return = b;
1820
+ c.sibling = null;
1821
+ }
1822
+ return b.child;
1823
+ }
1824
+ function Fe(a) {
1825
+ a.effectTag |= 4;
1826
+ }
1827
+ var Ge, He, Ie, Je;
1828
+ if (Qa) Ge = function (a, b) {
1829
+ for (var c = b.child; null !== c;) {
1830
+ if (5 === c.tag || 6 === c.tag) Fa(a, c.stateNode);else if (4 !== c.tag && null !== c.child) {
1831
+ c.child.return = c;
1832
+ c = c.child;
1833
+ continue;
1834
+ }
1835
+ if (c === b) break;
1836
+ for (; null === c.sibling;) {
1837
+ if (null === c.return || c.return === b) return;
1838
+ c = c.return;
1839
+ }
1840
+ c.sibling.return = c.return;
1841
+ c = c.sibling;
1842
+ }
1843
+ }, He = function () {}, Ie = function (a, b, c, d, e) {
1844
+ a = a.memoizedProps;
1845
+ if (a !== d) {
1846
+ var f = b.stateNode,
1847
+ g = pd(H.current);
1848
+ c = Ia(f, c, a, d, e, g);
1849
+ (b.updateQueue = c) && Fe(b);
1850
+ }
1851
+ }, Je = function (a, b, c, d) {
1852
+ c !== d && Fe(b);
1853
+ };else if (Ra) {
1854
+ Ge = function (a, b, c, d) {
1855
+ for (var e = b.child; null !== e;) {
1856
+ if (5 === e.tag) {
1857
+ var f = e.stateNode;
1858
+ c && d && (f = mb(f, e.type, e.memoizedProps, e));
1859
+ Fa(a, f);
1860
+ } else if (6 === e.tag) f = e.stateNode, c && d && (f = nb(f, e.memoizedProps, e)), Fa(a, f);else if (4 !== e.tag) {
1861
+ if (13 === e.tag && 0 !== (e.effectTag & 4) && (f = null !== e.memoizedState)) {
1862
+ var g = e.child;
1863
+ if (null !== g && (null !== g.child && (g.child.return = g, Ge(a, g, !0, f)), f = g.sibling, null !== f)) {
1864
+ f.return = e;
1865
+ e = f;
1866
+ continue;
1867
+ }
1868
+ }
1869
+ if (null !== e.child) {
1870
+ e.child.return = e;
1871
+ e = e.child;
1872
+ continue;
1873
+ }
1874
+ }
1875
+ if (e === b) break;
1876
+ for (; null === e.sibling;) {
1877
+ if (null === e.return || e.return === b) return;
1878
+ e = e.return;
1879
+ }
1880
+ e.sibling.return = e.return;
1881
+ e = e.sibling;
1882
+ }
1883
+ };
1884
+ var Ke = function (a, b, c, d) {
1885
+ for (var e = b.child; null !== e;) {
1886
+ if (5 === e.tag) {
1887
+ var f = e.stateNode;
1888
+ c && d && (f = mb(f, e.type, e.memoizedProps, e));
1889
+ ib(a, f);
1890
+ } else if (6 === e.tag) f = e.stateNode, c && d && (f = nb(f, e.memoizedProps, e)), ib(a, f);else if (4 !== e.tag) {
1891
+ if (13 === e.tag && 0 !== (e.effectTag & 4) && (f = null !== e.memoizedState)) {
1892
+ var g = e.child;
1893
+ if (null !== g && (null !== g.child && (g.child.return = g, Ke(a, g, !0, f)), f = g.sibling, null !== f)) {
1894
+ f.return = e;
1895
+ e = f;
1896
+ continue;
1897
+ }
1898
+ }
1899
+ if (null !== e.child) {
1900
+ e.child.return = e;
1901
+ e = e.child;
1902
+ continue;
1903
+ }
1904
+ }
1905
+ if (e === b) break;
1906
+ for (; null === e.sibling;) {
1907
+ if (null === e.return || e.return === b) return;
1908
+ e = e.return;
1909
+ }
1910
+ e.sibling.return = e.return;
1911
+ e = e.sibling;
1912
+ }
1913
+ };
1914
+ He = function (a) {
1915
+ var b = a.stateNode;
1916
+ if (null !== a.firstEffect) {
1917
+ var c = b.containerInfo,
1918
+ d = hb(c);
1919
+ Ke(d, a, !1, !1);
1920
+ b.pendingChildren = d;
1921
+ Fe(a);
1922
+ kb(c, d);
1923
+ }
1924
+ };
1925
+ Ie = function (a, b, c, d, e) {
1926
+ var f = a.stateNode,
1927
+ g = a.memoizedProps;
1928
+ if ((a = null === b.firstEffect) && g === d) b.stateNode = f;else {
1929
+ var l = b.stateNode,
1930
+ h = pd(H.current),
1931
+ k = null;
1932
+ g !== d && (k = Ia(l, c, g, d, e, h));
1933
+ a && null === k ? b.stateNode = f : (f = gb(f, k, c, g, d, b, a, l), Ga(f, c, d, e, h) && Fe(b), b.stateNode = f, a ? Fe(b) : Ge(f, b, !1, !1));
1934
+ }
1935
+ };
1936
+ Je = function (a, b, c, d) {
1937
+ c !== d && (a = pd(od.current), c = pd(H.current), b.stateNode = La(d, a, c, b), Fe(b));
1938
+ };
1939
+ } else He = function () {}, Ie = function () {}, Je = function () {};
1940
+ function Le(a, b) {
1941
+ switch (a.tailMode) {
1942
+ case "hidden":
1943
+ b = a.tail;
1944
+ for (var c = null; null !== b;) null !== b.alternate && (c = b), b = b.sibling;
1945
+ null === c ? a.tail = null : c.sibling = null;
1946
+ break;
1947
+ case "collapsed":
1948
+ c = a.tail;
1949
+ for (var d = null; null !== c;) null !== c.alternate && (d = c), c = c.sibling;
1950
+ null === d ? b || null === a.tail ? a.tail = null : a.tail.sibling = null : d.sibling = null;
1951
+ }
1952
+ }
1953
+ function Me(a) {
1954
+ switch (a.tag) {
1955
+ case 1:
1956
+ C(a.type) && Gb();
1957
+ var b = a.effectTag;
1958
+ return b & 4096 ? (a.effectTag = b & -4097 | 64, a) : null;
1959
+ case 3:
1960
+ rd();
1961
+ Hb();
1962
+ b = a.effectTag;
1963
+ if (0 !== (b & 64)) throw Error(n(285));
1964
+ a.effectTag = b & -4097 | 64;
1965
+ return a;
1966
+ case 5:
1967
+ return td(a), null;
1968
+ case 13:
1969
+ return y(I), b = a.effectTag, b & 4096 ? (a.effectTag = b & -4097 | 64, a) : null;
1970
+ case 19:
1971
+ return y(I), null;
1972
+ case 4:
1973
+ return rd(), null;
1974
+ case 10:
1975
+ return yc(a), null;
1976
+ default:
1977
+ return null;
1978
+ }
1979
+ }
1980
+ function Ne(a, b) {
1981
+ return {
1982
+ value: a,
1983
+ source: b,
1984
+ stack: Ab(b)
1985
+ };
1986
+ }
1987
+ var Oe = "function" === typeof WeakSet ? WeakSet : Set;
1988
+ function Pe(a, b) {
1989
+ var c = b.source,
1990
+ d = b.stack;
1991
+ null === d && null !== c && (d = Ab(c));
1992
+ null !== c && ta(c.type);
1993
+ b = b.value;
1994
+ null !== a && 1 === a.tag && ta(a.type);
1995
+ try {
1996
+ console.error(b);
1997
+ } catch (e) {
1998
+ setTimeout(function () {
1999
+ throw e;
2000
+ });
2001
+ }
2002
+ }
2003
+ function Qe(a, b) {
2004
+ try {
2005
+ b.props = a.memoizedProps, b.state = a.memoizedState, b.componentWillUnmount();
2006
+ } catch (c) {
2007
+ Re(a, c);
2008
+ }
2009
+ }
2010
+ function Se(a) {
2011
+ var b = a.ref;
2012
+ if (null !== b) if ("function" === typeof b) try {
2013
+ b(null);
2014
+ } catch (c) {
2015
+ Re(a, c);
2016
+ } else b.current = null;
2017
+ }
2018
+ function Te(a, b) {
2019
+ switch (b.tag) {
2020
+ case 0:
2021
+ case 11:
2022
+ case 15:
2023
+ Ue(2, 0, b);
2024
+ break;
2025
+ case 1:
2026
+ if (b.effectTag & 256 && null !== a) {
2027
+ var c = a.memoizedProps,
2028
+ d = a.memoizedState;
2029
+ a = b.stateNode;
2030
+ b = a.getSnapshotBeforeUpdate(b.elementType === b.type ? c : rc(b.type, c), d);
2031
+ a.__reactInternalSnapshotBeforeUpdate = b;
2032
+ }
2033
+ break;
2034
+ case 3:
2035
+ case 5:
2036
+ case 6:
2037
+ case 4:
2038
+ case 17:
2039
+ break;
2040
+ default:
2041
+ throw Error(n(163));
2042
+ }
2043
+ }
2044
+ function Ue(a, b, c) {
2045
+ c = c.updateQueue;
2046
+ c = null !== c ? c.lastEffect : null;
2047
+ if (null !== c) {
2048
+ var d = c = c.next;
2049
+ do {
2050
+ if (0 !== (d.tag & a)) {
2051
+ var e = d.destroy;
2052
+ d.destroy = void 0;
2053
+ void 0 !== e && e();
2054
+ }
2055
+ 0 !== (d.tag & b) && (e = d.create, d.destroy = e());
2056
+ d = d.next;
2057
+ } while (d !== c);
2058
+ }
2059
+ }
2060
+ function Ve(a, b, c) {
2061
+ "function" === typeof We && We(b);
2062
+ switch (b.tag) {
2063
+ case 0:
2064
+ case 11:
2065
+ case 14:
2066
+ case 15:
2067
+ a = b.updateQueue;
2068
+ if (null !== a && (a = a.lastEffect, null !== a)) {
2069
+ var d = a.next;
2070
+ hc(97 < c ? 97 : c, function () {
2071
+ var a = d;
2072
+ do {
2073
+ var c = a.destroy;
2074
+ if (void 0 !== c) {
2075
+ var g = b;
2076
+ try {
2077
+ c();
2078
+ } catch (l) {
2079
+ Re(g, l);
2080
+ }
2081
+ }
2082
+ a = a.next;
2083
+ } while (a !== d);
2084
+ });
2085
+ }
2086
+ break;
2087
+ case 1:
2088
+ Se(b);
2089
+ c = b.stateNode;
2090
+ "function" === typeof c.componentWillUnmount && Qe(b, c);
2091
+ break;
2092
+ case 5:
2093
+ Se(b);
2094
+ break;
2095
+ case 4:
2096
+ Qa ? Xe(a, b, c) : Ra && Ye(b);
2097
+ }
2098
+ }
2099
+ function Ze(a, b, c) {
2100
+ for (var d = b;;) if (Ve(a, d, c), null === d.child || Qa && 4 === d.tag) {
2101
+ if (d === b) break;
2102
+ for (; null === d.sibling;) {
2103
+ if (null === d.return || d.return === b) return;
2104
+ d = d.return;
2105
+ }
2106
+ d.sibling.return = d.return;
2107
+ d = d.sibling;
2108
+ } else d.child.return = d, d = d.child;
2109
+ }
2110
+ function $e(a) {
2111
+ var b = a.alternate;
2112
+ a.return = null;
2113
+ a.child = null;
2114
+ a.memoizedState = null;
2115
+ a.updateQueue = null;
2116
+ a.dependencies = null;
2117
+ a.alternate = null;
2118
+ a.firstEffect = null;
2119
+ a.lastEffect = null;
2120
+ a.pendingProps = null;
2121
+ a.memoizedProps = null;
2122
+ null !== b && $e(b);
2123
+ }
2124
+ function Ye(a) {
2125
+ if (Ra) {
2126
+ a = a.stateNode.containerInfo;
2127
+ var b = hb(a);
2128
+ lb(a, b);
2129
+ }
2130
+ }
2131
+ function af(a) {
2132
+ return 5 === a.tag || 3 === a.tag || 4 === a.tag;
2133
+ }
2134
+ function bf(a) {
2135
+ if (Qa) {
2136
+ a: {
2137
+ for (var b = a.return; null !== b;) {
2138
+ if (af(b)) {
2139
+ var c = b;
2140
+ break a;
2141
+ }
2142
+ b = b.return;
2143
+ }
2144
+ throw Error(n(160));
2145
+ }
2146
+ b = c.stateNode;
2147
+ switch (c.tag) {
2148
+ case 5:
2149
+ var d = !1;
2150
+ break;
2151
+ case 3:
2152
+ b = b.containerInfo;
2153
+ d = !0;
2154
+ break;
2155
+ case 4:
2156
+ b = b.containerInfo;
2157
+ d = !0;
2158
+ break;
2159
+ default:
2160
+ throw Error(n(161));
2161
+ }
2162
+ c.effectTag & 16 && (bb(b), c.effectTag &= -17);
2163
+ a: b: for (c = a;;) {
2164
+ for (; null === c.sibling;) {
2165
+ if (null === c.return || af(c.return)) {
2166
+ c = null;
2167
+ break a;
2168
+ }
2169
+ c = c.return;
2170
+ }
2171
+ c.sibling.return = c.return;
2172
+ for (c = c.sibling; 5 !== c.tag && 6 !== c.tag && 18 !== c.tag;) {
2173
+ if (c.effectTag & 2) continue b;
2174
+ if (null === c.child || 4 === c.tag) continue b;else c.child.return = c, c = c.child;
2175
+ }
2176
+ if (!(c.effectTag & 2)) {
2177
+ c = c.stateNode;
2178
+ break a;
2179
+ }
2180
+ }
2181
+ for (var e = a;;) {
2182
+ var f = 5 === e.tag || 6 === e.tag;
2183
+ if (f) f = f ? e.stateNode : e.stateNode.instance, c ? d ? Za(b, f, c) : Ya(b, f, c) : d ? Ua(b, f) : Ta(b, f);else if (4 !== e.tag && null !== e.child) {
2184
+ e.child.return = e;
2185
+ e = e.child;
2186
+ continue;
2187
+ }
2188
+ if (e === a) break;
2189
+ for (; null === e.sibling;) {
2190
+ if (null === e.return || e.return === a) return;
2191
+ e = e.return;
2192
+ }
2193
+ e.sibling.return = e.return;
2194
+ e = e.sibling;
2195
+ }
2196
+ }
2197
+ }
2198
+ function Xe(a, b, c) {
2199
+ for (var d = b, e = !1, f, g;;) {
2200
+ if (!e) {
2201
+ e = d.return;
2202
+ a: for (;;) {
2203
+ if (null === e) throw Error(n(160));
2204
+ f = e.stateNode;
2205
+ switch (e.tag) {
2206
+ case 5:
2207
+ g = !1;
2208
+ break a;
2209
+ case 3:
2210
+ f = f.containerInfo;
2211
+ g = !0;
2212
+ break a;
2213
+ case 4:
2214
+ f = f.containerInfo;
2215
+ g = !0;
2216
+ break a;
2217
+ }
2218
+ e = e.return;
2219
+ }
2220
+ e = !0;
2221
+ }
2222
+ if (5 === d.tag || 6 === d.tag) Ze(a, d, c), g ? ab(f, d.stateNode) : $a(f, d.stateNode);else if (4 === d.tag) {
2223
+ if (null !== d.child) {
2224
+ f = d.stateNode.containerInfo;
2225
+ g = !0;
2226
+ d.child.return = d;
2227
+ d = d.child;
2228
+ continue;
2229
+ }
2230
+ } else if (Ve(a, d, c), null !== d.child) {
2231
+ d.child.return = d;
2232
+ d = d.child;
2233
+ continue;
2234
+ }
2235
+ if (d === b) break;
2236
+ for (; null === d.sibling;) {
2237
+ if (null === d.return || d.return === b) return;
2238
+ d = d.return;
2239
+ 4 === d.tag && (e = !1);
2240
+ }
2241
+ d.sibling.return = d.return;
2242
+ d = d.sibling;
2243
+ }
2244
+ }
2245
+ function cf(a, b) {
2246
+ if (Qa) switch (b.tag) {
2247
+ case 0:
2248
+ case 11:
2249
+ case 14:
2250
+ case 15:
2251
+ Ue(4, 8, b);
2252
+ break;
2253
+ case 1:
2254
+ break;
2255
+ case 5:
2256
+ var c = b.stateNode;
2257
+ if (null != c) {
2258
+ var d = b.memoizedProps;
2259
+ a = null !== a ? a.memoizedProps : d;
2260
+ var e = b.type,
2261
+ f = b.updateQueue;
2262
+ b.updateQueue = null;
2263
+ null !== f && Xa(c, f, e, a, d, b);
2264
+ }
2265
+ break;
2266
+ case 6:
2267
+ if (null === b.stateNode) throw Error(n(162));
2268
+ c = b.memoizedProps;
2269
+ Va(b.stateNode, null !== a ? a.memoizedProps : c, c);
2270
+ break;
2271
+ case 3:
2272
+ Sa && (b = b.stateNode, b.hydrate && (b.hydrate = !1, xb(b.containerInfo)));
2273
+ break;
2274
+ case 12:
2275
+ break;
2276
+ case 13:
2277
+ df(b);
2278
+ ef(b);
2279
+ break;
2280
+ case 19:
2281
+ ef(b);
2282
+ break;
2283
+ case 17:
2284
+ break;
2285
+ case 20:
2286
+ break;
2287
+ case 21:
2288
+ break;
2289
+ default:
2290
+ throw Error(n(163));
2291
+ } else {
2292
+ switch (b.tag) {
2293
+ case 0:
2294
+ case 11:
2295
+ case 14:
2296
+ case 15:
2297
+ Ue(4, 8, b);
2298
+ return;
2299
+ case 12:
2300
+ return;
2301
+ case 13:
2302
+ df(b);
2303
+ ef(b);
2304
+ return;
2305
+ case 19:
2306
+ ef(b);
2307
+ return;
2308
+ case 3:
2309
+ Sa && (c = b.stateNode, c.hydrate && (c.hydrate = !1, xb(c.containerInfo)));
2310
+ }
2311
+ a: if (Ra) switch (b.tag) {
2312
+ case 1:
2313
+ case 5:
2314
+ case 6:
2315
+ case 20:
2316
+ break a;
2317
+ case 3:
2318
+ case 4:
2319
+ b = b.stateNode;
2320
+ lb(b.containerInfo, b.pendingChildren);
2321
+ break a;
2322
+ default:
2323
+ throw Error(n(163));
2324
+ }
2325
+ }
2326
+ }
2327
+ function df(a) {
2328
+ var b = a;
2329
+ if (null === a.memoizedState) var c = !1;else c = !0, b = a.child, ff = E();
2330
+ if (Qa && null !== b) a: if (a = b, Qa) for (b = a;;) {
2331
+ if (5 === b.tag) {
2332
+ var d = b.stateNode;
2333
+ c ? cb(d) : eb(b.stateNode, b.memoizedProps);
2334
+ } else if (6 === b.tag) d = b.stateNode, c ? db(d) : fb(d, b.memoizedProps);else if (13 === b.tag && null !== b.memoizedState && null === b.memoizedState.dehydrated) {
2335
+ d = b.child.sibling;
2336
+ d.return = b;
2337
+ b = d;
2338
+ continue;
2339
+ } else if (null !== b.child) {
2340
+ b.child.return = b;
2341
+ b = b.child;
2342
+ continue;
2343
+ }
2344
+ if (b === a) break a;
2345
+ for (; null === b.sibling;) {
2346
+ if (null === b.return || b.return === a) break a;
2347
+ b = b.return;
2348
+ }
2349
+ b.sibling.return = b.return;
2350
+ b = b.sibling;
2351
+ }
2352
+ }
2353
+ function ef(a) {
2354
+ var b = a.updateQueue;
2355
+ if (null !== b) {
2356
+ a.updateQueue = null;
2357
+ var c = a.stateNode;
2358
+ null === c && (c = a.stateNode = new Oe());
2359
+ b.forEach(function (b) {
2360
+ var d = gf.bind(null, a, b);
2361
+ c.has(b) || (c.add(b), b.then(d, d));
2362
+ });
2363
+ }
2364
+ }
2365
+ var hf = "function" === typeof WeakMap ? WeakMap : Map;
2366
+ function jf(a, b, c) {
2367
+ c = Gc(c, null);
2368
+ c.tag = 3;
2369
+ c.payload = {
2370
+ element: null
2371
+ };
2372
+ var d = b.value;
2373
+ c.callback = function () {
2374
+ kf || (kf = !0, lf = d);
2375
+ Pe(a, b);
2376
+ };
2377
+ return c;
2378
+ }
2379
+ function mf(a, b, c) {
2380
+ c = Gc(c, null);
2381
+ c.tag = 3;
2382
+ var d = a.type.getDerivedStateFromError;
2383
+ if ("function" === typeof d) {
2384
+ var e = b.value;
2385
+ c.payload = function () {
2386
+ Pe(a, b);
2387
+ return d(e);
2388
+ };
2389
+ }
2390
+ var f = a.stateNode;
2391
+ null !== f && "function" === typeof f.componentDidCatch && (c.callback = function () {
2392
+ "function" !== typeof d && (null === nf ? nf = new Set([this]) : nf.add(this), Pe(a, b));
2393
+ var c = b.stack;
2394
+ this.componentDidCatch(b.value, {
2395
+ componentStack: null !== c ? c : ""
2396
+ });
2397
+ });
2398
+ return c;
2399
+ }
2400
+ var of = Math.ceil,
2401
+ pf = q.ReactCurrentDispatcher,
2402
+ qf = q.ReactCurrentOwner,
2403
+ R = 0,
2404
+ rf = 8,
2405
+ S = 16,
2406
+ sf = 32,
2407
+ tf = 0,
2408
+ uf = 1,
2409
+ vf = 2,
2410
+ wf = 3,
2411
+ xf = 4,
2412
+ yf = 5,
2413
+ T = R,
2414
+ U = null,
2415
+ V = null,
2416
+ W = 0,
2417
+ X = tf,
2418
+ zf = null,
2419
+ Af = 1073741823,
2420
+ Bf = 1073741823,
2421
+ Cf = null,
2422
+ Df = 0,
2423
+ Ef = !1,
2424
+ ff = 0,
2425
+ Ff = 500,
2426
+ Y = null,
2427
+ kf = !1,
2428
+ lf = null,
2429
+ nf = null,
2430
+ Gf = !1,
2431
+ Hf = null,
2432
+ If = 90,
2433
+ Jf = null,
2434
+ Kf = 0,
2435
+ Lf = null,
2436
+ Mf = 0;
2437
+ function G() {
2438
+ return (T & (S | sf)) !== R ? 1073741821 - (E() / 10 | 0) : 0 !== Mf ? Mf : Mf = 1073741821 - (E() / 10 | 0);
2439
+ }
2440
+ function Vc(a, b, c) {
2441
+ b = b.mode;
2442
+ if (0 === (b & 2)) return 1073741823;
2443
+ var d = fc();
2444
+ if (0 === (b & 4)) return 99 === d ? 1073741823 : 1073741822;
2445
+ if ((T & S) !== R) return W;
2446
+ if (null !== c) a = mc(a, c.timeoutMs | 0 || 5E3, 250);else switch (d) {
2447
+ case 99:
2448
+ a = 1073741823;
2449
+ break;
2450
+ case 98:
2451
+ a = mc(a, 150, 100);
2452
+ break;
2453
+ case 97:
2454
+ case 96:
2455
+ a = mc(a, 5E3, 250);
2456
+ break;
2457
+ case 95:
2458
+ a = 2;
2459
+ break;
2460
+ default:
2461
+ throw Error(n(326));
2462
+ }
2463
+ null !== U && a === W && --a;
2464
+ return a;
2465
+ }
2466
+ function Wc(a, b) {
2467
+ if (50 < Kf) throw Kf = 0, Lf = null, Error(n(185));
2468
+ a = Nf(a, b);
2469
+ if (null !== a) {
2470
+ var c = fc();
2471
+ 1073741823 === b ? (T & rf) !== R && (T & (S | sf)) === R ? Of(a) : (Z(a), T === R && F()) : Z(a);
2472
+ (T & 4) === R || 98 !== c && 99 !== c || (null === Jf ? Jf = new Map([[a, b]]) : (c = Jf.get(a), (void 0 === c || c > b) && Jf.set(a, b)));
2473
+ }
2474
+ }
2475
+ function Nf(a, b) {
2476
+ a.expirationTime < b && (a.expirationTime = b);
2477
+ var c = a.alternate;
2478
+ null !== c && c.expirationTime < b && (c.expirationTime = b);
2479
+ var d = a.return,
2480
+ e = null;
2481
+ if (null === d && 3 === a.tag) e = a.stateNode;else for (; null !== d;) {
2482
+ c = d.alternate;
2483
+ d.childExpirationTime < b && (d.childExpirationTime = b);
2484
+ null !== c && c.childExpirationTime < b && (c.childExpirationTime = b);
2485
+ if (null === d.return && 3 === d.tag) {
2486
+ e = d.stateNode;
2487
+ break;
2488
+ }
2489
+ d = d.return;
2490
+ }
2491
+ null !== e && (U === e && (Pc(b), X === xf && Pf(e, W)), Qf(e, b));
2492
+ return e;
2493
+ }
2494
+ function Rf(a) {
2495
+ var b = a.lastExpiredTime;
2496
+ if (0 !== b) return b;
2497
+ b = a.firstPendingTime;
2498
+ if (!Sf(a, b)) return b;
2499
+ b = a.lastPingedTime;
2500
+ a = a.nextKnownPendingLevel;
2501
+ return b > a ? b : a;
2502
+ }
2503
+ function Z(a) {
2504
+ if (0 !== a.lastExpiredTime) a.callbackExpirationTime = 1073741823, a.callbackPriority = 99, a.callbackNode = jc(Of.bind(null, a));else {
2505
+ var b = Rf(a),
2506
+ c = a.callbackNode;
2507
+ if (0 === b) null !== c && (a.callbackNode = null, a.callbackExpirationTime = 0, a.callbackPriority = 90);else {
2508
+ var d = G();
2509
+ 1073741823 === b ? d = 99 : 1 === b || 2 === b ? d = 95 : (d = 10 * (1073741821 - b) - 10 * (1073741821 - d), d = 0 >= d ? 99 : 250 >= d ? 98 : 5250 >= d ? 97 : 95);
2510
+ if (null !== c) {
2511
+ var e = a.callbackPriority;
2512
+ if (a.callbackExpirationTime === b && e >= d) return;
2513
+ c !== $b && Ob(c);
2514
+ }
2515
+ a.callbackExpirationTime = b;
2516
+ a.callbackPriority = d;
2517
+ b = 1073741823 === b ? jc(Of.bind(null, a)) : ic(d, Tf.bind(null, a), {
2518
+ timeout: 10 * (1073741821 - b) - E()
2519
+ });
2520
+ a.callbackNode = b;
2521
+ }
2522
+ }
2523
+ }
2524
+ function Tf(a, b) {
2525
+ Mf = 0;
2526
+ if (b) return b = G(), Uf(a, b), Z(a), null;
2527
+ var c = Rf(a);
2528
+ if (0 !== c) {
2529
+ b = a.callbackNode;
2530
+ if ((T & (S | sf)) !== R) throw Error(n(327));
2531
+ Vf();
2532
+ a === U && c === W || Wf(a, c);
2533
+ if (null !== V) {
2534
+ var d = T;
2535
+ T |= S;
2536
+ var e = Xf();
2537
+ do try {
2538
+ Yf();
2539
+ break;
2540
+ } catch (l) {
2541
+ Zf(a, l);
2542
+ } while (1);
2543
+ wc();
2544
+ T = d;
2545
+ pf.current = e;
2546
+ if (X === uf) throw b = zf, Wf(a, c), Pf(a, c), Z(a), b;
2547
+ if (null === V) switch (e = a.finishedWork = a.current.alternate, a.finishedExpirationTime = c, d = X, U = null, d) {
2548
+ case tf:
2549
+ case uf:
2550
+ throw Error(n(345));
2551
+ case vf:
2552
+ Uf(a, 2 < c ? 2 : c);
2553
+ break;
2554
+ case wf:
2555
+ Pf(a, c);
2556
+ d = a.lastSuspendedTime;
2557
+ c === d && (a.nextKnownPendingLevel = $f(e));
2558
+ if (1073741823 === Af && (e = ff + Ff - E(), 10 < e)) {
2559
+ if (Ef) {
2560
+ var f = a.lastPingedTime;
2561
+ if (0 === f || f >= c) {
2562
+ a.lastPingedTime = c;
2563
+ Wf(a, c);
2564
+ break;
2565
+ }
2566
+ }
2567
+ f = Rf(a);
2568
+ if (0 !== f && f !== c) break;
2569
+ if (0 !== d && d !== c) {
2570
+ a.lastPingedTime = d;
2571
+ break;
2572
+ }
2573
+ a.timeoutHandle = Ma(ag.bind(null, a), e);
2574
+ break;
2575
+ }
2576
+ ag(a);
2577
+ break;
2578
+ case xf:
2579
+ Pf(a, c);
2580
+ d = a.lastSuspendedTime;
2581
+ c === d && (a.nextKnownPendingLevel = $f(e));
2582
+ if (Ef && (e = a.lastPingedTime, 0 === e || e >= c)) {
2583
+ a.lastPingedTime = c;
2584
+ Wf(a, c);
2585
+ break;
2586
+ }
2587
+ e = Rf(a);
2588
+ if (0 !== e && e !== c) break;
2589
+ if (0 !== d && d !== c) {
2590
+ a.lastPingedTime = d;
2591
+ break;
2592
+ }
2593
+ 1073741823 !== Bf ? d = 10 * (1073741821 - Bf) - E() : 1073741823 === Af ? d = 0 : (d = 10 * (1073741821 - Af) - 5E3, e = E(), c = 10 * (1073741821 - c) - e, d = e - d, 0 > d && (d = 0), d = (120 > d ? 120 : 480 > d ? 480 : 1080 > d ? 1080 : 1920 > d ? 1920 : 3E3 > d ? 3E3 : 4320 > d ? 4320 : 1960 * of(d / 1960)) - d, c < d && (d = c));
2594
+ if (10 < d) {
2595
+ a.timeoutHandle = Ma(ag.bind(null, a), d);
2596
+ break;
2597
+ }
2598
+ ag(a);
2599
+ break;
2600
+ case yf:
2601
+ if (1073741823 !== Af && null !== Cf) {
2602
+ f = Af;
2603
+ var g = Cf;
2604
+ d = g.busyMinDurationMs | 0;
2605
+ 0 >= d ? d = 0 : (e = g.busyDelayMs | 0, f = E() - (10 * (1073741821 - f) - (g.timeoutMs | 0 || 5E3)), d = f <= e ? 0 : e + d - f);
2606
+ if (10 < d) {
2607
+ Pf(a, c);
2608
+ a.timeoutHandle = Ma(ag.bind(null, a), d);
2609
+ break;
2610
+ }
2611
+ }
2612
+ ag(a);
2613
+ break;
2614
+ default:
2615
+ throw Error(n(329));
2616
+ }
2617
+ Z(a);
2618
+ if (a.callbackNode === b) return Tf.bind(null, a);
2619
+ }
2620
+ }
2621
+ return null;
2622
+ }
2623
+ function Of(a) {
2624
+ var b = a.lastExpiredTime;
2625
+ b = 0 !== b ? b : 1073741823;
2626
+ if (a.finishedExpirationTime === b) ag(a);else {
2627
+ if ((T & (S | sf)) !== R) throw Error(n(327));
2628
+ Vf();
2629
+ a === U && b === W || Wf(a, b);
2630
+ if (null !== V) {
2631
+ var c = T;
2632
+ T |= S;
2633
+ var d = Xf();
2634
+ do try {
2635
+ bg();
2636
+ break;
2637
+ } catch (e) {
2638
+ Zf(a, e);
2639
+ } while (1);
2640
+ wc();
2641
+ T = c;
2642
+ pf.current = d;
2643
+ if (X === uf) throw c = zf, Wf(a, b), Pf(a, b), Z(a), c;
2644
+ if (null !== V) throw Error(n(261));
2645
+ a.finishedWork = a.current.alternate;
2646
+ a.finishedExpirationTime = b;
2647
+ U = null;
2648
+ ag(a);
2649
+ Z(a);
2650
+ }
2651
+ }
2652
+ return null;
2653
+ }
2654
+ function cg(a, b) {
2655
+ Uf(a, b);
2656
+ Z(a);
2657
+ (T & (S | sf)) === R && F();
2658
+ }
2659
+ function dg() {
2660
+ if (null !== Jf) {
2661
+ var a = Jf;
2662
+ Jf = null;
2663
+ a.forEach(function (a, c) {
2664
+ Uf(c, a);
2665
+ Z(c);
2666
+ });
2667
+ F();
2668
+ }
2669
+ }
2670
+ function eg(a, b) {
2671
+ if ((T & (S | sf)) !== R) throw Error(n(187));
2672
+ var c = T;
2673
+ T |= 1;
2674
+ try {
2675
+ return hc(99, a.bind(null, b));
2676
+ } finally {
2677
+ T = c, F();
2678
+ }
2679
+ }
2680
+ function Wf(a, b) {
2681
+ a.finishedWork = null;
2682
+ a.finishedExpirationTime = 0;
2683
+ var c = a.timeoutHandle;
2684
+ c !== Oa && (a.timeoutHandle = Oa, Na(c));
2685
+ if (null !== V) for (c = V.return; null !== c;) {
2686
+ var d = c;
2687
+ switch (d.tag) {
2688
+ case 1:
2689
+ var e = d.type.childContextTypes;
2690
+ null !== e && void 0 !== e && Gb();
2691
+ break;
2692
+ case 3:
2693
+ rd();
2694
+ Hb();
2695
+ break;
2696
+ case 5:
2697
+ td(d);
2698
+ break;
2699
+ case 4:
2700
+ rd();
2701
+ break;
2702
+ case 13:
2703
+ y(I);
2704
+ break;
2705
+ case 19:
2706
+ y(I);
2707
+ break;
2708
+ case 10:
2709
+ yc(d);
2710
+ }
2711
+ c = c.return;
2712
+ }
2713
+ U = a;
2714
+ V = fd(a.current, null);
2715
+ W = b;
2716
+ X = tf;
2717
+ zf = null;
2718
+ Bf = Af = 1073741823;
2719
+ Cf = null;
2720
+ Df = 0;
2721
+ Ef = !1;
2722
+ }
2723
+ function Zf(a, b) {
2724
+ do {
2725
+ try {
2726
+ wc();
2727
+ Nd();
2728
+ if (null === V || null === V.return) return X = uf, zf = b, null;
2729
+ a: {
2730
+ var c = a,
2731
+ d = V.return,
2732
+ e = V,
2733
+ f = b;
2734
+ b = W;
2735
+ e.effectTag |= 2048;
2736
+ e.firstEffect = e.lastEffect = null;
2737
+ if (null !== f && "object" === typeof f && "function" === typeof f.then) {
2738
+ var g = f,
2739
+ l = 0 !== (I.current & 1),
2740
+ h = d;
2741
+ do {
2742
+ var k;
2743
+ if (k = 13 === h.tag) {
2744
+ var p = h.memoizedState;
2745
+ if (null !== p) k = null !== p.dehydrated ? !0 : !1;else {
2746
+ var D = h.memoizedProps;
2747
+ k = void 0 === D.fallback ? !1 : !0 !== D.unstable_avoidThisFallback ? !0 : l ? !1 : !0;
2748
+ }
2749
+ }
2750
+ if (k) {
2751
+ var x = h.updateQueue;
2752
+ if (null === x) {
2753
+ var K = new Set();
2754
+ K.add(g);
2755
+ h.updateQueue = K;
2756
+ } else x.add(g);
2757
+ if (0 === (h.mode & 2)) {
2758
+ h.effectTag |= 64;
2759
+ e.effectTag &= -2981;
2760
+ if (1 === e.tag) if (null === e.alternate) e.tag = 17;else {
2761
+ var Ha = Gc(1073741823, null);
2762
+ Ha.tag = 2;
2763
+ Ic(e, Ha);
2764
+ }
2765
+ e.expirationTime = 1073741823;
2766
+ break a;
2767
+ }
2768
+ f = void 0;
2769
+ e = b;
2770
+ var O = c.pingCache;
2771
+ null === O ? (O = c.pingCache = new hf(), f = new Set(), O.set(g, f)) : (f = O.get(g), void 0 === f && (f = new Set(), O.set(g, f)));
2772
+ if (!f.has(e)) {
2773
+ f.add(e);
2774
+ var w = fg.bind(null, c, g, e);
2775
+ g.then(w, w);
2776
+ }
2777
+ h.effectTag |= 4096;
2778
+ h.expirationTime = b;
2779
+ break a;
2780
+ }
2781
+ h = h.return;
2782
+ } while (null !== h);
2783
+ f = Error((ta(e.type) || "A React component") + " suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display." + Ab(e));
2784
+ }
2785
+ X !== yf && (X = vf);
2786
+ f = Ne(f, e);
2787
+ h = d;
2788
+ do {
2789
+ switch (h.tag) {
2790
+ case 3:
2791
+ g = f;
2792
+ h.effectTag |= 4096;
2793
+ h.expirationTime = b;
2794
+ var r = jf(h, g, b);
2795
+ Jc(h, r);
2796
+ break a;
2797
+ case 1:
2798
+ g = f;
2799
+ var t = h.type,
2800
+ N = h.stateNode;
2801
+ if (0 === (h.effectTag & 64) && ("function" === typeof t.getDerivedStateFromError || null !== N && "function" === typeof N.componentDidCatch && (null === nf || !nf.has(N)))) {
2802
+ h.effectTag |= 4096;
2803
+ h.expirationTime = b;
2804
+ var Mc = mf(h, g, b);
2805
+ Jc(h, Mc);
2806
+ break a;
2807
+ }
2808
+ }
2809
+ h = h.return;
2810
+ } while (null !== h);
2811
+ }
2812
+ V = gg(V);
2813
+ } catch (Rb) {
2814
+ b = Rb;
2815
+ continue;
2816
+ }
2817
+ break;
2818
+ } while (1);
2819
+ }
2820
+ function Xf() {
2821
+ var a = pf.current;
2822
+ pf.current = Md;
2823
+ return null === a ? Md : a;
2824
+ }
2825
+ function Oc(a, b) {
2826
+ a < Af && 2 < a && (Af = a);
2827
+ null !== b && a < Bf && 2 < a && (Bf = a, Cf = b);
2828
+ }
2829
+ function Pc(a) {
2830
+ a > Df && (Df = a);
2831
+ }
2832
+ function bg() {
2833
+ for (; null !== V;) V = hg(V);
2834
+ }
2835
+ function Yf() {
2836
+ for (; null !== V && !Pb();) V = hg(V);
2837
+ }
2838
+ function hg(a) {
2839
+ var b = ig(a.alternate, a, W);
2840
+ a.memoizedProps = a.pendingProps;
2841
+ null === b && (b = gg(a));
2842
+ qf.current = null;
2843
+ return b;
2844
+ }
2845
+ function gg(a) {
2846
+ V = a;
2847
+ do {
2848
+ var b = V.alternate;
2849
+ a = V.return;
2850
+ if (0 === (V.effectTag & 2048)) {
2851
+ a: {
2852
+ var c = b;
2853
+ b = V;
2854
+ var d = W,
2855
+ e = b.pendingProps;
2856
+ switch (b.tag) {
2857
+ case 2:
2858
+ break;
2859
+ case 16:
2860
+ break;
2861
+ case 15:
2862
+ case 0:
2863
+ break;
2864
+ case 1:
2865
+ C(b.type) && Gb();
2866
+ break;
2867
+ case 3:
2868
+ rd();
2869
+ Hb();
2870
+ e = b.stateNode;
2871
+ e.pendingContext && (e.context = e.pendingContext, e.pendingContext = null);
2872
+ (null === c || null === c.child) && ne(b) && Fe(b);
2873
+ He(b);
2874
+ break;
2875
+ case 5:
2876
+ td(b);
2877
+ var f = pd(od.current);
2878
+ d = b.type;
2879
+ if (null !== c && null != b.stateNode) Ie(c, b, d, e, f), c.ref !== b.ref && (b.effectTag |= 128);else if (e) {
2880
+ c = pd(H.current);
2881
+ if (ne(b)) {
2882
+ e = b;
2883
+ if (!Sa) throw Error(n(175));
2884
+ c = ub(e.stateNode, e.type, e.memoizedProps, f, c, e);
2885
+ e.updateQueue = c;
2886
+ c = null !== c ? !0 : !1;
2887
+ c && Fe(b);
2888
+ } else {
2889
+ var g = Ea(d, e, f, c, b);
2890
+ Ge(g, b, !1, !1);
2891
+ b.stateNode = g;
2892
+ Ga(g, d, e, f, c) && Fe(b);
2893
+ }
2894
+ null !== b.ref && (b.effectTag |= 128);
2895
+ } else if (null === b.stateNode) throw Error(n(166));
2896
+ break;
2897
+ case 6:
2898
+ if (c && null != b.stateNode) Je(c, b, c.memoizedProps, e);else {
2899
+ if ("string" !== typeof e && null === b.stateNode) throw Error(n(166));
2900
+ c = pd(od.current);
2901
+ f = pd(H.current);
2902
+ if (ne(b)) {
2903
+ c = b;
2904
+ if (!Sa) throw Error(n(176));
2905
+ (c = vb(c.stateNode, c.memoizedProps, c)) && Fe(b);
2906
+ } else b.stateNode = La(e, c, f, b);
2907
+ }
2908
+ break;
2909
+ case 11:
2910
+ break;
2911
+ case 13:
2912
+ y(I);
2913
+ e = b.memoizedState;
2914
+ if (0 !== (b.effectTag & 64)) {
2915
+ b.expirationTime = d;
2916
+ break a;
2917
+ }
2918
+ e = null !== e;
2919
+ f = !1;
2920
+ null === c ? void 0 !== b.memoizedProps.fallback && ne(b) : (d = c.memoizedState, f = null !== d, e || null === d || (d = c.child.sibling, null !== d && (g = b.firstEffect, null !== g ? (b.firstEffect = d, d.nextEffect = g) : (b.firstEffect = b.lastEffect = d, d.nextEffect = null), d.effectTag = 8)));
2921
+ if (e && !f && 0 !== (b.mode & 2)) if (null === c && !0 !== b.memoizedProps.unstable_avoidThisFallback || 0 !== (I.current & 1)) X === tf && (X = wf);else {
2922
+ if (X === tf || X === wf) X = xf;
2923
+ 0 !== Df && null !== U && (Pf(U, W), Qf(U, Df));
2924
+ }
2925
+ Ra && e && (b.effectTag |= 4);
2926
+ Qa && (e || f) && (b.effectTag |= 4);
2927
+ break;
2928
+ case 7:
2929
+ break;
2930
+ case 8:
2931
+ break;
2932
+ case 12:
2933
+ break;
2934
+ case 4:
2935
+ rd();
2936
+ He(b);
2937
+ break;
2938
+ case 10:
2939
+ yc(b);
2940
+ break;
2941
+ case 9:
2942
+ break;
2943
+ case 14:
2944
+ break;
2945
+ case 17:
2946
+ C(b.type) && Gb();
2947
+ break;
2948
+ case 19:
2949
+ y(I);
2950
+ e = b.memoizedState;
2951
+ if (null === e) break;
2952
+ f = 0 !== (b.effectTag & 64);
2953
+ g = e.rendering;
2954
+ if (null === g) {
2955
+ if (f) Le(e, !1);else {
2956
+ if (X !== tf || null !== c && 0 !== (c.effectTag & 64)) for (c = b.child; null !== c;) {
2957
+ g = ud(c);
2958
+ if (null !== g) {
2959
+ b.effectTag |= 64;
2960
+ Le(e, !1);
2961
+ c = g.updateQueue;
2962
+ null !== c && (b.updateQueue = c, b.effectTag |= 4);
2963
+ null === e.lastEffect && (b.firstEffect = null);
2964
+ b.lastEffect = e.lastEffect;
2965
+ c = d;
2966
+ for (e = b.child; null !== e;) f = e, d = c, f.effectTag &= 2, f.nextEffect = null, f.firstEffect = null, f.lastEffect = null, g = f.alternate, null === g ? (f.childExpirationTime = 0, f.expirationTime = d, f.child = null, f.memoizedProps = null, f.memoizedState = null, f.updateQueue = null, f.dependencies = null) : (f.childExpirationTime = g.childExpirationTime, f.expirationTime = g.expirationTime, f.child = g.child, f.memoizedProps = g.memoizedProps, f.memoizedState = g.memoizedState, f.updateQueue = g.updateQueue, d = g.dependencies, f.dependencies = null === d ? null : {
2967
+ expirationTime: d.expirationTime,
2968
+ firstContext: d.firstContext,
2969
+ responders: d.responders
2970
+ }), e = e.sibling;
2971
+ z(I, I.current & 1 | 2);
2972
+ b = b.child;
2973
+ break a;
2974
+ }
2975
+ c = c.sibling;
2976
+ }
2977
+ }
2978
+ } else {
2979
+ if (!f) if (c = ud(g), null !== c) {
2980
+ if (b.effectTag |= 64, f = !0, c = c.updateQueue, null !== c && (b.updateQueue = c, b.effectTag |= 4), Le(e, !0), null === e.tail && "hidden" === e.tailMode) {
2981
+ b = b.lastEffect = e.lastEffect;
2982
+ null !== b && (b.nextEffect = null);
2983
+ break;
2984
+ }
2985
+ } else E() > e.tailExpiration && 1 < d && (b.effectTag |= 64, f = !0, Le(e, !1), b.expirationTime = b.childExpirationTime = d - 1);
2986
+ e.isBackwards ? (g.sibling = b.child, b.child = g) : (c = e.last, null !== c ? c.sibling = g : b.child = g, e.last = g);
2987
+ }
2988
+ if (null !== e.tail) {
2989
+ 0 === e.tailExpiration && (e.tailExpiration = E() + 500);
2990
+ c = e.tail;
2991
+ e.rendering = c;
2992
+ e.tail = c.sibling;
2993
+ e.lastEffect = b.lastEffect;
2994
+ c.sibling = null;
2995
+ e = I.current;
2996
+ e = f ? e & 1 | 2 : e & 1;
2997
+ z(I, e);
2998
+ b = c;
2999
+ break a;
3000
+ }
3001
+ break;
3002
+ case 20:
3003
+ break;
3004
+ case 21:
3005
+ break;
3006
+ default:
3007
+ throw Error(n(156, b.tag));
3008
+ }
3009
+ b = null;
3010
+ }
3011
+ c = V;
3012
+ if (1 === W || 1 !== c.childExpirationTime) {
3013
+ e = 0;
3014
+ for (f = c.child; null !== f;) d = f.expirationTime, g = f.childExpirationTime, d > e && (e = d), g > e && (e = g), f = f.sibling;
3015
+ c.childExpirationTime = e;
3016
+ }
3017
+ if (null !== b) return b;
3018
+ null !== a && 0 === (a.effectTag & 2048) && (null === a.firstEffect && (a.firstEffect = V.firstEffect), null !== V.lastEffect && (null !== a.lastEffect && (a.lastEffect.nextEffect = V.firstEffect), a.lastEffect = V.lastEffect), 1 < V.effectTag && (null !== a.lastEffect ? a.lastEffect.nextEffect = V : a.firstEffect = V, a.lastEffect = V));
3019
+ } else {
3020
+ b = Me(V);
3021
+ if (null !== b) return b.effectTag &= 2047, b;
3022
+ null !== a && (a.firstEffect = a.lastEffect = null, a.effectTag |= 2048);
3023
+ }
3024
+ b = V.sibling;
3025
+ if (null !== b) return b;
3026
+ V = a;
3027
+ } while (null !== V);
3028
+ X === tf && (X = yf);
3029
+ return null;
3030
+ }
3031
+ function $f(a) {
3032
+ var b = a.expirationTime;
3033
+ a = a.childExpirationTime;
3034
+ return b > a ? b : a;
3035
+ }
3036
+ function ag(a) {
3037
+ var b = fc();
3038
+ hc(99, jg.bind(null, a, b));
3039
+ return null;
3040
+ }
3041
+ function jg(a, b) {
3042
+ Vf();
3043
+ if ((T & (S | sf)) !== R) throw Error(n(327));
3044
+ var c = a.finishedWork,
3045
+ d = a.finishedExpirationTime;
3046
+ if (null === c) return null;
3047
+ a.finishedWork = null;
3048
+ a.finishedExpirationTime = 0;
3049
+ if (c === a.current) throw Error(n(177));
3050
+ a.callbackNode = null;
3051
+ a.callbackExpirationTime = 0;
3052
+ a.callbackPriority = 90;
3053
+ a.nextKnownPendingLevel = 0;
3054
+ var e = $f(c);
3055
+ a.firstPendingTime = e;
3056
+ d <= a.lastSuspendedTime ? a.firstSuspendedTime = a.lastSuspendedTime = a.nextKnownPendingLevel = 0 : d <= a.firstSuspendedTime && (a.firstSuspendedTime = d - 1);
3057
+ d <= a.lastPingedTime && (a.lastPingedTime = 0);
3058
+ d <= a.lastExpiredTime && (a.lastExpiredTime = 0);
3059
+ a === U && (V = U = null, W = 0);
3060
+ 1 < c.effectTag ? null !== c.lastEffect ? (c.lastEffect.nextEffect = c, e = c.firstEffect) : e = c : e = c.firstEffect;
3061
+ if (null !== e) {
3062
+ var f = T;
3063
+ T |= sf;
3064
+ qf.current = null;
3065
+ Ca(a.containerInfo);
3066
+ Y = e;
3067
+ do try {
3068
+ kg();
3069
+ } catch (jb) {
3070
+ if (null === Y) throw Error(n(330));
3071
+ Re(Y, jb);
3072
+ Y = Y.nextEffect;
3073
+ } while (null !== Y);
3074
+ Y = e;
3075
+ do try {
3076
+ for (var g = a, l = b; null !== Y;) {
3077
+ var h = Y.effectTag;
3078
+ h & 16 && Qa && bb(Y.stateNode);
3079
+ if (h & 128) {
3080
+ var k = Y.alternate;
3081
+ if (null !== k) {
3082
+ var p = k.ref;
3083
+ null !== p && ("function" === typeof p ? p(null) : p.current = null);
3084
+ }
3085
+ }
3086
+ switch (h & 1038) {
3087
+ case 2:
3088
+ bf(Y);
3089
+ Y.effectTag &= -3;
3090
+ break;
3091
+ case 6:
3092
+ bf(Y);
3093
+ Y.effectTag &= -3;
3094
+ cf(Y.alternate, Y);
3095
+ break;
3096
+ case 1024:
3097
+ Y.effectTag &= -1025;
3098
+ break;
3099
+ case 1028:
3100
+ Y.effectTag &= -1025;
3101
+ cf(Y.alternate, Y);
3102
+ break;
3103
+ case 4:
3104
+ cf(Y.alternate, Y);
3105
+ break;
3106
+ case 8:
3107
+ var D = g,
3108
+ x = Y,
3109
+ K = l;
3110
+ Qa ? Xe(D, x, K) : Ze(D, x, K);
3111
+ $e(x);
3112
+ }
3113
+ Y = Y.nextEffect;
3114
+ }
3115
+ } catch (jb) {
3116
+ if (null === Y) throw Error(n(330));
3117
+ Re(Y, jb);
3118
+ Y = Y.nextEffect;
3119
+ } while (null !== Y);
3120
+ Da(a.containerInfo);
3121
+ a.current = c;
3122
+ Y = e;
3123
+ do try {
3124
+ for (h = d; null !== Y;) {
3125
+ var Ha = Y.effectTag;
3126
+ if (Ha & 36) {
3127
+ var O = Y.alternate;
3128
+ k = Y;
3129
+ p = h;
3130
+ switch (k.tag) {
3131
+ case 0:
3132
+ case 11:
3133
+ case 15:
3134
+ Ue(16, 32, k);
3135
+ break;
3136
+ case 1:
3137
+ var w = k.stateNode;
3138
+ if (k.effectTag & 4) if (null === O) w.componentDidMount();else {
3139
+ var r = k.elementType === k.type ? O.memoizedProps : rc(k.type, O.memoizedProps);
3140
+ w.componentDidUpdate(r, O.memoizedState, w.__reactInternalSnapshotBeforeUpdate);
3141
+ }
3142
+ var t = k.updateQueue;
3143
+ null !== t && Qc(k, t, w, p);
3144
+ break;
3145
+ case 3:
3146
+ var N = k.updateQueue;
3147
+ if (null !== N) {
3148
+ g = null;
3149
+ if (null !== k.child) switch (k.child.tag) {
3150
+ case 5:
3151
+ g = za(k.child.stateNode);
3152
+ break;
3153
+ case 1:
3154
+ g = k.child.stateNode;
3155
+ }
3156
+ Qc(k, N, g, p);
3157
+ }
3158
+ break;
3159
+ case 5:
3160
+ var Mc = k.stateNode;
3161
+ null === O && k.effectTag & 4 && Wa(Mc, k.type, k.memoizedProps, k);
3162
+ break;
3163
+ case 6:
3164
+ break;
3165
+ case 4:
3166
+ break;
3167
+ case 12:
3168
+ break;
3169
+ case 13:
3170
+ if (Sa && null === k.memoizedState) {
3171
+ var Rb = k.alternate;
3172
+ if (null !== Rb) {
3173
+ var le = Rb.memoizedState;
3174
+ if (null !== le) {
3175
+ var me = le.dehydrated;
3176
+ null !== me && yb(me);
3177
+ }
3178
+ }
3179
+ }
3180
+ break;
3181
+ case 19:
3182
+ case 17:
3183
+ case 20:
3184
+ case 21:
3185
+ break;
3186
+ default:
3187
+ throw Error(n(163));
3188
+ }
3189
+ }
3190
+ if (Ha & 128) {
3191
+ k = void 0;
3192
+ var Sb = Y.ref;
3193
+ if (null !== Sb) {
3194
+ var v = Y.stateNode;
3195
+ switch (Y.tag) {
3196
+ case 5:
3197
+ k = za(v);
3198
+ break;
3199
+ default:
3200
+ k = v;
3201
+ }
3202
+ "function" === typeof Sb ? Sb(k) : Sb.current = k;
3203
+ }
3204
+ }
3205
+ Y = Y.nextEffect;
3206
+ }
3207
+ } catch (jb) {
3208
+ if (null === Y) throw Error(n(330));
3209
+ Re(Y, jb);
3210
+ Y = Y.nextEffect;
3211
+ } while (null !== Y);
3212
+ Y = null;
3213
+ ac();
3214
+ T = f;
3215
+ } else a.current = c;
3216
+ if (Gf) Gf = !1, Hf = a, If = b;else for (Y = e; null !== Y;) b = Y.nextEffect, Y.nextEffect = null, Y = b;
3217
+ b = a.firstPendingTime;
3218
+ 0 === b && (nf = null);
3219
+ 1073741823 === b ? a === Lf ? Kf++ : (Kf = 0, Lf = a) : Kf = 0;
3220
+ "function" === typeof lg && lg(c.stateNode, d);
3221
+ Z(a);
3222
+ if (kf) throw kf = !1, a = lf, lf = null, a;
3223
+ if ((T & rf) !== R) return null;
3224
+ F();
3225
+ return null;
3226
+ }
3227
+ function kg() {
3228
+ for (; null !== Y;) {
3229
+ var a = Y.effectTag;
3230
+ 0 !== (a & 256) && Te(Y.alternate, Y);
3231
+ 0 === (a & 512) || Gf || (Gf = !0, ic(97, function () {
3232
+ Vf();
3233
+ return null;
3234
+ }));
3235
+ Y = Y.nextEffect;
3236
+ }
3237
+ }
3238
+ function Vf() {
3239
+ if (90 !== If) {
3240
+ var a = 97 < If ? 97 : If;
3241
+ If = 90;
3242
+ return hc(a, mg);
3243
+ }
3244
+ }
3245
+ function mg() {
3246
+ if (null === Hf) return !1;
3247
+ var a = Hf;
3248
+ Hf = null;
3249
+ if ((T & (S | sf)) !== R) throw Error(n(331));
3250
+ var b = T;
3251
+ T |= sf;
3252
+ for (a = a.current.firstEffect; null !== a;) {
3253
+ try {
3254
+ var c = a;
3255
+ if (0 !== (c.effectTag & 512)) switch (c.tag) {
3256
+ case 0:
3257
+ case 11:
3258
+ case 15:
3259
+ Ue(128, 0, c), Ue(0, 64, c);
3260
+ }
3261
+ } catch (d) {
3262
+ if (null === a) throw Error(n(330));
3263
+ Re(a, d);
3264
+ }
3265
+ c = a.nextEffect;
3266
+ a.nextEffect = null;
3267
+ a = c;
3268
+ }
3269
+ T = b;
3270
+ F();
3271
+ return !0;
3272
+ }
3273
+ function ng(a, b, c) {
3274
+ b = Ne(c, b);
3275
+ b = jf(a, b, 1073741823);
3276
+ Ic(a, b);
3277
+ a = Nf(a, 1073741823);
3278
+ null !== a && Z(a);
3279
+ }
3280
+ function Re(a, b) {
3281
+ if (3 === a.tag) ng(a, a, b);else for (var c = a.return; null !== c;) {
3282
+ if (3 === c.tag) {
3283
+ ng(c, a, b);
3284
+ break;
3285
+ } else if (1 === c.tag) {
3286
+ var d = c.stateNode;
3287
+ if ("function" === typeof c.type.getDerivedStateFromError || "function" === typeof d.componentDidCatch && (null === nf || !nf.has(d))) {
3288
+ a = Ne(b, a);
3289
+ a = mf(c, a, 1073741823);
3290
+ Ic(c, a);
3291
+ c = Nf(c, 1073741823);
3292
+ null !== c && Z(c);
3293
+ break;
3294
+ }
3295
+ }
3296
+ c = c.return;
3297
+ }
3298
+ }
3299
+ function fg(a, b, c) {
3300
+ var d = a.pingCache;
3301
+ null !== d && d.delete(b);
3302
+ U === a && W === c ? X === xf || X === wf && 1073741823 === Af && E() - ff < Ff ? Wf(a, W) : Ef = !0 : Sf(a, c) && (b = a.lastPingedTime, 0 !== b && b < c || (a.lastPingedTime = c, a.finishedExpirationTime === c && (a.finishedExpirationTime = 0, a.finishedWork = null), Z(a)));
3303
+ }
3304
+ function gf(a, b) {
3305
+ var c = a.stateNode;
3306
+ null !== c && c.delete(b);
3307
+ b = 0;
3308
+ 0 === b && (b = G(), b = Vc(b, a, null));
3309
+ a = Nf(a, b);
3310
+ null !== a && Z(a);
3311
+ }
3312
+ var ig;
3313
+ ig = function (a, b, c) {
3314
+ var d = b.expirationTime;
3315
+ if (null !== a) {
3316
+ var e = b.pendingProps;
3317
+ if (a.memoizedProps !== e || B.current) Bc = !0;else {
3318
+ if (d < c) {
3319
+ Bc = !1;
3320
+ switch (b.tag) {
3321
+ case 3:
3322
+ ze(b);
3323
+ oe();
3324
+ break;
3325
+ case 5:
3326
+ sd(b);
3327
+ if (b.mode & 4 && 1 !== c && Ka(b.type, e)) return b.expirationTime = b.childExpirationTime = 1, null;
3328
+ break;
3329
+ case 1:
3330
+ C(b.type) && Kb(b);
3331
+ break;
3332
+ case 4:
3333
+ qd(b, b.stateNode.containerInfo);
3334
+ break;
3335
+ case 10:
3336
+ xc(b, b.memoizedProps.value);
3337
+ break;
3338
+ case 13:
3339
+ if (null !== b.memoizedState) {
3340
+ d = b.child.childExpirationTime;
3341
+ if (0 !== d && d >= c) return Be(a, b, c);
3342
+ z(I, I.current & 1);
3343
+ b = re(a, b, c);
3344
+ return null !== b ? b.sibling : null;
3345
+ }
3346
+ z(I, I.current & 1);
3347
+ break;
3348
+ case 19:
3349
+ d = b.childExpirationTime >= c;
3350
+ if (0 !== (a.effectTag & 64)) {
3351
+ if (d) return Ee(a, b, c);
3352
+ b.effectTag |= 64;
3353
+ }
3354
+ e = b.memoizedState;
3355
+ null !== e && (e.rendering = null, e.tail = null);
3356
+ z(I, I.current);
3357
+ if (!d) return null;
3358
+ }
3359
+ return re(a, b, c);
3360
+ }
3361
+ Bc = !1;
3362
+ }
3363
+ } else Bc = !1;
3364
+ b.expirationTime = 0;
3365
+ switch (b.tag) {
3366
+ case 2:
3367
+ d = b.type;
3368
+ null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2);
3369
+ a = b.pendingProps;
3370
+ e = Fb(b, A.current);
3371
+ Ac(b, c);
3372
+ e = Jd(null, b, d, a, e, c);
3373
+ b.effectTag |= 1;
3374
+ if ("object" === typeof e && null !== e && "function" === typeof e.render && void 0 === e.$$typeof) {
3375
+ b.tag = 1;
3376
+ Nd();
3377
+ if (C(d)) {
3378
+ var f = !0;
3379
+ Kb(b);
3380
+ } else f = !1;
3381
+ b.memoizedState = null !== e.state && void 0 !== e.state ? e.state : null;
3382
+ var g = d.getDerivedStateFromProps;
3383
+ "function" === typeof g && Uc(b, d, g, a);
3384
+ e.updater = Xc;
3385
+ b.stateNode = e;
3386
+ e._reactInternalFiber = b;
3387
+ ad(b, d, a, c);
3388
+ b = ye(null, b, d, !0, f, c);
3389
+ } else b.tag = 0, Q(null, b, e, c), b = b.child;
3390
+ return b;
3391
+ case 16:
3392
+ e = b.elementType;
3393
+ null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2);
3394
+ a = b.pendingProps;
3395
+ sa(e);
3396
+ if (1 !== e._status) throw e._result;
3397
+ e = e._result;
3398
+ b.type = e;
3399
+ f = b.tag = og(e);
3400
+ a = rc(e, a);
3401
+ switch (f) {
3402
+ case 0:
3403
+ b = ve(null, b, e, a, c);
3404
+ break;
3405
+ case 1:
3406
+ b = xe(null, b, e, a, c);
3407
+ break;
3408
+ case 11:
3409
+ b = qe(null, b, e, a, c);
3410
+ break;
3411
+ case 14:
3412
+ b = se(null, b, e, rc(e.type, a), d, c);
3413
+ break;
3414
+ default:
3415
+ throw Error(n(306, e, ""));
3416
+ }
3417
+ return b;
3418
+ case 0:
3419
+ return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : rc(d, e), ve(a, b, d, e, c);
3420
+ case 1:
3421
+ return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : rc(d, e), xe(a, b, d, e, c);
3422
+ case 3:
3423
+ ze(b);
3424
+ d = b.updateQueue;
3425
+ if (null === d) throw Error(n(282));
3426
+ e = b.memoizedState;
3427
+ e = null !== e ? e.element : null;
3428
+ Nc(b, d, b.pendingProps, null, c);
3429
+ d = b.memoizedState.element;
3430
+ if (d === e) oe(), b = re(a, b, c);else {
3431
+ if (e = b.stateNode.hydrate) Sa ? (ee = tb(b.stateNode.containerInfo), de = b, e = fe = !0) : e = !1;
3432
+ if (e) for (c = ld(b, null, d, c), b.child = c; c;) c.effectTag = c.effectTag & -3 | 1024, c = c.sibling;else Q(a, b, d, c), oe();
3433
+ b = b.child;
3434
+ }
3435
+ return b;
3436
+ case 5:
3437
+ return sd(b), null === a && je(b), d = b.type, e = b.pendingProps, f = null !== a ? a.memoizedProps : null, g = e.children, Ja(d, e) ? g = null : null !== f && Ja(d, f) && (b.effectTag |= 16), we(a, b), b.mode & 4 && 1 !== c && Ka(d, e) ? (b.expirationTime = b.childExpirationTime = 1, b = null) : (Q(a, b, g, c), b = b.child), b;
3438
+ case 6:
3439
+ return null === a && je(b), null;
3440
+ case 13:
3441
+ return Be(a, b, c);
3442
+ case 4:
3443
+ return qd(b, b.stateNode.containerInfo), d = b.pendingProps, null === a ? b.child = kd(b, null, d, c) : Q(a, b, d, c), b.child;
3444
+ case 11:
3445
+ return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : rc(d, e), qe(a, b, d, e, c);
3446
+ case 7:
3447
+ return Q(a, b, b.pendingProps, c), b.child;
3448
+ case 8:
3449
+ return Q(a, b, b.pendingProps.children, c), b.child;
3450
+ case 12:
3451
+ return Q(a, b, b.pendingProps.children, c), b.child;
3452
+ case 10:
3453
+ a: {
3454
+ d = b.type._context;
3455
+ e = b.pendingProps;
3456
+ g = b.memoizedProps;
3457
+ f = e.value;
3458
+ xc(b, f);
3459
+ if (null !== g) {
3460
+ var l = g.value;
3461
+ f = oc(l, f) ? 0 : ("function" === typeof d._calculateChangedBits ? d._calculateChangedBits(l, f) : 1073741823) | 0;
3462
+ if (0 === f) {
3463
+ if (g.children === e.children && !B.current) {
3464
+ b = re(a, b, c);
3465
+ break a;
3466
+ }
3467
+ } else for (l = b.child, null !== l && (l.return = b); null !== l;) {
3468
+ var h = l.dependencies;
3469
+ if (null !== h) {
3470
+ g = l.child;
3471
+ for (var k = h.firstContext; null !== k;) {
3472
+ if (k.context === d && 0 !== (k.observedBits & f)) {
3473
+ 1 === l.tag && (k = Gc(c, null), k.tag = 2, Ic(l, k));
3474
+ l.expirationTime < c && (l.expirationTime = c);
3475
+ k = l.alternate;
3476
+ null !== k && k.expirationTime < c && (k.expirationTime = c);
3477
+ zc(l.return, c);
3478
+ h.expirationTime < c && (h.expirationTime = c);
3479
+ break;
3480
+ }
3481
+ k = k.next;
3482
+ }
3483
+ } else g = 10 === l.tag ? l.type === b.type ? null : l.child : l.child;
3484
+ if (null !== g) g.return = l;else for (g = l; null !== g;) {
3485
+ if (g === b) {
3486
+ g = null;
3487
+ break;
3488
+ }
3489
+ l = g.sibling;
3490
+ if (null !== l) {
3491
+ l.return = g.return;
3492
+ g = l;
3493
+ break;
3494
+ }
3495
+ g = g.return;
3496
+ }
3497
+ l = g;
3498
+ }
3499
+ }
3500
+ Q(a, b, e.children, c);
3501
+ b = b.child;
3502
+ }
3503
+ return b;
3504
+ case 9:
3505
+ return e = b.type, f = b.pendingProps, d = f.children, Ac(b, c), e = Cc(e, f.unstable_observedBits), d = d(e), b.effectTag |= 1, Q(a, b, d, c), b.child;
3506
+ case 14:
3507
+ return e = b.type, f = rc(e, b.pendingProps), f = rc(e.type, f), se(a, b, e, f, d, c);
3508
+ case 15:
3509
+ return ue(a, b, b.type, b.pendingProps, d, c);
3510
+ case 17:
3511
+ return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : rc(d, e), null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2), b.tag = 1, C(d) ? (a = !0, Kb(b)) : a = !1, Ac(b, c), Zc(b, d, e), ad(b, d, e, c), ye(null, b, d, !0, a, c);
3512
+ case 19:
3513
+ return Ee(a, b, c);
3514
+ }
3515
+ throw Error(n(156, b.tag));
3516
+ };
3517
+ var lg = null,
3518
+ We = null;
3519
+ function pg(a) {
3520
+ if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1;
3521
+ var b = __REACT_DEVTOOLS_GLOBAL_HOOK__;
3522
+ if (b.isDisabled || !b.supportsFiber) return !0;
3523
+ try {
3524
+ var c = b.inject(a);
3525
+ lg = function (a) {
3526
+ try {
3527
+ b.onCommitFiberRoot(c, a, void 0, 64 === (a.current.effectTag & 64));
3528
+ } catch (e) {}
3529
+ };
3530
+ We = function (a) {
3531
+ try {
3532
+ b.onCommitFiberUnmount(c, a);
3533
+ } catch (e) {}
3534
+ };
3535
+ } catch (d) {}
3536
+ return !0;
3537
+ }
3538
+ function qg(a, b, c, d) {
3539
+ this.tag = a;
3540
+ this.key = c;
3541
+ this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;
3542
+ this.index = 0;
3543
+ this.ref = null;
3544
+ this.pendingProps = b;
3545
+ this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;
3546
+ this.mode = d;
3547
+ this.effectTag = 0;
3548
+ this.lastEffect = this.firstEffect = this.nextEffect = null;
3549
+ this.childExpirationTime = this.expirationTime = 0;
3550
+ this.alternate = null;
3551
+ }
3552
+ function he(a, b, c, d) {
3553
+ return new qg(a, b, c, d);
3554
+ }
3555
+ function te(a) {
3556
+ a = a.prototype;
3557
+ return !(!a || !a.isReactComponent);
3558
+ }
3559
+ function og(a) {
3560
+ if ("function" === typeof a) return te(a) ? 1 : 0;
3561
+ if (void 0 !== a && null !== a) {
3562
+ a = a.$$typeof;
3563
+ if (a === la) return 11;
3564
+ if (a === oa) return 14;
3565
+ }
3566
+ return 2;
3567
+ }
3568
+ function fd(a, b) {
3569
+ var c = a.alternate;
3570
+ null === c ? (c = he(a.tag, b, a.key, a.mode), c.elementType = a.elementType, c.type = a.type, c.stateNode = a.stateNode, c.alternate = a, a.alternate = c) : (c.pendingProps = b, c.effectTag = 0, c.nextEffect = null, c.firstEffect = null, c.lastEffect = null);
3571
+ c.childExpirationTime = a.childExpirationTime;
3572
+ c.expirationTime = a.expirationTime;
3573
+ c.child = a.child;
3574
+ c.memoizedProps = a.memoizedProps;
3575
+ c.memoizedState = a.memoizedState;
3576
+ c.updateQueue = a.updateQueue;
3577
+ b = a.dependencies;
3578
+ c.dependencies = null === b ? null : {
3579
+ expirationTime: b.expirationTime,
3580
+ firstContext: b.firstContext,
3581
+ responders: b.responders
3582
+ };
3583
+ c.sibling = a.sibling;
3584
+ c.index = a.index;
3585
+ c.ref = a.ref;
3586
+ return c;
3587
+ }
3588
+ function hd(a, b, c, d, e, f) {
3589
+ var g = 2;
3590
+ d = a;
3591
+ if ("function" === typeof a) te(a) && (g = 1);else if ("string" === typeof a) g = 5;else a: switch (a) {
3592
+ case ea:
3593
+ return jd(c.children, e, f, b);
3594
+ case ka:
3595
+ g = 8;
3596
+ e |= 7;
3597
+ break;
3598
+ case fa:
3599
+ g = 8;
3600
+ e |= 1;
3601
+ break;
3602
+ case ha:
3603
+ return a = he(12, c, b, e | 8), a.elementType = ha, a.type = ha, a.expirationTime = f, a;
3604
+ case ma:
3605
+ return a = he(13, c, b, e), a.type = ma, a.elementType = ma, a.expirationTime = f, a;
3606
+ case na:
3607
+ return a = he(19, c, b, e), a.elementType = na, a.expirationTime = f, a;
3608
+ default:
3609
+ if ("object" === typeof a && null !== a) switch (a.$$typeof) {
3610
+ case ia:
3611
+ g = 10;
3612
+ break a;
3613
+ case ja:
3614
+ g = 9;
3615
+ break a;
3616
+ case la:
3617
+ g = 11;
3618
+ break a;
3619
+ case oa:
3620
+ g = 14;
3621
+ break a;
3622
+ case pa:
3623
+ g = 16;
3624
+ d = null;
3625
+ break a;
3626
+ }
3627
+ throw Error(n(130, null == a ? a : typeof a, ""));
3628
+ }
3629
+ b = he(g, c, b, e);
3630
+ b.elementType = a;
3631
+ b.type = d;
3632
+ b.expirationTime = f;
3633
+ return b;
3634
+ }
3635
+ function jd(a, b, c, d) {
3636
+ a = he(7, a, d, b);
3637
+ a.expirationTime = c;
3638
+ return a;
3639
+ }
3640
+ function gd(a, b, c) {
3641
+ a = he(6, a, null, b);
3642
+ a.expirationTime = c;
3643
+ return a;
3644
+ }
3645
+ function id(a, b, c) {
3646
+ b = he(4, null !== a.children ? a.children : [], a.key, b);
3647
+ b.expirationTime = c;
3648
+ b.stateNode = {
3649
+ containerInfo: a.containerInfo,
3650
+ pendingChildren: null,
3651
+ implementation: a.implementation
3652
+ };
3653
+ return b;
3654
+ }
3655
+ function rg(a, b, c) {
3656
+ this.tag = b;
3657
+ this.current = null;
3658
+ this.containerInfo = a;
3659
+ this.pingCache = this.pendingChildren = null;
3660
+ this.finishedExpirationTime = 0;
3661
+ this.finishedWork = null;
3662
+ this.timeoutHandle = Oa;
3663
+ this.pendingContext = this.context = null;
3664
+ this.hydrate = c;
3665
+ this.callbackNode = null;
3666
+ this.callbackPriority = 90;
3667
+ this.lastExpiredTime = this.lastPingedTime = this.nextKnownPendingLevel = this.lastSuspendedTime = this.firstSuspendedTime = this.firstPendingTime = 0;
3668
+ }
3669
+ function Sf(a, b) {
3670
+ var c = a.firstSuspendedTime;
3671
+ a = a.lastSuspendedTime;
3672
+ return 0 !== c && c >= b && a <= b;
3673
+ }
3674
+ function Pf(a, b) {
3675
+ var c = a.firstSuspendedTime,
3676
+ d = a.lastSuspendedTime;
3677
+ c < b && (a.firstSuspendedTime = b);
3678
+ if (d > b || 0 === c) a.lastSuspendedTime = b;
3679
+ b <= a.lastPingedTime && (a.lastPingedTime = 0);
3680
+ b <= a.lastExpiredTime && (a.lastExpiredTime = 0);
3681
+ }
3682
+ function Qf(a, b) {
3683
+ b > a.firstPendingTime && (a.firstPendingTime = b);
3684
+ var c = a.firstSuspendedTime;
3685
+ 0 !== c && (b >= c ? a.firstSuspendedTime = a.lastSuspendedTime = a.nextKnownPendingLevel = 0 : b >= a.lastSuspendedTime && (a.lastSuspendedTime = b + 1), b > a.nextKnownPendingLevel && (a.nextKnownPendingLevel = b));
3686
+ }
3687
+ function Uf(a, b) {
3688
+ var c = a.lastExpiredTime;
3689
+ if (0 === c || c > b) a.lastExpiredTime = b;
3690
+ }
3691
+ function sg(a) {
3692
+ var b = a._reactInternalFiber;
3693
+ if (void 0 === b) {
3694
+ if ("function" === typeof a.render) throw Error(n(188));
3695
+ throw Error(n(268, Object.keys(a)));
3696
+ }
3697
+ a = xa(b);
3698
+ return null === a ? null : a.stateNode;
3699
+ }
3700
+ function tg(a, b) {
3701
+ a = a.memoizedState;
3702
+ null !== a && null !== a.dehydrated && a.retryTime < b && (a.retryTime = b);
3703
+ }
3704
+ function ug(a, b) {
3705
+ tg(a, b);
3706
+ (a = a.alternate) && tg(a, b);
3707
+ }
3708
+ var vg = {
3709
+ createContainer: function (a, b, c) {
3710
+ a = new rg(a, b, c);
3711
+ b = he(3, null, null, 2 === b ? 7 : 1 === b ? 3 : 0);
3712
+ a.current = b;
3713
+ return b.stateNode = a;
3714
+ },
3715
+ updateContainer: function (a, b, c, d) {
3716
+ var e = b.current,
3717
+ f = G(),
3718
+ g = Sc.suspense;
3719
+ f = Vc(f, e, g);
3720
+ a: if (c) {
3721
+ c = c._reactInternalFiber;
3722
+ b: {
3723
+ if (ua(c) !== c || 1 !== c.tag) throw Error(n(170));
3724
+ var l = c;
3725
+ do {
3726
+ switch (l.tag) {
3727
+ case 3:
3728
+ l = l.stateNode.context;
3729
+ break b;
3730
+ case 1:
3731
+ if (C(l.type)) {
3732
+ l = l.stateNode.__reactInternalMemoizedMergedChildContext;
3733
+ break b;
3734
+ }
3735
+ }
3736
+ l = l.return;
3737
+ } while (null !== l);
3738
+ throw Error(n(171));
3739
+ }
3740
+ if (1 === c.tag) {
3741
+ var h = c.type;
3742
+ if (C(h)) {
3743
+ c = Jb(c, h, l);
3744
+ break a;
3745
+ }
3746
+ }
3747
+ c = l;
3748
+ } else c = Db;
3749
+ null === b.context ? b.context = c : b.pendingContext = c;
3750
+ b = Gc(f, g);
3751
+ b.payload = {
3752
+ element: a
3753
+ };
3754
+ d = void 0 === d ? null : d;
3755
+ null !== d && (b.callback = d);
3756
+ Ic(e, b);
3757
+ Wc(e, f);
3758
+ return f;
3759
+ },
3760
+ batchedEventUpdates: function (a, b) {
3761
+ var c = T;
3762
+ T |= 2;
3763
+ try {
3764
+ return a(b);
3765
+ } finally {
3766
+ T = c, T === R && F();
3767
+ }
3768
+ },
3769
+ batchedUpdates: function (a, b) {
3770
+ var c = T;
3771
+ T |= 1;
3772
+ try {
3773
+ return a(b);
3774
+ } finally {
3775
+ T = c, T === R && F();
3776
+ }
3777
+ },
3778
+ unbatchedUpdates: function (a, b) {
3779
+ var c = T;
3780
+ T &= -2;
3781
+ T |= rf;
3782
+ try {
3783
+ return a(b);
3784
+ } finally {
3785
+ T = c, T === R && F();
3786
+ }
3787
+ },
3788
+ deferredUpdates: function (a) {
3789
+ return hc(97, a);
3790
+ },
3791
+ syncUpdates: function (a, b, c, d) {
3792
+ return hc(99, a.bind(null, b, c, d));
3793
+ },
3794
+ discreteUpdates: function (a, b, c, d) {
3795
+ var e = T;
3796
+ T |= 4;
3797
+ try {
3798
+ return hc(98, a.bind(null, b, c, d));
3799
+ } finally {
3800
+ T = e, T === R && F();
3801
+ }
3802
+ },
3803
+ flushDiscreteUpdates: function () {
3804
+ (T & (1 | S | sf)) === R && (dg(), Vf());
3805
+ },
3806
+ flushControlled: function (a) {
3807
+ var b = T;
3808
+ T |= 1;
3809
+ try {
3810
+ hc(99, a);
3811
+ } finally {
3812
+ T = b, T === R && F();
3813
+ }
3814
+ },
3815
+ flushSync: eg,
3816
+ flushPassiveEffects: Vf,
3817
+ IsThisRendererActing: {
3818
+ current: !1
3819
+ },
3820
+ getPublicRootInstance: function (a) {
3821
+ a = a.current;
3822
+ if (!a.child) return null;
3823
+ switch (a.child.tag) {
3824
+ case 5:
3825
+ return za(a.child.stateNode);
3826
+ default:
3827
+ return a.child.stateNode;
3828
+ }
3829
+ },
3830
+ attemptSynchronousHydration: function (a) {
3831
+ switch (a.tag) {
3832
+ case 3:
3833
+ var b = a.stateNode;
3834
+ b.hydrate && cg(b, b.firstPendingTime);
3835
+ break;
3836
+ case 13:
3837
+ eg(function () {
3838
+ return Wc(a, 1073741823);
3839
+ }), b = mc(G(), 150, 100), ug(a, b);
3840
+ }
3841
+ },
3842
+ attemptUserBlockingHydration: function (a) {
3843
+ if (13 === a.tag) {
3844
+ var b = mc(G(), 150, 100);
3845
+ Wc(a, b);
3846
+ ug(a, b);
3847
+ }
3848
+ },
3849
+ attemptContinuousHydration: function (a) {
3850
+ if (13 === a.tag) {
3851
+ G();
3852
+ var b = lc++;
3853
+ Wc(a, b);
3854
+ ug(a, b);
3855
+ }
3856
+ },
3857
+ attemptHydrationAtCurrentPriority: function (a) {
3858
+ if (13 === a.tag) {
3859
+ var b = G();
3860
+ b = Vc(b, a, null);
3861
+ Wc(a, b);
3862
+ ug(a, b);
3863
+ }
3864
+ },
3865
+ findHostInstance: sg,
3866
+ findHostInstanceWithWarning: function (a) {
3867
+ return sg(a);
3868
+ },
3869
+ findHostInstanceWithNoPortals: function (a) {
3870
+ a = ya(a);
3871
+ return null === a ? null : 20 === a.tag ? a.stateNode.instance : a.stateNode;
3872
+ },
3873
+ shouldSuspend: function () {
3874
+ return !1;
3875
+ },
3876
+ injectIntoDevTools: function (a) {
3877
+ var b = a.findFiberByHostInstance;
3878
+ return pg(aa({}, a, {
3879
+ overrideHookState: null,
3880
+ overrideProps: null,
3881
+ setSuspenseHandler: null,
3882
+ scheduleUpdate: null,
3883
+ currentDispatcherRef: q.ReactCurrentDispatcher,
3884
+ findHostInstanceByFiber: function (a) {
3885
+ a = xa(a);
3886
+ return null === a ? null : a.stateNode;
3887
+ },
3888
+ findFiberByHostInstance: function (a) {
3889
+ return b ? b(a) : null;
3890
+ },
3891
+ findHostInstancesForRefresh: null,
3892
+ scheduleRefresh: null,
3893
+ scheduleRoot: null,
3894
+ setRefreshHandler: null,
3895
+ getCurrentFiber: null
3896
+ }));
3897
+ }
3898
+ };
3899
+ module.exports = vg.default || vg;
3900
+ var $$$renderer = module.exports;
3901
+ module.exports = $$$reconciler;
3902
+ return $$$renderer;
3903
+ };
3904
+ } (reactReconciler_production_min));
3905
+
3906
+ var reactReconciler_production_minExports = reactReconciler_production_min.exports;
3907
+ var ReactFiberReconciler = /*@__PURE__*/getDefaultExportFromCjs(reactReconciler_production_minExports);
3908
+
3909
+ /* eslint-disable no-continue */
3910
+
3911
+ /**
3912
+ * Checks if two sets of props are equal (recursively)
3913
+ *
3914
+ * @param {Object} a props A
3915
+ * @param {Object} b props B
3916
+ * @returns {boolean} props equals?
3917
+ *
3918
+ */
3919
+ const propsEqual = (a, b) => {
3920
+ const oldPropsKeys = Object.keys(a);
3921
+ const newPropsKeys = Object.keys(b);
3922
+ if (oldPropsKeys.length !== newPropsKeys.length) {
3923
+ return false;
3924
+ }
3925
+ for (let i = 0; i < oldPropsKeys.length; i += 1) {
3926
+ const propName = oldPropsKeys[i];
3927
+ if (propName === 'render' && !a[propName] !== !b[propName]) {
3928
+ return false;
3929
+ }
3930
+ if (propName !== 'children' && a[propName] !== b[propName]) {
3931
+ if (typeof a[propName] === 'object' && typeof b[propName] === 'object' && propsEqual(a[propName], b[propName])) {
3932
+ continue;
3933
+ }
3934
+ return false;
3935
+ }
3936
+ if (propName === 'children' && (typeof a[propName] === 'string' || typeof b[propName] === 'string')) {
3937
+ return a[propName] === b[propName];
3938
+ }
3939
+ }
3940
+ return true;
3941
+ };
3942
+
3943
+ /* eslint-disable import/no-extraneous-dependencies */
3944
+ /* eslint-disable no-unused-vars */
3945
+ /* eslint-disable no-param-reassign */
3946
+
3947
+ const emptyObject = {};
3948
+ const appendChild = (parentInstance, child) => {
3949
+ const isParentText = parentInstance.type === 'TEXT' || parentInstance.type === 'LINK' || parentInstance.type === 'TSPAN';
3950
+ const isChildTextInstance = child.type === 'TEXT_INSTANCE';
3951
+ const isOrphanTextInstance = isChildTextInstance && !isParentText;
3952
+
3953
+ // Ignore orphan text instances.
3954
+ // Caused by cases such as <>{name && <Text>{name}</Text>}</>
3955
+ if (isOrphanTextInstance) {
3956
+ console.warn("Invalid '" + child.value + "' string child outside <Text> component");
3957
+ return;
3958
+ }
3959
+ parentInstance.children.push(child);
3960
+ };
3961
+ const createRenderer = _ref => {
3962
+ let {
3963
+ onChange = () => {}
3964
+ } = _ref;
3965
+ return ReactFiberReconciler({
3966
+ schedulePassiveEffects: scheduler.unstable_scheduleCallback,
3967
+ cancelPassiveEffects: scheduler.unstable_cancelCallback,
3968
+ supportsMutation: true,
3969
+ isPrimaryRenderer: false,
3970
+ warnsIfNotActing: false,
3971
+ appendInitialChild: appendChild,
3972
+ createInstance(type, _ref2) {
3973
+ let {
3974
+ style,
3975
+ children,
3976
+ ...props
3977
+ } = _ref2;
3978
+ return {
3979
+ type,
3980
+ box: {},
3981
+ style: style || {},
3982
+ props: props || {},
3983
+ children: []
3984
+ };
3985
+ },
3986
+ createTextInstance(text, rootContainerInstance) {
3987
+ return {
3988
+ type: 'TEXT_INSTANCE',
3989
+ value: text
3990
+ };
3991
+ },
3992
+ finalizeInitialChildren(element, type, props) {
3993
+ return false;
3994
+ },
3995
+ getPublicInstance(instance) {
3996
+ return instance;
3997
+ },
3998
+ prepareForCommit() {
3999
+ // Noop
4000
+ },
4001
+ clearContainer() {
4002
+ // Noop
4003
+ },
4004
+ prepareUpdate(element, type, oldProps, newProps) {
4005
+ return !propsEqual(oldProps, newProps);
4006
+ },
4007
+ resetAfterCommit: onChange,
4008
+ resetTextContent(element) {
4009
+ // Noop
4010
+ },
4011
+ getRootHostContext() {
4012
+ return emptyObject;
4013
+ },
4014
+ getChildHostContext() {
4015
+ return emptyObject;
4016
+ },
4017
+ shouldSetTextContent(type, props) {
4018
+ return false;
4019
+ },
4020
+ now: Date.now,
4021
+ useSyncScheduling: true,
4022
+ appendChild,
4023
+ appendChildToContainer(parentInstance, child) {
4024
+ if (parentInstance.type === 'ROOT') {
4025
+ parentInstance.document = child;
4026
+ } else {
4027
+ appendChild(parentInstance, child);
4028
+ }
4029
+ },
4030
+ insertBefore(parentInstance, child, beforeChild) {
4031
+ var _parentInstance$child;
4032
+ const index = (_parentInstance$child = parentInstance.children) === null || _parentInstance$child === void 0 ? void 0 : _parentInstance$child.indexOf(beforeChild);
4033
+ if (index === undefined) return;
4034
+ if (index !== -1 && child) parentInstance.children.splice(index, 0, child);
4035
+ },
4036
+ removeChild(parentInstance, child) {
4037
+ var _parentInstance$child2;
4038
+ const index = (_parentInstance$child2 = parentInstance.children) === null || _parentInstance$child2 === void 0 ? void 0 : _parentInstance$child2.indexOf(child);
4039
+ if (index === undefined) return;
4040
+ if (index !== -1) parentInstance.children.splice(index, 1);
4041
+ },
4042
+ removeChildFromContainer(parentInstance, child) {
4043
+ var _parentInstance$child3;
4044
+ const index = (_parentInstance$child3 = parentInstance.children) === null || _parentInstance$child3 === void 0 ? void 0 : _parentInstance$child3.indexOf(child);
4045
+ if (index === undefined) return;
4046
+ if (index !== -1) parentInstance.children.splice(index, 1);
4047
+ },
4048
+ commitTextUpdate(textInstance, oldText, newText) {
4049
+ textInstance.value = newText;
4050
+ },
4051
+ commitUpdate(instance, updatePayload, type, oldProps, newProps) {
4052
+ const {
4053
+ style,
4054
+ ...props
4055
+ } = newProps;
4056
+ instance.props = props;
4057
+ instance.style = style;
4058
+ }
4059
+ });
4060
+ };
4061
+
4062
+ var name = "@react-pdf/renderer";
4063
+ var version$1 = "3.4.5";
4064
+ var license = "MIT";
4065
+ var description = "Create PDF files on the browser and server";
4066
+ var author = "Diego Muracciole <diegomuracciole@gmail.com>";
4067
+ var homepage = "https://github.com/diegomura/react-pdf#readme";
4068
+ var type = "module";
4069
+ var main = "./lib/react-pdf.cjs";
4070
+ var module = "./lib/react-pdf.js";
4071
+ var browser = {
4072
+ "./lib/react-pdf.js": "./lib/react-pdf.browser.js",
4073
+ "./lib/react-pdf.cjs": "./lib/react-pdf.browser.cjs"
4074
+ };
4075
+ var exports = {
4076
+ ".": {
4077
+ "import": "./lib/react-pdf.js",
4078
+ require: "./lib/react-pdf.cjs",
4079
+ "default": "./lib/react-pdf.js"
4080
+ }
4081
+ };
4082
+ var repository = {
4083
+ type: "git",
4084
+ url: "https://github.com/diegomura/react-pdf.git",
4085
+ directory: "packages/renderer"
4086
+ };
4087
+ var scripts = {
4088
+ build: "rimraf ./lib && rollup -c",
4089
+ watch: "rimraf ./lib && rollup -c -w",
4090
+ size: "size-limit",
4091
+ lint: "eslint src",
4092
+ test: "vitest && vitest --config vitest.browser.config.js"
4093
+ };
4094
+ var dependencies = {
4095
+ "@babel/runtime": "^7.20.13",
4096
+ "@react-pdf/font": "^2.5.2",
4097
+ "@react-pdf/layout": "^3.13.0",
4098
+ "@react-pdf/pdfkit": "^3.2.0",
4099
+ "@react-pdf/primitives": "^3.1.1",
4100
+ "@react-pdf/render": "^3.5.0",
4101
+ "@react-pdf/types": "^2.6.0",
4102
+ events: "^3.3.0",
4103
+ "object-assign": "^4.1.1",
4104
+ "prop-types": "^15.6.2",
4105
+ queue: "^6.0.1",
4106
+ scheduler: "^0.17.0"
4107
+ };
4108
+ var peerDependencies = {
4109
+ react: "^16.8.0 || ^17.0.0 || ^18.0.0"
4110
+ };
4111
+ var files = [
4112
+ "lib",
4113
+ "index.d.ts"
4114
+ ];
4115
+ var collective = {
4116
+ type: "opencollective",
4117
+ url: "https://opencollective.com/react-pdf",
4118
+ logo: "https://opencollective.com/opencollective/logo.txt"
4119
+ };
4120
+ var devDependencies = {
4121
+ "@size-limit/preset-big-lib": "^11.0.1",
4122
+ assert: "^2.0.0",
4123
+ "browserify-zlib": "^0.2.0",
4124
+ buffer: "^6.0.3",
4125
+ process: "^0.11.10",
4126
+ "react-reconciler": "0.23.0",
4127
+ "size-limit": "^11.0.1",
4128
+ util: "^0.12.4"
4129
+ };
4130
+ var packageJson = {
4131
+ name: name,
4132
+ version: version$1,
4133
+ license: license,
4134
+ description: description,
4135
+ author: author,
4136
+ homepage: homepage,
4137
+ type: type,
4138
+ main: main,
4139
+ module: module,
4140
+ browser: browser,
4141
+ exports: exports,
4142
+ repository: repository,
4143
+ scripts: scripts,
4144
+ dependencies: dependencies,
4145
+ peerDependencies: peerDependencies,
4146
+ "lint-staged": {
4147
+ "*.js": [
4148
+ "yarn lint",
4149
+ "prettier --write"
4150
+ ]
4151
+ },
4152
+ files: files,
4153
+ collective: collective,
4154
+ devDependencies: devDependencies
4155
+ };
4156
+
4157
+ const {
4158
+ version
4159
+ } = packageJson;
4160
+ const fontStore = new FontStore();
4161
+
4162
+ // We must keep a single renderer instance, otherwise React will complain
4163
+ let renderer;
4164
+
4165
+ // The pdf instance acts as an event emitter for DOM usage.
4166
+ // We only want to trigger an update when PDF content changes
4167
+ const events = {};
4168
+ const pdf = initialValue => {
4169
+ const onChange = () => {
4170
+ var _events$change;
4171
+ const listeners = ((_events$change = events.change) === null || _events$change === void 0 ? void 0 : _events$change.slice()) || [];
4172
+ for (let i = 0; i < listeners.length; i += 1) listeners[i]();
4173
+ };
4174
+ const container = {
4175
+ type: 'ROOT',
4176
+ document: null
4177
+ };
4178
+ renderer = renderer || createRenderer({
4179
+ onChange
4180
+ });
4181
+ const mountNode = renderer.createContainer(container);
4182
+ const updateContainer = (doc, callback) => {
4183
+ renderer.updateContainer(doc, mountNode, null, callback);
4184
+ };
4185
+ if (initialValue) updateContainer(initialValue);
4186
+ const render = async function (compress) {
4187
+ if (compress === void 0) {
4188
+ compress = true;
4189
+ }
4190
+ const props = container.document.props || {};
4191
+ const {
4192
+ pdfVersion,
4193
+ language,
4194
+ pageLayout,
4195
+ pageMode
4196
+ } = props;
4197
+ const ctx = new PDFDocument({
4198
+ compress,
4199
+ pdfVersion,
4200
+ lang: language,
4201
+ displayTitle: true,
4202
+ autoFirstPage: false,
4203
+ pageLayout,
4204
+ pageMode
4205
+ });
4206
+ const layout = await layoutDocument(container.document, fontStore);
4207
+ const fileStream = renderPDF(ctx, layout);
4208
+ return {
4209
+ layout,
4210
+ fileStream
4211
+ };
4212
+ };
4213
+ const callOnRender = function (params) {
4214
+ if (params === void 0) {
4215
+ params = {};
4216
+ }
4217
+ if (container.document.props.onRender) {
4218
+ container.document.props.onRender(params);
4219
+ }
4220
+ };
4221
+ const toBlob = async () => {
4222
+ const chunks = [];
4223
+ const {
4224
+ layout: _INTERNAL__LAYOUT__DATA_,
4225
+ fileStream: instance
4226
+ } = await render();
4227
+ return new Promise((resolve, reject) => {
4228
+ instance.on('data', chunk => {
4229
+ chunks.push(chunk instanceof Uint8Array ? chunk : new Uint8Array(chunk));
4230
+ });
4231
+ instance.on('end', () => {
4232
+ try {
4233
+ const blob = new Blob(chunks, {
4234
+ type: 'application/pdf'
4235
+ });
4236
+ callOnRender({
4237
+ blob,
4238
+ _INTERNAL__LAYOUT__DATA_
4239
+ });
4240
+ resolve(blob);
4241
+ } catch (error) {
4242
+ reject(error);
4243
+ }
4244
+ });
4245
+ });
4246
+ };
4247
+
4248
+ // TODO: rename this method to `toStream` in next major release, because it return stream not a buffer
4249
+ const toBuffer = async () => {
4250
+ const {
4251
+ layout: _INTERNAL__LAYOUT__DATA_,
4252
+ fileStream
4253
+ } = await render();
4254
+ callOnRender({
4255
+ _INTERNAL__LAYOUT__DATA_
4256
+ });
4257
+ return fileStream;
4258
+ };
4259
+
4260
+ /*
4261
+ * TODO: remove this method in next major release. it is buggy
4262
+ * see
4263
+ * - https://github.com/diegomura/react-pdf/issues/2112
4264
+ * - https://github.com/diegomura/react-pdf/issues/2095
4265
+ */
4266
+ const toString = async () => {
4267
+ if (process.env.NODE_ENV === 'development') {
4268
+ console.warn('`toString` is deprecated and will be removed in next major release');
4269
+ }
4270
+ let result = '';
4271
+ const {
4272
+ fileStream: instance
4273
+ } = await render(false); // For some reason, when rendering to string if compress=true the document is blank
4274
+
4275
+ return new Promise((resolve, reject) => {
4276
+ try {
4277
+ instance.on('data', buffer => {
4278
+ result += buffer;
4279
+ });
4280
+ instance.on('end', () => {
4281
+ callOnRender();
4282
+ resolve(result);
4283
+ });
4284
+ } catch (error) {
4285
+ reject(error);
4286
+ }
4287
+ });
4288
+ };
4289
+ const on = (event, listener) => {
4290
+ if (!events[event]) events[event] = [];
4291
+ events[event].push(listener);
4292
+ };
4293
+ const removeListener = (event, listener) => {
4294
+ if (!events[event]) return;
4295
+ const idx = events[event].indexOf(listener);
4296
+ if (idx > -1) events[event].splice(idx, 1);
4297
+ };
4298
+ return {
4299
+ on,
4300
+ container,
4301
+ toBlob,
4302
+ toBuffer,
4303
+ toString,
4304
+ removeListener,
4305
+ updateContainer
4306
+ };
4307
+ };
4308
+ const Font = fontStore;
4309
+ const StyleSheet = {
4310
+ create: s => s
4311
+ };
4312
+
4313
+ /**
4314
+ * @param {React.ReactElement} element
4315
+ * @returns {Promise<NodeJS.ReadableStream>}
4316
+ */
4317
+ const renderToStream = async element => {
4318
+ const instance = pdf(element);
4319
+ const stream = await instance.toBuffer();
4320
+ return stream;
4321
+ };
4322
+
4323
+ /**
4324
+ * @param {React.ReactElement} element
4325
+ * @param {string} filePath
4326
+ * @param {Function} [callback]
4327
+ */
4328
+ const renderToFile = async (element, filePath, callback) => {
4329
+ const output = await renderToStream(element);
4330
+ const stream = fs.createWriteStream(filePath);
4331
+ output.pipe(stream);
4332
+ return new Promise((resolve, reject) => {
4333
+ stream.on('finish', () => {
4334
+ if (callback) callback(output, filePath);
4335
+ resolve(output);
4336
+ });
4337
+ stream.on('error', reject);
4338
+ });
4339
+ };
4340
+
4341
+ /**
4342
+ * @param {React.ReactElement} element
4343
+ * @returns {Promise<Buffer>}
4344
+ */
4345
+ const renderToBuffer = element => renderToStream(element).then(stream => new Promise((resolve, reject) => {
4346
+ const chunks = [];
4347
+ stream.on('data', chunk => chunks.push(chunk));
4348
+ stream.on('end', () => resolve(Buffer.concat(chunks)));
4349
+ stream.on('error', error => reject(error));
4350
+ }));
4351
+ const renderToString = element => {
4352
+ if (process.env.NODE_ENV === 'development') {
4353
+ console.warn('`renderToString` is deprecated and will be removed in next major release, use `renderToBuffer` instead');
4354
+ }
4355
+ return renderToBuffer(element).then(buffer => buffer.toString());
4356
+ };
4357
+
4358
+ const throwEnvironmentError = name => {
4359
+ throw new Error(name + " is a web specific API. You're either using this component on Node, or your bundler is not loading react-pdf from the appropriate web build.");
4360
+ };
4361
+ const usePDF = () => {
4362
+ throwEnvironmentError('usePDF');
4363
+ };
4364
+ const PDFViewer = () => {
4365
+ throwEnvironmentError('PDFViewer');
4366
+ };
4367
+ const PDFDownloadLink = () => {
4368
+ throwEnvironmentError('PDFDownloadLink');
4369
+ };
4370
+ const BlobProvider = () => {
4371
+ throwEnvironmentError('BlobProvider');
4372
+ };
4373
+ const render = renderToFile;
4374
+
4375
+ // TODO: remove this default export in next major release because it breaks tree-shacking
4376
+ var index = {
4377
+ pdf,
4378
+ Font,
4379
+ version,
4380
+ StyleSheet,
4381
+ usePDF,
4382
+ PDFViewer,
4383
+ BlobProvider,
4384
+ PDFDownloadLink,
4385
+ renderToStream,
4386
+ renderToString,
4387
+ renderToFile,
4388
+ render,
4389
+ ...primitives
4390
+ };
4391
+
4392
+ export { BlobProvider, Font, PDFDownloadLink, PDFViewer, StyleSheet, createRenderer, index as default, pdf, render, renderToBuffer, renderToFile, renderToStream, renderToString, usePDF, version };
4393
+ //# sourceMappingURL=react-pdf.js.map