ChatGPT Question Navigation sidebar

It provides a convenient question sidebar directory for the ChatGPT official website. It automatically collects the questions asked by users on the current session page and displays them on the sidebar, enabling quick navigation to the location of historical questions.

  1. // ==UserScript==
  2. // @name ChatGPT Question Navigation sidebar
  3. // @name:zh-CN ChatGPT 问题导航侧边栏
  4. // @namespace npm/chatgpt-question-navigator
  5. // @version 3.0.0
  6. // @author okokdi
  7. // @description It provides a convenient question sidebar directory for the ChatGPT official website. It automatically collects the questions asked by users on the current session page and displays them on the sidebar, enabling quick navigation to the location of historical questions.
  8. // @description:zh-CN 为ChatGPT官网提供了一个便捷的问题侧边栏目录。它能够自动搜集当前会话页面的用户提的问题,并展示在侧边栏上,提供快速导航到历史问题的位置的能力。
  9. // @license GPL-3.0-or-later
  10. // @source https://github.com/JianJroh/chatgpt-question-navigator.git
  11. // @supportURL https://github.com/JianJroh/chatgpt-question-navigator/issues
  12. // @match https://chatgpt.com/**
  13. // ==/UserScript==
  14.  
  15. (function () {
  16. 'use strict';
  17.  
  18. function getDefaultExportFromCjs(x2) {
  19. return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
  20. }
  21. var jsxRuntimeExports = {};
  22. var jsxRuntime = {
  23. get exports() {
  24. return jsxRuntimeExports;
  25. },
  26. set exports(v2) {
  27. jsxRuntimeExports = v2;
  28. }
  29. };
  30. var reactJsxRuntime_production_min = {};
  31. var reactExports = {};
  32. var react = {
  33. get exports() {
  34. return reactExports;
  35. },
  36. set exports(v2) {
  37. reactExports = v2;
  38. }
  39. };
  40. var react_production_min = {};
  41. /**
  42. * @license React
  43. * react.production.min.js
  44. *
  45. * Copyright (c) Facebook, Inc. and its affiliates.
  46. *
  47. * This source code is licensed under the MIT license found in the
  48. * LICENSE file in the root directory of this source tree.
  49. */
  50. var l$1 = Symbol.for("react.element"), n$1 = Symbol.for("react.portal"), p$2 = Symbol.for("react.fragment"), q$1 = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), t = Symbol.for("react.provider"), u = Symbol.for("react.context"), v$1 = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), x = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), z$1 = Symbol.iterator;
  51. function A$1(a) {
  52. if (null === a || "object" !== typeof a)
  53. return null;
  54. a = z$1 && a[z$1] || a["@@iterator"];
  55. return "function" === typeof a ? a : null;
  56. }
  57. var B$1 = { isMounted: function() {
  58. return false;
  59. }, enqueueForceUpdate: function() {
  60. }, enqueueReplaceState: function() {
  61. }, enqueueSetState: function() {
  62. } }, C$1 = Object.assign, D$1 = {};
  63. function E$1(a, b, e) {
  64. this.props = a;
  65. this.context = b;
  66. this.refs = D$1;
  67. this.updater = e || B$1;
  68. }
  69. E$1.prototype.isReactComponent = {};
  70. E$1.prototype.setState = function(a, b) {
  71. if ("object" !== typeof a && "function" !== typeof a && null != a)
  72. throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
  73. this.updater.enqueueSetState(this, a, b, "setState");
  74. };
  75. E$1.prototype.forceUpdate = function(a) {
  76. this.updater.enqueueForceUpdate(this, a, "forceUpdate");
  77. };
  78. function F() {
  79. }
  80. F.prototype = E$1.prototype;
  81. function G$1(a, b, e) {
  82. this.props = a;
  83. this.context = b;
  84. this.refs = D$1;
  85. this.updater = e || B$1;
  86. }
  87. var H$1 = G$1.prototype = new F();
  88. H$1.constructor = G$1;
  89. C$1(H$1, E$1.prototype);
  90. H$1.isPureReactComponent = true;
  91. var I$1 = Array.isArray, J = Object.prototype.hasOwnProperty, K$1 = { current: null }, L$1 = { key: true, ref: true, __self: true, __source: true };
  92. function M$1(a, b, e) {
  93. var d, c = {}, k2 = null, h = null;
  94. if (null != b)
  95. for (d in void 0 !== b.ref && (h = b.ref), void 0 !== b.key && (k2 = "" + b.key), b)
  96. J.call(b, d) && !L$1.hasOwnProperty(d) && (c[d] = b[d]);
  97. var g = arguments.length - 2;
  98. if (1 === g)
  99. c.children = e;
  100. else if (1 < g) {
  101. for (var f2 = Array(g), m2 = 0; m2 < g; m2++)
  102. f2[m2] = arguments[m2 + 2];
  103. c.children = f2;
  104. }
  105. if (a && a.defaultProps)
  106. for (d in g = a.defaultProps, g)
  107. void 0 === c[d] && (c[d] = g[d]);
  108. return { $$typeof: l$1, type: a, key: k2, ref: h, props: c, _owner: K$1.current };
  109. }
  110. function N$1(a, b) {
  111. return { $$typeof: l$1, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner };
  112. }
  113. function O$1(a) {
  114. return "object" === typeof a && null !== a && a.$$typeof === l$1;
  115. }
  116. function escape(a) {
  117. var b = { "=": "=0", ":": "=2" };
  118. return "$" + a.replace(/[=:]/g, function(a2) {
  119. return b[a2];
  120. });
  121. }
  122. var P$1 = /\/+/g;
  123. function Q$1(a, b) {
  124. return "object" === typeof a && null !== a && null != a.key ? escape("" + a.key) : b.toString(36);
  125. }
  126. function R$1(a, b, e, d, c) {
  127. var k2 = typeof a;
  128. if ("undefined" === k2 || "boolean" === k2)
  129. a = null;
  130. var h = false;
  131. if (null === a)
  132. h = true;
  133. else
  134. switch (k2) {
  135. case "string":
  136. case "number":
  137. h = true;
  138. break;
  139. case "object":
  140. switch (a.$$typeof) {
  141. case l$1:
  142. case n$1:
  143. h = true;
  144. }
  145. }
  146. if (h)
  147. return h = a, c = c(h), a = "" === d ? "." + Q$1(h, 0) : d, I$1(c) ? (e = "", null != a && (e = a.replace(P$1, "$&/") + "/"), R$1(c, b, e, "", function(a2) {
  148. return a2;
  149. })) : null != c && (O$1(c) && (c = N$1(c, e + (!c.key || h && h.key === c.key ? "" : ("" + c.key).replace(P$1, "$&/") + "/") + a)), b.push(c)), 1;
  150. h = 0;
  151. d = "" === d ? "." : d + ":";
  152. if (I$1(a))
  153. for (var g = 0; g < a.length; g++) {
  154. k2 = a[g];
  155. var f2 = d + Q$1(k2, g);
  156. h += R$1(k2, b, e, f2, c);
  157. }
  158. else if (f2 = A$1(a), "function" === typeof f2)
  159. for (a = f2.call(a), g = 0; !(k2 = a.next()).done; )
  160. k2 = k2.value, f2 = d + Q$1(k2, g++), h += R$1(k2, b, e, f2, c);
  161. else if ("object" === k2)
  162. throw b = String(a), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b ? "object with keys {" + Object.keys(a).join(", ") + "}" : b) + "). If you meant to render a collection of children, use an array instead.");
  163. return h;
  164. }
  165. function S$1(a, b, e) {
  166. if (null == a)
  167. return a;
  168. var d = [], c = 0;
  169. R$1(a, d, "", "", function(a2) {
  170. return b.call(e, a2, c++);
  171. });
  172. return d;
  173. }
  174. function T$1(a) {
  175. if (-1 === a._status) {
  176. var b = a._result;
  177. b = b();
  178. b.then(function(b2) {
  179. if (0 === a._status || -1 === a._status)
  180. a._status = 1, a._result = b2;
  181. }, function(b2) {
  182. if (0 === a._status || -1 === a._status)
  183. a._status = 2, a._result = b2;
  184. });
  185. -1 === a._status && (a._status = 0, a._result = b);
  186. }
  187. if (1 === a._status)
  188. return a._result.default;
  189. throw a._result;
  190. }
  191. var U$1 = { current: null }, V$1 = { transition: null }, W$1 = { ReactCurrentDispatcher: U$1, ReactCurrentBatchConfig: V$1, ReactCurrentOwner: K$1 };
  192. react_production_min.Children = { map: S$1, forEach: function(a, b, e) {
  193. S$1(a, function() {
  194. b.apply(this, arguments);
  195. }, e);
  196. }, count: function(a) {
  197. var b = 0;
  198. S$1(a, function() {
  199. b++;
  200. });
  201. return b;
  202. }, toArray: function(a) {
  203. return S$1(a, function(a2) {
  204. return a2;
  205. }) || [];
  206. }, only: function(a) {
  207. if (!O$1(a))
  208. throw Error("React.Children.only expected to receive a single React element child.");
  209. return a;
  210. } };
  211. react_production_min.Component = E$1;
  212. react_production_min.Fragment = p$2;
  213. react_production_min.Profiler = r;
  214. react_production_min.PureComponent = G$1;
  215. react_production_min.StrictMode = q$1;
  216. react_production_min.Suspense = w;
  217. react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W$1;
  218. react_production_min.cloneElement = function(a, b, e) {
  219. if (null === a || void 0 === a)
  220. throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + ".");
  221. var d = C$1({}, a.props), c = a.key, k2 = a.ref, h = a._owner;
  222. if (null != b) {
  223. void 0 !== b.ref && (k2 = b.ref, h = K$1.current);
  224. void 0 !== b.key && (c = "" + b.key);
  225. if (a.type && a.type.defaultProps)
  226. var g = a.type.defaultProps;
  227. for (f2 in b)
  228. J.call(b, f2) && !L$1.hasOwnProperty(f2) && (d[f2] = void 0 === b[f2] && void 0 !== g ? g[f2] : b[f2]);
  229. }
  230. var f2 = arguments.length - 2;
  231. if (1 === f2)
  232. d.children = e;
  233. else if (1 < f2) {
  234. g = Array(f2);
  235. for (var m2 = 0; m2 < f2; m2++)
  236. g[m2] = arguments[m2 + 2];
  237. d.children = g;
  238. }
  239. return { $$typeof: l$1, type: a.type, key: c, ref: k2, props: d, _owner: h };
  240. };
  241. react_production_min.createContext = function(a) {
  242. a = { $$typeof: u, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null };
  243. a.Provider = { $$typeof: t, _context: a };
  244. return a.Consumer = a;
  245. };
  246. react_production_min.createElement = M$1;
  247. react_production_min.createFactory = function(a) {
  248. var b = M$1.bind(null, a);
  249. b.type = a;
  250. return b;
  251. };
  252. react_production_min.createRef = function() {
  253. return { current: null };
  254. };
  255. react_production_min.forwardRef = function(a) {
  256. return { $$typeof: v$1, render: a };
  257. };
  258. react_production_min.isValidElement = O$1;
  259. react_production_min.lazy = function(a) {
  260. return { $$typeof: y, _payload: { _status: -1, _result: a }, _init: T$1 };
  261. };
  262. react_production_min.memo = function(a, b) {
  263. return { $$typeof: x, type: a, compare: void 0 === b ? null : b };
  264. };
  265. react_production_min.startTransition = function(a) {
  266. var b = V$1.transition;
  267. V$1.transition = {};
  268. try {
  269. a();
  270. } finally {
  271. V$1.transition = b;
  272. }
  273. };
  274. react_production_min.unstable_act = function() {
  275. throw Error("act(...) is not supported in production builds of React.");
  276. };
  277. react_production_min.useCallback = function(a, b) {
  278. return U$1.current.useCallback(a, b);
  279. };
  280. react_production_min.useContext = function(a) {
  281. return U$1.current.useContext(a);
  282. };
  283. react_production_min.useDebugValue = function() {
  284. };
  285. react_production_min.useDeferredValue = function(a) {
  286. return U$1.current.useDeferredValue(a);
  287. };
  288. react_production_min.useEffect = function(a, b) {
  289. return U$1.current.useEffect(a, b);
  290. };
  291. react_production_min.useId = function() {
  292. return U$1.current.useId();
  293. };
  294. react_production_min.useImperativeHandle = function(a, b, e) {
  295. return U$1.current.useImperativeHandle(a, b, e);
  296. };
  297. react_production_min.useInsertionEffect = function(a, b) {
  298. return U$1.current.useInsertionEffect(a, b);
  299. };
  300. react_production_min.useLayoutEffect = function(a, b) {
  301. return U$1.current.useLayoutEffect(a, b);
  302. };
  303. react_production_min.useMemo = function(a, b) {
  304. return U$1.current.useMemo(a, b);
  305. };
  306. react_production_min.useReducer = function(a, b, e) {
  307. return U$1.current.useReducer(a, b, e);
  308. };
  309. react_production_min.useRef = function(a) {
  310. return U$1.current.useRef(a);
  311. };
  312. react_production_min.useState = function(a) {
  313. return U$1.current.useState(a);
  314. };
  315. react_production_min.useSyncExternalStore = function(a, b, e) {
  316. return U$1.current.useSyncExternalStore(a, b, e);
  317. };
  318. react_production_min.useTransition = function() {
  319. return U$1.current.useTransition();
  320. };
  321. react_production_min.version = "18.2.0";
  322. (function(module) {
  323. {
  324. module.exports = react_production_min;
  325. }
  326. })(react);
  327. const React = /* @__PURE__ */ getDefaultExportFromCjs(reactExports);
  328. /**
  329. * @license React
  330. * react-jsx-runtime.production.min.js
  331. *
  332. * Copyright (c) Facebook, Inc. and its affiliates.
  333. *
  334. * This source code is licensed under the MIT license found in the
  335. * LICENSE file in the root directory of this source tree.
  336. */
  337. var f = reactExports, k = Symbol.for("react.element"), l = Symbol.for("react.fragment"), m$1 = Object.prototype.hasOwnProperty, n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p$1 = { key: true, ref: true, __self: true, __source: true };
  338. function q(c, a, g) {
  339. var b, d = {}, e = null, h = null;
  340. void 0 !== g && (e = "" + g);
  341. void 0 !== a.key && (e = "" + a.key);
  342. void 0 !== a.ref && (h = a.ref);
  343. for (b in a)
  344. m$1.call(a, b) && !p$1.hasOwnProperty(b) && (d[b] = a[b]);
  345. if (c && c.defaultProps)
  346. for (b in a = c.defaultProps, a)
  347. void 0 === d[b] && (d[b] = a[b]);
  348. return { $$typeof: k, type: c, key: e, ref: h, props: d, _owner: n.current };
  349. }
  350. reactJsxRuntime_production_min.Fragment = l;
  351. reactJsxRuntime_production_min.jsx = q;
  352. reactJsxRuntime_production_min.jsxs = q;
  353. (function(module) {
  354. {
  355. module.exports = reactJsxRuntime_production_min;
  356. }
  357. })(jsxRuntime);
  358. var client = {};
  359. var reactDomExports = {};
  360. var reactDom = {
  361. get exports() {
  362. return reactDomExports;
  363. },
  364. set exports(v2) {
  365. reactDomExports = v2;
  366. }
  367. };
  368. var reactDom_production_min = {};
  369. var schedulerExports = {};
  370. var scheduler = {
  371. get exports() {
  372. return schedulerExports;
  373. },
  374. set exports(v2) {
  375. schedulerExports = v2;
  376. }
  377. };
  378. var scheduler_production_min = {};
  379. /**
  380. * @license React
  381. * scheduler.production.min.js
  382. *
  383. * Copyright (c) Facebook, Inc. and its affiliates.
  384. *
  385. * This source code is licensed under the MIT license found in the
  386. * LICENSE file in the root directory of this source tree.
  387. */
  388. (function(exports) {
  389. function f2(a, b) {
  390. var c = a.length;
  391. a.push(b);
  392. a:
  393. for (; 0 < c; ) {
  394. var d = c - 1 >>> 1, e = a[d];
  395. if (0 < g(e, b))
  396. a[d] = b, a[c] = e, c = d;
  397. else
  398. break a;
  399. }
  400. }
  401. function h(a) {
  402. return 0 === a.length ? null : a[0];
  403. }
  404. function k2(a) {
  405. if (0 === a.length)
  406. return null;
  407. var b = a[0], c = a.pop();
  408. if (c !== b) {
  409. a[0] = c;
  410. a:
  411. for (var d = 0, e = a.length, w2 = e >>> 1; d < w2; ) {
  412. var m2 = 2 * (d + 1) - 1, C2 = a[m2], n2 = m2 + 1, x2 = a[n2];
  413. if (0 > g(C2, c))
  414. n2 < e && 0 > g(x2, C2) ? (a[d] = x2, a[n2] = c, d = n2) : (a[d] = C2, a[m2] = c, d = m2);
  415. else if (n2 < e && 0 > g(x2, c))
  416. a[d] = x2, a[n2] = c, d = n2;
  417. else
  418. break a;
  419. }
  420. }
  421. return b;
  422. }
  423. function g(a, b) {
  424. var c = a.sortIndex - b.sortIndex;
  425. return 0 !== c ? c : a.id - b.id;
  426. }
  427. if ("object" === typeof performance && "function" === typeof performance.now) {
  428. var l2 = performance;
  429. exports.unstable_now = function() {
  430. return l2.now();
  431. };
  432. } else {
  433. var p2 = Date, q2 = p2.now();
  434. exports.unstable_now = function() {
  435. return p2.now() - q2;
  436. };
  437. }
  438. var r2 = [], t2 = [], u2 = 1, v2 = null, y2 = 3, z2 = false, A2 = false, B2 = false, D2 = "function" === typeof setTimeout ? setTimeout : null, E2 = "function" === typeof clearTimeout ? clearTimeout : null, F2 = "undefined" !== typeof setImmediate ? setImmediate : null;
  439. "undefined" !== typeof navigator && void 0 !== navigator.scheduling && void 0 !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling);
  440. function G2(a) {
  441. for (var b = h(t2); null !== b; ) {
  442. if (null === b.callback)
  443. k2(t2);
  444. else if (b.startTime <= a)
  445. k2(t2), b.sortIndex = b.expirationTime, f2(r2, b);
  446. else
  447. break;
  448. b = h(t2);
  449. }
  450. }
  451. function H2(a) {
  452. B2 = false;
  453. G2(a);
  454. if (!A2)
  455. if (null !== h(r2))
  456. A2 = true, I2(J2);
  457. else {
  458. var b = h(t2);
  459. null !== b && K2(H2, b.startTime - a);
  460. }
  461. }
  462. function J2(a, b) {
  463. A2 = false;
  464. B2 && (B2 = false, E2(L2), L2 = -1);
  465. z2 = true;
  466. var c = y2;
  467. try {
  468. G2(b);
  469. for (v2 = h(r2); null !== v2 && (!(v2.expirationTime > b) || a && !M2()); ) {
  470. var d = v2.callback;
  471. if ("function" === typeof d) {
  472. v2.callback = null;
  473. y2 = v2.priorityLevel;
  474. var e = d(v2.expirationTime <= b);
  475. b = exports.unstable_now();
  476. "function" === typeof e ? v2.callback = e : v2 === h(r2) && k2(r2);
  477. G2(b);
  478. } else
  479. k2(r2);
  480. v2 = h(r2);
  481. }
  482. if (null !== v2)
  483. var w2 = true;
  484. else {
  485. var m2 = h(t2);
  486. null !== m2 && K2(H2, m2.startTime - b);
  487. w2 = false;
  488. }
  489. return w2;
  490. } finally {
  491. v2 = null, y2 = c, z2 = false;
  492. }
  493. }
  494. var N2 = false, O2 = null, L2 = -1, P2 = 5, Q2 = -1;
  495. function M2() {
  496. return exports.unstable_now() - Q2 < P2 ? false : true;
  497. }
  498. function R2() {
  499. if (null !== O2) {
  500. var a = exports.unstable_now();
  501. Q2 = a;
  502. var b = true;
  503. try {
  504. b = O2(true, a);
  505. } finally {
  506. b ? S2() : (N2 = false, O2 = null);
  507. }
  508. } else
  509. N2 = false;
  510. }
  511. var S2;
  512. if ("function" === typeof F2)
  513. S2 = function() {
  514. F2(R2);
  515. };
  516. else if ("undefined" !== typeof MessageChannel) {
  517. var T2 = new MessageChannel(), U2 = T2.port2;
  518. T2.port1.onmessage = R2;
  519. S2 = function() {
  520. U2.postMessage(null);
  521. };
  522. } else
  523. S2 = function() {
  524. D2(R2, 0);
  525. };
  526. function I2(a) {
  527. O2 = a;
  528. N2 || (N2 = true, S2());
  529. }
  530. function K2(a, b) {
  531. L2 = D2(function() {
  532. a(exports.unstable_now());
  533. }, b);
  534. }
  535. exports.unstable_IdlePriority = 5;
  536. exports.unstable_ImmediatePriority = 1;
  537. exports.unstable_LowPriority = 4;
  538. exports.unstable_NormalPriority = 3;
  539. exports.unstable_Profiling = null;
  540. exports.unstable_UserBlockingPriority = 2;
  541. exports.unstable_cancelCallback = function(a) {
  542. a.callback = null;
  543. };
  544. exports.unstable_continueExecution = function() {
  545. A2 || z2 || (A2 = true, I2(J2));
  546. };
  547. exports.unstable_forceFrameRate = function(a) {
  548. 0 > a || 125 < a ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : P2 = 0 < a ? Math.floor(1e3 / a) : 5;
  549. };
  550. exports.unstable_getCurrentPriorityLevel = function() {
  551. return y2;
  552. };
  553. exports.unstable_getFirstCallbackNode = function() {
  554. return h(r2);
  555. };
  556. exports.unstable_next = function(a) {
  557. switch (y2) {
  558. case 1:
  559. case 2:
  560. case 3:
  561. var b = 3;
  562. break;
  563. default:
  564. b = y2;
  565. }
  566. var c = y2;
  567. y2 = b;
  568. try {
  569. return a();
  570. } finally {
  571. y2 = c;
  572. }
  573. };
  574. exports.unstable_pauseExecution = function() {
  575. };
  576. exports.unstable_requestPaint = function() {
  577. };
  578. exports.unstable_runWithPriority = function(a, b) {
  579. switch (a) {
  580. case 1:
  581. case 2:
  582. case 3:
  583. case 4:
  584. case 5:
  585. break;
  586. default:
  587. a = 3;
  588. }
  589. var c = y2;
  590. y2 = a;
  591. try {
  592. return b();
  593. } finally {
  594. y2 = c;
  595. }
  596. };
  597. exports.unstable_scheduleCallback = function(a, b, c) {
  598. var d = exports.unstable_now();
  599. "object" === typeof c && null !== c ? (c = c.delay, c = "number" === typeof c && 0 < c ? d + c : d) : c = d;
  600. switch (a) {
  601. case 1:
  602. var e = -1;
  603. break;
  604. case 2:
  605. e = 250;
  606. break;
  607. case 5:
  608. e = 1073741823;
  609. break;
  610. case 4:
  611. e = 1e4;
  612. break;
  613. default:
  614. e = 5e3;
  615. }
  616. e = c + e;
  617. a = { id: u2++, callback: b, priorityLevel: a, startTime: c, expirationTime: e, sortIndex: -1 };
  618. c > d ? (a.sortIndex = c, f2(t2, a), null === h(r2) && a === h(t2) && (B2 ? (E2(L2), L2 = -1) : B2 = true, K2(H2, c - d))) : (a.sortIndex = e, f2(r2, a), A2 || z2 || (A2 = true, I2(J2)));
  619. return a;
  620. };
  621. exports.unstable_shouldYield = M2;
  622. exports.unstable_wrapCallback = function(a) {
  623. var b = y2;
  624. return function() {
  625. var c = y2;
  626. y2 = b;
  627. try {
  628. return a.apply(this, arguments);
  629. } finally {
  630. y2 = c;
  631. }
  632. };
  633. };
  634. })(scheduler_production_min);
  635. (function(module) {
  636. {
  637. module.exports = scheduler_production_min;
  638. }
  639. })(scheduler);
  640. /**
  641. * @license React
  642. * react-dom.production.min.js
  643. *
  644. * Copyright (c) Facebook, Inc. and its affiliates.
  645. *
  646. * This source code is licensed under the MIT license found in the
  647. * LICENSE file in the root directory of this source tree.
  648. */
  649. var aa = reactExports, ca = schedulerExports;
  650. function p(a) {
  651. for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++)
  652. b += "&args[]=" + encodeURIComponent(arguments[c]);
  653. 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.";
  654. }
  655. var da = /* @__PURE__ */ new Set(), ea = {};
  656. function fa(a, b) {
  657. ha(a, b);
  658. ha(a + "Capture", b);
  659. }
  660. function ha(a, b) {
  661. ea[a] = b;
  662. for (a = 0; a < b.length; a++)
  663. da.add(b[a]);
  664. }
  665. var ia = !("undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement), ja = Object.prototype.hasOwnProperty, ka = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, la = {}, ma = {};
  666. function oa(a) {
  667. if (ja.call(ma, a))
  668. return true;
  669. if (ja.call(la, a))
  670. return false;
  671. if (ka.test(a))
  672. return ma[a] = true;
  673. la[a] = true;
  674. return false;
  675. }
  676. function pa(a, b, c, d) {
  677. if (null !== c && 0 === c.type)
  678. return false;
  679. switch (typeof b) {
  680. case "function":
  681. case "symbol":
  682. return true;
  683. case "boolean":
  684. if (d)
  685. return false;
  686. if (null !== c)
  687. return !c.acceptsBooleans;
  688. a = a.toLowerCase().slice(0, 5);
  689. return "data-" !== a && "aria-" !== a;
  690. default:
  691. return false;
  692. }
  693. }
  694. function qa(a, b, c, d) {
  695. if (null === b || "undefined" === typeof b || pa(a, b, c, d))
  696. return true;
  697. if (d)
  698. return false;
  699. if (null !== c)
  700. switch (c.type) {
  701. case 3:
  702. return !b;
  703. case 4:
  704. return false === b;
  705. case 5:
  706. return isNaN(b);
  707. case 6:
  708. return isNaN(b) || 1 > b;
  709. }
  710. return false;
  711. }
  712. function v(a, b, c, d, e, f2, g) {
  713. this.acceptsBooleans = 2 === b || 3 === b || 4 === b;
  714. this.attributeName = d;
  715. this.attributeNamespace = e;
  716. this.mustUseProperty = c;
  717. this.propertyName = a;
  718. this.type = b;
  719. this.sanitizeURL = f2;
  720. this.removeEmptyString = g;
  721. }
  722. var z = {};
  723. "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a) {
  724. z[a] = new v(a, 0, false, a, null, false, false);
  725. });
  726. [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a) {
  727. var b = a[0];
  728. z[b] = new v(b, 1, false, a[1], null, false, false);
  729. });
  730. ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a) {
  731. z[a] = new v(a, 2, false, a.toLowerCase(), null, false, false);
  732. });
  733. ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a) {
  734. z[a] = new v(a, 2, false, a, null, false, false);
  735. });
  736. "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a) {
  737. z[a] = new v(a, 3, false, a.toLowerCase(), null, false, false);
  738. });
  739. ["checked", "multiple", "muted", "selected"].forEach(function(a) {
  740. z[a] = new v(a, 3, true, a, null, false, false);
  741. });
  742. ["capture", "download"].forEach(function(a) {
  743. z[a] = new v(a, 4, false, a, null, false, false);
  744. });
  745. ["cols", "rows", "size", "span"].forEach(function(a) {
  746. z[a] = new v(a, 6, false, a, null, false, false);
  747. });
  748. ["rowSpan", "start"].forEach(function(a) {
  749. z[a] = new v(a, 5, false, a.toLowerCase(), null, false, false);
  750. });
  751. var ra = /[\-:]([a-z])/g;
  752. function sa(a) {
  753. return a[1].toUpperCase();
  754. }
  755. "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a) {
  756. var b = a.replace(
  757. ra,
  758. sa
  759. );
  760. z[b] = new v(b, 1, false, a, null, false, false);
  761. });
  762. "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a) {
  763. var b = a.replace(ra, sa);
  764. z[b] = new v(b, 1, false, a, "http://www.w3.org/1999/xlink", false, false);
  765. });
  766. ["xml:base", "xml:lang", "xml:space"].forEach(function(a) {
  767. var b = a.replace(ra, sa);
  768. z[b] = new v(b, 1, false, a, "http://www.w3.org/XML/1998/namespace", false, false);
  769. });
  770. ["tabIndex", "crossOrigin"].forEach(function(a) {
  771. z[a] = new v(a, 1, false, a.toLowerCase(), null, false, false);
  772. });
  773. z.xlinkHref = new v("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false);
  774. ["src", "href", "action", "formAction"].forEach(function(a) {
  775. z[a] = new v(a, 1, false, a.toLowerCase(), null, true, true);
  776. });
  777. function ta(a, b, c, d) {
  778. var e = z.hasOwnProperty(b) ? z[b] : null;
  779. if (null !== e ? 0 !== e.type : d || !(2 < b.length) || "o" !== b[0] && "O" !== b[0] || "n" !== b[1] && "N" !== b[1])
  780. qa(b, c, e, d) && (c = null), d || null === e ? oa(b) && (null === c ? a.removeAttribute(b) : a.setAttribute(b, "" + c)) : e.mustUseProperty ? a[e.propertyName] = null === c ? 3 === e.type ? false : "" : c : (b = e.attributeName, d = e.attributeNamespace, null === c ? a.removeAttribute(b) : (e = e.type, c = 3 === e || 4 === e && true === c ? "" : "" + c, d ? a.setAttributeNS(d, b, c) : a.setAttribute(b, c)));
  781. }
  782. var ua = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, va = Symbol.for("react.element"), wa = Symbol.for("react.portal"), ya = Symbol.for("react.fragment"), za = Symbol.for("react.strict_mode"), Aa = Symbol.for("react.profiler"), Ba = Symbol.for("react.provider"), Ca = Symbol.for("react.context"), Da = Symbol.for("react.forward_ref"), Ea = Symbol.for("react.suspense"), Fa = Symbol.for("react.suspense_list"), Ga = Symbol.for("react.memo"), Ha = Symbol.for("react.lazy");
  783. var Ia = Symbol.for("react.offscreen");
  784. var Ja = Symbol.iterator;
  785. function Ka(a) {
  786. if (null === a || "object" !== typeof a)
  787. return null;
  788. a = Ja && a[Ja] || a["@@iterator"];
  789. return "function" === typeof a ? a : null;
  790. }
  791. var A = Object.assign, La;
  792. function Ma(a) {
  793. if (void 0 === La)
  794. try {
  795. throw Error();
  796. } catch (c) {
  797. var b = c.stack.trim().match(/\n( *(at )?)/);
  798. La = b && b[1] || "";
  799. }
  800. return "\n" + La + a;
  801. }
  802. var Na = false;
  803. function Oa(a, b) {
  804. if (!a || Na)
  805. return "";
  806. Na = true;
  807. var c = Error.prepareStackTrace;
  808. Error.prepareStackTrace = void 0;
  809. try {
  810. if (b)
  811. if (b = function() {
  812. throw Error();
  813. }, Object.defineProperty(b.prototype, "props", { set: function() {
  814. throw Error();
  815. } }), "object" === typeof Reflect && Reflect.construct) {
  816. try {
  817. Reflect.construct(b, []);
  818. } catch (l2) {
  819. var d = l2;
  820. }
  821. Reflect.construct(a, [], b);
  822. } else {
  823. try {
  824. b.call();
  825. } catch (l2) {
  826. d = l2;
  827. }
  828. a.call(b.prototype);
  829. }
  830. else {
  831. try {
  832. throw Error();
  833. } catch (l2) {
  834. d = l2;
  835. }
  836. a();
  837. }
  838. } catch (l2) {
  839. if (l2 && d && "string" === typeof l2.stack) {
  840. for (var e = l2.stack.split("\n"), f2 = d.stack.split("\n"), g = e.length - 1, h = f2.length - 1; 1 <= g && 0 <= h && e[g] !== f2[h]; )
  841. h--;
  842. for (; 1 <= g && 0 <= h; g--, h--)
  843. if (e[g] !== f2[h]) {
  844. if (1 !== g || 1 !== h) {
  845. do
  846. if (g--, h--, 0 > h || e[g] !== f2[h]) {
  847. var k2 = "\n" + e[g].replace(" at new ", " at ");
  848. a.displayName && k2.includes("<anonymous>") && (k2 = k2.replace("<anonymous>", a.displayName));
  849. return k2;
  850. }
  851. while (1 <= g && 0 <= h);
  852. }
  853. break;
  854. }
  855. }
  856. } finally {
  857. Na = false, Error.prepareStackTrace = c;
  858. }
  859. return (a = a ? a.displayName || a.name : "") ? Ma(a) : "";
  860. }
  861. function Pa(a) {
  862. switch (a.tag) {
  863. case 5:
  864. return Ma(a.type);
  865. case 16:
  866. return Ma("Lazy");
  867. case 13:
  868. return Ma("Suspense");
  869. case 19:
  870. return Ma("SuspenseList");
  871. case 0:
  872. case 2:
  873. case 15:
  874. return a = Oa(a.type, false), a;
  875. case 11:
  876. return a = Oa(a.type.render, false), a;
  877. case 1:
  878. return a = Oa(a.type, true), a;
  879. default:
  880. return "";
  881. }
  882. }
  883. function Qa(a) {
  884. if (null == a)
  885. return null;
  886. if ("function" === typeof a)
  887. return a.displayName || a.name || null;
  888. if ("string" === typeof a)
  889. return a;
  890. switch (a) {
  891. case ya:
  892. return "Fragment";
  893. case wa:
  894. return "Portal";
  895. case Aa:
  896. return "Profiler";
  897. case za:
  898. return "StrictMode";
  899. case Ea:
  900. return "Suspense";
  901. case Fa:
  902. return "SuspenseList";
  903. }
  904. if ("object" === typeof a)
  905. switch (a.$$typeof) {
  906. case Ca:
  907. return (a.displayName || "Context") + ".Consumer";
  908. case Ba:
  909. return (a._context.displayName || "Context") + ".Provider";
  910. case Da:
  911. var b = a.render;
  912. a = a.displayName;
  913. a || (a = b.displayName || b.name || "", a = "" !== a ? "ForwardRef(" + a + ")" : "ForwardRef");
  914. return a;
  915. case Ga:
  916. return b = a.displayName || null, null !== b ? b : Qa(a.type) || "Memo";
  917. case Ha:
  918. b = a._payload;
  919. a = a._init;
  920. try {
  921. return Qa(a(b));
  922. } catch (c) {
  923. }
  924. }
  925. return null;
  926. }
  927. function Ra(a) {
  928. var b = a.type;
  929. switch (a.tag) {
  930. case 24:
  931. return "Cache";
  932. case 9:
  933. return (b.displayName || "Context") + ".Consumer";
  934. case 10:
  935. return (b._context.displayName || "Context") + ".Provider";
  936. case 18:
  937. return "DehydratedFragment";
  938. case 11:
  939. return a = b.render, a = a.displayName || a.name || "", b.displayName || ("" !== a ? "ForwardRef(" + a + ")" : "ForwardRef");
  940. case 7:
  941. return "Fragment";
  942. case 5:
  943. return b;
  944. case 4:
  945. return "Portal";
  946. case 3:
  947. return "Root";
  948. case 6:
  949. return "Text";
  950. case 16:
  951. return Qa(b);
  952. case 8:
  953. return b === za ? "StrictMode" : "Mode";
  954. case 22:
  955. return "Offscreen";
  956. case 12:
  957. return "Profiler";
  958. case 21:
  959. return "Scope";
  960. case 13:
  961. return "Suspense";
  962. case 19:
  963. return "SuspenseList";
  964. case 25:
  965. return "TracingMarker";
  966. case 1:
  967. case 0:
  968. case 17:
  969. case 2:
  970. case 14:
  971. case 15:
  972. if ("function" === typeof b)
  973. return b.displayName || b.name || null;
  974. if ("string" === typeof b)
  975. return b;
  976. }
  977. return null;
  978. }
  979. function Sa(a) {
  980. switch (typeof a) {
  981. case "boolean":
  982. case "number":
  983. case "string":
  984. case "undefined":
  985. return a;
  986. case "object":
  987. return a;
  988. default:
  989. return "";
  990. }
  991. }
  992. function Ta(a) {
  993. var b = a.type;
  994. return (a = a.nodeName) && "input" === a.toLowerCase() && ("checkbox" === b || "radio" === b);
  995. }
  996. function Ua(a) {
  997. var b = Ta(a) ? "checked" : "value", c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b), d = "" + a[b];
  998. if (!a.hasOwnProperty(b) && "undefined" !== typeof c && "function" === typeof c.get && "function" === typeof c.set) {
  999. var e = c.get, f2 = c.set;
  1000. Object.defineProperty(a, b, { configurable: true, get: function() {
  1001. return e.call(this);
  1002. }, set: function(a2) {
  1003. d = "" + a2;
  1004. f2.call(this, a2);
  1005. } });
  1006. Object.defineProperty(a, b, { enumerable: c.enumerable });
  1007. return { getValue: function() {
  1008. return d;
  1009. }, setValue: function(a2) {
  1010. d = "" + a2;
  1011. }, stopTracking: function() {
  1012. a._valueTracker = null;
  1013. delete a[b];
  1014. } };
  1015. }
  1016. }
  1017. function Va(a) {
  1018. a._valueTracker || (a._valueTracker = Ua(a));
  1019. }
  1020. function Wa(a) {
  1021. if (!a)
  1022. return false;
  1023. var b = a._valueTracker;
  1024. if (!b)
  1025. return true;
  1026. var c = b.getValue();
  1027. var d = "";
  1028. a && (d = Ta(a) ? a.checked ? "true" : "false" : a.value);
  1029. a = d;
  1030. return a !== c ? (b.setValue(a), true) : false;
  1031. }
  1032. function Xa(a) {
  1033. a = a || ("undefined" !== typeof document ? document : void 0);
  1034. if ("undefined" === typeof a)
  1035. return null;
  1036. try {
  1037. return a.activeElement || a.body;
  1038. } catch (b) {
  1039. return a.body;
  1040. }
  1041. }
  1042. function Ya(a, b) {
  1043. var c = b.checked;
  1044. return A({}, b, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: null != c ? c : a._wrapperState.initialChecked });
  1045. }
  1046. function Za(a, b) {
  1047. var c = null == b.defaultValue ? "" : b.defaultValue, d = null != b.checked ? b.checked : b.defaultChecked;
  1048. c = Sa(null != b.value ? b.value : c);
  1049. a._wrapperState = { initialChecked: d, initialValue: c, controlled: "checkbox" === b.type || "radio" === b.type ? null != b.checked : null != b.value };
  1050. }
  1051. function ab(a, b) {
  1052. b = b.checked;
  1053. null != b && ta(a, "checked", b, false);
  1054. }
  1055. function bb(a, b) {
  1056. ab(a, b);
  1057. var c = Sa(b.value), d = b.type;
  1058. if (null != c)
  1059. if ("number" === d) {
  1060. if (0 === c && "" === a.value || a.value != c)
  1061. a.value = "" + c;
  1062. } else
  1063. a.value !== "" + c && (a.value = "" + c);
  1064. else if ("submit" === d || "reset" === d) {
  1065. a.removeAttribute("value");
  1066. return;
  1067. }
  1068. b.hasOwnProperty("value") ? cb(a, b.type, c) : b.hasOwnProperty("defaultValue") && cb(a, b.type, Sa(b.defaultValue));
  1069. null == b.checked && null != b.defaultChecked && (a.defaultChecked = !!b.defaultChecked);
  1070. }
  1071. function db(a, b, c) {
  1072. if (b.hasOwnProperty("value") || b.hasOwnProperty("defaultValue")) {
  1073. var d = b.type;
  1074. if (!("submit" !== d && "reset" !== d || void 0 !== b.value && null !== b.value))
  1075. return;
  1076. b = "" + a._wrapperState.initialValue;
  1077. c || b === a.value || (a.value = b);
  1078. a.defaultValue = b;
  1079. }
  1080. c = a.name;
  1081. "" !== c && (a.name = "");
  1082. a.defaultChecked = !!a._wrapperState.initialChecked;
  1083. "" !== c && (a.name = c);
  1084. }
  1085. function cb(a, b, c) {
  1086. if ("number" !== b || Xa(a.ownerDocument) !== a)
  1087. null == c ? a.defaultValue = "" + a._wrapperState.initialValue : a.defaultValue !== "" + c && (a.defaultValue = "" + c);
  1088. }
  1089. var eb = Array.isArray;
  1090. function fb(a, b, c, d) {
  1091. a = a.options;
  1092. if (b) {
  1093. b = {};
  1094. for (var e = 0; e < c.length; e++)
  1095. b["$" + c[e]] = true;
  1096. for (c = 0; c < a.length; c++)
  1097. e = b.hasOwnProperty("$" + a[c].value), a[c].selected !== e && (a[c].selected = e), e && d && (a[c].defaultSelected = true);
  1098. } else {
  1099. c = "" + Sa(c);
  1100. b = null;
  1101. for (e = 0; e < a.length; e++) {
  1102. if (a[e].value === c) {
  1103. a[e].selected = true;
  1104. d && (a[e].defaultSelected = true);
  1105. return;
  1106. }
  1107. null !== b || a[e].disabled || (b = a[e]);
  1108. }
  1109. null !== b && (b.selected = true);
  1110. }
  1111. }
  1112. function gb(a, b) {
  1113. if (null != b.dangerouslySetInnerHTML)
  1114. throw Error(p(91));
  1115. return A({}, b, { value: void 0, defaultValue: void 0, children: "" + a._wrapperState.initialValue });
  1116. }
  1117. function hb(a, b) {
  1118. var c = b.value;
  1119. if (null == c) {
  1120. c = b.children;
  1121. b = b.defaultValue;
  1122. if (null != c) {
  1123. if (null != b)
  1124. throw Error(p(92));
  1125. if (eb(c)) {
  1126. if (1 < c.length)
  1127. throw Error(p(93));
  1128. c = c[0];
  1129. }
  1130. b = c;
  1131. }
  1132. null == b && (b = "");
  1133. c = b;
  1134. }
  1135. a._wrapperState = { initialValue: Sa(c) };
  1136. }
  1137. function ib(a, b) {
  1138. var c = Sa(b.value), d = Sa(b.defaultValue);
  1139. null != c && (c = "" + c, c !== a.value && (a.value = c), null == b.defaultValue && a.defaultValue !== c && (a.defaultValue = c));
  1140. null != d && (a.defaultValue = "" + d);
  1141. }
  1142. function jb(a) {
  1143. var b = a.textContent;
  1144. b === a._wrapperState.initialValue && "" !== b && null !== b && (a.value = b);
  1145. }
  1146. function kb(a) {
  1147. switch (a) {
  1148. case "svg":
  1149. return "http://www.w3.org/2000/svg";
  1150. case "math":
  1151. return "http://www.w3.org/1998/Math/MathML";
  1152. default:
  1153. return "http://www.w3.org/1999/xhtml";
  1154. }
  1155. }
  1156. function lb(a, b) {
  1157. return null == a || "http://www.w3.org/1999/xhtml" === a ? kb(b) : "http://www.w3.org/2000/svg" === a && "foreignObject" === b ? "http://www.w3.org/1999/xhtml" : a;
  1158. }
  1159. var mb, nb = function(a) {
  1160. return "undefined" !== typeof MSApp && MSApp.execUnsafeLocalFunction ? function(b, c, d, e) {
  1161. MSApp.execUnsafeLocalFunction(function() {
  1162. return a(b, c, d, e);
  1163. });
  1164. } : a;
  1165. }(function(a, b) {
  1166. if ("http://www.w3.org/2000/svg" !== a.namespaceURI || "innerHTML" in a)
  1167. a.innerHTML = b;
  1168. else {
  1169. mb = mb || document.createElement("div");
  1170. mb.innerHTML = "<svg>" + b.valueOf().toString() + "</svg>";
  1171. for (b = mb.firstChild; a.firstChild; )
  1172. a.removeChild(a.firstChild);
  1173. for (; b.firstChild; )
  1174. a.appendChild(b.firstChild);
  1175. }
  1176. });
  1177. function ob(a, b) {
  1178. if (b) {
  1179. var c = a.firstChild;
  1180. if (c && c === a.lastChild && 3 === c.nodeType) {
  1181. c.nodeValue = b;
  1182. return;
  1183. }
  1184. }
  1185. a.textContent = b;
  1186. }
  1187. var pb = {
  1188. animationIterationCount: true,
  1189. aspectRatio: true,
  1190. borderImageOutset: true,
  1191. borderImageSlice: true,
  1192. borderImageWidth: true,
  1193. boxFlex: true,
  1194. boxFlexGroup: true,
  1195. boxOrdinalGroup: true,
  1196. columnCount: true,
  1197. columns: true,
  1198. flex: true,
  1199. flexGrow: true,
  1200. flexPositive: true,
  1201. flexShrink: true,
  1202. flexNegative: true,
  1203. flexOrder: true,
  1204. gridArea: true,
  1205. gridRow: true,
  1206. gridRowEnd: true,
  1207. gridRowSpan: true,
  1208. gridRowStart: true,
  1209. gridColumn: true,
  1210. gridColumnEnd: true,
  1211. gridColumnSpan: true,
  1212. gridColumnStart: true,
  1213. fontWeight: true,
  1214. lineClamp: true,
  1215. lineHeight: true,
  1216. opacity: true,
  1217. order: true,
  1218. orphans: true,
  1219. tabSize: true,
  1220. widows: true,
  1221. zIndex: true,
  1222. zoom: true,
  1223. fillOpacity: true,
  1224. floodOpacity: true,
  1225. stopOpacity: true,
  1226. strokeDasharray: true,
  1227. strokeDashoffset: true,
  1228. strokeMiterlimit: true,
  1229. strokeOpacity: true,
  1230. strokeWidth: true
  1231. }, qb = ["Webkit", "ms", "Moz", "O"];
  1232. Object.keys(pb).forEach(function(a) {
  1233. qb.forEach(function(b) {
  1234. b = b + a.charAt(0).toUpperCase() + a.substring(1);
  1235. pb[b] = pb[a];
  1236. });
  1237. });
  1238. function rb(a, b, c) {
  1239. return null == b || "boolean" === typeof b || "" === b ? "" : c || "number" !== typeof b || 0 === b || pb.hasOwnProperty(a) && pb[a] ? ("" + b).trim() : b + "px";
  1240. }
  1241. function sb(a, b) {
  1242. a = a.style;
  1243. for (var c in b)
  1244. if (b.hasOwnProperty(c)) {
  1245. var d = 0 === c.indexOf("--"), e = rb(c, b[c], d);
  1246. "float" === c && (c = "cssFloat");
  1247. d ? a.setProperty(c, e) : a[c] = e;
  1248. }
  1249. }
  1250. var tb = A({ menuitem: true }, { area: true, base: true, br: true, col: true, embed: true, hr: true, img: true, input: true, keygen: true, link: true, meta: true, param: true, source: true, track: true, wbr: true });
  1251. function ub(a, b) {
  1252. if (b) {
  1253. if (tb[a] && (null != b.children || null != b.dangerouslySetInnerHTML))
  1254. throw Error(p(137, a));
  1255. if (null != b.dangerouslySetInnerHTML) {
  1256. if (null != b.children)
  1257. throw Error(p(60));
  1258. if ("object" !== typeof b.dangerouslySetInnerHTML || !("__html" in b.dangerouslySetInnerHTML))
  1259. throw Error(p(61));
  1260. }
  1261. if (null != b.style && "object" !== typeof b.style)
  1262. throw Error(p(62));
  1263. }
  1264. }
  1265. function vb(a, b) {
  1266. if (-1 === a.indexOf("-"))
  1267. return "string" === typeof b.is;
  1268. switch (a) {
  1269. case "annotation-xml":
  1270. case "color-profile":
  1271. case "font-face":
  1272. case "font-face-src":
  1273. case "font-face-uri":
  1274. case "font-face-format":
  1275. case "font-face-name":
  1276. case "missing-glyph":
  1277. return false;
  1278. default:
  1279. return true;
  1280. }
  1281. }
  1282. var wb = null;
  1283. function xb(a) {
  1284. a = a.target || a.srcElement || window;
  1285. a.correspondingUseElement && (a = a.correspondingUseElement);
  1286. return 3 === a.nodeType ? a.parentNode : a;
  1287. }
  1288. var yb = null, zb = null, Ab = null;
  1289. function Bb(a) {
  1290. if (a = Cb(a)) {
  1291. if ("function" !== typeof yb)
  1292. throw Error(p(280));
  1293. var b = a.stateNode;
  1294. b && (b = Db(b), yb(a.stateNode, a.type, b));
  1295. }
  1296. }
  1297. function Eb(a) {
  1298. zb ? Ab ? Ab.push(a) : Ab = [a] : zb = a;
  1299. }
  1300. function Fb() {
  1301. if (zb) {
  1302. var a = zb, b = Ab;
  1303. Ab = zb = null;
  1304. Bb(a);
  1305. if (b)
  1306. for (a = 0; a < b.length; a++)
  1307. Bb(b[a]);
  1308. }
  1309. }
  1310. function Gb(a, b) {
  1311. return a(b);
  1312. }
  1313. function Hb() {
  1314. }
  1315. var Ib = false;
  1316. function Jb(a, b, c) {
  1317. if (Ib)
  1318. return a(b, c);
  1319. Ib = true;
  1320. try {
  1321. return Gb(a, b, c);
  1322. } finally {
  1323. if (Ib = false, null !== zb || null !== Ab)
  1324. Hb(), Fb();
  1325. }
  1326. }
  1327. function Kb(a, b) {
  1328. var c = a.stateNode;
  1329. if (null === c)
  1330. return null;
  1331. var d = Db(c);
  1332. if (null === d)
  1333. return null;
  1334. c = d[b];
  1335. a:
  1336. switch (b) {
  1337. case "onClick":
  1338. case "onClickCapture":
  1339. case "onDoubleClick":
  1340. case "onDoubleClickCapture":
  1341. case "onMouseDown":
  1342. case "onMouseDownCapture":
  1343. case "onMouseMove":
  1344. case "onMouseMoveCapture":
  1345. case "onMouseUp":
  1346. case "onMouseUpCapture":
  1347. case "onMouseEnter":
  1348. (d = !d.disabled) || (a = a.type, d = !("button" === a || "input" === a || "select" === a || "textarea" === a));
  1349. a = !d;
  1350. break a;
  1351. default:
  1352. a = false;
  1353. }
  1354. if (a)
  1355. return null;
  1356. if (c && "function" !== typeof c)
  1357. throw Error(p(231, b, typeof c));
  1358. return c;
  1359. }
  1360. var Lb = false;
  1361. if (ia)
  1362. try {
  1363. var Mb = {};
  1364. Object.defineProperty(Mb, "passive", { get: function() {
  1365. Lb = true;
  1366. } });
  1367. window.addEventListener("test", Mb, Mb);
  1368. window.removeEventListener("test", Mb, Mb);
  1369. } catch (a) {
  1370. Lb = false;
  1371. }
  1372. function Nb(a, b, c, d, e, f2, g, h, k2) {
  1373. var l2 = Array.prototype.slice.call(arguments, 3);
  1374. try {
  1375. b.apply(c, l2);
  1376. } catch (m2) {
  1377. this.onError(m2);
  1378. }
  1379. }
  1380. var Ob = false, Pb = null, Qb = false, Rb = null, Sb = { onError: function(a) {
  1381. Ob = true;
  1382. Pb = a;
  1383. } };
  1384. function Tb(a, b, c, d, e, f2, g, h, k2) {
  1385. Ob = false;
  1386. Pb = null;
  1387. Nb.apply(Sb, arguments);
  1388. }
  1389. function Ub(a, b, c, d, e, f2, g, h, k2) {
  1390. Tb.apply(this, arguments);
  1391. if (Ob) {
  1392. if (Ob) {
  1393. var l2 = Pb;
  1394. Ob = false;
  1395. Pb = null;
  1396. } else
  1397. throw Error(p(198));
  1398. Qb || (Qb = true, Rb = l2);
  1399. }
  1400. }
  1401. function Vb(a) {
  1402. var b = a, c = a;
  1403. if (a.alternate)
  1404. for (; b.return; )
  1405. b = b.return;
  1406. else {
  1407. a = b;
  1408. do
  1409. b = a, 0 !== (b.flags & 4098) && (c = b.return), a = b.return;
  1410. while (a);
  1411. }
  1412. return 3 === b.tag ? c : null;
  1413. }
  1414. function Wb(a) {
  1415. if (13 === a.tag) {
  1416. var b = a.memoizedState;
  1417. null === b && (a = a.alternate, null !== a && (b = a.memoizedState));
  1418. if (null !== b)
  1419. return b.dehydrated;
  1420. }
  1421. return null;
  1422. }
  1423. function Xb(a) {
  1424. if (Vb(a) !== a)
  1425. throw Error(p(188));
  1426. }
  1427. function Yb(a) {
  1428. var b = a.alternate;
  1429. if (!b) {
  1430. b = Vb(a);
  1431. if (null === b)
  1432. throw Error(p(188));
  1433. return b !== a ? null : a;
  1434. }
  1435. for (var c = a, d = b; ; ) {
  1436. var e = c.return;
  1437. if (null === e)
  1438. break;
  1439. var f2 = e.alternate;
  1440. if (null === f2) {
  1441. d = e.return;
  1442. if (null !== d) {
  1443. c = d;
  1444. continue;
  1445. }
  1446. break;
  1447. }
  1448. if (e.child === f2.child) {
  1449. for (f2 = e.child; f2; ) {
  1450. if (f2 === c)
  1451. return Xb(e), a;
  1452. if (f2 === d)
  1453. return Xb(e), b;
  1454. f2 = f2.sibling;
  1455. }
  1456. throw Error(p(188));
  1457. }
  1458. if (c.return !== d.return)
  1459. c = e, d = f2;
  1460. else {
  1461. for (var g = false, h = e.child; h; ) {
  1462. if (h === c) {
  1463. g = true;
  1464. c = e;
  1465. d = f2;
  1466. break;
  1467. }
  1468. if (h === d) {
  1469. g = true;
  1470. d = e;
  1471. c = f2;
  1472. break;
  1473. }
  1474. h = h.sibling;
  1475. }
  1476. if (!g) {
  1477. for (h = f2.child; h; ) {
  1478. if (h === c) {
  1479. g = true;
  1480. c = f2;
  1481. d = e;
  1482. break;
  1483. }
  1484. if (h === d) {
  1485. g = true;
  1486. d = f2;
  1487. c = e;
  1488. break;
  1489. }
  1490. h = h.sibling;
  1491. }
  1492. if (!g)
  1493. throw Error(p(189));
  1494. }
  1495. }
  1496. if (c.alternate !== d)
  1497. throw Error(p(190));
  1498. }
  1499. if (3 !== c.tag)
  1500. throw Error(p(188));
  1501. return c.stateNode.current === c ? a : b;
  1502. }
  1503. function Zb(a) {
  1504. a = Yb(a);
  1505. return null !== a ? $b(a) : null;
  1506. }
  1507. function $b(a) {
  1508. if (5 === a.tag || 6 === a.tag)
  1509. return a;
  1510. for (a = a.child; null !== a; ) {
  1511. var b = $b(a);
  1512. if (null !== b)
  1513. return b;
  1514. a = a.sibling;
  1515. }
  1516. return null;
  1517. }
  1518. var ac = ca.unstable_scheduleCallback, bc = ca.unstable_cancelCallback, cc = ca.unstable_shouldYield, dc = ca.unstable_requestPaint, B = ca.unstable_now, ec = ca.unstable_getCurrentPriorityLevel, fc = ca.unstable_ImmediatePriority, gc = ca.unstable_UserBlockingPriority, hc = ca.unstable_NormalPriority, ic = ca.unstable_LowPriority, jc = ca.unstable_IdlePriority, kc = null, lc = null;
  1519. function mc(a) {
  1520. if (lc && "function" === typeof lc.onCommitFiberRoot)
  1521. try {
  1522. lc.onCommitFiberRoot(kc, a, void 0, 128 === (a.current.flags & 128));
  1523. } catch (b) {
  1524. }
  1525. }
  1526. var oc = Math.clz32 ? Math.clz32 : nc, pc = Math.log, qc = Math.LN2;
  1527. function nc(a) {
  1528. a >>>= 0;
  1529. return 0 === a ? 32 : 31 - (pc(a) / qc | 0) | 0;
  1530. }
  1531. var rc = 64, sc = 4194304;
  1532. function tc(a) {
  1533. switch (a & -a) {
  1534. case 1:
  1535. return 1;
  1536. case 2:
  1537. return 2;
  1538. case 4:
  1539. return 4;
  1540. case 8:
  1541. return 8;
  1542. case 16:
  1543. return 16;
  1544. case 32:
  1545. return 32;
  1546. case 64:
  1547. case 128:
  1548. case 256:
  1549. case 512:
  1550. case 1024:
  1551. case 2048:
  1552. case 4096:
  1553. case 8192:
  1554. case 16384:
  1555. case 32768:
  1556. case 65536:
  1557. case 131072:
  1558. case 262144:
  1559. case 524288:
  1560. case 1048576:
  1561. case 2097152:
  1562. return a & 4194240;
  1563. case 4194304:
  1564. case 8388608:
  1565. case 16777216:
  1566. case 33554432:
  1567. case 67108864:
  1568. return a & 130023424;
  1569. case 134217728:
  1570. return 134217728;
  1571. case 268435456:
  1572. return 268435456;
  1573. case 536870912:
  1574. return 536870912;
  1575. case 1073741824:
  1576. return 1073741824;
  1577. default:
  1578. return a;
  1579. }
  1580. }
  1581. function uc(a, b) {
  1582. var c = a.pendingLanes;
  1583. if (0 === c)
  1584. return 0;
  1585. var d = 0, e = a.suspendedLanes, f2 = a.pingedLanes, g = c & 268435455;
  1586. if (0 !== g) {
  1587. var h = g & ~e;
  1588. 0 !== h ? d = tc(h) : (f2 &= g, 0 !== f2 && (d = tc(f2)));
  1589. } else
  1590. g = c & ~e, 0 !== g ? d = tc(g) : 0 !== f2 && (d = tc(f2));
  1591. if (0 === d)
  1592. return 0;
  1593. if (0 !== b && b !== d && 0 === (b & e) && (e = d & -d, f2 = b & -b, e >= f2 || 16 === e && 0 !== (f2 & 4194240)))
  1594. return b;
  1595. 0 !== (d & 4) && (d |= c & 16);
  1596. b = a.entangledLanes;
  1597. if (0 !== b)
  1598. for (a = a.entanglements, b &= d; 0 < b; )
  1599. c = 31 - oc(b), e = 1 << c, d |= a[c], b &= ~e;
  1600. return d;
  1601. }
  1602. function vc(a, b) {
  1603. switch (a) {
  1604. case 1:
  1605. case 2:
  1606. case 4:
  1607. return b + 250;
  1608. case 8:
  1609. case 16:
  1610. case 32:
  1611. case 64:
  1612. case 128:
  1613. case 256:
  1614. case 512:
  1615. case 1024:
  1616. case 2048:
  1617. case 4096:
  1618. case 8192:
  1619. case 16384:
  1620. case 32768:
  1621. case 65536:
  1622. case 131072:
  1623. case 262144:
  1624. case 524288:
  1625. case 1048576:
  1626. case 2097152:
  1627. return b + 5e3;
  1628. case 4194304:
  1629. case 8388608:
  1630. case 16777216:
  1631. case 33554432:
  1632. case 67108864:
  1633. return -1;
  1634. case 134217728:
  1635. case 268435456:
  1636. case 536870912:
  1637. case 1073741824:
  1638. return -1;
  1639. default:
  1640. return -1;
  1641. }
  1642. }
  1643. function wc(a, b) {
  1644. for (var c = a.suspendedLanes, d = a.pingedLanes, e = a.expirationTimes, f2 = a.pendingLanes; 0 < f2; ) {
  1645. var g = 31 - oc(f2), h = 1 << g, k2 = e[g];
  1646. if (-1 === k2) {
  1647. if (0 === (h & c) || 0 !== (h & d))
  1648. e[g] = vc(h, b);
  1649. } else
  1650. k2 <= b && (a.expiredLanes |= h);
  1651. f2 &= ~h;
  1652. }
  1653. }
  1654. function xc(a) {
  1655. a = a.pendingLanes & -1073741825;
  1656. return 0 !== a ? a : a & 1073741824 ? 1073741824 : 0;
  1657. }
  1658. function yc() {
  1659. var a = rc;
  1660. rc <<= 1;
  1661. 0 === (rc & 4194240) && (rc = 64);
  1662. return a;
  1663. }
  1664. function zc(a) {
  1665. for (var b = [], c = 0; 31 > c; c++)
  1666. b.push(a);
  1667. return b;
  1668. }
  1669. function Ac(a, b, c) {
  1670. a.pendingLanes |= b;
  1671. 536870912 !== b && (a.suspendedLanes = 0, a.pingedLanes = 0);
  1672. a = a.eventTimes;
  1673. b = 31 - oc(b);
  1674. a[b] = c;
  1675. }
  1676. function Bc(a, b) {
  1677. var c = a.pendingLanes & ~b;
  1678. a.pendingLanes = b;
  1679. a.suspendedLanes = 0;
  1680. a.pingedLanes = 0;
  1681. a.expiredLanes &= b;
  1682. a.mutableReadLanes &= b;
  1683. a.entangledLanes &= b;
  1684. b = a.entanglements;
  1685. var d = a.eventTimes;
  1686. for (a = a.expirationTimes; 0 < c; ) {
  1687. var e = 31 - oc(c), f2 = 1 << e;
  1688. b[e] = 0;
  1689. d[e] = -1;
  1690. a[e] = -1;
  1691. c &= ~f2;
  1692. }
  1693. }
  1694. function Cc(a, b) {
  1695. var c = a.entangledLanes |= b;
  1696. for (a = a.entanglements; c; ) {
  1697. var d = 31 - oc(c), e = 1 << d;
  1698. e & b | a[d] & b && (a[d] |= b);
  1699. c &= ~e;
  1700. }
  1701. }
  1702. var C = 0;
  1703. function Dc(a) {
  1704. a &= -a;
  1705. return 1 < a ? 4 < a ? 0 !== (a & 268435455) ? 16 : 536870912 : 4 : 1;
  1706. }
  1707. var Ec, Fc, Gc, Hc, Ic, Jc = false, Kc = [], Lc = null, Mc = null, Nc = null, Oc = /* @__PURE__ */ new Map(), Pc = /* @__PURE__ */ new Map(), Qc = [], Rc = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
  1708. function Sc(a, b) {
  1709. switch (a) {
  1710. case "focusin":
  1711. case "focusout":
  1712. Lc = null;
  1713. break;
  1714. case "dragenter":
  1715. case "dragleave":
  1716. Mc = null;
  1717. break;
  1718. case "mouseover":
  1719. case "mouseout":
  1720. Nc = null;
  1721. break;
  1722. case "pointerover":
  1723. case "pointerout":
  1724. Oc.delete(b.pointerId);
  1725. break;
  1726. case "gotpointercapture":
  1727. case "lostpointercapture":
  1728. Pc.delete(b.pointerId);
  1729. }
  1730. }
  1731. function Tc(a, b, c, d, e, f2) {
  1732. if (null === a || a.nativeEvent !== f2)
  1733. return a = { blockedOn: b, domEventName: c, eventSystemFlags: d, nativeEvent: f2, targetContainers: [e] }, null !== b && (b = Cb(b), null !== b && Fc(b)), a;
  1734. a.eventSystemFlags |= d;
  1735. b = a.targetContainers;
  1736. null !== e && -1 === b.indexOf(e) && b.push(e);
  1737. return a;
  1738. }
  1739. function Uc(a, b, c, d, e) {
  1740. switch (b) {
  1741. case "focusin":
  1742. return Lc = Tc(Lc, a, b, c, d, e), true;
  1743. case "dragenter":
  1744. return Mc = Tc(Mc, a, b, c, d, e), true;
  1745. case "mouseover":
  1746. return Nc = Tc(Nc, a, b, c, d, e), true;
  1747. case "pointerover":
  1748. var f2 = e.pointerId;
  1749. Oc.set(f2, Tc(Oc.get(f2) || null, a, b, c, d, e));
  1750. return true;
  1751. case "gotpointercapture":
  1752. return f2 = e.pointerId, Pc.set(f2, Tc(Pc.get(f2) || null, a, b, c, d, e)), true;
  1753. }
  1754. return false;
  1755. }
  1756. function Vc(a) {
  1757. var b = Wc(a.target);
  1758. if (null !== b) {
  1759. var c = Vb(b);
  1760. if (null !== c) {
  1761. if (b = c.tag, 13 === b) {
  1762. if (b = Wb(c), null !== b) {
  1763. a.blockedOn = b;
  1764. Ic(a.priority, function() {
  1765. Gc(c);
  1766. });
  1767. return;
  1768. }
  1769. } else if (3 === b && c.stateNode.current.memoizedState.isDehydrated) {
  1770. a.blockedOn = 3 === c.tag ? c.stateNode.containerInfo : null;
  1771. return;
  1772. }
  1773. }
  1774. }
  1775. a.blockedOn = null;
  1776. }
  1777. function Xc(a) {
  1778. if (null !== a.blockedOn)
  1779. return false;
  1780. for (var b = a.targetContainers; 0 < b.length; ) {
  1781. var c = Yc(a.domEventName, a.eventSystemFlags, b[0], a.nativeEvent);
  1782. if (null === c) {
  1783. c = a.nativeEvent;
  1784. var d = new c.constructor(c.type, c);
  1785. wb = d;
  1786. c.target.dispatchEvent(d);
  1787. wb = null;
  1788. } else
  1789. return b = Cb(c), null !== b && Fc(b), a.blockedOn = c, false;
  1790. b.shift();
  1791. }
  1792. return true;
  1793. }
  1794. function Zc(a, b, c) {
  1795. Xc(a) && c.delete(b);
  1796. }
  1797. function $c() {
  1798. Jc = false;
  1799. null !== Lc && Xc(Lc) && (Lc = null);
  1800. null !== Mc && Xc(Mc) && (Mc = null);
  1801. null !== Nc && Xc(Nc) && (Nc = null);
  1802. Oc.forEach(Zc);
  1803. Pc.forEach(Zc);
  1804. }
  1805. function ad(a, b) {
  1806. a.blockedOn === b && (a.blockedOn = null, Jc || (Jc = true, ca.unstable_scheduleCallback(ca.unstable_NormalPriority, $c)));
  1807. }
  1808. function bd(a) {
  1809. function b(b2) {
  1810. return ad(b2, a);
  1811. }
  1812. if (0 < Kc.length) {
  1813. ad(Kc[0], a);
  1814. for (var c = 1; c < Kc.length; c++) {
  1815. var d = Kc[c];
  1816. d.blockedOn === a && (d.blockedOn = null);
  1817. }
  1818. }
  1819. null !== Lc && ad(Lc, a);
  1820. null !== Mc && ad(Mc, a);
  1821. null !== Nc && ad(Nc, a);
  1822. Oc.forEach(b);
  1823. Pc.forEach(b);
  1824. for (c = 0; c < Qc.length; c++)
  1825. d = Qc[c], d.blockedOn === a && (d.blockedOn = null);
  1826. for (; 0 < Qc.length && (c = Qc[0], null === c.blockedOn); )
  1827. Vc(c), null === c.blockedOn && Qc.shift();
  1828. }
  1829. var cd = ua.ReactCurrentBatchConfig, dd = true;
  1830. function ed(a, b, c, d) {
  1831. var e = C, f2 = cd.transition;
  1832. cd.transition = null;
  1833. try {
  1834. C = 1, fd(a, b, c, d);
  1835. } finally {
  1836. C = e, cd.transition = f2;
  1837. }
  1838. }
  1839. function gd(a, b, c, d) {
  1840. var e = C, f2 = cd.transition;
  1841. cd.transition = null;
  1842. try {
  1843. C = 4, fd(a, b, c, d);
  1844. } finally {
  1845. C = e, cd.transition = f2;
  1846. }
  1847. }
  1848. function fd(a, b, c, d) {
  1849. if (dd) {
  1850. var e = Yc(a, b, c, d);
  1851. if (null === e)
  1852. hd(a, b, d, id, c), Sc(a, d);
  1853. else if (Uc(e, a, b, c, d))
  1854. d.stopPropagation();
  1855. else if (Sc(a, d), b & 4 && -1 < Rc.indexOf(a)) {
  1856. for (; null !== e; ) {
  1857. var f2 = Cb(e);
  1858. null !== f2 && Ec(f2);
  1859. f2 = Yc(a, b, c, d);
  1860. null === f2 && hd(a, b, d, id, c);
  1861. if (f2 === e)
  1862. break;
  1863. e = f2;
  1864. }
  1865. null !== e && d.stopPropagation();
  1866. } else
  1867. hd(a, b, d, null, c);
  1868. }
  1869. }
  1870. var id = null;
  1871. function Yc(a, b, c, d) {
  1872. id = null;
  1873. a = xb(d);
  1874. a = Wc(a);
  1875. if (null !== a)
  1876. if (b = Vb(a), null === b)
  1877. a = null;
  1878. else if (c = b.tag, 13 === c) {
  1879. a = Wb(b);
  1880. if (null !== a)
  1881. return a;
  1882. a = null;
  1883. } else if (3 === c) {
  1884. if (b.stateNode.current.memoizedState.isDehydrated)
  1885. return 3 === b.tag ? b.stateNode.containerInfo : null;
  1886. a = null;
  1887. } else
  1888. b !== a && (a = null);
  1889. id = a;
  1890. return null;
  1891. }
  1892. function jd(a) {
  1893. switch (a) {
  1894. case "cancel":
  1895. case "click":
  1896. case "close":
  1897. case "contextmenu":
  1898. case "copy":
  1899. case "cut":
  1900. case "auxclick":
  1901. case "dblclick":
  1902. case "dragend":
  1903. case "dragstart":
  1904. case "drop":
  1905. case "focusin":
  1906. case "focusout":
  1907. case "input":
  1908. case "invalid":
  1909. case "keydown":
  1910. case "keypress":
  1911. case "keyup":
  1912. case "mousedown":
  1913. case "mouseup":
  1914. case "paste":
  1915. case "pause":
  1916. case "play":
  1917. case "pointercancel":
  1918. case "pointerdown":
  1919. case "pointerup":
  1920. case "ratechange":
  1921. case "reset":
  1922. case "resize":
  1923. case "seeked":
  1924. case "submit":
  1925. case "touchcancel":
  1926. case "touchend":
  1927. case "touchstart":
  1928. case "volumechange":
  1929. case "change":
  1930. case "selectionchange":
  1931. case "textInput":
  1932. case "compositionstart":
  1933. case "compositionend":
  1934. case "compositionupdate":
  1935. case "beforeblur":
  1936. case "afterblur":
  1937. case "beforeinput":
  1938. case "blur":
  1939. case "fullscreenchange":
  1940. case "focus":
  1941. case "hashchange":
  1942. case "popstate":
  1943. case "select":
  1944. case "selectstart":
  1945. return 1;
  1946. case "drag":
  1947. case "dragenter":
  1948. case "dragexit":
  1949. case "dragleave":
  1950. case "dragover":
  1951. case "mousemove":
  1952. case "mouseout":
  1953. case "mouseover":
  1954. case "pointermove":
  1955. case "pointerout":
  1956. case "pointerover":
  1957. case "scroll":
  1958. case "toggle":
  1959. case "touchmove":
  1960. case "wheel":
  1961. case "mouseenter":
  1962. case "mouseleave":
  1963. case "pointerenter":
  1964. case "pointerleave":
  1965. return 4;
  1966. case "message":
  1967. switch (ec()) {
  1968. case fc:
  1969. return 1;
  1970. case gc:
  1971. return 4;
  1972. case hc:
  1973. case ic:
  1974. return 16;
  1975. case jc:
  1976. return 536870912;
  1977. default:
  1978. return 16;
  1979. }
  1980. default:
  1981. return 16;
  1982. }
  1983. }
  1984. var kd = null, ld = null, md = null;
  1985. function nd() {
  1986. if (md)
  1987. return md;
  1988. var a, b = ld, c = b.length, d, e = "value" in kd ? kd.value : kd.textContent, f2 = e.length;
  1989. for (a = 0; a < c && b[a] === e[a]; a++)
  1990. ;
  1991. var g = c - a;
  1992. for (d = 1; d <= g && b[c - d] === e[f2 - d]; d++)
  1993. ;
  1994. return md = e.slice(a, 1 < d ? 1 - d : void 0);
  1995. }
  1996. function od(a) {
  1997. var b = a.keyCode;
  1998. "charCode" in a ? (a = a.charCode, 0 === a && 13 === b && (a = 13)) : a = b;
  1999. 10 === a && (a = 13);
  2000. return 32 <= a || 13 === a ? a : 0;
  2001. }
  2002. function pd() {
  2003. return true;
  2004. }
  2005. function qd() {
  2006. return false;
  2007. }
  2008. function rd(a) {
  2009. function b(b2, d, e, f2, g) {
  2010. this._reactName = b2;
  2011. this._targetInst = e;
  2012. this.type = d;
  2013. this.nativeEvent = f2;
  2014. this.target = g;
  2015. this.currentTarget = null;
  2016. for (var c in a)
  2017. a.hasOwnProperty(c) && (b2 = a[c], this[c] = b2 ? b2(f2) : f2[c]);
  2018. this.isDefaultPrevented = (null != f2.defaultPrevented ? f2.defaultPrevented : false === f2.returnValue) ? pd : qd;
  2019. this.isPropagationStopped = qd;
  2020. return this;
  2021. }
  2022. A(b.prototype, { preventDefault: function() {
  2023. this.defaultPrevented = true;
  2024. var a2 = this.nativeEvent;
  2025. a2 && (a2.preventDefault ? a2.preventDefault() : "unknown" !== typeof a2.returnValue && (a2.returnValue = false), this.isDefaultPrevented = pd);
  2026. }, stopPropagation: function() {
  2027. var a2 = this.nativeEvent;
  2028. a2 && (a2.stopPropagation ? a2.stopPropagation() : "unknown" !== typeof a2.cancelBubble && (a2.cancelBubble = true), this.isPropagationStopped = pd);
  2029. }, persist: function() {
  2030. }, isPersistent: pd });
  2031. return b;
  2032. }
  2033. var sd = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(a) {
  2034. return a.timeStamp || Date.now();
  2035. }, defaultPrevented: 0, isTrusted: 0 }, td = rd(sd), ud = A({}, sd, { view: 0, detail: 0 }), vd = rd(ud), wd, xd, yd, Ad = A({}, ud, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: zd, button: 0, buttons: 0, relatedTarget: function(a) {
  2036. return void 0 === a.relatedTarget ? a.fromElement === a.srcElement ? a.toElement : a.fromElement : a.relatedTarget;
  2037. }, movementX: function(a) {
  2038. if ("movementX" in a)
  2039. return a.movementX;
  2040. a !== yd && (yd && "mousemove" === a.type ? (wd = a.screenX - yd.screenX, xd = a.screenY - yd.screenY) : xd = wd = 0, yd = a);
  2041. return wd;
  2042. }, movementY: function(a) {
  2043. return "movementY" in a ? a.movementY : xd;
  2044. } }), Bd = rd(Ad), Cd = A({}, Ad, { dataTransfer: 0 }), Dd = rd(Cd), Ed = A({}, ud, { relatedTarget: 0 }), Fd = rd(Ed), Gd = A({}, sd, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Hd = rd(Gd), Id = A({}, sd, { clipboardData: function(a) {
  2045. return "clipboardData" in a ? a.clipboardData : window.clipboardData;
  2046. } }), Jd = rd(Id), Kd = A({}, sd, { data: 0 }), Ld = rd(Kd), Md = {
  2047. Esc: "Escape",
  2048. Spacebar: " ",
  2049. Left: "ArrowLeft",
  2050. Up: "ArrowUp",
  2051. Right: "ArrowRight",
  2052. Down: "ArrowDown",
  2053. Del: "Delete",
  2054. Win: "OS",
  2055. Menu: "ContextMenu",
  2056. Apps: "ContextMenu",
  2057. Scroll: "ScrollLock",
  2058. MozPrintableKey: "Unidentified"
  2059. }, Nd = {
  2060. 8: "Backspace",
  2061. 9: "Tab",
  2062. 12: "Clear",
  2063. 13: "Enter",
  2064. 16: "Shift",
  2065. 17: "Control",
  2066. 18: "Alt",
  2067. 19: "Pause",
  2068. 20: "CapsLock",
  2069. 27: "Escape",
  2070. 32: " ",
  2071. 33: "PageUp",
  2072. 34: "PageDown",
  2073. 35: "End",
  2074. 36: "Home",
  2075. 37: "ArrowLeft",
  2076. 38: "ArrowUp",
  2077. 39: "ArrowRight",
  2078. 40: "ArrowDown",
  2079. 45: "Insert",
  2080. 46: "Delete",
  2081. 112: "F1",
  2082. 113: "F2",
  2083. 114: "F3",
  2084. 115: "F4",
  2085. 116: "F5",
  2086. 117: "F6",
  2087. 118: "F7",
  2088. 119: "F8",
  2089. 120: "F9",
  2090. 121: "F10",
  2091. 122: "F11",
  2092. 123: "F12",
  2093. 144: "NumLock",
  2094. 145: "ScrollLock",
  2095. 224: "Meta"
  2096. }, Od = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" };
  2097. function Pd(a) {
  2098. var b = this.nativeEvent;
  2099. return b.getModifierState ? b.getModifierState(a) : (a = Od[a]) ? !!b[a] : false;
  2100. }
  2101. function zd() {
  2102. return Pd;
  2103. }
  2104. var Qd = A({}, ud, { key: function(a) {
  2105. if (a.key) {
  2106. var b = Md[a.key] || a.key;
  2107. if ("Unidentified" !== b)
  2108. return b;
  2109. }
  2110. return "keypress" === a.type ? (a = od(a), 13 === a ? "Enter" : String.fromCharCode(a)) : "keydown" === a.type || "keyup" === a.type ? Nd[a.keyCode] || "Unidentified" : "";
  2111. }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: zd, charCode: function(a) {
  2112. return "keypress" === a.type ? od(a) : 0;
  2113. }, keyCode: function(a) {
  2114. return "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0;
  2115. }, which: function(a) {
  2116. return "keypress" === a.type ? od(a) : "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0;
  2117. } }), Rd = rd(Qd), Sd = A({}, Ad, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), Td = rd(Sd), Ud = A({}, ud, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: zd }), Vd = rd(Ud), Wd = A({}, sd, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Xd = rd(Wd), Yd = A({}, Ad, {
  2118. deltaX: function(a) {
  2119. return "deltaX" in a ? a.deltaX : "wheelDeltaX" in a ? -a.wheelDeltaX : 0;
  2120. },
  2121. deltaY: function(a) {
  2122. return "deltaY" in a ? a.deltaY : "wheelDeltaY" in a ? -a.wheelDeltaY : "wheelDelta" in a ? -a.wheelDelta : 0;
  2123. },
  2124. deltaZ: 0,
  2125. deltaMode: 0
  2126. }), Zd = rd(Yd), $d = [9, 13, 27, 32], ae = ia && "CompositionEvent" in window, be = null;
  2127. ia && "documentMode" in document && (be = document.documentMode);
  2128. var ce = ia && "TextEvent" in window && !be, de = ia && (!ae || be && 8 < be && 11 >= be), ee = String.fromCharCode(32), fe = false;
  2129. function ge(a, b) {
  2130. switch (a) {
  2131. case "keyup":
  2132. return -1 !== $d.indexOf(b.keyCode);
  2133. case "keydown":
  2134. return 229 !== b.keyCode;
  2135. case "keypress":
  2136. case "mousedown":
  2137. case "focusout":
  2138. return true;
  2139. default:
  2140. return false;
  2141. }
  2142. }
  2143. function he(a) {
  2144. a = a.detail;
  2145. return "object" === typeof a && "data" in a ? a.data : null;
  2146. }
  2147. var ie = false;
  2148. function je(a, b) {
  2149. switch (a) {
  2150. case "compositionend":
  2151. return he(b);
  2152. case "keypress":
  2153. if (32 !== b.which)
  2154. return null;
  2155. fe = true;
  2156. return ee;
  2157. case "textInput":
  2158. return a = b.data, a === ee && fe ? null : a;
  2159. default:
  2160. return null;
  2161. }
  2162. }
  2163. function ke(a, b) {
  2164. if (ie)
  2165. return "compositionend" === a || !ae && ge(a, b) ? (a = nd(), md = ld = kd = null, ie = false, a) : null;
  2166. switch (a) {
  2167. case "paste":
  2168. return null;
  2169. case "keypress":
  2170. if (!(b.ctrlKey || b.altKey || b.metaKey) || b.ctrlKey && b.altKey) {
  2171. if (b.char && 1 < b.char.length)
  2172. return b.char;
  2173. if (b.which)
  2174. return String.fromCharCode(b.which);
  2175. }
  2176. return null;
  2177. case "compositionend":
  2178. return de && "ko" !== b.locale ? null : b.data;
  2179. default:
  2180. return null;
  2181. }
  2182. }
  2183. var le = { color: true, date: true, datetime: true, "datetime-local": true, email: true, month: true, number: true, password: true, range: true, search: true, tel: true, text: true, time: true, url: true, week: true };
  2184. function me(a) {
  2185. var b = a && a.nodeName && a.nodeName.toLowerCase();
  2186. return "input" === b ? !!le[a.type] : "textarea" === b ? true : false;
  2187. }
  2188. function ne(a, b, c, d) {
  2189. Eb(d);
  2190. b = oe(b, "onChange");
  2191. 0 < b.length && (c = new td("onChange", "change", null, c, d), a.push({ event: c, listeners: b }));
  2192. }
  2193. var pe = null, qe = null;
  2194. function re(a) {
  2195. se(a, 0);
  2196. }
  2197. function te(a) {
  2198. var b = ue(a);
  2199. if (Wa(b))
  2200. return a;
  2201. }
  2202. function ve(a, b) {
  2203. if ("change" === a)
  2204. return b;
  2205. }
  2206. var we = false;
  2207. if (ia) {
  2208. var xe;
  2209. if (ia) {
  2210. var ye = "oninput" in document;
  2211. if (!ye) {
  2212. var ze = document.createElement("div");
  2213. ze.setAttribute("oninput", "return;");
  2214. ye = "function" === typeof ze.oninput;
  2215. }
  2216. xe = ye;
  2217. } else
  2218. xe = false;
  2219. we = xe && (!document.documentMode || 9 < document.documentMode);
  2220. }
  2221. function Ae() {
  2222. pe && (pe.detachEvent("onpropertychange", Be), qe = pe = null);
  2223. }
  2224. function Be(a) {
  2225. if ("value" === a.propertyName && te(qe)) {
  2226. var b = [];
  2227. ne(b, qe, a, xb(a));
  2228. Jb(re, b);
  2229. }
  2230. }
  2231. function Ce(a, b, c) {
  2232. "focusin" === a ? (Ae(), pe = b, qe = c, pe.attachEvent("onpropertychange", Be)) : "focusout" === a && Ae();
  2233. }
  2234. function De(a) {
  2235. if ("selectionchange" === a || "keyup" === a || "keydown" === a)
  2236. return te(qe);
  2237. }
  2238. function Ee(a, b) {
  2239. if ("click" === a)
  2240. return te(b);
  2241. }
  2242. function Fe(a, b) {
  2243. if ("input" === a || "change" === a)
  2244. return te(b);
  2245. }
  2246. function Ge(a, b) {
  2247. return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
  2248. }
  2249. var He = "function" === typeof Object.is ? Object.is : Ge;
  2250. function Ie(a, b) {
  2251. if (He(a, b))
  2252. return true;
  2253. if ("object" !== typeof a || null === a || "object" !== typeof b || null === b)
  2254. return false;
  2255. var c = Object.keys(a), d = Object.keys(b);
  2256. if (c.length !== d.length)
  2257. return false;
  2258. for (d = 0; d < c.length; d++) {
  2259. var e = c[d];
  2260. if (!ja.call(b, e) || !He(a[e], b[e]))
  2261. return false;
  2262. }
  2263. return true;
  2264. }
  2265. function Je(a) {
  2266. for (; a && a.firstChild; )
  2267. a = a.firstChild;
  2268. return a;
  2269. }
  2270. function Ke(a, b) {
  2271. var c = Je(a);
  2272. a = 0;
  2273. for (var d; c; ) {
  2274. if (3 === c.nodeType) {
  2275. d = a + c.textContent.length;
  2276. if (a <= b && d >= b)
  2277. return { node: c, offset: b - a };
  2278. a = d;
  2279. }
  2280. a: {
  2281. for (; c; ) {
  2282. if (c.nextSibling) {
  2283. c = c.nextSibling;
  2284. break a;
  2285. }
  2286. c = c.parentNode;
  2287. }
  2288. c = void 0;
  2289. }
  2290. c = Je(c);
  2291. }
  2292. }
  2293. function Le(a, b) {
  2294. return a && b ? a === b ? true : a && 3 === a.nodeType ? false : b && 3 === b.nodeType ? Le(a, b.parentNode) : "contains" in a ? a.contains(b) : a.compareDocumentPosition ? !!(a.compareDocumentPosition(b) & 16) : false : false;
  2295. }
  2296. function Me() {
  2297. for (var a = window, b = Xa(); b instanceof a.HTMLIFrameElement; ) {
  2298. try {
  2299. var c = "string" === typeof b.contentWindow.location.href;
  2300. } catch (d) {
  2301. c = false;
  2302. }
  2303. if (c)
  2304. a = b.contentWindow;
  2305. else
  2306. break;
  2307. b = Xa(a.document);
  2308. }
  2309. return b;
  2310. }
  2311. function Ne(a) {
  2312. var b = a && a.nodeName && a.nodeName.toLowerCase();
  2313. return b && ("input" === b && ("text" === a.type || "search" === a.type || "tel" === a.type || "url" === a.type || "password" === a.type) || "textarea" === b || "true" === a.contentEditable);
  2314. }
  2315. function Oe(a) {
  2316. var b = Me(), c = a.focusedElem, d = a.selectionRange;
  2317. if (b !== c && c && c.ownerDocument && Le(c.ownerDocument.documentElement, c)) {
  2318. if (null !== d && Ne(c)) {
  2319. if (b = d.start, a = d.end, void 0 === a && (a = b), "selectionStart" in c)
  2320. c.selectionStart = b, c.selectionEnd = Math.min(a, c.value.length);
  2321. else if (a = (b = c.ownerDocument || document) && b.defaultView || window, a.getSelection) {
  2322. a = a.getSelection();
  2323. var e = c.textContent.length, f2 = Math.min(d.start, e);
  2324. d = void 0 === d.end ? f2 : Math.min(d.end, e);
  2325. !a.extend && f2 > d && (e = d, d = f2, f2 = e);
  2326. e = Ke(c, f2);
  2327. var g = Ke(
  2328. c,
  2329. d
  2330. );
  2331. e && g && (1 !== a.rangeCount || a.anchorNode !== e.node || a.anchorOffset !== e.offset || a.focusNode !== g.node || a.focusOffset !== g.offset) && (b = b.createRange(), b.setStart(e.node, e.offset), a.removeAllRanges(), f2 > d ? (a.addRange(b), a.extend(g.node, g.offset)) : (b.setEnd(g.node, g.offset), a.addRange(b)));
  2332. }
  2333. }
  2334. b = [];
  2335. for (a = c; a = a.parentNode; )
  2336. 1 === a.nodeType && b.push({ element: a, left: a.scrollLeft, top: a.scrollTop });
  2337. "function" === typeof c.focus && c.focus();
  2338. for (c = 0; c < b.length; c++)
  2339. a = b[c], a.element.scrollLeft = a.left, a.element.scrollTop = a.top;
  2340. }
  2341. }
  2342. var Pe = ia && "documentMode" in document && 11 >= document.documentMode, Qe = null, Re = null, Se = null, Te = false;
  2343. function Ue(a, b, c) {
  2344. var d = c.window === c ? c.document : 9 === c.nodeType ? c : c.ownerDocument;
  2345. Te || null == Qe || Qe !== Xa(d) || (d = Qe, "selectionStart" in d && Ne(d) ? d = { start: d.selectionStart, end: d.selectionEnd } : (d = (d.ownerDocument && d.ownerDocument.defaultView || window).getSelection(), d = { anchorNode: d.anchorNode, anchorOffset: d.anchorOffset, focusNode: d.focusNode, focusOffset: d.focusOffset }), Se && Ie(Se, d) || (Se = d, d = oe(Re, "onSelect"), 0 < d.length && (b = new td("onSelect", "select", null, b, c), a.push({ event: b, listeners: d }), b.target = Qe)));
  2346. }
  2347. function Ve(a, b) {
  2348. var c = {};
  2349. c[a.toLowerCase()] = b.toLowerCase();
  2350. c["Webkit" + a] = "webkit" + b;
  2351. c["Moz" + a] = "moz" + b;
  2352. return c;
  2353. }
  2354. var We = { animationend: Ve("Animation", "AnimationEnd"), animationiteration: Ve("Animation", "AnimationIteration"), animationstart: Ve("Animation", "AnimationStart"), transitionend: Ve("Transition", "TransitionEnd") }, Xe = {}, Ye = {};
  2355. ia && (Ye = document.createElement("div").style, "AnimationEvent" in window || (delete We.animationend.animation, delete We.animationiteration.animation, delete We.animationstart.animation), "TransitionEvent" in window || delete We.transitionend.transition);
  2356. function Ze(a) {
  2357. if (Xe[a])
  2358. return Xe[a];
  2359. if (!We[a])
  2360. return a;
  2361. var b = We[a], c;
  2362. for (c in b)
  2363. if (b.hasOwnProperty(c) && c in Ye)
  2364. return Xe[a] = b[c];
  2365. return a;
  2366. }
  2367. var $e = Ze("animationend"), af = Ze("animationiteration"), bf = Ze("animationstart"), cf = Ze("transitionend"), df = /* @__PURE__ */ new Map(), ef = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
  2368. function ff(a, b) {
  2369. df.set(a, b);
  2370. fa(b, [a]);
  2371. }
  2372. for (var gf = 0; gf < ef.length; gf++) {
  2373. var hf = ef[gf], jf = hf.toLowerCase(), kf = hf[0].toUpperCase() + hf.slice(1);
  2374. ff(jf, "on" + kf);
  2375. }
  2376. ff($e, "onAnimationEnd");
  2377. ff(af, "onAnimationIteration");
  2378. ff(bf, "onAnimationStart");
  2379. ff("dblclick", "onDoubleClick");
  2380. ff("focusin", "onFocus");
  2381. ff("focusout", "onBlur");
  2382. ff(cf, "onTransitionEnd");
  2383. ha("onMouseEnter", ["mouseout", "mouseover"]);
  2384. ha("onMouseLeave", ["mouseout", "mouseover"]);
  2385. ha("onPointerEnter", ["pointerout", "pointerover"]);
  2386. ha("onPointerLeave", ["pointerout", "pointerover"]);
  2387. fa("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" "));
  2388. fa("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));
  2389. fa("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]);
  2390. fa("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" "));
  2391. fa("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" "));
  2392. fa("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
  2393. var lf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), mf = new Set("cancel close invalid load scroll toggle".split(" ").concat(lf));
  2394. function nf(a, b, c) {
  2395. var d = a.type || "unknown-event";
  2396. a.currentTarget = c;
  2397. Ub(d, b, void 0, a);
  2398. a.currentTarget = null;
  2399. }
  2400. function se(a, b) {
  2401. b = 0 !== (b & 4);
  2402. for (var c = 0; c < a.length; c++) {
  2403. var d = a[c], e = d.event;
  2404. d = d.listeners;
  2405. a: {
  2406. var f2 = void 0;
  2407. if (b)
  2408. for (var g = d.length - 1; 0 <= g; g--) {
  2409. var h = d[g], k2 = h.instance, l2 = h.currentTarget;
  2410. h = h.listener;
  2411. if (k2 !== f2 && e.isPropagationStopped())
  2412. break a;
  2413. nf(e, h, l2);
  2414. f2 = k2;
  2415. }
  2416. else
  2417. for (g = 0; g < d.length; g++) {
  2418. h = d[g];
  2419. k2 = h.instance;
  2420. l2 = h.currentTarget;
  2421. h = h.listener;
  2422. if (k2 !== f2 && e.isPropagationStopped())
  2423. break a;
  2424. nf(e, h, l2);
  2425. f2 = k2;
  2426. }
  2427. }
  2428. }
  2429. if (Qb)
  2430. throw a = Rb, Qb = false, Rb = null, a;
  2431. }
  2432. function D(a, b) {
  2433. var c = b[of];
  2434. void 0 === c && (c = b[of] = /* @__PURE__ */ new Set());
  2435. var d = a + "__bubble";
  2436. c.has(d) || (pf(b, a, 2, false), c.add(d));
  2437. }
  2438. function qf(a, b, c) {
  2439. var d = 0;
  2440. b && (d |= 4);
  2441. pf(c, a, d, b);
  2442. }
  2443. var rf = "_reactListening" + Math.random().toString(36).slice(2);
  2444. function sf(a) {
  2445. if (!a[rf]) {
  2446. a[rf] = true;
  2447. da.forEach(function(b2) {
  2448. "selectionchange" !== b2 && (mf.has(b2) || qf(b2, false, a), qf(b2, true, a));
  2449. });
  2450. var b = 9 === a.nodeType ? a : a.ownerDocument;
  2451. null === b || b[rf] || (b[rf] = true, qf("selectionchange", false, b));
  2452. }
  2453. }
  2454. function pf(a, b, c, d) {
  2455. switch (jd(b)) {
  2456. case 1:
  2457. var e = ed;
  2458. break;
  2459. case 4:
  2460. e = gd;
  2461. break;
  2462. default:
  2463. e = fd;
  2464. }
  2465. c = e.bind(null, b, c, a);
  2466. e = void 0;
  2467. !Lb || "touchstart" !== b && "touchmove" !== b && "wheel" !== b || (e = true);
  2468. d ? void 0 !== e ? a.addEventListener(b, c, { capture: true, passive: e }) : a.addEventListener(b, c, true) : void 0 !== e ? a.addEventListener(b, c, { passive: e }) : a.addEventListener(b, c, false);
  2469. }
  2470. function hd(a, b, c, d, e) {
  2471. var f2 = d;
  2472. if (0 === (b & 1) && 0 === (b & 2) && null !== d)
  2473. a:
  2474. for (; ; ) {
  2475. if (null === d)
  2476. return;
  2477. var g = d.tag;
  2478. if (3 === g || 4 === g) {
  2479. var h = d.stateNode.containerInfo;
  2480. if (h === e || 8 === h.nodeType && h.parentNode === e)
  2481. break;
  2482. if (4 === g)
  2483. for (g = d.return; null !== g; ) {
  2484. var k2 = g.tag;
  2485. if (3 === k2 || 4 === k2) {
  2486. if (k2 = g.stateNode.containerInfo, k2 === e || 8 === k2.nodeType && k2.parentNode === e)
  2487. return;
  2488. }
  2489. g = g.return;
  2490. }
  2491. for (; null !== h; ) {
  2492. g = Wc(h);
  2493. if (null === g)
  2494. return;
  2495. k2 = g.tag;
  2496. if (5 === k2 || 6 === k2) {
  2497. d = f2 = g;
  2498. continue a;
  2499. }
  2500. h = h.parentNode;
  2501. }
  2502. }
  2503. d = d.return;
  2504. }
  2505. Jb(function() {
  2506. var d2 = f2, e2 = xb(c), g2 = [];
  2507. a: {
  2508. var h2 = df.get(a);
  2509. if (void 0 !== h2) {
  2510. var k3 = td, n2 = a;
  2511. switch (a) {
  2512. case "keypress":
  2513. if (0 === od(c))
  2514. break a;
  2515. case "keydown":
  2516. case "keyup":
  2517. k3 = Rd;
  2518. break;
  2519. case "focusin":
  2520. n2 = "focus";
  2521. k3 = Fd;
  2522. break;
  2523. case "focusout":
  2524. n2 = "blur";
  2525. k3 = Fd;
  2526. break;
  2527. case "beforeblur":
  2528. case "afterblur":
  2529. k3 = Fd;
  2530. break;
  2531. case "click":
  2532. if (2 === c.button)
  2533. break a;
  2534. case "auxclick":
  2535. case "dblclick":
  2536. case "mousedown":
  2537. case "mousemove":
  2538. case "mouseup":
  2539. case "mouseout":
  2540. case "mouseover":
  2541. case "contextmenu":
  2542. k3 = Bd;
  2543. break;
  2544. case "drag":
  2545. case "dragend":
  2546. case "dragenter":
  2547. case "dragexit":
  2548. case "dragleave":
  2549. case "dragover":
  2550. case "dragstart":
  2551. case "drop":
  2552. k3 = Dd;
  2553. break;
  2554. case "touchcancel":
  2555. case "touchend":
  2556. case "touchmove":
  2557. case "touchstart":
  2558. k3 = Vd;
  2559. break;
  2560. case $e:
  2561. case af:
  2562. case bf:
  2563. k3 = Hd;
  2564. break;
  2565. case cf:
  2566. k3 = Xd;
  2567. break;
  2568. case "scroll":
  2569. k3 = vd;
  2570. break;
  2571. case "wheel":
  2572. k3 = Zd;
  2573. break;
  2574. case "copy":
  2575. case "cut":
  2576. case "paste":
  2577. k3 = Jd;
  2578. break;
  2579. case "gotpointercapture":
  2580. case "lostpointercapture":
  2581. case "pointercancel":
  2582. case "pointerdown":
  2583. case "pointermove":
  2584. case "pointerout":
  2585. case "pointerover":
  2586. case "pointerup":
  2587. k3 = Td;
  2588. }
  2589. var t2 = 0 !== (b & 4), J2 = !t2 && "scroll" === a, x2 = t2 ? null !== h2 ? h2 + "Capture" : null : h2;
  2590. t2 = [];
  2591. for (var w2 = d2, u2; null !== w2; ) {
  2592. u2 = w2;
  2593. var F2 = u2.stateNode;
  2594. 5 === u2.tag && null !== F2 && (u2 = F2, null !== x2 && (F2 = Kb(w2, x2), null != F2 && t2.push(tf(w2, F2, u2))));
  2595. if (J2)
  2596. break;
  2597. w2 = w2.return;
  2598. }
  2599. 0 < t2.length && (h2 = new k3(h2, n2, null, c, e2), g2.push({ event: h2, listeners: t2 }));
  2600. }
  2601. }
  2602. if (0 === (b & 7)) {
  2603. a: {
  2604. h2 = "mouseover" === a || "pointerover" === a;
  2605. k3 = "mouseout" === a || "pointerout" === a;
  2606. if (h2 && c !== wb && (n2 = c.relatedTarget || c.fromElement) && (Wc(n2) || n2[uf]))
  2607. break a;
  2608. if (k3 || h2) {
  2609. h2 = e2.window === e2 ? e2 : (h2 = e2.ownerDocument) ? h2.defaultView || h2.parentWindow : window;
  2610. if (k3) {
  2611. if (n2 = c.relatedTarget || c.toElement, k3 = d2, n2 = n2 ? Wc(n2) : null, null !== n2 && (J2 = Vb(n2), n2 !== J2 || 5 !== n2.tag && 6 !== n2.tag))
  2612. n2 = null;
  2613. } else
  2614. k3 = null, n2 = d2;
  2615. if (k3 !== n2) {
  2616. t2 = Bd;
  2617. F2 = "onMouseLeave";
  2618. x2 = "onMouseEnter";
  2619. w2 = "mouse";
  2620. if ("pointerout" === a || "pointerover" === a)
  2621. t2 = Td, F2 = "onPointerLeave", x2 = "onPointerEnter", w2 = "pointer";
  2622. J2 = null == k3 ? h2 : ue(k3);
  2623. u2 = null == n2 ? h2 : ue(n2);
  2624. h2 = new t2(F2, w2 + "leave", k3, c, e2);
  2625. h2.target = J2;
  2626. h2.relatedTarget = u2;
  2627. F2 = null;
  2628. Wc(e2) === d2 && (t2 = new t2(x2, w2 + "enter", n2, c, e2), t2.target = u2, t2.relatedTarget = J2, F2 = t2);
  2629. J2 = F2;
  2630. if (k3 && n2)
  2631. b: {
  2632. t2 = k3;
  2633. x2 = n2;
  2634. w2 = 0;
  2635. for (u2 = t2; u2; u2 = vf(u2))
  2636. w2++;
  2637. u2 = 0;
  2638. for (F2 = x2; F2; F2 = vf(F2))
  2639. u2++;
  2640. for (; 0 < w2 - u2; )
  2641. t2 = vf(t2), w2--;
  2642. for (; 0 < u2 - w2; )
  2643. x2 = vf(x2), u2--;
  2644. for (; w2--; ) {
  2645. if (t2 === x2 || null !== x2 && t2 === x2.alternate)
  2646. break b;
  2647. t2 = vf(t2);
  2648. x2 = vf(x2);
  2649. }
  2650. t2 = null;
  2651. }
  2652. else
  2653. t2 = null;
  2654. null !== k3 && wf(g2, h2, k3, t2, false);
  2655. null !== n2 && null !== J2 && wf(g2, J2, n2, t2, true);
  2656. }
  2657. }
  2658. }
  2659. a: {
  2660. h2 = d2 ? ue(d2) : window;
  2661. k3 = h2.nodeName && h2.nodeName.toLowerCase();
  2662. if ("select" === k3 || "input" === k3 && "file" === h2.type)
  2663. var na = ve;
  2664. else if (me(h2))
  2665. if (we)
  2666. na = Fe;
  2667. else {
  2668. na = De;
  2669. var xa = Ce;
  2670. }
  2671. else
  2672. (k3 = h2.nodeName) && "input" === k3.toLowerCase() && ("checkbox" === h2.type || "radio" === h2.type) && (na = Ee);
  2673. if (na && (na = na(a, d2))) {
  2674. ne(g2, na, c, e2);
  2675. break a;
  2676. }
  2677. xa && xa(a, h2, d2);
  2678. "focusout" === a && (xa = h2._wrapperState) && xa.controlled && "number" === h2.type && cb(h2, "number", h2.value);
  2679. }
  2680. xa = d2 ? ue(d2) : window;
  2681. switch (a) {
  2682. case "focusin":
  2683. if (me(xa) || "true" === xa.contentEditable)
  2684. Qe = xa, Re = d2, Se = null;
  2685. break;
  2686. case "focusout":
  2687. Se = Re = Qe = null;
  2688. break;
  2689. case "mousedown":
  2690. Te = true;
  2691. break;
  2692. case "contextmenu":
  2693. case "mouseup":
  2694. case "dragend":
  2695. Te = false;
  2696. Ue(g2, c, e2);
  2697. break;
  2698. case "selectionchange":
  2699. if (Pe)
  2700. break;
  2701. case "keydown":
  2702. case "keyup":
  2703. Ue(g2, c, e2);
  2704. }
  2705. var $a;
  2706. if (ae)
  2707. b: {
  2708. switch (a) {
  2709. case "compositionstart":
  2710. var ba = "onCompositionStart";
  2711. break b;
  2712. case "compositionend":
  2713. ba = "onCompositionEnd";
  2714. break b;
  2715. case "compositionupdate":
  2716. ba = "onCompositionUpdate";
  2717. break b;
  2718. }
  2719. ba = void 0;
  2720. }
  2721. else
  2722. ie ? ge(a, c) && (ba = "onCompositionEnd") : "keydown" === a && 229 === c.keyCode && (ba = "onCompositionStart");
  2723. ba && (de && "ko" !== c.locale && (ie || "onCompositionStart" !== ba ? "onCompositionEnd" === ba && ie && ($a = nd()) : (kd = e2, ld = "value" in kd ? kd.value : kd.textContent, ie = true)), xa = oe(d2, ba), 0 < xa.length && (ba = new Ld(ba, a, null, c, e2), g2.push({ event: ba, listeners: xa }), $a ? ba.data = $a : ($a = he(c), null !== $a && (ba.data = $a))));
  2724. if ($a = ce ? je(a, c) : ke(a, c))
  2725. d2 = oe(d2, "onBeforeInput"), 0 < d2.length && (e2 = new Ld("onBeforeInput", "beforeinput", null, c, e2), g2.push({ event: e2, listeners: d2 }), e2.data = $a);
  2726. }
  2727. se(g2, b);
  2728. });
  2729. }
  2730. function tf(a, b, c) {
  2731. return { instance: a, listener: b, currentTarget: c };
  2732. }
  2733. function oe(a, b) {
  2734. for (var c = b + "Capture", d = []; null !== a; ) {
  2735. var e = a, f2 = e.stateNode;
  2736. 5 === e.tag && null !== f2 && (e = f2, f2 = Kb(a, c), null != f2 && d.unshift(tf(a, f2, e)), f2 = Kb(a, b), null != f2 && d.push(tf(a, f2, e)));
  2737. a = a.return;
  2738. }
  2739. return d;
  2740. }
  2741. function vf(a) {
  2742. if (null === a)
  2743. return null;
  2744. do
  2745. a = a.return;
  2746. while (a && 5 !== a.tag);
  2747. return a ? a : null;
  2748. }
  2749. function wf(a, b, c, d, e) {
  2750. for (var f2 = b._reactName, g = []; null !== c && c !== d; ) {
  2751. var h = c, k2 = h.alternate, l2 = h.stateNode;
  2752. if (null !== k2 && k2 === d)
  2753. break;
  2754. 5 === h.tag && null !== l2 && (h = l2, e ? (k2 = Kb(c, f2), null != k2 && g.unshift(tf(c, k2, h))) : e || (k2 = Kb(c, f2), null != k2 && g.push(tf(c, k2, h))));
  2755. c = c.return;
  2756. }
  2757. 0 !== g.length && a.push({ event: b, listeners: g });
  2758. }
  2759. var xf = /\r\n?/g, yf = /\u0000|\uFFFD/g;
  2760. function zf(a) {
  2761. return ("string" === typeof a ? a : "" + a).replace(xf, "\n").replace(yf, "");
  2762. }
  2763. function Af(a, b, c) {
  2764. b = zf(b);
  2765. if (zf(a) !== b && c)
  2766. throw Error(p(425));
  2767. }
  2768. function Bf() {
  2769. }
  2770. var Cf = null, Df = null;
  2771. function Ef(a, b) {
  2772. return "textarea" === a || "noscript" === a || "string" === typeof b.children || "number" === typeof b.children || "object" === typeof b.dangerouslySetInnerHTML && null !== b.dangerouslySetInnerHTML && null != b.dangerouslySetInnerHTML.__html;
  2773. }
  2774. var Ff = "function" === typeof setTimeout ? setTimeout : void 0, Gf = "function" === typeof clearTimeout ? clearTimeout : void 0, Hf = "function" === typeof Promise ? Promise : void 0, Jf = "function" === typeof queueMicrotask ? queueMicrotask : "undefined" !== typeof Hf ? function(a) {
  2775. return Hf.resolve(null).then(a).catch(If);
  2776. } : Ff;
  2777. function If(a) {
  2778. setTimeout(function() {
  2779. throw a;
  2780. });
  2781. }
  2782. function Kf(a, b) {
  2783. var c = b, d = 0;
  2784. do {
  2785. var e = c.nextSibling;
  2786. a.removeChild(c);
  2787. if (e && 8 === e.nodeType)
  2788. if (c = e.data, "/$" === c) {
  2789. if (0 === d) {
  2790. a.removeChild(e);
  2791. bd(b);
  2792. return;
  2793. }
  2794. d--;
  2795. } else
  2796. "$" !== c && "$?" !== c && "$!" !== c || d++;
  2797. c = e;
  2798. } while (c);
  2799. bd(b);
  2800. }
  2801. function Lf(a) {
  2802. for (; null != a; a = a.nextSibling) {
  2803. var b = a.nodeType;
  2804. if (1 === b || 3 === b)
  2805. break;
  2806. if (8 === b) {
  2807. b = a.data;
  2808. if ("$" === b || "$!" === b || "$?" === b)
  2809. break;
  2810. if ("/$" === b)
  2811. return null;
  2812. }
  2813. }
  2814. return a;
  2815. }
  2816. function Mf(a) {
  2817. a = a.previousSibling;
  2818. for (var b = 0; a; ) {
  2819. if (8 === a.nodeType) {
  2820. var c = a.data;
  2821. if ("$" === c || "$!" === c || "$?" === c) {
  2822. if (0 === b)
  2823. return a;
  2824. b--;
  2825. } else
  2826. "/$" === c && b++;
  2827. }
  2828. a = a.previousSibling;
  2829. }
  2830. return null;
  2831. }
  2832. var Nf = Math.random().toString(36).slice(2), Of = "__reactFiber$" + Nf, Pf = "__reactProps$" + Nf, uf = "__reactContainer$" + Nf, of = "__reactEvents$" + Nf, Qf = "__reactListeners$" + Nf, Rf = "__reactHandles$" + Nf;
  2833. function Wc(a) {
  2834. var b = a[Of];
  2835. if (b)
  2836. return b;
  2837. for (var c = a.parentNode; c; ) {
  2838. if (b = c[uf] || c[Of]) {
  2839. c = b.alternate;
  2840. if (null !== b.child || null !== c && null !== c.child)
  2841. for (a = Mf(a); null !== a; ) {
  2842. if (c = a[Of])
  2843. return c;
  2844. a = Mf(a);
  2845. }
  2846. return b;
  2847. }
  2848. a = c;
  2849. c = a.parentNode;
  2850. }
  2851. return null;
  2852. }
  2853. function Cb(a) {
  2854. a = a[Of] || a[uf];
  2855. return !a || 5 !== a.tag && 6 !== a.tag && 13 !== a.tag && 3 !== a.tag ? null : a;
  2856. }
  2857. function ue(a) {
  2858. if (5 === a.tag || 6 === a.tag)
  2859. return a.stateNode;
  2860. throw Error(p(33));
  2861. }
  2862. function Db(a) {
  2863. return a[Pf] || null;
  2864. }
  2865. var Sf = [], Tf = -1;
  2866. function Uf(a) {
  2867. return { current: a };
  2868. }
  2869. function E(a) {
  2870. 0 > Tf || (a.current = Sf[Tf], Sf[Tf] = null, Tf--);
  2871. }
  2872. function G(a, b) {
  2873. Tf++;
  2874. Sf[Tf] = a.current;
  2875. a.current = b;
  2876. }
  2877. var Vf = {}, H = Uf(Vf), Wf = Uf(false), Xf = Vf;
  2878. function Yf(a, b) {
  2879. var c = a.type.contextTypes;
  2880. if (!c)
  2881. return Vf;
  2882. var d = a.stateNode;
  2883. if (d && d.__reactInternalMemoizedUnmaskedChildContext === b)
  2884. return d.__reactInternalMemoizedMaskedChildContext;
  2885. var e = {}, f2;
  2886. for (f2 in c)
  2887. e[f2] = b[f2];
  2888. d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e);
  2889. return e;
  2890. }
  2891. function Zf(a) {
  2892. a = a.childContextTypes;
  2893. return null !== a && void 0 !== a;
  2894. }
  2895. function $f() {
  2896. E(Wf);
  2897. E(H);
  2898. }
  2899. function ag(a, b, c) {
  2900. if (H.current !== Vf)
  2901. throw Error(p(168));
  2902. G(H, b);
  2903. G(Wf, c);
  2904. }
  2905. function bg(a, b, c) {
  2906. var d = a.stateNode;
  2907. b = b.childContextTypes;
  2908. if ("function" !== typeof d.getChildContext)
  2909. return c;
  2910. d = d.getChildContext();
  2911. for (var e in d)
  2912. if (!(e in b))
  2913. throw Error(p(108, Ra(a) || "Unknown", e));
  2914. return A({}, c, d);
  2915. }
  2916. function cg(a) {
  2917. a = (a = a.stateNode) && a.__reactInternalMemoizedMergedChildContext || Vf;
  2918. Xf = H.current;
  2919. G(H, a);
  2920. G(Wf, Wf.current);
  2921. return true;
  2922. }
  2923. function dg(a, b, c) {
  2924. var d = a.stateNode;
  2925. if (!d)
  2926. throw Error(p(169));
  2927. c ? (a = bg(a, b, Xf), d.__reactInternalMemoizedMergedChildContext = a, E(Wf), E(H), G(H, a)) : E(Wf);
  2928. G(Wf, c);
  2929. }
  2930. var eg = null, fg = false, gg = false;
  2931. function hg(a) {
  2932. null === eg ? eg = [a] : eg.push(a);
  2933. }
  2934. function ig(a) {
  2935. fg = true;
  2936. hg(a);
  2937. }
  2938. function jg() {
  2939. if (!gg && null !== eg) {
  2940. gg = true;
  2941. var a = 0, b = C;
  2942. try {
  2943. var c = eg;
  2944. for (C = 1; a < c.length; a++) {
  2945. var d = c[a];
  2946. do
  2947. d = d(true);
  2948. while (null !== d);
  2949. }
  2950. eg = null;
  2951. fg = false;
  2952. } catch (e) {
  2953. throw null !== eg && (eg = eg.slice(a + 1)), ac(fc, jg), e;
  2954. } finally {
  2955. C = b, gg = false;
  2956. }
  2957. }
  2958. return null;
  2959. }
  2960. var kg = [], lg = 0, mg = null, ng = 0, og = [], pg = 0, qg = null, rg = 1, sg = "";
  2961. function tg(a, b) {
  2962. kg[lg++] = ng;
  2963. kg[lg++] = mg;
  2964. mg = a;
  2965. ng = b;
  2966. }
  2967. function ug(a, b, c) {
  2968. og[pg++] = rg;
  2969. og[pg++] = sg;
  2970. og[pg++] = qg;
  2971. qg = a;
  2972. var d = rg;
  2973. a = sg;
  2974. var e = 32 - oc(d) - 1;
  2975. d &= ~(1 << e);
  2976. c += 1;
  2977. var f2 = 32 - oc(b) + e;
  2978. if (30 < f2) {
  2979. var g = e - e % 5;
  2980. f2 = (d & (1 << g) - 1).toString(32);
  2981. d >>= g;
  2982. e -= g;
  2983. rg = 1 << 32 - oc(b) + e | c << e | d;
  2984. sg = f2 + a;
  2985. } else
  2986. rg = 1 << f2 | c << e | d, sg = a;
  2987. }
  2988. function vg(a) {
  2989. null !== a.return && (tg(a, 1), ug(a, 1, 0));
  2990. }
  2991. function wg(a) {
  2992. for (; a === mg; )
  2993. mg = kg[--lg], kg[lg] = null, ng = kg[--lg], kg[lg] = null;
  2994. for (; a === qg; )
  2995. qg = og[--pg], og[pg] = null, sg = og[--pg], og[pg] = null, rg = og[--pg], og[pg] = null;
  2996. }
  2997. var xg = null, yg = null, I = false, zg = null;
  2998. function Ag(a, b) {
  2999. var c = Bg(5, null, null, 0);
  3000. c.elementType = "DELETED";
  3001. c.stateNode = b;
  3002. c.return = a;
  3003. b = a.deletions;
  3004. null === b ? (a.deletions = [c], a.flags |= 16) : b.push(c);
  3005. }
  3006. function Cg(a, b) {
  3007. switch (a.tag) {
  3008. case 5:
  3009. var c = a.type;
  3010. b = 1 !== b.nodeType || c.toLowerCase() !== b.nodeName.toLowerCase() ? null : b;
  3011. return null !== b ? (a.stateNode = b, xg = a, yg = Lf(b.firstChild), true) : false;
  3012. case 6:
  3013. return b = "" === a.pendingProps || 3 !== b.nodeType ? null : b, null !== b ? (a.stateNode = b, xg = a, yg = null, true) : false;
  3014. case 13:
  3015. return b = 8 !== b.nodeType ? null : b, null !== b ? (c = null !== qg ? { id: rg, overflow: sg } : null, a.memoizedState = { dehydrated: b, treeContext: c, retryLane: 1073741824 }, c = Bg(18, null, null, 0), c.stateNode = b, c.return = a, a.child = c, xg = a, yg = null, true) : false;
  3016. default:
  3017. return false;
  3018. }
  3019. }
  3020. function Dg(a) {
  3021. return 0 !== (a.mode & 1) && 0 === (a.flags & 128);
  3022. }
  3023. function Eg(a) {
  3024. if (I) {
  3025. var b = yg;
  3026. if (b) {
  3027. var c = b;
  3028. if (!Cg(a, b)) {
  3029. if (Dg(a))
  3030. throw Error(p(418));
  3031. b = Lf(c.nextSibling);
  3032. var d = xg;
  3033. b && Cg(a, b) ? Ag(d, c) : (a.flags = a.flags & -4097 | 2, I = false, xg = a);
  3034. }
  3035. } else {
  3036. if (Dg(a))
  3037. throw Error(p(418));
  3038. a.flags = a.flags & -4097 | 2;
  3039. I = false;
  3040. xg = a;
  3041. }
  3042. }
  3043. }
  3044. function Fg(a) {
  3045. for (a = a.return; null !== a && 5 !== a.tag && 3 !== a.tag && 13 !== a.tag; )
  3046. a = a.return;
  3047. xg = a;
  3048. }
  3049. function Gg(a) {
  3050. if (a !== xg)
  3051. return false;
  3052. if (!I)
  3053. return Fg(a), I = true, false;
  3054. var b;
  3055. (b = 3 !== a.tag) && !(b = 5 !== a.tag) && (b = a.type, b = "head" !== b && "body" !== b && !Ef(a.type, a.memoizedProps));
  3056. if (b && (b = yg)) {
  3057. if (Dg(a))
  3058. throw Hg(), Error(p(418));
  3059. for (; b; )
  3060. Ag(a, b), b = Lf(b.nextSibling);
  3061. }
  3062. Fg(a);
  3063. if (13 === a.tag) {
  3064. a = a.memoizedState;
  3065. a = null !== a ? a.dehydrated : null;
  3066. if (!a)
  3067. throw Error(p(317));
  3068. a: {
  3069. a = a.nextSibling;
  3070. for (b = 0; a; ) {
  3071. if (8 === a.nodeType) {
  3072. var c = a.data;
  3073. if ("/$" === c) {
  3074. if (0 === b) {
  3075. yg = Lf(a.nextSibling);
  3076. break a;
  3077. }
  3078. b--;
  3079. } else
  3080. "$" !== c && "$!" !== c && "$?" !== c || b++;
  3081. }
  3082. a = a.nextSibling;
  3083. }
  3084. yg = null;
  3085. }
  3086. } else
  3087. yg = xg ? Lf(a.stateNode.nextSibling) : null;
  3088. return true;
  3089. }
  3090. function Hg() {
  3091. for (var a = yg; a; )
  3092. a = Lf(a.nextSibling);
  3093. }
  3094. function Ig() {
  3095. yg = xg = null;
  3096. I = false;
  3097. }
  3098. function Jg(a) {
  3099. null === zg ? zg = [a] : zg.push(a);
  3100. }
  3101. var Kg = ua.ReactCurrentBatchConfig;
  3102. function Lg(a, b) {
  3103. if (a && a.defaultProps) {
  3104. b = A({}, b);
  3105. a = a.defaultProps;
  3106. for (var c in a)
  3107. void 0 === b[c] && (b[c] = a[c]);
  3108. return b;
  3109. }
  3110. return b;
  3111. }
  3112. var Mg = Uf(null), Ng = null, Og = null, Pg = null;
  3113. function Qg() {
  3114. Pg = Og = Ng = null;
  3115. }
  3116. function Rg(a) {
  3117. var b = Mg.current;
  3118. E(Mg);
  3119. a._currentValue = b;
  3120. }
  3121. function Sg(a, b, c) {
  3122. for (; null !== a; ) {
  3123. var d = a.alternate;
  3124. (a.childLanes & b) !== b ? (a.childLanes |= b, null !== d && (d.childLanes |= b)) : null !== d && (d.childLanes & b) !== b && (d.childLanes |= b);
  3125. if (a === c)
  3126. break;
  3127. a = a.return;
  3128. }
  3129. }
  3130. function Tg(a, b) {
  3131. Ng = a;
  3132. Pg = Og = null;
  3133. a = a.dependencies;
  3134. null !== a && null !== a.firstContext && (0 !== (a.lanes & b) && (Ug = true), a.firstContext = null);
  3135. }
  3136. function Vg(a) {
  3137. var b = a._currentValue;
  3138. if (Pg !== a)
  3139. if (a = { context: a, memoizedValue: b, next: null }, null === Og) {
  3140. if (null === Ng)
  3141. throw Error(p(308));
  3142. Og = a;
  3143. Ng.dependencies = { lanes: 0, firstContext: a };
  3144. } else
  3145. Og = Og.next = a;
  3146. return b;
  3147. }
  3148. var Wg = null;
  3149. function Xg(a) {
  3150. null === Wg ? Wg = [a] : Wg.push(a);
  3151. }
  3152. function Yg(a, b, c, d) {
  3153. var e = b.interleaved;
  3154. null === e ? (c.next = c, Xg(b)) : (c.next = e.next, e.next = c);
  3155. b.interleaved = c;
  3156. return Zg(a, d);
  3157. }
  3158. function Zg(a, b) {
  3159. a.lanes |= b;
  3160. var c = a.alternate;
  3161. null !== c && (c.lanes |= b);
  3162. c = a;
  3163. for (a = a.return; null !== a; )
  3164. a.childLanes |= b, c = a.alternate, null !== c && (c.childLanes |= b), c = a, a = a.return;
  3165. return 3 === c.tag ? c.stateNode : null;
  3166. }
  3167. var $g = false;
  3168. function ah(a) {
  3169. a.updateQueue = { baseState: a.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null };
  3170. }
  3171. function bh(a, b) {
  3172. a = a.updateQueue;
  3173. b.updateQueue === a && (b.updateQueue = { baseState: a.baseState, firstBaseUpdate: a.firstBaseUpdate, lastBaseUpdate: a.lastBaseUpdate, shared: a.shared, effects: a.effects });
  3174. }
  3175. function ch(a, b) {
  3176. return { eventTime: a, lane: b, tag: 0, payload: null, callback: null, next: null };
  3177. }
  3178. function dh(a, b, c) {
  3179. var d = a.updateQueue;
  3180. if (null === d)
  3181. return null;
  3182. d = d.shared;
  3183. if (0 !== (K & 2)) {
  3184. var e = d.pending;
  3185. null === e ? b.next = b : (b.next = e.next, e.next = b);
  3186. d.pending = b;
  3187. return Zg(a, c);
  3188. }
  3189. e = d.interleaved;
  3190. null === e ? (b.next = b, Xg(d)) : (b.next = e.next, e.next = b);
  3191. d.interleaved = b;
  3192. return Zg(a, c);
  3193. }
  3194. function eh(a, b, c) {
  3195. b = b.updateQueue;
  3196. if (null !== b && (b = b.shared, 0 !== (c & 4194240))) {
  3197. var d = b.lanes;
  3198. d &= a.pendingLanes;
  3199. c |= d;
  3200. b.lanes = c;
  3201. Cc(a, c);
  3202. }
  3203. }
  3204. function fh(a, b) {
  3205. var c = a.updateQueue, d = a.alternate;
  3206. if (null !== d && (d = d.updateQueue, c === d)) {
  3207. var e = null, f2 = null;
  3208. c = c.firstBaseUpdate;
  3209. if (null !== c) {
  3210. do {
  3211. var g = { eventTime: c.eventTime, lane: c.lane, tag: c.tag, payload: c.payload, callback: c.callback, next: null };
  3212. null === f2 ? e = f2 = g : f2 = f2.next = g;
  3213. c = c.next;
  3214. } while (null !== c);
  3215. null === f2 ? e = f2 = b : f2 = f2.next = b;
  3216. } else
  3217. e = f2 = b;
  3218. c = { baseState: d.baseState, firstBaseUpdate: e, lastBaseUpdate: f2, shared: d.shared, effects: d.effects };
  3219. a.updateQueue = c;
  3220. return;
  3221. }
  3222. a = c.lastBaseUpdate;
  3223. null === a ? c.firstBaseUpdate = b : a.next = b;
  3224. c.lastBaseUpdate = b;
  3225. }
  3226. function gh(a, b, c, d) {
  3227. var e = a.updateQueue;
  3228. $g = false;
  3229. var f2 = e.firstBaseUpdate, g = e.lastBaseUpdate, h = e.shared.pending;
  3230. if (null !== h) {
  3231. e.shared.pending = null;
  3232. var k2 = h, l2 = k2.next;
  3233. k2.next = null;
  3234. null === g ? f2 = l2 : g.next = l2;
  3235. g = k2;
  3236. var m2 = a.alternate;
  3237. null !== m2 && (m2 = m2.updateQueue, h = m2.lastBaseUpdate, h !== g && (null === h ? m2.firstBaseUpdate = l2 : h.next = l2, m2.lastBaseUpdate = k2));
  3238. }
  3239. if (null !== f2) {
  3240. var q2 = e.baseState;
  3241. g = 0;
  3242. m2 = l2 = k2 = null;
  3243. h = f2;
  3244. do {
  3245. var r2 = h.lane, y2 = h.eventTime;
  3246. if ((d & r2) === r2) {
  3247. null !== m2 && (m2 = m2.next = {
  3248. eventTime: y2,
  3249. lane: 0,
  3250. tag: h.tag,
  3251. payload: h.payload,
  3252. callback: h.callback,
  3253. next: null
  3254. });
  3255. a: {
  3256. var n2 = a, t2 = h;
  3257. r2 = b;
  3258. y2 = c;
  3259. switch (t2.tag) {
  3260. case 1:
  3261. n2 = t2.payload;
  3262. if ("function" === typeof n2) {
  3263. q2 = n2.call(y2, q2, r2);
  3264. break a;
  3265. }
  3266. q2 = n2;
  3267. break a;
  3268. case 3:
  3269. n2.flags = n2.flags & -65537 | 128;
  3270. case 0:
  3271. n2 = t2.payload;
  3272. r2 = "function" === typeof n2 ? n2.call(y2, q2, r2) : n2;
  3273. if (null === r2 || void 0 === r2)
  3274. break a;
  3275. q2 = A({}, q2, r2);
  3276. break a;
  3277. case 2:
  3278. $g = true;
  3279. }
  3280. }
  3281. null !== h.callback && 0 !== h.lane && (a.flags |= 64, r2 = e.effects, null === r2 ? e.effects = [h] : r2.push(h));
  3282. } else
  3283. y2 = { eventTime: y2, lane: r2, tag: h.tag, payload: h.payload, callback: h.callback, next: null }, null === m2 ? (l2 = m2 = y2, k2 = q2) : m2 = m2.next = y2, g |= r2;
  3284. h = h.next;
  3285. if (null === h)
  3286. if (h = e.shared.pending, null === h)
  3287. break;
  3288. else
  3289. r2 = h, h = r2.next, r2.next = null, e.lastBaseUpdate = r2, e.shared.pending = null;
  3290. } while (1);
  3291. null === m2 && (k2 = q2);
  3292. e.baseState = k2;
  3293. e.firstBaseUpdate = l2;
  3294. e.lastBaseUpdate = m2;
  3295. b = e.shared.interleaved;
  3296. if (null !== b) {
  3297. e = b;
  3298. do
  3299. g |= e.lane, e = e.next;
  3300. while (e !== b);
  3301. } else
  3302. null === f2 && (e.shared.lanes = 0);
  3303. hh |= g;
  3304. a.lanes = g;
  3305. a.memoizedState = q2;
  3306. }
  3307. }
  3308. function ih(a, b, c) {
  3309. a = b.effects;
  3310. b.effects = null;
  3311. if (null !== a)
  3312. for (b = 0; b < a.length; b++) {
  3313. var d = a[b], e = d.callback;
  3314. if (null !== e) {
  3315. d.callback = null;
  3316. d = c;
  3317. if ("function" !== typeof e)
  3318. throw Error(p(191, e));
  3319. e.call(d);
  3320. }
  3321. }
  3322. }
  3323. var jh = new aa.Component().refs;
  3324. function kh(a, b, c, d) {
  3325. b = a.memoizedState;
  3326. c = c(d, b);
  3327. c = null === c || void 0 === c ? b : A({}, b, c);
  3328. a.memoizedState = c;
  3329. 0 === a.lanes && (a.updateQueue.baseState = c);
  3330. }
  3331. var nh = { isMounted: function(a) {
  3332. return (a = a._reactInternals) ? Vb(a) === a : false;
  3333. }, enqueueSetState: function(a, b, c) {
  3334. a = a._reactInternals;
  3335. var d = L(), e = lh(a), f2 = ch(d, e);
  3336. f2.payload = b;
  3337. void 0 !== c && null !== c && (f2.callback = c);
  3338. b = dh(a, f2, e);
  3339. null !== b && (mh(b, a, e, d), eh(b, a, e));
  3340. }, enqueueReplaceState: function(a, b, c) {
  3341. a = a._reactInternals;
  3342. var d = L(), e = lh(a), f2 = ch(d, e);
  3343. f2.tag = 1;
  3344. f2.payload = b;
  3345. void 0 !== c && null !== c && (f2.callback = c);
  3346. b = dh(a, f2, e);
  3347. null !== b && (mh(b, a, e, d), eh(b, a, e));
  3348. }, enqueueForceUpdate: function(a, b) {
  3349. a = a._reactInternals;
  3350. var c = L(), d = lh(a), e = ch(c, d);
  3351. e.tag = 2;
  3352. void 0 !== b && null !== b && (e.callback = b);
  3353. b = dh(a, e, d);
  3354. null !== b && (mh(b, a, d, c), eh(b, a, d));
  3355. } };
  3356. function oh(a, b, c, d, e, f2, g) {
  3357. a = a.stateNode;
  3358. return "function" === typeof a.shouldComponentUpdate ? a.shouldComponentUpdate(d, f2, g) : b.prototype && b.prototype.isPureReactComponent ? !Ie(c, d) || !Ie(e, f2) : true;
  3359. }
  3360. function ph(a, b, c) {
  3361. var d = false, e = Vf;
  3362. var f2 = b.contextType;
  3363. "object" === typeof f2 && null !== f2 ? f2 = Vg(f2) : (e = Zf(b) ? Xf : H.current, d = b.contextTypes, f2 = (d = null !== d && void 0 !== d) ? Yf(a, e) : Vf);
  3364. b = new b(c, f2);
  3365. a.memoizedState = null !== b.state && void 0 !== b.state ? b.state : null;
  3366. b.updater = nh;
  3367. a.stateNode = b;
  3368. b._reactInternals = a;
  3369. d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = e, a.__reactInternalMemoizedMaskedChildContext = f2);
  3370. return b;
  3371. }
  3372. function qh(a, b, c, d) {
  3373. a = b.state;
  3374. "function" === typeof b.componentWillReceiveProps && b.componentWillReceiveProps(c, d);
  3375. "function" === typeof b.UNSAFE_componentWillReceiveProps && b.UNSAFE_componentWillReceiveProps(c, d);
  3376. b.state !== a && nh.enqueueReplaceState(b, b.state, null);
  3377. }
  3378. function rh(a, b, c, d) {
  3379. var e = a.stateNode;
  3380. e.props = c;
  3381. e.state = a.memoizedState;
  3382. e.refs = jh;
  3383. ah(a);
  3384. var f2 = b.contextType;
  3385. "object" === typeof f2 && null !== f2 ? e.context = Vg(f2) : (f2 = Zf(b) ? Xf : H.current, e.context = Yf(a, f2));
  3386. e.state = a.memoizedState;
  3387. f2 = b.getDerivedStateFromProps;
  3388. "function" === typeof f2 && (kh(a, b, f2, c), e.state = a.memoizedState);
  3389. "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 && nh.enqueueReplaceState(e, e.state, null), gh(a, c, e, d), e.state = a.memoizedState);
  3390. "function" === typeof e.componentDidMount && (a.flags |= 4194308);
  3391. }
  3392. function sh(a, b, c) {
  3393. a = c.ref;
  3394. if (null !== a && "function" !== typeof a && "object" !== typeof a) {
  3395. if (c._owner) {
  3396. c = c._owner;
  3397. if (c) {
  3398. if (1 !== c.tag)
  3399. throw Error(p(309));
  3400. var d = c.stateNode;
  3401. }
  3402. if (!d)
  3403. throw Error(p(147, a));
  3404. var e = d, f2 = "" + a;
  3405. if (null !== b && null !== b.ref && "function" === typeof b.ref && b.ref._stringRef === f2)
  3406. return b.ref;
  3407. b = function(a2) {
  3408. var b2 = e.refs;
  3409. b2 === jh && (b2 = e.refs = {});
  3410. null === a2 ? delete b2[f2] : b2[f2] = a2;
  3411. };
  3412. b._stringRef = f2;
  3413. return b;
  3414. }
  3415. if ("string" !== typeof a)
  3416. throw Error(p(284));
  3417. if (!c._owner)
  3418. throw Error(p(290, a));
  3419. }
  3420. return a;
  3421. }
  3422. function th(a, b) {
  3423. a = Object.prototype.toString.call(b);
  3424. throw Error(p(31, "[object Object]" === a ? "object with keys {" + Object.keys(b).join(", ") + "}" : a));
  3425. }
  3426. function uh(a) {
  3427. var b = a._init;
  3428. return b(a._payload);
  3429. }
  3430. function vh(a) {
  3431. function b(b2, c2) {
  3432. if (a) {
  3433. var d2 = b2.deletions;
  3434. null === d2 ? (b2.deletions = [c2], b2.flags |= 16) : d2.push(c2);
  3435. }
  3436. }
  3437. function c(c2, d2) {
  3438. if (!a)
  3439. return null;
  3440. for (; null !== d2; )
  3441. b(c2, d2), d2 = d2.sibling;
  3442. return null;
  3443. }
  3444. function d(a2, b2) {
  3445. for (a2 = /* @__PURE__ */ new Map(); null !== b2; )
  3446. null !== b2.key ? a2.set(b2.key, b2) : a2.set(b2.index, b2), b2 = b2.sibling;
  3447. return a2;
  3448. }
  3449. function e(a2, b2) {
  3450. a2 = wh(a2, b2);
  3451. a2.index = 0;
  3452. a2.sibling = null;
  3453. return a2;
  3454. }
  3455. function f2(b2, c2, d2) {
  3456. b2.index = d2;
  3457. if (!a)
  3458. return b2.flags |= 1048576, c2;
  3459. d2 = b2.alternate;
  3460. if (null !== d2)
  3461. return d2 = d2.index, d2 < c2 ? (b2.flags |= 2, c2) : d2;
  3462. b2.flags |= 2;
  3463. return c2;
  3464. }
  3465. function g(b2) {
  3466. a && null === b2.alternate && (b2.flags |= 2);
  3467. return b2;
  3468. }
  3469. function h(a2, b2, c2, d2) {
  3470. if (null === b2 || 6 !== b2.tag)
  3471. return b2 = xh(c2, a2.mode, d2), b2.return = a2, b2;
  3472. b2 = e(b2, c2);
  3473. b2.return = a2;
  3474. return b2;
  3475. }
  3476. function k2(a2, b2, c2, d2) {
  3477. var f3 = c2.type;
  3478. if (f3 === ya)
  3479. return m2(a2, b2, c2.props.children, d2, c2.key);
  3480. if (null !== b2 && (b2.elementType === f3 || "object" === typeof f3 && null !== f3 && f3.$$typeof === Ha && uh(f3) === b2.type))
  3481. return d2 = e(b2, c2.props), d2.ref = sh(a2, b2, c2), d2.return = a2, d2;
  3482. d2 = yh(c2.type, c2.key, c2.props, null, a2.mode, d2);
  3483. d2.ref = sh(a2, b2, c2);
  3484. d2.return = a2;
  3485. return d2;
  3486. }
  3487. function l2(a2, b2, c2, d2) {
  3488. if (null === b2 || 4 !== b2.tag || b2.stateNode.containerInfo !== c2.containerInfo || b2.stateNode.implementation !== c2.implementation)
  3489. return b2 = zh(c2, a2.mode, d2), b2.return = a2, b2;
  3490. b2 = e(b2, c2.children || []);
  3491. b2.return = a2;
  3492. return b2;
  3493. }
  3494. function m2(a2, b2, c2, d2, f3) {
  3495. if (null === b2 || 7 !== b2.tag)
  3496. return b2 = Ah(c2, a2.mode, d2, f3), b2.return = a2, b2;
  3497. b2 = e(b2, c2);
  3498. b2.return = a2;
  3499. return b2;
  3500. }
  3501. function q2(a2, b2, c2) {
  3502. if ("string" === typeof b2 && "" !== b2 || "number" === typeof b2)
  3503. return b2 = xh("" + b2, a2.mode, c2), b2.return = a2, b2;
  3504. if ("object" === typeof b2 && null !== b2) {
  3505. switch (b2.$$typeof) {
  3506. case va:
  3507. return c2 = yh(b2.type, b2.key, b2.props, null, a2.mode, c2), c2.ref = sh(a2, null, b2), c2.return = a2, c2;
  3508. case wa:
  3509. return b2 = zh(b2, a2.mode, c2), b2.return = a2, b2;
  3510. case Ha:
  3511. var d2 = b2._init;
  3512. return q2(a2, d2(b2._payload), c2);
  3513. }
  3514. if (eb(b2) || Ka(b2))
  3515. return b2 = Ah(b2, a2.mode, c2, null), b2.return = a2, b2;
  3516. th(a2, b2);
  3517. }
  3518. return null;
  3519. }
  3520. function r2(a2, b2, c2, d2) {
  3521. var e2 = null !== b2 ? b2.key : null;
  3522. if ("string" === typeof c2 && "" !== c2 || "number" === typeof c2)
  3523. return null !== e2 ? null : h(a2, b2, "" + c2, d2);
  3524. if ("object" === typeof c2 && null !== c2) {
  3525. switch (c2.$$typeof) {
  3526. case va:
  3527. return c2.key === e2 ? k2(a2, b2, c2, d2) : null;
  3528. case wa:
  3529. return c2.key === e2 ? l2(a2, b2, c2, d2) : null;
  3530. case Ha:
  3531. return e2 = c2._init, r2(
  3532. a2,
  3533. b2,
  3534. e2(c2._payload),
  3535. d2
  3536. );
  3537. }
  3538. if (eb(c2) || Ka(c2))
  3539. return null !== e2 ? null : m2(a2, b2, c2, d2, null);
  3540. th(a2, c2);
  3541. }
  3542. return null;
  3543. }
  3544. function y2(a2, b2, c2, d2, e2) {
  3545. if ("string" === typeof d2 && "" !== d2 || "number" === typeof d2)
  3546. return a2 = a2.get(c2) || null, h(b2, a2, "" + d2, e2);
  3547. if ("object" === typeof d2 && null !== d2) {
  3548. switch (d2.$$typeof) {
  3549. case va:
  3550. return a2 = a2.get(null === d2.key ? c2 : d2.key) || null, k2(b2, a2, d2, e2);
  3551. case wa:
  3552. return a2 = a2.get(null === d2.key ? c2 : d2.key) || null, l2(b2, a2, d2, e2);
  3553. case Ha:
  3554. var f3 = d2._init;
  3555. return y2(a2, b2, c2, f3(d2._payload), e2);
  3556. }
  3557. if (eb(d2) || Ka(d2))
  3558. return a2 = a2.get(c2) || null, m2(b2, a2, d2, e2, null);
  3559. th(b2, d2);
  3560. }
  3561. return null;
  3562. }
  3563. function n2(e2, g2, h2, k3) {
  3564. for (var l3 = null, m3 = null, u2 = g2, w2 = g2 = 0, x2 = null; null !== u2 && w2 < h2.length; w2++) {
  3565. u2.index > w2 ? (x2 = u2, u2 = null) : x2 = u2.sibling;
  3566. var n3 = r2(e2, u2, h2[w2], k3);
  3567. if (null === n3) {
  3568. null === u2 && (u2 = x2);
  3569. break;
  3570. }
  3571. a && u2 && null === n3.alternate && b(e2, u2);
  3572. g2 = f2(n3, g2, w2);
  3573. null === m3 ? l3 = n3 : m3.sibling = n3;
  3574. m3 = n3;
  3575. u2 = x2;
  3576. }
  3577. if (w2 === h2.length)
  3578. return c(e2, u2), I && tg(e2, w2), l3;
  3579. if (null === u2) {
  3580. for (; w2 < h2.length; w2++)
  3581. u2 = q2(e2, h2[w2], k3), null !== u2 && (g2 = f2(u2, g2, w2), null === m3 ? l3 = u2 : m3.sibling = u2, m3 = u2);
  3582. I && tg(e2, w2);
  3583. return l3;
  3584. }
  3585. for (u2 = d(e2, u2); w2 < h2.length; w2++)
  3586. x2 = y2(u2, e2, w2, h2[w2], k3), null !== x2 && (a && null !== x2.alternate && u2.delete(null === x2.key ? w2 : x2.key), g2 = f2(x2, g2, w2), null === m3 ? l3 = x2 : m3.sibling = x2, m3 = x2);
  3587. a && u2.forEach(function(a2) {
  3588. return b(e2, a2);
  3589. });
  3590. I && tg(e2, w2);
  3591. return l3;
  3592. }
  3593. function t2(e2, g2, h2, k3) {
  3594. var l3 = Ka(h2);
  3595. if ("function" !== typeof l3)
  3596. throw Error(p(150));
  3597. h2 = l3.call(h2);
  3598. if (null == h2)
  3599. throw Error(p(151));
  3600. for (var u2 = l3 = null, m3 = g2, w2 = g2 = 0, x2 = null, n3 = h2.next(); null !== m3 && !n3.done; w2++, n3 = h2.next()) {
  3601. m3.index > w2 ? (x2 = m3, m3 = null) : x2 = m3.sibling;
  3602. var t3 = r2(e2, m3, n3.value, k3);
  3603. if (null === t3) {
  3604. null === m3 && (m3 = x2);
  3605. break;
  3606. }
  3607. a && m3 && null === t3.alternate && b(e2, m3);
  3608. g2 = f2(t3, g2, w2);
  3609. null === u2 ? l3 = t3 : u2.sibling = t3;
  3610. u2 = t3;
  3611. m3 = x2;
  3612. }
  3613. if (n3.done)
  3614. return c(
  3615. e2,
  3616. m3
  3617. ), I && tg(e2, w2), l3;
  3618. if (null === m3) {
  3619. for (; !n3.done; w2++, n3 = h2.next())
  3620. n3 = q2(e2, n3.value, k3), null !== n3 && (g2 = f2(n3, g2, w2), null === u2 ? l3 = n3 : u2.sibling = n3, u2 = n3);
  3621. I && tg(e2, w2);
  3622. return l3;
  3623. }
  3624. for (m3 = d(e2, m3); !n3.done; w2++, n3 = h2.next())
  3625. n3 = y2(m3, e2, w2, n3.value, k3), null !== n3 && (a && null !== n3.alternate && m3.delete(null === n3.key ? w2 : n3.key), g2 = f2(n3, g2, w2), null === u2 ? l3 = n3 : u2.sibling = n3, u2 = n3);
  3626. a && m3.forEach(function(a2) {
  3627. return b(e2, a2);
  3628. });
  3629. I && tg(e2, w2);
  3630. return l3;
  3631. }
  3632. function J2(a2, d2, f3, h2) {
  3633. "object" === typeof f3 && null !== f3 && f3.type === ya && null === f3.key && (f3 = f3.props.children);
  3634. if ("object" === typeof f3 && null !== f3) {
  3635. switch (f3.$$typeof) {
  3636. case va:
  3637. a: {
  3638. for (var k3 = f3.key, l3 = d2; null !== l3; ) {
  3639. if (l3.key === k3) {
  3640. k3 = f3.type;
  3641. if (k3 === ya) {
  3642. if (7 === l3.tag) {
  3643. c(a2, l3.sibling);
  3644. d2 = e(l3, f3.props.children);
  3645. d2.return = a2;
  3646. a2 = d2;
  3647. break a;
  3648. }
  3649. } else if (l3.elementType === k3 || "object" === typeof k3 && null !== k3 && k3.$$typeof === Ha && uh(k3) === l3.type) {
  3650. c(a2, l3.sibling);
  3651. d2 = e(l3, f3.props);
  3652. d2.ref = sh(a2, l3, f3);
  3653. d2.return = a2;
  3654. a2 = d2;
  3655. break a;
  3656. }
  3657. c(a2, l3);
  3658. break;
  3659. } else
  3660. b(a2, l3);
  3661. l3 = l3.sibling;
  3662. }
  3663. f3.type === ya ? (d2 = Ah(f3.props.children, a2.mode, h2, f3.key), d2.return = a2, a2 = d2) : (h2 = yh(f3.type, f3.key, f3.props, null, a2.mode, h2), h2.ref = sh(a2, d2, f3), h2.return = a2, a2 = h2);
  3664. }
  3665. return g(a2);
  3666. case wa:
  3667. a: {
  3668. for (l3 = f3.key; null !== d2; ) {
  3669. if (d2.key === l3)
  3670. if (4 === d2.tag && d2.stateNode.containerInfo === f3.containerInfo && d2.stateNode.implementation === f3.implementation) {
  3671. c(a2, d2.sibling);
  3672. d2 = e(d2, f3.children || []);
  3673. d2.return = a2;
  3674. a2 = d2;
  3675. break a;
  3676. } else {
  3677. c(a2, d2);
  3678. break;
  3679. }
  3680. else
  3681. b(a2, d2);
  3682. d2 = d2.sibling;
  3683. }
  3684. d2 = zh(f3, a2.mode, h2);
  3685. d2.return = a2;
  3686. a2 = d2;
  3687. }
  3688. return g(a2);
  3689. case Ha:
  3690. return l3 = f3._init, J2(a2, d2, l3(f3._payload), h2);
  3691. }
  3692. if (eb(f3))
  3693. return n2(a2, d2, f3, h2);
  3694. if (Ka(f3))
  3695. return t2(a2, d2, f3, h2);
  3696. th(a2, f3);
  3697. }
  3698. return "string" === typeof f3 && "" !== f3 || "number" === typeof f3 ? (f3 = "" + f3, null !== d2 && 6 === d2.tag ? (c(a2, d2.sibling), d2 = e(d2, f3), d2.return = a2, a2 = d2) : (c(a2, d2), d2 = xh(f3, a2.mode, h2), d2.return = a2, a2 = d2), g(a2)) : c(a2, d2);
  3699. }
  3700. return J2;
  3701. }
  3702. var Bh = vh(true), Ch = vh(false), Dh = {}, Eh = Uf(Dh), Fh = Uf(Dh), Gh = Uf(Dh);
  3703. function Hh(a) {
  3704. if (a === Dh)
  3705. throw Error(p(174));
  3706. return a;
  3707. }
  3708. function Ih(a, b) {
  3709. G(Gh, b);
  3710. G(Fh, a);
  3711. G(Eh, Dh);
  3712. a = b.nodeType;
  3713. switch (a) {
  3714. case 9:
  3715. case 11:
  3716. b = (b = b.documentElement) ? b.namespaceURI : lb(null, "");
  3717. break;
  3718. default:
  3719. a = 8 === a ? b.parentNode : b, b = a.namespaceURI || null, a = a.tagName, b = lb(b, a);
  3720. }
  3721. E(Eh);
  3722. G(Eh, b);
  3723. }
  3724. function Jh() {
  3725. E(Eh);
  3726. E(Fh);
  3727. E(Gh);
  3728. }
  3729. function Kh(a) {
  3730. Hh(Gh.current);
  3731. var b = Hh(Eh.current);
  3732. var c = lb(b, a.type);
  3733. b !== c && (G(Fh, a), G(Eh, c));
  3734. }
  3735. function Lh(a) {
  3736. Fh.current === a && (E(Eh), E(Fh));
  3737. }
  3738. var M = Uf(0);
  3739. function Mh(a) {
  3740. for (var b = a; null !== b; ) {
  3741. if (13 === b.tag) {
  3742. var c = b.memoizedState;
  3743. if (null !== c && (c = c.dehydrated, null === c || "$?" === c.data || "$!" === c.data))
  3744. return b;
  3745. } else if (19 === b.tag && void 0 !== b.memoizedProps.revealOrder) {
  3746. if (0 !== (b.flags & 128))
  3747. return b;
  3748. } else if (null !== b.child) {
  3749. b.child.return = b;
  3750. b = b.child;
  3751. continue;
  3752. }
  3753. if (b === a)
  3754. break;
  3755. for (; null === b.sibling; ) {
  3756. if (null === b.return || b.return === a)
  3757. return null;
  3758. b = b.return;
  3759. }
  3760. b.sibling.return = b.return;
  3761. b = b.sibling;
  3762. }
  3763. return null;
  3764. }
  3765. var Nh = [];
  3766. function Oh() {
  3767. for (var a = 0; a < Nh.length; a++)
  3768. Nh[a]._workInProgressVersionPrimary = null;
  3769. Nh.length = 0;
  3770. }
  3771. var Ph = ua.ReactCurrentDispatcher, Qh = ua.ReactCurrentBatchConfig, Rh = 0, N = null, O = null, P = null, Sh = false, Th = false, Uh = 0, Vh = 0;
  3772. function Q() {
  3773. throw Error(p(321));
  3774. }
  3775. function Wh(a, b) {
  3776. if (null === b)
  3777. return false;
  3778. for (var c = 0; c < b.length && c < a.length; c++)
  3779. if (!He(a[c], b[c]))
  3780. return false;
  3781. return true;
  3782. }
  3783. function Xh(a, b, c, d, e, f2) {
  3784. Rh = f2;
  3785. N = b;
  3786. b.memoizedState = null;
  3787. b.updateQueue = null;
  3788. b.lanes = 0;
  3789. Ph.current = null === a || null === a.memoizedState ? Yh : Zh;
  3790. a = c(d, e);
  3791. if (Th) {
  3792. f2 = 0;
  3793. do {
  3794. Th = false;
  3795. Uh = 0;
  3796. if (25 <= f2)
  3797. throw Error(p(301));
  3798. f2 += 1;
  3799. P = O = null;
  3800. b.updateQueue = null;
  3801. Ph.current = $h;
  3802. a = c(d, e);
  3803. } while (Th);
  3804. }
  3805. Ph.current = ai;
  3806. b = null !== O && null !== O.next;
  3807. Rh = 0;
  3808. P = O = N = null;
  3809. Sh = false;
  3810. if (b)
  3811. throw Error(p(300));
  3812. return a;
  3813. }
  3814. function bi() {
  3815. var a = 0 !== Uh;
  3816. Uh = 0;
  3817. return a;
  3818. }
  3819. function ci() {
  3820. var a = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null };
  3821. null === P ? N.memoizedState = P = a : P = P.next = a;
  3822. return P;
  3823. }
  3824. function di() {
  3825. if (null === O) {
  3826. var a = N.alternate;
  3827. a = null !== a ? a.memoizedState : null;
  3828. } else
  3829. a = O.next;
  3830. var b = null === P ? N.memoizedState : P.next;
  3831. if (null !== b)
  3832. P = b, O = a;
  3833. else {
  3834. if (null === a)
  3835. throw Error(p(310));
  3836. O = a;
  3837. a = { memoizedState: O.memoizedState, baseState: O.baseState, baseQueue: O.baseQueue, queue: O.queue, next: null };
  3838. null === P ? N.memoizedState = P = a : P = P.next = a;
  3839. }
  3840. return P;
  3841. }
  3842. function ei(a, b) {
  3843. return "function" === typeof b ? b(a) : b;
  3844. }
  3845. function fi(a) {
  3846. var b = di(), c = b.queue;
  3847. if (null === c)
  3848. throw Error(p(311));
  3849. c.lastRenderedReducer = a;
  3850. var d = O, e = d.baseQueue, f2 = c.pending;
  3851. if (null !== f2) {
  3852. if (null !== e) {
  3853. var g = e.next;
  3854. e.next = f2.next;
  3855. f2.next = g;
  3856. }
  3857. d.baseQueue = e = f2;
  3858. c.pending = null;
  3859. }
  3860. if (null !== e) {
  3861. f2 = e.next;
  3862. d = d.baseState;
  3863. var h = g = null, k2 = null, l2 = f2;
  3864. do {
  3865. var m2 = l2.lane;
  3866. if ((Rh & m2) === m2)
  3867. null !== k2 && (k2 = k2.next = { lane: 0, action: l2.action, hasEagerState: l2.hasEagerState, eagerState: l2.eagerState, next: null }), d = l2.hasEagerState ? l2.eagerState : a(d, l2.action);
  3868. else {
  3869. var q2 = {
  3870. lane: m2,
  3871. action: l2.action,
  3872. hasEagerState: l2.hasEagerState,
  3873. eagerState: l2.eagerState,
  3874. next: null
  3875. };
  3876. null === k2 ? (h = k2 = q2, g = d) : k2 = k2.next = q2;
  3877. N.lanes |= m2;
  3878. hh |= m2;
  3879. }
  3880. l2 = l2.next;
  3881. } while (null !== l2 && l2 !== f2);
  3882. null === k2 ? g = d : k2.next = h;
  3883. He(d, b.memoizedState) || (Ug = true);
  3884. b.memoizedState = d;
  3885. b.baseState = g;
  3886. b.baseQueue = k2;
  3887. c.lastRenderedState = d;
  3888. }
  3889. a = c.interleaved;
  3890. if (null !== a) {
  3891. e = a;
  3892. do
  3893. f2 = e.lane, N.lanes |= f2, hh |= f2, e = e.next;
  3894. while (e !== a);
  3895. } else
  3896. null === e && (c.lanes = 0);
  3897. return [b.memoizedState, c.dispatch];
  3898. }
  3899. function gi(a) {
  3900. var b = di(), c = b.queue;
  3901. if (null === c)
  3902. throw Error(p(311));
  3903. c.lastRenderedReducer = a;
  3904. var d = c.dispatch, e = c.pending, f2 = b.memoizedState;
  3905. if (null !== e) {
  3906. c.pending = null;
  3907. var g = e = e.next;
  3908. do
  3909. f2 = a(f2, g.action), g = g.next;
  3910. while (g !== e);
  3911. He(f2, b.memoizedState) || (Ug = true);
  3912. b.memoizedState = f2;
  3913. null === b.baseQueue && (b.baseState = f2);
  3914. c.lastRenderedState = f2;
  3915. }
  3916. return [f2, d];
  3917. }
  3918. function hi() {
  3919. }
  3920. function ii(a, b) {
  3921. var c = N, d = di(), e = b(), f2 = !He(d.memoizedState, e);
  3922. f2 && (d.memoizedState = e, Ug = true);
  3923. d = d.queue;
  3924. ji(ki.bind(null, c, d, a), [a]);
  3925. if (d.getSnapshot !== b || f2 || null !== P && P.memoizedState.tag & 1) {
  3926. c.flags |= 2048;
  3927. li(9, mi.bind(null, c, d, e, b), void 0, null);
  3928. if (null === R)
  3929. throw Error(p(349));
  3930. 0 !== (Rh & 30) || ni(c, b, e);
  3931. }
  3932. return e;
  3933. }
  3934. function ni(a, b, c) {
  3935. a.flags |= 16384;
  3936. a = { getSnapshot: b, value: c };
  3937. b = N.updateQueue;
  3938. null === b ? (b = { lastEffect: null, stores: null }, N.updateQueue = b, b.stores = [a]) : (c = b.stores, null === c ? b.stores = [a] : c.push(a));
  3939. }
  3940. function mi(a, b, c, d) {
  3941. b.value = c;
  3942. b.getSnapshot = d;
  3943. oi(b) && pi(a);
  3944. }
  3945. function ki(a, b, c) {
  3946. return c(function() {
  3947. oi(b) && pi(a);
  3948. });
  3949. }
  3950. function oi(a) {
  3951. var b = a.getSnapshot;
  3952. a = a.value;
  3953. try {
  3954. var c = b();
  3955. return !He(a, c);
  3956. } catch (d) {
  3957. return true;
  3958. }
  3959. }
  3960. function pi(a) {
  3961. var b = Zg(a, 1);
  3962. null !== b && mh(b, a, 1, -1);
  3963. }
  3964. function qi(a) {
  3965. var b = ci();
  3966. "function" === typeof a && (a = a());
  3967. b.memoizedState = b.baseState = a;
  3968. a = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: ei, lastRenderedState: a };
  3969. b.queue = a;
  3970. a = a.dispatch = ri.bind(null, N, a);
  3971. return [b.memoizedState, a];
  3972. }
  3973. function li(a, b, c, d) {
  3974. a = { tag: a, create: b, destroy: c, deps: d, next: null };
  3975. b = N.updateQueue;
  3976. null === b ? (b = { lastEffect: null, stores: null }, N.updateQueue = b, b.lastEffect = a.next = a) : (c = b.lastEffect, null === c ? b.lastEffect = a.next = a : (d = c.next, c.next = a, a.next = d, b.lastEffect = a));
  3977. return a;
  3978. }
  3979. function si() {
  3980. return di().memoizedState;
  3981. }
  3982. function ti(a, b, c, d) {
  3983. var e = ci();
  3984. N.flags |= a;
  3985. e.memoizedState = li(1 | b, c, void 0, void 0 === d ? null : d);
  3986. }
  3987. function ui(a, b, c, d) {
  3988. var e = di();
  3989. d = void 0 === d ? null : d;
  3990. var f2 = void 0;
  3991. if (null !== O) {
  3992. var g = O.memoizedState;
  3993. f2 = g.destroy;
  3994. if (null !== d && Wh(d, g.deps)) {
  3995. e.memoizedState = li(b, c, f2, d);
  3996. return;
  3997. }
  3998. }
  3999. N.flags |= a;
  4000. e.memoizedState = li(1 | b, c, f2, d);
  4001. }
  4002. function vi(a, b) {
  4003. return ti(8390656, 8, a, b);
  4004. }
  4005. function ji(a, b) {
  4006. return ui(2048, 8, a, b);
  4007. }
  4008. function wi(a, b) {
  4009. return ui(4, 2, a, b);
  4010. }
  4011. function xi(a, b) {
  4012. return ui(4, 4, a, b);
  4013. }
  4014. function yi(a, b) {
  4015. if ("function" === typeof b)
  4016. return a = a(), b(a), function() {
  4017. b(null);
  4018. };
  4019. if (null !== b && void 0 !== b)
  4020. return a = a(), b.current = a, function() {
  4021. b.current = null;
  4022. };
  4023. }
  4024. function zi(a, b, c) {
  4025. c = null !== c && void 0 !== c ? c.concat([a]) : null;
  4026. return ui(4, 4, yi.bind(null, b, a), c);
  4027. }
  4028. function Ai() {
  4029. }
  4030. function Bi(a, b) {
  4031. var c = di();
  4032. b = void 0 === b ? null : b;
  4033. var d = c.memoizedState;
  4034. if (null !== d && null !== b && Wh(b, d[1]))
  4035. return d[0];
  4036. c.memoizedState = [a, b];
  4037. return a;
  4038. }
  4039. function Ci(a, b) {
  4040. var c = di();
  4041. b = void 0 === b ? null : b;
  4042. var d = c.memoizedState;
  4043. if (null !== d && null !== b && Wh(b, d[1]))
  4044. return d[0];
  4045. a = a();
  4046. c.memoizedState = [a, b];
  4047. return a;
  4048. }
  4049. function Di(a, b, c) {
  4050. if (0 === (Rh & 21))
  4051. return a.baseState && (a.baseState = false, Ug = true), a.memoizedState = c;
  4052. He(c, b) || (c = yc(), N.lanes |= c, hh |= c, a.baseState = true);
  4053. return b;
  4054. }
  4055. function Ei(a, b) {
  4056. var c = C;
  4057. C = 0 !== c && 4 > c ? c : 4;
  4058. a(true);
  4059. var d = Qh.transition;
  4060. Qh.transition = {};
  4061. try {
  4062. a(false), b();
  4063. } finally {
  4064. C = c, Qh.transition = d;
  4065. }
  4066. }
  4067. function Fi() {
  4068. return di().memoizedState;
  4069. }
  4070. function Gi(a, b, c) {
  4071. var d = lh(a);
  4072. c = { lane: d, action: c, hasEagerState: false, eagerState: null, next: null };
  4073. if (Hi(a))
  4074. Ii(b, c);
  4075. else if (c = Yg(a, b, c, d), null !== c) {
  4076. var e = L();
  4077. mh(c, a, d, e);
  4078. Ji(c, b, d);
  4079. }
  4080. }
  4081. function ri(a, b, c) {
  4082. var d = lh(a), e = { lane: d, action: c, hasEagerState: false, eagerState: null, next: null };
  4083. if (Hi(a))
  4084. Ii(b, e);
  4085. else {
  4086. var f2 = a.alternate;
  4087. if (0 === a.lanes && (null === f2 || 0 === f2.lanes) && (f2 = b.lastRenderedReducer, null !== f2))
  4088. try {
  4089. var g = b.lastRenderedState, h = f2(g, c);
  4090. e.hasEagerState = true;
  4091. e.eagerState = h;
  4092. if (He(h, g)) {
  4093. var k2 = b.interleaved;
  4094. null === k2 ? (e.next = e, Xg(b)) : (e.next = k2.next, k2.next = e);
  4095. b.interleaved = e;
  4096. return;
  4097. }
  4098. } catch (l2) {
  4099. } finally {
  4100. }
  4101. c = Yg(a, b, e, d);
  4102. null !== c && (e = L(), mh(c, a, d, e), Ji(c, b, d));
  4103. }
  4104. }
  4105. function Hi(a) {
  4106. var b = a.alternate;
  4107. return a === N || null !== b && b === N;
  4108. }
  4109. function Ii(a, b) {
  4110. Th = Sh = true;
  4111. var c = a.pending;
  4112. null === c ? b.next = b : (b.next = c.next, c.next = b);
  4113. a.pending = b;
  4114. }
  4115. function Ji(a, b, c) {
  4116. if (0 !== (c & 4194240)) {
  4117. var d = b.lanes;
  4118. d &= a.pendingLanes;
  4119. c |= d;
  4120. b.lanes = c;
  4121. Cc(a, c);
  4122. }
  4123. }
  4124. var ai = { readContext: Vg, useCallback: Q, useContext: Q, useEffect: Q, useImperativeHandle: Q, useInsertionEffect: Q, useLayoutEffect: Q, useMemo: Q, useReducer: Q, useRef: Q, useState: Q, useDebugValue: Q, useDeferredValue: Q, useTransition: Q, useMutableSource: Q, useSyncExternalStore: Q, useId: Q, unstable_isNewReconciler: false }, Yh = { readContext: Vg, useCallback: function(a, b) {
  4125. ci().memoizedState = [a, void 0 === b ? null : b];
  4126. return a;
  4127. }, useContext: Vg, useEffect: vi, useImperativeHandle: function(a, b, c) {
  4128. c = null !== c && void 0 !== c ? c.concat([a]) : null;
  4129. return ti(
  4130. 4194308,
  4131. 4,
  4132. yi.bind(null, b, a),
  4133. c
  4134. );
  4135. }, useLayoutEffect: function(a, b) {
  4136. return ti(4194308, 4, a, b);
  4137. }, useInsertionEffect: function(a, b) {
  4138. return ti(4, 2, a, b);
  4139. }, useMemo: function(a, b) {
  4140. var c = ci();
  4141. b = void 0 === b ? null : b;
  4142. a = a();
  4143. c.memoizedState = [a, b];
  4144. return a;
  4145. }, useReducer: function(a, b, c) {
  4146. var d = ci();
  4147. b = void 0 !== c ? c(b) : b;
  4148. d.memoizedState = d.baseState = b;
  4149. a = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: a, lastRenderedState: b };
  4150. d.queue = a;
  4151. a = a.dispatch = Gi.bind(null, N, a);
  4152. return [d.memoizedState, a];
  4153. }, useRef: function(a) {
  4154. var b = ci();
  4155. a = { current: a };
  4156. return b.memoizedState = a;
  4157. }, useState: qi, useDebugValue: Ai, useDeferredValue: function(a) {
  4158. return ci().memoizedState = a;
  4159. }, useTransition: function() {
  4160. var a = qi(false), b = a[0];
  4161. a = Ei.bind(null, a[1]);
  4162. ci().memoizedState = a;
  4163. return [b, a];
  4164. }, useMutableSource: function() {
  4165. }, useSyncExternalStore: function(a, b, c) {
  4166. var d = N, e = ci();
  4167. if (I) {
  4168. if (void 0 === c)
  4169. throw Error(p(407));
  4170. c = c();
  4171. } else {
  4172. c = b();
  4173. if (null === R)
  4174. throw Error(p(349));
  4175. 0 !== (Rh & 30) || ni(d, b, c);
  4176. }
  4177. e.memoizedState = c;
  4178. var f2 = { value: c, getSnapshot: b };
  4179. e.queue = f2;
  4180. vi(ki.bind(
  4181. null,
  4182. d,
  4183. f2,
  4184. a
  4185. ), [a]);
  4186. d.flags |= 2048;
  4187. li(9, mi.bind(null, d, f2, c, b), void 0, null);
  4188. return c;
  4189. }, useId: function() {
  4190. var a = ci(), b = R.identifierPrefix;
  4191. if (I) {
  4192. var c = sg;
  4193. var d = rg;
  4194. c = (d & ~(1 << 32 - oc(d) - 1)).toString(32) + c;
  4195. b = ":" + b + "R" + c;
  4196. c = Uh++;
  4197. 0 < c && (b += "H" + c.toString(32));
  4198. b += ":";
  4199. } else
  4200. c = Vh++, b = ":" + b + "r" + c.toString(32) + ":";
  4201. return a.memoizedState = b;
  4202. }, unstable_isNewReconciler: false }, Zh = {
  4203. readContext: Vg,
  4204. useCallback: Bi,
  4205. useContext: Vg,
  4206. useEffect: ji,
  4207. useImperativeHandle: zi,
  4208. useInsertionEffect: wi,
  4209. useLayoutEffect: xi,
  4210. useMemo: Ci,
  4211. useReducer: fi,
  4212. useRef: si,
  4213. useState: function() {
  4214. return fi(ei);
  4215. },
  4216. useDebugValue: Ai,
  4217. useDeferredValue: function(a) {
  4218. var b = di();
  4219. return Di(b, O.memoizedState, a);
  4220. },
  4221. useTransition: function() {
  4222. var a = fi(ei)[0], b = di().memoizedState;
  4223. return [a, b];
  4224. },
  4225. useMutableSource: hi,
  4226. useSyncExternalStore: ii,
  4227. useId: Fi,
  4228. unstable_isNewReconciler: false
  4229. }, $h = { readContext: Vg, useCallback: Bi, useContext: Vg, useEffect: ji, useImperativeHandle: zi, useInsertionEffect: wi, useLayoutEffect: xi, useMemo: Ci, useReducer: gi, useRef: si, useState: function() {
  4230. return gi(ei);
  4231. }, useDebugValue: Ai, useDeferredValue: function(a) {
  4232. var b = di();
  4233. return null === O ? b.memoizedState = a : Di(b, O.memoizedState, a);
  4234. }, useTransition: function() {
  4235. var a = gi(ei)[0], b = di().memoizedState;
  4236. return [a, b];
  4237. }, useMutableSource: hi, useSyncExternalStore: ii, useId: Fi, unstable_isNewReconciler: false };
  4238. function Ki(a, b) {
  4239. try {
  4240. var c = "", d = b;
  4241. do
  4242. c += Pa(d), d = d.return;
  4243. while (d);
  4244. var e = c;
  4245. } catch (f2) {
  4246. e = "\nError generating stack: " + f2.message + "\n" + f2.stack;
  4247. }
  4248. return { value: a, source: b, stack: e, digest: null };
  4249. }
  4250. function Li(a, b, c) {
  4251. return { value: a, source: null, stack: null != c ? c : null, digest: null != b ? b : null };
  4252. }
  4253. function Mi(a, b) {
  4254. try {
  4255. console.error(b.value);
  4256. } catch (c) {
  4257. setTimeout(function() {
  4258. throw c;
  4259. });
  4260. }
  4261. }
  4262. var Ni = "function" === typeof WeakMap ? WeakMap : Map;
  4263. function Oi(a, b, c) {
  4264. c = ch(-1, c);
  4265. c.tag = 3;
  4266. c.payload = { element: null };
  4267. var d = b.value;
  4268. c.callback = function() {
  4269. Pi || (Pi = true, Qi = d);
  4270. Mi(a, b);
  4271. };
  4272. return c;
  4273. }
  4274. function Ri(a, b, c) {
  4275. c = ch(-1, c);
  4276. c.tag = 3;
  4277. var d = a.type.getDerivedStateFromError;
  4278. if ("function" === typeof d) {
  4279. var e = b.value;
  4280. c.payload = function() {
  4281. return d(e);
  4282. };
  4283. c.callback = function() {
  4284. Mi(a, b);
  4285. };
  4286. }
  4287. var f2 = a.stateNode;
  4288. null !== f2 && "function" === typeof f2.componentDidCatch && (c.callback = function() {
  4289. Mi(a, b);
  4290. "function" !== typeof d && (null === Si ? Si = /* @__PURE__ */ new Set([this]) : Si.add(this));
  4291. var c2 = b.stack;
  4292. this.componentDidCatch(b.value, { componentStack: null !== c2 ? c2 : "" });
  4293. });
  4294. return c;
  4295. }
  4296. function Ti(a, b, c) {
  4297. var d = a.pingCache;
  4298. if (null === d) {
  4299. d = a.pingCache = new Ni();
  4300. var e = /* @__PURE__ */ new Set();
  4301. d.set(b, e);
  4302. } else
  4303. e = d.get(b), void 0 === e && (e = /* @__PURE__ */ new Set(), d.set(b, e));
  4304. e.has(c) || (e.add(c), a = Ui.bind(null, a, b, c), b.then(a, a));
  4305. }
  4306. function Vi(a) {
  4307. do {
  4308. var b;
  4309. if (b = 13 === a.tag)
  4310. b = a.memoizedState, b = null !== b ? null !== b.dehydrated ? true : false : true;
  4311. if (b)
  4312. return a;
  4313. a = a.return;
  4314. } while (null !== a);
  4315. return null;
  4316. }
  4317. function Wi(a, b, c, d, e) {
  4318. if (0 === (a.mode & 1))
  4319. return a === b ? a.flags |= 65536 : (a.flags |= 128, c.flags |= 131072, c.flags &= -52805, 1 === c.tag && (null === c.alternate ? c.tag = 17 : (b = ch(-1, 1), b.tag = 2, dh(c, b, 1))), c.lanes |= 1), a;
  4320. a.flags |= 65536;
  4321. a.lanes = e;
  4322. return a;
  4323. }
  4324. var Xi = ua.ReactCurrentOwner, Ug = false;
  4325. function Yi(a, b, c, d) {
  4326. b.child = null === a ? Ch(b, null, c, d) : Bh(b, a.child, c, d);
  4327. }
  4328. function Zi(a, b, c, d, e) {
  4329. c = c.render;
  4330. var f2 = b.ref;
  4331. Tg(b, e);
  4332. d = Xh(a, b, c, d, f2, e);
  4333. c = bi();
  4334. if (null !== a && !Ug)
  4335. return b.updateQueue = a.updateQueue, b.flags &= -2053, a.lanes &= ~e, $i(a, b, e);
  4336. I && c && vg(b);
  4337. b.flags |= 1;
  4338. Yi(a, b, d, e);
  4339. return b.child;
  4340. }
  4341. function aj(a, b, c, d, e) {
  4342. if (null === a) {
  4343. var f2 = c.type;
  4344. if ("function" === typeof f2 && !bj(f2) && void 0 === f2.defaultProps && null === c.compare && void 0 === c.defaultProps)
  4345. return b.tag = 15, b.type = f2, cj(a, b, f2, d, e);
  4346. a = yh(c.type, null, d, b, b.mode, e);
  4347. a.ref = b.ref;
  4348. a.return = b;
  4349. return b.child = a;
  4350. }
  4351. f2 = a.child;
  4352. if (0 === (a.lanes & e)) {
  4353. var g = f2.memoizedProps;
  4354. c = c.compare;
  4355. c = null !== c ? c : Ie;
  4356. if (c(g, d) && a.ref === b.ref)
  4357. return $i(a, b, e);
  4358. }
  4359. b.flags |= 1;
  4360. a = wh(f2, d);
  4361. a.ref = b.ref;
  4362. a.return = b;
  4363. return b.child = a;
  4364. }
  4365. function cj(a, b, c, d, e) {
  4366. if (null !== a) {
  4367. var f2 = a.memoizedProps;
  4368. if (Ie(f2, d) && a.ref === b.ref)
  4369. if (Ug = false, b.pendingProps = d = f2, 0 !== (a.lanes & e))
  4370. 0 !== (a.flags & 131072) && (Ug = true);
  4371. else
  4372. return b.lanes = a.lanes, $i(a, b, e);
  4373. }
  4374. return dj(a, b, c, d, e);
  4375. }
  4376. function ej(a, b, c) {
  4377. var d = b.pendingProps, e = d.children, f2 = null !== a ? a.memoizedState : null;
  4378. if ("hidden" === d.mode)
  4379. if (0 === (b.mode & 1))
  4380. b.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, G(fj, gj), gj |= c;
  4381. else {
  4382. if (0 === (c & 1073741824))
  4383. return a = null !== f2 ? f2.baseLanes | c : c, b.lanes = b.childLanes = 1073741824, b.memoizedState = { baseLanes: a, cachePool: null, transitions: null }, b.updateQueue = null, G(fj, gj), gj |= a, null;
  4384. b.memoizedState = { baseLanes: 0, cachePool: null, transitions: null };
  4385. d = null !== f2 ? f2.baseLanes : c;
  4386. G(fj, gj);
  4387. gj |= d;
  4388. }
  4389. else
  4390. null !== f2 ? (d = f2.baseLanes | c, b.memoizedState = null) : d = c, G(fj, gj), gj |= d;
  4391. Yi(a, b, e, c);
  4392. return b.child;
  4393. }
  4394. function hj(a, b) {
  4395. var c = b.ref;
  4396. if (null === a && null !== c || null !== a && a.ref !== c)
  4397. b.flags |= 512, b.flags |= 2097152;
  4398. }
  4399. function dj(a, b, c, d, e) {
  4400. var f2 = Zf(c) ? Xf : H.current;
  4401. f2 = Yf(b, f2);
  4402. Tg(b, e);
  4403. c = Xh(a, b, c, d, f2, e);
  4404. d = bi();
  4405. if (null !== a && !Ug)
  4406. return b.updateQueue = a.updateQueue, b.flags &= -2053, a.lanes &= ~e, $i(a, b, e);
  4407. I && d && vg(b);
  4408. b.flags |= 1;
  4409. Yi(a, b, c, e);
  4410. return b.child;
  4411. }
  4412. function ij(a, b, c, d, e) {
  4413. if (Zf(c)) {
  4414. var f2 = true;
  4415. cg(b);
  4416. } else
  4417. f2 = false;
  4418. Tg(b, e);
  4419. if (null === b.stateNode)
  4420. jj(a, b), ph(b, c, d), rh(b, c, d, e), d = true;
  4421. else if (null === a) {
  4422. var g = b.stateNode, h = b.memoizedProps;
  4423. g.props = h;
  4424. var k2 = g.context, l2 = c.contextType;
  4425. "object" === typeof l2 && null !== l2 ? l2 = Vg(l2) : (l2 = Zf(c) ? Xf : H.current, l2 = Yf(b, l2));
  4426. var m2 = c.getDerivedStateFromProps, q2 = "function" === typeof m2 || "function" === typeof g.getSnapshotBeforeUpdate;
  4427. q2 || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== d || k2 !== l2) && qh(b, g, d, l2);
  4428. $g = false;
  4429. var r2 = b.memoizedState;
  4430. g.state = r2;
  4431. gh(b, d, g, e);
  4432. k2 = b.memoizedState;
  4433. h !== d || r2 !== k2 || Wf.current || $g ? ("function" === typeof m2 && (kh(b, c, m2, d), k2 = b.memoizedState), (h = $g || oh(b, c, h, d, r2, k2, l2)) ? (q2 || "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.flags |= 4194308)) : ("function" === typeof g.componentDidMount && (b.flags |= 4194308), b.memoizedProps = d, b.memoizedState = k2), g.props = d, g.state = k2, g.context = l2, d = h) : ("function" === typeof g.componentDidMount && (b.flags |= 4194308), d = false);
  4434. } else {
  4435. g = b.stateNode;
  4436. bh(a, b);
  4437. h = b.memoizedProps;
  4438. l2 = b.type === b.elementType ? h : Lg(b.type, h);
  4439. g.props = l2;
  4440. q2 = b.pendingProps;
  4441. r2 = g.context;
  4442. k2 = c.contextType;
  4443. "object" === typeof k2 && null !== k2 ? k2 = Vg(k2) : (k2 = Zf(c) ? Xf : H.current, k2 = Yf(b, k2));
  4444. var y2 = c.getDerivedStateFromProps;
  4445. (m2 = "function" === typeof y2 || "function" === typeof g.getSnapshotBeforeUpdate) || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== q2 || r2 !== k2) && qh(b, g, d, k2);
  4446. $g = false;
  4447. r2 = b.memoizedState;
  4448. g.state = r2;
  4449. gh(b, d, g, e);
  4450. var n2 = b.memoizedState;
  4451. h !== q2 || r2 !== n2 || Wf.current || $g ? ("function" === typeof y2 && (kh(b, c, y2, d), n2 = b.memoizedState), (l2 = $g || oh(b, c, l2, d, r2, n2, k2) || false) ? (m2 || "function" !== typeof g.UNSAFE_componentWillUpdate && "function" !== typeof g.componentWillUpdate || ("function" === typeof g.componentWillUpdate && g.componentWillUpdate(d, n2, k2), "function" === typeof g.UNSAFE_componentWillUpdate && g.UNSAFE_componentWillUpdate(d, n2, k2)), "function" === typeof g.componentDidUpdate && (b.flags |= 4), "function" === typeof g.getSnapshotBeforeUpdate && (b.flags |= 1024)) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && r2 === a.memoizedState || (b.flags |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && r2 === a.memoizedState || (b.flags |= 1024), b.memoizedProps = d, b.memoizedState = n2), g.props = d, g.state = n2, g.context = k2, d = l2) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && r2 === a.memoizedState || (b.flags |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && r2 === a.memoizedState || (b.flags |= 1024), d = false);
  4452. }
  4453. return kj(a, b, c, d, f2, e);
  4454. }
  4455. function kj(a, b, c, d, e, f2) {
  4456. hj(a, b);
  4457. var g = 0 !== (b.flags & 128);
  4458. if (!d && !g)
  4459. return e && dg(b, c, false), $i(a, b, f2);
  4460. d = b.stateNode;
  4461. Xi.current = b;
  4462. var h = g && "function" !== typeof c.getDerivedStateFromError ? null : d.render();
  4463. b.flags |= 1;
  4464. null !== a && g ? (b.child = Bh(b, a.child, null, f2), b.child = Bh(b, null, h, f2)) : Yi(a, b, h, f2);
  4465. b.memoizedState = d.state;
  4466. e && dg(b, c, true);
  4467. return b.child;
  4468. }
  4469. function lj(a) {
  4470. var b = a.stateNode;
  4471. b.pendingContext ? ag(a, b.pendingContext, b.pendingContext !== b.context) : b.context && ag(a, b.context, false);
  4472. Ih(a, b.containerInfo);
  4473. }
  4474. function mj(a, b, c, d, e) {
  4475. Ig();
  4476. Jg(e);
  4477. b.flags |= 256;
  4478. Yi(a, b, c, d);
  4479. return b.child;
  4480. }
  4481. var nj = { dehydrated: null, treeContext: null, retryLane: 0 };
  4482. function oj(a) {
  4483. return { baseLanes: a, cachePool: null, transitions: null };
  4484. }
  4485. function pj(a, b, c) {
  4486. var d = b.pendingProps, e = M.current, f2 = false, g = 0 !== (b.flags & 128), h;
  4487. (h = g) || (h = null !== a && null === a.memoizedState ? false : 0 !== (e & 2));
  4488. if (h)
  4489. f2 = true, b.flags &= -129;
  4490. else if (null === a || null !== a.memoizedState)
  4491. e |= 1;
  4492. G(M, e & 1);
  4493. if (null === a) {
  4494. Eg(b);
  4495. a = b.memoizedState;
  4496. if (null !== a && (a = a.dehydrated, null !== a))
  4497. return 0 === (b.mode & 1) ? b.lanes = 1 : "$!" === a.data ? b.lanes = 8 : b.lanes = 1073741824, null;
  4498. g = d.children;
  4499. a = d.fallback;
  4500. return f2 ? (d = b.mode, f2 = b.child, g = { mode: "hidden", children: g }, 0 === (d & 1) && null !== f2 ? (f2.childLanes = 0, f2.pendingProps = g) : f2 = qj(g, d, 0, null), a = Ah(a, d, c, null), f2.return = b, a.return = b, f2.sibling = a, b.child = f2, b.child.memoizedState = oj(c), b.memoizedState = nj, a) : rj(b, g);
  4501. }
  4502. e = a.memoizedState;
  4503. if (null !== e && (h = e.dehydrated, null !== h))
  4504. return sj(a, b, g, d, h, e, c);
  4505. if (f2) {
  4506. f2 = d.fallback;
  4507. g = b.mode;
  4508. e = a.child;
  4509. h = e.sibling;
  4510. var k2 = { mode: "hidden", children: d.children };
  4511. 0 === (g & 1) && b.child !== e ? (d = b.child, d.childLanes = 0, d.pendingProps = k2, b.deletions = null) : (d = wh(e, k2), d.subtreeFlags = e.subtreeFlags & 14680064);
  4512. null !== h ? f2 = wh(h, f2) : (f2 = Ah(f2, g, c, null), f2.flags |= 2);
  4513. f2.return = b;
  4514. d.return = b;
  4515. d.sibling = f2;
  4516. b.child = d;
  4517. d = f2;
  4518. f2 = b.child;
  4519. g = a.child.memoizedState;
  4520. g = null === g ? oj(c) : { baseLanes: g.baseLanes | c, cachePool: null, transitions: g.transitions };
  4521. f2.memoizedState = g;
  4522. f2.childLanes = a.childLanes & ~c;
  4523. b.memoizedState = nj;
  4524. return d;
  4525. }
  4526. f2 = a.child;
  4527. a = f2.sibling;
  4528. d = wh(f2, { mode: "visible", children: d.children });
  4529. 0 === (b.mode & 1) && (d.lanes = c);
  4530. d.return = b;
  4531. d.sibling = null;
  4532. null !== a && (c = b.deletions, null === c ? (b.deletions = [a], b.flags |= 16) : c.push(a));
  4533. b.child = d;
  4534. b.memoizedState = null;
  4535. return d;
  4536. }
  4537. function rj(a, b) {
  4538. b = qj({ mode: "visible", children: b }, a.mode, 0, null);
  4539. b.return = a;
  4540. return a.child = b;
  4541. }
  4542. function tj(a, b, c, d) {
  4543. null !== d && Jg(d);
  4544. Bh(b, a.child, null, c);
  4545. a = rj(b, b.pendingProps.children);
  4546. a.flags |= 2;
  4547. b.memoizedState = null;
  4548. return a;
  4549. }
  4550. function sj(a, b, c, d, e, f2, g) {
  4551. if (c) {
  4552. if (b.flags & 256)
  4553. return b.flags &= -257, d = Li(Error(p(422))), tj(a, b, g, d);
  4554. if (null !== b.memoizedState)
  4555. return b.child = a.child, b.flags |= 128, null;
  4556. f2 = d.fallback;
  4557. e = b.mode;
  4558. d = qj({ mode: "visible", children: d.children }, e, 0, null);
  4559. f2 = Ah(f2, e, g, null);
  4560. f2.flags |= 2;
  4561. d.return = b;
  4562. f2.return = b;
  4563. d.sibling = f2;
  4564. b.child = d;
  4565. 0 !== (b.mode & 1) && Bh(b, a.child, null, g);
  4566. b.child.memoizedState = oj(g);
  4567. b.memoizedState = nj;
  4568. return f2;
  4569. }
  4570. if (0 === (b.mode & 1))
  4571. return tj(a, b, g, null);
  4572. if ("$!" === e.data) {
  4573. d = e.nextSibling && e.nextSibling.dataset;
  4574. if (d)
  4575. var h = d.dgst;
  4576. d = h;
  4577. f2 = Error(p(419));
  4578. d = Li(f2, d, void 0);
  4579. return tj(a, b, g, d);
  4580. }
  4581. h = 0 !== (g & a.childLanes);
  4582. if (Ug || h) {
  4583. d = R;
  4584. if (null !== d) {
  4585. switch (g & -g) {
  4586. case 4:
  4587. e = 2;
  4588. break;
  4589. case 16:
  4590. e = 8;
  4591. break;
  4592. case 64:
  4593. case 128:
  4594. case 256:
  4595. case 512:
  4596. case 1024:
  4597. case 2048:
  4598. case 4096:
  4599. case 8192:
  4600. case 16384:
  4601. case 32768:
  4602. case 65536:
  4603. case 131072:
  4604. case 262144:
  4605. case 524288:
  4606. case 1048576:
  4607. case 2097152:
  4608. case 4194304:
  4609. case 8388608:
  4610. case 16777216:
  4611. case 33554432:
  4612. case 67108864:
  4613. e = 32;
  4614. break;
  4615. case 536870912:
  4616. e = 268435456;
  4617. break;
  4618. default:
  4619. e = 0;
  4620. }
  4621. e = 0 !== (e & (d.suspendedLanes | g)) ? 0 : e;
  4622. 0 !== e && e !== f2.retryLane && (f2.retryLane = e, Zg(a, e), mh(d, a, e, -1));
  4623. }
  4624. uj();
  4625. d = Li(Error(p(421)));
  4626. return tj(a, b, g, d);
  4627. }
  4628. if ("$?" === e.data)
  4629. return b.flags |= 128, b.child = a.child, b = vj.bind(null, a), e._reactRetry = b, null;
  4630. a = f2.treeContext;
  4631. yg = Lf(e.nextSibling);
  4632. xg = b;
  4633. I = true;
  4634. zg = null;
  4635. null !== a && (og[pg++] = rg, og[pg++] = sg, og[pg++] = qg, rg = a.id, sg = a.overflow, qg = b);
  4636. b = rj(b, d.children);
  4637. b.flags |= 4096;
  4638. return b;
  4639. }
  4640. function wj(a, b, c) {
  4641. a.lanes |= b;
  4642. var d = a.alternate;
  4643. null !== d && (d.lanes |= b);
  4644. Sg(a.return, b, c);
  4645. }
  4646. function xj(a, b, c, d, e) {
  4647. var f2 = a.memoizedState;
  4648. null === f2 ? a.memoizedState = { isBackwards: b, rendering: null, renderingStartTime: 0, last: d, tail: c, tailMode: e } : (f2.isBackwards = b, f2.rendering = null, f2.renderingStartTime = 0, f2.last = d, f2.tail = c, f2.tailMode = e);
  4649. }
  4650. function yj(a, b, c) {
  4651. var d = b.pendingProps, e = d.revealOrder, f2 = d.tail;
  4652. Yi(a, b, d.children, c);
  4653. d = M.current;
  4654. if (0 !== (d & 2))
  4655. d = d & 1 | 2, b.flags |= 128;
  4656. else {
  4657. if (null !== a && 0 !== (a.flags & 128))
  4658. a:
  4659. for (a = b.child; null !== a; ) {
  4660. if (13 === a.tag)
  4661. null !== a.memoizedState && wj(a, c, b);
  4662. else if (19 === a.tag)
  4663. wj(a, c, b);
  4664. else if (null !== a.child) {
  4665. a.child.return = a;
  4666. a = a.child;
  4667. continue;
  4668. }
  4669. if (a === b)
  4670. break a;
  4671. for (; null === a.sibling; ) {
  4672. if (null === a.return || a.return === b)
  4673. break a;
  4674. a = a.return;
  4675. }
  4676. a.sibling.return = a.return;
  4677. a = a.sibling;
  4678. }
  4679. d &= 1;
  4680. }
  4681. G(M, d);
  4682. if (0 === (b.mode & 1))
  4683. b.memoizedState = null;
  4684. else
  4685. switch (e) {
  4686. case "forwards":
  4687. c = b.child;
  4688. for (e = null; null !== c; )
  4689. a = c.alternate, null !== a && null === Mh(a) && (e = c), c = c.sibling;
  4690. c = e;
  4691. null === c ? (e = b.child, b.child = null) : (e = c.sibling, c.sibling = null);
  4692. xj(b, false, e, c, f2);
  4693. break;
  4694. case "backwards":
  4695. c = null;
  4696. e = b.child;
  4697. for (b.child = null; null !== e; ) {
  4698. a = e.alternate;
  4699. if (null !== a && null === Mh(a)) {
  4700. b.child = e;
  4701. break;
  4702. }
  4703. a = e.sibling;
  4704. e.sibling = c;
  4705. c = e;
  4706. e = a;
  4707. }
  4708. xj(b, true, c, null, f2);
  4709. break;
  4710. case "together":
  4711. xj(b, false, null, null, void 0);
  4712. break;
  4713. default:
  4714. b.memoizedState = null;
  4715. }
  4716. return b.child;
  4717. }
  4718. function jj(a, b) {
  4719. 0 === (b.mode & 1) && null !== a && (a.alternate = null, b.alternate = null, b.flags |= 2);
  4720. }
  4721. function $i(a, b, c) {
  4722. null !== a && (b.dependencies = a.dependencies);
  4723. hh |= b.lanes;
  4724. if (0 === (c & b.childLanes))
  4725. return null;
  4726. if (null !== a && b.child !== a.child)
  4727. throw Error(p(153));
  4728. if (null !== b.child) {
  4729. a = b.child;
  4730. c = wh(a, a.pendingProps);
  4731. b.child = c;
  4732. for (c.return = b; null !== a.sibling; )
  4733. a = a.sibling, c = c.sibling = wh(a, a.pendingProps), c.return = b;
  4734. c.sibling = null;
  4735. }
  4736. return b.child;
  4737. }
  4738. function zj(a, b, c) {
  4739. switch (b.tag) {
  4740. case 3:
  4741. lj(b);
  4742. Ig();
  4743. break;
  4744. case 5:
  4745. Kh(b);
  4746. break;
  4747. case 1:
  4748. Zf(b.type) && cg(b);
  4749. break;
  4750. case 4:
  4751. Ih(b, b.stateNode.containerInfo);
  4752. break;
  4753. case 10:
  4754. var d = b.type._context, e = b.memoizedProps.value;
  4755. G(Mg, d._currentValue);
  4756. d._currentValue = e;
  4757. break;
  4758. case 13:
  4759. d = b.memoizedState;
  4760. if (null !== d) {
  4761. if (null !== d.dehydrated)
  4762. return G(M, M.current & 1), b.flags |= 128, null;
  4763. if (0 !== (c & b.child.childLanes))
  4764. return pj(a, b, c);
  4765. G(M, M.current & 1);
  4766. a = $i(a, b, c);
  4767. return null !== a ? a.sibling : null;
  4768. }
  4769. G(M, M.current & 1);
  4770. break;
  4771. case 19:
  4772. d = 0 !== (c & b.childLanes);
  4773. if (0 !== (a.flags & 128)) {
  4774. if (d)
  4775. return yj(a, b, c);
  4776. b.flags |= 128;
  4777. }
  4778. e = b.memoizedState;
  4779. null !== e && (e.rendering = null, e.tail = null, e.lastEffect = null);
  4780. G(M, M.current);
  4781. if (d)
  4782. break;
  4783. else
  4784. return null;
  4785. case 22:
  4786. case 23:
  4787. return b.lanes = 0, ej(a, b, c);
  4788. }
  4789. return $i(a, b, c);
  4790. }
  4791. var Aj, Bj, Cj, Dj;
  4792. Aj = function(a, b) {
  4793. for (var c = b.child; null !== c; ) {
  4794. if (5 === c.tag || 6 === c.tag)
  4795. a.appendChild(c.stateNode);
  4796. else if (4 !== c.tag && null !== c.child) {
  4797. c.child.return = c;
  4798. c = c.child;
  4799. continue;
  4800. }
  4801. if (c === b)
  4802. break;
  4803. for (; null === c.sibling; ) {
  4804. if (null === c.return || c.return === b)
  4805. return;
  4806. c = c.return;
  4807. }
  4808. c.sibling.return = c.return;
  4809. c = c.sibling;
  4810. }
  4811. };
  4812. Bj = function() {
  4813. };
  4814. Cj = function(a, b, c, d) {
  4815. var e = a.memoizedProps;
  4816. if (e !== d) {
  4817. a = b.stateNode;
  4818. Hh(Eh.current);
  4819. var f2 = null;
  4820. switch (c) {
  4821. case "input":
  4822. e = Ya(a, e);
  4823. d = Ya(a, d);
  4824. f2 = [];
  4825. break;
  4826. case "select":
  4827. e = A({}, e, { value: void 0 });
  4828. d = A({}, d, { value: void 0 });
  4829. f2 = [];
  4830. break;
  4831. case "textarea":
  4832. e = gb(a, e);
  4833. d = gb(a, d);
  4834. f2 = [];
  4835. break;
  4836. default:
  4837. "function" !== typeof e.onClick && "function" === typeof d.onClick && (a.onclick = Bf);
  4838. }
  4839. ub(c, d);
  4840. var g;
  4841. c = null;
  4842. for (l2 in e)
  4843. if (!d.hasOwnProperty(l2) && e.hasOwnProperty(l2) && null != e[l2])
  4844. if ("style" === l2) {
  4845. var h = e[l2];
  4846. for (g in h)
  4847. h.hasOwnProperty(g) && (c || (c = {}), c[g] = "");
  4848. } else
  4849. "dangerouslySetInnerHTML" !== l2 && "children" !== l2 && "suppressContentEditableWarning" !== l2 && "suppressHydrationWarning" !== l2 && "autoFocus" !== l2 && (ea.hasOwnProperty(l2) ? f2 || (f2 = []) : (f2 = f2 || []).push(l2, null));
  4850. for (l2 in d) {
  4851. var k2 = d[l2];
  4852. h = null != e ? e[l2] : void 0;
  4853. if (d.hasOwnProperty(l2) && k2 !== h && (null != k2 || null != h))
  4854. if ("style" === l2)
  4855. if (h) {
  4856. for (g in h)
  4857. !h.hasOwnProperty(g) || k2 && k2.hasOwnProperty(g) || (c || (c = {}), c[g] = "");
  4858. for (g in k2)
  4859. k2.hasOwnProperty(g) && h[g] !== k2[g] && (c || (c = {}), c[g] = k2[g]);
  4860. } else
  4861. c || (f2 || (f2 = []), f2.push(
  4862. l2,
  4863. c
  4864. )), c = k2;
  4865. else
  4866. "dangerouslySetInnerHTML" === l2 ? (k2 = k2 ? k2.__html : void 0, h = h ? h.__html : void 0, null != k2 && h !== k2 && (f2 = f2 || []).push(l2, k2)) : "children" === l2 ? "string" !== typeof k2 && "number" !== typeof k2 || (f2 = f2 || []).push(l2, "" + k2) : "suppressContentEditableWarning" !== l2 && "suppressHydrationWarning" !== l2 && (ea.hasOwnProperty(l2) ? (null != k2 && "onScroll" === l2 && D("scroll", a), f2 || h === k2 || (f2 = [])) : (f2 = f2 || []).push(l2, k2));
  4867. }
  4868. c && (f2 = f2 || []).push("style", c);
  4869. var l2 = f2;
  4870. if (b.updateQueue = l2)
  4871. b.flags |= 4;
  4872. }
  4873. };
  4874. Dj = function(a, b, c, d) {
  4875. c !== d && (b.flags |= 4);
  4876. };
  4877. function Ej(a, b) {
  4878. if (!I)
  4879. switch (a.tailMode) {
  4880. case "hidden":
  4881. b = a.tail;
  4882. for (var c = null; null !== b; )
  4883. null !== b.alternate && (c = b), b = b.sibling;
  4884. null === c ? a.tail = null : c.sibling = null;
  4885. break;
  4886. case "collapsed":
  4887. c = a.tail;
  4888. for (var d = null; null !== c; )
  4889. null !== c.alternate && (d = c), c = c.sibling;
  4890. null === d ? b || null === a.tail ? a.tail = null : a.tail.sibling = null : d.sibling = null;
  4891. }
  4892. }
  4893. function S(a) {
  4894. var b = null !== a.alternate && a.alternate.child === a.child, c = 0, d = 0;
  4895. if (b)
  4896. for (var e = a.child; null !== e; )
  4897. c |= e.lanes | e.childLanes, d |= e.subtreeFlags & 14680064, d |= e.flags & 14680064, e.return = a, e = e.sibling;
  4898. else
  4899. for (e = a.child; null !== e; )
  4900. c |= e.lanes | e.childLanes, d |= e.subtreeFlags, d |= e.flags, e.return = a, e = e.sibling;
  4901. a.subtreeFlags |= d;
  4902. a.childLanes = c;
  4903. return b;
  4904. }
  4905. function Fj(a, b, c) {
  4906. var d = b.pendingProps;
  4907. wg(b);
  4908. switch (b.tag) {
  4909. case 2:
  4910. case 16:
  4911. case 15:
  4912. case 0:
  4913. case 11:
  4914. case 7:
  4915. case 8:
  4916. case 12:
  4917. case 9:
  4918. case 14:
  4919. return S(b), null;
  4920. case 1:
  4921. return Zf(b.type) && $f(), S(b), null;
  4922. case 3:
  4923. d = b.stateNode;
  4924. Jh();
  4925. E(Wf);
  4926. E(H);
  4927. Oh();
  4928. d.pendingContext && (d.context = d.pendingContext, d.pendingContext = null);
  4929. if (null === a || null === a.child)
  4930. Gg(b) ? b.flags |= 4 : null === a || a.memoizedState.isDehydrated && 0 === (b.flags & 256) || (b.flags |= 1024, null !== zg && (Gj(zg), zg = null));
  4931. Bj(a, b);
  4932. S(b);
  4933. return null;
  4934. case 5:
  4935. Lh(b);
  4936. var e = Hh(Gh.current);
  4937. c = b.type;
  4938. if (null !== a && null != b.stateNode)
  4939. Cj(a, b, c, d, e), a.ref !== b.ref && (b.flags |= 512, b.flags |= 2097152);
  4940. else {
  4941. if (!d) {
  4942. if (null === b.stateNode)
  4943. throw Error(p(166));
  4944. S(b);
  4945. return null;
  4946. }
  4947. a = Hh(Eh.current);
  4948. if (Gg(b)) {
  4949. d = b.stateNode;
  4950. c = b.type;
  4951. var f2 = b.memoizedProps;
  4952. d[Of] = b;
  4953. d[Pf] = f2;
  4954. a = 0 !== (b.mode & 1);
  4955. switch (c) {
  4956. case "dialog":
  4957. D("cancel", d);
  4958. D("close", d);
  4959. break;
  4960. case "iframe":
  4961. case "object":
  4962. case "embed":
  4963. D("load", d);
  4964. break;
  4965. case "video":
  4966. case "audio":
  4967. for (e = 0; e < lf.length; e++)
  4968. D(lf[e], d);
  4969. break;
  4970. case "source":
  4971. D("error", d);
  4972. break;
  4973. case "img":
  4974. case "image":
  4975. case "link":
  4976. D(
  4977. "error",
  4978. d
  4979. );
  4980. D("load", d);
  4981. break;
  4982. case "details":
  4983. D("toggle", d);
  4984. break;
  4985. case "input":
  4986. Za(d, f2);
  4987. D("invalid", d);
  4988. break;
  4989. case "select":
  4990. d._wrapperState = { wasMultiple: !!f2.multiple };
  4991. D("invalid", d);
  4992. break;
  4993. case "textarea":
  4994. hb(d, f2), D("invalid", d);
  4995. }
  4996. ub(c, f2);
  4997. e = null;
  4998. for (var g in f2)
  4999. if (f2.hasOwnProperty(g)) {
  5000. var h = f2[g];
  5001. "children" === g ? "string" === typeof h ? d.textContent !== h && (true !== f2.suppressHydrationWarning && Af(d.textContent, h, a), e = ["children", h]) : "number" === typeof h && d.textContent !== "" + h && (true !== f2.suppressHydrationWarning && Af(
  5002. d.textContent,
  5003. h,
  5004. a
  5005. ), e = ["children", "" + h]) : ea.hasOwnProperty(g) && null != h && "onScroll" === g && D("scroll", d);
  5006. }
  5007. switch (c) {
  5008. case "input":
  5009. Va(d);
  5010. db(d, f2, true);
  5011. break;
  5012. case "textarea":
  5013. Va(d);
  5014. jb(d);
  5015. break;
  5016. case "select":
  5017. case "option":
  5018. break;
  5019. default:
  5020. "function" === typeof f2.onClick && (d.onclick = Bf);
  5021. }
  5022. d = e;
  5023. b.updateQueue = d;
  5024. null !== d && (b.flags |= 4);
  5025. } else {
  5026. g = 9 === e.nodeType ? e : e.ownerDocument;
  5027. "http://www.w3.org/1999/xhtml" === a && (a = kb(c));
  5028. "http://www.w3.org/1999/xhtml" === a ? "script" === c ? (a = g.createElement("div"), a.innerHTML = "<script><\/script>", a = a.removeChild(a.firstChild)) : "string" === typeof d.is ? a = g.createElement(c, { is: d.is }) : (a = g.createElement(c), "select" === c && (g = a, d.multiple ? g.multiple = true : d.size && (g.size = d.size))) : a = g.createElementNS(a, c);
  5029. a[Of] = b;
  5030. a[Pf] = d;
  5031. Aj(a, b, false, false);
  5032. b.stateNode = a;
  5033. a: {
  5034. g = vb(c, d);
  5035. switch (c) {
  5036. case "dialog":
  5037. D("cancel", a);
  5038. D("close", a);
  5039. e = d;
  5040. break;
  5041. case "iframe":
  5042. case "object":
  5043. case "embed":
  5044. D("load", a);
  5045. e = d;
  5046. break;
  5047. case "video":
  5048. case "audio":
  5049. for (e = 0; e < lf.length; e++)
  5050. D(lf[e], a);
  5051. e = d;
  5052. break;
  5053. case "source":
  5054. D("error", a);
  5055. e = d;
  5056. break;
  5057. case "img":
  5058. case "image":
  5059. case "link":
  5060. D(
  5061. "error",
  5062. a
  5063. );
  5064. D("load", a);
  5065. e = d;
  5066. break;
  5067. case "details":
  5068. D("toggle", a);
  5069. e = d;
  5070. break;
  5071. case "input":
  5072. Za(a, d);
  5073. e = Ya(a, d);
  5074. D("invalid", a);
  5075. break;
  5076. case "option":
  5077. e = d;
  5078. break;
  5079. case "select":
  5080. a._wrapperState = { wasMultiple: !!d.multiple };
  5081. e = A({}, d, { value: void 0 });
  5082. D("invalid", a);
  5083. break;
  5084. case "textarea":
  5085. hb(a, d);
  5086. e = gb(a, d);
  5087. D("invalid", a);
  5088. break;
  5089. default:
  5090. e = d;
  5091. }
  5092. ub(c, e);
  5093. h = e;
  5094. for (f2 in h)
  5095. if (h.hasOwnProperty(f2)) {
  5096. var k2 = h[f2];
  5097. "style" === f2 ? sb(a, k2) : "dangerouslySetInnerHTML" === f2 ? (k2 = k2 ? k2.__html : void 0, null != k2 && nb(a, k2)) : "children" === f2 ? "string" === typeof k2 ? ("textarea" !== c || "" !== k2) && ob(a, k2) : "number" === typeof k2 && ob(a, "" + k2) : "suppressContentEditableWarning" !== f2 && "suppressHydrationWarning" !== f2 && "autoFocus" !== f2 && (ea.hasOwnProperty(f2) ? null != k2 && "onScroll" === f2 && D("scroll", a) : null != k2 && ta(a, f2, k2, g));
  5098. }
  5099. switch (c) {
  5100. case "input":
  5101. Va(a);
  5102. db(a, d, false);
  5103. break;
  5104. case "textarea":
  5105. Va(a);
  5106. jb(a);
  5107. break;
  5108. case "option":
  5109. null != d.value && a.setAttribute("value", "" + Sa(d.value));
  5110. break;
  5111. case "select":
  5112. a.multiple = !!d.multiple;
  5113. f2 = d.value;
  5114. null != f2 ? fb(a, !!d.multiple, f2, false) : null != d.defaultValue && fb(
  5115. a,
  5116. !!d.multiple,
  5117. d.defaultValue,
  5118. true
  5119. );
  5120. break;
  5121. default:
  5122. "function" === typeof e.onClick && (a.onclick = Bf);
  5123. }
  5124. switch (c) {
  5125. case "button":
  5126. case "input":
  5127. case "select":
  5128. case "textarea":
  5129. d = !!d.autoFocus;
  5130. break a;
  5131. case "img":
  5132. d = true;
  5133. break a;
  5134. default:
  5135. d = false;
  5136. }
  5137. }
  5138. d && (b.flags |= 4);
  5139. }
  5140. null !== b.ref && (b.flags |= 512, b.flags |= 2097152);
  5141. }
  5142. S(b);
  5143. return null;
  5144. case 6:
  5145. if (a && null != b.stateNode)
  5146. Dj(a, b, a.memoizedProps, d);
  5147. else {
  5148. if ("string" !== typeof d && null === b.stateNode)
  5149. throw Error(p(166));
  5150. c = Hh(Gh.current);
  5151. Hh(Eh.current);
  5152. if (Gg(b)) {
  5153. d = b.stateNode;
  5154. c = b.memoizedProps;
  5155. d[Of] = b;
  5156. if (f2 = d.nodeValue !== c) {
  5157. if (a = xg, null !== a)
  5158. switch (a.tag) {
  5159. case 3:
  5160. Af(d.nodeValue, c, 0 !== (a.mode & 1));
  5161. break;
  5162. case 5:
  5163. true !== a.memoizedProps.suppressHydrationWarning && Af(d.nodeValue, c, 0 !== (a.mode & 1));
  5164. }
  5165. }
  5166. f2 && (b.flags |= 4);
  5167. } else
  5168. d = (9 === c.nodeType ? c : c.ownerDocument).createTextNode(d), d[Of] = b, b.stateNode = d;
  5169. }
  5170. S(b);
  5171. return null;
  5172. case 13:
  5173. E(M);
  5174. d = b.memoizedState;
  5175. if (null === a || null !== a.memoizedState && null !== a.memoizedState.dehydrated) {
  5176. if (I && null !== yg && 0 !== (b.mode & 1) && 0 === (b.flags & 128))
  5177. Hg(), Ig(), b.flags |= 98560, f2 = false;
  5178. else if (f2 = Gg(b), null !== d && null !== d.dehydrated) {
  5179. if (null === a) {
  5180. if (!f2)
  5181. throw Error(p(318));
  5182. f2 = b.memoizedState;
  5183. f2 = null !== f2 ? f2.dehydrated : null;
  5184. if (!f2)
  5185. throw Error(p(317));
  5186. f2[Of] = b;
  5187. } else
  5188. Ig(), 0 === (b.flags & 128) && (b.memoizedState = null), b.flags |= 4;
  5189. S(b);
  5190. f2 = false;
  5191. } else
  5192. null !== zg && (Gj(zg), zg = null), f2 = true;
  5193. if (!f2)
  5194. return b.flags & 65536 ? b : null;
  5195. }
  5196. if (0 !== (b.flags & 128))
  5197. return b.lanes = c, b;
  5198. d = null !== d;
  5199. d !== (null !== a && null !== a.memoizedState) && d && (b.child.flags |= 8192, 0 !== (b.mode & 1) && (null === a || 0 !== (M.current & 1) ? 0 === T && (T = 3) : uj()));
  5200. null !== b.updateQueue && (b.flags |= 4);
  5201. S(b);
  5202. return null;
  5203. case 4:
  5204. return Jh(), Bj(a, b), null === a && sf(b.stateNode.containerInfo), S(b), null;
  5205. case 10:
  5206. return Rg(b.type._context), S(b), null;
  5207. case 17:
  5208. return Zf(b.type) && $f(), S(b), null;
  5209. case 19:
  5210. E(M);
  5211. f2 = b.memoizedState;
  5212. if (null === f2)
  5213. return S(b), null;
  5214. d = 0 !== (b.flags & 128);
  5215. g = f2.rendering;
  5216. if (null === g)
  5217. if (d)
  5218. Ej(f2, false);
  5219. else {
  5220. if (0 !== T || null !== a && 0 !== (a.flags & 128))
  5221. for (a = b.child; null !== a; ) {
  5222. g = Mh(a);
  5223. if (null !== g) {
  5224. b.flags |= 128;
  5225. Ej(f2, false);
  5226. d = g.updateQueue;
  5227. null !== d && (b.updateQueue = d, b.flags |= 4);
  5228. b.subtreeFlags = 0;
  5229. d = c;
  5230. for (c = b.child; null !== c; )
  5231. f2 = c, a = d, f2.flags &= 14680066, g = f2.alternate, null === g ? (f2.childLanes = 0, f2.lanes = a, f2.child = null, f2.subtreeFlags = 0, f2.memoizedProps = null, f2.memoizedState = null, f2.updateQueue = null, f2.dependencies = null, f2.stateNode = null) : (f2.childLanes = g.childLanes, f2.lanes = g.lanes, f2.child = g.child, f2.subtreeFlags = 0, f2.deletions = null, f2.memoizedProps = g.memoizedProps, f2.memoizedState = g.memoizedState, f2.updateQueue = g.updateQueue, f2.type = g.type, a = g.dependencies, f2.dependencies = null === a ? null : { lanes: a.lanes, firstContext: a.firstContext }), c = c.sibling;
  5232. G(M, M.current & 1 | 2);
  5233. return b.child;
  5234. }
  5235. a = a.sibling;
  5236. }
  5237. null !== f2.tail && B() > Hj && (b.flags |= 128, d = true, Ej(f2, false), b.lanes = 4194304);
  5238. }
  5239. else {
  5240. if (!d)
  5241. if (a = Mh(g), null !== a) {
  5242. if (b.flags |= 128, d = true, c = a.updateQueue, null !== c && (b.updateQueue = c, b.flags |= 4), Ej(f2, true), null === f2.tail && "hidden" === f2.tailMode && !g.alternate && !I)
  5243. return S(b), null;
  5244. } else
  5245. 2 * B() - f2.renderingStartTime > Hj && 1073741824 !== c && (b.flags |= 128, d = true, Ej(f2, false), b.lanes = 4194304);
  5246. f2.isBackwards ? (g.sibling = b.child, b.child = g) : (c = f2.last, null !== c ? c.sibling = g : b.child = g, f2.last = g);
  5247. }
  5248. if (null !== f2.tail)
  5249. return b = f2.tail, f2.rendering = b, f2.tail = b.sibling, f2.renderingStartTime = B(), b.sibling = null, c = M.current, G(M, d ? c & 1 | 2 : c & 1), b;
  5250. S(b);
  5251. return null;
  5252. case 22:
  5253. case 23:
  5254. return Ij(), d = null !== b.memoizedState, null !== a && null !== a.memoizedState !== d && (b.flags |= 8192), d && 0 !== (b.mode & 1) ? 0 !== (gj & 1073741824) && (S(b), b.subtreeFlags & 6 && (b.flags |= 8192)) : S(b), null;
  5255. case 24:
  5256. return null;
  5257. case 25:
  5258. return null;
  5259. }
  5260. throw Error(p(156, b.tag));
  5261. }
  5262. function Jj(a, b) {
  5263. wg(b);
  5264. switch (b.tag) {
  5265. case 1:
  5266. return Zf(b.type) && $f(), a = b.flags, a & 65536 ? (b.flags = a & -65537 | 128, b) : null;
  5267. case 3:
  5268. return Jh(), E(Wf), E(H), Oh(), a = b.flags, 0 !== (a & 65536) && 0 === (a & 128) ? (b.flags = a & -65537 | 128, b) : null;
  5269. case 5:
  5270. return Lh(b), null;
  5271. case 13:
  5272. E(M);
  5273. a = b.memoizedState;
  5274. if (null !== a && null !== a.dehydrated) {
  5275. if (null === b.alternate)
  5276. throw Error(p(340));
  5277. Ig();
  5278. }
  5279. a = b.flags;
  5280. return a & 65536 ? (b.flags = a & -65537 | 128, b) : null;
  5281. case 19:
  5282. return E(M), null;
  5283. case 4:
  5284. return Jh(), null;
  5285. case 10:
  5286. return Rg(b.type._context), null;
  5287. case 22:
  5288. case 23:
  5289. return Ij(), null;
  5290. case 24:
  5291. return null;
  5292. default:
  5293. return null;
  5294. }
  5295. }
  5296. var Kj = false, U = false, Lj = "function" === typeof WeakSet ? WeakSet : Set, V = null;
  5297. function Mj(a, b) {
  5298. var c = a.ref;
  5299. if (null !== c)
  5300. if ("function" === typeof c)
  5301. try {
  5302. c(null);
  5303. } catch (d) {
  5304. W(a, b, d);
  5305. }
  5306. else
  5307. c.current = null;
  5308. }
  5309. function Nj(a, b, c) {
  5310. try {
  5311. c();
  5312. } catch (d) {
  5313. W(a, b, d);
  5314. }
  5315. }
  5316. var Oj = false;
  5317. function Pj(a, b) {
  5318. Cf = dd;
  5319. a = Me();
  5320. if (Ne(a)) {
  5321. if ("selectionStart" in a)
  5322. var c = { start: a.selectionStart, end: a.selectionEnd };
  5323. else
  5324. a: {
  5325. c = (c = a.ownerDocument) && c.defaultView || window;
  5326. var d = c.getSelection && c.getSelection();
  5327. if (d && 0 !== d.rangeCount) {
  5328. c = d.anchorNode;
  5329. var e = d.anchorOffset, f2 = d.focusNode;
  5330. d = d.focusOffset;
  5331. try {
  5332. c.nodeType, f2.nodeType;
  5333. } catch (F2) {
  5334. c = null;
  5335. break a;
  5336. }
  5337. var g = 0, h = -1, k2 = -1, l2 = 0, m2 = 0, q2 = a, r2 = null;
  5338. b:
  5339. for (; ; ) {
  5340. for (var y2; ; ) {
  5341. q2 !== c || 0 !== e && 3 !== q2.nodeType || (h = g + e);
  5342. q2 !== f2 || 0 !== d && 3 !== q2.nodeType || (k2 = g + d);
  5343. 3 === q2.nodeType && (g += q2.nodeValue.length);
  5344. if (null === (y2 = q2.firstChild))
  5345. break;
  5346. r2 = q2;
  5347. q2 = y2;
  5348. }
  5349. for (; ; ) {
  5350. if (q2 === a)
  5351. break b;
  5352. r2 === c && ++l2 === e && (h = g);
  5353. r2 === f2 && ++m2 === d && (k2 = g);
  5354. if (null !== (y2 = q2.nextSibling))
  5355. break;
  5356. q2 = r2;
  5357. r2 = q2.parentNode;
  5358. }
  5359. q2 = y2;
  5360. }
  5361. c = -1 === h || -1 === k2 ? null : { start: h, end: k2 };
  5362. } else
  5363. c = null;
  5364. }
  5365. c = c || { start: 0, end: 0 };
  5366. } else
  5367. c = null;
  5368. Df = { focusedElem: a, selectionRange: c };
  5369. dd = false;
  5370. for (V = b; null !== V; )
  5371. if (b = V, a = b.child, 0 !== (b.subtreeFlags & 1028) && null !== a)
  5372. a.return = b, V = a;
  5373. else
  5374. for (; null !== V; ) {
  5375. b = V;
  5376. try {
  5377. var n2 = b.alternate;
  5378. if (0 !== (b.flags & 1024))
  5379. switch (b.tag) {
  5380. case 0:
  5381. case 11:
  5382. case 15:
  5383. break;
  5384. case 1:
  5385. if (null !== n2) {
  5386. var t2 = n2.memoizedProps, J2 = n2.memoizedState, x2 = b.stateNode, w2 = x2.getSnapshotBeforeUpdate(b.elementType === b.type ? t2 : Lg(b.type, t2), J2);
  5387. x2.__reactInternalSnapshotBeforeUpdate = w2;
  5388. }
  5389. break;
  5390. case 3:
  5391. var u2 = b.stateNode.containerInfo;
  5392. 1 === u2.nodeType ? u2.textContent = "" : 9 === u2.nodeType && u2.documentElement && u2.removeChild(u2.documentElement);
  5393. break;
  5394. case 5:
  5395. case 6:
  5396. case 4:
  5397. case 17:
  5398. break;
  5399. default:
  5400. throw Error(p(163));
  5401. }
  5402. } catch (F2) {
  5403. W(b, b.return, F2);
  5404. }
  5405. a = b.sibling;
  5406. if (null !== a) {
  5407. a.return = b.return;
  5408. V = a;
  5409. break;
  5410. }
  5411. V = b.return;
  5412. }
  5413. n2 = Oj;
  5414. Oj = false;
  5415. return n2;
  5416. }
  5417. function Qj(a, b, c) {
  5418. var d = b.updateQueue;
  5419. d = null !== d ? d.lastEffect : null;
  5420. if (null !== d) {
  5421. var e = d = d.next;
  5422. do {
  5423. if ((e.tag & a) === a) {
  5424. var f2 = e.destroy;
  5425. e.destroy = void 0;
  5426. void 0 !== f2 && Nj(b, c, f2);
  5427. }
  5428. e = e.next;
  5429. } while (e !== d);
  5430. }
  5431. }
  5432. function Rj(a, b) {
  5433. b = b.updateQueue;
  5434. b = null !== b ? b.lastEffect : null;
  5435. if (null !== b) {
  5436. var c = b = b.next;
  5437. do {
  5438. if ((c.tag & a) === a) {
  5439. var d = c.create;
  5440. c.destroy = d();
  5441. }
  5442. c = c.next;
  5443. } while (c !== b);
  5444. }
  5445. }
  5446. function Sj(a) {
  5447. var b = a.ref;
  5448. if (null !== b) {
  5449. var c = a.stateNode;
  5450. switch (a.tag) {
  5451. case 5:
  5452. a = c;
  5453. break;
  5454. default:
  5455. a = c;
  5456. }
  5457. "function" === typeof b ? b(a) : b.current = a;
  5458. }
  5459. }
  5460. function Tj(a) {
  5461. var b = a.alternate;
  5462. null !== b && (a.alternate = null, Tj(b));
  5463. a.child = null;
  5464. a.deletions = null;
  5465. a.sibling = null;
  5466. 5 === a.tag && (b = a.stateNode, null !== b && (delete b[Of], delete b[Pf], delete b[of], delete b[Qf], delete b[Rf]));
  5467. a.stateNode = null;
  5468. a.return = null;
  5469. a.dependencies = null;
  5470. a.memoizedProps = null;
  5471. a.memoizedState = null;
  5472. a.pendingProps = null;
  5473. a.stateNode = null;
  5474. a.updateQueue = null;
  5475. }
  5476. function Uj(a) {
  5477. return 5 === a.tag || 3 === a.tag || 4 === a.tag;
  5478. }
  5479. function Vj(a) {
  5480. a:
  5481. for (; ; ) {
  5482. for (; null === a.sibling; ) {
  5483. if (null === a.return || Uj(a.return))
  5484. return null;
  5485. a = a.return;
  5486. }
  5487. a.sibling.return = a.return;
  5488. for (a = a.sibling; 5 !== a.tag && 6 !== a.tag && 18 !== a.tag; ) {
  5489. if (a.flags & 2)
  5490. continue a;
  5491. if (null === a.child || 4 === a.tag)
  5492. continue a;
  5493. else
  5494. a.child.return = a, a = a.child;
  5495. }
  5496. if (!(a.flags & 2))
  5497. return a.stateNode;
  5498. }
  5499. }
  5500. function Wj(a, b, c) {
  5501. var d = a.tag;
  5502. if (5 === d || 6 === d)
  5503. a = a.stateNode, b ? 8 === c.nodeType ? c.parentNode.insertBefore(a, b) : c.insertBefore(a, b) : (8 === c.nodeType ? (b = c.parentNode, b.insertBefore(a, c)) : (b = c, b.appendChild(a)), c = c._reactRootContainer, null !== c && void 0 !== c || null !== b.onclick || (b.onclick = Bf));
  5504. else if (4 !== d && (a = a.child, null !== a))
  5505. for (Wj(a, b, c), a = a.sibling; null !== a; )
  5506. Wj(a, b, c), a = a.sibling;
  5507. }
  5508. function Xj(a, b, c) {
  5509. var d = a.tag;
  5510. if (5 === d || 6 === d)
  5511. a = a.stateNode, b ? c.insertBefore(a, b) : c.appendChild(a);
  5512. else if (4 !== d && (a = a.child, null !== a))
  5513. for (Xj(a, b, c), a = a.sibling; null !== a; )
  5514. Xj(a, b, c), a = a.sibling;
  5515. }
  5516. var X = null, Yj = false;
  5517. function Zj(a, b, c) {
  5518. for (c = c.child; null !== c; )
  5519. ak(a, b, c), c = c.sibling;
  5520. }
  5521. function ak(a, b, c) {
  5522. if (lc && "function" === typeof lc.onCommitFiberUnmount)
  5523. try {
  5524. lc.onCommitFiberUnmount(kc, c);
  5525. } catch (h) {
  5526. }
  5527. switch (c.tag) {
  5528. case 5:
  5529. U || Mj(c, b);
  5530. case 6:
  5531. var d = X, e = Yj;
  5532. X = null;
  5533. Zj(a, b, c);
  5534. X = d;
  5535. Yj = e;
  5536. null !== X && (Yj ? (a = X, c = c.stateNode, 8 === a.nodeType ? a.parentNode.removeChild(c) : a.removeChild(c)) : X.removeChild(c.stateNode));
  5537. break;
  5538. case 18:
  5539. null !== X && (Yj ? (a = X, c = c.stateNode, 8 === a.nodeType ? Kf(a.parentNode, c) : 1 === a.nodeType && Kf(a, c), bd(a)) : Kf(X, c.stateNode));
  5540. break;
  5541. case 4:
  5542. d = X;
  5543. e = Yj;
  5544. X = c.stateNode.containerInfo;
  5545. Yj = true;
  5546. Zj(a, b, c);
  5547. X = d;
  5548. Yj = e;
  5549. break;
  5550. case 0:
  5551. case 11:
  5552. case 14:
  5553. case 15:
  5554. if (!U && (d = c.updateQueue, null !== d && (d = d.lastEffect, null !== d))) {
  5555. e = d = d.next;
  5556. do {
  5557. var f2 = e, g = f2.destroy;
  5558. f2 = f2.tag;
  5559. void 0 !== g && (0 !== (f2 & 2) ? Nj(c, b, g) : 0 !== (f2 & 4) && Nj(c, b, g));
  5560. e = e.next;
  5561. } while (e !== d);
  5562. }
  5563. Zj(a, b, c);
  5564. break;
  5565. case 1:
  5566. if (!U && (Mj(c, b), d = c.stateNode, "function" === typeof d.componentWillUnmount))
  5567. try {
  5568. d.props = c.memoizedProps, d.state = c.memoizedState, d.componentWillUnmount();
  5569. } catch (h) {
  5570. W(c, b, h);
  5571. }
  5572. Zj(a, b, c);
  5573. break;
  5574. case 21:
  5575. Zj(a, b, c);
  5576. break;
  5577. case 22:
  5578. c.mode & 1 ? (U = (d = U) || null !== c.memoizedState, Zj(a, b, c), U = d) : Zj(a, b, c);
  5579. break;
  5580. default:
  5581. Zj(a, b, c);
  5582. }
  5583. }
  5584. function bk(a) {
  5585. var b = a.updateQueue;
  5586. if (null !== b) {
  5587. a.updateQueue = null;
  5588. var c = a.stateNode;
  5589. null === c && (c = a.stateNode = new Lj());
  5590. b.forEach(function(b2) {
  5591. var d = ck.bind(null, a, b2);
  5592. c.has(b2) || (c.add(b2), b2.then(d, d));
  5593. });
  5594. }
  5595. }
  5596. function dk(a, b) {
  5597. var c = b.deletions;
  5598. if (null !== c)
  5599. for (var d = 0; d < c.length; d++) {
  5600. var e = c[d];
  5601. try {
  5602. var f2 = a, g = b, h = g;
  5603. a:
  5604. for (; null !== h; ) {
  5605. switch (h.tag) {
  5606. case 5:
  5607. X = h.stateNode;
  5608. Yj = false;
  5609. break a;
  5610. case 3:
  5611. X = h.stateNode.containerInfo;
  5612. Yj = true;
  5613. break a;
  5614. case 4:
  5615. X = h.stateNode.containerInfo;
  5616. Yj = true;
  5617. break a;
  5618. }
  5619. h = h.return;
  5620. }
  5621. if (null === X)
  5622. throw Error(p(160));
  5623. ak(f2, g, e);
  5624. X = null;
  5625. Yj = false;
  5626. var k2 = e.alternate;
  5627. null !== k2 && (k2.return = null);
  5628. e.return = null;
  5629. } catch (l2) {
  5630. W(e, b, l2);
  5631. }
  5632. }
  5633. if (b.subtreeFlags & 12854)
  5634. for (b = b.child; null !== b; )
  5635. ek(b, a), b = b.sibling;
  5636. }
  5637. function ek(a, b) {
  5638. var c = a.alternate, d = a.flags;
  5639. switch (a.tag) {
  5640. case 0:
  5641. case 11:
  5642. case 14:
  5643. case 15:
  5644. dk(b, a);
  5645. fk(a);
  5646. if (d & 4) {
  5647. try {
  5648. Qj(3, a, a.return), Rj(3, a);
  5649. } catch (t2) {
  5650. W(a, a.return, t2);
  5651. }
  5652. try {
  5653. Qj(5, a, a.return);
  5654. } catch (t2) {
  5655. W(a, a.return, t2);
  5656. }
  5657. }
  5658. break;
  5659. case 1:
  5660. dk(b, a);
  5661. fk(a);
  5662. d & 512 && null !== c && Mj(c, c.return);
  5663. break;
  5664. case 5:
  5665. dk(b, a);
  5666. fk(a);
  5667. d & 512 && null !== c && Mj(c, c.return);
  5668. if (a.flags & 32) {
  5669. var e = a.stateNode;
  5670. try {
  5671. ob(e, "");
  5672. } catch (t2) {
  5673. W(a, a.return, t2);
  5674. }
  5675. }
  5676. if (d & 4 && (e = a.stateNode, null != e)) {
  5677. var f2 = a.memoizedProps, g = null !== c ? c.memoizedProps : f2, h = a.type, k2 = a.updateQueue;
  5678. a.updateQueue = null;
  5679. if (null !== k2)
  5680. try {
  5681. "input" === h && "radio" === f2.type && null != f2.name && ab(e, f2);
  5682. vb(h, g);
  5683. var l2 = vb(h, f2);
  5684. for (g = 0; g < k2.length; g += 2) {
  5685. var m2 = k2[g], q2 = k2[g + 1];
  5686. "style" === m2 ? sb(e, q2) : "dangerouslySetInnerHTML" === m2 ? nb(e, q2) : "children" === m2 ? ob(e, q2) : ta(e, m2, q2, l2);
  5687. }
  5688. switch (h) {
  5689. case "input":
  5690. bb(e, f2);
  5691. break;
  5692. case "textarea":
  5693. ib(e, f2);
  5694. break;
  5695. case "select":
  5696. var r2 = e._wrapperState.wasMultiple;
  5697. e._wrapperState.wasMultiple = !!f2.multiple;
  5698. var y2 = f2.value;
  5699. null != y2 ? fb(e, !!f2.multiple, y2, false) : r2 !== !!f2.multiple && (null != f2.defaultValue ? fb(
  5700. e,
  5701. !!f2.multiple,
  5702. f2.defaultValue,
  5703. true
  5704. ) : fb(e, !!f2.multiple, f2.multiple ? [] : "", false));
  5705. }
  5706. e[Pf] = f2;
  5707. } catch (t2) {
  5708. W(a, a.return, t2);
  5709. }
  5710. }
  5711. break;
  5712. case 6:
  5713. dk(b, a);
  5714. fk(a);
  5715. if (d & 4) {
  5716. if (null === a.stateNode)
  5717. throw Error(p(162));
  5718. e = a.stateNode;
  5719. f2 = a.memoizedProps;
  5720. try {
  5721. e.nodeValue = f2;
  5722. } catch (t2) {
  5723. W(a, a.return, t2);
  5724. }
  5725. }
  5726. break;
  5727. case 3:
  5728. dk(b, a);
  5729. fk(a);
  5730. if (d & 4 && null !== c && c.memoizedState.isDehydrated)
  5731. try {
  5732. bd(b.containerInfo);
  5733. } catch (t2) {
  5734. W(a, a.return, t2);
  5735. }
  5736. break;
  5737. case 4:
  5738. dk(b, a);
  5739. fk(a);
  5740. break;
  5741. case 13:
  5742. dk(b, a);
  5743. fk(a);
  5744. e = a.child;
  5745. e.flags & 8192 && (f2 = null !== e.memoizedState, e.stateNode.isHidden = f2, !f2 || null !== e.alternate && null !== e.alternate.memoizedState || (gk = B()));
  5746. d & 4 && bk(a);
  5747. break;
  5748. case 22:
  5749. m2 = null !== c && null !== c.memoizedState;
  5750. a.mode & 1 ? (U = (l2 = U) || m2, dk(b, a), U = l2) : dk(b, a);
  5751. fk(a);
  5752. if (d & 8192) {
  5753. l2 = null !== a.memoizedState;
  5754. if ((a.stateNode.isHidden = l2) && !m2 && 0 !== (a.mode & 1))
  5755. for (V = a, m2 = a.child; null !== m2; ) {
  5756. for (q2 = V = m2; null !== V; ) {
  5757. r2 = V;
  5758. y2 = r2.child;
  5759. switch (r2.tag) {
  5760. case 0:
  5761. case 11:
  5762. case 14:
  5763. case 15:
  5764. Qj(4, r2, r2.return);
  5765. break;
  5766. case 1:
  5767. Mj(r2, r2.return);
  5768. var n2 = r2.stateNode;
  5769. if ("function" === typeof n2.componentWillUnmount) {
  5770. d = r2;
  5771. c = r2.return;
  5772. try {
  5773. b = d, n2.props = b.memoizedProps, n2.state = b.memoizedState, n2.componentWillUnmount();
  5774. } catch (t2) {
  5775. W(d, c, t2);
  5776. }
  5777. }
  5778. break;
  5779. case 5:
  5780. Mj(r2, r2.return);
  5781. break;
  5782. case 22:
  5783. if (null !== r2.memoizedState) {
  5784. hk(q2);
  5785. continue;
  5786. }
  5787. }
  5788. null !== y2 ? (y2.return = r2, V = y2) : hk(q2);
  5789. }
  5790. m2 = m2.sibling;
  5791. }
  5792. a:
  5793. for (m2 = null, q2 = a; ; ) {
  5794. if (5 === q2.tag) {
  5795. if (null === m2) {
  5796. m2 = q2;
  5797. try {
  5798. e = q2.stateNode, l2 ? (f2 = e.style, "function" === typeof f2.setProperty ? f2.setProperty("display", "none", "important") : f2.display = "none") : (h = q2.stateNode, k2 = q2.memoizedProps.style, g = void 0 !== k2 && null !== k2 && k2.hasOwnProperty("display") ? k2.display : null, h.style.display = rb("display", g));
  5799. } catch (t2) {
  5800. W(a, a.return, t2);
  5801. }
  5802. }
  5803. } else if (6 === q2.tag) {
  5804. if (null === m2)
  5805. try {
  5806. q2.stateNode.nodeValue = l2 ? "" : q2.memoizedProps;
  5807. } catch (t2) {
  5808. W(a, a.return, t2);
  5809. }
  5810. } else if ((22 !== q2.tag && 23 !== q2.tag || null === q2.memoizedState || q2 === a) && null !== q2.child) {
  5811. q2.child.return = q2;
  5812. q2 = q2.child;
  5813. continue;
  5814. }
  5815. if (q2 === a)
  5816. break a;
  5817. for (; null === q2.sibling; ) {
  5818. if (null === q2.return || q2.return === a)
  5819. break a;
  5820. m2 === q2 && (m2 = null);
  5821. q2 = q2.return;
  5822. }
  5823. m2 === q2 && (m2 = null);
  5824. q2.sibling.return = q2.return;
  5825. q2 = q2.sibling;
  5826. }
  5827. }
  5828. break;
  5829. case 19:
  5830. dk(b, a);
  5831. fk(a);
  5832. d & 4 && bk(a);
  5833. break;
  5834. case 21:
  5835. break;
  5836. default:
  5837. dk(
  5838. b,
  5839. a
  5840. ), fk(a);
  5841. }
  5842. }
  5843. function fk(a) {
  5844. var b = a.flags;
  5845. if (b & 2) {
  5846. try {
  5847. a: {
  5848. for (var c = a.return; null !== c; ) {
  5849. if (Uj(c)) {
  5850. var d = c;
  5851. break a;
  5852. }
  5853. c = c.return;
  5854. }
  5855. throw Error(p(160));
  5856. }
  5857. switch (d.tag) {
  5858. case 5:
  5859. var e = d.stateNode;
  5860. d.flags & 32 && (ob(e, ""), d.flags &= -33);
  5861. var f2 = Vj(a);
  5862. Xj(a, f2, e);
  5863. break;
  5864. case 3:
  5865. case 4:
  5866. var g = d.stateNode.containerInfo, h = Vj(a);
  5867. Wj(a, h, g);
  5868. break;
  5869. default:
  5870. throw Error(p(161));
  5871. }
  5872. } catch (k2) {
  5873. W(a, a.return, k2);
  5874. }
  5875. a.flags &= -3;
  5876. }
  5877. b & 4096 && (a.flags &= -4097);
  5878. }
  5879. function ik(a, b, c) {
  5880. V = a;
  5881. jk(a);
  5882. }
  5883. function jk(a, b, c) {
  5884. for (var d = 0 !== (a.mode & 1); null !== V; ) {
  5885. var e = V, f2 = e.child;
  5886. if (22 === e.tag && d) {
  5887. var g = null !== e.memoizedState || Kj;
  5888. if (!g) {
  5889. var h = e.alternate, k2 = null !== h && null !== h.memoizedState || U;
  5890. h = Kj;
  5891. var l2 = U;
  5892. Kj = g;
  5893. if ((U = k2) && !l2)
  5894. for (V = e; null !== V; )
  5895. g = V, k2 = g.child, 22 === g.tag && null !== g.memoizedState ? kk(e) : null !== k2 ? (k2.return = g, V = k2) : kk(e);
  5896. for (; null !== f2; )
  5897. V = f2, jk(f2), f2 = f2.sibling;
  5898. V = e;
  5899. Kj = h;
  5900. U = l2;
  5901. }
  5902. lk(a);
  5903. } else
  5904. 0 !== (e.subtreeFlags & 8772) && null !== f2 ? (f2.return = e, V = f2) : lk(a);
  5905. }
  5906. }
  5907. function lk(a) {
  5908. for (; null !== V; ) {
  5909. var b = V;
  5910. if (0 !== (b.flags & 8772)) {
  5911. var c = b.alternate;
  5912. try {
  5913. if (0 !== (b.flags & 8772))
  5914. switch (b.tag) {
  5915. case 0:
  5916. case 11:
  5917. case 15:
  5918. U || Rj(5, b);
  5919. break;
  5920. case 1:
  5921. var d = b.stateNode;
  5922. if (b.flags & 4 && !U)
  5923. if (null === c)
  5924. d.componentDidMount();
  5925. else {
  5926. var e = b.elementType === b.type ? c.memoizedProps : Lg(b.type, c.memoizedProps);
  5927. d.componentDidUpdate(e, c.memoizedState, d.__reactInternalSnapshotBeforeUpdate);
  5928. }
  5929. var f2 = b.updateQueue;
  5930. null !== f2 && ih(b, f2, d);
  5931. break;
  5932. case 3:
  5933. var g = b.updateQueue;
  5934. if (null !== g) {
  5935. c = null;
  5936. if (null !== b.child)
  5937. switch (b.child.tag) {
  5938. case 5:
  5939. c = b.child.stateNode;
  5940. break;
  5941. case 1:
  5942. c = b.child.stateNode;
  5943. }
  5944. ih(b, g, c);
  5945. }
  5946. break;
  5947. case 5:
  5948. var h = b.stateNode;
  5949. if (null === c && b.flags & 4) {
  5950. c = h;
  5951. var k2 = b.memoizedProps;
  5952. switch (b.type) {
  5953. case "button":
  5954. case "input":
  5955. case "select":
  5956. case "textarea":
  5957. k2.autoFocus && c.focus();
  5958. break;
  5959. case "img":
  5960. k2.src && (c.src = k2.src);
  5961. }
  5962. }
  5963. break;
  5964. case 6:
  5965. break;
  5966. case 4:
  5967. break;
  5968. case 12:
  5969. break;
  5970. case 13:
  5971. if (null === b.memoizedState) {
  5972. var l2 = b.alternate;
  5973. if (null !== l2) {
  5974. var m2 = l2.memoizedState;
  5975. if (null !== m2) {
  5976. var q2 = m2.dehydrated;
  5977. null !== q2 && bd(q2);
  5978. }
  5979. }
  5980. }
  5981. break;
  5982. case 19:
  5983. case 17:
  5984. case 21:
  5985. case 22:
  5986. case 23:
  5987. case 25:
  5988. break;
  5989. default:
  5990. throw Error(p(163));
  5991. }
  5992. U || b.flags & 512 && Sj(b);
  5993. } catch (r2) {
  5994. W(b, b.return, r2);
  5995. }
  5996. }
  5997. if (b === a) {
  5998. V = null;
  5999. break;
  6000. }
  6001. c = b.sibling;
  6002. if (null !== c) {
  6003. c.return = b.return;
  6004. V = c;
  6005. break;
  6006. }
  6007. V = b.return;
  6008. }
  6009. }
  6010. function hk(a) {
  6011. for (; null !== V; ) {
  6012. var b = V;
  6013. if (b === a) {
  6014. V = null;
  6015. break;
  6016. }
  6017. var c = b.sibling;
  6018. if (null !== c) {
  6019. c.return = b.return;
  6020. V = c;
  6021. break;
  6022. }
  6023. V = b.return;
  6024. }
  6025. }
  6026. function kk(a) {
  6027. for (; null !== V; ) {
  6028. var b = V;
  6029. try {
  6030. switch (b.tag) {
  6031. case 0:
  6032. case 11:
  6033. case 15:
  6034. var c = b.return;
  6035. try {
  6036. Rj(4, b);
  6037. } catch (k2) {
  6038. W(b, c, k2);
  6039. }
  6040. break;
  6041. case 1:
  6042. var d = b.stateNode;
  6043. if ("function" === typeof d.componentDidMount) {
  6044. var e = b.return;
  6045. try {
  6046. d.componentDidMount();
  6047. } catch (k2) {
  6048. W(b, e, k2);
  6049. }
  6050. }
  6051. var f2 = b.return;
  6052. try {
  6053. Sj(b);
  6054. } catch (k2) {
  6055. W(b, f2, k2);
  6056. }
  6057. break;
  6058. case 5:
  6059. var g = b.return;
  6060. try {
  6061. Sj(b);
  6062. } catch (k2) {
  6063. W(b, g, k2);
  6064. }
  6065. }
  6066. } catch (k2) {
  6067. W(b, b.return, k2);
  6068. }
  6069. if (b === a) {
  6070. V = null;
  6071. break;
  6072. }
  6073. var h = b.sibling;
  6074. if (null !== h) {
  6075. h.return = b.return;
  6076. V = h;
  6077. break;
  6078. }
  6079. V = b.return;
  6080. }
  6081. }
  6082. var mk = Math.ceil, nk = ua.ReactCurrentDispatcher, ok = ua.ReactCurrentOwner, pk = ua.ReactCurrentBatchConfig, K = 0, R = null, Y = null, Z = 0, gj = 0, fj = Uf(0), T = 0, qk = null, hh = 0, rk = 0, sk = 0, tk = null, uk = null, gk = 0, Hj = Infinity, vk = null, Pi = false, Qi = null, Si = null, wk = false, xk = null, yk = 0, zk = 0, Ak = null, Bk = -1, Ck = 0;
  6083. function L() {
  6084. return 0 !== (K & 6) ? B() : -1 !== Bk ? Bk : Bk = B();
  6085. }
  6086. function lh(a) {
  6087. if (0 === (a.mode & 1))
  6088. return 1;
  6089. if (0 !== (K & 2) && 0 !== Z)
  6090. return Z & -Z;
  6091. if (null !== Kg.transition)
  6092. return 0 === Ck && (Ck = yc()), Ck;
  6093. a = C;
  6094. if (0 !== a)
  6095. return a;
  6096. a = window.event;
  6097. a = void 0 === a ? 16 : jd(a.type);
  6098. return a;
  6099. }
  6100. function mh(a, b, c, d) {
  6101. if (50 < zk)
  6102. throw zk = 0, Ak = null, Error(p(185));
  6103. Ac(a, c, d);
  6104. if (0 === (K & 2) || a !== R)
  6105. a === R && (0 === (K & 2) && (rk |= c), 4 === T && Dk(a, Z)), Ek(a, d), 1 === c && 0 === K && 0 === (b.mode & 1) && (Hj = B() + 500, fg && jg());
  6106. }
  6107. function Ek(a, b) {
  6108. var c = a.callbackNode;
  6109. wc(a, b);
  6110. var d = uc(a, a === R ? Z : 0);
  6111. if (0 === d)
  6112. null !== c && bc(c), a.callbackNode = null, a.callbackPriority = 0;
  6113. else if (b = d & -d, a.callbackPriority !== b) {
  6114. null != c && bc(c);
  6115. if (1 === b)
  6116. 0 === a.tag ? ig(Fk.bind(null, a)) : hg(Fk.bind(null, a)), Jf(function() {
  6117. 0 === (K & 6) && jg();
  6118. }), c = null;
  6119. else {
  6120. switch (Dc(d)) {
  6121. case 1:
  6122. c = fc;
  6123. break;
  6124. case 4:
  6125. c = gc;
  6126. break;
  6127. case 16:
  6128. c = hc;
  6129. break;
  6130. case 536870912:
  6131. c = jc;
  6132. break;
  6133. default:
  6134. c = hc;
  6135. }
  6136. c = Gk(c, Hk.bind(null, a));
  6137. }
  6138. a.callbackPriority = b;
  6139. a.callbackNode = c;
  6140. }
  6141. }
  6142. function Hk(a, b) {
  6143. Bk = -1;
  6144. Ck = 0;
  6145. if (0 !== (K & 6))
  6146. throw Error(p(327));
  6147. var c = a.callbackNode;
  6148. if (Ik() && a.callbackNode !== c)
  6149. return null;
  6150. var d = uc(a, a === R ? Z : 0);
  6151. if (0 === d)
  6152. return null;
  6153. if (0 !== (d & 30) || 0 !== (d & a.expiredLanes) || b)
  6154. b = Jk(a, d);
  6155. else {
  6156. b = d;
  6157. var e = K;
  6158. K |= 2;
  6159. var f2 = Kk();
  6160. if (R !== a || Z !== b)
  6161. vk = null, Hj = B() + 500, Lk(a, b);
  6162. do
  6163. try {
  6164. Mk();
  6165. break;
  6166. } catch (h) {
  6167. Nk(a, h);
  6168. }
  6169. while (1);
  6170. Qg();
  6171. nk.current = f2;
  6172. K = e;
  6173. null !== Y ? b = 0 : (R = null, Z = 0, b = T);
  6174. }
  6175. if (0 !== b) {
  6176. 2 === b && (e = xc(a), 0 !== e && (d = e, b = Ok(a, e)));
  6177. if (1 === b)
  6178. throw c = qk, Lk(a, 0), Dk(a, d), Ek(a, B()), c;
  6179. if (6 === b)
  6180. Dk(a, d);
  6181. else {
  6182. e = a.current.alternate;
  6183. if (0 === (d & 30) && !Pk(e) && (b = Jk(a, d), 2 === b && (f2 = xc(a), 0 !== f2 && (d = f2, b = Ok(a, f2))), 1 === b))
  6184. throw c = qk, Lk(a, 0), Dk(a, d), Ek(a, B()), c;
  6185. a.finishedWork = e;
  6186. a.finishedLanes = d;
  6187. switch (b) {
  6188. case 0:
  6189. case 1:
  6190. throw Error(p(345));
  6191. case 2:
  6192. Qk(a, uk, vk);
  6193. break;
  6194. case 3:
  6195. Dk(a, d);
  6196. if ((d & 130023424) === d && (b = gk + 500 - B(), 10 < b)) {
  6197. if (0 !== uc(a, 0))
  6198. break;
  6199. e = a.suspendedLanes;
  6200. if ((e & d) !== d) {
  6201. L();
  6202. a.pingedLanes |= a.suspendedLanes & e;
  6203. break;
  6204. }
  6205. a.timeoutHandle = Ff(Qk.bind(null, a, uk, vk), b);
  6206. break;
  6207. }
  6208. Qk(a, uk, vk);
  6209. break;
  6210. case 4:
  6211. Dk(a, d);
  6212. if ((d & 4194240) === d)
  6213. break;
  6214. b = a.eventTimes;
  6215. for (e = -1; 0 < d; ) {
  6216. var g = 31 - oc(d);
  6217. f2 = 1 << g;
  6218. g = b[g];
  6219. g > e && (e = g);
  6220. d &= ~f2;
  6221. }
  6222. d = e;
  6223. d = B() - d;
  6224. d = (120 > d ? 120 : 480 > d ? 480 : 1080 > d ? 1080 : 1920 > d ? 1920 : 3e3 > d ? 3e3 : 4320 > d ? 4320 : 1960 * mk(d / 1960)) - d;
  6225. if (10 < d) {
  6226. a.timeoutHandle = Ff(Qk.bind(null, a, uk, vk), d);
  6227. break;
  6228. }
  6229. Qk(a, uk, vk);
  6230. break;
  6231. case 5:
  6232. Qk(a, uk, vk);
  6233. break;
  6234. default:
  6235. throw Error(p(329));
  6236. }
  6237. }
  6238. }
  6239. Ek(a, B());
  6240. return a.callbackNode === c ? Hk.bind(null, a) : null;
  6241. }
  6242. function Ok(a, b) {
  6243. var c = tk;
  6244. a.current.memoizedState.isDehydrated && (Lk(a, b).flags |= 256);
  6245. a = Jk(a, b);
  6246. 2 !== a && (b = uk, uk = c, null !== b && Gj(b));
  6247. return a;
  6248. }
  6249. function Gj(a) {
  6250. null === uk ? uk = a : uk.push.apply(uk, a);
  6251. }
  6252. function Pk(a) {
  6253. for (var b = a; ; ) {
  6254. if (b.flags & 16384) {
  6255. var c = b.updateQueue;
  6256. if (null !== c && (c = c.stores, null !== c))
  6257. for (var d = 0; d < c.length; d++) {
  6258. var e = c[d], f2 = e.getSnapshot;
  6259. e = e.value;
  6260. try {
  6261. if (!He(f2(), e))
  6262. return false;
  6263. } catch (g) {
  6264. return false;
  6265. }
  6266. }
  6267. }
  6268. c = b.child;
  6269. if (b.subtreeFlags & 16384 && null !== c)
  6270. c.return = b, b = c;
  6271. else {
  6272. if (b === a)
  6273. break;
  6274. for (; null === b.sibling; ) {
  6275. if (null === b.return || b.return === a)
  6276. return true;
  6277. b = b.return;
  6278. }
  6279. b.sibling.return = b.return;
  6280. b = b.sibling;
  6281. }
  6282. }
  6283. return true;
  6284. }
  6285. function Dk(a, b) {
  6286. b &= ~sk;
  6287. b &= ~rk;
  6288. a.suspendedLanes |= b;
  6289. a.pingedLanes &= ~b;
  6290. for (a = a.expirationTimes; 0 < b; ) {
  6291. var c = 31 - oc(b), d = 1 << c;
  6292. a[c] = -1;
  6293. b &= ~d;
  6294. }
  6295. }
  6296. function Fk(a) {
  6297. if (0 !== (K & 6))
  6298. throw Error(p(327));
  6299. Ik();
  6300. var b = uc(a, 0);
  6301. if (0 === (b & 1))
  6302. return Ek(a, B()), null;
  6303. var c = Jk(a, b);
  6304. if (0 !== a.tag && 2 === c) {
  6305. var d = xc(a);
  6306. 0 !== d && (b = d, c = Ok(a, d));
  6307. }
  6308. if (1 === c)
  6309. throw c = qk, Lk(a, 0), Dk(a, b), Ek(a, B()), c;
  6310. if (6 === c)
  6311. throw Error(p(345));
  6312. a.finishedWork = a.current.alternate;
  6313. a.finishedLanes = b;
  6314. Qk(a, uk, vk);
  6315. Ek(a, B());
  6316. return null;
  6317. }
  6318. function Rk(a, b) {
  6319. var c = K;
  6320. K |= 1;
  6321. try {
  6322. return a(b);
  6323. } finally {
  6324. K = c, 0 === K && (Hj = B() + 500, fg && jg());
  6325. }
  6326. }
  6327. function Sk(a) {
  6328. null !== xk && 0 === xk.tag && 0 === (K & 6) && Ik();
  6329. var b = K;
  6330. K |= 1;
  6331. var c = pk.transition, d = C;
  6332. try {
  6333. if (pk.transition = null, C = 1, a)
  6334. return a();
  6335. } finally {
  6336. C = d, pk.transition = c, K = b, 0 === (K & 6) && jg();
  6337. }
  6338. }
  6339. function Ij() {
  6340. gj = fj.current;
  6341. E(fj);
  6342. }
  6343. function Lk(a, b) {
  6344. a.finishedWork = null;
  6345. a.finishedLanes = 0;
  6346. var c = a.timeoutHandle;
  6347. -1 !== c && (a.timeoutHandle = -1, Gf(c));
  6348. if (null !== Y)
  6349. for (c = Y.return; null !== c; ) {
  6350. var d = c;
  6351. wg(d);
  6352. switch (d.tag) {
  6353. case 1:
  6354. d = d.type.childContextTypes;
  6355. null !== d && void 0 !== d && $f();
  6356. break;
  6357. case 3:
  6358. Jh();
  6359. E(Wf);
  6360. E(H);
  6361. Oh();
  6362. break;
  6363. case 5:
  6364. Lh(d);
  6365. break;
  6366. case 4:
  6367. Jh();
  6368. break;
  6369. case 13:
  6370. E(M);
  6371. break;
  6372. case 19:
  6373. E(M);
  6374. break;
  6375. case 10:
  6376. Rg(d.type._context);
  6377. break;
  6378. case 22:
  6379. case 23:
  6380. Ij();
  6381. }
  6382. c = c.return;
  6383. }
  6384. R = a;
  6385. Y = a = wh(a.current, null);
  6386. Z = gj = b;
  6387. T = 0;
  6388. qk = null;
  6389. sk = rk = hh = 0;
  6390. uk = tk = null;
  6391. if (null !== Wg) {
  6392. for (b = 0; b < Wg.length; b++)
  6393. if (c = Wg[b], d = c.interleaved, null !== d) {
  6394. c.interleaved = null;
  6395. var e = d.next, f2 = c.pending;
  6396. if (null !== f2) {
  6397. var g = f2.next;
  6398. f2.next = e;
  6399. d.next = g;
  6400. }
  6401. c.pending = d;
  6402. }
  6403. Wg = null;
  6404. }
  6405. return a;
  6406. }
  6407. function Nk(a, b) {
  6408. do {
  6409. var c = Y;
  6410. try {
  6411. Qg();
  6412. Ph.current = ai;
  6413. if (Sh) {
  6414. for (var d = N.memoizedState; null !== d; ) {
  6415. var e = d.queue;
  6416. null !== e && (e.pending = null);
  6417. d = d.next;
  6418. }
  6419. Sh = false;
  6420. }
  6421. Rh = 0;
  6422. P = O = N = null;
  6423. Th = false;
  6424. Uh = 0;
  6425. ok.current = null;
  6426. if (null === c || null === c.return) {
  6427. T = 1;
  6428. qk = b;
  6429. Y = null;
  6430. break;
  6431. }
  6432. a: {
  6433. var f2 = a, g = c.return, h = c, k2 = b;
  6434. b = Z;
  6435. h.flags |= 32768;
  6436. if (null !== k2 && "object" === typeof k2 && "function" === typeof k2.then) {
  6437. var l2 = k2, m2 = h, q2 = m2.tag;
  6438. if (0 === (m2.mode & 1) && (0 === q2 || 11 === q2 || 15 === q2)) {
  6439. var r2 = m2.alternate;
  6440. r2 ? (m2.updateQueue = r2.updateQueue, m2.memoizedState = r2.memoizedState, m2.lanes = r2.lanes) : (m2.updateQueue = null, m2.memoizedState = null);
  6441. }
  6442. var y2 = Vi(g);
  6443. if (null !== y2) {
  6444. y2.flags &= -257;
  6445. Wi(y2, g, h, f2, b);
  6446. y2.mode & 1 && Ti(f2, l2, b);
  6447. b = y2;
  6448. k2 = l2;
  6449. var n2 = b.updateQueue;
  6450. if (null === n2) {
  6451. var t2 = new Set();
  6452. t2.add(k2);
  6453. b.updateQueue = t2;
  6454. } else
  6455. n2.add(k2);
  6456. break a;
  6457. } else {
  6458. if (0 === (b & 1)) {
  6459. Ti(f2, l2, b);
  6460. uj();
  6461. break a;
  6462. }
  6463. k2 = Error(p(426));
  6464. }
  6465. } else if (I && h.mode & 1) {
  6466. var J2 = Vi(g);
  6467. if (null !== J2) {
  6468. 0 === (J2.flags & 65536) && (J2.flags |= 256);
  6469. Wi(J2, g, h, f2, b);
  6470. Jg(Ki(k2, h));
  6471. break a;
  6472. }
  6473. }
  6474. f2 = k2 = Ki(k2, h);
  6475. 4 !== T && (T = 2);
  6476. null === tk ? tk = [f2] : tk.push(f2);
  6477. f2 = g;
  6478. do {
  6479. switch (f2.tag) {
  6480. case 3:
  6481. f2.flags |= 65536;
  6482. b &= -b;
  6483. f2.lanes |= b;
  6484. var x2 = Oi(f2, k2, b);
  6485. fh(f2, x2);
  6486. break a;
  6487. case 1:
  6488. h = k2;
  6489. var w2 = f2.type, u2 = f2.stateNode;
  6490. if (0 === (f2.flags & 128) && ("function" === typeof w2.getDerivedStateFromError || null !== u2 && "function" === typeof u2.componentDidCatch && (null === Si || !Si.has(u2)))) {
  6491. f2.flags |= 65536;
  6492. b &= -b;
  6493. f2.lanes |= b;
  6494. var F2 = Ri(f2, h, b);
  6495. fh(f2, F2);
  6496. break a;
  6497. }
  6498. }
  6499. f2 = f2.return;
  6500. } while (null !== f2);
  6501. }
  6502. Tk(c);
  6503. } catch (na) {
  6504. b = na;
  6505. Y === c && null !== c && (Y = c = c.return);
  6506. continue;
  6507. }
  6508. break;
  6509. } while (1);
  6510. }
  6511. function Kk() {
  6512. var a = nk.current;
  6513. nk.current = ai;
  6514. return null === a ? ai : a;
  6515. }
  6516. function uj() {
  6517. if (0 === T || 3 === T || 2 === T)
  6518. T = 4;
  6519. null === R || 0 === (hh & 268435455) && 0 === (rk & 268435455) || Dk(R, Z);
  6520. }
  6521. function Jk(a, b) {
  6522. var c = K;
  6523. K |= 2;
  6524. var d = Kk();
  6525. if (R !== a || Z !== b)
  6526. vk = null, Lk(a, b);
  6527. do
  6528. try {
  6529. Uk();
  6530. break;
  6531. } catch (e) {
  6532. Nk(a, e);
  6533. }
  6534. while (1);
  6535. Qg();
  6536. K = c;
  6537. nk.current = d;
  6538. if (null !== Y)
  6539. throw Error(p(261));
  6540. R = null;
  6541. Z = 0;
  6542. return T;
  6543. }
  6544. function Uk() {
  6545. for (; null !== Y; )
  6546. Vk(Y);
  6547. }
  6548. function Mk() {
  6549. for (; null !== Y && !cc(); )
  6550. Vk(Y);
  6551. }
  6552. function Vk(a) {
  6553. var b = Wk(a.alternate, a, gj);
  6554. a.memoizedProps = a.pendingProps;
  6555. null === b ? Tk(a) : Y = b;
  6556. ok.current = null;
  6557. }
  6558. function Tk(a) {
  6559. var b = a;
  6560. do {
  6561. var c = b.alternate;
  6562. a = b.return;
  6563. if (0 === (b.flags & 32768)) {
  6564. if (c = Fj(c, b, gj), null !== c) {
  6565. Y = c;
  6566. return;
  6567. }
  6568. } else {
  6569. c = Jj(c, b);
  6570. if (null !== c) {
  6571. c.flags &= 32767;
  6572. Y = c;
  6573. return;
  6574. }
  6575. if (null !== a)
  6576. a.flags |= 32768, a.subtreeFlags = 0, a.deletions = null;
  6577. else {
  6578. T = 6;
  6579. Y = null;
  6580. return;
  6581. }
  6582. }
  6583. b = b.sibling;
  6584. if (null !== b) {
  6585. Y = b;
  6586. return;
  6587. }
  6588. Y = b = a;
  6589. } while (null !== b);
  6590. 0 === T && (T = 5);
  6591. }
  6592. function Qk(a, b, c) {
  6593. var d = C, e = pk.transition;
  6594. try {
  6595. pk.transition = null, C = 1, Xk(a, b, c, d);
  6596. } finally {
  6597. pk.transition = e, C = d;
  6598. }
  6599. return null;
  6600. }
  6601. function Xk(a, b, c, d) {
  6602. do
  6603. Ik();
  6604. while (null !== xk);
  6605. if (0 !== (K & 6))
  6606. throw Error(p(327));
  6607. c = a.finishedWork;
  6608. var e = a.finishedLanes;
  6609. if (null === c)
  6610. return null;
  6611. a.finishedWork = null;
  6612. a.finishedLanes = 0;
  6613. if (c === a.current)
  6614. throw Error(p(177));
  6615. a.callbackNode = null;
  6616. a.callbackPriority = 0;
  6617. var f2 = c.lanes | c.childLanes;
  6618. Bc(a, f2);
  6619. a === R && (Y = R = null, Z = 0);
  6620. 0 === (c.subtreeFlags & 2064) && 0 === (c.flags & 2064) || wk || (wk = true, Gk(hc, function() {
  6621. Ik();
  6622. return null;
  6623. }));
  6624. f2 = 0 !== (c.flags & 15990);
  6625. if (0 !== (c.subtreeFlags & 15990) || f2) {
  6626. f2 = pk.transition;
  6627. pk.transition = null;
  6628. var g = C;
  6629. C = 1;
  6630. var h = K;
  6631. K |= 4;
  6632. ok.current = null;
  6633. Pj(a, c);
  6634. ek(c, a);
  6635. Oe(Df);
  6636. dd = !!Cf;
  6637. Df = Cf = null;
  6638. a.current = c;
  6639. ik(c);
  6640. dc();
  6641. K = h;
  6642. C = g;
  6643. pk.transition = f2;
  6644. } else
  6645. a.current = c;
  6646. wk && (wk = false, xk = a, yk = e);
  6647. f2 = a.pendingLanes;
  6648. 0 === f2 && (Si = null);
  6649. mc(c.stateNode);
  6650. Ek(a, B());
  6651. if (null !== b)
  6652. for (d = a.onRecoverableError, c = 0; c < b.length; c++)
  6653. e = b[c], d(e.value, { componentStack: e.stack, digest: e.digest });
  6654. if (Pi)
  6655. throw Pi = false, a = Qi, Qi = null, a;
  6656. 0 !== (yk & 1) && 0 !== a.tag && Ik();
  6657. f2 = a.pendingLanes;
  6658. 0 !== (f2 & 1) ? a === Ak ? zk++ : (zk = 0, Ak = a) : zk = 0;
  6659. jg();
  6660. return null;
  6661. }
  6662. function Ik() {
  6663. if (null !== xk) {
  6664. var a = Dc(yk), b = pk.transition, c = C;
  6665. try {
  6666. pk.transition = null;
  6667. C = 16 > a ? 16 : a;
  6668. if (null === xk)
  6669. var d = false;
  6670. else {
  6671. a = xk;
  6672. xk = null;
  6673. yk = 0;
  6674. if (0 !== (K & 6))
  6675. throw Error(p(331));
  6676. var e = K;
  6677. K |= 4;
  6678. for (V = a.current; null !== V; ) {
  6679. var f2 = V, g = f2.child;
  6680. if (0 !== (V.flags & 16)) {
  6681. var h = f2.deletions;
  6682. if (null !== h) {
  6683. for (var k2 = 0; k2 < h.length; k2++) {
  6684. var l2 = h[k2];
  6685. for (V = l2; null !== V; ) {
  6686. var m2 = V;
  6687. switch (m2.tag) {
  6688. case 0:
  6689. case 11:
  6690. case 15:
  6691. Qj(8, m2, f2);
  6692. }
  6693. var q2 = m2.child;
  6694. if (null !== q2)
  6695. q2.return = m2, V = q2;
  6696. else
  6697. for (; null !== V; ) {
  6698. m2 = V;
  6699. var r2 = m2.sibling, y2 = m2.return;
  6700. Tj(m2);
  6701. if (m2 === l2) {
  6702. V = null;
  6703. break;
  6704. }
  6705. if (null !== r2) {
  6706. r2.return = y2;
  6707. V = r2;
  6708. break;
  6709. }
  6710. V = y2;
  6711. }
  6712. }
  6713. }
  6714. var n2 = f2.alternate;
  6715. if (null !== n2) {
  6716. var t2 = n2.child;
  6717. if (null !== t2) {
  6718. n2.child = null;
  6719. do {
  6720. var J2 = t2.sibling;
  6721. t2.sibling = null;
  6722. t2 = J2;
  6723. } while (null !== t2);
  6724. }
  6725. }
  6726. V = f2;
  6727. }
  6728. }
  6729. if (0 !== (f2.subtreeFlags & 2064) && null !== g)
  6730. g.return = f2, V = g;
  6731. else
  6732. b:
  6733. for (; null !== V; ) {
  6734. f2 = V;
  6735. if (0 !== (f2.flags & 2048))
  6736. switch (f2.tag) {
  6737. case 0:
  6738. case 11:
  6739. case 15:
  6740. Qj(9, f2, f2.return);
  6741. }
  6742. var x2 = f2.sibling;
  6743. if (null !== x2) {
  6744. x2.return = f2.return;
  6745. V = x2;
  6746. break b;
  6747. }
  6748. V = f2.return;
  6749. }
  6750. }
  6751. var w2 = a.current;
  6752. for (V = w2; null !== V; ) {
  6753. g = V;
  6754. var u2 = g.child;
  6755. if (0 !== (g.subtreeFlags & 2064) && null !== u2)
  6756. u2.return = g, V = u2;
  6757. else
  6758. b:
  6759. for (g = w2; null !== V; ) {
  6760. h = V;
  6761. if (0 !== (h.flags & 2048))
  6762. try {
  6763. switch (h.tag) {
  6764. case 0:
  6765. case 11:
  6766. case 15:
  6767. Rj(9, h);
  6768. }
  6769. } catch (na) {
  6770. W(h, h.return, na);
  6771. }
  6772. if (h === g) {
  6773. V = null;
  6774. break b;
  6775. }
  6776. var F2 = h.sibling;
  6777. if (null !== F2) {
  6778. F2.return = h.return;
  6779. V = F2;
  6780. break b;
  6781. }
  6782. V = h.return;
  6783. }
  6784. }
  6785. K = e;
  6786. jg();
  6787. if (lc && "function" === typeof lc.onPostCommitFiberRoot)
  6788. try {
  6789. lc.onPostCommitFiberRoot(kc, a);
  6790. } catch (na) {
  6791. }
  6792. d = true;
  6793. }
  6794. return d;
  6795. } finally {
  6796. C = c, pk.transition = b;
  6797. }
  6798. }
  6799. return false;
  6800. }
  6801. function Yk(a, b, c) {
  6802. b = Ki(c, b);
  6803. b = Oi(a, b, 1);
  6804. a = dh(a, b, 1);
  6805. b = L();
  6806. null !== a && (Ac(a, 1, b), Ek(a, b));
  6807. }
  6808. function W(a, b, c) {
  6809. if (3 === a.tag)
  6810. Yk(a, a, c);
  6811. else
  6812. for (; null !== b; ) {
  6813. if (3 === b.tag) {
  6814. Yk(b, a, c);
  6815. break;
  6816. } else if (1 === b.tag) {
  6817. var d = b.stateNode;
  6818. if ("function" === typeof b.type.getDerivedStateFromError || "function" === typeof d.componentDidCatch && (null === Si || !Si.has(d))) {
  6819. a = Ki(c, a);
  6820. a = Ri(b, a, 1);
  6821. b = dh(b, a, 1);
  6822. a = L();
  6823. null !== b && (Ac(b, 1, a), Ek(b, a));
  6824. break;
  6825. }
  6826. }
  6827. b = b.return;
  6828. }
  6829. }
  6830. function Ui(a, b, c) {
  6831. var d = a.pingCache;
  6832. null !== d && d.delete(b);
  6833. b = L();
  6834. a.pingedLanes |= a.suspendedLanes & c;
  6835. R === a && (Z & c) === c && (4 === T || 3 === T && (Z & 130023424) === Z && 500 > B() - gk ? Lk(a, 0) : sk |= c);
  6836. Ek(a, b);
  6837. }
  6838. function Zk(a, b) {
  6839. 0 === b && (0 === (a.mode & 1) ? b = 1 : (b = sc, sc <<= 1, 0 === (sc & 130023424) && (sc = 4194304)));
  6840. var c = L();
  6841. a = Zg(a, b);
  6842. null !== a && (Ac(a, b, c), Ek(a, c));
  6843. }
  6844. function vj(a) {
  6845. var b = a.memoizedState, c = 0;
  6846. null !== b && (c = b.retryLane);
  6847. Zk(a, c);
  6848. }
  6849. function ck(a, b) {
  6850. var c = 0;
  6851. switch (a.tag) {
  6852. case 13:
  6853. var d = a.stateNode;
  6854. var e = a.memoizedState;
  6855. null !== e && (c = e.retryLane);
  6856. break;
  6857. case 19:
  6858. d = a.stateNode;
  6859. break;
  6860. default:
  6861. throw Error(p(314));
  6862. }
  6863. null !== d && d.delete(b);
  6864. Zk(a, c);
  6865. }
  6866. var Wk;
  6867. Wk = function(a, b, c) {
  6868. if (null !== a)
  6869. if (a.memoizedProps !== b.pendingProps || Wf.current)
  6870. Ug = true;
  6871. else {
  6872. if (0 === (a.lanes & c) && 0 === (b.flags & 128))
  6873. return Ug = false, zj(a, b, c);
  6874. Ug = 0 !== (a.flags & 131072) ? true : false;
  6875. }
  6876. else
  6877. Ug = false, I && 0 !== (b.flags & 1048576) && ug(b, ng, b.index);
  6878. b.lanes = 0;
  6879. switch (b.tag) {
  6880. case 2:
  6881. var d = b.type;
  6882. jj(a, b);
  6883. a = b.pendingProps;
  6884. var e = Yf(b, H.current);
  6885. Tg(b, c);
  6886. e = Xh(null, b, d, a, e, c);
  6887. var f2 = bi();
  6888. b.flags |= 1;
  6889. "object" === typeof e && null !== e && "function" === typeof e.render && void 0 === e.$$typeof ? (b.tag = 1, b.memoizedState = null, b.updateQueue = null, Zf(d) ? (f2 = true, cg(b)) : f2 = false, b.memoizedState = null !== e.state && void 0 !== e.state ? e.state : null, ah(b), e.updater = nh, b.stateNode = e, e._reactInternals = b, rh(b, d, a, c), b = kj(null, b, d, true, f2, c)) : (b.tag = 0, I && f2 && vg(b), Yi(null, b, e, c), b = b.child);
  6890. return b;
  6891. case 16:
  6892. d = b.elementType;
  6893. a: {
  6894. jj(a, b);
  6895. a = b.pendingProps;
  6896. e = d._init;
  6897. d = e(d._payload);
  6898. b.type = d;
  6899. e = b.tag = $k(d);
  6900. a = Lg(d, a);
  6901. switch (e) {
  6902. case 0:
  6903. b = dj(null, b, d, a, c);
  6904. break a;
  6905. case 1:
  6906. b = ij(null, b, d, a, c);
  6907. break a;
  6908. case 11:
  6909. b = Zi(null, b, d, a, c);
  6910. break a;
  6911. case 14:
  6912. b = aj(null, b, d, Lg(d.type, a), c);
  6913. break a;
  6914. }
  6915. throw Error(p(
  6916. 306,
  6917. d,
  6918. ""
  6919. ));
  6920. }
  6921. return b;
  6922. case 0:
  6923. return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), dj(a, b, d, e, c);
  6924. case 1:
  6925. return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), ij(a, b, d, e, c);
  6926. case 3:
  6927. a: {
  6928. lj(b);
  6929. if (null === a)
  6930. throw Error(p(387));
  6931. d = b.pendingProps;
  6932. f2 = b.memoizedState;
  6933. e = f2.element;
  6934. bh(a, b);
  6935. gh(b, d, null, c);
  6936. var g = b.memoizedState;
  6937. d = g.element;
  6938. if (f2.isDehydrated)
  6939. if (f2 = { element: d, isDehydrated: false, cache: g.cache, pendingSuspenseBoundaries: g.pendingSuspenseBoundaries, transitions: g.transitions }, b.updateQueue.baseState = f2, b.memoizedState = f2, b.flags & 256) {
  6940. e = Ki(Error(p(423)), b);
  6941. b = mj(a, b, d, c, e);
  6942. break a;
  6943. } else if (d !== e) {
  6944. e = Ki(Error(p(424)), b);
  6945. b = mj(a, b, d, c, e);
  6946. break a;
  6947. } else
  6948. for (yg = Lf(b.stateNode.containerInfo.firstChild), xg = b, I = true, zg = null, c = Ch(b, null, d, c), b.child = c; c; )
  6949. c.flags = c.flags & -3 | 4096, c = c.sibling;
  6950. else {
  6951. Ig();
  6952. if (d === e) {
  6953. b = $i(a, b, c);
  6954. break a;
  6955. }
  6956. Yi(a, b, d, c);
  6957. }
  6958. b = b.child;
  6959. }
  6960. return b;
  6961. case 5:
  6962. return Kh(b), null === a && Eg(b), d = b.type, e = b.pendingProps, f2 = null !== a ? a.memoizedProps : null, g = e.children, Ef(d, e) ? g = null : null !== f2 && Ef(d, f2) && (b.flags |= 32), hj(a, b), Yi(a, b, g, c), b.child;
  6963. case 6:
  6964. return null === a && Eg(b), null;
  6965. case 13:
  6966. return pj(a, b, c);
  6967. case 4:
  6968. return Ih(b, b.stateNode.containerInfo), d = b.pendingProps, null === a ? b.child = Bh(b, null, d, c) : Yi(a, b, d, c), b.child;
  6969. case 11:
  6970. return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), Zi(a, b, d, e, c);
  6971. case 7:
  6972. return Yi(a, b, b.pendingProps, c), b.child;
  6973. case 8:
  6974. return Yi(a, b, b.pendingProps.children, c), b.child;
  6975. case 12:
  6976. return Yi(a, b, b.pendingProps.children, c), b.child;
  6977. case 10:
  6978. a: {
  6979. d = b.type._context;
  6980. e = b.pendingProps;
  6981. f2 = b.memoizedProps;
  6982. g = e.value;
  6983. G(Mg, d._currentValue);
  6984. d._currentValue = g;
  6985. if (null !== f2)
  6986. if (He(f2.value, g)) {
  6987. if (f2.children === e.children && !Wf.current) {
  6988. b = $i(a, b, c);
  6989. break a;
  6990. }
  6991. } else
  6992. for (f2 = b.child, null !== f2 && (f2.return = b); null !== f2; ) {
  6993. var h = f2.dependencies;
  6994. if (null !== h) {
  6995. g = f2.child;
  6996. for (var k2 = h.firstContext; null !== k2; ) {
  6997. if (k2.context === d) {
  6998. if (1 === f2.tag) {
  6999. k2 = ch(-1, c & -c);
  7000. k2.tag = 2;
  7001. var l2 = f2.updateQueue;
  7002. if (null !== l2) {
  7003. l2 = l2.shared;
  7004. var m2 = l2.pending;
  7005. null === m2 ? k2.next = k2 : (k2.next = m2.next, m2.next = k2);
  7006. l2.pending = k2;
  7007. }
  7008. }
  7009. f2.lanes |= c;
  7010. k2 = f2.alternate;
  7011. null !== k2 && (k2.lanes |= c);
  7012. Sg(
  7013. f2.return,
  7014. c,
  7015. b
  7016. );
  7017. h.lanes |= c;
  7018. break;
  7019. }
  7020. k2 = k2.next;
  7021. }
  7022. } else if (10 === f2.tag)
  7023. g = f2.type === b.type ? null : f2.child;
  7024. else if (18 === f2.tag) {
  7025. g = f2.return;
  7026. if (null === g)
  7027. throw Error(p(341));
  7028. g.lanes |= c;
  7029. h = g.alternate;
  7030. null !== h && (h.lanes |= c);
  7031. Sg(g, c, b);
  7032. g = f2.sibling;
  7033. } else
  7034. g = f2.child;
  7035. if (null !== g)
  7036. g.return = f2;
  7037. else
  7038. for (g = f2; null !== g; ) {
  7039. if (g === b) {
  7040. g = null;
  7041. break;
  7042. }
  7043. f2 = g.sibling;
  7044. if (null !== f2) {
  7045. f2.return = g.return;
  7046. g = f2;
  7047. break;
  7048. }
  7049. g = g.return;
  7050. }
  7051. f2 = g;
  7052. }
  7053. Yi(a, b, e.children, c);
  7054. b = b.child;
  7055. }
  7056. return b;
  7057. case 9:
  7058. return e = b.type, d = b.pendingProps.children, Tg(b, c), e = Vg(e), d = d(e), b.flags |= 1, Yi(a, b, d, c), b.child;
  7059. case 14:
  7060. return d = b.type, e = Lg(d, b.pendingProps), e = Lg(d.type, e), aj(a, b, d, e, c);
  7061. case 15:
  7062. return cj(a, b, b.type, b.pendingProps, c);
  7063. case 17:
  7064. return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), jj(a, b), b.tag = 1, Zf(d) ? (a = true, cg(b)) : a = false, Tg(b, c), ph(b, d, e), rh(b, d, e, c), kj(null, b, d, true, a, c);
  7065. case 19:
  7066. return yj(a, b, c);
  7067. case 22:
  7068. return ej(a, b, c);
  7069. }
  7070. throw Error(p(156, b.tag));
  7071. };
  7072. function Gk(a, b) {
  7073. return ac(a, b);
  7074. }
  7075. function al(a, b, c, d) {
  7076. this.tag = a;
  7077. this.key = c;
  7078. this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;
  7079. this.index = 0;
  7080. this.ref = null;
  7081. this.pendingProps = b;
  7082. this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;
  7083. this.mode = d;
  7084. this.subtreeFlags = this.flags = 0;
  7085. this.deletions = null;
  7086. this.childLanes = this.lanes = 0;
  7087. this.alternate = null;
  7088. }
  7089. function Bg(a, b, c, d) {
  7090. return new al(a, b, c, d);
  7091. }
  7092. function bj(a) {
  7093. a = a.prototype;
  7094. return !(!a || !a.isReactComponent);
  7095. }
  7096. function $k(a) {
  7097. if ("function" === typeof a)
  7098. return bj(a) ? 1 : 0;
  7099. if (void 0 !== a && null !== a) {
  7100. a = a.$$typeof;
  7101. if (a === Da)
  7102. return 11;
  7103. if (a === Ga)
  7104. return 14;
  7105. }
  7106. return 2;
  7107. }
  7108. function wh(a, b) {
  7109. var c = a.alternate;
  7110. null === c ? (c = Bg(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.type = a.type, c.flags = 0, c.subtreeFlags = 0, c.deletions = null);
  7111. c.flags = a.flags & 14680064;
  7112. c.childLanes = a.childLanes;
  7113. c.lanes = a.lanes;
  7114. c.child = a.child;
  7115. c.memoizedProps = a.memoizedProps;
  7116. c.memoizedState = a.memoizedState;
  7117. c.updateQueue = a.updateQueue;
  7118. b = a.dependencies;
  7119. c.dependencies = null === b ? null : { lanes: b.lanes, firstContext: b.firstContext };
  7120. c.sibling = a.sibling;
  7121. c.index = a.index;
  7122. c.ref = a.ref;
  7123. return c;
  7124. }
  7125. function yh(a, b, c, d, e, f2) {
  7126. var g = 2;
  7127. d = a;
  7128. if ("function" === typeof a)
  7129. bj(a) && (g = 1);
  7130. else if ("string" === typeof a)
  7131. g = 5;
  7132. else
  7133. a:
  7134. switch (a) {
  7135. case ya:
  7136. return Ah(c.children, e, f2, b);
  7137. case za:
  7138. g = 8;
  7139. e |= 8;
  7140. break;
  7141. case Aa:
  7142. return a = Bg(12, c, b, e | 2), a.elementType = Aa, a.lanes = f2, a;
  7143. case Ea:
  7144. return a = Bg(13, c, b, e), a.elementType = Ea, a.lanes = f2, a;
  7145. case Fa:
  7146. return a = Bg(19, c, b, e), a.elementType = Fa, a.lanes = f2, a;
  7147. case Ia:
  7148. return qj(c, e, f2, b);
  7149. default:
  7150. if ("object" === typeof a && null !== a)
  7151. switch (a.$$typeof) {
  7152. case Ba:
  7153. g = 10;
  7154. break a;
  7155. case Ca:
  7156. g = 9;
  7157. break a;
  7158. case Da:
  7159. g = 11;
  7160. break a;
  7161. case Ga:
  7162. g = 14;
  7163. break a;
  7164. case Ha:
  7165. g = 16;
  7166. d = null;
  7167. break a;
  7168. }
  7169. throw Error(p(130, null == a ? a : typeof a, ""));
  7170. }
  7171. b = Bg(g, c, b, e);
  7172. b.elementType = a;
  7173. b.type = d;
  7174. b.lanes = f2;
  7175. return b;
  7176. }
  7177. function Ah(a, b, c, d) {
  7178. a = Bg(7, a, d, b);
  7179. a.lanes = c;
  7180. return a;
  7181. }
  7182. function qj(a, b, c, d) {
  7183. a = Bg(22, a, d, b);
  7184. a.elementType = Ia;
  7185. a.lanes = c;
  7186. a.stateNode = { isHidden: false };
  7187. return a;
  7188. }
  7189. function xh(a, b, c) {
  7190. a = Bg(6, a, null, b);
  7191. a.lanes = c;
  7192. return a;
  7193. }
  7194. function zh(a, b, c) {
  7195. b = Bg(4, null !== a.children ? a.children : [], a.key, b);
  7196. b.lanes = c;
  7197. b.stateNode = { containerInfo: a.containerInfo, pendingChildren: null, implementation: a.implementation };
  7198. return b;
  7199. }
  7200. function bl(a, b, c, d, e) {
  7201. this.tag = b;
  7202. this.containerInfo = a;
  7203. this.finishedWork = this.pingCache = this.current = this.pendingChildren = null;
  7204. this.timeoutHandle = -1;
  7205. this.callbackNode = this.pendingContext = this.context = null;
  7206. this.callbackPriority = 0;
  7207. this.eventTimes = zc(0);
  7208. this.expirationTimes = zc(-1);
  7209. this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0;
  7210. this.entanglements = zc(0);
  7211. this.identifierPrefix = d;
  7212. this.onRecoverableError = e;
  7213. this.mutableSourceEagerHydrationData = null;
  7214. }
  7215. function cl(a, b, c, d, e, f2, g, h, k2) {
  7216. a = new bl(a, b, c, h, k2);
  7217. 1 === b ? (b = 1, true === f2 && (b |= 8)) : b = 0;
  7218. f2 = Bg(3, null, null, b);
  7219. a.current = f2;
  7220. f2.stateNode = a;
  7221. f2.memoizedState = { element: d, isDehydrated: c, cache: null, transitions: null, pendingSuspenseBoundaries: null };
  7222. ah(f2);
  7223. return a;
  7224. }
  7225. function dl(a, b, c) {
  7226. var d = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
  7227. return { $$typeof: wa, key: null == d ? null : "" + d, children: a, containerInfo: b, implementation: c };
  7228. }
  7229. function el(a) {
  7230. if (!a)
  7231. return Vf;
  7232. a = a._reactInternals;
  7233. a: {
  7234. if (Vb(a) !== a || 1 !== a.tag)
  7235. throw Error(p(170));
  7236. var b = a;
  7237. do {
  7238. switch (b.tag) {
  7239. case 3:
  7240. b = b.stateNode.context;
  7241. break a;
  7242. case 1:
  7243. if (Zf(b.type)) {
  7244. b = b.stateNode.__reactInternalMemoizedMergedChildContext;
  7245. break a;
  7246. }
  7247. }
  7248. b = b.return;
  7249. } while (null !== b);
  7250. throw Error(p(171));
  7251. }
  7252. if (1 === a.tag) {
  7253. var c = a.type;
  7254. if (Zf(c))
  7255. return bg(a, c, b);
  7256. }
  7257. return b;
  7258. }
  7259. function fl(a, b, c, d, e, f2, g, h, k2) {
  7260. a = cl(c, d, true, a, e, f2, g, h, k2);
  7261. a.context = el(null);
  7262. c = a.current;
  7263. d = L();
  7264. e = lh(c);
  7265. f2 = ch(d, e);
  7266. f2.callback = void 0 !== b && null !== b ? b : null;
  7267. dh(c, f2, e);
  7268. a.current.lanes = e;
  7269. Ac(a, e, d);
  7270. Ek(a, d);
  7271. return a;
  7272. }
  7273. function gl(a, b, c, d) {
  7274. var e = b.current, f2 = L(), g = lh(e);
  7275. c = el(c);
  7276. null === b.context ? b.context = c : b.pendingContext = c;
  7277. b = ch(f2, g);
  7278. b.payload = { element: a };
  7279. d = void 0 === d ? null : d;
  7280. null !== d && (b.callback = d);
  7281. a = dh(e, b, g);
  7282. null !== a && (mh(a, e, g, f2), eh(a, e, g));
  7283. return g;
  7284. }
  7285. function hl(a) {
  7286. a = a.current;
  7287. if (!a.child)
  7288. return null;
  7289. switch (a.child.tag) {
  7290. case 5:
  7291. return a.child.stateNode;
  7292. default:
  7293. return a.child.stateNode;
  7294. }
  7295. }
  7296. function il(a, b) {
  7297. a = a.memoizedState;
  7298. if (null !== a && null !== a.dehydrated) {
  7299. var c = a.retryLane;
  7300. a.retryLane = 0 !== c && c < b ? c : b;
  7301. }
  7302. }
  7303. function jl(a, b) {
  7304. il(a, b);
  7305. (a = a.alternate) && il(a, b);
  7306. }
  7307. function kl() {
  7308. return null;
  7309. }
  7310. var ll = "function" === typeof reportError ? reportError : function(a) {
  7311. console.error(a);
  7312. };
  7313. function ml(a) {
  7314. this._internalRoot = a;
  7315. }
  7316. nl.prototype.render = ml.prototype.render = function(a) {
  7317. var b = this._internalRoot;
  7318. if (null === b)
  7319. throw Error(p(409));
  7320. gl(a, b, null, null);
  7321. };
  7322. nl.prototype.unmount = ml.prototype.unmount = function() {
  7323. var a = this._internalRoot;
  7324. if (null !== a) {
  7325. this._internalRoot = null;
  7326. var b = a.containerInfo;
  7327. Sk(function() {
  7328. gl(null, a, null, null);
  7329. });
  7330. b[uf] = null;
  7331. }
  7332. };
  7333. function nl(a) {
  7334. this._internalRoot = a;
  7335. }
  7336. nl.prototype.unstable_scheduleHydration = function(a) {
  7337. if (a) {
  7338. var b = Hc();
  7339. a = { blockedOn: null, target: a, priority: b };
  7340. for (var c = 0; c < Qc.length && 0 !== b && b < Qc[c].priority; c++)
  7341. ;
  7342. Qc.splice(c, 0, a);
  7343. 0 === c && Vc(a);
  7344. }
  7345. };
  7346. function ol(a) {
  7347. return !(!a || 1 !== a.nodeType && 9 !== a.nodeType && 11 !== a.nodeType);
  7348. }
  7349. function pl(a) {
  7350. return !(!a || 1 !== a.nodeType && 9 !== a.nodeType && 11 !== a.nodeType && (8 !== a.nodeType || " react-mount-point-unstable " !== a.nodeValue));
  7351. }
  7352. function ql() {
  7353. }
  7354. function rl(a, b, c, d, e) {
  7355. if (e) {
  7356. if ("function" === typeof d) {
  7357. var f2 = d;
  7358. d = function() {
  7359. var a2 = hl(g);
  7360. f2.call(a2);
  7361. };
  7362. }
  7363. var g = fl(b, d, a, 0, null, false, false, "", ql);
  7364. a._reactRootContainer = g;
  7365. a[uf] = g.current;
  7366. sf(8 === a.nodeType ? a.parentNode : a);
  7367. Sk();
  7368. return g;
  7369. }
  7370. for (; e = a.lastChild; )
  7371. a.removeChild(e);
  7372. if ("function" === typeof d) {
  7373. var h = d;
  7374. d = function() {
  7375. var a2 = hl(k2);
  7376. h.call(a2);
  7377. };
  7378. }
  7379. var k2 = cl(a, 0, false, null, null, false, false, "", ql);
  7380. a._reactRootContainer = k2;
  7381. a[uf] = k2.current;
  7382. sf(8 === a.nodeType ? a.parentNode : a);
  7383. Sk(function() {
  7384. gl(b, k2, c, d);
  7385. });
  7386. return k2;
  7387. }
  7388. function sl(a, b, c, d, e) {
  7389. var f2 = c._reactRootContainer;
  7390. if (f2) {
  7391. var g = f2;
  7392. if ("function" === typeof e) {
  7393. var h = e;
  7394. e = function() {
  7395. var a2 = hl(g);
  7396. h.call(a2);
  7397. };
  7398. }
  7399. gl(b, g, a, e);
  7400. } else
  7401. g = rl(c, b, a, e, d);
  7402. return hl(g);
  7403. }
  7404. Ec = function(a) {
  7405. switch (a.tag) {
  7406. case 3:
  7407. var b = a.stateNode;
  7408. if (b.current.memoizedState.isDehydrated) {
  7409. var c = tc(b.pendingLanes);
  7410. 0 !== c && (Cc(b, c | 1), Ek(b, B()), 0 === (K & 6) && (Hj = B() + 500, jg()));
  7411. }
  7412. break;
  7413. case 13:
  7414. Sk(function() {
  7415. var b2 = Zg(a, 1);
  7416. if (null !== b2) {
  7417. var c2 = L();
  7418. mh(b2, a, 1, c2);
  7419. }
  7420. }), jl(a, 1);
  7421. }
  7422. };
  7423. Fc = function(a) {
  7424. if (13 === a.tag) {
  7425. var b = Zg(a, 134217728);
  7426. if (null !== b) {
  7427. var c = L();
  7428. mh(b, a, 134217728, c);
  7429. }
  7430. jl(a, 134217728);
  7431. }
  7432. };
  7433. Gc = function(a) {
  7434. if (13 === a.tag) {
  7435. var b = lh(a), c = Zg(a, b);
  7436. if (null !== c) {
  7437. var d = L();
  7438. mh(c, a, b, d);
  7439. }
  7440. jl(a, b);
  7441. }
  7442. };
  7443. Hc = function() {
  7444. return C;
  7445. };
  7446. Ic = function(a, b) {
  7447. var c = C;
  7448. try {
  7449. return C = a, b();
  7450. } finally {
  7451. C = c;
  7452. }
  7453. };
  7454. yb = function(a, b, c) {
  7455. switch (b) {
  7456. case "input":
  7457. bb(a, c);
  7458. b = c.name;
  7459. if ("radio" === c.type && null != b) {
  7460. for (c = a; c.parentNode; )
  7461. c = c.parentNode;
  7462. c = c.querySelectorAll("input[name=" + JSON.stringify("" + b) + '][type="radio"]');
  7463. for (b = 0; b < c.length; b++) {
  7464. var d = c[b];
  7465. if (d !== a && d.form === a.form) {
  7466. var e = Db(d);
  7467. if (!e)
  7468. throw Error(p(90));
  7469. Wa(d);
  7470. bb(d, e);
  7471. }
  7472. }
  7473. }
  7474. break;
  7475. case "textarea":
  7476. ib(a, c);
  7477. break;
  7478. case "select":
  7479. b = c.value, null != b && fb(a, !!c.multiple, b, false);
  7480. }
  7481. };
  7482. Gb = Rk;
  7483. Hb = Sk;
  7484. var tl = { usingClientEntryPoint: false, Events: [Cb, ue, Db, Eb, Fb, Rk] }, ul = { findFiberByHostInstance: Wc, bundleType: 0, version: "18.2.0", rendererPackageName: "react-dom" };
  7485. var vl = { bundleType: ul.bundleType, version: ul.version, rendererPackageName: ul.rendererPackageName, rendererConfig: ul.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: ua.ReactCurrentDispatcher, findHostInstanceByFiber: function(a) {
  7486. a = Zb(a);
  7487. return null === a ? null : a.stateNode;
  7488. }, findFiberByHostInstance: ul.findFiberByHostInstance || kl, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.2.0-next-9e3b772b8-20220608" };
  7489. if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
  7490. var wl = __REACT_DEVTOOLS_GLOBAL_HOOK__;
  7491. if (!wl.isDisabled && wl.supportsFiber)
  7492. try {
  7493. kc = wl.inject(vl), lc = wl;
  7494. } catch (a) {
  7495. }
  7496. }
  7497. reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = tl;
  7498. reactDom_production_min.createPortal = function(a, b) {
  7499. var c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
  7500. if (!ol(b))
  7501. throw Error(p(200));
  7502. return dl(a, b, null, c);
  7503. };
  7504. reactDom_production_min.createRoot = function(a, b) {
  7505. if (!ol(a))
  7506. throw Error(p(299));
  7507. var c = false, d = "", e = ll;
  7508. null !== b && void 0 !== b && (true === b.unstable_strictMode && (c = true), void 0 !== b.identifierPrefix && (d = b.identifierPrefix), void 0 !== b.onRecoverableError && (e = b.onRecoverableError));
  7509. b = cl(a, 1, false, null, null, c, false, d, e);
  7510. a[uf] = b.current;
  7511. sf(8 === a.nodeType ? a.parentNode : a);
  7512. return new ml(b);
  7513. };
  7514. reactDom_production_min.findDOMNode = function(a) {
  7515. if (null == a)
  7516. return null;
  7517. if (1 === a.nodeType)
  7518. return a;
  7519. var b = a._reactInternals;
  7520. if (void 0 === b) {
  7521. if ("function" === typeof a.render)
  7522. throw Error(p(188));
  7523. a = Object.keys(a).join(",");
  7524. throw Error(p(268, a));
  7525. }
  7526. a = Zb(b);
  7527. a = null === a ? null : a.stateNode;
  7528. return a;
  7529. };
  7530. reactDom_production_min.flushSync = function(a) {
  7531. return Sk(a);
  7532. };
  7533. reactDom_production_min.hydrate = function(a, b, c) {
  7534. if (!pl(b))
  7535. throw Error(p(200));
  7536. return sl(null, a, b, true, c);
  7537. };
  7538. reactDom_production_min.hydrateRoot = function(a, b, c) {
  7539. if (!ol(a))
  7540. throw Error(p(405));
  7541. var d = null != c && c.hydratedSources || null, e = false, f2 = "", g = ll;
  7542. null !== c && void 0 !== c && (true === c.unstable_strictMode && (e = true), void 0 !== c.identifierPrefix && (f2 = c.identifierPrefix), void 0 !== c.onRecoverableError && (g = c.onRecoverableError));
  7543. b = fl(b, null, a, 1, null != c ? c : null, e, false, f2, g);
  7544. a[uf] = b.current;
  7545. sf(a);
  7546. if (d)
  7547. for (a = 0; a < d.length; a++)
  7548. c = d[a], e = c._getVersion, e = e(c._source), null == b.mutableSourceEagerHydrationData ? b.mutableSourceEagerHydrationData = [c, e] : b.mutableSourceEagerHydrationData.push(
  7549. c,
  7550. e
  7551. );
  7552. return new nl(b);
  7553. };
  7554. reactDom_production_min.render = function(a, b, c) {
  7555. if (!pl(b))
  7556. throw Error(p(200));
  7557. return sl(null, a, b, false, c);
  7558. };
  7559. reactDom_production_min.unmountComponentAtNode = function(a) {
  7560. if (!pl(a))
  7561. throw Error(p(40));
  7562. return a._reactRootContainer ? (Sk(function() {
  7563. sl(null, null, a, false, function() {
  7564. a._reactRootContainer = null;
  7565. a[uf] = null;
  7566. });
  7567. }), true) : false;
  7568. };
  7569. reactDom_production_min.unstable_batchedUpdates = Rk;
  7570. reactDom_production_min.unstable_renderSubtreeIntoContainer = function(a, b, c, d) {
  7571. if (!pl(c))
  7572. throw Error(p(200));
  7573. if (null == a || void 0 === a._reactInternals)
  7574. throw Error(p(38));
  7575. return sl(a, b, c, false, d);
  7576. };
  7577. reactDom_production_min.version = "18.2.0-next-9e3b772b8-20220608";
  7578. (function(module) {
  7579. function checkDCE() {
  7580. if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === "undefined" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== "function") {
  7581. return;
  7582. }
  7583. try {
  7584. __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
  7585. } catch (err) {
  7586. console.error(err);
  7587. }
  7588. }
  7589. {
  7590. checkDCE();
  7591. module.exports = reactDom_production_min;
  7592. }
  7593. })(reactDom);
  7594. var m = reactDomExports;
  7595. {
  7596. client.createRoot = m.createRoot;
  7597. client.hydrateRoot = m.hydrateRoot;
  7598. }
  7599. function useMutationObserver(target, callback, options) {
  7600. const observer = reactExports.useRef();
  7601. reactExports.useEffect(() => {
  7602. observer.current = new MutationObserver(callback);
  7603. const targetEl = target && ("current" in target ? target.current : target);
  7604. if (targetEl) {
  7605. observer.current.observe(targetEl, options);
  7606. }
  7607. return () => {
  7608. var _a;
  7609. (_a = observer.current) == null ? void 0 : _a.disconnect();
  7610. observer.current = void 0;
  7611. };
  7612. }, [target, callback, options]);
  7613. }
  7614. function queryChatContainer() {
  7615. var _a;
  7616. const CHAT_LIST_EL_CLASS = "flex flex-col text-sm";
  7617. return (_a = document.querySelector("main")) == null ? void 0 : _a.querySelector(className2Selector(CHAT_LIST_EL_CLASS));
  7618. }
  7619. function queryQuestionEls() {
  7620. var _a;
  7621. return Array.from(((_a = queryChatContainer()) == null ? void 0 : _a.children) ?? []).filter((child) => child.hasAttribute("data-testid")).filter((_, index) => index % 2 === 0);
  7622. }
  7623. function className2Selector(className) {
  7624. return className.split(" ").map((cl2) => "." + cl2).join("");
  7625. }
  7626. function useMountedCallbackValue(cb2) {
  7627. const value = reactExports.useRef();
  7628. const callback = reactExports.useCallback(cb2, [cb2]);
  7629. reactExports.useEffect(() => {
  7630. value.current = callback();
  7631. }, [callback]);
  7632. return value;
  7633. }
  7634. function useQuestionEls() {
  7635. const [questionEls, setQuestionEls] = reactExports.useState(queryQuestionEls());
  7636. const questions = reactExports.useMemo(
  7637. () => questionEls.map((q2) => {
  7638. var _a;
  7639. return (_a = q2.querySelector("[data-message-author-role]")) == null ? void 0 : _a.innerText;
  7640. }).filter((s) => !!s),
  7641. [questionEls]
  7642. );
  7643. const chatContainer = useMountedCallbackValue(queryChatContainer);
  7644. useMutationObserver(
  7645. chatContainer,
  7646. (mutationsList) => {
  7647. for (const mutation of mutationsList) {
  7648. if (mutation.type === "childList") {
  7649. setQuestionEls(queryQuestionEls());
  7650. }
  7651. }
  7652. },
  7653. {
  7654. childList: true
  7655. }
  7656. );
  7657. return { questionEls, questions };
  7658. }
  7659. function useEventListener(target, type, listener) {
  7660. const _listener = reactExports.useCallback(
  7661. (e) => {
  7662. requestAnimationFrame(() => {
  7663. listener(e);
  7664. });
  7665. },
  7666. [listener]
  7667. );
  7668. reactExports.useEffect(() => {
  7669. const targetEl = target && ("current" in target ? target.current : target);
  7670. if (!targetEl) {
  7671. return;
  7672. }
  7673. targetEl.addEventListener(type, _listener);
  7674. return () => {
  7675. targetEl.removeEventListener(type, _listener);
  7676. };
  7677. }, [_listener, target, type]);
  7678. }
  7679. const isSharePage = location.pathname.startsWith("/share/");
  7680. const scrollMarginTop = 0;
  7681. const topThreshold = isSharePage ? scrollMarginTop : 0;
  7682. function useActiveQuestionIndex() {
  7683. const [activeIndex, setActiveIndex] = reactExports.useState(null);
  7684. const { questionEls } = useQuestionEls();
  7685. const scrollContainer = useMountedCallbackValue(() => {
  7686. var _a;
  7687. return (_a = queryChatContainer()) == null ? void 0 : _a.parentElement;
  7688. });
  7689. const findActiveIndex = reactExports.useCallback(() => {
  7690. const index = questionEls.findIndex((el2) => el2.getBoundingClientRect().top >= topThreshold);
  7691. if (index > -1) {
  7692. setActiveIndex(index);
  7693. }
  7694. }, [questionEls]);
  7695. useEventListener(scrollContainer, "scroll", findActiveIndex);
  7696. reactExports.useEffect(() => {
  7697. findActiveIndex();
  7698. }, [findActiveIndex]);
  7699. return activeIndex;
  7700. }
  7701. function useHovering() {
  7702. const elRef = reactExports.useRef(null);
  7703. const [hovering, setHovering] = reactExports.useState(false);
  7704. useEventListener(elRef, "mouseenter", () => {
  7705. setHovering(true);
  7706. });
  7707. useEventListener(elRef, "mouseleave", () => {
  7708. setHovering(false);
  7709. });
  7710. return [elRef, hovering];
  7711. }
  7712. function App() {
  7713. const { questions, questionEls } = useQuestionEls();
  7714. const activeQuestionIndex = useActiveQuestionIndex();
  7715. const [elRef, hovering] = useHovering();
  7716. const [open, setOpen] = reactExports.useState(true);
  7717. const show = reactExports.useMemo(() => open || hovering, [hovering, open]);
  7718. const handleClickList = (event) => {
  7719. var _a;
  7720. if (event.target instanceof HTMLLIElement) {
  7721. const targetIndex = Number(event.target.dataset.index);
  7722. if (!isSharePage) {
  7723. questionEls.forEach((q2) => {
  7724. q2.style.scrollMarginTop = "56px";
  7725. });
  7726. }
  7727. (_a = questionEls == null ? void 0 : questionEls[targetIndex]) == null ? void 0 : _a.scrollIntoView({ behavior: "smooth" });
  7728. }
  7729. };
  7730. const handleClickEye = () => {
  7731. setOpen(!open);
  7732. };
  7733. return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
  7734. /* @__PURE__ */ jsxRuntimeExports.jsx("style", { children: `/* layer: preflights */
  7735. *,::before,::after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgba(0,0,0,0);--un-ring-shadow:0 0 rgba(0,0,0,0);--un-shadow-inset: ;--un-shadow:0 0 rgba(0,0,0,0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: ;}::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgba(0,0,0,0);--un-ring-shadow:0 0 rgba(0,0,0,0);--un-shadow-inset: ;--un-shadow:0 0 rgba(0,0,0,0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: ;}
  7736. /* layer: shortcuts */
  7737. [scrollbar~="\\~"]::-webkit-scrollbar{width:var(--scrollbar-width);height:var(--scrollbar-height);}
  7738. [scrollbar~="\\~"]{overflow:auto;scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track);--scrollbar-track:#f5f5f5;--scrollbar-thumb:#ddd;--scrollbar-width:8px;--scrollbar-height:8px;--scrollbar-track-radius:4px;--scrollbar-thumb-radius:4px;}
  7739. [scrollbar~="rounded"]::-webkit-scrollbar-thumb{border-radius:var(--scrollbar-thumb-radius);}
  7740. [scrollbar~="rounded"]::-webkit-scrollbar-track{border-radius:var(--scrollbar-track-radius);}
  7741. [scrollbar~="\\~"]::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);}
  7742. [scrollbar~="\\~"]::-webkit-scrollbar-track{background-color:var(--scrollbar-track);}
  7743. /* layer: default */
  7744. .after\\:absolute::after{position:absolute;}
  7745. .relative{position:relative;}
  7746. .after\\:bottom-0::after{bottom:0;}
  7747. .after\\:right-4px::after{right:4px;}
  7748. .box-border{box-sizing:border-box;}
  7749. .after\\:h-\\.7em::after{height:0.7em;}
  7750. .after\\:w-full::after,
  7751. .w-full{width:100%;}
  7752. .max-h-\\[var\\(--app-max-list-height\\)\\]{max-height:var(--app-max-list-height);}
  7753. .w-\\[var\\(--app-width\\)\\]{width:var(--app-width);}
  7754. .w-0{width:0;}
  7755. .w-22px{width:22px;}
  7756. .w-4px{width:4px;}
  7757. .flex{display:flex;}
  7758. .cursor-pointer{cursor:pointer;}
  7759. .select-none{-webkit-user-select:none;user-select:none;}
  7760. .list-disc{list-style-type:disc;}
  7761. .list-inside{list-style-position:inside;}
  7762. .justify-between{justify-content:space-between;}
  7763. .overflow-hidden{overflow:hidden;}
  7764. .overflow-y-auto{overflow-y:auto;}
  7765. .text-ellipsis{text-overflow:ellipsis;}
  7766. .whitespace-nowrap{white-space:nowrap;}
  7767. .rounded{border-radius:0.25rem;}
  7768. .after\\:from-white::after{--un-gradient-from-position:0%;--un-gradient-from:rgba(255,255,255,var(--un-from-opacity, 1)) var(--un-gradient-from-position);--un-gradient-to-position:100%;--un-gradient-to:rgba(255,255,255,0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);}
  7769. .after\\:to-white::after{--un-gradient-to-position:100%;--un-gradient-to:rgba(255,255,255,var(--un-to-opacity, 1)) var(--un-gradient-to-position);}
  7770. .after\\:from-opacity-90::after{--un-from-opacity:0.9;}
  7771. .after\\:to-opacity-20::after{--un-to-opacity:0.2;}
  7772. .after\\:bg-gradient-to-t::after{--un-gradient-shape:to top;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));}
  7773. .py-1{padding-top:0.25rem;padding-bottom:0.25rem;}
  7774. .last-of-type\\:pb-\\.7em:last-of-type{padding-bottom:0.7em;}
  7775. .pb-2{padding-bottom:0.5rem;}
  7776. .pl-8px{padding-left:8px;}
  7777. .pr-1{padding-right:0.25rem;}
  7778. [text~="\\31 2px"]{font-size:12px;}
  7779. .leading-snug{line-height:1.375;}
  7780. .hover\\:text-brand-primary:hover,
  7781. [text~="brand-primary"]{--un-text-opacity:1;color:rgba(25,195,125,var(--un-text-opacity));}
  7782. [text~="\\$\\{activeQuestionIndex"]{color:var(--\\{activeQuestionIndex);}
  7783. [text~="gray-primary"]{--un-text-opacity:1;color:rgba(110,110,128,var(--un-text-opacity));}
  7784. .opacity-50{opacity:0.5;}
  7785. .grayscale{--un-grayscale:grayscale(1);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}
  7786. .transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
  7787. .transition-width{transition-property:width;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
  7788. .after\\:content-\\[\\'\\'\\]::after{content:'';}
  7789. [scrollbar~="hover\\:thumb-color-gray-300"]:hover{--un-scrollbar-thumb-opacity:1;--scrollbar-thumb:rgba(209,213,219,var(--un-scrollbar-thumb-opacity));}
  7790. [scrollbar~="thumb-color-transparent"]{--scrollbar-thumb:transparent;}
  7791. [scrollbar~="track-color-transparent"]{--scrollbar-track:transparent;}
  7792. [scrollbar~="w-0"]{--scrollbar-width:0rem;}
  7793. [scrollbar~="w-4px"]{--scrollbar-width:4px;}` }),
  7794. /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `transition-width ${show ? "w-[var(--app-width)]" : "w-22px"} `, children: [
  7795. /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex select-none justify-between pb-2", children: [
  7796. /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "overflow-hidden whitespace-nowrap", children: "📄 Questions" }),
  7797. /* @__PURE__ */ jsxRuntimeExports.jsx(
  7798. "div",
  7799. {
  7800. className: `cursor-pointer ${show ? "" : "opacity-50 grayscale"} `,
  7801. onClick: handleClickEye,
  7802. title: show ? "hide" : "show",
  7803. children: "👁️"
  7804. }
  7805. )
  7806. ] }),
  7807. /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "relative after:content-[''] after:absolute after:bottom-0 after:right-4px after:w-full after:h-.7em after:bg-gradient-to-t after:from-white after:from-opacity-90 after:to-white after:to-opacity-20", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
  7808. "ul",
  7809. {
  7810. ref: elRef,
  7811. className: "max-h-[var(--app-max-list-height)] list-inside list-disc overflow-y-auto ",
  7812. scrollbar: `~ rounded transition-all thumb-color-transparent hover:thumb-color-gray-300 track-color-transparent ${show ? "w-4px" : "w-0"}`,
  7813. onClick: handleClickList,
  7814. children: questions.map((q2, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
  7815. "li",
  7816. {
  7817. className: `hover:text-brand-primary box-border w-full cursor-pointer overflow-hidden whitespace-nowrap py-1 pr-1 leading-snug last-of-type:pb-.7em ${show ? "text-ellipsis" : "pl-8px"}`,
  7818. text: `12px ${activeQuestionIndex === index ? "brand-primary" : "gray-primary"}`,
  7819. "data-index": index,
  7820. children: q2
  7821. },
  7822. index
  7823. ))
  7824. }
  7825. ) })
  7826. ] })
  7827. ] });
  7828. }
  7829. const baseStyle = "*{margin:0;padding:0}:host{--app-width: 12vw;--app-max-list-height: 50vh;position:fixed;top:10vh;right:16px;padding:8px 8px 0;border-radius:6px;background:#fff}\n";
  7830. const DOM_MARK = "data-chatgpt-question-directory";
  7831. function mount(el2) {
  7832. el2.attachShadow({ mode: "open" });
  7833. const shadowRoot = el2.shadowRoot;
  7834. const sheet = new CSSStyleSheet();
  7835. sheet.replaceSync(baseStyle);
  7836. shadowRoot.adoptedStyleSheets = [sheet];
  7837. client.createRoot(shadowRoot).render(
  7838. /* @__PURE__ */ jsxRuntimeExports.jsx(React.StrictMode, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(App, {}) })
  7839. );
  7840. }
  7841. function load() {
  7842. if (document.querySelector(`[${DOM_MARK}]`)) {
  7843. return;
  7844. }
  7845. const dom = document.createElement("div");
  7846. dom.setAttribute(DOM_MARK, "");
  7847. mount(dom);
  7848. document.body.append(dom);
  7849. }
  7850. function remove() {
  7851. const target = document.querySelector(`[${DOM_MARK}]`);
  7852. if (!target) {
  7853. return;
  7854. }
  7855. target.remove();
  7856. }
  7857. let loaded = false;
  7858. let conversationId = null;
  7859. setInterval(() => {
  7860. const latestConversationId = getConversationIdByUrl();
  7861. const questionEls = (queryChatContainer() && queryQuestionEls()) ?? [];
  7862. const hasQuestion = questionEls.length > 0;
  7863. if (conversationId !== latestConversationId || !hasQuestion) {
  7864. conversationId = latestConversationId;
  7865. remove();
  7866. loaded = false;
  7867. }
  7868. if (!loaded && hasQuestion) {
  7869. load();
  7870. loaded = true;
  7871. if (isSharePage) {
  7872. questionEls.forEach((q2) => {
  7873. q2.style.scrollMarginTop = scrollMarginTop + "px";
  7874. });
  7875. }
  7876. }
  7877. }, 600);
  7878. function getConversationIdByUrl() {
  7879. const res = location.pathname.match(/\/c\/(.*)/);
  7880. return (res == null ? void 0 : res[1]) ?? null;
  7881. }
  7882.  
  7883. })();