From 08e91e79d7cf0a95f7775eb5c30e584acac21855 Mon Sep 17 00:00:00 2001 From: Naomi Pentrel <5212232+npentrel@users.noreply.github.com> Date: Tue, 19 Nov 2024 13:56:08 +0100 Subject: [PATCH 1/2] Test Inkeep AI --- assets/js/index.js | 69 - assets/js/search-results.js | 72 - assets/js/search.js | 26 - assets/scss/_styles_project.scss | 33 +- config.toml | 2 +- layouts/docs/baseof.html | 2 +- layouts/docs/glossary.html | 2 +- layouts/docs/howto.html | 2 +- layouts/docs/search.html | 6 +- layouts/docs/tutorials.html | 2 +- layouts/partials/hooks/head-end.html | 1 - layouts/partials/scripts.html | 7 +- layouts/partials/sidebar-tree.html | 14 +- static/css/inkeep.css | 3 + static/js/embed.js | 61972 +++++++++++++++++++++++++ 15 files changed, 62012 insertions(+), 201 deletions(-) delete mode 100644 assets/js/search-results.js delete mode 100644 assets/js/search.js create mode 100644 static/css/inkeep.css create mode 100644 static/js/embed.js diff --git a/assets/js/index.js b/assets/js/index.js index 27b0c0bb2a..bedc8b93eb 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -67,72 +67,3 @@ if(main && scrollBtn) { }); observer.observe(main); } - -function handleSearch(inputSelector) { - const searchConfig = { - inputSelector: inputSelector, - typesenseCollectionName: 'docsearch', - typesenseServerConfig: { - nodes: [{ - host: 'cgnvrk0xwyj9576lp-1.a1.typesense.net', - port: '443', - protocol: 'https' - }], - apiKey: 'GHQK6od8KfpvTEh4YpA113gUc2dU5fGR' - }, - typesenseSearchParams: { - query_by: 'hierarchy.lvl0,hierarchy.lvl1,url_without_anchor', - query_by_weight: '100,50,1', - sort_by: "_text_match:desc,item_priority:desc", - prioritize_token_position: true, - group_by: "url_without_anchor", - group_limit: 1 - }, - autocompleteOptions: { - autoselect: false, - debug: false, - hint: false - } - }; - - const search = docsearch(searchConfig); - - let opened = false; - search.autocomplete.on('autocomplete:shown', (e, a, b, c) => { - opened = true; - }); - search.autocomplete.on('autocomplete:closed', () => { - opened = false; - }); - let cursorUsed = false; - // we can't detect the cursor changing to an empty auto complete entry, - // so the only case where getting to search results via Enter will work is - // text typed followed by Enter. - search.autocomplete.on('autocomplete:cursorchanged', (event, suggestion) => { - cursorUsed = true; - }); - // search.autocomplete.on('keydown', (e) => { - // if (opened && !cursorUsed && e.key === 'Enter' && search.input[0].value !== '') { - // const query = encodeURIComponent(search.input[0].value); - // window.location = `${window.location.origin}/search?query=${query}`; - // } - // }); -} - -handleSearch('.navbar-nav .td-search-input'); -handleSearch('.td-sidebar__search .td-search-input'); - -// Userflow START -!function(){var e="undefined"==typeof window?{}:window,r=e.userflow;if(!r){var t="https://js.userflow.com/",n=null;r=e.userflow={_stubbed:!0,load:function(){return n||(n=new Promise((function(r,o){var s=document.createElement("script");s.async=!0;var a=e.USERFLOWJS_ENV_VARS||{};"es2020"===(a.USERFLOWJS_BROWSER_TARGET||function(e){for(var r=[[/Edg\//,/Edg\/(\d+)/,80],[/OPR\//,/OPR\/(\d+)/,67],[/Chrome\//,/Chrome\/(\d+)/,80],[/Safari\//,/Version\/(\d+)/,14],[/Firefox\//,/Firefox\/(\d+)/,74]],t=0;t=a)return"es2020";break}}return"legacy"}(navigator.userAgent))?(s.type="module",s.src=a.USERFLOWJS_ES2020_URL||t+"es2020/userflow.js"):s.src=a.USERFLOWJS_LEGACY_URL||t+"legacy/userflow.js",s.onload=function(){r()},s.onerror=function(){document.head.removeChild(s),n=null;var e=new Error("Could not load Userflow.js");console.error(e.message),o(e)},document.head.appendChild(s)}))),n}};var o=e.USERFLOWJS_QUEUE=e.USERFLOWJS_QUEUE||[],s=function(e){r[e]=function(){var t=Array.prototype.slice.call(arguments);r.load(),o.push([e,null,t])}},a=function(e){r[e]=function(){var t,n=Array.prototype.slice.call(arguments);r.load();var s=new Promise((function(e,r){t={resolve:e,reject:r}}));return o.push([e,t,n]),s}},u=function(e,t){r[e]=function(){return t}};s("_setTargetEnv"),s("closeResourceCenter"),s("init"),s("off"),s("on"),s("prepareAudio"),s("registerCustomInput"),s("remount"),s("reset"),s("setBaseZIndex"),s("setCustomInputSelector"),s("setCustomNavigate"),s("setCustomScrollIntoView"),s("setInferenceAttributeFilter"),s("setInferenceAttributeNames"),s("setInferenceClassNameFilter"),s("setResourceCenterLauncherHidden"),s("setScrollPadding"),s("setShadowDomEnabled"),s("setPageTrackingDisabled"),s("setUrlFilter"),s("openResourceCenter"),s("toggleResourceCenter"),a("endAll"),a("endAllFlows"),a("endChecklist"),a("group"),a("identify"),a("identifyAnonymous"),a("start"),a("startFlow"),a("startWalk"),a("track"),a("updateGroup"),a("updateUser"),u("getResourceCenterState",null),u("isIdentified",!1)}}(); - -userflow.init("ct_dybdwc2fkna4lmih2zyqb6eune"); -userflow.setResourceCenterLauncherHidden(true); - -async function initAndClick() { - // unclear why it needs to be called twice but otherwise you need to click the button twice. - await userflow.identifyAnonymous({}); - await userflow.identifyAnonymous({}); - userflow.openResourceCenter() -} - -// Userflow END diff --git a/assets/js/search-results.js b/assets/js/search-results.js deleted file mode 100644 index 93b7170bc8..0000000000 --- a/assets/js/search-results.js +++ /dev/null @@ -1,72 +0,0 @@ -const { TypesenseInstantSearchAdapter, instantsearch } = window; -const observer = lozad(); - -const indexName = 'docsearch'; -const typesenseInstantsearchAdapter = new TypesenseInstantSearchAdapter({ - server: { - apiKey: "GHQK6od8KfpvTEh4YpA113gUc2dU5fGR", - nodes: [ - { - host: "cgnvrk0xwyj9576lp-1.a1.typesense.net", - port: "443", - protocol: "https", - }, - ], - cacheSearchResultsForSeconds: 2 * 60, - }, - additionalSearchParameters: { - query_by: 'hierarchy.lvl0,hierarchy.lvl1,url_without_anchor', - query_by_weight: '100,50,1', - sort_by: "_text_match:desc,item_priority:desc", - prioritize_token_position: true, - group_by: "url_without_anchor", - group_limit: 1, - }, -}); - -const searchClient = typesenseInstantsearchAdapter.searchClient; - -const search = instantsearch({ - indexName: indexName, - searchClient, -}); - -search.addWidgets([ - instantsearch.widgets.hits({ - container: "#hits", - templates: { - item: ` -
- -
-
{{hierarchy.lvl0}}
-
-

{{#helpers.highlight}}{ "attribute": "hierarchy.lvl1", "highlightedTagName": "mark" }{{/helpers.highlight}}

-
-
-
-
- `, - }, - }), - instantsearch.widgets.configure({ - hitsPerPage: 12, - }), - instantsearch.widgets.pagination({ - container: "#pagination", - }), - instantsearch.widgets.searchBox({ - container: '#search-box', - }), -]); - -search.start(); - -const urlParams = new URLSearchParams(window.location.search); -const query = urlParams.get('query'); - -search.setUiState({ - [indexName]: { - query: query - } -}); diff --git a/assets/js/search.js b/assets/js/search.js deleted file mode 100644 index c8875509cf..0000000000 --- a/assets/js/search.js +++ /dev/null @@ -1,26 +0,0 @@ -(function($) { - - 'use strict'; - - var Search = { - init: function() { - $(document).ready(function() { - $(document).on('keypress', '.navbar-nav .td-search-input', function(e) { - if (e.keyCode === 13) { - e.preventDefault(); - return; - } - }); - $(document).on('keypress', '.td-sidebar__search .td-search-input', function(e) { - if (e.keyCode === 13) { - e.preventDefault(); - return; - } - }); - }); - }, - }; - - Search.init(); - -}(jQuery)); \ No newline at end of file diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index 411c789b2c..54b8d8ca7b 100644 --- a/assets/scss/_styles_project.scss +++ b/assets/scss/_styles_project.scss @@ -1847,12 +1847,29 @@ a.ais-Pagination-link:hover { min-height: 90%; } -// Helper to allow search to link to tabs -.search-helper { +// Search START + +#sideSearchBar { display: none; + max-width: 100%; + width: 100%; } +@media (max-width: 992px) { + + #navSearchBar { + display: none; + } + + #sideSearchBar { + display: unset; + } + +} + +// Search END + // styling for model list from registry .searchhitsbox { @@ -2156,18 +2173,6 @@ h3.body-header[style] { margin-right: 1rem; } -.algolia-autocomplete .typesense-docsearch-suggestion--subcategory-column { - display: none !important; - float:left; - width:0 !important; - padding-left:0; - padding:0px; -} - -.algolia-autocomplete .typesense-docsearch-suggestion--content { - width: 100% !important; -} - // Front page styling START .frontpage h2 { diff --git a/config.toml b/config.toml index a711b2e80e..6414eeaeed 100644 --- a/config.toml +++ b/config.toml @@ -69,7 +69,7 @@ privacy_policy = "https://www.viam.com/privacy" includes_dir = "_includes" archived_version = false url_latest_version = "https://docs.viam.com/" -algolia_docsearch = true +algolia_docsearch = false offlineSearch = false prism_syntax_highlighting = true images = ["https://assets-global.website-files.com/62fba5686b6d47fe2a1ed2a6/63404a4db2c39ec3fbf1ed31_viam-open-graph-images.png"] diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index eaeb948dfa..ad5f9363aa 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -39,7 +39,7 @@ {{ $img := resources.GetMatch "/icons/learn-viam-robot-icon-ai.svg" }} - - + {{ else -}}
- +
{{ end -}} diff --git a/static/css/inkeep.css b/static/css/inkeep.css new file mode 100644 index 0000000000..742db5f484 --- /dev/null +++ b/static/css/inkeep.css @@ -0,0 +1,3 @@ +#inkeep-widget-root * .ikp-btn { + border-radius: 0 !important; +} \ No newline at end of file diff --git a/static/js/embed.js b/static/js/embed.js new file mode 100644 index 0000000000..0791751333 --- /dev/null +++ b/static/js/embed.js @@ -0,0 +1,61972 @@ +var BP = Object.defineProperty; +var IP = (e, t, r) => t in e ? BP(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r; +var md = (e, t, r) => (IP(e, typeof t != "symbol" ? t + "" : t, r), r); +function OP(e, t) { + for (var r = 0; r < t.length; r++) { + const i = t[r]; + if (typeof i != "string" && !Array.isArray(i)) { + for (const n in i) + if (n !== "default" && !(n in e)) { + const a = Object.getOwnPropertyDescriptor(i, n); + a && Object.defineProperty(e, n, a.get ? a : { + enumerable: !0, + get: () => i[n] + }); + } + } + } + return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" })); +} +var Co = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; +function In(e) { + return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; +} +var Rw = { exports: {} }, Zg = {}, zw = { exports: {} }, st = {}; +/** + * @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 x0 = Symbol.for("react.element"), NP = Symbol.for("react.portal"), RP = Symbol.for("react.fragment"), zP = Symbol.for("react.strict_mode"), PP = Symbol.for("react.profiler"), LP = Symbol.for("react.provider"), MP = Symbol.for("react.context"), jP = Symbol.for("react.forward_ref"), $P = Symbol.for("react.suspense"), HP = Symbol.for("react.memo"), UP = Symbol.for("react.lazy"), uE = Symbol.iterator; +function VP(e) { + return e === null || typeof e != "object" ? null : (e = uE && e[uE] || e["@@iterator"], typeof e == "function" ? e : null); +} +var Pw = { isMounted: function() { + return !1; +}, enqueueForceUpdate: function() { +}, enqueueReplaceState: function() { +}, enqueueSetState: function() { +} }, Lw = Object.assign, Mw = {}; +function Mc(e, t, r) { + this.props = e, this.context = t, this.refs = Mw, this.updater = r || Pw; +} +Mc.prototype.isReactComponent = {}; +Mc.prototype.setState = function(e, t) { + if (typeof e != "object" && typeof e != "function" && e != 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, e, t, "setState"); +}; +Mc.prototype.forceUpdate = function(e) { + this.updater.enqueueForceUpdate(this, e, "forceUpdate"); +}; +function jw() { +} +jw.prototype = Mc.prototype; +function O5(e, t, r) { + this.props = e, this.context = t, this.refs = Mw, this.updater = r || Pw; +} +var N5 = O5.prototype = new jw(); +N5.constructor = O5; +Lw(N5, Mc.prototype); +N5.isPureReactComponent = !0; +var cE = Array.isArray, $w = Object.prototype.hasOwnProperty, R5 = { current: null }, Hw = { key: !0, ref: !0, __self: !0, __source: !0 }; +function Uw(e, t, r) { + var i, n = {}, a = null, o = null; + if (t != null) + for (i in t.ref !== void 0 && (o = t.ref), t.key !== void 0 && (a = "" + t.key), t) + $w.call(t, i) && !Hw.hasOwnProperty(i) && (n[i] = t[i]); + var s = arguments.length - 2; + if (s === 1) + n.children = r; + else if (1 < s) { + for (var l = Array(s), u = 0; u < s; u++) + l[u] = arguments[u + 2]; + n.children = l; + } + if (e && e.defaultProps) + for (i in s = e.defaultProps, s) + n[i] === void 0 && (n[i] = s[i]); + return { $$typeof: x0, type: e, key: a, ref: o, props: n, _owner: R5.current }; +} +function GP(e, t) { + return { $$typeof: x0, type: e.type, key: t, ref: e.ref, props: e.props, _owner: e._owner }; +} +function z5(e) { + return typeof e == "object" && e !== null && e.$$typeof === x0; +} +function WP(e) { + var t = { "=": "=0", ":": "=2" }; + return "$" + e.replace(/[=:]/g, function(r) { + return t[r]; + }); +} +var dE = /\/+/g; +function lk(e, t) { + return typeof e == "object" && e !== null && e.key != null ? WP("" + e.key) : t.toString(36); +} +function Bh(e, t, r, i, n) { + var a = typeof e; + (a === "undefined" || a === "boolean") && (e = null); + var o = !1; + if (e === null) + o = !0; + else + switch (a) { + case "string": + case "number": + o = !0; + break; + case "object": + switch (e.$$typeof) { + case x0: + case NP: + o = !0; + } + } + if (o) + return o = e, n = n(o), e = i === "" ? "." + lk(o, 0) : i, cE(n) ? (r = "", e != null && (r = e.replace(dE, "$&/") + "/"), Bh(n, t, r, "", function(u) { + return u; + })) : n != null && (z5(n) && (n = GP(n, r + (!n.key || o && o.key === n.key ? "" : ("" + n.key).replace(dE, "$&/") + "/") + e)), t.push(n)), 1; + if (o = 0, i = i === "" ? "." : i + ":", cE(e)) + for (var s = 0; s < e.length; s++) { + a = e[s]; + var l = i + lk(a, s); + o += Bh(a, t, r, l, n); + } + else if (l = VP(e), typeof l == "function") + for (e = l.call(e), s = 0; !(a = e.next()).done; ) + a = a.value, l = i + lk(a, s++), o += Bh(a, t, r, l, n); + else if (a === "object") + throw t = String(e), Error("Objects are not valid as a React child (found: " + (t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead."); + return o; +} +function _1(e, t, r) { + if (e == null) + return e; + var i = [], n = 0; + return Bh(e, i, "", "", function(a) { + return t.call(r, a, n++); + }), i; +} +function KP(e) { + if (e._status === -1) { + var t = e._result; + t = t(), t.then(function(r) { + (e._status === 0 || e._status === -1) && (e._status = 1, e._result = r); + }, function(r) { + (e._status === 0 || e._status === -1) && (e._status = 2, e._result = r); + }), e._status === -1 && (e._status = 0, e._result = t); + } + if (e._status === 1) + return e._result.default; + throw e._result; +} +var ui = { current: null }, Ih = { transition: null }, qP = { ReactCurrentDispatcher: ui, ReactCurrentBatchConfig: Ih, ReactCurrentOwner: R5 }; +st.Children = { map: _1, forEach: function(e, t, r) { + _1(e, function() { + t.apply(this, arguments); + }, r); +}, count: function(e) { + var t = 0; + return _1(e, function() { + t++; + }), t; +}, toArray: function(e) { + return _1(e, function(t) { + return t; + }) || []; +}, only: function(e) { + if (!z5(e)) + throw Error("React.Children.only expected to receive a single React element child."); + return e; +} }; +st.Component = Mc; +st.Fragment = RP; +st.Profiler = PP; +st.PureComponent = O5; +st.StrictMode = zP; +st.Suspense = $P; +st.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = qP; +st.cloneElement = function(e, t, r) { + if (e == null) + throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + "."); + var i = Lw({}, e.props), n = e.key, a = e.ref, o = e._owner; + if (t != null) { + if (t.ref !== void 0 && (a = t.ref, o = R5.current), t.key !== void 0 && (n = "" + t.key), e.type && e.type.defaultProps) + var s = e.type.defaultProps; + for (l in t) + $w.call(t, l) && !Hw.hasOwnProperty(l) && (i[l] = t[l] === void 0 && s !== void 0 ? s[l] : t[l]); + } + var l = arguments.length - 2; + if (l === 1) + i.children = r; + else if (1 < l) { + s = Array(l); + for (var u = 0; u < l; u++) + s[u] = arguments[u + 2]; + i.children = s; + } + return { $$typeof: x0, type: e.type, key: n, ref: a, props: i, _owner: o }; +}; +st.createContext = function(e) { + return e = { $$typeof: MP, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, e.Provider = { $$typeof: LP, _context: e }, e.Consumer = e; +}; +st.createElement = Uw; +st.createFactory = function(e) { + var t = Uw.bind(null, e); + return t.type = e, t; +}; +st.createRef = function() { + return { current: null }; +}; +st.forwardRef = function(e) { + return { $$typeof: jP, render: e }; +}; +st.isValidElement = z5; +st.lazy = function(e) { + return { $$typeof: UP, _payload: { _status: -1, _result: e }, _init: KP }; +}; +st.memo = function(e, t) { + return { $$typeof: HP, type: e, compare: t === void 0 ? null : t }; +}; +st.startTransition = function(e) { + var t = Ih.transition; + Ih.transition = {}; + try { + e(); + } finally { + Ih.transition = t; + } +}; +st.unstable_act = function() { + throw Error("act(...) is not supported in production builds of React."); +}; +st.useCallback = function(e, t) { + return ui.current.useCallback(e, t); +}; +st.useContext = function(e) { + return ui.current.useContext(e); +}; +st.useDebugValue = function() { +}; +st.useDeferredValue = function(e) { + return ui.current.useDeferredValue(e); +}; +st.useEffect = function(e, t) { + return ui.current.useEffect(e, t); +}; +st.useId = function() { + return ui.current.useId(); +}; +st.useImperativeHandle = function(e, t, r) { + return ui.current.useImperativeHandle(e, t, r); +}; +st.useInsertionEffect = function(e, t) { + return ui.current.useInsertionEffect(e, t); +}; +st.useLayoutEffect = function(e, t) { + return ui.current.useLayoutEffect(e, t); +}; +st.useMemo = function(e, t) { + return ui.current.useMemo(e, t); +}; +st.useReducer = function(e, t, r) { + return ui.current.useReducer(e, t, r); +}; +st.useRef = function(e) { + return ui.current.useRef(e); +}; +st.useState = function(e) { + return ui.current.useState(e); +}; +st.useSyncExternalStore = function(e, t, r) { + return ui.current.useSyncExternalStore(e, t, r); +}; +st.useTransition = function() { + return ui.current.useTransition(); +}; +st.version = "18.2.0"; +zw.exports = st; +var D = zw.exports; +const xe = /* @__PURE__ */ In(D), Vw = /* @__PURE__ */ OP({ + __proto__: null, + default: xe +}, [D]); +/** + * @license React + * react-jsx-runtime.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 QP = D, YP = Symbol.for("react.element"), XP = Symbol.for("react.fragment"), ZP = Object.prototype.hasOwnProperty, JP = QP.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, eL = { key: !0, ref: !0, __self: !0, __source: !0 }; +function Gw(e, t, r) { + var i, n = {}, a = null, o = null; + r !== void 0 && (a = "" + r), t.key !== void 0 && (a = "" + t.key), t.ref !== void 0 && (o = t.ref); + for (i in t) + ZP.call(t, i) && !eL.hasOwnProperty(i) && (n[i] = t[i]); + if (e && e.defaultProps) + for (i in t = e.defaultProps, t) + n[i] === void 0 && (n[i] = t[i]); + return { $$typeof: YP, type: e, key: a, ref: o, props: n, _owner: JP.current }; +} +Zg.Fragment = XP; +Zg.jsx = Gw; +Zg.jsxs = Gw; +Rw.exports = Zg; +var m = Rw.exports; +var Pp = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Errors = 1] = "Errors", e[e.Messages = 2] = "Messages", e[e.Verbose = 3] = "Verbose", e))(Pp || {}), Ww = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.AnonymousErrors = 1] = "AnonymousErrors", e[e.IdentifiableErrors = 2] = "IdentifiableErrors", e[e.ExtensiveTroubleShooting = 3] = "ExtensiveTroubleShooting", e))(Ww || {}); +const tL = [ + "submitCurrentInputMessage", + "updateInputMessage", + "submitNewMessage", + "clearChat", + "openForm" +], rL = ["updateSearchQuery"], A0 = { + organizationDisplayName: "", + optOutAnalyticalCookies: !1, + // disable use of cookies for analytics. Default is false. + optOutAllAnalytics: !1, + // disable all event logging, even analytics that don't use cookies (e.g. anonymous events) + optOutFunctionalCookies: !1, + // disable all cookies that are used for functionality, like caching chat sessions cross-tabs. Default is false. + remoteErrorLogsLevel: 2, + // set to true to disable remote error logging. Default is false. + breadcrumbRules: { + style: "TITLE_CASE" + }, + consoleDebugLevel: 1, + env: "PRODUCTION" +}, Gs = { + placeholder: "How do I get started?", + botName: void 0, + shouldOpenLinksInNewTab: !0, + alignMessagesToTop: !1, + disclaimerSettings: { + isDisclaimerEnabled: !1, + disclaimerLabel: "Usage policy" + }, + isChatSharingEnabled: !1, + isViewOnly: !1, + shouldScrollToBottomOnLoad: !1, + defaultChatMode: "AUTO", + toggleButtonSettings: { + isChatModeToggleEnabled: !1 + }, + quickQuestionsLabel: "Example questions", + quickQuestions: [], + shouldHighlightFirstQuickQuestion: !0, + shouldShowCopyChatButton: !1, + getHelpCallToActions: [], + workflowsHeader: "Workflows", + workflows: [], + actionButtonLabels: { + clearButtonLabel: "Clear", + shareButtonLabel: "Share", + getHelpButtonLabel: "Get help", + stopButtonLabel: "Stop", + copyChatButtonLabel: "Copy" + } +}, Lp = { + prefilledQuery: "", + tabSettings: { + isAllTabEnabled: !0 + }, + shouldOpenLinksInNewTab: !1, + maximumHitsLimit: 40, + shouldShowAskAICard: !0 +}, P5 = { + isModeSwitchingEnabled: !0, + defaultView: "SEARCH", + forceInitialDefaultView: !1, + isShortcutKeyEnabled: !0, + openShortcutKey: "k", + isAlignedToTop: !0, + isAlignedToRight: !1, + closeOnBlur: !0, + switchToSearchMessage: "Search" +}, pE = { + chatButtonType: "PILL", + isPositionFixed: !0, + fixedPositionXOffset: "1.5rem", + fixedPositionYOffset: "1.5rem", + modalSettings: { + defaultView: "AI_CHAT", + forceInitialDefaultView: !1, + isAlignedToTop: !0, + isAlignedToRight: !1, + closeOnBlur: !0, + isShortcutKeyEnabled: !1, + openShortcutKey: "/" + } +}, hE = { + modalSettings: { + defaultView: "SEARCH", + forceInitialDefaultView: !1, + isShortcutKeyEnabled: !0, + openShortcutKey: "k", + isAlignedToTop: !0, + isAlignedToRight: !1, + closeOnBlur: !0 + } +}; +var Kw = { exports: {} }; +(function(e) { + (function(t) { + var r = function(g, k, _) { + if (!u(k) || d(k) || p(k) || h(k) || l(k)) + return k; + var E, x = 0, C = 0; + if (c(k)) + for (E = [], C = k.length; x < C; x++) + E.push(r(g, k[x], _)); + else { + E = {}; + for (var A in k) + Object.prototype.hasOwnProperty.call(k, A) && (E[g(A, _)] = r(g, k[A], _)); + } + return E; + }, i = function(g, k) { + k = k || {}; + var _ = k.separator || "_", E = k.split || /(?=[A-Z])/; + return g.split(E).join(_); + }, n = function(g) { + return f(g) ? g : (g = g.replace(/[\-_\s]+(.)?/g, function(k, _) { + return _ ? _.toUpperCase() : ""; + }), g.substr(0, 1).toLowerCase() + g.substr(1)); + }, a = function(g) { + var k = n(g); + return k.substr(0, 1).toUpperCase() + k.substr(1); + }, o = function(g, k) { + return i(g, k).toLowerCase(); + }, s = Object.prototype.toString, l = function(g) { + return typeof g == "function"; + }, u = function(g) { + return g === Object(g); + }, c = function(g) { + return s.call(g) == "[object Array]"; + }, d = function(g) { + return s.call(g) == "[object Date]"; + }, p = function(g) { + return s.call(g) == "[object RegExp]"; + }, h = function(g) { + return s.call(g) == "[object Boolean]"; + }, f = function(g) { + return g = g - 0, g === g; + }, v = function(g, k) { + var _ = k && "process" in k ? k.process : k; + return typeof _ != "function" ? g : function(E, x) { + return _(E, g, x); + }; + }, b = { + camelize: n, + decamelize: o, + pascalize: a, + depascalize: o, + camelizeKeys: function(g, k) { + return r(v(n, k), g); + }, + decamelizeKeys: function(g, k) { + return r(v(o, k), g, k); + }, + pascalizeKeys: function(g, k) { + return r(v(a, k), g); + }, + depascalizeKeys: function() { + return this.decamelizeKeys.apply(this, arguments); + } + }; + e.exports ? e.exports = b : t.humps = b; + })(Co); +})(Kw); +var iL = Kw.exports, qw = { exports: {} }, an = {}, Qw = { exports: {} }, Yw = {}; +/** + * @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(e) { + function t(H, J) { + var B = H.length; + H.push(J); + e: + for (; 0 < B; ) { + var de = B - 1 >>> 1, me = H[de]; + if (0 < n(me, J)) + H[de] = J, H[B] = me, B = de; + else + break e; + } + } + function r(H) { + return H.length === 0 ? null : H[0]; + } + function i(H) { + if (H.length === 0) + return null; + var J = H[0], B = H.pop(); + if (B !== J) { + H[0] = B; + e: + for (var de = 0, me = H.length, N = me >>> 1; de < N; ) { + var Fe = 2 * (de + 1) - 1, ge = H[Fe], se = Fe + 1, Ke = H[se]; + if (0 > n(ge, B)) + se < me && 0 > n(Ke, ge) ? (H[de] = Ke, H[se] = B, de = se) : (H[de] = ge, H[Fe] = B, de = Fe); + else if (se < me && 0 > n(Ke, B)) + H[de] = Ke, H[se] = B, de = se; + else + break e; + } + } + return J; + } + function n(H, J) { + var B = H.sortIndex - J.sortIndex; + return B !== 0 ? B : H.id - J.id; + } + if (typeof performance == "object" && typeof performance.now == "function") { + var a = performance; + e.unstable_now = function() { + return a.now(); + }; + } else { + var o = Date, s = o.now(); + e.unstable_now = function() { + return o.now() - s; + }; + } + var l = [], u = [], c = 1, d = null, p = 3, h = !1, f = !1, v = !1, b = typeof setTimeout == "function" ? setTimeout : null, g = typeof clearTimeout == "function" ? clearTimeout : null, k = typeof setImmediate < "u" ? setImmediate : null; + typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling); + function _(H) { + for (var J = r(u); J !== null; ) { + if (J.callback === null) + i(u); + else if (J.startTime <= H) + i(u), J.sortIndex = J.expirationTime, t(l, J); + else + break; + J = r(u); + } + } + function E(H) { + if (v = !1, _(H), !f) + if (r(l) !== null) + f = !0, W(x); + else { + var J = r(u); + J !== null && Q(E, J.startTime - H); + } + } + function x(H, J) { + f = !1, v && (v = !1, g(I), I = -1), h = !0; + var B = p; + try { + for (_(J), d = r(l); d !== null && (!(d.expirationTime > J) || H && !w()); ) { + var de = d.callback; + if (typeof de == "function") { + d.callback = null, p = d.priorityLevel; + var me = de(d.expirationTime <= J); + J = e.unstable_now(), typeof me == "function" ? d.callback = me : d === r(l) && i(l), _(J); + } else + i(l); + d = r(l); + } + if (d !== null) + var N = !0; + else { + var Fe = r(u); + Fe !== null && Q(E, Fe.startTime - J), N = !1; + } + return N; + } finally { + d = null, p = B, h = !1; + } + } + var C = !1, A = null, I = -1, S = 5, O = -1; + function w() { + return !(e.unstable_now() - O < S); + } + function T() { + if (A !== null) { + var H = e.unstable_now(); + O = H; + var J = !0; + try { + J = A(!0, H); + } finally { + J ? L() : (C = !1, A = null); + } + } else + C = !1; + } + var L; + if (typeof k == "function") + L = function() { + k(T); + }; + else if (typeof MessageChannel < "u") { + var $ = new MessageChannel(), V = $.port2; + $.port1.onmessage = T, L = function() { + V.postMessage(null); + }; + } else + L = function() { + b(T, 0); + }; + function W(H) { + A = H, C || (C = !0, L()); + } + function Q(H, J) { + I = b(function() { + H(e.unstable_now()); + }, J); + } + e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(H) { + H.callback = null; + }, e.unstable_continueExecution = function() { + f || h || (f = !0, W(x)); + }, e.unstable_forceFrameRate = function(H) { + 0 > H || 125 < H ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : S = 0 < H ? Math.floor(1e3 / H) : 5; + }, e.unstable_getCurrentPriorityLevel = function() { + return p; + }, e.unstable_getFirstCallbackNode = function() { + return r(l); + }, e.unstable_next = function(H) { + switch (p) { + case 1: + case 2: + case 3: + var J = 3; + break; + default: + J = p; + } + var B = p; + p = J; + try { + return H(); + } finally { + p = B; + } + }, e.unstable_pauseExecution = function() { + }, e.unstable_requestPaint = function() { + }, e.unstable_runWithPriority = function(H, J) { + switch (H) { + case 1: + case 2: + case 3: + case 4: + case 5: + break; + default: + H = 3; + } + var B = p; + p = H; + try { + return J(); + } finally { + p = B; + } + }, e.unstable_scheduleCallback = function(H, J, B) { + var de = e.unstable_now(); + switch (typeof B == "object" && B !== null ? (B = B.delay, B = typeof B == "number" && 0 < B ? de + B : de) : B = de, H) { + case 1: + var me = -1; + break; + case 2: + me = 250; + break; + case 5: + me = 1073741823; + break; + case 4: + me = 1e4; + break; + default: + me = 5e3; + } + return me = B + me, H = { id: c++, callback: J, priorityLevel: H, startTime: B, expirationTime: me, sortIndex: -1 }, B > de ? (H.sortIndex = B, t(u, H), r(l) === null && H === r(u) && (v ? (g(I), I = -1) : v = !0, Q(E, B - de))) : (H.sortIndex = me, t(l, H), f || h || (f = !0, W(x))), H; + }, e.unstable_shouldYield = w, e.unstable_wrapCallback = function(H) { + var J = p; + return function() { + var B = p; + p = J; + try { + return H.apply(this, arguments); + } finally { + p = B; + } + }; + }; +})(Yw); +Qw.exports = Yw; +var nL = Qw.exports; +/** + * @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 Xw = D, nn = nL; +function ce(e) { + for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, r = 1; r < arguments.length; r++) + t += "&args[]=" + encodeURIComponent(arguments[r]); + return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; +} +var Zw = /* @__PURE__ */ new Set(), Mp = {}; +function nu(e, t) { + Ec(e, t), Ec(e + "Capture", t); +} +function Ec(e, t) { + for (Mp[e] = t, e = 0; e < t.length; e++) + Zw.add(t[e]); +} +var Fo = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), p2 = Object.prototype.hasOwnProperty, aL = /^[: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]*$/, fE = {}, gE = {}; +function oL(e) { + return p2.call(gE, e) ? !0 : p2.call(fE, e) ? !1 : aL.test(e) ? gE[e] = !0 : (fE[e] = !0, !1); +} +function sL(e, t, r, i) { + if (r !== null && r.type === 0) + return !1; + switch (typeof t) { + case "function": + case "symbol": + return !0; + case "boolean": + return i ? !1 : r !== null ? !r.acceptsBooleans : (e = e.toLowerCase().slice(0, 5), e !== "data-" && e !== "aria-"); + default: + return !1; + } +} +function lL(e, t, r, i) { + if (t === null || typeof t > "u" || sL(e, t, r, i)) + return !0; + if (i) + return !1; + if (r !== null) + switch (r.type) { + case 3: + return !t; + case 4: + return t === !1; + case 5: + return isNaN(t); + case 6: + return isNaN(t) || 1 > t; + } + return !1; +} +function ci(e, t, r, i, n, a, o) { + this.acceptsBooleans = t === 2 || t === 3 || t === 4, this.attributeName = i, this.attributeNamespace = n, this.mustUseProperty = r, this.propertyName = e, this.type = t, this.sanitizeURL = a, this.removeEmptyString = o; +} +var jr = {}; +"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e) { + jr[e] = new ci(e, 0, !1, e, null, !1, !1); +}); +[["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(e) { + var t = e[0]; + jr[t] = new ci(t, 1, !1, e[1], null, !1, !1); +}); +["contentEditable", "draggable", "spellCheck", "value"].forEach(function(e) { + jr[e] = new ci(e, 2, !1, e.toLowerCase(), null, !1, !1); +}); +["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(e) { + jr[e] = new ci(e, 2, !1, e, null, !1, !1); +}); +"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(e) { + jr[e] = new ci(e, 3, !1, e.toLowerCase(), null, !1, !1); +}); +["checked", "multiple", "muted", "selected"].forEach(function(e) { + jr[e] = new ci(e, 3, !0, e, null, !1, !1); +}); +["capture", "download"].forEach(function(e) { + jr[e] = new ci(e, 4, !1, e, null, !1, !1); +}); +["cols", "rows", "size", "span"].forEach(function(e) { + jr[e] = new ci(e, 6, !1, e, null, !1, !1); +}); +["rowSpan", "start"].forEach(function(e) { + jr[e] = new ci(e, 5, !1, e.toLowerCase(), null, !1, !1); +}); +var L5 = /[\-:]([a-z])/g; +function M5(e) { + return e[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(e) { + var t = e.replace( + L5, + M5 + ); + jr[t] = new ci(t, 1, !1, e, null, !1, !1); +}); +"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e) { + var t = e.replace(L5, M5); + jr[t] = new ci(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1); +}); +["xml:base", "xml:lang", "xml:space"].forEach(function(e) { + var t = e.replace(L5, M5); + jr[t] = new ci(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1); +}); +["tabIndex", "crossOrigin"].forEach(function(e) { + jr[e] = new ci(e, 1, !1, e.toLowerCase(), null, !1, !1); +}); +jr.xlinkHref = new ci("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1); +["src", "href", "action", "formAction"].forEach(function(e) { + jr[e] = new ci(e, 1, !1, e.toLowerCase(), null, !0, !0); +}); +function j5(e, t, r, i) { + var n = jr.hasOwnProperty(t) ? jr[t] : null; + (n !== null ? n.type !== 0 : i || !(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (lL(t, r, n, i) && (r = null), i || n === null ? oL(t) && (r === null ? e.removeAttribute(t) : e.setAttribute(t, "" + r)) : n.mustUseProperty ? e[n.propertyName] = r === null ? n.type === 3 ? !1 : "" : r : (t = n.attributeName, i = n.attributeNamespace, r === null ? e.removeAttribute(t) : (n = n.type, r = n === 3 || n === 4 && r === !0 ? "" : "" + r, i ? e.setAttributeNS(i, t, r) : e.setAttribute(t, r)))); +} +var Lo = Xw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, D1 = Symbol.for("react.element"), Hu = Symbol.for("react.portal"), Uu = Symbol.for("react.fragment"), $5 = Symbol.for("react.strict_mode"), h2 = Symbol.for("react.profiler"), Jw = Symbol.for("react.provider"), eF = Symbol.for("react.context"), H5 = Symbol.for("react.forward_ref"), f2 = Symbol.for("react.suspense"), g2 = Symbol.for("react.suspense_list"), U5 = Symbol.for("react.memo"), ns = Symbol.for("react.lazy"), tF = Symbol.for("react.offscreen"), mE = Symbol.iterator; +function vd(e) { + return e === null || typeof e != "object" ? null : (e = mE && e[mE] || e["@@iterator"], typeof e == "function" ? e : null); +} +var tr = Object.assign, uk; +function Yd(e) { + if (uk === void 0) + try { + throw Error(); + } catch (r) { + var t = r.stack.trim().match(/\n( *(at )?)/); + uk = t && t[1] || ""; + } + return ` +` + uk + e; +} +var ck = !1; +function dk(e, t) { + if (!e || ck) + return ""; + ck = !0; + var r = Error.prepareStackTrace; + Error.prepareStackTrace = void 0; + try { + if (t) + if (t = function() { + throw Error(); + }, Object.defineProperty(t.prototype, "props", { set: function() { + throw Error(); + } }), typeof Reflect == "object" && Reflect.construct) { + try { + Reflect.construct(t, []); + } catch (u) { + var i = u; + } + Reflect.construct(e, [], t); + } else { + try { + t.call(); + } catch (u) { + i = u; + } + e.call(t.prototype); + } + else { + try { + throw Error(); + } catch (u) { + i = u; + } + e(); + } + } catch (u) { + if (u && i && typeof u.stack == "string") { + for (var n = u.stack.split(` +`), a = i.stack.split(` +`), o = n.length - 1, s = a.length - 1; 1 <= o && 0 <= s && n[o] !== a[s]; ) + s--; + for (; 1 <= o && 0 <= s; o--, s--) + if (n[o] !== a[s]) { + if (o !== 1 || s !== 1) + do + if (o--, s--, 0 > s || n[o] !== a[s]) { + var l = ` +` + n[o].replace(" at new ", " at "); + return e.displayName && l.includes("") && (l = l.replace("", e.displayName)), l; + } + while (1 <= o && 0 <= s); + break; + } + } + } finally { + ck = !1, Error.prepareStackTrace = r; + } + return (e = e ? e.displayName || e.name : "") ? Yd(e) : ""; +} +function uL(e) { + switch (e.tag) { + case 5: + return Yd(e.type); + case 16: + return Yd("Lazy"); + case 13: + return Yd("Suspense"); + case 19: + return Yd("SuspenseList"); + case 0: + case 2: + case 15: + return e = dk(e.type, !1), e; + case 11: + return e = dk(e.type.render, !1), e; + case 1: + return e = dk(e.type, !0), e; + default: + return ""; + } +} +function m2(e) { + if (e == null) + return null; + if (typeof e == "function") + return e.displayName || e.name || null; + if (typeof e == "string") + return e; + switch (e) { + case Uu: + return "Fragment"; + case Hu: + return "Portal"; + case h2: + return "Profiler"; + case $5: + return "StrictMode"; + case f2: + return "Suspense"; + case g2: + return "SuspenseList"; + } + if (typeof e == "object") + switch (e.$$typeof) { + case eF: + return (e.displayName || "Context") + ".Consumer"; + case Jw: + return (e._context.displayName || "Context") + ".Provider"; + case H5: + var t = e.render; + return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e; + case U5: + return t = e.displayName || null, t !== null ? t : m2(e.type) || "Memo"; + case ns: + t = e._payload, e = e._init; + try { + return m2(e(t)); + } catch { + } + } + return null; +} +function cL(e) { + var t = e.type; + switch (e.tag) { + case 24: + return "Cache"; + case 9: + return (t.displayName || "Context") + ".Consumer"; + case 10: + return (t._context.displayName || "Context") + ".Provider"; + case 18: + return "DehydratedFragment"; + case 11: + return e = t.render, e = e.displayName || e.name || "", t.displayName || (e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"); + case 7: + return "Fragment"; + case 5: + return t; + case 4: + return "Portal"; + case 3: + return "Root"; + case 6: + return "Text"; + case 16: + return m2(t); + case 8: + return t === $5 ? "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 t == "function") + return t.displayName || t.name || null; + if (typeof t == "string") + return t; + } + return null; +} +function Bs(e) { + switch (typeof e) { + case "boolean": + case "number": + case "string": + case "undefined": + return e; + case "object": + return e; + default: + return ""; + } +} +function rF(e) { + var t = e.type; + return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio"); +} +function dL(e) { + var t = rF(e) ? "checked" : "value", r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), i = "" + e[t]; + if (!e.hasOwnProperty(t) && typeof r < "u" && typeof r.get == "function" && typeof r.set == "function") { + var n = r.get, a = r.set; + return Object.defineProperty(e, t, { configurable: !0, get: function() { + return n.call(this); + }, set: function(o) { + i = "" + o, a.call(this, o); + } }), Object.defineProperty(e, t, { enumerable: r.enumerable }), { getValue: function() { + return i; + }, setValue: function(o) { + i = "" + o; + }, stopTracking: function() { + e._valueTracker = null, delete e[t]; + } }; + } +} +function y1(e) { + e._valueTracker || (e._valueTracker = dL(e)); +} +function iF(e) { + if (!e) + return !1; + var t = e._valueTracker; + if (!t) + return !0; + var r = t.getValue(), i = ""; + return e && (i = rF(e) ? e.checked ? "true" : "false" : e.value), e = i, e !== r ? (t.setValue(e), !0) : !1; +} +function yf(e) { + if (e = e || (typeof document < "u" ? document : void 0), typeof e > "u") + return null; + try { + return e.activeElement || e.body; + } catch { + return e.body; + } +} +function v2(e, t) { + var r = t.checked; + return tr({}, t, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: r ?? e._wrapperState.initialChecked }); +} +function vE(e, t) { + var r = t.defaultValue == null ? "" : t.defaultValue, i = t.checked != null ? t.checked : t.defaultChecked; + r = Bs(t.value != null ? t.value : r), e._wrapperState = { initialChecked: i, initialValue: r, controlled: t.type === "checkbox" || t.type === "radio" ? t.checked != null : t.value != null }; +} +function nF(e, t) { + t = t.checked, t != null && j5(e, "checked", t, !1); +} +function k2(e, t) { + nF(e, t); + var r = Bs(t.value), i = t.type; + if (r != null) + i === "number" ? (r === 0 && e.value === "" || e.value != r) && (e.value = "" + r) : e.value !== "" + r && (e.value = "" + r); + else if (i === "submit" || i === "reset") { + e.removeAttribute("value"); + return; + } + t.hasOwnProperty("value") ? b2(e, t.type, r) : t.hasOwnProperty("defaultValue") && b2(e, t.type, Bs(t.defaultValue)), t.checked == null && t.defaultChecked != null && (e.defaultChecked = !!t.defaultChecked); +} +function kE(e, t, r) { + if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) { + var i = t.type; + if (!(i !== "submit" && i !== "reset" || t.value !== void 0 && t.value !== null)) + return; + t = "" + e._wrapperState.initialValue, r || t === e.value || (e.value = t), e.defaultValue = t; + } + r = e.name, r !== "" && (e.name = ""), e.defaultChecked = !!e._wrapperState.initialChecked, r !== "" && (e.name = r); +} +function b2(e, t, r) { + (t !== "number" || yf(e.ownerDocument) !== e) && (r == null ? e.defaultValue = "" + e._wrapperState.initialValue : e.defaultValue !== "" + r && (e.defaultValue = "" + r)); +} +var Xd = Array.isArray; +function sc(e, t, r, i) { + if (e = e.options, t) { + t = {}; + for (var n = 0; n < r.length; n++) + t["$" + r[n]] = !0; + for (r = 0; r < e.length; r++) + n = t.hasOwnProperty("$" + e[r].value), e[r].selected !== n && (e[r].selected = n), n && i && (e[r].defaultSelected = !0); + } else { + for (r = "" + Bs(r), t = null, n = 0; n < e.length; n++) { + if (e[n].value === r) { + e[n].selected = !0, i && (e[n].defaultSelected = !0); + return; + } + t !== null || e[n].disabled || (t = e[n]); + } + t !== null && (t.selected = !0); + } +} +function _2(e, t) { + if (t.dangerouslySetInnerHTML != null) + throw Error(ce(91)); + return tr({}, t, { value: void 0, defaultValue: void 0, children: "" + e._wrapperState.initialValue }); +} +function bE(e, t) { + var r = t.value; + if (r == null) { + if (r = t.children, t = t.defaultValue, r != null) { + if (t != null) + throw Error(ce(92)); + if (Xd(r)) { + if (1 < r.length) + throw Error(ce(93)); + r = r[0]; + } + t = r; + } + t == null && (t = ""), r = t; + } + e._wrapperState = { initialValue: Bs(r) }; +} +function aF(e, t) { + var r = Bs(t.value), i = Bs(t.defaultValue); + r != null && (r = "" + r, r !== e.value && (e.value = r), t.defaultValue == null && e.defaultValue !== r && (e.defaultValue = r)), i != null && (e.defaultValue = "" + i); +} +function _E(e) { + var t = e.textContent; + t === e._wrapperState.initialValue && t !== "" && t !== null && (e.value = t); +} +function oF(e) { + switch (e) { + 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 D2(e, t) { + return e == null || e === "http://www.w3.org/1999/xhtml" ? oF(t) : e === "http://www.w3.org/2000/svg" && t === "foreignObject" ? "http://www.w3.org/1999/xhtml" : e; +} +var E1, sF = function(e) { + return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(t, r, i, n) { + MSApp.execUnsafeLocalFunction(function() { + return e(t, r, i, n); + }); + } : e; +}(function(e, t) { + if (e.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in e) + e.innerHTML = t; + else { + for (E1 = E1 || document.createElement("div"), E1.innerHTML = "" + t.valueOf().toString() + "", t = E1.firstChild; e.firstChild; ) + e.removeChild(e.firstChild); + for (; t.firstChild; ) + e.appendChild(t.firstChild); + } +}); +function jp(e, t) { + if (t) { + var r = e.firstChild; + if (r && r === e.lastChild && r.nodeType === 3) { + r.nodeValue = t; + return; + } + } + e.textContent = t; +} +var cp = { + animationIterationCount: !0, + aspectRatio: !0, + borderImageOutset: !0, + borderImageSlice: !0, + borderImageWidth: !0, + boxFlex: !0, + boxFlexGroup: !0, + boxOrdinalGroup: !0, + columnCount: !0, + columns: !0, + flex: !0, + flexGrow: !0, + flexPositive: !0, + flexShrink: !0, + flexNegative: !0, + flexOrder: !0, + gridArea: !0, + gridRow: !0, + gridRowEnd: !0, + gridRowSpan: !0, + gridRowStart: !0, + gridColumn: !0, + gridColumnEnd: !0, + gridColumnSpan: !0, + gridColumnStart: !0, + fontWeight: !0, + lineClamp: !0, + lineHeight: !0, + opacity: !0, + order: !0, + orphans: !0, + tabSize: !0, + widows: !0, + zIndex: !0, + zoom: !0, + fillOpacity: !0, + floodOpacity: !0, + stopOpacity: !0, + strokeDasharray: !0, + strokeDashoffset: !0, + strokeMiterlimit: !0, + strokeOpacity: !0, + strokeWidth: !0 +}, pL = ["Webkit", "ms", "Moz", "O"]; +Object.keys(cp).forEach(function(e) { + pL.forEach(function(t) { + t = t + e.charAt(0).toUpperCase() + e.substring(1), cp[t] = cp[e]; + }); +}); +function lF(e, t, r) { + return t == null || typeof t == "boolean" || t === "" ? "" : r || typeof t != "number" || t === 0 || cp.hasOwnProperty(e) && cp[e] ? ("" + t).trim() : t + "px"; +} +function uF(e, t) { + e = e.style; + for (var r in t) + if (t.hasOwnProperty(r)) { + var i = r.indexOf("--") === 0, n = lF(r, t[r], i); + r === "float" && (r = "cssFloat"), i ? e.setProperty(r, n) : e[r] = n; + } +} +var hL = tr({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 }); +function y2(e, t) { + if (t) { + if (hL[e] && (t.children != null || t.dangerouslySetInnerHTML != null)) + throw Error(ce(137, e)); + if (t.dangerouslySetInnerHTML != null) { + if (t.children != null) + throw Error(ce(60)); + if (typeof t.dangerouslySetInnerHTML != "object" || !("__html" in t.dangerouslySetInnerHTML)) + throw Error(ce(61)); + } + if (t.style != null && typeof t.style != "object") + throw Error(ce(62)); + } +} +function E2(e, t) { + if (e.indexOf("-") === -1) + return typeof t.is == "string"; + switch (e) { + 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 !1; + default: + return !0; + } +} +var C2 = null; +function V5(e) { + return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e; +} +var x2 = null, lc = null, uc = null; +function DE(e) { + if (e = T0(e)) { + if (typeof x2 != "function") + throw Error(ce(280)); + var t = e.stateNode; + t && (t = im(t), x2(e.stateNode, e.type, t)); + } +} +function cF(e) { + lc ? uc ? uc.push(e) : uc = [e] : lc = e; +} +function dF() { + if (lc) { + var e = lc, t = uc; + if (uc = lc = null, DE(e), t) + for (e = 0; e < t.length; e++) + DE(t[e]); + } +} +function pF(e, t) { + return e(t); +} +function hF() { +} +var pk = !1; +function fF(e, t, r) { + if (pk) + return e(t, r); + pk = !0; + try { + return pF(e, t, r); + } finally { + pk = !1, (lc !== null || uc !== null) && (hF(), dF()); + } +} +function $p(e, t) { + var r = e.stateNode; + if (r === null) + return null; + var i = im(r); + if (i === null) + return null; + r = i[t]; + e: + switch (t) { + case "onClick": + case "onClickCapture": + case "onDoubleClick": + case "onDoubleClickCapture": + case "onMouseDown": + case "onMouseDownCapture": + case "onMouseMove": + case "onMouseMoveCapture": + case "onMouseUp": + case "onMouseUpCapture": + case "onMouseEnter": + (i = !i.disabled) || (e = e.type, i = !(e === "button" || e === "input" || e === "select" || e === "textarea")), e = !i; + break e; + default: + e = !1; + } + if (e) + return null; + if (r && typeof r != "function") + throw Error(ce(231, t, typeof r)); + return r; +} +var A2 = !1; +if (Fo) + try { + var kd = {}; + Object.defineProperty(kd, "passive", { get: function() { + A2 = !0; + } }), window.addEventListener("test", kd, kd), window.removeEventListener("test", kd, kd); + } catch { + A2 = !1; + } +function fL(e, t, r, i, n, a, o, s, l) { + var u = Array.prototype.slice.call(arguments, 3); + try { + t.apply(r, u); + } catch (c) { + this.onError(c); + } +} +var dp = !1, Ef = null, Cf = !1, w2 = null, gL = { onError: function(e) { + dp = !0, Ef = e; +} }; +function mL(e, t, r, i, n, a, o, s, l) { + dp = !1, Ef = null, fL.apply(gL, arguments); +} +function vL(e, t, r, i, n, a, o, s, l) { + if (mL.apply(this, arguments), dp) { + if (dp) { + var u = Ef; + dp = !1, Ef = null; + } else + throw Error(ce(198)); + Cf || (Cf = !0, w2 = u); + } +} +function au(e) { + var t = e, r = e; + if (e.alternate) + for (; t.return; ) + t = t.return; + else { + e = t; + do + t = e, t.flags & 4098 && (r = t.return), e = t.return; + while (e); + } + return t.tag === 3 ? r : null; +} +function gF(e) { + if (e.tag === 13) { + var t = e.memoizedState; + if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) + return t.dehydrated; + } + return null; +} +function yE(e) { + if (au(e) !== e) + throw Error(ce(188)); +} +function kL(e) { + var t = e.alternate; + if (!t) { + if (t = au(e), t === null) + throw Error(ce(188)); + return t !== e ? null : e; + } + for (var r = e, i = t; ; ) { + var n = r.return; + if (n === null) + break; + var a = n.alternate; + if (a === null) { + if (i = n.return, i !== null) { + r = i; + continue; + } + break; + } + if (n.child === a.child) { + for (a = n.child; a; ) { + if (a === r) + return yE(n), e; + if (a === i) + return yE(n), t; + a = a.sibling; + } + throw Error(ce(188)); + } + if (r.return !== i.return) + r = n, i = a; + else { + for (var o = !1, s = n.child; s; ) { + if (s === r) { + o = !0, r = n, i = a; + break; + } + if (s === i) { + o = !0, i = n, r = a; + break; + } + s = s.sibling; + } + if (!o) { + for (s = a.child; s; ) { + if (s === r) { + o = !0, r = a, i = n; + break; + } + if (s === i) { + o = !0, i = a, r = n; + break; + } + s = s.sibling; + } + if (!o) + throw Error(ce(189)); + } + } + if (r.alternate !== i) + throw Error(ce(190)); + } + if (r.tag !== 3) + throw Error(ce(188)); + return r.stateNode.current === r ? e : t; +} +function mF(e) { + return e = kL(e), e !== null ? vF(e) : null; +} +function vF(e) { + if (e.tag === 5 || e.tag === 6) + return e; + for (e = e.child; e !== null; ) { + var t = vF(e); + if (t !== null) + return t; + e = e.sibling; + } + return null; +} +var kF = nn.unstable_scheduleCallback, EE = nn.unstable_cancelCallback, bL = nn.unstable_shouldYield, _L = nn.unstable_requestPaint, lr = nn.unstable_now, DL = nn.unstable_getCurrentPriorityLevel, G5 = nn.unstable_ImmediatePriority, bF = nn.unstable_UserBlockingPriority, xf = nn.unstable_NormalPriority, yL = nn.unstable_LowPriority, _F = nn.unstable_IdlePriority, Jg = null, Pa = null; +function EL(e) { + if (Pa && typeof Pa.onCommitFiberRoot == "function") + try { + Pa.onCommitFiberRoot(Jg, e, void 0, (e.current.flags & 128) === 128); + } catch { + } +} +var ia = Math.clz32 ? Math.clz32 : AL, CL = Math.log, xL = Math.LN2; +function AL(e) { + return e >>>= 0, e === 0 ? 32 : 31 - (CL(e) / xL | 0) | 0; +} +var C1 = 64, x1 = 4194304; +function Zd(e) { + switch (e & -e) { + 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 e & 4194240; + case 4194304: + case 8388608: + case 16777216: + case 33554432: + case 67108864: + return e & 130023424; + case 134217728: + return 134217728; + case 268435456: + return 268435456; + case 536870912: + return 536870912; + case 1073741824: + return 1073741824; + default: + return e; + } +} +function Af(e, t) { + var r = e.pendingLanes; + if (r === 0) + return 0; + var i = 0, n = e.suspendedLanes, a = e.pingedLanes, o = r & 268435455; + if (o !== 0) { + var s = o & ~n; + s !== 0 ? i = Zd(s) : (a &= o, a !== 0 && (i = Zd(a))); + } else + o = r & ~n, o !== 0 ? i = Zd(o) : a !== 0 && (i = Zd(a)); + if (i === 0) + return 0; + if (t !== 0 && t !== i && !(t & n) && (n = i & -i, a = t & -t, n >= a || n === 16 && (a & 4194240) !== 0)) + return t; + if (i & 4 && (i |= r & 16), t = e.entangledLanes, t !== 0) + for (e = e.entanglements, t &= i; 0 < t; ) + r = 31 - ia(t), n = 1 << r, i |= e[r], t &= ~n; + return i; +} +function wL(e, t) { + switch (e) { + case 1: + case 2: + case 4: + return t + 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 t + 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 FL(e, t) { + for (var r = e.suspendedLanes, i = e.pingedLanes, n = e.expirationTimes, a = e.pendingLanes; 0 < a; ) { + var o = 31 - ia(a), s = 1 << o, l = n[o]; + l === -1 ? (!(s & r) || s & i) && (n[o] = wL(s, t)) : l <= t && (e.expiredLanes |= s), a &= ~s; + } +} +function F2(e) { + return e = e.pendingLanes & -1073741825, e !== 0 ? e : e & 1073741824 ? 1073741824 : 0; +} +function DF() { + var e = C1; + return C1 <<= 1, !(C1 & 4194240) && (C1 = 64), e; +} +function hk(e) { + for (var t = [], r = 0; 31 > r; r++) + t.push(e); + return t; +} +function w0(e, t, r) { + e.pendingLanes |= t, t !== 536870912 && (e.suspendedLanes = 0, e.pingedLanes = 0), e = e.eventTimes, t = 31 - ia(t), e[t] = r; +} +function TL(e, t) { + var r = e.pendingLanes & ~t; + e.pendingLanes = t, e.suspendedLanes = 0, e.pingedLanes = 0, e.expiredLanes &= t, e.mutableReadLanes &= t, e.entangledLanes &= t, t = e.entanglements; + var i = e.eventTimes; + for (e = e.expirationTimes; 0 < r; ) { + var n = 31 - ia(r), a = 1 << n; + t[n] = 0, i[n] = -1, e[n] = -1, r &= ~a; + } +} +function W5(e, t) { + var r = e.entangledLanes |= t; + for (e = e.entanglements; r; ) { + var i = 31 - ia(r), n = 1 << i; + n & t | e[i] & t && (e[i] |= t), r &= ~n; + } +} +var yt = 0; +function yF(e) { + return e &= -e, 1 < e ? 4 < e ? e & 268435455 ? 16 : 536870912 : 4 : 1; +} +var EF, K5, CF, xF, AF, T2 = !1, A1 = [], Ds = null, ys = null, Es = null, Hp = /* @__PURE__ */ new Map(), Up = /* @__PURE__ */ new Map(), cs = [], SL = "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 CE(e, t) { + switch (e) { + case "focusin": + case "focusout": + Ds = null; + break; + case "dragenter": + case "dragleave": + ys = null; + break; + case "mouseover": + case "mouseout": + Es = null; + break; + case "pointerover": + case "pointerout": + Hp.delete(t.pointerId); + break; + case "gotpointercapture": + case "lostpointercapture": + Up.delete(t.pointerId); + } +} +function bd(e, t, r, i, n, a) { + return e === null || e.nativeEvent !== a ? (e = { blockedOn: t, domEventName: r, eventSystemFlags: i, nativeEvent: a, targetContainers: [n] }, t !== null && (t = T0(t), t !== null && K5(t)), e) : (e.eventSystemFlags |= i, t = e.targetContainers, n !== null && t.indexOf(n) === -1 && t.push(n), e); +} +function BL(e, t, r, i, n) { + switch (t) { + case "focusin": + return Ds = bd(Ds, e, t, r, i, n), !0; + case "dragenter": + return ys = bd(ys, e, t, r, i, n), !0; + case "mouseover": + return Es = bd(Es, e, t, r, i, n), !0; + case "pointerover": + var a = n.pointerId; + return Hp.set(a, bd(Hp.get(a) || null, e, t, r, i, n)), !0; + case "gotpointercapture": + return a = n.pointerId, Up.set(a, bd(Up.get(a) || null, e, t, r, i, n)), !0; + } + return !1; +} +function wF(e) { + var t = Fl(e.target); + if (t !== null) { + var r = au(t); + if (r !== null) { + if (t = r.tag, t === 13) { + if (t = gF(r), t !== null) { + e.blockedOn = t, AF(e.priority, function() { + CF(r); + }); + return; + } + } else if (t === 3 && r.stateNode.current.memoizedState.isDehydrated) { + e.blockedOn = r.tag === 3 ? r.stateNode.containerInfo : null; + return; + } + } + } + e.blockedOn = null; +} +function Oh(e) { + if (e.blockedOn !== null) + return !1; + for (var t = e.targetContainers; 0 < t.length; ) { + var r = S2(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent); + if (r === null) { + r = e.nativeEvent; + var i = new r.constructor(r.type, r); + C2 = i, r.target.dispatchEvent(i), C2 = null; + } else + return t = T0(r), t !== null && K5(t), e.blockedOn = r, !1; + t.shift(); + } + return !0; +} +function xE(e, t, r) { + Oh(e) && r.delete(t); +} +function IL() { + T2 = !1, Ds !== null && Oh(Ds) && (Ds = null), ys !== null && Oh(ys) && (ys = null), Es !== null && Oh(Es) && (Es = null), Hp.forEach(xE), Up.forEach(xE); +} +function _d(e, t) { + e.blockedOn === t && (e.blockedOn = null, T2 || (T2 = !0, nn.unstable_scheduleCallback(nn.unstable_NormalPriority, IL))); +} +function Vp(e) { + function t(n) { + return _d(n, e); + } + if (0 < A1.length) { + _d(A1[0], e); + for (var r = 1; r < A1.length; r++) { + var i = A1[r]; + i.blockedOn === e && (i.blockedOn = null); + } + } + for (Ds !== null && _d(Ds, e), ys !== null && _d(ys, e), Es !== null && _d(Es, e), Hp.forEach(t), Up.forEach(t), r = 0; r < cs.length; r++) + i = cs[r], i.blockedOn === e && (i.blockedOn = null); + for (; 0 < cs.length && (r = cs[0], r.blockedOn === null); ) + wF(r), r.blockedOn === null && cs.shift(); +} +var cc = Lo.ReactCurrentBatchConfig, wf = !0; +function OL(e, t, r, i) { + var n = yt, a = cc.transition; + cc.transition = null; + try { + yt = 1, q5(e, t, r, i); + } finally { + yt = n, cc.transition = a; + } +} +function NL(e, t, r, i) { + var n = yt, a = cc.transition; + cc.transition = null; + try { + yt = 4, q5(e, t, r, i); + } finally { + yt = n, cc.transition = a; + } +} +function q5(e, t, r, i) { + if (wf) { + var n = S2(e, t, r, i); + if (n === null) + Ek(e, t, i, Ff, r), CE(e, i); + else if (BL(n, e, t, r, i)) + i.stopPropagation(); + else if (CE(e, i), t & 4 && -1 < SL.indexOf(e)) { + for (; n !== null; ) { + var a = T0(n); + if (a !== null && EF(a), a = S2(e, t, r, i), a === null && Ek(e, t, i, Ff, r), a === n) + break; + n = a; + } + n !== null && i.stopPropagation(); + } else + Ek(e, t, i, null, r); + } +} +var Ff = null; +function S2(e, t, r, i) { + if (Ff = null, e = V5(i), e = Fl(e), e !== null) + if (t = au(e), t === null) + e = null; + else if (r = t.tag, r === 13) { + if (e = gF(t), e !== null) + return e; + e = null; + } else if (r === 3) { + if (t.stateNode.current.memoizedState.isDehydrated) + return t.tag === 3 ? t.stateNode.containerInfo : null; + e = null; + } else + t !== e && (e = null); + return Ff = e, null; +} +function FF(e) { + switch (e) { + 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 (DL()) { + case G5: + return 1; + case bF: + return 4; + case xf: + case yL: + return 16; + case _F: + return 536870912; + default: + return 16; + } + default: + return 16; + } +} +var hs = null, Q5 = null, Nh = null; +function TF() { + if (Nh) + return Nh; + var e, t = Q5, r = t.length, i, n = "value" in hs ? hs.value : hs.textContent, a = n.length; + for (e = 0; e < r && t[e] === n[e]; e++) + ; + var o = r - e; + for (i = 1; i <= o && t[r - i] === n[a - i]; i++) + ; + return Nh = n.slice(e, 1 < i ? 1 - i : void 0); +} +function Rh(e) { + var t = e.keyCode; + return "charCode" in e ? (e = e.charCode, e === 0 && t === 13 && (e = 13)) : e = t, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0; +} +function w1() { + return !0; +} +function AE() { + return !1; +} +function on(e) { + function t(r, i, n, a, o) { + this._reactName = r, this._targetInst = n, this.type = i, this.nativeEvent = a, this.target = o, this.currentTarget = null; + for (var s in e) + e.hasOwnProperty(s) && (r = e[s], this[s] = r ? r(a) : a[s]); + return this.isDefaultPrevented = (a.defaultPrevented != null ? a.defaultPrevented : a.returnValue === !1) ? w1 : AE, this.isPropagationStopped = AE, this; + } + return tr(t.prototype, { preventDefault: function() { + this.defaultPrevented = !0; + var r = this.nativeEvent; + r && (r.preventDefault ? r.preventDefault() : typeof r.returnValue != "unknown" && (r.returnValue = !1), this.isDefaultPrevented = w1); + }, stopPropagation: function() { + var r = this.nativeEvent; + r && (r.stopPropagation ? r.stopPropagation() : typeof r.cancelBubble != "unknown" && (r.cancelBubble = !0), this.isPropagationStopped = w1); + }, persist: function() { + }, isPersistent: w1 }), t; +} +var jc = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(e) { + return e.timeStamp || Date.now(); +}, defaultPrevented: 0, isTrusted: 0 }, Y5 = on(jc), F0 = tr({}, jc, { view: 0, detail: 0 }), RL = on(F0), fk, gk, Dd, em = tr({}, F0, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: X5, button: 0, buttons: 0, relatedTarget: function(e) { + return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget; +}, movementX: function(e) { + return "movementX" in e ? e.movementX : (e !== Dd && (Dd && e.type === "mousemove" ? (fk = e.screenX - Dd.screenX, gk = e.screenY - Dd.screenY) : gk = fk = 0, Dd = e), fk); +}, movementY: function(e) { + return "movementY" in e ? e.movementY : gk; +} }), wE = on(em), zL = tr({}, em, { dataTransfer: 0 }), PL = on(zL), LL = tr({}, F0, { relatedTarget: 0 }), mk = on(LL), ML = tr({}, jc, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), jL = on(ML), $L = tr({}, jc, { clipboardData: function(e) { + return "clipboardData" in e ? e.clipboardData : window.clipboardData; +} }), HL = on($L), UL = tr({}, jc, { data: 0 }), FE = on(UL), VL = { + Esc: "Escape", + Spacebar: " ", + Left: "ArrowLeft", + Up: "ArrowUp", + Right: "ArrowRight", + Down: "ArrowDown", + Del: "Delete", + Win: "OS", + Menu: "ContextMenu", + Apps: "ContextMenu", + Scroll: "ScrollLock", + MozPrintableKey: "Unidentified" +}, GL = { + 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" +}, WL = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; +function KL(e) { + var t = this.nativeEvent; + return t.getModifierState ? t.getModifierState(e) : (e = WL[e]) ? !!t[e] : !1; +} +function X5() { + return KL; +} +var qL = tr({}, F0, { key: function(e) { + if (e.key) { + var t = VL[e.key] || e.key; + if (t !== "Unidentified") + return t; + } + return e.type === "keypress" ? (e = Rh(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? GL[e.keyCode] || "Unidentified" : ""; +}, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: X5, charCode: function(e) { + return e.type === "keypress" ? Rh(e) : 0; +}, keyCode: function(e) { + return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0; +}, which: function(e) { + return e.type === "keypress" ? Rh(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0; +} }), QL = on(qL), YL = tr({}, em, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), TE = on(YL), XL = tr({}, F0, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: X5 }), ZL = on(XL), JL = tr({}, jc, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), eM = on(JL), tM = tr({}, em, { + deltaX: function(e) { + return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0; + }, + deltaY: function(e) { + return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0; + }, + deltaZ: 0, + deltaMode: 0 +}), rM = on(tM), iM = [9, 13, 27, 32], Z5 = Fo && "CompositionEvent" in window, pp = null; +Fo && "documentMode" in document && (pp = document.documentMode); +var nM = Fo && "TextEvent" in window && !pp, SF = Fo && (!Z5 || pp && 8 < pp && 11 >= pp), SE = String.fromCharCode(32), BE = !1; +function BF(e, t) { + switch (e) { + case "keyup": + return iM.indexOf(t.keyCode) !== -1; + case "keydown": + return t.keyCode !== 229; + case "keypress": + case "mousedown": + case "focusout": + return !0; + default: + return !1; + } +} +function IF(e) { + return e = e.detail, typeof e == "object" && "data" in e ? e.data : null; +} +var Vu = !1; +function aM(e, t) { + switch (e) { + case "compositionend": + return IF(t); + case "keypress": + return t.which !== 32 ? null : (BE = !0, SE); + case "textInput": + return e = t.data, e === SE && BE ? null : e; + default: + return null; + } +} +function oM(e, t) { + if (Vu) + return e === "compositionend" || !Z5 && BF(e, t) ? (e = TF(), Nh = Q5 = hs = null, Vu = !1, e) : null; + switch (e) { + case "paste": + return null; + case "keypress": + if (!(t.ctrlKey || t.altKey || t.metaKey) || t.ctrlKey && t.altKey) { + if (t.char && 1 < t.char.length) + return t.char; + if (t.which) + return String.fromCharCode(t.which); + } + return null; + case "compositionend": + return SF && t.locale !== "ko" ? null : t.data; + default: + return null; + } +} +var sM = { color: !0, date: !0, datetime: !0, "datetime-local": !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0, tel: !0, text: !0, time: !0, url: !0, week: !0 }; +function IE(e) { + var t = e && e.nodeName && e.nodeName.toLowerCase(); + return t === "input" ? !!sM[e.type] : t === "textarea"; +} +function OF(e, t, r, i) { + cF(i), t = Tf(t, "onChange"), 0 < t.length && (r = new Y5("onChange", "change", null, r, i), e.push({ event: r, listeners: t })); +} +var hp = null, Gp = null; +function lM(e) { + VF(e, 0); +} +function tm(e) { + var t = Ku(e); + if (iF(t)) + return e; +} +function uM(e, t) { + if (e === "change") + return t; +} +var NF = !1; +if (Fo) { + var vk; + if (Fo) { + var kk = "oninput" in document; + if (!kk) { + var OE = document.createElement("div"); + OE.setAttribute("oninput", "return;"), kk = typeof OE.oninput == "function"; + } + vk = kk; + } else + vk = !1; + NF = vk && (!document.documentMode || 9 < document.documentMode); +} +function NE() { + hp && (hp.detachEvent("onpropertychange", RF), Gp = hp = null); +} +function RF(e) { + if (e.propertyName === "value" && tm(Gp)) { + var t = []; + OF(t, Gp, e, V5(e)), fF(lM, t); + } +} +function cM(e, t, r) { + e === "focusin" ? (NE(), hp = t, Gp = r, hp.attachEvent("onpropertychange", RF)) : e === "focusout" && NE(); +} +function dM(e) { + if (e === "selectionchange" || e === "keyup" || e === "keydown") + return tm(Gp); +} +function pM(e, t) { + if (e === "click") + return tm(t); +} +function hM(e, t) { + if (e === "input" || e === "change") + return tm(t); +} +function fM(e, t) { + return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t; +} +var la = typeof Object.is == "function" ? Object.is : fM; +function Wp(e, t) { + if (la(e, t)) + return !0; + if (typeof e != "object" || e === null || typeof t != "object" || t === null) + return !1; + var r = Object.keys(e), i = Object.keys(t); + if (r.length !== i.length) + return !1; + for (i = 0; i < r.length; i++) { + var n = r[i]; + if (!p2.call(t, n) || !la(e[n], t[n])) + return !1; + } + return !0; +} +function RE(e) { + for (; e && e.firstChild; ) + e = e.firstChild; + return e; +} +function zE(e, t) { + var r = RE(e); + e = 0; + for (var i; r; ) { + if (r.nodeType === 3) { + if (i = e + r.textContent.length, e <= t && i >= t) + return { node: r, offset: t - e }; + e = i; + } + e: { + for (; r; ) { + if (r.nextSibling) { + r = r.nextSibling; + break e; + } + r = r.parentNode; + } + r = void 0; + } + r = RE(r); + } +} +function zF(e, t) { + return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? zF(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1; +} +function PF() { + for (var e = window, t = yf(); t instanceof e.HTMLIFrameElement; ) { + try { + var r = typeof t.contentWindow.location.href == "string"; + } catch { + r = !1; + } + if (r) + e = t.contentWindow; + else + break; + t = yf(e.document); + } + return t; +} +function J5(e) { + var t = e && e.nodeName && e.nodeName.toLowerCase(); + return t && (t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password") || t === "textarea" || e.contentEditable === "true"); +} +function gM(e) { + var t = PF(), r = e.focusedElem, i = e.selectionRange; + if (t !== r && r && r.ownerDocument && zF(r.ownerDocument.documentElement, r)) { + if (i !== null && J5(r)) { + if (t = i.start, e = i.end, e === void 0 && (e = t), "selectionStart" in r) + r.selectionStart = t, r.selectionEnd = Math.min(e, r.value.length); + else if (e = (t = r.ownerDocument || document) && t.defaultView || window, e.getSelection) { + e = e.getSelection(); + var n = r.textContent.length, a = Math.min(i.start, n); + i = i.end === void 0 ? a : Math.min(i.end, n), !e.extend && a > i && (n = i, i = a, a = n), n = zE(r, a); + var o = zE( + r, + i + ); + n && o && (e.rangeCount !== 1 || e.anchorNode !== n.node || e.anchorOffset !== n.offset || e.focusNode !== o.node || e.focusOffset !== o.offset) && (t = t.createRange(), t.setStart(n.node, n.offset), e.removeAllRanges(), a > i ? (e.addRange(t), e.extend(o.node, o.offset)) : (t.setEnd(o.node, o.offset), e.addRange(t))); + } + } + for (t = [], e = r; e = e.parentNode; ) + e.nodeType === 1 && t.push({ element: e, left: e.scrollLeft, top: e.scrollTop }); + for (typeof r.focus == "function" && r.focus(), r = 0; r < t.length; r++) + e = t[r], e.element.scrollLeft = e.left, e.element.scrollTop = e.top; + } +} +var mM = Fo && "documentMode" in document && 11 >= document.documentMode, Gu = null, B2 = null, fp = null, I2 = !1; +function PE(e, t, r) { + var i = r.window === r ? r.document : r.nodeType === 9 ? r : r.ownerDocument; + I2 || Gu == null || Gu !== yf(i) || (i = Gu, "selectionStart" in i && J5(i) ? i = { start: i.selectionStart, end: i.selectionEnd } : (i = (i.ownerDocument && i.ownerDocument.defaultView || window).getSelection(), i = { anchorNode: i.anchorNode, anchorOffset: i.anchorOffset, focusNode: i.focusNode, focusOffset: i.focusOffset }), fp && Wp(fp, i) || (fp = i, i = Tf(B2, "onSelect"), 0 < i.length && (t = new Y5("onSelect", "select", null, t, r), e.push({ event: t, listeners: i }), t.target = Gu))); +} +function F1(e, t) { + var r = {}; + return r[e.toLowerCase()] = t.toLowerCase(), r["Webkit" + e] = "webkit" + t, r["Moz" + e] = "moz" + t, r; +} +var Wu = { animationend: F1("Animation", "AnimationEnd"), animationiteration: F1("Animation", "AnimationIteration"), animationstart: F1("Animation", "AnimationStart"), transitionend: F1("Transition", "TransitionEnd") }, bk = {}, LF = {}; +Fo && (LF = document.createElement("div").style, "AnimationEvent" in window || (delete Wu.animationend.animation, delete Wu.animationiteration.animation, delete Wu.animationstart.animation), "TransitionEvent" in window || delete Wu.transitionend.transition); +function rm(e) { + if (bk[e]) + return bk[e]; + if (!Wu[e]) + return e; + var t = Wu[e], r; + for (r in t) + if (t.hasOwnProperty(r) && r in LF) + return bk[e] = t[r]; + return e; +} +var MF = rm("animationend"), jF = rm("animationiteration"), $F = rm("animationstart"), HF = rm("transitionend"), UF = /* @__PURE__ */ new Map(), LE = "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 Ws(e, t) { + UF.set(e, t), nu(t, [e]); +} +for (var _k = 0; _k < LE.length; _k++) { + var Dk = LE[_k], vM = Dk.toLowerCase(), kM = Dk[0].toUpperCase() + Dk.slice(1); + Ws(vM, "on" + kM); +} +Ws(MF, "onAnimationEnd"); +Ws(jF, "onAnimationIteration"); +Ws($F, "onAnimationStart"); +Ws("dblclick", "onDoubleClick"); +Ws("focusin", "onFocus"); +Ws("focusout", "onBlur"); +Ws(HF, "onTransitionEnd"); +Ec("onMouseEnter", ["mouseout", "mouseover"]); +Ec("onMouseLeave", ["mouseout", "mouseover"]); +Ec("onPointerEnter", ["pointerout", "pointerover"]); +Ec("onPointerLeave", ["pointerout", "pointerover"]); +nu("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")); +nu("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")); +nu("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]); +nu("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")); +nu("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")); +nu("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ")); +var Jd = "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(" "), bM = new Set("cancel close invalid load scroll toggle".split(" ").concat(Jd)); +function ME(e, t, r) { + var i = e.type || "unknown-event"; + e.currentTarget = r, vL(i, t, void 0, e), e.currentTarget = null; +} +function VF(e, t) { + t = (t & 4) !== 0; + for (var r = 0; r < e.length; r++) { + var i = e[r], n = i.event; + i = i.listeners; + e: { + var a = void 0; + if (t) + for (var o = i.length - 1; 0 <= o; o--) { + var s = i[o], l = s.instance, u = s.currentTarget; + if (s = s.listener, l !== a && n.isPropagationStopped()) + break e; + ME(n, s, u), a = l; + } + else + for (o = 0; o < i.length; o++) { + if (s = i[o], l = s.instance, u = s.currentTarget, s = s.listener, l !== a && n.isPropagationStopped()) + break e; + ME(n, s, u), a = l; + } + } + } + if (Cf) + throw e = w2, Cf = !1, w2 = null, e; +} +function $t(e, t) { + var r = t[P2]; + r === void 0 && (r = t[P2] = /* @__PURE__ */ new Set()); + var i = e + "__bubble"; + r.has(i) || (GF(t, e, 2, !1), r.add(i)); +} +function yk(e, t, r) { + var i = 0; + t && (i |= 4), GF(r, e, i, t); +} +var T1 = "_reactListening" + Math.random().toString(36).slice(2); +function Kp(e) { + if (!e[T1]) { + e[T1] = !0, Zw.forEach(function(r) { + r !== "selectionchange" && (bM.has(r) || yk(r, !1, e), yk(r, !0, e)); + }); + var t = e.nodeType === 9 ? e : e.ownerDocument; + t === null || t[T1] || (t[T1] = !0, yk("selectionchange", !1, t)); + } +} +function GF(e, t, r, i) { + switch (FF(t)) { + case 1: + var n = OL; + break; + case 4: + n = NL; + break; + default: + n = q5; + } + r = n.bind(null, t, r, e), n = void 0, !A2 || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (n = !0), i ? n !== void 0 ? e.addEventListener(t, r, { capture: !0, passive: n }) : e.addEventListener(t, r, !0) : n !== void 0 ? e.addEventListener(t, r, { passive: n }) : e.addEventListener(t, r, !1); +} +function Ek(e, t, r, i, n) { + var a = i; + if (!(t & 1) && !(t & 2) && i !== null) + e: + for (; ; ) { + if (i === null) + return; + var o = i.tag; + if (o === 3 || o === 4) { + var s = i.stateNode.containerInfo; + if (s === n || s.nodeType === 8 && s.parentNode === n) + break; + if (o === 4) + for (o = i.return; o !== null; ) { + var l = o.tag; + if ((l === 3 || l === 4) && (l = o.stateNode.containerInfo, l === n || l.nodeType === 8 && l.parentNode === n)) + return; + o = o.return; + } + for (; s !== null; ) { + if (o = Fl(s), o === null) + return; + if (l = o.tag, l === 5 || l === 6) { + i = a = o; + continue e; + } + s = s.parentNode; + } + } + i = i.return; + } + fF(function() { + var u = a, c = V5(r), d = []; + e: { + var p = UF.get(e); + if (p !== void 0) { + var h = Y5, f = e; + switch (e) { + case "keypress": + if (Rh(r) === 0) + break e; + case "keydown": + case "keyup": + h = QL; + break; + case "focusin": + f = "focus", h = mk; + break; + case "focusout": + f = "blur", h = mk; + break; + case "beforeblur": + case "afterblur": + h = mk; + break; + case "click": + if (r.button === 2) + break e; + case "auxclick": + case "dblclick": + case "mousedown": + case "mousemove": + case "mouseup": + case "mouseout": + case "mouseover": + case "contextmenu": + h = wE; + break; + case "drag": + case "dragend": + case "dragenter": + case "dragexit": + case "dragleave": + case "dragover": + case "dragstart": + case "drop": + h = PL; + break; + case "touchcancel": + case "touchend": + case "touchmove": + case "touchstart": + h = ZL; + break; + case MF: + case jF: + case $F: + h = jL; + break; + case HF: + h = eM; + break; + case "scroll": + h = RL; + break; + case "wheel": + h = rM; + break; + case "copy": + case "cut": + case "paste": + h = HL; + break; + case "gotpointercapture": + case "lostpointercapture": + case "pointercancel": + case "pointerdown": + case "pointermove": + case "pointerout": + case "pointerover": + case "pointerup": + h = TE; + } + var v = (t & 4) !== 0, b = !v && e === "scroll", g = v ? p !== null ? p + "Capture" : null : p; + v = []; + for (var k = u, _; k !== null; ) { + _ = k; + var E = _.stateNode; + if (_.tag === 5 && E !== null && (_ = E, g !== null && (E = $p(k, g), E != null && v.push(qp(k, E, _)))), b) + break; + k = k.return; + } + 0 < v.length && (p = new h(p, f, null, r, c), d.push({ event: p, listeners: v })); + } + } + if (!(t & 7)) { + e: { + if (p = e === "mouseover" || e === "pointerover", h = e === "mouseout" || e === "pointerout", p && r !== C2 && (f = r.relatedTarget || r.fromElement) && (Fl(f) || f[To])) + break e; + if ((h || p) && (p = c.window === c ? c : (p = c.ownerDocument) ? p.defaultView || p.parentWindow : window, h ? (f = r.relatedTarget || r.toElement, h = u, f = f ? Fl(f) : null, f !== null && (b = au(f), f !== b || f.tag !== 5 && f.tag !== 6) && (f = null)) : (h = null, f = u), h !== f)) { + if (v = wE, E = "onMouseLeave", g = "onMouseEnter", k = "mouse", (e === "pointerout" || e === "pointerover") && (v = TE, E = "onPointerLeave", g = "onPointerEnter", k = "pointer"), b = h == null ? p : Ku(h), _ = f == null ? p : Ku(f), p = new v(E, k + "leave", h, r, c), p.target = b, p.relatedTarget = _, E = null, Fl(c) === u && (v = new v(g, k + "enter", f, r, c), v.target = _, v.relatedTarget = b, E = v), b = E, h && f) + t: { + for (v = h, g = f, k = 0, _ = v; _; _ = _u(_)) + k++; + for (_ = 0, E = g; E; E = _u(E)) + _++; + for (; 0 < k - _; ) + v = _u(v), k--; + for (; 0 < _ - k; ) + g = _u(g), _--; + for (; k--; ) { + if (v === g || g !== null && v === g.alternate) + break t; + v = _u(v), g = _u(g); + } + v = null; + } + else + v = null; + h !== null && jE(d, p, h, v, !1), f !== null && b !== null && jE(d, b, f, v, !0); + } + } + e: { + if (p = u ? Ku(u) : window, h = p.nodeName && p.nodeName.toLowerCase(), h === "select" || h === "input" && p.type === "file") + var x = uM; + else if (IE(p)) + if (NF) + x = hM; + else { + x = dM; + var C = cM; + } + else + (h = p.nodeName) && h.toLowerCase() === "input" && (p.type === "checkbox" || p.type === "radio") && (x = pM); + if (x && (x = x(e, u))) { + OF(d, x, r, c); + break e; + } + C && C(e, p, u), e === "focusout" && (C = p._wrapperState) && C.controlled && p.type === "number" && b2(p, "number", p.value); + } + switch (C = u ? Ku(u) : window, e) { + case "focusin": + (IE(C) || C.contentEditable === "true") && (Gu = C, B2 = u, fp = null); + break; + case "focusout": + fp = B2 = Gu = null; + break; + case "mousedown": + I2 = !0; + break; + case "contextmenu": + case "mouseup": + case "dragend": + I2 = !1, PE(d, r, c); + break; + case "selectionchange": + if (mM) + break; + case "keydown": + case "keyup": + PE(d, r, c); + } + var A; + if (Z5) + e: { + switch (e) { + case "compositionstart": + var I = "onCompositionStart"; + break e; + case "compositionend": + I = "onCompositionEnd"; + break e; + case "compositionupdate": + I = "onCompositionUpdate"; + break e; + } + I = void 0; + } + else + Vu ? BF(e, r) && (I = "onCompositionEnd") : e === "keydown" && r.keyCode === 229 && (I = "onCompositionStart"); + I && (SF && r.locale !== "ko" && (Vu || I !== "onCompositionStart" ? I === "onCompositionEnd" && Vu && (A = TF()) : (hs = c, Q5 = "value" in hs ? hs.value : hs.textContent, Vu = !0)), C = Tf(u, I), 0 < C.length && (I = new FE(I, e, null, r, c), d.push({ event: I, listeners: C }), A ? I.data = A : (A = IF(r), A !== null && (I.data = A)))), (A = nM ? aM(e, r) : oM(e, r)) && (u = Tf(u, "onBeforeInput"), 0 < u.length && (c = new FE("onBeforeInput", "beforeinput", null, r, c), d.push({ event: c, listeners: u }), c.data = A)); + } + VF(d, t); + }); +} +function qp(e, t, r) { + return { instance: e, listener: t, currentTarget: r }; +} +function Tf(e, t) { + for (var r = t + "Capture", i = []; e !== null; ) { + var n = e, a = n.stateNode; + n.tag === 5 && a !== null && (n = a, a = $p(e, r), a != null && i.unshift(qp(e, a, n)), a = $p(e, t), a != null && i.push(qp(e, a, n))), e = e.return; + } + return i; +} +function _u(e) { + if (e === null) + return null; + do + e = e.return; + while (e && e.tag !== 5); + return e || null; +} +function jE(e, t, r, i, n) { + for (var a = t._reactName, o = []; r !== null && r !== i; ) { + var s = r, l = s.alternate, u = s.stateNode; + if (l !== null && l === i) + break; + s.tag === 5 && u !== null && (s = u, n ? (l = $p(r, a), l != null && o.unshift(qp(r, l, s))) : n || (l = $p(r, a), l != null && o.push(qp(r, l, s)))), r = r.return; + } + o.length !== 0 && e.push({ event: t, listeners: o }); +} +var _M = /\r\n?/g, DM = /\u0000|\uFFFD/g; +function $E(e) { + return (typeof e == "string" ? e : "" + e).replace(_M, ` +`).replace(DM, ""); +} +function S1(e, t, r) { + if (t = $E(t), $E(e) !== t && r) + throw Error(ce(425)); +} +function Sf() { +} +var O2 = null, N2 = null; +function R2(e, t) { + return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null; +} +var z2 = typeof setTimeout == "function" ? setTimeout : void 0, yM = typeof clearTimeout == "function" ? clearTimeout : void 0, HE = typeof Promise == "function" ? Promise : void 0, EM = typeof queueMicrotask == "function" ? queueMicrotask : typeof HE < "u" ? function(e) { + return HE.resolve(null).then(e).catch(CM); +} : z2; +function CM(e) { + setTimeout(function() { + throw e; + }); +} +function Ck(e, t) { + var r = t, i = 0; + do { + var n = r.nextSibling; + if (e.removeChild(r), n && n.nodeType === 8) + if (r = n.data, r === "/$") { + if (i === 0) { + e.removeChild(n), Vp(t); + return; + } + i--; + } else + r !== "$" && r !== "$?" && r !== "$!" || i++; + r = n; + } while (r); + Vp(t); +} +function Cs(e) { + for (; e != null; e = e.nextSibling) { + var t = e.nodeType; + if (t === 1 || t === 3) + break; + if (t === 8) { + if (t = e.data, t === "$" || t === "$!" || t === "$?") + break; + if (t === "/$") + return null; + } + } + return e; +} +function UE(e) { + e = e.previousSibling; + for (var t = 0; e; ) { + if (e.nodeType === 8) { + var r = e.data; + if (r === "$" || r === "$!" || r === "$?") { + if (t === 0) + return e; + t--; + } else + r === "/$" && t++; + } + e = e.previousSibling; + } + return null; +} +var $c = Math.random().toString(36).slice(2), Ba = "__reactFiber$" + $c, Qp = "__reactProps$" + $c, To = "__reactContainer$" + $c, P2 = "__reactEvents$" + $c, xM = "__reactListeners$" + $c, AM = "__reactHandles$" + $c; +function Fl(e) { + var t = e[Ba]; + if (t) + return t; + for (var r = e.parentNode; r; ) { + if (t = r[To] || r[Ba]) { + if (r = t.alternate, t.child !== null || r !== null && r.child !== null) + for (e = UE(e); e !== null; ) { + if (r = e[Ba]) + return r; + e = UE(e); + } + return t; + } + e = r, r = e.parentNode; + } + return null; +} +function T0(e) { + return e = e[Ba] || e[To], !e || e.tag !== 5 && e.tag !== 6 && e.tag !== 13 && e.tag !== 3 ? null : e; +} +function Ku(e) { + if (e.tag === 5 || e.tag === 6) + return e.stateNode; + throw Error(ce(33)); +} +function im(e) { + return e[Qp] || null; +} +var L2 = [], qu = -1; +function Ks(e) { + return { current: e }; +} +function Vt(e) { + 0 > qu || (e.current = L2[qu], L2[qu] = null, qu--); +} +function Pt(e, t) { + qu++, L2[qu] = e.current, e.current = t; +} +var Is = {}, Zr = Ks(Is), Ti = Ks(!1), Ul = Is; +function Cc(e, t) { + var r = e.type.contextTypes; + if (!r) + return Is; + var i = e.stateNode; + if (i && i.__reactInternalMemoizedUnmaskedChildContext === t) + return i.__reactInternalMemoizedMaskedChildContext; + var n = {}, a; + for (a in r) + n[a] = t[a]; + return i && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = t, e.__reactInternalMemoizedMaskedChildContext = n), n; +} +function Si(e) { + return e = e.childContextTypes, e != null; +} +function Bf() { + Vt(Ti), Vt(Zr); +} +function VE(e, t, r) { + if (Zr.current !== Is) + throw Error(ce(168)); + Pt(Zr, t), Pt(Ti, r); +} +function WF(e, t, r) { + var i = e.stateNode; + if (t = t.childContextTypes, typeof i.getChildContext != "function") + return r; + i = i.getChildContext(); + for (var n in i) + if (!(n in t)) + throw Error(ce(108, cL(e) || "Unknown", n)); + return tr({}, r, i); +} +function If(e) { + return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || Is, Ul = Zr.current, Pt(Zr, e), Pt(Ti, Ti.current), !0; +} +function GE(e, t, r) { + var i = e.stateNode; + if (!i) + throw Error(ce(169)); + r ? (e = WF(e, t, Ul), i.__reactInternalMemoizedMergedChildContext = e, Vt(Ti), Vt(Zr), Pt(Zr, e)) : Vt(Ti), Pt(Ti, r); +} +var Do = null, nm = !1, xk = !1; +function KF(e) { + Do === null ? Do = [e] : Do.push(e); +} +function wM(e) { + nm = !0, KF(e); +} +function qs() { + if (!xk && Do !== null) { + xk = !0; + var e = 0, t = yt; + try { + var r = Do; + for (yt = 1; e < r.length; e++) { + var i = r[e]; + do + i = i(!0); + while (i !== null); + } + Do = null, nm = !1; + } catch (n) { + throw Do !== null && (Do = Do.slice(e + 1)), kF(G5, qs), n; + } finally { + yt = t, xk = !1; + } + } + return null; +} +var Qu = [], Yu = 0, Of = null, Nf = 0, vn = [], kn = 0, Vl = null, xo = 1, Ao = ""; +function gl(e, t) { + Qu[Yu++] = Nf, Qu[Yu++] = Of, Of = e, Nf = t; +} +function qF(e, t, r) { + vn[kn++] = xo, vn[kn++] = Ao, vn[kn++] = Vl, Vl = e; + var i = xo; + e = Ao; + var n = 32 - ia(i) - 1; + i &= ~(1 << n), r += 1; + var a = 32 - ia(t) + n; + if (30 < a) { + var o = n - n % 5; + a = (i & (1 << o) - 1).toString(32), i >>= o, n -= o, xo = 1 << 32 - ia(t) + n | r << n | i, Ao = a + e; + } else + xo = 1 << a | r << n | i, Ao = e; +} +function eD(e) { + e.return !== null && (gl(e, 1), qF(e, 1, 0)); +} +function tD(e) { + for (; e === Of; ) + Of = Qu[--Yu], Qu[Yu] = null, Nf = Qu[--Yu], Qu[Yu] = null; + for (; e === Vl; ) + Vl = vn[--kn], vn[kn] = null, Ao = vn[--kn], vn[kn] = null, xo = vn[--kn], vn[kn] = null; +} +var tn = null, Zi = null, Yt = !1, Xn = null; +function QF(e, t) { + var r = Dn(5, null, null, 0); + r.elementType = "DELETED", r.stateNode = t, r.return = e, t = e.deletions, t === null ? (e.deletions = [r], e.flags |= 16) : t.push(r); +} +function WE(e, t) { + switch (e.tag) { + case 5: + var r = e.type; + return t = t.nodeType !== 1 || r.toLowerCase() !== t.nodeName.toLowerCase() ? null : t, t !== null ? (e.stateNode = t, tn = e, Zi = Cs(t.firstChild), !0) : !1; + case 6: + return t = e.pendingProps === "" || t.nodeType !== 3 ? null : t, t !== null ? (e.stateNode = t, tn = e, Zi = null, !0) : !1; + case 13: + return t = t.nodeType !== 8 ? null : t, t !== null ? (r = Vl !== null ? { id: xo, overflow: Ao } : null, e.memoizedState = { dehydrated: t, treeContext: r, retryLane: 1073741824 }, r = Dn(18, null, null, 0), r.stateNode = t, r.return = e, e.child = r, tn = e, Zi = null, !0) : !1; + default: + return !1; + } +} +function M2(e) { + return (e.mode & 1) !== 0 && (e.flags & 128) === 0; +} +function j2(e) { + if (Yt) { + var t = Zi; + if (t) { + var r = t; + if (!WE(e, t)) { + if (M2(e)) + throw Error(ce(418)); + t = Cs(r.nextSibling); + var i = tn; + t && WE(e, t) ? QF(i, r) : (e.flags = e.flags & -4097 | 2, Yt = !1, tn = e); + } + } else { + if (M2(e)) + throw Error(ce(418)); + e.flags = e.flags & -4097 | 2, Yt = !1, tn = e; + } + } +} +function KE(e) { + for (e = e.return; e !== null && e.tag !== 5 && e.tag !== 3 && e.tag !== 13; ) + e = e.return; + tn = e; +} +function B1(e) { + if (e !== tn) + return !1; + if (!Yt) + return KE(e), Yt = !0, !1; + var t; + if ((t = e.tag !== 3) && !(t = e.tag !== 5) && (t = e.type, t = t !== "head" && t !== "body" && !R2(e.type, e.memoizedProps)), t && (t = Zi)) { + if (M2(e)) + throw YF(), Error(ce(418)); + for (; t; ) + QF(e, t), t = Cs(t.nextSibling); + } + if (KE(e), e.tag === 13) { + if (e = e.memoizedState, e = e !== null ? e.dehydrated : null, !e) + throw Error(ce(317)); + e: { + for (e = e.nextSibling, t = 0; e; ) { + if (e.nodeType === 8) { + var r = e.data; + if (r === "/$") { + if (t === 0) { + Zi = Cs(e.nextSibling); + break e; + } + t--; + } else + r !== "$" && r !== "$!" && r !== "$?" || t++; + } + e = e.nextSibling; + } + Zi = null; + } + } else + Zi = tn ? Cs(e.stateNode.nextSibling) : null; + return !0; +} +function YF() { + for (var e = Zi; e; ) + e = Cs(e.nextSibling); +} +function xc() { + Zi = tn = null, Yt = !1; +} +function rD(e) { + Xn === null ? Xn = [e] : Xn.push(e); +} +var FM = Lo.ReactCurrentBatchConfig; +function qn(e, t) { + if (e && e.defaultProps) { + t = tr({}, t), e = e.defaultProps; + for (var r in e) + t[r] === void 0 && (t[r] = e[r]); + return t; + } + return t; +} +var Rf = Ks(null), zf = null, Xu = null, iD = null; +function nD() { + iD = Xu = zf = null; +} +function aD(e) { + var t = Rf.current; + Vt(Rf), e._currentValue = t; +} +function $2(e, t, r) { + for (; e !== null; ) { + var i = e.alternate; + if ((e.childLanes & t) !== t ? (e.childLanes |= t, i !== null && (i.childLanes |= t)) : i !== null && (i.childLanes & t) !== t && (i.childLanes |= t), e === r) + break; + e = e.return; + } +} +function dc(e, t) { + zf = e, iD = Xu = null, e = e.dependencies, e !== null && e.firstContext !== null && (e.lanes & t && (Fi = !0), e.firstContext = null); +} +function wn(e) { + var t = e._currentValue; + if (iD !== e) + if (e = { context: e, memoizedValue: t, next: null }, Xu === null) { + if (zf === null) + throw Error(ce(308)); + Xu = e, zf.dependencies = { lanes: 0, firstContext: e }; + } else + Xu = Xu.next = e; + return t; +} +var Tl = null; +function oD(e) { + Tl === null ? Tl = [e] : Tl.push(e); +} +function XF(e, t, r, i) { + var n = t.interleaved; + return n === null ? (r.next = r, oD(t)) : (r.next = n.next, n.next = r), t.interleaved = r, So(e, i); +} +function So(e, t) { + e.lanes |= t; + var r = e.alternate; + for (r !== null && (r.lanes |= t), r = e, e = e.return; e !== null; ) + e.childLanes |= t, r = e.alternate, r !== null && (r.childLanes |= t), r = e, e = e.return; + return r.tag === 3 ? r.stateNode : null; +} +var as = !1; +function sD(e) { + e.updateQueue = { baseState: e.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null }; +} +function ZF(e, t) { + e = e.updateQueue, t.updateQueue === e && (t.updateQueue = { baseState: e.baseState, firstBaseUpdate: e.firstBaseUpdate, lastBaseUpdate: e.lastBaseUpdate, shared: e.shared, effects: e.effects }); +} +function wo(e, t) { + return { eventTime: e, lane: t, tag: 0, payload: null, callback: null, next: null }; +} +function xs(e, t, r) { + var i = e.updateQueue; + if (i === null) + return null; + if (i = i.shared, ht & 2) { + var n = i.pending; + return n === null ? t.next = t : (t.next = n.next, n.next = t), i.pending = t, So(e, r); + } + return n = i.interleaved, n === null ? (t.next = t, oD(i)) : (t.next = n.next, n.next = t), i.interleaved = t, So(e, r); +} +function zh(e, t, r) { + if (t = t.updateQueue, t !== null && (t = t.shared, (r & 4194240) !== 0)) { + var i = t.lanes; + i &= e.pendingLanes, r |= i, t.lanes = r, W5(e, r); + } +} +function qE(e, t) { + var r = e.updateQueue, i = e.alternate; + if (i !== null && (i = i.updateQueue, r === i)) { + var n = null, a = null; + if (r = r.firstBaseUpdate, r !== null) { + do { + var o = { eventTime: r.eventTime, lane: r.lane, tag: r.tag, payload: r.payload, callback: r.callback, next: null }; + a === null ? n = a = o : a = a.next = o, r = r.next; + } while (r !== null); + a === null ? n = a = t : a = a.next = t; + } else + n = a = t; + r = { baseState: i.baseState, firstBaseUpdate: n, lastBaseUpdate: a, shared: i.shared, effects: i.effects }, e.updateQueue = r; + return; + } + e = r.lastBaseUpdate, e === null ? r.firstBaseUpdate = t : e.next = t, r.lastBaseUpdate = t; +} +function Pf(e, t, r, i) { + var n = e.updateQueue; + as = !1; + var a = n.firstBaseUpdate, o = n.lastBaseUpdate, s = n.shared.pending; + if (s !== null) { + n.shared.pending = null; + var l = s, u = l.next; + l.next = null, o === null ? a = u : o.next = u, o = l; + var c = e.alternate; + c !== null && (c = c.updateQueue, s = c.lastBaseUpdate, s !== o && (s === null ? c.firstBaseUpdate = u : s.next = u, c.lastBaseUpdate = l)); + } + if (a !== null) { + var d = n.baseState; + o = 0, c = u = l = null, s = a; + do { + var p = s.lane, h = s.eventTime; + if ((i & p) === p) { + c !== null && (c = c.next = { + eventTime: h, + lane: 0, + tag: s.tag, + payload: s.payload, + callback: s.callback, + next: null + }); + e: { + var f = e, v = s; + switch (p = t, h = r, v.tag) { + case 1: + if (f = v.payload, typeof f == "function") { + d = f.call(h, d, p); + break e; + } + d = f; + break e; + case 3: + f.flags = f.flags & -65537 | 128; + case 0: + if (f = v.payload, p = typeof f == "function" ? f.call(h, d, p) : f, p == null) + break e; + d = tr({}, d, p); + break e; + case 2: + as = !0; + } + } + s.callback !== null && s.lane !== 0 && (e.flags |= 64, p = n.effects, p === null ? n.effects = [s] : p.push(s)); + } else + h = { eventTime: h, lane: p, tag: s.tag, payload: s.payload, callback: s.callback, next: null }, c === null ? (u = c = h, l = d) : c = c.next = h, o |= p; + if (s = s.next, s === null) { + if (s = n.shared.pending, s === null) + break; + p = s, s = p.next, p.next = null, n.lastBaseUpdate = p, n.shared.pending = null; + } + } while (1); + if (c === null && (l = d), n.baseState = l, n.firstBaseUpdate = u, n.lastBaseUpdate = c, t = n.shared.interleaved, t !== null) { + n = t; + do + o |= n.lane, n = n.next; + while (n !== t); + } else + a === null && (n.shared.lanes = 0); + Wl |= o, e.lanes = o, e.memoizedState = d; + } +} +function QE(e, t, r) { + if (e = t.effects, t.effects = null, e !== null) + for (t = 0; t < e.length; t++) { + var i = e[t], n = i.callback; + if (n !== null) { + if (i.callback = null, i = r, typeof n != "function") + throw Error(ce(191, n)); + n.call(i); + } + } +} +var JF = new Xw.Component().refs; +function H2(e, t, r, i) { + t = e.memoizedState, r = r(i, t), r = r == null ? t : tr({}, t, r), e.memoizedState = r, e.lanes === 0 && (e.updateQueue.baseState = r); +} +var am = { isMounted: function(e) { + return (e = e._reactInternals) ? au(e) === e : !1; +}, enqueueSetState: function(e, t, r) { + e = e._reactInternals; + var i = li(), n = ws(e), a = wo(i, n); + a.payload = t, r != null && (a.callback = r), t = xs(e, a, n), t !== null && (na(t, e, n, i), zh(t, e, n)); +}, enqueueReplaceState: function(e, t, r) { + e = e._reactInternals; + var i = li(), n = ws(e), a = wo(i, n); + a.tag = 1, a.payload = t, r != null && (a.callback = r), t = xs(e, a, n), t !== null && (na(t, e, n, i), zh(t, e, n)); +}, enqueueForceUpdate: function(e, t) { + e = e._reactInternals; + var r = li(), i = ws(e), n = wo(r, i); + n.tag = 2, t != null && (n.callback = t), t = xs(e, n, i), t !== null && (na(t, e, i, r), zh(t, e, i)); +} }; +function YE(e, t, r, i, n, a, o) { + return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(i, a, o) : t.prototype && t.prototype.isPureReactComponent ? !Wp(r, i) || !Wp(n, a) : !0; +} +function e7(e, t, r) { + var i = !1, n = Is, a = t.contextType; + return typeof a == "object" && a !== null ? a = wn(a) : (n = Si(t) ? Ul : Zr.current, i = t.contextTypes, a = (i = i != null) ? Cc(e, n) : Is), t = new t(r, a), e.memoizedState = t.state !== null && t.state !== void 0 ? t.state : null, t.updater = am, e.stateNode = t, t._reactInternals = e, i && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = n, e.__reactInternalMemoizedMaskedChildContext = a), t; +} +function XE(e, t, r, i) { + e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(r, i), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(r, i), t.state !== e && am.enqueueReplaceState(t, t.state, null); +} +function U2(e, t, r, i) { + var n = e.stateNode; + n.props = r, n.state = e.memoizedState, n.refs = JF, sD(e); + var a = t.contextType; + typeof a == "object" && a !== null ? n.context = wn(a) : (a = Si(t) ? Ul : Zr.current, n.context = Cc(e, a)), n.state = e.memoizedState, a = t.getDerivedStateFromProps, typeof a == "function" && (H2(e, t, a, r), n.state = e.memoizedState), typeof t.getDerivedStateFromProps == "function" || typeof n.getSnapshotBeforeUpdate == "function" || typeof n.UNSAFE_componentWillMount != "function" && typeof n.componentWillMount != "function" || (t = n.state, typeof n.componentWillMount == "function" && n.componentWillMount(), typeof n.UNSAFE_componentWillMount == "function" && n.UNSAFE_componentWillMount(), t !== n.state && am.enqueueReplaceState(n, n.state, null), Pf(e, r, n, i), n.state = e.memoizedState), typeof n.componentDidMount == "function" && (e.flags |= 4194308); +} +function yd(e, t, r) { + if (e = r.ref, e !== null && typeof e != "function" && typeof e != "object") { + if (r._owner) { + if (r = r._owner, r) { + if (r.tag !== 1) + throw Error(ce(309)); + var i = r.stateNode; + } + if (!i) + throw Error(ce(147, e)); + var n = i, a = "" + e; + return t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === a ? t.ref : (t = function(o) { + var s = n.refs; + s === JF && (s = n.refs = {}), o === null ? delete s[a] : s[a] = o; + }, t._stringRef = a, t); + } + if (typeof e != "string") + throw Error(ce(284)); + if (!r._owner) + throw Error(ce(290, e)); + } + return e; +} +function I1(e, t) { + throw e = Object.prototype.toString.call(t), Error(ce(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e)); +} +function ZE(e) { + var t = e._init; + return t(e._payload); +} +function t7(e) { + function t(g, k) { + if (e) { + var _ = g.deletions; + _ === null ? (g.deletions = [k], g.flags |= 16) : _.push(k); + } + } + function r(g, k) { + if (!e) + return null; + for (; k !== null; ) + t(g, k), k = k.sibling; + return null; + } + function i(g, k) { + for (g = /* @__PURE__ */ new Map(); k !== null; ) + k.key !== null ? g.set(k.key, k) : g.set(k.index, k), k = k.sibling; + return g; + } + function n(g, k) { + return g = Fs(g, k), g.index = 0, g.sibling = null, g; + } + function a(g, k, _) { + return g.index = _, e ? (_ = g.alternate, _ !== null ? (_ = _.index, _ < k ? (g.flags |= 2, k) : _) : (g.flags |= 2, k)) : (g.flags |= 1048576, k); + } + function o(g) { + return e && g.alternate === null && (g.flags |= 2), g; + } + function s(g, k, _, E) { + return k === null || k.tag !== 6 ? (k = Ik(_, g.mode, E), k.return = g, k) : (k = n(k, _), k.return = g, k); + } + function l(g, k, _, E) { + var x = _.type; + return x === Uu ? c(g, k, _.props.children, E, _.key) : k !== null && (k.elementType === x || typeof x == "object" && x !== null && x.$$typeof === ns && ZE(x) === k.type) ? (E = n(k, _.props), E.ref = yd(g, k, _), E.return = g, E) : (E = Hh(_.type, _.key, _.props, null, g.mode, E), E.ref = yd(g, k, _), E.return = g, E); + } + function u(g, k, _, E) { + return k === null || k.tag !== 4 || k.stateNode.containerInfo !== _.containerInfo || k.stateNode.implementation !== _.implementation ? (k = Ok(_, g.mode, E), k.return = g, k) : (k = n(k, _.children || []), k.return = g, k); + } + function c(g, k, _, E, x) { + return k === null || k.tag !== 7 ? (k = Ll(_, g.mode, E, x), k.return = g, k) : (k = n(k, _), k.return = g, k); + } + function d(g, k, _) { + if (typeof k == "string" && k !== "" || typeof k == "number") + return k = Ik("" + k, g.mode, _), k.return = g, k; + if (typeof k == "object" && k !== null) { + switch (k.$$typeof) { + case D1: + return _ = Hh(k.type, k.key, k.props, null, g.mode, _), _.ref = yd(g, null, k), _.return = g, _; + case Hu: + return k = Ok(k, g.mode, _), k.return = g, k; + case ns: + var E = k._init; + return d(g, E(k._payload), _); + } + if (Xd(k) || vd(k)) + return k = Ll(k, g.mode, _, null), k.return = g, k; + I1(g, k); + } + return null; + } + function p(g, k, _, E) { + var x = k !== null ? k.key : null; + if (typeof _ == "string" && _ !== "" || typeof _ == "number") + return x !== null ? null : s(g, k, "" + _, E); + if (typeof _ == "object" && _ !== null) { + switch (_.$$typeof) { + case D1: + return _.key === x ? l(g, k, _, E) : null; + case Hu: + return _.key === x ? u(g, k, _, E) : null; + case ns: + return x = _._init, p( + g, + k, + x(_._payload), + E + ); + } + if (Xd(_) || vd(_)) + return x !== null ? null : c(g, k, _, E, null); + I1(g, _); + } + return null; + } + function h(g, k, _, E, x) { + if (typeof E == "string" && E !== "" || typeof E == "number") + return g = g.get(_) || null, s(k, g, "" + E, x); + if (typeof E == "object" && E !== null) { + switch (E.$$typeof) { + case D1: + return g = g.get(E.key === null ? _ : E.key) || null, l(k, g, E, x); + case Hu: + return g = g.get(E.key === null ? _ : E.key) || null, u(k, g, E, x); + case ns: + var C = E._init; + return h(g, k, _, C(E._payload), x); + } + if (Xd(E) || vd(E)) + return g = g.get(_) || null, c(k, g, E, x, null); + I1(k, E); + } + return null; + } + function f(g, k, _, E) { + for (var x = null, C = null, A = k, I = k = 0, S = null; A !== null && I < _.length; I++) { + A.index > I ? (S = A, A = null) : S = A.sibling; + var O = p(g, A, _[I], E); + if (O === null) { + A === null && (A = S); + break; + } + e && A && O.alternate === null && t(g, A), k = a(O, k, I), C === null ? x = O : C.sibling = O, C = O, A = S; + } + if (I === _.length) + return r(g, A), Yt && gl(g, I), x; + if (A === null) { + for (; I < _.length; I++) + A = d(g, _[I], E), A !== null && (k = a(A, k, I), C === null ? x = A : C.sibling = A, C = A); + return Yt && gl(g, I), x; + } + for (A = i(g, A); I < _.length; I++) + S = h(A, g, I, _[I], E), S !== null && (e && S.alternate !== null && A.delete(S.key === null ? I : S.key), k = a(S, k, I), C === null ? x = S : C.sibling = S, C = S); + return e && A.forEach(function(w) { + return t(g, w); + }), Yt && gl(g, I), x; + } + function v(g, k, _, E) { + var x = vd(_); + if (typeof x != "function") + throw Error(ce(150)); + if (_ = x.call(_), _ == null) + throw Error(ce(151)); + for (var C = x = null, A = k, I = k = 0, S = null, O = _.next(); A !== null && !O.done; I++, O = _.next()) { + A.index > I ? (S = A, A = null) : S = A.sibling; + var w = p(g, A, O.value, E); + if (w === null) { + A === null && (A = S); + break; + } + e && A && w.alternate === null && t(g, A), k = a(w, k, I), C === null ? x = w : C.sibling = w, C = w, A = S; + } + if (O.done) + return r( + g, + A + ), Yt && gl(g, I), x; + if (A === null) { + for (; !O.done; I++, O = _.next()) + O = d(g, O.value, E), O !== null && (k = a(O, k, I), C === null ? x = O : C.sibling = O, C = O); + return Yt && gl(g, I), x; + } + for (A = i(g, A); !O.done; I++, O = _.next()) + O = h(A, g, I, O.value, E), O !== null && (e && O.alternate !== null && A.delete(O.key === null ? I : O.key), k = a(O, k, I), C === null ? x = O : C.sibling = O, C = O); + return e && A.forEach(function(T) { + return t(g, T); + }), Yt && gl(g, I), x; + } + function b(g, k, _, E) { + if (typeof _ == "object" && _ !== null && _.type === Uu && _.key === null && (_ = _.props.children), typeof _ == "object" && _ !== null) { + switch (_.$$typeof) { + case D1: + e: { + for (var x = _.key, C = k; C !== null; ) { + if (C.key === x) { + if (x = _.type, x === Uu) { + if (C.tag === 7) { + r(g, C.sibling), k = n(C, _.props.children), k.return = g, g = k; + break e; + } + } else if (C.elementType === x || typeof x == "object" && x !== null && x.$$typeof === ns && ZE(x) === C.type) { + r(g, C.sibling), k = n(C, _.props), k.ref = yd(g, C, _), k.return = g, g = k; + break e; + } + r(g, C); + break; + } else + t(g, C); + C = C.sibling; + } + _.type === Uu ? (k = Ll(_.props.children, g.mode, E, _.key), k.return = g, g = k) : (E = Hh(_.type, _.key, _.props, null, g.mode, E), E.ref = yd(g, k, _), E.return = g, g = E); + } + return o(g); + case Hu: + e: { + for (C = _.key; k !== null; ) { + if (k.key === C) + if (k.tag === 4 && k.stateNode.containerInfo === _.containerInfo && k.stateNode.implementation === _.implementation) { + r(g, k.sibling), k = n(k, _.children || []), k.return = g, g = k; + break e; + } else { + r(g, k); + break; + } + else + t(g, k); + k = k.sibling; + } + k = Ok(_, g.mode, E), k.return = g, g = k; + } + return o(g); + case ns: + return C = _._init, b(g, k, C(_._payload), E); + } + if (Xd(_)) + return f(g, k, _, E); + if (vd(_)) + return v(g, k, _, E); + I1(g, _); + } + return typeof _ == "string" && _ !== "" || typeof _ == "number" ? (_ = "" + _, k !== null && k.tag === 6 ? (r(g, k.sibling), k = n(k, _), k.return = g, g = k) : (r(g, k), k = Ik(_, g.mode, E), k.return = g, g = k), o(g)) : r(g, k); + } + return b; +} +var Ac = t7(!0), r7 = t7(!1), S0 = {}, La = Ks(S0), Yp = Ks(S0), Xp = Ks(S0); +function Sl(e) { + if (e === S0) + throw Error(ce(174)); + return e; +} +function lD(e, t) { + switch (Pt(Xp, t), Pt(Yp, e), Pt(La, S0), e = t.nodeType, e) { + case 9: + case 11: + t = (t = t.documentElement) ? t.namespaceURI : D2(null, ""); + break; + default: + e = e === 8 ? t.parentNode : t, t = e.namespaceURI || null, e = e.tagName, t = D2(t, e); + } + Vt(La), Pt(La, t); +} +function wc() { + Vt(La), Vt(Yp), Vt(Xp); +} +function i7(e) { + Sl(Xp.current); + var t = Sl(La.current), r = D2(t, e.type); + t !== r && (Pt(Yp, e), Pt(La, r)); +} +function uD(e) { + Yp.current === e && (Vt(La), Vt(Yp)); +} +var Zt = Ks(0); +function Lf(e) { + for (var t = e; t !== null; ) { + if (t.tag === 13) { + var r = t.memoizedState; + if (r !== null && (r = r.dehydrated, r === null || r.data === "$?" || r.data === "$!")) + return t; + } else if (t.tag === 19 && t.memoizedProps.revealOrder !== void 0) { + if (t.flags & 128) + return t; + } else if (t.child !== null) { + t.child.return = t, t = t.child; + continue; + } + if (t === e) + break; + for (; t.sibling === null; ) { + if (t.return === null || t.return === e) + return null; + t = t.return; + } + t.sibling.return = t.return, t = t.sibling; + } + return null; +} +var Ak = []; +function cD() { + for (var e = 0; e < Ak.length; e++) + Ak[e]._workInProgressVersionPrimary = null; + Ak.length = 0; +} +var Ph = Lo.ReactCurrentDispatcher, wk = Lo.ReactCurrentBatchConfig, Gl = 0, er = null, kr = null, Ar = null, Mf = !1, gp = !1, Zp = 0, TM = 0; +function qr() { + throw Error(ce(321)); +} +function dD(e, t) { + if (t === null) + return !1; + for (var r = 0; r < t.length && r < e.length; r++) + if (!la(e[r], t[r])) + return !1; + return !0; +} +function pD(e, t, r, i, n, a) { + if (Gl = a, er = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, Ph.current = e === null || e.memoizedState === null ? OM : NM, e = r(i, n), gp) { + a = 0; + do { + if (gp = !1, Zp = 0, 25 <= a) + throw Error(ce(301)); + a += 1, Ar = kr = null, t.updateQueue = null, Ph.current = RM, e = r(i, n); + } while (gp); + } + if (Ph.current = jf, t = kr !== null && kr.next !== null, Gl = 0, Ar = kr = er = null, Mf = !1, t) + throw Error(ce(300)); + return e; +} +function hD() { + var e = Zp !== 0; + return Zp = 0, e; +} +function Fa() { + var e = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; + return Ar === null ? er.memoizedState = Ar = e : Ar = Ar.next = e, Ar; +} +function Fn() { + if (kr === null) { + var e = er.alternate; + e = e !== null ? e.memoizedState : null; + } else + e = kr.next; + var t = Ar === null ? er.memoizedState : Ar.next; + if (t !== null) + Ar = t, kr = e; + else { + if (e === null) + throw Error(ce(310)); + kr = e, e = { memoizedState: kr.memoizedState, baseState: kr.baseState, baseQueue: kr.baseQueue, queue: kr.queue, next: null }, Ar === null ? er.memoizedState = Ar = e : Ar = Ar.next = e; + } + return Ar; +} +function Jp(e, t) { + return typeof t == "function" ? t(e) : t; +} +function Fk(e) { + var t = Fn(), r = t.queue; + if (r === null) + throw Error(ce(311)); + r.lastRenderedReducer = e; + var i = kr, n = i.baseQueue, a = r.pending; + if (a !== null) { + if (n !== null) { + var o = n.next; + n.next = a.next, a.next = o; + } + i.baseQueue = n = a, r.pending = null; + } + if (n !== null) { + a = n.next, i = i.baseState; + var s = o = null, l = null, u = a; + do { + var c = u.lane; + if ((Gl & c) === c) + l !== null && (l = l.next = { lane: 0, action: u.action, hasEagerState: u.hasEagerState, eagerState: u.eagerState, next: null }), i = u.hasEagerState ? u.eagerState : e(i, u.action); + else { + var d = { + lane: c, + action: u.action, + hasEagerState: u.hasEagerState, + eagerState: u.eagerState, + next: null + }; + l === null ? (s = l = d, o = i) : l = l.next = d, er.lanes |= c, Wl |= c; + } + u = u.next; + } while (u !== null && u !== a); + l === null ? o = i : l.next = s, la(i, t.memoizedState) || (Fi = !0), t.memoizedState = i, t.baseState = o, t.baseQueue = l, r.lastRenderedState = i; + } + if (e = r.interleaved, e !== null) { + n = e; + do + a = n.lane, er.lanes |= a, Wl |= a, n = n.next; + while (n !== e); + } else + n === null && (r.lanes = 0); + return [t.memoizedState, r.dispatch]; +} +function Tk(e) { + var t = Fn(), r = t.queue; + if (r === null) + throw Error(ce(311)); + r.lastRenderedReducer = e; + var i = r.dispatch, n = r.pending, a = t.memoizedState; + if (n !== null) { + r.pending = null; + var o = n = n.next; + do + a = e(a, o.action), o = o.next; + while (o !== n); + la(a, t.memoizedState) || (Fi = !0), t.memoizedState = a, t.baseQueue === null && (t.baseState = a), r.lastRenderedState = a; + } + return [a, i]; +} +function n7() { +} +function a7(e, t) { + var r = er, i = Fn(), n = t(), a = !la(i.memoizedState, n); + if (a && (i.memoizedState = n, Fi = !0), i = i.queue, fD(l7.bind(null, r, i, e), [e]), i.getSnapshot !== t || a || Ar !== null && Ar.memoizedState.tag & 1) { + if (r.flags |= 2048, e0(9, s7.bind(null, r, i, n, t), void 0, null), Tr === null) + throw Error(ce(349)); + Gl & 30 || o7(r, t, n); + } + return n; +} +function o7(e, t, r) { + e.flags |= 16384, e = { getSnapshot: t, value: r }, t = er.updateQueue, t === null ? (t = { lastEffect: null, stores: null }, er.updateQueue = t, t.stores = [e]) : (r = t.stores, r === null ? t.stores = [e] : r.push(e)); +} +function s7(e, t, r, i) { + t.value = r, t.getSnapshot = i, u7(t) && c7(e); +} +function l7(e, t, r) { + return r(function() { + u7(t) && c7(e); + }); +} +function u7(e) { + var t = e.getSnapshot; + e = e.value; + try { + var r = t(); + return !la(e, r); + } catch { + return !0; + } +} +function c7(e) { + var t = So(e, 1); + t !== null && na(t, e, 1, -1); +} +function JE(e) { + var t = Fa(); + return typeof e == "function" && (e = e()), t.memoizedState = t.baseState = e, e = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: Jp, lastRenderedState: e }, t.queue = e, e = e.dispatch = IM.bind(null, er, e), [t.memoizedState, e]; +} +function e0(e, t, r, i) { + return e = { tag: e, create: t, destroy: r, deps: i, next: null }, t = er.updateQueue, t === null ? (t = { lastEffect: null, stores: null }, er.updateQueue = t, t.lastEffect = e.next = e) : (r = t.lastEffect, r === null ? t.lastEffect = e.next = e : (i = r.next, r.next = e, e.next = i, t.lastEffect = e)), e; +} +function d7() { + return Fn().memoizedState; +} +function Lh(e, t, r, i) { + var n = Fa(); + er.flags |= e, n.memoizedState = e0(1 | t, r, void 0, i === void 0 ? null : i); +} +function om(e, t, r, i) { + var n = Fn(); + i = i === void 0 ? null : i; + var a = void 0; + if (kr !== null) { + var o = kr.memoizedState; + if (a = o.destroy, i !== null && dD(i, o.deps)) { + n.memoizedState = e0(t, r, a, i); + return; + } + } + er.flags |= e, n.memoizedState = e0(1 | t, r, a, i); +} +function e4(e, t) { + return Lh(8390656, 8, e, t); +} +function fD(e, t) { + return om(2048, 8, e, t); +} +function p7(e, t) { + return om(4, 2, e, t); +} +function h7(e, t) { + return om(4, 4, e, t); +} +function f7(e, t) { + if (typeof t == "function") + return e = e(), t(e), function() { + t(null); + }; + if (t != null) + return e = e(), t.current = e, function() { + t.current = null; + }; +} +function g7(e, t, r) { + return r = r != null ? r.concat([e]) : null, om(4, 4, f7.bind(null, t, e), r); +} +function gD() { +} +function m7(e, t) { + var r = Fn(); + t = t === void 0 ? null : t; + var i = r.memoizedState; + return i !== null && t !== null && dD(t, i[1]) ? i[0] : (r.memoizedState = [e, t], e); +} +function v7(e, t) { + var r = Fn(); + t = t === void 0 ? null : t; + var i = r.memoizedState; + return i !== null && t !== null && dD(t, i[1]) ? i[0] : (e = e(), r.memoizedState = [e, t], e); +} +function k7(e, t, r) { + return Gl & 21 ? (la(r, t) || (r = DF(), er.lanes |= r, Wl |= r, e.baseState = !0), t) : (e.baseState && (e.baseState = !1, Fi = !0), e.memoizedState = r); +} +function SM(e, t) { + var r = yt; + yt = r !== 0 && 4 > r ? r : 4, e(!0); + var i = wk.transition; + wk.transition = {}; + try { + e(!1), t(); + } finally { + yt = r, wk.transition = i; + } +} +function b7() { + return Fn().memoizedState; +} +function BM(e, t, r) { + var i = ws(e); + if (r = { lane: i, action: r, hasEagerState: !1, eagerState: null, next: null }, _7(e)) + D7(t, r); + else if (r = XF(e, t, r, i), r !== null) { + var n = li(); + na(r, e, i, n), y7(r, t, i); + } +} +function IM(e, t, r) { + var i = ws(e), n = { lane: i, action: r, hasEagerState: !1, eagerState: null, next: null }; + if (_7(e)) + D7(t, n); + else { + var a = e.alternate; + if (e.lanes === 0 && (a === null || a.lanes === 0) && (a = t.lastRenderedReducer, a !== null)) + try { + var o = t.lastRenderedState, s = a(o, r); + if (n.hasEagerState = !0, n.eagerState = s, la(s, o)) { + var l = t.interleaved; + l === null ? (n.next = n, oD(t)) : (n.next = l.next, l.next = n), t.interleaved = n; + return; + } + } catch { + } finally { + } + r = XF(e, t, n, i), r !== null && (n = li(), na(r, e, i, n), y7(r, t, i)); + } +} +function _7(e) { + var t = e.alternate; + return e === er || t !== null && t === er; +} +function D7(e, t) { + gp = Mf = !0; + var r = e.pending; + r === null ? t.next = t : (t.next = r.next, r.next = t), e.pending = t; +} +function y7(e, t, r) { + if (r & 4194240) { + var i = t.lanes; + i &= e.pendingLanes, r |= i, t.lanes = r, W5(e, r); + } +} +var jf = { readContext: wn, useCallback: qr, useContext: qr, useEffect: qr, useImperativeHandle: qr, useInsertionEffect: qr, useLayoutEffect: qr, useMemo: qr, useReducer: qr, useRef: qr, useState: qr, useDebugValue: qr, useDeferredValue: qr, useTransition: qr, useMutableSource: qr, useSyncExternalStore: qr, useId: qr, unstable_isNewReconciler: !1 }, OM = { readContext: wn, useCallback: function(e, t) { + return Fa().memoizedState = [e, t === void 0 ? null : t], e; +}, useContext: wn, useEffect: e4, useImperativeHandle: function(e, t, r) { + return r = r != null ? r.concat([e]) : null, Lh( + 4194308, + 4, + f7.bind(null, t, e), + r + ); +}, useLayoutEffect: function(e, t) { + return Lh(4194308, 4, e, t); +}, useInsertionEffect: function(e, t) { + return Lh(4, 2, e, t); +}, useMemo: function(e, t) { + var r = Fa(); + return t = t === void 0 ? null : t, e = e(), r.memoizedState = [e, t], e; +}, useReducer: function(e, t, r) { + var i = Fa(); + return t = r !== void 0 ? r(t) : t, i.memoizedState = i.baseState = t, e = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: e, lastRenderedState: t }, i.queue = e, e = e.dispatch = BM.bind(null, er, e), [i.memoizedState, e]; +}, useRef: function(e) { + var t = Fa(); + return e = { current: e }, t.memoizedState = e; +}, useState: JE, useDebugValue: gD, useDeferredValue: function(e) { + return Fa().memoizedState = e; +}, useTransition: function() { + var e = JE(!1), t = e[0]; + return e = SM.bind(null, e[1]), Fa().memoizedState = e, [t, e]; +}, useMutableSource: function() { +}, useSyncExternalStore: function(e, t, r) { + var i = er, n = Fa(); + if (Yt) { + if (r === void 0) + throw Error(ce(407)); + r = r(); + } else { + if (r = t(), Tr === null) + throw Error(ce(349)); + Gl & 30 || o7(i, t, r); + } + n.memoizedState = r; + var a = { value: r, getSnapshot: t }; + return n.queue = a, e4(l7.bind( + null, + i, + a, + e + ), [e]), i.flags |= 2048, e0(9, s7.bind(null, i, a, r, t), void 0, null), r; +}, useId: function() { + var e = Fa(), t = Tr.identifierPrefix; + if (Yt) { + var r = Ao, i = xo; + r = (i & ~(1 << 32 - ia(i) - 1)).toString(32) + r, t = ":" + t + "R" + r, r = Zp++, 0 < r && (t += "H" + r.toString(32)), t += ":"; + } else + r = TM++, t = ":" + t + "r" + r.toString(32) + ":"; + return e.memoizedState = t; +}, unstable_isNewReconciler: !1 }, NM = { + readContext: wn, + useCallback: m7, + useContext: wn, + useEffect: fD, + useImperativeHandle: g7, + useInsertionEffect: p7, + useLayoutEffect: h7, + useMemo: v7, + useReducer: Fk, + useRef: d7, + useState: function() { + return Fk(Jp); + }, + useDebugValue: gD, + useDeferredValue: function(e) { + var t = Fn(); + return k7(t, kr.memoizedState, e); + }, + useTransition: function() { + var e = Fk(Jp)[0], t = Fn().memoizedState; + return [e, t]; + }, + useMutableSource: n7, + useSyncExternalStore: a7, + useId: b7, + unstable_isNewReconciler: !1 +}, RM = { readContext: wn, useCallback: m7, useContext: wn, useEffect: fD, useImperativeHandle: g7, useInsertionEffect: p7, useLayoutEffect: h7, useMemo: v7, useReducer: Tk, useRef: d7, useState: function() { + return Tk(Jp); +}, useDebugValue: gD, useDeferredValue: function(e) { + var t = Fn(); + return kr === null ? t.memoizedState = e : k7(t, kr.memoizedState, e); +}, useTransition: function() { + var e = Tk(Jp)[0], t = Fn().memoizedState; + return [e, t]; +}, useMutableSource: n7, useSyncExternalStore: a7, useId: b7, unstable_isNewReconciler: !1 }; +function Fc(e, t) { + try { + var r = "", i = t; + do + r += uL(i), i = i.return; + while (i); + var n = r; + } catch (a) { + n = ` +Error generating stack: ` + a.message + ` +` + a.stack; + } + return { value: e, source: t, stack: n, digest: null }; +} +function Sk(e, t, r) { + return { value: e, source: null, stack: r ?? null, digest: t ?? null }; +} +function V2(e, t) { + try { + console.error(t.value); + } catch (r) { + setTimeout(function() { + throw r; + }); + } +} +var zM = typeof WeakMap == "function" ? WeakMap : Map; +function E7(e, t, r) { + r = wo(-1, r), r.tag = 3, r.payload = { element: null }; + var i = t.value; + return r.callback = function() { + Hf || (Hf = !0, e_ = i), V2(e, t); + }, r; +} +function C7(e, t, r) { + r = wo(-1, r), r.tag = 3; + var i = e.type.getDerivedStateFromError; + if (typeof i == "function") { + var n = t.value; + r.payload = function() { + return i(n); + }, r.callback = function() { + V2(e, t); + }; + } + var a = e.stateNode; + return a !== null && typeof a.componentDidCatch == "function" && (r.callback = function() { + V2(e, t), typeof i != "function" && (As === null ? As = /* @__PURE__ */ new Set([this]) : As.add(this)); + var o = t.stack; + this.componentDidCatch(t.value, { componentStack: o !== null ? o : "" }); + }), r; +} +function t4(e, t, r) { + var i = e.pingCache; + if (i === null) { + i = e.pingCache = new zM(); + var n = /* @__PURE__ */ new Set(); + i.set(t, n); + } else + n = i.get(t), n === void 0 && (n = /* @__PURE__ */ new Set(), i.set(t, n)); + n.has(r) || (n.add(r), e = YM.bind(null, e, t, r), t.then(e, e)); +} +function r4(e) { + do { + var t; + if ((t = e.tag === 13) && (t = e.memoizedState, t = t !== null ? t.dehydrated !== null : !0), t) + return e; + e = e.return; + } while (e !== null); + return null; +} +function i4(e, t, r, i, n) { + return e.mode & 1 ? (e.flags |= 65536, e.lanes = n, e) : (e === t ? e.flags |= 65536 : (e.flags |= 128, r.flags |= 131072, r.flags &= -52805, r.tag === 1 && (r.alternate === null ? r.tag = 17 : (t = wo(-1, 1), t.tag = 2, xs(r, t, 1))), r.lanes |= 1), e); +} +var PM = Lo.ReactCurrentOwner, Fi = !1; +function ai(e, t, r, i) { + t.child = e === null ? r7(t, null, r, i) : Ac(t, e.child, r, i); +} +function n4(e, t, r, i, n) { + r = r.render; + var a = t.ref; + return dc(t, n), i = pD(e, t, r, i, a, n), r = hD(), e !== null && !Fi ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~n, Bo(e, t, n)) : (Yt && r && eD(t), t.flags |= 1, ai(e, t, i, n), t.child); +} +function a4(e, t, r, i, n) { + if (e === null) { + var a = r.type; + return typeof a == "function" && !ED(a) && a.defaultProps === void 0 && r.compare === null && r.defaultProps === void 0 ? (t.tag = 15, t.type = a, x7(e, t, a, i, n)) : (e = Hh(r.type, null, i, t, t.mode, n), e.ref = t.ref, e.return = t, t.child = e); + } + if (a = e.child, !(e.lanes & n)) { + var o = a.memoizedProps; + if (r = r.compare, r = r !== null ? r : Wp, r(o, i) && e.ref === t.ref) + return Bo(e, t, n); + } + return t.flags |= 1, e = Fs(a, i), e.ref = t.ref, e.return = t, t.child = e; +} +function x7(e, t, r, i, n) { + if (e !== null) { + var a = e.memoizedProps; + if (Wp(a, i) && e.ref === t.ref) + if (Fi = !1, t.pendingProps = i = a, (e.lanes & n) !== 0) + e.flags & 131072 && (Fi = !0); + else + return t.lanes = e.lanes, Bo(e, t, n); + } + return G2(e, t, r, i, n); +} +function A7(e, t, r) { + var i = t.pendingProps, n = i.children, a = e !== null ? e.memoizedState : null; + if (i.mode === "hidden") + if (!(t.mode & 1)) + t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, Pt(Ju, Gi), Gi |= r; + else { + if (!(r & 1073741824)) + return e = a !== null ? a.baseLanes | r : r, t.lanes = t.childLanes = 1073741824, t.memoizedState = { baseLanes: e, cachePool: null, transitions: null }, t.updateQueue = null, Pt(Ju, Gi), Gi |= e, null; + t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, i = a !== null ? a.baseLanes : r, Pt(Ju, Gi), Gi |= i; + } + else + a !== null ? (i = a.baseLanes | r, t.memoizedState = null) : i = r, Pt(Ju, Gi), Gi |= i; + return ai(e, t, n, r), t.child; +} +function w7(e, t) { + var r = t.ref; + (e === null && r !== null || e !== null && e.ref !== r) && (t.flags |= 512, t.flags |= 2097152); +} +function G2(e, t, r, i, n) { + var a = Si(r) ? Ul : Zr.current; + return a = Cc(t, a), dc(t, n), r = pD(e, t, r, i, a, n), i = hD(), e !== null && !Fi ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~n, Bo(e, t, n)) : (Yt && i && eD(t), t.flags |= 1, ai(e, t, r, n), t.child); +} +function o4(e, t, r, i, n) { + if (Si(r)) { + var a = !0; + If(t); + } else + a = !1; + if (dc(t, n), t.stateNode === null) + Mh(e, t), e7(t, r, i), U2(t, r, i, n), i = !0; + else if (e === null) { + var o = t.stateNode, s = t.memoizedProps; + o.props = s; + var l = o.context, u = r.contextType; + typeof u == "object" && u !== null ? u = wn(u) : (u = Si(r) ? Ul : Zr.current, u = Cc(t, u)); + var c = r.getDerivedStateFromProps, d = typeof c == "function" || typeof o.getSnapshotBeforeUpdate == "function"; + d || typeof o.UNSAFE_componentWillReceiveProps != "function" && typeof o.componentWillReceiveProps != "function" || (s !== i || l !== u) && XE(t, o, i, u), as = !1; + var p = t.memoizedState; + o.state = p, Pf(t, i, o, n), l = t.memoizedState, s !== i || p !== l || Ti.current || as ? (typeof c == "function" && (H2(t, r, c, i), l = t.memoizedState), (s = as || YE(t, r, s, i, p, l, u)) ? (d || typeof o.UNSAFE_componentWillMount != "function" && typeof o.componentWillMount != "function" || (typeof o.componentWillMount == "function" && o.componentWillMount(), typeof o.UNSAFE_componentWillMount == "function" && o.UNSAFE_componentWillMount()), typeof o.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof o.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = i, t.memoizedState = l), o.props = i, o.state = l, o.context = u, i = s) : (typeof o.componentDidMount == "function" && (t.flags |= 4194308), i = !1); + } else { + o = t.stateNode, ZF(e, t), s = t.memoizedProps, u = t.type === t.elementType ? s : qn(t.type, s), o.props = u, d = t.pendingProps, p = o.context, l = r.contextType, typeof l == "object" && l !== null ? l = wn(l) : (l = Si(r) ? Ul : Zr.current, l = Cc(t, l)); + var h = r.getDerivedStateFromProps; + (c = typeof h == "function" || typeof o.getSnapshotBeforeUpdate == "function") || typeof o.UNSAFE_componentWillReceiveProps != "function" && typeof o.componentWillReceiveProps != "function" || (s !== d || p !== l) && XE(t, o, i, l), as = !1, p = t.memoizedState, o.state = p, Pf(t, i, o, n); + var f = t.memoizedState; + s !== d || p !== f || Ti.current || as ? (typeof h == "function" && (H2(t, r, h, i), f = t.memoizedState), (u = as || YE(t, r, u, i, p, f, l) || !1) ? (c || typeof o.UNSAFE_componentWillUpdate != "function" && typeof o.componentWillUpdate != "function" || (typeof o.componentWillUpdate == "function" && o.componentWillUpdate(i, f, l), typeof o.UNSAFE_componentWillUpdate == "function" && o.UNSAFE_componentWillUpdate(i, f, l)), typeof o.componentDidUpdate == "function" && (t.flags |= 4), typeof o.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof o.componentDidUpdate != "function" || s === e.memoizedProps && p === e.memoizedState || (t.flags |= 4), typeof o.getSnapshotBeforeUpdate != "function" || s === e.memoizedProps && p === e.memoizedState || (t.flags |= 1024), t.memoizedProps = i, t.memoizedState = f), o.props = i, o.state = f, o.context = l, i = u) : (typeof o.componentDidUpdate != "function" || s === e.memoizedProps && p === e.memoizedState || (t.flags |= 4), typeof o.getSnapshotBeforeUpdate != "function" || s === e.memoizedProps && p === e.memoizedState || (t.flags |= 1024), i = !1); + } + return W2(e, t, r, i, a, n); +} +function W2(e, t, r, i, n, a) { + w7(e, t); + var o = (t.flags & 128) !== 0; + if (!i && !o) + return n && GE(t, r, !1), Bo(e, t, a); + i = t.stateNode, PM.current = t; + var s = o && typeof r.getDerivedStateFromError != "function" ? null : i.render(); + return t.flags |= 1, e !== null && o ? (t.child = Ac(t, e.child, null, a), t.child = Ac(t, null, s, a)) : ai(e, t, s, a), t.memoizedState = i.state, n && GE(t, r, !0), t.child; +} +function F7(e) { + var t = e.stateNode; + t.pendingContext ? VE(e, t.pendingContext, t.pendingContext !== t.context) : t.context && VE(e, t.context, !1), lD(e, t.containerInfo); +} +function s4(e, t, r, i, n) { + return xc(), rD(n), t.flags |= 256, ai(e, t, r, i), t.child; +} +var K2 = { dehydrated: null, treeContext: null, retryLane: 0 }; +function q2(e) { + return { baseLanes: e, cachePool: null, transitions: null }; +} +function T7(e, t, r) { + var i = t.pendingProps, n = Zt.current, a = !1, o = (t.flags & 128) !== 0, s; + if ((s = o) || (s = e !== null && e.memoizedState === null ? !1 : (n & 2) !== 0), s ? (a = !0, t.flags &= -129) : (e === null || e.memoizedState !== null) && (n |= 1), Pt(Zt, n & 1), e === null) + return j2(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? (t.mode & 1 ? e.data === "$!" ? t.lanes = 8 : t.lanes = 1073741824 : t.lanes = 1, null) : (o = i.children, e = i.fallback, a ? (i = t.mode, a = t.child, o = { mode: "hidden", children: o }, !(i & 1) && a !== null ? (a.childLanes = 0, a.pendingProps = o) : a = um(o, i, 0, null), e = Ll(e, i, r, null), a.return = t, e.return = t, a.sibling = e, t.child = a, t.child.memoizedState = q2(r), t.memoizedState = K2, e) : mD(t, o)); + if (n = e.memoizedState, n !== null && (s = n.dehydrated, s !== null)) + return LM(e, t, o, i, s, n, r); + if (a) { + a = i.fallback, o = t.mode, n = e.child, s = n.sibling; + var l = { mode: "hidden", children: i.children }; + return !(o & 1) && t.child !== n ? (i = t.child, i.childLanes = 0, i.pendingProps = l, t.deletions = null) : (i = Fs(n, l), i.subtreeFlags = n.subtreeFlags & 14680064), s !== null ? a = Fs(s, a) : (a = Ll(a, o, r, null), a.flags |= 2), a.return = t, i.return = t, i.sibling = a, t.child = i, i = a, a = t.child, o = e.child.memoizedState, o = o === null ? q2(r) : { baseLanes: o.baseLanes | r, cachePool: null, transitions: o.transitions }, a.memoizedState = o, a.childLanes = e.childLanes & ~r, t.memoizedState = K2, i; + } + return a = e.child, e = a.sibling, i = Fs(a, { mode: "visible", children: i.children }), !(t.mode & 1) && (i.lanes = r), i.return = t, i.sibling = null, e !== null && (r = t.deletions, r === null ? (t.deletions = [e], t.flags |= 16) : r.push(e)), t.child = i, t.memoizedState = null, i; +} +function mD(e, t) { + return t = um({ mode: "visible", children: t }, e.mode, 0, null), t.return = e, e.child = t; +} +function O1(e, t, r, i) { + return i !== null && rD(i), Ac(t, e.child, null, r), e = mD(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e; +} +function LM(e, t, r, i, n, a, o) { + if (r) + return t.flags & 256 ? (t.flags &= -257, i = Sk(Error(ce(422))), O1(e, t, o, i)) : t.memoizedState !== null ? (t.child = e.child, t.flags |= 128, null) : (a = i.fallback, n = t.mode, i = um({ mode: "visible", children: i.children }, n, 0, null), a = Ll(a, n, o, null), a.flags |= 2, i.return = t, a.return = t, i.sibling = a, t.child = i, t.mode & 1 && Ac(t, e.child, null, o), t.child.memoizedState = q2(o), t.memoizedState = K2, a); + if (!(t.mode & 1)) + return O1(e, t, o, null); + if (n.data === "$!") { + if (i = n.nextSibling && n.nextSibling.dataset, i) + var s = i.dgst; + return i = s, a = Error(ce(419)), i = Sk(a, i, void 0), O1(e, t, o, i); + } + if (s = (o & e.childLanes) !== 0, Fi || s) { + if (i = Tr, i !== null) { + switch (o & -o) { + case 4: + n = 2; + break; + case 16: + n = 8; + break; + 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: + case 4194304: + case 8388608: + case 16777216: + case 33554432: + case 67108864: + n = 32; + break; + case 536870912: + n = 268435456; + break; + default: + n = 0; + } + n = n & (i.suspendedLanes | o) ? 0 : n, n !== 0 && n !== a.retryLane && (a.retryLane = n, So(e, n), na(i, e, n, -1)); + } + return yD(), i = Sk(Error(ce(421))), O1(e, t, o, i); + } + return n.data === "$?" ? (t.flags |= 128, t.child = e.child, t = XM.bind(null, e), n._reactRetry = t, null) : (e = a.treeContext, Zi = Cs(n.nextSibling), tn = t, Yt = !0, Xn = null, e !== null && (vn[kn++] = xo, vn[kn++] = Ao, vn[kn++] = Vl, xo = e.id, Ao = e.overflow, Vl = t), t = mD(t, i.children), t.flags |= 4096, t); +} +function l4(e, t, r) { + e.lanes |= t; + var i = e.alternate; + i !== null && (i.lanes |= t), $2(e.return, t, r); +} +function Bk(e, t, r, i, n) { + var a = e.memoizedState; + a === null ? e.memoizedState = { isBackwards: t, rendering: null, renderingStartTime: 0, last: i, tail: r, tailMode: n } : (a.isBackwards = t, a.rendering = null, a.renderingStartTime = 0, a.last = i, a.tail = r, a.tailMode = n); +} +function S7(e, t, r) { + var i = t.pendingProps, n = i.revealOrder, a = i.tail; + if (ai(e, t, i.children, r), i = Zt.current, i & 2) + i = i & 1 | 2, t.flags |= 128; + else { + if (e !== null && e.flags & 128) + e: + for (e = t.child; e !== null; ) { + if (e.tag === 13) + e.memoizedState !== null && l4(e, r, t); + else if (e.tag === 19) + l4(e, r, t); + else if (e.child !== null) { + e.child.return = e, e = e.child; + continue; + } + if (e === t) + break e; + for (; e.sibling === null; ) { + if (e.return === null || e.return === t) + break e; + e = e.return; + } + e.sibling.return = e.return, e = e.sibling; + } + i &= 1; + } + if (Pt(Zt, i), !(t.mode & 1)) + t.memoizedState = null; + else + switch (n) { + case "forwards": + for (r = t.child, n = null; r !== null; ) + e = r.alternate, e !== null && Lf(e) === null && (n = r), r = r.sibling; + r = n, r === null ? (n = t.child, t.child = null) : (n = r.sibling, r.sibling = null), Bk(t, !1, n, r, a); + break; + case "backwards": + for (r = null, n = t.child, t.child = null; n !== null; ) { + if (e = n.alternate, e !== null && Lf(e) === null) { + t.child = n; + break; + } + e = n.sibling, n.sibling = r, r = n, n = e; + } + Bk(t, !0, r, null, a); + break; + case "together": + Bk(t, !1, null, null, void 0); + break; + default: + t.memoizedState = null; + } + return t.child; +} +function Mh(e, t) { + !(t.mode & 1) && e !== null && (e.alternate = null, t.alternate = null, t.flags |= 2); +} +function Bo(e, t, r) { + if (e !== null && (t.dependencies = e.dependencies), Wl |= t.lanes, !(r & t.childLanes)) + return null; + if (e !== null && t.child !== e.child) + throw Error(ce(153)); + if (t.child !== null) { + for (e = t.child, r = Fs(e, e.pendingProps), t.child = r, r.return = t; e.sibling !== null; ) + e = e.sibling, r = r.sibling = Fs(e, e.pendingProps), r.return = t; + r.sibling = null; + } + return t.child; +} +function MM(e, t, r) { + switch (t.tag) { + case 3: + F7(t), xc(); + break; + case 5: + i7(t); + break; + case 1: + Si(t.type) && If(t); + break; + case 4: + lD(t, t.stateNode.containerInfo); + break; + case 10: + var i = t.type._context, n = t.memoizedProps.value; + Pt(Rf, i._currentValue), i._currentValue = n; + break; + case 13: + if (i = t.memoizedState, i !== null) + return i.dehydrated !== null ? (Pt(Zt, Zt.current & 1), t.flags |= 128, null) : r & t.child.childLanes ? T7(e, t, r) : (Pt(Zt, Zt.current & 1), e = Bo(e, t, r), e !== null ? e.sibling : null); + Pt(Zt, Zt.current & 1); + break; + case 19: + if (i = (r & t.childLanes) !== 0, e.flags & 128) { + if (i) + return S7(e, t, r); + t.flags |= 128; + } + if (n = t.memoizedState, n !== null && (n.rendering = null, n.tail = null, n.lastEffect = null), Pt(Zt, Zt.current), i) + break; + return null; + case 22: + case 23: + return t.lanes = 0, A7(e, t, r); + } + return Bo(e, t, r); +} +var B7, Q2, I7, O7; +B7 = function(e, t) { + for (var r = t.child; r !== null; ) { + if (r.tag === 5 || r.tag === 6) + e.appendChild(r.stateNode); + else if (r.tag !== 4 && r.child !== null) { + r.child.return = r, r = r.child; + continue; + } + if (r === t) + break; + for (; r.sibling === null; ) { + if (r.return === null || r.return === t) + return; + r = r.return; + } + r.sibling.return = r.return, r = r.sibling; + } +}; +Q2 = function() { +}; +I7 = function(e, t, r, i) { + var n = e.memoizedProps; + if (n !== i) { + e = t.stateNode, Sl(La.current); + var a = null; + switch (r) { + case "input": + n = v2(e, n), i = v2(e, i), a = []; + break; + case "select": + n = tr({}, n, { value: void 0 }), i = tr({}, i, { value: void 0 }), a = []; + break; + case "textarea": + n = _2(e, n), i = _2(e, i), a = []; + break; + default: + typeof n.onClick != "function" && typeof i.onClick == "function" && (e.onclick = Sf); + } + y2(r, i); + var o; + r = null; + for (u in n) + if (!i.hasOwnProperty(u) && n.hasOwnProperty(u) && n[u] != null) + if (u === "style") { + var s = n[u]; + for (o in s) + s.hasOwnProperty(o) && (r || (r = {}), r[o] = ""); + } else + u !== "dangerouslySetInnerHTML" && u !== "children" && u !== "suppressContentEditableWarning" && u !== "suppressHydrationWarning" && u !== "autoFocus" && (Mp.hasOwnProperty(u) ? a || (a = []) : (a = a || []).push(u, null)); + for (u in i) { + var l = i[u]; + if (s = n != null ? n[u] : void 0, i.hasOwnProperty(u) && l !== s && (l != null || s != null)) + if (u === "style") + if (s) { + for (o in s) + !s.hasOwnProperty(o) || l && l.hasOwnProperty(o) || (r || (r = {}), r[o] = ""); + for (o in l) + l.hasOwnProperty(o) && s[o] !== l[o] && (r || (r = {}), r[o] = l[o]); + } else + r || (a || (a = []), a.push( + u, + r + )), r = l; + else + u === "dangerouslySetInnerHTML" ? (l = l ? l.__html : void 0, s = s ? s.__html : void 0, l != null && s !== l && (a = a || []).push(u, l)) : u === "children" ? typeof l != "string" && typeof l != "number" || (a = a || []).push(u, "" + l) : u !== "suppressContentEditableWarning" && u !== "suppressHydrationWarning" && (Mp.hasOwnProperty(u) ? (l != null && u === "onScroll" && $t("scroll", e), a || s === l || (a = [])) : (a = a || []).push(u, l)); + } + r && (a = a || []).push("style", r); + var u = a; + (t.updateQueue = u) && (t.flags |= 4); + } +}; +O7 = function(e, t, r, i) { + r !== i && (t.flags |= 4); +}; +function Ed(e, t) { + if (!Yt) + switch (e.tailMode) { + case "hidden": + t = e.tail; + for (var r = null; t !== null; ) + t.alternate !== null && (r = t), t = t.sibling; + r === null ? e.tail = null : r.sibling = null; + break; + case "collapsed": + r = e.tail; + for (var i = null; r !== null; ) + r.alternate !== null && (i = r), r = r.sibling; + i === null ? t || e.tail === null ? e.tail = null : e.tail.sibling = null : i.sibling = null; + } +} +function Qr(e) { + var t = e.alternate !== null && e.alternate.child === e.child, r = 0, i = 0; + if (t) + for (var n = e.child; n !== null; ) + r |= n.lanes | n.childLanes, i |= n.subtreeFlags & 14680064, i |= n.flags & 14680064, n.return = e, n = n.sibling; + else + for (n = e.child; n !== null; ) + r |= n.lanes | n.childLanes, i |= n.subtreeFlags, i |= n.flags, n.return = e, n = n.sibling; + return e.subtreeFlags |= i, e.childLanes = r, t; +} +function jM(e, t, r) { + var i = t.pendingProps; + switch (tD(t), t.tag) { + case 2: + case 16: + case 15: + case 0: + case 11: + case 7: + case 8: + case 12: + case 9: + case 14: + return Qr(t), null; + case 1: + return Si(t.type) && Bf(), Qr(t), null; + case 3: + return i = t.stateNode, wc(), Vt(Ti), Vt(Zr), cD(), i.pendingContext && (i.context = i.pendingContext, i.pendingContext = null), (e === null || e.child === null) && (B1(t) ? t.flags |= 4 : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, Xn !== null && (i_(Xn), Xn = null))), Q2(e, t), Qr(t), null; + case 5: + uD(t); + var n = Sl(Xp.current); + if (r = t.type, e !== null && t.stateNode != null) + I7(e, t, r, i, n), e.ref !== t.ref && (t.flags |= 512, t.flags |= 2097152); + else { + if (!i) { + if (t.stateNode === null) + throw Error(ce(166)); + return Qr(t), null; + } + if (e = Sl(La.current), B1(t)) { + i = t.stateNode, r = t.type; + var a = t.memoizedProps; + switch (i[Ba] = t, i[Qp] = a, e = (t.mode & 1) !== 0, r) { + case "dialog": + $t("cancel", i), $t("close", i); + break; + case "iframe": + case "object": + case "embed": + $t("load", i); + break; + case "video": + case "audio": + for (n = 0; n < Jd.length; n++) + $t(Jd[n], i); + break; + case "source": + $t("error", i); + break; + case "img": + case "image": + case "link": + $t( + "error", + i + ), $t("load", i); + break; + case "details": + $t("toggle", i); + break; + case "input": + vE(i, a), $t("invalid", i); + break; + case "select": + i._wrapperState = { wasMultiple: !!a.multiple }, $t("invalid", i); + break; + case "textarea": + bE(i, a), $t("invalid", i); + } + y2(r, a), n = null; + for (var o in a) + if (a.hasOwnProperty(o)) { + var s = a[o]; + o === "children" ? typeof s == "string" ? i.textContent !== s && (a.suppressHydrationWarning !== !0 && S1(i.textContent, s, e), n = ["children", s]) : typeof s == "number" && i.textContent !== "" + s && (a.suppressHydrationWarning !== !0 && S1( + i.textContent, + s, + e + ), n = ["children", "" + s]) : Mp.hasOwnProperty(o) && s != null && o === "onScroll" && $t("scroll", i); + } + switch (r) { + case "input": + y1(i), kE(i, a, !0); + break; + case "textarea": + y1(i), _E(i); + break; + case "select": + case "option": + break; + default: + typeof a.onClick == "function" && (i.onclick = Sf); + } + i = n, t.updateQueue = i, i !== null && (t.flags |= 4); + } else { + o = n.nodeType === 9 ? n : n.ownerDocument, e === "http://www.w3.org/1999/xhtml" && (e = oF(r)), e === "http://www.w3.org/1999/xhtml" ? r === "script" ? (e = o.createElement("div"), e.innerHTML = " +