UNPKG

thai-address-autocomplete-react

Version:

[![NPM](https://img.shields.io/npm/v/thai-address-autocomplete-react)](https://www.npmjs.com/package/thai-address-autocomplete-react) [![NPM](https://img.shields.io/badge/Watsize-Library-289548)](https://www.npmjs.com/package/thai-address-autocomplete-rea

1,323 lines 731 kB
var P2 = Object.defineProperty; var Cs = (e) => { throw TypeError(e); }; var A2 = (e, t, r) => t in e ? P2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r; var an = (e, t, r) => A2(e, typeof t != "symbol" ? t + "" : t, r), Es = (e, t, r) => t.has(e) || Cs("Cannot " + r); var ma = (e, t, r) => (Es(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Eo = (e, t, r) => t.has(e) ? Cs("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), wo = (e, t, r, n) => (Es(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r); import { jsx as ha } from "react/jsx-runtime"; import * as d from "react"; import ot, { version as R2, isValidElement as $2, useContext as qr, createContext as A1, useRef as _e, useLayoutEffect as Wc, useEffect as ir, useState as Mr, useMemo as Ni, useCallback as ws } from "react"; function Gc(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } var Oo = { exports: {} }; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ var Os; function _2() { return Os || (Os = 1, function(e) { (function() { var t = {}.hasOwnProperty; function r() { for (var i = "", o = 0; o < arguments.length; o++) { var s = arguments[o]; s && (i = a(i, n(s))); } return i; } function n(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 o = ""; for (var s in i) t.call(i, s) && i[s] && (o = a(o, s)); return o; } function a(i, o) { return o ? i ? i + " " + o : i + o : i; } e.exports ? (r.default = r, e.exports = r) : window.classNames = r; })(); }(Oo)), Oo.exports; } var I2 = _2(); const Xe = /* @__PURE__ */ Gc(I2); function gr(e) { "@babel/helpers - typeof"; return gr = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) { return typeof t; } : function(t) { return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t; }, gr(e); } var M2 = Symbol.for("react.element"), T2 = Symbol.for("react.transitional.element"), D2 = Symbol.for("react.fragment"); function Uc(e) { return ( // Base object type e && gr(e) === "object" && // React Element type (e.$$typeof === M2 || e.$$typeof === T2) && // React Fragment type e.type === D2 ); } function e0(e) { var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = []; return ot.Children.forEach(e, function(n) { n == null && !t.keepEmpty || (Array.isArray(n) ? r = r.concat(e0(n)) : Uc(n) && n.props ? r = r.concat(e0(n.props.children, t)) : r.push(n)); }), r; } var t0 = {}, R1 = [], N2 = function(t) { R1.push(t); }; function F2(e, t) { if (process.env.NODE_ENV !== "production" && !e && console !== void 0) { var r = R1.reduce(function(n, a) { return a(n ?? "", "warning"); }, t); r && console.error("Warning: ".concat(r)); } } function L2(e, t) { if (process.env.NODE_ENV !== "production" && !e && console !== void 0) { var r = R1.reduce(function(n, a) { return a(n ?? "", "note"); }, t); r && console.warn("Note: ".concat(r)); } } function Kc() { t0 = {}; } function qc(e, t, r) { !t && !t0[r] && (e(!1, r), t0[r] = !0); } function Ga(e, t) { qc(F2, e, t); } function V2(e, t) { qc(L2, e, t); } Ga.preMessage = N2; Ga.resetWarned = Kc; Ga.noteOnce = V2; var ni = { exports: {} }, Lt = {}; /** * @license React * react-dom.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var xs; function j2() { if (xs) return Lt; xs = 1; var e = ot; function t(u) { var c = "https://react.dev/errors/" + u; if (1 < arguments.length) { c += "?args[]=" + encodeURIComponent(arguments[1]); for (var l = 2; l < arguments.length; l++) c += "&args[]=" + encodeURIComponent(arguments[l]); } return "Minified React error #" + u + "; visit " + c + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } function r() { } var n = { d: { f: r, r: function() { throw Error(t(522)); }, D: r, C: r, L: r, m: r, X: r, S: r, M: r }, p: 0, findDOMNode: null }, a = Symbol.for("react.portal"); function i(u, c, l) { var f = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null; return { $$typeof: a, key: f == null ? null : "" + f, children: u, containerInfo: c, implementation: l }; } var o = e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; function s(u, c) { if (u === "font") return ""; if (typeof c == "string") return c === "use-credentials" ? c : ""; } return Lt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, Lt.createPortal = function(u, c) { var l = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null; if (!c || c.nodeType !== 1 && c.nodeType !== 9 && c.nodeType !== 11) throw Error(t(299)); return i(u, c, null, l); }, Lt.flushSync = function(u) { var c = o.T, l = n.p; try { if (o.T = null, n.p = 2, u) return u(); } finally { o.T = c, n.p = l, n.d.f(); } }, Lt.preconnect = function(u, c) { typeof u == "string" && (c ? (c = c.crossOrigin, c = typeof c == "string" ? c === "use-credentials" ? c : "" : void 0) : c = null, n.d.C(u, c)); }, Lt.prefetchDNS = function(u) { typeof u == "string" && n.d.D(u); }, Lt.preinit = function(u, c) { if (typeof u == "string" && c && typeof c.as == "string") { var l = c.as, f = s(l, c.crossOrigin), v = typeof c.integrity == "string" ? c.integrity : void 0, h = typeof c.fetchPriority == "string" ? c.fetchPriority : void 0; l === "style" ? n.d.S( u, typeof c.precedence == "string" ? c.precedence : void 0, { crossOrigin: f, integrity: v, fetchPriority: h } ) : l === "script" && n.d.X(u, { crossOrigin: f, integrity: v, fetchPriority: h, nonce: typeof c.nonce == "string" ? c.nonce : void 0 }); } }, Lt.preinitModule = function(u, c) { if (typeof u == "string") if (typeof c == "object" && c !== null) { if (c.as == null || c.as === "script") { var l = s( c.as, c.crossOrigin ); n.d.M(u, { crossOrigin: l, integrity: typeof c.integrity == "string" ? c.integrity : void 0, nonce: typeof c.nonce == "string" ? c.nonce : void 0 }); } } else c == null && n.d.M(u); }, Lt.preload = function(u, c) { if (typeof u == "string" && typeof c == "object" && c !== null && typeof c.as == "string") { var l = c.as, f = s(l, c.crossOrigin); n.d.L(u, l, { crossOrigin: f, integrity: typeof c.integrity == "string" ? c.integrity : void 0, nonce: typeof c.nonce == "string" ? c.nonce : void 0, type: typeof c.type == "string" ? c.type : void 0, fetchPriority: typeof c.fetchPriority == "string" ? c.fetchPriority : void 0, referrerPolicy: typeof c.referrerPolicy == "string" ? c.referrerPolicy : void 0, imageSrcSet: typeof c.imageSrcSet == "string" ? c.imageSrcSet : void 0, imageSizes: typeof c.imageSizes == "string" ? c.imageSizes : void 0, media: typeof c.media == "string" ? c.media : void 0 }); } }, Lt.preloadModule = function(u, c) { if (typeof u == "string") if (c) { var l = s(c.as, c.crossOrigin); n.d.m(u, { as: typeof c.as == "string" && c.as !== "script" ? c.as : void 0, crossOrigin: l, integrity: typeof c.integrity == "string" ? c.integrity : void 0 }); } else n.d.m(u); }, Lt.requestFormReset = function(u) { n.d.r(u); }, Lt.unstable_batchedUpdates = function(u, c) { return u(c); }, Lt.useFormState = function(u, c, l) { return o.H.useFormState(u, c, l); }, Lt.useFormStatus = function() { return o.H.useHostTransitionStatus(); }, Lt.version = "19.0.0", Lt; } var Vt = {}; /** * @license React * react-dom.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var Ps; function B2() { return Ps || (Ps = 1, process.env.NODE_ENV !== "production" && function() { function e() { } function t(f) { return "" + f; } function r(f, v, h) { var p = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null; try { t(p); var g = !1; } catch { g = !0; } return g && (console.error( "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", typeof Symbol == "function" && Symbol.toStringTag && p[Symbol.toStringTag] || p.constructor.name || "Object" ), t(p)), { $$typeof: c, key: p == null ? null : "" + p, children: f, containerInfo: v, implementation: h }; } function n(f, v) { if (f === "font") return ""; if (typeof v == "string") return v === "use-credentials" ? v : ""; } function a(f) { return f === null ? "`null`" : f === void 0 ? "`undefined`" : f === "" ? "an empty string" : 'something with type "' + typeof f + '"'; } function i(f) { return f === null ? "`null`" : f === void 0 ? "`undefined`" : f === "" ? "an empty string" : typeof f == "string" ? JSON.stringify(f) : typeof f == "number" ? "`" + f + "`" : 'something with type "' + typeof f + '"'; } function o() { var f = l.H; return f === null && console.error( `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.` ), f; } typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()); var s = ot, u = { d: { f: e, r: function() { throw Error( "Invalid form element. requestFormReset must be passed a form that was rendered by React." ); }, D: e, C: e, L: e, m: e, X: e, S: e, M: e }, p: 0, findDOMNode: null }, c = Symbol.for("react.portal"), l = s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error( "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills" ), Vt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = u, Vt.createPortal = function(f, v) { var h = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null; if (!v || v.nodeType !== 1 && v.nodeType !== 9 && v.nodeType !== 11) throw Error("Target container is not a DOM element."); return r(f, v, null, h); }, Vt.flushSync = function(f) { var v = l.T, h = u.p; try { if (l.T = null, u.p = 2, f) return f(); } finally { l.T = v, u.p = h, u.d.f() && console.error( "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task." ); } }, Vt.preconnect = function(f, v) { typeof f == "string" && f ? v != null && typeof v != "object" ? console.error( "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.", i(v) ) : v != null && typeof v.crossOrigin != "string" && console.error( "ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.", a(v.crossOrigin) ) : console.error( "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", a(f) ), typeof f == "string" && (v ? (v = v.crossOrigin, v = typeof v == "string" ? v === "use-credentials" ? v : "" : void 0) : v = null, u.d.C(f, v)); }, Vt.prefetchDNS = function(f) { if (typeof f != "string" || !f) console.error( "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", a(f) ); else if (1 < arguments.length) { var v = arguments[1]; typeof v == "object" && v.hasOwnProperty("crossOrigin") ? console.error( "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.", i(v) ) : console.error( "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.", i(v) ); } typeof f == "string" && u.d.D(f); }, Vt.preinit = function(f, v) { if (typeof f == "string" && f ? v == null || typeof v != "object" ? console.error( "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.", i(v) ) : v.as !== "style" && v.as !== "script" && console.error( 'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".', i(v.as) ) : console.error( "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", a(f) ), typeof f == "string" && v && typeof v.as == "string") { var h = v.as, p = n(h, v.crossOrigin), g = typeof v.integrity == "string" ? v.integrity : void 0, m = typeof v.fetchPriority == "string" ? v.fetchPriority : void 0; h === "style" ? u.d.S( f, typeof v.precedence == "string" ? v.precedence : void 0, { crossOrigin: p, integrity: g, fetchPriority: m } ) : h === "script" && u.d.X(f, { crossOrigin: p, integrity: g, fetchPriority: m, nonce: typeof v.nonce == "string" ? v.nonce : void 0 }); } }, Vt.preinitModule = function(f, v) { var h = ""; if (typeof f == "string" && f || (h += " The `href` argument encountered was " + a(f) + "."), v !== void 0 && typeof v != "object" ? h += " The `options` argument encountered was " + a(v) + "." : v && "as" in v && v.as !== "script" && (h += " The `as` option encountered was " + i(v.as) + "."), h) console.error( "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s", h ); else switch (h = v && typeof v.as == "string" ? v.as : "script", h) { case "script": break; default: h = i(h), console.error( 'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)', h, f ); } typeof f == "string" && (typeof v == "object" && v !== null ? (v.as == null || v.as === "script") && (h = n( v.as, v.crossOrigin ), u.d.M(f, { crossOrigin: h, integrity: typeof v.integrity == "string" ? v.integrity : void 0, nonce: typeof v.nonce == "string" ? v.nonce : void 0 })) : v == null && u.d.M(f)); }, Vt.preload = function(f, v) { var h = ""; if (typeof f == "string" && f || (h += " The `href` argument encountered was " + a(f) + "."), v == null || typeof v != "object" ? h += " The `options` argument encountered was " + a(v) + "." : typeof v.as == "string" && v.as || (h += " The `as` option encountered was " + a(v.as) + "."), h && console.error( 'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s', h ), typeof f == "string" && typeof v == "object" && v !== null && typeof v.as == "string") { h = v.as; var p = n( h, v.crossOrigin ); u.d.L(f, h, { crossOrigin: p, integrity: typeof v.integrity == "string" ? v.integrity : void 0, nonce: typeof v.nonce == "string" ? v.nonce : void 0, type: typeof v.type == "string" ? v.type : void 0, fetchPriority: typeof v.fetchPriority == "string" ? v.fetchPriority : void 0, referrerPolicy: typeof v.referrerPolicy == "string" ? v.referrerPolicy : void 0, imageSrcSet: typeof v.imageSrcSet == "string" ? v.imageSrcSet : void 0, imageSizes: typeof v.imageSizes == "string" ? v.imageSizes : void 0, media: typeof v.media == "string" ? v.media : void 0 }); } }, Vt.preloadModule = function(f, v) { var h = ""; typeof f == "string" && f || (h += " The `href` argument encountered was " + a(f) + "."), v !== void 0 && typeof v != "object" ? h += " The `options` argument encountered was " + a(v) + "." : v && "as" in v && typeof v.as != "string" && (h += " The `as` option encountered was " + a(v.as) + "."), h && console.error( 'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s', h ), typeof f == "string" && (v ? (h = n( v.as, v.crossOrigin ), u.d.m(f, { as: typeof v.as == "string" && v.as !== "script" ? v.as : void 0, crossOrigin: h, integrity: typeof v.integrity == "string" ? v.integrity : void 0 })) : u.d.m(f)); }, Vt.requestFormReset = function(f) { u.d.r(f); }, Vt.unstable_batchedUpdates = function(f, v) { return f(v); }, Vt.useFormState = function(f, v, h) { return o().useFormState(f, v, h); }, Vt.useFormStatus = function() { return o().useHostTransitionStatus(); }, Vt.version = "19.0.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error()); }()), Vt; } var As; function k2() { if (As) return ni.exports; As = 1; function e() { if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) { if (process.env.NODE_ENV !== "production") throw new Error("^_^"); try { __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e); } catch (t) { console.error(t); } } } return process.env.NODE_ENV === "production" ? (e(), ni.exports = j2()) : ni.exports = B2(), ni.exports; } var Ra = k2(); const Fi = /* @__PURE__ */ Gc(Ra); function Rs(e) { return e instanceof HTMLElement || e instanceof SVGElement; } function H2(e) { return e && gr(e) === "object" && Rs(e.nativeElement) ? e.nativeElement : Rs(e) ? e : null; } function z2(e) { var t = H2(e); if (t) return t; if (e instanceof ot.Component) { var r; return (r = Fi.findDOMNode) === null || r === void 0 ? void 0 : r.call(Fi, e); } return null; } var ai = { exports: {} }, et = {}; /** * @license React * 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 $s; function W2() { if ($s) return et; $s = 1; var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), o = Symbol.for("react.context"), s = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), p; p = Symbol.for("react.module.reference"); function g(m) { if (typeof m == "object" && m !== null) { var b = m.$$typeof; switch (b) { case e: switch (m = m.type, m) { case r: case a: case n: case c: case l: return m; default: switch (m = m && m.$$typeof, m) { case s: case o: case u: case v: case f: case i: return m; default: return b; } } case t: return b; } } } return et.ContextConsumer = o, et.ContextProvider = i, et.Element = e, et.ForwardRef = u, et.Fragment = r, et.Lazy = v, et.Memo = f, et.Portal = t, et.Profiler = a, et.StrictMode = n, et.Suspense = c, et.SuspenseList = l, et.isAsyncMode = function() { return !1; }, et.isConcurrentMode = function() { return !1; }, et.isContextConsumer = function(m) { return g(m) === o; }, et.isContextProvider = function(m) { return g(m) === i; }, et.isElement = function(m) { return typeof m == "object" && m !== null && m.$$typeof === e; }, et.isForwardRef = function(m) { return g(m) === u; }, et.isFragment = function(m) { return g(m) === r; }, et.isLazy = function(m) { return g(m) === v; }, et.isMemo = function(m) { return g(m) === f; }, et.isPortal = function(m) { return g(m) === t; }, et.isProfiler = function(m) { return g(m) === a; }, et.isStrictMode = function(m) { return g(m) === n; }, et.isSuspense = function(m) { return g(m) === c; }, et.isSuspenseList = function(m) { return g(m) === l; }, et.isValidElementType = function(m) { return typeof m == "string" || typeof m == "function" || m === r || m === a || m === n || m === c || m === l || m === h || typeof m == "object" && m !== null && (m.$$typeof === v || m.$$typeof === f || m.$$typeof === i || m.$$typeof === o || m.$$typeof === u || m.$$typeof === p || m.getModuleId !== void 0); }, et.typeOf = g, et; } var tt = {}; /** * @license React * 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 _s; function G2() { return _s || (_s = 1, process.env.NODE_ENV !== "production" && function() { var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), o = Symbol.for("react.context"), s = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), p = !1, g = !1, m = !1, b = !1, y = !1, w; w = Symbol.for("react.module.reference"); function S(B) { return !!(typeof B == "string" || typeof B == "function" || B === r || B === a || y || B === n || B === c || B === l || b || B === h || p || g || m || typeof B == "object" && B !== null && (B.$$typeof === v || B.$$typeof === f || B.$$typeof === i || B.$$typeof === o || B.$$typeof === u || // 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. B.$$typeof === w || B.getModuleId !== void 0)); } function E(B) { if (typeof B == "object" && B !== null) { var K = B.$$typeof; switch (K) { case e: var J = B.type; switch (J) { case r: case a: case n: case c: case l: return J; default: var oe = J && J.$$typeof; switch (oe) { case s: case o: case u: case v: case f: case i: return oe; default: return K; } } case t: return K; } } } var O = o, C = i, x = e, $ = u, M = r, T = v, j = f, I = t, D = a, V = n, A = c, P = l, R = !1, F = !1; function _(B) { return R || (R = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1; } function L(B) { return F || (F = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1; } function k(B) { return E(B) === o; } function H(B) { return E(B) === i; } function W(B) { return typeof B == "object" && B !== null && B.$$typeof === e; } function Z(B) { return E(B) === u; } function ve(B) { return E(B) === r; } function ee(B) { return E(B) === v; } function be(B) { return E(B) === f; } function Ce(B) { return E(B) === t; } function ce(B) { return E(B) === a; } function q(B) { return E(B) === n; } function z(B) { return E(B) === c; } function Q(B) { return E(B) === l; } tt.ContextConsumer = O, tt.ContextProvider = C, tt.Element = x, tt.ForwardRef = $, tt.Fragment = M, tt.Lazy = T, tt.Memo = j, tt.Portal = I, tt.Profiler = D, tt.StrictMode = V, tt.Suspense = A, tt.SuspenseList = P, tt.isAsyncMode = _, tt.isConcurrentMode = L, tt.isContextConsumer = k, tt.isContextProvider = H, tt.isElement = W, tt.isForwardRef = Z, tt.isFragment = ve, tt.isLazy = ee, tt.isMemo = be, tt.isPortal = Ce, tt.isProfiler = ce, tt.isStrictMode = q, tt.isSuspense = z, tt.isSuspenseList = Q, tt.isValidElementType = S, tt.typeOf = E; }()), tt; } var Is; function U2() { return Is || (Is = 1, process.env.NODE_ENV === "production" ? ai.exports = W2() : ai.exports = G2()), ai.exports; } var On = U2(); function Xc(e, t, r) { var n = d.useRef({}); return (!("value" in n.current) || r(n.current.condition, t)) && (n.current.value = e(), n.current.condition = t), n.current.value; } var K2 = Number(R2.split(".")[0]), q2 = function(t, r) { typeof t == "function" ? t(r) : gr(t) === "object" && t && "current" in t && (t.current = r); }, X2 = function(t) { var r, n; if (!t) return !1; if (Qc(t) && K2 >= 19) return !0; var a = On.isMemo(t) ? t.type.type : t.type; return !(typeof a == "function" && !((r = a.prototype) !== null && r !== void 0 && r.render) && a.$$typeof !== On.ForwardRef || typeof t == "function" && !((n = t.prototype) !== null && n !== void 0 && n.render) && t.$$typeof !== On.ForwardRef); }; function Qc(e) { return /* @__PURE__ */ $2(e) && !Uc(e); } var Q2 = function(t) { if (t && Qc(t)) { var r = t; return r.props.propertyIsEnumerable("ref") ? r.props.ref : r.ref; } return null; }, Yc = function() { if (typeof Map < "u") return Map; function e(t, r) { var n = -1; return t.some(function(a, i) { return a[0] === r ? (n = i, !0) : !1; }), n; } return ( /** @class */ function() { function t() { this.__entries__ = []; } return Object.defineProperty(t.prototype, "size", { /** * @returns {boolean} */ get: function() { return this.__entries__.length; }, enumerable: !0, configurable: !0 }), t.prototype.get = function(r) { var n = e(this.__entries__, r), a = this.__entries__[n]; return a && a[1]; }, t.prototype.set = function(r, n) { var a = e(this.__entries__, r); ~a ? this.__entries__[a][1] = n : this.__entries__.push([r, n]); }, t.prototype.delete = function(r) { var n = this.__entries__, a = e(n, r); ~a && n.splice(a, 1); }, t.prototype.has = function(r) { return !!~e(this.__entries__, r); }, t.prototype.clear = function() { this.__entries__.splice(0); }, t.prototype.forEach = function(r, n) { n === void 0 && (n = null); for (var a = 0, i = this.__entries__; a < i.length; a++) { var o = i[a]; r.call(n, o[1], o[0]); } }, t; }() ); }(), r0 = typeof window < "u" && typeof document < "u" && window.document === document, Li = function() { return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")(); }(), Y2 = function() { return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(Li) : function(e) { return setTimeout(function() { return e(Date.now()); }, 1e3 / 60); }; }(), J2 = 2; function Z2(e, t) { var r = !1, n = !1, a = 0; function i() { r && (r = !1, e()), n && s(); } function o() { Y2(i); } function s() { var u = Date.now(); if (r) { if (u - a < J2) return; n = !0; } else r = !0, n = !1, setTimeout(o, t); a = u; } return s; } var ev = 20, tv = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], rv = typeof MutationObserver < "u", nv = ( /** @class */ function() { function e() { this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = Z2(this.refresh.bind(this), ev); } return e.prototype.addObserver = function(t) { ~this.observers_.indexOf(t) || this.observers_.push(t), this.connected_ || this.connect_(); }, e.prototype.removeObserver = function(t) { var r = this.observers_, n = r.indexOf(t); ~n && r.splice(n, 1), !r.length && this.connected_ && this.disconnect_(); }, e.prototype.refresh = function() { var t = this.updateObservers_(); t && this.refresh(); }, e.prototype.updateObservers_ = function() { var t = this.observers_.filter(function(r) { return r.gatherActive(), r.hasActive(); }); return t.forEach(function(r) { return r.broadcastActive(); }), t.length > 0; }, e.prototype.connect_ = function() { !r0 || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), rv ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, { attributes: !0, childList: !0, characterData: !0, subtree: !0 })) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0); }, e.prototype.disconnect_ = function() { !r0 || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1); }, e.prototype.onTransitionEnd_ = function(t) { var r = t.propertyName, n = r === void 0 ? "" : r, a = tv.some(function(i) { return !!~n.indexOf(i); }); a && this.refresh(); }, e.getInstance = function() { return this.instance_ || (this.instance_ = new e()), this.instance_; }, e.instance_ = null, e; }() ), Jc = function(e, t) { for (var r = 0, n = Object.keys(t); r < n.length; r++) { var a = n[r]; Object.defineProperty(e, a, { value: t[a], enumerable: !1, writable: !1, configurable: !0 }); } return e; }, Yn = function(e) { var t = e && e.ownerDocument && e.ownerDocument.defaultView; return t || Li; }, Zc = ro(0, 0, 0, 0); function Vi(e) { return parseFloat(e) || 0; } function Ms(e) { for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]; return t.reduce(function(n, a) { var i = e["border-" + a + "-width"]; return n + Vi(i); }, 0); } function av(e) { for (var t = ["top", "right", "bottom", "left"], r = {}, n = 0, a = t; n < a.length; n++) { var i = a[n], o = e["padding-" + i]; r[i] = Vi(o); } return r; } function iv(e) { var t = e.getBBox(); return ro(0, 0, t.width, t.height); } function ov(e) { var t = e.clientWidth, r = e.clientHeight; if (!t && !r) return Zc; var n = Yn(e).getComputedStyle(e), a = av(n), i = a.left + a.right, o = a.top + a.bottom, s = Vi(n.width), u = Vi(n.height); if (n.boxSizing === "border-box" && (Math.round(s + i) !== t && (s -= Ms(n, "left", "right") + i), Math.round(u + o) !== r && (u -= Ms(n, "top", "bottom") + o)), !uv(e)) { var c = Math.round(s + i) - t, l = Math.round(u + o) - r; Math.abs(c) !== 1 && (s -= c), Math.abs(l) !== 1 && (u -= l); } return ro(a.left, a.top, s, u); } var sv = /* @__PURE__ */ function() { return typeof SVGGraphicsElement < "u" ? function(e) { return e instanceof Yn(e).SVGGraphicsElement; } : function(e) { return e instanceof Yn(e).SVGElement && typeof e.getBBox == "function"; }; }(); function uv(e) { return e === Yn(e).document.documentElement; } function cv(e) { return r0 ? sv(e) ? iv(e) : ov(e) : Zc; } function lv(e) { var t = e.x, r = e.y, n = e.width, a = e.height, i = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, o = Object.create(i.prototype); return Jc(o, { x: t, y: r, width: n, height: a, top: r, right: t + n, bottom: a + r, left: t }), o; } function ro(e, t, r, n) { return { x: e, y: t, width: r, height: n }; } var fv = ( /** @class */ function() { function e(t) { this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = ro(0, 0, 0, 0), this.target = t; } return e.prototype.isActive = function() { var t = cv(this.target); return this.contentRect_ = t, t.width !== this.broadcastWidth || t.height !== this.broadcastHeight; }, e.prototype.broadcastRect = function() { var t = this.contentRect_; return this.broadcastWidth = t.width, this.broadcastHeight = t.height, t; }, e; }() ), dv = ( /** @class */ /* @__PURE__ */ function() { function e(t, r) { var n = lv(r); Jc(this, { target: t, contentRect: n }); } return e; }() ), vv = ( /** @class */ function() { function e(t, r, n) { if (this.activeObservations_ = [], this.observations_ = new Yc(), typeof t != "function") throw new TypeError("The callback provided as parameter 1 is not a function."); this.callback_ = t, this.controller_ = r, this.callbackCtx_ = n; } return e.prototype.observe = function(t) { if (!arguments.length) throw new TypeError("1 argument required, but only 0 present."); if (!(typeof Element > "u" || !(Element instanceof Object))) { if (!(t instanceof Yn(t).Element)) throw new TypeError('parameter 1 is not of type "Element".'); var r = this.observations_; r.has(t) || (r.set(t, new fv(t)), this.controller_.addObserver(this), this.controller_.refresh()); } }, e.prototype.unobserve = function(t) { if (!arguments.length) throw new TypeError("1 argument required, but only 0 present."); if (!(typeof Element > "u" || !(Element instanceof Object))) { if (!(t instanceof Yn(t).Element)) throw new TypeError('parameter 1 is not of type "Element".'); var r = this.observations_; r.has(t) && (r.delete(t), r.size || this.controller_.removeObserver(this)); } }, e.prototype.disconnect = function() { this.clearActive(), this.observations_.clear(), this.controller_.removeObserver(this); }, e.prototype.gatherActive = function() { var t = this; this.clearActive(), this.observations_.forEach(function(r) { r.isActive() && t.activeObservations_.push(r); }); }, e.prototype.broadcastActive = function() { if (this.hasActive()) { var t = this.callbackCtx_, r = this.activeObservations_.map(function(n) { return new dv(n.target, n.broadcastRect()); }); this.callback_.call(t, r, t), this.clearActive(); } }, e.prototype.clearActive = function() { this.activeObservations_.splice(0); }, e.prototype.hasActive = function() { return this.activeObservations_.length > 0; }, e; }() ), el = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new Yc(), tl = ( /** @class */ /* @__PURE__ */ function() { function e(t) { if (!(this instanceof e)) throw new TypeError("Cannot call a class as a function."); if (!arguments.length) throw new TypeError("1 argument required, but only 0 present."); var r = nv.getInstance(), n = new vv(t, r, this); el.set(this, n); } return e; }() ); [ "observe", "unobserve", "disconnect" ].forEach(function(e) { tl.prototype[e] = function() { var t; return (t = el.get(this))[e].apply(t, arguments); }; }); var rl = function() { return typeof Li.ResizeObserver < "u" ? Li.ResizeObserver : tl; }(), nl = function(t) { return +setTimeout(t, 16); }, al = function(t) { return clearTimeout(t); }; typeof window < "u" && "requestAnimationFrame" in window && (nl = function(t) { return window.requestAnimationFrame(t); }, al = function(t) { return window.cancelAnimationFrame(t); }); var Ts = 0, no = /* @__PURE__ */ new Map(); function il(e) { no.delete(e); } var ji = function(t) { var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1; Ts += 1; var n = Ts; function a(i) { if (i === 0) il(n), t(); else { var o = nl(function() { a(i - 1); }); no.set(n, o); } } return a(r), n; }; ji.cancel = function(e) { var t = no.get(e); return il(e), al(t); }; process.env.NODE_ENV !== "production" && (ji.ids = function() { return no; }); function ol(e) { if (Array.isArray(e)) return e; } function mv(e, t) { var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (r != null) { var n, a, i, o, s = [], u = !0, c = !1; try { if (i = (r = r.call(e)).next, t === 0) { if (Object(r) !== r) return; u = !1; } else for (; !(u = (n = i.call(r)).done) && (s.push(n.value), s.length !== t); u = !0) ; } catch (l) { c = !0, a = l; } finally { try { if (!u && r.return != null && (o = r.return(), Object(o) !== o)) return; } finally { if (c) throw a; } } return s; } } function n0(e, t) { (t == null || t > e.length) && (t = e.length); for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]; return n; } function $1(e, t) { if (e) { if (typeof e == "string") return n0(e, t); var r = Object.prototype.toString.call(e).slice(8, -1); if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e); if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return n0(e, t); } } function sl() { throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } function X(e, t) { return ol(e) || mv(e, t) || $1(e, t) || sl(); } function je(e) { "@babel/helpers - typeof"; return je = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) { return typeof t; } : function(t) { return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t; }, je(e); } function hv(e, t) { if (je(e) != "object" || !e) return e; var r = e[Symbol.toPrimitive]; if (r !== void 0) { var n = r.call(e, t); if (je(n) != "object") return n; throw new TypeError("@@toPrimitive must return a primitive value."); } return (t === "string" ? String : Number)(e); } function ul(e) { var t = hv(e, "string"); return je(t) == "symbol" ? t : String(t); } function N(e, t, r) { return t = ul(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e; } function gv(e) { if (Array.isArray(e)) return n0(e); } function cl(e) { if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e); } function pv() { throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } function $e(e) { return gv(e) || cl(e) || $1(e) || pv(); } function Ds(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter(function(a) { return Object.getOwnPropertyDescriptor(e, a).enumerable; })), r.push.apply(r, n); } return r; } function U(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t] != null ? arguments[t] : {}; t % 2 ? Ds(Object(r), !0).forEach(function(n) { N(e, n, r[n]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Ds(Object(r)).forEach(function(n) { Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n)); }); } return e; } function Jn(e) { for (var t = 0, r, n = 0, a = e.length; a >= 4; ++n, a -= 4) r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */ (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */ r >>> 24, t = /* Math.imul(k, m): */ (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16); switch (a) { case 3: t ^= (e.charCodeAt(n + 2) & 255) << 16; case 2: t ^= (e.charCodeAt(n + 1) & 255) << 8; case 1: t ^= e.charCodeAt(n) & 255, t = /* Math.imul(h, m): */ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16); } return t ^= t >>> 13, t = /* Math.imul(h, m): */ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36); } function or() { return !!(typeof window < "u" && window.document && window.document.createElement); } function yv(e, t) { if (!e) return !1; if (e.contains) return e.contains(t); for (var r = t; r; ) { if (r === e) return !0; r = r.parentNode; } return !1; } var Ns = "data-rc-order", Fs = "data-rc-priority", bv = "rc-util-key", a0 = /* @__PURE__ */ new Map(); function ll() { var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.mark; return t ? t.startsWith("data-") ? t : "data-".concat(t) : bv; } function ao(e) { if (e.attachTo) return e.attachTo; var t = document.querySelector("head"); return t || document.body; } function Sv(e) { return e === "queue" ? "prependQueue" : e ? "prepend" : "append"; } function fl(e) { return Array.from((a0.get(e) || e).children).filter(function(t) { return t.tagName === "STYLE"; }); } function dl(e) { var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; if (!or()) return null; var r = t.csp, n = t.prepend, a = t.priority, i = a === void 0 ? 0 : a, o = Sv(n), s = o === "prependQueue", u = document.createElement("style"); u.setAttribute(Ns, o), s && i && u.setAttribute(Fs, "".concat(i)), r != null && r.nonce && (u.nonce = r == null ? void 0 : r.nonce), u.innerHTML = e; var c = ao(t), l = c.firstChild; if (n) { if (s) { var f = fl(c).filter(function(v) { if (!["prepend", "prependQueue"].includes(v.getAttribute(Ns))) return !1; var h = Number(v.getAttribute(Fs) || 0); return i >= h; }); if (f.length) return c.insertBefore(u, f[f.length - 1].nextSibling), u; } c.insertBefore(u, l); } else c.appendChild(u); return u; } function vl(e) { var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = ao(t); return fl(r).find(function(n) { return n.getAttribute(ll(t)) === e; }); } function $a(e) { var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = vl(e, t); if (r) { var n = ao(t); n.removeChild(r); } } function Cv(e, t) { var r = a0.get(e); if (!r || !yv(document, r)) { var n = dl("", t), a = n.parentNode; a0.set(e, a), e.removeChild(n); } } function Tr(e, t) { var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = ao(r); Cv(n, r); var a = vl(t, r); if (a) { var i, o; if ((i = r.csp) !== null && i !== void 0 && i.nonce && a.nonce !== ((o = r.csp) === null || o === void 0 ? void 0 : o.nonce)) { var s; a.nonce = (s = r.csp) === null || s === void 0 ? void 0 : s.nonce; } return a.innerHTML !== e && (a.innerHTML = e), a; } var u = dl(e, r); return u.setAttribute(ll(r), t), u; } function Ev(e, t) { if (e == null) return {}; var r = {}, n = Object.keys(e), a, i; for (i = 0; i < n.length; i++) a = n[i], !(t.indexOf(a) >= 0) && (r[a] = e[a]); return r; } function Ur(e, t) { if (e == null) return {}; var r = Ev(e, t), n, a; if (Object.getOwnPropertySymbols) { var i = Object.getOwnPropertySymbols(e); for (a = 0; a < i.length; a++) n = i[a], !(t.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(e, n) && (r[n] = e[n]); } return r; } function wv(e, t, r) { var n = d.useRef({}); return (!("value" in n.current) || r(n.current.condition, t)) && (n.current.value = e(), n.current.condition = t), n.current.value; } var i0 = {}, _1 = [], Ov = function(t) { _1.push(t); }; function Zn(e, t) { if (process.env.NODE_ENV !== "production" && !e && console !== void 0) { var r = _1.reduce(function(n, a) { return a(n ?? "", "warning"); }, t); r && console.error("Warning: ".concat(r)); } } function xv(e, t) { if (process.env.NODE_ENV !== "production" && !e && console !== void 0) { var r = _1.reduce(function(n, a) { return a(n ?? "", "note"); }, t); r && console.warn("Note: ".concat(r)); } } function Pv() { i0 = {}; } function ml(e, t, r) { !t && !i0[r] && (e(!1, r), i0[r] = !0); } function lt(e, t) { ml(Zn, e, t); } function Av(e, t) { ml(xv, e, t); } lt.preMessage = Ov; lt.resetWarned = Pv; lt.noteOnce = Av; function Ls(e, t) { var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, n = /* @__PURE__ */ new Set(); function a(i, o) { var s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1, u = n.has(i); if (lt(!u, "Warning: There may be circular references"), u) return !1; i