UNPKG

@worldcoin/idkit-standalone

Version:

The identity SDK. Privacy-preserving identity and proof of personhood with World ID.

1,339 lines (1,334 loc) 1.07 MB
"use strict"; (() => { var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __esm = (fn, res) => function __init() { return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res; }; var __commonJS = (cb, mod) => function __require() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from6, except, desc) => { if (from6 && typeof from6 === "object" || typeof from6 === "function") { for (let key of __getOwnPropNames(from6)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from6[key], enumerable: !(desc = __getOwnPropDesc(from6, key)) || desc.enumerable }); } return to; }; var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod )); var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // ../../node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.production.min.js var require_react_production_min = __commonJS({ "../../node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.production.min.js"(exports) { "use strict"; var l2 = Symbol.for("react.element"); var n2 = Symbol.for("react.portal"); var p2 = Symbol.for("react.fragment"); var q = Symbol.for("react.strict_mode"); var r3 = Symbol.for("react.profiler"); var t2 = Symbol.for("react.provider"); var u2 = Symbol.for("react.context"); var v2 = Symbol.for("react.forward_ref"); var w2 = Symbol.for("react.suspense"); var x2 = Symbol.for("react.memo"); var y2 = Symbol.for("react.lazy"); var z2 = Symbol.iterator; function A2(a2) { if (null === a2 || "object" !== typeof a2) return null; a2 = z2 && a2[z2] || a2["@@iterator"]; return "function" === typeof a2 ? a2 : null; } var B = { isMounted: function() { return false; }, enqueueForceUpdate: function() { }, enqueueReplaceState: function() { }, enqueueSetState: function() { } }; var C = Object.assign; var D = {}; function E(a2, b2, e2) { this.props = a2; this.context = b2; this.refs = D; this.updater = e2 || B; } E.prototype.isReactComponent = {}; E.prototype.setState = function(a2, b2) { if ("object" !== typeof a2 && "function" !== typeof a2 && null != a2) 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, a2, b2, "setState"); }; E.prototype.forceUpdate = function(a2) { this.updater.enqueueForceUpdate(this, a2, "forceUpdate"); }; function F() { } F.prototype = E.prototype; function G(a2, b2, e2) { this.props = a2; this.context = b2; this.refs = D; this.updater = e2 || B; } var H = G.prototype = new F(); H.constructor = G; C(H, E.prototype); H.isPureReactComponent = true; var I = Array.isArray; var J = Object.prototype.hasOwnProperty; var K = { current: null }; var L = { key: true, ref: true, __self: true, __source: true }; function M(a2, b2, e2) { var d2, c2 = {}, k = null, h2 = null; if (null != b2) for (d2 in void 0 !== b2.ref && (h2 = b2.ref), void 0 !== b2.key && (k = "" + b2.key), b2) J.call(b2, d2) && !L.hasOwnProperty(d2) && (c2[d2] = b2[d2]); var g2 = arguments.length - 2; if (1 === g2) c2.children = e2; else if (1 < g2) { for (var f3 = Array(g2), m2 = 0; m2 < g2; m2++) f3[m2] = arguments[m2 + 2]; c2.children = f3; } if (a2 && a2.defaultProps) for (d2 in g2 = a2.defaultProps, g2) void 0 === c2[d2] && (c2[d2] = g2[d2]); return { $$typeof: l2, type: a2, key: k, ref: h2, props: c2, _owner: K.current }; } function N(a2, b2) { return { $$typeof: l2, type: a2.type, key: b2, ref: a2.ref, props: a2.props, _owner: a2._owner }; } function O2(a2) { return "object" === typeof a2 && null !== a2 && a2.$$typeof === l2; } function escape(a2) { var b2 = { "=": "=0", ":": "=2" }; return "$" + a2.replace(/[=:]/g, function(a3) { return b2[a3]; }); } var P2 = /\/+/g; function Q(a2, b2) { return "object" === typeof a2 && null !== a2 && null != a2.key ? escape("" + a2.key) : b2.toString(36); } function R(a2, b2, e2, d2, c2) { var k = typeof a2; if ("undefined" === k || "boolean" === k) a2 = null; var h2 = false; if (null === a2) h2 = true; else switch (k) { case "string": case "number": h2 = true; break; case "object": switch (a2.$$typeof) { case l2: case n2: h2 = true; } } if (h2) return h2 = a2, c2 = c2(h2), a2 = "" === d2 ? "." + Q(h2, 0) : d2, I(c2) ? (e2 = "", null != a2 && (e2 = a2.replace(P2, "$&/") + "/"), R(c2, b2, e2, "", function(a3) { return a3; })) : null != c2 && (O2(c2) && (c2 = N(c2, e2 + (!c2.key || h2 && h2.key === c2.key ? "" : ("" + c2.key).replace(P2, "$&/") + "/") + a2)), b2.push(c2)), 1; h2 = 0; d2 = "" === d2 ? "." : d2 + ":"; if (I(a2)) for (var g2 = 0; g2 < a2.length; g2++) { k = a2[g2]; var f3 = d2 + Q(k, g2); h2 += R(k, b2, e2, f3, c2); } else if (f3 = A2(a2), "function" === typeof f3) for (a2 = f3.call(a2), g2 = 0; !(k = a2.next()).done; ) k = k.value, f3 = d2 + Q(k, g2++), h2 += R(k, b2, e2, f3, c2); else if ("object" === k) throw b2 = String(a2), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b2 ? "object with keys {" + Object.keys(a2).join(", ") + "}" : b2) + "). If you meant to render a collection of children, use an array instead."); return h2; } function S2(a2, b2, e2) { if (null == a2) return a2; var d2 = [], c2 = 0; R(a2, d2, "", "", function(a3) { return b2.call(e2, a3, c2++); }); return d2; } function T(a2) { if (-1 === a2._status) { var b2 = a2._result; b2 = b2(); b2.then(function(b3) { if (0 === a2._status || -1 === a2._status) a2._status = 1, a2._result = b3; }, function(b3) { if (0 === a2._status || -1 === a2._status) a2._status = 2, a2._result = b3; }); -1 === a2._status && (a2._status = 0, a2._result = b2); } if (1 === a2._status) return a2._result.default; throw a2._result; } var U = { current: null }; var V = { transition: null }; var W = { ReactCurrentDispatcher: U, ReactCurrentBatchConfig: V, ReactCurrentOwner: K }; exports.Children = { map: S2, forEach: function(a2, b2, e2) { S2(a2, function() { b2.apply(this, arguments); }, e2); }, count: function(a2) { var b2 = 0; S2(a2, function() { b2++; }); return b2; }, toArray: function(a2) { return S2(a2, function(a3) { return a3; }) || []; }, only: function(a2) { if (!O2(a2)) throw Error("React.Children.only expected to receive a single React element child."); return a2; } }; exports.Component = E; exports.Fragment = p2; exports.Profiler = r3; exports.PureComponent = G; exports.StrictMode = q; exports.Suspense = w2; exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W; exports.cloneElement = function(a2, b2, e2) { if (null === a2 || void 0 === a2) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a2 + "."); var d2 = C({}, a2.props), c2 = a2.key, k = a2.ref, h2 = a2._owner; if (null != b2) { void 0 !== b2.ref && (k = b2.ref, h2 = K.current); void 0 !== b2.key && (c2 = "" + b2.key); if (a2.type && a2.type.defaultProps) var g2 = a2.type.defaultProps; for (f3 in b2) J.call(b2, f3) && !L.hasOwnProperty(f3) && (d2[f3] = void 0 === b2[f3] && void 0 !== g2 ? g2[f3] : b2[f3]); } var f3 = arguments.length - 2; if (1 === f3) d2.children = e2; else if (1 < f3) { g2 = Array(f3); for (var m2 = 0; m2 < f3; m2++) g2[m2] = arguments[m2 + 2]; d2.children = g2; } return { $$typeof: l2, type: a2.type, key: c2, ref: k, props: d2, _owner: h2 }; }; exports.createContext = function(a2) { a2 = { $$typeof: u2, _currentValue: a2, _currentValue2: a2, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }; a2.Provider = { $$typeof: t2, _context: a2 }; return a2.Consumer = a2; }; exports.createElement = M; exports.createFactory = function(a2) { var b2 = M.bind(null, a2); b2.type = a2; return b2; }; exports.createRef = function() { return { current: null }; }; exports.forwardRef = function(a2) { return { $$typeof: v2, render: a2 }; }; exports.isValidElement = O2; exports.lazy = function(a2) { return { $$typeof: y2, _payload: { _status: -1, _result: a2 }, _init: T }; }; exports.memo = function(a2, b2) { return { $$typeof: x2, type: a2, compare: void 0 === b2 ? null : b2 }; }; exports.startTransition = function(a2) { var b2 = V.transition; V.transition = {}; try { a2(); } finally { V.transition = b2; } }; exports.unstable_act = function() { throw Error("act(...) is not supported in production builds of React."); }; exports.useCallback = function(a2, b2) { return U.current.useCallback(a2, b2); }; exports.useContext = function(a2) { return U.current.useContext(a2); }; exports.useDebugValue = function() { }; exports.useDeferredValue = function(a2) { return U.current.useDeferredValue(a2); }; exports.useEffect = function(a2, b2) { return U.current.useEffect(a2, b2); }; exports.useId = function() { return U.current.useId(); }; exports.useImperativeHandle = function(a2, b2, e2) { return U.current.useImperativeHandle(a2, b2, e2); }; exports.useInsertionEffect = function(a2, b2) { return U.current.useInsertionEffect(a2, b2); }; exports.useLayoutEffect = function(a2, b2) { return U.current.useLayoutEffect(a2, b2); }; exports.useMemo = function(a2, b2) { return U.current.useMemo(a2, b2); }; exports.useReducer = function(a2, b2, e2) { return U.current.useReducer(a2, b2, e2); }; exports.useRef = function(a2) { return U.current.useRef(a2); }; exports.useState = function(a2) { return U.current.useState(a2); }; exports.useSyncExternalStore = function(a2, b2, e2) { return U.current.useSyncExternalStore(a2, b2, e2); }; exports.useTransition = function() { return U.current.useTransition(); }; exports.version = "18.2.0"; } }); // ../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js var require_react = __commonJS({ "../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"(exports, module) { "use strict"; if (true) { module.exports = require_react_production_min(); } else { module.exports = null; } } }); // ../../node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.production.min.js var require_scheduler_production_min = __commonJS({ "../../node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.production.min.js"(exports) { "use strict"; function f3(a2, b2) { var c2 = a2.length; a2.push(b2); a: for (; 0 < c2; ) { var d2 = c2 - 1 >>> 1, e2 = a2[d2]; if (0 < g2(e2, b2)) a2[d2] = b2, a2[c2] = e2, c2 = d2; else break a; } } function h2(a2) { return 0 === a2.length ? null : a2[0]; } function k(a2) { if (0 === a2.length) return null; var b2 = a2[0], c2 = a2.pop(); if (c2 !== b2) { a2[0] = c2; a: for (var d2 = 0, e2 = a2.length, w2 = e2 >>> 1; d2 < w2; ) { var m2 = 2 * (d2 + 1) - 1, C = a2[m2], n2 = m2 + 1, x2 = a2[n2]; if (0 > g2(C, c2)) n2 < e2 && 0 > g2(x2, C) ? (a2[d2] = x2, a2[n2] = c2, d2 = n2) : (a2[d2] = C, a2[m2] = c2, d2 = m2); else if (n2 < e2 && 0 > g2(x2, c2)) a2[d2] = x2, a2[n2] = c2, d2 = n2; else break a; } } return b2; } function g2(a2, b2) { var c2 = a2.sortIndex - b2.sortIndex; return 0 !== c2 ? c2 : a2.id - b2.id; } if ("object" === typeof performance && "function" === typeof performance.now) { l2 = performance; exports.unstable_now = function() { return l2.now(); }; } else { p2 = Date, q = p2.now(); exports.unstable_now = function() { return p2.now() - q; }; } var l2; var p2; var q; var r3 = []; var t2 = []; var u2 = 1; var v2 = null; var y2 = 3; var z2 = false; var A2 = false; var B = false; var D = "function" === typeof setTimeout ? setTimeout : null; var E = "function" === typeof clearTimeout ? clearTimeout : null; var F = "undefined" !== typeof setImmediate ? setImmediate : null; "undefined" !== typeof navigator && void 0 !== navigator.scheduling && void 0 !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling); function G(a2) { for (var b2 = h2(t2); null !== b2; ) { if (null === b2.callback) k(t2); else if (b2.startTime <= a2) k(t2), b2.sortIndex = b2.expirationTime, f3(r3, b2); else break; b2 = h2(t2); } } function H(a2) { B = false; G(a2); if (!A2) if (null !== h2(r3)) A2 = true, I(J); else { var b2 = h2(t2); null !== b2 && K(H, b2.startTime - a2); } } function J(a2, b2) { A2 = false; B && (B = false, E(L), L = -1); z2 = true; var c2 = y2; try { G(b2); for (v2 = h2(r3); null !== v2 && (!(v2.expirationTime > b2) || a2 && !M()); ) { var d2 = v2.callback; if ("function" === typeof d2) { v2.callback = null; y2 = v2.priorityLevel; var e2 = d2(v2.expirationTime <= b2); b2 = exports.unstable_now(); "function" === typeof e2 ? v2.callback = e2 : v2 === h2(r3) && k(r3); G(b2); } else k(r3); v2 = h2(r3); } if (null !== v2) var w2 = true; else { var m2 = h2(t2); null !== m2 && K(H, m2.startTime - b2); w2 = false; } return w2; } finally { v2 = null, y2 = c2, z2 = false; } } var N = false; var O2 = null; var L = -1; var P2 = 5; var Q = -1; function M() { return exports.unstable_now() - Q < P2 ? false : true; } function R() { if (null !== O2) { var a2 = exports.unstable_now(); Q = a2; var b2 = true; try { b2 = O2(true, a2); } finally { b2 ? S2() : (N = false, O2 = null); } } else N = false; } var S2; if ("function" === typeof F) S2 = function() { F(R); }; else if ("undefined" !== typeof MessageChannel) { T = new MessageChannel(), U = T.port2; T.port1.onmessage = R; S2 = function() { U.postMessage(null); }; } else S2 = function() { D(R, 0); }; var T; var U; function I(a2) { O2 = a2; N || (N = true, S2()); } function K(a2, b2) { L = D(function() { a2(exports.unstable_now()); }, b2); } exports.unstable_IdlePriority = 5; exports.unstable_ImmediatePriority = 1; exports.unstable_LowPriority = 4; exports.unstable_NormalPriority = 3; exports.unstable_Profiling = null; exports.unstable_UserBlockingPriority = 2; exports.unstable_cancelCallback = function(a2) { a2.callback = null; }; exports.unstable_continueExecution = function() { A2 || z2 || (A2 = true, I(J)); }; exports.unstable_forceFrameRate = function(a2) { 0 > a2 || 125 < a2 ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : P2 = 0 < a2 ? Math.floor(1e3 / a2) : 5; }; exports.unstable_getCurrentPriorityLevel = function() { return y2; }; exports.unstable_getFirstCallbackNode = function() { return h2(r3); }; exports.unstable_next = function(a2) { switch (y2) { case 1: case 2: case 3: var b2 = 3; break; default: b2 = y2; } var c2 = y2; y2 = b2; try { return a2(); } finally { y2 = c2; } }; exports.unstable_pauseExecution = function() { }; exports.unstable_requestPaint = function() { }; exports.unstable_runWithPriority = function(a2, b2) { switch (a2) { case 1: case 2: case 3: case 4: case 5: break; default: a2 = 3; } var c2 = y2; y2 = a2; try { return b2(); } finally { y2 = c2; } }; exports.unstable_scheduleCallback = function(a2, b2, c2) { var d2 = exports.unstable_now(); "object" === typeof c2 && null !== c2 ? (c2 = c2.delay, c2 = "number" === typeof c2 && 0 < c2 ? d2 + c2 : d2) : c2 = d2; switch (a2) { case 1: var e2 = -1; break; case 2: e2 = 250; break; case 5: e2 = 1073741823; break; case 4: e2 = 1e4; break; default: e2 = 5e3; } e2 = c2 + e2; a2 = { id: u2++, callback: b2, priorityLevel: a2, startTime: c2, expirationTime: e2, sortIndex: -1 }; c2 > d2 ? (a2.sortIndex = c2, f3(t2, a2), null === h2(r3) && a2 === h2(t2) && (B ? (E(L), L = -1) : B = true, K(H, c2 - d2))) : (a2.sortIndex = e2, f3(r3, a2), A2 || z2 || (A2 = true, I(J))); return a2; }; exports.unstable_shouldYield = M; exports.unstable_wrapCallback = function(a2) { var b2 = y2; return function() { var c2 = y2; y2 = b2; try { return a2.apply(this, arguments); } finally { y2 = c2; } }; }; } }); // ../../node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/index.js var require_scheduler = __commonJS({ "../../node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/index.js"(exports, module) { "use strict"; if (true) { module.exports = require_scheduler_production_min(); } else { module.exports = null; } } }); // ../../node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom.production.min.js var require_react_dom_production_min = __commonJS({ "../../node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom.production.min.js"(exports) { "use strict"; var aa = require_react(); var ca = require_scheduler(); function p2(a2) { for (var b2 = "https://reactjs.org/docs/error-decoder.html?invariant=" + a2, c2 = 1; c2 < arguments.length; c2++) b2 += "&args[]=" + encodeURIComponent(arguments[c2]); return "Minified React error #" + a2 + "; visit " + b2 + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } var da = /* @__PURE__ */ new Set(); var ea = {}; function fa(a2, b2) { ha(a2, b2); ha(a2 + "Capture", b2); } function ha(a2, b2) { ea[a2] = b2; for (a2 = 0; a2 < b2.length; a2++) da.add(b2[a2]); } var ia = !("undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement); var ja = Object.prototype.hasOwnProperty; var ka = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/; var la = {}; var ma = {}; function oa(a2) { if (ja.call(ma, a2)) return true; if (ja.call(la, a2)) return false; if (ka.test(a2)) return ma[a2] = true; la[a2] = true; return false; } function pa(a2, b2, c2, d2) { if (null !== c2 && 0 === c2.type) return false; switch (typeof b2) { case "function": case "symbol": return true; case "boolean": if (d2) return false; if (null !== c2) return !c2.acceptsBooleans; a2 = a2.toLowerCase().slice(0, 5); return "data-" !== a2 && "aria-" !== a2; default: return false; } } function qa(a2, b2, c2, d2) { if (null === b2 || "undefined" === typeof b2 || pa(a2, b2, c2, d2)) return true; if (d2) return false; if (null !== c2) switch (c2.type) { case 3: return !b2; case 4: return false === b2; case 5: return isNaN(b2); case 6: return isNaN(b2) || 1 > b2; } return false; } function v2(a2, b2, c2, d2, e2, f3, g2) { this.acceptsBooleans = 2 === b2 || 3 === b2 || 4 === b2; this.attributeName = d2; this.attributeNamespace = e2; this.mustUseProperty = c2; this.propertyName = a2; this.type = b2; this.sanitizeURL = f3; this.removeEmptyString = g2; } var z2 = {}; "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a2) { z2[a2] = new v2(a2, 0, false, a2, null, false, false); }); [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a2) { var b2 = a2[0]; z2[b2] = new v2(b2, 1, false, a2[1], null, false, false); }); ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a2) { z2[a2] = new v2(a2, 2, false, a2.toLowerCase(), null, false, false); }); ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a2) { z2[a2] = new v2(a2, 2, false, a2, null, false, false); }); "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a2) { z2[a2] = new v2(a2, 3, false, a2.toLowerCase(), null, false, false); }); ["checked", "multiple", "muted", "selected"].forEach(function(a2) { z2[a2] = new v2(a2, 3, true, a2, null, false, false); }); ["capture", "download"].forEach(function(a2) { z2[a2] = new v2(a2, 4, false, a2, null, false, false); }); ["cols", "rows", "size", "span"].forEach(function(a2) { z2[a2] = new v2(a2, 6, false, a2, null, false, false); }); ["rowSpan", "start"].forEach(function(a2) { z2[a2] = new v2(a2, 5, false, a2.toLowerCase(), null, false, false); }); var ra = /[\-:]([a-z])/g; function sa(a2) { return a2[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(a2) { var b2 = a2.replace( ra, sa ); z2[b2] = new v2(b2, 1, false, a2, null, false, false); }); "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a2) { var b2 = a2.replace(ra, sa); z2[b2] = new v2(b2, 1, false, a2, "http://www.w3.org/1999/xlink", false, false); }); ["xml:base", "xml:lang", "xml:space"].forEach(function(a2) { var b2 = a2.replace(ra, sa); z2[b2] = new v2(b2, 1, false, a2, "http://www.w3.org/XML/1998/namespace", false, false); }); ["tabIndex", "crossOrigin"].forEach(function(a2) { z2[a2] = new v2(a2, 1, false, a2.toLowerCase(), null, false, false); }); z2.xlinkHref = new v2("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false); ["src", "href", "action", "formAction"].forEach(function(a2) { z2[a2] = new v2(a2, 1, false, a2.toLowerCase(), null, true, true); }); function ta(a2, b2, c2, d2) { var e2 = z2.hasOwnProperty(b2) ? z2[b2] : null; if (null !== e2 ? 0 !== e2.type : d2 || !(2 < b2.length) || "o" !== b2[0] && "O" !== b2[0] || "n" !== b2[1] && "N" !== b2[1]) qa(b2, c2, e2, d2) && (c2 = null), d2 || null === e2 ? oa(b2) && (null === c2 ? a2.removeAttribute(b2) : a2.setAttribute(b2, "" + c2)) : e2.mustUseProperty ? a2[e2.propertyName] = null === c2 ? 3 === e2.type ? false : "" : c2 : (b2 = e2.attributeName, d2 = e2.attributeNamespace, null === c2 ? a2.removeAttribute(b2) : (e2 = e2.type, c2 = 3 === e2 || 4 === e2 && true === c2 ? "" : "" + c2, d2 ? a2.setAttributeNS(d2, b2, c2) : a2.setAttribute(b2, c2))); } var ua = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; var va = Symbol.for("react.element"); var wa = Symbol.for("react.portal"); var ya = Symbol.for("react.fragment"); var za = Symbol.for("react.strict_mode"); var Aa = Symbol.for("react.profiler"); var Ba = Symbol.for("react.provider"); var Ca = Symbol.for("react.context"); var Da = Symbol.for("react.forward_ref"); var Ea = Symbol.for("react.suspense"); var Fa = Symbol.for("react.suspense_list"); var Ga = Symbol.for("react.memo"); var Ha = Symbol.for("react.lazy"); Symbol.for("react.scope"); Symbol.for("react.debug_trace_mode"); var Ia = Symbol.for("react.offscreen"); Symbol.for("react.legacy_hidden"); Symbol.for("react.cache"); Symbol.for("react.tracing_marker"); var Ja = Symbol.iterator; function Ka(a2) { if (null === a2 || "object" !== typeof a2) return null; a2 = Ja && a2[Ja] || a2["@@iterator"]; return "function" === typeof a2 ? a2 : null; } var A2 = Object.assign; var La; function Ma(a2) { if (void 0 === La) try { throw Error(); } catch (c2) { var b2 = c2.stack.trim().match(/\n( *(at )?)/); La = b2 && b2[1] || ""; } return "\n" + La + a2; } var Na = false; function Oa(a2, b2) { if (!a2 || Na) return ""; Na = true; var c2 = Error.prepareStackTrace; Error.prepareStackTrace = void 0; try { if (b2) if (b2 = function() { throw Error(); }, Object.defineProperty(b2.prototype, "props", { set: function() { throw Error(); } }), "object" === typeof Reflect && Reflect.construct) { try { Reflect.construct(b2, []); } catch (l2) { var d2 = l2; } Reflect.construct(a2, [], b2); } else { try { b2.call(); } catch (l2) { d2 = l2; } a2.call(b2.prototype); } else { try { throw Error(); } catch (l2) { d2 = l2; } a2(); } } catch (l2) { if (l2 && d2 && "string" === typeof l2.stack) { for (var e2 = l2.stack.split("\n"), f3 = d2.stack.split("\n"), g2 = e2.length - 1, h2 = f3.length - 1; 1 <= g2 && 0 <= h2 && e2[g2] !== f3[h2]; ) h2--; for (; 1 <= g2 && 0 <= h2; g2--, h2--) if (e2[g2] !== f3[h2]) { if (1 !== g2 || 1 !== h2) { do if (g2--, h2--, 0 > h2 || e2[g2] !== f3[h2]) { var k = "\n" + e2[g2].replace(" at new ", " at "); a2.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", a2.displayName)); return k; } while (1 <= g2 && 0 <= h2); } break; } } } finally { Na = false, Error.prepareStackTrace = c2; } return (a2 = a2 ? a2.displayName || a2.name : "") ? Ma(a2) : ""; } function Pa(a2) { switch (a2.tag) { case 5: return Ma(a2.type); case 16: return Ma("Lazy"); case 13: return Ma("Suspense"); case 19: return Ma("SuspenseList"); case 0: case 2: case 15: return a2 = Oa(a2.type, false), a2; case 11: return a2 = Oa(a2.type.render, false), a2; case 1: return a2 = Oa(a2.type, true), a2; default: return ""; } } function Qa(a2) { if (null == a2) return null; if ("function" === typeof a2) return a2.displayName || a2.name || null; if ("string" === typeof a2) return a2; switch (a2) { case ya: return "Fragment"; case wa: return "Portal"; case Aa: return "Profiler"; case za: return "StrictMode"; case Ea: return "Suspense"; case Fa: return "SuspenseList"; } if ("object" === typeof a2) switch (a2.$$typeof) { case Ca: return (a2.displayName || "Context") + ".Consumer"; case Ba: return (a2._context.displayName || "Context") + ".Provider"; case Da: var b2 = a2.render; a2 = a2.displayName; a2 || (a2 = b2.displayName || b2.name || "", a2 = "" !== a2 ? "ForwardRef(" + a2 + ")" : "ForwardRef"); return a2; case Ga: return b2 = a2.displayName || null, null !== b2 ? b2 : Qa(a2.type) || "Memo"; case Ha: b2 = a2._payload; a2 = a2._init; try { return Qa(a2(b2)); } catch (c2) { } } return null; } function Ra(a2) { var b2 = a2.type; switch (a2.tag) { case 24: return "Cache"; case 9: return (b2.displayName || "Context") + ".Consumer"; case 10: return (b2._context.displayName || "Context") + ".Provider"; case 18: return "DehydratedFragment"; case 11: return a2 = b2.render, a2 = a2.displayName || a2.name || "", b2.displayName || ("" !== a2 ? "ForwardRef(" + a2 + ")" : "ForwardRef"); case 7: return "Fragment"; case 5: return b2; case 4: return "Portal"; case 3: return "Root"; case 6: return "Text"; case 16: return Qa(b2); case 8: return b2 === za ? "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 ("function" === typeof b2) return b2.displayName || b2.name || null; if ("string" === typeof b2) return b2; } return null; } function Sa(a2) { switch (typeof a2) { case "boolean": case "number": case "string": case "undefined": return a2; case "object": return a2; default: return ""; } } function Ta(a2) { var b2 = a2.type; return (a2 = a2.nodeName) && "input" === a2.toLowerCase() && ("checkbox" === b2 || "radio" === b2); } function Ua(a2) { var b2 = Ta(a2) ? "checked" : "value", c2 = Object.getOwnPropertyDescriptor(a2.constructor.prototype, b2), d2 = "" + a2[b2]; if (!a2.hasOwnProperty(b2) && "undefined" !== typeof c2 && "function" === typeof c2.get && "function" === typeof c2.set) { var e2 = c2.get, f3 = c2.set; Object.defineProperty(a2, b2, { configurable: true, get: function() { return e2.call(this); }, set: function(a3) { d2 = "" + a3; f3.call(this, a3); } }); Object.defineProperty(a2, b2, { enumerable: c2.enumerable }); return { getValue: function() { return d2; }, setValue: function(a3) { d2 = "" + a3; }, stopTracking: function() { a2._valueTracker = null; delete a2[b2]; } }; } } function Va(a2) { a2._valueTracker || (a2._valueTracker = Ua(a2)); } function Wa(a2) { if (!a2) return false; var b2 = a2._valueTracker; if (!b2) return true; var c2 = b2.getValue(); var d2 = ""; a2 && (d2 = Ta(a2) ? a2.checked ? "true" : "false" : a2.value); a2 = d2; return a2 !== c2 ? (b2.setValue(a2), true) : false; } function Xa(a2) { a2 = a2 || ("undefined" !== typeof document ? document : void 0); if ("undefined" === typeof a2) return null; try { return a2.activeElement || a2.body; } catch (b2) { return a2.body; } } function Ya(a2, b2) { var c2 = b2.checked; return A2({}, b2, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: null != c2 ? c2 : a2._wrapperState.initialChecked }); } function Za(a2, b2) { var c2 = null == b2.defaultValue ? "" : b2.defaultValue, d2 = null != b2.checked ? b2.checked : b2.defaultChecked; c2 = Sa(null != b2.value ? b2.value : c2); a2._wrapperState = { initialChecked: d2, initialValue: c2, controlled: "checkbox" === b2.type || "radio" === b2.type ? null != b2.checked : null != b2.value }; } function ab(a2, b2) { b2 = b2.checked; null != b2 && ta(a2, "checked", b2, false); } function bb(a2, b2) { ab(a2, b2); var c2 = Sa(b2.value), d2 = b2.type; if (null != c2) if ("number" === d2) { if (0 === c2 && "" === a2.value || a2.value != c2) a2.value = "" + c2; } else a2.value !== "" + c2 && (a2.value = "" + c2); else if ("submit" === d2 || "reset" === d2) { a2.removeAttribute("value"); return; } b2.hasOwnProperty("value") ? cb(a2, b2.type, c2) : b2.hasOwnProperty("defaultValue") && cb(a2, b2.type, Sa(b2.defaultValue)); null == b2.checked && null != b2.defaultChecked && (a2.defaultChecked = !!b2.defaultChecked); } function db(a2, b2, c2) { if (b2.hasOwnProperty("value") || b2.hasOwnProperty("defaultValue")) { var d2 = b2.type; if (!("submit" !== d2 && "reset" !== d2 || void 0 !== b2.value && null !== b2.value)) return; b2 = "" + a2._wrapperState.initialValue; c2 || b2 === a2.value || (a2.value = b2); a2.defaultValue = b2; } c2 = a2.name; "" !== c2 && (a2.name = ""); a2.defaultChecked = !!a2._wrapperState.initialChecked; "" !== c2 && (a2.name = c2); } function cb(a2, b2, c2) { if ("number" !== b2 || Xa(a2.ownerDocument) !== a2) null == c2 ? a2.defaultValue = "" + a2._wrapperState.initialValue : a2.defaultValue !== "" + c2 && (a2.defaultValue = "" + c2); } var eb = Array.isArray; function fb(a2, b2, c2, d2) { a2 = a2.options; if (b2) { b2 = {}; for (var e2 = 0; e2 < c2.length; e2++) b2["$" + c2[e2]] = true; for (c2 = 0; c2 < a2.length; c2++) e2 = b2.hasOwnProperty("$" + a2[c2].value), a2[c2].selected !== e2 && (a2[c2].selected = e2), e2 && d2 && (a2[c2].defaultSelected = true); } else { c2 = "" + Sa(c2); b2 = null; for (e2 = 0; e2 < a2.length; e2++) { if (a2[e2].value === c2) { a2[e2].selected = true; d2 && (a2[e2].defaultSelected = true); return; } null !== b2 || a2[e2].disabled || (b2 = a2[e2]); } null !== b2 && (b2.selected = true); } } function gb(a2, b2) { if (null != b2.dangerouslySetInnerHTML) throw Error(p2(91)); return A2({}, b2, { value: void 0, defaultValue: void 0, children: "" + a2._wrapperState.initialValue }); } function hb(a2, b2) { var c2 = b2.value; if (null == c2) { c2 = b2.children; b2 = b2.defaultValue; if (null != c2) { if (null != b2) throw Error(p2(92)); if (eb(c2)) { if (1 < c2.length) throw Error(p2(93)); c2 = c2[0]; } b2 = c2; } null == b2 && (b2 = ""); c2 = b2; } a2._wrapperState = { initialValue: Sa(c2) }; } function ib(a2, b2) { var c2 = Sa(b2.value), d2 = Sa(b2.defaultValue); null != c2 && (c2 = "" + c2, c2 !== a2.value && (a2.value = c2), null == b2.defaultValue && a2.defaultValue !== c2 && (a2.defaultValue = c2)); null != d2 && (a2.defaultValue = "" + d2); } function jb(a2) { var b2 = a2.textContent; b2 === a2._wrapperState.initialValue && "" !== b2 && null !== b2 && (a2.value = b2); } function kb(a2) { switch (a2) { 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 lb(a2, b2) { return null == a2 || "http://www.w3.org/1999/xhtml" === a2 ? kb(b2) : "http://www.w3.org/2000/svg" === a2 && "foreignObject" === b2 ? "http://www.w3.org/1999/xhtml" : a2; } var mb; var nb = function(a2) { return "undefined" !== typeof MSApp && MSApp.execUnsafeLocalFunction ? function(b2, c2, d2, e2) { MSApp.execUnsafeLocalFunction(function() { return a2(b2, c2, d2, e2); }); } : a2; }(function(a2, b2) { if ("http://www.w3.org/2000/svg" !== a2.namespaceURI || "innerHTML" in a2) a2.innerHTML = b2; else { mb = mb || document.createElement("div"); mb.innerHTML = "<svg>" + b2.valueOf().toString() + "</svg>"; for (b2 = mb.firstChild; a2.firstChild; ) a2.removeChild(a2.firstChild); for (; b2.firstChild; ) a2.appendChild(b2.firstChild); } }); function ob(a2, b2) { if (b2) { var c2 = a2.firstChild; if (c2 && c2 === a2.lastChild && 3 === c2.nodeType) { c2.nodeValue = b2; return; } } a2.textContent = b2; } var pb = { animationIterationCount: true, aspectRatio: true, borderImageOutset: true, borderImageSlice: true, borderImageWidth: true, boxFlex: true, boxFlexGroup: true, boxOrdinalGroup: true, columnCount: true, columns: true, flex: true, flexGrow: true, flexPositive: true, flexShrink: true, flexNegative: true, flexOrder: true, gridArea: true, gridRow: true, gridRowEnd: true, gridRowSpan: true, gridRowStart: true, gridColumn: true, gridColumnEnd: true, gridColumnSpan: true, gridColumnStart: true, fontWeight: true, lineClamp: true, lineHeight: true, opacity: true, order: true, orphans: true, tabSize: true, widows: true, zIndex: true, zoom: true, fillOpacity: true, floodOpacity: true, stopOpacity: true, strokeDasharray: true, strokeDashoffset: true, strokeMiterlimit: true, strokeOpacity: true, strokeWidth: true }; var qb = ["Webkit", "ms", "Moz", "O"]; Object.keys(pb).forEach(function(a2) { qb.forEach(function(b2) { b2 = b2 + a2.charAt(0).toUpperCase() + a2.substring(1); pb[b2] = pb[a2]; }); }); function rb(a2, b2, c2) { return null == b2 || "boolean" === typeof b2 || "" === b2 ? "" : c2 || "number" !== typeof b2 || 0 === b2 || pb.hasOwnProperty(a2) && pb[a2] ? ("" + b2).trim() : b2 + "px"; } function sb(a2, b2) { a2 = a2.style; for (var c2 in b2) if (b2.hasOwnProperty(c2)) { var d2 = 0 === c2.indexOf("--"), e2 = rb(c2, b2[c2], d2); "float" === c2 && (c2 = "cssFloat"); d2 ? a2.setProperty(c2, e2) : a2[c2] = e2; } } var tb = A2({ menuitem: true }, { area: true, base: true, br: true, col: true, embed: true, hr: true, img: true, input: true, keygen: true, link: true, meta: true, param: true, source: true, track: true, wbr: true }); function ub(a2, b2) { if (b2) { if (tb[a2] && (null != b2.children || null != b2.dangerouslySetInnerHTML)) throw Error(p2(137, a2)); if (null != b2.dangerouslySetInnerHTML) { if (null != b2.children) throw Error(p2(60)); if ("object" !== typeof b2.dangerouslySetInnerHTML || !("__html" in b2.dangerouslySetInnerHTML)) throw Error(p2(61)); } if (null != b2.style && "object" !== typeof b2.style) throw Error(p2(62)); } } function vb(a2, b2) { if (-1 === a2.indexOf("-")) return "string" === typeof b2.is; switch (a2) { case "annotation-xml": case "color-profile": case "font-face": case "font-face-src": case "font-face-uri": case "font-face-format": case "font-face-name": case "missing-glyph": return false; default: return true; } } var wb = null; function xb(a2) { a2 = a2.target || a2.srcElement || window; a2.correspondingUseElement && (a2 = a2.correspondingUseElement); return 3 === a2.nodeType ? a2.parentNode : a2; } var yb = null; var zb = null; var Ab = null; function Bb(a2) { if (a2 = Cb(a2)) { if ("function" !== typeof yb) throw Error(p2(280)); var b2 = a2.stateNode; b2 && (b2 = Db(b2), yb(a2.stateNode, a2.type, b2)); } } function Eb(a2) { zb ? Ab ? Ab.push(a2) : Ab = [a2] : zb = a2; } function Fb() { if (zb) { var a2 = zb, b2 = Ab; Ab = zb = null; Bb(a2); if (b2) for (a2 = 0; a2 < b2.length; a2++) Bb(b2[a2]); } } function Gb(a2, b2) { return a2(b2); } function Hb() { } var Ib = false; function Jb(a2, b2, c2) { if (Ib) return a2(b2, c2); Ib = true; try { return Gb(a2, b2, c2); } finally { if (Ib = false, null !== zb || null !== Ab) Hb(), Fb(); } } function Kb(a2, b2) { var c2 = a2.stateNode; if (null === c2) return null; var d2 = Db(c2); if (null === d2) return null; c2 = d2[b2]; a: switch (b2) { case "onClick": case "onClickCapture": case "onDoubleClick": case "onDoubleClickCapture": case "onMouseDown": case "onMouseDownCapture": case "onMouseMove": case "onMouseMoveCapture": case "onMouseUp": case "onMouseUpCapture": case "onMouseEnter": (d2 = !d2.disabled) || (a2 = a2.type, d2 = !("button" === a2 || "input" === a2 || "select" === a2 || "textarea" === a2)); a2 = !d2; break a; default: a2 = false; } if (a2) return null; if (c2 && "function" !== typeof c2) throw Error(p2(231, b2, typeof c2)); return c2; } var Lb = false; if (ia) try { Mb = {}; Object.defineProperty(Mb, "passive", { get: function() { Lb = true; } }); window.addEventListener("test", Mb, Mb); window.removeEventListener("test", Mb, Mb); } catch (a2) { Lb = false; } var Mb; function Nb(a2, b2, c2, d2, e2, f3, g2, h2, k) { var l2 = Array.prototype.slice.call(arguments, 3); try { b2.apply(c2, l2); } catch (m2) { this.onError(m2); } } var Ob = false; var Pb = null; var Qb = false; var Rb = null; var Sb = { onError: function(a2) { Ob = true; Pb = a2; } }; function Tb(a2, b2, c2, d2, e2, f3, g2, h2, k) { Ob = false; Pb = null; Nb.apply(Sb, arguments); } function Ub(a2, b2, c2, d2, e2, f3, g2, h2, k) { Tb.apply(this, arguments); if (Ob) { if (Ob) { var l2 = Pb; Ob = false; Pb = null; } else throw Error(p2(198)); Qb || (Qb = true, Rb = l2); } } function Vb(a2) { var b2 = a2, c2 = a2; if (a2.alternate) for (; b2.return; ) b2 = b2.return; else { a2 = b2; do b2 = a2, 0 !== (b2.flags & 4098) && (c2 = b2.return), a2 = b2.return; while (a2); } return 3 === b2.tag ? c2 : null; } function Wb(a2) { if (13 === a2.tag) { var b2 = a2.memoizedState; null === b2 && (a2 = a2.alternate, null !== a2 && (b2 = a2.memoizedState)); if (null !== b2) return b2.dehydrated; } return null; } function Xb(a2) { if (Vb(a2) !== a2) throw Error(p2(188)); } function Yb(a2) { var b2 = a2.alterna