UNPKG

@integrate.team/react-chatbot-types

Version:
1,562 lines (1,559 loc) 1.74 MB
var F3 = Object.defineProperty; var $3 = (e, o, t) => o in e ? F3(e, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[o] = t; var Xo = (e, o, t) => $3(e, typeof o != "symbol" ? o + "" : o, t); import * as v from "react"; import k1, { forwardRef as U3, useContext as go, isValidElement as Wn, cloneElement as hn, Children as V3, createContext as H3, useState as T1, useEffect as rt, useRef as Y3 } from "react"; import * as G3 from "react-dom"; import Jt from "react-dom"; function Mp(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } function K3(e) { if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e; var o = e.default; if (typeof o == "function") { var t = function n() { return this instanceof n ? Reflect.construct(o, arguments, this.constructor) : o.apply(this, arguments); }; t.prototype = o.prototype; } else t = {}; return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(n) { var p = Object.getOwnPropertyDescriptor(e, n); Object.defineProperty(t, n, p.get ? p : { enumerable: !0, get: function() { return e[n]; } }); }), t; } var Zt = { exports: {} }, Po = {}; /** * @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 Oc; function Q3() { if (Oc) return Po; Oc = 1; var e = k1, o = Symbol.for("react.element"), t = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, r = { key: !0, ref: !0, __self: !0, __source: !0 }; function b(c, z, i) { var a, O = {}, u = null, l = null; i !== void 0 && (u = "" + i), z.key !== void 0 && (u = "" + z.key), z.ref !== void 0 && (l = z.ref); for (a in z) n.call(z, a) && !r.hasOwnProperty(a) && (O[a] = z[a]); if (c && c.defaultProps) for (a in z = c.defaultProps, z) O[a] === void 0 && (O[a] = z[a]); return { $$typeof: o, type: c, key: u, ref: l, props: O, _owner: p.current }; } return Po.Fragment = t, Po.jsx = b, Po.jsxs = b, Po; } var _o = {}; /** * @license React * react-jsx-runtime.development.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 sc; function J3() { return sc || (sc = 1, process.env.NODE_ENV !== "production" && function() { var e = k1, o = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), c = Symbol.for("react.context"), z = Symbol.for("react.forward_ref"), i = Symbol.for("react.suspense"), a = Symbol.for("react.suspense_list"), O = Symbol.for("react.memo"), u = Symbol.for("react.lazy"), l = Symbol.for("react.offscreen"), d = Symbol.iterator, s = "@@iterator"; function q(w) { if (w === null || typeof w != "object") return null; var r0 = d && w[d] || w[s]; return typeof r0 == "function" ? r0 : null; } var f = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; function L(w) { { for (var r0 = arguments.length, u0 = new Array(r0 > 1 ? r0 - 1 : 0), v0 = 1; v0 < r0; v0++) u0[v0 - 1] = arguments[v0]; h("error", w, u0); } } function h(w, r0, u0) { { var v0 = f.ReactDebugCurrentFrame, Z0 = v0.getStackAddendum(); Z0 !== "" && (r0 += "%s", u0 = u0.concat([Z0])); var M1 = u0.map(function($0) { return String($0); }); M1.unshift("Warning: " + r0), Function.prototype.apply.call(console[w], console, M1); } } var W = !1, R = !1, g = !1, x = !1, k = !1, X; X = Symbol.for("react.module.reference"); function A(w) { return !!(typeof w == "string" || typeof w == "function" || w === n || w === r || k || w === p || w === i || w === a || x || w === l || W || R || g || typeof w == "object" && w !== null && (w.$$typeof === u || w.$$typeof === O || w.$$typeof === b || w.$$typeof === c || w.$$typeof === z || // This needs to include all possible module reference object // types supported by any Flight configuration anywhere since // we don't know which Flight build this will end up being used // with. w.$$typeof === X || w.getModuleId !== void 0)); } function T(w, r0, u0) { var v0 = w.displayName; if (v0) return v0; var Z0 = r0.displayName || r0.name || ""; return Z0 !== "" ? u0 + "(" + Z0 + ")" : u0; } function E(w) { return w.displayName || "Context"; } function C(w) { if (w == null) return null; if (typeof w.tag == "number" && L("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof w == "function") return w.displayName || w.name || null; if (typeof w == "string") return w; switch (w) { case n: return "Fragment"; case t: return "Portal"; case r: return "Profiler"; case p: return "StrictMode"; case i: return "Suspense"; case a: return "SuspenseList"; } if (typeof w == "object") switch (w.$$typeof) { case c: var r0 = w; return E(r0) + ".Consumer"; case b: var u0 = w; return E(u0._context) + ".Provider"; case z: return T(w, w.render, "ForwardRef"); case O: var v0 = w.displayName || null; return v0 !== null ? v0 : C(w.type) || "Memo"; case u: { var Z0 = w, M1 = Z0._payload, $0 = Z0._init; try { return C($0(M1)); } catch { return null; } } } return null; } var P = Object.assign, S = 0, D, $, t0, U, m, j, p0; function N() { } N.__reactDisabledLog = !0; function Y() { { if (S === 0) { D = console.log, $ = console.info, t0 = console.warn, U = console.error, m = console.group, j = console.groupCollapsed, p0 = console.groupEnd; var w = { configurable: !0, enumerable: !0, value: N, writable: !0 }; Object.defineProperties(console, { info: w, log: w, warn: w, error: w, group: w, groupCollapsed: w, groupEnd: w }); } S++; } } function e0() { { if (S--, S === 0) { var w = { configurable: !0, enumerable: !0, writable: !0 }; Object.defineProperties(console, { log: P({}, w, { value: D }), info: P({}, w, { value: $ }), warn: P({}, w, { value: t0 }), error: P({}, w, { value: U }), group: P({}, w, { value: m }), groupCollapsed: P({}, w, { value: j }), groupEnd: P({}, w, { value: p0 }) }); } S < 0 && L("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } } var J = f.ReactCurrentDispatcher, G; function K(w, r0, u0) { { if (G === void 0) try { throw Error(); } catch (Z0) { var v0 = Z0.stack.trim().match(/\n( *(at )?)/); G = v0 && v0[1] || ""; } return ` ` + G + w; } } var c0 = !1, Z; { var n0 = typeof WeakMap == "function" ? WeakMap : Map; Z = new n0(); } function F(w, r0) { if (!w || c0) return ""; { var u0 = Z.get(w); if (u0 !== void 0) return u0; } var v0; c0 = !0; var Z0 = Error.prepareStackTrace; Error.prepareStackTrace = void 0; var M1; M1 = J.current, J.current = null, Y(); try { if (r0) { var $0 = function() { throw Error(); }; if (Object.defineProperty($0.prototype, "props", { set: function() { throw Error(); } }), typeof Reflect == "object" && Reflect.construct) { try { Reflect.construct($0, []); } catch (V1) { v0 = V1; } Reflect.construct(w, [], $0); } else { try { $0.call(); } catch (V1) { v0 = V1; } w.call($0.prototype); } } else { try { throw Error(); } catch (V1) { v0 = V1; } w(); } } catch (V1) { if (V1 && v0 && typeof V1.stack == "string") { for (var _0 = V1.stack.split(` `), j1 = v0.stack.split(` `), h1 = _0.length - 1, g1 = j1.length - 1; h1 >= 1 && g1 >= 0 && _0[h1] !== j1[g1]; ) g1--; for (; h1 >= 1 && g1 >= 0; h1--, g1--) if (_0[h1] !== j1[g1]) { if (h1 !== 1 || g1 !== 1) do if (h1--, g1--, g1 < 0 || _0[h1] !== j1[g1]) { var Me = ` ` + _0[h1].replace(" at new ", " at "); return w.displayName && Me.includes("<anonymous>") && (Me = Me.replace("<anonymous>", w.displayName)), typeof w == "function" && Z.set(w, Me), Me; } while (h1 >= 1 && g1 >= 0); break; } } } finally { c0 = !1, J.current = M1, e0(), Error.prepareStackTrace = Z0; } var V2 = w ? w.displayName || w.name : "", y2 = V2 ? K(V2) : ""; return typeof w == "function" && Z.set(w, y2), y2; } function B(w, r0, u0) { return F(w, !1); } function _(w) { var r0 = w.prototype; return !!(r0 && r0.isReactComponent); } function I(w, r0, u0) { if (w == null) return ""; if (typeof w == "function") return F(w, _(w)); if (typeof w == "string") return K(w); switch (w) { case i: return K("Suspense"); case a: return K("SuspenseList"); } if (typeof w == "object") switch (w.$$typeof) { case z: return B(w.render); case O: return I(w.type, r0, u0); case u: { var v0 = w, Z0 = v0._payload, M1 = v0._init; try { return I(M1(Z0), r0, u0); } catch { } } } return ""; } var Q = Object.prototype.hasOwnProperty, z0 = {}, i0 = f.ReactDebugCurrentFrame; function R0(w) { if (w) { var r0 = w._owner, u0 = I(w.type, w._source, r0 ? r0.type : null); i0.setExtraStackFrame(u0); } else i0.setExtraStackFrame(null); } function A0(w, r0, u0, v0, Z0) { { var M1 = Function.call.bind(Q); for (var $0 in w) if (M1(w, $0)) { var _0 = void 0; try { if (typeof w[$0] != "function") { var j1 = Error((v0 || "React class") + ": " + u0 + " type `" + $0 + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof w[$0] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); throw j1.name = "Invariant Violation", j1; } _0 = w[$0](r0, $0, v0, u0, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); } catch (h1) { _0 = h1; } _0 && !(_0 instanceof Error) && (R0(Z0), L("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v0 || "React class", u0, $0, typeof _0), R0(null)), _0 instanceof Error && !(_0.message in z0) && (z0[_0.message] = !0, R0(Z0), L("Failed %s type: %s", u0, _0.message), R0(null)); } } } var m0 = Array.isArray; function q0(w) { return m0(w); } function W1(w) { { var r0 = typeof Symbol == "function" && Symbol.toStringTag, u0 = r0 && w[Symbol.toStringTag] || w.constructor.name || "Object"; return u0; } } function J0(w) { try { return N1(w), !1; } catch { return !0; } } function N1(w) { return "" + w; } function V(w) { if (J0(w)) return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", W1(w)), N1(w); } var o0 = f.ReactCurrentOwner, O0 = { key: !0, ref: !0, __self: !0, __source: !0 }, d0, y0; function W0(w) { if (Q.call(w, "ref")) { var r0 = Object.getOwnPropertyDescriptor(w, "ref").get; if (r0 && r0.isReactWarning) return !1; } return w.ref !== void 0; } function F0(w) { if (Q.call(w, "key")) { var r0 = Object.getOwnPropertyDescriptor(w, "key").get; if (r0 && r0.isReactWarning) return !1; } return w.key !== void 0; } function X0(w, r0) { typeof w.ref == "string" && o0.current; } function A1(w, r0) { { var u0 = function() { d0 || (d0 = !0, L("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r0)); }; u0.isReactWarning = !0, Object.defineProperty(w, "key", { get: u0, configurable: !0 }); } } function be(w, r0) { { var u0 = function() { y0 || (y0 = !0, L("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r0)); }; u0.isReactWarning = !0, Object.defineProperty(w, "ref", { get: u0, configurable: !0 }); } } var l0 = function(w, r0, u0, v0, Z0, M1, $0) { var _0 = { // This tag allows us to uniquely identify this as a React Element $$typeof: o, // Built-in properties that belong on the element type: w, key: r0, ref: u0, props: $0, // Record the component responsible for creating this element. _owner: M1 }; return _0._store = {}, Object.defineProperty(_0._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: !1 }), Object.defineProperty(_0, "_self", { configurable: !1, enumerable: !1, writable: !1, value: v0 }), Object.defineProperty(_0, "_source", { configurable: !1, enumerable: !1, writable: !1, value: Z0 }), Object.freeze && (Object.freeze(_0.props), Object.freeze(_0)), _0; }; function T0(w, r0, u0, v0, Z0) { { var M1, $0 = {}, _0 = null, j1 = null; u0 !== void 0 && (V(u0), _0 = "" + u0), F0(r0) && (V(r0.key), _0 = "" + r0.key), W0(r0) && (j1 = r0.ref, X0(r0, Z0)); for (M1 in r0) Q.call(r0, M1) && !O0.hasOwnProperty(M1) && ($0[M1] = r0[M1]); if (w && w.defaultProps) { var h1 = w.defaultProps; for (M1 in h1) $0[M1] === void 0 && ($0[M1] = h1[M1]); } if (_0 || j1) { var g1 = typeof w == "function" ? w.displayName || w.name || "Unknown" : w; _0 && A1($0, g1), j1 && be($0, g1); } return l0(w, _0, j1, Z0, v0, o0.current, $0); } } var P0 = f.ReactCurrentOwner, me = f.ReactDebugCurrentFrame; function Re(w) { if (w) { var r0 = w._owner, u0 = I(w.type, w._source, r0 ? r0.type : null); me.setExtraStackFrame(u0); } else me.setExtraStackFrame(null); } var Co; Co = !1; function ko(w) { return typeof w == "object" && w !== null && w.$$typeof === o; } function Gt() { { if (P0.current) { var w = C(P0.current.type); if (w) return ` Check the render method of \`` + w + "`."; } return ""; } } function Jp(w) { return ""; } var Kt = {}; function Zp(w) { { var r0 = Gt(); if (!r0) { var u0 = typeof w == "string" ? w : w.displayName || w.name; u0 && (r0 = ` Check the top-level render call using <` + u0 + ">."); } return r0; } } function B0(w, r0) { { if (!w._store || w._store.validated || w.key != null) return; w._store.validated = !0; var u0 = Zp(r0); if (Kt[u0]) return; Kt[u0] = !0; var v0 = ""; w && w._owner && w._owner !== P0.current && (v0 = " It was passed a child from " + C(w._owner.type) + "."), Re(w), L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u0, v0), Re(null); } } function U1(w, r0) { { if (typeof w != "object") return; if (q0(w)) for (var u0 = 0; u0 < w.length; u0++) { var v0 = w[u0]; ko(v0) && B0(v0, r0); } else if (ko(w)) w._store && (w._store.validated = !0); else if (w) { var Z0 = q(w); if (typeof Z0 == "function" && Z0 !== w.entries) for (var M1 = Z0.call(w), $0; !($0 = M1.next()).done; ) ko($0.value) && B0($0.value, r0); } } } function Qt(w) { { var r0 = w.type; if (r0 == null || typeof r0 == "string") return; var u0; if (typeof r0 == "function") u0 = r0.propTypes; else if (typeof r0 == "object" && (r0.$$typeof === z || // Note: Memo only checks outer props here. // Inner props are checked in the reconciler. r0.$$typeof === O)) u0 = r0.propTypes; else return; if (u0) { var v0 = C(r0); A0(u0, w.props, "prop", v0, w); } else if (r0.PropTypes !== void 0 && !Co) { Co = !0; var Z0 = C(r0); L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Z0 || "Unknown"); } typeof r0.getDefaultProps == "function" && !r0.getDefaultProps.isReactClassApproved && L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."); } } function k3(w) { { for (var r0 = Object.keys(w.props), u0 = 0; u0 < r0.length; u0++) { var v0 = r0[u0]; if (v0 !== "children" && v0 !== "key") { Re(w), L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v0), Re(null); break; } } w.ref !== null && (Re(w), L("Invalid attribute `ref` supplied to `React.Fragment`."), Re(null)); } } var ic = {}; function ac(w, r0, u0, v0, Z0, M1) { { var $0 = A(w); if (!$0) { var _0 = ""; (w === void 0 || typeof w == "object" && w !== null && Object.keys(w).length === 0) && (_0 += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."); var j1 = Jp(); j1 ? _0 += j1 : _0 += Gt(); var h1; w === null ? h1 = "null" : q0(w) ? h1 = "array" : w !== void 0 && w.$$typeof === o ? (h1 = "<" + (C(w.type) || "Unknown") + " />", _0 = " Did you accidentally export a JSX literal instead of a component?") : h1 = typeof w, L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", h1, _0); } var g1 = T0(w, r0, u0, Z0, M1); if (g1 == null) return g1; if ($0) { var Me = r0.children; if (Me !== void 0) if (v0) if (q0(Me)) { for (var V2 = 0; V2 < Me.length; V2++) U1(Me[V2], w); Object.freeze && Object.freeze(Me); } else L("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."); else U1(Me, w); } if (Q.call(r0, "key")) { var y2 = C(w), V1 = Object.keys(r0).filter(function(j3) { return j3 !== "key"; }), er = V1.length > 0 ? "{key: someKey, " + V1.join(": ..., ") + ": ...}" : "{key: someKey}"; if (!ic[y2 + er]) { var I3 = V1.length > 0 ? "{" + V1.join(": ..., ") + ": ...}" : "{}"; L(`A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; <%s key={someKey} {...props} />`, er, y2, I3, y2), ic[y2 + er] = !0; } } return w === n ? k3(g1) : Qt(g1), g1; } } function X3(w, r0, u0) { return ac(w, r0, u0, !0); } function P3(w, r0, u0) { return ac(w, r0, u0, !1); } var _3 = P3, D3 = X3; _o.Fragment = n, _o.jsx = _3, _o.jsxs = D3; }()), _o; } var lc; function Z3() { return lc || (lc = 1, process.env.NODE_ENV === "production" ? Zt.exports = Q3() : Zt.exports = J3()), Zt.exports; } var y = Z3(); const el = "_containerWeb_59r3n_1", ol = { containerWeb: el }, tl = "_imgChat_x214a_1", nl = "_infoBot_x214a_6", pl = "_headerContainer_x214a_15", or = { imgChat: tl, infoBot: nl, headerContainer: pl }, ut = { black: "#000", white: "#fff" }, H2 = { 300: "#e57373", 400: "#ef5350", 500: "#f44336", 700: "#d32f2f", 800: "#c62828" }, Y2 = { 50: "#f3e5f5", 200: "#ce93d8", 300: "#ba68c8", 400: "#ab47bc", 500: "#9c27b0", 700: "#7b1fa2" }, G2 = { 50: "#e3f2fd", 200: "#90caf9", 400: "#42a5f5", 700: "#1976d2", 800: "#1565c0" }, K2 = { 300: "#4fc3f7", 400: "#29b6f6", 500: "#03a9f4", 700: "#0288d1", 900: "#01579b" }, Q2 = { 300: "#81c784", 400: "#66bb6a", 500: "#4caf50", 700: "#388e3c", 800: "#2e7d32", 900: "#1b5e20" }, Do = { 300: "#ffb74d", 400: "#ffa726", 500: "#ff9800", 700: "#f57c00", 900: "#e65100" }, rl = { 50: "#fafafa", 100: "#f5f5f5", 200: "#eeeeee", 300: "#e0e0e0", 400: "#bdbdbd", 500: "#9e9e9e", 600: "#757575", 700: "#616161", 800: "#424242", 900: "#212121", A100: "#f5f5f5", A200: "#eeeeee", A400: "#bdbdbd", A700: "#616161" }; function De(e, ...o) { const t = new URL(`https://mui.com/production-error/?code=${e}`); return o.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`; } const Xe = "$$material"; function wn() { return wn = Object.assign ? Object.assign.bind() : function(e) { for (var o = 1; o < arguments.length; o++) { var t = arguments[o]; for (var n in t) ({}).hasOwnProperty.call(t, n) && (e[n] = t[n]); } return e; }, wn.apply(null, arguments); } function bl(e) { if (e.sheet) return e.sheet; for (var o = 0; o < document.styleSheets.length; o++) if (document.styleSheets[o].ownerNode === e) return document.styleSheets[o]; } function Ml(e) { var o = document.createElement("style"); return o.setAttribute("data-emotion", e.key), e.nonce !== void 0 && o.setAttribute("nonce", e.nonce), o.appendChild(document.createTextNode("")), o.setAttribute("data-s", ""), o; } var cl = /* @__PURE__ */ function() { function e(t) { var n = this; this._insertTag = function(p) { var r; n.tags.length === 0 ? n.insertionPoint ? r = n.insertionPoint.nextSibling : n.prepend ? r = n.container.firstChild : r = n.before : r = n.tags[n.tags.length - 1].nextSibling, n.container.insertBefore(p, r), n.tags.push(p); }, this.isSpeedy = t.speedy === void 0 ? !0 : t.speedy, this.tags = [], this.ctr = 0, this.nonce = t.nonce, this.key = t.key, this.container = t.container, this.prepend = t.prepend, this.insertionPoint = t.insertionPoint, this.before = null; } var o = e.prototype; return o.hydrate = function(n) { n.forEach(this._insertTag); }, o.insert = function(n) { this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Ml(this)); var p = this.tags[this.tags.length - 1]; if (this.isSpeedy) { var r = bl(p); try { r.insertRule(n, r.cssRules.length); } catch { } } else p.appendChild(document.createTextNode(n)); this.ctr++; }, o.flush = function() { this.tags.forEach(function(n) { var p; return (p = n.parentNode) == null ? void 0 : p.removeChild(n); }), this.tags = [], this.ctr = 0; }, e; }(), E1 = "-ms-", En = "-moz-", G0 = "-webkit-", Qi = "comm", vb = "rule", Bb = "decl", zl = "@import", Ji = "@keyframes", il = "@layer", al = Math.abs, cp = String.fromCharCode, Ol = Object.assign; function sl(e, o) { return S1(e, 0) ^ 45 ? (((o << 2 ^ S1(e, 0)) << 2 ^ S1(e, 1)) << 2 ^ S1(e, 2)) << 2 ^ S1(e, 3) : 0; } function Zi(e) { return e.trim(); } function ll(e, o) { return (e = o.exec(e)) ? e[0] : e; } function K0(e, o, t) { return e.replace(o, t); } function Fr(e, o) { return e.indexOf(o); } function S1(e, o) { return e.charCodeAt(o) | 0; } function At(e, o, t) { return e.slice(o, t); } function we(e) { return e.length; } function Tb(e) { return e.length; } function en(e, o) { return o.push(e), e; } function ul(e, o) { return e.map(o).join(""); } var zp = 1, uo = 1, ea = 0, Q1 = 0, L1 = 0, yo = ""; function ip(e, o, t, n, p, r, b) { return { value: e, root: o, parent: t, type: n, props: p, children: r, line: zp, column: uo, length: b, return: "" }; } function Io(e, o) { return Ol(ip("", null, null, "", null, null, 0), e, { length: -e.length }, o); } function Al() { return L1; } function dl() { return L1 = Q1 > 0 ? S1(yo, --Q1) : 0, uo--, L1 === 10 && (uo = 1, zp--), L1; } function te() { return L1 = Q1 < ea ? S1(yo, Q1++) : 0, uo++, L1 === 10 && (uo = 1, zp++), L1; } function Pe() { return S1(yo, Q1); } function mn() { return Q1; } function St(e, o) { return At(yo, e, o); } function dt(e) { switch (e) { // \0 \t \n \r \s whitespace token case 0: case 9: case 10: case 13: case 32: return 5; // ! + , / > @ ~ isolate token case 33: case 43: case 44: case 47: case 62: case 64: case 126: // ; { } breakpoint token case 59: case 123: case 125: return 4; // : accompanied token case 58: return 3; // " ' ( [ opening delimit token case 34: case 39: case 40: case 91: return 2; // ) ] closing delimit token case 41: case 93: return 1; } return 0; } function oa(e) { return zp = uo = 1, ea = we(yo = e), Q1 = 0, []; } function ta(e) { return yo = "", e; } function Rn(e) { return Zi(St(Q1 - 1, $r(e === 91 ? e + 2 : e === 40 ? e + 1 : e))); } function fl(e) { for (; (L1 = Pe()) && L1 < 33; ) te(); return dt(e) > 2 || dt(L1) > 3 ? "" : " "; } function ql(e, o) { for (; --o && te() && !(L1 < 48 || L1 > 102 || L1 > 57 && L1 < 65 || L1 > 70 && L1 < 97); ) ; return St(e, mn() + (o < 6 && Pe() == 32 && te() == 32)); } function $r(e) { for (; te(); ) switch (L1) { // ] ) " ' case e: return Q1; // " ' case 34: case 39: e !== 34 && e !== 39 && $r(L1); break; // ( case 40: e === 41 && $r(e); break; // \ case 92: te(); break; } return Q1; } function Wl(e, o) { for (; te() && e + L1 !== 57; ) if (e + L1 === 84 && Pe() === 47) break; return "/*" + St(o, Q1 - 1) + "*" + cp(e === 47 ? e : te()); } function hl(e) { for (; !dt(Pe()); ) te(); return St(e, Q1); } function ml(e) { return ta(gn("", null, null, null, [""], e = oa(e), 0, [0], e)); } function gn(e, o, t, n, p, r, b, c, z) { for (var i = 0, a = 0, O = b, u = 0, l = 0, d = 0, s = 1, q = 1, f = 1, L = 0, h = "", W = p, R = r, g = n, x = h; q; ) switch (d = L, L = te()) { // ( case 40: if (d != 108 && S1(x, O - 1) == 58) { Fr(x += K0(Rn(L), "&", "&\f"), "&\f") != -1 && (f = -1); break; } // " ' [ case 34: case 39: case 91: x += Rn(L); break; // \t \n \r \s case 9: case 10: case 13: case 32: x += fl(d); break; // \ case 92: x += ql(mn() - 1, 7); continue; // / case 47: switch (Pe()) { case 42: case 47: en(Rl(Wl(te(), mn()), o, t), z); break; default: x += "/"; } break; // { case 123 * s: c[i++] = we(x) * f; // } ; \0 case 125 * s: case 59: case 0: switch (L) { // \0 } case 0: case 125: q = 0; // ; case 59 + a: f == -1 && (x = K0(x, /\f/g, "")), l > 0 && we(x) - O && en(l > 32 ? Ac(x + ";", n, t, O - 1) : Ac(K0(x, " ", "") + ";", n, t, O - 2), z); break; // @ ; case 59: x += ";"; // { rule/at-rule default: if (en(g = uc(x, o, t, i, a, p, c, h, W = [], R = [], O), r), L === 123) if (a === 0) gn(x, o, g, g, W, r, O, c, R); else switch (u === 99 && S1(x, 3) === 110 ? 100 : u) { // d l m s case 100: case 108: case 109: case 115: gn(e, g, g, n && en(uc(e, g, g, 0, 0, p, c, h, p, W = [], O), R), p, R, O, c, n ? W : R); break; default: gn(x, g, g, g, [""], R, 0, c, R); } } i = a = l = 0, s = f = 1, h = x = "", O = b; break; // : case 58: O = 1 + we(x), l = d; default: if (s < 1) { if (L == 123) --s; else if (L == 125 && s++ == 0 && dl() == 125) continue; } switch (x += cp(L), L * s) { // & case 38: f = a > 0 ? 1 : (x += "\f", -1); break; // , case 44: c[i++] = (we(x) - 1) * f, f = 1; break; // @ case 64: Pe() === 45 && (x += Rn(te())), u = Pe(), a = O = we(h = x += hl(mn())), L++; break; // - case 45: d === 45 && we(x) == 2 && (s = 0); } } return r; } function uc(e, o, t, n, p, r, b, c, z, i, a) { for (var O = p - 1, u = p === 0 ? r : [""], l = Tb(u), d = 0, s = 0, q = 0; d < n; ++d) for (var f = 0, L = At(e, O + 1, O = al(s = b[d])), h = e; f < l; ++f) (h = Zi(s > 0 ? u[f] + " " + L : K0(L, /&\f/g, u[f]))) && (z[q++] = h); return ip(e, o, t, p === 0 ? vb : c, z, i, a); } function Rl(e, o, t) { return ip(e, o, t, Qi, cp(Al()), At(e, 2, -2), 0); } function Ac(e, o, t, n) { return ip(e, o, t, Bb, At(e, 0, n), At(e, n + 1, -1), n); } function Mo(e, o) { for (var t = "", n = Tb(e), p = 0; p < n; p++) t += o(e[p], p, e, o) || ""; return t; } function gl(e, o, t, n) { switch (e.type) { case il: if (e.children.length) break; case zl: case Bb: return e.return = e.return || e.value; case Qi: return ""; case Ji: return e.return = e.value + "{" + Mo(e.children, n) + "}"; case vb: e.value = e.props.join(","); } return we(t = Mo(e.children, n)) ? e.return = e.value + "{" + t + "}" : ""; } function yl(e) { var o = Tb(e); return function(t, n, p, r) { for (var b = "", c = 0; c < o; c++) b += e[c](t, n, p, r) || ""; return b; }; } function Ll(e) { return function(o) { o.root || (o = o.return) && e(o); }; } function na(e) { var o = /* @__PURE__ */ Object.create(null); return function(t) { return o[t] === void 0 && (o[t] = e(t)), o[t]; }; } var Nl = function(o, t, n) { for (var p = 0, r = 0; p = r, r = Pe(), p === 38 && r === 12 && (t[n] = 1), !dt(r); ) te(); return St(o, Q1); }, vl = function(o, t) { var n = -1, p = 44; do switch (dt(p)) { case 0: p === 38 && Pe() === 12 && (t[n] = 1), o[n] += Nl(Q1 - 1, t, n); break; case 2: o[n] += Rn(p); break; case 4: if (p === 44) { o[++n] = Pe() === 58 ? "&\f" : "", t[n] = o[n].length; break; } // fallthrough default: o[n] += cp(p); } while (p = te()); return o; }, Bl = function(o, t) { return ta(vl(oa(o), t)); }, dc = /* @__PURE__ */ new WeakMap(), Tl = function(o) { if (!(o.type !== "rule" || !o.parent || // positive .length indicates that this rule contains pseudo // negative .length indicates that this rule has been already prefixed o.length < 1)) { for (var t = o.value, n = o.parent, p = o.column === n.column && o.line === n.line; n.type !== "rule"; ) if (n = n.parent, !n) return; if (!(o.props.length === 1 && t.charCodeAt(0) !== 58 && !dc.get(n)) && !p) { dc.set(o, !0); for (var r = [], b = Bl(t, r), c = n.props, z = 0, i = 0; z < b.length; z++) for (var a = 0; a < c.length; a++, i++) o.props[i] = r[z] ? b[z].replace(/&\f/g, c[a]) : c[a] + " " + b[z]; } } }, xl = function(o) { if (o.type === "decl") { var t = o.value; // charcode for l t.charCodeAt(0) === 108 && // charcode for b t.charCodeAt(2) === 98 && (o.return = "", o.value = ""); } }; function pa(e, o) { switch (sl(e, o)) { // color-adjust case 5103: return G0 + "print-" + e + e; // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function) case 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921: // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break case 5572: case 6356: case 5844: case 3191: case 6645: case 3005: // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite, case 6391: case 5879: case 5623: case 6135: case 4599: case 4855: // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width) case 4215: case 6389: case 5109: case 5365: case 5621: case 3829: return G0 + e + e; // appearance, user-select, transform, hyphens, text-size-adjust case 5349: case 4246: case 4810: case 6968: case 2756: return G0 + e + En + e + E1 + e + e; // flex, flex-direction case 6828: case 4268: return G0 + e + E1 + e + e; // order case 6165: return G0 + e + E1 + "flex-" + e + e; // align-items case 5187: return G0 + e + K0(e, /(\w+).+(:[^]+)/, G0 + "box-$1$2" + E1 + "flex-$1$2") + e; // align-self case 5443: return G0 + e + E1 + "flex-item-" + K0(e, /flex-|-self/, "") + e; // align-content case 4675: return G0 + e + E1 + "flex-line-pack" + K0(e, /align-content|flex-|-self/, "") + e; // flex-shrink case 5548: return G0 + e + E1 + K0(e, "shrink", "negative") + e; // flex-basis case 5292: return G0 + e + E1 + K0(e, "basis", "preferred-size") + e; // flex-grow case 6060: return G0 + "box-" + K0(e, "-grow", "") + G0 + e + E1 + K0(e, "grow", "positive") + e; // transition case 4554: return G0 + K0(e, /([^-])(transform)/g, "$1" + G0 + "$2") + e; // cursor case 6187: return K0(K0(K0(e, /(zoom-|grab)/, G0 + "$1"), /(image-set)/, G0 + "$1"), e, "") + e; // background, background-image case 5495: case 3959: return K0(e, /(image-set\([^]*)/, G0 + "$1$`$1"); // justify-content case 4968: return K0(K0(e, /(.+:)(flex-)?(.*)/, G0 + "box-pack:$3" + E1 + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + G0 + e + e; // (margin|padding)-inline-(start|end) case 4095: case 3583: case 4068: case 2532: return K0(e, /(.+)-inline(.+)/, G0 + "$1$2") + e; // (min|max)?(width|height|inline-size|block-size) case 8116: case 7059: case 5753: case 5535: case 5445: case 5701: case 4933: case 4677: case 5533: case 5789: case 5021: case 4765: if (we(e) - 1 - o > 6) switch (S1(e, o + 1)) { // (m)ax-content, (m)in-content case 109: if (S1(e, o + 4) !== 45) break; // (f)ill-available, (f)it-content case 102: return K0(e, /(.+:)(.+)-([^]+)/, "$1" + G0 + "$2-$3$1" + En + (S1(e, o + 3) == 108 ? "$3" : "$2-$3")) + e; // (s)tretch case 115: return ~Fr(e, "stretch") ? pa(K0(e, "stretch", "fill-available"), o) + e : e; } break; // position: sticky case 4949: if (S1(e, o + 1) !== 115) break; // display: (flex|inline-flex) case 6444: switch (S1(e, we(e) - 3 - (~Fr(e, "!important") && 10))) { // stic(k)y case 107: return K0(e, ":", ":" + G0) + e; // (inline-)?fl(e)x case 101: return K0(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + G0 + (S1(e, 14) === 45 ? "inline-" : "") + "box$3$1" + G0 + "$2$3$1" + E1 + "$2box$3") + e; } break; // writing-mode case 5936: switch (S1(e, o + 11)) { // vertical-l(r) case 114: return G0 + e + E1 + K0(e, /[svh]\w+-[tblr]{2}/, "tb") + e; // vertical-r(l) case 108: return G0 + e + E1 + K0(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e; // horizontal(-)tb case 45: return G0 + e + E1 + K0(e, /[svh]\w+-[tblr]{2}/, "lr") + e; } return G0 + e + E1 + e + e; } return e; } var Sl = function(o, t, n, p) { if (o.length > -1 && !o.return) switch (o.type) { case Bb: o.return = pa(o.value, o.length); break; case Ji: return Mo([Io(o, { value: K0(o.value, "@", "@" + G0) })], p); case vb: if (o.length) return ul(o.props, function(r) { switch (ll(r, /(::plac\w+|:read-\w+)/)) { // :read-(only|write) case ":read-only": case ":read-write": return Mo([Io(o, { props: [K0(r, /:(read-\w+)/, ":" + En + "$1")] })], p); // :placeholder case "::placeholder": return Mo([Io(o, { props: [K0(r, /:(plac\w+)/, ":" + G0 + "input-$1")] }), Io(o, { props: [K0(r, /:(plac\w+)/, ":" + En + "$1")] }), Io(o, { props: [K0(r, /:(plac\w+)/, E1 + "input-$1")] })], p); } return ""; }); } }, wl = [Sl], El = function(o) { var t = o.key; if (t === "css") { var n = document.querySelectorAll("style[data-emotion]:not([data-s])"); Array.prototype.forEach.call(n, function(s) { var q = s.getAttribute("data-emotion"); q.indexOf(" ") !== -1 && (document.head.appendChild(s), s.setAttribute("data-s", "")); }); } var p = o.stylisPlugins || wl, r = {}, b, c = []; b = o.container || document.head, Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which // means that the style elements we're looking at are only Emotion 11 server-rendered style elements document.querySelectorAll('style[data-emotion^="' + t + ' "]'), function(s) { for (var q = s.getAttribute("data-emotion").split(" "), f = 1; f < q.length; f++) r[q[f]] = !0; c.push(s); } ); var z, i = [Tl, xl]; { var a, O = [gl, Ll(function(s) { a.insert(s); })], u = yl(i.concat(p, O)), l = function(q) { return Mo(ml(q), u); }; z = function(q, f, L, h) { a = L, l(q ? q + "{" + f.styles + "}" : f.styles), h && (d.inserted[f.name] = !0); }; } var d = { key: t, sheet: new cl({ key: t, container: b, nonce: o.nonce, speedy: o.speedy, prepend: o.prepend, insertionPoint: o.insertionPoint }), nonce: o.nonce, inserted: r, registered: {}, insert: z }; return d.sheet.hydrate(c), d; }, on = { exports: {} }, e1 = {}; /** @license React v16.13.1 * react-is.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 fc; function Cl() { if (fc) return e1; fc = 1; var e = typeof Symbol == "function" && Symbol.for, o = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, p = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, b = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, z = e ? Symbol.for("react.async_mode") : 60111, i = e ? Symbol.for("react.concurrent_mode") : 60111, a = e ? Symbol.for("react.forward_ref") : 60112, O = e ? Symbol.for("react.suspense") : 60113, u = e ? Symbol.for("react.suspense_list") : 60120, l = e ? Symbol.for("react.memo") : 60115, d = e ? Symbol.for("react.lazy") : 60116, s = e ? Symbol.for("react.block") : 60121, q = e ? Symbol.for("react.fundamental") : 60117, f = e ? Symbol.for("react.responder") : 60118, L = e ? Symbol.for("react.scope") : 60119; function h(R) { if (typeof R == "object" && R !== null) { var g = R.$$typeof; switch (g) { case o: switch (R = R.type, R) { case z: case i: case n: case r: case p: case O: return R; default: switch (R = R && R.$$typeof, R) { case c: case a: case d: case l: case b: return R; default: return g; } } case t: return g; } } } function W(R) { return h(R) === i; } return e1.AsyncMode = z, e1.ConcurrentMode = i, e1.ContextConsumer = c, e1.ContextProvider = b, e1.Element = o, e1.ForwardRef = a, e1.Fragment = n, e1.Lazy = d, e1.Memo = l, e1.Portal = t, e1.Profiler = r, e1.StrictMode = p, e1.Suspense = O, e1.isAsyncMode = function(R) { return W(R) || h(R) === z; }, e1.isConcurrentMode = W, e1.isContextConsumer = function(R) { return h(R) === c; }, e1.isContextProvider = function(R) { return h(R) === b; }, e1.isElement = function(R) { return typeof R == "object" && R !== null && R.$$typeof === o; }, e1.isForwardRef = function(R) { return h(R) === a; }, e1.isFragment = function(R) { return h(R) === n; }, e1.isLazy = function(R) { return h(R) === d; }, e1.isMemo = function(R) { return h(R) === l; }, e1.isPortal = function(R) { return h(R) === t; }, e1.isProfiler = function(R) { return h(R) === r; }, e1.isStrictMode = function(R) { return h(R) === p; }, e1.isSuspense = function(R) { return h(R) === O; }, e1.isValidElementType = function(R) { return typeof R == "string" || typeof R == "function" || R === n || R === i || R === r || R === p || R === O || R === u || typeof R == "object" && R !== null && (R.$$typeof === d || R.$$typeof === l || R.$$typeof === b || R.$$typeof === c || R.$$typeof === a || R.$$typeof === q || R.$$typeof === f || R.$$typeof === L || R.$$typeof === s); }, e1.typeOf = h, e1; } var o1 = {}; /** @license React v16.13.1 * react-is.development.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 qc; function kl() { return qc || (qc = 1, process.env.NODE_ENV !== "production" && function() { var e = typeof Symbol == "function" && Symbol.for, o = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, p = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, b = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, z = e ? Symbol.for("react.async_mode") : 60111, i = e ? Symbol.for("react.concurrent_mode") : 60111, a = e ? Symbol.for("react.forward_ref") : 60112, O = e ? Symbol.for("react.suspense") : 60113, u = e ? Symbol.for("react.suspense_list") : 60120, l = e ? Symbol.for("react.memo") : 60115, d = e ? Symbol.for("react.lazy") : 60116, s = e ? Symbol.for("react.block") : 60121, q = e ? Symbol.for("react.fundamental") : 60117, f = e ? Symbol.for("react.responder") : 60118, L = e ? Symbol.for("react.scope") : 60119; function h(F) { return typeof F == "string" || typeof F == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. F === n || F === i || F === r || F === p || F === O || F === u || typeof F == "object" && F !== null && (F.$$typeof === d || F.$$typeof === l || F.$$typeof === b || F.$$typeof === c || F.$$typeof === a || F.$$typeof === q || F.$$typeof === f || F.$$typeof === L || F.$$typeof === s); } function W(F) { if (typeof F == "object" && F !== null) { var B = F.$$typeof; switch (B) { case o: var _ = F.type; switch (_) { case z: case i: case n: case r: case p: case O: return _; default: var I = _ && _.$$typeof; switch (I) { case c: case a: case d: case l: case b: return I; default: return B; } } case t: return B; } } } var R = z, g = i, x = c, k = b, X = o, A = a, T = n, E = d, C = l, P = t, S = r, D = p, $ = O, t0 = !1; function U(F) { return t0 || (t0 = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), m(F) || W(F) === z; } function m(F) { return W(F) === i; } function j(F) { return W(F) === c; } function p0(F) { return W(F) === b; } function N(F) { return typeof F == "object" && F !== null && F.$$typeof === o; } function Y(F) { return W(F) === a; } function e0(F) { return W(F) === n; } function J(F) { return W(F) === d; } function G(F) { return W(F) === l; } function K(F) { return W(F) === t; } function c0(F) { return W(F) === r; } function Z(F) { return W(F) === p; } function n0(F) { return W(F) === O; } o1.AsyncMode = R, o1.ConcurrentMode = g, o1.ContextConsumer = x, o1.ContextProvider = k, o1.Element = X, o1.ForwardRef = A, o1.Fragment = T, o1.Lazy = E, o1.Memo = C, o1.Portal = P, o1.Profiler = S, o1.StrictMode = D, o1.Suspense = $, o1.isAsyncMode = U, o1.isConcurrentMode = m, o1.isContextConsumer = j, o1.isContextProvider = p0, o1.isElement = N, o1.isForwardRef = Y, o1.isFragment = e0, o1.isLazy = J, o1.isMemo = G, o1.isPortal = K, o1.isProfiler = c0, o1.isStrictMode = Z, o1.isSuspense = n0, o1.isValidElementType = h, o1.typeOf = W; }()), o1; } var Wc; function xb() { return Wc || (Wc = 1, process.env.NODE_ENV === "production" ? on.exports = Cl() : on.exports = kl()), on.exports; } var tr, hc; function Xl() { if (hc) return tr; hc = 1; var e = xb(), o = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, t = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, n = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, p = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0