diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cb5f3e9..122ef5e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,19 +9,48 @@ permissions: contents: write jobs: - bump-version: - name: Bump tag version ⬆ + release: + name: Automatic Release runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: "actions/checkout@v3" + uses: actions/checkout@v3 + - name: Bump version and push tag 🏷 + id: tag uses: anothrNick/github-tag-action@1.36.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} WITH_V: true + - name: Install pnpm ⚙ + uses: pnpm/action-setup@v2.2.2 + with: + version: 7 + + - name: Install treemaps library 📦 + run: | + cd frontend + git clone --branch hiviser_deployment https://${{ secrets.SEERENE_TREEMAPS_DEPLOY_USER }}:${{ secrets.SEERENE_TREEMAPS_DEPLOY_TOKEN }}@gitlab.hpi3d.de/seerene/treemaps.git + cd treemaps + npm install + npm run build-lib + + - name: Build Embedding 🛠 + run: | + cd frontend + pnpm install + pnpm run build:embed + + - name: Pubish Release 🚀 + uses: softprops/action-gh-release@v1 + with: + tag_name: ${{ steps.tag.outputs.new_tag }} + files: | + frontend/embed/embed.es.js + frontend/embed/embed.umd.js + deploy: name: Deploy Frontend to GitHub Pages 🚀 concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession. @@ -51,7 +80,7 @@ jobs: npm install npm run build-lib - - name: Install and Build 🔧 + - name: Install and Build Pages 🔧 run: | cd frontend pnpm install diff --git a/.gitignore b/.gitignore index 87a9cee..3965b96 100644 --- a/.gitignore +++ b/.gitignore @@ -201,4 +201,7 @@ $RECYCLE.BIN/ node_modules metrics.json -metrics.csv \ No newline at end of file +metrics.csv + +frontend/embed/* +!frontend/embed/embed.*.js \ No newline at end of file diff --git a/frontend/embed/embed.es.js b/frontend/embed/embed.es.js new file mode 100644 index 0000000..3e1e10f --- /dev/null +++ b/frontend/embed/embed.es.js @@ -0,0 +1,45839 @@ +var __defProp = Object.defineProperty; +var __defProps = Object.defineProperties; +var __getOwnPropDescs = Object.getOwnPropertyDescriptors; +var __getOwnPropSymbols = Object.getOwnPropertySymbols; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __propIsEnum = Object.prototype.propertyIsEnumerable; +var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; +var __spreadValues = (a, b2) => { + for (var prop in b2 || (b2 = {})) + if (__hasOwnProp.call(b2, prop)) + __defNormalProp(a, prop, b2[prop]); + if (__getOwnPropSymbols) + for (var prop of __getOwnPropSymbols(b2)) { + if (__propIsEnum.call(b2, prop)) + __defNormalProp(a, prop, b2[prop]); + } + return a; +}; +var __spreadProps = (a, b2) => __defProps(a, __getOwnPropDescs(b2)); +var __objRest = (source, exclude) => { + var target = {}; + for (var prop in source) + if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) + target[prop] = source[prop]; + if (source != null && __getOwnPropSymbols) + for (var prop of __getOwnPropSymbols(source)) { + if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) + target[prop] = source[prop]; + } + return target; +}; +function _mergeNamespaces(n2, m2) { + m2.forEach(function(e2) { + e2 && typeof e2 !== "string" && !Array.isArray(e2) && Object.keys(e2).forEach(function(k2) { + if (k2 !== "default" && !(k2 in n2)) { + var d2 = Object.getOwnPropertyDescriptor(e2, k2); + Object.defineProperty(n2, k2, d2.get ? d2 : { + enumerable: true, + get: function() { + return e2[k2]; + } + }); + } + }); + }); + return Object.freeze(n2); +} +var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {}; +function getAugmentedNamespace(n2) { + if (n2.__esModule) + return n2; + var a = Object.defineProperty({}, "__esModule", { value: true }); + Object.keys(n2).forEach(function(k2) { + var d2 = Object.getOwnPropertyDescriptor(n2, k2); + Object.defineProperty(a, k2, d2.get ? d2 : { + enumerable: true, + get: function() { + return n2[k2]; + } + }); + }); + return a; +} +var reactDom = { exports: {} }; +var reactDom_production_min = {}; +var react = { exports: {} }; +var react_production_min = {}; +/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +var l$2 = Symbol.for("react.element"), n$2 = Symbol.for("react.portal"), p$3 = Symbol.for("react.fragment"), q$2 = Symbol.for("react.strict_mode"), r$1 = Symbol.for("react.profiler"), t$2 = Symbol.for("react.provider"), u = Symbol.for("react.context"), v$1 = Symbol.for("react.forward_ref"), w$1 = Symbol.for("react.suspense"), x$1 = Symbol.for("react.memo"), y$1 = Symbol.for("react.lazy"), z$2 = Symbol.iterator; +function A$2(a) { + if (a === null || typeof a !== "object") + return null; + a = z$2 && a[z$2] || a["@@iterator"]; + return typeof a === "function" ? a : null; +} +var B$1 = { isMounted: function() { + return false; +}, enqueueForceUpdate: function() { +}, enqueueReplaceState: function() { +}, enqueueSetState: function() { +} }, C$1 = Object.assign, D$1 = {}; +function E$1(a, b2, e2) { + this.props = a; + this.context = b2; + this.refs = D$1; + this.updater = e2 || B$1; +} +E$1.prototype.isReactComponent = {}; +E$1.prototype.setState = function(a, b2) { + if (typeof a !== "object" && typeof a !== "function" && a != null) + throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables."); + this.updater.enqueueSetState(this, a, b2, "setState"); +}; +E$1.prototype.forceUpdate = function(a) { + this.updater.enqueueForceUpdate(this, a, "forceUpdate"); +}; +function F() { +} +F.prototype = E$1.prototype; +function G$1(a, b2, e2) { + this.props = a; + this.context = b2; + this.refs = D$1; + this.updater = e2 || B$1; +} +var H$1 = G$1.prototype = new F(); +H$1.constructor = G$1; +C$1(H$1, E$1.prototype); +H$1.isPureReactComponent = true; +var I$1 = Array.isArray, J = Object.prototype.hasOwnProperty, K$1 = { current: null }, L$1 = { key: true, ref: true, __self: true, __source: true }; +function M$1(a, b2, e2) { + var d2, c2 = {}, k2 = null, h2 = null; + if (b2 != null) + for (d2 in b2.ref !== void 0 && (h2 = b2.ref), b2.key !== void 0 && (k2 = "" + b2.key), b2) + J.call(b2, d2) && !L$1.hasOwnProperty(d2) && (c2[d2] = b2[d2]); + var g2 = arguments.length - 2; + if (g2 === 1) + c2.children = e2; + else if (1 < g2) { + for (var f2 = Array(g2), m2 = 0; m2 < g2; m2++) + f2[m2] = arguments[m2 + 2]; + c2.children = f2; + } + if (a && a.defaultProps) + for (d2 in g2 = a.defaultProps, g2) + c2[d2] === void 0 && (c2[d2] = g2[d2]); + return { $$typeof: l$2, type: a, key: k2, ref: h2, props: c2, _owner: K$1.current }; +} +function N$1(a, b2) { + return { $$typeof: l$2, type: a.type, key: b2, ref: a.ref, props: a.props, _owner: a._owner }; +} +function O$1(a) { + return typeof a === "object" && a !== null && a.$$typeof === l$2; +} +function escape$1(a) { + var b2 = { "=": "=0", ":": "=2" }; + return "$" + a.replace(/[=:]/g, function(a2) { + return b2[a2]; + }); +} +var P$1 = /\/+/g; +function Q$1(a, b2) { + return typeof a === "object" && a !== null && a.key != null ? escape$1("" + a.key) : b2.toString(36); +} +function R$1(a, b2, e2, d2, c2) { + var k2 = typeof a; + if (k2 === "undefined" || k2 === "boolean") + a = null; + var h2 = false; + if (a === null) + h2 = true; + else + switch (k2) { + case "string": + case "number": + h2 = true; + break; + case "object": + switch (a.$$typeof) { + case l$2: + case n$2: + h2 = true; + } + } + if (h2) + return h2 = a, c2 = c2(h2), a = d2 === "" ? "." + Q$1(h2, 0) : d2, I$1(c2) ? (e2 = "", a != null && (e2 = a.replace(P$1, "$&/") + "/"), R$1(c2, b2, e2, "", function(a2) { + return a2; + })) : c2 != null && (O$1(c2) && (c2 = N$1(c2, e2 + (!c2.key || h2 && h2.key === c2.key ? "" : ("" + c2.key).replace(P$1, "$&/") + "/") + a)), b2.push(c2)), 1; + h2 = 0; + d2 = d2 === "" ? "." : d2 + ":"; + if (I$1(a)) + for (var g2 = 0; g2 < a.length; g2++) { + k2 = a[g2]; + var f2 = d2 + Q$1(k2, g2); + h2 += R$1(k2, b2, e2, f2, c2); + } + else if (f2 = A$2(a), typeof f2 === "function") + for (a = f2.call(a), g2 = 0; !(k2 = a.next()).done; ) + k2 = k2.value, f2 = d2 + Q$1(k2, g2++), h2 += R$1(k2, b2, e2, f2, c2); + else if (k2 === "object") + throw b2 = String(a), Error("Objects are not valid as a React child (found: " + (b2 === "[object Object]" ? "object with keys {" + Object.keys(a).join(", ") + "}" : b2) + "). If you meant to render a collection of children, use an array instead."); + return h2; +} +function S$1(a, b2, e2) { + if (a == null) + return a; + var d2 = [], c2 = 0; + R$1(a, d2, "", "", function(a2) { + return b2.call(e2, a2, c2++); + }); + return d2; +} +function T$1(a) { + if (a._status === -1) { + var b2 = a._result; + b2 = b2(); + b2.then(function(b3) { + if (a._status === 0 || a._status === -1) + a._status = 1, a._result = b3; + }, function(b3) { + if (a._status === 0 || a._status === -1) + a._status = 2, a._result = b3; + }); + a._status === -1 && (a._status = 0, a._result = b2); + } + if (a._status === 1) + return a._result.default; + throw a._result; +} +var U$1 = { current: null }, V$1 = { transition: null }, W$1 = { ReactCurrentDispatcher: U$1, ReactCurrentBatchConfig: V$1, ReactCurrentOwner: K$1 }; +react_production_min.Children = { map: S$1, forEach: function(a, b2, e2) { + S$1(a, function() { + b2.apply(this, arguments); + }, e2); +}, count: function(a) { + var b2 = 0; + S$1(a, function() { + b2++; + }); + return b2; +}, toArray: function(a) { + return S$1(a, function(a2) { + return a2; + }) || []; +}, only: function(a) { + if (!O$1(a)) + throw Error("React.Children.only expected to receive a single React element child."); + return a; +} }; +react_production_min.Component = E$1; +react_production_min.Fragment = p$3; +react_production_min.Profiler = r$1; +react_production_min.PureComponent = G$1; +react_production_min.StrictMode = q$2; +react_production_min.Suspense = w$1; +react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W$1; +react_production_min.cloneElement = function(a, b2, e2) { + if (a === null || a === void 0) + throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + "."); + var d2 = C$1({}, a.props), c2 = a.key, k2 = a.ref, h2 = a._owner; + if (b2 != null) { + b2.ref !== void 0 && (k2 = b2.ref, h2 = K$1.current); + b2.key !== void 0 && (c2 = "" + b2.key); + if (a.type && a.type.defaultProps) + var g2 = a.type.defaultProps; + for (f2 in b2) + J.call(b2, f2) && !L$1.hasOwnProperty(f2) && (d2[f2] = b2[f2] === void 0 && g2 !== void 0 ? g2[f2] : b2[f2]); + } + var f2 = arguments.length - 2; + if (f2 === 1) + d2.children = e2; + else if (1 < f2) { + g2 = Array(f2); + for (var m2 = 0; m2 < f2; m2++) + g2[m2] = arguments[m2 + 2]; + d2.children = g2; + } + return { $$typeof: l$2, type: a.type, key: c2, ref: k2, props: d2, _owner: h2 }; +}; +react_production_min.createContext = function(a) { + a = { $$typeof: u, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }; + a.Provider = { $$typeof: t$2, _context: a }; + return a.Consumer = a; +}; +react_production_min.createElement = M$1; +react_production_min.createFactory = function(a) { + var b2 = M$1.bind(null, a); + b2.type = a; + return b2; +}; +react_production_min.createRef = function() { + return { current: null }; +}; +react_production_min.forwardRef = function(a) { + return { $$typeof: v$1, render: a }; +}; +react_production_min.isValidElement = O$1; +react_production_min.lazy = function(a) { + return { $$typeof: y$1, _payload: { _status: -1, _result: a }, _init: T$1 }; +}; +react_production_min.memo = function(a, b2) { + return { $$typeof: x$1, type: a, compare: b2 === void 0 ? null : b2 }; +}; +react_production_min.startTransition = function(a) { + var b2 = V$1.transition; + V$1.transition = {}; + try { + a(); + } finally { + V$1.transition = b2; + } +}; +react_production_min.unstable_act = function() { + throw Error("act(...) is not supported in production builds of React."); +}; +react_production_min.useCallback = function(a, b2) { + return U$1.current.useCallback(a, b2); +}; +react_production_min.useContext = function(a) { + return U$1.current.useContext(a); +}; +react_production_min.useDebugValue = function() { +}; +react_production_min.useDeferredValue = function(a) { + return U$1.current.useDeferredValue(a); +}; +react_production_min.useEffect = function(a, b2) { + return U$1.current.useEffect(a, b2); +}; +react_production_min.useId = function() { + return U$1.current.useId(); +}; +react_production_min.useImperativeHandle = function(a, b2, e2) { + return U$1.current.useImperativeHandle(a, b2, e2); +}; +react_production_min.useInsertionEffect = function(a, b2) { + return U$1.current.useInsertionEffect(a, b2); +}; +react_production_min.useLayoutEffect = function(a, b2) { + return U$1.current.useLayoutEffect(a, b2); +}; +react_production_min.useMemo = function(a, b2) { + return U$1.current.useMemo(a, b2); +}; +react_production_min.useReducer = function(a, b2, e2) { + return U$1.current.useReducer(a, b2, e2); +}; +react_production_min.useRef = function(a) { + return U$1.current.useRef(a); +}; +react_production_min.useState = function(a) { + return U$1.current.useState(a); +}; +react_production_min.useSyncExternalStore = function(a, b2, e2) { + return U$1.current.useSyncExternalStore(a, b2, e2); +}; +react_production_min.useTransition = function() { + return U$1.current.useTransition(); +}; +react_production_min.version = "18.1.0"; +{ + react.exports = react_production_min; +} +var React = react.exports; +var React$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ _mergeNamespaces({ + __proto__: null, + [Symbol.toStringTag]: "Module", + "default": React +}, [react.exports])); +var scheduler = { exports: {} }; +var scheduler_production_min = {}; +/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +(function(exports) { + function f2(a, b2) { + var c2 = a.length; + a.push(b2); + a: + for (; 0 < c2; ) { + var d2 = c2 - 1 >>> 1, e2 = a[d2]; + if (0 < g2(e2, b2)) + a[d2] = b2, a[c2] = e2, c2 = d2; + else + break a; + } + } + function h2(a) { + return a.length === 0 ? null : a[0]; + } + function k2(a) { + if (a.length === 0) + return null; + var b2 = a[0], c2 = a.pop(); + if (c2 !== b2) { + a[0] = c2; + a: + for (var d2 = 0, e2 = a.length, w2 = e2 >>> 1; d2 < w2; ) { + var m2 = 2 * (d2 + 1) - 1, C2 = a[m2], n2 = m2 + 1, x2 = a[n2]; + if (0 > g2(C2, c2)) + n2 < e2 && 0 > g2(x2, C2) ? (a[d2] = x2, a[n2] = c2, d2 = n2) : (a[d2] = C2, a[m2] = c2, d2 = m2); + else if (n2 < e2 && 0 > g2(x2, c2)) + a[d2] = x2, a[n2] = c2, d2 = n2; + else + break a; + } + } + return b2; + } + function g2(a, b2) { + var c2 = a.sortIndex - b2.sortIndex; + return c2 !== 0 ? c2 : a.id - b2.id; + } + if (typeof performance === "object" && typeof performance.now === "function") { + var l2 = performance; + exports.unstable_now = function() { + return l2.now(); + }; + } else { + var p2 = Date, q2 = p2.now(); + exports.unstable_now = function() { + return p2.now() - q2; + }; + } + var r2 = [], t2 = [], u2 = 1, v2 = null, y2 = 3, z2 = false, A2 = false, B2 = false, D2 = typeof setTimeout === "function" ? setTimeout : null, E2 = typeof clearTimeout === "function" ? clearTimeout : null, F2 = typeof setImmediate !== "undefined" ? setImmediate : null; + typeof navigator !== "undefined" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling); + function G2(a) { + for (var b2 = h2(t2); b2 !== null; ) { + if (b2.callback === null) + k2(t2); + else if (b2.startTime <= a) + k2(t2), b2.sortIndex = b2.expirationTime, f2(r2, b2); + else + break; + b2 = h2(t2); + } + } + function H2(a) { + B2 = false; + G2(a); + if (!A2) + if (h2(r2) !== null) + A2 = true, I2(J2); + else { + var b2 = h2(t2); + b2 !== null && K2(H2, b2.startTime - a); + } + } + function J2(a, b2) { + A2 = false; + B2 && (B2 = false, E2(L2), L2 = -1); + z2 = true; + var c2 = y2; + try { + G2(b2); + for (v2 = h2(r2); v2 !== null && (!(v2.expirationTime > b2) || a && !M2()); ) { + var d2 = v2.callback; + if (typeof d2 === "function") { + v2.callback = null; + y2 = v2.priorityLevel; + var e2 = d2(v2.expirationTime <= b2); + b2 = exports.unstable_now(); + typeof e2 === "function" ? v2.callback = e2 : v2 === h2(r2) && k2(r2); + G2(b2); + } else + k2(r2); + v2 = h2(r2); + } + if (v2 !== null) + var w2 = true; + else { + var m2 = h2(t2); + m2 !== null && K2(H2, m2.startTime - b2); + w2 = false; + } + return w2; + } finally { + v2 = null, y2 = c2, z2 = false; + } + } + var N2 = false, O2 = null, L2 = -1, P2 = 5, Q2 = -1; + function M2() { + return exports.unstable_now() - Q2 < P2 ? false : true; + } + function R2() { + if (O2 !== null) { + var a = exports.unstable_now(); + Q2 = a; + var b2 = true; + try { + b2 = O2(true, a); + } finally { + b2 ? S2() : (N2 = false, O2 = null); + } + } else + N2 = false; + } + var S2; + if (typeof F2 === "function") + S2 = function() { + F2(R2); + }; + else if (typeof MessageChannel !== "undefined") { + var T2 = new MessageChannel(), U2 = T2.port2; + T2.port1.onmessage = R2; + S2 = function() { + U2.postMessage(null); + }; + } else + S2 = function() { + D2(R2, 0); + }; + function I2(a) { + O2 = a; + N2 || (N2 = true, S2()); + } + function K2(a, b2) { + L2 = D2(function() { + a(exports.unstable_now()); + }, b2); + } + exports.unstable_IdlePriority = 5; + exports.unstable_ImmediatePriority = 1; + exports.unstable_LowPriority = 4; + exports.unstable_NormalPriority = 3; + exports.unstable_Profiling = null; + exports.unstable_UserBlockingPriority = 2; + exports.unstable_cancelCallback = function(a) { + a.callback = null; + }; + exports.unstable_continueExecution = function() { + A2 || z2 || (A2 = true, I2(J2)); + }; + exports.unstable_forceFrameRate = function(a) { + 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; + }; + exports.unstable_getCurrentPriorityLevel = function() { + return y2; + }; + exports.unstable_getFirstCallbackNode = function() { + return h2(r2); + }; + exports.unstable_next = function(a) { + switch (y2) { + case 1: + case 2: + case 3: + var b2 = 3; + break; + default: + b2 = y2; + } + var c2 = y2; + y2 = b2; + try { + return a(); + } finally { + y2 = c2; + } + }; + exports.unstable_pauseExecution = function() { + }; + exports.unstable_requestPaint = function() { + }; + exports.unstable_runWithPriority = function(a, b2) { + switch (a) { + case 1: + case 2: + case 3: + case 4: + case 5: + break; + default: + a = 3; + } + var c2 = y2; + y2 = a; + try { + return b2(); + } finally { + y2 = c2; + } + }; + exports.unstable_scheduleCallback = function(a, b2, c2) { + var d2 = exports.unstable_now(); + typeof c2 === "object" && c2 !== null ? (c2 = c2.delay, c2 = typeof c2 === "number" && 0 < c2 ? d2 + c2 : d2) : c2 = d2; + switch (a) { + case 1: + var e2 = -1; + break; + case 2: + e2 = 250; + break; + case 5: + e2 = 1073741823; + break; + case 4: + e2 = 1e4; + break; + default: + e2 = 5e3; + } + e2 = c2 + e2; + a = { id: u2++, callback: b2, priorityLevel: a, startTime: c2, expirationTime: e2, sortIndex: -1 }; + c2 > d2 ? (a.sortIndex = c2, f2(t2, a), h2(r2) === null && a === h2(t2) && (B2 ? (E2(L2), L2 = -1) : B2 = true, K2(H2, c2 - d2))) : (a.sortIndex = e2, f2(r2, a), A2 || z2 || (A2 = true, I2(J2))); + return a; + }; + exports.unstable_shouldYield = M2; + exports.unstable_wrapCallback = function(a) { + var b2 = y2; + return function() { + var c2 = y2; + y2 = b2; + try { + return a.apply(this, arguments); + } finally { + y2 = c2; + } + }; + }; +})(scheduler_production_min); +{ + scheduler.exports = scheduler_production_min; +} +/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +var aa = react.exports, ba = scheduler.exports; +function p$2(a) { + for (var b2 = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c2 = 1; c2 < arguments.length; c2++) + b2 += "&args[]=" + encodeURIComponent(arguments[c2]); + return "Minified React error #" + a + "; visit " + b2 + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; +} +var da = /* @__PURE__ */ new Set(), ea = {}; +function fa(a, b2) { + ha(a, b2); + ha(a + "Capture", b2); +} +function ha(a, b2) { + ea[a] = b2; + for (a = 0; a < b2.length; a++) + da.add(b2[a]); +} +var ia = !(typeof window === "undefined" || typeof window.document === "undefined" || typeof window.document.createElement === "undefined"), 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 = {}; +function na(a) { + if (ja.call(ma, a)) + return true; + if (ja.call(la, a)) + return false; + if (ka.test(a)) + return ma[a] = true; + la[a] = true; + return false; +} +function oa(a, b2, c2, d2) { + if (c2 !== null && c2.type === 0) + return false; + switch (typeof b2) { + case "function": + case "symbol": + return true; + case "boolean": + if (d2) + return false; + if (c2 !== null) + return !c2.acceptsBooleans; + a = a.toLowerCase().slice(0, 5); + return a !== "data-" && a !== "aria-"; + default: + return false; + } +} +function pa(a, b2, c2, d2) { + if (b2 === null || typeof b2 === "undefined" || oa(a, b2, c2, d2)) + return true; + if (d2) + return false; + if (c2 !== null) + switch (c2.type) { + case 3: + return !b2; + case 4: + return b2 === false; + case 5: + return isNaN(b2); + case 6: + return isNaN(b2) || 1 > b2; + } + return false; +} +function t$1(a, b2, c2, d2, e2, f2, g2) { + this.acceptsBooleans = b2 === 2 || b2 === 3 || b2 === 4; + this.attributeName = d2; + this.attributeNamespace = e2; + this.mustUseProperty = c2; + this.propertyName = a; + this.type = b2; + this.sanitizeURL = f2; + this.removeEmptyString = g2; +} +var z$1 = {}; +"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a) { + z$1[a] = new t$1(a, 0, false, a, null, false, false); +}); +[["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a) { + var b2 = a[0]; + z$1[b2] = new t$1(b2, 1, false, a[1], null, false, false); +}); +["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a) { + z$1[a] = new t$1(a, 2, false, a.toLowerCase(), null, false, false); +}); +["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a) { + z$1[a] = new t$1(a, 2, false, a, null, false, false); +}); +"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) { + z$1[a] = new t$1(a, 3, false, a.toLowerCase(), null, false, false); +}); +["checked", "multiple", "muted", "selected"].forEach(function(a) { + z$1[a] = new t$1(a, 3, true, a, null, false, false); +}); +["capture", "download"].forEach(function(a) { + z$1[a] = new t$1(a, 4, false, a, null, false, false); +}); +["cols", "rows", "size", "span"].forEach(function(a) { + z$1[a] = new t$1(a, 6, false, a, null, false, false); +}); +["rowSpan", "start"].forEach(function(a) { + z$1[a] = new t$1(a, 5, false, a.toLowerCase(), null, false, false); +}); +var qa = /[\-:]([a-z])/g; +function ra(a) { + return a[1].toUpperCase(); +} +"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) { + var b2 = a.replace(qa, ra); + z$1[b2] = new t$1(b2, 1, false, a, null, false, false); +}); +"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a) { + var b2 = a.replace(qa, ra); + z$1[b2] = new t$1(b2, 1, false, a, "http://www.w3.org/1999/xlink", false, false); +}); +["xml:base", "xml:lang", "xml:space"].forEach(function(a) { + var b2 = a.replace(qa, ra); + z$1[b2] = new t$1(b2, 1, false, a, "http://www.w3.org/XML/1998/namespace", false, false); +}); +["tabIndex", "crossOrigin"].forEach(function(a) { + z$1[a] = new t$1(a, 1, false, a.toLowerCase(), null, false, false); +}); +z$1.xlinkHref = new t$1("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false); +["src", "href", "action", "formAction"].forEach(function(a) { + z$1[a] = new t$1(a, 1, false, a.toLowerCase(), null, true, true); +}); +function sa(a, b2, c2, d2) { + var e2 = z$1.hasOwnProperty(b2) ? z$1[b2] : null; + if (e2 !== null ? e2.type !== 0 : d2 || !(2 < b2.length) || b2[0] !== "o" && b2[0] !== "O" || b2[1] !== "n" && b2[1] !== "N") + pa(b2, c2, e2, d2) && (c2 = null), d2 || e2 === null ? na(b2) && (c2 === null ? a.removeAttribute(b2) : a.setAttribute(b2, "" + c2)) : e2.mustUseProperty ? a[e2.propertyName] = c2 === null ? e2.type === 3 ? false : "" : c2 : (b2 = e2.attributeName, d2 = e2.attributeNamespace, c2 === null ? a.removeAttribute(b2) : (e2 = e2.type, c2 = e2 === 3 || e2 === 4 && c2 === true ? "" : "" + c2, d2 ? a.setAttributeNS(d2, b2, c2) : a.setAttribute(b2, c2))); +} +var ta = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, ua = Symbol.for("react.element"), va = Symbol.for("react.portal"), wa = Symbol.for("react.fragment"), xa = Symbol.for("react.strict_mode"), za = Symbol.for("react.profiler"), Aa = Symbol.for("react.provider"), Ba = Symbol.for("react.context"), Ca = Symbol.for("react.forward_ref"), Da = Symbol.for("react.suspense"), Ea = Symbol.for("react.suspense_list"), Fa = Symbol.for("react.memo"), Ga = Symbol.for("react.lazy"); +var Ha = Symbol.for("react.offscreen"); +var Ia = Symbol.iterator; +function Ja(a) { + if (a === null || typeof a !== "object") + return null; + a = Ia && a[Ia] || a["@@iterator"]; + return typeof a === "function" ? a : null; +} +var A$1 = Object.assign, Ka; +function La(a) { + if (Ka === void 0) + try { + throw Error(); + } catch (c2) { + var b2 = c2.stack.trim().match(/\n( *(at )?)/); + Ka = b2 && b2[1] || ""; + } + return "\n" + Ka + a; +} +var Ma = false; +function Na(a, b2) { + if (!a || Ma) + return ""; + Ma = true; + var c2 = Error.prepareStackTrace; + Error.prepareStackTrace = void 0; + try { + if (b2) + if (b2 = function() { + throw Error(); + }, Object.defineProperty(b2.prototype, "props", { set: function() { + throw Error(); + } }), typeof Reflect === "object" && Reflect.construct) { + try { + Reflect.construct(b2, []); + } catch (l2) { + var d2 = l2; + } + Reflect.construct(a, [], b2); + } else { + try { + b2.call(); + } catch (l2) { + d2 = l2; + } + a.call(b2.prototype); + } + else { + try { + throw Error(); + } catch (l2) { + d2 = l2; + } + a(); + } + } catch (l2) { + if (l2 && d2 && typeof l2.stack === "string") { + for (var e2 = l2.stack.split("\n"), f2 = d2.stack.split("\n"), g2 = e2.length - 1, h2 = f2.length - 1; 1 <= g2 && 0 <= h2 && e2[g2] !== f2[h2]; ) + h2--; + for (; 1 <= g2 && 0 <= h2; g2--, h2--) + if (e2[g2] !== f2[h2]) { + if (g2 !== 1 || h2 !== 1) { + do + if (g2--, h2--, 0 > h2 || e2[g2] !== f2[h2]) { + var k2 = "\n" + e2[g2].replace(" at new ", " at "); + a.displayName && k2.includes("") && (k2 = k2.replace("", a.displayName)); + return k2; + } + while (1 <= g2 && 0 <= h2); + } + break; + } + } + } finally { + Ma = false, Error.prepareStackTrace = c2; + } + return (a = a ? a.displayName || a.name : "") ? La(a) : ""; +} +function Oa(a) { + switch (a.tag) { + case 5: + return La(a.type); + case 16: + return La("Lazy"); + case 13: + return La("Suspense"); + case 19: + return La("SuspenseList"); + case 0: + case 2: + case 15: + return a = Na(a.type, false), a; + case 11: + return a = Na(a.type.render, false), a; + case 1: + return a = Na(a.type, true), a; + default: + return ""; + } +} +function Pa(a) { + if (a == null) + return null; + if (typeof a === "function") + return a.displayName || a.name || null; + if (typeof a === "string") + return a; + switch (a) { + case wa: + return "Fragment"; + case va: + return "Portal"; + case za: + return "Profiler"; + case xa: + return "StrictMode"; + case Da: + return "Suspense"; + case Ea: + return "SuspenseList"; + } + if (typeof a === "object") + switch (a.$$typeof) { + case Ba: + return (a.displayName || "Context") + ".Consumer"; + case Aa: + return (a._context.displayName || "Context") + ".Provider"; + case Ca: + var b2 = a.render; + a = a.displayName; + a || (a = b2.displayName || b2.name || "", a = a !== "" ? "ForwardRef(" + a + ")" : "ForwardRef"); + return a; + case Fa: + return b2 = a.displayName || null, b2 !== null ? b2 : Pa(a.type) || "Memo"; + case Ga: + b2 = a._payload; + a = a._init; + try { + return Pa(a(b2)); + } catch (c2) { + } + } + return null; +} +function Qa(a) { + var b2 = a.type; + switch (a.tag) { + case 24: + return "Cache"; + case 9: + return (b2.displayName || "Context") + ".Consumer"; + case 10: + return (b2._context.displayName || "Context") + ".Provider"; + case 18: + return "DehydratedFragment"; + case 11: + return a = b2.render, a = a.displayName || a.name || "", b2.displayName || (a !== "" ? "ForwardRef(" + a + ")" : "ForwardRef"); + case 7: + return "Fragment"; + case 5: + return b2; + case 4: + return "Portal"; + case 3: + return "Root"; + case 6: + return "Text"; + case 16: + return Pa(b2); + case 8: + return b2 === xa ? "StrictMode" : "Mode"; + case 22: + return "Offscreen"; + case 12: + return "Profiler"; + case 21: + return "Scope"; + case 13: + return "Suspense"; + case 19: + return "SuspenseList"; + case 25: + return "TracingMarker"; + case 1: + case 0: + case 17: + case 2: + case 14: + case 15: + if (typeof b2 === "function") + return b2.displayName || b2.name || null; + if (typeof b2 === "string") + return b2; + } + return null; +} +function Ra(a) { + switch (typeof a) { + case "boolean": + case "number": + case "string": + case "undefined": + return a; + case "object": + return a; + default: + return ""; + } +} +function Sa(a) { + var b2 = a.type; + return (a = a.nodeName) && a.toLowerCase() === "input" && (b2 === "checkbox" || b2 === "radio"); +} +function Ta(a) { + var b2 = Sa(a) ? "checked" : "value", c2 = Object.getOwnPropertyDescriptor(a.constructor.prototype, b2), d2 = "" + a[b2]; + if (!a.hasOwnProperty(b2) && typeof c2 !== "undefined" && typeof c2.get === "function" && typeof c2.set === "function") { + var e2 = c2.get, f2 = c2.set; + Object.defineProperty(a, b2, { configurable: true, get: function() { + return e2.call(this); + }, set: function(a2) { + d2 = "" + a2; + f2.call(this, a2); + } }); + Object.defineProperty(a, b2, { enumerable: c2.enumerable }); + return { getValue: function() { + return d2; + }, setValue: function(a2) { + d2 = "" + a2; + }, stopTracking: function() { + a._valueTracker = null; + delete a[b2]; + } }; + } +} +function Ua(a) { + a._valueTracker || (a._valueTracker = Ta(a)); +} +function Va(a) { + if (!a) + return false; + var b2 = a._valueTracker; + if (!b2) + return true; + var c2 = b2.getValue(); + var d2 = ""; + a && (d2 = Sa(a) ? a.checked ? "true" : "false" : a.value); + a = d2; + return a !== c2 ? (b2.setValue(a), true) : false; +} +function Wa(a) { + a = a || (typeof document !== "undefined" ? document : void 0); + if (typeof a === "undefined") + return null; + try { + return a.activeElement || a.body; + } catch (b2) { + return a.body; + } +} +function Xa(a, b2) { + var c2 = b2.checked; + return A$1({}, b2, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: c2 != null ? c2 : a._wrapperState.initialChecked }); +} +function Ya(a, b2) { + var c2 = b2.defaultValue == null ? "" : b2.defaultValue, d2 = b2.checked != null ? b2.checked : b2.defaultChecked; + c2 = Ra(b2.value != null ? b2.value : c2); + a._wrapperState = { initialChecked: d2, initialValue: c2, controlled: b2.type === "checkbox" || b2.type === "radio" ? b2.checked != null : b2.value != null }; +} +function Za(a, b2) { + b2 = b2.checked; + b2 != null && sa(a, "checked", b2, false); +} +function $a(a, b2) { + Za(a, b2); + var c2 = Ra(b2.value), d2 = b2.type; + if (c2 != null) + if (d2 === "number") { + if (c2 === 0 && a.value === "" || a.value != c2) + a.value = "" + c2; + } else + a.value !== "" + c2 && (a.value = "" + c2); + else if (d2 === "submit" || d2 === "reset") { + a.removeAttribute("value"); + return; + } + b2.hasOwnProperty("value") ? bb(a, b2.type, c2) : b2.hasOwnProperty("defaultValue") && bb(a, b2.type, Ra(b2.defaultValue)); + b2.checked == null && b2.defaultChecked != null && (a.defaultChecked = !!b2.defaultChecked); +} +function cb(a, b2, c2) { + if (b2.hasOwnProperty("value") || b2.hasOwnProperty("defaultValue")) { + var d2 = b2.type; + if (!(d2 !== "submit" && d2 !== "reset" || b2.value !== void 0 && b2.value !== null)) + return; + b2 = "" + a._wrapperState.initialValue; + c2 || b2 === a.value || (a.value = b2); + a.defaultValue = b2; + } + c2 = a.name; + c2 !== "" && (a.name = ""); + a.defaultChecked = !!a._wrapperState.initialChecked; + c2 !== "" && (a.name = c2); +} +function bb(a, b2, c2) { + if (b2 !== "number" || Wa(a.ownerDocument) !== a) + c2 == null ? a.defaultValue = "" + a._wrapperState.initialValue : a.defaultValue !== "" + c2 && (a.defaultValue = "" + c2); +} +var db = Array.isArray; +function eb(a, b2, c2, d2) { + a = a.options; + if (b2) { + b2 = {}; + for (var e2 = 0; e2 < c2.length; e2++) + b2["$" + c2[e2]] = true; + for (c2 = 0; c2 < a.length; c2++) + e2 = b2.hasOwnProperty("$" + a[c2].value), a[c2].selected !== e2 && (a[c2].selected = e2), e2 && d2 && (a[c2].defaultSelected = true); + } else { + c2 = "" + Ra(c2); + b2 = null; + for (e2 = 0; e2 < a.length; e2++) { + if (a[e2].value === c2) { + a[e2].selected = true; + d2 && (a[e2].defaultSelected = true); + return; + } + b2 !== null || a[e2].disabled || (b2 = a[e2]); + } + b2 !== null && (b2.selected = true); + } +} +function fb(a, b2) { + if (b2.dangerouslySetInnerHTML != null) + throw Error(p$2(91)); + return A$1({}, b2, { value: void 0, defaultValue: void 0, children: "" + a._wrapperState.initialValue }); +} +function gb(a, b2) { + var c2 = b2.value; + if (c2 == null) { + c2 = b2.children; + b2 = b2.defaultValue; + if (c2 != null) { + if (b2 != null) + throw Error(p$2(92)); + if (db(c2)) { + if (1 < c2.length) + throw Error(p$2(93)); + c2 = c2[0]; + } + b2 = c2; + } + b2 == null && (b2 = ""); + c2 = b2; + } + a._wrapperState = { initialValue: Ra(c2) }; +} +function hb(a, b2) { + var c2 = Ra(b2.value), d2 = Ra(b2.defaultValue); + c2 != null && (c2 = "" + c2, c2 !== a.value && (a.value = c2), b2.defaultValue == null && a.defaultValue !== c2 && (a.defaultValue = c2)); + d2 != null && (a.defaultValue = "" + d2); +} +function ib(a) { + var b2 = a.textContent; + b2 === a._wrapperState.initialValue && b2 !== "" && b2 !== null && (a.value = b2); +} +function jb(a) { + switch (a) { + case "svg": + return "http://www.w3.org/2000/svg"; + case "math": + return "http://www.w3.org/1998/Math/MathML"; + default: + return "http://www.w3.org/1999/xhtml"; + } +} +function kb(a, b2) { + return a == null || a === "http://www.w3.org/1999/xhtml" ? jb(b2) : a === "http://www.w3.org/2000/svg" && b2 === "foreignObject" ? "http://www.w3.org/1999/xhtml" : a; +} +var lb, mb = function(a) { + return typeof MSApp !== "undefined" && MSApp.execUnsafeLocalFunction ? function(b2, c2, d2, e2) { + MSApp.execUnsafeLocalFunction(function() { + return a(b2, c2, d2, e2); + }); + } : a; +}(function(a, b2) { + if (a.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in a) + a.innerHTML = b2; + else { + lb = lb || document.createElement("div"); + lb.innerHTML = "" + b2.valueOf().toString() + ""; + for (b2 = lb.firstChild; a.firstChild; ) + a.removeChild(a.firstChild); + for (; b2.firstChild; ) + a.appendChild(b2.firstChild); + } +}); +function nb(a, b2) { + if (b2) { + var c2 = a.firstChild; + if (c2 && c2 === a.lastChild && c2.nodeType === 3) { + c2.nodeValue = b2; + return; + } + } + a.textContent = b2; +} +var ob = { + animationIterationCount: true, + aspectRatio: true, + borderImageOutset: true, + borderImageSlice: true, + borderImageWidth: true, + boxFlex: true, + boxFlexGroup: true, + boxOrdinalGroup: true, + columnCount: true, + columns: true, + flex: true, + flexGrow: true, + flexPositive: true, + flexShrink: true, + flexNegative: true, + flexOrder: true, + gridArea: true, + gridRow: true, + gridRowEnd: true, + gridRowSpan: true, + gridRowStart: true, + gridColumn: true, + gridColumnEnd: true, + gridColumnSpan: true, + gridColumnStart: true, + fontWeight: true, + lineClamp: true, + lineHeight: true, + opacity: true, + order: true, + orphans: true, + tabSize: true, + widows: true, + zIndex: true, + zoom: true, + fillOpacity: true, + floodOpacity: true, + stopOpacity: true, + strokeDasharray: true, + strokeDashoffset: true, + strokeMiterlimit: true, + strokeOpacity: true, + strokeWidth: true +}, pb = ["Webkit", "ms", "Moz", "O"]; +Object.keys(ob).forEach(function(a) { + pb.forEach(function(b2) { + b2 = b2 + a.charAt(0).toUpperCase() + a.substring(1); + ob[b2] = ob[a]; + }); +}); +function qb(a, b2, c2) { + return b2 == null || typeof b2 === "boolean" || b2 === "" ? "" : c2 || typeof b2 !== "number" || b2 === 0 || ob.hasOwnProperty(a) && ob[a] ? ("" + b2).trim() : b2 + "px"; +} +function rb(a, b2) { + a = a.style; + for (var c2 in b2) + if (b2.hasOwnProperty(c2)) { + var d2 = c2.indexOf("--") === 0, e2 = qb(c2, b2[c2], d2); + c2 === "float" && (c2 = "cssFloat"); + d2 ? a.setProperty(c2, e2) : a[c2] = e2; + } +} +var sb = A$1({ 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 }); +function tb(a, b2) { + if (b2) { + if (sb[a] && (b2.children != null || b2.dangerouslySetInnerHTML != null)) + throw Error(p$2(137, a)); + if (b2.dangerouslySetInnerHTML != null) { + if (b2.children != null) + throw Error(p$2(60)); + if (typeof b2.dangerouslySetInnerHTML !== "object" || !("__html" in b2.dangerouslySetInnerHTML)) + throw Error(p$2(61)); + } + if (b2.style != null && typeof b2.style !== "object") + throw Error(p$2(62)); + } +} +function ub(a, b2) { + if (a.indexOf("-") === -1) + return typeof b2.is === "string"; + switch (a) { + case "annotation-xml": + case "color-profile": + case "font-face": + case "font-face-src": + case "font-face-uri": + case "font-face-format": + case "font-face-name": + case "missing-glyph": + return false; + default: + return true; + } +} +var vb = null; +function wb(a) { + a = a.target || a.srcElement || window; + a.correspondingUseElement && (a = a.correspondingUseElement); + return a.nodeType === 3 ? a.parentNode : a; +} +var xb = null, yb = null, zb = null; +function Ab(a) { + if (a = Bb(a)) { + if (typeof xb !== "function") + throw Error(p$2(280)); + var b2 = a.stateNode; + b2 && (b2 = Cb(b2), xb(a.stateNode, a.type, b2)); + } +} +function Db(a) { + yb ? zb ? zb.push(a) : zb = [a] : yb = a; +} +function Eb() { + if (yb) { + var a = yb, b2 = zb; + zb = yb = null; + Ab(a); + if (b2) + for (a = 0; a < b2.length; a++) + Ab(b2[a]); + } +} +function Fb(a, b2) { + return a(b2); +} +function Gb() { +} +var Hb = false; +function Ib(a, b2, c2) { + if (Hb) + return a(b2, c2); + Hb = true; + try { + return Fb(a, b2, c2); + } finally { + if (Hb = false, yb !== null || zb !== null) + Gb(), Eb(); + } +} +function Jb(a, b2) { + var c2 = a.stateNode; + if (c2 === null) + return null; + var d2 = Cb(c2); + if (d2 === null) + return null; + c2 = d2[b2]; + a: + switch (b2) { + case "onClick": + case "onClickCapture": + case "onDoubleClick": + case "onDoubleClickCapture": + case "onMouseDown": + case "onMouseDownCapture": + case "onMouseMove": + case "onMouseMoveCapture": + case "onMouseUp": + case "onMouseUpCapture": + case "onMouseEnter": + (d2 = !d2.disabled) || (a = a.type, d2 = !(a === "button" || a === "input" || a === "select" || a === "textarea")); + a = !d2; + break a; + default: + a = false; + } + if (a) + return null; + if (c2 && typeof c2 !== "function") + throw Error(p$2(231, b2, typeof c2)); + return c2; +} +var Kb = false; +if (ia) + try { + var Lb = {}; + Object.defineProperty(Lb, "passive", { get: function() { + Kb = true; + } }); + window.addEventListener("test", Lb, Lb); + window.removeEventListener("test", Lb, Lb); + } catch (a) { + Kb = false; + } +function Mb(a, b2, c2, d2, e2, f2, g2, h2, k2) { + var l2 = Array.prototype.slice.call(arguments, 3); + try { + b2.apply(c2, l2); + } catch (n2) { + this.onError(n2); + } +} +var Nb = false, Ob = null, Pb = false, Qb = null, Rb = { onError: function(a) { + Nb = true; + Ob = a; +} }; +function Sb(a, b2, c2, d2, e2, f2, g2, h2, k2) { + Nb = false; + Ob = null; + Mb.apply(Rb, arguments); +} +function Tb(a, b2, c2, d2, e2, f2, g2, h2, k2) { + Sb.apply(this, arguments); + if (Nb) { + if (Nb) { + var l2 = Ob; + Nb = false; + Ob = null; + } else + throw Error(p$2(198)); + Pb || (Pb = true, Qb = l2); + } +} +function Ub(a) { + var b2 = a, c2 = a; + if (a.alternate) + for (; b2.return; ) + b2 = b2.return; + else { + a = b2; + do + b2 = a, (b2.flags & 4098) !== 0 && (c2 = b2.return), a = b2.return; + while (a); + } + return b2.tag === 3 ? c2 : null; +} +function Vb(a) { + if (a.tag === 13) { + var b2 = a.memoizedState; + b2 === null && (a = a.alternate, a !== null && (b2 = a.memoizedState)); + if (b2 !== null) + return b2.dehydrated; + } + return null; +} +function Wb(a) { + if (Ub(a) !== a) + throw Error(p$2(188)); +} +function Xb(a) { + var b2 = a.alternate; + if (!b2) { + b2 = Ub(a); + if (b2 === null) + throw Error(p$2(188)); + return b2 !== a ? null : a; + } + for (var c2 = a, d2 = b2; ; ) { + var e2 = c2.return; + if (e2 === null) + break; + var f2 = e2.alternate; + if (f2 === null) { + d2 = e2.return; + if (d2 !== null) { + c2 = d2; + continue; + } + break; + } + if (e2.child === f2.child) { + for (f2 = e2.child; f2; ) { + if (f2 === c2) + return Wb(e2), a; + if (f2 === d2) + return Wb(e2), b2; + f2 = f2.sibling; + } + throw Error(p$2(188)); + } + if (c2.return !== d2.return) + c2 = e2, d2 = f2; + else { + for (var g2 = false, h2 = e2.child; h2; ) { + if (h2 === c2) { + g2 = true; + c2 = e2; + d2 = f2; + break; + } + if (h2 === d2) { + g2 = true; + d2 = e2; + c2 = f2; + break; + } + h2 = h2.sibling; + } + if (!g2) { + for (h2 = f2.child; h2; ) { + if (h2 === c2) { + g2 = true; + c2 = f2; + d2 = e2; + break; + } + if (h2 === d2) { + g2 = true; + d2 = f2; + c2 = e2; + break; + } + h2 = h2.sibling; + } + if (!g2) + throw Error(p$2(189)); + } + } + if (c2.alternate !== d2) + throw Error(p$2(190)); + } + if (c2.tag !== 3) + throw Error(p$2(188)); + return c2.stateNode.current === c2 ? a : b2; +} +function Yb(a) { + a = Xb(a); + return a !== null ? Zb(a) : null; +} +function Zb(a) { + if (a.tag === 5 || a.tag === 6) + return a; + for (a = a.child; a !== null; ) { + var b2 = Zb(a); + if (b2 !== null) + return b2; + a = a.sibling; + } + return null; +} +var $b = ba.unstable_scheduleCallback, ac = ba.unstable_cancelCallback, bc = ba.unstable_shouldYield, cc = ba.unstable_requestPaint, B = ba.unstable_now, dc = ba.unstable_getCurrentPriorityLevel, ec = ba.unstable_ImmediatePriority, fc = ba.unstable_UserBlockingPriority, gc = ba.unstable_NormalPriority, hc = ba.unstable_LowPriority, ic = ba.unstable_IdlePriority, jc = null, kc = null; +function lc(a) { + if (kc && typeof kc.onCommitFiberRoot === "function") + try { + kc.onCommitFiberRoot(jc, a, void 0, (a.current.flags & 128) === 128); + } catch (b2) { + } +} +var nc = Math.clz32 ? Math.clz32 : mc, oc = Math.log, pc = Math.LN2; +function mc(a) { + a >>>= 0; + return a === 0 ? 32 : 31 - (oc(a) / pc | 0) | 0; +} +var qc = 64, rc = 4194304; +function sc(a) { + switch (a & -a) { + case 1: + return 1; + case 2: + return 2; + case 4: + return 4; + case 8: + return 8; + case 16: + return 16; + case 32: + return 32; + case 64: + case 128: + case 256: + case 512: + case 1024: + case 2048: + case 4096: + case 8192: + case 16384: + case 32768: + case 65536: + case 131072: + case 262144: + case 524288: + case 1048576: + case 2097152: + return a & 4194240; + case 4194304: + case 8388608: + case 16777216: + case 33554432: + case 67108864: + return a & 130023424; + case 134217728: + return 134217728; + case 268435456: + return 268435456; + case 536870912: + return 536870912; + case 1073741824: + return 1073741824; + default: + return a; + } +} +function tc(a, b2) { + var c2 = a.pendingLanes; + if (c2 === 0) + return 0; + var d2 = 0, e2 = a.suspendedLanes, f2 = a.pingedLanes, g2 = c2 & 268435455; + if (g2 !== 0) { + var h2 = g2 & ~e2; + h2 !== 0 ? d2 = sc(h2) : (f2 &= g2, f2 !== 0 && (d2 = sc(f2))); + } else + g2 = c2 & ~e2, g2 !== 0 ? d2 = sc(g2) : f2 !== 0 && (d2 = sc(f2)); + if (d2 === 0) + return 0; + if (b2 !== 0 && b2 !== d2 && (b2 & e2) === 0 && (e2 = d2 & -d2, f2 = b2 & -b2, e2 >= f2 || e2 === 16 && (f2 & 4194240) !== 0)) + return b2; + (d2 & 4) !== 0 && (d2 |= c2 & 16); + b2 = a.entangledLanes; + if (b2 !== 0) + for (a = a.entanglements, b2 &= d2; 0 < b2; ) + c2 = 31 - nc(b2), e2 = 1 << c2, d2 |= a[c2], b2 &= ~e2; + return d2; +} +function uc(a, b2) { + switch (a) { + case 1: + case 2: + case 4: + return b2 + 250; + case 8: + case 16: + case 32: + case 64: + case 128: + case 256: + case 512: + case 1024: + case 2048: + case 4096: + case 8192: + case 16384: + case 32768: + case 65536: + case 131072: + case 262144: + case 524288: + case 1048576: + case 2097152: + return b2 + 5e3; + case 4194304: + case 8388608: + case 16777216: + case 33554432: + case 67108864: + return -1; + case 134217728: + case 268435456: + case 536870912: + case 1073741824: + return -1; + default: + return -1; + } +} +function vc(a, b2) { + for (var c2 = a.suspendedLanes, d2 = a.pingedLanes, e2 = a.expirationTimes, f2 = a.pendingLanes; 0 < f2; ) { + var g2 = 31 - nc(f2), h2 = 1 << g2, k2 = e2[g2]; + if (k2 === -1) { + if ((h2 & c2) === 0 || (h2 & d2) !== 0) + e2[g2] = uc(h2, b2); + } else + k2 <= b2 && (a.expiredLanes |= h2); + f2 &= ~h2; + } +} +function wc(a) { + a = a.pendingLanes & -1073741825; + return a !== 0 ? a : a & 1073741824 ? 1073741824 : 0; +} +function xc() { + var a = qc; + qc <<= 1; + (qc & 4194240) === 0 && (qc = 64); + return a; +} +function yc(a) { + for (var b2 = [], c2 = 0; 31 > c2; c2++) + b2.push(a); + return b2; +} +function zc(a, b2, c2) { + a.pendingLanes |= b2; + b2 !== 536870912 && (a.suspendedLanes = 0, a.pingedLanes = 0); + a = a.eventTimes; + b2 = 31 - nc(b2); + a[b2] = c2; +} +function Ac(a, b2) { + var c2 = a.pendingLanes & ~b2; + a.pendingLanes = b2; + a.suspendedLanes = 0; + a.pingedLanes = 0; + a.expiredLanes &= b2; + a.mutableReadLanes &= b2; + a.entangledLanes &= b2; + b2 = a.entanglements; + var d2 = a.eventTimes; + for (a = a.expirationTimes; 0 < c2; ) { + var e2 = 31 - nc(c2), f2 = 1 << e2; + b2[e2] = 0; + d2[e2] = -1; + a[e2] = -1; + c2 &= ~f2; + } +} +function Bc(a, b2) { + var c2 = a.entangledLanes |= b2; + for (a = a.entanglements; c2; ) { + var d2 = 31 - nc(c2), e2 = 1 << d2; + e2 & b2 | a[d2] & b2 && (a[d2] |= b2); + c2 &= ~e2; + } +} +var C = 0; +function Cc(a) { + a &= -a; + return 1 < a ? 4 < a ? (a & 268435455) !== 0 ? 16 : 536870912 : 4 : 1; +} +var Dc, Ec, Fc, Gc, Hc, Ic = false, Jc = [], Kc = null, Lc = null, Mc = null, Nc = /* @__PURE__ */ new Map(), Oc = /* @__PURE__ */ new Map(), Pc = [], Qc = "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(" "); +function Rc(a, b2) { + switch (a) { + case "focusin": + case "focusout": + Kc = null; + break; + case "dragenter": + case "dragleave": + Lc = null; + break; + case "mouseover": + case "mouseout": + Mc = null; + break; + case "pointerover": + case "pointerout": + Nc.delete(b2.pointerId); + break; + case "gotpointercapture": + case "lostpointercapture": + Oc.delete(b2.pointerId); + } +} +function Sc(a, b2, c2, d2, e2, f2) { + if (a === null || a.nativeEvent !== f2) + return a = { blockedOn: b2, domEventName: c2, eventSystemFlags: d2, nativeEvent: f2, targetContainers: [e2] }, b2 !== null && (b2 = Bb(b2), b2 !== null && Ec(b2)), a; + a.eventSystemFlags |= d2; + b2 = a.targetContainers; + e2 !== null && b2.indexOf(e2) === -1 && b2.push(e2); + return a; +} +function Tc(a, b2, c2, d2, e2) { + switch (b2) { + case "focusin": + return Kc = Sc(Kc, a, b2, c2, d2, e2), true; + case "dragenter": + return Lc = Sc(Lc, a, b2, c2, d2, e2), true; + case "mouseover": + return Mc = Sc(Mc, a, b2, c2, d2, e2), true; + case "pointerover": + var f2 = e2.pointerId; + Nc.set(f2, Sc(Nc.get(f2) || null, a, b2, c2, d2, e2)); + return true; + case "gotpointercapture": + return f2 = e2.pointerId, Oc.set(f2, Sc(Oc.get(f2) || null, a, b2, c2, d2, e2)), true; + } + return false; +} +function Uc(a) { + var b2 = Vc(a.target); + if (b2 !== null) { + var c2 = Ub(b2); + if (c2 !== null) { + if (b2 = c2.tag, b2 === 13) { + if (b2 = Vb(c2), b2 !== null) { + a.blockedOn = b2; + Hc(a.priority, function() { + Fc(c2); + }); + return; + } + } else if (b2 === 3 && c2.stateNode.current.memoizedState.isDehydrated) { + a.blockedOn = c2.tag === 3 ? c2.stateNode.containerInfo : null; + return; + } + } + } + a.blockedOn = null; +} +function Wc(a) { + if (a.blockedOn !== null) + return false; + for (var b2 = a.targetContainers; 0 < b2.length; ) { + var c2 = Xc(a.domEventName, a.eventSystemFlags, b2[0], a.nativeEvent); + if (c2 === null) { + c2 = a.nativeEvent; + var d2 = new c2.constructor(c2.type, c2); + vb = d2; + c2.target.dispatchEvent(d2); + vb = null; + } else + return b2 = Bb(c2), b2 !== null && Ec(b2), a.blockedOn = c2, false; + b2.shift(); + } + return true; +} +function Yc(a, b2, c2) { + Wc(a) && c2.delete(b2); +} +function Zc() { + Ic = false; + Kc !== null && Wc(Kc) && (Kc = null); + Lc !== null && Wc(Lc) && (Lc = null); + Mc !== null && Wc(Mc) && (Mc = null); + Nc.forEach(Yc); + Oc.forEach(Yc); +} +function $c(a, b2) { + a.blockedOn === b2 && (a.blockedOn = null, Ic || (Ic = true, ba.unstable_scheduleCallback(ba.unstable_NormalPriority, Zc))); +} +function ad(a) { + function b2(b3) { + return $c(b3, a); + } + if (0 < Jc.length) { + $c(Jc[0], a); + for (var c2 = 1; c2 < Jc.length; c2++) { + var d2 = Jc[c2]; + d2.blockedOn === a && (d2.blockedOn = null); + } + } + Kc !== null && $c(Kc, a); + Lc !== null && $c(Lc, a); + Mc !== null && $c(Mc, a); + Nc.forEach(b2); + Oc.forEach(b2); + for (c2 = 0; c2 < Pc.length; c2++) + d2 = Pc[c2], d2.blockedOn === a && (d2.blockedOn = null); + for (; 0 < Pc.length && (c2 = Pc[0], c2.blockedOn === null); ) + Uc(c2), c2.blockedOn === null && Pc.shift(); +} +var bd = ta.ReactCurrentBatchConfig, cd = true; +function dd(a, b2, c2, d2) { + var e2 = C, f2 = bd.transition; + bd.transition = null; + try { + C = 1, ed(a, b2, c2, d2); + } finally { + C = e2, bd.transition = f2; + } +} +function fd(a, b2, c2, d2) { + var e2 = C, f2 = bd.transition; + bd.transition = null; + try { + C = 4, ed(a, b2, c2, d2); + } finally { + C = e2, bd.transition = f2; + } +} +function ed(a, b2, c2, d2) { + if (cd) { + var e2 = Xc(a, b2, c2, d2); + if (e2 === null) + gd(a, b2, d2, hd, c2), Rc(a, d2); + else if (Tc(e2, a, b2, c2, d2)) + d2.stopPropagation(); + else if (Rc(a, d2), b2 & 4 && -1 < Qc.indexOf(a)) { + for (; e2 !== null; ) { + var f2 = Bb(e2); + f2 !== null && Dc(f2); + f2 = Xc(a, b2, c2, d2); + f2 === null && gd(a, b2, d2, hd, c2); + if (f2 === e2) + break; + e2 = f2; + } + e2 !== null && d2.stopPropagation(); + } else + gd(a, b2, d2, null, c2); + } +} +var hd = null; +function Xc(a, b2, c2, d2) { + hd = null; + a = wb(d2); + a = Vc(a); + if (a !== null) + if (b2 = Ub(a), b2 === null) + a = null; + else if (c2 = b2.tag, c2 === 13) { + a = Vb(b2); + if (a !== null) + return a; + a = null; + } else if (c2 === 3) { + if (b2.stateNode.current.memoizedState.isDehydrated) + return b2.tag === 3 ? b2.stateNode.containerInfo : null; + a = null; + } else + b2 !== a && (a = null); + hd = a; + return null; +} +function id(a) { + switch (a) { + case "cancel": + case "click": + case "close": + case "contextmenu": + case "copy": + case "cut": + case "auxclick": + case "dblclick": + case "dragend": + case "dragstart": + case "drop": + case "focusin": + case "focusout": + case "input": + case "invalid": + case "keydown": + case "keypress": + case "keyup": + case "mousedown": + case "mouseup": + case "paste": + case "pause": + case "play": + case "pointercancel": + case "pointerdown": + case "pointerup": + case "ratechange": + case "reset": + case "resize": + case "seeked": + case "submit": + case "touchcancel": + case "touchend": + case "touchstart": + case "volumechange": + case "change": + case "selectionchange": + case "textInput": + case "compositionstart": + case "compositionend": + case "compositionupdate": + case "beforeblur": + case "afterblur": + case "beforeinput": + case "blur": + case "fullscreenchange": + case "focus": + case "hashchange": + case "popstate": + case "select": + case "selectstart": + return 1; + case "drag": + case "dragenter": + case "dragexit": + case "dragleave": + case "dragover": + case "mousemove": + case "mouseout": + case "mouseover": + case "pointermove": + case "pointerout": + case "pointerover": + case "scroll": + case "toggle": + case "touchmove": + case "wheel": + case "mouseenter": + case "mouseleave": + case "pointerenter": + case "pointerleave": + return 4; + case "message": + switch (dc()) { + case ec: + return 1; + case fc: + return 4; + case gc: + case hc: + return 16; + case ic: + return 536870912; + default: + return 16; + } + default: + return 16; + } +} +var jd = null, kd = null, ld = null; +function md() { + if (ld) + return ld; + var a, b2 = kd, c2 = b2.length, d2, e2 = "value" in jd ? jd.value : jd.textContent, f2 = e2.length; + for (a = 0; a < c2 && b2[a] === e2[a]; a++) + ; + var g2 = c2 - a; + for (d2 = 1; d2 <= g2 && b2[c2 - d2] === e2[f2 - d2]; d2++) + ; + return ld = e2.slice(a, 1 < d2 ? 1 - d2 : void 0); +} +function nd(a) { + var b2 = a.keyCode; + "charCode" in a ? (a = a.charCode, a === 0 && b2 === 13 && (a = 13)) : a = b2; + a === 10 && (a = 13); + return 32 <= a || a === 13 ? a : 0; +} +function od() { + return true; +} +function pd() { + return false; +} +function qd(a) { + function b2(b3, d2, e2, f2, g2) { + this._reactName = b3; + this._targetInst = e2; + this.type = d2; + this.nativeEvent = f2; + this.target = g2; + this.currentTarget = null; + for (var c2 in a) + a.hasOwnProperty(c2) && (b3 = a[c2], this[c2] = b3 ? b3(f2) : f2[c2]); + this.isDefaultPrevented = (f2.defaultPrevented != null ? f2.defaultPrevented : f2.returnValue === false) ? od : pd; + this.isPropagationStopped = pd; + return this; + } + A$1(b2.prototype, { preventDefault: function() { + this.defaultPrevented = true; + var a2 = this.nativeEvent; + a2 && (a2.preventDefault ? a2.preventDefault() : typeof a2.returnValue !== "unknown" && (a2.returnValue = false), this.isDefaultPrevented = od); + }, stopPropagation: function() { + var a2 = this.nativeEvent; + a2 && (a2.stopPropagation ? a2.stopPropagation() : typeof a2.cancelBubble !== "unknown" && (a2.cancelBubble = true), this.isPropagationStopped = od); + }, persist: function() { + }, isPersistent: od }); + return b2; +} +var rd = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(a) { + return a.timeStamp || Date.now(); +}, defaultPrevented: 0, isTrusted: 0 }, sd = qd(rd), td = A$1({}, rd, { view: 0, detail: 0 }), ud = qd(td), vd, wd, xd, zd = A$1({}, td, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: yd, button: 0, buttons: 0, relatedTarget: function(a) { + return a.relatedTarget === void 0 ? a.fromElement === a.srcElement ? a.toElement : a.fromElement : a.relatedTarget; +}, movementX: function(a) { + if ("movementX" in a) + return a.movementX; + a !== xd && (xd && a.type === "mousemove" ? (vd = a.screenX - xd.screenX, wd = a.screenY - xd.screenY) : wd = vd = 0, xd = a); + return vd; +}, movementY: function(a) { + return "movementY" in a ? a.movementY : wd; +} }), Ad = qd(zd), Bd = A$1({}, zd, { dataTransfer: 0 }), Cd = qd(Bd), Dd = A$1({}, td, { relatedTarget: 0 }), Ed = qd(Dd), Fd = A$1({}, rd, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Gd = qd(Fd), Hd = A$1({}, rd, { clipboardData: function(a) { + return "clipboardData" in a ? a.clipboardData : window.clipboardData; +} }), Id = qd(Hd), Jd = A$1({}, rd, { data: 0 }), Kd = qd(Jd), Ld = { + Esc: "Escape", + Spacebar: " ", + Left: "ArrowLeft", + Up: "ArrowUp", + Right: "ArrowRight", + Down: "ArrowDown", + Del: "Delete", + Win: "OS", + Menu: "ContextMenu", + Apps: "ContextMenu", + Scroll: "ScrollLock", + MozPrintableKey: "Unidentified" +}, Md = { + 8: "Backspace", + 9: "Tab", + 12: "Clear", + 13: "Enter", + 16: "Shift", + 17: "Control", + 18: "Alt", + 19: "Pause", + 20: "CapsLock", + 27: "Escape", + 32: " ", + 33: "PageUp", + 34: "PageDown", + 35: "End", + 36: "Home", + 37: "ArrowLeft", + 38: "ArrowUp", + 39: "ArrowRight", + 40: "ArrowDown", + 45: "Insert", + 46: "Delete", + 112: "F1", + 113: "F2", + 114: "F3", + 115: "F4", + 116: "F5", + 117: "F6", + 118: "F7", + 119: "F8", + 120: "F9", + 121: "F10", + 122: "F11", + 123: "F12", + 144: "NumLock", + 145: "ScrollLock", + 224: "Meta" +}, Nd = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; +function Od(a) { + var b2 = this.nativeEvent; + return b2.getModifierState ? b2.getModifierState(a) : (a = Nd[a]) ? !!b2[a] : false; +} +function yd() { + return Od; +} +var Pd = A$1({}, td, { key: function(a) { + if (a.key) { + var b2 = Ld[a.key] || a.key; + if (b2 !== "Unidentified") + return b2; + } + return a.type === "keypress" ? (a = nd(a), a === 13 ? "Enter" : String.fromCharCode(a)) : a.type === "keydown" || a.type === "keyup" ? Md[a.keyCode] || "Unidentified" : ""; +}, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: yd, charCode: function(a) { + return a.type === "keypress" ? nd(a) : 0; +}, keyCode: function(a) { + return a.type === "keydown" || a.type === "keyup" ? a.keyCode : 0; +}, which: function(a) { + return a.type === "keypress" ? nd(a) : a.type === "keydown" || a.type === "keyup" ? a.keyCode : 0; +} }), Qd = qd(Pd), Rd = A$1({}, zd, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), Sd = qd(Rd), Td = A$1({}, td, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: yd }), Ud = qd(Td), Vd = A$1({}, rd, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Wd = qd(Vd), Xd = A$1({}, zd, { + deltaX: function(a) { + return "deltaX" in a ? a.deltaX : "wheelDeltaX" in a ? -a.wheelDeltaX : 0; + }, + deltaY: function(a) { + return "deltaY" in a ? a.deltaY : "wheelDeltaY" in a ? -a.wheelDeltaY : "wheelDelta" in a ? -a.wheelDelta : 0; + }, + deltaZ: 0, + deltaMode: 0 +}), Yd = qd(Xd), Zd = [9, 13, 27, 32], $d = ia && "CompositionEvent" in window, ae = null; +ia && "documentMode" in document && (ae = document.documentMode); +var be = ia && "TextEvent" in window && !ae, ce = ia && (!$d || ae && 8 < ae && 11 >= ae), de = String.fromCharCode(32), ee = false; +function fe(a, b2) { + switch (a) { + case "keyup": + return Zd.indexOf(b2.keyCode) !== -1; + case "keydown": + return b2.keyCode !== 229; + case "keypress": + case "mousedown": + case "focusout": + return true; + default: + return false; + } +} +function ge(a) { + a = a.detail; + return typeof a === "object" && "data" in a ? a.data : null; +} +var he = false; +function ie(a, b2) { + switch (a) { + case "compositionend": + return ge(b2); + case "keypress": + if (b2.which !== 32) + return null; + ee = true; + return de; + case "textInput": + return a = b2.data, a === de && ee ? null : a; + default: + return null; + } +} +function je(a, b2) { + if (he) + return a === "compositionend" || !$d && fe(a, b2) ? (a = md(), ld = kd = jd = null, he = false, a) : null; + switch (a) { + case "paste": + return null; + case "keypress": + if (!(b2.ctrlKey || b2.altKey || b2.metaKey) || b2.ctrlKey && b2.altKey) { + if (b2.char && 1 < b2.char.length) + return b2.char; + if (b2.which) + return String.fromCharCode(b2.which); + } + return null; + case "compositionend": + return ce && b2.locale !== "ko" ? null : b2.data; + default: + return null; + } +} +var ke = { 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 }; +function le(a) { + var b2 = a && a.nodeName && a.nodeName.toLowerCase(); + return b2 === "input" ? !!ke[a.type] : b2 === "textarea" ? true : false; +} +function me(a, b2, c2, d2) { + Db(d2); + b2 = ne(b2, "onChange"); + 0 < b2.length && (c2 = new sd("onChange", "change", null, c2, d2), a.push({ event: c2, listeners: b2 })); +} +var oe = null, pe = null; +function qe(a) { + re(a, 0); +} +function se(a) { + var b2 = te(a); + if (Va(b2)) + return a; +} +function ue(a, b2) { + if (a === "change") + return b2; +} +var ve = false; +if (ia) { + var we; + if (ia) { + var xe = "oninput" in document; + if (!xe) { + var ye = document.createElement("div"); + ye.setAttribute("oninput", "return;"); + xe = typeof ye.oninput === "function"; + } + we = xe; + } else + we = false; + ve = we && (!document.documentMode || 9 < document.documentMode); +} +function ze() { + oe && (oe.detachEvent("onpropertychange", Ae), pe = oe = null); +} +function Ae(a) { + if (a.propertyName === "value" && se(pe)) { + var b2 = []; + me(b2, pe, a, wb(a)); + Ib(qe, b2); + } +} +function Be(a, b2, c2) { + a === "focusin" ? (ze(), oe = b2, pe = c2, oe.attachEvent("onpropertychange", Ae)) : a === "focusout" && ze(); +} +function Ce(a) { + if (a === "selectionchange" || a === "keyup" || a === "keydown") + return se(pe); +} +function De(a, b2) { + if (a === "click") + return se(b2); +} +function Ee(a, b2) { + if (a === "input" || a === "change") + return se(b2); +} +function Fe(a, b2) { + return a === b2 && (a !== 0 || 1 / a === 1 / b2) || a !== a && b2 !== b2; +} +var Ge = typeof Object.is === "function" ? Object.is : Fe; +function He(a, b2) { + if (Ge(a, b2)) + return true; + if (typeof a !== "object" || a === null || typeof b2 !== "object" || b2 === null) + return false; + var c2 = Object.keys(a), d2 = Object.keys(b2); + if (c2.length !== d2.length) + return false; + for (d2 = 0; d2 < c2.length; d2++) { + var e2 = c2[d2]; + if (!ja.call(b2, e2) || !Ge(a[e2], b2[e2])) + return false; + } + return true; +} +function Ie(a) { + for (; a && a.firstChild; ) + a = a.firstChild; + return a; +} +function Je(a, b2) { + var c2 = Ie(a); + a = 0; + for (var d2; c2; ) { + if (c2.nodeType === 3) { + d2 = a + c2.textContent.length; + if (a <= b2 && d2 >= b2) + return { node: c2, offset: b2 - a }; + a = d2; + } + a: { + for (; c2; ) { + if (c2.nextSibling) { + c2 = c2.nextSibling; + break a; + } + c2 = c2.parentNode; + } + c2 = void 0; + } + c2 = Ie(c2); + } +} +function Ke(a, b2) { + return a && b2 ? a === b2 ? true : a && a.nodeType === 3 ? false : b2 && b2.nodeType === 3 ? Ke(a, b2.parentNode) : "contains" in a ? a.contains(b2) : a.compareDocumentPosition ? !!(a.compareDocumentPosition(b2) & 16) : false : false; +} +function Le() { + for (var a = window, b2 = Wa(); b2 instanceof a.HTMLIFrameElement; ) { + try { + var c2 = typeof b2.contentWindow.location.href === "string"; + } catch (d2) { + c2 = false; + } + if (c2) + a = b2.contentWindow; + else + break; + b2 = Wa(a.document); + } + return b2; +} +function Me(a) { + var b2 = a && a.nodeName && a.nodeName.toLowerCase(); + return b2 && (b2 === "input" && (a.type === "text" || a.type === "search" || a.type === "tel" || a.type === "url" || a.type === "password") || b2 === "textarea" || a.contentEditable === "true"); +} +function Ne(a) { + var b2 = Le(), c2 = a.focusedElem, d2 = a.selectionRange; + if (b2 !== c2 && c2 && c2.ownerDocument && Ke(c2.ownerDocument.documentElement, c2)) { + if (d2 !== null && Me(c2)) { + if (b2 = d2.start, a = d2.end, a === void 0 && (a = b2), "selectionStart" in c2) + c2.selectionStart = b2, c2.selectionEnd = Math.min(a, c2.value.length); + else if (a = (b2 = c2.ownerDocument || document) && b2.defaultView || window, a.getSelection) { + a = a.getSelection(); + var e2 = c2.textContent.length, f2 = Math.min(d2.start, e2); + d2 = d2.end === void 0 ? f2 : Math.min(d2.end, e2); + !a.extend && f2 > d2 && (e2 = d2, d2 = f2, f2 = e2); + e2 = Je(c2, f2); + var g2 = Je(c2, d2); + e2 && g2 && (a.rangeCount !== 1 || a.anchorNode !== e2.node || a.anchorOffset !== e2.offset || a.focusNode !== g2.node || a.focusOffset !== g2.offset) && (b2 = b2.createRange(), b2.setStart(e2.node, e2.offset), a.removeAllRanges(), f2 > d2 ? (a.addRange(b2), a.extend(g2.node, g2.offset)) : (b2.setEnd(g2.node, g2.offset), a.addRange(b2))); + } + } + b2 = []; + for (a = c2; a = a.parentNode; ) + a.nodeType === 1 && b2.push({ element: a, left: a.scrollLeft, top: a.scrollTop }); + typeof c2.focus === "function" && c2.focus(); + for (c2 = 0; c2 < b2.length; c2++) + a = b2[c2], a.element.scrollLeft = a.left, a.element.scrollTop = a.top; + } +} +var Oe = ia && "documentMode" in document && 11 >= document.documentMode, Pe = null, Qe = null, Re = null, Se = false; +function Te(a, b2, c2) { + var d2 = c2.window === c2 ? c2.document : c2.nodeType === 9 ? c2 : c2.ownerDocument; + Se || Pe == null || Pe !== Wa(d2) || (d2 = Pe, "selectionStart" in d2 && Me(d2) ? d2 = { start: d2.selectionStart, end: d2.selectionEnd } : (d2 = (d2.ownerDocument && d2.ownerDocument.defaultView || window).getSelection(), d2 = { anchorNode: d2.anchorNode, anchorOffset: d2.anchorOffset, focusNode: d2.focusNode, focusOffset: d2.focusOffset }), Re && He(Re, d2) || (Re = d2, d2 = ne(Qe, "onSelect"), 0 < d2.length && (b2 = new sd("onSelect", "select", null, b2, c2), a.push({ event: b2, listeners: d2 }), b2.target = Pe))); +} +function Ue(a, b2) { + var c2 = {}; + c2[a.toLowerCase()] = b2.toLowerCase(); + c2["Webkit" + a] = "webkit" + b2; + c2["Moz" + a] = "moz" + b2; + return c2; +} +var Ve = { animationend: Ue("Animation", "AnimationEnd"), animationiteration: Ue("Animation", "AnimationIteration"), animationstart: Ue("Animation", "AnimationStart"), transitionend: Ue("Transition", "TransitionEnd") }, We = {}, Xe = {}; +ia && (Xe = document.createElement("div").style, "AnimationEvent" in window || (delete Ve.animationend.animation, delete Ve.animationiteration.animation, delete Ve.animationstart.animation), "TransitionEvent" in window || delete Ve.transitionend.transition); +function Ye(a) { + if (We[a]) + return We[a]; + if (!Ve[a]) + return a; + var b2 = Ve[a], c2; + for (c2 in b2) + if (b2.hasOwnProperty(c2) && c2 in Xe) + return We[a] = b2[c2]; + return a; +} +var Ze = Ye("animationend"), $e = Ye("animationiteration"), af = Ye("animationstart"), bf = Ye("transitionend"), cf = /* @__PURE__ */ new Map(), df = "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(" "); +function ef(a, b2) { + cf.set(a, b2); + fa(b2, [a]); +} +for (var ff = 0; ff < df.length; ff++) { + var gf = df[ff], hf = gf.toLowerCase(), jf = gf[0].toUpperCase() + gf.slice(1); + ef(hf, "on" + jf); +} +ef(Ze, "onAnimationEnd"); +ef($e, "onAnimationIteration"); +ef(af, "onAnimationStart"); +ef("dblclick", "onDoubleClick"); +ef("focusin", "onFocus"); +ef("focusout", "onBlur"); +ef(bf, "onTransitionEnd"); +ha("onMouseEnter", ["mouseout", "mouseover"]); +ha("onMouseLeave", ["mouseout", "mouseover"]); +ha("onPointerEnter", ["pointerout", "pointerover"]); +ha("onPointerLeave", ["pointerout", "pointerover"]); +fa("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")); +fa("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")); +fa("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]); +fa("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")); +fa("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")); +fa("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ")); +var kf = "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(" "), lf = new Set("cancel close invalid load scroll toggle".split(" ").concat(kf)); +function mf(a, b2, c2) { + var d2 = a.type || "unknown-event"; + a.currentTarget = c2; + Tb(d2, b2, void 0, a); + a.currentTarget = null; +} +function re(a, b2) { + b2 = (b2 & 4) !== 0; + for (var c2 = 0; c2 < a.length; c2++) { + var d2 = a[c2], e2 = d2.event; + d2 = d2.listeners; + a: { + var f2 = void 0; + if (b2) + for (var g2 = d2.length - 1; 0 <= g2; g2--) { + var h2 = d2[g2], k2 = h2.instance, l2 = h2.currentTarget; + h2 = h2.listener; + if (k2 !== f2 && e2.isPropagationStopped()) + break a; + mf(e2, h2, l2); + f2 = k2; + } + else + for (g2 = 0; g2 < d2.length; g2++) { + h2 = d2[g2]; + k2 = h2.instance; + l2 = h2.currentTarget; + h2 = h2.listener; + if (k2 !== f2 && e2.isPropagationStopped()) + break a; + mf(e2, h2, l2); + f2 = k2; + } + } + } + if (Pb) + throw a = Qb, Pb = false, Qb = null, a; +} +function D(a, b2) { + var c2 = b2[nf]; + c2 === void 0 && (c2 = b2[nf] = /* @__PURE__ */ new Set()); + var d2 = a + "__bubble"; + c2.has(d2) || (of$1(b2, a, 2, false), c2.add(d2)); +} +function pf(a, b2, c2) { + var d2 = 0; + b2 && (d2 |= 4); + of$1(c2, a, d2, b2); +} +var qf = "_reactListening" + Math.random().toString(36).slice(2); +function rf(a) { + if (!a[qf]) { + a[qf] = true; + da.forEach(function(b3) { + b3 !== "selectionchange" && (lf.has(b3) || pf(b3, false, a), pf(b3, true, a)); + }); + var b2 = a.nodeType === 9 ? a : a.ownerDocument; + b2 === null || b2[qf] || (b2[qf] = true, pf("selectionchange", false, b2)); + } +} +function of$1(a, b2, c2, d2) { + switch (id(b2)) { + case 1: + var e2 = dd; + break; + case 4: + e2 = fd; + break; + default: + e2 = ed; + } + c2 = e2.bind(null, b2, c2, a); + e2 = void 0; + !Kb || b2 !== "touchstart" && b2 !== "touchmove" && b2 !== "wheel" || (e2 = true); + d2 ? e2 !== void 0 ? a.addEventListener(b2, c2, { capture: true, passive: e2 }) : a.addEventListener(b2, c2, true) : e2 !== void 0 ? a.addEventListener(b2, c2, { passive: e2 }) : a.addEventListener(b2, c2, false); +} +function gd(a, b2, c2, d2, e2) { + var f2 = d2; + if ((b2 & 1) === 0 && (b2 & 2) === 0 && d2 !== null) + a: + for (; ; ) { + if (d2 === null) + return; + var g2 = d2.tag; + if (g2 === 3 || g2 === 4) { + var h2 = d2.stateNode.containerInfo; + if (h2 === e2 || h2.nodeType === 8 && h2.parentNode === e2) + break; + if (g2 === 4) + for (g2 = d2.return; g2 !== null; ) { + var k2 = g2.tag; + if (k2 === 3 || k2 === 4) { + if (k2 = g2.stateNode.containerInfo, k2 === e2 || k2.nodeType === 8 && k2.parentNode === e2) + return; + } + g2 = g2.return; + } + for (; h2 !== null; ) { + g2 = Vc(h2); + if (g2 === null) + return; + k2 = g2.tag; + if (k2 === 5 || k2 === 6) { + d2 = f2 = g2; + continue a; + } + h2 = h2.parentNode; + } + } + d2 = d2.return; + } + Ib(function() { + var d3 = f2, e3 = wb(c2), g3 = []; + a: { + var h3 = cf.get(a); + if (h3 !== void 0) { + var k3 = sd, m2 = a; + switch (a) { + case "keypress": + if (nd(c2) === 0) + break a; + case "keydown": + case "keyup": + k3 = Qd; + break; + case "focusin": + m2 = "focus"; + k3 = Ed; + break; + case "focusout": + m2 = "blur"; + k3 = Ed; + break; + case "beforeblur": + case "afterblur": + k3 = Ed; + break; + case "click": + if (c2.button === 2) + break a; + case "auxclick": + case "dblclick": + case "mousedown": + case "mousemove": + case "mouseup": + case "mouseout": + case "mouseover": + case "contextmenu": + k3 = Ad; + break; + case "drag": + case "dragend": + case "dragenter": + case "dragexit": + case "dragleave": + case "dragover": + case "dragstart": + case "drop": + k3 = Cd; + break; + case "touchcancel": + case "touchend": + case "touchmove": + case "touchstart": + k3 = Ud; + break; + case Ze: + case $e: + case af: + k3 = Gd; + break; + case bf: + k3 = Wd; + break; + case "scroll": + k3 = ud; + break; + case "wheel": + k3 = Yd; + break; + case "copy": + case "cut": + case "paste": + k3 = Id; + break; + case "gotpointercapture": + case "lostpointercapture": + case "pointercancel": + case "pointerdown": + case "pointermove": + case "pointerout": + case "pointerover": + case "pointerup": + k3 = Sd; + } + var w2 = (b2 & 4) !== 0, J2 = !w2 && a === "scroll", v2 = w2 ? h3 !== null ? h3 + "Capture" : null : h3; + w2 = []; + for (var x2 = d3, r2; x2 !== null; ) { + r2 = x2; + var F2 = r2.stateNode; + r2.tag === 5 && F2 !== null && (r2 = F2, v2 !== null && (F2 = Jb(x2, v2), F2 != null && w2.push(sf(x2, F2, r2)))); + if (J2) + break; + x2 = x2.return; + } + 0 < w2.length && (h3 = new k3(h3, m2, null, c2, e3), g3.push({ event: h3, listeners: w2 })); + } + } + if ((b2 & 7) === 0) { + a: { + h3 = a === "mouseover" || a === "pointerover"; + k3 = a === "mouseout" || a === "pointerout"; + if (h3 && c2 !== vb && (m2 = c2.relatedTarget || c2.fromElement) && (Vc(m2) || m2[tf])) + break a; + if (k3 || h3) { + h3 = e3.window === e3 ? e3 : (h3 = e3.ownerDocument) ? h3.defaultView || h3.parentWindow : window; + if (k3) { + if (m2 = c2.relatedTarget || c2.toElement, k3 = d3, m2 = m2 ? Vc(m2) : null, m2 !== null && (J2 = Ub(m2), m2 !== J2 || m2.tag !== 5 && m2.tag !== 6)) + m2 = null; + } else + k3 = null, m2 = d3; + if (k3 !== m2) { + w2 = Ad; + F2 = "onMouseLeave"; + v2 = "onMouseEnter"; + x2 = "mouse"; + if (a === "pointerout" || a === "pointerover") + w2 = Sd, F2 = "onPointerLeave", v2 = "onPointerEnter", x2 = "pointer"; + J2 = k3 == null ? h3 : te(k3); + r2 = m2 == null ? h3 : te(m2); + h3 = new w2(F2, x2 + "leave", k3, c2, e3); + h3.target = J2; + h3.relatedTarget = r2; + F2 = null; + Vc(e3) === d3 && (w2 = new w2(v2, x2 + "enter", m2, c2, e3), w2.target = r2, w2.relatedTarget = J2, F2 = w2); + J2 = F2; + if (k3 && m2) + b: { + w2 = k3; + v2 = m2; + x2 = 0; + for (r2 = w2; r2; r2 = uf(r2)) + x2++; + r2 = 0; + for (F2 = v2; F2; F2 = uf(F2)) + r2++; + for (; 0 < x2 - r2; ) + w2 = uf(w2), x2--; + for (; 0 < r2 - x2; ) + v2 = uf(v2), r2--; + for (; x2--; ) { + if (w2 === v2 || v2 !== null && w2 === v2.alternate) + break b; + w2 = uf(w2); + v2 = uf(v2); + } + w2 = null; + } + else + w2 = null; + k3 !== null && vf(g3, h3, k3, w2, false); + m2 !== null && J2 !== null && vf(g3, J2, m2, w2, true); + } + } + } + a: { + h3 = d3 ? te(d3) : window; + k3 = h3.nodeName && h3.nodeName.toLowerCase(); + if (k3 === "select" || k3 === "input" && h3.type === "file") + var Z = ue; + else if (le(h3)) + if (ve) + Z = Ee; + else { + Z = Ce; + var ya = Be; + } + else + (k3 = h3.nodeName) && k3.toLowerCase() === "input" && (h3.type === "checkbox" || h3.type === "radio") && (Z = De); + if (Z && (Z = Z(a, d3))) { + me(g3, Z, c2, e3); + break a; + } + ya && ya(a, h3, d3); + a === "focusout" && (ya = h3._wrapperState) && ya.controlled && h3.type === "number" && bb(h3, "number", h3.value); + } + ya = d3 ? te(d3) : window; + switch (a) { + case "focusin": + if (le(ya) || ya.contentEditable === "true") + Pe = ya, Qe = d3, Re = null; + break; + case "focusout": + Re = Qe = Pe = null; + break; + case "mousedown": + Se = true; + break; + case "contextmenu": + case "mouseup": + case "dragend": + Se = false; + Te(g3, c2, e3); + break; + case "selectionchange": + if (Oe) + break; + case "keydown": + case "keyup": + Te(g3, c2, e3); + } + var ab; + if ($d) + b: { + switch (a) { + case "compositionstart": + var ca = "onCompositionStart"; + break b; + case "compositionend": + ca = "onCompositionEnd"; + break b; + case "compositionupdate": + ca = "onCompositionUpdate"; + break b; + } + ca = void 0; + } + else + he ? fe(a, c2) && (ca = "onCompositionEnd") : a === "keydown" && c2.keyCode === 229 && (ca = "onCompositionStart"); + ca && (ce && c2.locale !== "ko" && (he || ca !== "onCompositionStart" ? ca === "onCompositionEnd" && he && (ab = md()) : (jd = e3, kd = "value" in jd ? jd.value : jd.textContent, he = true)), ya = ne(d3, ca), 0 < ya.length && (ca = new Kd(ca, a, null, c2, e3), g3.push({ event: ca, listeners: ya }), ab ? ca.data = ab : (ab = ge(c2), ab !== null && (ca.data = ab)))); + if (ab = be ? ie(a, c2) : je(a, c2)) + d3 = ne(d3, "onBeforeInput"), 0 < d3.length && (e3 = new Kd("onBeforeInput", "beforeinput", null, c2, e3), g3.push({ event: e3, listeners: d3 }), e3.data = ab); + } + re(g3, b2); + }); +} +function sf(a, b2, c2) { + return { instance: a, listener: b2, currentTarget: c2 }; +} +function ne(a, b2) { + for (var c2 = b2 + "Capture", d2 = []; a !== null; ) { + var e2 = a, f2 = e2.stateNode; + e2.tag === 5 && f2 !== null && (e2 = f2, f2 = Jb(a, c2), f2 != null && d2.unshift(sf(a, f2, e2)), f2 = Jb(a, b2), f2 != null && d2.push(sf(a, f2, e2))); + a = a.return; + } + return d2; +} +function uf(a) { + if (a === null) + return null; + do + a = a.return; + while (a && a.tag !== 5); + return a ? a : null; +} +function vf(a, b2, c2, d2, e2) { + for (var f2 = b2._reactName, g2 = []; c2 !== null && c2 !== d2; ) { + var h2 = c2, k2 = h2.alternate, l2 = h2.stateNode; + if (k2 !== null && k2 === d2) + break; + h2.tag === 5 && l2 !== null && (h2 = l2, e2 ? (k2 = Jb(c2, f2), k2 != null && g2.unshift(sf(c2, k2, h2))) : e2 || (k2 = Jb(c2, f2), k2 != null && g2.push(sf(c2, k2, h2)))); + c2 = c2.return; + } + g2.length !== 0 && a.push({ event: b2, listeners: g2 }); +} +var wf = /\r\n?/g, xf = /\u0000|\uFFFD/g; +function yf(a) { + return (typeof a === "string" ? a : "" + a).replace(wf, "\n").replace(xf, ""); +} +function zf(a, b2, c2) { + b2 = yf(b2); + if (yf(a) !== b2 && c2) + throw Error(p$2(425)); +} +function Af() { +} +var Bf = null, Cf = null; +function Df(a, b2) { + return a === "textarea" || a === "noscript" || typeof b2.children === "string" || typeof b2.children === "number" || typeof b2.dangerouslySetInnerHTML === "object" && b2.dangerouslySetInnerHTML !== null && b2.dangerouslySetInnerHTML.__html != null; +} +var Ef = typeof setTimeout === "function" ? setTimeout : void 0, Ff = typeof clearTimeout === "function" ? clearTimeout : void 0, Gf = typeof Promise === "function" ? Promise : void 0, If = typeof queueMicrotask === "function" ? queueMicrotask : typeof Gf !== "undefined" ? function(a) { + return Gf.resolve(null).then(a).catch(Hf); +} : Ef; +function Hf(a) { + setTimeout(function() { + throw a; + }); +} +function Jf(a, b2) { + var c2 = b2, d2 = 0; + do { + var e2 = c2.nextSibling; + a.removeChild(c2); + if (e2 && e2.nodeType === 8) + if (c2 = e2.data, c2 === "/$") { + if (d2 === 0) { + a.removeChild(e2); + ad(b2); + return; + } + d2--; + } else + c2 !== "$" && c2 !== "$?" && c2 !== "$!" || d2++; + c2 = e2; + } while (c2); + ad(b2); +} +function Kf(a) { + for (; a != null; a = a.nextSibling) { + var b2 = a.nodeType; + if (b2 === 1 || b2 === 3) + break; + if (b2 === 8) { + b2 = a.data; + if (b2 === "$" || b2 === "$!" || b2 === "$?") + break; + if (b2 === "/$") + return null; + } + } + return a; +} +function Lf(a) { + a = a.previousSibling; + for (var b2 = 0; a; ) { + if (a.nodeType === 8) { + var c2 = a.data; + if (c2 === "$" || c2 === "$!" || c2 === "$?") { + if (b2 === 0) + return a; + b2--; + } else + c2 === "/$" && b2++; + } + a = a.previousSibling; + } + return null; +} +var Mf = Math.random().toString(36).slice(2), Nf = "__reactFiber$" + Mf, Of = "__reactProps$" + Mf, tf = "__reactContainer$" + Mf, nf = "__reactEvents$" + Mf, Pf = "__reactListeners$" + Mf, Qf = "__reactHandles$" + Mf; +function Vc(a) { + var b2 = a[Nf]; + if (b2) + return b2; + for (var c2 = a.parentNode; c2; ) { + if (b2 = c2[tf] || c2[Nf]) { + c2 = b2.alternate; + if (b2.child !== null || c2 !== null && c2.child !== null) + for (a = Lf(a); a !== null; ) { + if (c2 = a[Nf]) + return c2; + a = Lf(a); + } + return b2; + } + a = c2; + c2 = a.parentNode; + } + return null; +} +function Bb(a) { + a = a[Nf] || a[tf]; + return !a || a.tag !== 5 && a.tag !== 6 && a.tag !== 13 && a.tag !== 3 ? null : a; +} +function te(a) { + if (a.tag === 5 || a.tag === 6) + return a.stateNode; + throw Error(p$2(33)); +} +function Cb(a) { + return a[Of] || null; +} +var Rf = [], Sf = -1; +function Tf(a) { + return { current: a }; +} +function E(a) { + 0 > Sf || (a.current = Rf[Sf], Rf[Sf] = null, Sf--); +} +function G(a, b2) { + Sf++; + Rf[Sf] = a.current; + a.current = b2; +} +var Uf = {}, H = Tf(Uf), Vf = Tf(false), Wf = Uf; +function Xf(a, b2) { + var c2 = a.type.contextTypes; + if (!c2) + return Uf; + var d2 = a.stateNode; + if (d2 && d2.__reactInternalMemoizedUnmaskedChildContext === b2) + return d2.__reactInternalMemoizedMaskedChildContext; + var e2 = {}, f2; + for (f2 in c2) + e2[f2] = b2[f2]; + d2 && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b2, a.__reactInternalMemoizedMaskedChildContext = e2); + return e2; +} +function Yf(a) { + a = a.childContextTypes; + return a !== null && a !== void 0; +} +function Zf() { + E(Vf); + E(H); +} +function $f(a, b2, c2) { + if (H.current !== Uf) + throw Error(p$2(168)); + G(H, b2); + G(Vf, c2); +} +function ag(a, b2, c2) { + var d2 = a.stateNode; + b2 = b2.childContextTypes; + if (typeof d2.getChildContext !== "function") + return c2; + d2 = d2.getChildContext(); + for (var e2 in d2) + if (!(e2 in b2)) + throw Error(p$2(108, Qa(a) || "Unknown", e2)); + return A$1({}, c2, d2); +} +function bg(a) { + a = (a = a.stateNode) && a.__reactInternalMemoizedMergedChildContext || Uf; + Wf = H.current; + G(H, a); + G(Vf, Vf.current); + return true; +} +function cg(a, b2, c2) { + var d2 = a.stateNode; + if (!d2) + throw Error(p$2(169)); + c2 ? (a = ag(a, b2, Wf), d2.__reactInternalMemoizedMergedChildContext = a, E(Vf), E(H), G(H, a)) : E(Vf); + G(Vf, c2); +} +var dg = null, eg = false, fg = false; +function gg(a) { + dg === null ? dg = [a] : dg.push(a); +} +function hg(a) { + eg = true; + gg(a); +} +function ig() { + if (!fg && dg !== null) { + fg = true; + var a = 0, b2 = C; + try { + var c2 = dg; + for (C = 1; a < c2.length; a++) { + var d2 = c2[a]; + do + d2 = d2(true); + while (d2 !== null); + } + dg = null; + eg = false; + } catch (e2) { + throw dg !== null && (dg = dg.slice(a + 1)), $b(ec, ig), e2; + } finally { + C = b2, fg = false; + } + } + return null; +} +var jg = ta.ReactCurrentBatchConfig; +function kg(a, b2) { + if (a && a.defaultProps) { + b2 = A$1({}, b2); + a = a.defaultProps; + for (var c2 in a) + b2[c2] === void 0 && (b2[c2] = a[c2]); + return b2; + } + return b2; +} +var lg = Tf(null), mg = null, ng = null, og = null; +function pg() { + og = ng = mg = null; +} +function qg(a) { + var b2 = lg.current; + E(lg); + a._currentValue = b2; +} +function rg(a, b2, c2) { + for (; a !== null; ) { + var d2 = a.alternate; + (a.childLanes & b2) !== b2 ? (a.childLanes |= b2, d2 !== null && (d2.childLanes |= b2)) : d2 !== null && (d2.childLanes & b2) !== b2 && (d2.childLanes |= b2); + if (a === c2) + break; + a = a.return; + } +} +function sg(a, b2) { + mg = a; + og = ng = null; + a = a.dependencies; + a !== null && a.firstContext !== null && ((a.lanes & b2) !== 0 && (tg = true), a.firstContext = null); +} +function ug(a) { + var b2 = a._currentValue; + if (og !== a) + if (a = { context: a, memoizedValue: b2, next: null }, ng === null) { + if (mg === null) + throw Error(p$2(308)); + ng = a; + mg.dependencies = { lanes: 0, firstContext: a }; + } else + ng = ng.next = a; + return b2; +} +var vg = null, wg = false; +function xg(a) { + a.updateQueue = { baseState: a.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null }; +} +function yg(a, b2) { + a = a.updateQueue; + b2.updateQueue === a && (b2.updateQueue = { baseState: a.baseState, firstBaseUpdate: a.firstBaseUpdate, lastBaseUpdate: a.lastBaseUpdate, shared: a.shared, effects: a.effects }); +} +function zg(a, b2) { + return { eventTime: a, lane: b2, tag: 0, payload: null, callback: null, next: null }; +} +function Ag(a, b2) { + var c2 = a.updateQueue; + c2 !== null && (c2 = c2.shared, Bg(a) ? (a = c2.interleaved, a === null ? (b2.next = b2, vg === null ? vg = [c2] : vg.push(c2)) : (b2.next = a.next, a.next = b2), c2.interleaved = b2) : (a = c2.pending, a === null ? b2.next = b2 : (b2.next = a.next, a.next = b2), c2.pending = b2)); +} +function Cg(a, b2, c2) { + b2 = b2.updateQueue; + if (b2 !== null && (b2 = b2.shared, (c2 & 4194240) !== 0)) { + var d2 = b2.lanes; + d2 &= a.pendingLanes; + c2 |= d2; + b2.lanes = c2; + Bc(a, c2); + } +} +function Dg(a, b2) { + var c2 = a.updateQueue, d2 = a.alternate; + if (d2 !== null && (d2 = d2.updateQueue, c2 === d2)) { + var e2 = null, f2 = null; + c2 = c2.firstBaseUpdate; + if (c2 !== null) { + do { + var g2 = { eventTime: c2.eventTime, lane: c2.lane, tag: c2.tag, payload: c2.payload, callback: c2.callback, next: null }; + f2 === null ? e2 = f2 = g2 : f2 = f2.next = g2; + c2 = c2.next; + } while (c2 !== null); + f2 === null ? e2 = f2 = b2 : f2 = f2.next = b2; + } else + e2 = f2 = b2; + c2 = { baseState: d2.baseState, firstBaseUpdate: e2, lastBaseUpdate: f2, shared: d2.shared, effects: d2.effects }; + a.updateQueue = c2; + return; + } + a = c2.lastBaseUpdate; + a === null ? c2.firstBaseUpdate = b2 : a.next = b2; + c2.lastBaseUpdate = b2; +} +function Eg(a, b2, c2, d2) { + var e2 = a.updateQueue; + wg = false; + var f2 = e2.firstBaseUpdate, g2 = e2.lastBaseUpdate, h2 = e2.shared.pending; + if (h2 !== null) { + e2.shared.pending = null; + var k2 = h2, l2 = k2.next; + k2.next = null; + g2 === null ? f2 = l2 : g2.next = l2; + g2 = k2; + var n2 = a.alternate; + n2 !== null && (n2 = n2.updateQueue, h2 = n2.lastBaseUpdate, h2 !== g2 && (h2 === null ? n2.firstBaseUpdate = l2 : h2.next = l2, n2.lastBaseUpdate = k2)); + } + if (f2 !== null) { + var u2 = e2.baseState; + g2 = 0; + n2 = l2 = k2 = null; + h2 = f2; + do { + var q2 = h2.lane, y2 = h2.eventTime; + if ((d2 & q2) === q2) { + n2 !== null && (n2 = n2.next = { + eventTime: y2, + lane: 0, + tag: h2.tag, + payload: h2.payload, + callback: h2.callback, + next: null + }); + a: { + var m2 = a, w2 = h2; + q2 = b2; + y2 = c2; + switch (w2.tag) { + case 1: + m2 = w2.payload; + if (typeof m2 === "function") { + u2 = m2.call(y2, u2, q2); + break a; + } + u2 = m2; + break a; + case 3: + m2.flags = m2.flags & -65537 | 128; + case 0: + m2 = w2.payload; + q2 = typeof m2 === "function" ? m2.call(y2, u2, q2) : m2; + if (q2 === null || q2 === void 0) + break a; + u2 = A$1({}, u2, q2); + break a; + case 2: + wg = true; + } + } + h2.callback !== null && h2.lane !== 0 && (a.flags |= 64, q2 = e2.effects, q2 === null ? e2.effects = [h2] : q2.push(h2)); + } else + y2 = { eventTime: y2, lane: q2, tag: h2.tag, payload: h2.payload, callback: h2.callback, next: null }, n2 === null ? (l2 = n2 = y2, k2 = u2) : n2 = n2.next = y2, g2 |= q2; + h2 = h2.next; + if (h2 === null) + if (h2 = e2.shared.pending, h2 === null) + break; + else + q2 = h2, h2 = q2.next, q2.next = null, e2.lastBaseUpdate = q2, e2.shared.pending = null; + } while (1); + n2 === null && (k2 = u2); + e2.baseState = k2; + e2.firstBaseUpdate = l2; + e2.lastBaseUpdate = n2; + b2 = e2.shared.interleaved; + if (b2 !== null) { + e2 = b2; + do + g2 |= e2.lane, e2 = e2.next; + while (e2 !== b2); + } else + f2 === null && (e2.shared.lanes = 0); + Fg |= g2; + a.lanes = g2; + a.memoizedState = u2; + } +} +function Gg(a, b2, c2) { + a = b2.effects; + b2.effects = null; + if (a !== null) + for (b2 = 0; b2 < a.length; b2++) { + var d2 = a[b2], e2 = d2.callback; + if (e2 !== null) { + d2.callback = null; + d2 = c2; + if (typeof e2 !== "function") + throw Error(p$2(191, e2)); + e2.call(d2); + } + } +} +var Hg = new aa.Component().refs; +function Ig(a, b2, c2, d2) { + b2 = a.memoizedState; + c2 = c2(d2, b2); + c2 = c2 === null || c2 === void 0 ? b2 : A$1({}, b2, c2); + a.memoizedState = c2; + a.lanes === 0 && (a.updateQueue.baseState = c2); +} +var Mg = { isMounted: function(a) { + return (a = a._reactInternals) ? Ub(a) === a : false; +}, enqueueSetState: function(a, b2, c2) { + a = a._reactInternals; + var d2 = Jg(), e2 = Kg(a), f2 = zg(d2, e2); + f2.payload = b2; + c2 !== void 0 && c2 !== null && (f2.callback = c2); + Ag(a, f2); + b2 = Lg(a, e2, d2); + b2 !== null && Cg(b2, a, e2); +}, enqueueReplaceState: function(a, b2, c2) { + a = a._reactInternals; + var d2 = Jg(), e2 = Kg(a), f2 = zg(d2, e2); + f2.tag = 1; + f2.payload = b2; + c2 !== void 0 && c2 !== null && (f2.callback = c2); + Ag(a, f2); + b2 = Lg(a, e2, d2); + b2 !== null && Cg(b2, a, e2); +}, enqueueForceUpdate: function(a, b2) { + a = a._reactInternals; + var c2 = Jg(), d2 = Kg(a), e2 = zg(c2, d2); + e2.tag = 2; + b2 !== void 0 && b2 !== null && (e2.callback = b2); + Ag(a, e2); + b2 = Lg(a, d2, c2); + b2 !== null && Cg(b2, a, d2); +} }; +function Ng(a, b2, c2, d2, e2, f2, g2) { + a = a.stateNode; + return typeof a.shouldComponentUpdate === "function" ? a.shouldComponentUpdate(d2, f2, g2) : b2.prototype && b2.prototype.isPureReactComponent ? !He(c2, d2) || !He(e2, f2) : true; +} +function Og(a, b2, c2) { + var d2 = false, e2 = Uf; + var f2 = b2.contextType; + typeof f2 === "object" && f2 !== null ? f2 = ug(f2) : (e2 = Yf(b2) ? Wf : H.current, d2 = b2.contextTypes, f2 = (d2 = d2 !== null && d2 !== void 0) ? Xf(a, e2) : Uf); + b2 = new b2(c2, f2); + a.memoizedState = b2.state !== null && b2.state !== void 0 ? b2.state : null; + b2.updater = Mg; + a.stateNode = b2; + b2._reactInternals = a; + d2 && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = e2, a.__reactInternalMemoizedMaskedChildContext = f2); + return b2; +} +function Pg(a, b2, c2, d2) { + a = b2.state; + typeof b2.componentWillReceiveProps === "function" && b2.componentWillReceiveProps(c2, d2); + typeof b2.UNSAFE_componentWillReceiveProps === "function" && b2.UNSAFE_componentWillReceiveProps(c2, d2); + b2.state !== a && Mg.enqueueReplaceState(b2, b2.state, null); +} +function Qg(a, b2, c2, d2) { + var e2 = a.stateNode; + e2.props = c2; + e2.state = a.memoizedState; + e2.refs = Hg; + xg(a); + var f2 = b2.contextType; + typeof f2 === "object" && f2 !== null ? e2.context = ug(f2) : (f2 = Yf(b2) ? Wf : H.current, e2.context = Xf(a, f2)); + e2.state = a.memoizedState; + f2 = b2.getDerivedStateFromProps; + typeof f2 === "function" && (Ig(a, b2, f2, c2), e2.state = a.memoizedState); + typeof b2.getDerivedStateFromProps === "function" || typeof e2.getSnapshotBeforeUpdate === "function" || typeof e2.UNSAFE_componentWillMount !== "function" && typeof e2.componentWillMount !== "function" || (b2 = e2.state, typeof e2.componentWillMount === "function" && e2.componentWillMount(), typeof e2.UNSAFE_componentWillMount === "function" && e2.UNSAFE_componentWillMount(), b2 !== e2.state && Mg.enqueueReplaceState(e2, e2.state, null), Eg(a, c2, e2, d2), e2.state = a.memoizedState); + typeof e2.componentDidMount === "function" && (a.flags |= 4194308); +} +var Rg = [], Sg = 0, Tg = null, Ug = 0, Vg = [], Wg = 0, Xg = null, Yg = 1, Zg = ""; +function $g(a, b2) { + Rg[Sg++] = Ug; + Rg[Sg++] = Tg; + Tg = a; + Ug = b2; +} +function ah(a, b2, c2) { + Vg[Wg++] = Yg; + Vg[Wg++] = Zg; + Vg[Wg++] = Xg; + Xg = a; + var d2 = Yg; + a = Zg; + var e2 = 32 - nc(d2) - 1; + d2 &= ~(1 << e2); + c2 += 1; + var f2 = 32 - nc(b2) + e2; + if (30 < f2) { + var g2 = e2 - e2 % 5; + f2 = (d2 & (1 << g2) - 1).toString(32); + d2 >>= g2; + e2 -= g2; + Yg = 1 << 32 - nc(b2) + e2 | c2 << e2 | d2; + Zg = f2 + a; + } else + Yg = 1 << f2 | c2 << e2 | d2, Zg = a; +} +function bh(a) { + a.return !== null && ($g(a, 1), ah(a, 1, 0)); +} +function ch(a) { + for (; a === Tg; ) + Tg = Rg[--Sg], Rg[Sg] = null, Ug = Rg[--Sg], Rg[Sg] = null; + for (; a === Xg; ) + Xg = Vg[--Wg], Vg[Wg] = null, Zg = Vg[--Wg], Vg[Wg] = null, Yg = Vg[--Wg], Vg[Wg] = null; +} +var dh = null, eh = null, I = false, fh = null; +function gh(a, b2) { + var c2 = hh(5, null, null, 0); + c2.elementType = "DELETED"; + c2.stateNode = b2; + c2.return = a; + b2 = a.deletions; + b2 === null ? (a.deletions = [c2], a.flags |= 16) : b2.push(c2); +} +function ih(a, b2) { + switch (a.tag) { + case 5: + var c2 = a.type; + b2 = b2.nodeType !== 1 || c2.toLowerCase() !== b2.nodeName.toLowerCase() ? null : b2; + return b2 !== null ? (a.stateNode = b2, dh = a, eh = Kf(b2.firstChild), true) : false; + case 6: + return b2 = a.pendingProps === "" || b2.nodeType !== 3 ? null : b2, b2 !== null ? (a.stateNode = b2, dh = a, eh = null, true) : false; + case 13: + return b2 = b2.nodeType !== 8 ? null : b2, b2 !== null ? (c2 = Xg !== null ? { id: Yg, overflow: Zg } : null, a.memoizedState = { dehydrated: b2, treeContext: c2, retryLane: 1073741824 }, c2 = hh(18, null, null, 0), c2.stateNode = b2, c2.return = a, a.child = c2, dh = a, eh = null, true) : false; + default: + return false; + } +} +function jh(a) { + return (a.mode & 1) !== 0 && (a.flags & 128) === 0; +} +function kh(a) { + if (I) { + var b2 = eh; + if (b2) { + var c2 = b2; + if (!ih(a, b2)) { + if (jh(a)) + throw Error(p$2(418)); + b2 = Kf(c2.nextSibling); + var d2 = dh; + b2 && ih(a, b2) ? gh(d2, c2) : (a.flags = a.flags & -4097 | 2, I = false, dh = a); + } + } else { + if (jh(a)) + throw Error(p$2(418)); + a.flags = a.flags & -4097 | 2; + I = false; + dh = a; + } + } +} +function lh(a) { + for (a = a.return; a !== null && a.tag !== 5 && a.tag !== 3 && a.tag !== 13; ) + a = a.return; + dh = a; +} +function mh(a) { + if (a !== dh) + return false; + if (!I) + return lh(a), I = true, false; + var b2; + (b2 = a.tag !== 3) && !(b2 = a.tag !== 5) && (b2 = a.type, b2 = b2 !== "head" && b2 !== "body" && !Df(a.type, a.memoizedProps)); + if (b2 && (b2 = eh)) { + if (jh(a)) { + for (a = eh; a; ) + a = Kf(a.nextSibling); + throw Error(p$2(418)); + } + for (; b2; ) + gh(a, b2), b2 = Kf(b2.nextSibling); + } + lh(a); + if (a.tag === 13) { + a = a.memoizedState; + a = a !== null ? a.dehydrated : null; + if (!a) + throw Error(p$2(317)); + a: { + a = a.nextSibling; + for (b2 = 0; a; ) { + if (a.nodeType === 8) { + var c2 = a.data; + if (c2 === "/$") { + if (b2 === 0) { + eh = Kf(a.nextSibling); + break a; + } + b2--; + } else + c2 !== "$" && c2 !== "$!" && c2 !== "$?" || b2++; + } + a = a.nextSibling; + } + eh = null; + } + } else + eh = dh ? Kf(a.stateNode.nextSibling) : null; + return true; +} +function nh() { + eh = dh = null; + I = false; +} +function oh(a) { + fh === null ? fh = [a] : fh.push(a); +} +function ph(a, b2, c2) { + a = c2.ref; + if (a !== null && typeof a !== "function" && typeof a !== "object") { + if (c2._owner) { + c2 = c2._owner; + if (c2) { + if (c2.tag !== 1) + throw Error(p$2(309)); + var d2 = c2.stateNode; + } + if (!d2) + throw Error(p$2(147, a)); + var e2 = d2, f2 = "" + a; + if (b2 !== null && b2.ref !== null && typeof b2.ref === "function" && b2.ref._stringRef === f2) + return b2.ref; + b2 = function(a2) { + var b3 = e2.refs; + b3 === Hg && (b3 = e2.refs = {}); + a2 === null ? delete b3[f2] : b3[f2] = a2; + }; + b2._stringRef = f2; + return b2; + } + if (typeof a !== "string") + throw Error(p$2(284)); + if (!c2._owner) + throw Error(p$2(290, a)); + } + return a; +} +function qh(a, b2) { + a = Object.prototype.toString.call(b2); + throw Error(p$2(31, a === "[object Object]" ? "object with keys {" + Object.keys(b2).join(", ") + "}" : a)); +} +function rh(a) { + var b2 = a._init; + return b2(a._payload); +} +function sh(a) { + function b2(b3, c3) { + if (a) { + var d3 = b3.deletions; + d3 === null ? (b3.deletions = [c3], b3.flags |= 16) : d3.push(c3); + } + } + function c2(c3, d3) { + if (!a) + return null; + for (; d3 !== null; ) + b2(c3, d3), d3 = d3.sibling; + return null; + } + function d2(a2, b3) { + for (a2 = /* @__PURE__ */ new Map(); b3 !== null; ) + b3.key !== null ? a2.set(b3.key, b3) : a2.set(b3.index, b3), b3 = b3.sibling; + return a2; + } + function e2(a2, b3) { + a2 = th(a2, b3); + a2.index = 0; + a2.sibling = null; + return a2; + } + function f2(b3, c3, d3) { + b3.index = d3; + if (!a) + return b3.flags |= 1048576, c3; + d3 = b3.alternate; + if (d3 !== null) + return d3 = d3.index, d3 < c3 ? (b3.flags |= 2, c3) : d3; + b3.flags |= 2; + return c3; + } + function g2(b3) { + a && b3.alternate === null && (b3.flags |= 2); + return b3; + } + function h2(a2, b3, c3, d3) { + if (b3 === null || b3.tag !== 6) + return b3 = uh(c3, a2.mode, d3), b3.return = a2, b3; + b3 = e2(b3, c3); + b3.return = a2; + return b3; + } + function k2(a2, b3, c3, d3) { + var f3 = c3.type; + if (f3 === wa) + return n2(a2, b3, c3.props.children, d3, c3.key); + if (b3 !== null && (b3.elementType === f3 || typeof f3 === "object" && f3 !== null && f3.$$typeof === Ga && rh(f3) === b3.type)) + return d3 = e2(b3, c3.props), d3.ref = ph(a2, b3, c3), d3.return = a2, d3; + d3 = vh(c3.type, c3.key, c3.props, null, a2.mode, d3); + d3.ref = ph(a2, b3, c3); + d3.return = a2; + return d3; + } + function l2(a2, b3, c3, d3) { + if (b3 === null || b3.tag !== 4 || b3.stateNode.containerInfo !== c3.containerInfo || b3.stateNode.implementation !== c3.implementation) + return b3 = wh(c3, a2.mode, d3), b3.return = a2, b3; + b3 = e2(b3, c3.children || []); + b3.return = a2; + return b3; + } + function n2(a2, b3, c3, d3, f3) { + if (b3 === null || b3.tag !== 7) + return b3 = xh(c3, a2.mode, d3, f3), b3.return = a2, b3; + b3 = e2(b3, c3); + b3.return = a2; + return b3; + } + function u2(a2, b3, c3) { + if (typeof b3 === "string" && b3 !== "" || typeof b3 === "number") + return b3 = uh("" + b3, a2.mode, c3), b3.return = a2, b3; + if (typeof b3 === "object" && b3 !== null) { + switch (b3.$$typeof) { + case ua: + return c3 = vh(b3.type, b3.key, b3.props, null, a2.mode, c3), c3.ref = ph(a2, null, b3), c3.return = a2, c3; + case va: + return b3 = wh(b3, a2.mode, c3), b3.return = a2, b3; + case Ga: + var d3 = b3._init; + return u2(a2, d3(b3._payload), c3); + } + if (db(b3) || Ja(b3)) + return b3 = xh(b3, a2.mode, c3, null), b3.return = a2, b3; + qh(a2, b3); + } + return null; + } + function q2(a2, b3, c3, d3) { + var e3 = b3 !== null ? b3.key : null; + if (typeof c3 === "string" && c3 !== "" || typeof c3 === "number") + return e3 !== null ? null : h2(a2, b3, "" + c3, d3); + if (typeof c3 === "object" && c3 !== null) { + switch (c3.$$typeof) { + case ua: + return c3.key === e3 ? k2(a2, b3, c3, d3) : null; + case va: + return c3.key === e3 ? l2(a2, b3, c3, d3) : null; + case Ga: + return e3 = c3._init, q2(a2, b3, e3(c3._payload), d3); + } + if (db(c3) || Ja(c3)) + return e3 !== null ? null : n2(a2, b3, c3, d3, null); + qh(a2, c3); + } + return null; + } + function y2(a2, b3, c3, d3, e3) { + if (typeof d3 === "string" && d3 !== "" || typeof d3 === "number") + return a2 = a2.get(c3) || null, h2(b3, a2, "" + d3, e3); + if (typeof d3 === "object" && d3 !== null) { + switch (d3.$$typeof) { + case ua: + return a2 = a2.get(d3.key === null ? c3 : d3.key) || null, k2(b3, a2, d3, e3); + case va: + return a2 = a2.get(d3.key === null ? c3 : d3.key) || null, l2(b3, a2, d3, e3); + case Ga: + var f3 = d3._init; + return y2(a2, b3, c3, f3(d3._payload), e3); + } + if (db(d3) || Ja(d3)) + return a2 = a2.get(c3) || null, n2(b3, a2, d3, e3, null); + qh(b3, d3); + } + return null; + } + function m2(e3, g3, h3, k3) { + for (var l3 = null, n3 = null, r2 = g3, m3 = g3 = 0, x2 = null; r2 !== null && m3 < h3.length; m3++) { + r2.index > m3 ? (x2 = r2, r2 = null) : x2 = r2.sibling; + var v2 = q2(e3, r2, h3[m3], k3); + if (v2 === null) { + r2 === null && (r2 = x2); + break; + } + a && r2 && v2.alternate === null && b2(e3, r2); + g3 = f2(v2, g3, m3); + n3 === null ? l3 = v2 : n3.sibling = v2; + n3 = v2; + r2 = x2; + } + if (m3 === h3.length) + return c2(e3, r2), I && $g(e3, m3), l3; + if (r2 === null) { + for (; m3 < h3.length; m3++) + r2 = u2(e3, h3[m3], k3), r2 !== null && (g3 = f2(r2, g3, m3), n3 === null ? l3 = r2 : n3.sibling = r2, n3 = r2); + I && $g(e3, m3); + return l3; + } + for (r2 = d2(e3, r2); m3 < h3.length; m3++) + x2 = y2(r2, e3, m3, h3[m3], k3), x2 !== null && (a && x2.alternate !== null && r2.delete(x2.key === null ? m3 : x2.key), g3 = f2(x2, g3, m3), n3 === null ? l3 = x2 : n3.sibling = x2, n3 = x2); + a && r2.forEach(function(a2) { + return b2(e3, a2); + }); + I && $g(e3, m3); + return l3; + } + function w2(e3, g3, h3, k3) { + var l3 = Ja(h3); + if (typeof l3 !== "function") + throw Error(p$2(150)); + h3 = l3.call(h3); + if (h3 == null) + throw Error(p$2(151)); + for (var n3 = l3 = null, m3 = g3, r2 = g3 = 0, x2 = null, v2 = h3.next(); m3 !== null && !v2.done; r2++, v2 = h3.next()) { + m3.index > r2 ? (x2 = m3, m3 = null) : x2 = m3.sibling; + var w3 = q2(e3, m3, v2.value, k3); + if (w3 === null) { + m3 === null && (m3 = x2); + break; + } + a && m3 && w3.alternate === null && b2(e3, m3); + g3 = f2(w3, g3, r2); + n3 === null ? l3 = w3 : n3.sibling = w3; + n3 = w3; + m3 = x2; + } + if (v2.done) + return c2(e3, m3), I && $g(e3, r2), l3; + if (m3 === null) { + for (; !v2.done; r2++, v2 = h3.next()) + v2 = u2(e3, v2.value, k3), v2 !== null && (g3 = f2(v2, g3, r2), n3 === null ? l3 = v2 : n3.sibling = v2, n3 = v2); + I && $g(e3, r2); + return l3; + } + for (m3 = d2(e3, m3); !v2.done; r2++, v2 = h3.next()) + v2 = y2(m3, e3, r2, v2.value, k3), v2 !== null && (a && v2.alternate !== null && m3.delete(v2.key === null ? r2 : v2.key), g3 = f2(v2, g3, r2), n3 === null ? l3 = v2 : n3.sibling = v2, n3 = v2); + a && m3.forEach(function(a2) { + return b2(e3, a2); + }); + I && $g(e3, r2); + return l3; + } + function J2(a2, d3, f3, h3) { + typeof f3 === "object" && f3 !== null && f3.type === wa && f3.key === null && (f3 = f3.props.children); + if (typeof f3 === "object" && f3 !== null) { + switch (f3.$$typeof) { + case ua: + a: { + for (var k3 = f3.key, l3 = d3; l3 !== null; ) { + if (l3.key === k3) { + k3 = f3.type; + if (k3 === wa) { + if (l3.tag === 7) { + c2(a2, l3.sibling); + d3 = e2(l3, f3.props.children); + d3.return = a2; + a2 = d3; + break a; + } + } else if (l3.elementType === k3 || typeof k3 === "object" && k3 !== null && k3.$$typeof === Ga && rh(k3) === l3.type) { + c2(a2, l3.sibling); + d3 = e2(l3, f3.props); + d3.ref = ph(a2, l3, f3); + d3.return = a2; + a2 = d3; + break a; + } + c2(a2, l3); + break; + } else + b2(a2, l3); + l3 = l3.sibling; + } + f3.type === wa ? (d3 = xh(f3.props.children, a2.mode, h3, f3.key), d3.return = a2, a2 = d3) : (h3 = vh(f3.type, f3.key, f3.props, null, a2.mode, h3), h3.ref = ph(a2, d3, f3), h3.return = a2, a2 = h3); + } + return g2(a2); + case va: + a: { + for (l3 = f3.key; d3 !== null; ) { + if (d3.key === l3) + if (d3.tag === 4 && d3.stateNode.containerInfo === f3.containerInfo && d3.stateNode.implementation === f3.implementation) { + c2(a2, d3.sibling); + d3 = e2(d3, f3.children || []); + d3.return = a2; + a2 = d3; + break a; + } else { + c2(a2, d3); + break; + } + else + b2(a2, d3); + d3 = d3.sibling; + } + d3 = wh(f3, a2.mode, h3); + d3.return = a2; + a2 = d3; + } + return g2(a2); + case Ga: + return l3 = f3._init, J2(a2, d3, l3(f3._payload), h3); + } + if (db(f3)) + return m2(a2, d3, f3, h3); + if (Ja(f3)) + return w2(a2, d3, f3, h3); + qh(a2, f3); + } + return typeof f3 === "string" && f3 !== "" || typeof f3 === "number" ? (f3 = "" + f3, d3 !== null && d3.tag === 6 ? (c2(a2, d3.sibling), d3 = e2(d3, f3), d3.return = a2, a2 = d3) : (c2(a2, d3), d3 = uh(f3, a2.mode, h3), d3.return = a2, a2 = d3), g2(a2)) : c2(a2, d3); + } + return J2; +} +var yh = sh(true), zh = sh(false), Ah = {}, Bh = Tf(Ah), Ch = Tf(Ah), Dh = Tf(Ah); +function Eh(a) { + if (a === Ah) + throw Error(p$2(174)); + return a; +} +function Fh(a, b2) { + G(Dh, b2); + G(Ch, a); + G(Bh, Ah); + a = b2.nodeType; + switch (a) { + case 9: + case 11: + b2 = (b2 = b2.documentElement) ? b2.namespaceURI : kb(null, ""); + break; + default: + a = a === 8 ? b2.parentNode : b2, b2 = a.namespaceURI || null, a = a.tagName, b2 = kb(b2, a); + } + E(Bh); + G(Bh, b2); +} +function Gh() { + E(Bh); + E(Ch); + E(Dh); +} +function Hh(a) { + Eh(Dh.current); + var b2 = Eh(Bh.current); + var c2 = kb(b2, a.type); + b2 !== c2 && (G(Ch, a), G(Bh, c2)); +} +function Ih(a) { + Ch.current === a && (E(Bh), E(Ch)); +} +var K = Tf(0); +function Jh(a) { + for (var b2 = a; b2 !== null; ) { + if (b2.tag === 13) { + var c2 = b2.memoizedState; + if (c2 !== null && (c2 = c2.dehydrated, c2 === null || c2.data === "$?" || c2.data === "$!")) + return b2; + } else if (b2.tag === 19 && b2.memoizedProps.revealOrder !== void 0) { + if ((b2.flags & 128) !== 0) + return b2; + } else if (b2.child !== null) { + b2.child.return = b2; + b2 = b2.child; + continue; + } + if (b2 === a) + break; + for (; b2.sibling === null; ) { + if (b2.return === null || b2.return === a) + return null; + b2 = b2.return; + } + b2.sibling.return = b2.return; + b2 = b2.sibling; + } + return null; +} +var Kh = []; +function Lh() { + for (var a = 0; a < Kh.length; a++) + Kh[a]._workInProgressVersionPrimary = null; + Kh.length = 0; +} +var Mh = ta.ReactCurrentDispatcher, Nh = ta.ReactCurrentBatchConfig, Oh = 0, L = null, M = null, N = null, Ph = false, Qh = false, Rh = 0, Sh = 0; +function O() { + throw Error(p$2(321)); +} +function Th(a, b2) { + if (b2 === null) + return false; + for (var c2 = 0; c2 < b2.length && c2 < a.length; c2++) + if (!Ge(a[c2], b2[c2])) + return false; + return true; +} +function Uh(a, b2, c2, d2, e2, f2) { + Oh = f2; + L = b2; + b2.memoizedState = null; + b2.updateQueue = null; + b2.lanes = 0; + Mh.current = a === null || a.memoizedState === null ? Vh : Wh; + a = c2(d2, e2); + if (Qh) { + f2 = 0; + do { + Qh = false; + Rh = 0; + if (25 <= f2) + throw Error(p$2(301)); + f2 += 1; + N = M = null; + b2.updateQueue = null; + Mh.current = Xh; + a = c2(d2, e2); + } while (Qh); + } + Mh.current = Yh; + b2 = M !== null && M.next !== null; + Oh = 0; + N = M = L = null; + Ph = false; + if (b2) + throw Error(p$2(300)); + return a; +} +function Zh() { + var a = Rh !== 0; + Rh = 0; + return a; +} +function $h() { + var a = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; + N === null ? L.memoizedState = N = a : N = N.next = a; + return N; +} +function ai() { + if (M === null) { + var a = L.alternate; + a = a !== null ? a.memoizedState : null; + } else + a = M.next; + var b2 = N === null ? L.memoizedState : N.next; + if (b2 !== null) + N = b2, M = a; + else { + if (a === null) + throw Error(p$2(310)); + M = a; + a = { memoizedState: M.memoizedState, baseState: M.baseState, baseQueue: M.baseQueue, queue: M.queue, next: null }; + N === null ? L.memoizedState = N = a : N = N.next = a; + } + return N; +} +function bi(a, b2) { + return typeof b2 === "function" ? b2(a) : b2; +} +function ci(a) { + var b2 = ai(), c2 = b2.queue; + if (c2 === null) + throw Error(p$2(311)); + c2.lastRenderedReducer = a; + var d2 = M, e2 = d2.baseQueue, f2 = c2.pending; + if (f2 !== null) { + if (e2 !== null) { + var g2 = e2.next; + e2.next = f2.next; + f2.next = g2; + } + d2.baseQueue = e2 = f2; + c2.pending = null; + } + if (e2 !== null) { + f2 = e2.next; + d2 = d2.baseState; + var h2 = g2 = null, k2 = null, l2 = f2; + do { + var n2 = l2.lane; + if ((Oh & n2) === n2) + k2 !== null && (k2 = k2.next = { lane: 0, action: l2.action, hasEagerState: l2.hasEagerState, eagerState: l2.eagerState, next: null }), d2 = l2.hasEagerState ? l2.eagerState : a(d2, l2.action); + else { + var u2 = { + lane: n2, + action: l2.action, + hasEagerState: l2.hasEagerState, + eagerState: l2.eagerState, + next: null + }; + k2 === null ? (h2 = k2 = u2, g2 = d2) : k2 = k2.next = u2; + L.lanes |= n2; + Fg |= n2; + } + l2 = l2.next; + } while (l2 !== null && l2 !== f2); + k2 === null ? g2 = d2 : k2.next = h2; + Ge(d2, b2.memoizedState) || (tg = true); + b2.memoizedState = d2; + b2.baseState = g2; + b2.baseQueue = k2; + c2.lastRenderedState = d2; + } + a = c2.interleaved; + if (a !== null) { + e2 = a; + do + f2 = e2.lane, L.lanes |= f2, Fg |= f2, e2 = e2.next; + while (e2 !== a); + } else + e2 === null && (c2.lanes = 0); + return [b2.memoizedState, c2.dispatch]; +} +function di(a) { + var b2 = ai(), c2 = b2.queue; + if (c2 === null) + throw Error(p$2(311)); + c2.lastRenderedReducer = a; + var d2 = c2.dispatch, e2 = c2.pending, f2 = b2.memoizedState; + if (e2 !== null) { + c2.pending = null; + var g2 = e2 = e2.next; + do + f2 = a(f2, g2.action), g2 = g2.next; + while (g2 !== e2); + Ge(f2, b2.memoizedState) || (tg = true); + b2.memoizedState = f2; + b2.baseQueue === null && (b2.baseState = f2); + c2.lastRenderedState = f2; + } + return [f2, d2]; +} +function ei() { +} +function fi(a, b2) { + var c2 = L, d2 = ai(), e2 = b2(), f2 = !Ge(d2.memoizedState, e2); + f2 && (d2.memoizedState = e2, tg = true); + d2 = d2.queue; + gi(hi.bind(null, c2, d2, a), [a]); + if (d2.getSnapshot !== b2 || f2 || N !== null && N.memoizedState.tag & 1) { + c2.flags |= 2048; + ii(9, ji.bind(null, c2, d2, e2, b2), void 0, null); + if (P === null) + throw Error(p$2(349)); + (Oh & 30) !== 0 || ki(c2, b2, e2); + } + return e2; +} +function ki(a, b2, c2) { + a.flags |= 16384; + a = { getSnapshot: b2, value: c2 }; + b2 = L.updateQueue; + b2 === null ? (b2 = { lastEffect: null, stores: null }, L.updateQueue = b2, b2.stores = [a]) : (c2 = b2.stores, c2 === null ? b2.stores = [a] : c2.push(a)); +} +function ji(a, b2, c2, d2) { + b2.value = c2; + b2.getSnapshot = d2; + li(b2) && Lg(a, 1, -1); +} +function hi(a, b2, c2) { + return c2(function() { + li(b2) && Lg(a, 1, -1); + }); +} +function li(a) { + var b2 = a.getSnapshot; + a = a.value; + try { + var c2 = b2(); + return !Ge(a, c2); + } catch (d2) { + return true; + } +} +function mi(a) { + var b2 = $h(); + typeof a === "function" && (a = a()); + b2.memoizedState = b2.baseState = a; + a = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: bi, lastRenderedState: a }; + b2.queue = a; + a = a.dispatch = ni.bind(null, L, a); + return [b2.memoizedState, a]; +} +function ii(a, b2, c2, d2) { + a = { tag: a, create: b2, destroy: c2, deps: d2, next: null }; + b2 = L.updateQueue; + b2 === null ? (b2 = { lastEffect: null, stores: null }, L.updateQueue = b2, b2.lastEffect = a.next = a) : (c2 = b2.lastEffect, c2 === null ? b2.lastEffect = a.next = a : (d2 = c2.next, c2.next = a, a.next = d2, b2.lastEffect = a)); + return a; +} +function oi() { + return ai().memoizedState; +} +function pi(a, b2, c2, d2) { + var e2 = $h(); + L.flags |= a; + e2.memoizedState = ii(1 | b2, c2, void 0, d2 === void 0 ? null : d2); +} +function qi(a, b2, c2, d2) { + var e2 = ai(); + d2 = d2 === void 0 ? null : d2; + var f2 = void 0; + if (M !== null) { + var g2 = M.memoizedState; + f2 = g2.destroy; + if (d2 !== null && Th(d2, g2.deps)) { + e2.memoizedState = ii(b2, c2, f2, d2); + return; + } + } + L.flags |= a; + e2.memoizedState = ii(1 | b2, c2, f2, d2); +} +function ri(a, b2) { + return pi(8390656, 8, a, b2); +} +function gi(a, b2) { + return qi(2048, 8, a, b2); +} +function si(a, b2) { + return qi(4, 2, a, b2); +} +function ti(a, b2) { + return qi(4, 4, a, b2); +} +function ui(a, b2) { + if (typeof b2 === "function") + return a = a(), b2(a), function() { + b2(null); + }; + if (b2 !== null && b2 !== void 0) + return a = a(), b2.current = a, function() { + b2.current = null; + }; +} +function vi(a, b2, c2) { + c2 = c2 !== null && c2 !== void 0 ? c2.concat([a]) : null; + return qi(4, 4, ui.bind(null, b2, a), c2); +} +function wi() { +} +function xi(a, b2) { + var c2 = ai(); + b2 = b2 === void 0 ? null : b2; + var d2 = c2.memoizedState; + if (d2 !== null && b2 !== null && Th(b2, d2[1])) + return d2[0]; + c2.memoizedState = [a, b2]; + return a; +} +function yi(a, b2) { + var c2 = ai(); + b2 = b2 === void 0 ? null : b2; + var d2 = c2.memoizedState; + if (d2 !== null && b2 !== null && Th(b2, d2[1])) + return d2[0]; + a = a(); + c2.memoizedState = [a, b2]; + return a; +} +function zi(a, b2, c2) { + if ((Oh & 21) === 0) + return a.baseState && (a.baseState = false, tg = true), a.memoizedState = c2; + Ge(c2, b2) || (c2 = xc(), L.lanes |= c2, Fg |= c2, a.baseState = true); + return b2; +} +function Ai(a, b2) { + var c2 = C; + C = c2 !== 0 && 4 > c2 ? c2 : 4; + a(true); + var d2 = Nh.transition; + Nh.transition = {}; + try { + a(false), b2(); + } finally { + C = c2, Nh.transition = d2; + } +} +function Bi() { + return ai().memoizedState; +} +function Ci(a, b2, c2) { + var d2 = Kg(a); + c2 = { lane: d2, action: c2, hasEagerState: false, eagerState: null, next: null }; + Di(a) ? Ei(b2, c2) : (Fi(a, b2, c2), c2 = Jg(), a = Lg(a, d2, c2), a !== null && Gi(a, b2, d2)); +} +function ni(a, b2, c2) { + var d2 = Kg(a), e2 = { lane: d2, action: c2, hasEagerState: false, eagerState: null, next: null }; + if (Di(a)) + Ei(b2, e2); + else { + Fi(a, b2, e2); + var f2 = a.alternate; + if (a.lanes === 0 && (f2 === null || f2.lanes === 0) && (f2 = b2.lastRenderedReducer, f2 !== null)) + try { + var g2 = b2.lastRenderedState, h2 = f2(g2, c2); + e2.hasEagerState = true; + e2.eagerState = h2; + if (Ge(h2, g2)) + return; + } catch (k2) { + } finally { + } + c2 = Jg(); + a = Lg(a, d2, c2); + a !== null && Gi(a, b2, d2); + } +} +function Di(a) { + var b2 = a.alternate; + return a === L || b2 !== null && b2 === L; +} +function Ei(a, b2) { + Qh = Ph = true; + var c2 = a.pending; + c2 === null ? b2.next = b2 : (b2.next = c2.next, c2.next = b2); + a.pending = b2; +} +function Fi(a, b2, c2) { + Bg(a) ? (a = b2.interleaved, a === null ? (c2.next = c2, vg === null ? vg = [b2] : vg.push(b2)) : (c2.next = a.next, a.next = c2), b2.interleaved = c2) : (a = b2.pending, a === null ? c2.next = c2 : (c2.next = a.next, a.next = c2), b2.pending = c2); +} +function Gi(a, b2, c2) { + if ((c2 & 4194240) !== 0) { + var d2 = b2.lanes; + d2 &= a.pendingLanes; + c2 |= d2; + b2.lanes = c2; + Bc(a, c2); + } +} +var Yh = { readContext: ug, useCallback: O, useContext: O, useEffect: O, useImperativeHandle: O, useInsertionEffect: O, useLayoutEffect: O, useMemo: O, useReducer: O, useRef: O, useState: O, useDebugValue: O, useDeferredValue: O, useTransition: O, useMutableSource: O, useSyncExternalStore: O, useId: O, unstable_isNewReconciler: false }, Vh = { readContext: ug, useCallback: function(a, b2) { + $h().memoizedState = [a, b2 === void 0 ? null : b2]; + return a; +}, useContext: ug, useEffect: ri, useImperativeHandle: function(a, b2, c2) { + c2 = c2 !== null && c2 !== void 0 ? c2.concat([a]) : null; + return pi(4194308, 4, ui.bind(null, b2, a), c2); +}, useLayoutEffect: function(a, b2) { + return pi(4194308, 4, a, b2); +}, useInsertionEffect: function(a, b2) { + return pi(4, 2, a, b2); +}, useMemo: function(a, b2) { + var c2 = $h(); + b2 = b2 === void 0 ? null : b2; + a = a(); + c2.memoizedState = [a, b2]; + return a; +}, useReducer: function(a, b2, c2) { + var d2 = $h(); + b2 = c2 !== void 0 ? c2(b2) : b2; + d2.memoizedState = d2.baseState = b2; + a = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: a, lastRenderedState: b2 }; + d2.queue = a; + a = a.dispatch = Ci.bind(null, L, a); + return [d2.memoizedState, a]; +}, useRef: function(a) { + var b2 = $h(); + a = { current: a }; + return b2.memoizedState = a; +}, useState: mi, useDebugValue: wi, useDeferredValue: function(a) { + return $h().memoizedState = a; +}, useTransition: function() { + var a = mi(false), b2 = a[0]; + a = Ai.bind(null, a[1]); + $h().memoizedState = a; + return [b2, a]; +}, useMutableSource: function() { +}, useSyncExternalStore: function(a, b2, c2) { + var d2 = L, e2 = $h(); + if (I) { + if (c2 === void 0) + throw Error(p$2(407)); + c2 = c2(); + } else { + c2 = b2(); + if (P === null) + throw Error(p$2(349)); + (Oh & 30) !== 0 || ki(d2, b2, c2); + } + e2.memoizedState = c2; + var f2 = { value: c2, getSnapshot: b2 }; + e2.queue = f2; + ri(hi.bind(null, d2, f2, a), [a]); + d2.flags |= 2048; + ii(9, ji.bind(null, d2, f2, c2, b2), void 0, null); + return c2; +}, useId: function() { + var a = $h(), b2 = P.identifierPrefix; + if (I) { + var c2 = Zg; + var d2 = Yg; + c2 = (d2 & ~(1 << 32 - nc(d2) - 1)).toString(32) + c2; + b2 = ":" + b2 + "R" + c2; + c2 = Rh++; + 0 < c2 && (b2 += "H" + c2.toString(32)); + b2 += ":"; + } else + c2 = Sh++, b2 = ":" + b2 + "r" + c2.toString(32) + ":"; + return a.memoizedState = b2; +}, unstable_isNewReconciler: false }, Wh = { + readContext: ug, + useCallback: xi, + useContext: ug, + useEffect: gi, + useImperativeHandle: vi, + useInsertionEffect: si, + useLayoutEffect: ti, + useMemo: yi, + useReducer: ci, + useRef: oi, + useState: function() { + return ci(bi); + }, + useDebugValue: wi, + useDeferredValue: function(a) { + var b2 = ai(); + return zi(b2, M.memoizedState, a); + }, + useTransition: function() { + var a = ci(bi)[0], b2 = ai().memoizedState; + return [a, b2]; + }, + useMutableSource: ei, + useSyncExternalStore: fi, + useId: Bi, + unstable_isNewReconciler: false +}, Xh = { readContext: ug, useCallback: xi, useContext: ug, useEffect: gi, useImperativeHandle: vi, useInsertionEffect: si, useLayoutEffect: ti, useMemo: yi, useReducer: di, useRef: oi, useState: function() { + return di(bi); +}, useDebugValue: wi, useDeferredValue: function(a) { + var b2 = ai(); + return M === null ? b2.memoizedState = a : zi(b2, M.memoizedState, a); +}, useTransition: function() { + var a = di(bi)[0], b2 = ai().memoizedState; + return [a, b2]; +}, useMutableSource: ei, useSyncExternalStore: fi, useId: Bi, unstable_isNewReconciler: false }; +function Hi(a, b2) { + try { + var c2 = "", d2 = b2; + do + c2 += Oa(d2), d2 = d2.return; + while (d2); + var e2 = c2; + } catch (f2) { + e2 = "\nError generating stack: " + f2.message + "\n" + f2.stack; + } + return { value: a, source: b2, stack: e2 }; +} +function Ii(a, b2) { + try { + console.error(b2.value); + } catch (c2) { + setTimeout(function() { + throw c2; + }); + } +} +var Ji = typeof WeakMap === "function" ? WeakMap : Map; +function Ki(a, b2, c2) { + c2 = zg(-1, c2); + c2.tag = 3; + c2.payload = { element: null }; + var d2 = b2.value; + c2.callback = function() { + Li || (Li = true, Mi = d2); + Ii(a, b2); + }; + return c2; +} +function Ni(a, b2, c2) { + c2 = zg(-1, c2); + c2.tag = 3; + var d2 = a.type.getDerivedStateFromError; + if (typeof d2 === "function") { + var e2 = b2.value; + c2.payload = function() { + return d2(e2); + }; + c2.callback = function() { + Ii(a, b2); + }; + } + var f2 = a.stateNode; + f2 !== null && typeof f2.componentDidCatch === "function" && (c2.callback = function() { + Ii(a, b2); + typeof d2 !== "function" && (Oi === null ? Oi = /* @__PURE__ */ new Set([this]) : Oi.add(this)); + var c3 = b2.stack; + this.componentDidCatch(b2.value, { componentStack: c3 !== null ? c3 : "" }); + }); + return c2; +} +function Pi(a, b2, c2) { + var d2 = a.pingCache; + if (d2 === null) { + d2 = a.pingCache = new Ji(); + var e2 = /* @__PURE__ */ new Set(); + d2.set(b2, e2); + } else + e2 = d2.get(b2), e2 === void 0 && (e2 = /* @__PURE__ */ new Set(), d2.set(b2, e2)); + e2.has(c2) || (e2.add(c2), a = Qi.bind(null, a, b2, c2), b2.then(a, a)); +} +function Ri(a) { + do { + var b2; + if (b2 = a.tag === 13) + b2 = a.memoizedState, b2 = b2 !== null ? b2.dehydrated !== null ? true : false : true; + if (b2) + return a; + a = a.return; + } while (a !== null); + return null; +} +function Si(a, b2, c2, d2, e2) { + if ((a.mode & 1) === 0) + return a === b2 ? a.flags |= 65536 : (a.flags |= 128, c2.flags |= 131072, c2.flags &= -52805, c2.tag === 1 && (c2.alternate === null ? c2.tag = 17 : (b2 = zg(-1, 1), b2.tag = 2, Ag(c2, b2))), c2.lanes |= 1), a; + a.flags |= 65536; + a.lanes = e2; + return a; +} +var Ti, Ui, Vi, Wi; +Ti = function(a, b2) { + for (var c2 = b2.child; c2 !== null; ) { + if (c2.tag === 5 || c2.tag === 6) + a.appendChild(c2.stateNode); + else if (c2.tag !== 4 && c2.child !== null) { + c2.child.return = c2; + c2 = c2.child; + continue; + } + if (c2 === b2) + break; + for (; c2.sibling === null; ) { + if (c2.return === null || c2.return === b2) + return; + c2 = c2.return; + } + c2.sibling.return = c2.return; + c2 = c2.sibling; + } +}; +Ui = function() { +}; +Vi = function(a, b2, c2, d2) { + var e2 = a.memoizedProps; + if (e2 !== d2) { + a = b2.stateNode; + Eh(Bh.current); + var f2 = null; + switch (c2) { + case "input": + e2 = Xa(a, e2); + d2 = Xa(a, d2); + f2 = []; + break; + case "select": + e2 = A$1({}, e2, { value: void 0 }); + d2 = A$1({}, d2, { value: void 0 }); + f2 = []; + break; + case "textarea": + e2 = fb(a, e2); + d2 = fb(a, d2); + f2 = []; + break; + default: + typeof e2.onClick !== "function" && typeof d2.onClick === "function" && (a.onclick = Af); + } + tb(c2, d2); + var g2; + c2 = null; + for (l2 in e2) + if (!d2.hasOwnProperty(l2) && e2.hasOwnProperty(l2) && e2[l2] != null) + if (l2 === "style") { + var h2 = e2[l2]; + for (g2 in h2) + h2.hasOwnProperty(g2) && (c2 || (c2 = {}), c2[g2] = ""); + } else + l2 !== "dangerouslySetInnerHTML" && l2 !== "children" && l2 !== "suppressContentEditableWarning" && l2 !== "suppressHydrationWarning" && l2 !== "autoFocus" && (ea.hasOwnProperty(l2) ? f2 || (f2 = []) : (f2 = f2 || []).push(l2, null)); + for (l2 in d2) { + var k2 = d2[l2]; + h2 = e2 != null ? e2[l2] : void 0; + if (d2.hasOwnProperty(l2) && k2 !== h2 && (k2 != null || h2 != null)) + if (l2 === "style") + if (h2) { + for (g2 in h2) + !h2.hasOwnProperty(g2) || k2 && k2.hasOwnProperty(g2) || (c2 || (c2 = {}), c2[g2] = ""); + for (g2 in k2) + k2.hasOwnProperty(g2) && h2[g2] !== k2[g2] && (c2 || (c2 = {}), c2[g2] = k2[g2]); + } else + c2 || (f2 || (f2 = []), f2.push(l2, c2)), c2 = k2; + else + l2 === "dangerouslySetInnerHTML" ? (k2 = k2 ? k2.__html : void 0, h2 = h2 ? h2.__html : void 0, k2 != null && h2 !== k2 && (f2 = f2 || []).push(l2, k2)) : l2 === "children" ? typeof k2 !== "string" && typeof k2 !== "number" || (f2 = f2 || []).push(l2, "" + k2) : l2 !== "suppressContentEditableWarning" && l2 !== "suppressHydrationWarning" && (ea.hasOwnProperty(l2) ? (k2 != null && l2 === "onScroll" && D("scroll", a), f2 || h2 === k2 || (f2 = [])) : (f2 = f2 || []).push(l2, k2)); + } + c2 && (f2 = f2 || []).push("style", c2); + var l2 = f2; + if (b2.updateQueue = l2) + b2.flags |= 4; + } +}; +Wi = function(a, b2, c2, d2) { + c2 !== d2 && (b2.flags |= 4); +}; +function Xi(a, b2) { + if (!I) + switch (a.tailMode) { + case "hidden": + b2 = a.tail; + for (var c2 = null; b2 !== null; ) + b2.alternate !== null && (c2 = b2), b2 = b2.sibling; + c2 === null ? a.tail = null : c2.sibling = null; + break; + case "collapsed": + c2 = a.tail; + for (var d2 = null; c2 !== null; ) + c2.alternate !== null && (d2 = c2), c2 = c2.sibling; + d2 === null ? b2 || a.tail === null ? a.tail = null : a.tail.sibling = null : d2.sibling = null; + } +} +function Q(a) { + var b2 = a.alternate !== null && a.alternate.child === a.child, c2 = 0, d2 = 0; + if (b2) + for (var e2 = a.child; e2 !== null; ) + c2 |= e2.lanes | e2.childLanes, d2 |= e2.subtreeFlags & 14680064, d2 |= e2.flags & 14680064, e2.return = a, e2 = e2.sibling; + else + for (e2 = a.child; e2 !== null; ) + c2 |= e2.lanes | e2.childLanes, d2 |= e2.subtreeFlags, d2 |= e2.flags, e2.return = a, e2 = e2.sibling; + a.subtreeFlags |= d2; + a.childLanes = c2; + return b2; +} +function Yi(a, b2, c2) { + var d2 = b2.pendingProps; + ch(b2); + switch (b2.tag) { + case 2: + case 16: + case 15: + case 0: + case 11: + case 7: + case 8: + case 12: + case 9: + case 14: + return Q(b2), null; + case 1: + return Yf(b2.type) && Zf(), Q(b2), null; + case 3: + d2 = b2.stateNode; + Gh(); + E(Vf); + E(H); + Lh(); + d2.pendingContext && (d2.context = d2.pendingContext, d2.pendingContext = null); + if (a === null || a.child === null) + mh(b2) ? b2.flags |= 4 : a === null || a.memoizedState.isDehydrated && (b2.flags & 256) === 0 || (b2.flags |= 1024, fh !== null && (Zi(fh), fh = null)); + Ui(a, b2); + Q(b2); + return null; + case 5: + Ih(b2); + var e2 = Eh(Dh.current); + c2 = b2.type; + if (a !== null && b2.stateNode != null) + Vi(a, b2, c2, d2, e2), a.ref !== b2.ref && (b2.flags |= 512, b2.flags |= 2097152); + else { + if (!d2) { + if (b2.stateNode === null) + throw Error(p$2(166)); + Q(b2); + return null; + } + a = Eh(Bh.current); + if (mh(b2)) { + d2 = b2.stateNode; + c2 = b2.type; + var f2 = b2.memoizedProps; + d2[Nf] = b2; + d2[Of] = f2; + a = (b2.mode & 1) !== 0; + switch (c2) { + case "dialog": + D("cancel", d2); + D("close", d2); + break; + case "iframe": + case "object": + case "embed": + D("load", d2); + break; + case "video": + case "audio": + for (e2 = 0; e2 < kf.length; e2++) + D(kf[e2], d2); + break; + case "source": + D("error", d2); + break; + case "img": + case "image": + case "link": + D("error", d2); + D("load", d2); + break; + case "details": + D("toggle", d2); + break; + case "input": + Ya(d2, f2); + D("invalid", d2); + break; + case "select": + d2._wrapperState = { wasMultiple: !!f2.multiple }; + D("invalid", d2); + break; + case "textarea": + gb(d2, f2), D("invalid", d2); + } + tb(c2, f2); + e2 = null; + for (var g2 in f2) + if (f2.hasOwnProperty(g2)) { + var h2 = f2[g2]; + g2 === "children" ? typeof h2 === "string" ? d2.textContent !== h2 && (f2.suppressHydrationWarning !== true && zf(d2.textContent, h2, a), e2 = ["children", h2]) : typeof h2 === "number" && d2.textContent !== "" + h2 && (f2.suppressHydrationWarning !== true && zf(d2.textContent, h2, a), e2 = ["children", "" + h2]) : ea.hasOwnProperty(g2) && h2 != null && g2 === "onScroll" && D("scroll", d2); + } + switch (c2) { + case "input": + Ua(d2); + cb(d2, f2, true); + break; + case "textarea": + Ua(d2); + ib(d2); + break; + case "select": + case "option": + break; + default: + typeof f2.onClick === "function" && (d2.onclick = Af); + } + d2 = e2; + b2.updateQueue = d2; + d2 !== null && (b2.flags |= 4); + } else { + g2 = e2.nodeType === 9 ? e2 : e2.ownerDocument; + a === "http://www.w3.org/1999/xhtml" && (a = jb(c2)); + a === "http://www.w3.org/1999/xhtml" ? c2 === "script" ? (a = g2.createElement("div"), a.innerHTML = " diff --git a/frontend/public/embed_test_local.html b/frontend/public/embed_test_local.html new file mode 100644 index 0000000..1821f4c --- /dev/null +++ b/frontend/public/embed_test_local.html @@ -0,0 +1,17 @@ + + + + + + Embed Test + + +
+ + + diff --git a/frontend/src/components/Home.tsx b/frontend/src/components/Home.tsx index 7035e2c..812cf2b 100644 --- a/frontend/src/components/Home.tsx +++ b/frontend/src/components/Home.tsx @@ -1,19 +1,28 @@ -import { Container, Stack, Link, Typography } from '@mui/material' -import { Link as RouterLink } from 'react-router-dom' - - +import { Container, Stack, Typography, Link } from "@mui/material"; +import { Link as RouterLink } from "react-router-dom"; export default function Home() { - const owner = 'hpicgs' - const repo = 'github-software-analytics-embedding' + const owner = "hpicgs"; + const repo = "github-software-analytics-embedding"; return ( - Treemap Metrics Viewer + + Treemap Metrics Viewer + - hpicgs/github-software-analytics-embedding/ - Jasperhino/vscode - Jasperhino/webgl-operate + + hpicgs/github-software-analytics-embedding/ + + + Jasperhino/vscode + + + Jasperhino/webgl-operate + - ) + ); } diff --git a/frontend/src/components/Metrics.tsx b/frontend/src/components/Metrics.tsx index 449f7d4..219e384 100644 --- a/frontend/src/components/Metrics.tsx +++ b/frontend/src/components/Metrics.tsx @@ -3,13 +3,11 @@ import { parseMetrics } from "../utils/parse"; import MetricsTable from "./MetricsTable"; import { getCommitSHA, getMetricsBlob } from "@/utils/github"; import { MetricsTableData } from "@analytics/types"; -import { LinearProgress, Stack, Typography, Box, Paper, Link } from "@mui/material"; +import { LinearProgress, Stack, Typography, Paper } from "@mui/material"; import Treemap from "./Treemap"; import MetaMetrics from "./MetaMetrics"; -import { Link as RouterLink } from "react-router-dom"; import NoMetrics from "./NoMetrics"; -import RepoBreadcrumbs from "./RepoBreadcrumbs"; type MetricsProps = { owner?: string; @@ -29,18 +27,6 @@ export default function Metrics({ const [loading, setLoading] = useState(true); const [error, setError] = useState(false); - const breadcrumbs = [ - - {owner} - , - - {repo} - , - - {branch ? branch : commitSHA} - , - ]; - useEffect(() => { async function fetchData() { if (!owner || !repo) return; @@ -56,7 +42,7 @@ export default function Metrics({ setSize(metricsBlob.size); } catch (e) { console.error(e); - setError(true) + setError(true); } finally { setLoading(false); } @@ -65,15 +51,12 @@ export default function Metrics({ }, []); return ( - - - - {loading && } - {error && } - {data && } - {data && size && } - {data && } - - + + {loading && } + {error && } + {data && } + {data && size && } + {data && } + ); } diff --git a/frontend/src/components/MetricsPage.tsx b/frontend/src/components/MetricsPage.tsx index d5f1536..0a47c20 100644 --- a/frontend/src/components/MetricsPage.tsx +++ b/frontend/src/components/MetricsPage.tsx @@ -1,13 +1,38 @@ -import { Box } from "@mui/material"; -import { useParams } from "react-router-dom"; +import { Box, Paper, Stack, Typography, Link } from "@mui/material"; +import { Link as RouterLink, useParams } from "react-router-dom"; import Metrics from "./Metrics"; +import RepoBreadcrumbs from "./RepoBreadcrumbs"; export default function MetricsPage() { const { owner, repo, commitSHA, branch } = useParams(); + const breadcrumbs = [ + + {owner} + , + + + {repo} + + , + + {branch ? branch : commitSHA} + , + ]; + return ( - + + + + + + ); } diff --git a/frontend/src/components/NoMetrics.tsx b/frontend/src/components/NoMetrics.tsx index 4ae535b..e3f8c60 100644 --- a/frontend/src/components/NoMetrics.tsx +++ b/frontend/src/components/NoMetrics.tsx @@ -1,12 +1,14 @@ -import { Stack, Container, Typography } from '@mui/material' +import { Stack, Box, Typography } from "@mui/material"; export default function NoMetrics() { return ( - + - No Metrics found :( - There are no metrics for this commit on the repository. + No Metrics found :( + + There are no metrics for this commit on the repository. + - - ) + + ); } diff --git a/frontend/src/components/Repo.tsx b/frontend/src/components/Repo.tsx index abc3dde..4a86a63 100644 --- a/frontend/src/components/Repo.tsx +++ b/frontend/src/components/Repo.tsx @@ -1,37 +1,56 @@ -import { useEffect, useState } from 'react' -import { Container, Paper, Link, Stack, Table, TableBody, TableCell, TableContainer, TableHead, TableRow, Breadcrumbs, Typography} from '@mui/material' -import { Link as RouterLink, useParams } from 'react-router-dom' -import { getBranches, getMetricCommits, ListRefsResponseType, ListBranchesResponseType } from '@/utils/github' -import RepoBreadcrumbs from './RepoBreadcrumbs' +import { useEffect, useState } from "react"; +import { + Container, + Paper, + Link, + Stack, + Table, + TableBody, + TableCell, + TableContainer, + TableHead, + TableRow, + Typography, +} from "@mui/material"; +import { + getBranches, + getMetricCommits, + ListRefsResponseType, + ListBranchesResponseType, +} from "@/utils/github"; +import RepoBreadcrumbs from "./RepoBreadcrumbs"; +import { Link as RouterLink } from "react-router-dom"; interface RepoParams { - owner: string - repo: string + owner: string; + repo: string; } -export default function Repo({owner, repo}: RepoParams) { - const [refs, setRefs] = useState() - const [branches, setBranches] = useState() +export default function Repo({ owner, repo }: RepoParams) { + const [refs, setRefs] = useState(); + const [branches, setBranches] = useState(); useEffect(() => { async function fetchData() { const branches = await getBranches(owner, repo); - console.log(branches) - setBranches(branches) - const refs = await getMetricCommits(owner, repo) - console.log(refs) - setRefs(refs) + console.log(branches); + setBranches(branches); + const refs = await getMetricCommits(owner, repo); + console.log(refs); + setRefs(refs); } - fetchData() - }, []) + fetchData(); + }, []); const breadcrumbs = [ {owner} , - {repo} - + + {repo} + + , ]; return ( @@ -46,16 +65,22 @@ export default function Repo({owner, repo}: RepoParams) { - {branches && branches.data.map((branch) => ( - - - {branch.name} - - - ))} + {branches && + branches.data.map((branch) => ( + + + + {branch.name} + + + + ))} @@ -67,20 +92,26 @@ export default function Repo({owner, repo}: RepoParams) { - {refs && refs.data.map((ref) => ( - - - {ref.ref} - - - ))} + {refs && + refs.data.map((ref) => ( + + + + {ref.ref} + + + + ))} - + - ) + ); } diff --git a/frontend/src/components/RepoBreadcrumbs.tsx b/frontend/src/components/RepoBreadcrumbs.tsx index 7722535..ccd297a 100644 --- a/frontend/src/components/RepoBreadcrumbs.tsx +++ b/frontend/src/components/RepoBreadcrumbs.tsx @@ -1,20 +1,22 @@ -import { Box, Stack, Breadcrumbs } from '@mui/material' -import GitHubIcon from '@mui/icons-material/GitHub' -import { Link as RouterLink } from 'react-router-dom' +import { Box, Stack, Breadcrumbs, Link } from "@mui/material"; +import GitHubIcon from "@mui/icons-material/GitHub"; +import { Link as RouterLink } from "react-router-dom"; interface RepoBreadcrumbsProps { - breadcrumbs: JSX.Element[] + breadcrumbs: JSX.Element[]; } -export default function RepoBreadcrumbs({breadcrumbs}: RepoBreadcrumbsProps) { - return ( +export default function RepoBreadcrumbs({ breadcrumbs }: RepoBreadcrumbsProps) { + return ( + - + - + {breadcrumbs} - ) -} \ No newline at end of file + + ); +} diff --git a/frontend/src/components/Treemap.tsx b/frontend/src/components/Treemap.tsx index 4c06431..959488a 100644 --- a/frontend/src/components/Treemap.tsx +++ b/frontend/src/components/Treemap.tsx @@ -8,21 +8,24 @@ import { Configuration, Visualization, Renderer, -} from "treemaps"; +} from "treemap"; +export default function Treemap({ header, rows }: MetricsTableData) { + const fileTree = createFileTree(rows); -export default function Treemap({header, rows}: MetricsTableData) { - const fileTree = createFileTree(rows) - - const [config, setConfig] = useState(configFromFileTree(fileTree)); - const [visualization, setVisualization] = useState(new Visualization()); + const [config, setConfig] = useState( + configFromFileTree(fileTree) + ); + const [visualization, setVisualization] = useState( + new Visualization() + ); let canvas: gloperate.Canvas | undefined = undefined; useEffect(() => { // This is a workaround to get the Treemap library to look for the font files in the right place (window as any).SeereneConstants = { - "STATIC_DIRECTORY": `${import.meta.env.BASE_URL}assets` - } + STATIC_DIRECTORY: `${import.meta.env.BASE_URL}assets`, + }; canvas = initialize("canvasElement"); canvas.renderer = visualization.renderer as Renderer; console.log("cfg:", config); @@ -33,7 +36,6 @@ export default function Treemap({header, rows}: MetricsTableData) { function loadConfig() { console.log("loadConfig"); if (config && visualization && canvas) { - visualization.configuration = config; console.log("Visualization:", visualization); @@ -52,17 +54,26 @@ export default function Treemap({header, rows}: MetricsTableData) { // Enable debug logging visualization.debug = true; - (window as any)['gloperate'] = gloperate; - (window as any)['canvas'] = canvas; - (window as any)['context'] = canvas?.context; - (window as any)['controller'] = canvas?.controller; - (window as any)['visualization'] = visualization; - (window as any)['renderer'] = visualization.renderer; + (window as any)["gloperate"] = gloperate; + (window as any)["canvas"] = canvas; + (window as any)["context"] = canvas?.context; + (window as any)["controller"] = canvas?.controller; + (window as any)["visualization"] = visualization; + (window as any)["renderer"] = visualization.renderer; } return ( - +
- ); +
+ ); } diff --git a/frontend/src/utils/treemap_helpers.ts b/frontend/src/utils/treemap_helpers.ts index fa67f90..3814147 100644 --- a/frontend/src/utils/treemap_helpers.ts +++ b/frontend/src/utils/treemap_helpers.ts @@ -1,5 +1,5 @@ import { FileMetrics, Metrics, TreeNode } from "@analytics/types"; -import { Configuration, NodeSort, Visualization } from "treemaps"; +import { Configuration, NodeSort, Visualization } from "treemap"; interface ValueMapping { weights: keyof Metrics; diff --git a/frontend/vite.config-embed.ts b/frontend/vite.config-embed.ts index f46e716..7e862b1 100644 --- a/frontend/vite.config-embed.ts +++ b/frontend/vite.config-embed.ts @@ -12,13 +12,21 @@ export default defineConfig(({ command, mode }) => { "node-fetch": "isomorphic-fetch", // This is a workarround for https://github.com/octokit/octokit.js/issues/2126 }, }, + optimizeDeps: { + include: ["treemap"], + }, build: { + emptyOutDir: true, + outDir: resolve(__dirname, "embed"), + sourcemap: true, lib: { entry: resolve(__dirname, "src/embed/main.tsx"), - name: "Embed", - // the proper extensions will be added + name: "embed", fileName: "embed", }, + commonjsOptions: { + include: [/treemap/, /node_modules/], + }, }, }; return config; diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 6e78c68..d7d4ba8 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -1,12 +1,9 @@ -import { defineConfig, loadEnv } from "vite"; +import { defineConfig } from "vite"; import type { UserConfig } from "vite"; import react from "@vitejs/plugin-react"; import tsconfigPaths from "vite-tsconfig-paths"; export default defineConfig(({ command, mode }) => { - process.env = { ...process.env, ...loadEnv(mode, process.cwd(), "") }; - const base = "/github-software-analytics-embedding/"; - //console.log(`Building for ${mode} with base URL ${base}`); const config: UserConfig = { plugins: [react(), tsconfigPaths()], resolve: { @@ -15,11 +12,11 @@ export default defineConfig(({ command, mode }) => { }, }, optimizeDeps: { - include: ["treemaps", "react", "react-dom"], + include: ["treemap"], }, build: { - rollupOptions: { - external: ["treemaps"], + commonjsOptions: { + include: [/treemap/, /node_modules/], }, }, }; diff --git a/package.json b/package.json deleted file mode 100644 index d0c2a8d..0000000 --- a/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "pretty-bytes": "^6.0.0" - } -}