iwelp
Version:
A feedback component library
1,444 lines (1,442 loc) • 113 kB
JavaScript
import te, { createElement as Ur, forwardRef as ze, useRef as _e, useState as ue, useEffect as ee, createContext as Kr, useContext as vt } from "react";
function Zt(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var ut = { exports: {} }, Ie = {};
/**
* @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 It;
function Gr() {
if (It) return Ie;
It = 1;
var e = te, a = Symbol.for("react.element"), r = Symbol.for("react.fragment"), t = Object.prototype.hasOwnProperty, c = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
function l(o, d, s) {
var v, m = {}, y = null, C = null;
s !== void 0 && (y = "" + s), d.key !== void 0 && (y = "" + d.key), d.ref !== void 0 && (C = d.ref);
for (v in d) t.call(d, v) && !i.hasOwnProperty(v) && (m[v] = d[v]);
if (o && o.defaultProps) for (v in d = o.defaultProps, d) m[v] === void 0 && (m[v] = d[v]);
return { $$typeof: a, type: o, key: y, ref: C, props: m, _owner: c.current };
}
return Ie.Fragment = r, Ie.jsx = l, Ie.jsxs = l, Ie;
}
var Le = {};
/**
* @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 Lt;
function Jr() {
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
var e = te, a = Symbol.for("react.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), o = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), s = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), T = Symbol.iterator, g = "@@iterator";
function w(n) {
if (n === null || typeof n != "object")
return null;
var p = T && n[T] || n[g];
return typeof p == "function" ? p : null;
}
var $ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
function E(n) {
{
for (var p = arguments.length, x = new Array(p > 1 ? p - 1 : 0), A = 1; A < p; A++)
x[A - 1] = arguments[A];
k("error", n, x);
}
}
function k(n, p, x) {
{
var A = $.ReactDebugCurrentFrame, q = A.getStackAddendum();
q !== "" && (p += "%s", x = x.concat([q]));
var U = x.map(function(W) {
return String(W);
});
U.unshift("Warning: " + p), Function.prototype.apply.call(console[n], console, U);
}
}
var L = !1, f = !1, S = !1, X = !1, Z = !1, H;
H = Symbol.for("react.module.reference");
function re(n) {
return !!(typeof n == "string" || typeof n == "function" || n === t || n === i || Z || n === c || n === s || n === v || X || n === C || L || f || S || typeof n == "object" && n !== null && (n.$$typeof === y || n.$$typeof === m || n.$$typeof === l || n.$$typeof === o || n.$$typeof === d || // 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.
n.$$typeof === H || n.getModuleId !== void 0));
}
function he(n, p, x) {
var A = n.displayName;
if (A)
return A;
var q = p.displayName || p.name || "";
return q !== "" ? x + "(" + q + ")" : x;
}
function oe(n) {
return n.displayName || "Context";
}
function F(n) {
if (n == null)
return null;
if (typeof n.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
return n.displayName || n.name || null;
if (typeof n == "string")
return n;
switch (n) {
case t:
return "Fragment";
case r:
return "Portal";
case i:
return "Profiler";
case c:
return "StrictMode";
case s:
return "Suspense";
case v:
return "SuspenseList";
}
if (typeof n == "object")
switch (n.$$typeof) {
case o:
var p = n;
return oe(p) + ".Consumer";
case l:
var x = n;
return oe(x._context) + ".Provider";
case d:
return he(n, n.render, "ForwardRef");
case m:
var A = n.displayName || null;
return A !== null ? A : F(n.type) || "Memo";
case y: {
var q = n, U = q._payload, W = q._init;
try {
return F(W(U));
} catch {
return null;
}
}
}
return null;
}
var G = Object.assign, J = 0, Q, ne, se, ve, h, b, I;
function P() {
}
P.__reactDisabledLog = !0;
function O() {
{
if (J === 0) {
Q = console.log, ne = console.info, se = console.warn, ve = console.error, h = console.group, b = console.groupCollapsed, I = console.groupEnd;
var n = {
configurable: !0,
enumerable: !0,
value: P,
writable: !0
};
Object.defineProperties(console, {
info: n,
log: n,
warn: n,
error: n,
group: n,
groupCollapsed: n,
groupEnd: n
});
}
J++;
}
}
function N() {
{
if (J--, J === 0) {
var n = {
configurable: !0,
enumerable: !0,
writable: !0
};
Object.defineProperties(console, {
log: G({}, n, {
value: Q
}),
info: G({}, n, {
value: ne
}),
warn: G({}, n, {
value: se
}),
error: G({}, n, {
value: ve
}),
group: G({}, n, {
value: h
}),
groupCollapsed: G({}, n, {
value: b
}),
groupEnd: G({}, n, {
value: I
})
});
}
J < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
}
}
var R = $.ReactCurrentDispatcher, j;
function M(n, p, x) {
{
if (j === void 0)
try {
throw Error();
} catch (q) {
var A = q.stack.trim().match(/\n( *(at )?)/);
j = A && A[1] || "";
}
return `
` + j + n;
}
}
var B = !1, D;
{
var le = typeof WeakMap == "function" ? WeakMap : Map;
D = new le();
}
function _(n, p) {
if (!n || B)
return "";
{
var x = D.get(n);
if (x !== void 0)
return x;
}
var A;
B = !0;
var q = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
var U;
U = R.current, R.current = null, O();
try {
if (p) {
var W = function() {
throw Error();
};
if (Object.defineProperty(W.prototype, "props", {
set: function() {
throw Error();
}
}), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(W, []);
} catch (pe) {
A = pe;
}
Reflect.construct(n, [], W);
} else {
try {
W.call();
} catch (pe) {
A = pe;
}
n.call(W.prototype);
}
} else {
try {
throw Error();
} catch (pe) {
A = pe;
}
n();
}
} catch (pe) {
if (pe && A && typeof pe.stack == "string") {
for (var z = pe.stack.split(`
`), fe = A.stack.split(`
`), ae = z.length - 1, ie = fe.length - 1; ae >= 1 && ie >= 0 && z[ae] !== fe[ie]; )
ie--;
for (; ae >= 1 && ie >= 0; ae--, ie--)
if (z[ae] !== fe[ie]) {
if (ae !== 1 || ie !== 1)
do
if (ae--, ie--, ie < 0 || z[ae] !== fe[ie]) {
var ye = `
` + z[ae].replace(" at new ", " at ");
return n.displayName && ye.includes("<anonymous>") && (ye = ye.replace("<anonymous>", n.displayName)), typeof n == "function" && D.set(n, ye), ye;
}
while (ae >= 1 && ie >= 0);
break;
}
}
} finally {
B = !1, R.current = U, N(), Error.prepareStackTrace = q;
}
var je = n ? n.displayName || n.name : "", Ce = je ? M(je) : "";
return typeof n == "function" && D.set(n, Ce), Ce;
}
function me(n, p, x) {
return _(n, !1);
}
function $e(n) {
var p = n.prototype;
return !!(p && p.isReactComponent);
}
function Ee(n, p, x) {
if (n == null)
return "";
if (typeof n == "function")
return _(n, $e(n));
if (typeof n == "string")
return M(n);
switch (n) {
case s:
return M("Suspense");
case v:
return M("SuspenseList");
}
if (typeof n == "object")
switch (n.$$typeof) {
case d:
return me(n.render);
case m:
return Ee(n.type, p, x);
case y: {
var A = n, q = A._payload, U = A._init;
try {
return Ee(U(q), p, x);
} catch {
}
}
}
return "";
}
var Oe = Object.prototype.hasOwnProperty, xt = {}, Et = $.ReactDebugCurrentFrame;
function We(n) {
if (n) {
var p = n._owner, x = Ee(n.type, n._source, p ? p.type : null);
Et.setExtraStackFrame(x);
} else
Et.setExtraStackFrame(null);
}
function wr(n, p, x, A, q) {
{
var U = Function.call.bind(Oe);
for (var W in n)
if (U(n, W)) {
var z = void 0;
try {
if (typeof n[W] != "function") {
var fe = Error((A || "React class") + ": " + x + " type `" + W + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[W] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
throw fe.name = "Invariant Violation", fe;
}
z = n[W](p, W, A, x, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
} catch (ae) {
z = ae;
}
z && !(z instanceof Error) && (We(q), E("%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).", A || "React class", x, W, typeof z), We(null)), z instanceof Error && !(z.message in xt) && (xt[z.message] = !0, We(q), E("Failed %s type: %s", x, z.message), We(null));
}
}
}
var $r = Array.isArray;
function He(n) {
return $r(n);
}
function Rr(n) {
{
var p = typeof Symbol == "function" && Symbol.toStringTag, x = p && n[Symbol.toStringTag] || n.constructor.name || "Object";
return x;
}
}
function jr(n) {
try {
return Ct(n), !1;
} catch {
return !0;
}
}
function Ct(n) {
return "" + n;
}
function Tt(n) {
if (jr(n))
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Rr(n)), Ct(n);
}
var Ae = $.ReactCurrentOwner, kr = {
key: !0,
ref: !0,
__self: !0,
__source: !0
}, wt, $t, Ue;
Ue = {};
function Sr(n) {
if (Oe.call(n, "ref")) {
var p = Object.getOwnPropertyDescriptor(n, "ref").get;
if (p && p.isReactWarning)
return !1;
}
return n.ref !== void 0;
}
function Pr(n) {
if (Oe.call(n, "key")) {
var p = Object.getOwnPropertyDescriptor(n, "key").get;
if (p && p.isReactWarning)
return !1;
}
return n.key !== void 0;
}
function Or(n, p) {
if (typeof n.ref == "string" && Ae.current && p && Ae.current.stateNode !== p) {
var x = F(Ae.current.type);
Ue[x] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', F(Ae.current.type), n.ref), Ue[x] = !0);
}
}
function Ar(n, p) {
{
var x = function() {
wt || (wt = !0, E("%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)", p));
};
x.isReactWarning = !0, Object.defineProperty(n, "key", {
get: x,
configurable: !0
});
}
}
function Ir(n, p) {
{
var x = function() {
$t || ($t = !0, E("%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)", p));
};
x.isReactWarning = !0, Object.defineProperty(n, "ref", {
get: x,
configurable: !0
});
}
}
var Lr = function(n, p, x, A, q, U, W) {
var z = {
// This tag allows us to uniquely identify this as a React Element
$$typeof: a,
// Built-in properties that belong on the element
type: n,
key: p,
ref: x,
props: W,
// Record the component responsible for creating this element.
_owner: U
};
return z._store = {}, Object.defineProperty(z._store, "validated", {
configurable: !1,
enumerable: !1,
writable: !0,
value: !1
}), Object.defineProperty(z, "_self", {
configurable: !1,
enumerable: !1,
writable: !1,
value: A
}), Object.defineProperty(z, "_source", {
configurable: !1,
enumerable: !1,
writable: !1,
value: q
}), Object.freeze && (Object.freeze(z.props), Object.freeze(z)), z;
};
function Fr(n, p, x, A, q) {
{
var U, W = {}, z = null, fe = null;
x !== void 0 && (Tt(x), z = "" + x), Pr(p) && (Tt(p.key), z = "" + p.key), Sr(p) && (fe = p.ref, Or(p, q));
for (U in p)
Oe.call(p, U) && !kr.hasOwnProperty(U) && (W[U] = p[U]);
if (n && n.defaultProps) {
var ae = n.defaultProps;
for (U in ae)
W[U] === void 0 && (W[U] = ae[U]);
}
if (z || fe) {
var ie = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
z && Ar(W, ie), fe && Ir(W, ie);
}
return Lr(n, z, fe, q, A, Ae.current, W);
}
}
var Ke = $.ReactCurrentOwner, Rt = $.ReactDebugCurrentFrame;
function Re(n) {
if (n) {
var p = n._owner, x = Ee(n.type, n._source, p ? p.type : null);
Rt.setExtraStackFrame(x);
} else
Rt.setExtraStackFrame(null);
}
var Ge;
Ge = !1;
function Je(n) {
return typeof n == "object" && n !== null && n.$$typeof === a;
}
function jt() {
{
if (Ke.current) {
var n = F(Ke.current.type);
if (n)
return `
Check the render method of \`` + n + "`.";
}
return "";
}
}
function Nr(n) {
return "";
}
var kt = {};
function Mr(n) {
{
var p = jt();
if (!p) {
var x = typeof n == "string" ? n : n.displayName || n.name;
x && (p = `
Check the top-level render call using <` + x + ">.");
}
return p;
}
}
function St(n, p) {
{
if (!n._store || n._store.validated || n.key != null)
return;
n._store.validated = !0;
var x = Mr(p);
if (kt[x])
return;
kt[x] = !0;
var A = "";
n && n._owner && n._owner !== Ke.current && (A = " It was passed a child from " + F(n._owner.type) + "."), Re(n), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', x, A), Re(null);
}
}
function Pt(n, p) {
{
if (typeof n != "object")
return;
if (He(n))
for (var x = 0; x < n.length; x++) {
var A = n[x];
Je(A) && St(A, p);
}
else if (Je(n))
n._store && (n._store.validated = !0);
else if (n) {
var q = w(n);
if (typeof q == "function" && q !== n.entries)
for (var U = q.call(n), W; !(W = U.next()).done; )
Je(W.value) && St(W.value, p);
}
}
}
function Dr(n) {
{
var p = n.type;
if (p == null || typeof p == "string")
return;
var x;
if (typeof p == "function")
x = p.propTypes;
else if (typeof p == "object" && (p.$$typeof === d || // Note: Memo only checks outer props here.
// Inner props are checked in the reconciler.
p.$$typeof === m))
x = p.propTypes;
else
return;
if (x) {
var A = F(p);
wr(x, n.props, "prop", A, n);
} else if (p.PropTypes !== void 0 && !Ge) {
Ge = !0;
var q = F(p);
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", q || "Unknown");
}
typeof p.getDefaultProps == "function" && !p.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
}
}
function zr(n) {
{
for (var p = Object.keys(n.props), x = 0; x < p.length; x++) {
var A = p[x];
if (A !== "children" && A !== "key") {
Re(n), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", A), Re(null);
break;
}
}
n.ref !== null && (Re(n), E("Invalid attribute `ref` supplied to `React.Fragment`."), Re(null));
}
}
var Ot = {};
function At(n, p, x, A, q, U) {
{
var W = re(n);
if (!W) {
var z = "";
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (z += " 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 fe = Nr();
fe ? z += fe : z += jt();
var ae;
n === null ? ae = "null" : He(n) ? ae = "array" : n !== void 0 && n.$$typeof === a ? (ae = "<" + (F(n.type) || "Unknown") + " />", z = " Did you accidentally export a JSX literal instead of a component?") : ae = typeof n, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ae, z);
}
var ie = Fr(n, p, x, q, U);
if (ie == null)
return ie;
if (W) {
var ye = p.children;
if (ye !== void 0)
if (A)
if (He(ye)) {
for (var je = 0; je < ye.length; je++)
Pt(ye[je], n);
Object.freeze && Object.freeze(ye);
} else
E("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
Pt(ye, n);
}
if (Oe.call(p, "key")) {
var Ce = F(n), pe = Object.keys(p).filter(function(Hr) {
return Hr !== "key";
}), Xe = pe.length > 0 ? "{key: someKey, " + pe.join(": ..., ") + ": ...}" : "{key: someKey}";
if (!Ot[Ce + Xe]) {
var Vr = pe.length > 0 ? "{" + pe.join(": ..., ") + ": ...}" : "{}";
E(`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} />`, Xe, Ce, Vr, Ce), Ot[Ce + Xe] = !0;
}
}
return n === t ? zr(ie) : Dr(ie), ie;
}
}
function Wr(n, p, x) {
return At(n, p, x, !0);
}
function Br(n, p, x) {
return At(n, p, x, !1);
}
var qr = Br, Yr = Wr;
Le.Fragment = t, Le.jsx = qr, Le.jsxs = Yr;
}()), Le;
}
process.env.NODE_ENV === "production" ? ut.exports = Gr() : ut.exports = Jr();
var u = ut.exports, ft = { exports: {} }, Be = { exports: {} }, Y = {};
/** @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 Ft;
function Xr() {
if (Ft) return Y;
Ft = 1;
var e = typeof Symbol == "function" && Symbol.for, a = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, t = e ? Symbol.for("react.fragment") : 60107, c = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, v = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
function k(f) {
if (typeof f == "object" && f !== null) {
var S = f.$$typeof;
switch (S) {
case a:
switch (f = f.type, f) {
case d:
case s:
case t:
case i:
case c:
case m:
return f;
default:
switch (f = f && f.$$typeof, f) {
case o:
case v:
case T:
case C:
case l:
return f;
default:
return S;
}
}
case r:
return S;
}
}
}
function L(f) {
return k(f) === s;
}
return Y.AsyncMode = d, Y.ConcurrentMode = s, Y.ContextConsumer = o, Y.ContextProvider = l, Y.Element = a, Y.ForwardRef = v, Y.Fragment = t, Y.Lazy = T, Y.Memo = C, Y.Portal = r, Y.Profiler = i, Y.StrictMode = c, Y.Suspense = m, Y.isAsyncMode = function(f) {
return L(f) || k(f) === d;
}, Y.isConcurrentMode = L, Y.isContextConsumer = function(f) {
return k(f) === o;
}, Y.isContextProvider = function(f) {
return k(f) === l;
}, Y.isElement = function(f) {
return typeof f == "object" && f !== null && f.$$typeof === a;
}, Y.isForwardRef = function(f) {
return k(f) === v;
}, Y.isFragment = function(f) {
return k(f) === t;
}, Y.isLazy = function(f) {
return k(f) === T;
}, Y.isMemo = function(f) {
return k(f) === C;
}, Y.isPortal = function(f) {
return k(f) === r;
}, Y.isProfiler = function(f) {
return k(f) === i;
}, Y.isStrictMode = function(f) {
return k(f) === c;
}, Y.isSuspense = function(f) {
return k(f) === m;
}, Y.isValidElementType = function(f) {
return typeof f == "string" || typeof f == "function" || f === t || f === s || f === i || f === c || f === m || f === y || typeof f == "object" && f !== null && (f.$$typeof === T || f.$$typeof === C || f.$$typeof === l || f.$$typeof === o || f.$$typeof === v || f.$$typeof === w || f.$$typeof === $ || f.$$typeof === E || f.$$typeof === g);
}, Y.typeOf = k, Y;
}
var V = {};
/** @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 Nt;
function Zr() {
return Nt || (Nt = 1, process.env.NODE_ENV !== "production" && function() {
var e = typeof Symbol == "function" && Symbol.for, a = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, t = e ? Symbol.for("react.fragment") : 60107, c = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, v = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
function k(_) {
return typeof _ == "string" || typeof _ == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
_ === t || _ === s || _ === i || _ === c || _ === m || _ === y || typeof _ == "object" && _ !== null && (_.$$typeof === T || _.$$typeof === C || _.$$typeof === l || _.$$typeof === o || _.$$typeof === v || _.$$typeof === w || _.$$typeof === $ || _.$$typeof === E || _.$$typeof === g);
}
function L(_) {
if (typeof _ == "object" && _ !== null) {
var me = _.$$typeof;
switch (me) {
case a:
var $e = _.type;
switch ($e) {
case d:
case s:
case t:
case i:
case c:
case m:
return $e;
default:
var Ee = $e && $e.$$typeof;
switch (Ee) {
case o:
case v:
case T:
case C:
case l:
return Ee;
default:
return me;
}
}
case r:
return me;
}
}
}
var f = d, S = s, X = o, Z = l, H = a, re = v, he = t, oe = T, F = C, G = r, J = i, Q = c, ne = m, se = !1;
function ve(_) {
return se || (se = !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.")), h(_) || L(_) === d;
}
function h(_) {
return L(_) === s;
}
function b(_) {
return L(_) === o;
}
function I(_) {
return L(_) === l;
}
function P(_) {
return typeof _ == "object" && _ !== null && _.$$typeof === a;
}
function O(_) {
return L(_) === v;
}
function N(_) {
return L(_) === t;
}
function R(_) {
return L(_) === T;
}
function j(_) {
return L(_) === C;
}
function M(_) {
return L(_) === r;
}
function B(_) {
return L(_) === i;
}
function D(_) {
return L(_) === c;
}
function le(_) {
return L(_) === m;
}
V.AsyncMode = f, V.ConcurrentMode = S, V.ContextConsumer = X, V.ContextProvider = Z, V.Element = H, V.ForwardRef = re, V.Fragment = he, V.Lazy = oe, V.Memo = F, V.Portal = G, V.Profiler = J, V.StrictMode = Q, V.Suspense = ne, V.isAsyncMode = ve, V.isConcurrentMode = h, V.isContextConsumer = b, V.isContextProvider = I, V.isElement = P, V.isForwardRef = O, V.isFragment = N, V.isLazy = R, V.isMemo = j, V.isPortal = M, V.isProfiler = B, V.isStrictMode = D, V.isSuspense = le, V.isValidElementType = k, V.typeOf = L;
}()), V;
}
var Mt;
function Qt() {
return Mt || (Mt = 1, process.env.NODE_ENV === "production" ? Be.exports = Xr() : Be.exports = Zr()), Be.exports;
}
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
var Ze, Dt;
function Qr() {
if (Dt) return Ze;
Dt = 1;
var e = Object.getOwnPropertySymbols, a = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
function t(i) {
if (i == null)
throw new TypeError("Object.assign cannot be called with null or undefined");
return Object(i);
}
function c() {
try {
if (!Object.assign)
return !1;
var i = new String("abc");
if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
return !1;
for (var l = {}, o = 0; o < 10; o++)
l["_" + String.fromCharCode(o)] = o;
var d = Object.getOwnPropertyNames(l).map(function(v) {
return l[v];
});
if (d.join("") !== "0123456789")
return !1;
var s = {};
return "abcdefghijklmnopqrst".split("").forEach(function(v) {
s[v] = v;
}), Object.keys(Object.assign({}, s)).join("") === "abcdefghijklmnopqrst";
} catch {
return !1;
}
}
return Ze = c() ? Object.assign : function(i, l) {
for (var o, d = t(i), s, v = 1; v < arguments.length; v++) {
o = Object(arguments[v]);
for (var m in o)
a.call(o, m) && (d[m] = o[m]);
if (e) {
s = e(o);
for (var y = 0; y < s.length; y++)
r.call(o, s[y]) && (d[s[y]] = o[s[y]]);
}
}
return d;
}, Ze;
}
var Qe, zt;
function mt() {
if (zt) return Qe;
zt = 1;
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
return Qe = e, Qe;
}
var et, Wt;
function er() {
return Wt || (Wt = 1, et = Function.call.bind(Object.prototype.hasOwnProperty)), et;
}
var tt, Bt;
function en() {
if (Bt) return tt;
Bt = 1;
var e = function() {
};
if (process.env.NODE_ENV !== "production") {
var a = mt(), r = {}, t = er();
e = function(i) {
var l = "Warning: " + i;
typeof console < "u" && console.error(l);
try {
throw new Error(l);
} catch {
}
};
}
function c(i, l, o, d, s) {
if (process.env.NODE_ENV !== "production") {
for (var v in i)
if (t(i, v)) {
var m;
try {
if (typeof i[v] != "function") {
var y = Error(
(d || "React class") + ": " + o + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
);
throw y.name = "Invariant Violation", y;
}
m = i[v](l, v, d, o, null, a);
} catch (T) {
m = T;
}
if (m && !(m instanceof Error) && e(
(d || "React class") + ": type specification of " + o + " `" + v + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
), m instanceof Error && !(m.message in r)) {
r[m.message] = !0;
var C = s ? s() : "";
e(
"Failed " + o + " type: " + m.message + (C ?? "")
);
}
}
}
}
return c.resetWarningCache = function() {
process.env.NODE_ENV !== "production" && (r = {});
}, tt = c, tt;
}
var rt, qt;
function tn() {
if (qt) return rt;
qt = 1;
var e = Qt(), a = Qr(), r = mt(), t = er(), c = en(), i = function() {
};
process.env.NODE_ENV !== "production" && (i = function(o) {
var d = "Warning: " + o;
typeof console < "u" && console.error(d);
try {
throw new Error(d);
} catch {
}
});
function l() {
return null;
}
return rt = function(o, d) {
var s = typeof Symbol == "function" && Symbol.iterator, v = "@@iterator";
function m(h) {
var b = h && (s && h[s] || h[v]);
if (typeof b == "function")
return b;
}
var y = "<<anonymous>>", C = {
array: $("array"),
bigint: $("bigint"),
bool: $("boolean"),
func: $("function"),
number: $("number"),
object: $("object"),
string: $("string"),
symbol: $("symbol"),
any: E(),
arrayOf: k,
element: L(),
elementType: f(),
instanceOf: S,
node: re(),
objectOf: Z,
oneOf: X,
oneOfType: H,
shape: oe,
exact: F
};
function T(h, b) {
return h === b ? h !== 0 || 1 / h === 1 / b : h !== h && b !== b;
}
function g(h, b) {
this.message = h, this.data = b && typeof b == "object" ? b : {}, this.stack = "";
}
g.prototype = Error.prototype;
function w(h) {
if (process.env.NODE_ENV !== "production")
var b = {}, I = 0;
function P(N, R, j, M, B, D, le) {
if (M = M || y, D = D || j, le !== r) {
if (d) {
var _ = new Error(
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
);
throw _.name = "Invariant Violation", _;
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
var me = M + ":" + j;
!b[me] && // Avoid spamming the console because they are often not actionable except for lib authors
I < 3 && (i(
"You are manually calling a React.PropTypes validation function for the `" + D + "` prop on `" + M + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
), b[me] = !0, I++);
}
}
return R[j] == null ? N ? R[j] === null ? new g("The " + B + " `" + D + "` is marked as required " + ("in `" + M + "`, but its value is `null`.")) : new g("The " + B + " `" + D + "` is marked as required in " + ("`" + M + "`, but its value is `undefined`.")) : null : h(R, j, M, B, D);
}
var O = P.bind(null, !1);
return O.isRequired = P.bind(null, !0), O;
}
function $(h) {
function b(I, P, O, N, R, j) {
var M = I[P], B = Q(M);
if (B !== h) {
var D = ne(M);
return new g(
"Invalid " + N + " `" + R + "` of type " + ("`" + D + "` supplied to `" + O + "`, expected ") + ("`" + h + "`."),
{ expectedType: h }
);
}
return null;
}
return w(b);
}
function E() {
return w(l);
}
function k(h) {
function b(I, P, O, N, R) {
if (typeof h != "function")
return new g("Property `" + R + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
var j = I[P];
if (!Array.isArray(j)) {
var M = Q(j);
return new g("Invalid " + N + " `" + R + "` of type " + ("`" + M + "` supplied to `" + O + "`, expected an array."));
}
for (var B = 0; B < j.length; B++) {
var D = h(j, B, O, N, R + "[" + B + "]", r);
if (D instanceof Error)
return D;
}
return null;
}
return w(b);
}
function L() {
function h(b, I, P, O, N) {
var R = b[I];
if (!o(R)) {
var j = Q(R);
return new g("Invalid " + O + " `" + N + "` of type " + ("`" + j + "` supplied to `" + P + "`, expected a single ReactElement."));
}
return null;
}
return w(h);
}
function f() {
function h(b, I, P, O, N) {
var R = b[I];
if (!e.isValidElementType(R)) {
var j = Q(R);
return new g("Invalid " + O + " `" + N + "` of type " + ("`" + j + "` supplied to `" + P + "`, expected a single ReactElement type."));
}
return null;
}
return w(h);
}
function S(h) {
function b(I, P, O, N, R) {
if (!(I[P] instanceof h)) {
var j = h.name || y, M = ve(I[P]);
return new g("Invalid " + N + " `" + R + "` of type " + ("`" + M + "` supplied to `" + O + "`, expected ") + ("instance of `" + j + "`."));
}
return null;
}
return w(b);
}
function X(h) {
if (!Array.isArray(h))
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
) : i("Invalid argument supplied to oneOf, expected an array.")), l;
function b(I, P, O, N, R) {
for (var j = I[P], M = 0; M < h.length; M++)
if (T(j, h[M]))
return null;
var B = JSON.stringify(h, function(le, _) {
var me = ne(_);
return me === "symbol" ? String(_) : _;
});
return new g("Invalid " + N + " `" + R + "` of value `" + String(j) + "` " + ("supplied to `" + O + "`, expected one of " + B + "."));
}
return w(b);
}
function Z(h) {
function b(I, P, O, N, R) {
if (typeof h != "function")
return new g("Property `" + R + "` of component `" + O + "` has invalid PropType notation inside objectOf.");
var j = I[P], M = Q(j);
if (M !== "object")
return new g("Invalid " + N + " `" + R + "` of type " + ("`" + M + "` supplied to `" + O + "`, expected an object."));
for (var B in j)
if (t(j, B)) {
var D = h(j, B, O, N, R + "." + B, r);
if (D instanceof Error)
return D;
}
return null;
}
return w(b);
}
function H(h) {
if (!Array.isArray(h))
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), l;
for (var b = 0; b < h.length; b++) {
var I = h[b];
if (typeof I != "function")
return i(
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + se(I) + " at index " + b + "."
), l;
}
function P(O, N, R, j, M) {
for (var B = [], D = 0; D < h.length; D++) {
var le = h[D], _ = le(O, N, R, j, M, r);
if (_ == null)
return null;
_.data && t(_.data, "expectedType") && B.push(_.data.expectedType);
}
var me = B.length > 0 ? ", expected one of type [" + B.join(", ") + "]" : "";
return new g("Invalid " + j + " `" + M + "` supplied to " + ("`" + R + "`" + me + "."));
}
return w(P);
}
function re() {
function h(b, I, P, O, N) {
return G(b[I]) ? null : new g("Invalid " + O + " `" + N + "` supplied to " + ("`" + P + "`, expected a ReactNode."));
}
return w(h);
}
function he(h, b, I, P, O) {
return new g(
(h || "React class") + ": " + b + " type `" + I + "." + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
);
}
function oe(h) {
function b(I, P, O, N, R) {
var j = I[P], M = Q(j);
if (M !== "object")
return new g("Invalid " + N + " `" + R + "` of type `" + M + "` " + ("supplied to `" + O + "`, expected `object`."));
for (var B in h) {
var D = h[B];
if (typeof D != "function")
return he(O, N, R, B, ne(D));
var le = D(j, B, O, N, R + "." + B, r);
if (le)
return le;
}
return null;
}
return w(b);
}
function F(h) {
function b(I, P, O, N, R) {
var j = I[P], M = Q(j);
if (M !== "object")
return new g("Invalid " + N + " `" + R + "` of type `" + M + "` " + ("supplied to `" + O + "`, expected `object`."));
var B = a({}, I[P], h);
for (var D in B) {
var le = h[D];
if (t(h, D) && typeof le != "function")
return he(O, N, R, D, ne(le));
if (!le)
return new g(
"Invalid " + N + " `" + R + "` key `" + D + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(I[P], null, " ") + `
Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
);
var _ = le(j, D, O, N, R + "." + D, r);
if (_)
return _;
}
return null;
}
return w(b);
}
function G(h) {
switch (typeof h) {
case "number":
case "string":
case "undefined":
return !0;
case "boolean":
return !h;
case "object":
if (Array.isArray(h))
return h.every(G);
if (h === null || o(h))
return !0;
var b = m(h);
if (b) {
var I = b.call(h), P;
if (b !== h.entries) {
for (; !(P = I.next()).done; )
if (!G(P.value))
return !1;
} else
for (; !(P = I.next()).done; ) {
var O = P.value;
if (O && !G(O[1]))
return !1;
}
} else
return !1;
return !0;
default:
return !1;
}
}
function J(h, b) {
return h === "symbol" ? !0 : b ? b["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && b instanceof Symbol : !1;
}
function Q(h) {
var b = typeof h;
return Array.isArray(h) ? "array" : h instanceof RegExp ? "object" : J(b, h) ? "symbol" : b;
}
function ne(h) {
if (typeof h > "u" || h === null)
return "" + h;
var b = Q(h);
if (b === "object") {
if (h instanceof Date)
return "date";
if (h instanceof RegExp)
return "regexp";
}
return b;
}
function se(h) {
var b = ne(h);
switch (b) {
case "array":
case "object":
return "an " + b;
case "boolean":
case "date":
case "regexp":
return "a " + b;
default:
return b;
}
}
function ve(h) {
return !h.constructor || !h.constructor.name ? y : h.constructor.name;
}
return C.checkPropTypes = c, C.resetWarningCache = c.resetWarningCache, C.PropTypes = C, C;
}, rt;
}
var nt, Yt;
function rn() {
if (Yt) return nt;
Yt = 1;
var e = mt();
function a() {
}
function r() {
}
return r.resetWarningCache = a, nt = function() {
function t(l, o, d, s, v, m) {
if (m !== e) {
var y = new Error(
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
);
throw y.name = "Invariant Violation", y;
}
}
t.isRequired = t;
function c() {
return t;
}
var i = {
array: t,
bigint: t,
bool: t,
func: t,
number: t,
object: t,
string: t,
symbol: t,
any: t,
arrayOf: c,
element: t,
elementType: t,
instanceOf: c,
node: t,
objectOf: c,
oneOf: c,
oneOfType: c,
shape: c,
exact: c,
checkPropTypes: r,
resetWarningCache: a
};
return i.PropTypes = i, i;
}, nt;
}
if (process.env.NODE_ENV !== "production") {
var nn = Qt(), an = !0;
ft.exports = tn()(nn.isElement, an);
} else
ft.exports = rn()();
var on = ft.exports;
const de = /* @__PURE__ */ Zt(on);
var tr = { exports: {} };
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
(function(e) {
(function() {
var a = {}.hasOwnProperty;
function r() {
for (var i = "", l = 0; l < arguments.length; l++) {
var o = arguments[l];
o && (i = c(i, t(o)));
}
return i;
}
function t(i) {
if (typeof i == "string" || typeof i == "number")
return i;
if (typeof i != "object")
return "";
if (Array.isArray(i))
return r.apply(null, i);
if (i.toString !== Object.prototype.toString && !i.toString.toString().includes("[native code]"))
return i.toString();
var l = "";
for (var o in i)
a.call(i, o) && i[o] && (l = c(l, o));
return l;
}
function c(i, l) {
return l ? i ? i + " " + l : i + l : i;
}
e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
})();
})(tr);
var sn = tr.exports;
const K = /* @__PURE__ */ Zt(sn), cn = ({
prefix: e = "",
className: a,
viewBox: r = "0 0 24 24",
ariaHidden: t = !0,
children: c,
...i
}) => /* @__PURE__ */ u.jsx(
"svg",
{
viewBox: r,
focusable: "false",
width: "24",
height: "24",
...i,
"aria-hidden": t,
className: `${e}svg-icon${a ? ` ${a}` : ""}`,
children: c
}
), ln = (e) => {
const {
prefix: a = "",
viewBox: r = "0 0 24 24",
paths: t,
className: c,
modifier: i,
ariaHidden: l = !0,
...o
} = e, d = K(c, i && `${a}svg-icon--${i}`);
return t ? /* @__PURE__ */ u.jsx(
cn,
{
viewBox: r,
prefix: a,
...o,
className: d,
ariaHidden: l,
children: t().map((s, v) => te.cloneElement(s, { key: v }))
}
) : null;
};
var un = ln, we = un;
const fn = [{ tag: "path", att: { d: "M11.9999 15.0002c-1.3965 0-2.5725-.9551-2.9056-2.2492l-1.9368.4985c.555 2.1563 2.5112 3.7507 4.8424 3.7507 2.3312 0 4.2874-1.5944 4.8424-3.7507l-1.9369-.4985c-.3331 1.2941-1.509 2.2492-2.9055 2.2492zM11 9.5c0 .8284-.6716 1.5-1.5 1.5S8 10.3284 8 9.5 8.6716 8 9.5 8s1.5.6716 1.5 1.5zm3.5 1.5c.8284 0 1.5-.6716 1.5-1.5S15.3284 8 14.5 8 13 8.6716 13 9.5s.6716 1.5 1.5 1.5z" } }, { tag: "path", att: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M21 12c0 4.9706-4.0294 9-9 9s-9-4.0294-9-9 4.0294-9 9-9 9 4.0294 9 9zm-2 0c0 3.866-3.134 7-7 7s-7-3.134-7-7 3.134-7 7-7 7 3.134 7 7z" } }];
function dn(e) {
return e.replace(/-([a-z])/g, (a, r) => r.toUpperCase());
}
function pn(e) {
return Object.entries(e).reduce((a, [r, t]) => (a[dn(r)] = t, a), {});
}
function ce(e) {
if (e)
return e.map(
(a) => Ur(a.tag, pn(a.att), ce(a.nds))
);
}
var rr = () => ce(fn);
const hn = "_WelpButton_ab7c9_1", vn = "_WelpText_ab7c9_12", mn = "_topRight_ab7c9_24", yn = "_Content_ab7c9_24", bn = "_bottomRight_ab7c9_30", gn = "_bottomLeft_ab7c9_34", _n = "_topLeft_ab7c9_36", xn = "_rightCenter_ab7c9_29", En = "_leftCenter_ab7c9_35", Cn = "_WelpIcon_ab7c9_65", Tn = "_Text_ab7c9_81", at = {
WelpButton: hn,
WelpText: vn,
topRight: mn,
Content: yn,
bottomRight: bn,
bottomLeft: gn,
topLeft: _n,
rightCenter: xn,
leftCenter: En,
WelpIcon: Cn,
Text: Tn
}, yt = ({
position: e = "rightCenter",
bgcolor: a = "#FFD700",
style: r,
className: t,
onClick: c
}) => /* @__PURE__ */ u.jsx(u.Fragment, {
// <div
// onClick={onClick}
// className={styles.WelpButton + " " + styles[position] + " " + className}
// style={{
// ...style,
// backgroundColor: bgcolor
// }}
// >
// <SSRIcon prefix="iwelp-" className={styles.WelpIcon} paths={FeedbackHappyIcon} />
// <div className={styles.WelpText}>
// <span>Feedback</span>
// </div>
// </div>
children: /* @__PURE__ */ u.jsx(
"div",
{
onClick: c,
className: at.Content + " " + at[e] + " " + t,
style: {
...r,
backgroundColor: a
},
children: /* @__PURE__ */ u.jsx("div", { className: at.Text, children: "Share your Feedback" })
}
)
});
yt.propTypes = {
position: de.oneOf(["leftCenter", "rightCenter", "topLeft", "topRight", "bottomLeft", "bottomRight"]),
bgcolor: de.string,
style: de.object,
className: de.string,
onClick: de.func.isRequired
};
yt.displayName = "iWelpButton";
const wn = "100ms", $n = [{ tag: "path", att: { d: "M11.0036 14.2499h2v-6h-2v6zm1 1.5c-.6904 0-1.25.5596-1.25 1.25 0 .6903.5596 1.25 1.25 1.25.6903 0 1.25-.5597 1.25-1.25 0-.6904-.5597-1.25-1.25-1.25z" } }, { tag: "path", att: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "m1.1152 20.5341 10-19h1.7699l10 19-.8849 1.4658h-20l-.885-1.4658zm2.5413-.5342h16.6873l-8.3436-15.853L3.6565 20z" } }];
var Rn = () => ce($n);
const jn = [
"primary",
"emphasised",
"secondary",
"ter